@bethinkpl/design-system 26.15.1 → 26.16.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 (264) hide show
  1. package/.eslintrc.cjs +9 -0
  2. package/dist/design-system.umd.cjs +18 -18
  3. package/dist/design-system.umd.cjs.map +1 -1
  4. package/dist/lib/js/components/Buttons/HelpButton/HelpButton.vue.d.ts +40 -0
  5. package/dist/lib/js/components/Buttons/HelpButton/index.d.ts +3 -0
  6. package/dist/lib/js/components/Chip/Chip.vue.d.ts +14 -15
  7. package/dist/lib/js/components/DatePickers/DateBox/DateBox.vue.d.ts +1 -1
  8. package/dist/lib/js/components/DatePickers/DatePicker/DatePicker.vue.d.ts +2 -2
  9. package/dist/lib/js/components/DatePickers/DateRangePicker/DateRangePicker.vue.d.ts +1 -1
  10. package/dist/lib/js/components/Form/FormField/FormField.consts.d.ts +9 -0
  11. package/dist/lib/js/components/Form/FormField/FormField.stories.shared.d.ts +5 -0
  12. package/dist/lib/js/components/Form/FormField/FormField.types.d.ts +21 -0
  13. package/dist/lib/js/components/Form/FormField/FormField.utils.d.ts +11 -0
  14. package/dist/lib/js/components/Form/FormField/FormField.vue.d.ts +20 -0
  15. package/dist/lib/js/components/Form/FormField/FormFieldMessage/FormFieldMessage.vue.d.ts +30 -0
  16. package/dist/lib/js/components/Form/FormField/FormFieldMessage/index.d.ts +3 -0
  17. package/dist/lib/js/components/Form/FormField/index.d.ts +5 -0
  18. package/dist/lib/js/components/Form/InputField/InputField.types.d.ts +12 -0
  19. package/dist/lib/js/components/Form/InputField/InputField.vue.d.ts +72 -0
  20. package/dist/lib/js/components/Form/InputField/index.d.ts +3 -0
  21. package/dist/lib/js/components/Form/PasswordField/PasswordField.vue.d.ts +70 -0
  22. package/dist/lib/js/components/Form/PasswordField/index.d.ts +3 -0
  23. package/dist/lib/js/components/Modals/Modal/Modal.consts.d.ts +8 -4
  24. package/dist/lib/js/components/Modals/Modal/Modal.vue.d.ts +15 -14
  25. package/dist/lib/js/components/Modals/ModalDialog/ModalDialog.vue.d.ts +18 -18
  26. package/dist/lib/js/components/Toast/Toast.vue.d.ts +2 -2
  27. package/dist/lib/js/index.d.ts +7 -0
  28. package/docs/assets/{AccessStatus-plchnY0B.js → AccessStatus-DW-L4l_0.js} +1 -1
  29. package/docs/assets/{AccessStatus.stories-DIIoog2Q.js → AccessStatus.stories-DwCxxAOP.js} +1 -1
  30. package/docs/assets/Avatar-CRVC-fPA.js +1 -0
  31. package/docs/assets/{Avatar.stories-9Vth29zT.js → Avatar.stories-D7i8UwP9.js} +1 -1
  32. package/docs/assets/{Badge-BbvNKG41.js → Badge-h4Z2ZKD4.js} +1 -1
  33. package/docs/assets/{Badge.stories-CKPGT_pt.js → Badge.stories-Bl04pHS_.js} +1 -1
  34. package/docs/assets/{BadgeScore-BOOWTi6N.js → BadgeScore-CuteYyZb.js} +1 -1
  35. package/docs/assets/{BadgeScore.stories-ERFMPhhE.js → BadgeScore.stories-BvHEI0pW.js} +1 -1
  36. package/docs/assets/{Banner-DXAd9x-3.js → Banner-sTfmX99M.js} +1 -1
  37. package/docs/assets/{Banner.stories-BC2VxrMC.js → Banner.stories-qhUSAG8g.js} +1 -1
  38. package/docs/assets/BasicRichListItem-C93Qb4K6.js +1 -0
  39. package/docs/assets/{BasicRichListItem.stories-BJZo9YF9.js → BasicRichListItem.stories-B2smX5s7.js} +2 -2
  40. package/docs/assets/{BlockadeStatus-D1j0ZWIW.js → BlockadeStatus-B0FY65_h.js} +1 -1
  41. package/docs/assets/{BlockedeStatus.stories-BKi05Ndl.js → BlockedeStatus.stories-DZ1mfq2q.js} +1 -1
  42. package/docs/assets/{Button-C5dr6u6F.js → Button-CRTJWjWJ.js} +1 -1
  43. package/docs/assets/{Button.stories-Da2LsOLk.js → Button.stories-BOpQOZ6x.js} +1 -1
  44. package/docs/assets/Card-C2-UB9KC.js +1 -0
  45. package/docs/assets/{Card.stories-Bqmd77lg.js → Card.stories-CI8H4t9g.js} +1 -1
  46. package/docs/assets/CardExpandable-BMUVeR31.js +1 -0
  47. package/docs/assets/{CardExpandable.stories-DtC5egGK.js → CardExpandable.stories-CPAZ4mof.js} +1 -1
  48. package/docs/assets/Checkbox-CIfSektM.js +1 -0
  49. package/docs/assets/{Checkbox.stories-BUIzgcCC.js → Checkbox.stories-Dt5C89R2.js} +1 -1
  50. package/docs/assets/{Chip-BJcjfD8j.js → Chip-Bi-iKYH0.js} +1 -1
  51. package/docs/assets/{Chip.stories-Dgmetn8m.js → Chip.stories-BukfI_wY.js} +1 -1
  52. package/docs/assets/{Color-ERTF36HU-DaHgyI5V.js → Color-ERTF36HU-Cor5XXAu.js} +1 -1
  53. package/docs/assets/{Colors.stories-BrNisWwH.js → Colors.stories-yICh_E96.js} +1 -1
  54. package/docs/assets/{ColorsThemes.stories-DvZl0m40.js → ColorsThemes.stories-CKiphr3E.js} +1 -1
  55. package/docs/assets/{ColorsTokensLms.stories-D3nA1ro1.js → ColorsTokensLms.stories-C_hRq1fa.js} +1 -1
  56. package/docs/assets/{ColorsTokensPrimaryBodywork.stories-w4A7RjpQ.js → ColorsTokensPrimaryBodywork.stories-TzJMcnGg.js} +1 -1
  57. package/docs/assets/{ColorsTokensPrimaryWnl.stories-CncgXEG5.js → ColorsTokensPrimaryWnl.stories-CCArJaTw.js} +1 -1
  58. package/docs/assets/{CounterToggle-DKRrZ9t2.js → CounterToggle-D3jTLdlU.js} +1 -1
  59. package/docs/assets/{CounterToggle.stories-DEP60zRp.js → CounterToggle.stories-BZAgprZf.js} +1 -1
  60. package/docs/assets/{DateBox.stories-y5_2vs0g.js → DateBox.stories-CNTaIflE.js} +3 -3
  61. package/docs/assets/{DatePicker-QHo-i7qh.js → DatePicker-aMS5YOMW.js} +1 -1
  62. package/docs/assets/{DatePicker.stories-4hPgpb1-.js → DatePicker.stories-DnojtGGT.js} +1 -1
  63. package/docs/assets/{DateRangePicker-B0NAwdsr.js → DateRangePicker-B25oMOoU.js} +1 -1
  64. package/docs/assets/{DateRangePicker.stories-BXQLC6L-.js → DateRangePicker.stories-CaIkM98h.js} +1 -1
  65. package/docs/assets/{Divider-9o-i_zKL.js → Divider-BNN8PhWF.js} +1 -1
  66. package/docs/assets/{Divider.stories-IQKEznYT.js → Divider.stories-DQGq5WIM.js} +1 -1
  67. package/docs/assets/{DocsRenderer-CFRXHY34-rC6r6xBG.js → DocsRenderer-CFRXHY34-DsMNfqFA.js} +5 -5
  68. package/docs/assets/{Drawer-ClrSDwUZ.js → Drawer-CgEP8-bU.js} +1 -1
  69. package/docs/assets/{Drawer.stories-DR-CXra3.js → Drawer.stories-CetCbwOV.js} +1 -1
  70. package/docs/assets/{DrawerContent-D6Bl5GA-.js → DrawerContent-Dna0k_5V.js} +1 -1
  71. package/docs/assets/{DrawerContent.stories-BR11egKi.js → DrawerContent.stories-BqJ3zitz.js} +1 -1
  72. package/docs/assets/{DrawerDivider-DMhjaSPk.js → DrawerDivider-BjBlvEOJ.js} +1 -1
  73. package/docs/assets/{DrawerDivider.stories-DdcVRbtO.js → DrawerDivider.stories-BN_G8JML.js} +1 -1
  74. package/docs/assets/DrawerHeader-CYgh5yLP.js +1 -0
  75. package/docs/assets/{DrawerHeader.stories-DnPlkGmI.js → DrawerHeader.stories-CsM4PkKY.js} +1 -1
  76. package/docs/assets/{DrawerListItem-dizQZUbe.js → DrawerListItem-BOEqjnvB.js} +1 -1
  77. package/docs/assets/{DrawerListItem.stories-pVTEuckG.js → DrawerListItem.stories-Br_BBZTl.js} +1 -1
  78. package/docs/assets/{DrawerListItemGroup-B5XadRVV.js → DrawerListItemGroup-qG_7CJ2Z.js} +1 -1
  79. package/docs/assets/{DrawerListItemGroup.stories-pOGG952w.js → DrawerListItemGroup.stories-Dj7XnOfZ.js} +1 -1
  80. package/docs/assets/{DrawerSection-HBM59yvF.js → DrawerSection-Bk-qjO-U.js} +1 -1
  81. package/docs/assets/{DrawerSection.stories-tQT_zWBt.js → DrawerSection.stories-bac3ulNN.js} +1 -1
  82. package/docs/assets/DrawerTile-3UrW0AGT.js +1 -0
  83. package/docs/assets/{DrawerTile.stories-6JDnzzyo.js → DrawerTile.stories-AeySW4m1.js} +1 -1
  84. package/docs/assets/Dropdown-vkyblifO.js +1 -0
  85. package/docs/assets/{Dropdown.stories-DLo-4_G3.js → Dropdown.stories-Bvkxpx3n.js} +1 -1
  86. package/docs/assets/{FeatureIcon-BoUhuGOr.js → FeatureIcon-DClL1vj4.js} +1 -1
  87. package/docs/assets/{FeatureIcon.stories-H_yUD4i4.js → FeatureIcon.stories-D1igtEZB.js} +1 -1
  88. package/docs/assets/FormField-u4PxhF2k.js +1 -0
  89. package/docs/assets/FormField.stories-DXTo4Z_Y.js +40 -0
  90. package/docs/assets/FormField.stories.shared-D4ktxakv.js +1 -0
  91. package/docs/assets/FormFieldMessage-JNi0OUbH.js +1 -0
  92. package/docs/assets/FormFieldMessage.stories-lK_yWKrc.js +32 -0
  93. package/docs/assets/GroupRichListItem-D8nu5Fv9.js +1 -0
  94. package/docs/assets/{GroupRichListItem.stories-C25AujXP.js → GroupRichListItem.stories-DKL_YGxk.js} +1 -1
  95. package/docs/assets/HelpButton-Lb2k2yp9.js +1 -0
  96. package/docs/assets/HelpButton.stories-D4-sk1wV.js +17 -0
  97. package/docs/assets/{Icon-I3Cniv10.js → Icon-BxW-ny3A.js} +5 -5
  98. package/docs/assets/{Icon.stories-BhnUVRrV.js → Icon.stories-DaFYO7BK.js} +1 -1
  99. package/docs/assets/IconButton-C0_vxVJn.js +1 -0
  100. package/docs/assets/{IconButton.stories-B8QjmTyV.js → IconButton.stories-BB9x50r9.js} +1 -1
  101. package/docs/assets/{IconText-CKJ4jGzm.js → IconText-Bl-DK5dv.js} +1 -1
  102. package/docs/assets/{IconText.stories-B5zjHqug.js → IconText.stories-BbDEYbhY.js} +1 -1
  103. package/docs/assets/{Image-Dbv2u4ta.js → Image-DXVGtCU-.js} +1 -1
  104. package/docs/assets/{Image.stories-CUWPBT5K.js → Image.stories-CmX0xWLp.js} +1 -1
  105. package/docs/assets/InputField-CjqHh5Cm.js +1 -0
  106. package/docs/assets/InputField.stories-B6VUcIZA.js +44 -0
  107. package/docs/assets/{ItemsList-CJTCYbgI.js → ItemsList-BT-ch5Ki.js} +1 -1
  108. package/docs/assets/{LoadingBar-Dc_eLNsl.js → LoadingBar-CoXHVlvM.js} +1 -1
  109. package/docs/assets/{LoadingBar.stories-DWH4VmcD.js → LoadingBar.stories-B_l4HaQT.js} +1 -1
  110. package/docs/assets/Modal-xuXnp0B3.js +1 -0
  111. package/docs/assets/{Modal.stories-0zzyLX_Z.js → Modal.stories-BSYz4NUn.js} +1 -1
  112. package/docs/assets/{ModalDialog-BuO78uuh.js → ModalDialog-D6jipNV9.js} +1 -1
  113. package/docs/assets/{ModalDialog.stories-lBI09xqp.js → ModalDialog.stories-y0DTZLJ9.js} +1 -1
  114. package/docs/assets/{NumberInCircle-DnPE2szs.js → NumberInCircle-iJQYZsfG.js} +1 -1
  115. package/docs/assets/{NumberInCircle.stories-Tn0v6S_I.js → NumberInCircle.stories-BL7R6Ey9.js} +1 -1
  116. package/docs/assets/OutlineDivider-DpgF_2B_.js +1 -0
  117. package/docs/assets/{OutlineDivider.stories-D9Hzkdbe.js → OutlineDivider.stories-CoI8u05k.js} +1 -1
  118. package/docs/assets/{OutlineItem-1BOyMbS2.js → OutlineItem-COSzRi1t.js} +1 -1
  119. package/docs/assets/{OutlineItem.stories-DZ_RXCGO.js → OutlineItem.stories-DPbUVNt7.js} +1 -1
  120. package/docs/assets/{OutlineSectionHeader-LGOAi424.js → OutlineSectionHeader-C7vAvTfl.js} +1 -1
  121. package/docs/assets/{OutlineSectionHeader.stories-PPIsaHhR.js → OutlineSectionHeader.stories-DTI32viO.js} +1 -1
  122. package/docs/assets/OverlayHeader-DYU6A8e-.js +1 -0
  123. package/docs/assets/{OverlayHeader.stories-D0TRoa1n.js → OverlayHeader.stories-Daj1gEMT.js} +1 -1
  124. package/docs/assets/{PageHeader-DkHlb7_P.js → PageHeader-BKDJxn58.js} +1 -1
  125. package/docs/assets/{PageHeader.stories-WThxfLse.js → PageHeader.stories-BRdESIfF.js} +1 -1
  126. package/docs/assets/{Pagination-CgO9MoPY.js → Pagination-CruPXU6i.js} +1 -1
  127. package/docs/assets/{Pagination.stories-CL9tb6Sx.js → Pagination.stories-pk1h1NdC.js} +1 -1
  128. package/docs/assets/PasswordField-D2k9x-t0.js +1 -0
  129. package/docs/assets/PasswordField.stories-BMwEm_DO.js +42 -0
  130. package/docs/assets/{PopOver-BDVCOkO6.js → PopOver-BjBlXVwF.js} +1 -1
  131. package/docs/assets/{PopOver.stories-CmDQPumC.js → PopOver.stories-3QX4Ga4o.js} +1 -1
  132. package/docs/assets/{ProgressBar-q_I44DQc.js → ProgressBar-VrWJHC2p.js} +1 -1
  133. package/docs/assets/{ProgressBar.stories-Df10tpd-.js → ProgressBar.stories-CrZ2zJwI.js} +1 -1
  134. package/docs/assets/{ProgressDonutChart-DP55sH2Q.js → ProgressDonutChart-CJlokRW-.js} +1 -1
  135. package/docs/assets/{ProgressDonutChart.stories-CXJhJ1AH.js → ProgressDonutChart.stories-BRxY2dWI.js} +1 -1
  136. package/docs/assets/RadioButton-DO6I2WfN.js +1 -0
  137. package/docs/assets/{RadioButton.stories-NVFxjqN4.js → RadioButton.stories-C80hUDbi.js} +1 -1
  138. package/docs/assets/{RichListItem.stories-B3NGpkHT.js → RichListItem.stories-_8Hp41y-.js} +2 -2
  139. package/docs/assets/{SectionHeader-ByewlGaG.js → SectionHeader-BvZF_uZR.js} +1 -1
  140. package/docs/assets/{SectionHeader.stories-CTANEOdf.js → SectionHeader.stories-BjccJa_1.js} +1 -1
  141. package/docs/assets/{SectionTitle-DLcFKzRH.js → SectionTitle-DElPh1Y0.js} +1 -1
  142. package/docs/assets/{SectionTitle.stories-Dybq4paM.js → SectionTitle.stories-BOEziRr6.js} +1 -1
  143. package/docs/assets/{SelectList-B323Y2el.js → SelectList-IYj9X3z5.js} +1 -1
  144. package/docs/assets/{SelectList.stories-BCS6zdJ9.js → SelectList.stories-B0jlx1dv.js} +1 -1
  145. package/docs/assets/{SelectListItem-DfLqJR-_.js → SelectListItem-DxlYAAqR.js} +1 -1
  146. package/docs/assets/{SelectListItem.stories-m8BTHS53.js → SelectListItem.stories-Cbgqd3q6.js} +1 -1
  147. package/docs/assets/{SelectListItemDivider-lDLIwtP8.js → SelectListItemDivider-Bt5LuCh6.js} +1 -1
  148. package/docs/assets/{SelectListItemDivider.stories-BZ6_HOBG.js → SelectListItemDivider.stories-BFdzCK8L.js} +1 -1
  149. package/docs/assets/{SelectListItemTile-DzAuBa66.js → SelectListItemTile-Ci7UUkBi.js} +1 -1
  150. package/docs/assets/{SelectListItemTile.stories-n2MJqr9U.js → SelectListItemTile.stories-D53QYgoj.js} +1 -1
  151. package/docs/assets/{SelectListItemToggle-DJ_P6PIB.js → SelectListItemToggle-uyZKP9l-.js} +1 -1
  152. package/docs/assets/{SelectListItemToggle.stories-yej5J6y8.js → SelectListItemToggle.stories-CHKImbbO.js} +1 -2
  153. package/docs/assets/SelectListSectionTitle-CytprfLI.js +1 -0
  154. package/docs/assets/{SelectListSectionTitle.stories-NKPegok4.js → SelectListSectionTitle.stories-CHaM0ezF.js} +1 -1
  155. package/docs/assets/{SelectionControl-CwdtLuOD.js → SelectionControl-D6-Q7FjJ.js} +1 -1
  156. package/docs/assets/{SelectionTile-hjRK7Lwc.js → SelectionTile-BXjJtuZK.js} +2 -2
  157. package/docs/assets/{SelectionTile.stories-DRdGcDuJ.js → SelectionTile.stories-Cdv1DqAb.js} +1 -1
  158. package/docs/assets/{Skeleton-DhyJ4ZKG.js → Skeleton-a6juZJ74.js} +3 -3
  159. package/docs/assets/{Skeleton.stories-CsZjBoj1.js → Skeleton.stories-CU_bwj6g.js} +1 -1
  160. package/docs/assets/SurveyQuestionOpenEnded-CU362h7V.js +1 -0
  161. package/docs/assets/{SurveyQuestionOpenEnded.stories-Is_s49TT.js → SurveyQuestionOpenEnded.stories-DTfe-q_l.js} +1 -1
  162. package/docs/assets/SurveyQuestionScale-BFW9EZtg.js +1 -0
  163. package/docs/assets/{SurveyQuestionScale.stories-BqOjFThb.js → SurveyQuestionScale.stories-I6PfDZOp.js} +1 -1
  164. package/docs/assets/{SurveyToggle-CCF4WE7n.js → SurveyToggle-BeOR_ZKx.js} +1 -1
  165. package/docs/assets/{SurveyToggle.stories-DySS4Jzx.js → SurveyToggle.stories-DJz0MG-Y.js} +1 -1
  166. package/docs/assets/Switch-DsNVsFhH.js +1 -0
  167. package/docs/assets/{Switch.stories-Bq6_6t39.js → Switch.stories-C1-OEnaq.js} +1 -1
  168. package/docs/assets/{TabItem-Bn_qIbPX.js → TabItem-KyXcr_5Z.js} +1 -1
  169. package/docs/assets/{TabItem.stories-ZPYw1uH1.js → TabItem.stories-BfCXfirX.js} +1 -1
  170. package/docs/assets/{TextGroup-AUUBIFJZ.js → TextGroup-BGFapzPu.js} +1 -1
  171. package/docs/assets/{TextGroup.stories-CqwkdBAO.js → TextGroup.stories-WgHYdmrz.js} +1 -1
  172. package/docs/assets/{ThreeColumnLayout-DXA1815_.js → ThreeColumnLayout-DLj9ww3X.js} +1 -1
  173. package/docs/assets/{ThreeColumnLayout.stories-BA08mTZ7.js → ThreeColumnLayout.stories-BD0ZEOam.js} +1 -1
  174. package/docs/assets/{Tile-3fvrXM7M.js → Tile-CV9qCJCf.js} +1 -1
  175. package/docs/assets/{Tile.sb.shared-Crj50ugV.js → Tile.sb.shared-CYs-5pZ0.js} +1 -1
  176. package/docs/assets/{Tile.stories-0SQaiGz7.js → Tile.stories-32aU_anv.js} +1 -1
  177. package/docs/assets/{Toast-CTbKhm1i.js → Toast-p9LnCPmL.js} +1 -1
  178. package/docs/assets/{Toast.stories-hUEtnOQn.js → Toast.stories-zF82pwwv.js} +1 -1
  179. package/docs/assets/{ToggleButton-D-t1sDTL.js → ToggleButton-D_HZ-8jw.js} +1 -1
  180. package/docs/assets/{ToggleButton.stories-CaAweKdC.js → ToggleButton.stories-CV-iGLoy.js} +1 -1
  181. package/docs/assets/{Tooltip-DZi9yXjr.js → Tooltip-DKqXTPwf.js} +1 -1
  182. package/docs/assets/{Tooltip.stories-D-DHfToA.js → Tooltip.stories-D_SR7U8f.js} +1 -1
  183. package/docs/assets/{TypographyTokensLms.stories-CZpPPUwu.js → TypographyTokensLms.stories-qRJAJdvd.js} +1 -1
  184. package/docs/assets/{TypographyVariables.stories-B4Lg96R3.js → TypographyVariables.stories-B6W3MuIN.js} +1 -1
  185. package/docs/assets/{Well-D1j9q3W3.js → Well-Di8wsKpw.js} +1 -1
  186. package/docs/assets/{Well.stories-wgg6f6S7.js → Well.stories-D3CQkZun.js} +1 -1
  187. package/docs/assets/entry-preview-B1UVjA37.js +1 -0
  188. package/docs/assets/{entry-preview-docs-Bz8Se46p.js → entry-preview-docs-Cs1P1b8z.js} +1 -1
  189. package/docs/assets/{iframe-CKOJ9wC7.js → iframe-BH6Q2yq5.js} +11 -8
  190. package/docs/assets/{index-Be4sB5Yj.js → index-7TY-LtbS.js} +1 -1
  191. package/docs/assets/{index-0M4xY6Fw.js → index-BncE9pY5.js} +1 -1
  192. package/docs/assets/{preview-BIPjgpxe.js → preview-CQnQ4kXS.js} +2 -2
  193. package/docs/assets/preview-RZnfww4F.js +64 -0
  194. package/docs/assets/{string-B1AGRR5v.js → string-DZMRm3DC.js} +1 -1
  195. package/docs/assets/{vue-popper-DoPHnofs.js → vue-popper-CgJSQDC2.js} +1 -1
  196. package/docs/assets/vue.esm-bundler-CC_vsnCp.js +36 -0
  197. package/docs/iframe.html +1 -1
  198. package/docs/index.json +1 -1
  199. package/docs/project.json +1 -1
  200. package/lib/js/components/Badge/Badge.vue +6 -5
  201. package/lib/js/components/Buttons/Button/Button.spec.ts +3 -3
  202. package/lib/js/components/Buttons/HelpButton/HelpButton.spec.ts +87 -0
  203. package/lib/js/components/Buttons/HelpButton/HelpButton.stories.ts +70 -0
  204. package/lib/js/components/Buttons/HelpButton/HelpButton.vue +52 -0
  205. package/lib/js/components/Buttons/HelpButton/index.ts +3 -0
  206. package/lib/js/components/Chip/Chip.spec.ts +3 -2
  207. package/lib/js/components/Chip/Chip.vue +0 -1
  208. package/lib/js/components/DatePickers/DateBox/DateBox.stories.ts +0 -3
  209. package/lib/js/components/Form/FormField/FormField.consts.ts +10 -0
  210. package/lib/js/components/Form/FormField/FormField.spec.ts +138 -0
  211. package/lib/js/components/Form/FormField/FormField.stories.shared.ts +53 -0
  212. package/lib/js/components/Form/FormField/FormField.stories.ts +81 -0
  213. package/lib/js/components/Form/FormField/FormField.types.ts +17 -0
  214. package/lib/js/components/Form/FormField/FormField.utils.ts +24 -0
  215. package/lib/js/components/Form/FormField/FormField.vue +192 -0
  216. package/lib/js/components/Form/FormField/FormFieldMessage/FormFieldMessage.spec.ts +53 -0
  217. package/lib/js/components/Form/FormField/FormFieldMessage/FormFieldMessage.stories.ts +74 -0
  218. package/lib/js/components/Form/FormField/FormFieldMessage/FormFieldMessage.vue +89 -0
  219. package/lib/js/components/Form/FormField/FormFieldMessage/index.ts +2 -0
  220. package/lib/js/components/Form/FormField/index.ts +6 -0
  221. package/lib/js/components/Form/InputField/InputField.spec.ts +135 -0
  222. package/lib/js/components/Form/InputField/InputField.stories.ts +98 -0
  223. package/lib/js/components/Form/InputField/InputField.types.ts +13 -0
  224. package/lib/js/components/Form/InputField/InputField.vue +151 -0
  225. package/lib/js/components/Form/InputField/index.ts +3 -0
  226. package/lib/js/components/Form/PasswordField/PasswordField.spec.ts +73 -0
  227. package/lib/js/components/Form/PasswordField/PasswordField.stories.ts +88 -0
  228. package/lib/js/components/Form/PasswordField/PasswordField.vue +55 -0
  229. package/lib/js/components/Form/PasswordField/index.ts +3 -0
  230. package/lib/js/components/Modals/Modal/Modal.consts.ts +8 -2
  231. package/lib/js/components/Modals/Modal/Modal.vue +10 -3
  232. package/lib/js/components/SelectList/SelectListItemToggle/SelectListItemToggle.stories.ts +0 -1
  233. package/lib/js/components/SurveyQuestions/SurveyQuestionScale/SurveyQuestionScale.vue +43 -47
  234. package/lib/js/components/TabItem/TabItem.spec.ts +0 -1
  235. package/lib/js/components/Toast/Toast.vue +0 -2
  236. package/lib/js/index.ts +7 -0
  237. package/lib/js/styles/Borders/BorderSizes.stories.ts +1 -1
  238. package/lib/js/styles/ItemsList.vue +1 -1
  239. package/package.json +5 -5
  240. package/tsconfig.base.json +1 -2
  241. package/tsconfig.build.json +8 -0
  242. package/tsconfig.json +1 -6
  243. package/vite.config.ts +9 -1
  244. package/docs/assets/Avatar-CM7iogZ3.js +0 -1
  245. package/docs/assets/BasicRichListItem-quALUWxY.js +0 -1
  246. package/docs/assets/Card-KSW_Q55y.js +0 -1
  247. package/docs/assets/CardExpandable-yMDr4_fF.js +0 -1
  248. package/docs/assets/Checkbox-DAOkXx1R.js +0 -1
  249. package/docs/assets/DrawerHeader-AkG6Jq7W.js +0 -1
  250. package/docs/assets/DrawerTile-0-CB5w9j.js +0 -1
  251. package/docs/assets/Dropdown-CYFZ3OvV.js +0 -1
  252. package/docs/assets/GroupRichListItem-C_Gsy7fK.js +0 -1
  253. package/docs/assets/IconButton-BPKB5gT7.js +0 -1
  254. package/docs/assets/Modal-Cy1kzNhG.js +0 -1
  255. package/docs/assets/OutlineDivider-UaRb6wKt.js +0 -1
  256. package/docs/assets/OverlayHeader-u9AeOezr.js +0 -1
  257. package/docs/assets/RadioButton-DISpvFOt.js +0 -1
  258. package/docs/assets/SelectListSectionTitle-BFbrwNgw.js +0 -1
  259. package/docs/assets/SurveyQuestionOpenEnded-B_HbDRQs.js +0 -1
  260. package/docs/assets/SurveyQuestionScale-CiKDA0ax.js +0 -1
  261. package/docs/assets/Switch-Du-uh84v.js +0 -1
  262. package/docs/assets/entry-preview-lHccVHf5.js +0 -1
  263. package/docs/assets/preview-BQvHXGdy.js +0 -64
  264. package/docs/assets/vue.esm-bundler-DD4BrEtS.js +0 -36
