@bethinkpl/design-system 26.0.0 → 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 +2 -2
- package/.github/workflows/storybook.yml +1 -0
- package/dist/design-system.umd.cjs +18 -18
- package/dist/design-system.umd.cjs.map +1 -1
- package/dist/lib/js/components/Buttons/IconButton/IconButton.vue.d.ts +7 -2
- package/dist/lib/js/components/Image/Image.vue.d.ts +0 -9
- package/dist/lib/js/components/RichList/RichListItem/RichListItem.consts.d.ts +2 -0
- package/dist/lib/js/components/Tooltip/Tooltip.vue.d.ts +1 -3
- package/dist/lib/js/composables/hover-state.d.ts +11 -0
- package/dist/lib/js/utils/device.d.ts +1 -0
- package/docs/.nojekyll +0 -0
- package/docs/assets/{AccessStatus-DmbUcfnj.js → AccessStatus-DVtD0BrS.js} +1 -1
- package/docs/assets/{AccessStatus.stories-A4chErGN.js → AccessStatus.stories-CM9qms_d.js} +1 -1
- package/docs/assets/{BadgeScore-BemJYqyj.js → BadgeScore-B0MHArlW.js} +1 -1
- package/docs/assets/{BadgeScore.stories-BPXCKVhC.js → BadgeScore.stories-BsFc_8XV.js} +1 -1
- package/docs/assets/{Banner-pfk44IPM.js → Banner-Dkt_I8P3.js} +1 -1
- package/docs/assets/{Banner.stories-c-gBrIO8.js → Banner.stories-dLLxP9rS.js} +2 -2
- package/docs/assets/{BasicRichListItem-AsTA4Bbi.js → BasicRichListItem-CCXQ4iJg.js} +1 -1
- package/docs/assets/{BasicRichListItem.stories-Czwcv5qI.js → BasicRichListItem.stories-Bh_UBJkl.js} +2 -2
- package/docs/assets/{BlockadeStatus-BP14rd2v.js → BlockadeStatus-9_pI8WM1.js} +1 -1
- package/docs/assets/{BlockedeStatus.stories-D1nV7jtn.js → BlockedeStatus.stories-IunhqK0I.js} +1 -1
- package/docs/assets/{Button-CsOCHUpA.js → Button-CBZkgukP.js} +1 -1
- package/docs/assets/{Button.stories-DgRYxfVM.js → Button.stories-BLj-_0Vw.js} +1 -1
- package/docs/assets/{Card-0zLvVdOd.js → Card-B7j8o0GU.js} +1 -1
- package/docs/assets/{Card.stories-Cgb9afRr.js → Card.stories-KO99dol6.js} +1 -1
- package/docs/assets/{CardExpandable-BcHS7iI4.js → CardExpandable-XN3wcRwV.js} +1 -1
- package/docs/assets/{CardExpandable.stories-ClQ_GXJM.js → CardExpandable.stories-B9-JtWRG.js} +1 -1
- package/docs/assets/{Checkbox-iiCRqb9X.js → Checkbox-D_geau8n.js} +1 -1
- package/docs/assets/{Checkbox.stories-B5xH1dQS.js → Checkbox.stories-DLfdA87Q.js} +1 -1
- package/docs/assets/Chip-CBqrZ-va.js +1 -0
- package/docs/assets/Chip.stories-DQLbtbRo.js +43 -0
- package/docs/assets/{Color-ERTF36HU-CEwQ7ils.js → Color-ERTF36HU-B622yQt4.js} +1 -1
- package/docs/assets/{Colors.stories--ryhtG1d.js → Colors.stories-CRIOJbgv.js} +1 -1
- package/docs/assets/{ColorsThemes.stories-B2HLeH6E.js → ColorsThemes.stories-BVtVblv7.js} +1 -1
- package/docs/assets/{ColorsTokensLms.stories-PMBYT2Fm.js → ColorsTokensLms.stories-Ds9sWwL0.js} +1 -1
- package/docs/assets/{ColorsTokensPrimaryBodywork.stories-lUhDu8iE.js → ColorsTokensPrimaryBodywork.stories-D9nLEENe.js} +1 -1
- package/docs/assets/{ColorsTokensPrimaryWnl.stories-BOkFFvy-.js → ColorsTokensPrimaryWnl.stories-Cuz6HvAj.js} +1 -1
- package/docs/assets/{CounterToggle-D57390Gy.js → CounterToggle-BzxnFqH7.js} +1 -1
- package/docs/assets/{CounterToggle.stories-D0X3HsZN.js → CounterToggle.stories-DdAjSFMr.js} +1 -1
- package/docs/assets/{DatePicker-DbSgTVrt.js → DatePicker-CvT_E45n.js} +1 -1
- package/docs/assets/{DatePicker.stories-D8DNdcyv.js → DatePicker.stories-Ub_1x6To.js} +1 -1
- package/docs/assets/{Divider-DTjC3ra5.js → Divider-D2yDhW46.js} +1 -1
- package/docs/assets/{Divider.stories-BNCc0JbE.js → Divider.stories-f9QUckyE.js} +1 -1
- package/docs/assets/{DocsRenderer-CFRXHY34-CNTnQBH9.js → DocsRenderer-CFRXHY34-D5Eulb6H.js} +5 -5
- package/docs/assets/{Drawer-BYqj8cV4.js → Drawer-CH5Qyc5B.js} +1 -1
- package/docs/assets/{Drawer.stories-BNJN0Caf.js → Drawer.stories-jrbLBaPT.js} +1 -1
- package/docs/assets/{DrawerContent-COb49qeQ.js → DrawerContent-DGzdUSmd.js} +1 -1
- package/docs/assets/{DrawerContent.stories-Gr488XWC.js → DrawerContent.stories-CYzQPPIy.js} +1 -1
- package/docs/assets/{DrawerDivider-D9zRMkgT.js → DrawerDivider-DNbYnPjf.js} +1 -1
- package/docs/assets/{DrawerDivider.stories-DaQB6xx1.js → DrawerDivider.stories-BG6MKk49.js} +1 -1
- package/docs/assets/{DrawerHeader-B6p3qZIF.js → DrawerHeader-DOWojdwp.js} +1 -1
- package/docs/assets/{DrawerHeader.stories-B-kfnc8L.js → DrawerHeader.stories-CwaoQykQ.js} +2 -2
- package/docs/assets/{DrawerListItem-BzhOaTw8.js → DrawerListItem-aepUTcTm.js} +1 -1
- package/docs/assets/{DrawerListItem.stories-BR2imSXv.js → DrawerListItem.stories-vHXkwtyS.js} +1 -1
- package/docs/assets/{DrawerListItemGroup-BCNB2SNG.js → DrawerListItemGroup-CnH532Dv.js} +1 -1
- package/docs/assets/{DrawerListItemGroup.stories-BfJA4Bq4.js → DrawerListItemGroup.stories-D0DeZ6IG.js} +1 -1
- package/docs/assets/{DrawerSection-Ch4ErDvj.js → DrawerSection-pMhA5dsS.js} +1 -1
- package/docs/assets/{DrawerSection.stories-Ef8aAdAo.js → DrawerSection.stories-BF7A4VyW.js} +3 -3
- package/docs/assets/{DrawerTile-CeAdewpT.js → DrawerTile-W2mt6fAk.js} +1 -1
- package/docs/assets/{DrawerTile.stories-uxygnddh.js → DrawerTile.stories-CUMznN1H.js} +1 -1
- package/docs/assets/{Dropdown-DS0OpB3n.js → Dropdown-BfX0EVaK.js} +1 -1
- package/docs/assets/{Dropdown.stories-936LE7zU.js → Dropdown.stories-DrILA_TR.js} +1 -1
- package/docs/assets/{FeatureIcon-CxqWcu_D.js → FeatureIcon-n65RPvyA.js} +1 -1
- package/docs/assets/{FeatureIcon.stories-C6RgjKe5.js → FeatureIcon.stories-DSUzxIPB.js} +1 -1
- package/docs/assets/{GroupRichListItem-Cx3ap5HX.js → GroupRichListItem-DMiaeyaS.js} +1 -1
- package/docs/assets/{GroupRichListItem.stories-Bvk4uehJ.js → GroupRichListItem.stories-DCEq0Kil.js} +1 -1
- package/docs/assets/{Icon-Dg-H1Zak.js → Icon-BiVaixmr.js} +1 -1
- package/docs/assets/{Icon.stories-ClMbmaEN.js → Icon.stories-BFJuE2aE.js} +1 -1
- package/docs/assets/IconButton-COzU-vlz.js +1 -0
- package/docs/assets/{IconButton.stories-BDjR2DI5.js → IconButton.stories-DGmn7bfg.js} +4 -4
- package/docs/assets/{IconText-BEY1NH1U.js → IconText-DDrVXWHS.js} +1 -1
- package/docs/assets/{IconText.stories-o_hUTU4U.js → IconText.stories-CSt7q9Mf.js} +1 -1
- package/docs/assets/Image-Drmyqqsn.js +1 -0
- package/docs/assets/{Image.stories-Ca8vDRY9.js → Image.stories-DxQ22AFP.js} +1 -1
- package/docs/assets/{ItemsList-DIgoGL1q.js → ItemsList-B-vw083o.js} +1 -1
- package/docs/assets/{LoadingBar-pXWDoaGl.js → LoadingBar-D0iVLCyJ.js} +1 -1
- package/docs/assets/{LoadingBar.stories-B_rq-VmX.js → LoadingBar.stories-IJRD91mF.js} +1 -1
- package/docs/assets/{Modal-BE0wtlkL.js → Modal-CJ0d6Je9.js} +1 -1
- package/docs/assets/Modal.stories-q_qdiakg.js +53 -0
- package/docs/assets/{ModalDialog-BORyZP_f.js → ModalDialog-CbDAxfV_.js} +1 -1
- package/docs/assets/ModalDialog.stories-CKcR8rIW.js +43 -0
- package/docs/assets/{NumberInCircle-BDH9jzjw.js → NumberInCircle-DV0Qrx8H.js} +1 -1
- package/docs/assets/{NumberInCircle.stories-BrAgc3AY.js → NumberInCircle.stories-DriLGDDl.js} +1 -1
- package/docs/assets/{OutlineDivider-Dov4emm3.js → OutlineDivider-Cez9NlcH.js} +1 -1
- package/docs/assets/{OutlineDivider.stories-CaUbTOLr.js → OutlineDivider.stories-D0zYoHBw.js} +1 -1
- package/docs/assets/{OutlineItem-CFzKBXAq.js → OutlineItem-CUHef8Bo.js} +1 -1
- package/docs/assets/{OutlineItem.stories-CVKGFFnl.js → OutlineItem.stories-BgFzRhaY.js} +2 -2
- package/docs/assets/{OutlineSectionHeader-D6c_-tKp.js → OutlineSectionHeader-DSJ4uxfr.js} +1 -1
- package/docs/assets/{OutlineSectionHeader.stories-DbVI05WC.js → OutlineSectionHeader.stories-HOf2NwY-.js} +1 -1
- package/docs/assets/{OverlayHeader-ChMYciZw.js → OverlayHeader-jylszhPO.js} +1 -1
- package/docs/assets/{OverlayHeader.stories-B3naHNtq.js → OverlayHeader.stories-bjFfL93l.js} +2 -2
- package/docs/assets/{PageHeader-BIBHdf3F.js → PageHeader-CTbdU4IG.js} +1 -1
- package/docs/assets/{PageHeader.stories-5b6D1obn.js → PageHeader.stories-DeNf1zoa.js} +1 -1
- package/docs/assets/{Pagination-D09pUv2L.js → Pagination-dSOJSh7t.js} +1 -1
- package/docs/assets/{Pagination.stories-CftgxsGG.js → Pagination.stories-CMg8WaRV.js} +2 -2
- package/docs/assets/{PopOver-CehHpqnB.js → PopOver-BPD1Ttq1.js} +1 -1
- package/docs/assets/{PopOver.stories-DUevH-58.js → PopOver.stories-Cl1k59cl.js} +1 -1
- package/docs/assets/{ProgressBar-BqJKO0Rg.js → ProgressBar-4gBRbr7a.js} +1 -1
- package/docs/assets/{ProgressBar.stories-CHHw9vdm.js → ProgressBar.stories-9xVTh0RH.js} +1 -1
- package/docs/assets/{ProgressDonutChart-DCH6A4IP.js → ProgressDonutChart-D5uvUZva.js} +1 -1
- package/docs/assets/{ProgressDonutChart.stories-BBth7N7p.js → ProgressDonutChart.stories-DBpwl5Vn.js} +1 -1
- package/docs/assets/{RadioButton-D1hHJ5gw.js → RadioButton-BwCzYjOu.js} +1 -1
- package/docs/assets/{RadioButton.stories-BolvVgGo.js → RadioButton.stories-CLWvDUrd.js} +1 -1
- package/docs/assets/{RichListItem.stories-DYhLiKRC.js → RichListItem.stories-DhkQky0J.js} +2 -2
- package/docs/assets/{SectionHeader-BXQYUMZJ.js → SectionHeader-DVwe52kA.js} +1 -1
- package/docs/assets/SectionHeader.stories-Dd3li5ER.js +24 -0
- package/docs/assets/{SectionTitle-D5xtuuuO.js → SectionTitle-XTc-98O5.js} +1 -1
- package/docs/assets/{SectionTitle.stories-CSejCgQ5.js → SectionTitle.stories-BFNagAeb.js} +1 -1
- package/docs/assets/{SelectList-CQ9CvqLg.js → SelectList-CTXM5G8Z.js} +1 -1
- package/docs/assets/{SelectList.stories-CH2vWeZ4.js → SelectList.stories-B2Pq8auf.js} +1 -1
- package/docs/assets/{SelectListItem-BKwWlXCo.js → SelectListItem-_c4CA-YM.js} +1 -1
- package/docs/assets/{SelectListItem.stories-DBfd5lux.js → SelectListItem.stories-PSDnI18x.js} +1 -1
- package/docs/assets/{SelectListItemDivider-CbO60ig_.js → SelectListItemDivider-BOgD7wrO.js} +1 -1
- package/docs/assets/{SelectListItemDivider.stories-Ca-S4U9X.js → SelectListItemDivider.stories-DvANKn2s.js} +1 -1
- package/docs/assets/{SelectListItemTile-BzyPjJ19.js → SelectListItemTile-BL3qYL_0.js} +1 -1
- package/docs/assets/{SelectListItemTile.stories-D6R95vJo.js → SelectListItemTile.stories-CVYmG0Ta.js} +1 -1
- package/docs/assets/{SelectListItemToggle-DKDUJYdT.js → SelectListItemToggle-BjjMPWy0.js} +1 -1
- package/docs/assets/{SelectListItemToggle.stories-DkgRkLc4.js → SelectListItemToggle.stories-D5QL3Gd2.js} +1 -1
- package/docs/assets/{SelectListSectionTitle-CF7GIQ3x.js → SelectListSectionTitle-FihJb1eM.js} +1 -1
- package/docs/assets/{SelectListSectionTitle.stories-CUJ-nWui.js → SelectListSectionTitle.stories-DCyB86A1.js} +1 -1
- package/docs/assets/{SelectionControl-CBn6SHix.js → SelectionControl-BxCh7N21.js} +1 -1
- package/docs/assets/{SelectionTile-ofCDS758.js → SelectionTile-T03MPtEm.js} +2 -2
- package/docs/assets/{SelectionTile.stories-B-6k9_3U.js → SelectionTile.stories-CEufLR64.js} +1 -1
- package/docs/assets/{Skeleton-BHkfJzj2.js → Skeleton-BbafKE6W.js} +1 -1
- package/docs/assets/{Skeleton.stories-B6m8A2m7.js → Skeleton.stories-B_4TqUB5.js} +1 -1
- package/docs/assets/{SurveyQuestionOpenEnded-CK5BMbQr.js → SurveyQuestionOpenEnded-DRFBouQB.js} +1 -1
- package/docs/assets/SurveyQuestionOpenEnded.stories-DW7tQU04.js +20 -0
- package/docs/assets/SurveyQuestionScale-nNC7H5k0.js +1 -0
- package/docs/assets/{SurveyQuestionScale.stories-D5IZlUh2.js → SurveyQuestionScale.stories-DC8qXbl8.js} +2 -2
- package/docs/assets/{SurveyToggle-B26OsXaf.js → SurveyToggle-DzZyc41b.js} +1 -1
- package/docs/assets/{SurveyToggle.stories-DFFSA_hl.js → SurveyToggle.stories-Yf0fJ_p2.js} +1 -1
- package/docs/assets/{Switch-B3HGIUG9.js → Switch-BWGPo7tP.js} +1 -1
- package/docs/assets/{Switch.stories-DkphThGX.js → Switch.stories-BzeYFsr2.js} +1 -1
- package/docs/assets/{TabItem-B46Oc9X7.js → TabItem-Cx2nQ_YR.js} +1 -1
- package/docs/assets/{TabItem.stories-DaWTf1cD.js → TabItem.stories-C-gV8JMj.js} +1 -1
- package/docs/assets/{TextGroup-BuH6WCA9.js → TextGroup-DQmg5luv.js} +1 -1
- package/docs/assets/{TextGroup.stories-BIwyCEXe.js → TextGroup.stories-j5MNzn7U.js} +1 -1
- package/docs/assets/{ThreeColumnLayout-CcqHOKBU.js → ThreeColumnLayout-Lm3LIbid.js} +1 -1
- package/docs/assets/{ThreeColumnLayout.stories-AgLGFFul.js → ThreeColumnLayout.stories-C5cNwOWv.js} +1 -1
- package/docs/assets/{Tile-DIUUFinY.js → Tile-DnH9h0Kq.js} +1 -1
- package/docs/assets/{Tile.sb.shared-BYUHFvZE.js → Tile.sb.shared-2W1FnncR.js} +1 -1
- package/docs/assets/{Tile.stories-DBSFQRYs.js → Tile.stories-Bj7yp21N.js} +1 -1
- package/docs/assets/{Toast.stories-B32fN79y.js → Toast.stories-Bad7itWi.js} +1 -1
- package/docs/assets/{ToggleButton-D1caIRKN.js → ToggleButton-BZ0tVYFv.js} +1 -1
- package/docs/assets/{ToggleButton.stories-Ox_okeJj.js → ToggleButton.stories-D0YPR0-y.js} +1 -1
- package/docs/assets/Tooltip-BxZlo6cR.js +1 -0
- package/docs/assets/{Tooltip.stories-Ew4UB8RG.js → Tooltip.stories-CaTsoTim.js} +6 -6
- package/docs/assets/{TypographyTokensLms.stories-BVVxQejO.js → TypographyTokensLms.stories-D-CrlX5A.js} +1 -1
- package/docs/assets/{TypographyVariables.stories--nfITZgH.js → TypographyVariables.stories-Bmxi44f1.js} +1 -1
- package/docs/assets/{Well-D6PXj9KY.js → Well-vFI2CbIA.js} +1 -1
- package/docs/assets/{Well.stories-Bs38rPx-.js → Well.stories-Be73GX2h.js} +1 -1
- package/docs/assets/device-9fgosCm4.js +1 -0
- package/docs/assets/{entry-preview-BlDOKpbv.js → entry-preview-Dw8qwUcN.js} +1 -1
- package/docs/assets/{entry-preview-docs-C4PrsFMa.js → entry-preview-docs-BBVW7MF3.js} +1 -1
- package/docs/assets/{iframe-Bne3a0Lw.js → iframe-BosoHOVU.js} +6 -6
- package/docs/assets/{index-DzskhL4A.js → index-CgF2Ctku.js} +1 -1
- package/docs/assets/{index-DufQPmIh.js → index-CqU62QSU.js} +1 -1
- package/docs/assets/preview-16ImHjAt.js +64 -0
- package/docs/assets/{preview-Be9dTmNK.js → preview-B_ruAZiw.js} +2 -2
- package/docs/assets/{string-CELe3esY.js → string-CxIy_vwz.js} +1 -1
- package/docs/assets/{vue-popper-Bw2qoyOw.js → vue-popper-BJbr8Gin.js} +1 -1
- package/docs/assets/{vue.esm-bundler-Dgz4BqwH.js → vue.esm-bundler-BSCmGRHc.js} +1 -1
- package/docs/iframe.html +1 -1
- package/docs/project.json +1 -1
- package/lib/js/components/Buttons/IconButton/IconButton.vue +11 -4
- package/lib/js/components/Image/Image.vue +0 -11
- package/lib/js/components/Outline/OutlineItem/OutlineItem.vue +1 -1
- package/lib/js/components/RichList/RichListItem/RichListItem.consts.ts +5 -7
- package/lib/js/components/RichList/RichListItem/RichListItem.vue +6 -2
- package/lib/js/components/Tooltip/Tooltip.vue +2 -10
- package/lib/js/composables/hover-state.ts +39 -0
- package/lib/js/utils/device.ts +7 -0
- package/package.json +1 -1
- package/docs/assets/Chip-DseOCaPi.js +0 -1
- package/docs/assets/Chip.stories-EQIOA9T4.js +0 -43
- package/docs/assets/IconButton-tAYYPmG6.js +0 -1
- package/docs/assets/Image-CCtfgp-1.js +0 -1
- package/docs/assets/Modal.stories-DIdh26ZS.js +0 -53
- package/docs/assets/ModalDialog.stories-McGTQ_On.js +0 -43
- package/docs/assets/SectionHeader.stories-Bk7_88fl.js +0 -24
- package/docs/assets/SurveyQuestionOpenEnded.stories-JDaZMHWo.js +0 -20
- package/docs/assets/SurveyQuestionScale-CqyqGA5t.js +0 -1
- package/docs/assets/Tooltip-448jplYO.js +0 -1
- package/docs/assets/preview-CwXKFurl.js +0 -64
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{I as r,s as o,T as m}from"./ItemsList-
|
|
1
|
+
import{I as r,s as o,T as m}from"./ItemsList-B-vw083o.js";import"./vue.esm-bundler-BSCmGRHc.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const d={title:"foundations/Typography/Variables",component:r},n=a=>({components:{ItemsList:r},setup(){return a},template:`
|
|
2
2
|
<items-list :items-lists="itemsLists" :type="type"></items-list>`}),s=n.bind({}),p={itemsLists:[{title:"Variables",list:o,class:"-ds-theme-wnl"}],type:m.TYPOGRAPHY};s.args=p;s.parameters={design:{type:"figma",url:"https://www.figma.com/file/ABEasgiwLLs91MISXwV7Vs/LMS-TypographyTokens---experiments-v2?node-id=0%3A1"}};var t,e,i;s.parameters={...s.parameters,docs:{...(t=s.parameters)==null?void 0:t.docs,source:{originalSource:`args => ({
|
|
3
3
|
components: {
|
|
4
4
|
ItemsList
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as n,o as l,c as d,f as t,n as o}from"./vue.esm-bundler-
|
|
1
|
+
import{d as n,o as l,c as d,f as t,n as o}from"./vue.esm-bundler-BSCmGRHc.js";import{_ as r}from"./_plugin-vue_export-helper-DlAUqK2U.js";const s={SMALL:"small",MEDIUM:"medium"},a=n({name:"Well",props:{padding:{type:String,default:null,validator(e){return Object.values(s).includes(e)}}},data(){return{WELL_PADDINGS:Object.freeze(s)}}});function i(e,p,m,u,c,f){return l(),d("div",{class:o(["ds-well",{"-ds-medium":e.WELL_PADDINGS.MEDIUM===e.padding,"-ds-small":e.WELL_PADDINGS.SMALL===e.padding}])},[t(e.$slots,"default",{},void 0,!0)],2)}const g=r(a,[["render",i],["__scopeId","data-v-e3187d30"]]);a.__docgenInfo={displayName:"Well",exportName:"default",description:"",tags:{},props:[{name:"padding",type:{name:"string"},defaultValue:{func:!1,value:"null"}}],slots:[{name:"default"}],sourceFiles:["/home/runner/work/design-system/design-system/lib/js/components/Well/Well.vue"]};export{g as W,s as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{W as t,a as n}from"./Well-
|
|
1
|
+
import{W as t,a as n}from"./Well-vFI2CbIA.js";import"./vue.esm-bundler-BSCmGRHc.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const m={title:"Components/Well",component:t,render:r=>({components:{Well:t},setup(){return{args:r}},template:'<well v-bind="args"><div v-html="args.content" /></well>'}),argTypes:{padding:{control:"select",options:[null,...Object.values(n)]},content:{control:"text"}},parameters:{design:{type:"figma",url:"https://www.figma.com/file/oqNhXXGdc4ZnNQ6YNpkLEK/INI-152-Baza-v3---planowanie?node-id=1807-518161&t=sQ5nflpPY2YcPKNc-4"}}},e={args:{padding:null,content:'<h3 style="margin-top: 0">Content</h3>Voluptatem saepe suscipit optio et delectus esse sed velit. Autem maxime soluta aliquam perspiciatis quidem dolor saepe rerum.'}};var s,a,o;e.parameters={...e.parameters,docs:{...(s=e.parameters)==null?void 0:s.docs,source:{originalSource:`{
|
|
2
2
|
args: {
|
|
3
3
|
padding: null,
|
|
4
4
|
content: '<h3 style="margin-top: 0">Content</h3>' + 'Voluptatem saepe suscipit optio et delectus esse sed velit. Autem maxime soluta aliquam perspiciatis quidem dolor saepe rerum.'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const o=()=>"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;export{o as i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{L as p,N,i as w,O as v,J as d}from"./vue.esm-bundler-
|
|
1
|
+
import{L as p,N,i as w,O as v,J as d}from"./vue.esm-bundler-BSCmGRHc.js";var I=Object.defineProperty,j=(e,t)=>{for(var r in t)I(e,r,{get:t[r],enumerable:!0})};const{sanitizeStoryContextUpdate:E}=__STORYBOOK_MODULE_PREVIEW_API__;var F={};j(F,{applyDecorators:()=>U,mount:()=>b,parameters:()=>h,render:()=>y,renderToCanvas:()=>P});var y=(e,t)=>{let{id:r,component:i}=t;if(!i)throw new Error(`Unable to render story ${r} as the component annotation is missing from the default export`);return()=>p(i,e,C(e,t))},A=e=>{var t;(t=globalThis.PLUGINS_SETUP_FUNCTIONS)!=null||(globalThis.PLUGINS_SETUP_FUNCTIONS=new Set),globalThis.PLUGINS_SETUP_FUNCTIONS.add(e)},L=async(e,t)=>{globalThis&&globalThis.PLUGINS_SETUP_FUNCTIONS&&await Promise.all([...globalThis.PLUGINS_SETUP_FUNCTIONS].map(r=>r(e,t)))},g=new Map;async function P({storyFn:e,forceRemount:t,showMain:r,showException:i,storyContext:n,id:a},s){let o=g.get(s);if(o&&!t){let l=e(),c=T(l,n);return R(o.reactiveArgs,c),()=>{_(o.vueApp,s)}}o&&t&&_(o.vueApp,s);let u=N({setup(){n.args=d(n.args);let l=e(),c=T(l,n),f={vueApp:u,reactiveArgs:d(c)};return g.set(s,f),()=>p(l)}});return u.config.errorHandler=(l,c,f)=>{var S;(S=window.__STORYBOOK_PREVIEW__)!=null&&S.storyRenders.some(O=>O.id===a&&O.phase==="playing")?setTimeout(()=>{throw l},0):i(l)},await L(u,n),u.mount(s),r(),()=>{_(u,s)}}function C(e,t){let{argTypes:r}=t,i=Object.entries(e).filter(([n])=>{var a,s;return((s=(a=r[n])==null?void 0:a.table)==null?void 0:s.category)==="slots"}).map(([n,a])=>[n,typeof a=="function"?a:()=>a]);return Object.fromEntries(i)}function T(e,t){return e.props&&w(e)?e.props:t.args}function R(e,t){if(Object.keys(t).length===0)return;let r=v(e)?e:d(e);Object.keys(r).forEach(i=>{i in t||delete r[i]}),Object.assign(r,t)}function _(e,t){e==null||e.unmount(),g.has(t)&&g.delete(t)}function z(e){return typeof e=="function"?{render:e,name:e.name}:e}function m(e,t){let r=e;return r===null?null:typeof r=="function"?r:t?{...z(r),components:{...r.components||{},story:t}}:{render(){return p(r)}}}function U(e,t){return t.reduce((r,i)=>n=>{let a,s=i(o=>{let u=E(o);return o&&(u.args=Object.assign(n.args,u.args)),a=r({...n,...u}),a},n);return a||(a=r(n)),s===a?a:m(s,()=>p(a))},r=>m(e(r)))}var b=e=>async(t,r)=>(t&&(e.originalStoryFn=()=>()=>p(t,r==null?void 0:r.props,r==null?void 0:r.slots)),await e.renderToCanvas(),e.canvas),h={renderer:"vue3"};const D=Object.freeze(Object.defineProperty({__proto__:null,applyDecorators:U,mount:b,parameters:h,render:y,renderToCanvas:P},Symbol.toStringTag,{value:"Module"}));export{D as a,F as e,P as r,A as s};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as C,c as _,N as v,a as j,l as N,D as $,y as A}from"./index-vG0co4wr.js";import{w as E,i as O}from"./vue.esm-bundler-
|
|
1
|
+
import{i as C,c as _,N as v,a as j,l as N,D as $,y as A}from"./index-vG0co4wr.js";import{w as E,i as O}from"./vue.esm-bundler-BSCmGRHc.js";import"./_commonjsHelpers-Chg3vePA.js";const{addons:V}=__STORYBOOK_MODULE_PREVIEW_API__;var T=["props","events","slots","exposed","expose"],D=e=>{if(!v(e))return null;let t="exposed"in e.__docgenInfo?"vue-component-meta":"vue-docgen-api",n={};return T.forEach(r=>{j(e,r).forEach(a=>{let s;if(t==="vue-docgen-api"){let i=a.docgenInfo;s=M(i,r,a)}else{let i=a.docgenInfo;s=q(i,r)}!s||n[s.name]||(["events","expose","exposed"].includes(r)&&(s.control={disable:!0}),n[s.name]=s)})}),n},M=(e,t,n)=>{var i,u,o,l,m;let r,a;if(t==="events"&&(r=(i=e.type)==null?void 0:i.names.join(),a={name:"other",value:r!=null?r:"",required:!1}),t==="slots"){let f=(u=e.bindings)==null?void 0:u.filter(p=>!!p.name).map(p=>{var y,c;return`${p.name}: ${(c=(y=p.type)==null?void 0:y.name)!=null?c:"unknown"}`}).join("; ");r=f?`{ ${f} }`:void 0,a={name:"other",value:r!=null?r:"",required:!1}}if(t==="props"){let f=e;if(r=(o=f.type)==null?void 0:o.name,a=n?N(n.docgenInfo):{name:"other",value:r},f.type&&"elements"in f.type&&Array.isArray(f.type.elements)&&f.type.elements.length>0){let p=f.type.elements.map(y=>y.name);r==="Array"&&(r=`${p.length===1?p[0]:`(${p.join(" | ")})`}[]`),r==="union"?r=p.join(" | "):r==="intersection"&&(r=p.join(" & "))}}let s="required"in e&&(l=e.required)!=null?l:!1;return{name:e.name,description:e.description,type:a?{...a,required:s}:{name:"other",value:r!=null?r:""},table:{type:r?{summary:r}:void 0,defaultValue:(m=n==null?void 0:n.propDef.defaultValue)!=null?m:void 0,jsDocTags:n==null?void 0:n.propDef.jsDocTags,category:t}}},q=(e,t)=>{if("global"in e&&e.global)return;let n={summary:e.type.replace(" | undefined","")};if(t==="props"){let r=e,a=r.default?{summary:r.default}:void 0;return{name:r.name,description:F(r.description,r.tags),defaultValue:a,type:d(r),table:{type:n,defaultValue:a,category:t}}}else return{name:e.name,description:"description"in e?e.description:"",type:{name:"other",value:e.type},table:{type:n,category:t}}},d=e=>{var s,i,u,o;let t=e.schema,n=e.required,r={name:"other",value:e.type,required:n},a=["string","number","function","boolean","symbol"];if(typeof t=="string")return a.includes(t)?{name:t,required:n}:r;switch(t.kind){case"enum":{let l=(i=(s=t.schema)==null?void 0:s.filter(m=>m!=="undefined"))!=null?i:[];return W(l)?{name:"boolean",required:n}:w(l)||k(l)?{name:"enum",value:l.map(m=>m.replace(/"/g,"")),required:n}:l.length===1?d({schema:l[0],type:e.type,required:n}):(l.length>2&&l.includes("true")&&l.includes("false")&&(l=l.filter(m=>m!=="true"&&m!=="false"),l.push("boolean")),{name:"union",value:l.map(m=>d(typeof m=="object"?{schema:m,type:m.type,required:!1}:{schema:m,type:m,required:!1})),required:n})}case"array":{let l=(o=(u=t.schema)==null?void 0:u.filter(m=>m!=="undefined"))!=null?o:[];return l.length===0?r:l.length===1?{name:"array",value:d({schema:l[0],type:e.type,required:!1}),required:n}:{name:"union",value:l.map(m=>d(typeof m=="object"?{schema:m,type:m.type,required:!1}:{schema:m,type:m,required:!1})),required:n}}case"object":return{name:"object",value:{},required:n};default:return r}},F=(e,t)=>!(t!=null&&t.length)||!e?e!=null?e:"":`${t.map(n=>`@${n.name}: ${n.text}`).join("<br>")}<br><br>${e}`,w=e=>e.every(t=>typeof t=="string"&&t.startsWith('"')&&t.endsWith('"')),k=e=>e.every(t=>typeof t=="string"&&t.includes(".")),W=e=>e.length===2&&e.includes("true")&&e.includes("false"),B=(e,t)=>{let n=e();if(I(t))return n;let r=V.getChannel();return E(()=>t.args,()=>{let a=R(t);r.emit(A,{id:t.id,args:t.args,source:a,format:"vue"})},{immediate:!0,deep:!0}),n},R=e=>{let t={imports:{},scriptVariables:{}},{displayName:n,slotNames:r,eventNames:a}=G(e.component),s=h(e.args,r,a,t),i=b(e.args,r,t),u=n||e.title.split("/").at(-1),o=i?`<${u} ${s}> ${i} </${u}>`:`<${u} ${s} />`,l=Object.entries(t.scriptVariables).map(([p,y])=>`const ${p} = ${y};`).join(`
|
|
2
2
|
|
|
3
3
|
`),m=Object.entries(t.imports).map(([p,y])=>`import { ${Array.from(y.values()).sort().join(", ")} } from "${p}";`).join(`
|
|
4
4
|
`),f=`<template>
|