2.11.0 • Published 4 days ago

@kleros/ui-components-library v2.11.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 days ago

Introduction

Usage

Install the package

With yarn add @kleros/ui-components-library or npm install @kleros/ui-components-library

Create a theme file

Wwhere you destructure lightTheme or darkTheme (or both) in your theme object to provide the correct colors to the components. (example).

Provide the theme

With styled-components ThemeProvider (example).

Package Publication

Tagging

  1. Bump the version in package.json
  2. Run a clean build: yarn clean && yarn build
  3. Commit the change to git: git add -u ; git commit -m "chore: release"
  4. Tag this version: version=v$(cat package.json | jq -r .version) && git tag -m $version $version
  5. Push both commit and tag: git push && git push --tags

Publish to NPM

  1. Export your NPM token: export YARN_NPM_AUTH_TOKEN=<npm_xxxxxxxxxxxx>
  2. Publish: yarn publish

Publish to Github

  1. Login
npm login --registry https://npm.pkg.github.com --auth-type legacy
> Username: YOUR_GITHUB_USERNAME
> Password: YOUR_GITHUB_PERSONAL_ACCESS_TOKEN`
  1. Publish: npm publish --registry https://npm.pkg.github.com
2.11.0

4 days ago

2.10.0

11 days ago

2.9.1

1 month ago

2.9.0

2 months ago

2.8.1

2 months ago

2.8.0

2 months ago

2.7.2

2 months ago

2.7.1

3 months ago

2.7.0

3 months ago

2.6.1

10 months ago

2.6.0

10 months ago

2.6.3

7 months ago

2.6.2

7 months ago

2.5.0

11 months ago

2.5.2

11 months ago

2.5.1

11 months ago

2.3.0

12 months ago

2.4.0

12 months ago

2.2.1

1 year ago

2.2.0

1 year ago

2.1.0

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.9.1

1 year ago

1.9.2

1 year ago

1.9.0

1 year ago

1.8.1

2 years ago

1.8.0

2 years ago

1.7.0

2 years ago

1.6.0

2 years ago

1.2.0

2 years ago

1.5.0

2 years ago

1.4.0

2 years ago

1.3.0

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago

0.1.4

2 years ago

0.1.5

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago