Common UI Kit library, shared among CDS portal, toolbox, EQC, CIM
This is cads-ui-library
. The aim of this UI library is to provide a set of styled and un-styled, accessible-first UI primitives that can be used and further customized in CDS and ADS portals.
Install the library with Yarn:
yarn add @ecmwf-projects/cads-ui-library
or with NPM:
npm install @ecmwf-projects/cads-ui-library
Then, import the desired component into your project:
import { BaseButton } from '@ecmwf-projects/cads-ui-library'
Increment the desired Semver version where the version can be one of --major
, --minor
, --patch
. Run yarn version -h
for a full list of flags:
yarn version --minor
This will also publish a release tag via postversion
script.
The tag will trigger the related Github actions for publishing to the desired package registry.
To publish a pre-release, add --pre
to the flag:
yarn version --preminor
# or
yarn version --premajor