@@ -0,0 +1,40 @@
1
+ import { ModalSize } from '../../Modals/Modal';
2
+
3
+ declare function __VLS_template(): Readonly<{
4
+ modal?: (props: {
5
+ onClose: () => void;
6
+ }) => any;
7
+ modalContent?: () => any;
8
+ }> & {
9
+ modal?: (props: {
10
+ onClose: () => void;
11
+ }) => any;
12
+ modalContent?: () => any;
13
+ };
14
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
15
+ tooltipText?: string;
16
+ isDisabled?: boolean;
17
+ modalTitle?: string;
18
+ modalSize?: ModalSize;
19
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
20
+ tooltipText?: string;
21
+ isDisabled?: boolean;
22
+ modalTitle?: string;
23
+ modalSize?: ModalSize;
24
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
25
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
26
+ export default _default;
27
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
28
+ type __VLS_TypePropsToRuntimeProps<T> = {
29
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
30
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
31
+ } : {
32
+ type: import('vue').PropType<T[K]>;
33
+ required: true;
34
+ };
35
+ };
36
+ type __VLS_WithTemplateSlots<T, S> = T & {
37
+ new (): {
38
+ $slots: S;
39
+ };
40
+ };
@@ -0,0 +1,3 @@
1
+ import { default as HelpButton } from './HelpButton.vue';
2
+
3
+ export default HelpButton;
@@ -1,4 +1,3 @@
1
- import { Value } from '../../utils/type.utils';
2
1
  import { BUTTON_ELEVATIONS } from '../Buttons/Button';
