@baloise/ds-core 20.0.0-next.4 → 20.0.0-next.7

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 (1040) hide show
  1. package/LICENSE +9 -0
  2. package/components/all.d.ts +58 -0
  3. package/components/all.js +87 -0
  4. package/components/ds-accordion.js +1 -1
  5. package/components/ds-alert-container.js +1 -1
  6. package/components/ds-app.js +1 -1
  7. package/components/ds-badge.js +1 -1
  8. package/components/ds-button-group.js +1 -1
  9. package/components/ds-button.js +1 -1
  10. package/components/ds-card-actions.js +1 -1
  11. package/components/ds-card-content.js +1 -1
  12. package/components/ds-card-header.js +1 -1
  13. package/components/ds-card-subtitle.js +1 -1
  14. package/components/ds-card-title.js +1 -1
  15. package/components/ds-card.js +1 -1
  16. package/components/ds-carousel-item.d.ts +11 -0
  17. package/components/ds-carousel-item.js +4 -0
  18. package/components/ds-carousel.d.ts +11 -0
  19. package/components/ds-carousel.js +4 -0
  20. package/components/ds-checkbox-group.js +1 -1
  21. package/components/ds-checkbox.js +1 -1
  22. package/components/ds-close.js +1 -1
  23. package/components/ds-content.js +1 -1
  24. package/components/ds-data-item.d.ts +11 -0
  25. package/components/ds-data-item.js +4 -0
  26. package/components/ds-data-label.d.ts +11 -0
  27. package/components/ds-data-label.js +4 -0
  28. package/components/ds-data-value.d.ts +11 -0
  29. package/components/ds-data-value.js +4 -0
  30. package/components/ds-data.d.ts +11 -0
  31. package/components/ds-data.js +4 -0
  32. package/components/ds-date.d.ts +11 -0
  33. package/components/ds-date.js +4 -0
  34. package/components/ds-divider.js +1 -1
  35. package/components/ds-drawer.d.ts +11 -0
  36. package/components/ds-drawer.js +4 -0
  37. package/components/ds-file-upload.d.ts +11 -0
  38. package/components/ds-file-upload.js +4 -0
  39. package/components/ds-footer.d.ts +11 -0
  40. package/components/ds-footer.js +4 -0
  41. package/components/ds-heading.js +1 -1
  42. package/components/ds-hint-text.d.ts +11 -0
  43. package/components/ds-hint-text.js +4 -0
  44. package/components/ds-hint-title.d.ts +11 -0
  45. package/components/ds-hint-title.js +4 -0
  46. package/components/ds-hint.d.ts +11 -0
  47. package/components/ds-hint.js +4 -0
  48. package/components/ds-icon.js +1 -1
  49. package/components/ds-input-slider.d.ts +11 -0
  50. package/components/ds-input-slider.js +4 -0
  51. package/components/ds-input.js +1 -1
  52. package/components/ds-item.js +1 -1
  53. package/components/ds-label.js +1 -1
  54. package/components/ds-list.js +1 -1
  55. package/components/ds-logo.js +1 -1
  56. package/components/ds-modal-body.d.ts +11 -0
  57. package/components/ds-modal-body.js +4 -0
  58. package/components/ds-modal-header.d.ts +11 -0
  59. package/components/ds-modal-header.js +4 -0
  60. package/components/ds-modal.d.ts +11 -0
  61. package/components/ds-modal.js +4 -0
  62. package/components/ds-navbar.d.ts +11 -0
  63. package/components/ds-navbar.js +4 -0
  64. package/components/ds-notification.js +1 -1
  65. package/components/ds-number-input.js +1 -1
  66. package/components/ds-pagination.js +1 -1
  67. package/components/ds-popup.d.ts +11 -0
  68. package/components/ds-popup.js +4 -0
  69. package/components/ds-progress-bar.js +1 -1
  70. package/components/ds-radio-group.js +1 -1
  71. package/components/ds-radio.js +1 -1
  72. package/components/ds-segment-item.js +1 -1
  73. package/components/ds-segment.js +1 -1
  74. package/components/ds-select-optgroup.d.ts +11 -0
  75. package/components/ds-select-optgroup.js +4 -0
  76. package/components/ds-select-option.d.ts +11 -0
  77. package/components/ds-select-option.js +4 -0
  78. package/components/ds-select.d.ts +11 -0
  79. package/components/ds-select.js +4 -0
  80. package/components/ds-shape.js +1 -1
  81. package/components/ds-snackbar.js +1 -1
  82. package/components/ds-spinner.js +1 -1
  83. package/components/ds-stack.js +1 -1
  84. package/components/ds-step-panel.d.ts +11 -0
  85. package/components/ds-step-panel.js +4 -0
  86. package/components/ds-step.d.ts +11 -0
  87. package/components/ds-step.js +4 -0
  88. package/components/ds-steps.d.ts +11 -0
  89. package/components/ds-steps.js +4 -0
  90. package/components/ds-tab-panel.d.ts +11 -0
  91. package/components/ds-tab-panel.js +4 -0
  92. package/components/ds-tab.d.ts +11 -0
  93. package/components/ds-tab.js +4 -0
  94. package/components/ds-tabs.d.ts +11 -0
  95. package/components/ds-tabs.js +4 -0
  96. package/components/ds-tag-group.js +1 -1
  97. package/components/ds-tag.js +1 -1
  98. package/components/ds-text.js +1 -1
  99. package/components/ds-textarea.js +1 -1
  100. package/components/ds-toast.js +1 -1
  101. package/components/ds-toggle.js +1 -1
  102. package/components/ds-tooltip.d.ts +11 -0
  103. package/components/ds-tooltip.js +4 -0
  104. package/components/index.js +1 -1
  105. package/components/p--EKmxaBS.js +4 -0
  106. package/components/p-3Mi9vpmB.js +4 -0
  107. package/components/p-ABj0eATe.js +4 -0
  108. package/components/p-B-en4B17.js +4 -0
  109. package/components/p-BgzU1loG.js +4 -0
  110. package/components/p-BhbWmCTu.js +4 -0
  111. package/components/p-BqY0KzJC.js +4 -0
  112. package/components/p-BrIcCcce.js +4 -0
  113. package/components/p-BrJFPhMA.js +4 -0
  114. package/components/{p-Urcs7-vS.js → p-BwfAXfmz.js} +1 -1
  115. package/components/p-BwwAKEvn.js +4 -0
  116. package/components/p-ByX1_7SF.js +4 -0
  117. package/components/p-C1jqbZdf.js +4 -0
  118. package/{dist/design-system/p-15bc012833.entry.js → components/p-CA7G72wZ.js} +1 -1
  119. package/components/p-CQHwI4iD.js +4 -0
  120. package/components/p-CWDuQL1i.js +4 -0
  121. package/components/p-CvaNxQtw.js +4 -0
  122. package/components/p-D5zw5ezD.js +4 -0
  123. package/components/p-D9ILiUgm.js +4 -0
  124. package/{dist/design-system/p-BATOumsf.js → components/p-D9YYP2SG.js} +1 -1
  125. package/components/p-DAYd9ty0.js +4 -0
  126. package/components/p-DIK6Zkg6.js +4 -0
  127. package/{dist/design-system/p-BkESlUMc.js → components/p-DQBzmbR6.js} +1 -1
  128. package/components/p-DSeYzuO7.js +4 -0
  129. package/components/{p-z1jJgtep.js → p-DU7t9H9h.js} +1 -1
  130. package/components/p-DY0y8uLL.js +4 -0
  131. package/components/p-DYTOWDAA.js +4 -0
  132. package/components/p-DYlqkAWn.js +4 -0
  133. package/components/p-DbM7ALm9.js +14 -0
  134. package/{dist/design-system/p-D2tr7015.js → components/p-DbY6Pfeh.js} +1 -1
  135. package/components/{p-DZqqelPH.js → p-DcSNuA8W.js} +1 -1
  136. package/components/p-DenZRIeA.js +4 -0
  137. package/{dist/design-system/p-BwrOVItb.js → components/p-Dr4MUfss.js} +1 -1
  138. package/components/p-Du7QOHtz.js +5 -0
  139. package/components/{p-E8U6M5ii.js → p-FBQaJyH0.js} +1 -1
  140. package/components/{p-Dr4dquer.js → p-J0mxIuTt.js} +1 -1
  141. package/{dist/design-system/p-DJxr2Dcd.js → components/p-UCeQ1JCs.js} +1 -1
  142. package/components/p-Uy_dVz21.js +4 -0
  143. package/components/p-VsWv65bD.js +4 -0
  144. package/components/p-WO0X5Vmy.js +4 -0
  145. package/components/p-gz0Nxl39.js +4 -0
  146. package/components/{p-Bt20CEww.js → p-n3_2KEz0.js} +1 -1
  147. package/components/p-qaSW94OG.js +4 -0
  148. package/components/p-u5aa74vh.js +4 -0
  149. package/dist/cjs/{_getTag-B468r9bu.js → _getTag-DxZgmSPS.js} +1 -1
  150. package/dist/cjs/array-CYn4ALBt.js +1986 -0
  151. package/dist/cjs/{breakpoints.decorator-qaoHOU6Q.js → breakpoints.decorator-DY5iYsA5.js} +1 -1
  152. package/dist/cjs/{breakpoints.subject-DhAN_ZAn.js → breakpoints.subject-CzhLlIwN.js} +3 -3
  153. package/dist/cjs/{button.interfaces-BueDWsuH.js → button.interfaces-CqlUGR-N.js} +1 -1
  154. package/dist/cjs/carousel.interfaces-BFQpUNrw.js +12 -0
  155. package/dist/cjs/{config.decorator-Qmrq4ZYj.js → config.decorator-C64wi-MA.js} +1 -1
  156. package/dist/cjs/{config.utils-Cv4cx_Xa.js → config.utils-BhWbrVRz.js} +1 -1
  157. package/dist/cjs/create-validator-decorator-Ctd288ve.js +212 -0
  158. package/dist/cjs/design-system.cjs.js +3 -3
  159. package/dist/cjs/{device-CptgCtVc.js → device-CIliLOe9.js} +1 -1
  160. package/dist/cjs/ds-accordion.cjs.entry.js +30 -34
  161. package/dist/cjs/ds-alert-container.cjs.entry.js +12 -15
  162. package/dist/cjs/ds-app.cjs.entry.js +16 -6
  163. package/dist/cjs/ds-badge.cjs.entry.js +33 -26
  164. package/dist/cjs/ds-button-group.cjs.entry.js +14 -17
  165. package/dist/cjs/ds-button_2.cjs.entry.js +58 -73
  166. package/dist/cjs/ds-card-actions.cjs.entry.js +6 -8
  167. package/dist/cjs/ds-card-content.cjs.entry.js +3 -3
  168. package/dist/cjs/ds-card-header.cjs.entry.js +8 -5
  169. package/dist/cjs/ds-card-subtitle.cjs.entry.js +13 -13
  170. package/dist/cjs/ds-card-title.cjs.entry.js +11 -7
  171. package/dist/cjs/ds-card.cjs.entry.js +32 -43
  172. package/dist/cjs/ds-carousel-item.cjs.entry.js +128 -0
  173. package/dist/cjs/ds-carousel.cjs.entry.js +473 -0
  174. package/dist/cjs/ds-checkbox-group.cjs.entry.js +60 -2013
  175. package/dist/cjs/ds-checkbox.cjs.entry.js +33 -20
  176. package/dist/cjs/ds-content_2.cjs.entry.js +330 -0
  177. package/dist/cjs/ds-data-item.cjs.entry.js +146 -0
  178. package/dist/cjs/ds-data-label.cjs.entry.js +41 -0
  179. package/dist/cjs/ds-data-value.cjs.entry.js +31 -0
  180. package/dist/cjs/ds-data.cjs.entry.js +43 -0
  181. package/dist/cjs/ds-date.cjs.entry.js +5334 -0
  182. package/dist/cjs/{ds-logo.cjs.entry.js → ds-divider_2.cjs.entry.js} +130 -25
  183. package/dist/cjs/ds-drawer_2.cjs.entry.js +602 -0
  184. package/dist/cjs/ds-file-upload.cjs.entry.js +516 -0
  185. package/dist/cjs/ds-footer.cjs.entry.js +159 -0
  186. package/dist/cjs/ds-heading.cjs.entry.js +22 -20
  187. package/dist/cjs/ds-hint-text.cjs.entry.js +28 -0
  188. package/dist/cjs/ds-hint-title.cjs.entry.js +31 -0
  189. package/dist/cjs/ds-hint.cjs.entry.js +243 -0
  190. package/dist/cjs/ds-icon_2.cjs.entry.js +82 -73
  191. package/dist/cjs/ds-input-slider.cjs.entry.js +2885 -0
  192. package/dist/cjs/ds-input.cjs.entry.js +45 -43
  193. package/dist/cjs/ds-item.cjs.entry.js +29 -34
  194. package/dist/cjs/ds-label.cjs.entry.js +23 -31
  195. package/dist/cjs/ds-list.cjs.entry.js +6 -12
  196. package/dist/cjs/ds-modal-body.cjs.entry.js +34 -0
  197. package/dist/cjs/ds-modal-header.cjs.entry.js +31 -0
  198. package/dist/cjs/ds-modal.cjs.entry.js +201 -0
  199. package/dist/cjs/ds-navbar.cjs.entry.js +359 -0
  200. package/dist/cjs/ds-notification.cjs.entry.js +20 -28
  201. package/dist/cjs/ds-number-input.cjs.entry.js +107 -119
  202. package/dist/cjs/ds-pagination.cjs.entry.js +41 -37
  203. package/dist/cjs/ds-progress-bar.cjs.entry.js +25 -29
  204. package/dist/cjs/ds-radio-group.cjs.entry.js +48 -30
  205. package/dist/cjs/ds-radio.cjs.entry.js +36 -34
  206. package/dist/cjs/ds-segment-item.cjs.entry.js +9 -9
  207. package/dist/cjs/ds-segment.cjs.entry.js +29 -117
  208. package/dist/cjs/ds-select-optgroup.cjs.entry.js +49 -0
  209. package/dist/cjs/ds-select-option.cjs.entry.js +57 -0
  210. package/dist/cjs/ds-select.cjs.entry.js +2772 -0
  211. package/dist/cjs/ds-shape.cjs.entry.js +10 -16
  212. package/dist/cjs/ds-snackbar.cjs.entry.js +41 -58
  213. package/dist/cjs/ds-step-panel.cjs.entry.js +55 -0
  214. package/dist/cjs/ds-step.cjs.entry.js +170 -0
  215. package/dist/cjs/ds-steps.cjs.entry.js +227 -0
  216. package/dist/cjs/ds-tab-panel.cjs.entry.js +55 -0
  217. package/dist/cjs/ds-tab.cjs.entry.js +120 -0
  218. package/dist/cjs/ds-tabs.cjs.entry.js +364 -0
  219. package/dist/cjs/ds-tag-group.cjs.entry.js +3 -3
  220. package/dist/cjs/ds-tag.cjs.entry.js +19 -26
  221. package/dist/cjs/ds-text.cjs.entry.js +29 -33
  222. package/dist/cjs/ds-textarea.cjs.entry.js +32 -31
  223. package/dist/cjs/ds-toast.cjs.entry.js +41 -55
  224. package/dist/cjs/ds-toggle.cjs.entry.js +22 -21
  225. package/dist/cjs/ds-tooltip.cjs.entry.js +182 -0
  226. package/dist/cjs/{field.util-RjuvTLNZ.js → field.util-g9nhtuZH.js} +1 -1
  227. package/dist/cjs/floating-ui.dom-Cu3dZdFD.js +1628 -0
  228. package/dist/cjs/focus-BUszBnbl.js +1958 -0
  229. package/dist/cjs/footer.i18n-CpGxizgm.js +162 -0
  230. package/dist/cjs/{form-control-Bno2tBGf.js → form-control-B4Qf8fg-.js} +2 -2
  231. package/dist/cjs/has-value-rj502MLA.js +12 -0
  232. package/dist/cjs/{index-CdD-TT_n.js → index-CqInh7Vc.js} +502 -175
  233. package/dist/cjs/index.cjs.js +26 -8283
  234. package/dist/cjs/isArray-DvQst6zQ.js +42 -0
  235. package/dist/cjs/isNaN-DOSPWDkt.js +106 -0
  236. package/dist/cjs/{isObjectLike-h-ta_ikf.js → isObjectLike-BNz6hnAu.js} +0 -37
  237. package/dist/cjs/keyboard-C7y0jXYb.js +23 -0
  238. package/dist/cjs/{listener-DgVWqfa1.js → listener-1PZJDuOW.js} +1 -1
  239. package/dist/cjs/loader.cjs.js +2 -2
  240. package/dist/cjs/luxon-q23LOWrr.js +8137 -0
  241. package/dist/cjs/one-of-BotLfpAZ.js +30 -0
  242. package/dist/cjs/popup.interfaces-B-mwd9rh.js +23 -0
  243. package/dist/cjs/required-BAhZ8oRM.js +38 -0
  244. package/dist/cjs/resize.decorator-Sqefy8ta.js +98 -0
  245. package/dist/cjs/scroll--5tnvpG1.js +89 -0
  246. package/dist/cjs/svg-D9RbiR8R.js +2443 -0
  247. package/dist/cjs/{tslib.es6-BTi-SLnA.js → tslib.es6-BIB10hMZ.js} +1 -1
  248. package/dist/cjs/type-Br_NbeTX.js +33 -0
  249. package/dist/collection/collection-manifest.json +31 -2
  250. package/dist/collection/components/accordion/accordion.host.css +1 -1
  251. package/dist/collection/components/accordion/accordion.js +22 -29
  252. package/dist/collection/components/alert/alert-container.js +8 -14
  253. package/dist/collection/components/alert/alert.controller.js +1 -1
  254. package/dist/collection/components/alert/snackbar/snackbar.host.css +1 -1
  255. package/dist/collection/components/alert/snackbar/snackbar.js +30 -53
  256. package/dist/collection/components/alert/toast/toast.host.css +1 -1
  257. package/dist/collection/components/alert/toast/toast.js +32 -53
  258. package/dist/collection/components/app/app.js +11 -3
  259. package/dist/collection/components/badge/badge.host.css +1 -1
  260. package/dist/collection/components/badge/badge.interfaces.js +1 -1
  261. package/dist/collection/components/badge/badge.js +28 -25
  262. package/dist/collection/components/button/button-group/button-group.js +8 -14
  263. package/dist/collection/components/button/button.host.css +1 -1
  264. package/dist/collection/components/button/button.interfaces.js +1 -1
  265. package/dist/collection/components/button/button.js +44 -54
  266. package/dist/collection/components/card/card-actions/card-actions.js +3 -6
  267. package/dist/collection/components/card/card-content/card-content.host.css +1 -1
  268. package/dist/collection/components/card/card-header/card-header.js +4 -3
  269. package/dist/collection/components/card/card-subtitle/card-subtitle.js +8 -11
  270. package/dist/collection/components/card/card-title/card-title.js +6 -5
  271. package/dist/collection/components/card/card.host.css +1 -1
  272. package/dist/collection/components/card/card.js +30 -42
  273. package/dist/collection/components/carousel/carousel/carousel.host.css +1 -0
  274. package/dist/collection/components/carousel/carousel/carousel.i18n.js +65 -0
  275. package/dist/collection/components/carousel/carousel/carousel.js +631 -0
  276. package/dist/collection/components/carousel/carousel-item/carousel-item.host.css +1 -0
  277. package/dist/collection/components/carousel/carousel-item/carousel-item.js +313 -0
  278. package/dist/collection/components/carousel/carousel.interfaces.js +6 -0
  279. package/dist/collection/components/carousel/test/carousel.a11y.play.js +34 -0
  280. package/dist/collection/components/carousel/test/carousel.component.play.js +57 -0
  281. package/dist/collection/components/carousel/test/carousel.visual.play.js +24 -0
  282. package/dist/collection/components/checkbox/checkbox-group/checkbox-group.host.css +1 -1
  283. package/dist/collection/components/checkbox/checkbox-group/checkbox-group.js +63 -27
  284. package/dist/collection/components/checkbox/checkbox.host.css +1 -1
  285. package/dist/collection/components/checkbox/checkbox.js +47 -18
  286. package/dist/collection/components/checkbox/test/checkbox.visual.play.js +3 -0
  287. package/dist/collection/components/close/close.js +10 -21
  288. package/dist/collection/components/content/content.js +38 -52
  289. package/dist/collection/components/data/data-item.host.css +1 -0
  290. package/dist/collection/components/data/data-item.i18n.js +35 -0
  291. package/dist/collection/components/data/data-item.js +244 -0
  292. package/dist/collection/components/data/data-label.host.css +1 -0
  293. package/dist/collection/components/data/data-label.js +72 -0
  294. package/dist/collection/components/data/data-value.host.css +1 -0
  295. package/dist/collection/components/data/data-value.js +38 -0
  296. package/dist/collection/components/data/data.host.css +1 -0
  297. package/dist/collection/components/data/data.js +75 -0
  298. package/dist/collection/components/data/test/data.a11y.play.js +31 -0
  299. package/dist/collection/components/data/test/data.component.play.js +104 -0
  300. package/dist/collection/components/data/test/data.visual.play.js +25 -0
  301. package/dist/collection/components/date/date.host.css +1 -0
  302. package/dist/collection/components/date/date.i18n.js +105 -0
  303. package/dist/collection/components/date/date.interfaces.js +4 -0
  304. package/dist/collection/components/date/date.js +1241 -0
  305. package/dist/collection/components/date/date.mask.js +189 -0
  306. package/dist/collection/components/date/date.picker.js +536 -0
  307. package/dist/collection/components/date/test/date.a11y.play.js +27 -0
  308. package/dist/collection/components/date/test/date.component.play.js +69 -0
  309. package/dist/collection/components/date/test/date.visual.play.js +43 -0
  310. package/dist/collection/components/divider/divider.host.css +1 -1
  311. package/dist/collection/components/divider/divider.js +11 -24
  312. package/dist/collection/components/drawer/drawer.host.css +1 -0
  313. package/dist/collection/{utils/property-checkers/constants.js → components/drawer/drawer.interfaces.js} +1 -1
  314. package/dist/collection/components/drawer/drawer.js +492 -0
  315. package/dist/collection/components/drawer/test/drawer.a11y.play.js +39 -0
  316. package/dist/collection/components/drawer/test/drawer.component.play.js +131 -0
  317. package/dist/collection/components/drawer/test/drawer.visual.play.js +31 -0
  318. package/dist/collection/components/file-upload/file-upload.host.css +1 -0
  319. package/dist/collection/components/file-upload/file-upload.i18n.js +55 -0
  320. package/dist/collection/components/file-upload/file-upload.interfaces.js +10 -0
  321. package/dist/collection/components/file-upload/file-upload.js +1030 -0
  322. package/dist/collection/components/file-upload/test/file-upload.a11y.play.js +52 -0
  323. package/dist/collection/components/file-upload/test/file-upload.component.play.js +124 -0
  324. package/dist/collection/components/file-upload/test/file-upload.visual.play.js +18 -0
  325. package/dist/collection/components/file-upload/utils/file-list.util.js +13 -0
  326. package/dist/collection/components/file-upload/utils/file-size.util.js +10 -0
  327. package/dist/collection/components/file-upload/utils/file-validation.util.js +48 -0
  328. package/dist/collection/components/footer/footer.host.css +1 -0
  329. package/dist/collection/components/footer/footer.i18n.js +155 -0
  330. package/dist/collection/components/footer/footer.interfaces.js +4 -0
  331. package/dist/collection/components/footer/footer.js +350 -0
  332. package/dist/collection/components/footer/test/footer.a11y.play.js +17 -0
  333. package/dist/collection/components/footer/test/footer.component.play.js +74 -0
  334. package/dist/collection/components/footer/test/footer.visual.play.js +16 -0
  335. package/dist/collection/components/form/test/form.visual.play.js +13 -1
  336. package/dist/collection/components/heading/heading.host.css +1 -1
  337. package/dist/collection/components/heading/heading.js +16 -17
  338. package/dist/collection/components/hint/hint-text/hint-text.js +28 -0
  339. package/dist/collection/components/hint/hint-title/hint-title.js +31 -0
  340. package/dist/collection/components/hint/hint.host.css +1 -0
  341. package/dist/collection/components/hint/hint.i18n.js +35 -0
  342. package/dist/collection/components/hint/hint.interfaces.js +1 -0
  343. package/dist/collection/components/hint/hint.js +410 -0
  344. package/dist/collection/components/hint/test/hint.a11y.play.js +41 -0
  345. package/dist/collection/components/hint/test/hint.component.play.js +110 -0
  346. package/dist/collection/components/hint/test/hint.visual.play.js +39 -0
  347. package/dist/collection/components/icon/icon.host.css +1 -1
  348. package/dist/collection/components/icon/icon.interfaces.js +1 -0
  349. package/dist/collection/components/icon/icon.js +73 -42
  350. package/dist/collection/components/icon/test/icon.component.play.js +23 -1
  351. package/dist/collection/components/input/clear-button.i18n.js +35 -0
  352. package/dist/collection/components/input/clear-button.util.js +11 -0
  353. package/dist/collection/components/input/input.host.css +1 -1
  354. package/dist/collection/components/input/input.js +36 -37
  355. package/dist/collection/components/input/test/input.component.play.js +1 -1
  356. package/dist/collection/components/input/trigger-button.i18n.js +45 -0
  357. package/dist/collection/components/input-slider/input-slider.host.css +1 -0
  358. package/dist/collection/components/input-slider/input-slider.interfaces.js +4 -0
  359. package/dist/collection/components/input-slider/input-slider.js +961 -0
  360. package/dist/collection/components/input-slider/input-slider.picker.js +124 -0
  361. package/dist/collection/components/input-slider/input-slider.utils.js +32 -0
  362. package/dist/collection/components/input-slider/test/input-slider.a11y.play.js +36 -0
  363. package/dist/collection/components/input-slider/test/input-slider.component.play.js +87 -0
  364. package/dist/collection/components/input-slider/test/input-slider.visual.play.js +27 -0
  365. package/dist/collection/components/label/label.host.css +1 -1
  366. package/dist/collection/components/label/label.js +16 -28
  367. package/dist/collection/components/list/item/item.host.css +1 -1
  368. package/dist/collection/components/list/item/item.interfaces.js +1 -1
  369. package/dist/collection/components/list/item/item.js +27 -34
  370. package/dist/collection/components/list/list.js +3 -10
  371. package/dist/collection/components/list/test/list.visual.play.js +30 -0
  372. package/dist/collection/components/logo/logo.js +11 -18
  373. package/dist/collection/components/modal/modal-body/modal-body.host.css +1 -0
  374. package/dist/collection/components/modal/modal-body/modal-body.js +41 -0
  375. package/dist/collection/components/modal/modal-header/modal-header.js +32 -0
  376. package/dist/collection/components/modal/modal.controller.js +31 -0
  377. package/dist/collection/components/modal/modal.host.css +1 -0
  378. package/dist/collection/components/modal/modal.interfaces.js +1 -0
  379. package/dist/collection/components/modal/modal.js +461 -0
  380. package/dist/collection/components/modal/test/modal.a11y.play.js +59 -0
  381. package/dist/collection/components/modal/test/modal.component.play.js +196 -0
  382. package/dist/collection/components/modal/test/modal.visual.play.js +36 -0
  383. package/dist/collection/components/navbar/navbar.host.css +1 -0
  384. package/dist/collection/components/navbar/navbar.i18n.js +65 -0
  385. package/dist/collection/components/navbar/navbar.interfaces.js +6 -0
  386. package/dist/collection/components/navbar/navbar.js +544 -0
  387. package/dist/collection/components/navbar/test/navbar.a11y.play.js +26 -0
  388. package/dist/collection/components/navbar/test/navbar.component.play.js +76 -0
  389. package/dist/collection/components/navbar/test/navbar.visual.play.js +14 -0
  390. package/dist/collection/components/notification/notification.host.css +1 -1
  391. package/dist/collection/components/notification/notification.js +14 -26
  392. package/dist/collection/components/number-input/number-input.host.css +1 -1
  393. package/dist/collection/components/number-input/number-input.js +23 -24
  394. package/dist/collection/components/pagination/pagination.host.css +1 -1
  395. package/dist/collection/components/pagination/pagination.js +29 -28
  396. package/dist/collection/components/popup/popup.host.css +1 -0
  397. package/dist/collection/components/popup/popup.interfaces.js +18 -0
  398. package/dist/collection/components/popup/popup.js +869 -0
  399. package/dist/collection/components/popup/test/popup.a11y.play.js +50 -0
  400. package/dist/collection/components/popup/test/popup.component.play.js +168 -0
  401. package/dist/collection/components/popup/test/popup.visual.play.js +33 -0
  402. package/dist/collection/components/progress-bar/progress-bar.host.css +1 -1
  403. package/dist/collection/components/progress-bar/progress-bar.js +13 -20
  404. package/dist/collection/components/radio/radio-group/radio-group.host.css +1 -1
  405. package/dist/collection/components/radio/radio-group/radio-group.js +60 -24
  406. package/dist/collection/components/radio/radio.host.css +1 -1
  407. package/dist/collection/components/radio/radio.js +48 -20
  408. package/dist/collection/components/radio/test/radio.visual.play.js +3 -0
  409. package/dist/collection/components/segment/segment/segment.host.css +1 -1
  410. package/dist/collection/components/segment/segment/segment.js +19 -20
  411. package/dist/collection/components/segment/segment-item.js +6 -7
  412. package/dist/collection/components/select/select-optgroup.host.css +1 -0
  413. package/dist/collection/components/select/select-optgroup.js +82 -0
  414. package/dist/collection/components/select/select-option.host.css +1 -0
  415. package/dist/collection/components/select/select-option.js +112 -0
  416. package/dist/collection/components/select/select.host.css +1 -0
  417. package/dist/collection/components/select/select.i18n.js +45 -0
  418. package/dist/collection/components/select/select.interfaces.js +4 -0
  419. package/dist/collection/components/select/select.js +1024 -0
  420. package/dist/collection/components/select/select.picker.js +276 -0
  421. package/dist/collection/components/select/test/select.a11y.play.js +81 -0
  422. package/dist/collection/components/select/test/select.component.play.js +184 -0
  423. package/dist/collection/components/select/test/select.visual.play.js +70 -0
  424. package/dist/collection/components/shape/shape.js +7 -14
  425. package/dist/collection/components/spinner/spinner.js +18 -26
  426. package/dist/collection/components/stack/stack.host.css +1 -1
  427. package/dist/collection/components/stack/stack.js +41 -153
  428. package/dist/collection/components/steps/step/step.host.css +1 -0
  429. package/dist/collection/components/steps/step/step.js +431 -0
  430. package/dist/collection/components/steps/step-panel/step-panel.host.css +1 -0
  431. package/dist/collection/components/steps/step-panel/step-panel.js +104 -0
  432. package/dist/collection/components/steps/steps/steps.host.css +1 -0
  433. package/dist/collection/components/steps/steps/steps.js +356 -0
  434. package/dist/collection/components/steps/steps.interfaces.js +4 -0
  435. package/dist/collection/components/steps/test/steps.a11y.play.js +73 -0
  436. package/dist/collection/components/steps/test/steps.component.play.js +182 -0
  437. package/dist/collection/components/steps/test/steps.visual.play.js +18 -0
  438. package/dist/collection/components/tabs/tab/tab.host.css +1 -0
  439. package/dist/collection/components/tabs/tab/tab.js +278 -0
  440. package/dist/collection/components/tabs/tab-panel/tab-panel.host.css +1 -0
  441. package/dist/collection/components/tabs/tab-panel/tab-panel.js +104 -0
  442. package/dist/collection/components/tabs/tabs/tabs.host.css +1 -0
  443. package/dist/collection/components/tabs/tabs/tabs.i18n.js +45 -0
  444. package/dist/collection/components/tabs/tabs/tabs.js +552 -0
  445. package/dist/collection/components/tabs/tabs.interfaces.js +12 -0
  446. package/dist/collection/components/tabs/test/tabs.a11y.play.js +60 -0
  447. package/dist/collection/components/tabs/test/tabs.component.play.js +129 -0
  448. package/dist/collection/components/tabs/test/tabs.visual.play.js +31 -0
  449. package/dist/collection/components/tag/tag-group/tag-group.js +1 -1
  450. package/dist/collection/components/tag/tag.js +15 -26
  451. package/dist/collection/components/text/text.host.css +1 -1
  452. package/dist/collection/components/text/text.js +23 -30
  453. package/dist/collection/components/textarea/textarea.host.css +1 -1
  454. package/dist/collection/components/textarea/textarea.js +24 -25
  455. package/dist/collection/components/time-input/test/time-input.visual.play.js +18 -0
  456. package/dist/collection/components/toggle/toggle.js +19 -20
  457. package/dist/collection/components/tooltip/test/tooltip.a11y.play.js +32 -0
  458. package/dist/collection/components/tooltip/test/tooltip.component.play.js +51 -0
  459. package/dist/collection/components/tooltip/test/tooltip.visual.play.js +16 -0
  460. package/dist/collection/components/tooltip/tooltip.host.css +1 -0
  461. package/dist/collection/components/tooltip/tooltip.interfaces.js +4 -0
  462. package/dist/collection/components/tooltip/tooltip.js +407 -0
  463. package/dist/collection/foundation/colors.visual.play.js +18 -0
  464. package/dist/collection/global/config/config.const.js +11 -0
  465. package/dist/collection/global/config/config.default.js +92 -42
  466. package/dist/collection/global/config/config.js +1 -1
  467. package/dist/collection/global/config/config.meta.js +27 -0
  468. package/dist/collection/global/config/index.js +1 -0
  469. package/dist/collection/global/config/initialize.js +2 -1
  470. package/dist/collection/global/constants/tags.constant.js +30 -1
  471. package/dist/collection/global/constants/version.constant.js +1 -1
  472. package/dist/collection/global/index.js +0 -1
  473. package/dist/collection/global/initialize.js +2 -0
  474. package/dist/collection/index.js +5 -20
  475. package/dist/collection/utils/attributes.js +0 -15
  476. package/dist/collection/utils/focus.js +72 -0
  477. package/dist/collection/utils/form-control.js +1 -1
  478. package/dist/collection/utils/has-value.js +7 -0
  479. package/dist/collection/utils/helpers.js +14 -74
  480. package/dist/collection/utils/index.js +7 -5
  481. package/dist/collection/utils/{property-checkers/is-value-empty.js → is-value-empty.js} +1 -1
  482. package/dist/collection/utils/number.js +6 -25
  483. package/dist/collection/utils/property-decorators/array-of.js +25 -0
  484. package/dist/collection/utils/property-decorators/bound.js +79 -0
  485. package/dist/collection/utils/property-decorators/create-validator-decorator.js +212 -0
  486. package/dist/collection/utils/property-decorators/date.js +24 -0
  487. package/dist/collection/utils/property-decorators/index.js +12 -0
  488. package/dist/collection/utils/property-decorators/iso-date.js +24 -0
  489. package/dist/collection/utils/property-decorators/one-of.js +25 -0
  490. package/dist/collection/utils/property-decorators/pattern.js +25 -0
  491. package/dist/collection/utils/property-decorators/required.js +44 -0
  492. package/dist/collection/utils/property-decorators/type.js +28 -0
  493. package/dist/collection/utils/property-decorators/url.js +32 -0
  494. package/dist/collection/utils/property-types.js +1 -0
  495. package/dist/collection/utils/svg.js +19 -0
  496. package/dist/design-system/design-system.esm.js +1 -1
  497. package/dist/design-system/index.esm.js +1 -1
  498. package/dist/design-system/p-00e6b1b780.entry.js +4 -0
  499. package/dist/design-system/p-0bf3d4d939.entry.js +4 -0
  500. package/dist/design-system/p-0ea6cdd218.entry.js +4 -0
  501. package/dist/design-system/p-0f2a87fa39.entry.js +4 -0
  502. package/dist/design-system/p-138be1f0cc.entry.js +4 -0
  503. package/dist/design-system/p-16b03e0b02.entry.js +4 -0
  504. package/dist/design-system/p-1750b3c4f1.entry.js +4 -0
  505. package/dist/design-system/p-1A9jKraP.js +4 -0
  506. package/dist/design-system/p-1b1e3ad99c.entry.js +4 -0
  507. package/dist/design-system/p-24c85e99f5.entry.js +4 -0
  508. package/dist/design-system/p-2b038255c5.entry.js +4 -0
  509. package/dist/design-system/p-2bb98dfa2f.entry.js +4 -0
  510. package/dist/design-system/p-2eb6067210.entry.js +4 -0
  511. package/dist/design-system/p-32e156bc72.entry.js +4 -0
  512. package/dist/design-system/p-3824068ae7.entry.js +4 -0
  513. package/dist/design-system/p-3aa3841834.entry.js +4 -0
  514. package/dist/design-system/p-3d2539929c.entry.js +4 -0
  515. package/dist/design-system/p-3d675c6507.entry.js +4 -0
  516. package/dist/design-system/p-3e3a6799d6.entry.js +4 -0
  517. package/dist/design-system/p-3e43fa2bc6.entry.js +4 -0
  518. package/dist/design-system/p-4284d6d646.entry.js +4 -0
  519. package/dist/design-system/{p-1d312498a6.entry.js → p-44981aaf8d.entry.js} +1 -1
  520. package/dist/design-system/p-4b2a59576c.entry.js +4 -0
  521. package/dist/design-system/p-4bfc094a03.entry.js +4 -0
  522. package/dist/design-system/p-53d9a40010.entry.js +4 -0
  523. package/dist/design-system/p-564ee4d78f.entry.js +4 -0
  524. package/dist/design-system/p-599a693db3.entry.js +4 -0
  525. package/dist/design-system/p-5a6c6959fa.entry.js +4 -0
  526. package/dist/design-system/p-5d4a5d0b61.entry.js +4 -0
  527. package/dist/design-system/p-5ded2b6438.entry.js +4 -0
  528. package/dist/design-system/p-5f1a8be21c.entry.js +4 -0
  529. package/dist/design-system/p-5f28436626.entry.js +4 -0
  530. package/dist/design-system/p-6c60833550.entry.js +4 -0
  531. package/dist/design-system/p-7246bfb9a0.entry.js +4 -0
  532. package/dist/design-system/p-77e7a6a068.entry.js +4 -0
  533. package/dist/design-system/p-78112e7b35.entry.js +4 -0
  534. package/dist/design-system/p-7ebdd14afc.entry.js +4 -0
  535. package/dist/design-system/p-7f42c18249.entry.js +4 -0
  536. package/dist/design-system/p-85bf3794f9.entry.js +4 -0
  537. package/dist/design-system/p-8a9d617f75.entry.js +4 -0
  538. package/dist/design-system/p-908e7b073a.entry.js +4 -0
  539. package/dist/design-system/p-9f9364d7df.entry.js +4 -0
  540. package/dist/design-system/p-B-en4B17.js +4 -0
  541. package/dist/design-system/p-B-v2Wm-V.js +5 -0
  542. package/dist/design-system/p-B8KVoKrH.js +5 -0
  543. package/dist/design-system/p-B8PCdo6e.js +4 -0
  544. package/dist/design-system/p-BAY6Z8bT.js +4 -0
  545. package/dist/design-system/{p-C7EnKCpl.js → p-BMM6Nxeh.js} +1 -1
  546. package/{components/p-Diz11uvt.js → dist/design-system/p-BPGfTrrM.js} +1 -1
  547. package/dist/design-system/p-BqY0KzJC.js +4 -0
  548. package/dist/design-system/p-BrJFPhMA.js +4 -0
  549. package/dist/design-system/p-C1jqbZdf.js +4 -0
  550. package/dist/design-system/{p-DCf2fJmI.js → p-C5Rtikeh.js} +1 -1
  551. package/dist/design-system/p-CDhvZoCt.js +4 -0
  552. package/dist/design-system/p-CGHN-3RC.js +4 -0
  553. package/dist/design-system/{p-CAcwu8uP.js → p-CfgwSore.js} +1 -1
  554. package/dist/design-system/p-ChSKXFK5.js +4 -0
  555. package/dist/design-system/{p-BLPSziW-.js → p-Chgme2NJ.js} +1 -1
  556. package/{components/p-5Sp1eJOt.js → dist/design-system/p-CrYAd3JT.js} +1 -1
  557. package/dist/design-system/p-CziF75uh.js +4 -0
  558. package/dist/design-system/p-DJBD4skP.js +14 -0
  559. package/{components/p-E1SnOz0L.js → dist/design-system/p-DOvdnojj.js} +1 -1
  560. package/dist/design-system/p-DYPX3A8m.js +4 -0
  561. package/dist/design-system/p-DiUgZKWs.js +4 -0
  562. package/dist/design-system/p-Dk0GEN2t.js +4 -0
  563. package/dist/design-system/p-DkhJaoXg.js +4 -0
  564. package/dist/design-system/p-DoHCSvjl.js +4 -0
  565. package/dist/design-system/p-DypNSUAh.js +4 -0
  566. package/dist/design-system/p-Uy_dVz21.js +4 -0
  567. package/dist/design-system/{p-Dnjznncd.js → p-Y0rKqVvm.js} +1 -1
  568. package/dist/design-system/p-Z0zrglhd.js +4 -0
  569. package/dist/design-system/p-a42ecb68a0.entry.js +4 -0
  570. package/dist/design-system/p-a782c877ea.entry.js +4 -0
  571. package/dist/design-system/p-a8df8f067b.entry.js +4 -0
  572. package/dist/design-system/p-aa3aee2591.entry.js +4 -0
  573. package/dist/design-system/p-aa3c0ff536.entry.js +4 -0
  574. package/dist/design-system/p-ab8bee7022.entry.js +4 -0
  575. package/dist/design-system/p-adc58b2821.entry.js +4 -0
  576. package/dist/design-system/p-b390490b0d.entry.js +4 -0
  577. package/dist/design-system/p-b44641ec28.entry.js +4 -0
  578. package/dist/design-system/p-b4738dc266.entry.js +4 -0
  579. package/dist/design-system/p-b851a43fff.entry.js +4 -0
  580. package/dist/design-system/p-b8669a617c.entry.js +4 -0
  581. package/dist/design-system/p-b8f626bf28.entry.js +4 -0
  582. package/dist/design-system/p-bd543e1baf.entry.js +4 -0
  583. package/dist/design-system/p-ce67cbbed5.entry.js +4 -0
  584. package/dist/design-system/p-d3a80b8422.entry.js +4 -0
  585. package/dist/design-system/p-d4d9205dda.entry.js +4 -0
  586. package/dist/design-system/p-dbd3d3b3d3.entry.js +4 -0
  587. package/{components/p-BATOumsf.js → dist/design-system/p-dziB1ufg.js} +1 -1
  588. package/dist/design-system/p-e0b2d6e296.entry.js +4 -0
  589. package/dist/design-system/p-e94ee7391c.entry.js +4 -0
  590. package/dist/design-system/p-ee76bf354e.entry.js +4 -0
  591. package/dist/design-system/p-f7be5b6114.entry.js +4 -0
  592. package/dist/design-system/p-fa613cd0d1.entry.js +4 -0
  593. package/dist/design-system/p-faf75173db.entry.js +4 -0
  594. package/dist/design-system/p-fff38e1ca7.entry.js +4 -0
  595. package/dist/design-system/p-x2KazRjl.js +4 -0
  596. package/dist/esm/{_getTag-DFxL3s3h.js → _getTag-BkweuRJc.js} +1 -1
  597. package/dist/esm/array-BJZA868l.js +1984 -0
  598. package/dist/esm/{breakpoints.decorator-L2xeP46f.js → breakpoints.decorator-D9M4v98c.js} +1 -1
  599. package/dist/esm/{breakpoints.subject-BhbzG-rl.js → breakpoints.subject-DHZ7TzYV.js} +3 -3
  600. package/dist/esm/{button.interfaces-BkESlUMc.js → button.interfaces-BPGfTrrM.js} +1 -1
  601. package/dist/esm/carousel.interfaces-B-en4B17.js +8 -0
  602. package/dist/esm/{config.decorator-BQNIja4k.js → config.decorator-CRYVBTkX.js} +1 -1
  603. package/dist/esm/{config.utils-COlKFRlV.js → config.utils-CR4Xudpz.js} +1 -1
  604. package/dist/esm/create-validator-decorator-fUav5byo.js +208 -0
  605. package/dist/esm/design-system.js +4 -4
  606. package/dist/esm/{device-Dhwt3m7W.js → device-CapioAfe.js} +1 -1
  607. package/dist/esm/ds-accordion.entry.js +30 -34
  608. package/dist/esm/ds-alert-container.entry.js +12 -15
  609. package/dist/esm/ds-app.entry.js +16 -6
  610. package/dist/esm/ds-badge.entry.js +33 -26
  611. package/dist/esm/ds-button-group.entry.js +14 -17
  612. package/dist/esm/ds-button_2.entry.js +58 -73
  613. package/dist/esm/ds-card-actions.entry.js +6 -8
  614. package/dist/esm/ds-card-content.entry.js +3 -3
  615. package/dist/esm/ds-card-header.entry.js +8 -5
  616. package/dist/esm/ds-card-subtitle.entry.js +13 -13
  617. package/dist/esm/ds-card-title.entry.js +11 -7
  618. package/dist/esm/ds-card.entry.js +32 -43
  619. package/dist/esm/ds-carousel-item.entry.js +126 -0
  620. package/dist/esm/ds-carousel.entry.js +471 -0
  621. package/dist/esm/ds-checkbox-group.entry.js +59 -2012
  622. package/dist/esm/ds-checkbox.entry.js +33 -20
  623. package/dist/esm/ds-content_2.entry.js +327 -0
  624. package/dist/esm/ds-data-item.entry.js +144 -0
  625. package/dist/esm/ds-data-label.entry.js +39 -0
  626. package/dist/esm/ds-data-value.entry.js +29 -0
  627. package/dist/esm/ds-data.entry.js +41 -0
  628. package/dist/esm/ds-date.entry.js +5332 -0
  629. package/dist/esm/{ds-logo.entry.js → ds-divider_2.entry.js} +130 -26
  630. package/dist/esm/ds-drawer_2.entry.js +599 -0
  631. package/dist/esm/ds-file-upload.entry.js +514 -0
  632. package/dist/esm/ds-footer.entry.js +157 -0
  633. package/dist/esm/ds-heading.entry.js +22 -20
  634. package/dist/esm/ds-hint-text.entry.js +26 -0
  635. package/dist/esm/ds-hint-title.entry.js +29 -0
  636. package/dist/esm/ds-hint.entry.js +241 -0
  637. package/dist/esm/ds-icon_2.entry.js +80 -71
  638. package/dist/esm/ds-input-slider.entry.js +2883 -0
  639. package/dist/esm/ds-input.entry.js +46 -44
  640. package/dist/esm/ds-item.entry.js +29 -34
  641. package/dist/esm/ds-label.entry.js +23 -31
  642. package/dist/esm/ds-list.entry.js +6 -12
  643. package/dist/esm/ds-modal-body.entry.js +32 -0
  644. package/dist/esm/ds-modal-header.entry.js +29 -0
  645. package/dist/esm/ds-modal.entry.js +199 -0
  646. package/dist/esm/ds-navbar.entry.js +357 -0
  647. package/dist/esm/ds-notification.entry.js +20 -28
  648. package/dist/esm/ds-number-input.entry.js +102 -114
  649. package/dist/esm/ds-pagination.entry.js +41 -37
  650. package/dist/esm/ds-progress-bar.entry.js +25 -29
  651. package/dist/esm/ds-radio-group.entry.js +49 -31
  652. package/dist/esm/ds-radio.entry.js +35 -33
  653. package/dist/esm/ds-segment-item.entry.js +9 -9
  654. package/dist/esm/ds-segment.entry.js +28 -116
  655. package/dist/esm/ds-select-optgroup.entry.js +47 -0
  656. package/dist/esm/ds-select-option.entry.js +55 -0
  657. package/dist/esm/ds-select.entry.js +2770 -0
  658. package/dist/esm/ds-shape.entry.js +10 -16
  659. package/dist/esm/ds-snackbar.entry.js +41 -58
  660. package/dist/esm/ds-step-panel.entry.js +53 -0
  661. package/dist/esm/ds-step.entry.js +168 -0
  662. package/dist/esm/ds-steps.entry.js +225 -0
  663. package/dist/esm/ds-tab-panel.entry.js +53 -0
  664. package/dist/esm/ds-tab.entry.js +118 -0
  665. package/dist/esm/ds-tabs.entry.js +362 -0
  666. package/dist/esm/ds-tag-group.entry.js +3 -3
  667. package/dist/esm/ds-tag.entry.js +19 -26
  668. package/dist/esm/ds-text.entry.js +29 -33
  669. package/dist/esm/ds-textarea.entry.js +33 -32
  670. package/dist/esm/ds-toast.entry.js +41 -55
  671. package/dist/esm/ds-toggle.entry.js +22 -21
  672. package/dist/esm/ds-tooltip.entry.js +180 -0
  673. package/dist/esm/{field.util-BXxRO7CD.js → field.util-neIQBS-h.js} +1 -1
  674. package/dist/esm/floating-ui.dom-BqY0KzJC.js +1621 -0
  675. package/dist/esm/focus-6OAqvfus.js +1956 -0
  676. package/dist/esm/footer.i18n-BrJFPhMA.js +159 -0
  677. package/dist/esm/{form-control-D2O-sb65.js → form-control-DhinyMa9.js} +2 -2
  678. package/dist/esm/has-value-Dmsj8ZQw.js +10 -0
  679. package/dist/esm/{index-CuwLeg-T.js → index-B-v2Wm-V.js} +501 -175
  680. package/dist/esm/index.js +13 -8273
  681. package/dist/esm/{input.interfaces-C7EnKCpl.js → input.interfaces-BMM6Nxeh.js} +1 -1
  682. package/dist/esm/isArray-B8PCdo6e.js +40 -0
  683. package/dist/esm/isNaN-BrbqGXXw.js +104 -0
  684. package/dist/esm/{isObjectLike-BAYao9w7.js → isObjectLike-BnBXjF_n.js} +1 -37
  685. package/dist/esm/keyboard-Uy_dVz21.js +20 -0
  686. package/dist/esm/{listener-C_kjUVTE.js → listener-DIZDQOuO.js} +1 -1
  687. package/dist/esm/loader.js +3 -3
  688. package/dist/esm/luxon-C1jqbZdf.js +8133 -0
  689. package/dist/esm/one-of-CjRvS2Tk.js +28 -0
  690. package/dist/esm/popup.interfaces-BAY6Z8bT.js +20 -0
  691. package/dist/esm/required-Dtml5IID.js +36 -0
  692. package/dist/esm/resize.decorator-eogZBBk6.js +96 -0
  693. package/dist/esm/scroll-v2MaEkiZ.js +87 -0
  694. package/dist/esm/svg-B8KVoKrH.js +2440 -0
  695. package/dist/esm/{tslib.es6-tdchDLyb.js → tslib.es6-n47B6oUi.js} +1 -1
  696. package/dist/esm/type-7qEQcw90.js +31 -0
  697. package/dist/types/components/accordion/accordion.d.ts +0 -5
  698. package/dist/types/components/alert/alert-container.d.ts +0 -5
  699. package/dist/types/components/alert/snackbar/snackbar.d.ts +0 -5
  700. package/dist/types/components/alert/toast/toast.d.ts +0 -5
  701. package/dist/types/components/badge/badge.d.ts +1 -3
  702. package/dist/types/components/badge/badge.interfaces.d.ts +1 -1
  703. package/dist/types/components/button/button-group/button-group.d.ts +0 -5
  704. package/dist/types/components/button/button.d.ts +1 -3
  705. package/dist/types/components/button/button.interfaces.d.ts +1 -1
  706. package/dist/types/components/card/card-actions/card-actions.d.ts +0 -1
  707. package/dist/types/components/card/card-subtitle/card-subtitle.d.ts +0 -1
  708. package/dist/types/components/card/card.d.ts +2 -4
  709. package/dist/types/components/carousel/carousel/carousel.d.ts +114 -0
  710. package/dist/types/components/carousel/carousel/carousel.i18n.d.ts +9 -0
  711. package/dist/types/components/carousel/carousel-item/carousel-item.d.ts +70 -0
  712. package/dist/types/components/carousel/carousel.interfaces.d.ts +14 -0
  713. package/dist/types/components/carousel/test/carousel.a11y.play.d.ts +1 -0
  714. package/dist/types/components/carousel/test/carousel.component.play.d.ts +1 -0
  715. package/dist/types/components/carousel/test/carousel.visual.play.d.ts +1 -0
  716. package/dist/types/components/checkbox/checkbox-group/checkbox-group.d.ts +6 -0
  717. package/dist/types/components/checkbox/checkbox.d.ts +4 -0
  718. package/dist/types/components/close/close.d.ts +1 -3
  719. package/dist/types/components/content/content.d.ts +2 -5
  720. package/dist/types/components/data/data-item.d.ts +43 -0
  721. package/dist/types/components/data/data-item.i18n.d.ts +6 -0
  722. package/dist/types/components/data/data-item.interfaces.d.ts +4 -0
  723. package/dist/types/components/data/data-label.d.ts +19 -0
  724. package/dist/types/components/data/data-label.interfaces.d.ts +3 -0
  725. package/dist/types/components/data/data-value.d.ts +15 -0
  726. package/dist/types/components/data/data-value.interfaces.d.ts +5 -0
  727. package/dist/types/components/data/data.d.ts +19 -0
  728. package/dist/types/components/data/data.interfaces.d.ts +4 -0
  729. package/dist/types/components/data/test/data.a11y.play.d.ts +1 -0
  730. package/dist/types/components/data/test/data.component.play.d.ts +1 -0
  731. package/dist/types/components/data/test/data.visual.play.d.ts +1 -0
  732. package/dist/types/components/date/date.d.ts +214 -0
  733. package/dist/types/components/date/date.i18n.d.ts +13 -0
  734. package/dist/types/components/date/date.interfaces.d.ts +18 -0
  735. package/dist/types/components/date/date.mask.d.ts +29 -0
  736. package/dist/types/components/date/date.picker.d.ts +67 -0
  737. package/dist/types/components/date/test/date.a11y.play.d.ts +1 -0
  738. package/dist/types/components/date/test/date.component.play.d.ts +1 -0
  739. package/dist/types/components/date/test/date.visual.play.d.ts +1 -0
  740. package/dist/types/components/divider/divider.d.ts +1 -3
  741. package/dist/types/components/drawer/drawer.d.ts +102 -0
  742. package/dist/types/components/drawer/drawer.interfaces.d.ts +8 -0
  743. package/dist/types/components/drawer/test/drawer.a11y.play.d.ts +1 -0
  744. package/dist/types/components/drawer/test/drawer.component.play.d.ts +1 -0
  745. package/dist/types/components/drawer/test/drawer.visual.play.d.ts +1 -0
  746. package/dist/types/components/file-upload/file-upload.d.ts +192 -0
  747. package/dist/types/components/file-upload/file-upload.i18n.d.ts +8 -0
  748. package/dist/types/components/file-upload/file-upload.interfaces.d.ts +24 -0
  749. package/dist/types/components/file-upload/test/file-upload.a11y.play.d.ts +1 -0
  750. package/dist/types/components/file-upload/test/file-upload.component.play.d.ts +1 -0
  751. package/dist/types/components/file-upload/test/file-upload.visual.play.d.ts +1 -0
  752. package/dist/types/components/file-upload/utils/file-list.util.d.ts +2 -0
  753. package/dist/types/components/file-upload/utils/file-size.util.d.ts +1 -0
  754. package/dist/types/components/file-upload/utils/file-validation.util.d.ts +13 -0
  755. package/dist/types/components/footer/footer.d.ts +68 -0
  756. package/dist/types/components/footer/footer.i18n.d.ts +7 -0
  757. package/dist/types/components/footer/footer.interfaces.d.ts +19 -0
  758. package/dist/types/components/footer/test/footer.a11y.play.d.ts +1 -0
  759. package/dist/types/components/footer/test/footer.component.play.d.ts +1 -0
  760. package/dist/types/components/footer/test/footer.visual.play.d.ts +1 -0
  761. package/dist/types/components/hint/hint-text/hint-text.d.ts +15 -0
  762. package/dist/types/components/hint/hint-title/hint-title.d.ts +16 -0
  763. package/dist/types/components/hint/hint.d.ts +87 -0
  764. package/dist/types/components/hint/hint.i18n.d.ts +6 -0
  765. package/dist/types/components/hint/hint.interfaces.d.ts +4 -0
  766. package/dist/types/components/hint/test/hint.a11y.play.d.ts +1 -0
  767. package/dist/types/components/hint/test/hint.component.play.d.ts +1 -0
  768. package/dist/types/components/hint/test/hint.visual.play.d.ts +1 -0
  769. package/dist/types/components/icon/icon.d.ts +7 -3
  770. package/dist/types/components/icon/icon.interfaces.d.ts +1 -1
  771. package/dist/types/components/input/clear-button.i18n.d.ts +6 -0
  772. package/dist/types/components/input/clear-button.util.d.ts +10 -0
  773. package/dist/types/components/input/trigger-button.i18n.d.ts +7 -0
  774. package/dist/types/components/input-slider/input-slider.d.ts +186 -0
  775. package/dist/types/components/input-slider/input-slider.interfaces.d.ts +18 -0
  776. package/dist/types/components/input-slider/input-slider.picker.d.ts +37 -0
  777. package/dist/types/components/input-slider/input-slider.utils.d.ts +18 -0
  778. package/dist/types/components/input-slider/test/input-slider.a11y.play.d.ts +1 -0
  779. package/dist/types/components/input-slider/test/input-slider.component.play.d.ts +1 -0
  780. package/dist/types/components/input-slider/test/input-slider.visual.play.d.ts +1 -0
  781. package/dist/types/components/label/label.d.ts +3 -5
  782. package/dist/types/components/list/item/item.d.ts +0 -5
  783. package/dist/types/components/list/item/item.interfaces.d.ts +1 -1
  784. package/dist/types/components/list/list.d.ts +0 -5
  785. package/dist/types/components/list/test/list.visual.play.d.ts +1 -0
  786. package/dist/types/components/logo/logo.d.ts +1 -2
  787. package/dist/types/components/modal/modal-body/modal-body.d.ts +15 -0
  788. package/dist/types/components/modal/modal-header/modal-header.d.ts +17 -0
  789. package/dist/types/components/modal/modal.controller.d.ts +3 -0
  790. package/dist/types/components/modal/modal.d.ts +97 -0
  791. package/dist/types/components/modal/modal.interfaces.d.ts +15 -0
  792. package/dist/types/components/modal/test/modal.a11y.play.d.ts +1 -0
  793. package/dist/types/components/modal/test/modal.component.play.d.ts +1 -0
  794. package/dist/types/components/modal/test/modal.visual.play.d.ts +1 -0
  795. package/dist/types/components/navbar/navbar.d.ts +128 -0
  796. package/dist/types/components/navbar/navbar.i18n.d.ts +9 -0
  797. package/dist/types/components/navbar/navbar.interfaces.d.ts +10 -0
  798. package/dist/types/components/navbar/test/navbar.a11y.play.d.ts +1 -0
  799. package/dist/types/components/navbar/test/navbar.component.play.d.ts +1 -0
  800. package/dist/types/components/navbar/test/navbar.visual.play.d.ts +1 -0
  801. package/dist/types/components/notification/notification.d.ts +1 -3
  802. package/dist/types/components/pagination/pagination.d.ts +0 -5
  803. package/dist/types/components/popup/popup.d.ts +152 -0
  804. package/dist/types/components/popup/popup.interfaces.d.ts +14 -0
  805. package/dist/types/components/popup/test/popup.a11y.play.d.ts +1 -0
  806. package/dist/types/components/popup/test/popup.component.play.d.ts +1 -0
  807. package/dist/types/components/popup/test/popup.visual.play.d.ts +1 -0
  808. package/dist/types/components/progress-bar/progress-bar.d.ts +0 -5
  809. package/dist/types/components/radio/radio-group/radio-group.d.ts +6 -0
  810. package/dist/types/components/radio/radio.d.ts +4 -0
  811. package/dist/types/components/select/select-optgroup.d.ts +28 -0
  812. package/dist/types/components/select/select-option.d.ts +34 -0
  813. package/dist/types/components/select/select.d.ts +193 -0
  814. package/dist/types/components/select/select.i18n.d.ts +7 -0
  815. package/dist/types/components/select/select.interfaces.d.ts +16 -0
  816. package/dist/types/components/select/select.picker.d.ts +57 -0
  817. package/dist/types/components/select/test/select.a11y.play.d.ts +1 -0
  818. package/dist/types/components/select/test/select.component.play.d.ts +1 -0
  819. package/dist/types/components/select/test/select.visual.play.d.ts +1 -0
  820. package/dist/types/components/shape/shape.d.ts +2 -7
  821. package/dist/types/components/spinner/spinner.d.ts +0 -2
  822. package/dist/types/components/stack/stack.d.ts +7 -19
  823. package/dist/types/components/steps/step/step.d.ts +89 -0
  824. package/dist/types/components/steps/step-panel/step-panel.d.ts +34 -0
  825. package/dist/types/components/steps/steps/steps.d.ts +77 -0
  826. package/dist/types/components/steps/steps.interfaces.d.ts +10 -0
  827. package/dist/types/components/steps/test/steps.a11y.play.d.ts +1 -0
  828. package/dist/types/components/steps/test/steps.component.play.d.ts +1 -0
  829. package/dist/types/components/steps/test/steps.visual.play.d.ts +1 -0
  830. package/dist/types/components/tabs/tab/tab.d.ts +67 -0
  831. package/dist/types/components/tabs/tab-panel/tab-panel.d.ts +34 -0
  832. package/dist/types/components/tabs/tabs/tabs.d.ts +97 -0
  833. package/dist/types/components/tabs/tabs/tabs.i18n.d.ts +7 -0
  834. package/dist/types/components/tabs/tabs.interfaces.d.ts +12 -0
  835. package/dist/types/components/tabs/test/tabs.a11y.play.d.ts +1 -0
  836. package/dist/types/components/tabs/test/tabs.component.play.d.ts +1 -0
  837. package/dist/types/components/tabs/test/tabs.visual.play.d.ts +1 -0
  838. package/dist/types/components/tag/tag.d.ts +1 -3
  839. package/dist/types/components/text/text.d.ts +2 -7
  840. package/dist/types/components/time-input/test/time-input.visual.play.d.ts +1 -0
  841. package/dist/types/components/tooltip/test/tooltip.a11y.play.d.ts +1 -0
  842. package/dist/types/components/tooltip/test/tooltip.component.play.d.ts +1 -0
  843. package/dist/types/components/tooltip/test/tooltip.visual.play.d.ts +1 -0
  844. package/dist/types/components/tooltip/tooltip.d.ts +85 -0
  845. package/dist/types/components/tooltip/tooltip.interfaces.d.ts +10 -0
  846. package/dist/types/components.d.ts +5162 -1870
  847. package/dist/types/foundation/colors.visual.play.d.ts +1 -0
  848. package/dist/types/global/config/config.const.d.ts +3 -0
  849. package/dist/types/global/config/config.default.d.ts +0 -40
  850. package/dist/types/global/config/config.meta.d.ts +2 -0
  851. package/dist/types/global/config/config.types.d.ts +27 -0
  852. package/dist/types/global/config/index.d.ts +1 -0
  853. package/dist/types/global/index.d.ts +0 -1
  854. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/carousel.po.d.ts +12 -0
  855. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/data-item.po.d.ts +16 -0
  856. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/data.po.d.ts +12 -0
  857. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/date.po.d.ts +15 -0
  858. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/drawer.po.d.ts +11 -0
  859. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/file-upload.po.d.ts +16 -0
  860. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/footer.po.d.ts +16 -0
  861. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/hint.po.d.ts +10 -0
  862. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/index.d.ts +16 -0
  863. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/input-slider.po.d.ts +18 -0
  864. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/modal.po.d.ts +15 -0
  865. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/navbar.po.d.ts +13 -0
  866. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/popup.po.d.ts +11 -0
  867. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/select.po.d.ts +24 -0
  868. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/steps.po.d.ts +13 -0
  869. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/tabs.po.d.ts +13 -0
  870. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/tooltip.po.d.ts +6 -0
  871. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/utils/goto.d.ts +1 -1
  872. package/dist/types/index.d.ts +4 -1
  873. package/dist/types/stencil-public-runtime.d.ts +1 -0
  874. package/dist/types/utils/attributes.d.ts +0 -8
  875. package/dist/types/utils/focus.d.ts +18 -0
  876. package/dist/types/utils/form-control.d.ts +2 -2
  877. package/dist/types/utils/has-value.d.ts +1 -0
  878. package/dist/types/utils/index.d.ts +7 -5
  879. package/dist/types/utils/number.d.ts +0 -3
  880. package/dist/types/utils/property-decorators/array-of.d.ts +9 -0
  881. package/dist/types/utils/property-decorators/bound.d.ts +36 -0
  882. package/dist/types/utils/property-decorators/create-validator-decorator.d.ts +48 -0
  883. package/dist/types/utils/property-decorators/date.d.ts +6 -0
  884. package/dist/types/utils/property-decorators/index.d.ts +9 -0
  885. package/dist/types/utils/property-decorators/iso-date.d.ts +6 -0
  886. package/dist/types/utils/property-decorators/one-of.d.ts +8 -0
  887. package/dist/types/utils/property-decorators/pattern.d.ts +8 -0
  888. package/dist/types/utils/property-decorators/required.d.ts +17 -0
  889. package/dist/types/utils/property-decorators/type.d.ts +9 -0
  890. package/dist/types/utils/property-decorators/url.d.ts +6 -0
  891. package/dist/types/utils/svg.d.ts +2 -0
  892. package/docs/cem.json +18228 -0
  893. package/docs/components.json +39621 -17240
  894. package/docs/html.html-data.json +1664 -159
  895. package/docs/tags.json +30 -1
  896. package/package.json +46 -38
  897. package/sbom.cdx.json +58887 -0
  898. package/README.md +0 -33
  899. package/components/p-82RSSk25.js +0 -4
  900. package/components/p-BEngECpF.js +0 -4
  901. package/components/p-BMBthpLd.js +0 -4
  902. package/components/p-BNY3JzuV.js +0 -4
  903. package/components/p-BOTkpyFe.js +0 -5
  904. package/components/p-BOgMmRCt.js +0 -4
  905. package/components/p-CDYlUuhB.js +0 -4
  906. package/components/p-Cb75Rr6o.js +0 -4
  907. package/components/p-CojUmpFm.js +0 -4
  908. package/components/p-DHeVI6dR.js +0 -4
  909. package/components/p-DTPbL3uY.js +0 -4
  910. package/components/p-DnnGnukM.js +0 -4
  911. package/components/p-DtuTnY5l.js +0 -4
  912. package/components/p-JZ1uDtZv.js +0 -4
  913. package/components/p-cSbDziZm.js +0 -4
  914. package/components/p-gA-94RPS.js +0 -4
  915. package/components/p-xDEngwqW.js +0 -4
  916. package/dist/cjs/contact-SPfz2A_q.js +0 -1647
  917. package/dist/cjs/ds-content.cjs.entry.js +0 -154
  918. package/dist/cjs/ds-divider.cjs.entry.js +0 -131
  919. package/dist/cjs/ds-stack.cjs.entry.js +0 -224
  920. package/dist/cjs/isEmpty-BmKp4bH4.js +0 -99
  921. package/dist/cjs/stack.interfaces-6vlKvBmb.js +0 -68
  922. package/dist/cjs/svg-D7Mwbcvp.js +0 -1482
  923. package/dist/cjs/validate.decorator-C9-9HA0Y.js +0 -115
  924. package/dist/collection/global/constants/icons.constant.js +0 -42
  925. package/dist/collection/utils/element-states/element-states.decorator.js +0 -23
  926. package/dist/collection/utils/element-states/element-states.listener.js +0 -55
  927. package/dist/collection/utils/element-states/element-states.subject.js +0 -24
  928. package/dist/collection/utils/element-states/index.js +0 -5
  929. package/dist/collection/utils/keyboard/index.js +0 -6
  930. package/dist/collection/utils/keyboard/keyboard.decorator.js +0 -23
  931. package/dist/collection/utils/keyboard/keyboard.listener.js +0 -34
  932. package/dist/collection/utils/keyboard/keyboard.subject.js +0 -24
  933. package/dist/collection/utils/property-checkers/check-array-of.js +0 -13
  934. package/dist/collection/utils/property-checkers/check-date.js +0 -18
  935. package/dist/collection/utils/property-checkers/check-iso-date.js +0 -14
  936. package/dist/collection/utils/property-checkers/check-one-of.js +0 -13
  937. package/dist/collection/utils/property-checkers/check-pattern.js +0 -13
  938. package/dist/collection/utils/property-checkers/check-type.js +0 -20
  939. package/dist/collection/utils/property-checkers/check-url.js +0 -20
  940. package/dist/collection/utils/property-checkers/empty-or.js +0 -15
  941. package/dist/collection/utils/property-checkers/index.js +0 -57
  942. package/dist/collection/utils/property-checkers/required-and.js +0 -20
  943. package/dist/collection/utils/swipe/index.js +0 -6
  944. package/dist/collection/utils/swipe/swipe.decorator.js +0 -23
  945. package/dist/collection/utils/swipe/swipe.listener.js +0 -33
  946. package/dist/collection/utils/swipe/swipe.subject.js +0 -28
  947. package/dist/collection/utils/validate.decorator.js +0 -203
  948. package/dist/design-system/p-03bbcdf9de.entry.js +0 -4
  949. package/dist/design-system/p-1154323457.entry.js +0 -4
  950. package/dist/design-system/p-1f0601a4f4.entry.js +0 -4
  951. package/dist/design-system/p-21b080a49a.entry.js +0 -4
  952. package/dist/design-system/p-27c34c4e5f.entry.js +0 -4
  953. package/dist/design-system/p-2b91de302f.entry.js +0 -4
  954. package/dist/design-system/p-31c1235ac5.entry.js +0 -4
  955. package/dist/design-system/p-3259acaa64.entry.js +0 -4
  956. package/dist/design-system/p-339d85cca0.entry.js +0 -4
  957. package/dist/design-system/p-35e63b52e7.entry.js +0 -4
  958. package/dist/design-system/p-363f3a7ab4.entry.js +0 -4
  959. package/dist/design-system/p-3d901720f7.entry.js +0 -4
  960. package/dist/design-system/p-40ba8b9812.entry.js +0 -4
  961. package/dist/design-system/p-432430e14f.entry.js +0 -4
  962. package/dist/design-system/p-487807f228.entry.js +0 -4
  963. package/dist/design-system/p-4a049d1b7f.entry.js +0 -4
  964. package/dist/design-system/p-4f4cce8ce4.entry.js +0 -4
  965. package/dist/design-system/p-5a901a9b8e.entry.js +0 -4
  966. package/dist/design-system/p-5d3330bf93.entry.js +0 -4
  967. package/dist/design-system/p-640223834c.entry.js +0 -4
  968. package/dist/design-system/p-6b9aab417f.entry.js +0 -4
  969. package/dist/design-system/p-799705af3a.entry.js +0 -4
  970. package/dist/design-system/p-7e6ed497e7.entry.js +0 -4
  971. package/dist/design-system/p-82RSSk25.js +0 -4
  972. package/dist/design-system/p-8e0872fef0.entry.js +0 -4
  973. package/dist/design-system/p-9617d56181.entry.js +0 -4
  974. package/dist/design-system/p-BaIoYrFa.js +0 -5
  975. package/dist/design-system/p-Cb75Rr6o.js +0 -4
  976. package/dist/design-system/p-CqZ6YSy9.js +0 -4
  977. package/dist/design-system/p-CqzM3doy.js +0 -4
  978. package/dist/design-system/p-CuwLeg-T.js +0 -5
  979. package/dist/design-system/p-DHeVI6dR.js +0 -4
  980. package/dist/design-system/p-DTPbL3uY.js +0 -4
  981. package/dist/design-system/p-aff68865ee.entry.js +0 -4
  982. package/dist/design-system/p-b3c6327744.entry.js +0 -4
  983. package/dist/design-system/p-be9023a38b.entry.js +0 -4
  984. package/dist/design-system/p-c031d1dce5.entry.js +0 -4
  985. package/dist/design-system/p-c3ae96e220.entry.js +0 -4
  986. package/dist/design-system/p-d430812a57.entry.js +0 -4
  987. package/dist/design-system/p-de1354f022.entry.js +0 -4
  988. package/dist/design-system/p-e3d0c82e2a.entry.js +0 -4
  989. package/dist/design-system/p-ea1a5e1f75.entry.js +0 -4
  990. package/dist/design-system/p-ea7169501c.entry.js +0 -4
  991. package/dist/design-system/p-eab397e041.entry.js +0 -4
  992. package/dist/design-system/p-ecba4deb9a.entry.js +0 -4
  993. package/dist/design-system/p-fe0dbd4b03.entry.js +0 -4
  994. package/dist/design-system/p-ng5ZzTOj.js +0 -4
  995. package/dist/esm/contact-Cb75Rr6o.js +0 -1636
  996. package/dist/esm/ds-content.entry.js +0 -152
  997. package/dist/esm/ds-divider.entry.js +0 -129
  998. package/dist/esm/ds-stack.entry.js +0 -222
  999. package/dist/esm/isEmpty-DmZYZqE9.js +0 -97
  1000. package/dist/esm/stack.interfaces-ng5ZzTOj.js +0 -62
  1001. package/dist/esm/svg-BaIoYrFa.js +0 -1480
  1002. package/dist/esm/validate.decorator-82RSSk25.js +0 -110
  1003. package/dist/types/global/constants/icons.constant.d.ts +0 -38
  1004. package/dist/types/utils/element-states/element-states.decorator.d.ts +0 -3
  1005. package/dist/types/utils/element-states/element-states.interfaces.d.ts +0 -10
  1006. package/dist/types/utils/element-states/element-states.listener.d.ts +0 -15
  1007. package/dist/types/utils/element-states/element-states.subject.d.ts +0 -8
  1008. package/dist/types/utils/element-states/index.d.ts +0 -2
  1009. package/dist/types/utils/keyboard/index.d.ts +0 -3
  1010. package/dist/types/utils/keyboard/keyboard.decorator.d.ts +0 -3
  1011. package/dist/types/utils/keyboard/keyboard.interfaces.d.ts +0 -8
  1012. package/dist/types/utils/keyboard/keyboard.listener.d.ts +0 -9
  1013. package/dist/types/utils/keyboard/keyboard.subject.d.ts +0 -8
  1014. package/dist/types/utils/property-checkers/check-array-of.d.ts +0 -2
  1015. package/dist/types/utils/property-checkers/check-date.d.ts +0 -1
  1016. package/dist/types/utils/property-checkers/check-iso-date.d.ts +0 -1
  1017. package/dist/types/utils/property-checkers/check-one-of.d.ts +0 -1
  1018. package/dist/types/utils/property-checkers/check-pattern.d.ts +0 -1
  1019. package/dist/types/utils/property-checkers/check-type.d.ts +0 -2
  1020. package/dist/types/utils/property-checkers/check-url.d.ts +0 -1
  1021. package/dist/types/utils/property-checkers/constants.d.ts +0 -1
  1022. package/dist/types/utils/property-checkers/empty-or.d.ts +0 -1
  1023. package/dist/types/utils/property-checkers/index.d.ts +0 -19
  1024. package/dist/types/utils/property-checkers/required-and.d.ts +0 -1
  1025. package/dist/types/utils/swipe/index.d.ts +0 -3
  1026. package/dist/types/utils/swipe/swipe.decorator.d.ts +0 -5
  1027. package/dist/types/utils/swipe/swipe.interfaces.d.ts +0 -10
  1028. package/dist/types/utils/swipe/swipe.listener.d.ts +0 -10
  1029. package/dist/types/utils/swipe/swipe.subject.d.ts +0 -11
  1030. package/dist/types/utils/validate.decorator.d.ts +0 -114
  1031. /package/dist/collection/{utils/element-states/element-states.interfaces.js → components/data/data-item.interfaces.js} +0 -0
  1032. /package/dist/collection/{utils/keyboard/keyboard.interfaces.js → components/data/data-label.interfaces.js} +0 -0
  1033. /package/dist/collection/{utils/property-checkers/property-types.js → components/data/data-value.interfaces.js} +0 -0
  1034. /package/dist/collection/{utils/swipe/swipe.interfaces.js → components/data/data.interfaces.js} +0 -0
  1035. /package/dist/collection/utils/{property-checkers/is-iso-date.js → is-iso-date.js} +0 -0
  1036. /package/dist/collection/utils/{keyboard/keyboard.helpers.js → keyboard.js} +0 -0
  1037. /package/dist/types/utils/{property-checkers/is-iso-date.d.ts → is-iso-date.d.ts} +0 -0
  1038. /package/dist/types/utils/{property-checkers/is-value-empty.d.ts → is-value-empty.d.ts} +0 -0
  1039. /package/dist/types/utils/{keyboard/keyboard.helpers.d.ts → keyboard.d.ts} +0 -0
  1040. /package/dist/types/utils/{property-checkers/property-types.d.ts → property-types.d.ts} +0 -0
