@bethinkpl/design-system 25.0.10 → 26.0.1
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/.github/workflows/build-to-review-on-trigger.yml +17 -0
- package/.github/workflows/storybook.yml +1 -0
- package/.storybook/main.ts +42 -0
- package/.storybook/{manager.js → manager.ts} +1 -1
- package/.storybook/preview-head.html +1 -0
- package/.storybook/preview.scss +3 -0
- package/.storybook/{preview.js → preview.ts} +11 -18
- package/.storybook/scss-preview-styles-plugin.ts +43 -0
- package/{lib/styles → .storybook}/storybook.scss +10 -10
- package/deploy_storybook_to_s3.sh +16 -1
- package/dist/design-system.umd.cjs +1032 -0
- package/dist/design-system.umd.cjs.map +1 -0
- package/dist/lib/js/components/BadgeScore/BadgeScore.vue.d.ts +33 -65
- package/dist/lib/js/components/BadgeScore/index.d.ts +2 -1
- package/dist/lib/js/components/Banner/Banner.vue.d.ts +265 -311
- package/dist/lib/js/components/Banner/index.d.ts +2 -1
- package/dist/lib/js/components/Buttons/Button/Button.vue.d.ts +258 -305
- package/dist/lib/js/components/Buttons/Button/index.d.ts +2 -1
- package/dist/lib/js/components/Buttons/IconButton/IconButton.vue.d.ts +274 -320
- package/dist/lib/js/components/Buttons/IconButton/index.d.ts +2 -1
- package/dist/lib/js/components/Cards/Card/Card.consts.d.ts +1 -0
- package/dist/lib/js/components/Cards/Card/Card.vue.d.ts +92 -2
- package/dist/lib/js/components/Cards/Card/index.d.ts +2 -1
- package/dist/lib/js/components/Cards/CardExpandable/CardExpandable.vue.d.ts +274 -258
- package/dist/lib/js/components/Cards/CardExpandable/index.d.ts +2 -1
- package/dist/lib/js/components/Chip/Chip.vue.d.ts +259 -306
- package/dist/lib/js/components/Chip/index.d.ts +2 -1
- package/dist/lib/js/components/DatePickers/DatePicker/DatePicker.consts.d.ts +1 -0
- package/dist/lib/js/components/DatePickers/DatePicker/DatePicker.vue.d.ts +1 -106
- package/dist/lib/js/components/DatePickers/DatePicker/index.d.ts +2 -1
- package/dist/lib/js/components/DatePickers/DatePickerBox/DatePickerBox.vue.d.ts +1 -274
- package/dist/lib/js/components/DatePickers/DatePickerBox/index.d.ts +2 -1
- package/dist/lib/js/components/Divider/Divider.vue.d.ts +40 -26
- package/dist/lib/js/components/Divider/index.d.ts +2 -1
- package/dist/lib/js/components/Drawer/Drawer.vue.d.ts +34 -19
- package/dist/lib/js/components/Drawer/DrawerContent/DrawerContent.vue.d.ts +1 -3
- package/dist/lib/js/components/Drawer/DrawerDivider/DrawerDivider.vue.d.ts +24 -17
- package/dist/lib/js/components/Drawer/DrawerHeader/DrawerHeader.vue.d.ts +2 -3
- package/dist/lib/js/components/Drawer/DrawerListItem/DrawerListItem.vue.d.ts +226 -3
- package/dist/lib/js/components/Drawer/DrawerListItemGroup/DrawerListItemGroup.vue.d.ts +1 -3
- package/dist/lib/js/components/Drawer/DrawerSection/DrawerSection.vue.d.ts +236 -302
- package/dist/lib/js/components/Drawer/DrawerTile/DrawerTile.vue.d.ts +129 -66
- package/dist/lib/js/components/Drawer/index.d.ts +2 -1
- package/dist/lib/js/components/Dropdown/Dropdown.vue.d.ts +2 -66
- package/dist/lib/js/components/Dropdown/index.d.ts +2 -1
- package/dist/lib/js/components/Form/Checkbox/Checkbox.vue.d.ts +219 -239
- package/dist/lib/js/components/Form/RadioButton/RadioButton.vue.d.ts +219 -239
- package/dist/lib/js/components/Form/SelectionControl/SelectionControl.sb.shared.d.ts +2 -1
- package/dist/lib/js/components/Form/SelectionControl/SelectionControl.vue.d.ts +29 -66
- package/dist/lib/js/components/Headers/OverlayHeader/OverlayHeader.vue.d.ts +274 -316
- package/dist/lib/js/components/Headers/OverlayHeader/index.d.ts +2 -1
- package/dist/lib/js/components/Headers/PageHeader/PageHeader.vue.d.ts +12 -32
- package/dist/lib/js/components/Headers/PageHeader/index.d.ts +2 -1
- package/dist/lib/js/components/Headers/SectionHeader/SectionHeader.consts.d.ts +1 -0
- package/dist/lib/js/components/Headers/SectionHeader/SectionHeader.vue.d.ts +255 -333
- package/dist/lib/js/components/Headers/SectionHeader/index.d.ts +2 -1
- package/dist/lib/js/components/IconText/IconText.vue.d.ts +1 -71
- package/dist/lib/js/components/IconText/index.d.ts +2 -1
- package/dist/lib/js/components/Icons/FeatureIcon/FeatureIcon.vue.d.ts +25 -48
- package/dist/lib/js/components/Icons/FeatureIcon/index.d.ts +2 -1
- package/dist/lib/js/components/Icons/Icon/Icon.consts.d.ts +195 -194
- package/dist/lib/js/components/Icons/Icon/Icon.vue.d.ts +76 -44
- package/dist/lib/js/components/Icons/Icon/index.d.ts +2 -1
- package/dist/lib/js/components/Image/Image.vue.d.ts +3 -11
- package/dist/lib/js/components/Image/index.d.ts +2 -1
- package/dist/lib/js/components/Layouts/ThreeColumnLayout/ThreeColumnLayout.vue.d.ts +16 -46
- package/dist/lib/js/components/Layouts/ThreeColumnLayout/index.d.ts +2 -1
- package/dist/lib/js/components/LoadingBar/LoadingBar.consts.d.ts +1 -0
- package/dist/lib/js/components/LoadingBar/LoadingBar.vue.d.ts +37 -26
- package/dist/lib/js/components/LoadingBar/index.d.ts +2 -1
- package/dist/lib/js/components/Modal/Modal.vue.d.ts +235 -230
- package/dist/lib/js/components/Modal/index.d.ts +2 -1
- package/dist/lib/js/components/Modals/Modal/Modal.vue.d.ts +275 -362
- package/dist/lib/js/components/Modals/Modal/index.d.ts +2 -1
- package/dist/lib/js/components/Modals/ModalDialog/ModalDialog.vue.d.ts +20 -74
- package/dist/lib/js/components/Modals/ModalDialog/index.d.ts +2 -1
- package/dist/lib/js/components/NumberInCircle/index.d.ts +2 -1
- package/dist/lib/js/components/Outline/OutlineDivider/OutlineDivider.vue.d.ts +24 -17
- package/dist/lib/js/components/Outline/OutlineDivider/index.d.ts +2 -1
- package/dist/lib/js/components/Outline/OutlineItem/OutlineItem.vue.d.ts +231 -297
- package/dist/lib/js/components/Outline/OutlineItem/index.d.ts +2 -1
- package/dist/lib/js/components/Outline/OutlineSectionHeader/OutlineSectionHeader.vue.d.ts +10 -8
- package/dist/lib/js/components/Outline/OutlineSectionHeader/index.d.ts +2 -1
- package/dist/lib/js/components/Pagination/Pagination.vue.d.ts +259 -288
- package/dist/lib/js/components/Pagination/index.d.ts +2 -1
- package/dist/lib/js/components/PopOver/index.d.ts +2 -1
- package/dist/lib/js/components/ProgressBar/ProgressBar.vue.d.ts +1 -301
- package/dist/lib/js/components/ProgressBar/index.d.ts +2 -1
- package/dist/lib/js/components/ProgressDonutChart/ProgressDonutChart.vue.d.ts +1 -253
- package/dist/lib/js/components/ProgressDonutChart/index.d.ts +2 -1
- package/dist/lib/js/components/RichList/BasicRichListItem/BasicRichListItem.vue.d.ts +21 -135
- package/dist/lib/js/components/RichList/BasicRichListItem/index.d.ts +2 -1
- package/dist/lib/js/components/RichList/GroupRichListItem/GroupRichListItem.consts.d.ts +1 -0
- package/dist/lib/js/components/RichList/GroupRichListItem/GroupRichListItem.vue.d.ts +51 -30
- package/dist/lib/js/components/RichList/GroupRichListItem/index.d.ts +2 -1
- package/dist/lib/js/components/RichList/RichListItem/RichListItem.consts.d.ts +2 -0
- package/dist/lib/js/components/RichList/RichListItem/RichListItem.vue.d.ts +254 -344
- package/dist/lib/js/components/RichList/RichListItem/index.d.ts +2 -1
- package/dist/lib/js/components/SectionTitle/SectionTitle.vue.d.ts +32 -2
- package/dist/lib/js/components/SelectList/SelectList.vue.d.ts +2 -3
- package/dist/lib/js/components/SelectList/SelectListItem/SelectListItem.vue.d.ts +234 -3
- package/dist/lib/js/components/SelectList/SelectListItemDivider/SelectListItemDivider.vue.d.ts +1 -7
- package/dist/lib/js/components/SelectList/SelectListItemTile/SelectListItemTile.vue.d.ts +127 -65
- package/dist/lib/js/components/SelectList/SelectListItemToggle/SelectListItemToggle.vue.d.ts +21 -56
- package/dist/lib/js/components/SelectList/SelectListSectionTitle/SelectListSectionTitle.vue.d.ts +21 -13
- package/dist/lib/js/components/SelectionTile/SelectionTile.vue.d.ts +197 -197
- package/dist/lib/js/components/SelectionTile/index.d.ts +2 -1
- package/dist/lib/js/components/Skeleton/Skeleton.vue.d.ts +42 -2
- package/dist/lib/js/components/Skeleton/index.d.ts +2 -1
- package/dist/lib/js/components/Statuses/AccessStatus/AccessStatus.vue.d.ts +227 -231
- package/dist/lib/js/components/Statuses/AccessStatus/index.d.ts +2 -1
- package/dist/lib/js/components/Statuses/BlockadeStatus/BlockadeStatus.vue.d.ts +227 -231
- package/dist/lib/js/components/Statuses/BlockadeStatus/index.d.ts +2 -1
- package/dist/lib/js/components/SurveyQuestions/SurveyQuestionOpenEnded/SurveyQuestionOpenEnded.vue.d.ts +246 -3
- package/dist/lib/js/components/SurveyQuestions/SurveyQuestionOpenEnded/index.d.ts +2 -1
- package/dist/lib/js/components/SurveyQuestions/SurveyQuestionScale/SurveyQuestionScale.vue.d.ts +2 -3
- package/dist/lib/js/components/SurveyQuestions/SurveyQuestionScale/index.d.ts +2 -1
- package/dist/lib/js/components/SurveyQuestions/SurveyQuestionTextarea.vue.d.ts +31 -21
- package/dist/lib/js/components/SurveyQuestions/index.d.ts +2 -1
- package/dist/lib/js/components/SurveyToggle/SurveyToggle.vue.d.ts +39 -3
- package/dist/lib/js/components/SurveyToggle/index.d.ts +2 -1
- package/dist/lib/js/components/Switch/Switch.consts.d.ts +1 -0
- package/dist/lib/js/components/Switch/Switch.vue.d.ts +246 -296
- package/dist/lib/js/components/Switch/index.d.ts +2 -1
- package/dist/lib/js/components/TabItem/TabItem.vue.d.ts +1 -47
- package/dist/lib/js/components/TabItem/index.d.ts +2 -1
- package/dist/lib/js/components/TextGroup/TextGroup.vue.d.ts +7 -6
- package/dist/lib/js/components/TextGroup/index.d.ts +2 -1
- package/dist/lib/js/components/Tile/Tile.consts.d.ts +1 -0
- package/dist/lib/js/components/Tile/Tile.sb.shared.d.ts +195 -194
- package/dist/lib/js/components/Tile/Tile.shared.d.ts +1 -0
- package/dist/lib/js/components/Tile/Tile.vue.d.ts +342 -282
- package/dist/lib/js/components/Tile/index.d.ts +2 -1
- package/dist/lib/js/components/Toast/Toast.consts.d.ts +1 -0
- package/dist/lib/js/components/Toggles/CounterToggle/CounterToggle.vue.d.ts +21 -47
- package/dist/lib/js/components/Toggles/CounterToggle/index.d.ts +2 -1
- package/dist/lib/js/components/Toggles/ToggleButton/ToggleButton.consts.d.ts +1 -0
- package/dist/lib/js/components/Toggles/ToggleButton/ToggleButton.vue.d.ts +242 -301
- package/dist/lib/js/components/Toggles/ToggleButton/index.d.ts +2 -1
- package/dist/lib/js/components/Tooltip/Tooltip.vue.d.ts +4 -5
- package/dist/lib/js/components/Tooltip/index.d.ts +2 -1
- package/dist/lib/js/components/Well/index.d.ts +2 -1
- package/dist/lib/js/composables/hover-state.d.ts +11 -0
- package/dist/lib/js/icons/fontawesome.d.ts +195 -195
- package/dist/lib/js/index.d.ts +2 -1
- package/dist/lib/js/styles/TokenTypes.d.ts +1 -0
- package/dist/lib/js/utils/device.d.ts +1 -0
- package/docs/.nojekyll +0 -0
- package/docs/assets/AccessStatus-DVtD0BrS.js +1 -0
- package/docs/assets/AccessStatus.stories-CM9qms_d.js +9 -0
- package/docs/assets/BadgeScore-B0MHArlW.js +1 -0
- package/docs/assets/BadgeScore.stories-BsFc_8XV.js +40 -0
- package/docs/assets/Banner-Dkt_I8P3.js +1 -0
- package/docs/assets/Banner.stories-dLLxP9rS.js +62 -0
- package/docs/assets/BasicRichListItem-CCXQ4iJg.js +1 -0
- package/docs/assets/BasicRichListItem.stories-Bh_UBJkl.js +194 -0
- package/docs/assets/BlockadeStatus-9_pI8WM1.js +1 -0
- package/docs/assets/BlockedeStatus.stories-IunhqK0I.js +9 -0
- package/docs/assets/BorderSizes.stories-COOhe637.js +31 -0
- package/docs/assets/Button-CBZkgukP.js +1 -0
- package/docs/assets/Button.stories-BLj-_0Vw.js +47 -0
- package/docs/assets/Card-B7j8o0GU.js +1 -0
- package/docs/assets/Card.stories-KO99dol6.js +49 -0
- package/docs/assets/CardExpandable-XN3wcRwV.js +1 -0
- package/docs/assets/CardExpandable.stories-B9-JtWRG.js +37 -0
- package/docs/assets/Checkbox-D_geau8n.js +1 -0
- package/docs/assets/Checkbox.stories-DLfdA87Q.js +21 -0
- package/docs/assets/Chip-CBqrZ-va.js +1 -0
- package/docs/assets/Chip.stories-DQLbtbRo.js +43 -0
- package/docs/assets/Color-ERTF36HU-B622yQt4.js +1 -0
- package/docs/assets/Colors.stories-CRIOJbgv.js +11 -0
- package/docs/assets/ColorsThemes.stories-BVtVblv7.js +11 -0
- package/docs/assets/ColorsTokensLms.stories-Ds9sWwL0.js +11 -0
- package/docs/assets/ColorsTokensPrimaryBodywork.stories-D9nLEENe.js +11 -0
- package/docs/assets/ColorsTokensPrimaryWnl.stories-Cuz6HvAj.js +11 -0
- package/docs/assets/CounterToggle-BzxnFqH7.js +1 -0
- package/docs/assets/CounterToggle.stories-DdAjSFMr.js +19 -0
- package/docs/assets/DatePicker-CvT_E45n.js +2 -0
- package/docs/assets/DatePicker.stories-Ub_1x6To.js +91 -0
- package/docs/assets/Divider-D2yDhW46.js +1 -0
- package/docs/assets/Divider.stories-f9QUckyE.js +15 -0
- package/docs/assets/DocsRenderer-CFRXHY34-D5Eulb6H.js +639 -0
- package/docs/assets/Drawer-CH5Qyc5B.js +1 -0
- package/docs/assets/Drawer.stories-jrbLBaPT.js +21 -0
- package/docs/assets/DrawerContent-DGzdUSmd.js +1 -0
- package/docs/assets/DrawerContent.stories-CYzQPPIy.js +17 -0
- package/docs/assets/DrawerDivider-DNbYnPjf.js +1 -0
- package/docs/assets/DrawerDivider.stories-BG6MKk49.js +15 -0
- package/docs/assets/DrawerHeader-DOWojdwp.js +1 -0
- package/docs/assets/DrawerHeader.stories-CwaoQykQ.js +54 -0
- package/docs/assets/DrawerListItem-aepUTcTm.js +1 -0
- package/docs/assets/DrawerListItem.stories-vHXkwtyS.js +13 -0
- package/docs/assets/DrawerListItemGroup-CnH532Dv.js +1 -0
- package/docs/assets/DrawerListItemGroup.stories-D0DeZ6IG.js +20 -0
- package/docs/assets/DrawerSection-pMhA5dsS.js +1 -0
- package/docs/assets/DrawerSection.stories-BF7A4VyW.js +67 -0
- package/docs/assets/DrawerTile-W2mt6fAk.js +1 -0
- package/docs/assets/DrawerTile.stories-CUMznN1H.js +10 -0
- package/docs/assets/Dropdown-BfX0EVaK.js +1 -0
- package/docs/assets/Dropdown.stories-DrILA_TR.js +45 -0
- package/docs/assets/FeatureIcon-n65RPvyA.js +1 -0
- package/docs/assets/FeatureIcon.stories-DSUzxIPB.js +14 -0
- package/docs/assets/GroupRichListItem-DMiaeyaS.js +1 -0
- package/docs/assets/GroupRichListItem.stories-DCEq0Kil.js +137 -0
- package/docs/assets/Icon-BiVaixmr.js +762 -0
- package/docs/assets/Icon.stories-BFJuE2aE.js +27 -0
- package/docs/assets/IconButton-COzU-vlz.js +1 -0
- package/docs/assets/IconButton.stories-DGmn7bfg.js +119 -0
- package/docs/assets/IconText-DDrVXWHS.js +1 -0
- package/docs/assets/IconText.stories-CSt7q9Mf.js +32 -0
- package/docs/assets/Image-Drmyqqsn.js +1 -0
- package/docs/assets/Image.stories-DxQ22AFP.js +21 -0
- package/docs/assets/ItemsList-B-vw083o.js +1 -0
- package/docs/assets/LoadingBar-D0iVLCyJ.js +1 -0
- package/docs/assets/LoadingBar.stories-IJRD91mF.js +9 -0
- package/docs/assets/Modal-CJ0d6Je9.js +1 -0
- package/docs/assets/Modal.stories-q_qdiakg.js +53 -0
- package/docs/assets/ModalDialog-CbDAxfV_.js +1 -0
- package/docs/assets/ModalDialog.stories-CKcR8rIW.js +43 -0
- package/docs/assets/NumberInCircle-DV0Qrx8H.js +1 -0
- package/docs/assets/NumberInCircle.stories-DriLGDDl.js +9 -0
- package/docs/assets/OutlineDivider-Cez9NlcH.js +1 -0
- package/docs/assets/OutlineDivider.stories-D0zYoHBw.js +11 -0
- package/docs/assets/OutlineItem-CUHef8Bo.js +1 -0
- package/docs/assets/OutlineItem.stories-BgFzRhaY.js +41 -0
- package/docs/assets/OutlineSectionHeader-DSJ4uxfr.js +1 -0
- package/docs/assets/OutlineSectionHeader.stories-HOf2NwY-.js +9 -0
- package/docs/assets/OverlayHeader-jylszhPO.js +1 -0
- package/docs/assets/OverlayHeader.stories-bjFfL93l.js +67 -0
- package/docs/assets/PageHeader-CTbdU4IG.js +1 -0
- package/docs/assets/PageHeader.stories-DeNf1zoa.js +9 -0
- package/docs/assets/Pagination-dSOJSh7t.js +1 -0
- package/docs/assets/Pagination.stories-CMg8WaRV.js +31 -0
- package/docs/assets/PopOver-BPD1Ttq1.js +1 -0
- package/docs/assets/PopOver.stories-Cl1k59cl.js +15 -0
- package/docs/assets/ProgressBar-4gBRbr7a.js +1 -0
- package/docs/assets/ProgressBar.stories-9xVTh0RH.js +57 -0
- package/docs/assets/ProgressDonutChart-D5uvUZva.js +1 -0
- package/docs/assets/ProgressDonutChart.stories-DBpwl5Vn.js +17 -0
- package/docs/assets/RadioButton-BwCzYjOu.js +1 -0
- package/docs/assets/RadioButton.stories-CLWvDUrd.js +21 -0
- package/docs/assets/RichListItem.stories-DhkQky0J.js +182 -0
- package/docs/assets/SectionHeader-DVwe52kA.js +1 -0
- package/docs/assets/SectionHeader.stories-Dd3li5ER.js +24 -0
- package/docs/assets/SectionTitle-XTc-98O5.js +1 -0
- package/docs/assets/SectionTitle.stories-BFNagAeb.js +9 -0
- package/docs/assets/SelectList-CTXM5G8Z.js +1 -0
- package/docs/assets/SelectList.stories-B2Pq8auf.js +91 -0
- package/docs/assets/SelectListItem-_c4CA-YM.js +1 -0
- package/docs/assets/SelectListItem.stories-PSDnI18x.js +36 -0
- package/docs/assets/SelectListItemDivider-BOgD7wrO.js +1 -0
- package/docs/assets/SelectListItemDivider.stories-DvANKn2s.js +8 -0
- package/docs/assets/SelectListItemTile-BL3qYL_0.js +1 -0
- package/docs/assets/SelectListItemTile.stories-CVYmG0Ta.js +19 -0
- package/docs/assets/SelectListItemToggle-BjjMPWy0.js +1 -0
- package/docs/assets/SelectListItemToggle.stories-D5QL3Gd2.js +51 -0
- package/docs/assets/SelectListSectionTitle-FihJb1eM.js +1 -0
- package/docs/assets/SelectListSectionTitle.stories-DCyB86A1.js +16 -0
- package/docs/assets/SelectionControl-BxCh7N21.js +1 -0
- package/docs/assets/SelectionControl.sb.shared-BWifjoMU.js +2 -0
- package/docs/assets/SelectionTile-T03MPtEm.js +2 -0
- package/docs/assets/SelectionTile.stories-CEufLR64.js +47 -0
- package/docs/assets/Skeleton-BbafKE6W.js +179 -0
- package/docs/assets/Skeleton.stories-B_4TqUB5.js +15 -0
- package/docs/assets/Spacings.stories-DxxukMX7.js +43 -0
- package/docs/assets/SurveyQuestionOpenEnded-DRFBouQB.js +1 -0
- package/docs/assets/SurveyQuestionOpenEnded.stories-DW7tQU04.js +20 -0
- package/docs/assets/SurveyQuestionScale-nNC7H5k0.js +1 -0
- package/docs/assets/SurveyQuestionScale.stories-DC8qXbl8.js +72 -0
- package/docs/assets/SurveyToggle-DzZyc41b.js +1 -0
- package/docs/assets/SurveyToggle.stories-Yf0fJ_p2.js +14 -0
- package/docs/assets/Switch-BWGPo7tP.js +1 -0
- package/docs/assets/Switch.stories-BzeYFsr2.js +48 -0
- package/docs/assets/TabItem-Cx2nQ_YR.js +1 -0
- package/docs/assets/TabItem.stories-C-gV8JMj.js +15 -0
- package/docs/assets/TextGroup-DQmg5luv.js +1 -0
- package/docs/assets/TextGroup.stories-j5MNzn7U.js +48 -0
- package/docs/assets/ThreeColumnLayout-Lm3LIbid.js +1 -0
- package/docs/assets/ThreeColumnLayout.stories-C5cNwOWv.js +47 -0
- package/docs/assets/Tile-DnH9h0Kq.js +1 -0
- package/docs/assets/Tile.sb.shared-2W1FnncR.js +15 -0
- package/docs/assets/Tile.stories-Bj7yp21N.js +14 -0
- package/docs/assets/Toast.stories-Bad7itWi.js +58 -0
- package/docs/assets/ToggleButton-BZ0tVYFv.js +1 -0
- package/docs/assets/ToggleButton.stories-D0YPR0-y.js +42 -0
- package/docs/assets/Tooltip-BxZlo6cR.js +1 -0
- package/docs/assets/Tooltip.stories-CaTsoTim.js +119 -0
- package/docs/assets/TypographyTokensLms.stories-D-CrlX5A.js +11 -0
- package/docs/assets/TypographyVariables.stories-Bmxi44f1.js +11 -0
- package/docs/assets/Well-vFI2CbIA.js +1 -0
- package/docs/assets/Well.stories-Be73GX2h.js +6 -0
- package/docs/assets/_commonjsHelpers-Chg3vePA.js +1 -0
- package/docs/assets/_plugin-vue_export-helper-DlAUqK2U.js +1 -0
- package/docs/assets/decorator-CSnIf-k5.js +1 -0
- package/docs/assets/device-9fgosCm4.js +1 -0
- package/docs/assets/entry-preview-Dw8qwUcN.js +1 -0
- package/docs/assets/entry-preview-docs-BBVW7MF3.js +16 -0
- package/docs/assets/iframe-BosoHOVU.js +63 -0
- package/docs/assets/index-CBmJdl9t.js +5 -0
- package/docs/assets/index-CgF2Ctku.js +1 -0
- package/docs/assets/index-CqU62QSU.js +1 -0
- package/docs/assets/index-vG0co4wr.js +8 -0
- package/docs/assets/pl-Cy1N1vsP.js +1 -0
- package/docs/assets/preview-16ImHjAt.js +64 -0
- package/docs/assets/preview-B_ruAZiw.js +2 -0
- package/docs/assets/preview-DFmD0pui.js +1 -0
- package/docs/assets/preview-DFphXfmq.js +1 -0
- package/docs/assets/string-CxIy_vwz.js +1 -0
- package/docs/assets/user-DY5hg_iu.js +1 -0
- package/docs/assets/v4-BZawosSj.js +1 -0
- package/docs/assets/vue-popper-BJbr8Gin.js +24 -0
- package/docs/assets/vue.esm-bundler-BSCmGRHc.js +7 -0
- package/docs/favicon.svg +1 -0
- package/docs/iframe.html +332 -56
- package/docs/index.html +157 -51
- package/docs/index.json +1 -0
- package/docs/nunito-sans-bold-italic.woff2 +0 -0
- package/docs/nunito-sans-bold.woff2 +0 -0
- package/docs/nunito-sans-italic.woff2 +0 -0
- package/docs/nunito-sans-regular.woff2 +0 -0
- package/docs/preview.css +2993 -0
- package/docs/project.json +1 -1
- package/docs/sb-addons/actions-1/manager-bundle.js +3 -0
- package/docs/sb-addons/actions-1/manager-bundle.js.LEGAL.txt +0 -0
- package/docs/sb-addons/controls-3/manager-bundle.js +394 -0
- package/docs/sb-addons/controls-3/manager-bundle.js.LEGAL.txt +0 -0
- package/docs/sb-addons/designs-2/register-panel-bundle.js +665 -0
- package/docs/sb-addons/designs-2/register-panel-bundle.js.LEGAL.txt +127 -0
- package/docs/sb-addons/storybook-6/manager-bundle.js +3 -0
- package/docs/sb-addons/storybook-6/manager-bundle.js.LEGAL.txt +0 -0
- package/docs/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js +3 -0
- package/docs/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js.LEGAL.txt +0 -0
- package/docs/sb-addons/storysource-4/manager-bundle.js +3 -0
- package/docs/sb-addons/storysource-4/manager-bundle.js.LEGAL.txt +0 -0
- package/docs/sb-addons/viewport-5/manager-bundle.js +3 -0
- package/docs/sb-addons/viewport-5/manager-bundle.js.LEGAL.txt +0 -0
- package/docs/sb-common-assets/favicon.svg +1 -0
- package/docs/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/docs/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/docs/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/docs/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/docs/sb-manager/globals-module-info.js +1006 -0
- package/docs/sb-manager/globals-runtime.js +54400 -0
- package/docs/sb-manager/globals.js +48 -0
- package/docs/sb-manager/runtime.js +12089 -0
- package/docs/sb-preview/globals.js +33 -0
- package/docs/sb-preview/runtime.js +9498 -0
- package/jest.config.js +14 -11
- package/lib/js/components/BadgeScore/BadgeScore.stories.ts +13 -10
- package/lib/js/components/BadgeScore/BadgeScore.vue +5 -5
- package/lib/js/components/Banner/Banner.stories.ts +58 -55
- package/lib/js/components/Banner/Banner.vue +3 -3
- package/lib/js/components/Buttons/Button/Button.stories.ts +31 -21
- package/lib/js/components/Buttons/Button/Button.vue +4 -6
- package/lib/js/components/Buttons/IconButton/IconButton.stories.ts +37 -34
- package/lib/js/components/Buttons/IconButton/IconButton.vue +14 -7
- package/lib/js/components/Cards/Card/Card.stories.ts +17 -14
- package/lib/js/components/Cards/Card/Card.vue +4 -3
- package/lib/js/components/Cards/CardExpandable/CardExpandable.stories.ts +8 -7
- package/lib/js/components/Cards/CardExpandable/CardExpandable.vue +3 -2
- package/lib/js/components/Chip/Chip.stories.ts +13 -9
- package/lib/js/components/Chip/Chip.vue +3 -3
- package/lib/js/components/DatePickers/DatePicker/DatePicker.stories.ts +67 -64
- package/lib/js/components/DatePickers/DatePicker/DatePicker.vue +3 -3
- package/lib/js/components/DatePickers/DatePickerBox/DatePickerBox.vue +3 -3
- package/lib/js/components/Divider/Divider.stories.ts +5 -5
- package/lib/js/components/Divider/Divider.vue +4 -2
- package/lib/js/components/Drawer/Drawer.stories.ts +3 -3
- package/lib/js/components/Drawer/Drawer.vue +3 -3
- package/lib/js/components/Drawer/DrawerContent/DrawerContent.stories.ts +1 -1
- package/lib/js/components/Drawer/DrawerContent/DrawerContent.vue +4 -2
- package/lib/js/components/Drawer/DrawerDivider/DrawerDivider.stories.ts +5 -5
- package/lib/js/components/Drawer/DrawerDivider/DrawerDivider.vue +4 -2
- package/lib/js/components/Drawer/DrawerHeader/DrawerHeader.stories.ts +16 -16
- package/lib/js/components/Drawer/DrawerHeader/DrawerHeader.vue +3 -3
- package/lib/js/components/Drawer/DrawerListItem/DrawerListItem.stories.ts +4 -3
- package/lib/js/components/Drawer/DrawerListItem/DrawerListItem.vue +3 -3
- package/lib/js/components/Drawer/DrawerListItemGroup/DrawerListItemGroup.stories.ts +1 -1
- package/lib/js/components/Drawer/DrawerListItemGroup/DrawerListItemGroup.vue +4 -2
- package/lib/js/components/Drawer/DrawerSection/DrawerSection.stories.ts +60 -57
- package/lib/js/components/Drawer/DrawerSection/DrawerSection.vue +3 -3
- package/lib/js/components/Drawer/DrawerTile/DrawerTile.stories.ts +1 -1
- package/lib/js/components/Drawer/DrawerTile/DrawerTile.vue +4 -2
- package/lib/js/components/Dropdown/Dropdown.stories.ts +9 -9
- package/lib/js/components/Dropdown/Dropdown.vue +4 -2
- package/lib/js/components/Form/Checkbox/Checkbox.stories.ts +21 -14
- package/lib/js/components/Form/Checkbox/Checkbox.vue +3 -3
- package/lib/js/components/Form/RadioButton/RadioButton.stories.ts +21 -14
- package/lib/js/components/Form/RadioButton/RadioButton.vue +3 -3
- package/lib/js/components/Form/SelectionControl/SelectionControl.sb.shared.ts +13 -10
- package/lib/js/components/Form/SelectionControl/SelectionControl.vue +3 -3
- package/lib/js/components/Headers/OverlayHeader/OverlayHeader.stories.ts +9 -9
- package/lib/js/components/Headers/OverlayHeader/OverlayHeader.vue +5 -3
- package/lib/js/components/Headers/PageHeader/PageHeader.stories.ts +11 -13
- package/lib/js/components/Headers/PageHeader/PageHeader.vue +4 -2
- package/lib/js/components/Headers/SectionHeader/SectionHeader.stories.ts +65 -63
- package/lib/js/components/Headers/SectionHeader/SectionHeader.vue +6 -6
- package/lib/js/components/IconText/IconText.stories.ts +6 -5
- package/lib/js/components/IconText/IconText.vue +3 -3
- package/lib/js/components/Icons/FeatureIcon/FeatureIcon.stories.ts +15 -11
- package/lib/js/components/Icons/FeatureIcon/FeatureIcon.vue +3 -3
- package/lib/js/components/Icons/Icon/Icon.stories.ts +10 -8
- package/lib/js/components/Icons/Icon/Icon.vue +3 -3
- package/lib/js/components/Image/Image.stories.ts +5 -5
- package/lib/js/components/Image/Image.vue +0 -11
- package/lib/js/components/Layouts/ThreeColumnLayout/ThreeColumnLayout.stories.ts +8 -8
- package/lib/js/components/Layouts/ThreeColumnLayout/ThreeColumnLayout.vue +3 -3
- package/lib/js/components/LoadingBar/LoadingBar.stories.ts +5 -5
- package/lib/js/components/LoadingBar/LoadingBar.vue +3 -3
- package/lib/js/components/Modal/Modal.vue +4 -2
- package/lib/js/components/Modals/Modal/Modal.stories.ts +31 -31
- package/lib/js/components/Modals/Modal/Modal.vue +3 -3
- package/lib/js/components/Modals/ModalDialog/ModalDialog.stories.ts +20 -20
- package/lib/js/components/Modals/ModalDialog/ModalDialog.vue +3 -3
- package/lib/js/components/NumberInCircle/NumberInCircle.stories.ts +5 -5
- package/lib/js/components/NumberInCircle/NumberInCircle.vue +4 -2
- package/lib/js/components/Outline/OutlineDivider/OutlineDivider.stories.ts +12 -7
- package/lib/js/components/Outline/OutlineDivider/OutlineDivider.vue +4 -2
- package/lib/js/components/Outline/OutlineItem/OutlineItem.stories.ts +40 -29
- package/lib/js/components/Outline/OutlineItem/OutlineItem.vue +4 -4
- package/lib/js/components/Outline/OutlineSectionHeader/OutlineSectionHeader.stories.ts +6 -4
- package/lib/js/components/Outline/OutlineSectionHeader/OutlineSectionHeader.vue +4 -2
- package/lib/js/components/Pagination/Pagination.stories.ts +34 -21
- package/lib/js/components/Pagination/Pagination.vue +3 -2
- package/lib/js/components/PopOver/PopOver.stories.ts +9 -9
- package/lib/js/components/PopOver/PopOver.vue +6 -4
- package/lib/js/components/ProgressBar/ProgressBar.stories.ts +48 -41
- package/lib/js/components/ProgressBar/ProgressBar.vue +3 -3
- package/lib/js/components/ProgressDonutChart/ProgressDonutChart.spec.ts +1 -1
- package/lib/js/components/ProgressDonutChart/ProgressDonutChart.stories.ts +28 -24
- package/lib/js/components/ProgressDonutChart/ProgressDonutChart.vue +4 -3
- package/lib/js/components/RichList/BasicRichListItem/BasicRichListItem.stories.ts +82 -73
- package/lib/js/components/RichList/BasicRichListItem/BasicRichListItem.vue +3 -3
- package/lib/js/components/RichList/GroupRichListItem/GroupRichListItem.stories.ts +26 -20
- package/lib/js/components/RichList/GroupRichListItem/GroupRichListItem.vue +3 -3
- package/lib/js/components/RichList/RichListItem/RichListItem.consts.ts +5 -7
- package/lib/js/components/RichList/RichListItem/RichListItem.stories.ts +25 -18
- package/lib/js/components/RichList/RichListItem/RichListItem.vue +9 -5
- package/lib/js/components/SectionTitle/SectionTitle.stories.ts +5 -4
- package/lib/js/components/SectionTitle/SectionTitle.vue +3 -2
- package/lib/js/components/SelectList/SelectList.stories.ts +1 -1
- package/lib/js/components/SelectList/SelectList.vue +4 -2
- package/lib/js/components/SelectList/SelectListItem/SelectListItem.stories.ts +9 -5
- package/lib/js/components/SelectList/SelectListItem/SelectListItem.vue +3 -3
- package/lib/js/components/SelectList/SelectListItemDivider/SelectListItemDivider.vue +4 -2
- package/lib/js/components/SelectList/SelectListItemTile/SelectListItemTile.stories.ts +5 -2
- package/lib/js/components/SelectList/SelectListItemTile/SelectListItemTile.vue +4 -2
- package/lib/js/components/SelectList/SelectListItemToggle/SelectListItemToggle.stories.ts +51 -42
- package/lib/js/components/SelectList/SelectListItemToggle/SelectListItemToggle.vue +3 -3
- package/lib/js/components/SelectList/SelectListSectionTitle/SelectListSectionTitle.stories.ts +11 -9
- package/lib/js/components/SelectList/SelectListSectionTitle/SelectListSectionTitle.vue +4 -2
- package/lib/js/components/SelectionTile/SelectionTile.stories.ts +46 -38
- package/lib/js/components/Skeleton/Skeleton.stories.ts +5 -5
- package/lib/js/components/Statuses/AccessStatus/AccessStatus.stories.ts +3 -3
- package/lib/js/components/Statuses/AccessStatus/AccessStatus.vue +3 -2
- package/lib/js/components/Statuses/BlockadeStatus/BlockadeStatus.vue +4 -2
- package/lib/js/components/Statuses/BlockadeStatus/BlockedeStatus.stories.ts +3 -3
- package/lib/js/components/SurveyQuestions/SurveyQuestionOpenEnded/SurveyQuestionOpenEnded.stories.ts +22 -17
- package/lib/js/components/SurveyQuestions/SurveyQuestionOpenEnded/SurveyQuestionOpenEnded.vue +4 -2
- package/lib/js/components/SurveyQuestions/SurveyQuestionScale/SurveyQuestionScale.stories.ts +73 -55
- package/lib/js/components/SurveyQuestions/SurveyQuestionScale/SurveyQuestionScale.vue +3 -2
- package/lib/js/components/SurveyQuestions/SurveyQuestionTextarea.vue +4 -2
- package/lib/js/components/SurveyToggle/SurveyToggle.stories.ts +19 -12
- package/lib/js/components/SurveyToggle/SurveyToggle.vue +4 -2
- package/lib/js/components/Switch/Switch.stories.ts +16 -14
- package/lib/js/components/Switch/Switch.vue +3 -3
- package/lib/js/components/TabItem/TabItem.stories.ts +12 -11
- package/lib/js/components/TabItem/TabItem.vue +3 -3
- package/lib/js/components/TextGroup/TextGroup.stories.ts +20 -16
- package/lib/js/components/TextGroup/TextGroup.vue +1 -1
- package/lib/js/components/Tile/Tile.sb.shared.ts +9 -8
- package/lib/js/components/Tile/Tile.stories.ts +43 -45
- package/lib/js/components/Tile/Tile.vue +3 -2
- package/lib/js/components/Toast/Toast.stories.ts +10 -12
- package/lib/js/components/Toast/Toast.vue +3 -3
- package/lib/js/components/Toggles/CounterToggle/CounterToggle.stories.ts +10 -10
- package/lib/js/components/Toggles/CounterToggle/CounterToggle.vue +3 -3
- package/lib/js/components/Toggles/ToggleButton/ToggleButton.stories.ts +17 -17
- package/lib/js/components/Toggles/ToggleButton/ToggleButton.vue +3 -3
- package/lib/js/components/Tooltip/Tooltip.stories.ts +9 -9
- package/lib/js/components/Tooltip/Tooltip.vue +2 -10
- package/lib/js/components/Well/Well.stories.ts +36 -29
- package/lib/js/components/Well/Well.vue +4 -2
- package/lib/js/composables/hover-state.ts +39 -0
- package/lib/js/icons/fontawesome.ts +1 -1
- package/lib/js/index.ts +2 -1
- package/lib/js/styles/Colors/Colors.stories.ts +1 -1
- package/lib/js/styles/ColorsThemes/ColorsThemes.stories.ts +1 -1
- package/lib/js/styles/ColorsTokensLms/ColorsTokensLms.stories.ts +1 -1
- package/lib/js/styles/ColorsTokensPrimaryBodywork/ColorsTokensPrimaryBodywork.stories.ts +1 -1
- package/lib/js/styles/ColorsTokensPrimaryWnl/ColorsTokensPrimaryWnl.stories.ts +1 -1
- package/lib/js/styles/ItemsColor.vue +3 -3
- package/lib/js/styles/ItemsList.vue +4 -3
- package/lib/js/styles/ItemsTypography.vue +3 -3
- package/lib/js/styles/TypographyTokensLms/TypographyTokensLms.stories.ts +1 -1
- package/lib/js/styles/TypographyVariables/TypographyVariables.stories.ts +1 -1
- package/lib/js/typings.d.ts +3 -4
- package/lib/js/utils/device.ts +7 -0
- package/package.json +27 -26
- package/tsconfig.json +12 -5
- package/vite.config.ts +38 -0
- package/.storybook/main.js +0 -86
- package/babel.config.json +0 -12
- package/docs/117.1156a7c503a067ad8241.manager.bundle.js +0 -2
- package/docs/117.1156a7c503a067ad8241.manager.bundle.js.LICENSE.txt +0 -8
- package/docs/247.6eaf240e.iframe.bundle.js +0 -1
- package/docs/255.721b3744029f102ac772.manager.bundle.js +0 -2
- package/docs/255.721b3744029f102ac772.manager.bundle.js.LICENSE.txt +0 -12
- package/docs/286.23828fb3.iframe.bundle.js +0 -2
- package/docs/286.23828fb3.iframe.bundle.js.LICENSE.txt +0 -31
- package/docs/295.4e52f65e605e88f7b915.manager.bundle.js +0 -1
- package/docs/315.76786aa14c329ce07ff9.manager.bundle.js +0 -2
- package/docs/315.76786aa14c329ce07ff9.manager.bundle.js.LICENSE.txt +0 -94
- package/docs/317.bb9fa3422a439c11ef07.manager.bundle.js +0 -1
- package/docs/363.5eecfb3735eae61195ab.manager.bundle.js +0 -586
- package/docs/363.5eecfb3735eae61195ab.manager.bundle.js.LICENSE.txt +0 -23
- package/docs/39.0fa13ab1.iframe.bundle.js +0 -2
- package/docs/39.0fa13ab1.iframe.bundle.js.LICENSE.txt +0 -14
- package/docs/407.e7bfe1ea814fec553911.manager.bundle.js +0 -2
- package/docs/407.e7bfe1ea814fec553911.manager.bundle.js.LICENSE.txt +0 -31
- package/docs/594.bb1a9f64.iframe.bundle.js +0 -2
- package/docs/594.bb1a9f64.iframe.bundle.js.LICENSE.txt +0 -12
- package/docs/600.5586e4df861d64de85f8.manager.bundle.js +0 -1
- package/docs/651.3a01b956.iframe.bundle.js +0 -1
- package/docs/690.46a1e07a.iframe.bundle.js +0 -1
- package/docs/701.691b9947.iframe.bundle.js +0 -1
- package/docs/935.19d3d944.iframe.bundle.js +0 -2
- package/docs/935.19d3d944.iframe.bundle.js.LICENSE.txt +0 -17
- package/docs/949.b11a185a.iframe.bundle.js +0 -2
- package/docs/949.b11a185a.iframe.bundle.js.LICENSE.txt +0 -69
- package/docs/962.ec348c19.iframe.bundle.js +0 -2
- package/docs/962.ec348c19.iframe.bundle.js.LICENSE.txt +0 -8
- package/docs/977.a265714880f883237672.manager.bundle.js +0 -1
- package/docs/favicon.ico +0 -0
- package/docs/main.2c610e68.iframe.bundle.js +0 -2
- package/docs/main.2c610e68.iframe.bundle.js.LICENSE.txt +0 -1
- package/docs/main.ec4e5d4f1933fc03f588.manager.bundle.js +0 -1
- package/docs/runtime~main.8a21756dfcf63c109f1d.manager.bundle.js +0 -1
- package/docs/runtime~main.c8f2837a.iframe.bundle.js +0 -1
- package/vue.config.js +0 -67
- /package/{.eslintrc.js → .eslintrc.cjs} +0 -0
- /package/docs/{static/media/lato-ext-300.dd124df8.woff2 → ~design-system/lib/fonts/lato/lato-ext-300.woff2} +0 -0
- /package/docs/{static/media/lato-ext-700.4223b364.woff2 → ~design-system/lib/fonts/lato/lato-ext-700.woff2} +0 -0
- /package/docs/{static/media/lato-ext.b267ec5a.woff2 → ~design-system/lib/fonts/lato/lato-ext.woff2} +0 -0
- /package/docs/{static/media/lato-latin-300.917632e3.woff2 → ~design-system/lib/fonts/lato/lato-latin-300.woff2} +0 -0
- /package/docs/{static/media/lato-latin-700.f1405bd8.woff2 → ~design-system/lib/fonts/lato/lato-latin-700.woff2} +0 -0
- /package/docs/{static/media/lato-latin.65e877e5.woff2 → ~design-system/lib/fonts/lato/lato-latin.woff2} +0 -0
- /package/lib/js/tests/{emptyModule.ts → emptyModule.cjs} +0 -0
- /package/lib/js/tests/{emptyTransformer.ts → emptyTransformer.cjs} +0 -0
- /package/{stylelint.config.js → stylelint.config.cjs} +0 -0
package/docs/iframe.html
CHANGED
|
@@ -1,5 +1,67 @@
|
|
|
1
|
-
<!doctype html
|
|
2
|
-
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<!--suppress HtmlUnknownTarget -->
|
|
3
|
+
<html lang="en">
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="utf-8" />
|
|
6
|
+
<title>Storybook</title>
|
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
8
|
+
|
|
9
|
+
<style>
|
|
10
|
+
@font-face {
|
|
11
|
+
font-family: 'Nunito Sans';
|
|
12
|
+
font-style: normal;
|
|
13
|
+
font-weight: 400;
|
|
14
|
+
font-display: swap;
|
|
15
|
+
src: url('./sb-common-assets/nunito-sans-regular.woff2') format('woff2');
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@font-face {
|
|
19
|
+
font-family: 'Nunito Sans';
|
|
20
|
+
font-style: italic;
|
|
21
|
+
font-weight: 400;
|
|
22
|
+
font-display: swap;
|
|
23
|
+
src: url('./sb-common-assets/nunito-sans-italic.woff2') format('woff2');
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@font-face {
|
|
27
|
+
font-family: 'Nunito Sans';
|
|
28
|
+
font-style: normal;
|
|
29
|
+
font-weight: 700;
|
|
30
|
+
font-display: swap;
|
|
31
|
+
src: url('./sb-common-assets/nunito-sans-bold.woff2') format('woff2');
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@font-face {
|
|
35
|
+
font-family: 'Nunito Sans';
|
|
36
|
+
font-style: italic;
|
|
37
|
+
font-weight: 700;
|
|
38
|
+
font-display: swap;
|
|
39
|
+
src: url('./sb-common-assets/nunito-sans-bold-italic.woff2') format('woff2');
|
|
40
|
+
}
|
|
41
|
+
</style>
|
|
42
|
+
|
|
43
|
+
<script>
|
|
44
|
+
window.CONFIG_TYPE = 'PRODUCTION';
|
|
45
|
+
window.LOGLEVEL = 'info';
|
|
46
|
+
window.FRAMEWORK_OPTIONS = {};
|
|
47
|
+
window.CHANNEL_OPTIONS = {};
|
|
48
|
+
window.FEATURES = {"argTypeTargetsV7":true,"legacyDecoratorFileOrder":false,"disallowImplicitActionsInRenderV8":true};
|
|
49
|
+
window.STORIES = [{"titlePrefix":"","directory":"./lib","files":"**/*.stories.@(js|ts)","importPathMatcher":"^\\.[\\\\/](?:lib(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.(js|ts))$"}];
|
|
50
|
+
window.DOCS_OPTIONS = {"defaultName":"Docs","autodocs":"tag"};
|
|
51
|
+
window.TAGS_OPTIONS = {"dev-only":{"excludeFromDocsStories":true},"docs-only":{"excludeFromSidebar":true},"test-only":{"excludeFromSidebar":true,"excludeFromDocsStories":true}};
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
// We do this so that "module && module.hot" etc. in Storybook source code
|
|
56
|
+
// doesn't fail (it will simply be disabled)
|
|
57
|
+
window.module = undefined;
|
|
58
|
+
window.global = window;
|
|
59
|
+
</script>
|
|
60
|
+
<base target="_parent" />
|
|
61
|
+
|
|
62
|
+
<style>
|
|
63
|
+
/* While we aren't showing the main block yet, but still preparing, we want everything the user
|
|
64
|
+
has rendered, which may or may not be in #storybook-root, to be display none */
|
|
3
65
|
.sb-show-preparing-story:not(.sb-show-main) > :not(.sb-preparing-story) {
|
|
4
66
|
display: none;
|
|
5
67
|
}
|
|
@@ -23,11 +85,12 @@
|
|
|
23
85
|
min-height: 100vh;
|
|
24
86
|
}
|
|
25
87
|
|
|
26
|
-
.sb-show-main.sb-main-centered #root {
|
|
88
|
+
.sb-show-main.sb-main-centered #storybook-root {
|
|
27
89
|
box-sizing: border-box;
|
|
28
90
|
margin: auto;
|
|
29
91
|
padding: 1rem;
|
|
30
|
-
max-height: 100%;
|
|
92
|
+
max-height: 100%;
|
|
93
|
+
/* Hack for centering correctly in IE11 */
|
|
31
94
|
}
|
|
32
95
|
|
|
33
96
|
/* Vertical centering fix for IE11 */
|
|
@@ -58,13 +121,36 @@
|
|
|
58
121
|
bottom: 0;
|
|
59
122
|
left: 0;
|
|
60
123
|
right: 0;
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
124
|
+
box-sizing: border-box;
|
|
125
|
+
|
|
126
|
+
padding: 40px;
|
|
127
|
+
font-family:
|
|
128
|
+
'Nunito Sans',
|
|
129
|
+
-apple-system,
|
|
130
|
+
'.SFNSText-Regular',
|
|
131
|
+
'San Francisco',
|
|
132
|
+
BlinkMacSystemFont,
|
|
133
|
+
'Segoe UI',
|
|
134
|
+
'Helvetica Neue',
|
|
135
|
+
Helvetica,
|
|
136
|
+
Arial,
|
|
137
|
+
sans-serif;
|
|
64
138
|
-webkit-font-smoothing: antialiased;
|
|
65
139
|
overflow: auto;
|
|
66
140
|
}
|
|
67
141
|
|
|
142
|
+
@media (max-width: 700px) {
|
|
143
|
+
.sb-wrapper {
|
|
144
|
+
padding: 20px;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
@media (max-width: 500px) {
|
|
149
|
+
.sb-wrapper {
|
|
150
|
+
padding: 10px;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
68
154
|
.sb-heading {
|
|
69
155
|
font-size: 14px;
|
|
70
156
|
font-weight: 600;
|
|
@@ -77,6 +163,7 @@
|
|
|
77
163
|
display: flex;
|
|
78
164
|
align-content: center;
|
|
79
165
|
justify-content: center;
|
|
166
|
+
box-sizing: border-box;
|
|
80
167
|
}
|
|
81
168
|
|
|
82
169
|
.sb-nopreview_main {
|
|
@@ -91,54 +178,133 @@
|
|
|
91
178
|
}
|
|
92
179
|
|
|
93
180
|
.sb-errordisplay {
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
color: #fff;
|
|
181
|
+
background: #f6f9fc;
|
|
182
|
+
color: black;
|
|
97
183
|
z-index: 999999;
|
|
184
|
+
width: 100vw;
|
|
185
|
+
min-height: 100vh;
|
|
186
|
+
box-sizing: border-box;
|
|
187
|
+
|
|
188
|
+
& ol {
|
|
189
|
+
padding-left: 18px;
|
|
190
|
+
margin: 0;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
& h1 {
|
|
194
|
+
font-family: Nunito Sans;
|
|
195
|
+
font-size: 22px;
|
|
196
|
+
font-weight: 400;
|
|
197
|
+
line-height: 30px;
|
|
198
|
+
font-weight: normal;
|
|
199
|
+
margin: 0;
|
|
200
|
+
|
|
201
|
+
&::before {
|
|
202
|
+
content: '';
|
|
203
|
+
display: inline-block;
|
|
204
|
+
width: 12px;
|
|
205
|
+
height: 12px;
|
|
206
|
+
background: #ff4400;
|
|
207
|
+
border-radius: 50%;
|
|
208
|
+
margin-right: 8px;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
& p,
|
|
213
|
+
& ol {
|
|
214
|
+
font-family: Nunito Sans;
|
|
215
|
+
font-size: 14px;
|
|
216
|
+
font-weight: 400;
|
|
217
|
+
line-height: 19px;
|
|
218
|
+
margin: 0;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
& li + li {
|
|
222
|
+
margin: 0;
|
|
223
|
+
padding: 0;
|
|
224
|
+
padding-top: 12px;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
& a {
|
|
228
|
+
color: currentColor;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.sb-errordisplay_main {
|
|
233
|
+
margin: auto;
|
|
234
|
+
padding: 24px;
|
|
235
|
+
display: flex;
|
|
236
|
+
box-sizing: border-box;
|
|
237
|
+
|
|
238
|
+
flex-direction: column;
|
|
239
|
+
min-height: 100%;
|
|
240
|
+
width: 100%;
|
|
241
|
+
border-radius: 6px;
|
|
242
|
+
background: white;
|
|
243
|
+
border: 1px solid #ff0000;
|
|
244
|
+
box-shadow: 0 0 64px rgba(0, 0, 0, 0.1);
|
|
245
|
+
gap: 24px;
|
|
98
246
|
}
|
|
99
247
|
|
|
100
248
|
.sb-errordisplay_code {
|
|
101
249
|
padding: 10px;
|
|
102
|
-
|
|
103
|
-
|
|
250
|
+
flex: 1;
|
|
251
|
+
background: #242424;
|
|
252
|
+
color: #c6c6c6;
|
|
253
|
+
box-sizing: border-box;
|
|
254
|
+
|
|
255
|
+
font-size: 14px;
|
|
256
|
+
font-weight: 400;
|
|
257
|
+
line-height: 19px;
|
|
258
|
+
border-radius: 4px;
|
|
259
|
+
|
|
104
260
|
font-family: 'Operator Mono', 'Fira Code Retina', 'Fira Code', 'FiraCode-Retina', 'Andale Mono',
|
|
105
261
|
'Lucida Console', Consolas, Monaco, monospace;
|
|
262
|
+
margin: 0;
|
|
263
|
+
overflow: auto;
|
|
106
264
|
}
|
|
107
265
|
|
|
108
266
|
.sb-errordisplay pre {
|
|
109
267
|
white-space: pre-wrap;
|
|
268
|
+
white-space: revert;
|
|
110
269
|
}
|
|
111
270
|
|
|
112
271
|
@-webkit-keyframes sb-rotate360 {
|
|
113
272
|
from {
|
|
114
273
|
transform: rotate(0deg);
|
|
115
274
|
}
|
|
275
|
+
|
|
116
276
|
to {
|
|
117
277
|
transform: rotate(360deg);
|
|
118
278
|
}
|
|
119
279
|
}
|
|
280
|
+
|
|
120
281
|
@keyframes sb-rotate360 {
|
|
121
282
|
from {
|
|
122
283
|
transform: rotate(0deg);
|
|
123
284
|
}
|
|
285
|
+
|
|
124
286
|
to {
|
|
125
287
|
transform: rotate(360deg);
|
|
126
288
|
}
|
|
127
289
|
}
|
|
290
|
+
|
|
128
291
|
@-webkit-keyframes sb-glow {
|
|
129
292
|
0%,
|
|
130
293
|
100% {
|
|
131
294
|
opacity: 1;
|
|
132
295
|
}
|
|
296
|
+
|
|
133
297
|
50% {
|
|
134
298
|
opacity: 0.4;
|
|
135
299
|
}
|
|
136
300
|
}
|
|
301
|
+
|
|
137
302
|
@keyframes sb-glow {
|
|
138
303
|
0%,
|
|
139
304
|
100% {
|
|
140
305
|
opacity: 1;
|
|
141
306
|
}
|
|
307
|
+
|
|
142
308
|
50% {
|
|
143
309
|
opacity: 0.4;
|
|
144
310
|
}
|
|
@@ -201,6 +367,7 @@
|
|
|
201
367
|
height: 14px;
|
|
202
368
|
width: 14px;
|
|
203
369
|
}
|
|
370
|
+
|
|
204
371
|
.sb-previewBlock_icon:last-child {
|
|
205
372
|
margin-left: auto;
|
|
206
373
|
}
|
|
@@ -222,23 +389,28 @@
|
|
|
222
389
|
text-align: left;
|
|
223
390
|
width: 100%;
|
|
224
391
|
}
|
|
392
|
+
|
|
225
393
|
.sb-argstableBlock th:first-of-type,
|
|
226
394
|
.sb-argstableBlock td:first-of-type {
|
|
227
395
|
padding-left: 20px;
|
|
228
396
|
}
|
|
397
|
+
|
|
229
398
|
.sb-argstableBlock th:nth-of-type(2),
|
|
230
399
|
.sb-argstableBlock td:nth-of-type(2) {
|
|
231
400
|
width: 35%;
|
|
232
401
|
}
|
|
402
|
+
|
|
233
403
|
.sb-argstableBlock th:nth-of-type(3),
|
|
234
404
|
.sb-argstableBlock td:nth-of-type(3) {
|
|
235
405
|
width: 15%;
|
|
236
406
|
}
|
|
407
|
+
|
|
237
408
|
.sb-argstableBlock th:last-of-type,
|
|
238
409
|
.sb-argstableBlock td:last-of-type {
|
|
239
410
|
width: 25%;
|
|
240
411
|
padding-right: 20px;
|
|
241
412
|
}
|
|
413
|
+
|
|
242
414
|
.sb-argstableBlock th span,
|
|
243
415
|
.sb-argstableBlock td span {
|
|
244
416
|
-webkit-animation: sb-glow 1.5s ease-in-out infinite;
|
|
@@ -248,43 +420,55 @@
|
|
|
248
420
|
box-shadow: none;
|
|
249
421
|
color: transparent;
|
|
250
422
|
}
|
|
423
|
+
|
|
251
424
|
.sb-argstableBlock th {
|
|
252
425
|
padding: 10px 15px;
|
|
253
426
|
}
|
|
254
427
|
|
|
255
428
|
.sb-argstableBlock-body {
|
|
256
429
|
border-radius: 4px;
|
|
257
|
-
box-shadow:
|
|
430
|
+
box-shadow:
|
|
431
|
+
rgba(0, 0, 0, 0.1) 0 1px 3px 1px,
|
|
432
|
+
rgba(0, 0, 0, 0.065) 0 0 0 1px;
|
|
258
433
|
}
|
|
434
|
+
|
|
259
435
|
.sb-argstableBlock-body tr {
|
|
260
436
|
background: transparent;
|
|
261
437
|
overflow: hidden;
|
|
262
438
|
}
|
|
439
|
+
|
|
263
440
|
.sb-argstableBlock-body tr:not(:first-child) {
|
|
264
441
|
border-top: 1px solid #e6e6e6;
|
|
265
442
|
}
|
|
443
|
+
|
|
266
444
|
.sb-argstableBlock-body tr:first-child td:first-child {
|
|
267
445
|
border-top-left-radius: 4px;
|
|
268
446
|
}
|
|
447
|
+
|
|
269
448
|
.sb-argstableBlock-body tr:first-child td:last-child {
|
|
270
449
|
border-top-right-radius: 4px;
|
|
271
450
|
}
|
|
451
|
+
|
|
272
452
|
.sb-argstableBlock-body tr:last-child td:first-child {
|
|
273
453
|
border-bottom-left-radius: 4px;
|
|
274
454
|
}
|
|
455
|
+
|
|
275
456
|
.sb-argstableBlock-body tr:last-child td:last-child {
|
|
276
457
|
border-bottom-right-radius: 4px;
|
|
277
458
|
}
|
|
459
|
+
|
|
278
460
|
.sb-argstableBlock-body td {
|
|
279
461
|
background: #fff;
|
|
280
462
|
padding-bottom: 10px;
|
|
281
463
|
padding-top: 10px;
|
|
282
464
|
vertical-align: top;
|
|
283
465
|
}
|
|
466
|
+
|
|
284
467
|
.sb-argstableBlock-body td:not(:first-of-type) {
|
|
285
468
|
padding-left: 15px;
|
|
286
469
|
padding-right: 15px;
|
|
287
470
|
}
|
|
471
|
+
|
|
288
472
|
.sb-argstableBlock-body button {
|
|
289
473
|
-webkit-animation: sb-glow 1.5s ease-in-out infinite;
|
|
290
474
|
animation: sb-glow 1.5s ease-in-out infinite;
|
|
@@ -307,7 +491,11 @@
|
|
|
307
491
|
margin-right: 4px;
|
|
308
492
|
margin-bottom: 4px;
|
|
309
493
|
padding: 2px 5px;
|
|
310
|
-
}
|
|
494
|
+
}
|
|
495
|
+
</style>
|
|
496
|
+
|
|
497
|
+
<script>
|
|
498
|
+
/* globals window */
|
|
311
499
|
/* eslint-disable no-underscore-dangle */
|
|
312
500
|
try {
|
|
313
501
|
if (window.top !== window) {
|
|
@@ -319,46 +507,134 @@
|
|
|
319
507
|
// eslint-disable-next-line no-console
|
|
320
508
|
console.warn('unable to connect to top frame for connecting dev tools');
|
|
321
509
|
}
|
|
510
|
+
</script>
|
|
511
|
+
<link rel="stylesheet" href="./preview.css">
|
|
322
512
|
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
513
|
+
<script type="module" crossorigin src="./assets/iframe-BosoHOVU.js"></script>
|
|
514
|
+
</head>
|
|
515
|
+
|
|
516
|
+
<body>
|
|
517
|
+
<div class="sb-preparing-story sb-wrapper">
|
|
518
|
+
<div class="sb-loader"></div>
|
|
519
|
+
</div>
|
|
520
|
+
|
|
521
|
+
<div class="sb-preparing-docs sb-wrapper">
|
|
522
|
+
<div class="sb-previewBlock">
|
|
523
|
+
<div class="sb-previewBlock_header">
|
|
524
|
+
<div class="sb-previewBlock_icon"></div>
|
|
525
|
+
<div class="sb-previewBlock_icon"></div>
|
|
526
|
+
<div class="sb-previewBlock_icon"></div>
|
|
527
|
+
<div class="sb-previewBlock_icon"></div>
|
|
528
|
+
</div>
|
|
529
|
+
<div class="sb-previewBlock_body">
|
|
530
|
+
<div class="sb-loader"></div>
|
|
531
|
+
</div>
|
|
532
|
+
</div>
|
|
533
|
+
<table aria-hidden="true" class="sb-argstableBlock">
|
|
534
|
+
<thead class="sb-argstableBlock-head">
|
|
535
|
+
<tr>
|
|
536
|
+
<th><span>Name</span></th>
|
|
537
|
+
<th><span>Description</span></th>
|
|
538
|
+
<th><span>Default</span></th>
|
|
539
|
+
<th><span>Control </span></th>
|
|
540
|
+
</tr>
|
|
541
|
+
</thead>
|
|
542
|
+
<tbody class="sb-argstableBlock-body">
|
|
543
|
+
<tr>
|
|
544
|
+
<td><span>propertyName</span><span title="Required">*</span></td>
|
|
545
|
+
<td>
|
|
546
|
+
<div><span>This is a short description</span></div>
|
|
547
|
+
<div class="sb-argstableBlock-summary">
|
|
548
|
+
<div><span class="sb-argstableBlock-code">summary</span></div>
|
|
549
|
+
</div>
|
|
550
|
+
</td>
|
|
551
|
+
<td>
|
|
552
|
+
<div><span class="sb-argstableBlock-code">defaultValue</span></div>
|
|
553
|
+
</td>
|
|
554
|
+
<td><button>Set string</button></td>
|
|
555
|
+
</tr>
|
|
556
|
+
<tr>
|
|
557
|
+
<td><span>propertyName</span><span>*</span></td>
|
|
558
|
+
<td>
|
|
559
|
+
<div><span>This is a short description</span></div>
|
|
560
|
+
<div class="sb-argstableBlock-summary">
|
|
561
|
+
<div><span class="sb-argstableBlock-code">summary</span></div>
|
|
562
|
+
</div>
|
|
563
|
+
</td>
|
|
564
|
+
<td>
|
|
565
|
+
<div><span class="sb-argstableBlock-code">defaultValue</span></div>
|
|
566
|
+
</td>
|
|
567
|
+
<td><button>Set string</button></td>
|
|
568
|
+
</tr>
|
|
569
|
+
<tr>
|
|
570
|
+
<td><span>propertyName</span><span>*</span></td>
|
|
571
|
+
<td>
|
|
572
|
+
<div><span>This is a short description</span></div>
|
|
573
|
+
<div class="sb-argstableBlock-summary">
|
|
574
|
+
<div><span class="sb-argstableBlock-code">summary</span></div>
|
|
575
|
+
</div>
|
|
576
|
+
</td>
|
|
577
|
+
<td>
|
|
578
|
+
<div><span class="sb-argstableBlock-code">defaultValue</span></div>
|
|
579
|
+
</td>
|
|
580
|
+
<td><button>Set string</button></td>
|
|
581
|
+
</tr>
|
|
582
|
+
</tbody>
|
|
583
|
+
</table>
|
|
584
|
+
</div>
|
|
585
|
+
|
|
586
|
+
<div class="sb-nopreview sb-wrapper">
|
|
587
|
+
<div class="sb-nopreview_main">
|
|
588
|
+
<h1 class="sb-nopreview_heading sb-heading">No Preview</h1>
|
|
589
|
+
<p>Sorry, but you either have no stories or none are selected somehow.</p>
|
|
590
|
+
<ul>
|
|
591
|
+
<li>Please check the Storybook config.</li>
|
|
592
|
+
<li>Try reloading the page.</li>
|
|
593
|
+
</ul>
|
|
594
|
+
<p>
|
|
595
|
+
If the problem persists, check the browser console, or the terminal you've run Storybook from.
|
|
596
|
+
</p>
|
|
597
|
+
</div>
|
|
598
|
+
</div>
|
|
599
|
+
|
|
600
|
+
<div class="sb-errordisplay sb-wrapper">
|
|
601
|
+
<div class="sb-errordisplay_main">
|
|
602
|
+
<h1 id="error-message"></h1>
|
|
603
|
+
<p>
|
|
604
|
+
The component failed to render properly, likely due to a configuration issue in Storybook.
|
|
605
|
+
Here are some common causes and how you can address them:
|
|
606
|
+
</p>
|
|
607
|
+
<ol>
|
|
608
|
+
<li>
|
|
609
|
+
<strong>Missing Context/Providers</strong>: You can use decorators to supply specific
|
|
610
|
+
contexts or providers, which are sometimes necessary for components to render correctly. For
|
|
611
|
+
detailed instructions on using decorators, please visit the
|
|
612
|
+
<a href="https://storybook.js.org/docs/react/writing-stories/decorators"
|
|
613
|
+
>Decorators documentation</a
|
|
614
|
+
>.
|
|
615
|
+
</li>
|
|
616
|
+
<li>
|
|
617
|
+
<strong>Misconfigured Webpack or Vite</strong>: Verify that Storybook picks up all necessary
|
|
618
|
+
settings for loaders, plugins, and other relevant parameters. You can find step-by-step
|
|
619
|
+
guides for configuring
|
|
620
|
+
<a href="https://storybook.js.org/docs/builders/webpack">Webpack</a> or
|
|
621
|
+
<a href="https://storybook.js.org/docs/builders/vite">Vite</a>
|
|
622
|
+
with Storybook.
|
|
623
|
+
</li>
|
|
624
|
+
<li>
|
|
625
|
+
<strong>Missing Environment Variables</strong>: Your Storybook may require specific
|
|
626
|
+
environment variables to function as intended. You can set up custom environment variables
|
|
627
|
+
as outlined in the
|
|
628
|
+
<a href="https://storybook.js.org/docs/configure/environment-variables"
|
|
629
|
+
>Environment Variables documentation</a
|
|
630
|
+
>.
|
|
631
|
+
</li>
|
|
632
|
+
</ol>
|
|
633
|
+
<pre class="sb-errordisplay_code"><code id="error-stack"></code></pre>
|
|
634
|
+
</div>
|
|
635
|
+
</div>
|
|
636
|
+
|
|
637
|
+
<div id="storybook-root"></div>
|
|
638
|
+
<div id="storybook-docs"></div>
|
|
639
|
+
</body>
|
|
640
|
+
</html>
|