@ds-autonomie/web-components 2.2.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 (510) hide show
  1. package/CHANGELOG.md +27 -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.UAQ7MMLI.js → chunk.2QGLZHHF.js} +3 -3
  5. package/cdn/chunks/{chunk.MJLKYERJ.js → chunk.2T2ABKP4.js} +2 -2
  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.BCLU5KXE.js → chunk.4VWDJUDJ.js} +1 -1
  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.YS6XV3LD.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/cdn/chunks/{chunk.IPZC55RV.js → chunk.6BXZEG5L.js} +3 -0
  18. package/cdn/chunks/{chunk.C62MMBV4.js → chunk.6NFWRZM6.js} +43 -53
  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.2APAO2OW.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.HYTYRM6S.js → chunk.ER5ZWWSU.js} +10 -5
  36. package/cdn/chunks/{chunk.2DJERWBI.js → chunk.ERQYJQKU.js} +3 -3
  37. package/cdn/chunks/{chunk.77JWQ5MT.js → chunk.F34KPGDS.js} +1 -1
  38. package/cdn/chunks/{chunk.Y2DCLNZQ.js → chunk.FXVCDQEN.js} +1 -1
  39. package/cdn/chunks/{chunk.6QTMZJGH.js → chunk.G7UC5QGP.js} +5 -5
  40. package/cdn/chunks/{chunk.JBUFTMYB.js → chunk.GCLAPOSZ.js} +1 -1
  41. package/cdn/chunks/{chunk.W2MICEQN.js → chunk.GN3AVMBZ.js} +1 -1
  42. package/cdn/chunks/chunk.H2OEFMQC.js +186 -0
  43. package/cdn/chunks/{chunk.FMPJ4AXA.js → chunk.H3Y633AF.js} +1 -1
  44. package/{dist/chunks/chunk.3TUFAITJ.js → cdn/chunks/chunk.HJU52GCK.js} +1 -1
  45. package/cdn/chunks/{chunk.UFCZPYZA.js → chunk.HMLKFYNH.js} +1 -1
  46. package/cdn/chunks/{chunk.JNDULVYM.js → chunk.HZJEKORW.js} +1 -1
  47. package/cdn/chunks/{chunk.TCGVOWNQ.js → chunk.IAOVYG7Z.js} +1 -1
  48. package/cdn/chunks/{chunk.FHOCNAJ4.js → chunk.IB463542.js} +1 -1
  49. package/cdn/chunks/chunk.IONY2GZF.js +72 -0
  50. package/cdn/chunks/chunk.ITHTXYNC.js +92 -0
  51. package/cdn/chunks/{chunk.M7QHADJH.js → chunk.IZ6KYT7R.js} +25 -14
  52. package/cdn/chunks/{chunk.4NC4QO64.js → chunk.J6J6XRPR.js} +1 -1
  53. package/cdn/chunks/{chunk.XPL6N3OJ.js → chunk.JLZQJQF4.js} +9 -12
  54. package/cdn/chunks/{chunk.FHTVGJJI.js → chunk.JXHXRRPX.js} +1 -1
  55. package/cdn/chunks/{chunk.7KCFANDH.js → chunk.KCPXZK3D.js} +1 -1
  56. package/cdn/chunks/chunk.KNY4ZIQ7.js +282 -0
  57. package/cdn/chunks/{chunk.ZLWLHLBC.js → chunk.LICWCBKN.js} +12 -0
  58. package/cdn/chunks/{chunk.Y4RIWPTX.js → chunk.LLZPEDQW.js} +1 -1
  59. package/cdn/chunks/{chunk.3JMBGIZN.js → chunk.LYPHJJYB.js} +77 -36
  60. package/cdn/chunks/{chunk.OIOL7U5V.js → chunk.MNE7AANP.js} +1 -1
  61. package/cdn/chunks/{chunk.CYMM2ZAV.js → chunk.NX5D5OTS.js} +9 -2
  62. package/cdn/chunks/chunk.O3K7DNLG.js +102 -0
  63. package/cdn/chunks/chunk.O577BA4U.js +23 -0
  64. package/cdn/chunks/{chunk.IS6JFFBR.js → chunk.OLIPJEPX.js} +1 -1
  65. package/cdn/chunks/{chunk.T4RXUUPV.js → chunk.OMBOQURT.js} +2 -2
  66. package/cdn/chunks/{chunk.45JVH3EU.js → chunk.OZVVCEKQ.js} +1 -1
  67. package/cdn/chunks/{chunk.ATHAYO6A.js → chunk.P5KRELMB.js} +60 -213
  68. package/cdn/chunks/{chunk.BNPGOQZ2.js → chunk.P7D7IUHT.js} +1 -1
  69. package/cdn/chunks/chunk.PQYUBPRU.js +676 -0
  70. package/cdn/chunks/{chunk.XSXBXWVS.js → chunk.QFP2EIRS.js} +1 -0
  71. package/cdn/chunks/{chunk.NSE76EM5.js → chunk.ROGVB4AO.js} +2 -2
  72. package/cdn/chunks/{chunk.RJROYRRA.js → chunk.RXUJBLKT.js} +1 -1
  73. package/cdn/chunks/{chunk.HNDRJ3LR.js → chunk.SE7W7XMK.js} +1 -1
  74. package/cdn/chunks/{chunk.XQAKSW3W.js → chunk.SF3YU6PZ.js} +3 -0
  75. package/cdn/chunks/{chunk.QVX3F6W3.js → chunk.T56ZOKTF.js} +1 -1
  76. package/cdn/chunks/{chunk.D34ULVGO.js → chunk.TAKMMVMG.js} +1 -1
  77. package/cdn/chunks/{chunk.FA2HQBM6.js → chunk.TENBZ64C.js} +27 -6
  78. package/cdn/chunks/{chunk.P5N74W74.js → chunk.THMGZ3JS.js} +1 -1
  79. package/cdn/chunks/{chunk.YQQNMFZF.js → chunk.TO65OMN5.js} +45 -36
  80. package/cdn/chunks/{chunk.6CF6SXDF.js → chunk.U5Q3HCRP.js} +1 -1
  81. package/cdn/chunks/{chunk.RPF6UDR4.js → chunk.US6UTTN5.js} +1 -1
  82. package/cdn/chunks/{chunk.3CJGMKTJ.js → chunk.V5TMX44U.js} +1 -1
  83. package/cdn/chunks/{chunk.3OPTPDM7.js → chunk.VGXDHXD4.js} +1 -1
  84. package/cdn/chunks/{chunk.XLX7QTXT.js → chunk.VZJGVIXG.js} +1 -0
  85. package/cdn/chunks/{chunk.NC6BC5GU.js → chunk.W2B6WXUI.js} +17 -1
  86. package/cdn/chunks/{chunk.XWKSA3TQ.js → chunk.W547AC5O.js} +1 -1
  87. package/cdn/chunks/{chunk.LNBAAP45.js → chunk.WE7BT7PI.js} +3 -3
  88. package/cdn/chunks/{chunk.CVV4WLBC.js → chunk.WMMK7OL4.js} +19 -12
  89. package/cdn/chunks/{chunk.A33BZOMA.js → chunk.WOKVCL7Q.js} +2 -2
  90. package/cdn/chunks/{chunk.77CWRZEL.js → chunk.WY2HI4TL.js} +1 -1
  91. package/cdn/chunks/{chunk.5BF76EO7.js → chunk.YA7ZX7VM.js} +1 -1
  92. package/cdn/chunks/{chunk.NVI4N3YH.js → chunk.YDBMOXIS.js} +1 -1
  93. package/cdn/chunks/chunk.YGAW4V4H.js +44 -0
  94. package/cdn/chunks/{chunk.DSKRAAOI.js → chunk.Z7VB7VAD.js} +1 -1
  95. package/cdn/chunks/{chunk.M5Z546V7.js → chunk.ZEPLEFIQ.js} +1 -1
  96. package/cdn/chunks/{chunk.YSKUVTPO.js → chunk.ZLZIVCPW.js} +1 -1
  97. package/cdn/chunks/{chunk.KELDA33H.js → chunk.ZTXQFGQX.js} +2 -2
  98. package/cdn/chunks/{chunk.APACKBZF.js → chunk.ZUJJYUHF.js} +1 -1
  99. package/cdn/chunks/{chunk.3PW6CC5R.js → chunk.ZVQQ7DON.js} +1 -1
  100. package/cdn/components/accordion/accordion.js +5 -5
  101. package/cdn/components/alert/alert.js +5 -5
  102. package/cdn/components/avatar/avatar.js +4 -4
  103. package/cdn/components/breadcrumb/breadcrumb.js +5 -5
  104. package/cdn/components/breadcrumb-item/breadcrumb-item.js +2 -2
  105. package/cdn/components/button/button.d.ts +1 -1
  106. package/cdn/components/button/button.js +7 -7
  107. package/cdn/components/button/button.styles.js +1 -1
  108. package/cdn/components/calendar/calendar.js +3 -3
  109. package/cdn/components/callout/callout.js +3 -3
  110. package/cdn/components/checkbox/checkbox.d.ts +6 -3
  111. package/cdn/components/checkbox/checkbox.js +11 -9
  112. package/cdn/components/checkbox/checkbox.styles.js +2 -2
  113. package/cdn/components/checkbox-button/checkbox-button.js +17 -6
  114. package/cdn/components/checkbox-card/checkbox-card.d.ts +25 -0
  115. package/cdn/components/checkbox-card/checkbox-card.js +27 -0
  116. package/cdn/components/checkbox-group/checkbox-group.d.ts +5 -3
  117. package/cdn/components/checkbox-group/checkbox-group.js +6 -6
  118. package/cdn/components/checkbox-group/checkbox-group.styles.js +2 -2
  119. package/cdn/components/combobox/combobox.js +10 -10
  120. package/cdn/components/combobox/combobox.styles.js +2 -2
  121. package/cdn/components/dialog/dialog.d.ts +11 -5
  122. package/cdn/components/dialog/dialog.js +6 -6
  123. package/cdn/components/dialog/dialog.styles.js +1 -1
  124. package/cdn/components/download-card/download-card.js +3 -3
  125. package/cdn/components/download-link/download-link.js +3 -3
  126. package/cdn/components/drawer/drawer.js +5 -5
  127. package/cdn/components/dropdown/dropdown.js +2 -2
  128. package/cdn/components/error-message-panel/error-message-panel.js +2 -2
  129. package/cdn/components/error-text/error-text.js +3 -3
  130. package/cdn/components/file-upload/file-upload.js +7 -7
  131. package/cdn/components/file-upload/file-upload.styles.js +2 -2
  132. package/cdn/components/file-upload-item/file-upload-item.js +3 -3
  133. package/cdn/components/filter-base/filter-base.js +6 -6
  134. package/cdn/components/filter-button/filter-button.js +5 -5
  135. package/cdn/components/filter-counter/filter-counter.js +25 -19
  136. package/cdn/components/filter-date/filter-date.js +10 -10
  137. package/cdn/components/filter-range/filter-range.js +26 -20
  138. package/cdn/components/filter-select/filter-select.js +25 -22
  139. package/cdn/components/footer/footer.js +3 -3
  140. package/cdn/components/footer/footer.styles.js +1 -1
  141. package/cdn/components/format-bytes/format-bytes.js +2 -2
  142. package/cdn/components/format-date/format-date.js +2 -2
  143. package/cdn/components/format-number/format-number.js +2 -2
  144. package/cdn/components/header/header.js +3 -3
  145. package/cdn/components/header/header.styles.js +1 -1
  146. package/cdn/components/header-search/header-search.js +8 -8
  147. package/cdn/components/icon/icon.js +3 -3
  148. package/cdn/components/icon/library.js +2 -2
  149. package/cdn/components/icon/library.system.js +1 -1
  150. package/cdn/components/icon-button/icon-button.js +3 -3
  151. package/cdn/components/input/input.d.ts +3 -7
  152. package/cdn/components/input/input.js +19 -13
  153. package/cdn/components/input/input.styles.js +2 -2
  154. package/cdn/components/input-date/input-date.d.ts +7 -2
  155. package/cdn/components/input-date/input-date.js +12 -12
  156. package/cdn/components/input-date/input-date.styles.js +3 -3
  157. package/cdn/components/input-mask/input-mask.js +8 -8
  158. package/cdn/components/input-mask/input-mask.styles.js +2 -2
  159. package/cdn/components/input-otp/input-otp.js +7 -7
  160. package/cdn/components/input-otp/input-otp.styles.js +2 -2
  161. package/cdn/components/input-phone/input-phone.js +13 -13
  162. package/cdn/components/input-phone/input-phone.styles.js +2 -2
  163. package/cdn/components/input-time/input-time.d.ts +121 -0
  164. package/cdn/components/input-time/input-time.js +50 -0
  165. package/cdn/components/input-time/input-time.styles.d.ts +2 -0
  166. package/cdn/components/input-time/input-time.styles.js +12 -0
  167. package/cdn/components/input-time/input-time.utils.d.ts +17 -0
  168. package/cdn/components/input-time/input-time.utils.js +13 -0
  169. package/cdn/components/menu-accordion/menu-accordion.js +5 -5
  170. package/cdn/components/menu-item/menu-item.js +3 -3
  171. package/cdn/components/navbar-link/navbar-link.js +4 -4
  172. package/cdn/components/navbar-menu/navbar-menu.js +5 -5
  173. package/cdn/components/option/option.js +5 -5
  174. package/cdn/components/pagination/pagination.js +23 -19
  175. package/cdn/components/pagination-button/pagination-button.js +3 -3
  176. package/cdn/components/pagination-button/pagination-button.styles.js +2 -2
  177. package/cdn/components/profile-button/profile-button.js +7 -7
  178. package/cdn/components/progress-bar/progress-bar.js +2 -2
  179. package/cdn/components/quote/quote.js +3 -3
  180. package/cdn/components/radio/radio.d.ts +6 -5
  181. package/cdn/components/radio/radio.js +7 -5
  182. package/cdn/components/radio/radio.styles.js +1 -1
  183. package/cdn/components/radio-button/radio-button.d.ts +1 -1
  184. package/cdn/components/radio-button/radio-button.js +9 -10
  185. package/cdn/components/radio-card/radio-card.d.ts +24 -0
  186. package/cdn/components/radio-card/radio-card.js +39 -0
  187. package/cdn/components/radio-group/radio-group.d.ts +3 -3
  188. package/cdn/components/radio-group/radio-group.js +6 -8
  189. package/cdn/components/radio-group/radio-group.styles.js +2 -2
  190. package/cdn/components/relative-time/relative-time.js +2 -2
  191. package/cdn/components/select/select.js +9 -9
  192. package/cdn/components/select/select.styles.js +2 -2
  193. package/cdn/components/skip-links/skip-links.js +2 -2
  194. package/cdn/components/spinner/spinner.js +2 -2
  195. package/cdn/components/split-panel/split-panel.js +5 -5
  196. package/cdn/components/step/step.js +5 -5
  197. package/cdn/components/switch/switch.d.ts +84 -0
  198. package/cdn/components/switch/switch.js +30 -0
  199. package/cdn/components/switch/switch.styles.d.ts +2 -0
  200. package/cdn/components/switch/switch.styles.js +9 -0
  201. package/cdn/components/tab/tab.js +5 -5
  202. package/cdn/components/tab-group/tab-group.js +5 -5
  203. package/cdn/components/table-action/table-action.js +2 -2
  204. package/cdn/components/table-body/table-body.js +1 -1
  205. package/cdn/components/table-caption/table-caption.js +2 -2
  206. package/cdn/components/table-header-cell/table-header-cell.js +3 -3
  207. package/cdn/components/table-header-row/table-header-row.js +14 -13
  208. package/cdn/components/table-of-contents/table-of-contents.js +2 -2
  209. package/cdn/components/table-row/table-row.js +12 -11
  210. package/cdn/components/tag/tag.js +5 -5
  211. package/cdn/components/textarea/textarea.js +7 -7
  212. package/cdn/components/textarea/textarea.styles.js +2 -2
  213. package/cdn/components/tooltip/tooltip.js +2 -2
  214. package/cdn/components/tree/tree.js +15 -13
  215. package/cdn/components/tree-item/tree-item.js +14 -12
  216. package/cdn/custom-elements.json +5241 -3804
  217. package/cdn/design-system.d.ts +6 -2
  218. package/cdn/design-system.js +338 -161
  219. package/cdn/internal/components/checkbox-box/checkbox-box.d.ts +27 -0
  220. package/cdn/internal/components/checkbox-box/checkbox-box.js +94 -0
  221. package/cdn/internal/components/checkbox-box/checkbox-box.styles.d.ts +2 -0
  222. package/cdn/internal/components/checkbox-box/checkbox-box.styles.js +98 -0
  223. package/cdn/internal/components/date-field/date-field.d.ts +1 -0
  224. package/cdn/internal/components/date-field/date-field.js +23 -9
  225. package/cdn/internal/components/form-control/form-control-layout.d.ts +1 -0
  226. package/cdn/internal/components/form-control/form-control-layout.js +4 -0
  227. package/cdn/internal/components/form-selectable-card/form-selectable-card-stories.d.ts +2 -0
  228. package/cdn/internal/components/form-selectable-card/form-selectable-card-stories.js +77 -0
  229. package/cdn/internal/components/form-selectable-card/form-selectable-card.d.ts +38 -0
  230. package/cdn/internal/components/form-selectable-card/form-selectable-card.js +182 -0
  231. package/cdn/internal/components/form-selectable-card/form-selectable-card.styles.d.ts +2 -0
  232. package/cdn/internal/components/form-selectable-card/form-selectable-card.styles.js +141 -0
  233. package/cdn/internal/components/form-toggle-button/form-toggle-button.d.ts +5 -1
  234. package/cdn/internal/components/form-toggle-button/form-toggle-button.js +29 -9
  235. package/cdn/internal/components/form-toggle-button/form-toggle-button.styles.js +7 -0
  236. package/cdn/internal/components/radio-icon/radio-icon.d.ts +22 -0
  237. package/cdn/internal/components/radio-icon/radio-icon.js +66 -0
  238. package/cdn/internal/components/radio-icon/radio-icon.styles.d.ts +2 -0
  239. package/cdn/internal/components/radio-icon/radio-icon.styles.js +86 -0
  240. package/cdn/styles/form-control.styles.js +17 -1
  241. package/cdn/themes/dsa-wc-theme.css +160 -5
  242. package/cdn/themes/dsa-wc-theme.min.css +1 -1
  243. package/cdn/themes/dsa-wc-theme.styles.js +164 -5
  244. package/cdn/translations/en-gb.js +1 -1
  245. package/cdn/translations/en.js +1 -1
  246. package/cdn/translations/fr.js +1 -1
  247. package/cdn/utilities/date.js +1 -1
  248. package/cdn/utilities/icon-library.js +2 -2
  249. package/cdn/utilities/localize.d.ts +6 -0
  250. package/cdn/utilities/localize.js +1 -1
  251. package/cdn/vscode.html-custom-data.json +162 -7
  252. package/cdn/web-types.json +974 -147
  253. package/dist/chunks/{chunk.JCL6HX6O.js → chunk.2GRTPJX3.js} +1 -1
  254. package/dist/chunks/{chunk.CPCLGC5J.js → chunk.2O3M7HBZ.js} +1 -1
  255. package/dist/chunks/{chunk.XJMGXWLM.js → chunk.2W6FOXSH.js} +45 -36
  256. package/dist/chunks/{chunk.EQZ4YFRU.js → chunk.3B3226HJ.js} +1 -1
  257. package/dist/chunks/{chunk.RWGL6D5U.js → chunk.3EAWXV27.js} +1 -1
  258. package/dist/chunks/{chunk.UEWG3G4R.js → chunk.3HX6HRHC.js} +9 -2
  259. package/dist/chunks/{chunk.5P2EEOC5.js → chunk.3NNE7XGI.js} +2 -2
  260. package/dist/chunks/{chunk.FQB6S2KS.js → chunk.3SX7AERB.js} +1 -1
  261. package/dist/chunks/{chunk.L3LZ4MKX.js → chunk.4P7DDUA4.js} +3 -3
  262. package/dist/chunks/{chunk.WRPRKCVY.js → chunk.52V3WTR3.js} +5 -5
  263. package/dist/chunks/{chunk.LGA24XY2.js → chunk.54KX7M52.js} +1 -1
  264. package/dist/chunks/{chunk.I5HR7JYK.js → chunk.5EBCNG2J.js} +3 -0
  265. package/dist/chunks/{chunk.IZDRWFAB.js → chunk.5NUQTJJR.js} +1 -1
  266. package/dist/chunks/{chunk.KUYI27GJ.js → chunk.5NXRUN57.js} +84 -242
  267. package/dist/chunks/{chunk.IPZC55RV.js → chunk.6BXZEG5L.js} +3 -0
  268. package/dist/chunks/{chunk.BQQ2GUR6.js → chunk.6K4LF64W.js} +1 -1
  269. package/dist/chunks/{chunk.GGXJ2MP3.js → chunk.6KWCQDRD.js} +32 -12
  270. package/dist/chunks/{chunk.2EDNCADP.js → chunk.6SDBUBGE.js} +1 -0
  271. package/dist/chunks/{chunk.BP4NJFKE.js → chunk.6ZJSEOLO.js} +1 -1
  272. package/dist/chunks/{chunk.B6LMEZTV.js → chunk.77ECBNUM.js} +1 -1
  273. package/dist/chunks/{chunk.DUTPVTUZ.js → chunk.7KMMSAQN.js} +1 -1
  274. package/dist/chunks/chunk.7YIOE3D2.js +663 -0
  275. package/dist/chunks/{chunk.DDDHV2NU.js → chunk.AFRAGNLK.js} +3 -3
  276. package/dist/chunks/chunk.ANOLAL4B.js +90 -0
  277. package/dist/chunks/{chunk.CQHOJJEI.js → chunk.B2KV6DSI.js} +1 -1
  278. package/dist/chunks/{chunk.6JHM36KH.js → chunk.B4SMUSVU.js} +25 -14
  279. package/dist/chunks/{chunk.XD25ELCV.js → chunk.BCLTC7W4.js} +1 -1
  280. package/dist/chunks/{chunk.WQYBYKZ2.js → chunk.BNREFNJW.js} +4 -3
  281. package/dist/chunks/chunk.BQEHELQ5.js +90 -0
  282. package/dist/chunks/{chunk.P45DWAWT.js → chunk.CAYHSQZJ.js} +1 -1
  283. package/dist/chunks/{chunk.2XRDIFUO.js → chunk.CEGU6OTH.js} +1 -1
  284. package/dist/chunks/{chunk.UDJJFUZ3.js → chunk.CN6TUCPE.js} +2 -2
  285. package/dist/chunks/{chunk.QRCGXHRO.js → chunk.CQR34TNY.js} +1 -0
  286. package/dist/chunks/{chunk.VNFFOE7Z.js → chunk.CWDSCTUA.js} +1 -1
  287. package/dist/chunks/{chunk.DHDRABMZ.js → chunk.D6SKE3AF.js} +2 -2
  288. package/dist/chunks/{chunk.6ZAEF56K.js → chunk.DB3EDROT.js} +1 -1
  289. package/dist/chunks/{chunk.RZT42FVN.js → chunk.DIM7WDHO.js} +1 -1
  290. package/dist/chunks/{chunk.7DBNKQ7N.js → chunk.DLACE2NU.js} +2 -2
  291. package/dist/chunks/{chunk.W7TI3W77.js → chunk.DLE3F4GC.js} +1 -1
  292. package/dist/chunks/chunk.E45DVVIM.js +271 -0
  293. package/dist/chunks/{chunk.LB54GRRB.js → chunk.EAYW5L6J.js} +2 -2
  294. package/dist/chunks/{chunk.QDKQMUIQ.js → chunk.EIZK62ST.js} +17 -1
  295. package/dist/chunks/{chunk.T6UX2FVU.js → chunk.EK7OT2VJ.js} +4 -4
  296. package/dist/chunks/{chunk.FKXOTDTY.js → chunk.ERN34WYC.js} +5 -5
  297. package/dist/chunks/{chunk.3TJPAISV.js → chunk.FC2HFFUI.js} +1 -1
  298. package/dist/chunks/chunk.FK5HR2F4.js +100 -0
  299. package/dist/chunks/{chunk.XRZGSSHY.js → chunk.FWVIQUG4.js} +1 -1
  300. package/dist/chunks/{chunk.BDO6TPPP.js → chunk.G6JRMCFB.js} +32 -32
  301. package/dist/chunks/{chunk.UWGAOHHQ.js → chunk.GGBIEJ25.js} +3 -3
  302. package/dist/chunks/{chunk.JIWB4B3J.js → chunk.GW2MJTCT.js} +1 -1
  303. package/dist/chunks/{chunk.NHXG2KMS.js → chunk.HAYCQF2N.js} +1 -1
  304. package/dist/chunks/{chunk.3XIJ443Y.js → chunk.HEOHHRVV.js} +1 -13
  305. package/{cdn/chunks/chunk.3TUFAITJ.js → dist/chunks/chunk.HJU52GCK.js} +1 -1
  306. package/dist/chunks/{chunk.PUYBBM4K.js → chunk.HTBAICPA.js} +1 -1
  307. package/dist/chunks/{chunk.Y52TCF24.js → chunk.IDGKF6AP.js} +3 -3
  308. package/dist/chunks/{chunk.IPUOJRFA.js → chunk.IIYPN5OC.js} +1 -1
  309. package/dist/chunks/chunk.IONY2GZF.js +72 -0
  310. package/dist/chunks/chunk.ITAWMEY7.js +42 -0
  311. package/dist/chunks/{chunk.SYVX56PU.js → chunk.ITUK4PON.js} +1 -1
  312. package/dist/chunks/{chunk.2JIPPL3I.js → chunk.JEZOETYM.js} +27 -6
  313. package/dist/chunks/{chunk.VBW5RZBM.js → chunk.K3HEMTRQ.js} +1 -1
  314. package/dist/chunks/{chunk.2VH3OZ2T.js → chunk.K53YJ3XK.js} +1 -1
  315. package/dist/chunks/{chunk.2VBJKC24.js → chunk.KFUZ6JMQ.js} +1 -1
  316. package/dist/chunks/{chunk.XPSUKRU5.js → chunk.KQ224IDT.js} +1 -1
  317. package/dist/chunks/{chunk.IF24VKLH.js → chunk.L66AKAXM.js} +1 -1
  318. package/dist/chunks/{chunk.VT3IWNRD.js → chunk.LE5LHO5Y.js} +1 -1
  319. package/dist/chunks/{chunk.MJKJSMQX.js → chunk.LGVJZXUH.js} +9 -12
  320. package/dist/chunks/{chunk.47JHZBMB.js → chunk.M5QF4L4W.js} +1 -1
  321. package/dist/chunks/{chunk.WUOMKASN.js → chunk.MAENDYI7.js} +43 -53
  322. package/dist/chunks/{chunk.3OHVWJYG.js → chunk.NF5ELBI4.js} +2 -2
  323. package/dist/chunks/{chunk.3Z33EVFU.js → chunk.NPCMEZGE.js} +1 -1
  324. package/dist/chunks/chunk.NVQTI6CK.js +44 -0
  325. package/dist/chunks/{chunk.H3FSR35C.js → chunk.O4WGPUE5.js} +77 -36
  326. package/dist/chunks/chunk.ODXKNTKC.js +21 -0
  327. package/dist/chunks/{chunk.IZACKXPC.js → chunk.P3CATWXI.js} +1 -1
  328. package/dist/chunks/{chunk.LTCZARVI.js → chunk.P5DC3N5P.js} +9 -6
  329. package/dist/chunks/{chunk.AVHERTGT.js → chunk.PTFOYYGJ.js} +1 -1
  330. package/dist/chunks/chunk.PWVYG6XN.js +181 -0
  331. package/dist/chunks/{chunk.KN6RQWYN.js → chunk.QBHSEMUU.js} +10 -5
  332. package/dist/chunks/{chunk.ZSBVQKVM.js → chunk.SWP3OZUN.js} +1 -1
  333. package/dist/chunks/{chunk.KLKJ2LRK.js → chunk.T2OLM5TG.js} +1 -1
  334. package/dist/chunks/chunk.TZFYJ4KJ.js +311 -0
  335. package/dist/chunks/{chunk.QLA2JXR7.js → chunk.U7ZMMMJ3.js} +12 -0
  336. package/dist/chunks/{chunk.UNO3SMWX.js → chunk.UG7D663E.js} +1 -1
  337. package/dist/chunks/{chunk.O3AR4B4F.js → chunk.UL2XNE5X.js} +2 -2
  338. package/dist/chunks/{chunk.EP7LLKJN.js → chunk.V75T6QXR.js} +1 -1
  339. package/dist/chunks/chunk.VKIBAACD.js +226 -0
  340. package/dist/chunks/{chunk.FQMS24GI.js → chunk.WB2DWTAB.js} +1 -1
  341. package/dist/chunks/{chunk.F6UPK2KI.js → chunk.WIVRYVXD.js} +1 -1
  342. package/dist/chunks/{chunk.5DXVFMIN.js → chunk.WOJO2VFN.js} +1 -1
  343. package/dist/chunks/{chunk.6QAB5TYJ.js → chunk.WPIYFGT2.js} +1 -1
  344. package/dist/chunks/{chunk.ECZMLO4V.js → chunk.X6UZBREW.js} +1 -1
  345. package/dist/chunks/chunk.XDEXZL3R.js +149 -0
  346. package/dist/chunks/{chunk.LSZ7ATDZ.js → chunk.XMPGIWRA.js} +1 -1
  347. package/dist/chunks/{chunk.AH74EN4A.js → chunk.YOMZYBQL.js} +1 -1
  348. package/dist/chunks/{chunk.KFRR2I2P.js → chunk.YVOXMJ6Q.js} +1 -1
  349. package/dist/chunks/{chunk.Z7DBDDCZ.js → chunk.YZTXGQRN.js} +19 -12
  350. package/dist/chunks/{chunk.ZCWLSBSD.js → chunk.Z2YO6E64.js} +2 -2
  351. package/dist/components/accordion/accordion.js +5 -5
  352. package/dist/components/alert/alert.js +5 -5
  353. package/dist/components/avatar/avatar.js +4 -4
  354. package/dist/components/breadcrumb/breadcrumb.js +5 -5
  355. package/dist/components/breadcrumb-item/breadcrumb-item.js +2 -2
  356. package/dist/components/button/button.d.ts +1 -1
  357. package/dist/components/button/button.js +7 -7
  358. package/dist/components/button/button.styles.js +1 -1
  359. package/dist/components/calendar/calendar.js +3 -3
  360. package/dist/components/callout/callout.js +3 -3
  361. package/dist/components/checkbox/checkbox.d.ts +6 -3
  362. package/dist/components/checkbox/checkbox.js +10 -9
  363. package/dist/components/checkbox/checkbox.styles.js +2 -2
  364. package/dist/components/checkbox-button/checkbox-button.js +17 -6
  365. package/dist/components/checkbox-card/checkbox-card.d.ts +25 -0
  366. package/dist/components/checkbox-card/checkbox-card.js +21 -0
  367. package/dist/components/checkbox-group/checkbox-group.d.ts +5 -3
  368. package/dist/components/checkbox-group/checkbox-group.js +6 -6
  369. package/dist/components/checkbox-group/checkbox-group.styles.js +2 -2
  370. package/dist/components/combobox/combobox.js +10 -10
  371. package/dist/components/combobox/combobox.styles.js +2 -2
  372. package/dist/components/dialog/dialog.d.ts +11 -5
  373. package/dist/components/dialog/dialog.js +6 -6
  374. package/dist/components/dialog/dialog.styles.js +1 -1
  375. package/dist/components/download-card/download-card.js +3 -3
  376. package/dist/components/download-link/download-link.js +3 -3
  377. package/dist/components/drawer/drawer.js +5 -5
  378. package/dist/components/dropdown/dropdown.js +2 -2
  379. package/dist/components/error-message-panel/error-message-panel.js +2 -2
  380. package/dist/components/error-text/error-text.js +3 -3
  381. package/dist/components/file-upload/file-upload.js +7 -7
  382. package/dist/components/file-upload/file-upload.styles.js +2 -2
  383. package/dist/components/file-upload-item/file-upload-item.js +3 -3
  384. package/dist/components/filter-base/filter-base.js +6 -6
  385. package/dist/components/filter-button/filter-button.js +5 -5
  386. package/dist/components/filter-counter/filter-counter.js +25 -19
  387. package/dist/components/filter-date/filter-date.js +10 -10
  388. package/dist/components/filter-range/filter-range.js +26 -20
  389. package/dist/components/filter-select/filter-select.js +25 -22
  390. package/dist/components/footer/footer.js +3 -3
  391. package/dist/components/footer/footer.styles.js +1 -1
  392. package/dist/components/format-bytes/format-bytes.js +2 -2
  393. package/dist/components/format-date/format-date.js +2 -2
  394. package/dist/components/format-number/format-number.js +2 -2
  395. package/dist/components/header/header.js +3 -3
  396. package/dist/components/header/header.styles.js +1 -1
  397. package/dist/components/header-search/header-search.js +8 -8
  398. package/dist/components/icon/icon.js +3 -3
  399. package/dist/components/icon/library.js +2 -2
  400. package/dist/components/icon/library.system.js +1 -1
  401. package/dist/components/icon-button/icon-button.js +3 -3
  402. package/dist/components/input/input.d.ts +3 -7
  403. package/dist/components/input/input.js +19 -13
  404. package/dist/components/input/input.styles.js +2 -2
  405. package/dist/components/input-date/input-date.d.ts +7 -2
  406. package/dist/components/input-date/input-date.js +12 -12
  407. package/dist/components/input-date/input-date.styles.js +3 -3
  408. package/dist/components/input-mask/input-mask.js +8 -8
  409. package/dist/components/input-mask/input-mask.styles.js +2 -2
  410. package/dist/components/input-otp/input-otp.js +7 -7
  411. package/dist/components/input-otp/input-otp.styles.js +2 -2
  412. package/dist/components/input-phone/input-phone.js +13 -13
  413. package/dist/components/input-phone/input-phone.styles.js +2 -2
  414. package/dist/components/input-time/input-time.d.ts +121 -0
  415. package/dist/components/input-time/input-time.js +42 -0
  416. package/dist/components/input-time/input-time.styles.d.ts +2 -0
  417. package/dist/components/input-time/input-time.styles.js +10 -0
  418. package/dist/components/input-time/input-time.utils.d.ts +17 -0
  419. package/dist/components/input-time/input-time.utils.js +13 -0
  420. package/dist/components/menu-accordion/menu-accordion.js +5 -5
  421. package/dist/components/menu-item/menu-item.js +3 -3
  422. package/dist/components/navbar-link/navbar-link.js +4 -4
  423. package/dist/components/navbar-menu/navbar-menu.js +5 -5
  424. package/dist/components/option/option.js +5 -5
  425. package/dist/components/pagination/pagination.js +23 -19
  426. package/dist/components/pagination-button/pagination-button.js +3 -3
  427. package/dist/components/pagination-button/pagination-button.styles.js +2 -2
  428. package/dist/components/profile-button/profile-button.js +7 -7
  429. package/dist/components/progress-bar/progress-bar.js +2 -2
  430. package/dist/components/quote/quote.js +3 -3
  431. package/dist/components/radio/radio.d.ts +6 -5
  432. package/dist/components/radio/radio.js +6 -5
  433. package/dist/components/radio/radio.styles.js +1 -1
  434. package/dist/components/radio-button/radio-button.d.ts +1 -1
  435. package/dist/components/radio-button/radio-button.js +9 -10
  436. package/dist/components/radio-card/radio-card.d.ts +24 -0
  437. package/dist/components/radio-card/radio-card.js +33 -0
  438. package/dist/components/radio-group/radio-group.d.ts +3 -3
  439. package/dist/components/radio-group/radio-group.js +6 -7
  440. package/dist/components/radio-group/radio-group.styles.js +2 -2
  441. package/dist/components/relative-time/relative-time.js +2 -2
  442. package/dist/components/select/select.js +9 -9
  443. package/dist/components/select/select.styles.js +2 -2
  444. package/dist/components/skip-links/skip-links.js +2 -2
  445. package/dist/components/spinner/spinner.js +2 -2
  446. package/dist/components/split-panel/split-panel.js +5 -5
  447. package/dist/components/step/step.js +5 -5
  448. package/dist/components/switch/switch.d.ts +84 -0
  449. package/dist/components/switch/switch.js +23 -0
  450. package/dist/components/switch/switch.styles.d.ts +2 -0
  451. package/dist/components/switch/switch.styles.js +7 -0
  452. package/dist/components/tab/tab.js +5 -5
  453. package/dist/components/tab-group/tab-group.js +5 -5
  454. package/dist/components/table-action/table-action.js +2 -2
  455. package/dist/components/table-body/table-body.js +1 -1
  456. package/dist/components/table-caption/table-caption.js +2 -2
  457. package/dist/components/table-header-cell/table-header-cell.js +3 -3
  458. package/dist/components/table-header-row/table-header-row.js +14 -13
  459. package/dist/components/table-of-contents/table-of-contents.js +2 -2
  460. package/dist/components/table-row/table-row.js +12 -11
  461. package/dist/components/tag/tag.js +5 -5
  462. package/dist/components/textarea/textarea.js +7 -7
  463. package/dist/components/textarea/textarea.styles.js +2 -2
  464. package/dist/components/tooltip/tooltip.js +2 -2
  465. package/dist/components/tree/tree.js +14 -13
  466. package/dist/components/tree-item/tree-item.js +13 -12
  467. package/dist/custom-elements.json +5241 -3804
  468. package/dist/design-system.d.ts +6 -2
  469. package/dist/design-system.js +331 -158
  470. package/dist/internal/components/checkbox-box/checkbox-box.d.ts +27 -0
  471. package/dist/internal/components/checkbox-box/checkbox-box.js +94 -0
  472. package/dist/internal/components/checkbox-box/checkbox-box.styles.d.ts +2 -0
  473. package/dist/internal/components/checkbox-box/checkbox-box.styles.js +98 -0
  474. package/dist/internal/components/date-field/date-field.d.ts +1 -0
  475. package/dist/internal/components/date-field/date-field.js +23 -9
  476. package/dist/internal/components/form-control/form-control-layout.d.ts +1 -0
  477. package/dist/internal/components/form-control/form-control-layout.js +4 -0
  478. package/dist/internal/components/form-selectable-card/form-selectable-card-stories.d.ts +2 -0
  479. package/dist/internal/components/form-selectable-card/form-selectable-card-stories.js +77 -0
  480. package/dist/internal/components/form-selectable-card/form-selectable-card.d.ts +38 -0
  481. package/dist/internal/components/form-selectable-card/form-selectable-card.js +182 -0
  482. package/dist/internal/components/form-selectable-card/form-selectable-card.styles.d.ts +2 -0
  483. package/dist/internal/components/form-selectable-card/form-selectable-card.styles.js +141 -0
  484. package/dist/internal/components/form-toggle-button/form-toggle-button.d.ts +5 -1
  485. package/dist/internal/components/form-toggle-button/form-toggle-button.js +29 -9
  486. package/dist/internal/components/form-toggle-button/form-toggle-button.styles.js +7 -0
  487. package/dist/internal/components/radio-icon/radio-icon.d.ts +22 -0
  488. package/dist/internal/components/radio-icon/radio-icon.js +66 -0
  489. package/dist/internal/components/radio-icon/radio-icon.styles.d.ts +2 -0
  490. package/dist/internal/components/radio-icon/radio-icon.styles.js +86 -0
  491. package/dist/styles/form-control.styles.js +17 -1
  492. package/dist/themes/dsa-wc-theme.css +160 -5
  493. package/dist/themes/dsa-wc-theme.min.css +1 -1
  494. package/dist/themes/dsa-wc-theme.styles.js +164 -5
  495. package/dist/translations/en-gb.js +1 -1
  496. package/dist/translations/en.js +1 -1
  497. package/dist/translations/fr.js +1 -1
  498. package/dist/utilities/date.js +1 -1
  499. package/dist/utilities/icon-library.js +2 -2
  500. package/dist/utilities/localize.d.ts +6 -0
  501. package/dist/utilities/localize.js +1 -1
  502. package/dist/vscode.html-custom-data.json +162 -7
  503. package/dist/web-types.json +974 -147
  504. package/package.json +2 -2
  505. package/cdn/chunks/chunk.5LXQ3RKQ.js +0 -41
  506. package/cdn/chunks/chunk.N3WADQAB.js +0 -157
  507. package/cdn/chunks/chunk.ZIPOQO6F.js +0 -188
  508. package/dist/chunks/chunk.35CKPBLE.js +0 -155
  509. package/dist/chunks/chunk.6HR34L7E.js +0 -39
  510. package/dist/chunks/chunk.GDOUDNZH.js +0 -186
