@bethinkpl/design-system 26.3.1 → 26.4.0

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.
Files changed (205) hide show
  1. package/dist/design-system.umd.cjs +18 -18
  2. package/dist/design-system.umd.cjs.map +1 -1
  3. package/dist/lib/js/components/Banner/Banner.vue.d.ts +4 -0
  4. package/dist/lib/js/components/Buttons/Button/Button.vue.d.ts +1 -0
  5. package/dist/lib/js/components/Buttons/IconButton/IconButton.vue.d.ts +2 -0
  6. package/dist/lib/js/components/Cards/CardExpandable/CardExpandable.vue.d.ts +1 -0
  7. package/dist/lib/js/components/Chip/Chip.vue.d.ts +3 -0
  8. package/dist/lib/js/components/DatePickers/DatePicker/DatePicker.vue.d.ts +2 -0
  9. package/dist/lib/js/components/DatePickers/DatePickerBox/DatePickerBox.vue.d.ts +1 -0
  10. package/dist/lib/js/components/DatePickers/DateRangePicker/DateRangePicker.vue.d.ts +1 -0
  11. package/dist/lib/js/components/Drawer/DrawerHeader/DrawerHeader.vue.d.ts +7 -0
  12. package/dist/lib/js/components/Drawer/DrawerListItem/DrawerListItem.vue.d.ts +1 -0
  13. package/dist/lib/js/components/Drawer/DrawerSection/DrawerSection.vue.d.ts +5 -0
  14. package/dist/lib/js/components/Drawer/DrawerTile/DrawerTile.vue.d.ts +1 -0
  15. package/dist/lib/js/components/Form/Checkbox/Checkbox.vue.d.ts +1 -0
  16. package/dist/lib/js/components/Form/RadioButton/RadioButton.vue.d.ts +1 -0
  17. package/dist/lib/js/components/Headers/OverlayHeader/OverlayHeader.vue.d.ts +3 -0
  18. package/dist/lib/js/components/Headers/SectionHeader/SectionHeader.vue.d.ts +3 -0
  19. package/dist/lib/js/components/Icons/Icon/Icon.consts.d.ts +1 -0
  20. package/dist/lib/js/components/Modal/Modal.vue.d.ts +1 -0
  21. package/dist/lib/js/components/Modals/Modal/Modal.vue.d.ts +4 -0
  22. package/dist/lib/js/components/Modals/ModalDialog/ModalDialog.vue.d.ts +4 -0
  23. package/dist/lib/js/components/Outline/OutlineItem/OutlineItem.vue.d.ts +1 -0
  24. package/dist/lib/js/components/Pagination/Pagination.vue.d.ts +4 -0
  25. package/dist/lib/js/components/ProgressBar/ProgressBar.vue.d.ts +1 -0
  26. package/dist/lib/js/components/ProgressDonutChart/ProgressDonutChart.vue.d.ts +1 -0
  27. package/dist/lib/js/components/RichList/BasicRichListItem/BasicRichListItem.vue.d.ts +2 -0
  28. package/dist/lib/js/components/RichList/RichListItem/RichListItem.vue.d.ts +2 -0
  29. package/dist/lib/js/components/SelectList/SelectListItem/SelectListItem.vue.d.ts +1 -0
  30. package/dist/lib/js/components/SelectList/SelectListItemTile/SelectListItemTile.vue.d.ts +1 -0
  31. package/dist/lib/js/components/SelectList/SelectListItemToggle/SelectListItemToggle.vue.d.ts +1 -0
  32. package/dist/lib/js/components/SelectionTile/SelectionTile.vue.d.ts +3 -0
  33. package/dist/lib/js/components/Statuses/AccessStatus/AccessStatus.vue.d.ts +1 -0
  34. package/dist/lib/js/components/Statuses/BlockadeStatus/BlockadeStatus.vue.d.ts +1 -0
  35. package/dist/lib/js/components/SurveyQuestions/SurveyQuestionOpenEnded/SurveyQuestionOpenEnded.vue.d.ts +5 -0
  36. package/dist/lib/js/components/SurveyQuestions/SurveyQuestionScale/SurveyQuestionScale.vue.d.ts +5 -0
  37. package/dist/lib/js/components/Switch/Switch.vue.d.ts +1 -0
  38. package/dist/lib/js/components/Tile/Tile.sb.shared.d.ts +1 -0
  39. package/dist/lib/js/components/Tile/Tile.vue.d.ts +1 -0
  40. package/dist/lib/js/components/Toast/Toast.vue.d.ts +1 -0
  41. package/dist/lib/js/components/Toggles/ToggleButton/ToggleButton.vue.d.ts +1 -0
  42. package/dist/lib/js/icons/fontawesome.d.ts +1 -0
  43. package/docs/assets/{AccessStatus-hWUALK-7.js → AccessStatus-Dz1vfbnh.js} +1 -1
  44. package/docs/assets/{AccessStatus.stories-tYSFEaM3.js → AccessStatus.stories-BC2FqmS7.js} +1 -1
  45. package/docs/assets/{BadgeScore-Bz-odlMA.js → BadgeScore-C0Ghj-5s.js} +1 -1
  46. package/docs/assets/{BadgeScore.stories-MUc8H4FV.js → BadgeScore.stories-DQOL_ZiP.js} +1 -1
  47. package/docs/assets/{Banner-C2UT61lH.js → Banner-BmKYBJ1B.js} +1 -1
  48. package/docs/assets/{Banner.stories-kNlG5iAF.js → Banner.stories-BPHdgNAZ.js} +1 -1
  49. package/docs/assets/{BasicRichListItem-DyO0o6sl.js → BasicRichListItem-VxP1mYya.js} +1 -1
  50. package/docs/assets/{BasicRichListItem.stories-DA9RpruC.js → BasicRichListItem.stories-CYAxAAa4.js} +1 -1
  51. package/docs/assets/{BlockadeStatus-CNSUsB1u.js → BlockadeStatus-4Zx578QV.js} +1 -1
  52. package/docs/assets/{BlockedeStatus.stories-BnymGZoo.js → BlockedeStatus.stories-CeCB1B6k.js} +1 -1
  53. package/docs/assets/{Button-B8CAc1rL.js → Button-DVtHJ-a3.js} +1 -1
  54. package/docs/assets/{Button.stories-DMUT6CSE.js → Button.stories-D7PDCOOm.js} +1 -1
  55. package/docs/assets/{Card-DQn9130w.js → Card-CbIL2Iiq.js} +1 -1
  56. package/docs/assets/{Card.stories-Bws-4i9c.js → Card.stories-sWfj8JIt.js} +1 -1
  57. package/docs/assets/{CardExpandable-DcS9Rs_k.js → CardExpandable-DvrXNsTR.js} +1 -1
  58. package/docs/assets/{CardExpandable.stories-BWlKtdtN.js → CardExpandable.stories-CeNHupz8.js} +1 -1
  59. package/docs/assets/{Checkbox-B7oe-wbJ.js → Checkbox-Bk9Hyj7u.js} +1 -1
  60. package/docs/assets/{Checkbox.stories-CqXhEcpy.js → Checkbox.stories-C9VNatGb.js} +1 -1
  61. package/docs/assets/{Chip-BiYhA48J.js → Chip-D-3z8YPj.js} +1 -1
  62. package/docs/assets/{Chip.stories-OjxSnWys.js → Chip.stories-CjFXBnam.js} +1 -1
  63. package/docs/assets/{Color-ERTF36HU-K4m1uoMM.js → Color-ERTF36HU-BKLy-2-d.js} +1 -1
  64. package/docs/assets/{Colors.stories-B9f3lzBZ.js → Colors.stories-CrtG5S4A.js} +1 -1
  65. package/docs/assets/{ColorsThemes.stories-DnjmHl__.js → ColorsThemes.stories-B_DRVheO.js} +1 -1
  66. package/docs/assets/{ColorsTokensLms.stories-BwtJlugM.js → ColorsTokensLms.stories-DNXNDpp5.js} +1 -1
  67. package/docs/assets/{ColorsTokensPrimaryBodywork.stories-C-UIhsfw.js → ColorsTokensPrimaryBodywork.stories-MZpI5IXh.js} +1 -1
  68. package/docs/assets/{ColorsTokensPrimaryWnl.stories-pZHESTNX.js → ColorsTokensPrimaryWnl.stories-D8POK0cA.js} +1 -1
  69. package/docs/assets/{CounterToggle-ByCgwkoS.js → CounterToggle-FQNWJcH5.js} +1 -1
  70. package/docs/assets/{CounterToggle.stories-DZbjvhdl.js → CounterToggle.stories-B63J-wko.js} +1 -1
  71. package/docs/assets/{DatePicker-BXXVSwfW.js → DatePicker-B1ILf2Dx.js} +1 -1
  72. package/docs/assets/{DatePicker.stories-CEo-vlt1.js → DatePicker.stories-DOAIlaQC.js} +1 -1
  73. package/docs/assets/DateRangePicker-DCZj8tMQ.js +1 -0
  74. package/docs/assets/{DateRangePicker.stories-BB7YSjwD.js → DateRangePicker.stories-BEQd6aEn.js} +1 -1
  75. package/docs/assets/{Divider-ClNbKvxH.js → Divider-4HN2u4Et.js} +1 -1
  76. package/docs/assets/{Divider.stories-DjiliY9Q.js → Divider.stories-BCrs-P64.js} +1 -1
  77. package/docs/assets/{DocsRenderer-CFRXHY34-BWfggoiY.js → DocsRenderer-CFRXHY34-vJAQuqDP.js} +5 -5
  78. package/docs/assets/{Drawer-CPwHZ_w7.js → Drawer-DRYKGdtt.js} +1 -1
  79. package/docs/assets/{Drawer.stories-COUOUpGR.js → Drawer.stories-DNAfMM9D.js} +1 -1
  80. package/docs/assets/{DrawerContent-D-JrB94m.js → DrawerContent-CY64oeID.js} +1 -1
  81. package/docs/assets/{DrawerContent.stories-C01c08bP.js → DrawerContent.stories-CJRbiAKZ.js} +1 -1
  82. package/docs/assets/{DrawerDivider-glZ2sb5T.js → DrawerDivider-B6matEEg.js} +1 -1
  83. package/docs/assets/{DrawerDivider.stories-KJO8nE32.js → DrawerDivider.stories-DkEGw1YV.js} +1 -1
  84. package/docs/assets/{DrawerHeader-uLWF4ZhP.js → DrawerHeader-kxEGS3hp.js} +1 -1
  85. package/docs/assets/{DrawerHeader.stories-Bj5E3Ypw.js → DrawerHeader.stories-C696CXDI.js} +1 -1
  86. package/docs/assets/{DrawerListItem-DHCAMWPh.js → DrawerListItem-k3WHGFah.js} +1 -1
  87. package/docs/assets/{DrawerListItem.stories-B7eEIAHJ.js → DrawerListItem.stories-DUxJpobr.js} +1 -1
  88. package/docs/assets/{DrawerListItemGroup-BJGU_uck.js → DrawerListItemGroup-B40g16RV.js} +1 -1
  89. package/docs/assets/{DrawerListItemGroup.stories-B374u25r.js → DrawerListItemGroup.stories-Crms7R86.js} +1 -1
  90. package/docs/assets/DrawerSection-DIeDQFNf.js +1 -0
  91. package/docs/assets/{DrawerSection.stories-B8c0mEzB.js → DrawerSection.stories-DgdmLwYu.js} +1 -1
  92. package/docs/assets/{DrawerTile-CHylUbA8.js → DrawerTile-BqpTb_42.js} +1 -1
  93. package/docs/assets/{DrawerTile.stories-BrRxiBDk.js → DrawerTile.stories-BXRxmk1J.js} +1 -1
  94. package/docs/assets/{Dropdown-BFqYgkV7.js → Dropdown-CR-eIdCF.js} +1 -1
  95. package/docs/assets/{Dropdown.stories-TKrTFBJN.js → Dropdown.stories-Caf2EapU.js} +1 -1
  96. package/docs/assets/{FeatureIcon-Ds4nRKfB.js → FeatureIcon-B09zj5Bd.js} +1 -1
  97. package/docs/assets/{FeatureIcon.stories-bccPUPZf.js → FeatureIcon.stories-CGmHfPT3.js} +1 -1
  98. package/docs/assets/{GroupRichListItem-DLFn195Q.js → GroupRichListItem-DEqhXKuF.js} +1 -1
  99. package/docs/assets/{GroupRichListItem.stories-wLdB-0Oa.js → GroupRichListItem.stories-y32zxNgh.js} +1 -1
  100. package/docs/assets/Icon-ChGia3n4.js +761 -0
  101. package/docs/assets/{Icon.stories-B3V1ckLg.js → Icon.stories-CY_HHNiQ.js} +1 -1
  102. package/docs/assets/{IconButton-BSj_HuA7.js → IconButton-rhUVXzuc.js} +1 -1
  103. package/docs/assets/{IconButton.stories-DiZwDb6r.js → IconButton.stories-DFB0l3TX.js} +1 -1
  104. package/docs/assets/{IconText-Dow4OhZ0.js → IconText-CKA7x6Oe.js} +1 -1
  105. package/docs/assets/{IconText.stories-CN_rDFNI.js → IconText.stories-DI_tSPTu.js} +1 -1
  106. package/docs/assets/{Image-DQHO1hnh.js → Image-BF_Kx0up.js} +1 -1
  107. package/docs/assets/{Image.stories-Dwie4X6O.js → Image.stories-BXYD86R1.js} +1 -1
  108. package/docs/assets/{ItemsList-MJRUsJOD.js → ItemsList-DxGr2MB5.js} +1 -1
  109. package/docs/assets/{LoadingBar-Bo6mXGaA.js → LoadingBar-BeOPZFzu.js} +1 -1
  110. package/docs/assets/{LoadingBar.stories-DeC3pmh8.js → LoadingBar.stories-BJeb9oll.js} +1 -1
  111. package/docs/assets/{Modal-DSJUdAlr.js → Modal-xys3UXAy.js} +1 -1
  112. package/docs/assets/{Modal.stories-B2usDY_X.js → Modal.stories-DL5mJmSa.js} +1 -1
  113. package/docs/assets/{ModalDialog-Dh8qNpS6.js → ModalDialog-C79kCvIP.js} +1 -1
  114. package/docs/assets/{ModalDialog.stories-B5GSajrD.js → ModalDialog.stories-DevcfCkg.js} +1 -1
  115. package/docs/assets/{NumberInCircle-CvJAMxEl.js → NumberInCircle-Cqbd2PUf.js} +1 -1
  116. package/docs/assets/{NumberInCircle.stories-CIPheFEZ.js → NumberInCircle.stories--_6-RNlU.js} +1 -1
  117. package/docs/assets/{OutlineDivider-F421Sb92.js → OutlineDivider-9phD7EaD.js} +1 -1
  118. package/docs/assets/{OutlineDivider.stories-DOJmAB4N.js → OutlineDivider.stories-LsrVcpfQ.js} +1 -1
  119. package/docs/assets/{OutlineItem-CIOJyOIB.js → OutlineItem-BSNc7fID.js} +1 -1
  120. package/docs/assets/{OutlineItem.stories-YOVlI8zj.js → OutlineItem.stories-CEsNJBgo.js} +1 -1
  121. package/docs/assets/{OutlineSectionHeader-BTQYgDGK.js → OutlineSectionHeader-BDh6TrVb.js} +1 -1
  122. package/docs/assets/{OutlineSectionHeader.stories-DAOIEP47.js → OutlineSectionHeader.stories-CPuYAPXa.js} +1 -1
  123. package/docs/assets/{OverlayHeader-CoVz91vL.js → OverlayHeader-Cuwk2J3B.js} +1 -1
  124. package/docs/assets/{OverlayHeader.stories-Ksx3RyBb.js → OverlayHeader.stories-WMRsiDpt.js} +1 -1
  125. package/docs/assets/{PageHeader-ybo14zma.js → PageHeader-CwyCLKPQ.js} +1 -1
  126. package/docs/assets/{PageHeader.stories-C84k8UsA.js → PageHeader.stories-BaavDroe.js} +1 -1
  127. package/docs/assets/{Pagination-vyNg72zL.js → Pagination-XlcLXTgM.js} +1 -1
  128. package/docs/assets/{Pagination.stories-3Zjk2w5F.js → Pagination.stories-CGBJ2Sad.js} +1 -1
  129. package/docs/assets/{PopOver-Das8oa0-.js → PopOver-CQVq9c4Z.js} +1 -1
  130. package/docs/assets/{PopOver.stories-yEOxDdKI.js → PopOver.stories-g1F8AUJI.js} +1 -1
  131. package/docs/assets/{ProgressBar-CagavvzY.js → ProgressBar-3iykKXJT.js} +1 -1
  132. package/docs/assets/{ProgressBar.stories-JYo8zUrL.js → ProgressBar.stories-BV7Hhjoe.js} +1 -1
  133. package/docs/assets/{ProgressDonutChart-wBkk51RI.js → ProgressDonutChart-6EInE7M5.js} +1 -1
  134. package/docs/assets/{ProgressDonutChart.stories-aVcnSkw6.js → ProgressDonutChart.stories-C_u9MjFX.js} +1 -1
  135. package/docs/assets/{RadioButton-fLgXVSYQ.js → RadioButton-zouOWpRs.js} +1 -1
  136. package/docs/assets/{RadioButton.stories-BaGOqO1m.js → RadioButton.stories-pnmyqoJH.js} +1 -1
  137. package/docs/assets/{RichListItem.stories-Csenjsbe.js → RichListItem.stories-CtgWAG3q.js} +1 -1
  138. package/docs/assets/{SectionHeader-wxwJCOPp.js → SectionHeader-C2Y0CGjY.js} +1 -1
  139. package/docs/assets/{SectionHeader.stories-BmXbtH8Z.js → SectionHeader.stories-B0gOYosA.js} +1 -1
  140. package/docs/assets/{SectionTitle-Bo_ArbM7.js → SectionTitle-B1v2FcuB.js} +1 -1
  141. package/docs/assets/{SectionTitle.stories-DWuWduVl.js → SectionTitle.stories-BogJgzAG.js} +1 -1
  142. package/docs/assets/{SelectList-DWop0yaP.js → SelectList-CiuxFUk4.js} +1 -1
  143. package/docs/assets/{SelectList.stories-Brddzccq.js → SelectList.stories-DX-fFMoD.js} +1 -1
  144. package/docs/assets/{SelectListItem-BFm33ncs.js → SelectListItem-BU_U7IZs.js} +1 -1
  145. package/docs/assets/{SelectListItem.stories-COXy-xBv.js → SelectListItem.stories-Dy3EXPN_.js} +1 -1
  146. package/docs/assets/{SelectListItemDivider-CU5vX-7p.js → SelectListItemDivider-CIueguWt.js} +1 -1
  147. package/docs/assets/{SelectListItemDivider.stories-DSXQ6aee.js → SelectListItemDivider.stories-CYkoQqyL.js} +1 -1
  148. package/docs/assets/{SelectListItemTile-C4fBfRzh.js → SelectListItemTile-CRDx7Wjx.js} +1 -1
  149. package/docs/assets/{SelectListItemTile.stories-Cb0ZqUS7.js → SelectListItemTile.stories-CADs56nZ.js} +1 -1
  150. package/docs/assets/{SelectListItemToggle-QxU9-4E7.js → SelectListItemToggle-C1VDDxAm.js} +1 -1
  151. package/docs/assets/{SelectListItemToggle.stories-B8DgBtuT.js → SelectListItemToggle.stories-d_Sto0ry.js} +1 -1
  152. package/docs/assets/{SelectListSectionTitle-DKYayu9U.js → SelectListSectionTitle-DBd3RwED.js} +1 -1
  153. package/docs/assets/{SelectListSectionTitle.stories-DM4MR7e2.js → SelectListSectionTitle.stories-BrIWdRit.js} +1 -1
  154. package/docs/assets/{SelectionControl-rpcCdIb9.js → SelectionControl-DEv8iTfR.js} +1 -1
  155. package/docs/assets/{SelectionTile-BiygSsH5.js → SelectionTile-dsZMyVPh.js} +2 -2
  156. package/docs/assets/{SelectionTile.stories-ChzlrhTW.js → SelectionTile.stories-DsAapWdD.js} +1 -1
  157. package/docs/assets/{Skeleton-CMYm0ueF.js → Skeleton-Budxm1Jq.js} +1 -1
  158. package/docs/assets/{Skeleton.stories-CepOvJUE.js → Skeleton.stories-C5oyivEw.js} +1 -1
  159. package/docs/assets/{SurveyQuestionOpenEnded-BsVd4zvh.js → SurveyQuestionOpenEnded-7vjfdqDE.js} +1 -1
  160. package/docs/assets/{SurveyQuestionOpenEnded.stories-BEeTsSOi.js → SurveyQuestionOpenEnded.stories-DOs_GSRG.js} +1 -1
  161. package/docs/assets/{SurveyQuestionScale-gccsfvoW.js → SurveyQuestionScale-OhARHAbk.js} +1 -1
  162. package/docs/assets/{SurveyQuestionScale.stories-B0OLLgu4.js → SurveyQuestionScale.stories-Bi7NxxtA.js} +1 -1
  163. package/docs/assets/SurveyToggle-CyohUVKo.js +1 -0
  164. package/docs/assets/{SurveyToggle.stories-Dd3iq7iU.js → SurveyToggle.stories-ghYQJDpX.js} +1 -1
  165. package/docs/assets/{Switch-DKKwg29G.js → Switch-BtYFtHgw.js} +1 -1
  166. package/docs/assets/{Switch.stories-DgeYLJ9S.js → Switch.stories-DmNV0lil.js} +1 -1
  167. package/docs/assets/{TabItem-CI2T_BRa.js → TabItem-GC7LQNvp.js} +1 -1
  168. package/docs/assets/{TabItem.stories-BuDITNix.js → TabItem.stories-DbiRd9vV.js} +1 -1
  169. package/docs/assets/{TextGroup-F6Fc0qPD.js → TextGroup-C6PK25ok.js} +1 -1
  170. package/docs/assets/{TextGroup.stories-BZSgsAp8.js → TextGroup.stories-DnrIWKMT.js} +1 -1
  171. package/docs/assets/{ThreeColumnLayout-DLip97ZI.js → ThreeColumnLayout-CRPRmmvx.js} +1 -1
  172. package/docs/assets/{ThreeColumnLayout.stories-pCRL0b7M.js → ThreeColumnLayout.stories-CeCLjYHh.js} +1 -1
  173. package/docs/assets/{Tile-D02Mnslq.js → Tile-C731KsjF.js} +1 -1
  174. package/docs/assets/{Tile.sb.shared-Bw4hCqo6.js → Tile.sb.shared-Dr6W7Z8_.js} +1 -1
  175. package/docs/assets/{Tile.stories-DuT3b3-t.js → Tile.stories-CZlgEnY4.js} +1 -1
  176. package/docs/assets/{Toast-2b3fjN6i.js → Toast-Dgoj-mgi.js} +1 -1
  177. package/docs/assets/{Toast.stories-D8AB_V4U.js → Toast.stories-BxXNn_Nb.js} +1 -1
  178. package/docs/assets/{ToggleButton-D0n6uWjI.js → ToggleButton-APZXu2t7.js} +1 -1
  179. package/docs/assets/{ToggleButton.stories-CSQaRNeF.js → ToggleButton.stories-DO-p6P3s.js} +1 -1
  180. package/docs/assets/{Tooltip-CPu68UXg.js → Tooltip-4m2CjENZ.js} +1 -1
  181. package/docs/assets/{Tooltip.stories-DrbKu0eB.js → Tooltip.stories-B94PUKgP.js} +1 -1
  182. package/docs/assets/{TypographyTokensLms.stories-CGkGkK-q.js → TypographyTokensLms.stories-PrEmdBHF.js} +1 -1
  183. package/docs/assets/{TypographyVariables.stories-BfiRWJuY.js → TypographyVariables.stories-CP8aNZmQ.js} +1 -1
  184. package/docs/assets/{Well-D7yLLQH0.js → Well-DSgC9yDa.js} +1 -1
  185. package/docs/assets/{Well.stories-e-ci7Apm.js → Well.stories-02Hpe7cX.js} +1 -1
  186. package/docs/assets/{entry-preview-BJQG7gOd.js → entry-preview-Dzwhc6UB.js} +1 -1
  187. package/docs/assets/{entry-preview-docs-ivqbfzAL.js → entry-preview-docs-b1BM2N0G.js} +1 -1
  188. package/docs/assets/{iframe-2_y64uNE.js → iframe-DuOsjH1S.js} +3 -3
  189. package/docs/assets/{index-Bp58GzzD.js → index-D4AlyEjM.js} +1 -1
  190. package/docs/assets/{index-ClkwGsCf.js → index-TQ9qBbRg.js} +1 -1
  191. package/docs/assets/{preview-DDpS9IAH.js → preview-BjkZFWp3.js} +2 -2
  192. package/docs/assets/{preview-B5_41mPz.js → preview-D76Q7lmj.js} +1 -1
  193. package/docs/assets/{string-LgH8jFZ8.js → string-BIzBNuWk.js} +1 -1
  194. package/docs/assets/{vue-popper-D-VHfyeL.js → vue-popper-CpfGMX4Q.js} +1 -1
  195. package/docs/assets/{vue.esm-bundler-CzUSCRPq.js → vue.esm-bundler-CWlcb7ht.js} +1 -1
  196. package/docs/iframe.html +1 -1
  197. package/docs/project.json +1 -1
  198. package/lib/js/components/Drawer/DrawerContent/DrawerContent.vue +1 -1
  199. package/lib/js/components/Drawer/DrawerSection/DrawerSection.vue +2 -1
  200. package/lib/js/icons/fontawesome.ts +2 -0
  201. package/package.json +1 -1
  202. package/docs/assets/DateRangePicker-C_Ji1pbO.js +0 -1
  203. package/docs/assets/DrawerSection-R-ei7dU4.js +0 -1
  204. package/docs/assets/Icon-DOGQpP6-.js +0 -761
  205. package/docs/assets/SurveyToggle-XYZbLcE5.js +0 -1
