react-jupiter 5.12.0 → 6.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/.babelrc +12 -0
- package/.env +3 -0
- package/.eslintignore +2 -0
- package/.eslintrc +18 -0
- package/.eslintrc.js +47 -0
- package/.eslintrc.json +16 -0
- package/.flowconfig +0 -0
- package/.storybook/main.js +27 -0
- package/.storybook/preview-head.html +1 -0
- package/.storybook/preview.js +30 -0
- package/.storybook/style.css +9 -0
- package/.vscode/settings.json +4 -0
- package/__mocks__/fileMock.js +1 -0
- package/config-overrides.js +34 -0
- package/dist/App.js +13 -0
- package/dist/components/accordion/index.js +25 -0
- package/dist/components/accordion/index.stories.js +82 -0
- package/dist/components/accordion/index.styles.js +52 -0
- package/dist/components/accordion/panel.js +41 -0
- package/dist/components/avatar/index.js +41 -0
- package/dist/components/avatar/index.stories.js +59 -0
- package/dist/components/avatar/index.styles.js +17 -0
- package/dist/components/avatar/index.test.js +10 -0
- package/dist/components/avatar/theme.js +13 -0
- package/dist/components/button/__snapshots__/index.test.js.snap +489 -0
- package/dist/components/button/index.js +209 -0
- package/dist/components/button/index.stories.js +304 -0
- package/dist/components/button/index.styles.js +104 -0
- package/dist/components/button/theme.js +58 -0
- package/dist/components/button/utils.js +12 -0
- package/dist/components/card/card-template/index.js +74 -0
- package/dist/components/card/card-template/index.stories.js +110 -0
- package/dist/components/card/card-template/index.style.js +25 -0
- package/dist/components/card/card-template/index.test.js +85 -0
- package/dist/components/card/event-card/constants.js +3 -0
- package/dist/components/card/event-card/event-card-label/index.js +24 -0
- package/dist/components/card/event-card/event-card-label/index.style.js +10 -0
- package/dist/components/card/event-card/event-card-label/index.test.js +23 -0
- package/dist/components/card/event-card/index.js +227 -0
- package/dist/components/card/event-card/index.stories.js +166 -0
- package/dist/components/card/event-card/index.style.js +129 -0
- package/dist/components/card/event-card/index.test.js +79 -0
- package/dist/components/card/index.js +16 -0
- package/dist/components/card/organization-card/index.js +59 -0
- package/dist/components/card/organization-card/index.stories.js +49 -0
- package/dist/components/card/organization-card/index.style.js +10 -0
- package/dist/components/card/organization-card/index.test.js +25 -0
- package/dist/components/card/orgnizer-card/buttons.js +48 -0
- package/dist/components/card/orgnizer-card/index.js +179 -0
- package/dist/components/card/orgnizer-card/index.stories.js +81 -0
- package/dist/components/card/orgnizer-card/index.style.js +58 -0
- package/dist/components/cover/index.js +74 -0
- package/dist/components/cover/index.style.js +48 -0
- package/dist/components/cover/index.test.js +25 -0
- package/dist/components/display/index.js +42 -0
- package/dist/components/display/index.style.js +79 -0
- package/dist/components/file-item/fileImgIcon.js +37 -0
- package/dist/components/file-item/fileImgsFont.js +800 -0
- package/dist/components/file-item/index.js +101 -0
- package/dist/components/file-item/index.stories.js +71 -0
- package/dist/components/file-item/index.style.js +31 -0
- package/dist/components/file-item/index.test.js +106 -0
- package/dist/components/file-item/theme.js +12 -0
- package/dist/components/file-item/utils.js +3 -0
- package/dist/components/form/captcha/index.js +86 -0
- package/dist/components/form/captcha/index.stories.js +42 -0
- package/dist/components/form/captcha/index.style.js +38 -0
- package/dist/components/form/captcha/index.test.js +31 -0
- package/dist/components/form/checkbox/checkbox-option.js +41 -0
- package/dist/components/form/checkbox/checkbox.js +54 -0
- package/dist/components/form/checkbox/index.js +10 -0
- package/dist/components/form/checkbox/index.stories.js +121 -0
- package/dist/components/form/checkbox/index.style.js +62 -0
- package/dist/components/form/dropdown/index.js +10 -0
- package/dist/components/form/dropdown/index.stories.js +119 -0
- package/dist/components/form/dropdown/index.style.js +57 -0
- package/dist/components/form/dropdown/index.test.js +20 -0
- package/dist/components/form/dropdown/option.js +22 -0
- package/dist/components/form/dropdown/select.js +68 -0
- package/dist/components/form/errorMsg.js +21 -0
- package/dist/components/form/index.js +22 -0
- package/dist/components/form/radio/index.js +10 -0
- package/dist/components/form/radio/index.stories.js +119 -0
- package/dist/components/form/radio/index.style.js +61 -0
- package/dist/components/form/radio/radio-option.js +45 -0
- package/dist/components/form/radio/radio.js +56 -0
- package/dist/components/form/text-input/index.js +92 -0
- package/dist/components/form/text-input/index.stories.js +77 -0
- package/dist/components/form/text-input/index.style.js +57 -0
- package/dist/components/form/text-input/index.test.js +63 -0
- package/dist/components/form/textarea/index.js +59 -0
- package/dist/components/form/textarea/index.stories.js +90 -0
- package/dist/components/form/textarea/index.style.js +25 -0
- package/dist/components/form/theme.js +16 -0
- package/dist/components/form-v7/captcha/index.js +101 -0
- package/dist/components/form-v7/captcha/index.stories.js +60 -0
- package/dist/components/form-v7/captcha/index.style.js +38 -0
- package/dist/components/form-v7/captcha/index.test.js +31 -0
- package/dist/components/form-v7/checkbox/checkbox-option.js +44 -0
- package/dist/components/form-v7/checkbox/checkbox.js +70 -0
- package/dist/components/form-v7/checkbox/index.js +10 -0
- package/dist/components/form-v7/checkbox/index.stories.js +113 -0
- package/dist/components/form-v7/checkbox/index.style.js +62 -0
- package/dist/components/form-v7/dropdown/index.js +10 -0
- package/dist/components/form-v7/dropdown/index.stories.js +130 -0
- package/dist/components/form-v7/dropdown/index.style.js +57 -0
- package/dist/components/form-v7/dropdown/index.test.js +20 -0
- package/dist/components/form-v7/dropdown/option.js +18 -0
- package/dist/components/form-v7/dropdown/select.js +85 -0
- package/dist/components/form-v7/errorMsg.js +21 -0
- package/dist/components/form-v7/file-input/index.js +73 -0
- package/dist/components/form-v7/file-input/index.stories.js +73 -0
- package/dist/components/form-v7/file-input/index.style.js +62 -0
- package/dist/components/form-v7/file-input/index.test.js +63 -0
- package/dist/components/form-v7/form/index.stories.js +276 -0
- package/dist/components/form-v7/index.js +25 -0
- package/dist/components/form-v7/index.style.js +11 -0
- package/dist/components/form-v7/label/index.js +31 -0
- package/dist/components/form-v7/label/index.style.js +12 -0
- package/dist/components/form-v7/radio/index.js +10 -0
- package/dist/components/form-v7/radio/index.stories.js +117 -0
- package/dist/components/form-v7/radio/index.style.js +61 -0
- package/dist/components/form-v7/radio/radio-option.js +45 -0
- package/dist/components/form-v7/radio/radio.js +75 -0
- package/dist/components/form-v7/text-input/index.js +132 -0
- package/dist/components/form-v7/text-input/index.stories.js +96 -0
- package/dist/components/form-v7/text-input/index.style.js +49 -0
- package/dist/components/form-v7/text-input/index.test.js +63 -0
- package/dist/components/form-v7/textarea/index.js +71 -0
- package/dist/components/form-v7/textarea/index.stories.js +91 -0
- package/dist/components/form-v7/textarea/index.style.js +25 -0
- package/dist/components/form-v7/theme.js +20 -0
- package/dist/components/globalStyle.js +28 -0
- package/dist/components/grid/index.js +83 -0
- package/dist/components/icon/iconFont.js +806 -0
- package/dist/components/icon/index.js +116 -0
- package/dist/components/icon/index.stories.js +45 -0
- package/dist/components/icon/index.styles.js +12 -0
- package/dist/components/icon/index.test.js +66 -0
- package/dist/components/icon/theme.js +23 -0
- package/dist/components/index.js +75 -0
- package/dist/components/modal/index.js +100 -0
- package/dist/components/modal/index.stories.js +86 -0
- package/dist/components/modal/index.style.js +40 -0
- package/dist/components/modal/theme.js +11 -0
- package/dist/components/numeric-summery-report/index.js +28 -0
- package/dist/components/numeric-summery-report/index.stories.js +37 -0
- package/dist/components/numeric-summery-report/index.style.js +16 -0
- package/dist/components/numeric-summery-report/index.test.js +22 -0
- package/dist/components/product-menu/index.js +10 -0
- package/dist/components/product-menu/index.stories.js +33 -0
- package/dist/components/product-menu/index.style.js +38 -0
- package/dist/components/product-menu/index.test.js +27 -0
- package/dist/components/product-menu/menu-item.js +23 -0
- package/dist/components/product-menu/menu.js +88 -0
- package/dist/components/product-menu/theme.js +16 -0
- package/dist/components/product-owner/index.js +85 -0
- package/dist/components/product-owner/index.style.js +16 -0
- package/dist/components/product-owner/index.test.js +75 -0
- package/dist/components/product-properties/index.js +65 -0
- package/dist/components/product-properties/index.stories.js +52 -0
- package/dist/components/product-properties/index.style.js +14 -0
- package/dist/components/product-properties/index.test.js +31 -0
- package/dist/components/product-properties/product-property/index.js +49 -0
- package/dist/components/product-properties/product-property/index.style.js +9 -0
- package/dist/components/progress-bar/index.js +46 -0
- package/dist/components/progress-bar/index.stories.js +33 -0
- package/dist/components/progress-bar/index.styles.js +65 -0
- package/dist/components/responsive/index.js +44 -0
- package/dist/components/show-date/index.js +25 -0
- package/dist/components/show-date/index.stories.js +51 -0
- package/dist/components/show-date/index.test.js +24 -0
- package/dist/components/spacing/core.js +106 -0
- package/dist/components/spacing/index.js +10 -0
- package/dist/components/spacing/margin/index.js +26 -0
- package/dist/components/spacing/padding/index.js +26 -0
- package/dist/components/storybook.css +54 -0
- package/dist/components/table/actionCell.js +57 -0
- package/dist/components/table/index.js +56 -0
- package/dist/components/table/index.stories.js +188 -0
- package/dist/components/table/index.style.js +107 -0
- package/dist/components/table/index.test.js +119 -0
- package/dist/components/table/tableHeaderRow.js +28 -0
- package/dist/components/table/tableRow.js +60 -0
- package/dist/components/table/theme.js +8 -0
- package/dist/components/tabs/index.js +10 -0
- package/dist/components/tabs/index.stories.js +61 -0
- package/dist/components/tabs/index.style.js +35 -0
- package/dist/components/tabs/index.test.js +30 -0
- package/dist/components/tabs/tabPanel.js +17 -0
- package/dist/components/tabs/tabs.js +71 -0
- package/dist/components/tabs/theme.js +10 -0
- package/dist/components/themes.js +97 -0
- package/dist/components/titled-avatar/index.js +48 -0
- package/dist/components/titled-avatar/index.stories.js +52 -0
- package/dist/components/titled-avatar/index.style.js +30 -0
- package/dist/components/titled-avatar/index.test.js +25 -0
- package/dist/components/typography/heading/index.js +59 -0
- package/dist/components/typography/heading/index.stories.js +94 -0
- package/dist/components/typography/heading/index.styles.js +69 -0
- package/dist/components/typography/heading/index.test.js +122 -0
- package/dist/components/typography/index.js +16 -0
- package/dist/components/typography/link/index.js +82 -0
- package/dist/components/typography/link/index.stories.js +70 -0
- package/dist/components/typography/link/index.styles.js +8 -0
- package/dist/components/typography/link/index.test.js +60 -0
- package/dist/components/typography/paragraph/index.js +37 -0
- package/dist/components/typography/paragraph/index.stories.js +56 -0
- package/dist/components/typography/paragraph/index.styles.js +12 -0
- package/dist/components/typography/paragraph/index.test.js +47 -0
- package/dist/components/typography/text/index.js +156 -0
- package/dist/components/typography/text/index.stories.js +196 -0
- package/dist/components/typography/text/index.styles.js +73 -0
- package/dist/components/typography/text/index.test.js +333 -0
- package/dist/components/typography/theme.js +66 -0
- package/dist/components/typography/utils.js +53 -0
- package/dist/components/typography/utils.test.js +188 -0
- package/dist/components/utils/date.js +7 -0
- package/dist/components/utils/date.test.js +15 -0
- package/dist/components/utils/detectMobile.js +15 -0
- package/dist/components/utils/index.js +7 -0
- package/dist/components/utils/media-query.js +12 -0
- package/dist/components/utils/numbers.js +25 -0
- package/dist/components/utils/test.js +6 -0
- package/dist/components/utils/theme.js +67 -0
- package/dist/docs/App.css +33 -0
- package/dist/docs/App.js +52 -0
- package/dist/docs/assets/ads-label.svg +13 -0
- package/dist/docs/assets/avatar-sample.jpeg +0 -0
- package/dist/docs/assets/cover-sample.png +0 -0
- package/dist/docs/assets/fonts/filesImgs.woff +0 -0
- package/dist/docs/assets/fonts/icomoon.woff +0 -0
- package/dist/docs/assets/fonts/iransharp_bold_web.woff +0 -0
- package/dist/docs/assets/fonts/iransharp_bold_web.woff2 +0 -0
- package/dist/docs/assets/fonts/iransharp_regular_web.woff +0 -0
- package/dist/docs/assets/fonts/iransharp_regular_web.woff2 +0 -0
- package/dist/docs/assets/fonts/wer6t7890- +0 -0
- package/dist/docs/assets/logo.svg +7 -0
- package/dist/docs/components/header/index.js +10 -0
- package/dist/docs/components/header/index.styles.js +10 -0
- package/dist/docs/components/side-navigation/index.js +167 -0
- package/dist/docs/components/side-navigation/index.styles.js +46 -0
- package/dist/docs/containers/avatar/index.js +92 -0
- package/dist/docs/containers/button/index.js +295 -0
- package/dist/docs/containers/card/index.js +153 -0
- package/dist/docs/containers/cover/index.js +77 -0
- package/dist/docs/containers/form/index.js +41 -0
- package/dist/docs/containers/home/index.js +41 -0
- package/dist/docs/containers/icon/index.js +56 -0
- package/dist/docs/containers/icons/index.js +1488 -0
- package/dist/docs/containers/product/index.js +123 -0
- package/dist/docs/containers/typography/index.js +138 -0
- package/dist/docs/globalStyle.js +58 -0
- package/dist/index.css +3 -0
- package/dist/index.js +18 -0
- package/dist/playground/index.js +144 -0
- package/dist/playground.css +26 -0
- package/dist/serviceWorker.js +135 -0
- package/dist/setupTests.js +24 -0
- package/dist/stories/Page.js +67 -0
- package/dist/storybook.css +58 -0
- package/dist/styles.css +3 -0
- package/dist/test-utils.js +21 -0
- package/doctor-storybook.log +25 -0
- package/migration-storybook.log +329 -0
- package/package.json +132 -12
- package/package.lib.json +75 -0
- package/postcss.config.js +6 -0
- package/public/assets/fonts/iransharp_bold_web.woff2 +0 -0
- package/public/assets/fonts/iransharp_light_web.woff2 +0 -0
- package/public/assets/fonts/iransharp_regular_web.woff2 +0 -0
- package/public/favicon.ico +0 -0
- package/public/index.html +43 -0
- package/public/logo.svg +1 -0
- package/public/logo142.svg +1 -0
- package/public/manifest.json +25 -0
- package/public/robots.txt +2 -0
- package/src/App.js +13 -0
- package/src/components/accordion/index.js +25 -0
- package/src/components/accordion/index.stories.js +82 -0
- package/src/components/accordion/index.styles.js +52 -0
- package/src/components/accordion/panel.js +41 -0
- package/src/components/avatar/index.js +41 -0
- package/src/components/avatar/index.stories.js +59 -0
- package/src/components/avatar/index.styles.js +17 -0
- package/src/components/avatar/index.test.js +10 -0
- package/src/components/avatar/theme.js +13 -0
- package/src/components/button/__snapshots__/index.test.js.snap +489 -0
- package/src/components/button/index.js +209 -0
- package/src/components/button/index.stories.js +304 -0
- package/src/components/button/index.styles.js +104 -0
- package/src/components/button/theme.js +60 -0
- package/src/components/button/utils.js +12 -0
- package/src/components/card/card-template/index.js +74 -0
- package/src/components/card/card-template/index.stories.js +110 -0
- package/src/components/card/card-template/index.style.js +25 -0
- package/src/components/card/card-template/index.test.js +85 -0
- package/src/components/card/event-card/constants.js +3 -0
- package/src/components/card/event-card/event-card-label/index.js +24 -0
- package/src/components/card/event-card/event-card-label/index.style.js +10 -0
- package/src/components/card/event-card/event-card-label/index.test.js +23 -0
- package/src/components/card/event-card/index.js +227 -0
- package/src/components/card/event-card/index.stories.js +166 -0
- package/src/components/card/event-card/index.style.js +129 -0
- package/src/components/card/event-card/index.test.js +79 -0
- package/src/components/card/index.js +16 -0
- package/src/components/card/organization-card/index.js +59 -0
- package/src/components/card/organization-card/index.stories.js +49 -0
- package/src/components/card/organization-card/index.style.js +10 -0
- package/src/components/card/organization-card/index.test.js +25 -0
- package/src/components/card/orgnizer-card/buttons.js +48 -0
- package/src/components/card/orgnizer-card/index.js +179 -0
- package/src/components/card/orgnizer-card/index.stories.js +81 -0
- package/src/components/card/orgnizer-card/index.style.js +58 -0
- package/src/components/cover/index.js +74 -0
- package/src/components/cover/index.style.js +48 -0
- package/src/components/cover/index.test.js +25 -0
- package/src/components/display/index.js +42 -0
- package/src/components/display/index.style.js +80 -0
- package/src/components/file-item/fileImgIcon.js +37 -0
- package/src/components/file-item/fileImgsFont.js +800 -0
- package/src/components/file-item/index.js +101 -0
- package/src/components/file-item/index.stories.js +71 -0
- package/src/components/file-item/index.style.js +31 -0
- package/src/components/file-item/index.test.js +106 -0
- package/src/components/file-item/theme.js +12 -0
- package/src/components/file-item/utils.js +3 -0
- package/src/components/form/captcha/index.js +86 -0
- package/src/components/form/captcha/index.stories.js +42 -0
- package/src/components/form/captcha/index.style.js +38 -0
- package/src/components/form/captcha/index.test.js +31 -0
- package/src/components/form/checkbox/checkbox-option.js +41 -0
- package/src/components/form/checkbox/checkbox.js +54 -0
- package/src/components/form/checkbox/index.js +10 -0
- package/src/components/form/checkbox/index.stories.js +121 -0
- package/src/components/form/checkbox/index.style.js +62 -0
- package/src/components/form/dropdown/index.js +10 -0
- package/src/components/form/dropdown/index.stories.js +119 -0
- package/src/components/form/dropdown/index.style.js +57 -0
- package/src/components/form/dropdown/index.test.js +20 -0
- package/src/components/form/dropdown/option.js +22 -0
- package/src/components/form/dropdown/select.js +68 -0
- package/src/components/form/errorMsg.js +21 -0
- package/src/components/form/index.js +22 -0
- package/src/components/form/radio/index.js +10 -0
- package/src/components/form/radio/index.stories.js +119 -0
- package/src/components/form/radio/index.style.js +61 -0
- package/src/components/form/radio/radio-option.js +45 -0
- package/src/components/form/radio/radio.js +56 -0
- package/src/components/form/text-input/index.js +92 -0
- package/src/components/form/text-input/index.stories.js +77 -0
- package/src/components/form/text-input/index.style.js +57 -0
- package/src/components/form/text-input/index.test.js +63 -0
- package/src/components/form/textarea/index.js +59 -0
- package/src/components/form/textarea/index.stories.js +90 -0
- package/src/components/form/textarea/index.style.js +25 -0
- package/src/components/form/theme.js +16 -0
- package/src/components/form-v7/captcha/index.js +101 -0
- package/src/components/form-v7/captcha/index.stories.js +60 -0
- package/src/components/form-v7/captcha/index.style.js +38 -0
- package/src/components/form-v7/captcha/index.test.js +31 -0
- package/src/components/form-v7/checkbox/checkbox-option.js +44 -0
- package/src/components/form-v7/checkbox/checkbox.js +70 -0
- package/src/components/form-v7/checkbox/index.js +10 -0
- package/src/components/form-v7/checkbox/index.stories.js +113 -0
- package/src/components/form-v7/checkbox/index.style.js +62 -0
- package/src/components/form-v7/dropdown/index.js +10 -0
- package/src/components/form-v7/dropdown/index.stories.js +130 -0
- package/src/components/form-v7/dropdown/index.style.js +57 -0
- package/src/components/form-v7/dropdown/index.test.js +20 -0
- package/src/components/form-v7/dropdown/option.js +18 -0
- package/src/components/form-v7/dropdown/select.js +85 -0
- package/src/components/form-v7/errorMsg.js +21 -0
- package/src/components/form-v7/file-input/index.js +73 -0
- package/src/components/form-v7/file-input/index.stories.js +73 -0
- package/src/components/form-v7/file-input/index.style.js +62 -0
- package/src/components/form-v7/file-input/index.test.js +63 -0
- package/src/components/form-v7/form/index.stories.js +276 -0
- package/src/components/form-v7/index.js +25 -0
- package/src/components/form-v7/index.style.js +11 -0
- package/src/components/form-v7/label/index.js +31 -0
- package/src/components/form-v7/label/index.style.js +12 -0
- package/src/components/form-v7/radio/index.js +10 -0
- package/src/components/form-v7/radio/index.stories.js +117 -0
- package/src/components/form-v7/radio/index.style.js +61 -0
- package/src/components/form-v7/radio/radio-option.js +45 -0
- package/src/components/form-v7/radio/radio.js +75 -0
- package/src/components/form-v7/text-input/index.js +132 -0
- package/src/components/form-v7/text-input/index.stories.js +96 -0
- package/src/components/form-v7/text-input/index.style.js +49 -0
- package/src/components/form-v7/text-input/index.test.js +63 -0
- package/src/components/form-v7/textarea/index.js +71 -0
- package/src/components/form-v7/textarea/index.stories.js +91 -0
- package/src/components/form-v7/textarea/index.style.js +25 -0
- package/src/components/form-v7/theme.js +20 -0
- package/src/components/globalStyle.js +28 -0
- package/src/components/grid/index.js +83 -0
- package/src/components/icon/iconFont.js +806 -0
- package/src/components/icon/index.js +116 -0
- package/src/components/icon/index.stories.js +45 -0
- package/src/components/icon/index.styles.js +12 -0
- package/src/components/icon/index.test.js +66 -0
- package/src/components/icon/theme.js +23 -0
- package/src/components/index.js +75 -0
- package/src/components/modal/index.js +100 -0
- package/src/components/modal/index.stories.js +86 -0
- package/src/components/modal/index.style.js +40 -0
- package/src/components/modal/theme.js +11 -0
- package/src/components/numeric-summery-report/index.js +28 -0
- package/src/components/numeric-summery-report/index.stories.js +37 -0
- package/src/components/numeric-summery-report/index.style.js +16 -0
- package/src/components/numeric-summery-report/index.test.js +22 -0
- package/src/components/product-menu/index.js +10 -0
- package/src/components/product-menu/index.stories.js +33 -0
- package/src/components/product-menu/index.style.js +38 -0
- package/src/components/product-menu/index.test.js +27 -0
- package/src/components/product-menu/menu-item.js +23 -0
- package/src/components/product-menu/menu.js +88 -0
- package/src/components/product-menu/theme.js +16 -0
- package/src/components/product-owner/index.js +85 -0
- package/src/components/product-owner/index.style.js +16 -0
- package/src/components/product-owner/index.test.js +75 -0
- package/src/components/product-properties/index.js +65 -0
- package/src/components/product-properties/index.stories.js +52 -0
- package/src/components/product-properties/index.style.js +14 -0
- package/src/components/product-properties/index.test.js +31 -0
- package/src/components/product-properties/product-property/index.js +49 -0
- package/src/components/product-properties/product-property/index.style.js +9 -0
- package/src/components/progress-bar/index.js +46 -0
- package/src/components/progress-bar/index.stories.js +33 -0
- package/src/components/progress-bar/index.styles.js +65 -0
- package/src/components/responsive/index.js +44 -0
- package/src/components/show-date/index.js +25 -0
- package/src/components/show-date/index.stories.js +51 -0
- package/src/components/show-date/index.style.js +1 -0
- package/src/components/show-date/index.test.js +24 -0
- package/src/components/spacing/core.js +106 -0
- package/src/components/spacing/index.js +10 -0
- package/src/components/spacing/margin/index.js +26 -0
- package/src/components/spacing/padding/index.js +26 -0
- package/src/components/storybook.css +54 -0
- package/src/components/table/actionCell.js +57 -0
- package/src/components/table/index.js +56 -0
- package/src/components/table/index.stories.js +188 -0
- package/src/components/table/index.style.js +107 -0
- package/src/components/table/index.test.js +119 -0
- package/src/components/table/tableHeaderRow.js +28 -0
- package/src/components/table/tableRow.js +60 -0
- package/src/components/table/theme.js +8 -0
- package/src/components/tabs/index.js +10 -0
- package/src/components/tabs/index.stories.js +61 -0
- package/src/components/tabs/index.style.js +35 -0
- package/src/components/tabs/index.test.js +30 -0
- package/src/components/tabs/tabPanel.js +17 -0
- package/src/components/tabs/tabs.js +71 -0
- package/src/components/tabs/theme.js +10 -0
- package/src/components/themes.js +97 -0
- package/src/components/titled-avatar/index.js +48 -0
- package/src/components/titled-avatar/index.stories.js +52 -0
- package/src/components/titled-avatar/index.style.js +30 -0
- package/src/components/titled-avatar/index.test.js +25 -0
- package/src/components/typography/heading/index.js +59 -0
- package/src/components/typography/heading/index.stories.js +94 -0
- package/src/components/typography/heading/index.styles.js +69 -0
- package/src/components/typography/heading/index.test.js +122 -0
- package/src/components/typography/index.js +16 -0
- package/src/components/typography/index.styles.js +1 -0
- package/src/components/typography/link/index.js +82 -0
- package/src/components/typography/link/index.stories.js +70 -0
- package/src/components/typography/link/index.styles.js +8 -0
- package/src/components/typography/link/index.test.js +60 -0
- package/src/components/typography/paragraph/index.js +37 -0
- package/src/components/typography/paragraph/index.stories.js +56 -0
- package/src/components/typography/paragraph/index.styles.js +12 -0
- package/src/components/typography/paragraph/index.test.js +47 -0
- package/src/components/typography/text/index.js +156 -0
- package/src/components/typography/text/index.stories.js +196 -0
- package/src/components/typography/text/index.styles.js +73 -0
- package/src/components/typography/text/index.test.js +333 -0
- package/src/components/typography/theme.js +66 -0
- package/src/components/typography/utils.js +53 -0
- package/src/components/typography/utils.test.js +188 -0
- package/src/components/utils/date.js +7 -0
- package/src/components/utils/date.test.js +15 -0
- package/src/components/utils/detectMobile.js +15 -0
- package/src/components/utils/index.js +7 -0
- package/src/components/utils/media-query.js +12 -0
- package/src/components/utils/numbers.js +25 -0
- package/src/components/utils/test.js +6 -0
- package/src/components/utils/theme.js +67 -0
- package/src/docs/App.css +33 -0
- package/src/docs/App.js +52 -0
- package/src/docs/assets/ads-label.svg +13 -0
- package/src/docs/assets/avatar-sample.jpeg +0 -0
- package/src/docs/assets/cover-sample.png +0 -0
- package/src/docs/assets/fonts/filesImgs.woff +0 -0
- package/src/docs/assets/fonts/icomoon.woff +0 -0
- package/src/docs/assets/fonts/iransharp_bold_web.woff +0 -0
- package/src/docs/assets/fonts/iransharp_bold_web.woff2 +0 -0
- package/src/docs/assets/fonts/iransharp_regular_web.woff +0 -0
- package/src/docs/assets/fonts/iransharp_regular_web.woff2 +0 -0
- package/src/docs/assets/fonts/wer6t7890- +0 -0
- package/src/docs/assets/logo.svg +7 -0
- package/src/docs/components/header/index.js +10 -0
- package/src/docs/components/header/index.styles.js +10 -0
- package/src/docs/components/side-navigation/index.js +167 -0
- package/src/docs/components/side-navigation/index.styles.js +46 -0
- package/src/docs/containers/avatar/index.js +92 -0
- package/src/docs/containers/button/index.js +295 -0
- package/src/docs/containers/card/index.js +153 -0
- package/src/docs/containers/cover/index.js +77 -0
- package/src/docs/containers/form/index.js +41 -0
- package/src/docs/containers/home/index.js +41 -0
- package/src/docs/containers/icon/index.js +56 -0
- package/src/docs/containers/icons/index.js +1488 -0
- package/src/docs/containers/product/index.js +123 -0
- package/src/docs/containers/typography/index.js +138 -0
- package/src/docs/globalStyle.js +58 -0
- package/src/index.css +3 -0
- package/src/index.js +18 -0
- package/src/playground/index.js +144 -0
- package/src/playground.css +26 -0
- package/src/serviceWorker.js +135 -0
- package/src/setupTests.js +24 -0
- package/src/stories/Page.jsx +67 -0
- package/src/storybook.css +58 -0
- package/src/styles.css +3 -0
- package/src/test-utils.js +21 -0
- package/storybook.log +113 -0
- package/tailwind.config.js +26 -0
- package/update-stories.js +41 -0
- package/accordion/index.js +0 -25
- package/accordion/index.styles.js +0 -10
- package/accordion/panel.js +0 -41
- package/avatar/index.js +0 -41
- package/avatar/index.styles.js +0 -17
- package/avatar/theme.js +0 -13
- package/button/index.js +0 -116
- package/button/index.styles.js +0 -101
- package/button/theme.js +0 -34
- package/button/utils.js +0 -12
- package/card/card-template/index.js +0 -74
- package/card/card-template/index.stories.js +0 -70
- package/card/card-template/index.style.js +0 -25
- package/card/card-template/index.test.js +0 -85
- package/card/event-card/constants.js +0 -3
- package/card/event-card/event-card-label/index.js +0 -24
- package/card/event-card/event-card-label/index.style.js +0 -10
- package/card/event-card/event-card-label/index.test.js +0 -23
- package/card/event-card/index.js +0 -227
- package/card/event-card/index.stories.js +0 -155
- package/card/event-card/index.style.js +0 -119
- package/card/event-card/index.test.js +0 -79
- package/card/index.js +0 -16
- package/card/organization-card/index.js +0 -59
- package/card/organization-card/index.stories.js +0 -19
- package/card/organization-card/index.style.js +0 -10
- package/card/organization-card/index.test.js +0 -25
- package/card/orgnizer-card/buttons.js +0 -48
- package/card/orgnizer-card/index.js +0 -179
- package/card/orgnizer-card/index.stories.js +0 -25
- package/card/orgnizer-card/index.style.js +0 -47
- package/cover/index.js +0 -74
- package/cover/index.style.js +0 -41
- package/display/index.js +0 -42
- package/display/index.style.js +0 -78
- package/file-item/fileImgIcon.js +0 -37
- package/file-item/fileImgsFont.js +0 -800
- package/file-item/index.js +0 -101
- package/file-item/index.style.js +0 -30
- package/file-item/theme.js +0 -12
- package/file-item/utils.js +0 -3
- package/form/captcha/index.js +0 -86
- package/form/captcha/index.stories.js +0 -23
- package/form/captcha/index.style.js +0 -36
- package/form/captcha/index.test.js +0 -31
- package/form/checkbox/checkbox-option.js +0 -41
- package/form/checkbox/checkbox.js +0 -54
- package/form/checkbox/index.js +0 -10
- package/form/checkbox/index.stories.js +0 -56
- package/form/checkbox/index.style.js +0 -40
- package/form/dropdown/index.js +0 -10
- package/form/dropdown/index.stories.js +0 -62
- package/form/dropdown/index.style.js +0 -55
- package/form/dropdown/index.test.js +0 -20
- package/form/dropdown/option.js +0 -22
- package/form/dropdown/select.js +0 -68
- package/form/errorMsg.js +0 -21
- package/form/index.js +0 -22
- package/form/radio/index.js +0 -10
- package/form/radio/index.stories.js +0 -56
- package/form/radio/index.style.js +0 -52
- package/form/radio/radio-option.js +0 -45
- package/form/radio/radio.js +0 -56
- package/form/text-input/index.js +0 -92
- package/form/text-input/index.stories.js +0 -26
- package/form/text-input/index.style.js +0 -55
- package/form/text-input/index.test.js +0 -63
- package/form/textarea/index.js +0 -59
- package/form/textarea/index.stories.js +0 -31
- package/form/textarea/index.style.js +0 -25
- package/form/theme.js +0 -16
- package/form-v7/captcha/index.js +0 -101
- package/form-v7/captcha/index.stories.js +0 -30
- package/form-v7/captcha/index.style.js +0 -36
- package/form-v7/captcha/index.test.js +0 -31
- package/form-v7/checkbox/checkbox-option.js +0 -42
- package/form-v7/checkbox/checkbox.js +0 -68
- package/form-v7/checkbox/index.js +0 -10
- package/form-v7/checkbox/index.stories.js +0 -80
- package/form-v7/checkbox/index.style.js +0 -40
- package/form-v7/dropdown/index.js +0 -10
- package/form-v7/dropdown/index.stories.js +0 -121
- package/form-v7/dropdown/index.style.js +0 -55
- package/form-v7/dropdown/index.test.js +0 -20
- package/form-v7/dropdown/option.js +0 -18
- package/form-v7/dropdown/select.js +0 -84
- package/form-v7/errorMsg.js +0 -21
- package/form-v7/file-input/index.js +0 -73
- package/form-v7/file-input/index.stories.js +0 -32
- package/form-v7/file-input/index.style.js +0 -54
- package/form-v7/file-input/index.test.js +0 -63
- package/form-v7/form/index.stories.js +0 -173
- package/form-v7/index.js +0 -25
- package/form-v7/index.style.js +0 -3
- package/form-v7/label/index.js +0 -31
- package/form-v7/label/index.style.js +0 -12
- package/form-v7/radio/index.js +0 -10
- package/form-v7/radio/index.stories.js +0 -82
- package/form-v7/radio/index.style.js +0 -52
- package/form-v7/radio/radio-option.js +0 -43
- package/form-v7/radio/radio.js +0 -73
- package/form-v7/text-input/index.js +0 -131
- package/form-v7/text-input/index.stories.js +0 -77
- package/form-v7/text-input/index.style.js +0 -41
- package/form-v7/text-input/index.test.js +0 -63
- package/form-v7/textarea/index.js +0 -70
- package/form-v7/textarea/index.stories.js +0 -45
- package/form-v7/textarea/index.style.js +0 -25
- package/form-v7/theme.js +0 -20
- package/globalStyle.js +0 -28
- package/icon/iconFont.js +0 -796
- package/icon/index.js +0 -52
- package/icon/index.styles.js +0 -12
- package/icon/theme.js +0 -23
- package/icons/index.js +0 -29
- package/icons/index.style.js +0 -30
- package/icons/theme.js +0 -12
- package/icons/utils.js +0 -672
- package/index.js +0 -75
- package/modal/index.js +0 -100
- package/modal/index.style.js +0 -40
- package/modal/theme.js +0 -11
- package/numeric-summery-report/index.js +0 -28
- package/numeric-summery-report/index.style.js +0 -11
- package/product-menu/index.js +0 -10
- package/product-menu/index.style.js +0 -37
- package/product-menu/menu-item.js +0 -23
- package/product-menu/menu.js +0 -88
- package/product-menu/theme.js +0 -12
- package/product-owner/index.js +0 -85
- package/product-owner/index.style.js +0 -10
- package/product-properties/index.js +0 -65
- package/product-properties/index.style.js +0 -11
- package/product-properties/product-property/index.js +0 -49
- package/product-properties/product-property/index.style.js +0 -9
- package/progress-bar/index.js +0 -46
- package/progress-bar/index.styles.js +0 -63
- package/responsive/index.js +0 -44
- package/show-date/index.js +0 -25
- package/spacing/core.js +0 -70
- package/spacing/index.js +0 -10
- package/spacing/margin/index.js +0 -26
- package/spacing/padding/index.js +0 -26
- package/table/actionCell.js +0 -57
- package/table/index.js +0 -56
- package/table/index.style.js +0 -106
- package/table/tableHeaderRow.js +0 -28
- package/table/tableRow.js +0 -60
- package/table/theme.js +0 -8
- package/tabs/index.js +0 -10
- package/tabs/index.style.js +0 -32
- package/tabs/tabPanel.js +0 -17
- package/tabs/tabs.js +0 -71
- package/tabs/theme.js +0 -10
- package/themes.js +0 -97
- package/titled-avatar/index.js +0 -48
- package/titled-avatar/index.style.js +0 -25
- package/typography/heading/index.js +0 -59
- package/typography/heading/index.stories.js +0 -41
- package/typography/heading/index.styles.js +0 -67
- package/typography/heading/index.test.js +0 -122
- package/typography/index.js +0 -16
- package/typography/link/index.js +0 -82
- package/typography/link/index.stories.js +0 -12
- package/typography/link/index.styles.js +0 -8
- package/typography/link/index.test.js +0 -60
- package/typography/paragraph/index.js +0 -37
- package/typography/paragraph/index.stories.js +0 -27
- package/typography/paragraph/index.styles.js +0 -12
- package/typography/paragraph/index.test.js +0 -47
- package/typography/text/index.js +0 -156
- package/typography/text/index.stories.js +0 -26
- package/typography/text/index.styles.js +0 -72
- package/typography/text/index.test.js +0 -333
- package/typography/theme.js +0 -66
- package/typography/utils.js +0 -53
- package/utils/date.js +0 -7
- package/utils/detectMobile.js +0 -15
- package/utils/index.js +0 -7
- package/utils/media-query.js +0 -12
- package/utils/numbers.js +0 -25
- package/utils/test.js +0 -6
- package/utils/theme.js +0 -67
- /package/{show-date → dist/components/show-date}/index.style.js +0 -0
- /package/{typography → dist/components/typography}/index.styles.js +0 -0
|
@@ -0,0 +1,329 @@
|
|
|
1
|
+
🔎 checking possible migrations..
|
|
2
|
+
|
|
3
|
+
🔎 found a 'missingStorybookDependencies' migration:
|
|
4
|
+
╭ Automigration detected ───────────────────────────────────────────────────────────────────────────────────────╮
|
|
5
|
+
│ │
|
|
6
|
+
│ Found the following Storybook packages used in your project, but they are missing from your project │
|
|
7
|
+
│ dependencies: │
|
|
8
|
+
│ - @storybook/theming: (1 file) │
|
|
9
|
+
│ │
|
|
10
|
+
│ Referencing missing packages can cause your project to crash. We can automatically add them to your │
|
|
11
|
+
│ dependencies. │
|
|
12
|
+
│ │
|
|
13
|
+
│ More info: │
|
|
14
|
+
│ https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#failed-to-resolve-import-storybookx-error │
|
|
15
|
+
│ │
|
|
16
|
+
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
|
|
17
|
+
? Do you want to run the 'missingStorybookDependencies' migration on your project? › (Y/n)✔ Do you want to run the 'missingStorybookDependencies' migration on your project? … yes
|
|
18
|
+
✅ Installing the following packages as devDependencies: @storybook/theming
|
|
19
|
+
✅ ran missingStorybookDependencies migration
|
|
20
|
+
|
|
21
|
+
🔎 found a 'new-frameworks' migration:
|
|
22
|
+
╭ Automigration detected ────────────────────────────────────────────────────────────────────────────────────────╮
|
|
23
|
+
│ │
|
|
24
|
+
│ We've detected your project is not fully setup with the new framework format, which was introduced in │
|
|
25
|
+
│ Storybook 7. │
|
|
26
|
+
│ │
|
|
27
|
+
│ Storybook 7 introduced the concept of frameworks, which abstracts configuration for renderers (e.g. React, │
|
|
28
|
+
│ Vue), builders (e.g. Webpack, Vite) and defaults to make integrations easier. │
|
|
29
|
+
│ │
|
|
30
|
+
│ Your project should be updated to use Storybook's framework: @storybook/react-webpack5. We can attempt to │
|
|
31
|
+
│ do this for you automatically. │
|
|
32
|
+
│ │
|
|
33
|
+
│ Here are the steps this migration will do to migrate your project: │
|
|
34
|
+
│ - Remove the following dependencies: │
|
|
35
|
+
│ - * @storybook/builder-webpack4 │
|
|
36
|
+
│ - * @storybook/manager-webpack4 │
|
|
37
|
+
│ - Add the following dependencies: │
|
|
38
|
+
│ - * @storybook/react-webpack5 │
|
|
39
|
+
│ │
|
|
40
|
+
│ │
|
|
41
|
+
│ To learn more about the new framework format, see: │
|
|
42
|
+
│ https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#new-framework-api │
|
|
43
|
+
│ │
|
|
44
|
+
│ Webpack 4 users │
|
|
45
|
+
│ │
|
|
46
|
+
│ Unless you're using Storybook's Vite builder, this automigration will install a Webpack 5 based framework. │
|
|
47
|
+
│ │
|
|
48
|
+
│ Given you were using Storybook's Webpack 4 builder (default in 6.x, discontinued in 7.0), this could be a │
|
|
49
|
+
│ breaking change -- especially if your project has a custom webpack configuration. │
|
|
50
|
+
│ │
|
|
51
|
+
│ To learn more about migrating from Webpack4, see: │
|
|
52
|
+
│ https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#webpack4-support-discontinued │
|
|
53
|
+
│ │
|
|
54
|
+
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
|
|
55
|
+
? Do you want to run the 'new-frameworks' migration on your project? › (Y/n)✔ Do you want to run the 'new-frameworks' migration on your project? … yes
|
|
56
|
+
✅ Removing dependencies: @storybook/builder-webpack4, @storybook/manager-webpack4
|
|
57
|
+
✅ Installing new dependencies: @storybook/react-webpack5
|
|
58
|
+
|
|
59
|
+
An error occurred while installing dependencies:
|
|
60
|
+
NPM error ETARGET - Package target not found.
|
|
61
|
+
|
|
62
|
+
Please check the logfile generated at ./storybook.log for troubleshooting and try again.
|
|
63
|
+
❌ error when running new-frameworks migration
|
|
64
|
+
HandledError: Error: NPM error ETARGET - Package target not found.
|
|
65
|
+
|
|
66
|
+
Please check the logfile generated at ./storybook.log for troubleshooting and try again.
|
|
67
|
+
at er.addDependencies (/opt/homebrew/lib/node_modules/@storybook/cli/node_modules/@storybook/core/dist/common/index.cjs:19086:72)
|
|
68
|
+
at async Object.run (/opt/homebrew/lib/node_modules/@storybook/cli/dist/bin/index.cjs:401:771)
|
|
69
|
+
... 3 lines matching cause stack trace ...
|
|
70
|
+
at async Command.<anonymous> (/opt/homebrew/lib/node_modules/@storybook/cli/dist/bin/index.cjs:665:2892) {
|
|
71
|
+
handled: true,
|
|
72
|
+
cause: Error: NPM error ETARGET - Package target not found.
|
|
73
|
+
|
|
74
|
+
Please check the logfile generated at ./storybook.log for troubleshooting and try again.
|
|
75
|
+
at er.runAddDeps (/opt/homebrew/lib/node_modules/@storybook/cli/node_modules/@storybook/core/dist/common/index.cjs:19614:24)
|
|
76
|
+
at async er.addDependencies (/opt/homebrew/lib/node_modules/@storybook/cli/node_modules/@storybook/core/dist/common/index.cjs:19083:9)
|
|
77
|
+
at async Object.run (/opt/homebrew/lib/node_modules/@storybook/cli/dist/bin/index.cjs:401:771)
|
|
78
|
+
at async runFixes (/opt/homebrew/lib/node_modules/@storybook/cli/dist/bin/index.cjs:597:1801)
|
|
79
|
+
at async automigrate (/opt/homebrew/lib/node_modules/@storybook/cli/dist/bin/index.cjs:595:1807)
|
|
80
|
+
at async doAutomigrate (/opt/homebrew/lib/node_modules/@storybook/cli/dist/bin/index.cjs:595:453)
|
|
81
|
+
at async Command.<anonymous> (/opt/homebrew/lib/node_modules/@storybook/cli/dist/bin/index.cjs:665:2892)
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
🔎 found a 'cra5' migration:
|
|
86
|
+
╭ Automigration detected ────────────────────────────────────────────────────────────────────────────────────╮
|
|
87
|
+
│ │
|
|
88
|
+
│ We've detected you are running Create React App (CRA) 5.0.1 which is powered by webpack5. │
|
|
89
|
+
│ Your Storybook's main.js files specifies webpack4, which is incompatible. │
|
|
90
|
+
│ │
|
|
91
|
+
│ In order to work with your version of CRA, we need to install Storybook's @storybook/builder-webpack5. │
|
|
92
|
+
│ │
|
|
93
|
+
│ More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#cra5-upgrade │
|
|
94
|
+
│ │
|
|
95
|
+
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
|
|
96
|
+
? Do you want to run the 'cra5' migration on your project? › (Y/n)✔ Do you want to run the 'cra5' migration on your project? … yes
|
|
97
|
+
✅ Adding dependencies: @storybook/builder-webpack5@6.5.16,webpack@5
|
|
98
|
+
✅ Setting `core.builder` to `@storybook/builder-webpack5` in main.js
|
|
99
|
+
✅ ran cra5 migration
|
|
100
|
+
|
|
101
|
+
🔎 found a 'webpack5' migration:
|
|
102
|
+
╭ Automigration detected ────────────────────────────────────────────────────────────────────────────────╮
|
|
103
|
+
│ │
|
|
104
|
+
│ We've detected you're running webpack 5.98.0. │
|
|
105
|
+
│ Your Storybook's main.js files specifies webpack4, which is incompatible. │
|
|
106
|
+
│ │
|
|
107
|
+
│ To run Storybook in webpack5-mode, we can install Storybook's @storybook/builder-webpack5 for you. │
|
|
108
|
+
│ │
|
|
109
|
+
│ More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#webpack-5-manager-build │
|
|
110
|
+
│ │
|
|
111
|
+
╰────────────────────────────────────────────────────────────────────────────────────────────────────────╯
|
|
112
|
+
? Do you want to run the 'webpack5' migration on your project? › (Y/n)✔ Do you want to run the 'webpack5' migration on your project? … yes
|
|
113
|
+
✅ Adding dependencies: @storybook/builder-webpack5@6.5.16
|
|
114
|
+
✅ Setting `core.builder` to `@storybook/builder-webpack5` in main.js
|
|
115
|
+
✅ ran webpack5 migration
|
|
116
|
+
Unable to find .eslintrc config file, skipping
|
|
117
|
+
|
|
118
|
+
🔎 found a 'remove-argtypes-regex' migration:
|
|
119
|
+
╭ Manual migration detected ───────────────────────────────────────────────────────────────────╮
|
|
120
|
+
│ │
|
|
121
|
+
│ Attention: We've detected that you're using argTypesRegex: │
|
|
122
|
+
│ │
|
|
123
|
+
│ .storybook/preview.js │
|
|
124
|
+
│ 6 | │
|
|
125
|
+
│ 7 | export const parameters = { │
|
|
126
|
+
│ > 8 | actions: { argTypesRegex: "^on[A-Z].*" }, │
|
|
127
|
+
│ | ^^^^^^^^^^^^^ │
|
|
128
|
+
│ 9 | controls: { │
|
|
129
|
+
│ 10 | matchers: { │
|
|
130
|
+
│ 11 | color: /(background|color)$/i, │
|
|
131
|
+
│ │
|
|
132
|
+
│ Storybook's play functions let you render your stories interactively. │
|
|
133
|
+
│ │
|
|
134
|
+
│ In the past, play functions mocked action args implicitly by analyzing the argTypesRegex │
|
|
135
|
+
│ in your preview.js|ts file. │
|
|
136
|
+
│ │
|
|
137
|
+
│ However, Storybook 8 changes this behavior, and we now recommend using the │
|
|
138
|
+
│ (fn) function to mock your component's methods instead. │
|
|
139
|
+
│ │
|
|
140
|
+
│ Use the following command to check for implied mocked actions in your play functions: │
|
|
141
|
+
│ npx storybook migrate find-implicit-spies --glob="**/*.stories.@(js|jsx|ts|tsx)" │
|
|
142
|
+
│ │
|
|
143
|
+
│ Then, refer to our docs to migrate your play functions to Storybook 8: │
|
|
144
|
+
│ https://storybook.js.org/docs/essentials/actions#via-storybooktest-fn-spy-function │
|
|
145
|
+
│ │
|
|
146
|
+
╰──────────────────────────────────────────────────────────────────────────────────────────────╯
|
|
147
|
+
|
|
148
|
+
? Select continue once you have made the required changes, or quit to exit the migration process › quit / continue✔ Select continue once you have made the required changes, or quit to exit the migration process … quit / continue
|
|
149
|
+
|
|
150
|
+
🔎 found a 'removedglobalclientapis' migration:
|
|
151
|
+
╭ Manual migration detected ─────────────────────────────────────────────────────────────────────╮
|
|
152
|
+
│ │
|
|
153
|
+
│ Attention: We could not automatically make this change. You'll need to do it manually. │
|
|
154
|
+
│ │
|
|
155
|
+
│ The following APIs (used in ".storybook/preview.js") have been removed from Storybook: │
|
|
156
|
+
│ │
|
|
157
|
+
│ - addDecorator │
|
|
158
|
+
│ │
|
|
159
|
+
│ Please see the migration guide for more information: │
|
|
160
|
+
│ https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#removed-global-client-apis │
|
|
161
|
+
│ │
|
|
162
|
+
╰────────────────────────────────────────────────────────────────────────────────────────────────╯
|
|
163
|
+
|
|
164
|
+
? Select continue once you have made the required changes, or quit to exit the migration process › quit / continue✔ Select continue once you have made the required changes, or quit to exit the migration process … quit / continue
|
|
165
|
+
|
|
166
|
+
🔎 found a 'github-flavored-markdown-mdx' migration:
|
|
167
|
+
╭ Automigration detected ────────────────────────────────────────────────────────────────────────────────────────╮
|
|
168
|
+
│ │
|
|
169
|
+
│ In MDX1 you had the option of using GitHub flavored markdown. │
|
|
170
|
+
│ │
|
|
171
|
+
│ Storybook >= 8.0 uses MDX3 for compiling MDX, and thus no longer supports GFM out of the box. │
|
|
172
|
+
│ Because of this you need to explicitly add the GFM plugin in the addon-docs options: │
|
|
173
|
+
│ https://storybook.js.org/docs/writing-docs/mdx#markdown-tables-arent-rendering-correctly │
|
|
174
|
+
│ │
|
|
175
|
+
│ We recommend that you follow the guide in the link above; however, we can add a temporary Storybook addon │
|
|
176
|
+
│ to help make this migration easier. │
|
|
177
|
+
│ We'll install the addon and add it to your storybook config. │
|
|
178
|
+
│ │
|
|
179
|
+
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
|
|
180
|
+
? Do you want to run the 'github-flavored-markdown-mdx' migration on your project? › (Y/n)✔ Do you want to run the 'github-flavored-markdown-mdx' migration on your project? … yes
|
|
181
|
+
|
|
182
|
+
An error occurred while installing dependencies:
|
|
183
|
+
NPM error ETARGET - Package target not found.
|
|
184
|
+
|
|
185
|
+
Please check the logfile generated at ./storybook.log for troubleshooting and try again.
|
|
186
|
+
❌ error when running github-flavored-markdown-mdx migration
|
|
187
|
+
HandledError: Error: NPM error ETARGET - Package target not found.
|
|
188
|
+
|
|
189
|
+
Please check the logfile generated at ./storybook.log for troubleshooting and try again.
|
|
190
|
+
at er.addDependencies (/opt/homebrew/lib/node_modules/@storybook/cli/node_modules/@storybook/core/dist/common/index.cjs:19086:72)
|
|
191
|
+
at async Object.run (/opt/homebrew/lib/node_modules/@storybook/cli/dist/bin/index.cjs:303:247)
|
|
192
|
+
... 3 lines matching cause stack trace ...
|
|
193
|
+
at async Command.<anonymous> (/opt/homebrew/lib/node_modules/@storybook/cli/dist/bin/index.cjs:665:2892) {
|
|
194
|
+
handled: true,
|
|
195
|
+
cause: Error: NPM error ETARGET - Package target not found.
|
|
196
|
+
|
|
197
|
+
Please check the logfile generated at ./storybook.log for troubleshooting and try again.
|
|
198
|
+
at er.runAddDeps (/opt/homebrew/lib/node_modules/@storybook/cli/node_modules/@storybook/core/dist/common/index.cjs:19614:24)
|
|
199
|
+
at async er.addDependencies (/opt/homebrew/lib/node_modules/@storybook/cli/node_modules/@storybook/core/dist/common/index.cjs:19083:9)
|
|
200
|
+
at async Object.run (/opt/homebrew/lib/node_modules/@storybook/cli/dist/bin/index.cjs:303:247)
|
|
201
|
+
at async runFixes (/opt/homebrew/lib/node_modules/@storybook/cli/dist/bin/index.cjs:597:1801)
|
|
202
|
+
at async automigrate (/opt/homebrew/lib/node_modules/@storybook/cli/dist/bin/index.cjs:595:1807)
|
|
203
|
+
at async doAutomigrate (/opt/homebrew/lib/node_modules/@storybook/cli/dist/bin/index.cjs:595:453)
|
|
204
|
+
at async Command.<anonymous> (/opt/homebrew/lib/node_modules/@storybook/cli/dist/bin/index.cjs:665:2892)
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
🔎 found a 'mdx-to-csf' migration:
|
|
209
|
+
╭ Automigration detected ────────────────────────────────────────────────────────────────────────────────────────╮
|
|
210
|
+
│ │
|
|
211
|
+
│ We've detected your project has one or more globs in your 'stories' config that matches .stories.mdx │
|
|
212
|
+
│ files: │
|
|
213
|
+
│ "../src/**/*.stories.mdx" │
|
|
214
|
+
│ "../src/**/*.stories.@(js|jsx|ts|tsx)" │
|
|
215
|
+
│ │
|
|
216
|
+
│ In Storybook 7, we have deprecated defining stories in MDX files, and consequently have changed the suffix │
|
|
217
|
+
│ to simply .mdx. Since Storybook 8, we have removed the support of story definition in MDX files entirely. │
|
|
218
|
+
│ Therefore '.stories.mdx' files aren't supported anymore. │
|
|
219
|
+
│ │
|
|
220
|
+
│ Now, since Storybook 8.0, we have removed support for .stories.mdx files. │
|
|
221
|
+
│ │
|
|
222
|
+
│ We can automatically migrate your 'stories' config to include any .mdx file instead of just .stories.mdx. │
|
|
223
|
+
│ That would result in the following 'stories' config: │
|
|
224
|
+
│ "../src/**/*.mdx" │
|
|
225
|
+
│ "../src/**/*.stories.@(js|jsx|ts|tsx)" │
|
|
226
|
+
│ │
|
|
227
|
+
│ Additionally, we will run the 'mdx-to-csf' codemod for you, which tries to transform '*.stories.mdx' files │
|
|
228
|
+
│ to '*.stories.js' and '*.mdx' files. │
|
|
229
|
+
│ │
|
|
230
|
+
│ To learn more about this change, see: https://storybook.js.org/docs/migration-guide#storiesmdx-to-mdxcsf │
|
|
231
|
+
│ │
|
|
232
|
+
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
|
|
233
|
+
? Do you want to run the 'mdx-to-csf' migration on your project? › (Y/n)✔ Do you want to run the 'mdx-to-csf' migration on your project? … yes
|
|
234
|
+
✅ Setting 'stories' config:
|
|
235
|
+
[
|
|
236
|
+
"../src/**/*.mdx",
|
|
237
|
+
"../src/**/*.stories.@(js|jsx|ts|tsx)"
|
|
238
|
+
]
|
|
239
|
+
? Please enter the glob for your MDX stories › ./src/**/*.stories.mdx✔ Please enter the glob for your MDX stories … ./src/**/*.stories.mdx
|
|
240
|
+
=> Applying mdx-to-csf: 1 files
|
|
241
|
+
The migration successfully updated your 'stories' config to include any .mdx file instead of just .stories.mdx.
|
|
242
|
+
|
|
243
|
+
It also ran the 'mdx-to-csf' codemod to convert your MDX stories to CSF format.
|
|
244
|
+
This codemod is not perfect however, so you may need to manually fix any issues it couldn't handle.
|
|
245
|
+
✅ ran mdx-to-csf migration
|
|
246
|
+
|
|
247
|
+
🔎 found a 'autodocsTrue' migration:
|
|
248
|
+
╭ Automigration detected ────────────────────────────────────────────────────────────────────────────╮
|
|
249
|
+
│ │
|
|
250
|
+
│ We've changed the configuration of autodocs (previous docsPage), so now the value: │
|
|
251
|
+
│ - docs.autodocs: true -- means automatically create docs for every CSF file │
|
|
252
|
+
│ - docs.autodocs: 'tag' -- means only create autodocs for CSF files with the 'autodocs' tag │
|
|
253
|
+
│ - docs.autodocs: false -- means never create autodocs │
|
|
254
|
+
│ │
|
|
255
|
+
│ Based on your prior configuration, we can set the `docs.autodocs` to keep your old behaviour: │
|
|
256
|
+
│ │
|
|
257
|
+
│ docs: { autodocs: true } │
|
|
258
|
+
│ │
|
|
259
|
+
│ More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#autodocs-changes │
|
|
260
|
+
│ │
|
|
261
|
+
╰────────────────────────────────────────────────────────────────────────────────────────────────────╯
|
|
262
|
+
? Do you want to run the 'autodocsTrue' migration on your project? › (Y/n)✔ Do you want to run the 'autodocsTrue' migration on your project? … yes
|
|
263
|
+
✅ Setting 'docs.autodocs' to true in main.js
|
|
264
|
+
✅ ran autodocsTrue migration
|
|
265
|
+
|
|
266
|
+
🔎 found a 'storyshots' migration:
|
|
267
|
+
╭ Manual migration detected ─────────────────────────────────────────────────────────────────────────────────────╮
|
|
268
|
+
│ │
|
|
269
|
+
│ Attention: Storyshots is now officially deprecated, is no longer being maintained, and was removed in │
|
|
270
|
+
│ Storybook 8. │
|
|
271
|
+
│ │
|
|
272
|
+
│ We recommend following the migration guide we've prepared to help you during this transition period: │
|
|
273
|
+
│ https://storybook.js.org/docs/writing-tests/storyshots-migration-guide │
|
|
274
|
+
│ │
|
|
275
|
+
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
|
|
276
|
+
|
|
277
|
+
? Select continue once you have made the required changes, or quit to exit the migration process › quit / continue✔ Select continue once you have made the required changes, or quit to exit the migration process … quit / continue
|
|
278
|
+
|
|
279
|
+
🔎 found a 'visual-tests-addon' migration:
|
|
280
|
+
╭ Automigration detected ────────────────────────────────────────────────────────────────────────────────────────╮
|
|
281
|
+
│ │
|
|
282
|
+
│ New to Storybook 8: Storybook's Visual Tests addon helps you catch unintentional changes/bugs in your │
|
|
283
|
+
│ stories. The addon is powered by Chromatic, a cloud-based testing tool developed by Storybook's core team. │
|
|
284
|
+
│ │
|
|
285
|
+
│ Learn more: https://storybook.js.org/docs/writing-tests/visual-testing │
|
|
286
|
+
│ │
|
|
287
|
+
│ Install Visual Tests addon in your project? │
|
|
288
|
+
│ │
|
|
289
|
+
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
|
|
290
|
+
? Do you want to run the 'visual-tests-addon' migration on your project? › (Y/n)✔ Do you want to run the 'visual-tests-addon' migration on your project? … yes
|
|
291
|
+
✅ Adding "@chromatic-com/storybook" addon
|
|
292
|
+
✅ ran visual-tests-addon migration
|
|
293
|
+
|
|
294
|
+
╭ Migration check ran with failures ─────────────────────────────────────────────────────────────────────────────╮
|
|
295
|
+
│ │
|
|
296
|
+
│ Successful migrations: │
|
|
297
|
+
│ │
|
|
298
|
+
│ missingStorybookDependencies, cra5, webpack5, mdx-to-csf, autodocsTrue, visual-tests-addon │
|
|
299
|
+
│ │
|
|
300
|
+
│ Failed migrations: │
|
|
301
|
+
│ │
|
|
302
|
+
│ new-frameworks: │
|
|
303
|
+
│ Error: NPM error ETARGET - Package target not found. │
|
|
304
|
+
│ │
|
|
305
|
+
│ Please check the logfile generated at ./storybook.log for troubleshooting and try again. │
|
|
306
|
+
│ github-flavored-markdown-mdx: │
|
|
307
|
+
│ Error: NPM error ETARGET - Package target not found. │
|
|
308
|
+
│ │
|
|
309
|
+
│ Please check the logfile generated at ./storybook.log for troubleshooting and try again. │
|
|
310
|
+
│ │
|
|
311
|
+
│ You can find the full logs in /Users/mehran-ev/Projects/react-jupiter/migration-storybook.log │
|
|
312
|
+
│ │
|
|
313
|
+
│ Manual migrations: │
|
|
314
|
+
│ │
|
|
315
|
+
│ remove-argtypes-regex, removedglobalclientapis, storyshots │
|
|
316
|
+
│ │
|
|
317
|
+
│ ───────────────────────────────────────────────── │
|
|
318
|
+
│ │
|
|
319
|
+
│ If you'd like to run the migrations again, you can do so by running 'npx storybook automigrate' │
|
|
320
|
+
│ │
|
|
321
|
+
│ The automigrations try to migrate common patterns in your project, but might not contain everything needed │
|
|
322
|
+
│ to migrate to the latest version of Storybook. │
|
|
323
|
+
│ │
|
|
324
|
+
│ Please check the changelog and migration guide for manual migrations and more information: │
|
|
325
|
+
│ https://storybook.js.org/docs/migration-guide │
|
|
326
|
+
│ And reach out on Discord if you need help: https://discord.gg/storybook │
|
|
327
|
+
│ │
|
|
328
|
+
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
|
|
329
|
+
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-jupiter",
|
|
3
|
-
"version": "
|
|
4
|
-
"main": "index.js",
|
|
3
|
+
"version": "6.0.0-beta.2",
|
|
4
|
+
"main": "dist/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"evand",
|
|
@@ -25,25 +25,145 @@
|
|
|
25
25
|
"bugs": {
|
|
26
26
|
"url": "https://github.com/evandhq/react-jupiter/issues"
|
|
27
27
|
},
|
|
28
|
-
"scripts": {
|
|
29
|
-
},
|
|
30
28
|
"dependencies": {
|
|
29
|
+
"@heroicons/react": "^2.2.0",
|
|
30
|
+
"@mdx-js/react": "^2.1.5",
|
|
31
|
+
"babel-plugin-macros": "^2.8.0",
|
|
32
|
+
"babel-preset-react-app": "^9.1.2",
|
|
33
|
+
"marked": "^15.0.7",
|
|
31
34
|
"moment-jalaali": "^0.9.4",
|
|
32
35
|
"prop-types": "^15.8.0",
|
|
33
|
-
"react": "18.
|
|
34
|
-
"react-dom": "18.
|
|
36
|
+
"react": "^18.3.1",
|
|
37
|
+
"react-dom": "^18.3.1",
|
|
35
38
|
"react-hook-form": "^7.38.0",
|
|
36
39
|
"react-lazy-load-image-component": "^1.5.1",
|
|
37
40
|
"react-modal": "3.16.1",
|
|
38
41
|
"react-responsive": "^8.2.0",
|
|
39
42
|
"react-router-dom": "^5.3.0",
|
|
40
|
-
"react-
|
|
43
|
+
"react-scripts": "^5.0.1",
|
|
41
44
|
"styled-components": "^5.3.11",
|
|
42
|
-
"styled-
|
|
43
|
-
"
|
|
45
|
+
"styled-media-query": "^2.1.2",
|
|
46
|
+
"tailwind-merge": "^3.2.0",
|
|
47
|
+
"webpack-dev-middleware": "^7.4.2"
|
|
48
|
+
},
|
|
49
|
+
"scripts": {
|
|
50
|
+
"start": "react-scripts start",
|
|
51
|
+
"build": "react-scripts build",
|
|
52
|
+
"test": "react-scripts test",
|
|
53
|
+
"eject": "react-scripts eject",
|
|
54
|
+
"build:lib": "babel src --out-dir dist --copy-files",
|
|
55
|
+
"storybook": "storybook dev -p 6006",
|
|
56
|
+
"build-storybook": "storybook build",
|
|
57
|
+
"lint": "./node_modules/.bin/eslint ./src",
|
|
58
|
+
"lint:fix": "./node_modules/.bin/eslint ./src --fix",
|
|
59
|
+
"version": "auto-changelog -p && git add CHANGELOG.md"
|
|
60
|
+
},
|
|
61
|
+
"husky": {
|
|
62
|
+
"hooks": {}
|
|
63
|
+
},
|
|
64
|
+
"browserslist": {
|
|
65
|
+
"production": [
|
|
66
|
+
">0.2%",
|
|
67
|
+
"not dead",
|
|
68
|
+
"not op_mini all"
|
|
69
|
+
],
|
|
70
|
+
"development": [
|
|
71
|
+
"last 1 chrome version",
|
|
72
|
+
"last 1 firefox version",
|
|
73
|
+
"last 1 safari version"
|
|
74
|
+
]
|
|
75
|
+
},
|
|
76
|
+
"devDependencies": {
|
|
77
|
+
"@babel/cli": "^7.16.7",
|
|
78
|
+
"@babel/core": "^7.16.7",
|
|
79
|
+
"@babel/plugin-proposal-class-properties": "^7.16.7",
|
|
80
|
+
"@babel/preset-flow": "^7.16.7",
|
|
81
|
+
"@storybook/addon-actions": "^8.6.4",
|
|
82
|
+
"@storybook/addon-essentials": "^8.6.4",
|
|
83
|
+
"@storybook/addon-interactions": "^8.6.12",
|
|
84
|
+
"@storybook/addon-links": "^8.6.4",
|
|
85
|
+
"@storybook/builder-webpack5": "^8.6.4",
|
|
86
|
+
"@storybook/cli": "^8.6.4",
|
|
87
|
+
"@storybook/preset-create-react-app": "^8.6.4",
|
|
88
|
+
"@storybook/react": "^8.6.4",
|
|
89
|
+
"@storybook/react-webpack5": "^8.6.4",
|
|
90
|
+
"@storybook/test": "^8.6.12",
|
|
91
|
+
"@storybook/testing-library": "^0.2.2",
|
|
92
|
+
"@testing-library/jest-dom": "^6.4.8",
|
|
93
|
+
"@testing-library/react": "^16.0.0",
|
|
94
|
+
"@testing-library/user-event": "^14.5.2",
|
|
95
|
+
"auto-changelog": "^1.16.4",
|
|
96
|
+
"autoprefixer": "^10.4.21",
|
|
97
|
+
"babel-core": "^7.0.0-bridge.0",
|
|
98
|
+
"babel-jest": "^29.7.0",
|
|
99
|
+
"babel-minify": "^0.5.1",
|
|
100
|
+
"babel-plugin-styled-components": "^2.1.4",
|
|
101
|
+
"babel-preset-env": "^1.7.0",
|
|
102
|
+
"babel-preset-minify": "^0.5.1",
|
|
103
|
+
"babel-preset-react": "^6.24.1",
|
|
104
|
+
"css-loader": "^7.1.2",
|
|
105
|
+
"del-cli": "^2.0.0",
|
|
106
|
+
"eslint": "^8.57.0",
|
|
107
|
+
"eslint-config-react-app": "^7.0.1",
|
|
108
|
+
"eslint-plugin-import": "^2.31.0",
|
|
109
|
+
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
110
|
+
"eslint-plugin-react": "^7.37.4",
|
|
111
|
+
"file-loader": "^6.2.0",
|
|
112
|
+
"flow-bin": "^0.117.0",
|
|
113
|
+
"husky": "^3.1.0",
|
|
114
|
+
"identity-obj-proxy": "^3.0.0",
|
|
115
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
116
|
+
"jest-styled-components": "^7.2.0",
|
|
117
|
+
"postcss": "^8.5.3",
|
|
118
|
+
"postcss-import": "^16.1.0",
|
|
119
|
+
"react-app-rewired": "^2.2.1",
|
|
120
|
+
"react-is": "^19.0.0",
|
|
121
|
+
"react-refresh": "^0.16.0",
|
|
122
|
+
"react-test-renderer": "^18.3.1",
|
|
123
|
+
"sass": "^1.85.1",
|
|
124
|
+
"style-loader": "^4.0.0",
|
|
125
|
+
"tailwindcss": "^3.4.17",
|
|
126
|
+
"typescript": "^4.9.5",
|
|
127
|
+
"webpack": "^5.98.0"
|
|
128
|
+
},
|
|
129
|
+
"eslintConfig": {
|
|
130
|
+
"overrides": [
|
|
131
|
+
{
|
|
132
|
+
"files": [
|
|
133
|
+
"**/*.stories.*"
|
|
134
|
+
],
|
|
135
|
+
"rules": {
|
|
136
|
+
"import/no-anonymous-default-export": "off",
|
|
137
|
+
"no-trailing-spaces": "off",
|
|
138
|
+
"comma-dangle": [
|
|
139
|
+
"error",
|
|
140
|
+
"always-multiline"
|
|
141
|
+
]
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
]
|
|
44
145
|
},
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
|
|
146
|
+
"jest": {
|
|
147
|
+
"setupFilesAfterEnv": [
|
|
148
|
+
"<rootDir>/src/setupTests.js"
|
|
149
|
+
],
|
|
150
|
+
"testEnvironment": "jsdom",
|
|
151
|
+
"moduleNameMapper": {
|
|
152
|
+
"\\.(css|less|scss|sass)$": "identity-obj-proxy",
|
|
153
|
+
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js"
|
|
154
|
+
},
|
|
155
|
+
"transform": {
|
|
156
|
+
"^.+\\.(js|jsx|ts|tsx)$": "babel-jest"
|
|
157
|
+
},
|
|
158
|
+
"moduleFileExtensions": [
|
|
159
|
+
"js",
|
|
160
|
+
"jsx",
|
|
161
|
+
"json",
|
|
162
|
+
"node"
|
|
163
|
+
],
|
|
164
|
+
"testPathIgnorePatterns": [
|
|
165
|
+
"/node_modules/"
|
|
166
|
+
]
|
|
48
167
|
}
|
|
49
168
|
}
|
|
169
|
+
|
package/package.lib.json
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "react-jupiter",
|
|
3
|
+
"version": "6.0.0-beta.2",
|
|
4
|
+
"main": "dist/index.js",
|
|
5
|
+
"exports": {
|
|
6
|
+
".": "./dist/index.js",
|
|
7
|
+
"./typography": "./dist/components/typography/index.js",
|
|
8
|
+
"./button": "./dist/components/button/index.js",
|
|
9
|
+
"./grid": "./dist/components/grid/index.js",
|
|
10
|
+
"./spacing": "./dist/components/spacing/index.js",
|
|
11
|
+
"./utils": "./dist/components/utils/index.js",
|
|
12
|
+
"./show-date": "./dist/components/show-date/index.js",
|
|
13
|
+
"./avatar": "./dist/components/avatar/index.js",
|
|
14
|
+
"./icon": "./dist/components/icon/index.js",
|
|
15
|
+
"./titled-avatar": "./dist/components/titled-avatar/index.js",
|
|
16
|
+
"./numeric-summery-report": "./dist/components/numeric-summery-report/index.js",
|
|
17
|
+
"./card": "./dist/components/card/index.js",
|
|
18
|
+
"./product-properties": "./dist/components/product-properties/index.js",
|
|
19
|
+
"./cover": "./dist/components/cover/index.js",
|
|
20
|
+
"./form": "./dist/components/form/index.js",
|
|
21
|
+
"./form-v7": "./dist/components/form-v7/index.js",
|
|
22
|
+
"./responsive": "./dist/components/responsive/index.js",
|
|
23
|
+
"./product-owner": "./dist/components/product-owner/index.js",
|
|
24
|
+
"./file-item": "./dist/components/file-item/index.js",
|
|
25
|
+
"./modal": "./dist/components/modal/index.js",
|
|
26
|
+
"./product-menu": "./dist/components/product-menu/index.js",
|
|
27
|
+
"./table": "./dist/components/table/index.js",
|
|
28
|
+
"./tabs": "./dist/components/tabs/index.js",
|
|
29
|
+
"./display": "./dist/components/display/index.js"
|
|
30
|
+
},
|
|
31
|
+
"license": "MIT",
|
|
32
|
+
"keywords": [
|
|
33
|
+
"evand",
|
|
34
|
+
"design system",
|
|
35
|
+
"component",
|
|
36
|
+
"react",
|
|
37
|
+
"styled-component"
|
|
38
|
+
],
|
|
39
|
+
"contributors": [
|
|
40
|
+
"@mehranshiri",
|
|
41
|
+
"@arashmanteghi",
|
|
42
|
+
"https://github.com/marzzy"
|
|
43
|
+
],
|
|
44
|
+
"publishConfig": {
|
|
45
|
+
"access": "public"
|
|
46
|
+
},
|
|
47
|
+
"repository": {
|
|
48
|
+
"type": "git",
|
|
49
|
+
"url": "https://github.com/evandhq/react-jupiter"
|
|
50
|
+
},
|
|
51
|
+
"bugs": {
|
|
52
|
+
"url": "https://github.com/evandhq/react-jupiter/issues"
|
|
53
|
+
},
|
|
54
|
+
"scripts": {
|
|
55
|
+
},
|
|
56
|
+
"dependencies": {
|
|
57
|
+
"@heroicons/react": "^2.2.0",
|
|
58
|
+
"moment-jalaali": "^0.9.4",
|
|
59
|
+
"prop-types": "^15.8.0",
|
|
60
|
+
"react": "^18.3.1",
|
|
61
|
+
"react-dom": "^18.3.1",
|
|
62
|
+
"react-hook-form": "^7.38.0",
|
|
63
|
+
"react-lazy-load-image-component": "^1.5.1",
|
|
64
|
+
"react-modal": "3.16.1",
|
|
65
|
+
"react-responsive": "^8.2.0",
|
|
66
|
+
"react-router-dom": "^5.3.0",
|
|
67
|
+
"styled-components": "^5.3.11",
|
|
68
|
+
"styled-media-query": "^2.1.2",
|
|
69
|
+
"tailwind-merge": "^3.2.0"
|
|
70
|
+
},
|
|
71
|
+
"peerDependencies": {
|
|
72
|
+
"react": ">=16.8.0",
|
|
73
|
+
"react-dom": ">=16.8.0"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|