This repository is a collection of reusable UI patterns.
Warning: This is heavily work in progress and subject to change.
- Everything below
1.0.0should be considered unstable/prerelease. Breaking changes are likely to be introduced at MINOR 0.x.0 level. Do not depend on them in production or use
- Everthing above
1.0.0should be conidered stable. Breaking changes will bump MAJOR x.0.0 and new features with backwards compatible API will bump MINOR 0.x.0.
Components are distinct UI pieces that can be included and provide their own twig template and accept variables.
Utils are low-level CSS classes that can be used to build bigger UI parts. Their twig templates are only for demonstration purposes.
Merge (m) everything and no (n) to updates.
This will install all the necessary build tools.
yarn run build
This will build all patterns to
Caveat: patternlab currently also builds
node_modules within patterns.
lerna clean to remove the dependencies of all patterns.
yarn run dev
View patternlab at http://localhost:8080.
yarn run deploy
This will commit the
public folder and push the
Log into npm, then.
diff all packages and ask you about version bumping anything that has
changed. SEE: https://github.com/lerna/lerna/#publish