@civictheme/uikit
v1.10.0
Published
CivicTheme UI Kit with Storybook integration
Readme
[!Tip] For support, see Getting help documentation
Features
- Atomic design
- Accessible
- Platform-agnostic
- Integrated with Drupal: https://www.drupal.org/project/civictheme
Installing
npm install @civictheme/uikitor download the latest release from GitHub.
Contributing
Contributions are welcome!
If a specific change is being proposed (either a new feature or a bug fix), you can create an issue documenting the proposed change.
Maintenance
Updating minor dependencies
npm install -g npm-check-updates
npx npm-check-updates -u --target minorPre-release build
All commits to main branch are built as a Storybook and automatically deployed to https://civictheme-uikit.netlify.app/
Build assets
npm run buildThis will build:
- CSS and JS assets in the
distdirectory. These files can be included directly into your HTML page, provided that it has components implemented with the same markup as components in thecomponetsdirectory. - Storybook assets as compiled HTML page in the
storybook-staticdirectory. These files can be served publically to show all components available in the library.
Check and fix code style
npm run lint
npm run lint-fixRun Storybook for development
npm run devRun Storybook after build
npm run storybookReleasing
Releases to GitHub and NPM are automated via GitHub Actions, but initiated manually.
To release a new version, go to
the Release package
GitHub Action, click on the Run workflow button, and enter the release
level: patch or minor.
After the release is complete, the new version will be available on GitHub and NPM.
For additional information, please refer to the Documentation site