@@ -0,0 +1,157 @@
1
+ /*!
2
+ * (C) Helvetia Design System https://design.baloise.dev/ - Apache License 2.0
3
+ */
4
+ import { B as registerInstance, I as createEvent, v as defaultConfig, E as h, F as Host, G as getElement } from './index-B-v2Wm-V.js';
5
+ import { _ as __decorate, L as Logger, a as __metadata } from './tslib.es6-n47B6oUi.js';
6
+ import { i as i18nDsFooter, F as FOOTER_CONTAINERS } from './footer.i18n-BrJFPhMA.js';
7
+ import { O as OneOf } from './one-of-CjRvS2Tk.js';
8
+ import { T as Type } from './type-7qEQcw90.js';
9
+ import { L as ListenToConfig } from './config.decorator-CRYVBTkX.js';
10
+ import './create-validator-decorator-fUav5byo.js';
11
+ import './config.utils-CR4Xudpz.js';
12
+
13
+ const footerHostCss = () => `:host{--_footer-position:var(--footer-position, var(--mod-footer-position, static));--_footer-top:var(--footer-top, var(--mod-footer-top));--_footer-right:var(--footer-right, var(--mod-footer-right));--_footer-bottom:var(--footer-bottom, var(--mod-footer-bottom));--_footer-left:var(--footer-left, var(--mod-footer-left));position:var(--_footer-position);top:var(--_footer-top);right:var(--_footer-right);bottom:var(--_footer-bottom);left:var(--_footer-left);--_footer-m:var(--footer-m, var(--mod-footer-m, 0));--_footer-my:var(--footer-my, var(--mod-footer-my));--_footer-mx:var(--footer-mx, var(--mod-footer-mx));--_footer-ml:var(--footer-ml, var(--mod-footer-ml));--_footer-mr:var(--footer-mr, var(--mod-footer-mr));--_footer-mt:var(--footer-mt, var(--mod-footer-mt));--_footer-mb:var(--footer-mb, var(--mod-footer-mb));margin:var(--_footer-m);margin-inline:var(--_footer-mx);margin-block:var(--_footer-my);margin-left:var(--_footer-ml);margin-right:var(--_footer-mr);margin-top:var(--_footer-mt);margin-bottom:var(--_footer-mb);--_footer-background:var(--footer-background, var(--mod-footer-background, var(--ds-footer-color-background)));--_footer-color:var(--footer-color, var(--mod-footer-color, var(--ds-footer-color-text)));--_footer-link-color:var(--footer-link-color, var(--mod-footer-link-color, var(--ds-footer-color-link-base)));--_footer-link-color-hover:var(--footer-link-color-hover, var(--mod-footer-link-color-hover, var(--ds-footer-color-link-hover)));--_footer-divider-color:var(--footer-divider-color, var(--mod-footer-divider-color, var(--ds-footer-color-divider)));--_footer-content-max-width:var(--footer-content-max-width, var(--mod-footer-content-max-width, var(--ds-footer-space-content-max-width)));--_footer-padding:var(--footer-padding, var(--mod-footer-padding, var(--ds-footer-space-padding-base)));--_footer-content-padding-top:var(--footer-content-padding-top, var(--mod-footer-content-padding-top, var(--ds-footer-space-content-padding-top)));--_footer-gap-row:var(--footer-gap-row, var(--mod-footer-gap-row, var(--ds-footer-space-gap-row)));--_footer-gap-column:var(--footer-gap-column, var(--mod-footer-gap-column, var(--ds-footer-space-gap-column)));--_footer-language-font-family:var(--footer-language-font-family, var(--mod-footer-language-font-family, var(--ds-footer-typography-language-family)));--_footer-language-font-weight:var(--footer-language-font-weight, var(--mod-footer-language-font-weight, var(--ds-footer-typography-language-weight)));--_footer-language-gap:var(--footer-language-gap, var(--mod-footer-language-gap, var(--ds-footer-space-language-gap)));--_footer-bottom-gap:var(--footer-bottom-gap, var(--mod-footer-bottom-gap, var(--ds-footer-space-bottom-gap)));--_footer-link-gap:var(--footer-link-gap, var(--mod-footer-link-gap, var(--ds-footer-space-link-gap)));--_footer-social-gap:var(--footer-social-gap, var(--mod-footer-social-gap, var(--ds-footer-space-social-gap)));--_footer-font-size:var(--footer-font-size, var(--mod-footer-font-size, var(--ds-footer-typography-font-size)));--_footer-line-height:var(--footer-line-height, var(--mod-footer-line-height, var(--ds-footer-typography-line-height)));--_footer-social-icon-size:var(--footer-social-icon-size, var(--mod-footer-social-icon-size, var(--ds-footer-space-social-icon-size)));--_footer-social-icon-gap:var(--footer-social-icon-gap, var(--mod-footer-social-icon-gap, var(--ds-footer-space-social-icon-gap)));--_footer-slotted-margin-right:var(--footer-slotted-margin-right, var(--mod-footer-slotted-margin-right, var(--ds-footer-space-slotted-margin-right)));margin:var(--_footer-m);margin-inline:var(--_footer-mx);margin-block:var(--_footer-my);margin-left:var(--_footer-ml);margin-right:var(--_footer-mr);margin-top:var(--_footer-mt);margin-bottom:var(--_footer-mb);position:var(--_footer-position);top:var(--_footer-top);right:var(--_footer-right);bottom:var(--_footer-bottom);left:var(--_footer-left);display:block;color:var(--_footer-color);background:var(--_footer-background)}footer{margin:0 auto;padding-block:var(--_footer-padding);padding-inline:var(--ds-alias-container-space-device);width:100%;max-width:var(--ds-alias-container-width-base)}footer.is-fluid{max-width:var(--ds-alias-container-width-fluid)}footer.is-compact{max-width:var(--ds-alias-container-width-compact)}.top-row{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:var(--_footer-gap-row) var(--_footer-gap-column);-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:start;align-items:flex-start}.logo-area{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.logo-link{display:-ms-inline-flexbox;display:inline-flex;color:inherit}.logo-svg{display:-ms-inline-flexbox;display:inline-flex}.language-picker{-ms-flex-align:center;align-items:center;border:0;color:var(--_footer-color);display:-ms-inline-flexbox;display:inline-flex;font-family:var(--_footer-language-font-family);font-weight:var(--_footer-language-font-weight);gap:var(--_footer-language-gap);margin:0 0 0 auto;max-width:100%;width:auto}.language-picker ds-icon{--icon-color:currentColor;-ms-flex-negative:0;flex-shrink:0}.language-picker select{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto;background:rgba(0,0,0,0);border:0;border-radius:0;color:inherit;cursor:pointer;-ms-flex:0 0 auto;flex:0 0 auto;font:inherit;line-height:1.3;min-width:auto;padding:0}.language-picker select:hover,.language-picker select:focus-visible{color:var(--_footer-link-color-hover)}.content{padding-top:var(--_footer-content-padding-top)}.bottom-row{display:grid;font-size:var(--_footer-font-size);gap:var(--_footer-bottom-gap);grid-template-columns:1fr;line-height:var(--_footer-line-height)}.legal{margin:0;font-size:var(--_footer-font-size);line-height:var(--_footer-line-height)}.links,.social{min-width:0}.link-list,.social-list{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:var(--_footer-link-gap);margin:0;padding:0}.social-list{gap:var(--_footer-social-gap)}.link-list li,.social-list li{list-style:none}.links a,::slotted([slot=links]){color:var(--_footer-link-color);text-decoration:none}.links a:hover,::slotted([slot=links]:hover){color:var(--_footer-link-color-hover);text-decoration:underline}.social a,::slotted([slot=social-links]){--icon-color:var(--ds-alias-text-color-white);--icon-size:var(--ds-icon-size-sm);-ms-flex-align:center;align-items:center;color:var(--_footer-link-color);display:-ms-inline-flexbox;display:inline-flex;height:var(--_footer-social-icon-size);-ms-flex-pack:center;justify-content:center;text-decoration:none;width:var(--_footer-social-icon-size)}.social a:hover,::slotted([slot=social-links]:hover){--icon-color:var(--_footer-link-color-hover);color:var(--_footer-link-color-hover)}::slotted([slot=links]),::slotted([slot=social-links]){margin-right:var(--_footer-slotted-margin-right)}@media screen and (min-width: 769px){.bottom-row{-ms-flex-align:start;align-items:start;grid-template-columns:1fr}.social,.links{justify-self:start}}@media screen and (min-width: 1024px){.bottom-row{-ms-flex-align:center;align-items:center;grid-template-columns:1fr auto;grid-template-areas:"legal social" "links links"}.legal{align-self:center;grid-area:legal}.social{align-self:center;grid-area:social;justify-self:end}.links{grid-area:links;justify-self:stretch;width:100%}}`;
14
+
15
+ const Footer = class {
16
+ constructor(hostRef) {
17
+ registerInstance(this, hostRef);
18
+ this.dsLanguageChange = createEvent(this, "dsLanguageChange");
19
+ // ========================================================================
20
+ // PUBLIC PROPERTY API
21
+ // ========================================================================
22
+ this.brand = defaultConfig.brand;
23
+ this.language = defaultConfig.language;
24
+ this.region = defaultConfig.region;
25
+ this.allowedLanguages = defaultConfig.allowedLanguages;
26
+ /**
27
+ * Sets the inner content container width. Accepts `'default'`, `'fluid'`, or `'compact'`.
28
+ * Matches the `ds-container` sizing variants.
29
+ */
30
+ this.container = '';
31
+ /**
32
+ * If `true` the language selection will be hidden.
33
+ */
34
+ this.hideLanguageSelection = false;
35
+ /**
36
+ * If `true` the default legal links from config will not be rendered.
37
+ * User must provide links via the `links` slot.
38
+ */
39
+ this.disableDefaultLinks = false;
40
+ /**
41
+ * If `true` the default social links from config will not be rendered.
42
+ * User must provide social links via the `social-links` slot.
43
+ */
44
+ this.disableDefaultSocialLinks = false;
45
+ /**
46
+ * Copyright and address text below the divider.
47
+ * If not provided, uses the text from config based on region and language.
48
+ */
49
+ this.legalText = undefined;
50
+ this.handleLanguageChange = (ev) => {
51
+ const selectEl = ev.target;
52
+ const nextLanguage = selectEl.value;
53
+ this.language = nextLanguage;
54
+ this.dsLanguageChange.emit({ language: nextLanguage });
55
+ };
56
+ }
57
+ createLogger(log) {
58
+ this.log = log;
59
+ }
60
+ // ========================================================================
61
+ // LIFECYCLE
62
+ // ========================================================================
63
+ // ========================================================================
64
+ // PROPERTY VALIDATION
65
+ // ========================================================================
66
+ // ========================================================================
67
+ // PUBLIC METHODS
68
+ // ========================================================================
69
+ /**
70
+ * @internal define config for the component
71
+ */
72
+ async configChanged(state) {
73
+ var _a, _b, _c, _d;
74
+ this.brand = state.brand;
75
+ this.language = state.language;
76
+ this.region = state.region;
77
+ this.allowedLanguages = state.allowedLanguages;
78
+ this.legalLinksConfig = (_a = state.legalLinks) === null || _a === void 0 ? void 0 : _a[state.region];
79
+ this.legalTextConfig = (_c = (_b = state.legalText) === null || _b === void 0 ? void 0 : _b[state.region]) === null || _c === void 0 ? void 0 : _c[state.language];
80
+ this.socialLinksConfig = (_d = state.socialLinks) === null || _d === void 0 ? void 0 : _d[state.region];
81
+ }
82
+ // ========================================================================
83
+ // PRIVATE METHODS
84
+ // ========================================================================
85
+ hasNamedSlot(name) {
86
+ return this.el.querySelector(`[slot="${name}"]`) !== null;
87
+ }
88
+ getLanguageLabel(languageCode) {
89
+ const labels = i18nDsFooter[this.language].languageLabels;
90
+ return labels[languageCode] || languageCode.toUpperCase();
91
+ }
92
+ renderLogo() {
93
+ if (this.hasNamedSlot('logo')) {
94
+ return h("slot", { name: "logo" });
95
+ }
96
+ return h("ds-logo", { brand: this.brand, color: "white" });
97
+ }
98
+ renderLinkList(links, className) {
99
+ return (h("ul", { class: className }, links.map(link => (h("li", { key: `${link.href}-${link.label}` }, h("a", { href: link.href, target: link.target, rel: link.rel }, link.label))))));
100
+ }
101
+ renderSocialList(links) {
102
+ return (h("ul", { class: "social-list", "aria-label": "Social links" }, links.map(link => (h("li", { key: `${link.href}-${link.icon}` }, h("a", { href: link.href, target: link.target, rel: link.rel, "aria-label": link.ariaLabel || link.label, title: link.ariaLabel || link.label }, h("ds-icon", { name: link.icon, "aria-hidden": "true" })))))));
103
+ }
104
+ // ========================================================================
105
+ // RENDER
106
+ // ========================================================================
107
+ render() {
108
+ var _a;
109
+ const hasLinksSlot = this.hasNamedSlot('links');
110
+ const hasSocialSlot = this.hasNamedSlot('social-links');
111
+ const configLinks = !this.disableDefaultLinks && ((_a = this.legalLinksConfig) === null || _a === void 0 ? void 0 : _a[this.language]);
112
+ const configSocial = !this.disableDefaultSocialLinks && this.socialLinksConfig;
113
+ const textToDisplay = this.legalText || this.legalTextConfig;
114
+ const showLinks = hasLinksSlot || (configLinks && configLinks.length > 0);
115
+ const showSocial = hasSocialSlot || (configSocial && configSocial.length > 0);
116
+ return (h(Host, { key: 'f5041f27ffaa02706365e348e9fbcd433b61e597' }, h("footer", { key: 'fa7fc4395a0181d27866703ca109ee7b14e1be69', class: {
117
+ 'is-fluid': this.container === 'fluid',
118
+ 'is-compact': this.container === 'compact',
119
+ } }, h("div", { key: 'e99d0e4e3a2043579d74082828c433bfa49bee77', class: "top-row" }, h("div", { key: 'b6d3605f12ffbcc3a90474c7dff995d51a59ac3c', class: "logo-area" }, this.renderLogo()), !this.hideLanguageSelection && (h("label", { key: 'becbaddae40dce976c39033513e911d49611b9bf', class: "language-picker", "aria-label": i18nDsFooter[this.language].languageSelector }, h("ds-icon", { key: '6ff2ab4a2ac6bb92a817f55bafa5496c76a4c72f', name: "web", "aria-hidden": "true" }), h("select", { key: 'f12f1ad864b76d9ac7d4cd9958fa9b6a426fe80c', "data-testid": "footer-language-select", onChange: this.handleLanguageChange }, this.allowedLanguages.map(languageCode => (h("option", { key: languageCode, value: languageCode, selected: this.language === languageCode }, this.getLanguageLabel(languageCode)))))))), h("div", { key: '6179015e628411a0baa40db7f3c43e0a1fe73c24', class: "content" }, h("slot", { key: '1726a81dc4ab97761840e4b8540d1998479fc3f5' })), h("ds-divider", { key: 'c393531689e81c30a561a720bc9db3b53c0c7e7f', space: "sm", color: "primary-light" }), h("div", { key: '11bbe98d7c55c063275f6f1dfb2790b4027e6071', class: "bottom-row" }, textToDisplay && h("p", { key: '216b2953c145b87c50f1dbc6995a60b2fa38110f', class: "legal" }, textToDisplay), showSocial && (h("nav", { key: 'c0b32fc3ee82d898fd167c00415a947ca69c9c42', class: "social", "aria-label": "Social navigation" }, h("slot", { key: 'e1cd6bdccbe2b175135035d8bb3ca60bf7cf6c90', name: "social-links" }), !hasSocialSlot && configSocial && this.renderSocialList(configSocial))), showLinks && (h("nav", { key: '3fa8077bda4f64f43323be9867d6e379b310b20f', class: "links", "aria-label": "Footer links" }, h("slot", { key: '05cc5e0987afdf5eec45eac14fe146610e54c142', name: "links" }), !hasLinksSlot && configLinks && this.renderLinkList(configLinks, 'link-list')))))));
120
+ }
121
+ get el() { return getElement(this); }
122
+ };
123
+ __decorate([
124
+ Logger('footer'),
125
+ __metadata("design:type", Function),
126
+ __metadata("design:paramtypes", [Function]),
127
+ __metadata("design:returntype", void 0)
128
+ ], Footer.prototype, "createLogger", null);
129
+ __decorate([
130
+ OneOf(FOOTER_CONTAINERS),
131
+ __metadata("design:type", String)
132
+ ], Footer.prototype, "container", void 0);
133
+ __decorate([
134
+ Type('boolean'),
135
+ __metadata("design:type", Boolean)
136
+ ], Footer.prototype, "hideLanguageSelection", void 0);
137
+ __decorate([
138
+ Type('boolean'),
139
+ __metadata("design:type", Boolean)
140
+ ], Footer.prototype, "disableDefaultLinks", void 0);
141
+ __decorate([
142
+ Type('boolean'),
143
+ __metadata("design:type", Boolean)
144
+ ], Footer.prototype, "disableDefaultSocialLinks", void 0);
145
+ __decorate([
146
+ Type('string'),
147
+ __metadata("design:type", Object)
148
+ ], Footer.prototype, "legalText", void 0);
149
+ __decorate([
150
+ ListenToConfig(),
151
+ __metadata("design:type", Function),
152
+ __metadata("design:paramtypes", [Object]),
153
+ __metadata("design:returntype", Promise)
154
+ ], Footer.prototype, "configChanged", null);
155
+ Footer.style = footerHostCss();
156
+
157
+ export { Footer as ds_footer };
@@ -1,10 +1,13 @@
1
1
  /*!
2
2
  * (C) Helvetia Design System https://design.baloise.dev/ - Apache License 2.0
3
3
  */
