5.2.1 • Published 21 days ago

@veeqo/ui v5.2.1

Weekly downloads
-
License
ISC
Repository
-
Last release
21 days ago

Veeqo Components

Intro

The frontend component library for reusable components in Veeqo which aim to reflect the Veeqo Design System. When possible we should aim to re-use components in this library all over the frontend and reduce the amount of custom components we create.

Performance: This library has been re-written and refactored with the aims of enable tree-shaking which will allow us to reduce our bundle size and decrease page load times while also simplifying the library making it easier to work with and develop.

In the longer term Icons and Integrations WILL be moved to their own library, but currently live in veeqo-frontend. For now please use individual icons to preserve tree shaking, while downstream uses can use the old component library Glyph component if needed (not tree shakable, huge size).

Links ⚓️

This Library: Storybook 📋 | Playroom 🛝

Old Library: Storybook 📋 | Playroom 🛝

Getting Started

Setup should be simple, clone the repo and use npm to install all dependencies.

Start storybook with npm run storybook, and Playroom (including the storybook playroom integration) in a seperate terminal use npm run playroom:start.

Testing

With this new library we aim to improve the quality of the code, and would like good test coverage of our components covering its main behaviour. Note:

  • We use React testing library.
  • Run tests with npm run test
  • Watch (listen to changes/ file saves) tests with npm run test:watch optionally with a filepath.

Prettier Setup

Everything should mostly be setup already, if prettier isn't automatically formatting please check your .vscode/settings.json and adjust if needed (don't push to git).

You will need to install ESlint and Prettier VSCode Extensions, if you haven't already.

Publishing to NPM

We currently deploy to NPM, which is an automated process once you merge.

Publishing

Versioning will happen on the package.json version number, and is for the library as a whole instead of per component for simplicity.

After you have made your changes, use npm run patch or npm run minor or npm run major according to the update size:

  • This create update the version number by the amount specified in the command you entered above.
  • Create a git tag for that version, making the version history straightward to look back on.
  • Update the changelog based on your commits.
  • Push this readme change upstream

If you run the script more than once we will have duplicate tags, which will ruin the changelog (easy to spot) and stop us using those versions in the future. Please use npm tags:remove v<yourversion> to remove the tag.

After this is done, merge your PR and GitHub actions will do the rest! If your version hasn't deployed within a few mins (check here), please reach out on slack.

5.2.1

21 days ago

5.2.0

21 days ago

5.1.5

22 days ago

5.1.4

1 month ago

6.0.0-beta.7

1 month ago

6.0.0-beta.8

1 month ago

6.0.0-beta.6

1 month ago

6.0.0-beta.3

2 months ago

6.0.0-beta.4

2 months ago

6.0.0-beta.5

2 months ago

6.0.0-beta.2

2 months ago

5.1.3

2 months ago

6.0.0-beta.1

2 months ago

5.1.2

2 months ago

5.1.1

2 months ago

5.1.0

2 months ago

5.0.1

2 months ago

5.0.0

2 months ago

4.6.0

3 months ago

5.0.0-beta

3 months ago

4.5.0

3 months ago

4.5.1

3 months ago

4.6.0-beta

3 months ago

4.5.0-beta

3 months ago

4.4.2

3 months ago

4.4.1

3 months ago

4.4.0

3 months ago

4.3.1

3 months ago

4.2.1

3 months ago

4.2.0

3 months ago

4.1.2

3 months ago

4.1.1

4 months ago

4.1.0

4 months ago

4.0.2-beta.4

4 months ago

4.0.2-beta.3

4 months ago

4.0.2-beta.6

4 months ago

4.0.2-beta.5

4 months ago

4.0.2-beta.2

4 months ago

4.0.2

4 months ago

4.1.0-beta.1

4 months ago

3.0.0

4 months ago

4.0.1

4 months ago

4.0.0

4 months ago

2.0.0

4 months ago

1.1.0

5 months ago

1.0.0

5 months ago

0.3.0

5 months ago

0.2.1

5 months ago

0.2.0

6 months ago

0.1.25

6 months ago

0.1.24

6 months ago

0.1.23

6 months ago

0.1.22

6 months ago

0.1.21

6 months ago

0.1.20

7 months ago

0.1.19

7 months ago

0.1.18

7 months ago

0.1.17

7 months ago

0.1.16

7 months ago

0.1.15

7 months ago

0.1.14

7 months ago

0.1.13

7 months ago

0.1.12

7 months ago

0.1.11

7 months ago

0.1.10

7 months ago

0.1.9

7 months ago

0.1.8

7 months ago

0.1.7

7 months ago

0.1.6

7 months ago

0.1.5

7 months ago

0.1.4

7 months ago

0.1.3

7 months ago

0.1.2

7 months ago

0.1.1

7 months ago

0.1.0

7 months ago

0.0.20

7 months ago

0.0.19

8 months ago

0.0.18

8 months ago

0.0.17

8 months ago

0.0.16

8 months ago

0.0.15

8 months ago

0.0.14

8 months ago

0.0.13

8 months ago

0.0.12

8 months ago

0.0.11

8 months ago

0.0.10

8 months ago

0.0.9

8 months ago

0.0.8

8 months ago

0.0.7

8 months ago

0.0.6

8 months ago

0.0.4

8 months ago

0.0.3

8 months ago

0.0.1

8 months ago