@ds-autonomie/web-components 2.1.0 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (550) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/cdn/chunks/{chunk.CZHOLGSR.js → chunk.27YOIDOY.js} +1 -1
  3. package/cdn/chunks/{chunk.YD6XEMWC.js → chunk.2Q6V7LT2.js} +1 -1
  4. package/cdn/chunks/{chunk.Y5CXRULD.js → chunk.2QGLZHHF.js} +3 -3
  5. package/cdn/chunks/chunk.2T2ABKP4.js +348 -0
  6. package/cdn/chunks/chunk.35PPY25N.js +92 -0
  7. package/cdn/chunks/{chunk.EARU4CHS.js → chunk.3AT66TOX.js} +1 -1
  8. package/cdn/chunks/{chunk.WJ2QJ5NF.js → chunk.3CRRJ74Q.js} +4 -4
  9. package/cdn/chunks/{chunk.SW4US4PJ.js → chunk.4AMHKT45.js} +1 -1
  10. package/cdn/chunks/{chunk.PGT2WHXR.js → chunk.4VWDJUDJ.js} +3 -3
  11. package/cdn/chunks/{chunk.6H5KLQNT.js → chunk.57JBB4UL.js} +1 -1
  12. package/cdn/chunks/{chunk.THD27VRI.js → chunk.57UCUSPU.js} +1 -1
  13. package/cdn/chunks/{chunk.E4GNTJPS.js → chunk.5AKIIMXP.js} +3 -3
  14. package/cdn/chunks/{chunk.7CIXFYLV.js → chunk.5EYEXU6M.js} +1 -1
  15. package/cdn/chunks/chunk.5IFHMXXG.js +229 -0
  16. package/cdn/chunks/chunk.6BPVPY42.js +318 -0
  17. package/{dist/chunks/chunk.IPZC55RV.js → cdn/chunks/chunk.6BXZEG5L.js} +3 -0
  18. package/cdn/chunks/{chunk.Z6DEWBVS.js → chunk.6NFWRZM6.js} +50 -50
  19. package/cdn/chunks/{chunk.RPRWT2IH.js → chunk.74QWC4UR.js} +2 -2
  20. package/cdn/chunks/{chunk.I7XP2UMV.js → chunk.7FRA5H32.js} +1 -1
  21. package/cdn/chunks/{chunk.5BL6KECM.js → chunk.7KCIFACP.js} +2 -2
  22. package/cdn/chunks/{chunk.27YR5DC6.js → chunk.7S74KUA4.js} +1 -13
  23. package/cdn/chunks/{chunk.E6VF2I6I.js → chunk.7VDWWPRU.js} +4 -3
  24. package/cdn/chunks/chunk.7WXOGHV7.js +46 -0
  25. package/cdn/chunks/{chunk.L7BI7NJL.js → chunk.7ZBG7ZQG.js} +1 -1
  26. package/cdn/chunks/{chunk.WO2QCEF7.js → chunk.BLLAYNRQ.js} +1 -1
  27. package/cdn/chunks/{chunk.Y3OADZB3.js → chunk.BPP37CID.js} +32 -32
  28. package/cdn/chunks/{chunk.P45DWAWT.js → chunk.CAYHSQZJ.js} +1 -1
  29. package/cdn/chunks/{chunk.ZDLDKWEM.js → chunk.CKDGFB52.js} +9 -6
  30. package/cdn/chunks/{chunk.OP36PAMU.js → chunk.CL4C4BFH.js} +2 -2
  31. package/cdn/chunks/chunk.D2LMY47K.js +154 -0
  32. package/cdn/chunks/{chunk.BE7PKTJW.js → chunk.D5IL5KN6.js} +5 -5
  33. package/cdn/chunks/{chunk.LCUVJAUT.js → chunk.DDRUVCZW.js} +1 -1
  34. package/cdn/chunks/{chunk.J3A7VDK5.js → chunk.EKKWPXJL.js} +32 -12
  35. package/cdn/chunks/{chunk.KTAPO27T.js → chunk.ER5ZWWSU.js} +10 -5
  36. package/cdn/chunks/{chunk.JTHUYIYP.js → chunk.ERQYJQKU.js} +6 -6
  37. package/cdn/chunks/{chunk.77JWQ5MT.js → chunk.F34KPGDS.js} +1 -1
  38. package/cdn/chunks/chunk.F7NUIVDV.js +10 -0
  39. package/cdn/chunks/{chunk.Y2DCLNZQ.js → chunk.FXVCDQEN.js} +1 -1
  40. package/cdn/chunks/{chunk.JSVJ7J76.js → chunk.G7UC5QGP.js} +5 -5
  41. package/cdn/chunks/{chunk.JBUFTMYB.js → chunk.GCLAPOSZ.js} +1 -1
  42. package/cdn/chunks/{chunk.W2MICEQN.js → chunk.GN3AVMBZ.js} +1 -1
  43. package/cdn/chunks/chunk.H2OEFMQC.js +186 -0
  44. package/cdn/chunks/{chunk.FMPJ4AXA.js → chunk.H3Y633AF.js} +1 -1
  45. package/cdn/chunks/{chunk.3TUFAITJ.js → chunk.HJU52GCK.js} +1 -1
  46. package/cdn/chunks/{chunk.UFCZPYZA.js → chunk.HMLKFYNH.js} +1 -1
  47. package/cdn/chunks/{chunk.JNDULVYM.js → chunk.HZJEKORW.js} +1 -1
  48. package/cdn/chunks/{chunk.TCGVOWNQ.js → chunk.IAOVYG7Z.js} +1 -1
  49. package/cdn/chunks/{chunk.OVD3Q2LV.js → chunk.IB463542.js} +6 -3
  50. package/cdn/chunks/chunk.IONY2GZF.js +72 -0
  51. package/cdn/chunks/chunk.ITHTXYNC.js +92 -0
  52. package/cdn/chunks/{chunk.MEYHIAQ5.js → chunk.IZ6KYT7R.js} +30 -15
  53. package/cdn/chunks/{chunk.Z2IR3WWE.js → chunk.J6J6XRPR.js} +2 -2
  54. package/cdn/chunks/{chunk.S4BW7KNM.js → chunk.J73YJOU4.js} +1 -1
  55. package/cdn/chunks/{chunk.XPL6N3OJ.js → chunk.JLZQJQF4.js} +9 -12
  56. package/cdn/chunks/{chunk.FHTVGJJI.js → chunk.JXHXRRPX.js} +1 -1
  57. package/cdn/chunks/{chunk.7KCFANDH.js → chunk.KCPXZK3D.js} +1 -1
  58. package/cdn/chunks/chunk.KNY4ZIQ7.js +282 -0
  59. package/cdn/chunks/{chunk.ZLWLHLBC.js → chunk.LICWCBKN.js} +12 -0
  60. package/cdn/chunks/{chunk.Y4RIWPTX.js → chunk.LLZPEDQW.js} +1 -1
  61. package/cdn/chunks/{chunk.QCSRN6TI.js → chunk.LYPHJJYB.js} +77 -36
  62. package/cdn/chunks/{chunk.OIOL7U5V.js → chunk.MNE7AANP.js} +1 -1
  63. package/cdn/chunks/{chunk.5AFQZ4HE.js → chunk.NX5D5OTS.js} +14 -1
  64. package/cdn/chunks/chunk.O3K7DNLG.js +102 -0
  65. package/cdn/chunks/chunk.O577BA4U.js +23 -0
  66. package/cdn/chunks/{chunk.IS6JFFBR.js → chunk.OLIPJEPX.js} +1 -1
  67. package/cdn/chunks/{chunk.T4RXUUPV.js → chunk.OMBOQURT.js} +2 -2
  68. package/cdn/chunks/{chunk.45JVH3EU.js → chunk.OZVVCEKQ.js} +1 -1
  69. package/cdn/chunks/{chunk.LRMXGBIU.js → chunk.P5KRELMB.js} +63 -65
  70. package/cdn/chunks/{chunk.BNPGOQZ2.js → chunk.P7D7IUHT.js} +1 -1
  71. package/cdn/chunks/chunk.PQYUBPRU.js +676 -0
  72. package/cdn/chunks/chunk.PWL7QCVG.js +9 -0
  73. package/cdn/chunks/{chunk.XSXBXWVS.js → chunk.QFP2EIRS.js} +1 -0
  74. package/cdn/chunks/{chunk.COR7P3QG.js → chunk.ROGVB4AO.js} +4 -4
  75. package/cdn/chunks/{chunk.RJROYRRA.js → chunk.RXUJBLKT.js} +1 -1
  76. package/cdn/chunks/{chunk.HNDRJ3LR.js → chunk.SE7W7XMK.js} +1 -1
  77. package/cdn/chunks/{chunk.PMMQ5QVY.js → chunk.SF3YU6PZ.js} +15 -1
  78. package/cdn/chunks/{chunk.QVX3F6W3.js → chunk.T56ZOKTF.js} +1 -1
  79. package/cdn/chunks/{chunk.D34ULVGO.js → chunk.TAKMMVMG.js} +1 -1
  80. package/cdn/chunks/{chunk.FA2HQBM6.js → chunk.TENBZ64C.js} +27 -6
  81. package/cdn/chunks/{chunk.P5N74W74.js → chunk.THMGZ3JS.js} +1 -1
  82. package/cdn/chunks/{chunk.NPJ5ZOJ4.js → chunk.TO65OMN5.js} +60 -116
  83. package/cdn/chunks/{chunk.6CF6SXDF.js → chunk.U5Q3HCRP.js} +1 -1
  84. package/cdn/chunks/{chunk.RPF6UDR4.js → chunk.US6UTTN5.js} +1 -1
  85. package/cdn/chunks/{chunk.3CJGMKTJ.js → chunk.V5TMX44U.js} +1 -1
  86. package/cdn/chunks/{chunk.3OPTPDM7.js → chunk.VGXDHXD4.js} +1 -1
  87. package/cdn/chunks/{chunk.XLX7QTXT.js → chunk.VZJGVIXG.js} +1 -0
  88. package/cdn/chunks/{chunk.NC6BC5GU.js → chunk.W2B6WXUI.js} +17 -1
  89. package/cdn/chunks/{chunk.XWKSA3TQ.js → chunk.W547AC5O.js} +1 -1
  90. package/cdn/chunks/{chunk.R6BGXKHX.js → chunk.WE7BT7PI.js} +3 -3
  91. package/cdn/chunks/{chunk.CVV4WLBC.js → chunk.WMMK7OL4.js} +19 -12
  92. package/cdn/chunks/{chunk.6E6G25TQ.js → chunk.WOKVCL7Q.js} +2 -2
  93. package/cdn/chunks/{chunk.77CWRZEL.js → chunk.WY2HI4TL.js} +1 -1
  94. package/cdn/chunks/{chunk.5BF76EO7.js → chunk.YA7ZX7VM.js} +1 -1
  95. package/cdn/chunks/{chunk.NVI4N3YH.js → chunk.YDBMOXIS.js} +1 -1
  96. package/cdn/chunks/chunk.YGAW4V4H.js +44 -0
  97. package/cdn/chunks/{chunk.DSKRAAOI.js → chunk.Z7VB7VAD.js} +1 -1
  98. package/cdn/chunks/{chunk.M5Z546V7.js → chunk.ZEPLEFIQ.js} +1 -1
  99. package/cdn/chunks/{chunk.YSKUVTPO.js → chunk.ZLZIVCPW.js} +1 -1
  100. package/cdn/chunks/chunk.ZTXQFGQX.js +198 -0
  101. package/cdn/chunks/{chunk.APACKBZF.js → chunk.ZUJJYUHF.js} +1 -1
  102. package/cdn/chunks/{chunk.3PW6CC5R.js → chunk.ZVQQ7DON.js} +1 -1
  103. package/cdn/components/accordion/accordion.js +5 -5
  104. package/cdn/components/alert/alert.js +5 -5
  105. package/cdn/components/avatar/avatar.js +4 -4
  106. package/cdn/components/breadcrumb/breadcrumb.js +5 -5
  107. package/cdn/components/breadcrumb-item/breadcrumb-item.js +2 -2
  108. package/cdn/components/button/button.d.ts +1 -1
  109. package/cdn/components/button/button.js +7 -7
  110. package/cdn/components/button/button.styles.js +1 -1
  111. package/cdn/components/calendar/calendar.js +3 -3
  112. package/cdn/components/callout/callout.js +3 -3
  113. package/cdn/components/checkbox/checkbox.d.ts +7 -3
  114. package/cdn/components/checkbox/checkbox.js +13 -6
  115. package/cdn/components/checkbox/checkbox.styles.js +2 -2
  116. package/cdn/components/checkbox-button/checkbox-button.d.ts +1 -0
  117. package/cdn/components/checkbox-button/checkbox-button.js +17 -6
  118. package/cdn/components/checkbox-card/checkbox-card.d.ts +25 -0
  119. package/cdn/components/checkbox-card/checkbox-card.js +27 -0
  120. package/cdn/components/checkbox-group/checkbox-group.d.ts +10 -11
  121. package/cdn/components/checkbox-group/checkbox-group.js +7 -9
  122. package/cdn/components/checkbox-group/checkbox-group.styles.js +2 -2
  123. package/cdn/components/combobox/combobox.d.ts +3 -2
  124. package/cdn/components/combobox/combobox.js +11 -10
  125. package/cdn/components/combobox/combobox.styles.js +2 -2
  126. package/cdn/components/dialog/dialog.d.ts +11 -5
  127. package/cdn/components/dialog/dialog.js +6 -6
  128. package/cdn/components/dialog/dialog.styles.js +1 -1
  129. package/cdn/components/download-card/download-card.js +3 -3
  130. package/cdn/components/download-link/download-link.js +3 -3
  131. package/cdn/components/drawer/drawer.js +5 -5
  132. package/cdn/components/dropdown/dropdown.js +2 -2
  133. package/cdn/components/error-message-panel/error-message-panel.js +2 -2
  134. package/cdn/components/error-text/error-text.js +3 -3
  135. package/cdn/components/file-upload/file-upload.d.ts +3 -2
  136. package/cdn/components/file-upload/file-upload.js +7 -7
  137. package/cdn/components/file-upload/file-upload.styles.js +2 -2
  138. package/cdn/components/file-upload-item/file-upload-item.js +3 -3
  139. package/cdn/components/filter-base/filter-base-stories.js +1 -1
  140. package/cdn/components/filter-base/filter-base.js +6 -6
  141. package/cdn/components/filter-button/filter-button.js +5 -5
  142. package/cdn/components/filter-counter/filter-counter.js +26 -19
  143. package/cdn/components/filter-date/filter-date.js +10 -10
  144. package/cdn/components/filter-range/filter-range.js +27 -20
  145. package/cdn/components/filter-select/filter-select.d.ts +5 -3
  146. package/cdn/components/filter-select/filter-select.js +27 -23
  147. package/cdn/components/footer/footer.js +3 -3
  148. package/cdn/components/footer/footer.styles.js +1 -1
  149. package/cdn/components/format-bytes/format-bytes.js +2 -2
  150. package/cdn/components/format-date/format-date.js +2 -2
  151. package/cdn/components/format-number/format-number.js +2 -2
  152. package/cdn/components/header/header.js +3 -3
  153. package/cdn/components/header/header.styles.js +1 -1
  154. package/cdn/components/header-search/header-search.js +8 -8
  155. package/cdn/components/icon/icon.js +3 -3
  156. package/cdn/components/icon/library.js +2 -2
  157. package/cdn/components/icon/library.system.js +1 -1
  158. package/cdn/components/icon-button/icon-button.js +3 -3
  159. package/cdn/components/input/input.d.ts +3 -7
  160. package/cdn/components/input/input.js +20 -13
  161. package/cdn/components/input/input.styles.js +2 -2
  162. package/cdn/components/input-date/input-date.d.ts +7 -2
  163. package/cdn/components/input-date/input-date.js +13 -12
  164. package/cdn/components/input-date/input-date.styles.js +3 -3
  165. package/cdn/components/input-mask/input-mask.js +9 -8
  166. package/cdn/components/input-mask/input-mask.styles.js +2 -2
  167. package/cdn/components/input-otp/input-otp.d.ts +90 -0
  168. package/cdn/components/input-otp/input-otp.js +38 -0
  169. package/cdn/components/input-otp/input-otp.styles.d.ts +2 -0
  170. package/cdn/components/input-otp/input-otp.styles.js +11 -0
  171. package/cdn/components/input-otp/input-otp.utils.d.ts +3 -0
  172. package/cdn/components/input-otp/input-otp.utils.js +11 -0
  173. package/cdn/components/input-phone/input-phone.js +16 -15
  174. package/cdn/components/input-phone/input-phone.styles.js +2 -2
  175. package/cdn/components/input-time/input-time.d.ts +121 -0
  176. package/cdn/components/input-time/input-time.js +50 -0
  177. package/cdn/components/input-time/input-time.styles.d.ts +2 -0
  178. package/cdn/components/input-time/input-time.styles.js +12 -0
  179. package/cdn/components/input-time/input-time.utils.d.ts +17 -0
  180. package/cdn/components/input-time/input-time.utils.js +13 -0
  181. package/cdn/components/menu-accordion/menu-accordion.js +5 -5
  182. package/cdn/components/menu-item/menu-item.js +3 -3
  183. package/cdn/components/navbar-link/navbar-link.js +3 -3
  184. package/cdn/components/navbar-menu/navbar-menu.js +5 -5
  185. package/cdn/components/option/option.js +5 -5
  186. package/cdn/components/pagination/pagination.js +25 -20
  187. package/cdn/components/pagination-button/pagination-button.js +3 -3
  188. package/cdn/components/pagination-button/pagination-button.styles.js +2 -2
  189. package/cdn/components/profile-button/profile-button.js +7 -7
  190. package/cdn/components/progress-bar/progress-bar.js +2 -2
  191. package/cdn/components/quote/quote.js +3 -3
  192. package/cdn/components/radio/radio.d.ts +6 -5
  193. package/cdn/components/radio/radio.js +7 -5
  194. package/cdn/components/radio/radio.styles.js +1 -1
  195. package/cdn/components/radio-button/radio-button.d.ts +1 -1
  196. package/cdn/components/radio-button/radio-button.js +10 -11
  197. package/cdn/components/radio-card/radio-card.d.ts +24 -0
  198. package/cdn/components/radio-card/radio-card.js +39 -0
  199. package/cdn/components/radio-group/radio-group.d.ts +6 -5
  200. package/cdn/components/radio-group/radio-group.js +7 -9
  201. package/cdn/components/radio-group/radio-group.styles.js +2 -2
  202. package/cdn/components/relative-time/relative-time.js +2 -2
  203. package/cdn/components/select/select.d.ts +4 -2
  204. package/cdn/components/select/select.js +10 -9
  205. package/cdn/components/select/select.styles.js +2 -2
  206. package/cdn/components/skip-links/skip-links.js +2 -2
  207. package/cdn/components/spinner/spinner.js +2 -2
  208. package/cdn/components/split-panel/split-panel.js +5 -5
  209. package/cdn/components/step/step.js +6 -5
  210. package/cdn/components/switch/switch.d.ts +84 -0
  211. package/cdn/components/switch/switch.js +30 -0
  212. package/cdn/components/switch/switch.styles.d.ts +2 -0
  213. package/cdn/components/switch/switch.styles.js +9 -0
  214. package/cdn/components/tab/tab.js +5 -5
  215. package/cdn/components/tab-group/tab-group.js +5 -5
  216. package/cdn/components/table-action/table-action.js +2 -2
  217. package/cdn/components/table-body/table-body.js +2 -2
  218. package/cdn/components/table-caption/table-caption.js +2 -2
  219. package/cdn/components/table-header-cell/table-header-cell.js +3 -3
  220. package/cdn/components/table-header-row/table-header-row.js +17 -13
  221. package/cdn/components/table-of-contents/table-of-contents.js +2 -2
  222. package/cdn/components/table-row/table-row.js +14 -8
  223. package/cdn/components/tag/tag.js +5 -5
  224. package/cdn/components/textarea/textarea.js +8 -7
  225. package/cdn/components/textarea/textarea.styles.js +2 -2
  226. package/cdn/components/tooltip/tooltip.js +2 -2
  227. package/cdn/components/tree/tree.js +18 -11
  228. package/cdn/components/tree-item/tree-item.js +16 -9
  229. package/cdn/custom-elements.json +6157 -4244
  230. package/cdn/design-system.d.ts +8 -2
  231. package/cdn/design-system.js +350 -160
  232. package/cdn/internal/a11y-warning.d.ts +2 -0
  233. package/cdn/internal/a11y-warning.js +4 -0
  234. package/cdn/internal/components/checkbox-box/checkbox-box.d.ts +27 -0
  235. package/cdn/internal/components/checkbox-box/checkbox-box.js +94 -0
  236. package/cdn/internal/components/checkbox-box/checkbox-box.styles.d.ts +2 -0
  237. package/cdn/internal/components/checkbox-box/checkbox-box.styles.js +98 -0
  238. package/cdn/internal/components/date-field/date-field.d.ts +1 -0
  239. package/cdn/internal/components/date-field/date-field.js +29 -10
  240. package/cdn/internal/components/form-control/form-control-layout.d.ts +1 -0
  241. package/cdn/internal/components/form-control/form-control-layout.js +10 -1
  242. package/cdn/internal/components/form-selectable-card/form-selectable-card-stories.d.ts +2 -0
  243. package/cdn/internal/components/form-selectable-card/form-selectable-card-stories.js +77 -0
  244. package/cdn/internal/components/form-selectable-card/form-selectable-card.d.ts +38 -0
  245. package/cdn/internal/components/form-selectable-card/form-selectable-card.js +182 -0
  246. package/cdn/internal/components/form-selectable-card/form-selectable-card.styles.d.ts +2 -0
  247. package/cdn/internal/components/form-selectable-card/form-selectable-card.styles.js +141 -0
  248. package/cdn/internal/components/form-toggle-button/form-toggle-button.d.ts +5 -1
  249. package/cdn/internal/components/form-toggle-button/form-toggle-button.js +29 -9
  250. package/cdn/internal/components/form-toggle-button/form-toggle-button.styles.js +7 -0
  251. package/cdn/internal/components/radio-icon/radio-icon.d.ts +22 -0
  252. package/cdn/internal/components/radio-icon/radio-icon.js +66 -0
  253. package/cdn/internal/components/radio-icon/radio-icon.styles.d.ts +2 -0
  254. package/cdn/internal/components/radio-icon/radio-icon.styles.js +86 -0
  255. package/cdn/styles/form-control.styles.js +17 -1
  256. package/cdn/themes/dsa-wc-theme.css +174 -5
  257. package/cdn/themes/dsa-wc-theme.min.css +1 -1
  258. package/cdn/themes/dsa-wc-theme.styles.js +178 -5
  259. package/cdn/translations/en-gb.js +1 -1
  260. package/cdn/translations/en.js +1 -1
  261. package/cdn/translations/fr.js +1 -1
  262. package/cdn/utilities/date.js +1 -1
  263. package/cdn/utilities/icon-library.js +2 -2
  264. package/cdn/utilities/localize.d.ts +6 -0
  265. package/cdn/utilities/localize.js +1 -1
  266. package/cdn/utilities/storybook.js +1 -1
  267. package/cdn/vscode.html-custom-data.json +238 -14
  268. package/cdn/web-types.json +1275 -169
  269. package/dist/chunks/{chunk.JCL6HX6O.js → chunk.2GRTPJX3.js} +1 -1
  270. package/dist/chunks/{chunk.CPCLGC5J.js → chunk.2O3M7HBZ.js} +1 -1
  271. package/dist/chunks/{chunk.ZYTDWH4E.js → chunk.2W6FOXSH.js} +60 -116
  272. package/dist/chunks/{chunk.EQZ4YFRU.js → chunk.3B3226HJ.js} +1 -1
  273. package/dist/chunks/{chunk.RWGL6D5U.js → chunk.3EAWXV27.js} +1 -1
  274. package/dist/chunks/{chunk.YXXLXJPE.js → chunk.3HX6HRHC.js} +14 -1
  275. package/dist/chunks/chunk.3NNE7XGI.js +196 -0
  276. package/dist/chunks/{chunk.FQB6S2KS.js → chunk.3SX7AERB.js} +1 -1
  277. package/dist/chunks/{chunk.ZGQUBAEK.js → chunk.4P7DDUA4.js} +3 -3
  278. package/dist/chunks/{chunk.XXHMFUD7.js → chunk.52V3WTR3.js} +5 -5
  279. package/dist/chunks/{chunk.LGA24XY2.js → chunk.54KX7M52.js} +1 -1
  280. package/dist/chunks/{chunk.T4BUHP4L.js → chunk.5EBCNG2J.js} +13 -1
  281. package/dist/chunks/{chunk.IZDRWFAB.js → chunk.5NUQTJJR.js} +1 -1
  282. package/dist/chunks/{chunk.JX7OISYA.js → chunk.5NXRUN57.js} +63 -65
  283. package/{cdn/chunks/chunk.IPZC55RV.js → dist/chunks/chunk.6BXZEG5L.js} +3 -0
  284. package/dist/chunks/{chunk.BQQ2GUR6.js → chunk.6K4LF64W.js} +1 -1
  285. package/dist/chunks/{chunk.GGXJ2MP3.js → chunk.6KWCQDRD.js} +32 -12
  286. package/dist/chunks/{chunk.2EDNCADP.js → chunk.6SDBUBGE.js} +1 -0
  287. package/dist/chunks/{chunk.BP4NJFKE.js → chunk.6ZJSEOLO.js} +1 -1
  288. package/dist/chunks/{chunk.LKCPAJMF.js → chunk.77ECBNUM.js} +6 -3
  289. package/dist/chunks/{chunk.MEPTPSE5.js → chunk.7KMMSAQN.js} +3 -3
  290. package/dist/chunks/chunk.7YIOE3D2.js +663 -0
  291. package/dist/chunks/{chunk.OHPSPLZO.js → chunk.AFRAGNLK.js} +6 -6
  292. package/dist/chunks/chunk.ANOLAL4B.js +90 -0
  293. package/dist/chunks/{chunk.CQHOJJEI.js → chunk.B2KV6DSI.js} +1 -1
  294. package/dist/chunks/{chunk.Y72CHU6D.js → chunk.B4SMUSVU.js} +30 -15
  295. package/dist/chunks/{chunk.XD25ELCV.js → chunk.BCLTC7W4.js} +1 -1
  296. package/dist/chunks/{chunk.WQYBYKZ2.js → chunk.BNREFNJW.js} +4 -3
  297. package/dist/chunks/chunk.BQEHELQ5.js +90 -0
  298. package/dist/chunks/{chunk.P45DWAWT.js → chunk.CAYHSQZJ.js} +1 -1
  299. package/dist/chunks/{chunk.2XRDIFUO.js → chunk.CEGU6OTH.js} +1 -1
  300. package/dist/chunks/chunk.CN6TUCPE.js +335 -0
  301. package/dist/chunks/{chunk.QRCGXHRO.js → chunk.CQR34TNY.js} +1 -0
  302. package/dist/chunks/{chunk.VNFFOE7Z.js → chunk.CWDSCTUA.js} +1 -1
  303. package/dist/chunks/{chunk.P4HRQ2D7.js → chunk.D6SKE3AF.js} +2 -2
  304. package/dist/chunks/{chunk.6ZAEF56K.js → chunk.DB3EDROT.js} +1 -1
  305. package/dist/chunks/{chunk.RZT42FVN.js → chunk.DIM7WDHO.js} +1 -1
  306. package/dist/chunks/{chunk.7DBNKQ7N.js → chunk.DLACE2NU.js} +2 -2
  307. package/dist/chunks/{chunk.W7TI3W77.js → chunk.DLE3F4GC.js} +1 -1
  308. package/dist/chunks/chunk.E45DVVIM.js +271 -0
  309. package/dist/chunks/{chunk.LB54GRRB.js → chunk.EAYW5L6J.js} +2 -2
  310. package/dist/chunks/{chunk.QDKQMUIQ.js → chunk.EIZK62ST.js} +17 -1
  311. package/dist/chunks/{chunk.T6UX2FVU.js → chunk.EK7OT2VJ.js} +4 -4
  312. package/dist/chunks/{chunk.FKXOTDTY.js → chunk.ERN34WYC.js} +5 -5
  313. package/dist/chunks/chunk.F7NUIVDV.js +10 -0
  314. package/dist/chunks/{chunk.3TJPAISV.js → chunk.FC2HFFUI.js} +1 -1
  315. package/dist/chunks/chunk.FK5HR2F4.js +100 -0
  316. package/dist/chunks/{chunk.XRZGSSHY.js → chunk.FWVIQUG4.js} +1 -1
  317. package/dist/chunks/{chunk.BDO6TPPP.js → chunk.G6JRMCFB.js} +32 -32
  318. package/dist/chunks/{chunk.WWANVBI5.js → chunk.GGBIEJ25.js} +3 -3
  319. package/dist/chunks/{chunk.JIWB4B3J.js → chunk.GW2MJTCT.js} +1 -1
  320. package/dist/chunks/{chunk.NHXG2KMS.js → chunk.HAYCQF2N.js} +1 -1
  321. package/dist/chunks/{chunk.3XIJ443Y.js → chunk.HEOHHRVV.js} +1 -13
  322. package/dist/chunks/{chunk.3TUFAITJ.js → chunk.HJU52GCK.js} +1 -1
  323. package/dist/chunks/{chunk.PUYBBM4K.js → chunk.HTBAICPA.js} +1 -1
  324. package/dist/chunks/{chunk.6GN2WDDT.js → chunk.IDGKF6AP.js} +3 -3
  325. package/dist/chunks/{chunk.IPUOJRFA.js → chunk.IIYPN5OC.js} +1 -1
  326. package/dist/chunks/chunk.IONY2GZF.js +72 -0
  327. package/dist/chunks/chunk.ITAWMEY7.js +42 -0
  328. package/dist/chunks/{chunk.SYVX56PU.js → chunk.ITUK4PON.js} +1 -1
  329. package/dist/chunks/{chunk.2JIPPL3I.js → chunk.JEZOETYM.js} +27 -6
  330. package/dist/chunks/{chunk.EGH3AVD7.js → chunk.K3HEMTRQ.js} +2 -2
  331. package/dist/chunks/{chunk.2VH3OZ2T.js → chunk.K53YJ3XK.js} +1 -1
  332. package/dist/chunks/{chunk.2VBJKC24.js → chunk.KFUZ6JMQ.js} +1 -1
  333. package/dist/chunks/{chunk.XPSUKRU5.js → chunk.KQ224IDT.js} +1 -1
  334. package/dist/chunks/{chunk.IF24VKLH.js → chunk.L66AKAXM.js} +1 -1
  335. package/dist/chunks/{chunk.VT3IWNRD.js → chunk.LE5LHO5Y.js} +1 -1
  336. package/dist/chunks/{chunk.MJKJSMQX.js → chunk.LGVJZXUH.js} +9 -12
  337. package/dist/chunks/{chunk.47JHZBMB.js → chunk.M5QF4L4W.js} +1 -1
  338. package/dist/chunks/{chunk.G422H4DZ.js → chunk.MAENDYI7.js} +50 -50
  339. package/dist/chunks/{chunk.AF5WMYR2.js → chunk.MYSJOWY5.js} +1 -1
  340. package/dist/chunks/{chunk.WOV5QN3O.js → chunk.NF5ELBI4.js} +4 -4
  341. package/dist/chunks/{chunk.3Z33EVFU.js → chunk.NPCMEZGE.js} +1 -1
  342. package/dist/chunks/chunk.NVQTI6CK.js +44 -0
  343. package/dist/chunks/{chunk.D3SHMAJT.js → chunk.O4WGPUE5.js} +77 -36
  344. package/dist/chunks/chunk.ODXKNTKC.js +21 -0
  345. package/dist/chunks/{chunk.IZACKXPC.js → chunk.P3CATWXI.js} +1 -1
  346. package/dist/chunks/{chunk.BXOGG3JO.js → chunk.P5DC3N5P.js} +9 -6
  347. package/dist/chunks/{chunk.AVHERTGT.js → chunk.PTFOYYGJ.js} +1 -1
  348. package/dist/chunks/chunk.PWL7QCVG.js +9 -0
  349. package/dist/chunks/chunk.PWVYG6XN.js +181 -0
  350. package/dist/chunks/{chunk.NCECJWN7.js → chunk.QBHSEMUU.js} +10 -5
  351. package/dist/chunks/{chunk.ZSBVQKVM.js → chunk.SWP3OZUN.js} +1 -1
  352. package/dist/chunks/{chunk.KLKJ2LRK.js → chunk.T2OLM5TG.js} +1 -1
  353. package/dist/chunks/chunk.TZFYJ4KJ.js +311 -0
  354. package/dist/chunks/{chunk.QLA2JXR7.js → chunk.U7ZMMMJ3.js} +12 -0
  355. package/dist/chunks/{chunk.UNO3SMWX.js → chunk.UG7D663E.js} +1 -1
  356. package/dist/chunks/{chunk.O3AR4B4F.js → chunk.UL2XNE5X.js} +2 -2
  357. package/dist/chunks/{chunk.EP7LLKJN.js → chunk.V75T6QXR.js} +1 -1
  358. package/dist/chunks/chunk.VKIBAACD.js +226 -0
  359. package/dist/chunks/{chunk.FQMS24GI.js → chunk.WB2DWTAB.js} +1 -1
  360. package/dist/chunks/{chunk.F6UPK2KI.js → chunk.WIVRYVXD.js} +1 -1
  361. package/dist/chunks/{chunk.5DXVFMIN.js → chunk.WOJO2VFN.js} +1 -1
  362. package/dist/chunks/{chunk.6QAB5TYJ.js → chunk.WPIYFGT2.js} +1 -1
  363. package/dist/chunks/{chunk.ECZMLO4V.js → chunk.X6UZBREW.js} +1 -1
  364. package/dist/chunks/chunk.XDEXZL3R.js +149 -0
  365. package/dist/chunks/{chunk.LSZ7ATDZ.js → chunk.XMPGIWRA.js} +1 -1
  366. package/dist/chunks/{chunk.AH74EN4A.js → chunk.YOMZYBQL.js} +1 -1
  367. package/dist/chunks/{chunk.KFRR2I2P.js → chunk.YVOXMJ6Q.js} +1 -1
  368. package/dist/chunks/{chunk.Z7DBDDCZ.js → chunk.YZTXGQRN.js} +19 -12
  369. package/dist/chunks/{chunk.ZCWLSBSD.js → chunk.Z2YO6E64.js} +2 -2
  370. package/dist/components/accordion/accordion.js +5 -5
  371. package/dist/components/alert/alert.js +5 -5
  372. package/dist/components/avatar/avatar.js +4 -4
  373. package/dist/components/breadcrumb/breadcrumb.js +5 -5
  374. package/dist/components/breadcrumb-item/breadcrumb-item.js +2 -2
  375. package/dist/components/button/button.d.ts +1 -1
  376. package/dist/components/button/button.js +7 -7
  377. package/dist/components/button/button.styles.js +1 -1
  378. package/dist/components/calendar/calendar.js +3 -3
  379. package/dist/components/callout/callout.js +3 -3
  380. package/dist/components/checkbox/checkbox.d.ts +7 -3
  381. package/dist/components/checkbox/checkbox.js +12 -6
  382. package/dist/components/checkbox/checkbox.styles.js +2 -2
  383. package/dist/components/checkbox-button/checkbox-button.d.ts +1 -0
  384. package/dist/components/checkbox-button/checkbox-button.js +17 -6
  385. package/dist/components/checkbox-card/checkbox-card.d.ts +25 -0
  386. package/dist/components/checkbox-card/checkbox-card.js +21 -0
  387. package/dist/components/checkbox-group/checkbox-group.d.ts +10 -11
  388. package/dist/components/checkbox-group/checkbox-group.js +7 -8
  389. package/dist/components/checkbox-group/checkbox-group.styles.js +2 -2
  390. package/dist/components/combobox/combobox.d.ts +3 -2
  391. package/dist/components/combobox/combobox.js +11 -10
  392. package/dist/components/combobox/combobox.styles.js +2 -2
  393. package/dist/components/dialog/dialog.d.ts +11 -5
  394. package/dist/components/dialog/dialog.js +6 -6
  395. package/dist/components/dialog/dialog.styles.js +1 -1
  396. package/dist/components/download-card/download-card.js +3 -3
  397. package/dist/components/download-link/download-link.js +3 -3
  398. package/dist/components/drawer/drawer.js +5 -5
  399. package/dist/components/dropdown/dropdown.js +2 -2
  400. package/dist/components/error-message-panel/error-message-panel.js +2 -2
  401. package/dist/components/error-text/error-text.js +3 -3
  402. package/dist/components/file-upload/file-upload.d.ts +3 -2
  403. package/dist/components/file-upload/file-upload.js +7 -7
  404. package/dist/components/file-upload/file-upload.styles.js +2 -2
  405. package/dist/components/file-upload-item/file-upload-item.js +3 -3
  406. package/dist/components/filter-base/filter-base-stories.js +1 -1
  407. package/dist/components/filter-base/filter-base.js +6 -6
  408. package/dist/components/filter-button/filter-button.js +5 -5
  409. package/dist/components/filter-counter/filter-counter.js +26 -19
  410. package/dist/components/filter-date/filter-date.js +10 -10
  411. package/dist/components/filter-range/filter-range.js +27 -20
  412. package/dist/components/filter-select/filter-select.d.ts +5 -3
  413. package/dist/components/filter-select/filter-select.js +27 -23
  414. package/dist/components/footer/footer.js +3 -3
  415. package/dist/components/footer/footer.styles.js +1 -1
  416. package/dist/components/format-bytes/format-bytes.js +2 -2
  417. package/dist/components/format-date/format-date.js +2 -2
  418. package/dist/components/format-number/format-number.js +2 -2
  419. package/dist/components/header/header.js +3 -3
  420. package/dist/components/header/header.styles.js +1 -1
  421. package/dist/components/header-search/header-search.js +8 -8
  422. package/dist/components/icon/icon.js +3 -3
  423. package/dist/components/icon/library.js +2 -2
  424. package/dist/components/icon/library.system.js +1 -1
  425. package/dist/components/icon-button/icon-button.js +3 -3
  426. package/dist/components/input/input.d.ts +3 -7
  427. package/dist/components/input/input.js +20 -13
  428. package/dist/components/input/input.styles.js +2 -2
  429. package/dist/components/input-date/input-date.d.ts +7 -2
  430. package/dist/components/input-date/input-date.js +13 -12
  431. package/dist/components/input-date/input-date.styles.js +3 -3
  432. package/dist/components/input-mask/input-mask.js +9 -8
  433. package/dist/components/input-mask/input-mask.styles.js +2 -2
  434. package/dist/components/input-otp/input-otp.d.ts +90 -0
  435. package/dist/components/input-otp/input-otp.js +31 -0
  436. package/dist/components/input-otp/input-otp.styles.d.ts +2 -0
  437. package/dist/components/input-otp/input-otp.styles.js +9 -0
  438. package/dist/components/input-otp/input-otp.utils.d.ts +3 -0
  439. package/dist/components/input-otp/input-otp.utils.js +11 -0
  440. package/dist/components/input-phone/input-phone.js +16 -15
  441. package/dist/components/input-phone/input-phone.styles.js +2 -2
  442. package/dist/components/input-time/input-time.d.ts +121 -0
  443. package/dist/components/input-time/input-time.js +42 -0
  444. package/dist/components/input-time/input-time.styles.d.ts +2 -0
  445. package/dist/components/input-time/input-time.styles.js +10 -0
  446. package/dist/components/input-time/input-time.utils.d.ts +17 -0
  447. package/dist/components/input-time/input-time.utils.js +13 -0
  448. package/dist/components/menu-accordion/menu-accordion.js +5 -5
  449. package/dist/components/menu-item/menu-item.js +3 -3
  450. package/dist/components/navbar-link/navbar-link.js +3 -3
  451. package/dist/components/navbar-menu/navbar-menu.js +5 -5
  452. package/dist/components/option/option.js +5 -5
  453. package/dist/components/pagination/pagination.js +25 -20
  454. package/dist/components/pagination-button/pagination-button.js +3 -3
  455. package/dist/components/pagination-button/pagination-button.styles.js +2 -2
  456. package/dist/components/profile-button/profile-button.js +7 -7
  457. package/dist/components/progress-bar/progress-bar.js +2 -2
  458. package/dist/components/quote/quote.js +3 -3
  459. package/dist/components/radio/radio.d.ts +6 -5
  460. package/dist/components/radio/radio.js +6 -5
  461. package/dist/components/radio/radio.styles.js +1 -1
  462. package/dist/components/radio-button/radio-button.d.ts +1 -1
  463. package/dist/components/radio-button/radio-button.js +10 -11
  464. package/dist/components/radio-card/radio-card.d.ts +24 -0
  465. package/dist/components/radio-card/radio-card.js +33 -0
  466. package/dist/components/radio-group/radio-group.d.ts +6 -5
  467. package/dist/components/radio-group/radio-group.js +7 -8
  468. package/dist/components/radio-group/radio-group.styles.js +2 -2
  469. package/dist/components/relative-time/relative-time.js +2 -2
  470. package/dist/components/select/select.d.ts +4 -2
  471. package/dist/components/select/select.js +10 -9
  472. package/dist/components/select/select.styles.js +2 -2
  473. package/dist/components/skip-links/skip-links.js +2 -2
  474. package/dist/components/spinner/spinner.js +2 -2
  475. package/dist/components/split-panel/split-panel.js +5 -5
  476. package/dist/components/step/step.js +6 -5
  477. package/dist/components/switch/switch.d.ts +84 -0
  478. package/dist/components/switch/switch.js +23 -0
  479. package/dist/components/switch/switch.styles.d.ts +2 -0
  480. package/dist/components/switch/switch.styles.js +7 -0
  481. package/dist/components/tab/tab.js +5 -5
  482. package/dist/components/tab-group/tab-group.js +5 -5
  483. package/dist/components/table-action/table-action.js +2 -2
  484. package/dist/components/table-body/table-body.js +2 -2
  485. package/dist/components/table-caption/table-caption.js +2 -2
  486. package/dist/components/table-header-cell/table-header-cell.js +3 -3
  487. package/dist/components/table-header-row/table-header-row.js +16 -12
  488. package/dist/components/table-of-contents/table-of-contents.js +2 -2
  489. package/dist/components/table-row/table-row.js +14 -8
  490. package/dist/components/tag/tag.js +5 -5
  491. package/dist/components/textarea/textarea.js +8 -7
  492. package/dist/components/textarea/textarea.styles.js +2 -2
  493. package/dist/components/tooltip/tooltip.js +2 -2
  494. package/dist/components/tree/tree.js +17 -11
  495. package/dist/components/tree-item/tree-item.js +15 -9
  496. package/dist/custom-elements.json +6157 -4244
  497. package/dist/design-system.d.ts +8 -2
  498. package/dist/design-system.js +343 -157
  499. package/dist/internal/a11y-warning.d.ts +2 -0
  500. package/dist/internal/a11y-warning.js +4 -0
  501. package/dist/internal/components/checkbox-box/checkbox-box.d.ts +27 -0
  502. package/dist/internal/components/checkbox-box/checkbox-box.js +94 -0
  503. package/dist/internal/components/checkbox-box/checkbox-box.styles.d.ts +2 -0
  504. package/dist/internal/components/checkbox-box/checkbox-box.styles.js +98 -0
  505. package/dist/internal/components/date-field/date-field.d.ts +1 -0
  506. package/dist/internal/components/date-field/date-field.js +29 -10
  507. package/dist/internal/components/form-control/form-control-layout.d.ts +1 -0
  508. package/dist/internal/components/form-control/form-control-layout.js +10 -1
  509. package/dist/internal/components/form-selectable-card/form-selectable-card-stories.d.ts +2 -0
  510. package/dist/internal/components/form-selectable-card/form-selectable-card-stories.js +77 -0
  511. package/dist/internal/components/form-selectable-card/form-selectable-card.d.ts +38 -0
  512. package/dist/internal/components/form-selectable-card/form-selectable-card.js +182 -0
  513. package/dist/internal/components/form-selectable-card/form-selectable-card.styles.d.ts +2 -0
  514. package/dist/internal/components/form-selectable-card/form-selectable-card.styles.js +141 -0
  515. package/dist/internal/components/form-toggle-button/form-toggle-button.d.ts +5 -1
  516. package/dist/internal/components/form-toggle-button/form-toggle-button.js +29 -9
  517. package/dist/internal/components/form-toggle-button/form-toggle-button.styles.js +7 -0
  518. package/dist/internal/components/radio-icon/radio-icon.d.ts +22 -0
  519. package/dist/internal/components/radio-icon/radio-icon.js +66 -0
  520. package/dist/internal/components/radio-icon/radio-icon.styles.d.ts +2 -0
  521. package/dist/internal/components/radio-icon/radio-icon.styles.js +86 -0
  522. package/dist/styles/form-control.styles.js +17 -1
  523. package/dist/themes/dsa-wc-theme.css +174 -5
  524. package/dist/themes/dsa-wc-theme.min.css +1 -1
  525. package/dist/themes/dsa-wc-theme.styles.js +178 -5
  526. package/dist/translations/en-gb.js +1 -1
  527. package/dist/translations/en.js +1 -1
  528. package/dist/translations/fr.js +1 -1
  529. package/dist/utilities/date.js +1 -1
  530. package/dist/utilities/icon-library.js +2 -2
  531. package/dist/utilities/localize.d.ts +6 -0
  532. package/dist/utilities/localize.js +1 -1
  533. package/dist/utilities/storybook.js +1 -1
  534. package/dist/vscode.html-custom-data.json +238 -14
  535. package/dist/web-types.json +1275 -169
  536. package/package.json +2 -2
  537. package/cdn/chunks/chunk.N3WADQAB.js +0 -157
  538. package/cdn/chunks/chunk.OZEY33RC.js +0 -61
  539. package/cdn/chunks/chunk.PS4PM6DJ.js +0 -164
  540. package/cdn/chunks/chunk.ZIPOQO6F.js +0 -188
  541. package/cdn/internal/test/disable-a11y-warnings.d.ts +0 -2
  542. package/cdn/internal/test/disable-a11y-warnings.js +0 -10
  543. package/dist/chunks/chunk.35CKPBLE.js +0 -155
  544. package/dist/chunks/chunk.AYDVF4T3.js +0 -157
  545. package/dist/chunks/chunk.GDOUDNZH.js +0 -186
  546. package/dist/chunks/chunk.VOOE2BQV.js +0 -59
  547. package/dist/internal/test/disable-a11y-warnings.d.ts +0 -2
  548. package/dist/internal/test/disable-a11y-warnings.js +0 -10
  549. package/cdn/chunks/{chunk.P33HFS7T.js → chunk.V2UYRTUC.js} +3 -3
  550. package/dist/chunks/{chunk.7BFH35RV.js → chunk.63MNXWSY.js} +3 -3