@@ -0,0 +1,44 @@
1
+ import {
2
+ FormSelectableCard
3
+ } from "./chunk.TZFYJ4KJ.js";
4
+ import {
5
+ watch
6
+ } from "./chunk.NOMN6DGD.js";
7
+ import {
8
+ __decorateClass
9
+ } from "./chunk.S3NI7NKU.js";
10
+
11
+ // src/components/checkbox-card/checkbox-card.ts
12
+ import { customElement } from "lit/decorators.js";
13
+ var DSACheckboxCard = class extends FormSelectableCard {
14
+ constructor() {
15
+ super(...arguments);
16
+ this.type = "checkbox";
17
+ }
18
+ connectedCallback() {
19
+ super.connectedCallback();
20
+ if (!this.hasAttribute("role")) {
21
+ this.setAttribute("role", "listitem");
22
+ }
23
+ }
24
+ handleClick() {
25
+ this.checked = !this.checked;
26
+ }
27
+ handleErrorChange() {
28
+ if (this.error) {
29
+ this.button.setAttribute("aria-invalid", "true");
30
+ } else {
31
+ this.button.removeAttribute("aria-invalid");
32
+ }
33
+ }
34
+ };
35
+ __decorateClass([
36
+ watch("error", { waitUntilFirstUpdate: true })
37
+ ], DSACheckboxCard.prototype, "handleErrorChange", 1);
38
+ DSACheckboxCard = __decorateClass([
39
+ customElement("dsa-checkbox-card")
40
+ ], DSACheckboxCard);
41
+
42
+ export {
43
+ DSACheckboxCard
44
+ };
@@ -1,3 +1,6 @@
1
+ import {
2
+ DSAInputTime
3
+ } from "./chunk.7YIOE3D2.js";
1
4
  import {
2
5
  getOverridenIconDetails,
3
6
  isInvalidAmountKey,
@@ -6,12 +9,15 @@ import {
6
9
  parseFrAmount,
7
10
  roundToStep
8
11
  } from "./chunk.Z2A5AEMU.js";
12
+ import {
13
+ DSAInputDate
14
+ } from "./chunk.P5DC3N5P.js";
9
15
  import {
10
16
  input_styles_default
11
- } from "./chunk.VNFFOE7Z.js";
17
+ } from "./chunk.CWDSCTUA.js";
12
18
  import {
13
19
  FormControlLayout
14
- } from "./chunk.I5HR7JYK.js";
20
+ } from "./chunk.5EBCNG2J.js";
15
21
  import {
16
22
  defaultValue
17
23
  } from "./chunk.CMJ2SRTL.js";
