4.2.0 • Published 3 days ago

@vector-im/compound-web v4.2.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 days ago

Compound Web

npm.io npm.io Quality Gate Status Coverage

React implementation of Compound – Element's design system – See full documentation on https://compound.element.io and the Figma component library

Development

CommandRuns
yarn devRuns a local Storybook server
yarn lintLints all components
yarn gen:component $nameBootstraps a new component

Testing

CommandRuns
yarn testRuns unit tests
yarn e2e:dockerRuns end-to-end tests
yarn e2e:docker -uUpdates end-to-end test snapshots

All components are expected to come with comprehensive unit tests and visual tests. We use Playwright to run visual tests on every story present in Storybook, so story coverage is really important! It helps us validate component implementations against the designs and prevents visual regressions at the same time.

We recommend running the end-to-end tests via Docker as shown above to get consistent text rendering for screenshots.

Linking

If you want to work on Compound Web as a linked package within a larger React application, TypeScript might complain about there being multiple copies of @types/react in the tree. You can work around this by linking Compound Web's copy of @types/react to your application's copy:

$ cd my-application/node_modules/@types/react
$ yarn link
$ cd ../../../../compound-web
$ yarn link @types/react

Release

To release a new version of Compound Web:

  1. Review the changes since last released and choose the appropriate version bump (major, minor, patch).
  2. Run the Release npm package action, inputting the version bump. The action will:
    • add a commit bumping the version in package.json
    • publish the package to npm
    • tag a release on Github
  3. Manually add a changelog to the release on github.
4.2.0

3 days ago

4.1.2

8 days ago

4.1.1

8 days ago

4.1.0

16 days ago

4.0.2

22 days ago

4.0.1

25 days ago

4.0.0

25 days ago

3.3.1

1 month ago

3.3.0

1 month ago

3.2.0

2 months ago

3.1.3

2 months ago

3.1.2

3 months ago

3.1.1

3 months ago

3.1.0

3 months ago

3.0.1

3 months ago

3.0.0

4 months ago

2.0.0

4 months ago

1.0.0

4 months ago

0.9.4

5 months ago

0.9.3

5 months ago

0.9.2

5 months ago

0.9.1

6 months ago

0.9.0

6 months ago

0.8.1

6 months ago

0.8.0

6 months ago

0.7.0

6 months ago

0.6.3

6 months ago

0.6.2

6 months ago

0.6.1

7 months ago

0.6.0

7 months ago

0.5.4

7 months ago

0.5.3

7 months ago

0.5.2

7 months ago

0.5.1

7 months ago

0.5.0

7 months ago

0.4.5

8 months ago

0.4.4

8 months ago

0.4.3

8 months ago

0.4.2

8 months ago

0.4.1

8 months ago

0.4.0

8 months ago

0.3.1

8 months ago

0.3.0

8 months ago

0.2.18

8 months ago

0.2.17

8 months ago

0.2.16

8 months ago

0.2.15

9 months ago

0.2.14

9 months ago

0.2.13

9 months ago

0.2.12

9 months ago

0.2.11

9 months ago

0.2.10

9 months ago

0.2.9

9 months ago

0.2.8

9 months ago

0.2.7

9 months ago

0.2.6

9 months ago

0.2.5

9 months ago

0.2.4

9 months ago

0.2.3

9 months ago

0.2.2

9 months ago

0.2.1

9 months ago

0.2.0

9 months ago

0.1.0

9 months ago

0.0.5

9 months ago

0.0.4

9 months ago

0.0.3

9 months ago

0.0.2

9 months ago

0.0.1

9 months ago