n8n/packages/design-system
Alex Grozav 0a69a9eb9c
test(editor): Add first frontend unit-test and update notice component design (#3166)
*  Added basic Vue 2 + Vite.js setup.

* 🚧 Improved typescript support.

*  Added N8nNotice component to design system with stories and unit tests.

*  Migrated design system build to Vite.js.

* ♻️ Updated typescript definitions. Moved some interface types to remove reliance from design system on editor-ui user and validation types.

* ♻️ Changed prop name from type to theme. Updated truncation props.

* ♻️ Moved user response types back. Added n8n-notice component to editor-ui.

* 🐛 Fixed global vitest types.

*  Added this. vue type extension to editor-ui

* ♻️ Removed circular import.

*  Fixed failing n8n-notice tests.

* feat: Added support for notice truncation via typeOptions.

*  Updated warning color variables and notice warning colors.

* 🐛 Fixed n8n-notice parameter input spacing.
2022-04-29 15:23:41 +02:00
..
.storybook test(editor): Add first frontend unit-test and update notice component design (#3166) 2022-04-29 15:23:41 +02:00
src test(editor): Add first frontend unit-test and update notice component design (#3166) 2022-04-29 15:23:41 +02:00
theme test(editor): Add first frontend unit-test and update notice component design (#3166) 2022-04-29 15:23:41 +02:00
.browserslistrc Implement design system (#2050) 2021-08-29 13:36:17 +02:00
.editorconfig Implement design system (#2050) 2021-08-29 13:36:17 +02:00
.eslintrc.js Implement design system (#2050) 2021-08-29 13:36:17 +02:00
.npmignore Implement design system (#2050) 2021-08-29 13:36:17 +02:00
babel.config.js Implement design system (#2050) 2021-08-29 13:36:17 +02:00
gulpfile.js Implement design system (#2050) 2021-08-29 13:36:17 +02:00
jest.config.js Implement design system (#2050) 2021-08-29 13:36:17 +02:00
LICENSE.md 📚 Add missing full stop to license text 2022-03-25 09:54:00 +01:00
package.json test(editor): Add first frontend unit-test and update notice component design (#3166) 2022-04-29 15:23:41 +02:00
README.md 📜 Change to the Sustainable Use License #2932 2022-03-17 10:15:24 +01:00
tsconfig.json test(editor): Add first frontend unit-test and update notice component design (#3166) 2022-04-29 15:23:41 +02:00
tslint.json Implement design system (#2050) 2021-08-29 13:36:17 +02:00
vite.config.ts test(editor): Add first frontend unit-test and update notice component design (#3166) 2022-04-29 15:23:41 +02:00

n8n-design-system

A component system for n8n using Storybook to preview.

Project setup

npm install

Compiles and hot-reloads for development

npm run storybook

Build static pages

npm run build:storybook

Run your unit tests

npm run test:unit

Lints and fixes files

npm run lint

Build css files

npm run build:theme

Monitor theme files and build any changes

npm run watch:theme

License

n8n is fair-code distributed under the Sustainable Use License.

Additional information on the license can be found in the FAQ