5.1.0 • Published 26 days ago

summon-ui v5.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
26 days ago

Summon UI

Summon UI project contains the common Front-end code of all Summon products. It's a Storybook project that contains our UI components as well as UI Providers for branding theming, helpers and more.

Through time we will be decoupling our UI from all our different products (user portal, client portal, etc) and migrating it in here.

It will allow us

  • To maintain common components across projects in a single place
  • To have a proper scalable design system and a complete storybook

Tech Stack

ReactJS & Typescript: We use React and we write in Typescript.

UI

MANTINE UI: https://mantine.dev/

Mantine is our Front-end library. We use Mantine components, as well as theme/brand handling. UI colors are based in Mantine color system.

We avoid writing styles, Inline styles are forbidden :) Instead we use Mantine components and their props. We use css modules.

If there is some component to be styled, there is a super powerful way to do this globally for components in the current theme.

If there are some classNames that need to be added to a component we use Tailwind classes passed via prop.

Mantine also offer a vast number of hooks and other functions that have proven to be very useful

TAILWIND CSS: https://tailwindcss.com/

STORYBOOK: https://storybook.js.org/

The Summon UI project is a Storybook project and we use Chromatic (https://www.chromatic.com/) for CI.

UNIT TESTING

JEST: https://jestjs.io/

RTL (React Testing Library): https://testing-library.com/

Development Process

PRs

  • We open PRs to introduce new code in our main branch
  • A PR shall be approved by 1 people before merge

Code

We like very much our code to be clean, free from Typescript errors, free from format errors, free from test errors. For that:

  • We use linter and prettier.
  • We have husky and lint-staged
  • We use commitlint

But we also care a lot about our git log. For that:

We also use NVM so we all use the same Node JS version

Editor/IDE

If you feel comfortable with it, we recommend to use VSCode as having linter and prettier working is pretty straight forward. But of course, this is a free choice.

As long as your editor/IDE allows you to follow all the standards described above you can create your code in whatever way you want

Local Testing Procedure

  1. Generate the dist folder in summon-ui by running pnpm build.

  2. Adjust the package in the target repository to reference your local changes:

    "summon-ui": "file:..//summon-ui"
  3. Install the updated dependency by running pnpm install.

Publishing

Whenever you upgrade the version in the main branch, a new package will be automatically published.

5.1.0

26 days ago

3.2.1

3 months ago

3.2.0

3 months ago

3.6.1

2 months ago

4.0.1

1 month ago

4.0.0

2 months ago

5.0.0

1 month ago

3.1.0

3 months ago

3.5.0

2 months ago

3.0.0

3 months ago

3.3.1

3 months ago

3.3.0

3 months ago

3.3.2

3 months ago

1.0.1

3 months ago

1.0.0

3 months ago

0.34.0

3 months ago

2.0.0

3 months ago

0.32.0

5 months ago

0.30.0

5 months ago

0.29.0

5 months ago

0.27.2

6 months ago

0.27.1

6 months ago

0.27.0

6 months ago

0.25.2

6 months ago

0.25.1

6 months ago

0.25.0

6 months ago

0.23.0

6 months ago

0.29.1

5 months ago

0.33.3

4 months ago

0.33.2

4 months ago

0.33.1

4 months ago

0.33.0

4 months ago

0.31.2

5 months ago

0.31.1

5 months ago

0.31.0

5 months ago

0.28.0

6 months ago

0.26.1

6 months ago

0.26.0

6 months ago

0.24.0

6 months ago

0.22.1

6 months ago

0.22.0

6 months ago

0.21.0

7 months ago

0.19.19

7 months ago

0.19.17

7 months ago

0.19.18

7 months ago

0.19.16

7 months ago

0.19.15

7 months ago

0.19.12

8 months ago

0.19.13

8 months ago

0.19.14

8 months ago

0.19.11

8 months ago

0.19.8

8 months ago

0.19.9

8 months ago

0.19.7

8 months ago

0.19.10

8 months ago

0.19.4

8 months ago

0.19.5

8 months ago

0.19.6

8 months ago

0.19.0

8 months ago

0.19.1

8 months ago

0.19.2

8 months ago

0.19.3

8 months ago

0.18.0

8 months ago

0.17.3

8 months ago

0.17.2

8 months ago

0.17.1

8 months ago

0.17.0

8 months ago

0.16.0

8 months ago

0.16.1

8 months ago

0.16.2

8 months ago

0.15.0

9 months ago

0.14.0

9 months ago

0.13.4

9 months ago

0.13.5

9 months ago

0.13.3

9 months ago

0.13.2

9 months ago

0.13.1

9 months ago

0.12.7

10 months ago

0.12.8

10 months ago

0.12.9

10 months ago

0.13.0

10 months ago

0.12.6

10 months ago

0.12.5

10 months ago

0.12.2

10 months ago

0.12.3

10 months ago

0.12.0

10 months ago

0.12.1

10 months ago

0.11.0

10 months ago

0.11.1

10 months ago

0.10.0

10 months ago

0.9.0

10 months ago

0.9.1

10 months ago

0.8.1

10 months ago

0.8.0

10 months ago

0.5.0

11 months ago

0.7.0

11 months ago

0.6.0

11 months ago

0.5.1

11 months ago

0.4.1

11 months ago

0.4.0

11 months ago

0.3.0

11 months ago

0.2.0

11 months ago

0.1.0

11 months ago

0.20.0

11 months ago

0.0.1

2 years ago