@@ -1 +1 @@
1
- import{a as _,I as y,b as I}from"./Icon-DOGQpP6-.js";import{d as p,r as g,o as s,c as n,a as d,f as i,g as $,u,h as m,n as b}from"./vue.esm-bundler-CzUSCRPq.js";import{_ as c}from"./_plugin-vue_export-helper-DlAUqK2U.js";const f=p({name:"Modal",components:{WnlIcon:_},props:{showHeader:{type:Boolean,default:!0},animateScrollingContent:{type:Boolean,default:!1}},emits:["close-modal"],data(){return{ICONS:Object.freeze(y),ICON_SIZES:Object.freeze(I)}}}),C={key:0,class:"m-modal__header"},N={key:1,class:"m-modal__footer"};function w(e,a,o,l,t,S){const r=g("wnl-icon");return s(),n("div",{class:"m-modal",onClick:a[2]||(a[2]=u(h=>e.$emit("close-modal"),["stop"]))},[d("div",{class:"m-modal__contentWrapper",onClick:a[1]||(a[1]=u(()=>{},["stop"]))},[e.showHeader?(s(),n("div",C,[i(e.$slots,"header",{},void 0,!0),$(r,{touchable:"",icon:e.ICONS.FA_XMARK,class:"m-modal__header__close",size:e.ICON_SIZES.SMALL,onClick:a[0]||(a[0]=u(h=>e.$emit("close-modal"),["stop"]))},null,8,["icon","size"])])):m("",!0),d("div",{class:b(["m-modal__content",{"scrollable-main-container":e.animateScrollingContent}])},[i(e.$slots,"default",{},void 0,!0)],2),a[3]||(a[3]=d("div",{class:"m-modal__content__shadow"},null,-1)),e.$slots.footer?(s(),n("div",N,[i(e.$slots,"footer",{},void 0,!0)])):m("",!0)])])}const A=c(f,[["render",w],["__scopeId","data-v-b165f419"]]);f.__docgenInfo={displayName:"Modal",exportName:"default",description:"",tags:{},props:[{name:"showHeader",type:{name:"boolean"},defaultValue:{func:!1,value:"true"}},{name:"animateScrollingContent",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}}],events:[{name:"close-modal"}],slots:[{name:"header"},{name:"default"},{name:"footer"}],sourceFiles:["/home/runner/work/design-system/design-system/lib/js/components/Modal/Modal.vue"]};const V={DEFAULT:"default",DISABLED:"disabled"},Q={ONE:"one",TWO:"two"},v=p({name:"SurveyQuestionTextarea",props:{value:{type:String,required:!0},placeholder:{type:String,default:"Wpisz swoją odpowiedź"},disabled:{type:Boolean,default:!1}},emits:["input"],watch:{value(){this.$refs.textarea.style.height="auto",this.$refs.textarea.style.height=this.$refs.textarea.scrollHeight+"px"}},methods:{onInput(e){this.$emit("input",e.target.value)}}}),E=["disabled","placeholder","value"];function O(e,a,o,l,t,S){return s(),n("textarea",{ref:"textarea",class:"ds-surveyQuestionTextarea",disabled:e.disabled,placeholder:e.placeholder,value:e.value,onInput:a[0]||(a[0]=(...r)=>e.onInput&&e.onInput(...r))},null,40,E)}const z=c(v,[["render",O],["__scopeId","data-v-a0f836ab"]]);v.__docgenInfo={displayName:"SurveyQuestionTextarea",exportName:"default",description:"",tags:{},props:[{name:"value",type:{name:"string"},required:!0},{name:"placeholder",type:{name:"string"},defaultValue:{func:!1,value:"'Wpisz swoją odpowiedź'"}},{name:"disabled",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}}],events:[{name:"input",type:{names:["undefined"]}}],sourceFiles:["/home/runner/work/design-system/design-system/lib/js/components/SurveyQuestions/SurveyQuestionTextarea.vue"]};const B=e=>{for(var a="",o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",l=o.length,t=0;t<e;t++)a+=o.charAt(Math.floor(Math.random()*l));return a};export{A as M,V as S,Q as a,z as b,B as r};
1
+ import{a as h,I as y,b as I}from"./Icon-ChGia3n4.js";import{d as p,r as g,o as s,c as n,a as d,f as i,k as $,u,g as m,n as b}from"./vue.esm-bundler-CWlcb7ht.js";import{_ as c}from"./_plugin-vue_export-helper-DlAUqK2U.js";const f=p({name:"Modal",components:{WnlIcon:h},props:{showHeader:{type:Boolean,default:!0},animateScrollingContent:{type:Boolean,default:!1}},emits:["close-modal"],data(){return{ICONS:Object.freeze(y),ICON_SIZES:Object.freeze(I)}}}),C={key:0,class:"m-modal__header"},N={key:1,class:"m-modal__footer"};function w(e,a,o,l,t,S){const r=g("wnl-icon");return s(),n("div",{class:"m-modal",onClick:a[2]||(a[2]=u(_=>e.$emit("close-modal"),["stop"]))},[d("div",{class:"m-modal__contentWrapper",onClick:a[1]||(a[1]=u(()=>{},["stop"]))},[e.showHeader?(s(),n("div",C,[i(e.$slots,"header",{},void 0,!0),$(r,{touchable:"",icon:e.ICONS.FA_XMARK,class:"m-modal__header__close",size:e.ICON_SIZES.SMALL,onClick:a[0]||(a[0]=u(_=>e.$emit("close-modal"),["stop"]))},null,8,["icon","size"])])):m("",!0),d("div",{class:b(["m-modal__content",{"scrollable-main-container":e.animateScrollingContent}])},[i(e.$slots,"default",{},void 0,!0)],2),a[3]||(a[3]=d("div",{class:"m-modal__content__shadow"},null,-1)),e.$slots.footer?(s(),n("div",N,[i(e.$slots,"footer",{},void 0,!0)])):m("",!0)])])}const A=c(f,[["render",w],["__scopeId","data-v-b165f419"]]);f.__docgenInfo={displayName:"Modal",exportName:"default",description:"",tags:{},props:[{name:"showHeader",type:{name:"boolean"},defaultValue:{func:!1,value:"true"}},{name:"animateScrollingContent",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}}],events:[{name:"close-modal"}],slots:[{name:"header"},{name:"default"},{name:"footer"}],sourceFiles:["/home/runner/work/design-system/design-system/lib/js/components/Modal/Modal.vue"]};const V={DEFAULT:"default",DISABLED:"disabled"},Q={ONE:"one",TWO:"two"},v=p({name:"SurveyQuestionTextarea",props:{value:{type:String,required:!0},placeholder:{type:String,default:"Wpisz swoją odpowiedź"},disabled:{type:Boolean,default:!1}},emits:["input"],watch:{value(){this.$refs.textarea.style.height="auto",this.$refs.textarea.style.height=this.$refs.textarea.scrollHeight+"px"}},methods:{onInput(e){this.$emit("input",e.target.value)}}}),E=["disabled","placeholder","value"];function O(e,a,o,l,t,S){return s(),n("textarea",{ref:"textarea",class:"ds-surveyQuestionTextarea",disabled:e.disabled,placeholder:e.placeholder,value:e.value,onInput:a[0]||(a[0]=(...r)=>e.onInput&&e.onInput(...r))},null,40,E)}const z=c(v,[["render",O],["__scopeId","data-v-a0f836ab"]]);v.__docgenInfo={displayName:"SurveyQuestionTextarea",exportName:"default",description:"",tags:{},props:[{name:"value",type:{name:"string"},required:!0},{name:"placeholder",type:{name:"string"},defaultValue:{func:!1,value:"'Wpisz swoją odpowiedź'"}},{name:"disabled",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}}],events:[{name:"input",type:{names:["undefined"]}}],sourceFiles:["/home/runner/work/design-system/design-system/lib/js/components/SurveyQuestions/SurveyQuestionTextarea.vue"]};const B=e=>{for(var a="",o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",l=o.length,t=0;t<e;t++)a+=o.charAt(Math.floor(Math.random()*l));return a};export{A as M,V as S,Q as a,z as b,B as r};
@@ -1,4 +1,4 @@
1
- import{g as G,c as he,a as de}from"./_commonjsHelpers-Chg3vePA.js";import{B as ve}from"./vue.esm-bundler-CzUSCRPq.js";var K={exports:{}};/**!
1
+ import{g as G,c as he,a as de}from"./_commonjsHelpers-Chg3vePA.js";import{B as ve}from"./vue.esm-bundler-CWlcb7ht.js";var K={exports:{}};/**!
2
2
  * @fileOverview Kickass library to create and place poppers near their reference elements.
3
3
  * @version 1.16.1
4
4
  * @license
@@ -33,4 +33,4 @@
33
33
  * vue v3.5.12
34
34
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
35
35
  * @license MIT
36
- **/const dc=Object.create(null);function Qu(e,t){if(!Z(e))if(e.nodeType)e=e.innerHTML;else return Pe;const n=lh(e,t),s=dc[n];if(s)return s;if(e[0]==="#"){const l=document.querySelector(e);e=l?l.innerHTML:""}const i=ee({hoistStatic:!0,onError:void 0,onWarn:Pe},t);!i.isCustomElement&&typeof customElements!="undefined"&&(i.isCustomElement=l=>!!customElements.get(l));const{code:r}=Em(e,i),o=new Function("Vue",r)(Ip);return o._rc=!0,dc[n]=o}xo(Qu);const Tm=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:to,BaseTransitionPropsValidators:Vi,Comment:me,DeprecationTypes:Ff,EffectScope:xi,ErrorCodes:Qc,ErrorTypeStrings:Rf,Fragment:Se,KeepAlive:va,ReactiveEffect:wn,Static:Bt,Suspense:hf,Teleport:aa,Text:Nt,TrackOpTypes:Gc,Transition:Hf,TransitionGroup:zf,TriggerOpTypes:Jc,VueElement:ws,assertNumber:Zc,callWithAsyncErrorHandling:Xe,callWithErrorHandling:un,camelize:ue,capitalize:Kt,cloneVNode:at,compatUtils:Df,compile:Qu,computed:Io,createApp:gi,createBlock:cs,createCommentVNode:vf,createElementBlock:yf,createElementVNode:ji,createHydrationRenderer:bo,createPropsRestProxy:ja,createRenderer:yo,createSSRApp:$o,createSlots:xa,createStaticVNode:Sf,createTextVNode:Ki,createVNode:fe,customRef:Qr,defineAsyncComponent:Sa,defineComponent:$i,defineCustomElement:ko,defineEmits:Pa,defineExpose:Ma,defineModel:Da,defineOptions:ka,defineProps:Ra,defineSSRCustomElement:Jf,defineSlots:La,devtools:Pf,effect:xc,effectScope:vc,getCurrentInstance:Qe,getCurrentScope:Wr,getCurrentWatcher:Yc,getTransitionRawChildren:Ss,guardReactiveProps:Ao,h:Oo,handleError:Gt,hasInjectionContext:Ga,hydrate:lu,hydrateOnIdle:ma,hydrateOnInteraction:_a,hydrateOnMediaQuery:ba,hydrateOnVisible:ya,initCustomFormatter:xf,initDirectivesForSSR:fu,inject:Cn,isMemoSame:Ro,isProxy:ys,isReactive:At,isReadonly:xt,isRef:_e,isRuntimeOnly:Af,isShallow:je,isVNode:mt,markRaw:Xr,mergeDefaults:Ha,mergeModels:Ua,mergeProps:wo,nextTick:_s,normalizeClass:Vn,normalizeProps:yc,normalizeStyle:Fn,onActivated:so,onBeforeMount:Hi,onBeforeUnmount:Ts,onBeforeUpdate:ro,onDeactivated:io,onErrorCaptured:ao,onMounted:$n,onRenderTracked:co,onRenderTriggered:lo,onScopeDispose:Ec,onServerPrefetch:oo,onUnmounted:Cs,onUpdated:Es,onWatcherCleanup:zr,openBlock:xn,popScopeId:ia,provide:go,proxyRefs:ki,pushScopeId:sa,queuePostFlushCb:ss,reactive:ms,readonly:Pi,ref:En,registerRuntimeCompiler:xo,render:Vo,renderList:wa,renderSlot:Ia,resolveComponent:Ta,resolveDirective:Na,resolveDynamicComponent:Aa,resolveFilter:Lf,resolveTransitionHooks:rn,setBlockTracking:ai,setDevtoolsHook:Mf,setTransitionHooks:gt,shallowReactive:Yr,shallowReadonly:Bc,shallowRef:Zr,ssrContextKey:So,ssrUtils:kf,stop:Ic,toDisplayString:Kr,toHandlerKey:zt,toHandlers:Oa,toRaw:te,toRef:Wc,toRefs:Kc,toValue:jc,transformVNodeArgs:bf,triggerRef:Uc,unref:bs,useAttrs:$a,useCssModule:Xf,useCssVars:Gf,useHost:Lo,useId:pa,useModel:af,useSSRContext:vo,useShadowRoot:Yf,useSlots:Va,useTemplateRef:ga,useTransitionState:Fi,vModelCheckbox:Wi,vModelDynamic:Fo,vModelRadio:qi,vModelSelect:Do,vModelText:as,vShow:Mo,version:Po,warn:Of,watch:An,watchEffect:lf,watchPostEffect:Eo,watchSyncEffect:To,withAsyncContext:Ka,withCtx:Di,withDefaults:Fa,withDirectives:oa,withKeys:su,withMemo:If,withModifiers:nu,withScopeId:ra},Symbol.toStringTag,{value:"Module"}));export{Na as A,Tm as B,Cs as C,Pi as D,Qe as E,Se as F,$n as G,_s as H,ms as I,Io as J,Oo as K,Sf as L,gi as M,At as N,ji as a,cs as b,yf as c,$i as d,Di as e,Ia as f,fe as g,vf as h,mt as i,xa as j,Kr as k,Ki as l,wa as m,Vn as n,xn as o,wo as p,En as q,Ta as r,Fn as s,te as t,nu as u,Sa as v,An as w,Aa as x,su as y,oa as z};
36
+ **/const dc=Object.create(null);function Qu(e,t){if(!Z(e))if(e.nodeType)e=e.innerHTML;else return Pe;const n=lh(e,t),s=dc[n];if(s)return s;if(e[0]==="#"){const l=document.querySelector(e);e=l?l.innerHTML:""}const i=ee({hoistStatic:!0,onError:void 0,onWarn:Pe},t);!i.isCustomElement&&typeof customElements!="undefined"&&(i.isCustomElement=l=>!!customElements.get(l));const{code:r}=Em(e,i),o=new Function("Vue",r)(Ip);return o._rc=!0,dc[n]=o}xo(Qu);const Tm=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:to,BaseTransitionPropsValidators:Vi,Comment:me,DeprecationTypes:Ff,EffectScope:xi,ErrorCodes:Qc,ErrorTypeStrings:Rf,Fragment:Se,KeepAlive:va,ReactiveEffect:wn,Static:Bt,Suspense:hf,Teleport:aa,Text:Nt,TrackOpTypes:Gc,Transition:Hf,TransitionGroup:zf,TriggerOpTypes:Jc,VueElement:ws,assertNumber:Zc,callWithAsyncErrorHandling:Xe,callWithErrorHandling:un,camelize:ue,capitalize:Kt,cloneVNode:at,compatUtils:Df,compile:Qu,computed:Io,createApp:gi,createBlock:cs,createCommentVNode:vf,createElementBlock:yf,createElementVNode:ji,createHydrationRenderer:bo,createPropsRestProxy:ja,createRenderer:yo,createSSRApp:$o,createSlots:xa,createStaticVNode:Sf,createTextVNode:Ki,createVNode:fe,customRef:Qr,defineAsyncComponent:Sa,defineComponent:$i,defineCustomElement:ko,defineEmits:Pa,defineExpose:Ma,defineModel:Da,defineOptions:ka,defineProps:Ra,defineSSRCustomElement:Jf,defineSlots:La,devtools:Pf,effect:xc,effectScope:vc,getCurrentInstance:Qe,getCurrentScope:Wr,getCurrentWatcher:Yc,getTransitionRawChildren:Ss,guardReactiveProps:Ao,h:Oo,handleError:Gt,hasInjectionContext:Ga,hydrate:lu,hydrateOnIdle:ma,hydrateOnInteraction:_a,hydrateOnMediaQuery:ba,hydrateOnVisible:ya,initCustomFormatter:xf,initDirectivesForSSR:fu,inject:Cn,isMemoSame:Ro,isProxy:ys,isReactive:At,isReadonly:xt,isRef:_e,isRuntimeOnly:Af,isShallow:je,isVNode:mt,markRaw:Xr,mergeDefaults:Ha,mergeModels:Ua,mergeProps:wo,nextTick:_s,normalizeClass:Vn,normalizeProps:yc,normalizeStyle:Fn,onActivated:so,onBeforeMount:Hi,onBeforeUnmount:Ts,onBeforeUpdate:ro,onDeactivated:io,onErrorCaptured:ao,onMounted:$n,onRenderTracked:co,onRenderTriggered:lo,onScopeDispose:Ec,onServerPrefetch:oo,onUnmounted:Cs,onUpdated:Es,onWatcherCleanup:zr,openBlock:xn,popScopeId:ia,provide:go,proxyRefs:ki,pushScopeId:sa,queuePostFlushCb:ss,reactive:ms,readonly:Pi,ref:En,registerRuntimeCompiler:xo,render:Vo,renderList:wa,renderSlot:Ia,resolveComponent:Ta,resolveDirective:Na,resolveDynamicComponent:Aa,resolveFilter:Lf,resolveTransitionHooks:rn,setBlockTracking:ai,setDevtoolsHook:Mf,setTransitionHooks:gt,shallowReactive:Yr,shallowReadonly:Bc,shallowRef:Zr,ssrContextKey:So,ssrUtils:kf,stop:Ic,toDisplayString:Kr,toHandlerKey:zt,toHandlers:Oa,toRaw:te,toRef:Wc,toRefs:Kc,toValue:jc,transformVNodeArgs:bf,triggerRef:Uc,unref:bs,useAttrs:$a,useCssModule:Xf,useCssVars:Gf,useHost:Lo,useId:pa,useModel:af,useSSRContext:vo,useShadowRoot:Yf,useSlots:Va,useTemplateRef:ga,useTransitionState:Fi,vModelCheckbox:Wi,vModelDynamic:Fo,vModelRadio:qi,vModelSelect:Do,vModelText:as,vShow:Mo,version:Po,warn:Of,watch:An,watchEffect:lf,watchPostEffect:Eo,watchSyncEffect:To,withAsyncContext:Ka,withCtx:Di,withDefaults:Fa,withDirectives:oa,withKeys:su,withMemo:If,withModifiers:nu,withScopeId:ra},Symbol.toStringTag,{value:"Module"}));export{Na as A,Tm as B,Cs as C,Pi as D,Qe as E,Se as F,$n as G,_s as H,ms as I,Io as J,Oo as K,Sf as L,gi as M,At as N,ji as a,cs as b,yf as c,$i as d,Di as e,Ia as f,vf as g,xa as h,mt as i,Kr as j,fe as k,Ki as l,wa as m,Vn as n,xn as o,wo as p,En as q,Ta as r,Fn as s,te as t,nu as u,Sa as v,An as w,Aa as x,su as y,oa as z};
package/docs/iframe.html CHANGED
@@ -510,7 +510,7 @@
510
510
  </script>
