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

0.0.40 • Public • Published

shared-ui-kit-dialog-input

This library is used to prompt the user with a dialog that contains inputs. It uses McDynamicFormModule to display the inputs based on McQuestion.

Storybook

To visualize all the stories created for this lib run nx run shared-ui-kit-dialog-input: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-dialog-input --with-deps --prod Go to package.json created in dist/libs/shared/ui-kit/dialog-input 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 unit tests

Run nx test shared-ui-kit-dialog-input to execute the unit tests.

TODO implement unit tests

Running end-to-end tests

Run nx e2e shared-ui-kit-dialog-input-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.

/@metadot/ui-kit-dialog-input/

    Package Sidebar

    Install

    npm i @metadot/ui-kit-dialog-input

    Weekly Downloads

    3

    Version

    0.0.40

    License

    none

    Unpacked Size

    106 kB

    Total Files

    37

    Last publish

    Collaborators

    • mubramaj
    • supercobra
    • fabiendv