3
2
  import { ICON_BUTTON_COLORS, ICON_BUTTON_STATES } from '../Buttons/IconButton';
4
3
  import { ChipColor, ChipRadius, ChipSize, ChipState } from './Chip.consts';
@@ -490,7 +489,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
490
489
  state: {
491
490
  type: StringConstructor;
492
491
  default: "default";
493
- validator(value: Value<typeof ICON_BUTTON_STATES>): boolean;
492
+ validator(value: import('../../utils/type.utils').Value<typeof ICON_BUTTON_STATES>): boolean;
494
493
  };
495
494
  }>, {
496
495
  isHovered: import('vue').Ref<boolean>;
@@ -823,7 +822,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
823
822
  state: {
824
823
  type: StringConstructor;
825
824
  default: "default";
826
- validator(value: Value<typeof ICON_BUTTON_STATES>): boolean;
825
+ validator(value: import('../../utils/type.utils').Value<typeof ICON_BUTTON_STATES>): boolean;
827
826
  };
828
827
  }>> & Readonly<{}>, {
829
828
  size: string;
@@ -914,27 +913,27 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
914
913
  size: {
915
914
  type: StringConstructor;
916
915
  default: "medium";
917
- validator(value: Value<typeof import('../Buttons/Button').BUTTON_SIZES>): boolean;
916
+ validator(value: import('../../utils/type.utils').Value<typeof import('../Buttons/Button').BUTTON_SIZES>): boolean;
918
917
  };
919
918
  type: {
920
919
  type: StringConstructor;
921
920
  default: "filled";
922
- validator(value: Value<typeof import('../Buttons/Button').BUTTON_TYPES>): boolean;
921
+ validator(value: import('../../utils/type.utils').Value<typeof import('../Buttons/Button').BUTTON_TYPES>): boolean;
923
922
  };
924
923
  color: {
925
924
  type: (StringConstructor | null)[];
926
925
  default: "primary";
927
- validator(value: Value<typeof ICON_BUTTON_COLORS>): boolean;
926
+ validator(value: import('../../utils/type.utils').Value<typeof ICON_BUTTON_COLORS>): boolean;
928
927
  };
929
928
  radius: {
930
929
  type: StringConstructor;
931
930
  default: "capsule";
932
- validator(value: Value<typeof import('../Buttons/Button').BUTTON_RADIUSES>): boolean;
931
+ validator(value: import('../../utils/type.utils').Value<typeof import('../Buttons/Button').BUTTON_RADIUSES>): boolean;
933
932
  };
934
933
  state: {
935
934
  type: StringConstructor;
936
935
  default: "default";
937
- validator(value: Value<typeof import('../Buttons/Button').BUTTON_STATES>): boolean;
936
+ validator(value: import('../../utils/type.utils').Value<typeof import('../Buttons/Button').BUTTON_STATES>): boolean;
938
937
  };
939
938
  iconLeft: {
940
939
  type: ObjectConstructor;
@@ -949,7 +948,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
949
948
  elevation: {
950
949
  type: StringConstructor;
951
950
  default: "none";
952
- validator(value: Value<typeof BUTTON_ELEVATIONS>): boolean;
951
+ validator(value: import('../../utils/type.utils').Value<typeof BUTTON_ELEVATIONS>): boolean;
953
952
  };
954
953
  }>, {}, {
955
954
  ICONS: Readonly<{
@@ -1227,27 +1226,27 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1227
1226
  size: {
1228
1227
  type: StringConstructor;
1229
1228
  default: "medium";
1230
- validator(value: Value<typeof import('../Buttons/Button').BUTTON_SIZES>): boolean;
1229
+ validator(value: import('../../utils/type.utils').Value<typeof import('../Buttons/Button').BUTTON_SIZES>): boolean;
1231
1230
  };
1232
1231
  type: {
1233
1232
  type: StringConstructor;
1234
1233
  default: "filled";
1235
- validator(value: Value<typeof import('../Buttons/Button').BUTTON_TYPES>): boolean;
1234
+ validator(value: import('../../utils/type.utils').Value<typeof import('../Buttons/Button').BUTTON_TYPES>): boolean;
1236
1235
  };
1237
1236
  color: {
1238
1237
  type: (StringConstructor | null)[];
1239
1238
  default: "primary";
1240
- validator(value: Value<typeof ICON_BUTTON_COLORS>): boolean;
1239
+ validator(value: import('../../utils/type.utils').Value<typeof ICON_BUTTON_COLORS>): boolean;
1241
1240
  };
1242
1241
  radius: {
1243
1242
  type: StringConstructor;
1244
1243
  default: "capsule";
1245
- validator(value: Value<typeof import('../Buttons/Button').BUTTON_RADIUSES>): boolean;
1244
+ validator(value: import('../../utils/type.utils').Value<typeof import('../Buttons/Button').BUTTON_RADIUSES>): boolean;
1246
1245
  };
1247
1246
  state: {
1248
1247
  type: StringConstructor;
1249
1248
  default: "default";
1250
- validator(value: Value<typeof import('../Buttons/Button').BUTTON_STATES>): boolean;
1249
+ validator(value: import('../../utils/type.utils').Value<typeof import('../Buttons/Button').BUTTON_STATES>): boolean;
1251
1250
  };
1252
1251
  iconLeft: {
1253
1252
  type: ObjectConstructor;
@@ -1262,7 +1261,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1262
1261
  elevation: {
1263
1262
  type: StringConstructor;
1264
1263
  default: "none";
1265
- validator(value: Value<typeof BUTTON_ELEVATIONS>): boolean;
1264
+ validator(value: import('../../utils/type.utils').Value<typeof BUTTON_ELEVATIONS>): boolean;
1266
1265
  };
1267
1266
  }>> & Readonly<{}>, {
1268
1267
  size: string;
@@ -342,6 +342,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
342
342
  }>> & Readonly<{}>, {
343
343
  color: string;
344
344
  state: string;
345
+ isOpen: boolean;
345
346
  isInteractive: boolean;
346
347
  placeholder: string;
347
348
  startDate: Date;
@@ -349,7 +350,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
349
350
  startIcon: Record<string, any>;
350
351
  endIcon: Record<string, any>;
351
352
  areIconsHiddenOnMobile: boolean;
352
- isOpen: boolean;
353
353
  }, {}, {
354
354
  DsIcon: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
355
355
  icon: {
@@ -604,12 +604,12 @@ declare const _default: import('vue').DefineComponent<{
604
604
  color: string;
605
605
  state: string;
606
606
  isIconHiddenOnMobile: boolean;
607
+ date: Date;
607
608
  isLabelUppercase: boolean;
608
609
  isInteractive: boolean;
609
610
  placeholder: string;
610
611
  additionalText: string;
611
612
  triggerType: string;
612
- date: Date;
613
613
  helpMessage: string;
614
614
  errorMessage: string;
615
615
  calendarPosition: string;
@@ -1421,6 +1421,7 @@ declare const _default: import('vue').DefineComponent<{
1421
1421
  }>> & Readonly<{}>, {
1422
1422
  color: string;
1423
1423
  state: string;
1424
+ isOpen: boolean;
1424
1425
  isInteractive: boolean;
1425
1426
  placeholder: string;
1426
1427
  startDate: Date;
@@ -1428,7 +1429,6 @@ declare const _default: import('vue').DefineComponent<{
1428
1429
  startIcon: Record<string, any>;
1429
1430
  endIcon: Record<string, any>;
1430
1431
  areIconsHiddenOnMobile: boolean;
1431
- isOpen: boolean;
1432
1432
  }, {}, {
1433
1433
  DsIcon: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
1434
1434
  icon: {
@@ -949,6 +949,7 @@ declare const _default: import('vue').DefineComponent<{
949
949
  }>> & Readonly<{}>, {
950
950
  color: string;
951
951
  state: string;
952
+ isOpen: boolean;
952
953
  isInteractive: boolean;
953
954
  placeholder: string;
954
955
  startDate: Date;
@@ -956,7 +957,6 @@ declare const _default: import('vue').DefineComponent<{
956
957
  startIcon: Record<string, any>;
957
958
  endIcon: Record<string, any>;
958
959
  areIconsHiddenOnMobile: boolean;
959
- isOpen: boolean;
960
960
  }, {}, {
961
961
  DsIcon: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
962
962
  icon: {
@@ -0,0 +1,9 @@
1
+ import { Value } from '../../../utils/type.utils';
2
+
3
+ export declare const FORM_FIELD_STATES: {
4
+ readonly DEFAULT: "default";
5
+ readonly DISABLED: "disabled";
6
+ readonly ERROR: "error";
7
+ readonly SUCCESS: "success";
8
+ };
9
+ export type FormFieldState = Value<typeof FORM_FIELD_STATES>;
@@ -0,0 +1,5 @@
1
+ import { Meta, StoryObj } from '@storybook/vue3';
2
+ import { default as FormField } from './FormField.vue';
3
+
4
+ export declare const argTypes: Meta<typeof FormField>['argTypes'];
5
+ export declare const args: StoryObj<typeof FormField>['args'];
@@ -0,0 +1,21 @@
1
+ export interface FormFieldProps {
2
+ label?: string;
3
+ state?: 'default' | 'disabled' | 'error' | 'success';
4
+ hasRequiredIndicator?: boolean;
5
+ labelInfo?: string;
6
+ subLabel?: string;
7
+ fieldId?: string;
8
+ messageText?: string;
9
+ }
10
+ export interface FormFieldSlots {
11
+ labelAside?: () => any;
12
+ help?: () => any;
13
+ field: (props: {
14
+ fieldId: string;
15
+ messageId: string;
16
+ }) => any;
17
+ message?: (props: {
18
+ messageId: string;
19
+ }) => any;
20
+ fieldStatus?: () => any;
21
+ }
@@ -0,0 +1,11 @@
1
+ import { FormFieldProps } from './FormField.types';
2
+
3
+ export declare function extractFormFieldProps({ label, state, hasRequiredIndicator, labelInfo, subLabel, fieldId, messageText, }: FormFieldProps): {
4
+ label: string | undefined;
5
+ state: "success" | "default" | "disabled" | "error" | undefined;
6
+ hasRequiredIndicator: boolean | undefined;
7
+ labelInfo: string | undefined;
8
+ subLabel: string | undefined;
9
+ fieldId: string | undefined;
10
+ messageText: string | undefined;
11
+ };
@@ -0,0 +1,20 @@
1
+ import { FormFieldProps, FormFieldSlots } from './FormField.types';
2
+
3
+ declare function __VLS_template(): Readonly<FormFieldSlots> & FormFieldSlots;
4
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FormFieldProps>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FormFieldProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
5
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
6
+ export default _default;
7
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
8
+ type __VLS_TypePropsToRuntimeProps<T> = {
9
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
10
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
11
+ } : {
12
+ type: import('vue').PropType<T[K]>;
13
+ required: true;
14
+ };
15
+ };
16
+ type __VLS_WithTemplateSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
@@ -0,0 +1,30 @@
1
+ import { FormFieldState } from '../FormField.consts';
2
+
3
+ declare function __VLS_template(): Readonly<{
4
+ default: () => any;
5
+ }> & {
6
+ default: () => any;
7
+ };
8
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
9
+ state?: FormFieldState;
10
+ messageId: string;
11
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
12
+ state?: FormFieldState;
13
+ messageId: string;
14
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
15
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
16
+ export default _default;
17
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
18
+ type __VLS_TypePropsToRuntimeProps<T> = {
19
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
20
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
21
+ } : {
22
+ type: import('vue').PropType<T[K]>;
23
+ required: true;
24
+ };
25
+ };
26
+ type __VLS_WithTemplateSlots<T, S> = T & {
27
+ new (): {
28
+ $slots: S;
29
+ };
30
+ };
@@ -0,0 +1,3 @@
1
+ import { default as FormFieldMessage } from './FormFieldMessage.vue';
2
+
3
+ export default FormFieldMessage;
@@ -0,0 +1,5 @@
1
+ import { default as FormField } from './FormField.vue';
2
+
3
+ export * from './FormField.consts';
4
+ export * from './FormField.types';
5
+ export default FormField;
@@ -0,0 +1,12 @@
1
+ import { InputHTMLAttributes } from 'vue';
2
+ import { FormFieldProps, FormFieldSlots } from '../FormField';
3
+ import { IconItem } from '../../Icons/Icon';
4
+
5
+ export interface InputFieldProps extends FormFieldProps {
6
+ inputProps?: InputHTMLAttributes;
7
+ leftIcon?: IconItem | null;
8
+ suffixText?: string;
9
+ }
10
+ export interface InputFieldSlots extends Omit<FormFieldSlots, 'field'> {
11
+ action?: () => any;
12
+ }
@@ -0,0 +1,72 @@
1
+ import { InputHTMLAttributes } from 'vue';
2
+ import { InputFieldSlots } from './InputField.types';
3
+
4
+ declare function __VLS_template(): Readonly<InputFieldSlots> & InputFieldSlots;
5
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
6
+ modelValue: import('vue').PropType<string>;
7
+ inputProps: {
8
+ type: import('vue').PropType<InputHTMLAttributes>;
9
+ };
10
+ leftIcon: import('../../Icons/Icon').IconItem | null;
11
+ suffixText: {
12
+ type: import('vue').PropType<string>;
13
+ };
14
+ label: {
15
+ type: import('vue').PropType<string>;
16
+ };
17
+ state: {
18
+ type: import('vue').PropType<"success" | "default" | "disabled" | "error">;
19
+ };
20
+ hasRequiredIndicator: {
21
+ type: import('vue').PropType<boolean>;
22
+ };
23
+ labelInfo: {
24
+ type: import('vue').PropType<string>;
25
+ };
26
+ subLabel: {
27
+ type: import('vue').PropType<string>;
28
+ };
29
+ fieldId: {
30
+ type: import('vue').PropType<string>;
31
+ };
32
+ messageText: {
33
+ type: import('vue').PropType<string>;
34
+ };
35
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
36
+ modelValue: import('vue').PropType<string>;
37
+ inputProps: {
38
+ type: import('vue').PropType<InputHTMLAttributes>;
39
+ };
40
+ leftIcon: import('../../Icons/Icon').IconItem | null;
41
+ suffixText: {
42
+ type: import('vue').PropType<string>;
43
+ };
44
+ label: {
45
+ type: import('vue').PropType<string>;
46
+ };
47
+ state: {
48
+ type: import('vue').PropType<"success" | "default" | "disabled" | "error">;
49
+ };
50
+ hasRequiredIndicator: {
51
+ type: import('vue').PropType<boolean>;
52
+ };
53
+ labelInfo: {
54
+ type: import('vue').PropType<string>;
55
+ };
56
+ subLabel: {
57
+ type: import('vue').PropType<string>;
58
+ };
59
+ fieldId: {
60
+ type: import('vue').PropType<string>;
61
+ };
62
+ messageText: {
63
+ type: import('vue').PropType<string>;
64
+ };
65
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
66
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
67
+ export default _default;
68
+ type __VLS_WithTemplateSlots<T, S> = T & {
69
+ new (): {
70
+ $slots: S;
71
+ };
72
+ };
@@ -0,0 +1,3 @@
1
+ import { default as InputField } from './InputField.vue';
2
+
3
+ export default InputField;
@@ -0,0 +1,70 @@
1
+ import { InputHTMLAttributes } from 'vue';
2
+ import { InputFieldSlots } from '../InputField/InputField.types';
3
+
4
+ declare function __VLS_template(): Readonly<Omit<InputFieldSlots, "action">> & Omit<InputFieldSlots, "action">;
5
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
6
+ modelValue: import('vue').PropType<string>;
7
+ label: {
8
+ type: import('vue').PropType<string>;
9
+ };
10
+ state: {
11
+ type: import('vue').PropType<"success" | "default" | "disabled" | "error">;
12
+ };
13
+ hasRequiredIndicator: {
14
+ type: import('vue').PropType<boolean>;
15
+ };
16
+ labelInfo: {
17
+ type: import('vue').PropType<string>;
18
+ };
19
+ subLabel: {
20
+ type: import('vue').PropType<string>;
21
+ };
22
+ fieldId: {
23
+ type: import('vue').PropType<string>;
24
+ };
25
+ messageText: {
26
+ type: import('vue').PropType<string>;
27
+ };
28
+ inputProps: {
29
+ type: import('vue').PropType<InputHTMLAttributes>;
30
+ };
31
+ suffixText: {
32
+ type: import('vue').PropType<string>;
33
+ };
34
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
35
+ modelValue: import('vue').PropType<string>;
36
+ label: {
37
+ type: import('vue').PropType<string>;
38
+ };
39
+ state: {
40
+ type: import('vue').PropType<"success" | "default" | "disabled" | "error">;
41
+ };
42
+ hasRequiredIndicator: {
43
+ type: import('vue').PropType<boolean>;
44
+ };
45
+ labelInfo: {
46
+ type: import('vue').PropType<string>;
47
+ };
48
+ subLabel: {
49
+ type: import('vue').PropType<string>;
50
+ };
51
+ fieldId: {
52
+ type: import('vue').PropType<string>;
53
+ };
54
+ messageText: {
55
+ type: import('vue').PropType<string>;
56
+ };
57
+ inputProps: {
58
+ type: import('vue').PropType<InputHTMLAttributes>;
59
+ };
60
+ suffixText: {
61
+ type: import('vue').PropType<string>;
62
+ };
63
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
64
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
65
+ export default _default;
66
+ type __VLS_WithTemplateSlots<T, S> = T & {
67
+ new (): {
68
+ $slots: S;
69
+ };
70
+ };
@@ -0,0 +1,3 @@
1
+ import { default as PasswordField } from './PasswordField.vue';
2
+
3
+ export default PasswordField;
@@ -1,8 +1,12 @@
1
+ import { Value } from '../../../utils/type.utils';
2
+
1
3
  export declare const MODAL_SIZES: {
2
- SMALL: string;
3
- MEDIUM: string;
4
+ readonly SMALL: "small";
5
+ readonly MEDIUM: "medium";
4
6
  };
7
+ export type ModalSize = Value<typeof MODAL_SIZES>;
5
8
  export declare const MODAL_HEADER_TITLE_SIZES: {
6
- SMALL: string;
7
- MEDIUM: string;
9
+ readonly SMALL: "small";
10
+ readonly MEDIUM: "medium";
8
11
  };
12
+ export type ModalHeaderTitleSize = Value<typeof MODAL_HEADER_TITLE_SIZES>;
@@ -1,11 +1,12 @@
1
+ import { ModalHeaderTitleSize, ModalSize } from './Modal.consts';
1
2
  import { BUTTON_ELEVATIONS, BUTTON_STATES, BUTTON_TYPES, ButtonState } from '../../Buttons/Button';
2
3
  import { ICON_BUTTON_COLORS } from '../../Buttons/IconButton';
3
4
 
4
5
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
5
6
  size: {
6
7
  type: StringConstructor;
7
- default: string;
8
- validator: (value: string) => boolean;
8
+ default: "medium";
9
+ validator: (value: ModalSize) => boolean;
9
10
  };
10
11
  danger: {
11
12
  type: BooleanConstructor;
@@ -13,8 +14,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
13
14
  };
14
15
  headerTitleSize: {
15
16
  type: StringConstructor;
16
- default: string;
17
- validator: (value: string) => boolean;
17
+ default: "medium";
18
+ validator: (value: ModalHeaderTitleSize) => boolean;
18
19
  };
19
20
  headerTitle: {
20
21
  type: StringConstructor;
@@ -352,12 +353,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
352
353
  XX_LARGE: string;
353
354
  }>;
354
355
  MODAL_SIZES: Readonly<{
355
- SMALL: string;
356
- MEDIUM: string;
356
+ readonly SMALL: "small";
357
+ readonly MEDIUM: "medium";
357
358
  }>;
358
359
  MODAL_HEADER_TITLE_SIZES: Readonly<{
359
- SMALL: string;
360
- MEDIUM: string;
360
+ readonly SMALL: "small";
361
+ readonly MEDIUM: "medium";
361
362
  }>;
362
363
  FEATURE_ICON_SIZES: Readonly<{
363
364
  SMALL: string;
@@ -371,11 +372,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
371
372
  calcFooterSecondaryButtonColor(): "danger" | "neutral";
372
373
  calcSingleColumn(): boolean;
373
374
  displayFooter(): any;
374
- }, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("close-modal" | "tertiary-button-click" | "checkbox-change" | "secondary-button-click" | "primary-button-click")[], "close-modal" | "tertiary-button-click" | "checkbox-change" | "secondary-button-click" | "primary-button-click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
375
+ }, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("tertiary-button-click" | "checkbox-change" | "close-modal" | "secondary-button-click" | "primary-button-click")[], "tertiary-button-click" | "checkbox-change" | "close-modal" | "secondary-button-click" | "primary-button-click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
375
376
  size: {
376
377
  type: StringConstructor;
377
- default: string;
378
- validator: (value: string) => boolean;
378
+ default: "medium";
379
+ validator: (value: ModalSize) => boolean;
379
380
  };
380
381
  danger: {
381
382
  type: BooleanConstructor;
@@ -383,8 +384,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
383
384
  };
384
385
  headerTitleSize: {
385
386
  type: StringConstructor;
386
- default: string;
387
- validator: (value: string) => boolean;
387
+ default: "medium";
388
+ validator: (value: ModalHeaderTitleSize) => boolean;
388
389
  };
389
390
  headerTitle: {
390
391
  type: StringConstructor;
@@ -459,9 +460,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
459
460
  default: null;
460
461
  };
461
462
  }>> & Readonly<{
462
- "onClose-modal"?: ((...args: any[]) => any) | undefined;
463
463
  "onTertiary-button-click"?: ((...args: any[]) => any) | undefined;
464
464
  "onCheckbox-change"?: ((...args: any[]) => any) | undefined;
465
+ "onClose-modal"?: ((...args: any[]) => any) | undefined;
465
466
  "onSecondary-button-click"?: ((...args: any[]) => any) | undefined;
466
467
  "onPrimary-button-click"?: ((...args: any[]) => any) | undefined;
467
468
  }>, {