@@ -0,0 +1,676 @@
1
+ import {
2
+ compareTimeStrings,
3
+ setTimeStringValue,
4
+ timeStringToObject
5
+ } from "./chunk.IONY2GZF.js";
6
+ import {
7
+ input_time_styles_default
8
+ } from "./chunk.ITHTXYNC.js";
9
+ import {
10
+ FormControlLayout
11
+ } from "./chunk.SF3YU6PZ.js";
12
+ import {
13
+ scrollIntoView
14
+ } from "./chunk.EMIT7S33.js";
15
+ import {
16
+ l
17
+ } from "./chunk.7PPSHHT2.js";
18
+ import {
19
+ defaultValue
20
+ } from "./chunk.YY5FKN3H.js";
21
+ import {
22
+ FormControlController
23
+ } from "./chunk.3NWILHZZ.js";
24
+ import {
25
+ waitForEvent
26
+ } from "./chunk.B4BZKR24.js";
27
+ import {
28
+ animateTo,
29
+ stopAnimations
30
+ } from "./chunk.UBKKXGSV.js";
31
+ import {
32
+ getAnimation,
33
+ setDefaultAnimation
34
+ } from "./chunk.2WRFDMKN.js";
35
+ import {
36
+ LocalizeController
37
+ } from "./chunk.LICWCBKN.js";
38
+ import {
39
+ watch
40
+ } from "./chunk.4FQJ3QJK.js";
41
+ import {
42
+ ifDefinedAndNotEmpty
43
+ } from "./chunk.B6GVVW66.js";
44
+ import {
45
+ o
46
+ } from "./chunk.YQLIIKLI.js";
47
+ import {
48
+ e as e2
49
+ } from "./chunk.IKHG7XGO.js";
50
+ import {
51
+ e,
52
+ n,
53
+ r,
54
+ t
55
+ } from "./chunk.DZB6XUZ7.js";
56
+ import {
57
+ x
58
+ } from "./chunk.7HUC6BF3.js";
59
+ import {
60
+ __decorateClass
61
+ } from "./chunk.4ZGVANML.js";
62
+
63
+ // src/components/input-time/input-time.ts
64
+ var DSAInputTime = class extends FormControlLayout {
65
+ constructor() {
66
+ super(...arguments);
67
+ this.formControlController = new FormControlController(this, {
68
+ assumeInteractionOn: ["dsa-blur", "dsa-input"]
69
+ });
70
+ this.localize = new LocalizeController(this);
71
+ this.isTimePickerOpen = false;
72
+ this.hasFocus = false;
73
+ this.value = "";
74
+ this.defaultValue = "";
75
+ this.clearable = false;
76
+ this.min = "00:00";
77
+ this.max = "23:59";
78
+ }
79
+ /** Gets the validity state object */
80
+ get validity() {
81
+ return this.nativeInput.validity;
82
+ }
83
+ /** Gets the validation message */
84
+ get validationMessage() {
85
+ return this.nativeInput.validationMessage;
86
+ }
87
+ connectedCallback() {
88
+ super.connectedCallback();
89
+ this.handleDocumentFocusIn = this.handleDocumentFocusIn.bind(this);
90
+ this.handleDocumentKeyDown = this.handleDocumentKeyDown.bind(this);
91
+ this.handleDocumentMouseDown = this.handleDocumentMouseDown.bind(this);
92
+ }
93
+ async firstUpdated() {
94
+ await this.updateComplete;
95
+ this.formControlController.updateValidity();
96
+ }
97
+ //Adds opened dropdown event listeners
98
+ addOpenListeners() {
99
+ document.addEventListener("focusin", this.handleDocumentFocusIn);
100
+ document.addEventListener("keydown", this.handleDocumentKeyDown);
101
+ document.addEventListener("mousedown", this.handleDocumentMouseDown);
102
+ }
103
+ //Removes opened dropdown event listeners
104
+ removeOpenListeners() {
105
+ document.removeEventListener("focusin", this.handleDocumentFocusIn);
106
+ document.removeEventListener("keydown", this.handleDocumentKeyDown);
107
+ document.removeEventListener("mousedown", this.handleDocumentMouseDown);
108
+ }
109
+ handleDocumentFocusIn(event) {
110
+ const path = event.composedPath();
111
+ if (this && !path.includes(this)) {
112
+ this.hideTimePicker();
113
+ }
114
+ }
115
+ handleDocumentMouseDown(event) {
116
+ const path = event.composedPath();
117
+ if (this && !path.includes(this)) {
118
+ this.hideTimePicker();
119
+ }
120
+ }
121
+ handleDocumentKeyDown(event) {
122
+ event.stopPropagation();
123
+ if (this.isTimePickerOpen && event.key === "Escape") {
124
+ event.preventDefault();
125
+ this.hideTimePicker();
126
+ }
127
+ if (this.isTimePickerOpen && event.key === "Tab") {
128
+ setTimeout(() => {
129
+ var _a, _b;
130
+ const activeElement = (this == null ? void 0 : this.getRootNode()) instanceof ShadowRoot ? (_b = (_a = document.activeElement) == null ? void 0 : _a.shadowRoot) == null ? void 0 : _b.activeElement : document.activeElement;
131
+ if (!this || (activeElement == null ? void 0 : activeElement.closest(this.tagName.toLowerCase())) !== this) {
132
+ this.hideTimePicker();
133
+ }
134
+ });
135
+ }
136
+ const path = event.composedPath();
137
+ const isTimePickerButton = path.some((el) => el === this.timePickerButton);
138
+ if (isTimePickerButton && (event.key === "Enter" || event.key === " ")) {
139
+ event.preventDefault();
140
+ this.toggleTimePicker();
141
+ }
142
+ }
143
+ handleInputBlur() {
144
+ this.hasFocus = false;
145
+ this.emit("dsa-blur");
146
+ }
147
+ handleInputChange() {
148
+ this.emit("dsa-change");
149
+ }
150
+ handleInputClearClick(event) {
151
+ this.value = "";
152
+ this.emit("dsa-clear");
153
+ this.emit("dsa-input");
154
+ this.emit("dsa-change");
155
+ this.nativeInput.focus();
156
+ event.stopPropagation();
157
+ }
158
+ handleInputFocus() {
159
+ this.hasFocus = true;
160
+ this.emit("dsa-focus");
161
+ }
162
+ handleInputInput() {
163
+ this.value = this.nativeInput.value;
164
+ this.formControlController.updateValidity();
165
+ this.emit("dsa-input");
166
+ }
167
+ handleInputInvalid(event) {
168
+ this.formControlController.setValidity(false);
169
+ this.formControlController.emitInvalidEvent(event);
170
+ }
171
+ handleInputKeyDown(event) {
172
+ const hasModifier = event.metaKey || event.ctrlKey || event.shiftKey || event.altKey;
173
+ if (event.key === "Enter" && !hasModifier) {
174
+ setTimeout(() => {
175
+ if (!event.defaultPrevented && !event.isComposing) {
176
+ this.formControlController.submit();
177
+ }
178
+ });
179
+ }
180
+ if (event.key === " ") {
181
+ event.preventDefault();
182
+ this.showTimePicker();
183
+ }
184
+ }
185
+ getDescriptionIds() {
186
+ const ids = [
187
+ "input__prefix",
188
+ "input__suffix",
189
+ ...this.error ? ["error-text"] : [],
190
+ "selected-value",
191
+ "help-text"
192
+ ];
193
+ return ids.join(" ");
194
+ }
195
+ handleDisabledChange() {
196
+ this.formControlController.setValidity(this.disabled);
197
+ }
198
+ handleStepChange() {
199
+ this.nativeInput.step = String(this.step);
200
+ this.formControlController.updateValidity();
201
+ }
202
+ async handleValueChange() {
203
+ await this.updateComplete;
204
+ this.formControlController.updateValidity();
205
+ if (this.isTimePickerOpen) {
206
+ this.scrollSelectedTimeUnitsIntoView();
207
+ }
208
+ }
209
+ async handleOpenChange() {
210
+ var _a, _b;
211
+ if (this.isTimePickerOpen) {
212
+ this.emit("dsa-show");
213
+ this.addOpenListeners();
214
+ await stopAnimations(this);
215
+ this.popup.active = true;
216
+ this.timePickerButton.button.setAttribute("aria-expanded", "true");
217
+ const { keyframes, options } = getAnimation(this, "time-popup.show", {
218
+ dir: this.localize.dir()
219
+ });
220
+ await animateTo(this.popup.popup, keyframes, options);
221
+ this.emit("dsa-after-show");
222
+ this.scrollSelectedTimeUnitsIntoView();
223
+ (_b = (_a = this.popup.querySelector('[aria-selected="true"]')) != null ? _a : this.popup.querySelector("li")) == null ? void 0 : _b.focus();
224
+ } else {
225
+ this.emit("dsa-hide");
226
+ this.removeOpenListeners();
227
+ await stopAnimations(this);
228
+ this.popup.active = false;
229
+ this.timePickerButton.button.setAttribute("aria-expanded", "false");
230
+ const { keyframes, options } = getAnimation(this, "time-popup.hide", {
231
+ dir: this.localize.dir()
232
+ });
233
+ await animateTo(this.popup.popup, keyframes, options);
234
+ this.timePickerButton.focus({ preventScroll: true });
235
+ this.emit("dsa-after-hide");
236
+ }
237
+ }
238
+ /** Sets focus on the input. */
239
+ focus(options) {
240
+ this.nativeInput.focus(options);
241
+ }
242
+ /** Removes focus from the input. */
243
+ blur() {
244
+ this.nativeInput.blur();
245
+ }
246
+ /** Selects all the text in the input. */
247
+ select() {
248
+ if (this.nativeInput instanceof HTMLInputElement) {
249
+ this.nativeInput.select();
250
+ }
251
+ }
252
+ /** Shows or hides the time picker */
253
+ toggleTimePicker() {
254
+ if (!this.isTimePickerOpen) {
255
+ this.showTimePicker();
256
+ } else {
257
+ this.hideTimePicker();
258
+ }
259
+ }
260
+ /** Displays the time picker for an input element. */
261
+ async showTimePicker() {
262
+ if (this.value === "" || compareTimeStrings(this.value, this.min) === -1) {
263
+ this.value = this.min;
264
+ } else if (compareTimeStrings(this.value, this.max) === 1) {
265
+ this.value = this.max;
266
+ }
267
+ this.isTimePickerOpen = true;
268
+ return await waitForEvent(this, "dsa-after-show");
269
+ }
270
+ /** Hides the time picker */
271
+ async hideTimePicker() {
272
+ if (!this.isTimePickerOpen) {
273
+ return void 0;
274
+ }
275
+ this.isTimePickerOpen = false;
276
+ return await waitForEvent(this, "dsa-after-hide");
277
+ }
278
+ /** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */
279
+ checkValidity() {
280
+ return this.nativeInput.checkValidity();
281
+ }
282
+ /** Gets the associated form, if one exists. */
283
+ getForm() {
284
+ return this.formControlController.getForm();
285
+ }
286
+ /** Checks for validity and shows the browser's validation message if the control is invalid. */
287
+ reportValidity() {
288
+ return this.nativeInput.reportValidity();
289
+ }
290
+ /** Sets a custom validation message. Pass an empty string to restore validity. */
291
+ setCustomValidity(message) {
292
+ this.nativeInput.setCustomValidity(message);
293
+ this.formControlController.updateValidity();
294
+ }
295
+ scrollSelectedTimeUnitsIntoView() {
296
+ const selectedTimeUnits = this.popup.querySelectorAll(
297
+ '[aria-selected="true"]'
298
+ );
299
+ selectedTimeUnits.forEach((selectedTimeUnit) => {
300
+ scrollIntoView(
301
+ selectedTimeUnit,
302
+ selectedTimeUnit.parentElement,
303
+ "vertical",
304
+ "auto"
305
+ );
306
+ });
307
+ }
308
+ selectTimeUnit(timeUnit) {
309
+ const oldValue = this.value;
310
+ const newValue = setTimeStringValue(
311
+ oldValue,
312
+ timeUnit.dataset.timetype,
313
+ timeUnit.dataset.timevalue
314
+ );
315
+ this.emit("dsa-input");
316
+ if (compareTimeStrings(newValue, this.min) === -1) {
317
+ this.value = this.min;
318
+ this.emit("dsa-change");
319
+ } else if (compareTimeStrings(newValue, this.max) === 1) {
320
+ this.value = this.max;
321
+ this.emit("dsa-change");
322
+ } else if (this.value !== newValue) {
323
+ this.value = newValue;
324
+ this.emit("dsa-change");
325
+ }
326
+ }
327
+ handlePanelKeydown(event) {
328
+ var _a, _b, _c, _d;
329
+ if (["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight", " "].includes(
330
+ event.key
331
+ )) {
332
+ event.preventDefault();
333
+ }
334
+ if (event.key === "ArrowUp") {
335
+ const previousSelectableTimeUnit = (_a = event.target.closest("li")) == null ? void 0 : _a.previousElementSibling;
336
+ if (!previousSelectableTimeUnit) return;
337
+ previousSelectableTimeUnit.focus();
338
+ this.selectTimeUnit(previousSelectableTimeUnit);
339
+ }
340
+ if (event.key === "ArrowDown") {
341
+ const nextSelectableTimeUnit = (_b = event.target.closest("li")) == null ? void 0 : _b.nextElementSibling;
342
+ if (!nextSelectableTimeUnit) return;
343
+ nextSelectableTimeUnit.focus();
344
+ this.selectTimeUnit(nextSelectableTimeUnit);
345
+ }
346
+ if (event.key === "ArrowLeft") {
347
+ const targetUlElement = event.target.closest("ul");
348
+ if (!(targetUlElement instanceof HTMLUListElement)) return;
349
+ const previousListElement = targetUlElement.previousElementSibling;
350
+ if (!(previousListElement instanceof HTMLUListElement)) return;
351
+ const focusableLiElement = (_c = previousListElement.querySelector(
352
+ 'li[aria-selected="true"]'
353
+ )) != null ? _c : previousListElement.querySelector("li");
354
+ if (!focusableLiElement) return;
355
+ focusableLiElement.focus();
356
+ this.selectTimeUnit(focusableLiElement);
357
+ }
358
+ if (event.key === "ArrowRight") {
359
+ const targetUlElement = event.target.closest("ul");
360
+ if (!(targetUlElement instanceof HTMLUListElement)) return;
361
+ const nextListElement = targetUlElement.nextElementSibling;
362
+ if (!(nextListElement instanceof HTMLUListElement)) return;
363
+ const focusableLiElement = (_d = nextListElement.querySelector(
364
+ 'li[aria-selected="true"]'
365
+ )) != null ? _d : nextListElement.querySelector("li");
366
+ if (!focusableLiElement) return;
367
+ focusableLiElement.focus();
368
+ this.selectTimeUnit(focusableLiElement);
369
+ }
370
+ if (event.key === "Enter") {
371
+ this.hideTimePicker();
372
+ }
373
+ }
374
+ handlePanelClick(event) {
375
+ const target = event.target.closest("li");
376
+ if (!(target == null ? void 0 : target.dataset.timetype) || !target.dataset.timevalue) {
377
+ return;
378
+ }
379
+ this.selectTimeUnit(target);
380
+ }
381
+ generateTimeUnitArrays() {
382
+ var _a;
383
+ const minTimeValues = timeStringToObject(this.min);
384
+ const maxTimeValues = timeStringToObject(this.max);
385
+ const timeStepValue = this.step ? this.step : 60;
386
+ if (!minTimeValues || !maxTimeValues) {
387
+ throw new Error("Invalid min or max time values");
388
+ }
389
+ const selectedTimeObject = (_a = timeStringToObject(this.value)) != null ? _a : minTimeValues;
390
+ const hoursStep = timeStepValue > 3600 ? Math.floor(timeStepValue / 3600) : 1;
391
+ const minutesStep = timeStepValue > 60 ? Math.floor(timeStepValue % 3600 / 60) : 1;
392
+ const secondsStep = timeStepValue % 60;
393
+ const displayedHours = Array.from(
394
+ { length: 24 },
395
+ (_, index) => index
396
+ ).filter((index) => {
397
+ return index >= minTimeValues.hours && index <= maxTimeValues.hours && index % hoursStep === 0;
398
+ });
399
+ const displayedMinutes = Array.from(
400
+ { length: 60 },
401
+ (_, index) => index
402
+ ).filter((index) => {
403
+ if (selectedTimeObject.hours === (minTimeValues == null ? void 0 : minTimeValues.hours)) {
404
+ return index >= (minTimeValues == null ? void 0 : minTimeValues.minutes) && index % minutesStep === 0;
405
+ }
406
+ if (selectedTimeObject.hours === (maxTimeValues == null ? void 0 : maxTimeValues.hours)) {
407
+ return index <= (maxTimeValues == null ? void 0 : maxTimeValues.minutes) && index % minutesStep === 0;
408
+ }
409
+ return timeStepValue > 60 ? index % minutesStep === 0 : true;
410
+ });
411
+ const displayedSeconds = Array.from(
412
+ { length: 60 },
413
+ (_, index) => index
414
+ ).filter((index) => {
415
+ return index % secondsStep === 0;
416
+ });
417
+ return { displayedHours, displayedMinutes, displayedSeconds };
418
+ }
419
+ generateTimeUnitList(unitType, valuesArray) {
420
+ var _a, _b;
421
+ const minTimeValues = timeStringToObject(this.min);
422
+ const selectedTimeObject = (_a = timeStringToObject(this.value)) != null ? _a : minTimeValues;
423
+ const selectedValue = (_b = selectedTimeObject[unitType]) != null ? _b : 0;
424
+ const getTimeTypeLabel = (unitTimeType, unitValue) => {
425
+ switch (unitTimeType) {
426
+ case "hours":
427
+ return this.localize.term("hours", unitValue);
428
+ case "minutes":
429
+ return this.localize.term("minutes", unitValue);
430
+ case "seconds":
431
+ return this.localize.term("seconds", unitValue);
432
+ case "milliseconds":
433
+ return this.localize.term("milliseconds", unitValue);
434
+ default:
435
+ return "";
436
+ }
437
+ };
438
+ if (valuesArray.length === 0) {
439
+ return x``;
440
+ }
441
+ return x`
442
+ <ul
443
+ id="${unitType}-list"
444
+ class="time-popup--unit-container"
445
+ role="listbox"
446
+ aria-label=${this.localize.term(unitType, "")}
447
+ >
448
+ ${valuesArray.map(
449
+ (value) => x`
450
+ <li
451
+ data-timetype="${unitType}"
452
+ data-timevalue="${value}"
453
+ role="option"
454
+ aria-selected="${selectedValue === value ? "true" : "false"}"
455
+ tabindex="${value === selectedValue ? 0 : -1}"
456
+ class=${e2({
457
+ "time-popup--unit": true,
458
+ "time-popup--unit-selected": value === selectedValue
459
+ })}
460
+ >
461
+ <span aria-hidden="true"
462
+ >${value.toString().padStart(2, "0")}</span
463
+ >
464
+ <dsa-visually-hidden
465
+ >${getTimeTypeLabel(unitType, value)}</dsa-visually-hidden
466
+ >
467
+ </li>
468
+ `
469
+ )}
470
+ </ul>
471
+ `;
472
+ }
473
+ renderInput() {
474
+ const hasLabelSlot = this.hasSlotController.test("label");
475
+ const hasPrefixIcon = this.hasSlotController.test("prefix");
476
+ const hasSuffixIcon = this.hasSlotController.test("suffix");
477
+ const hasLabel = this.label ? true : !!hasLabelSlot;
478
+ const hasClearIcon = this.clearable && !this.disabled && !this.readonly && this.value.length > 0;
479
+ const hasSeconds = this.step < 60;
480
+ const { displayedHours, displayedMinutes, displayedSeconds } = this.generateTimeUnitArrays();
481
+ const hoursElement = this.generateTimeUnitList("hours", displayedHours);
482
+ const minutesElement = this.generateTimeUnitList(
483
+ "minutes",
484
+ displayedMinutes
485
+ );
486
+ const secondsElement = this.generateTimeUnitList(
487
+ "seconds",
488
+ displayedSeconds
489
+ );
490
+ return x`
491
+ <div
492
+ part="base"
493
+ class=${e2({
494
+ input: true,
495
+ "input--time": true,
496
+ // Sizes
497
+ "input--small": this.size === "small",
498
+ "input--medium": this.size === "medium",
499
+ "input--large": this.size === "large",
500
+ // States
501
+ "input--error": this.error,
502
+ "input--on-layer": this.variant === "layer",
503
+ "input--on-base": this.variant === "base",
504
+ "input--disabled": this.disabled,
505
+ "input--readonly": this.readonly,
506
+ "input--focused": this.hasFocus,
507
+ "input--empty": !this.value,
508
+ "form-control--has-prefix-icon": hasPrefixIcon
509
+ })}
510
+ >
511
+ <slot
512
+ name="prefix"
513
+ part="prefix"
514
+ id="input__prefix"
515
+ class="input__prefix"
516
+ ></slot>
517
+
518
+ <input
519
+ part="input"
520
+ id="input"
521
+ class="input__control"
522
+ type="time"
523
+ title=${ifDefinedAndNotEmpty(hasLabel ? void 0 : this.title)}
524
+ name=${ifDefinedAndNotEmpty(this.name)}
525
+ ?disabled=${this.disabled}
526
+ ?readonly=${this.readonly}
527
+ ?required=${this.required}
528
+ min=${o(this.min)}
529
+ max=${o(this.max)}
530
+ step=${o(this.step)}
531
+ .value=${l(this.value)}
532
+ autocomplete=${o(this.autocomplete)}
533
+ ?autofocus=${this.autofocus}
534
+ enterkeyhint=${o(this.enterkeyhint)}
535
+ inputmode="numeric"
536
+ aria-label=${ifDefinedAndNotEmpty(hasLabel ? void 0 : this.title)}
537
+ aria-describedby=${this.getDescriptionIds()}
538
+ aria-invalid=${o(this.error ? "true" : void 0)}
539
+ @change=${this.handleInputChange}
540
+ @input=${this.handleInputInput}
541
+ @invalid=${this.handleInputInvalid}
542
+ @keydown=${this.handleInputKeyDown}
543
+ @focus=${this.handleInputFocus}
544
+ @blur=${this.handleInputBlur}
545
+ />
546
+
547
+ ${hasSuffixIcon ? x`<slot
548
+ name="suffix"
549
+ id="input__suffix"
550
+ class="input__suffix"
551
+ ></slot>` : ""}
552
+ ${hasClearIcon ? x`
553
+ <dsa-icon-button
554
+ part="clear-button"
555
+ class="input__action-button"
556
+ name="clear"
557
+ label=${this.localize.term("clearEntry")}
558
+ @click=${this.handleInputClearClick}
559
+ library="system"
560
+ ></dsa-icon-button>
561
+ ` : ""}
562
+
563
+ <dsa-popup
564
+ class="time-popup"
565
+ part="popup"
566
+ placement="bottom-end"
567
+ distance="12"
568
+ strategy="absolute"
569
+ flip
570
+ shift
571
+ auto-size="both"
572
+ auto-size-padding="10"
573
+ >
574
+ <div slot="anchor" class="time-anchor">
575
+ <dsa-icon-button
576
+ part="picker-button"
577
+ class="input__action-button icon-button--time"
578
+ name="schedule"
579
+ label=${this.localize.term("selectATime")}
580
+ @click=${this.toggleTimePicker}
581
+ library="system"
582
+ size=${this.size}
583
+ ?disabled=${this.disabled || this.readonly}
584
+ ></dsa-icon-button>
585
+ </div>
586
+
587
+ <div
588
+ id="time-popup--panel"
589
+ class="time-popup--panel"
590
+ @keydown=${this.handlePanelKeydown}
591
+ @click=${this.handlePanelClick}
592
+ >
593
+ ${hoursElement} ${minutesElement}
594
+ ${hasSeconds ? secondsElement : ""}
595
+ </div>
596
+ </dsa-popup>
597
+ </div>
598
+ `;
599
+ }
600
+ };
601
+ DSAInputTime.styles = input_time_styles_default;
602
+ __decorateClass([
603
+ e("input")
604
+ ], DSAInputTime.prototype, "nativeInput", 2);
605
+ __decorateClass([
606
+ e(".icon-button--time")
607
+ ], DSAInputTime.prototype, "timePickerButton", 2);
608
+ __decorateClass([
609
+ e(".time-popup")
610
+ ], DSAInputTime.prototype, "popup", 2);
611
+ __decorateClass([
612
+ r()
613
+ ], DSAInputTime.prototype, "isTimePickerOpen", 2);
614
+ __decorateClass([
615
+ r()
616
+ ], DSAInputTime.prototype, "hasFocus", 2);
617
+ __decorateClass([
618
+ n()
619
+ ], DSAInputTime.prototype, "value", 2);
620
+ __decorateClass([
621
+ defaultValue()
622
+ ], DSAInputTime.prototype, "defaultValue", 2);
623
+ __decorateClass([
624
+ n({ type: Boolean })
625
+ ], DSAInputTime.prototype, "clearable", 2);
626
+ __decorateClass([
627
+ n()
628
+ ], DSAInputTime.prototype, "min", 2);
629
+ __decorateClass([
630
+ n()
631
+ ], DSAInputTime.prototype, "max", 2);
632
+ __decorateClass([
633
+ n()
634
+ ], DSAInputTime.prototype, "step", 2);
635
+ __decorateClass([
636
+ n()
637
+ ], DSAInputTime.prototype, "autocomplete", 2);
638
+ __decorateClass([
639
+ n({ type: Boolean })
640
+ ], DSAInputTime.prototype, "autofocus", 2);
641
+ __decorateClass([
642
+ n()
643
+ ], DSAInputTime.prototype, "enterkeyhint", 2);
644
+ __decorateClass([
645
+ watch("disabled", { waitUntilFirstUpdate: true })
646
+ ], DSAInputTime.prototype, "handleDisabledChange", 1);
647
+ __decorateClass([
648
+ watch("step", { waitUntilFirstUpdate: true })
649
+ ], DSAInputTime.prototype, "handleStepChange", 1);
650
+ __decorateClass([
651
+ watch("value", { waitUntilFirstUpdate: true })
652
+ ], DSAInputTime.prototype, "handleValueChange", 1);
653
+ __decorateClass([
654
+ watch("isTimePickerOpen", { waitUntilFirstUpdate: true })
655
+ ], DSAInputTime.prototype, "handleOpenChange", 1);
656
+ DSAInputTime = __decorateClass([
657
+ t("dsa-input-time")
658
+ ], DSAInputTime);
659
+ setDefaultAnimation("time-popup.show", {
660
+ keyframes: [
661
+ { opacity: 0, scale: 0.9 },
662
+ { opacity: 1, scale: 1 }
663
+ ],
664
+ options: { duration: 100, easing: "ease" }
665
+ });
666
+ setDefaultAnimation("time-popup.hide", {
667
+ keyframes: [
668
+ { opacity: 1, scale: 1 },
669
+ { opacity: 0, scale: 0.9 }
670
+ ],
671
+ options: { duration: 100, easing: "ease" }
672
+ });
673
+
674
+ export {
675
+ DSAInputTime
676
+ };
@@ -0,0 +1,9 @@
1
+ // src/internal/a11y-warning.ts
2
+ var A11Y_WARNING_START = "(DSA a11y) ";
3
+ function a11yWarning(message) {
4
+ console.warn(`${A11Y_WARNING_START}${message}`);
5
+ }
6
+
7
+ export {
8
+ a11yWarning
9
+ };
@@ -32,6 +32,7 @@ var footer_styles_default = i`
32
32
  .footer-center-divider,
33
33
  [part~='footer-bottom-container'] {
34
34
  width: 100%;
35
+ /* stylelint-disable-next-line */
35
36
  max-width: var(--footer-max-width);
36
37
  }
37
38