open-index/open-npm huggingface dataset:
npm package: @rescui/chip-list
Description: * [Usage examples of TabList](./docs/demo.md) * [Usage examples of ChipList](./docs/chip-list/demo.md)
Author: JetBrains
Latest version: 0.13.4

# Tab-list and Chip-list

* [Usage examples of TabList](./docs/demo.md)
* [Usage examples of ChipList](./docs/chip-list/demo.md)
npm package: @rescui/icons
Description: * [Usage examples](./docs/usage.md)
Author: JetBrains
Latest version: 1.7.3

# Icons

* [Usage examples](./docs/usage.md)

## SVG files

For source svg, please follow these rules:

- file name should follow this format: `{component_name}_{size_number}.svg` 
  - If component is called `SomeIcon`, the svg files show be called `some_16.svg`, `some_20.svg`, etc.
  - If component is called `CoolAssetOutlineIcon`, the svg files show be called `cool-asset-outline_16.svg`, `cool-asset-outline_20.svg`, etc.
- svg content should not contain `fill`, `view-box`, `even-odd` or `stroke` attributes
  - remove `fill` and `view-box` attributes manually or use a [script](#optimize-script)
  - ask designer to export source svg without `even-odd` and `stroke` attributes
- svg root element should contain only `xmlns`, `width` and `height` attributes
- paths should be merged in most cases - except when you have to animate or apply certain styles to different parts. You may use [svgo service](https://jakearchibald.github.io/svgomg/) or use a [script](#optimize-script)

### Optimize script

To automatically convert svg files from Figma to the right format, you may use `optimize-icons-svg` script from `rescui-scripts` package:

```bash
yarn run rescui-scripts optimize-icons-svg --src-glob "./svg-to-optimize/*"
```

Other default parameters:
- `--src`: `./svg`
- `--clean-out`: `false`

This script cleans up the attributes, merges paths and converts file names to the right format.

### Example svg

`jet-brains-outline_20.svg`:

```svg
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20"><path d="M6 13.75h5v-1.5H6zM3 3v14h14V3zm1.5 1.5h11v11h-11z"/></svg>
```
npm package: @rescui/tab-list
Description: * [Usage examples of TabList](./docs/demo.md) * [Usage examples of ChipList](./docs/chip-list/demo.md)
Author: JetBrains
Latest version: 0.16.4

# Tab-list and Chip-list

* [Usage examples of TabList](./docs/demo.md)
* [Usage examples of ChipList](./docs/chip-list/demo.md)
npm package: @rescui/typography
Description: * [General info](./docs/main.md) * [Use with React](./docs/use-in-react.md) * [Text styles](./docs/text-styles.md) * [Lists](./docs/lists.md) * [Code](./docs/code.md)
Author: JetBrains
Latest version: 0.24.4

# Typography

* [General info](./docs/main.md)
* [Use with React](./docs/use-in-react.md)
* [Text styles](./docs/text-styles.md)
* [Lists](./docs/lists.md)
* [Code](./docs/code.md)
npm package: @research-ag/hpl-client
Description: A client module for HPL API
Author: MR Research
Latest version: 0.1.0

# Client module for HPL

A client module for [HPL](https://github.com/research-ag/hpl-io)

# Usage

### Simple transfer via random aggregator
```typescript
const ledgerPrincipal: string = 'bkyz2-fmaaa-aaaaa-qaaaq-cai';
const network: 'ic' | 'local' = 'local';
const client = new HPLClient(ledgerPrincipal, network);

const asset = await client.ledger.createFungibleToken();
await client.ledger.openAccounts({ ft: asset }, 1);

// mint 100 tokens, listen for status
client.simpleTransfer(
  { type: 'mint' },
  { type: 'sub', id: BigInt(0) },
  asset,
  100,
)
  .subscribe(
    ({
       status,
       txId,
       statusPayload,
       submitRequestId,
     }) => console.log('TxId:', txId, '; status:', status, '; payload:', JSON.stringify(statusPayload, bigIntReplacer), ';submit request id:', submitRequestId),
  );
// expected console output:
// TxId: null; status: pickAggregator; payload: null; submitRequestId: null
// TxId: null; status: submitting; payload: {"aggregatorPrincipal":"<principal string here>"}; submitRequestId: null
// TxId: null; status: submitting; payload: {"aggregatorPrincipal":"<principal string here>"}; submitRequestId: [object ArrayBuffer]
// TxId: <tx id here>; status: queued; payload: ["10n"]; submitRequestId: [object ArrayBuffer]
// ...TxId: <tx id here>; status: queued; payload: ["<number in queue>n"]; submitRequestId: [object ArrayBuffer]
// ...TxId: <tx id here>; status: forwarding; payload: {}; submitRequestId: [object ArrayBuffer]
// TxId: <tx id here>; status: forwarded; payload: {}; submitRequestId: [object ArrayBuffer]
// TxId: <tx id here>; status: processed; payload: <tx output json string here>; submitRequestId: [object ArrayBuffer]

// mint 100 tokens as promise, resolve when processed, write txId to variable
const { txId } = await lastValueFrom(client.simpleTransfer(...));

// mint 100 tokens as promise, resolve when submitted to aggregator, write txId to variable
const { txId } = await firstValueFrom(
  client.simpleTransfer(...)
    .pipe(
      filter(([status, _]) => ['pending', 'processed'].includes(status)
      ),
    );
  
// save transfer arguments in a variable
const txArgs = [
  { type: 'mint' },
  { type: 'sub', id: BigInt(0) },
  asset,
  100,
];
const { txId } = await lastValueFrom(client.simpleTransfer(...txArgs));

```

# Development notes

### Update candid from HPL:
`npm run compile-did`
npm package: @researchaffiliates/xlsx-style
Description: Excel (XLSB/XLSX/XLSM/XLS/XML) and ODS spreadsheet parser and writer (extended to enable read/write of cell formats with xlsx files)
Author: sheetjs
Latest version: 0.8.21
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# @researchaffiliates/xlsx-style

Fork of https://github.com/protobi/js-xlsx to resolve two compile errors since the source is no longer being maintained.