511
511
  <link rel="stylesheet" href="./preview.css">
512
512
 
513
- <script type="module" crossorigin src="./assets/iframe-2_y64uNE.js"></script>
513
+ <script type="module" crossorigin src="./assets/iframe-DuOsjH1S.js"></script>
514
514
  </head>
515
515
 
516
516
  <body>
package/docs/project.json CHANGED
@@ -1 +1 @@
1
- {"generatedAt":1736404391690,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":true,"hasStorybookEslint":true,"refCount":0,"testPackages":{"@types/jest":"29.5.13","@vue/vue3-jest":"29.2.2","jest":"29.7.0","jest-environment-jsdom":"29.7.0","ts-jest":"29.0.5"},"packageManager":{"type":"yarn","version":"1.22.22"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/vue3-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/vue3","portableStoriesFileCount":2,"storybookVersion":"8.3.4","storybookVersionSpecifier":"^8.3.4","language":"typescript","storybookPackages":{"@storybook/vue3":{"version":"8.3.4"},"@storybook/vue3-vite":{"version":"8.3.4"},"eslint-plugin-storybook":{"version":"0.8.0"},"storybook":{"version":"8.3.4"}},"addons":{"@storybook/addon-actions":{"version":"8.3.4"},"@storybook/addon-designs":{"version":"8.0.3"},"@storybook/addon-docs":{"version":"8.3.4"},"@storybook/addon-controls":{"version":"8.3.4"},"@storybook/addon-storysource":{"version":"8.3.4"},"@storybook/addon-viewport":{"version":"8.3.4"}}}
1
+ {"generatedAt":1736879743634,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":true,"hasStorybookEslint":true,"refCount":0,"testPackages":{"@types/jest":"29.5.13","@vue/vue3-jest":"29.2.2","jest":"29.7.0","jest-environment-jsdom":"29.7.0","ts-jest":"29.0.5"},"packageManager":{"type":"yarn","version":"1.22.22"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/vue3-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/vue3","portableStoriesFileCount":2,"storybookVersion":"8.3.4","storybookVersionSpecifier":"^8.3.4","language":"typescript","storybookPackages":{"@storybook/vue3":{"version":"8.3.4"},"@storybook/vue3-vite":{"version":"8.3.4"},"eslint-plugin-storybook":{"version":"0.8.0"},"storybook":{"version":"8.3.4"}},"addons":{"@storybook/addon-actions":{"version":"8.3.4"},"@storybook/addon-designs":{"version":"8.0.3"},"@storybook/addon-docs":{"version":"8.3.4"},"@storybook/addon-controls":{"version":"8.3.4"},"@storybook/addon-storysource":{"version":"8.3.4"},"@storybook/addon-viewport":{"version":"8.3.4"}}}
@@ -11,7 +11,7 @@
11
11
  display: flex;
