7.7.2 • Published 3 months ago

@vector-im/compound-web v7.7.2

Weekly downloads
-
License
SEE LICENSE IN RE...
Repository
github
Last release
3 months 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.

Copyright & License

Copyright (c) 2023-2025 New Vector Ltd

This software is multi licensed by New Vector Ltd (Element). It can be used either:

(1) for free under the terms of the GNU Affero General Public License (as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version); OR

(2) under the terms of a paid-for Element Commercial License agreement between you and Element (the terms of which may vary depending on what you and Element have agreed to). Unless required by applicable law or agreed to in writing, software distributed under the Licenses is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the Licenses for the specific language governing permissions and limitations under the Licenses.

7.7.1

3 months ago

7.7.0

3 months ago

7.7.2

3 months ago

7.6.4

4 months ago

7.6.3

4 months ago

7.6.2

6 months ago

7.6.1

6 months ago

7.6.0

6 months ago

7.5.0

6 months ago

7.4.0

7 months ago

7.3.0

7 months ago

7.2.0

7 months ago

7.1.0

8 months ago

6.2.2

9 months ago

7.0.0

8 months ago

6.3.0

9 months ago

6.3.2

9 months ago

6.3.1

9 months ago

6.2.1

9 months ago

6.1.2

10 months ago

6.1.1

10 months ago

6.2.0

9 months ago

6.1.0

10 months ago

6.0.0

11 months ago

5.5.0

11 months ago

5.3.0

11 months ago

5.1.2

12 months ago

5.1.1

12 months ago

5.1.0

12 months ago

4.9.0

12 months ago

4.6.1

1 year ago

4.10.0

12 months ago

5.2.3

12 months ago

5.4.0

11 months ago

5.2.2

12 months ago

5.2.1

12 months ago

5.2.0

12 months ago

5.0.0

12 months ago

4.8.0

1 year ago

4.7.0

1 year ago

4.6.0

1 year ago

4.5.0

1 year ago

4.4.1

1 year ago

4.4.0

1 year ago

4.3.1

1 year ago

4.3.0

1 year ago

4.2.1

1 year ago

4.2.0

1 year ago

4.1.2

1 year ago

4.1.1

1 year ago

4.1.0

1 year ago

4.0.2

1 year ago

4.0.1

1 year ago

4.0.0

1 year ago

3.3.1

1 year ago

3.3.0

1 year ago

3.2.0

1 year ago

3.1.3

1 year ago

3.1.2

1 year ago

3.1.1

1 year ago

3.1.0

1 year ago

3.0.1

1 year ago

3.0.0

1 year ago

2.0.0

1 year ago

1.0.0

1 year ago

0.9.4

2 years ago

0.9.3

2 years ago

0.9.2

2 years ago

0.9.1

2 years ago

0.9.0

2 years ago

0.8.1

2 years ago

0.8.0

2 years ago

0.7.0

2 years ago

0.6.3

2 years ago

0.6.2

2 years ago

0.6.1

2 years ago

0.6.0

2 years ago

0.5.4

2 years ago

0.5.3

2 years ago

0.5.2

2 years ago

0.5.1

2 years ago

0.5.0

2 years ago

0.4.5

2 years ago

0.4.4

2 years ago

0.4.3

2 years ago

0.4.2

2 years ago

0.4.1

2 years ago

0.4.0

2 years ago

0.3.1

2 years ago

0.3.0

2 years ago

0.2.18

2 years ago

0.2.17

2 years ago

0.2.16

2 years ago

0.2.15

2 years ago

0.2.14

2 years ago

0.2.13

2 years ago

0.2.12

2 years ago

0.2.11

2 years ago

0.2.10

2 years ago

0.2.9

2 years ago

0.2.8

2 years ago

0.2.7

2 years ago

0.2.6

2 years ago

0.2.5

2 years ago

0.2.4

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago