@metadot/ui-kit-icon
TypeScript icon, indicating that this package has built-in type declarations

0.0.40 • Public • Published

shared-ui-kit-icon

This library is used to display Bootstrap Icons without additional dependencies.

The name of the icon is given as an Input and optionaly, the size and the color.

Storybook

To visualize all the stories created for this lib run nx run shared-ui-kit-icon:storybook

You can use storybook to make develop the lib, any change made to the code will be reflected in the stories

Build

Run nx build shared-ui-kit-icon --with-deps --prod Go to package.json created in dist/libs/shared/ui-kit/icon and move all @angular dependencies to perDependencies

To test it as a local package

For all @metadot dependencies replace it with local yarn install: Example: "@metadot/ui-kit-spinner": "file:/Users/ahmed/workspace/metadot-workspace/dist/libs/shared/ui-kit/spinner"

Running end-to-end tests

Run nx e2e shared-ui-kit-icon-e2e

The e2e tests are coupled with storybook, stories are created for this component, then these stories are used to perform some browser based tests.

Package Sidebar

Install

npm i @metadot/ui-kit-icon

Weekly Downloads

0

Version

0.0.40

License

MIT

Unpacked Size

9.01 MB

Total Files

4205

Last publish

Collaborators

  • mubramaj
  • supercobra
  • fabiendv