12
12
  flex-direction: column;
13
13
  gap: $space-s;
14
- padding: $space-2xs $space-s;
14
+ padding: $space-s;
15
15
  }
16
16
  </style>
17
17
 
@@ -1,6 +1,7 @@
1
1
  <template>
2
2
  <div class="ds-drawerSection">
3
3
  <ds-section-header
4
+ v-if="title"
4
5
  :icon-left="iconLeft"
5
6
  :icon-left-color="iconLeftColor"
6
7
  :icon-right="iconRight"
@@ -90,7 +91,7 @@ export default defineComponent({
90
91
  },
91
92
  title: {
92
93
  type: String,
93
- required: true,
94
+ default: null,
94
95
  },
95
96
  titleEllipsis: {
96
97
  type: Boolean,
@@ -15,6 +15,7 @@ import { faArrowsMaximize } from '@fortawesome/pro-regular-svg-icons/faArrowsMax
15
15
  import { faArrowsRotate } from '@fortawesome/pro-regular-svg-icons/faArrowsRotate';
16
16
  import { faArrowUpRightAndArrowDownLeftFromCenter } from '@fortawesome/pro-regular-svg-icons/faArrowUpRightAndArrowDownLeftFromCenter';
17
17
  import { faArrowUpRightFromSquare } from '@fortawesome/pro-regular-svg-icons/faArrowUpRightFromSquare';
18
+ import { faAtom } from '@fortawesome/pro-regular-svg-icons/faAtom';
18
19
  import { faBadgePercent } from '@fortawesome/pro-regular-svg-icons/faBadgePercent';
19
20
  import { faBan } from '@fortawesome/pro-regular-svg-icons/faBan';
20
21
  import { faBars } from '@fortawesome/pro-regular-svg-icons/faBars';
@@ -222,6 +223,7 @@ export const FONTAWESOME_ICONS = {
222
223
  FA_ARROWS_LEFT_RIGHT_SOLID: fasArrowsLeftRight,
223
224
  FA_ARROWS_MAXIMIZE: faArrowsMaximize,
224
225
  FA_ARROWS_ROTATE: faArrowsRotate,
226
+ FA_ATOM: faAtom,
225
227
  FA_BADGE_PERCENT: faBadgePercent,
226
228
  FA_BAN: faBan,
227
229
  FA_BARS: faBars,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bethinkpl/design-system",
3
- "version": "26.3.1",
3
+ "version": "26.4.0",
4
4
  "description": "Bethink universe design-system",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1 +0,0 @@
1
- import{e as A,c,d as t,b as f,i as T,a as g,f as D,l as p}from"./DatePicker-BXXVSwfW.js";import{I as a}from"./Icon-DOGQpP6-.js";import{d as R,t as m,q as I,w as h,r as P,o as _,c as E,g as k,k as O,h as v,a as C}from"./vue.esm-bundler-CzUSCRPq.js";import{_ as b}from"./_plugin-vue_export-helper-DlAUqK2U.js";const y=R({name:"DateRangePicker",components:{DatePickerBox:A},props:{isInteractive:{type:Boolean,default:!1},placeholder:{type:String,default:"Wybierz datę"},startDate:{type:Date,default:null},endDate:{type:Date,default:null},startIcon:{type:[Object,null],default:a.FA_CALENDAR_DAY,validator(e){return e===null||(Object==null?void 0:Object.values(a).includes(m(e)))}},endIcon:{type:[Object,null],default:a.FA_CALENDAR_DAY,validator(e){return e===null||(Object==null?void 0:Object.values(a).includes(m(e)))}},areIconsHiddenOnMobile:{type:Boolean,default:!1},calendarPosition:{type:String,default:c.BOTTOM_LEFT},errorMessage:{type:String,default:""},state:{type:String||null,default:t.DEFAULT},color:{type:String,default:f.NEUTRAL_WEAK},disableDates:{type:Array,default:()=>[]},minDate:{type:Date,default:null},maxDate:{type:Date,default:null}},emits:{"update:date":e=>!0},setup(e,{emit:i}){const n=I(),s=I(),o=r=>{r.length===2&&i("update:date",{startDate:r[0],endDate:r[1]})},{isOpen:d,toggle:l,createDatePicker:u}=T({props:e,onChange:o,defaultDates:[e.startDate,e.endDate],mode:"range"});return h([()=>e.isInteractive,()=>e.state],async()=>{e.isInteractive&&e.state===t.DEFAULT&&await u(s.value,n.value)},{flush:"post"}),{dateRangePickerRef:n,flatpickrInputRef:s,isOpen:d,toggleDatePicker:l,createDatePicker:u,DATE_PICKER_CALENDAR_POSITIONS:Object.freeze(c),DATE_PICKER_COLORS:Object.freeze(f),DATE_PICKER_STATES:Object.freeze(t),DATE_PICKER_TRIGGER_TYPES:Object.freeze(g)}},computed:{endDateEyebrowText(){return!this.endDate||this.state===t.LOADING?"":D(p(this.endDate))},endDateIfDifferentThanStartDate(){return this.startDate&&this.endDate&&this.startDate.getTime()!==this.endDate.getTime()?this.endDate:null},eyebrowText(){return!this.startDate||this.state===t.LOADING?"":D(p(this.startDate))}},async mounted(){this.isInteractive&&this.state===t.DEFAULT&&await this.createDatePicker(this.flatpickrInputRef,this.dateRangePickerRef)},methods:{toggle(){this.isInteractive&&this.state===t.DEFAULT&&this.toggleDatePicker()}}}),S={ref:"dateRangePickerRef",class:"ds-dateRangePicker"},N={key:0,class:"ds-dateRangePicker__errorMessage"},L={ref:"flatpickrInputRef",class:"ds-dateRangePicker__hiddenInput"};function V(e,i,n,s,o,d){const l=P("date-picker-box");return _(),E("div",S,[k(l,{"is-interactive":e.isInteractive,placeholder:e.placeholder,"start-date":e.startDate,"end-date":e.endDateIfDifferentThanStartDate,"start-icon":e.startIcon,"end-icon":e.endIcon,"are-icons-hidden-on-mobile":e.areIconsHiddenOnMobile,state:e.state,color:e.color,"start-date-eyebrow-text":e.eyebrowText,"end-date-eyebrow-text":e.endDateEyebrowText,"is-open":e.isOpen,onClick:e.toggle},null,8,["is-interactive","placeholder","start-date","end-date","start-icon","end-icon","are-icons-hidden-on-mobile","state","color","start-date-eyebrow-text","end-date-eyebrow-text","is-open","onClick"]),e.errorMessage?(_(),E("span",N,O(e.errorMessage),1)):v("",!0),C("input",L,null,512)],512)}const j=b(y,[["render",V],["__scopeId","data-v-6749c480"]]);y.__docgenInfo={displayName:"DateRangePicker",exportName:"default",description:"",tags:{},props:[{name:"isInteractive",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"placeholder",type:{name:"string"},defaultValue:{func:!1,value:"'Wybierz datę'"}},{name:"startDate",type:{name:"date"},defaultValue:{func:!1,value:"null"}},{name:"endDate",type:{name:"date"},defaultValue:{func:!1,value:"null"}},{name:"startIcon",type:{name:"IconItem | null"},defaultValue:{func:!1,value:"ICONS.FA_CALENDAR_DAY"}},{name:"endIcon",type:{name:"IconItem | null"},defaultValue:{func:!1,value:"ICONS.FA_CALENDAR_DAY"}},{name:"areIconsHiddenOnMobile",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"calendarPosition",type:{name:"DatePickerCalendarPositions"},defaultValue:{func:!1,value:"DATE_PICKER_CALENDAR_POSITIONS.BOTTOM_LEFT"}},{name:"errorMessage",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"state",type:{name:"(String as PropType<DatePickerStates>) || null"},defaultValue:{func:!1,value:"DATE_PICKER_STATES.DEFAULT"}},{name:"color",type:{name:"DatePickerColors"},defaultValue:{func:!1,value:"DATE_PICKER_COLORS.NEUTRAL_WEAK"}},{name:"disableDates",type:{name:"Array<Date>"},defaultValue:{func:!0,value:"() => []"}},{name:"minDate",type:{name:"date"},defaultValue:{func:!1,value:"null"}},{name:"maxDate",type:{name:"date"},defaultValue:{func:!1,value:"null"}}],events:[{name:"update:date"}],sourceFiles:["/home/runner/work/design-system/design-system/lib/js/components/DatePickers/DateRangePicker/DateRangePicker.vue"]};export{j as D};
@@ -1 +0,0 @@
1
- import{I as t}from"./Icon-DOGQpP6-.js";import"./IconButton-BSj_HuA7.js";import{i as p,I as f}from"./Button-B8CAc1rL.js";import{b as c,S as a,a as o}from"./SectionHeader-wxwJCOPp.js";import{d as m,t as n,c as l,g as E,f as s,h as r,r as S,o as i}from"./vue.esm-bundler-CzUSCRPq.js";import{_ as O}from"./_plugin-vue_export-helper-DlAUqK2U.js";const d=m({name:"DrawerSection",components:{DsSectionHeader:c},props:{isExpandable:{type:Boolean,default:!1},iconLeft:{type:Object,default:null,validator(e){return Object.values(t).includes(n(e))}},iconLeftColor:{type:String,default:a.NEUTRAL_WEAK,validator(e){return Object.values(a).includes(n(e))}},iconRight:{type:Object,default:null,validator(e){return Object.values(t).includes(n(e))}},iconRightColor:{type:String,default:a.NEUTRAL_WEAK,validator(e){return Object.values(a).includes(n(e))}},isExpanded:{type:Boolean,default:!0},info:{type:Boolean,default:!1},size:{type:String,default:o.XX_SMALL,validator(e){return Object.values(o).includes(e)}},title:{type:String,required:!0},titleEllipsis:{type:Boolean,default:!1},eyebrow:{type:String,default:""},supportingText:{type:String,default:null},hasDivider:{type:Boolean,default:!0}},emits:["info-click","update:isExpanded"],data(){return{ICON_BUTTON_COLORS:Object.freeze(p),ICON_BUTTON_SIZES:Object.freeze(f),ICONS:Object.freeze(t),isExpandedInternal:this.isExpanded}},watch:{isExpanded:{handler(e){e!==this.isExpandedInternal&&(this.isExpandedInternal=e)},immediate:!0}},methods:{onExpandableHeaderClick(e){this.isExpandedInternal=e,this.$emit("update:isExpanded",e)},onInfoClick(){this.$emit("info-click")}}}),y={class:"ds-drawerSection"},I={key:0},C={key:1};function b(e,g,h,v,_,N){const u=S("ds-section-header");return i(),l("div",y,[E(u,{"icon-left":e.iconLeft,"icon-left-color":e.iconLeftColor,"icon-right":e.iconRight,"icon-right-color":e.iconRightColor,"is-expandable":e.isExpandable,"is-expanded":e.isExpandedInternal,info:e.info,size:e.size,title:e.title,"title-ellipsis":e.titleEllipsis,eyebrow:e.eyebrow,"supporting-text":e.supportingText,"has-divider":e.hasDivider,onInfoClick:e.onInfoClick,"onUpdate:isExpanded":e.onExpandableHeaderClick},null,8,["icon-left","icon-left-color","icon-right","icon-right-color","is-expandable","is-expanded","info","size","title","title-ellipsis","eyebrow","supporting-text","has-divider","onInfoClick","onUpdate:isExpanded"]),e.isExpandedInternal||!e.isExpandable?(i(),l("div",I,[s(e.$slots,"default")])):r("",!0),e.$slots.uncollapsible?(i(),l("div",C,[s(e.$slots,"uncollapsible")])):r("",!0)])}const k=O(d,[["render",b]]);d.__docgenInfo={displayName:"DrawerSection",exportName:"default",description:"",tags:{},props:[{name:"isExpandable",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"iconLeft",type:{name:"Object as () => IconItem"},defaultValue:{func:!1,value:"null"}},{name:"iconLeftColor",type:{name:"String as () => SectionHeaderIconColor"},defaultValue:{func:!1,value:"SECTION_HEADER_ICON_COLORS.NEUTRAL_WEAK"}},{name:"iconRight",type:{name:"Object as () => IconItem"},defaultValue:{func:!1,value:"null"}},{name:"iconRightColor",type:{name:"String as () => SectionHeaderIconColor"},defaultValue:{func:!1,value:"SECTION_HEADER_ICON_COLORS.NEUTRAL_WEAK"}},{name:"isExpanded",type:{name:"boolean"},defaultValue:{func:!1,value:"true"}},{name:"info",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"size",type:{name:"string"},defaultValue:{func:!1,value:"SECTION_HEADER_SIZES.XX_SMALL"}},{name:"title",type:{name:"string"},required:!0},{name:"titleEllipsis",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"eyebrow",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"supportingText",type:{name:"string"},defaultValue:{func:!1,value:"null"}},{name:"hasDivider",type:{name:"boolean"},defaultValue:{func:!1,value:"true"}}],events:[{name:"info-click"},{name:"update:isExpanded",type:{names:["undefined"]}}],slots:[{name:"default"},{name:"uncollapsible"}],sourceFiles:["/home/runner/work/design-system/design-system/lib/js/components/Drawer/DrawerSection/DrawerSection.vue"]};export{k as D};