0.39.1 • Published 8 months ago

@wofh/ui-kit-react v0.39.1

Weekly downloads
1,568
License
ISC
Repository
github
Last release
8 months ago

Get started

WOFH UI Kit is a reusable component library that helps WOFH contributors build UIs faster. The goal is to make building durable UIs more productive and satisfying.

Install

WOFH UI Kit components are written in React. It requires Storybook version 5.3.18 and up.

Add WOFH UI Kit to your project.

npm install --save @wofh/ui-kit-react

or

yarn add --dev @wofh/ui-kit-react

Use

Import components you want into your UI

import { Button, Avatar } from ‘@wofh/ui-kit-react’;

and use them like so

  const example = () => (
    <div>
      <Button use={'primary'} onClick={() => 0}>Do something</Button>
      <Avatar name={'John Doe'} />
    </div>
  )

Run and develop WOFH UI Kit locally

Clone the WOFH UI Kit GitHub project then start Storybook.

npm install && npm run storybook

or

yarn && yarn storybook

Deploy WOFH UI Kit on Github Pages

Deploy WOFH UI Kit on Github Pages with the following command:

npm run deploy-storybook

or

yarn deploy-storybook

Release/Publish WOFH UI Kit

Create a release on Github and publish WOFH UI Kit on npm with the following command:

npm run release

or

yarn release

You must configure GITHUB_TOKEN environment variable for publishing and releasing to work properly. Obtain a personal github access token (needs repo permission) and make sure the token is available as an environment variable .

export GITHUB_TOKEN="f941e0..."

In macOS or Linux, this can be added to e.g. ~/.profile, so it's available everytime the shell is used.

0.37.2

11 months ago

0.37.1

11 months ago

0.37.0

12 months ago

0.38.0

10 months ago

0.39.1

8 months ago

0.39.0

8 months ago

0.36.0

12 months ago

0.34.0

1 year ago

0.35.1

1 year ago

0.35.0

1 year ago

0.33.0

1 year ago

0.32.3

1 year ago

0.32.2

1 year ago

0.32.1

1 year ago

0.32.0

1 year ago

0.31.3

2 years ago

0.31.2

2 years ago

0.31.1

2 years ago

0.31.0

2 years ago

0.30.3

2 years ago

0.30.2

2 years ago

0.30.1

2 years ago

0.30.0

2 years ago

0.29.0

2 years ago

0.27.1

2 years ago

0.27.0

2 years ago

0.28.0

2 years ago

0.26.0

2 years ago

0.25.2

2 years ago

0.25.1

2 years ago

0.25.0

2 years ago

0.24.1

2 years ago

0.24.0

2 years ago

0.23.2

2 years ago

0.23.1

2 years ago

0.23.0

2 years ago

0.22.1

2 years ago

0.21.4

2 years ago

0.22.0

2 years ago

0.21.3

2 years ago

0.21.2

2 years ago

0.21.1

2 years ago

0.21.0

2 years ago

0.20.1

2 years ago

0.20.0

2 years ago

0.19.3

2 years ago

0.18.11

2 years ago

0.18.10

2 years ago

0.18.12

2 years ago

0.19.0

2 years ago

0.19.1

2 years ago

0.19.2

2 years ago

0.18.9

2 years ago

0.18.7

2 years ago

0.18.8

2 years ago

0.18.6

2 years ago

0.18.3

2 years ago

0.18.4

2 years ago

0.18.5

2 years ago

0.17.2

2 years ago

0.17.1

2 years ago

0.18.1

2 years ago

0.18.2

2 years ago

0.18.0

2 years ago

0.17.0

2 years ago

0.16.0

2 years ago

0.15.0

2 years ago

0.13.0

2 years ago

0.14.0

2 years ago

0.13.1

2 years ago

0.13.2

2 years ago

0.12.3

2 years ago

0.12.1

2 years ago

0.12.2

2 years ago

0.11.0

2 years ago

0.12.0

2 years ago

0.10.3

2 years ago

0.10.4

2 years ago

0.10.2

2 years ago

0.10.1

2 years ago

0.10.0

2 years ago

0.9.2

2 years ago

0.9.1

2 years ago

0.9.0

2 years ago

0.8.5

2 years ago

0.8.4

2 years ago

0.8.3

2 years ago

0.8.2

2 years ago

0.8.1

2 years ago

0.7.11

2 years ago

0.7.10

2 years ago

0.7.13

2 years ago

0.7.12

2 years ago

0.7.15

2 years ago

0.7.14

2 years ago

0.7.16

2 years ago

0.8.0

2 years ago

0.7.9

2 years ago

0.7.7

2 years ago

0.7.6

2 years ago

0.7.5

2 years ago

0.7.2

2 years ago

0.7.1

2 years ago

0.7.4

2 years ago

0.7.0

2 years ago

0.6.3

2 years ago

0.6.5

2 years ago

0.6.2

2 years ago