Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Common UI Kit library, shared among CDS portal, toolbox, EQC, CIM

License

Notifications You must be signed in to change notification settings

ecmwf-projects/cads-ui-library

Repository files navigation

cads-ui-library

Common UI Kit library, shared among CDS portal, toolbox, EQC, CIM

Unit tests

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.

Usage

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'

Publishing a new version

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

About

Common UI Kit library, shared among CDS portal, toolbox, EQC, CIM

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •  

Languages