@thunderbirdops/services-ui
v1.4.3
Published
A UI component library for use with Thunderbird Services
Keywords
Readme
Services UI
A UI component library for use with Thunderbird Services
Note this is heavily work-in-progress.
Usage
Install the library:
npm i @thunderbirdops/services-uiInclude the stylesheet into your top-level component (we recommend you pull in the Inter font separately):
import '@thunderbirdops/services-ui/style.css';Now you can use UI components by importing them in your components:
import { PrimaryButton } from '@thunderbirdops/services-ui';Library Development
We have the following structure for Vue components:
src/foundation/: Foundational items (typography, icons, spacing, etc.)src/components/: Design system components (buttons, badges, etc.)src/patterns/: Custom usage or bundling of two or more design system components (copy button, standard footer, etc.)
Storybook
You can access storybook by running:
npm run storybookBuilding
You can build the library by running:
npm run buildPublishing a new version
Once a release is deemed either a major update, minor update or patch update go ahead and update the version in package.json. Don't forget to run npm i to update the package version number in the lockfile too.
Once that's done commit it with the version number (i.e. if the new version is 0.6.1, commit just package.json and package-lock.json with the message "0.6.1".)
After that create a tag for that commit as v$versionNumber (i.e. v0.6.1 from our previous example.) and draft and publish a new release based off that tag. The npm automation should kick in, and it should publish that new version soon.
