@bamzooka/ui-kit-confirmation-dialog
v1.0.21
Published
This library opens a customizable confirmation dialog modal.
Downloads
211
Readme
shared-ui-kit-confirmation-dialog
This library opens a customizable confirmation dialog modal.
Storybook
To visualize all the stories created for this lib run
nx run shared-ui-kit-confirmation-dialog: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-confirmation-dialog --with-deps --prod
Go to package.json created in dist/libs/shared/ui-kit/confirmation-dialog
and move all @angular
dependencies to perDependencies
To test it as a local package
For all @bamzooka
dependencies replace it with local yarn install:
Example: "@bamzooka/ui-kit-spinner": "file:/Users/ahmed/workspace/bamzooka/dist/libs/shared/ui-kit/spinner"
Running end-to-end tests
Run nx e2e shared-ui-kit-confirmation-dialog-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.
Running unit tests
Run nx test shared-ui-kit-confirmation-dialog
to execute the unit tests.