Ardoq Shared UI
Re-usable components for ardoq's front-end applications.
For now the storybook is published from the ardoq-front repository, but we aim to move the stories here soon.
Changelog
0.0.9
- Buttons cleanup (ARD-3759)
- Depricate buttons with shadow
- Depricate secondary button (replace with default button)
- make Danger button light - white gb + red text
Contributing
Using yarn link to test the library without publishing a new version
- In the root folder of this project, run
yarn watch
. This will continuously build the package when you make changes in /src
. - In the
/dist
folder of this project, run yarn link
. This allows yarn to install the package via symlinks. - In the root folder of the repostiory that you would like to link (i.e. ardoq-front), run
yarn link @ardoq/shared-ui
. This tells yarn to install the package from the dist folder.
Now any changes that you make in /src
should be automatically reflected in the repository where you linked the package.
Later, you might want to use the published version of the package again. Run yarn unlink @ardoq/shared-ui
from within the linked repo (i.e. ardoq-front).
Publishing a new version of the package
- Verify that "it works":
yarn lint && yarn check-types
- Bump the version
yarn version
- Publish (DO NOT BUMP THE VERSION HERE!):
yarn run publish
Update changelog section