4
- import { B as registerInstance, d as dsBrowser, E as h, F as Host, G as getElement } from './index-CuwLeg-T.js';
5
- import { _ as __decorate, L as Logger, a as __metadata } from './tslib.es6-tdchDLyb.js';
6
- import { s as setupValidation, a as ValidateOneOf, V as ValidateType } from './validate.decorator-82RSSk25.js';
4
+ import { B as registerInstance, d as dsBrowser, E as h, F as Host, G as getElement } from './index-B-v2Wm-V.js';
5
+ import { _ as __decorate, L as Logger, a as __metadata } from './tslib.es6-n47B6oUi.js';
6
+ import { h as hasValue } from './has-value-Dmsj8ZQw.js';
7
7
  import { c as HEADING_LEVELS, b as HEADING_VISUAL_LEVELS, d as HEADING_SPACES, H as HEADING_COLORS } from './heading.interfaces-Ceu7FIWM.js';
8
+ import { O as OneOf } from './one-of-CjRvS2Tk.js';
9
+ import { T as Type } from './type-7qEQcw90.js';
10
+ import './create-validator-decorator-fUav5byo.js';
8
11
 
9
12
  const HEADING_TAG_MAP = {
10
13
  'display': 'h1',
@@ -55,7 +58,7 @@ const HEADING_COLOR_MAP = {
55
58
  white: 'white',
56
59
  };
57
60
 
58
- const headingHostCss = () => `:host{--_heading-position:var(--heading-position, var(--mod-heading-position, static));--_heading-top:var(--heading-top, var(--mod-heading-top));--_heading-right:var(--heading-right, var(--mod-heading-right));--_heading-bottom:var(--heading-bottom, var(--mod-heading-bottom));--_heading-left:var(--heading-left, var(--mod-heading-left));position:var(--_heading-position);top:var(--_heading-top);right:var(--_heading-right);bottom:var(--_heading-bottom);left:var(--_heading-left);--_heading-m:var(--heading-m, var(--mod-heading-m, 0));--_heading-my:var(--heading-my, var(--mod-heading-my));--_heading-mx:var(--heading-mx, var(--mod-heading-mx));--_heading-ml:var(--heading-ml, var(--mod-heading-ml));--_heading-mr:var(--heading-mr, var(--mod-heading-mr));--_heading-mt:var(--heading-mt, var(--mod-heading-mt));--_heading-mb:var(--heading-mb, var(--mod-heading-mb));margin:var(--_heading-m);margin-inline:var(--_heading-mx);margin-block:var(--_heading-my);margin-left:var(--_heading-ml);margin-right:var(--_heading-mr);margin-top:var(--_heading-mt);margin-bottom:var(--_heading-mb);--_heading-color:var(--heading-color, var(--mod-heading-color, inherit));--_heading-family:var(--heading-family, var(--mod-heading-family, var(--ds-heading-family)));--_heading-weight:var(--heading-weight, var(--mod-heading-weight, var(--ds-heading-weight)));--_heading-line-height:var(--heading-line-height, var(--mod-heading-line-height, var(--ds-heading-line-height)));--_heading-font-size:var(--heading-font-size, var(--mod-heading-font-size, var(--ds-heading-1-size-device)));--_heading-space:var(--heading-space, var(--mod-heading-space, var(--ds-heading-1-space)));--_heading-shadow:var(--heading-shadow, var(--mod-heading-shadow, none));--_heading-text-align:var(--heading-text-align, var(--mod-heading-text-align, inherit))}#heading{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;-webkit-box-sizing:content-box;box-sizing:content-box;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow-wrap:break-word;text-wrap:balance;color:var(--_heading-color);font-family:var(--_heading-family);font-weight:var(--_heading-weight);font-size:var(--_heading-font-size);line-height:var(--_heading-line-height);text-align:var(--_heading-text-align);text-shadow:var(--_heading-shadow)}#heading em:not(.text),#heading span:not(.text){font-weight:inherit}#heading b,#heading strong,#heading .is-bold{font-weight:var(--ds-text-weight-bold)}:host(.has-no-wrap) #heading{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}:host(.has-shadow){--mod-heading-shadow:var(--ds-heading-shadow)}:host(.is-subtitle){--mod-heading-family:var(--ds-heading-subtitle-family);--mod-heading-weight:var(--ds-heading-subtitle-weight);--mod-heading-line-height:var(--ds-heading-subtitle-line-height)}:host(.is-primary){--mod-heading-color:var(--ds-heading-color-primary)}:host(.is-success){--mod-heading-color:var(--ds-heading-color-success)}:host(.is-warning){--mod-heading-color:var(--ds-heading-color-warning)}:host(.is-danger){--mod-heading-color:var(--ds-heading-color-danger)}:host(.is-white){--mod-heading-color:var(--ds-heading-color-white)}:host(.is-black){--mod-heading-color:var(--ds-heading-color-black)}:host(.is-3xl){--mod-heading-font-size:var(--ds-heading-1-size-device);--mod-heading-space:var(--ds-heading-1-space)}:host(.is-2xl){--mod-heading-font-size:var(--ds-heading-2-size-device);--mod-heading-space:var(--ds-heading-2-space)}:host(.is-xl){--mod-heading-font-size:var(--ds-heading-3-size-device);--mod-heading-space:var(--ds-heading-3-space)}:host(.is-lg){--mod-heading-font-size:var(--ds-heading-4-size-device);--mod-heading-space:var(--ds-heading-4-space)}:host(.is-base){--mod-heading-font-size:var(--ds-heading-5-size-device);--mod-heading-space:var(--ds-heading-5-space)}:host(.is-5xl){--mod-heading-font-size:var(--ds-heading-display1-size-device);--mod-heading-space:var(--ds-heading-display1-space)}:host(.is-4xl){--mod-heading-font-size:var(--ds-heading-display2-size-device);--mod-heading-space:var(--ds-heading-display2-space)}:host(.has-space-all){--heading-mt:var(--_heading-space);--heading-mb:var(--_heading-space)}:host(.has-space-top){--heading-mt:var(--_heading-space);--heading-mb:0}:host(.has-space-bottom){--heading-mt:0;--heading-mb:var(--_heading-space)}:host(.has-space-none){--heading-mt:0;--heading-mb:0}:host{display:block}`;
61
+ const headingHostCss = () => `:host{--_heading-position:var(--heading-position, var(--mod-heading-position, static));--_heading-top:var(--heading-top, var(--mod-heading-top));--_heading-right:var(--heading-right, var(--mod-heading-right));--_heading-bottom:var(--heading-bottom, var(--mod-heading-bottom));--_heading-left:var(--heading-left, var(--mod-heading-left));position:var(--_heading-position);top:var(--_heading-top);right:var(--_heading-right);bottom:var(--_heading-bottom);left:var(--_heading-left);--_heading-m:var(--heading-m, var(--mod-heading-m, 0));--_heading-my:var(--heading-my, var(--mod-heading-my));--_heading-mx:var(--heading-mx, var(--mod-heading-mx));--_heading-ml:var(--heading-ml, var(--mod-heading-ml));--_heading-mr:var(--heading-mr, var(--mod-heading-mr));--_heading-mt:var(--heading-mt, var(--mod-heading-mt));--_heading-mb:var(--heading-mb, var(--mod-heading-mb));margin:var(--_heading-m);margin-inline:var(--_heading-mx);margin-block:var(--_heading-my);margin-left:var(--_heading-ml);margin-right:var(--_heading-mr);margin-top:var(--_heading-mt);margin-bottom:var(--_heading-mb);--_heading-color:var(--heading-color, var(--mod-heading-color, inherit));--_heading-family:var(--heading-family, var(--mod-heading-family, var(--ds-heading-family)));--_heading-weight:var(--heading-weight, var(--mod-heading-weight, var(--ds-heading-weight)));--_heading-line-height:var(--heading-line-height, var(--mod-heading-line-height, var(--ds-heading-line-height)));--_heading-font-size:var(--heading-font-size, var(--mod-heading-font-size, var(--ds-heading-1-size-device)));--_heading-space:var(--heading-space, var(--mod-heading-space, var(--ds-heading-1-space)));--_heading-shadow:var(--heading-shadow, var(--mod-heading-shadow, none));--_heading-text-align:var(--heading-text-align, var(--mod-heading-text-align, inherit))}:host{--_heading-color:var(--heading-color, var(--mod-heading-color, inherit));--_heading-family:var(--heading-family, var(--mod-heading-family, var(--ds-heading-family)));--_heading-weight:var(--heading-weight, var(--mod-heading-weight, var(--ds-heading-weight)));--_heading-line-height:var(--heading-line-height, var(--mod-heading-line-height, var(--ds-heading-line-height)));--_heading-font-size:var(--heading-font-size, var(--mod-heading-font-size, var(--_heading-font-size, var(--ds-heading-1-size-device))));--_heading-shadow:var(--heading-shadow, var(--mod-heading-shadow, none));--_heading-text-align:var(--heading-text-align, var(--mod-heading-text-align, inherit))}#heading{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;-webkit-box-sizing:content-box;box-sizing:content-box;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow-wrap:break-word;text-wrap:balance;color:var(--_heading-color);font-family:var(--_heading-family);font-weight:var(--_heading-weight);font-size:var(--_heading-font-size);line-height:var(--_heading-line-height);text-align:var(--_heading-text-align);text-shadow:var(--_heading-shadow)}#heading em:not(.text),#heading span:not(.text){font-weight:inherit}#heading b,#heading strong,#heading .is-bold{font-weight:var(--ds-alias-text-weight-bold)}:host(.has-no-wrap) #heading{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}:host(.has-shadow){--mod-heading-shadow:var(--ds-heading-shadow)}:host(.is-subtitle){--mod-heading-family:var(--ds-heading-subtitle-family);--mod-heading-weight:var(--ds-heading-subtitle-weight);--mod-heading-line-height:var(--ds-heading-subtitle-line-height)}:host(.is-primary){--mod-heading-color:var(--ds-heading-color-primary)}:host(.is-success){--mod-heading-color:var(--ds-heading-color-success)}:host(.is-warning){--mod-heading-color:var(--ds-heading-color-warning)}:host(.is-danger){--mod-heading-color:var(--ds-heading-color-danger)}:host(.is-white){--mod-heading-color:var(--ds-heading-color-white)}:host(.is-black){--mod-heading-color:var(--ds-heading-color-black)}:host(.is-3xl){--mod-heading-font-size:var(--ds-heading-1-size-device);--mod-heading-space:var(--ds-heading-1-space)}:host(.is-2xl){--mod-heading-font-size:var(--ds-heading-2-size-device);--mod-heading-space:var(--ds-heading-2-space)}:host(.is-xl){--mod-heading-font-size:var(--ds-heading-3-size-device);--mod-heading-space:var(--ds-heading-3-space)}:host(.is-lg){--mod-heading-font-size:var(--ds-heading-4-size-device);--mod-heading-space:var(--ds-heading-4-space)}:host(.is-base){--mod-heading-font-size:var(--ds-heading-5-size-device);--mod-heading-space:var(--ds-heading-5-space)}:host(.is-5xl){--mod-heading-font-size:var(--ds-heading-display1-size-device);--mod-heading-space:var(--ds-heading-display1-space)}:host(.is-4xl){--mod-heading-font-size:var(--ds-heading-display2-size-device);--mod-heading-space:var(--ds-heading-display2-space)}:host(.has-space-all){--heading-mt:var(--_heading-space);--heading-mb:var(--_heading-space)}:host(.has-space-top){--heading-mt:var(--_heading-space);--heading-mb:0}:host(.has-space-bottom){--heading-mt:0;--heading-mb:var(--_heading-space)}:host(.has-space-none){--heading-mt:0;--heading-mb:0}:host{display:block}`;
59
62
 
60
63
  const Heading = class {
61
64
  constructor(hostRef) {
@@ -122,11 +125,10 @@ const Heading = class {
122
125
  * ------------------------------------------------------
123
126
  */
124
127
  connectedCallback() {
125
- setupValidation(this);
126
128
  this.updateAutoFontSize();
127
129
  }
128
130
  componentDidRender() {
129
- if (this.autoLevel && this.autoFontSize) {
131
+ if (hasValue(this.autoLevel) && this.autoFontSize) {
130
132
  const rows = this.rows;
131
133
  if (rows > 1) {
132
134
  const minSize = HEADING_SIZES[this.autoLevel];
@@ -157,7 +159,7 @@ const Heading = class {
157
159
  if (this.inverted) {
158
160
  return 'white';
159
161
  }
160
- return HEADING_COLOR_MAP[this.color];
162
+ return hasValue(this.color) ? HEADING_COLOR_MAP[this.color] : '';
161
163
  }
162
164
  get fontSize() {
163
165
  return HEADING_SIZES[this.visualLevel ? this.visualLevel : this.level];
@@ -171,14 +173,14 @@ const Heading = class {
171
173
  */
172
174
  render() {
173
175
  const Heading = this.tag;
174
- return (h(Host, { key: '0b502ee9b85add9b3276695e5eb2b6497ba339f2', class: {
176
+ return (h(Host, { key: 'dd9df7b068c6a489c4a56437a19e6f7a27a1c1ea', class: {
175
177
  [`is-${this.autoFontSize}`]: this.autoFontSize !== undefined,
176
- [`is-${this.fontColor}`]: this.fontColor !== undefined,
178
+ [`is-${this.fontColor}`]: hasValue(this.fontColor),
177
179
  'is-subtitle': this.subtitle,
178
180
  'has-no-wrap': this.noWrap,
179
181
  'has-shadow': this.shadow,
180
- [`has-space-${this.space}`]: !!this.space,
181
- } }, h(Heading, { key: 'c88498ebc2531d6060c9aec68cb33c051b0ef336', id: "heading", part: "heading", ref: (headingEl) => (this.headingEl = headingEl) }, h("slot", { key: '51db87f89bcea927d039e4d2cc6b12c1c04ec19b' }))));
182
+ [`has-space-${this.space}`]: hasValue(this.space),
183
+ } }, h(Heading, { key: 'e437b9f774f324b5628d002210b1af6763cc9dc8', id: "heading", part: "heading", ref: (headingEl) => (this.headingEl = headingEl) }, h("slot", { key: '61234ad53aa55043c4982b94e40155fb5b40b69b' }))));
182
184
  }
183
185
  get el() { return getElement(this); }
184
186
  static get watchers() { return {
@@ -200,39 +202,39 @@ __decorate([
200
202
  __metadata("design:returntype", void 0)
201
203
  ], Heading.prototype, "createLogger", null);
202
204
  __decorate([
203
- ValidateOneOf(...HEADING_LEVELS),
205
+ OneOf(HEADING_LEVELS),
204
206
  __metadata("design:type", String)
205
207
  ], Heading.prototype, "level", void 0);
206
208
  __decorate([
207
- ValidateOneOf(...HEADING_VISUAL_LEVELS),
209
+ OneOf(HEADING_VISUAL_LEVELS),
208
210
  __metadata("design:type", String)
209
211
  ], Heading.prototype, "visualLevel", void 0);
210
212
  __decorate([
211
- ValidateOneOf(...HEADING_VISUAL_LEVELS),
213
+ OneOf(HEADING_VISUAL_LEVELS),
212
214
  __metadata("design:type", String)
213
215
  ], Heading.prototype, "autoLevel", void 0);
214
216
  __decorate([
215
- ValidateType('boolean'),
217
+ Type('boolean'),
216
218
  __metadata("design:type", Boolean)
217
219
  ], Heading.prototype, "noWrap", void 0);
218
220
  __decorate([
219
- ValidateType('boolean'),
221
+ Type('boolean'),
220
222
  __metadata("design:type", Boolean)
221
223
  ], Heading.prototype, "subtitle", void 0);
222
224
  __decorate([
223
- ValidateOneOf(...HEADING_SPACES),
225
+ OneOf(HEADING_SPACES),
224
226
  __metadata("design:type", String)
225
227
  ], Heading.prototype, "space", void 0);
226
228
  __decorate([
227
- ValidateOneOf(...HEADING_COLORS),
229
+ OneOf(HEADING_COLORS),
228
230
  __metadata("design:type", String)
229
231
  ], Heading.prototype, "color", void 0);
230
232
  __decorate([
231
- ValidateType('boolean'),
233
+ Type('boolean'),
232
234
  __metadata("design:type", Boolean)
233
235
  ], Heading.prototype, "inverted", void 0);
234
236
  __decorate([
235
- ValidateType('boolean'),
237
+ Type('boolean'),
236
238
  __metadata("design:type", Boolean)
237
239
  ], Heading.prototype, "shadow", void 0);
238
240
  Heading.style = headingHostCss();
@@ -0,0 +1,26 @@
1
+ /*!
2
+ * (C) Helvetia Design System https://design.baloise.dev/ - Apache License 2.0
3
+ */
4
+ import { B as registerInstance, E as h, F as Host, G as getElement } from './index-B-v2Wm-V.js';
5
+ import { _ as __decorate, L as Logger, a as __metadata } from './tslib.es6-n47B6oUi.js';
6
+
7
+ const HintText = class {
8
+ constructor(hostRef) {
9
+ registerInstance(this, hostRef);
10
+ }
11
+ createLogger(log) {
12
+ this.log = log;
13
+ }
14
+ render() {
15
+ return (h(Host, { key: 'e29a27c1f5176a5b9a29297d4b9f46db9fb9a58b', style: { display: 'contents' } }, h("slot", { key: '5135ac7a804d2a76c66df93aad918720fed7f0a5' })));
16
+ }
17
+ get el() { return getElement(this); }
18
+ };
19
+ __decorate([
20
+ Logger('hint-text'),
21
+ __metadata("design:type", Function),
22
+ __metadata("design:paramtypes", [Function]),
23
+ __metadata("design:returntype", void 0)
24
+ ], HintText.prototype, "createLogger", null);
25
+
26
+ export { HintText as ds_hint_text };
@@ -0,0 +1,29 @@
1
+ /*!
2
+ * (C) Helvetia Design System https://design.baloise.dev/ - Apache License 2.0
3
+ */
4
+ import { B as registerInstance, E as h, F as Host, G as getElement } from './index-B-v2Wm-V.js';
5
+ import { _ as __decorate, L as Logger, a as __metadata } from './tslib.es6-n47B6oUi.js';
6
+
7
+ const HintTitle = class {
8
+ constructor(hostRef) {
9
+ registerInstance(this, hostRef);
10
+ }
11
+ createLogger(log) {
12
+ this.log = log;
13
+ }
14
+ connectedCallback() {
15
+ this.el.slot = 'title';
16
+ }
17
+ render() {
18
+ return (h(Host, { key: 'fd1b78370d7474d8ec7e514556fdb9444fa12e70', style: { display: 'contents' } }, h("slot", { key: 'd2d14b2c4cfe147042c8c9a93c1d980f2bfd343d' })));
19
+ }
20
+ get el() { return getElement(this); }
21
+ };
22
+ __decorate([
23
+ Logger('hint-title'),
24
+ __metadata("design:type", Function),
25
+ __metadata("design:paramtypes", [Function]),
26
+ __metadata("design:returntype", void 0)
27
+ ], HintTitle.prototype, "createLogger", null);
28
+
29
+ export { HintTitle as ds_hint_title };
@@ -0,0 +1,241 @@
1
+ /*!
2
+ * (C) Helvetia Design System https://design.baloise.dev/ - Apache License 2.0
3
+ */
4
+ import { B as registerInstance, v as defaultConfig, E as h, F as Host, G as getElement } from './index-B-v2Wm-V.js';
5
+ import { _ as __decorate, L as Logger, a as __metadata } from './tslib.es6-n47B6oUi.js';
6
+ import { i as isEscapeKey } from './keyboard-Uy_dVz21.js';
7
+ import { P as POPUP_PLACEMENTS } from './popup.interfaces-BAY6Z8bT.js';
8
+ import { L as ListenToBreakpoints } from './breakpoints.decorator-D9M4v98c.js';
9
+ import { O as OneOf } from './one-of-CjRvS2Tk.js';
10
+ import { T as Type } from './type-7qEQcw90.js';
11
+ import { L as ListenToConfig } from './config.decorator-CRYVBTkX.js';
12
+ import './breakpoints.subject-DHZ7TzYV.js';
13
+ import './listener-DIZDQOuO.js';
14
+ import './device-CapioAfe.js';
15
+ import './create-validator-decorator-fUav5byo.js';
16
+ import './config.utils-CR4Xudpz.js';
17
+
18
+ const i18nDsHint = {
19
+ de: {
20
+ triggerLabel: 'Weitere Informationen',
21
+ },
22
+ en: {
23
+ triggerLabel: 'More information',
24
+ },
25
+ fr: {
26
+ triggerLabel: "Plus d'informations",
27
+ },
28
+ it: {
29
+ triggerLabel: 'Ulteriori informazioni',
30
+ },
31
+ nl: {
32
+ triggerLabel: 'Meer informatie',
33
+ },
34
+ es: {
35
+ triggerLabel: 'Más información',
36
+ },
37
+ pl: {
38
+ triggerLabel: 'Więcej informacji',
39
+ },
40
+ pt: {
41
+ triggerLabel: 'Mais informações',
42
+ },
43
+ sv: {
44
+ triggerLabel: 'Mer information',
45
+ },
46
+ fi: {
47
+ triggerLabel: 'Lisätiedot',
48
+ },
49
+ };
50
+
51
+ const hintHostCss = () => `:host{--_hint-position:var(--hint-position, var(--mod-hint-position, static));--_hint-top:var(--hint-top, var(--mod-hint-top));--_hint-right:var(--hint-right, var(--mod-hint-right));--_hint-bottom:var(--hint-bottom, var(--mod-hint-bottom));--_hint-left:var(--hint-left, var(--mod-hint-left));position:var(--_hint-position);top:var(--_hint-top);right:var(--_hint-right);bottom:var(--_hint-bottom);left:var(--_hint-left);--_hint-m:var(--hint-m, var(--mod-hint-m, 0));--_hint-my:var(--hint-my, var(--mod-hint-my));--_hint-mx:var(--hint-mx, var(--mod-hint-mx));--_hint-ml:var(--hint-ml, var(--mod-hint-ml));--_hint-mr:var(--hint-mr, var(--mod-hint-mr));--_hint-mt:var(--hint-mt, var(--mod-hint-mt));--_hint-mb:var(--hint-mb, var(--mod-hint-mb));margin:var(--_hint-m);margin-inline:var(--_hint-mx);margin-block:var(--_hint-my);margin-left:var(--_hint-ml);margin-right:var(--_hint-mr);margin-top:var(--_hint-mt);margin-bottom:var(--_hint-mb);--_hint-color-trigger:var(--hint-color-trigger, var(--mod-hint-color-trigger, var(--ds-alias-text-color-primary)));--_hint-color-trigger-background-hover:var(--hint-color-trigger-background-hover, var(--mod-hint-color-trigger-background-hover, var(--ds-alias-interaction-selection-background)));--_hint-color-focus:var(--hint-color-focus, var(--mod-hint-color-focus, var(--ds-alias-interaction-focus-color-base)));--_hint-color-title:var(--hint-color-title, var(--mod-hint-color-title, var(--ds-alias-text-color-primary)));--_hint-color-body:var(--hint-color-body, var(--mod-hint-color-body, var(--ds-alias-text-color-primary)))}:host{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;vertical-align:middle;font-weight:var(--ds-global-font-weight-400)}:host [part=trigger]{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background:none;padding:.25rem;border-radius:50%;cursor:pointer;color:var(--_hint-color-trigger);line-height:0}@media (hover: hover)and (pointer: fine){:host [part=trigger]:hover{background:var(--_hint-color-trigger-background-hover)}}@media (hover: hover)and (pointer: fine){:host [part=trigger]:focus-visible{-webkit-box-shadow:var(--ds-alias-interaction-focus-color-border) 0 0 0 2px,var(--_hint-color-focus) 0 0 0 5px !important;box-shadow:var(--ds-alias-interaction-focus-color-border) 0 0 0 2px,var(--_hint-color-focus) 0 0 0 5px !important}}:host [part=trigger] ds-icon{--icon-size:20px;--icon-inner-size:20px}:host ds-popup{--popup-background:var(--ds-alias-background-color-grey-light);--popup-radius:var(--ds-alias-radius-lg);--popup-max-width:20rem}:host ds-drawer{--drawer-background:var(--ds-alias-background-color-grey-light);--drawer-radius:var(--ds-alias-radius-lg)}:host .hint-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--ds-alias-space-sm-mobile)}:host .hint-header{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:justify;justify-content:space-between;gap:var(--ds-alias-space-sm-mobile)}:host .hint-title{font-family:var(--ds-alias-text-family-heading);font-weight:var(--ds-alias-text-weight-bold);font-size:var(--ds-alias-text-size-xl-mobile);line-height:var(--ds-alias-text-line-height-heading);color:var(--_hint-color-title)}:host .hint-body{font-family:var(--ds-alias-text-family-body);font-size:var(--ds-alias-text-size-base-mobile);line-height:var(--ds-alias-text-line-height-body);color:var(--_hint-color-body)}:host .hint-close-btn{margin-top:var(--ds-alias-space-sm-mobile);width:100%}`;
52
+
53
+ const Hint = class {
54
+ constructor(hostRef) {
55
+ registerInstance(this, hostRef);
56
+ this.isOpen = false;
57
+ this.isTouch = false;
58
+ this.animated = true;
59
+ this.innerCloseLabel = 'Close';
60
+ this.language = defaultConfig.language;
61
+ this.region = defaultConfig.region;
62
+ /**
63
+ * PUBLIC PROPERTY API
64
+ * ------------------------------------------------------
65
+ */
66
+ /**
67
+ * Preferred placement of the popup panel on desktop viewports.
68
+ */
69
+ this.placement = 'right';
70
+ /**
71
+ * Title text displayed in the hint panel.
72
+ * When provided, renders in the title section without needing a named slot.
73
+ */
74
+ this.label = undefined;
75
+ /**
76
+ * Label for the close button shown in the drawer on touch viewports.
77
+ * When omitted the label is localised from the language config.
78
+ */
79
+ this.closeLabel = undefined;
80
+ /**
81
+ * Accessible label for the trigger button.
82
+ * When omitted the label is localised from the language config.
83
+ */
84
+ this.triggerLabel = undefined;
85
+ this.handleTriggerClick = () => {
86
+ this.toggle();
87
+ };
88
+ this.handleWillPresent = () => {
89
+ this.isOpen = true;
90
+ };
91
+ this.handleWillDismiss = () => {
92
+ this.isOpen = false;
93
+ };
94
+ this.handleCloseClick = () => {
95
+ this.dismiss();
96
+ };
97
+ }
98
+ createLogger(log) {
99
+ this.log = log;
100
+ }
101
+ componentDidLoad() {
102
+ this.wirePopupTrigger();
103
+ }
104
+ componentDidUpdate() {
105
+ this.wirePopupTrigger();
106
+ }
107
+ /**
108
+ * PUBLIC METHODS
109
+ * ------------------------------------------------------
110
+ */
111
+ /** Opens the hint panel. */
112
+ async present() {
113
+ var _a, _b;
114
+ if (this.isTouch) {
115
+ await ((_a = this.drawerEl) === null || _a === void 0 ? void 0 : _a.present());
116
+ }
117
+ else {
118
+ await ((_b = this.popupEl) === null || _b === void 0 ? void 0 : _b.present());
119
+ }
120
+ }
121
+ /** Closes the hint panel. */
122
+ async dismiss() {
123
+ var _a, _b;
124
+ if (this.isTouch) {
125
+ await ((_a = this.drawerEl) === null || _a === void 0 ? void 0 : _a.dismiss());
126
+ }
127
+ else {
128
+ await ((_b = this.popupEl) === null || _b === void 0 ? void 0 : _b.dismiss());
129
+ }
130
+ }
131
+ /** Toggles the hint panel open or closed. */
132
+ async toggle() {
133
+ this.isOpen ? this.dismiss() : this.present();
134
+ }
135
+ /**
136
+ * @internal
137
+ */
138
+ async configChanged(state) {
139
+ this.animated = state.animated;
140
+ this.language = state.language;
141
+ this.region = state.region;
142
+ if (!this.closeLabel) {
143
+ switch (state.language) {
144
+ case 'de':
145
+ this.innerCloseLabel = 'Schliessen';
146
+ break;
147
+ case 'fr':
148
+ this.innerCloseLabel = 'Fermer';
149
+ break;
150
+ case 'it':
151
+ this.innerCloseLabel = 'Chiudere';
152
+ break;
153
+ case 'nl':
154
+ this.innerCloseLabel = 'Sluiten';
155
+ break;
156
+ default:
157
+ this.innerCloseLabel = 'Close';
158
+ }
159
+ }
160
+ }
161
+ /**
162
+ * PRIVATE METHODS
163
+ * ------------------------------------------------------
164
+ */
165
+ listenToBreakpoint(breakpoints) {
166
+ const wasTouch = this.isTouch;
167
+ this.isTouch = breakpoints.touch;
168
+ if (wasTouch !== this.isTouch) {
169
+ this.isOpen = false;
170
+ }
171
+ }
172
+ wirePopupTrigger() {
173
+ if (!this.isTouch && this.popupEl && this.triggerButtonEl) {
174
+ this.popupEl.trigger = this.triggerButtonEl;
175
+ }
176
+ }
177
+ hasTitle() {
178
+ var _a, _b;
179
+ const titleSlot = this.el.querySelector('[slot="title"]');
180
+ return titleSlot !== null && ((_b = (_a = titleSlot.textContent) === null || _a === void 0 ? void 0 : _a.trim().length) !== null && _b !== void 0 ? _b : 0) > 0;
181
+ }
182
+ /**
183
+ * EVENT BINDING
184
+ * ------------------------------------------------------
185
+ */
186
+ listenToKeyDown(ev) {
187
+ if (!this.isOpen || this.isTouch)
188
+ return;
189
+ if (isEscapeKey(ev)) {
190
+ ev.stopPropagation();
191
+ this.dismiss();
192
+ }
193
+ }
194
+ /**
195
+ * RENDER
196
+ * ------------------------------------------------------
197
+ */
198
+ render() {
199
+ const closeLabel = this.closeLabel || this.innerCloseLabel;
200
+ const triggerLabel = this.triggerLabel || i18nDsHint[this.language].triggerLabel;
201
+ return (h(Host, { key: 'e8a9e9e57768c5ca46710453b1ed7698df22a897' }, h("button", { key: '7ea41a18615ec50bbffb0bb5211db8d827ab701c', part: "trigger", type: "button", "aria-expanded": String(this.isOpen), "aria-haspopup": "dialog", "aria-label": triggerLabel, ref: el => (this.triggerButtonEl = el), onClick: this.handleTriggerClick }, h("ds-icon", { key: '4b539e28416f080109972241e2304340a3edb0d5', name: "info-circle", "aria-hidden": "true" })), this.isTouch ? (h("ds-drawer", { ref: el => (this.drawerEl = el), closable: false, backdropDismiss: true, onDsWillPresent: this.handleWillPresent, onDsWillDismiss: this.handleWillDismiss }, h("div", { class: "hint-content" }, (this.label || this.hasTitle()) && (h("div", { class: "hint-header" }, h("div", { class: "hint-title" }, this.label || h("slot", { name: "title" })))), h("div", { class: "hint-body" }, h("slot", null))), h("ds-button", { color: "primary", class: "hint-close-btn", onClick: this.handleCloseClick }, closeLabel))) : (h("ds-popup", { ref: el => (this.popupEl = el), closable: false, placement: this.placement, backdropDismiss: true, role: "dialog", onDsWillPresent: this.handleWillPresent, onDsWillDismiss: this.handleWillDismiss }, h("div", { class: "hint-content" }, (this.label || this.hasTitle()) && (h("div", { class: "hint-header" }, h("div", { class: "hint-title" }, this.label || h("slot", { name: "title" })), h("ds-close", { onClick: this.handleCloseClick }))), h("div", { class: "hint-body" }, h("slot", null)))))));
202
+ }
203
+ get el() { return getElement(this); }
204
+ };
205
+ __decorate([
206
+ Logger('hint'),
207
+ __metadata("design:type", Function),
208
+ __metadata("design:paramtypes", [Function]),
209
+ __metadata("design:returntype", void 0)
210
+ ], Hint.prototype, "createLogger", null);
211
+ __decorate([
212
+ OneOf(POPUP_PLACEMENTS),
213
+ __metadata("design:type", String)
214
+ ], Hint.prototype, "placement", void 0);
215
+ __decorate([
216
+ Type('string'),
217
+ __metadata("design:type", Object)
218
+ ], Hint.prototype, "label", void 0);
219
+ __decorate([
220
+ Type('string'),
221
+ __metadata("design:type", Object)
222
+ ], Hint.prototype, "closeLabel", void 0);
223
+ __decorate([
224
+ Type('string'),
225
+ __metadata("design:type", Object)
226
+ ], Hint.prototype, "triggerLabel", void 0);
227
+ __decorate([
228
+ ListenToConfig(),
229
+ __metadata("design:type", Function),
230
+ __metadata("design:paramtypes", [Object]),
231
+ __metadata("design:returntype", Promise)
232
+ ], Hint.prototype, "configChanged", null);
233
+ __decorate([
234
+ ListenToBreakpoints(),
235
+ __metadata("design:type", Function),
236
+ __metadata("design:paramtypes", [Object]),
237
+ __metadata("design:returntype", void 0)
238
+ ], Hint.prototype, "listenToBreakpoint", null);
239
+ Hint.style = hintHostCss();
240
+
241
+ export { Hint as ds_hint };