* Introduced concept of denom details No longer exposing plain 'DENOM' Denom registration + conversion Generating typescript type for DecCoin 'New' API on 'send' Further WIP work on transforming usages of MajorCurrencyAmount into DecCoin Further replacements of MajorCurrencyAmount into DecCoin Attempt at dec-coinifying get_all_mix_delegations Finished purge of MajorCurrencyAmount Display for Fee More unification for conversion methods Fixed up tests and made clippy happier Minor post-merge fixes Removed explicit Arc and RwLock from all tauri commands Fixed conversion to display coin More type-restrictive exported denom type Regenerated rust => ts types * post-rebase fixes * update frontend * fix lint errors * Adjusted Display implementation of DecCoin to include space between amount and denom * Adding separate base and display denoms for account * Fixed account constructor * Using CurrencyDenom for display_mix_denom * uppercase denom on frontend * Changed AutoFeeGrant constructor Co-authored-by: Jędrzej Stuczyński <jedrzej.stuczynski@gmail.com>
Nym Shared React Components
This package contains shared React components that are used in other Nym projects.
It uses the following packages:
- shared MUI theme
- webpack config
- MUI
- Typescript
- React
Building
yarn
yarn build
Development
Run watch mode with:
yarn watch
Or you can run Storybook with:
yarn storybook
Or you can run the example project in dev mode and this package in watch mode, and test results in the example project's dev server output.
Playground
There are playground components that are intended to be used during development to see the effects are changes to the MUI theme or shared components at a glance.
They are available in Storybook from src/stories/Playground.stories.tsx.
ℹ️ Tip: use the playground to make sure components stay consistent and you don't break other components while making changes
Shared assets
This project uses shared asset files such as favicons and logos.
ℹ️ Tip: use to keep your project consistent with Nym's branding and so that it automatically receives changes when the shared assets change. Please try to avoid duplicating the files in the shared assets directory.
Publishing
This package is not published to NPM ... yet.
TODO
- ugprade to React 18
- upgrade Storybook
- upgrade MUI