@@ -20,7 +26,7 @@ import {
20
26
  } from "./chunk.JA7YFGLI.js";
21
27
  import {
22
28
  LocalizeController
23
- } from "./chunk.QLA2JXR7.js";
29
+ } from "./chunk.U7ZMMMJ3.js";
24
30
  import {
25
31
  watch
26
32
  } from "./chunk.NOMN6DGD.js";
@@ -57,6 +63,9 @@ var DSAInput = class extends FormControlLayout {
57
63
  /** Gets or sets the current value as a `Date` object. Returns `null` if the value can't be converted. */
58
64
  get valueAsDate() {
59
65
  var _a, _b;
66
+ if (this.input instanceof DSAInputTime) {
67
+ return null;
68
+ }
60
69
  return (_b = (_a = this.input) == null ? void 0 : _a.valueAsDate) != null ? _b : null;
61
70
  }
62
71
  set valueAsDate(newValue) {
@@ -88,20 +97,22 @@ var DSAInput = class extends FormControlLayout {
88
97
  await this.updateComplete;
89
98
  if (this.type === "date") {
90
99
  this.input = this.dateInput;
100
+ } else if (this.type === "time") {
101
+ this.input = this.timeInput;
91
102
  } else {
92
103
  this.input = this.standardInput;
93
104
  }
94
105
  this.formControlController.updateValidity();
95
106
  }
96
107
  handleBlur(event) {
97
- if (this.type === "date") {
108
+ if (["date", "time"].includes(this.type)) {
98
109
  event.stopPropagation();
99
110
  }
100
111
  this.hasFocus = false;
101
112
  this.emit("dsa-blur");
102
113
  }
103
114
  handleChange(event) {
104
- if (this.type === "date") {
115
+ if (["date", "time"].includes(this.type)) {
105
116
  event.stopPropagation();
106
117
  }
107
118
  if (this.type === "amount") {
@@ -139,14 +150,14 @@ var DSAInput = class extends FormControlLayout {
139
150
  event.stopPropagation();
140
151
  }
141
152
  handleFocus(event) {
142
- if (this.type === "date") {
153
+ if (["date", "time"].includes(this.type)) {
143
154
  event.stopPropagation();
144
155
  }
145
156
  this.hasFocus = true;
146
157
  this.emit("dsa-focus");
147
158
  }
148
159
  handleInput(event) {
149
- if (this.type === "date") {
160
+ if (["date", "time"].includes(this.type)) {
150
161
  event.stopPropagation();
151
162
  }
152
163
  if (this.type === "amount") {
@@ -264,27 +275,21 @@ var DSAInput = class extends FormControlLayout {
264
275
  }
265
276
  }
266
277
  }
267
- /** Checks whether the current navigator is compatible with type=time */
268
- checkNavigatorCompatibility() {
269
- const uAgent = navigator.userAgent;
270
- const isChromeAgent = uAgent.indexOf("Chrome") > -1;
271
- const isSafariAgent = uAgent.indexOf("Safari") > -1;
272
- const isSafari = isSafariAgent && !isChromeAgent;
273
- const isIExplorer = uAgent.indexOf("MSIE") > -1 || uAgent.indexOf("rv:") > -1;
274
- const isFirefox = uAgent.indexOf("Firefox") > -1;
275
- return "showPicker" in HTMLInputElement.prototype && !(isSafari || isIExplorer || isFirefox);
278
+ async showTimePicker() {
279
+ if (this.input instanceof DSAInputTime) {
280
+ await this.input.showTimePicker();
281
+ }
276
282
  }
277
- /** Displays the browser picker for an input element (only works if the browser supports it for the input type). */
278
- showTimePicker() {
279
- if ("showPicker" in HTMLInputElement.prototype) {
280
- this.standardInput.showPicker();
283
+ async hideTimePicker() {
284
+ if (this.input instanceof DSAInputTime) {
285
+ await this.input.hideTimePicker();
281
286
  }
282
287
  }
283
- /** Displays the dsa-calendar picker for an input element. */
284
288
  async showDatepicker() {
285
- await this.dateInput.showDatepicker();
289
+ if (this.input instanceof DSAInputDate) {
290
+ await this.input.showDatepicker();
291
+ }
286
292
  }
287
- /** Hides dsa-calendar. */
288
293
  async hideDatepicker() {
289
294
  await this.dateInput.hideDatepicker();
290
295
  }
@@ -298,6 +303,9 @@ var DSAInput = class extends FormControlLayout {
298
303
  }
299
304
  /** Increments the value of a numeric input type by the value of the step attribute. */
300
305
  stepUp() {
306
+ if (this.input instanceof DSAInputDate || this.input instanceof DSAInputTime) {
307
+ return;
308
+ }
301
309
  if (this.type === "amount") {
302
310
  this.adjustAmountValue("up");
303
311
  } else {
@@ -309,6 +317,9 @@ var DSAInput = class extends FormControlLayout {
309
317
  }
310
318
  /** Decrements the value of a numeric input type by the value of the step attribute. */
311
319
  stepDown() {
320
+ if (this.input instanceof DSAInputDate || this.input instanceof DSAInputTime) {
321
+ return;
322
+ }
312
323
  if (this.type === "amount") {
313
324
  this.adjustAmountValue("down");
314
325
  } else {
@@ -349,9 +360,11 @@ var DSAInput = class extends FormControlLayout {
349
360
  this.formControlController.updateValidity();
350
361
  }
351
362
  async getUpdateComplete() {
352
- const result = await super.getUpdateComplete();
353
- if (this.type === "date") {
354
- await this.dateInput.updateComplete;
363
+ let result;
364
+ if (this.input instanceof DSAInputDate || this.input instanceof DSAInputTime) {
365
+ result = await this.input.updateComplete;
366
+ } else {
367
+ result = await super.getUpdateComplete();
355
368
  }
356
369
  return result;
357
370
  }
@@ -392,6 +405,41 @@ var DSAInput = class extends FormControlLayout {
392
405
  ${this.hasSlotController.test("tooltip") ? html` <slot name="tooltip" slot="tooltip"></slot> ` : ""}
393
406
  </dsa-input-date>
394
407
  `;
408
+ } else if (this.type === "time") {
409
+ return html`
410
+ <dsa-input-time
411
+ name=${ifDefined(this.name)}
412
+ title=${ifDefined(this.title)}
413
+ value=${this.value}
414
+ .defaultValue=${ifDefined(this.defaultValue)}
415
+ size=${ifDefined(this.size)}
416
+ variant=${ifDefined(this.variant)}
417
+ label=${ifDefined(this.label)}
418
+ help-text=${ifDefined(this.helpText)}
419
+ ?clearable=${this.clearable}
420
+ ?disabled=${this.disabled}
421
+ ?readonly=${this.readonly}
422
+ ?error=${this.error}
423
+ .errorMessage=${ifDefined(this.errorMessage)}
424
+ form=${ifDefined(this.form)}
425
+ ?required=${this.required}
426
+ min=${ifDefined(this.min)}
427
+ max=${ifDefined(this.max)}
428
+ step=${ifDefined(this.step)}
429
+ ?autofocus=${this.autofocus}
430
+ enterkeyhint=${ifDefined(this.enterkeyhint)}
431
+ @dsa-change=${this.handleChange}
432
+ @dsa-input=${this.handleInput}
433
+ @dsa-focus=${this.handleFocus}
434
+ @dsa-blur=${this.handleBlur}
435
+ >
436
+ ${this.hasSlotController.test("label") ? html` <slot name="label" slot="label"></slot> ` : ""}
437
+ ${this.hasSlotController.test("prefix") ? html` <slot name="prefix" slot="prefix"></slot> ` : ""}
438
+ ${this.hasSlotController.test("suffix") ? html` <slot name="suffix" slot="suffix"></slot> ` : ""}
439
+ ${this.hasSlotController.test("help-text") ? html` <slot name="help-text" slot="help-text"></slot> ` : ""}
440
+ ${this.hasSlotController.test("tooltip") ? html` <slot name="tooltip" slot="tooltip"></slot> ` : ""}
441
+ </dsa-input-time>
442
+ `;
395
443
  } else {
396
444
  return super.render();
397
445
  }
@@ -504,16 +552,6 @@ var DSAInput = class extends FormControlLayout {
504
552
  @click=${this.handlePasswordToggle}
505
553
  library="system"
506
554
  ></dsa-icon-button>` : ""}
507
- ${this.type === "time" && this.checkNavigatorCompatibility() ? html`
508
- <dsa-icon-button
509
- part="picker-button"
510
- class="input__action-button"
511
- name="schedule"
512
- label=${this.localize.term("selectATime")}
513
- @click=${this.showTimePicker}
514
- library="system"
515
- ></dsa-icon-button>
516
- ` : ""}
517
555
  </div>
518
556
  `;
519
557
  }
@@ -536,6 +574,9 @@ __decorateClass([
536
574
  __decorateClass([
537
575
  query("dsa-input-date")
538
576
  ], DSAInput.prototype, "dateInput", 2);
577
+ __decorateClass([
578
+ query("dsa-input-time")
579
+ ], DSAInput.prototype, "timeInput", 2);
539
580
  __decorateClass([
540
581
  state()
541
582
  ], DSAInput.prototype, "input", 2);
@@ -0,0 +1,21 @@
1
+ import {
2
+ form_control_styles_default
3
+ } from "./chunk.EIZK62ST.js";
4
+ import {
5
+ component_styles_default
6
+ } from "./chunk.TUVJKY7S.js";
7
+
8
+ // src/components/checkbox-group/checkbox-group.styles.ts
9
+ import { css } from "lit";
10
+ var checkbox_group_styles_default = css`
11
+ ${component_styles_default}
12
+ ${form_control_styles_default}
13
+
14
+ :host {
15
+ display: block;
16
+ }
17
+ `;
18
+
19
+ export {
20
+ checkbox_group_styles_default
21
+ };
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk.YIY5RM53.js";
7
7
  import {
8
8
  LocalizeController
9
- } from "./chunk.QLA2JXR7.js";
9
+ } from "./chunk.U7ZMMMJ3.js";
10
10
  import {
11
11
  ShoelaceElement
12
12
  } from "./chunk.XZ5FE34T.js";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  input_date_styles_default
3
- } from "./chunk.RWGL6D5U.js";
3
+ } from "./chunk.3EAWXV27.js";
4
4
  import {
5
5
  FormControlLayout
6
- } from "./chunk.I5HR7JYK.js";
6
+ } from "./chunk.5EBCNG2J.js";
7
7
  import {
8
8
  getDateFromISO,
9
9
  getISOFormattedDate
10
- } from "./chunk.IPZC55RV.js";
10
+ } from "./chunk.6BXZEG5L.js";
11
11
  import {
12
12
  defaultValue
13
13
  } from "./chunk.CMJ2SRTL.js";
@@ -27,7 +27,7 @@ import {
27
27
  } from "./chunk.HGR7A5FK.js";
28
28
  import {
29
29
  LocalizeController
30
- } from "./chunk.QLA2JXR7.js";
30
+ } from "./chunk.U7ZMMMJ3.js";
31
31
  import {
32
32
  watch
33
33
  } from "./chunk.NOMN6DGD.js";
@@ -98,11 +98,12 @@ var DSAInputDate = class extends FormControlLayout {
98
98
  document.removeEventListener("mousedown", this.handleDocumentMouseDown);
99
99
  this.removeEventListener("dsa-date-selected", this.handleSelectedDate);
100
100
  }
101
- handleSelectedDate(event) {
101
+ async handleSelectedDate(event) {
102
102
  const { detail } = event;
103
103
  const selectedDate = detail.dates[0];
104
104
  this.value = getISOFormattedDate(selectedDate);
105
105
  this.hideDatepicker();
106
+ await this.updateComplete;
106
107
  this.emit("dsa-change");
107
108
  }
108
109
  handleDocumentFocusIn(event) {
@@ -265,6 +266,9 @@ var DSAInputDate = class extends FormControlLayout {
265
266
  await this.dateField.updateComplete;
266
267
  return result;
267
268
  }
269
+ handleLabelClick() {
270
+ this.dateField.focus();
271
+ }
268
272
  renderInput() {
269
273
  var _a, _b;
270
274
  const hasPrefixIcon = this.hasSlotController.test("prefix");
@@ -333,7 +337,6 @@ var DSAInputDate = class extends FormControlLayout {
333
337
  strategy="absolute"
334
338
  flip
335
339
  shift
336
- tabindex="0"
337
340
  auto-size="vertical"
338
341
  auto-size-padding="10"
339
342
  >
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk.3SMOVUNI.js";
4
4
  import {
5
5
  FilterBase
6
- } from "./chunk.FQB6S2KS.js";
6
+ } from "./chunk.3SX7AERB.js";
7
7
  import {
8
8
  watch
9
9
  } from "./chunk.NOMN6DGD.js";
@@ -0,0 +1,181 @@
1
+ import {
2
+ ShoelaceElement
3
+ } from "./chunk.XZ5FE34T.js";
4
+ import {
5
+ __decorateClass
6
+ } from "./chunk.S3NI7NKU.js";
7
+
8
+ // src/internal/components/checkbox-box/checkbox-box.ts
9
+ import { customElement, property } from "lit/decorators.js";
10
+ import { classMap } from "lit/directives/class-map.js";
11
+ import { html } from "lit/static-html.js";
12
+
13
+ // src/internal/components/checkbox-box/checkbox-box.styles.ts
14
+ import { css } from "lit";
15
+ var checkbox_box_styles_default = css`
16
+ :host {
17
+ display: contents;
18
+ }
19
+
20
+ :host::after {
21
+ content: '';
22
+ position: absolute;
23
+ inset: 0;
24
+ }
25
+
26
+ .checkbox__control--small {
27
+ --toggle-size: var(--dsa-wc-checkbox-size-small);
28
+ }
29
+
30
+ .checkbox__control--medium {
31
+ --toggle-size: var(--dsa-wc-checkbox-size);
32
+ }
33
+
34
+ .checkbox__control--large {
35
+ --toggle-size: var(--dsa-wc-checkbox-size-large);
36
+ }
37
+
38
+ .checkbox__control {
39
+ flex: 0 0 auto;
40
+ position: relative;
41
+ display: inline-flex;
42
+ align-items: center;
43
+ justify-content: center;
44
+ width: var(--toggle-size);
45
+ height: var(--toggle-size);
46
+ border: var(--dsa-wc-checkbox-border);
47
+ border-radius: var(--dsa-wc-checkbox-border-radius);
48
+ background-color: var(--dsa-wc-checkbox-background-color);
49
+ color: var(--dsa-wc-checkbox-icon-color);
50
+ transition: var(--dsa-wc-transition-fast) border-color,
51
+ var(--dsa-wc-transition-fast) background-color,
52
+ var(--dsa-wc-transition-fast) color,
53
+ var(--dsa-wc-transition-fast) box-shadow;
54
+ box-sizing: border-box;
55
+ }
56
+
57
+ .checkbox__control.checkbox__control--small {
58
+ border-radius: var(--dsa-wc-checkbox-border-radius-small);
59
+ }
60
+
61
+ .checkbox__checked-icon,
62
+ .checkbox__indeterminate-icon {
63
+ display: inline-flex;
64
+ width: var(--toggle-size);
65
+ height: var(--toggle-size);
66
+ }
67
+
68
+ /* Hover */
69
+ :host(:hover)
70
+ .checkbox__control:not(.checkbox__control--checked):not(
71
+ .checkbox__control--disabled
72
+ ):not(.checkbox__control--readonly) {
73
+ border-color: var(--dsa-wc-checkbox-color-hover);
74
+ }
75
+
76
+ /* Checked/indeterminate */
77
+ .checkbox__control--checked,
78
+ .checkbox__control--indeterminate {
79
+ border-color: var(--dsa-wc-checkbox-color-active);
80
+ background-color: var(--dsa-wc-checkbox-color-active);
81
+ }
82
+
83
+ /* Checked/indeterminate + hover */
84
+ :host(:hover)
85
+ .checkbox.checkbox__control--checked:not(.checkbox__control--disabled):not(
86
+ .checkbox__control--readonly
87
+ ),
88
+ :host(:hover)
89
+ .checkbox.checkbox__control--indeterminate:not(
90
+ .checkbox__control--disabled
91
+ ):not(.checkbox__control--readonly) {
92
+ border-color: var(--dsa-wc-checkbox-color-active);
93
+ background-color: var(--dsa-wc-checkbox-color-active);
94
+ }
95
+
96
+ /* Disabled */
97
+ .checkbox__control--disabled {
98
+ border-color: var(--dsa-wc-checkbox-color-disabled);
99
+ }
100
+ .checkbox__control--checked.checkbox__control--disabled,
101
+ .checkbox__control--indeterminate.checkbox__control--disabled {
102
+ background-color: var(--dsa-wc-checkbox-color-disabled);
103
+ }
104
+
105
+ /* Readonly */
106
+ .checkbox__control--readonly {
107
+ border-color: var(--dsa-wc-checkbox-border-color-readonly);
108
+ color: var(--dsa-wc-checkbox-color-readonly);
109
+ background-color: var(--dsa-wc-checkbox-background-color);
110
+ }
111
+ `;
112
+
113
+ // src/internal/components/checkbox-box/checkbox-box.ts
114
+ var DSAInternalCheckboxBox = class extends ShoelaceElement {
115
+ constructor() {
116
+ super(...arguments);
117
+ this.checked = false;
118
+ this.indeterminate = false;
119
+ this.size = "medium";
120
+ this.disabled = false;
121
+ this.readonly = false;
122
+ this.error = false;
123
+ }
124
+ render() {
125
+ return html`
126
+ <span
127
+ part="control"
128
+ class=${classMap({
129
+ checkbox__control: true,
130
+ "checkbox__control--checked": this.checked,
131
+ "checkbox__control--indeterminate": this.indeterminate,
132
+ "checkbox__control--disabled": this.disabled,
133
+ "checkbox__control--readonly": this.readonly,
134
+ "checkbox__control--error": this.error,
135
+ "checkbox__control--small": this.size === "small",
136
+ "checkbox__control--medium": this.size === "medium",
137
+ "checkbox__control--large": this.size === "large"
138
+ })}
139
+ >
140
+ ${this.checked ? html`
141
+ <dsa-icon
142
+ part="checked-icon"
143
+ class="checkbox__checked-icon"
144
+ name="done"
145
+ library="system"
146
+ ></dsa-icon>
147
+ ` : ""}
148
+ ${!this.checked && this.indeterminate ? html`
149
+ <dsa-icon
150
+ part="indeterminate-icon"
151
+ class="checkbox__indeterminate-icon"
152
+ name="horizontal_rule"
153
+ library="system"
154
+ ></dsa-icon>
155
+ ` : ""}
156
+ </span>
157
+ `;
158
+ }
159
+ };
160
+ DSAInternalCheckboxBox.styles = checkbox_box_styles_default;
161
+ __decorateClass([
162
+ property({ type: Boolean, reflect: true })
163
+ ], DSAInternalCheckboxBox.prototype, "checked", 2);
164
+ __decorateClass([
165
+ property({ type: Boolean, reflect: true })
166
+ ], DSAInternalCheckboxBox.prototype, "indeterminate", 2);
167
+ __decorateClass([
168
+ property({ reflect: true })
169
+ ], DSAInternalCheckboxBox.prototype, "size", 2);
170
+ __decorateClass([
171
+ property({ type: Boolean, reflect: true })
172
+ ], DSAInternalCheckboxBox.prototype, "disabled", 2);
173
+ __decorateClass([
174
+ property({ type: Boolean, reflect: true })
175
+ ], DSAInternalCheckboxBox.prototype, "readonly", 2);
176
+ __decorateClass([
177
+ property({ type: Boolean })
178
+ ], DSAInternalCheckboxBox.prototype, "error", 2);
179
+ DSAInternalCheckboxBox = __decorateClass([
180
+ customElement("dsa-internal-checkbox-box")
181
+ ], DSAInternalCheckboxBox);
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  DSARadioGroup
3
- } from "./chunk.KUYI27GJ.js";
3
+ } from "./chunk.5NXRUN57.js";
4
4
  import {
5
5
  FormToggleButton
6
- } from "./chunk.GGXJ2MP3.js";
6
+ } from "./chunk.6KWCQDRD.js";
7
7
  import {
8
8
  watch
9
9
  } from "./chunk.NOMN6DGD.js";
@@ -19,9 +19,12 @@ var DSARadioButton = class extends FormToggleButton {
19
19
  this.type = "radio";
20
20
  }
21
21
  handleClick() {
22
+ if (this.disabled || this.readonly || this.parentDisabled || this.parentReadonly) {
23
+ return;
24
+ }
22
25
  this.checked = true;
23
26
  }
24
- handleDisabledChange() {
27
+ handleDeactivatedChange() {
25
28
  const parent = this.parentElement;
26
29
  if (parent instanceof DSARadioGroup) {
27
30
  parent.updateTabIndexes();
@@ -29,8 +32,10 @@ var DSARadioButton = class extends FormToggleButton {
29
32
  }
30
33
  };
31
34
  __decorateClass([
32
- watch(["disabled", "readonly"], { waitUntilFirstUpdate: true })
33
- ], DSARadioButton.prototype, "handleDisabledChange", 1);
35
+ watch(["disabled", "readonly", "parentDisabled", "parentReadonly"], {
36
+ waitUntilFirstUpdate: true
37
+ })
38
+ ], DSARadioButton.prototype, "handleDeactivatedChange", 1);
34
39
  DSARadioButton = __decorateClass([
35
40
  customElement("dsa-radio-button")
36
41
  ], DSARadioButton);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  LocalizeController
3
- } from "./chunk.QLA2JXR7.js";
3
+ } from "./chunk.U7ZMMMJ3.js";
4
4
  import {
5
5
  ShoelaceElement
6
6
  } from "./chunk.XZ5FE34T.js";
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk.HGR7A5FK.js";
16
16
  import {
17
17
  LocalizeController
18
- } from "./chunk.QLA2JXR7.js";
18
+ } from "./chunk.U7ZMMMJ3.js";
19
19
  import {
20
20
  watch
21
21
  } from "./chunk.NOMN6DGD.js";