@wonderflow/react-components 2.40.0-next.1 → 3.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.changeset/README.md +8 -0
- package/.changeset/config.json +13 -0
- package/.changeset/moody-otters-leave.md +5 -0
- package/.changeset/nice-starfishes-deny.md +5 -0
- package/.changeset/pre.json +12 -0
- package/.changeset/tender-chicken-serve.md +5 -0
- package/.commitlintrc.json +3 -0
- package/.cz.json +3 -0
- package/.editorconfig +9 -0
- package/.eslintrc.json +5 -0
- package/.github/workflows/continous-integration.yml +105 -0
- package/.github/workflows/pull-request.yml +23 -0
- package/.github/workflows/release.yml +49 -0
- package/.husky/commit-msg +4 -0
- package/.husky/pre-commit +4 -0
- package/.husky/prepare-commit-msg +4 -0
- package/.releaserc.json +24 -0
- package/.storybook/main.js +36 -0
- package/.storybook/manager.js +9 -0
- package/.storybook/overrides.css +72 -0
- package/.storybook/preview.js +36 -0
- package/.storybook/wonderflow-theme.js +22 -0
- package/.stylelintrc.json +10 -0
- package/.vscode/css.code-snippets +42 -0
- package/.vscode/extensions.json +15 -0
- package/.vscode/settings.json +30 -0
- package/CHANGELOG.md +16 -0
- package/CONTRIBUTING.md +26 -0
- package/LICENSE +21 -0
- package/README.md +11 -0
- package/package.json +42 -30
- package/postcss.config.js +3 -0
- package/{avatar → src/avatar}/avatar.module.css +4 -1
- package/src/avatar/avatar.stories.tsx +21 -0
- package/src/avatar/avatar.tsx +58 -0
- package/src/avatar/index.ts +2 -0
- package/{button → src/button}/button.module.css +5 -2
- package/src/button/button.stories.tsx +69 -0
- package/src/button/button.tsx +140 -0
- package/src/button/index.ts +2 -0
- package/{card → src/card}/card.module.css +1 -1
- package/src/card/card.stories.tsx +62 -0
- package/src/card/card.tsx +110 -0
- package/src/card/index.ts +2 -0
- package/{chip → src/chip}/chip.module.css +0 -0
- package/src/chip/chip.stories.tsx +34 -0
- package/src/chip/chip.tsx +69 -0
- package/src/chip/index.ts +2 -0
- package/{circular-progress → src/circular-progress}/circular-progress.module.css +0 -0
- package/src/circular-progress/circular-progress.stories.tsx +32 -0
- package/src/circular-progress/circular-progress.tsx +64 -0
- package/{circular-progress/index.d.ts → src/circular-progress/index.ts} +2 -2
- package/{clamp-text → src/clamp-text}/clamp-text.module.css +0 -0
- package/src/clamp-text/clamp-text.stories.tsx +30 -0
- package/src/clamp-text/clamp-text.tsx +42 -0
- package/src/clamp-text/index.ts +2 -0
- package/{container → src/container}/container.module.css +1 -1
- package/src/container/container.stories.tsx +55 -0
- package/src/container/container.tsx +38 -0
- package/src/container/index.ts +2 -0
- package/{core → src/core}/basic.css +0 -0
- package/{core → src/core}/elevations.css +0 -0
- package/src/core/elevations.stories.tsx +34 -0
- package/{core → src/core}/typography.css +1 -1
- package/src/core/typography.stories.tsx +173 -0
- package/{core → src/core/utils}/media.css +0 -0
- package/{core → src/core/utils}/vibrancy.css +0 -0
- package/{core.css → src/core.css} +2 -2
- package/{disclosure → src/disclosure}/disclosure.module.css +0 -0
- package/src/disclosure/disclosure.stories.tsx +36 -0
- package/src/disclosure/disclosure.tsx +138 -0
- package/src/disclosure/index.ts +2 -0
- package/{dropdown → src/dropdown}/dropdown.module.css +0 -0
- package/src/dropdown/dropdown.stories.tsx +108 -0
- package/src/dropdown/dropdown.tsx +145 -0
- package/src/dropdown/index.ts +4 -0
- package/{dropdown → src/dropdown/item}/dropdown-item.module.css +0 -0
- package/src/dropdown/item/dropdown-item.tsx +132 -0
- package/src/dropdown/item-checkbox/dropdown-item-checkbox.tsx +25 -0
- package/{dropdown → src/dropdown/menu}/dropdown-menu.module.css +0 -0
- package/src/dropdown/menu/dropdown-menu.tsx +49 -0
- package/src/elevator/elevator.stories.tsx +23 -0
- package/src/elevator/elevator.tsx +36 -0
- package/src/elevator/index.ts +2 -0
- package/{grid → src/grid}/grid.module.css +0 -9
- package/src/grid/grid.stories.tsx +42 -0
- package/src/grid/grid.tsx +89 -0
- package/src/grid/index.ts +3 -0
- package/src/grid/item/grid-item.module.css +9 -0
- package/src/grid/item/grid-item.tsx +53 -0
- package/src/icon/icon.stories.tsx +18 -0
- package/src/icon/icon.tsx +51 -0
- package/src/icon/index.ts +2 -0
- package/{icon-button → src/icon-button}/icon-button.module.css +0 -0
- package/src/icon-button/icon-button.stories.tsx +42 -0
- package/src/icon-button/icon-button.tsx +35 -0
- package/src/icon-button/index.ts +2 -0
- package/src/icons/sprites.js +54 -0
- package/src/icons/svgo.config.js +39 -0
- package/src/icons/svgs/16/arrow-down-16.svg +3 -0
- package/src/icons/svgs/16/arrow-down-left-16.svg +3 -0
- package/src/icons/svgs/16/arrow-down-right-16.svg +3 -0
- package/src/icons/svgs/16/arrow-down-to-bracket-16.svg +3 -0
- package/src/icons/svgs/16/arrow-left-16.svg +3 -0
- package/src/icons/svgs/16/arrow-right-16.svg +3 -0
- package/src/icons/svgs/16/arrow-rotate-right-16.svg +3 -0
- package/src/icons/svgs/16/arrow-trend-down-16.svg +3 -0
- package/src/icons/svgs/16/arrow-trend-up-16.svg +3 -0
- package/src/icons/svgs/16/arrow-up-16.svg +3 -0
- package/src/icons/svgs/16/arrow-up-left-16.svg +3 -0
- package/src/icons/svgs/16/arrow-up-right-16.svg +3 -0
- package/src/icons/svgs/16/backward-step-16.svg +3 -0
- package/src/icons/svgs/16/ban-16.svg +3 -0
- package/src/icons/svgs/16/bars-16.svg +3 -0
- package/src/icons/svgs/16/bars-sort-down-16.svg +3 -0
- package/src/icons/svgs/16/bars-sort-up-16.svg +3 -0
- package/src/icons/svgs/16/bell-16.svg +3 -0
- package/src/icons/svgs/16/bookmark-16.svg +3 -0
- package/src/icons/svgs/16/calendar-16.svg +3 -0
- package/src/icons/svgs/16/calendar-plus-16.svg +3 -0
- package/src/icons/svgs/16/cart-shopping-16.svg +3 -0
- package/src/icons/svgs/16/check-16.svg +3 -0
- package/src/icons/svgs/16/chevron-down-16.svg +3 -0
- package/src/icons/svgs/16/chevron-left-16.svg +3 -0
- package/src/icons/svgs/16/chevron-right-16.svg +3 -0
- package/src/icons/svgs/16/chevron-up-16.svg +3 -0
- package/src/icons/svgs/16/circle-16.svg +3 -0
- package/src/icons/svgs/16/circle-check-16.svg +3 -0
- package/src/icons/svgs/16/circle-exclamation-16.svg +3 -0
- package/src/icons/svgs/16/circle-info-16.svg +3 -0
- package/src/icons/svgs/16/circle-question-16.svg +3 -0
- package/src/icons/svgs/16/circle-x-16.svg +3 -0
- package/src/icons/svgs/16/clock-rotate-left-16.svg +3 -0
- package/src/icons/svgs/16/code-16.svg +3 -0
- package/src/icons/svgs/16/comment-16.svg +3 -0
- package/src/icons/svgs/16/compass-16.svg +3 -0
- package/src/icons/svgs/16/crown-16.svg +3 -0
- package/src/icons/svgs/16/earth-europa-16.svg +3 -0
- package/src/icons/svgs/16/envelope-16.svg +3 -0
- package/src/icons/svgs/16/eye-16.svg +3 -0
- package/src/icons/svgs/16/eye-slash-16.svg +10 -0
- package/src/icons/svgs/16/facebook-16.svg +3 -0
- package/src/icons/svgs/16/file-16.svg +3 -0
- package/src/icons/svgs/16/file-alt-16.svg +3 -0
- package/src/icons/svgs/16/file-image-16.svg +3 -0
- package/src/icons/svgs/16/file-pdf-16.svg +3 -0
- package/src/icons/svgs/16/file-xmark-16.svg +3 -0
- package/src/icons/svgs/16/filter-16.svg +3 -0
- package/src/icons/svgs/16/forward-step-16.svg +3 -0
- package/src/icons/svgs/16/frown-16.svg +3 -0
- package/src/icons/svgs/16/gear-16.svg +3 -0
- package/src/icons/svgs/16/github-16.svg +3 -0
- package/src/icons/svgs/16/graduation-cap-16.svg +10 -0
- package/src/icons/svgs/16/grid-2-16.svg +3 -0
- package/src/icons/svgs/16/grip-vertical-16.svg +3 -0
- package/src/icons/svgs/16/hand-pointer-16.svg +3 -0
- package/src/icons/svgs/16/house-16.svg +3 -0
- package/src/icons/svgs/16/layer-group-16.svg +3 -0
- package/src/icons/svgs/16/link-16.svg +3 -0
- package/src/icons/svgs/16/linkedin-16.svg +3 -0
- package/src/icons/svgs/16/lock-16.svg +3 -0
- package/src/icons/svgs/16/lock-open-16.svg +10 -0
- package/src/icons/svgs/16/magnifying-glass-16.svg +3 -0
- package/src/icons/svgs/16/meh-16.svg +3 -0
- package/src/icons/svgs/16/message-16.svg +3 -0
- package/src/icons/svgs/16/minus-16.svg +3 -0
- package/src/icons/svgs/16/moon-16.svg +3 -0
- package/src/icons/svgs/16/nps-16.svg +3 -0
- package/src/icons/svgs/16/pause-16.svg +3 -0
- package/src/icons/svgs/16/pc-16.svg +3 -0
- package/src/icons/svgs/16/play-16.svg +3 -0
- package/src/icons/svgs/16/plus-16.svg +3 -0
- package/src/icons/svgs/16/rectangle-barcode-16.svg +3 -0
- package/src/icons/svgs/16/right-from-bracket-16.svg +3 -0
- package/src/icons/svgs/16/share-from-square-16.svg +10 -0
- package/src/icons/svgs/16/signal-stream-16.svg +3 -0
- package/src/icons/svgs/16/smile-16.svg +3 -0
- package/src/icons/svgs/16/smile-rotate-right-16.svg +10 -0
- package/src/icons/svgs/16/sort-16.svg +3 -0
- package/src/icons/svgs/16/sort-alt-16.svg +3 -0
- package/src/icons/svgs/16/sort-down-16.svg +3 -0
- package/src/icons/svgs/16/sort-left-16.svg +3 -0
- package/src/icons/svgs/16/sort-right-16.svg +3 -0
- package/src/icons/svgs/16/sort-up-16.svg +3 -0
- package/src/icons/svgs/16/star-16.svg +3 -0
- package/src/icons/svgs/16/stop-16.svg +3 -0
- package/src/icons/svgs/16/sun-bright-16.svg +3 -0
- package/src/icons/svgs/16/tags-16.svg +3 -0
- package/src/icons/svgs/16/text-slash-16.svg +10 -0
- package/src/icons/svgs/16/thumbs-down-16.svg +3 -0
- package/src/icons/svgs/16/thumbs-up-16.svg +3 -0
- package/src/icons/svgs/16/thumbtack-16.svg +3 -0
- package/src/icons/svgs/16/triangle-exclamation-16.svg +3 -0
- package/src/icons/svgs/16/turn-down-right-16.svg +3 -0
- package/src/icons/svgs/16/twitter-16.svg +10 -0
- package/src/icons/svgs/16/user-16.svg +3 -0
- package/src/icons/svgs/16/wave-sine-16.svg +3 -0
- package/src/icons/svgs/16/xmark-16.svg +3 -0
- package/src/icons/svgs/24/arrow-down-24.svg +3 -0
- package/src/icons/svgs/24/arrow-down-left-24.svg +3 -0
- package/src/icons/svgs/24/arrow-down-right-24.svg +3 -0
- package/src/icons/svgs/24/arrow-down-to-bracket-24.svg +3 -0
- package/src/icons/svgs/24/arrow-left-24.svg +3 -0
- package/src/icons/svgs/24/arrow-right-24.svg +3 -0
- package/src/icons/svgs/24/arrow-rotate-right-24.svg +3 -0
- package/src/icons/svgs/24/arrow-trend-down-24.svg +3 -0
- package/src/icons/svgs/24/arrow-trend-up-24.svg +3 -0
- package/src/icons/svgs/24/arrow-up-24.svg +3 -0
- package/src/icons/svgs/24/arrow-up-left-24.svg +3 -0
- package/src/icons/svgs/24/arrow-up-right-24.svg +3 -0
- package/src/icons/svgs/24/backward-step-24.svg +3 -0
- package/src/icons/svgs/24/ban-24.svg +3 -0
- package/src/icons/svgs/24/bars-24.svg +3 -0
- package/src/icons/svgs/24/bars-sort-down-24.svg +3 -0
- package/src/icons/svgs/24/bars-sort-up-24.svg +3 -0
- package/src/icons/svgs/24/bell-24.svg +3 -0
- package/src/icons/svgs/24/bookmark-24.svg +3 -0
- package/src/icons/svgs/24/calendar-24.svg +3 -0
- package/src/icons/svgs/24/calendar-plus-24.svg +3 -0
- package/src/icons/svgs/24/cart-shopping-24.svg +3 -0
- package/src/icons/svgs/24/check-24.svg +3 -0
- package/src/icons/svgs/24/chevron-down-24.svg +3 -0
- package/src/icons/svgs/24/chevron-left-24.svg +3 -0
- package/src/icons/svgs/24/chevron-right-24.svg +3 -0
- package/src/icons/svgs/24/chevron-up-24.svg +3 -0
- package/src/icons/svgs/24/circle-24.svg +3 -0
- package/src/icons/svgs/24/circle-check-24.svg +3 -0
- package/src/icons/svgs/24/circle-exclamation-24.svg +3 -0
- package/src/icons/svgs/24/circle-info-24.svg +3 -0
- package/src/icons/svgs/24/circle-question-24.svg +3 -0
- package/src/icons/svgs/24/circle-x-24.svg +3 -0
- package/src/icons/svgs/24/clock-rotate-left-24.svg +3 -0
- package/src/icons/svgs/24/code-24.svg +3 -0
- package/src/icons/svgs/24/comment-24.svg +3 -0
- package/src/icons/svgs/24/compass-24.svg +3 -0
- package/src/icons/svgs/24/crown-24.svg +3 -0
- package/src/icons/svgs/24/earth-europa-24.svg +3 -0
- package/src/icons/svgs/24/envelope-24.svg +3 -0
- package/src/icons/svgs/24/eye-24.svg +3 -0
- package/src/icons/svgs/24/eye-slash-24.svg +3 -0
- package/src/icons/svgs/24/facebook-24.svg +3 -0
- package/src/icons/svgs/24/file-24.svg +3 -0
- package/src/icons/svgs/24/file-alt-24.svg +3 -0
- package/src/icons/svgs/24/file-image-24.svg +3 -0
- package/src/icons/svgs/24/file-pdf-24.svg +3 -0
- package/src/icons/svgs/24/file-xmark-24.svg +3 -0
- package/src/icons/svgs/24/filter-24.svg +3 -0
- package/src/icons/svgs/24/forward-step-24.svg +3 -0
- package/src/icons/svgs/24/frown-24.svg +3 -0
- package/src/icons/svgs/24/gear-24.svg +3 -0
- package/src/icons/svgs/24/github-24.svg +3 -0
- package/src/icons/svgs/24/graduation-cap-24.svg +3 -0
- package/src/icons/svgs/24/grid-2-24.svg +3 -0
- package/src/icons/svgs/24/grip-vertical-24.svg +3 -0
- package/src/icons/svgs/24/hand-pointer-24.svg +3 -0
- package/src/icons/svgs/24/house-24.svg +3 -0
- package/src/icons/svgs/24/layer-group-24.svg +3 -0
- package/src/icons/svgs/24/link-24.svg +3 -0
- package/src/icons/svgs/24/linkedin-24.svg +3 -0
- package/src/icons/svgs/24/lock-24.svg +3 -0
- package/src/icons/svgs/24/lock-open-24.svg +3 -0
- package/src/icons/svgs/24/magnifying-glass-24.svg +3 -0
- package/src/icons/svgs/24/meh-24.svg +3 -0
- package/src/icons/svgs/24/message-24.svg +3 -0
- package/src/icons/svgs/24/minus-24.svg +3 -0
- package/src/icons/svgs/24/moon-24.svg +3 -0
- package/src/icons/svgs/24/nps-24.svg +3 -0
- package/src/icons/svgs/24/pause-24.svg +3 -0
- package/src/icons/svgs/24/pc-24.svg +3 -0
- package/src/icons/svgs/24/play-24.svg +3 -0
- package/src/icons/svgs/24/plus-24.svg +3 -0
- package/src/icons/svgs/24/rectangle-barcode-24.svg +3 -0
- package/src/icons/svgs/24/right-from-bracket-24.svg +3 -0
- package/src/icons/svgs/24/share-from-square-24.svg +3 -0
- package/src/icons/svgs/24/signal-stream-24.svg +3 -0
- package/src/icons/svgs/24/smile-24.svg +3 -0
- package/src/icons/svgs/24/smile-rotate-right-24.svg +3 -0
- package/src/icons/svgs/24/sort-24.svg +3 -0
- package/src/icons/svgs/24/sort-alt-24.svg +3 -0
- package/src/icons/svgs/24/sort-down-24.svg +3 -0
- package/src/icons/svgs/24/sort-left-24.svg +3 -0
- package/src/icons/svgs/24/sort-right-24.svg +3 -0
- package/src/icons/svgs/24/sort-up-24.svg +3 -0
- package/src/icons/svgs/24/star-24.svg +3 -0
- package/src/icons/svgs/24/stop-24.svg +3 -0
- package/src/icons/svgs/24/sun-bright-24.svg +3 -0
- package/src/icons/svgs/24/tags-24.svg +3 -0
- package/src/icons/svgs/24/text-slash-24.svg +3 -0
- package/src/icons/svgs/24/thumbs-down-24.svg +3 -0
- package/src/icons/svgs/24/thumbs-up-24.svg +3 -0
- package/src/icons/svgs/24/thumbtack-24.svg +3 -0
- package/src/icons/svgs/24/triangle-exclamation-24.svg +3 -0
- package/src/icons/svgs/24/turn-down-right-24.svg +3 -0
- package/src/icons/svgs/24/twitter-24.svg +3 -0
- package/src/icons/svgs/24/user-24.svg +3 -0
- package/src/icons/svgs/24/wave-sine-24.svg +3 -0
- package/src/icons/svgs/24/xmark-24.svg +3 -0
- package/src/index.ts +131 -0
- package/src/info-state/index.ts +2 -0
- package/{info-state → src/info-state}/info-state.module.css +4 -1
- package/src/info-state/info-state.stories.tsx +54 -0
- package/src/info-state/info-state.tsx +89 -0
- package/src/input-group/index.ts +2 -0
- package/{input-group → src/input-group}/input-group.module.css +0 -0
- package/src/input-group/input-group.stories.tsx +44 -0
- package/src/input-group/input-group.tsx +92 -0
- package/src/linear-progress/index.ts +2 -0
- package/{linear-progress → src/linear-progress}/linear-progress.module.css +0 -0
- package/src/linear-progress/linear-progress.stories.tsx +29 -0
- package/src/linear-progress/linear-progress.tsx +78 -0
- package/src/list/index.ts +2 -0
- package/{list → src/list}/list.module.css +0 -0
- package/src/list/list.stories.tsx +42 -0
- package/src/list/list.tsx +83 -0
- package/src/masonry/index.ts +2 -0
- package/{masonry → src/masonry}/masonry.module.css +0 -0
- package/src/masonry/masonry.stories.tsx +41 -0
- package/src/masonry/masonry.tsx +85 -0
- package/{modal → src/modal/content}/modal-content.module.css +1 -1
- package/src/modal/content/modal-content.tsx +47 -0
- package/src/modal/index.ts +3 -0
- package/src/modal/modal-context.tsx +39 -0
- package/{modal → src/modal}/modal.module.css +5 -2
- package/src/modal/modal.stories.tsx +72 -0
- package/src/modal/modal.tsx +85 -0
- package/src/overlay-container/index.ts +2 -0
- package/src/overlay-container/overlay-container.tsx +42 -0
- package/src/pagination/index.ts +2 -0
- package/{pagination → src/pagination}/pagination.module.css +0 -0
- package/src/pagination/pagination.stories.tsx +440 -0
- package/src/pagination/pagination.tsx +74 -0
- package/src/polymorphic/index.ts +1 -0
- package/src/polymorphic/polymorphic.ts +59 -0
- package/src/prose/index.ts +2 -0
- package/{prose → src/prose}/prose.module.css +0 -0
- package/src/prose/prose.stories.tsx +65 -0
- package/src/prose/prose.tsx +25 -0
- package/src/select/index.ts +2 -0
- package/{select → src/select}/select.module.css +1 -1
- package/src/select/select.stories.tsx +78 -0
- package/src/select/select.tsx +98 -0
- package/src/selection-controls/checkbox.stories.tsx +41 -0
- package/src/selection-controls/checkbox.tsx +49 -0
- package/src/selection-controls/index.ts +6 -0
- package/src/selection-controls/radio.stories.tsx +36 -0
- package/src/selection-controls/radio.tsx +42 -0
- package/{selection-controls → src/selection-controls}/selection-controls.module.css +1 -1
- package/src/selection-controls/toggle.stories.tsx +23 -0
- package/src/selection-controls/toggle.tsx +42 -0
- package/src/separator/index.ts +2 -0
- package/{separator → src/separator}/separator.module.css +0 -0
- package/src/separator/separator.stories.tsx +10 -0
- package/src/separator/separator.tsx +20 -0
- package/src/skeleton-block/index.ts +2 -0
- package/src/skeleton-block/skeleton-block.stories.tsx +33 -0
- package/src/skeleton-block/skeleton-block.tsx +27 -0
- package/{slider → src/slider}/_mixins.css +0 -0
- package/src/slider/index.ts +2 -0
- package/{slider → src/slider}/slider.module.css +0 -0
- package/src/slider/slider.stories.tsx +41 -0
- package/src/slider/slider.tsx +105 -0
- package/src/snackbar/index.ts +2 -0
- package/{snackbar → src/snackbar}/snackbar.module.css +0 -0
- package/src/snackbar/snackbar.stories.tsx +28 -0
- package/src/snackbar/snackbar.tsx +89 -0
- package/src/spinner/index.ts +2 -0
- package/src/spinner/spinner.stories.tsx +21 -0
- package/src/spinner/spinner.tsx +74 -0
- package/src/split-button/index.ts +2 -0
- package/{split-button → src/split-button}/split-button.module.css +0 -0
- package/src/split-button/split-button.stories.tsx +48 -0
- package/src/split-button/split-button.tsx +69 -0
- package/src/stack/index.ts +2 -0
- package/{stack → src/stack}/stack.module.css +0 -0
- package/src/stack/stack.stories.tsx +50 -0
- package/src/stack/stack.tsx +103 -0
- package/src/star-meter/index.ts +2 -0
- package/{star-meter → src/star-meter}/star-meter.module.css +0 -0
- package/src/star-meter/star-meter.stories.tsx +26 -0
- package/src/star-meter/star-meter.tsx +130 -0
- package/src/tab/index.ts +2 -0
- package/src/tab/primitive-tab.tsx +88 -0
- package/src/tab/tab-item.tsx +75 -0
- package/src/tab/tab-list.tsx +33 -0
- package/src/tab/tab-panel.tsx +53 -0
- package/{tab → src/tab}/tab.module.css +0 -0
- package/src/tab/tab.stories.tsx +103 -0
- package/src/tab/tab.tsx +122 -0
- package/src/tab/use-constant.ts +13 -0
- package/src/table/index.ts +2 -0
- package/{table → src/table}/table.module.css +0 -0
- package/src/table/table.stories.tsx +159 -0
- package/src/table/table.tsx +92 -0
- package/src/table/theme.ts +81 -0
- package/src/text/index.ts +2 -0
- package/{text → src/text}/text.module.css +13 -8
- package/src/text/text.stories.tsx +40 -0
- package/src/text/text.tsx +79 -0
- package/{textfield → src/textfield}/base-field/base-field.module.css +1 -1
- package/src/textfield/base-field/base-field.tsx +39 -0
- package/{textfield/base-field/index.d.ts → src/textfield/base-field/index.ts} +2 -2
- package/src/textfield/index.ts +2 -0
- package/{textfield → src/textfield}/textfield.module.css +0 -0
- package/src/textfield/textfield.stories.tsx +111 -0
- package/src/textfield/textfield.tsx +161 -0
- package/src/themes/combine.js +49 -0
- package/src/themes/dark.json +112 -0
- package/src/themes/index.js +7 -0
- package/src/themes/light.json +112 -0
- package/src/themes/themes.config.js +30 -0
- package/src/title/index.ts +2 -0
- package/{title → src/title}/title.module.css +42 -14
- package/src/title/title.stories.tsx +55 -0
- package/src/title/title.tsx +67 -0
- package/src/toggle-button/index.ts +2 -0
- package/{toggle-button → src/toggle-button}/toggle-button.module.css +0 -0
- package/src/toggle-button/toggle-button.stories.tsx +32 -0
- package/src/toggle-button/toggle-button.tsx +124 -0
- package/src/tooltip/index.ts +2 -0
- package/{tooltip → src/tooltip}/tooltip.module.css +0 -0
- package/src/tooltip/tooltip.stories.tsx +21 -0
- package/src/tooltip/tooltip.tsx +127 -0
- package/tsconfig.eslint.json +3 -0
- package/tsconfig.json +43 -0
- package/tsconfig.nocomments.json +7 -0
- package/types/main.d.ts +22 -0
- package/types/modules.d.ts +0 -0
- package/avatar/avatar.d.ts +0 -9
- package/avatar/avatar.js +0 -11
- package/avatar/index.d.ts +0 -2
- package/avatar/index.js +0 -1
- package/button/button.d.ts +0 -21
- package/button/button.js +0 -26
- package/button/index.d.ts +0 -2
- package/button/index.js +0 -1
- package/card/card.d.ts +0 -16
- package/card/card.js +0 -16
- package/card/index.d.ts +0 -2
- package/card/index.js +0 -1
- package/chip/chip.d.ts +0 -15
- package/chip/chip.js +0 -22
- package/chip/index.d.ts +0 -2
- package/chip/index.js +0 -1
- package/circular-progress/circular-progress.d.ts +0 -13
- package/circular-progress/circular-progress.js +0 -12
- package/circular-progress/index.js +0 -1
- package/clamp-text/clamp-text.d.ts +0 -9
- package/clamp-text/clamp-text.js +0 -9
- package/clamp-text/index.d.ts +0 -2
- package/clamp-text/index.js +0 -1
- package/container/container.d.ts +0 -8
- package/container/container.js +0 -6
- package/container/index.d.ts +0 -2
- package/container/index.js +0 -1
- package/disclosure/disclosure.d.ts +0 -19
- package/disclosure/disclosure.js +0 -33
- package/disclosure/index.d.ts +0 -2
- package/disclosure/index.js +0 -1
- package/dropdown/dropdown-item.d.ts +0 -21
- package/dropdown/dropdown-item.js +0 -26
- package/dropdown/dropdown-menu.d.ts +0 -7
- package/dropdown/dropdown-menu.js +0 -17
- package/dropdown/dropdown.d.ts +0 -17
- package/dropdown/dropdown.js +0 -53
- package/dropdown/index.d.ts +0 -3
- package/dropdown/index.js +0 -1
- package/elevator/elevator.d.ts +0 -7
- package/elevator/elevator.js +0 -7
- package/elevator/index.d.ts +0 -2
- package/elevator/index.js +0 -1
- package/grid/grid-item.d.ts +0 -11
- package/grid/grid-item.js +0 -11
- package/grid/grid.d.ts +0 -18
- package/grid/grid.js +0 -18
- package/grid/index.d.ts +0 -3
- package/grid/index.js +0 -1
- package/icon/icon.d.ts +0 -11
- package/icon/icon.js +0 -8
- package/icon/index.d.ts +0 -2
- package/icon/index.js +0 -1
- package/icon-button/icon-button.d.ts +0 -5
- package/icon-button/icon-button.js +0 -5
- package/icon-button/index.d.ts +0 -2
- package/icon-button/index.js +0 -1
- package/icons/all.svg +0 -446
- package/icons/structure.json +0 -101
- package/icons/types.d.ts +0 -201
- package/index.d.ts +0 -42
- package/index.js +0 -42
- package/info-state/index.d.ts +0 -2
- package/info-state/index.js +0 -1
- package/info-state/info-state.d.ts +0 -21
- package/info-state/info-state.js +0 -15
- package/input-group/index.d.ts +0 -2
- package/input-group/index.js +0 -1
- package/input-group/input-group.d.ts +0 -15
- package/input-group/input-group.js +0 -22
- package/linear-progress/index.d.ts +0 -2
- package/linear-progress/index.js +0 -1
- package/linear-progress/linear-progress.d.ts +0 -13
- package/linear-progress/linear-progress.js +0 -15
- package/list/index.d.ts +0 -2
- package/list/index.js +0 -1
- package/list/list.d.ts +0 -11
- package/list/list.js +0 -24
- package/masonry/index.d.ts +0 -2
- package/masonry/index.js +0 -1
- package/masonry/masonry.d.ts +0 -14
- package/masonry/masonry.js +0 -25
- package/modal/index.d.ts +0 -3
- package/modal/index.js +0 -2
- package/modal/modal-content.d.ts +0 -7
- package/modal/modal-content.js +0 -15
- package/modal/modal-context.d.ts +0 -9
- package/modal/modal-context.js +0 -13
- package/modal/modal.d.ts +0 -13
- package/modal/modal.js +0 -30
- package/pagination/index.d.ts +0 -2
- package/pagination/index.js +0 -1
- package/pagination/pagination.d.ts +0 -10
- package/pagination/pagination.js +0 -16
- package/polymorphic/index.d.ts +0 -1
- package/polymorphic/index.js +0 -1
- package/polymorphic/polymorphic.d.ts +0 -17
- package/polymorphic/polymorphic.js +0 -1
- package/prose/index.d.ts +0 -2
- package/prose/index.js +0 -1
- package/prose/prose.d.ts +0 -5
- package/prose/prose.js +0 -6
- package/select/index.d.ts +0 -2
- package/select/index.js +0 -1
- package/select/select.d.ts +0 -20
- package/select/select.js +0 -19
- package/selection-controls/checkbox.d.ts +0 -13
- package/selection-controls/checkbox.js +0 -7
- package/selection-controls/index.d.ts +0 -6
- package/selection-controls/index.js +0 -3
- package/selection-controls/radio.d.ts +0 -11
- package/selection-controls/radio.js +0 -7
- package/selection-controls/toggle.d.ts +0 -11
- package/selection-controls/toggle.js +0 -7
- package/separator/index.d.ts +0 -2
- package/separator/index.js +0 -1
- package/separator/separator.d.ts +0 -3
- package/separator/separator.js +0 -7
- package/skeleton-block/index.d.ts +0 -2
- package/skeleton-block/index.js +0 -1
- package/skeleton-block/skeleton-block.d.ts +0 -8
- package/skeleton-block/skeleton-block.js +0 -6
- package/slider/index.d.ts +0 -2
- package/slider/index.js +0 -1
- package/slider/slider.d.ts +0 -24
- package/slider/slider.js +0 -19
- package/snackbar/index.d.ts +0 -2
- package/snackbar/index.js +0 -1
- package/snackbar/snackbar.d.ts +0 -15
- package/snackbar/snackbar.js +0 -22
- package/spinner/index.d.ts +0 -2
- package/spinner/index.js +0 -1
- package/spinner/spinner.d.ts +0 -9
- package/spinner/spinner.js +0 -26
- package/split-button/index.d.ts +0 -2
- package/split-button/index.js +0 -1
- package/split-button/split-button.d.ts +0 -8
- package/split-button/split-button.js +0 -13
- package/stack/index.d.ts +0 -2
- package/stack/index.js +0 -1
- package/stack/stack.d.ts +0 -17
- package/stack/stack.js +0 -21
- package/star-meter/index.d.ts +0 -2
- package/star-meter/index.js +0 -1
- package/star-meter/star-meter.d.ts +0 -11
- package/star-meter/star-meter.js +0 -51
- package/tab/index.d.ts +0 -2
- package/tab/index.js +0 -1
- package/tab/primitive-tab.d.ts +0 -11
- package/tab/primitive-tab.js +0 -51
- package/tab/tab-item.d.ts +0 -8
- package/tab/tab-item.js +0 -20
- package/tab/tab-list.d.ts +0 -3
- package/tab/tab-list.js +0 -7
- package/tab/tab-panel.d.ts +0 -10
- package/tab/tab-panel.js +0 -11
- package/tab/tab.d.ts +0 -17
- package/tab/tab.js +0 -31
- package/tab/use-constant.d.ts +0 -1
- package/tab/use-constant.js +0 -8
- package/table/index.d.ts +0 -2
- package/table/index.js +0 -1
- package/table/table.d.ts +0 -12
- package/table/table.js +0 -20
- package/table/theme.d.ts +0 -2
- package/table/theme.js +0 -77
- package/text/index.d.ts +0 -2
- package/text/index.js +0 -1
- package/text/text.d.ts +0 -13
- package/text/text.js +0 -10
- package/textfield/base-field/base-field.d.ts +0 -9
- package/textfield/base-field/base-field.js +0 -7
- package/textfield/base-field/index.js +0 -1
- package/textfield/index.d.ts +0 -2
- package/textfield/index.js +0 -1
- package/textfield/textfield.d.ts +0 -27
- package/textfield/textfield.js +0 -39
- package/theme-switch/index.d.ts +0 -2
- package/theme-switch/index.js +0 -1
- package/theme-switch/theme-switch.d.ts +0 -9
- package/theme-switch/theme-switch.js +0 -14
- package/themes/dark.css +0 -41
- package/themes/dark.json +0 -36
- package/themes/light.css +0 -41
- package/themes/light.json +0 -36
- package/themes.css +0 -143
- package/title/index.d.ts +0 -2
- package/title/index.js +0 -1
- package/title/title.d.ts +0 -10
- package/title/title.js +0 -11
- package/toggle-button/index.d.ts +0 -2
- package/toggle-button/index.js +0 -1
- package/toggle-button/toggle-button.d.ts +0 -10
- package/toggle-button/toggle-button.js +0 -45
- package/tooltip/index.d.ts +0 -2
- package/tooltip/index.js +0 -1
- package/tooltip/tooltip.d.ts +0 -12
- package/tooltip/tooltip.js +0 -45
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# Changesets
|
|
2
|
+
|
|
3
|
+
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
|
|
4
|
+
with multi-package repos, or single-package repos to help you version and publish your code. You can
|
|
5
|
+
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
|
|
6
|
+
|
|
7
|
+
We have a quick list of common questions to get you started engaging with this project in
|
|
8
|
+
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://unpkg.com/@changesets/config@1.6.3/schema.json",
|
|
3
|
+
"changelog": [
|
|
4
|
+
"@changesets/changelog-github",
|
|
5
|
+
{ "repo": "wonderflow-bv/react-components" }
|
|
6
|
+
],
|
|
7
|
+
"commit": false,
|
|
8
|
+
"linked": [],
|
|
9
|
+
"access": "restricted",
|
|
10
|
+
"baseBranch": "main",
|
|
11
|
+
"updateInternalDependencies": "patch",
|
|
12
|
+
"ignore": []
|
|
13
|
+
}
|
package/.cz.json
ADDED
package/.editorconfig
ADDED
package/.eslintrc.json
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
name: Continuous Integration
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
install:
|
|
10
|
+
name: Install
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
steps:
|
|
13
|
+
- name: Checkout Repository
|
|
14
|
+
uses: actions/checkout@v2
|
|
15
|
+
|
|
16
|
+
- name: Setup Node.js
|
|
17
|
+
uses: actions/setup-node@v2
|
|
18
|
+
with:
|
|
19
|
+
node-version: "14"
|
|
20
|
+
|
|
21
|
+
- name: Cache Dependencies
|
|
22
|
+
uses: actions/cache@v2
|
|
23
|
+
id: cache-dependencies
|
|
24
|
+
env:
|
|
25
|
+
cache-name: cache-node-modules
|
|
26
|
+
with:
|
|
27
|
+
path: "**/node_modules"
|
|
28
|
+
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
|
|
29
|
+
restore-keys: |
|
|
30
|
+
${{ runner.os }}-build-${{ env.cache-name }}-
|
|
31
|
+
${{ runner.os }}-build-
|
|
32
|
+
${{ runner.os }}-
|
|
33
|
+
|
|
34
|
+
- name: Update NPM
|
|
35
|
+
run: npm i -g npm
|
|
36
|
+
|
|
37
|
+
- name: Install Dependencies
|
|
38
|
+
if: steps.cache-dependencies.outputs.cache-hit != 'true'
|
|
39
|
+
run: npm ci
|
|
40
|
+
|
|
41
|
+
lint:
|
|
42
|
+
name: Lint
|
|
43
|
+
runs-on: ubuntu-latest
|
|
44
|
+
needs: [install]
|
|
45
|
+
steps:
|
|
46
|
+
- name: Checkout Repository
|
|
47
|
+
uses: actions/checkout@v2
|
|
48
|
+
|
|
49
|
+
- name: Setup Node.js
|
|
50
|
+
uses: actions/setup-node@v2
|
|
51
|
+
with:
|
|
52
|
+
node-version: "14"
|
|
53
|
+
|
|
54
|
+
- name: Cache Dependencies
|
|
55
|
+
uses: actions/cache@v2
|
|
56
|
+
id: cache-dependencies
|
|
57
|
+
env:
|
|
58
|
+
cache-name: cache-node-modules
|
|
59
|
+
with:
|
|
60
|
+
path: "**/node_modules"
|
|
61
|
+
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
|
|
62
|
+
restore-keys: |
|
|
63
|
+
${{ runner.os }}-build-${{ env.cache-name }}-
|
|
64
|
+
${{ runner.os }}-build-
|
|
65
|
+
${{ runner.os }}-
|
|
66
|
+
|
|
67
|
+
- name: Install Dependencies
|
|
68
|
+
if: steps.cache-dependencies.outputs.cache-hit != 'true'
|
|
69
|
+
run: npm ci
|
|
70
|
+
|
|
71
|
+
- name: Lint
|
|
72
|
+
run: npm run lint
|
|
73
|
+
|
|
74
|
+
build:
|
|
75
|
+
name: Build
|
|
76
|
+
runs-on: ubuntu-latest
|
|
77
|
+
needs: [lint]
|
|
78
|
+
steps:
|
|
79
|
+
- name: Checkout Repository
|
|
80
|
+
uses: actions/checkout@v2
|
|
81
|
+
|
|
82
|
+
- name: Setup Node.js
|
|
83
|
+
uses: actions/setup-node@v2
|
|
84
|
+
with:
|
|
85
|
+
node-version: "14"
|
|
86
|
+
|
|
87
|
+
- name: Cache Dependencies
|
|
88
|
+
uses: actions/cache@v2
|
|
89
|
+
id: cache-dependencies
|
|
90
|
+
env:
|
|
91
|
+
cache-name: cache-node-modules
|
|
92
|
+
with:
|
|
93
|
+
path: "**/node_modules"
|
|
94
|
+
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
|
|
95
|
+
restore-keys: |
|
|
96
|
+
${{ runner.os }}-build-${{ env.cache-name }}-
|
|
97
|
+
${{ runner.os }}-build-
|
|
98
|
+
${{ runner.os }}-
|
|
99
|
+
|
|
100
|
+
- name: Install Dependencies
|
|
101
|
+
if: steps.cache-dependencies.outputs.cache-hit != 'true'
|
|
102
|
+
run: npm ci
|
|
103
|
+
|
|
104
|
+
- name: Build
|
|
105
|
+
run: npm run build
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
name: 'Pull Request'
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
types: [opened, edited, reopened, synchronize]
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
lint:
|
|
9
|
+
name: Lint
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
steps:
|
|
12
|
+
- name: Checkout Repository
|
|
13
|
+
uses: actions/checkout@v2
|
|
14
|
+
with:
|
|
15
|
+
fetch-depth: 0
|
|
16
|
+
|
|
17
|
+
- name: Lint Title
|
|
18
|
+
uses: amannn/action-semantic-pull-request@v3.4.0
|
|
19
|
+
env:
|
|
20
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
21
|
+
|
|
22
|
+
- name: Lint Commit Messages
|
|
23
|
+
uses: wagoid/commitlint-github-action@v3
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
|
|
3
|
+
on: workflow_dispatch
|
|
4
|
+
|
|
5
|
+
jobs:
|
|
6
|
+
install:
|
|
7
|
+
name: Install
|
|
8
|
+
runs-on: ubuntu-latest
|
|
9
|
+
steps:
|
|
10
|
+
- name: Checkout Repository
|
|
11
|
+
uses: actions/checkout@v2
|
|
12
|
+
|
|
13
|
+
- name: Setup Node.js
|
|
14
|
+
uses: actions/setup-node@v2
|
|
15
|
+
with:
|
|
16
|
+
node-version: "16"
|
|
17
|
+
cache: "npm"
|
|
18
|
+
|
|
19
|
+
- name: Install Dependencies
|
|
20
|
+
run: npm install
|
|
21
|
+
|
|
22
|
+
release:
|
|
23
|
+
name: Release
|
|
24
|
+
runs-on: ubuntu-latest
|
|
25
|
+
needs: [install]
|
|
26
|
+
steps:
|
|
27
|
+
- name: Checkout Repository
|
|
28
|
+
uses: actions/checkout@v2
|
|
29
|
+
with:
|
|
30
|
+
fetch-depth: 0
|
|
31
|
+
persist-credentials: false
|
|
32
|
+
|
|
33
|
+
- name: Setup Node.js
|
|
34
|
+
uses: actions/setup-node@v2
|
|
35
|
+
with:
|
|
36
|
+
node-version: "16"
|
|
37
|
+
cache: "npm"
|
|
38
|
+
|
|
39
|
+
- name: Install Dependencies
|
|
40
|
+
run: npm install
|
|
41
|
+
|
|
42
|
+
- name: Build
|
|
43
|
+
run: npm run build
|
|
44
|
+
|
|
45
|
+
- name: Release
|
|
46
|
+
env:
|
|
47
|
+
GITHUB_TOKEN: ${{ secrets.WONDERFLOW_WORKFLOW_TOKEN }}
|
|
48
|
+
NPM_TOKEN: ${{ secrets.WONDERFLOW_NPM_TOKEN }}
|
|
49
|
+
run: npm run release
|
package/.releaserc.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"branches": [
|
|
3
|
+
"main",
|
|
4
|
+
{ "name": "beta", "channel": "beta", "prerelease": true }
|
|
5
|
+
],
|
|
6
|
+
"plugins": [
|
|
7
|
+
"commit-analyzer-fail-on-no-release",
|
|
8
|
+
"@semantic-release/release-notes-generator",
|
|
9
|
+
"@semantic-release/github",
|
|
10
|
+
[
|
|
11
|
+
"@semantic-release/npm",
|
|
12
|
+
{
|
|
13
|
+
"pkgRoot": "dist"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
[
|
|
17
|
+
"@semantic-release/exec",
|
|
18
|
+
{
|
|
19
|
+
"prepareCmd": "npx replace-json-property package.json version ${nextRelease.version}"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"@semantic-release/git"
|
|
23
|
+
]
|
|
24
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
stories: ["../src/**/*.stories.tsx"],
|
|
3
|
+
features: {
|
|
4
|
+
storyStoreV7: true,
|
|
5
|
+
},
|
|
6
|
+
addons: [
|
|
7
|
+
"@storybook/addon-actions",
|
|
8
|
+
"@storybook/addon-links",
|
|
9
|
+
"storybook-css-modules-preset",
|
|
10
|
+
'storybook-addon-themes',
|
|
11
|
+
{
|
|
12
|
+
name: '@storybook/addon-essentials',
|
|
13
|
+
options: {
|
|
14
|
+
backgrounds: false,
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
name: '@storybook/addon-postcss',
|
|
19
|
+
options: {
|
|
20
|
+
postcssLoaderOptions: {
|
|
21
|
+
implementation: require('postcss'),
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
"storybook-addon-turbo-build"
|
|
26
|
+
],
|
|
27
|
+
typescript: {
|
|
28
|
+
check: false,
|
|
29
|
+
checkOptions: {},
|
|
30
|
+
reactDocgen: 'react-docgen-typescript',
|
|
31
|
+
reactDocgenTypescriptOptions: {
|
|
32
|
+
shouldExtractLiteralValuesFromEnum: true,
|
|
33
|
+
propFilter: (prop) => (prop.parent ? !/node_modules/.test(prop.parent.fileName) : true),
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
.ContainerEx {
|
|
2
|
+
background-color: hsl(env(--color-primary-50) / 20%);
|
|
3
|
+
background-size: 8px 8px;
|
|
4
|
+
background-image: radial-gradient(circle, hsl(env(--color-primary-80) / 30%) 1px, rgba(0, 0, 0, 0) 1px);
|
|
5
|
+
background-position: 0 0;
|
|
6
|
+
min-block-size: env(--space-24);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
.ContainerEx[data-container-dimension='small'] {
|
|
11
|
+
box-shadow:
|
|
12
|
+
inset env(--space-16) 0 0 hsl(env(--color-support-brand) / 60%),
|
|
13
|
+
inset calc(env(--space-16) * -1) 0 0 hsl(env(--color-support-brand) / 60%);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@media (min-width: 48em) {
|
|
17
|
+
.ContainerEx[data-container-dimension='small'] {
|
|
18
|
+
box-shadow:
|
|
19
|
+
inset env(--space-32) 0 0 hsl(env(--color-support-brand) / 60%),
|
|
20
|
+
inset calc(env(--space-32) * -1) 0 0 hsl(env(--color-support-brand) / 60%);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.ContainerEx[data-container-dimension='medium'] {
|
|
25
|
+
box-shadow:
|
|
26
|
+
inset env(--space-16) 0 0 hsl(env(--color-support-brand) / 60%),
|
|
27
|
+
inset calc(env(--space-16) * -1) 0 0 hsl(env(--color-support-brand) / 60%);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@media (min-width: 48em) {
|
|
31
|
+
.ContainerEx[data-container-dimension='medium'] {
|
|
32
|
+
box-shadow:
|
|
33
|
+
inset env(--space-32) 0 0 hsl(env(--color-support-brand) / 60%),
|
|
34
|
+
inset calc(env(--space-32) * -1) 0 0 hsl(env(--color-support-brand) / 60%);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.ContainerEx[data-container-dimension='large'] {
|
|
39
|
+
box-shadow:
|
|
40
|
+
inset env(--space-16) 0 0 hsl(env(--color-support-brand) / 60%),
|
|
41
|
+
inset calc(env(--space-16) * -1) 0 0 hsl(env(--color-support-brand) / 60%);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@media (min-width: 48em) {
|
|
45
|
+
.ContainerEx[data-container-dimension='large'] {
|
|
46
|
+
box-shadow:
|
|
47
|
+
inset env(--space-32) 0 0 hsl(env(--color-support-brand) / 60%),
|
|
48
|
+
inset calc(env(--space-32) * -1) 0 0 hsl(env(--color-support-brand) / 60%);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.ContainerEx[data-container-dimension='full'] {
|
|
53
|
+
box-shadow:
|
|
54
|
+
inset env(--space-16) 0 0 hsl(env(--color-support-brand) / 60%),
|
|
55
|
+
inset calc(env(--space-16) * -1) 0 0 hsl(env(--color-support-brand) / 60%);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
@media (min-width: 48em) {
|
|
59
|
+
.ContainerEx[data-container-dimension='full'] {
|
|
60
|
+
box-shadow:
|
|
61
|
+
inset env(--space-32) 0 0 hsl(env(--color-support-brand) / 60%),
|
|
62
|
+
inset calc(env(--space-32) * -1) 0 0 hsl(env(--color-support-brand) / 60%);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.ContainerEx[data-container-padding='false'] {
|
|
67
|
+
box-shadow: none;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.DivEx {
|
|
71
|
+
background-color: var(--dimmed-0);
|
|
72
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import '../dist/themes.css';
|
|
2
|
+
import '../src/core.css';
|
|
3
|
+
import './overrides.css';
|
|
4
|
+
|
|
5
|
+
export const parameters = {
|
|
6
|
+
actions: { argTypesRegex: "^on[A-Z].*" },
|
|
7
|
+
controls: {
|
|
8
|
+
matchers: {
|
|
9
|
+
color: /(background|color)$/i,
|
|
10
|
+
date: /Date$/,
|
|
11
|
+
},
|
|
12
|
+
},
|
|
13
|
+
themes: {
|
|
14
|
+
default: 'light',
|
|
15
|
+
list: [
|
|
16
|
+
{ name: 'auto', color: 'linear-gradient(to bottom right, lightgray 50%, black 50.1%)' },
|
|
17
|
+
{ name: 'light', color: 'lightgray' },
|
|
18
|
+
{ name: 'dark', color: 'black' }
|
|
19
|
+
],
|
|
20
|
+
onChange: (theme) => {
|
|
21
|
+
const iframe = document.querySelector('#storybook-preview-iframe');
|
|
22
|
+
if (theme) {
|
|
23
|
+
iframe.contentDocument.documentElement.dataset.theme = theme.name
|
|
24
|
+
} else {
|
|
25
|
+
iframe.contentDocument.documentElement.dataset.theme = 'auto'
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
target: 'root'
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export const decorators = [
|
|
33
|
+
(Story) => (
|
|
34
|
+
<Story />
|
|
35
|
+
),
|
|
36
|
+
];
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { create } from '@storybook/theming';
|
|
2
|
+
import tkns from '@wonderflow/tokens/platforms/web/tokens.json'
|
|
3
|
+
|
|
4
|
+
export default create({
|
|
5
|
+
base: 'light',
|
|
6
|
+
brandTitle: 'Wanda Design System',
|
|
7
|
+
brandUrl: 'https://design.wonderflow.ai',
|
|
8
|
+
brandImage: "data:image/svg+xml,%3Csvg width='177' height='48' viewBox='0 0 177 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='48' height='48' fill='%23EE0000'/%3E%3Cpath d='M34.6138 12.9892L24.5246 25.2658L21.9993 23.5248L28.484 15.6221V12.9892H24.9021L18.3222 20.9931L15.8466 19.2911L18.86 15.6221V12.9892H15.2744L9.93418 19.4936L9.77777 19.6845V23.665L26.2715 35.0108L38.1804 20.4868L38.2222 20.4323V12.9892H34.6138ZM37.841 20.3076L26.1877 34.5083L10.1669 23.4742V20.1207L25.7185 30.8314L37.841 16.0661V20.3076ZM10.2508 19.7078L15.4537 13.3787H18.4786V15.4819L15.2859 19.3768L18.3947 21.5228L25.0813 13.3787H28.1331V15.4819L21.4348 23.6027L24.5971 25.7799L34.7893 13.3787H37.841V15.4585L25.6345 30.3135L10.2508 19.7078Z' fill='white' stroke='white' stroke-width='0.77027' stroke-miterlimit='10'/%3E%3Cpath d='M68.9784 23H72.434L75.5499 11.6727H75.6202L78.7243 23H82.1799L86.6663 6.09689H82.9999L80.3174 18.209H80.2471L77.1312 6.09689H74.0271L70.9112 18.209H70.8409L68.1701 6.09689H64.5037L68.9784 23ZM90.4265 23.1991C92.0781 23.1991 93.4135 22.4143 94.1281 21.1258H94.1983V23H97.6188V14.3903C97.6188 11.8601 95.522 10.185 92.2773 10.185C88.9623 10.185 86.9709 11.8484 86.7835 14.1677L86.7718 14.3083H89.8994L89.9228 14.2029C90.0868 13.3946 90.8599 12.7972 92.1367 12.7972C93.4721 12.7972 94.1983 13.4883 94.1983 14.6012V15.3743L91.0942 15.5617C87.9783 15.7608 86.2095 17.0962 86.2095 19.3804V19.4038C86.2095 21.6178 87.908 23.1991 90.4265 23.1991ZM89.5948 19.2281V19.2047C89.5948 18.3145 90.2859 17.7522 91.6096 17.6702L94.1983 17.5062V18.4082C94.1983 19.7201 93.0738 20.7041 91.5393 20.7041C90.3562 20.7041 89.5948 20.1535 89.5948 19.2281ZM99.8327 23H103.253V15.7843C103.253 14.1443 104.225 13.0198 105.76 13.0198C107.294 13.0198 108.068 13.9569 108.068 15.5968V23H111.488V14.894C111.488 11.9538 109.918 10.185 107.154 10.185C105.256 10.185 103.968 11.0636 103.323 12.5044H103.253V10.4427H99.8327V23ZM118.305 23.2577C120.121 23.2577 121.503 22.344 122.171 20.8564H122.241V23H125.662V6.09689H122.241V12.6215H122.171C121.492 11.0987 120.086 10.185 118.305 10.185C115.143 10.185 113.198 12.6215 113.198 16.7097V16.7214C113.198 20.7978 115.143 23.2577 118.305 23.2577ZM119.453 20.4229C117.743 20.4229 116.677 19.0056 116.677 16.7214V16.7097C116.677 14.4137 117.755 13.0198 119.453 13.0198C121.105 13.0198 122.253 14.4489 122.253 16.7097V16.7214C122.253 18.9939 121.117 20.4229 119.453 20.4229ZM131.683 23.1991C133.334 23.1991 134.67 22.4143 135.384 21.1258H135.455V23H138.875V14.3903C138.875 11.8601 136.778 10.185 133.534 10.185C130.218 10.185 128.227 11.8484 128.04 14.1677L128.028 14.3083H131.156L131.179 14.2029C131.343 13.3946 132.116 12.7972 133.393 12.7972C134.728 12.7972 135.455 13.4883 135.455 14.6012V15.3743L132.35 15.5617C129.235 15.7608 127.466 17.0962 127.466 19.3804V19.4038C127.466 21.6178 129.164 23.1991 131.683 23.1991ZM130.851 19.2281V19.2047C130.851 18.3145 131.542 17.7522 132.866 17.6702L135.455 17.5062V18.4082C135.455 19.7201 134.33 20.7041 132.796 20.7041C131.612 20.7041 130.851 20.1535 130.851 19.2281Z' fill='%23454A55'/%3E%3Cpath d='M65.4375 44H69.3047C72.6562 44 74.625 41.9141 74.625 38.3672V38.3516C74.625 34.8125 72.6484 32.7266 69.3047 32.7266H65.4375V44ZM66.8438 42.7344V33.9922H69.2109C71.7109 33.9922 73.1875 35.6172 73.1875 38.3672V38.3828C73.1875 41.125 71.7266 42.7344 69.2109 42.7344H66.8438ZM80.3281 44.1484C82.3125 44.1484 83.5156 43.0234 83.8047 41.8828L83.8203 41.8203H82.4609L82.4297 41.8906C82.2031 42.3984 81.5 42.9375 80.3594 42.9375C78.8594 42.9375 77.8984 41.9219 77.8594 40.1797H83.9219V39.6484C83.9219 37.1328 82.5312 35.4297 80.2422 35.4297C77.9531 35.4297 76.4688 37.2109 76.4688 39.8125V39.8203C76.4688 42.4609 77.9219 44.1484 80.3281 44.1484ZM80.2344 36.6406C81.4766 36.6406 82.3984 37.4297 82.5391 39.0938H77.8828C78.0312 37.4922 78.9844 36.6406 80.2344 36.6406ZM88.9219 44.1484C90.8359 44.1484 92.2969 43.1094 92.2969 41.6094V41.5938C92.2969 40.3906 91.5312 39.7031 89.9453 39.3203L88.6484 39.0078C87.6562 38.7656 87.2344 38.4062 87.2344 37.8359V37.8203C87.2344 37.0781 87.9688 36.5625 88.9688 36.5625C89.9844 36.5625 90.6406 37.0234 90.8203 37.6875H92.1562C91.9688 36.3125 90.7422 35.4297 88.9766 35.4297C87.1875 35.4297 85.8438 36.4844 85.8438 37.8828V37.8906C85.8438 39.1016 86.5547 39.7891 88.1328 40.1641L89.4375 40.4766C90.4766 40.7266 90.9062 41.125 90.9062 41.6953V41.7109C90.9062 42.4766 90.1016 43.0156 88.9688 43.0156C87.8906 43.0156 87.2188 42.5547 86.9922 41.8516H85.6016C85.7578 43.2422 87.0469 44.1484 88.9219 44.1484ZM95.125 33.9531C95.6406 33.9531 96.0625 33.5312 96.0625 33.0156C96.0625 32.5 95.6406 32.0781 95.125 32.0781C94.6094 32.0781 94.1875 32.5 94.1875 33.0156C94.1875 33.5312 94.6094 33.9531 95.125 33.9531ZM94.4375 44H95.7969V35.5781H94.4375V44ZM101.828 46.9688C104.125 46.9688 105.578 45.7656 105.578 43.8828V35.5781H104.219V36.9688H104.125C103.609 36.0156 102.688 35.4297 101.5 35.4297C99.2969 35.4297 97.9375 37.1406 97.9375 39.5V39.5156C97.9375 41.875 99.2891 43.5625 101.469 43.5625C102.625 43.5625 103.578 43.0391 104.109 42.1094H104.234V43.8125C104.234 45.0547 103.336 45.7656 101.828 45.7656C100.617 45.7656 99.8672 45.3125 99.7188 44.6719L99.7109 44.6641H98.3047L98.2891 44.6719C98.5 46.0547 99.7969 46.9688 101.828 46.9688ZM101.766 42.3594C100.203 42.3594 99.3281 41.1875 99.3281 39.5156V39.5C99.3281 37.8281 100.203 36.6328 101.766 36.6328C103.32 36.6328 104.266 37.8281 104.266 39.5V39.5156C104.266 41.1875 103.328 42.3594 101.766 42.3594ZM108.109 44H109.469V39.0156C109.469 37.5391 110.32 36.6328 111.664 36.6328C113.008 36.6328 113.633 37.3594 113.633 38.875V44H114.992V38.5469C114.992 36.5469 113.938 35.4297 112.047 35.4297C110.805 35.4297 110.016 35.9531 109.594 36.8438H109.469V35.5781H108.109V44ZM125.82 44.2656C128.336 44.2656 129.984 42.9531 129.984 40.8438V40.8359C129.984 39.2109 129.055 38.2656 126.703 37.7422L125.453 37.4609C123.922 37.125 123.305 36.5156 123.305 35.6172V35.6094C123.305 34.4297 124.391 33.7656 125.797 33.7578C127.266 33.75 128.203 34.4844 128.359 35.4766L128.375 35.5781H129.781L129.773 35.4688C129.656 33.7891 128.086 32.4609 125.836 32.4609C123.508 32.4609 121.875 33.7812 121.867 35.6484V35.6562C121.867 37.2891 122.844 38.3281 125.102 38.8281L126.352 39.1016C127.898 39.4453 128.547 40.0859 128.547 41.0234V41.0312C128.547 42.1797 127.43 42.9688 125.898 42.9688C124.273 42.9688 123.102 42.2578 123 41.1328L122.992 41.0469H121.586L121.594 41.1328C121.758 42.9688 123.352 44.2656 125.82 44.2656ZM132.875 46.9531C134.367 46.9531 135.062 46.4062 135.758 44.5156L139.047 35.5781H137.617L135.312 42.5078H135.188L132.875 35.5781H131.422L134.539 44.0078L134.383 44.5078C134.078 45.4766 133.609 45.8281 132.836 45.8281C132.648 45.8281 132.438 45.8203 132.273 45.7891V46.9062C132.461 46.9375 132.695 46.9531 132.875 46.9531ZM143.5 44.1484C145.414 44.1484 146.875 43.1094 146.875 41.6094V41.5938C146.875 40.3906 146.109 39.7031 144.523 39.3203L143.227 39.0078C142.234 38.7656 141.812 38.4062 141.812 37.8359V37.8203C141.812 37.0781 142.547 36.5625 143.547 36.5625C144.562 36.5625 145.219 37.0234 145.398 37.6875H146.734C146.547 36.3125 145.32 35.4297 143.555 35.4297C141.766 35.4297 140.422 36.4844 140.422 37.8828V37.8906C140.422 39.1016 141.133 39.7891 142.711 40.1641L144.016 40.4766C145.055 40.7266 145.484 41.125 145.484 41.6953V41.7109C145.484 42.4766 144.68 43.0156 143.547 43.0156C142.469 43.0156 141.797 42.5547 141.57 41.8516H140.18C140.336 43.2422 141.625 44.1484 143.5 44.1484ZM151.898 44.0625C152.164 44.0625 152.422 44.0312 152.688 43.9844V42.8281C152.438 42.8516 152.305 42.8594 152.062 42.8594C151.188 42.8594 150.844 42.4609 150.844 41.4688V36.7031H152.688V35.5781H150.844V33.3984H149.438V35.5781H148.109V36.7031H149.438V41.8125C149.438 43.4219 150.164 44.0625 151.898 44.0625ZM158.031 44.1484C160.016 44.1484 161.219 43.0234 161.508 41.8828L161.523 41.8203H160.164L160.133 41.8906C159.906 42.3984 159.203 42.9375 158.062 42.9375C156.562 42.9375 155.602 41.9219 155.562 40.1797H161.625V39.6484C161.625 37.1328 160.234 35.4297 157.945 35.4297C155.656 35.4297 154.172 37.2109 154.172 39.8125V39.8203C154.172 42.4609 155.625 44.1484 158.031 44.1484ZM157.938 36.6406C159.18 36.6406 160.102 37.4297 160.242 39.0938H155.586C155.734 37.4922 156.688 36.6406 157.938 36.6406ZM163.734 44H165.094V38.7812C165.094 37.5938 165.93 36.6328 167.031 36.6328C168.094 36.6328 168.781 37.2812 168.781 38.2812V44H170.141V38.5859C170.141 37.5156 170.914 36.6328 172.086 36.6328C173.273 36.6328 173.844 37.25 173.844 38.4922V44H175.203V38.1797C175.203 36.4141 174.242 35.4297 172.523 35.4297C171.359 35.4297 170.398 36.0156 169.945 36.9062H169.82C169.43 36.0312 168.633 35.4297 167.492 35.4297C166.391 35.4297 165.594 35.9531 165.219 36.8594H165.094V35.5781H163.734V44Z' fill='%23595F6C'/%3E%3C/svg%3E",
|
|
9
|
+
colorPrimary: '#EE0000',
|
|
10
|
+
colorSecondary: '#454A55',
|
|
11
|
+
|
|
12
|
+
// UI
|
|
13
|
+
appBg: '#F9F9FB',
|
|
14
|
+
appBorderColor: `#E3E6EC`,
|
|
15
|
+
|
|
16
|
+
// Typography
|
|
17
|
+
fontBase: '"Open Sans", sans-serif',
|
|
18
|
+
|
|
19
|
+
// Toolbar default and active colors
|
|
20
|
+
barTextColor: '#454A55',
|
|
21
|
+
barSelectedColor: '#000',
|
|
22
|
+
});
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
// Place your react-components workspace snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
|
|
3
|
+
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
|
|
4
|
+
// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is
|
|
5
|
+
// used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
|
|
6
|
+
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
|
|
7
|
+
// Placeholders with the same ids are connected.
|
|
8
|
+
// Example:
|
|
9
|
+
// "Print to console": {
|
|
10
|
+
// "scope": "javascript,typescript",
|
|
11
|
+
// "prefix": "log",
|
|
12
|
+
// "body": [
|
|
13
|
+
// "console.log('$1');",
|
|
14
|
+
// "$2"
|
|
15
|
+
// ],
|
|
16
|
+
// "description": "Log output to console"
|
|
17
|
+
// }
|
|
18
|
+
"Import Wanda css media queries from inside a component": {
|
|
19
|
+
"prefix": "media",
|
|
20
|
+
"body": [
|
|
21
|
+
"@import '../core/utils/media.css';"
|
|
22
|
+
],
|
|
23
|
+
"scope": "css, postcss",
|
|
24
|
+
"description": "Import Wanda css media queries from inside a component"
|
|
25
|
+
},
|
|
26
|
+
"Import Wanda css design tokens": {
|
|
27
|
+
"prefix": "tokens",
|
|
28
|
+
"body": [
|
|
29
|
+
"@import '@wonderflow/tokens/platforms/web/tokens.css';"
|
|
30
|
+
],
|
|
31
|
+
"scope": "css, postcss",
|
|
32
|
+
"description": "Import Wanda css media queries from inside a component"
|
|
33
|
+
},
|
|
34
|
+
"Import Wanda css utils": {
|
|
35
|
+
"prefix": "utils",
|
|
36
|
+
"body": [
|
|
37
|
+
"@import '../core/utils/vibrancy.css';"
|
|
38
|
+
],
|
|
39
|
+
"scope": "css, postcss",
|
|
40
|
+
"description": "Import Wanda css utilities inside a component"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
|
|
3
|
+
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
|
|
4
|
+
|
|
5
|
+
// List of extensions which should be recommended for users of this workspace.
|
|
6
|
+
"recommendations": [
|
|
7
|
+
"csstools.postcss",
|
|
8
|
+
"dbaeumer.vscode-eslint",
|
|
9
|
+
"stylelint.vscode-stylelint",
|
|
10
|
+
"kamikillerto.vscode-colorize",
|
|
11
|
+
"lasalefamine.vscode-css-vars",
|
|
12
|
+
"editorconfig.editorconfig",
|
|
13
|
+
"esbenp.prettier-vscode"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"stylelint.enable": true,
|
|
3
|
+
"css.validate": false,
|
|
4
|
+
"editor.formatOnSave": false,
|
|
5
|
+
"javascript.validate.enable": false,
|
|
6
|
+
"typescript.tsdk": "node_modules/typescript/lib",
|
|
7
|
+
"cssEnvVarsAutocomplete.varFiles": ["./dist/themes/light.css"],
|
|
8
|
+
"cssEnvVarsAutocomplete.envFiles": ["./node_modules/@wonderflow/tokens/platforms/web/tokens.css"],
|
|
9
|
+
"editor.codeActionsOnSave": {
|
|
10
|
+
"source.fixAll.eslint": true,
|
|
11
|
+
"source.fixAll.stylelint": true
|
|
12
|
+
},
|
|
13
|
+
"files.associations": {
|
|
14
|
+
"*.css": "postcss"
|
|
15
|
+
},
|
|
16
|
+
"[yaml]": {
|
|
17
|
+
"editor.formatOnSave": true,
|
|
18
|
+
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
19
|
+
},
|
|
20
|
+
"[markdown]": {
|
|
21
|
+
"editor.formatOnSave": true,
|
|
22
|
+
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
23
|
+
"editor.rulers": [80],
|
|
24
|
+
"editor.wordWrap": "wordWrapColumn",
|
|
25
|
+
},
|
|
26
|
+
"[json]": {
|
|
27
|
+
"editor.formatOnSave": true,
|
|
28
|
+
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
29
|
+
}
|
|
30
|
+
}
|
package/CHANGELOG.md
ADDED
package/CONTRIBUTING.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Contributing to the project
|
|
2
|
+
|
|
3
|
+
This progect is based on Node and NPM. Make sure to have the required Node and NPM versions installed before proceeding.
|
|
4
|
+
|
|
5
|
+
## Requirements
|
|
6
|
+
|
|
7
|
+
- Node 14+
|
|
8
|
+
- npm 7+
|
|
9
|
+
|
|
10
|
+
## Installing dependencies
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
npm install
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
You may get some errors about peerDependencies while installing the required dependencies due to some old peer resolution. If you get the error, install the dependencies with the following command:
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
npm i --legacy-peer-deps
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Running the project
|
|
23
|
+
|
|
24
|
+
Execute following command to start Storybook:
|
|
25
|
+
|
|
26
|
+
- `npm start`
|