@ds-autonomie/web-components 2.2.0 → 2.3.1

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 (528) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/cdn/chunks/{chunk.CZHOLGSR.js → chunk.27YOIDOY.js} +1 -1
  3. package/cdn/chunks/{chunk.2DJERWBI.js → chunk.2P3IVRMK.js} +4 -3
  4. package/cdn/chunks/{chunk.YD6XEMWC.js → chunk.2Q6V7LT2.js} +1 -1
  5. package/cdn/chunks/chunk.35PPY25N.js +92 -0
  6. package/cdn/chunks/{chunk.EARU4CHS.js → chunk.3AT66TOX.js} +1 -1
  7. package/cdn/chunks/{chunk.WJ2QJ5NF.js → chunk.3CRRJ74Q.js} +4 -4
  8. package/cdn/chunks/chunk.3OSWL542.js +163 -0
  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.6QTMZJGH.js → chunk.55Y4QE5R.js} +5 -5
  12. package/cdn/chunks/{chunk.6H5KLQNT.js → chunk.57JBB4UL.js} +1 -1
  13. package/cdn/chunks/{chunk.THD27VRI.js → chunk.57UCUSPU.js} +1 -1
  14. package/cdn/chunks/{chunk.T4RXUUPV.js → chunk.5BWMYJNC.js} +2 -2
  15. package/cdn/chunks/{chunk.7CIXFYLV.js → chunk.5EYEXU6M.js} +1 -1
  16. package/cdn/chunks/chunk.5IFHMXXG.js +229 -0
  17. package/cdn/chunks/chunk.6BPVPY42.js +318 -0
  18. package/cdn/chunks/{chunk.C62MMBV4.js → chunk.6NFWRZM6.js} +43 -53
  19. package/cdn/chunks/{chunk.IPZC55RV.js → chunk.6YEPFMKU.js} +6 -3
  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.3JMBGIZN.js → chunk.AATBJDAH.js} +77 -36
  27. package/cdn/chunks/{chunk.M7QHADJH.js → chunk.AVH4JYLK.js} +40 -28
  28. package/cdn/chunks/{chunk.WO2QCEF7.js → chunk.BLLAYNRQ.js} +1 -1
  29. package/cdn/chunks/{chunk.Y3OADZB3.js → chunk.BPP37CID.js} +32 -32
  30. package/cdn/chunks/{chunk.P45DWAWT.js → chunk.CAYHSQZJ.js} +1 -1
  31. package/cdn/chunks/{chunk.BE7PKTJW.js → chunk.D5IL5KN6.js} +5 -5
  32. package/cdn/chunks/{chunk.LCUVJAUT.js → chunk.DDRUVCZW.js} +1 -1
  33. package/cdn/chunks/{chunk.3PW6CC5R.js → chunk.EEKS3ZN7.js} +1 -3
  34. package/cdn/chunks/{chunk.MJLKYERJ.js → chunk.EHSLOI5L.js} +2 -2
  35. package/cdn/chunks/{chunk.J3A7VDK5.js → chunk.EKKWPXJL.js} +32 -12
  36. package/cdn/chunks/{chunk.HYTYRM6S.js → chunk.ER5ZWWSU.js} +10 -5
  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.JBUFTMYB.js → chunk.GCLAPOSZ.js} +1 -1
  40. package/cdn/chunks/{chunk.W2MICEQN.js → chunk.GN3AVMBZ.js} +1 -1
  41. package/cdn/chunks/{chunk.UAQ7MMLI.js → chunk.GS6TNOKD.js} +3 -3
  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.DKFGG7WX.js → chunk.ISEH6AO6.js} +10 -3
  51. package/cdn/chunks/{chunk.4NC4QO64.js → chunk.J6J6XRPR.js} +1 -1
  52. package/cdn/chunks/{chunk.Y4RIWPTX.js → chunk.JHXMD4L2.js} +2 -2
  53. package/cdn/chunks/{chunk.A33BZOMA.js → chunk.JIUJNSW6.js} +2 -2
  54. package/cdn/chunks/{chunk.XPL6N3OJ.js → chunk.JLZQJQF4.js} +9 -12
  55. package/cdn/chunks/{chunk.FHTVGJJI.js → chunk.JXHXRRPX.js} +1 -1
  56. package/cdn/chunks/{chunk.7KCFANDH.js → chunk.KCPXZK3D.js} +1 -1
  57. package/cdn/chunks/chunk.KNY4ZIQ7.js +282 -0
  58. package/cdn/chunks/{chunk.I4EWJGZZ.js → chunk.KS7QG726.js} +10 -3
  59. package/cdn/chunks/{chunk.OP36PAMU.js → chunk.LBM4RHMA.js} +4 -2
  60. package/cdn/chunks/{chunk.ZLWLHLBC.js → chunk.LICWCBKN.js} +12 -0
  61. package/cdn/chunks/{chunk.RPRWT2IH.js → chunk.M53HNM5Y.js} +10 -9
  62. package/cdn/chunks/{chunk.OIOL7U5V.js → chunk.MNE7AANP.js} +1 -1
  63. package/cdn/chunks/{chunk.CYMM2ZAV.js → chunk.NX5D5OTS.js} +9 -2
  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.DNQJR4KR.js → chunk.OMPBUYUW.js} +1 -3
  68. package/cdn/chunks/{chunk.45JVH3EU.js → chunk.OZVVCEKQ.js} +1 -1
  69. package/cdn/chunks/{chunk.ATHAYO6A.js → chunk.P5KRELMB.js} +60 -213
  70. package/cdn/chunks/{chunk.BNPGOQZ2.js → chunk.P7D7IUHT.js} +1 -1
  71. package/cdn/chunks/{chunk.LNBAAP45.js → chunk.QEPPYDSN.js} +3 -3
  72. package/cdn/chunks/{chunk.XSXBXWVS.js → chunk.QFP2EIRS.js} +1 -0
  73. package/cdn/chunks/{chunk.YS6XV3LD.js → chunk.RJUKDJQG.js} +8 -3
  74. package/cdn/chunks/{chunk.NSE76EM5.js → chunk.ROGVB4AO.js} +2 -2
  75. package/cdn/chunks/{chunk.RJROYRRA.js → chunk.RXUJBLKT.js} +1 -1
  76. package/cdn/chunks/{chunk.YWD53U3T.js → chunk.S3G2QBTA.js} +3 -3
  77. package/cdn/chunks/{chunk.HNDRJ3LR.js → chunk.SE7W7XMK.js} +1 -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.TGMW5D2F.js +93 -0
  82. package/cdn/chunks/{chunk.P5N74W74.js → chunk.THMGZ3JS.js} +1 -1
  83. package/cdn/chunks/{chunk.YQQNMFZF.js → chunk.TO65OMN5.js} +45 -36
  84. package/cdn/chunks/{chunk.XQAKSW3W.js → chunk.TOWWOPMH.js} +3 -3
  85. package/cdn/chunks/{chunk.6CF6SXDF.js → chunk.U5Q3HCRP.js} +1 -1
  86. package/cdn/chunks/{chunk.RPF6UDR4.js → chunk.US6UTTN5.js} +1 -1
  87. package/cdn/chunks/{chunk.3CJGMKTJ.js → chunk.V5TMX44U.js} +1 -1
  88. package/cdn/chunks/{chunk.3OPTPDM7.js → chunk.VGXDHXD4.js} +1 -1
  89. package/cdn/chunks/{chunk.XLX7QTXT.js → chunk.VZJGVIXG.js} +1 -0
  90. package/cdn/chunks/{chunk.WCF4VYWI.js → chunk.VZPL3NCB.js} +3 -3
  91. package/cdn/chunks/{chunk.NC6BC5GU.js → chunk.W2B6WXUI.js} +17 -1
  92. package/cdn/chunks/{chunk.XWKSA3TQ.js → chunk.W547AC5O.js} +1 -1
  93. package/cdn/chunks/chunk.W6N2ZQTH.js +677 -0
  94. package/cdn/chunks/{chunk.CVV4WLBC.js → chunk.WMMK7OL4.js} +19 -12
  95. package/cdn/chunks/{chunk.77CWRZEL.js → chunk.WY2HI4TL.js} +1 -1
  96. package/cdn/chunks/{chunk.2APAO2OW.js → chunk.WYBADVDH.js} +29 -20
  97. package/cdn/chunks/{chunk.5BF76EO7.js → chunk.YA7ZX7VM.js} +1 -1
  98. package/cdn/chunks/{chunk.NVI4N3YH.js → chunk.YDBMOXIS.js} +1 -1
  99. package/cdn/chunks/chunk.YGAW4V4H.js +44 -0
  100. package/cdn/chunks/{chunk.DSKRAAOI.js → chunk.Z7VB7VAD.js} +1 -1
  101. package/cdn/chunks/{chunk.M5Z546V7.js → chunk.ZEPLEFIQ.js} +1 -1
  102. package/cdn/chunks/{chunk.YSKUVTPO.js → chunk.ZLZIVCPW.js} +1 -1
  103. package/cdn/chunks/{chunk.KELDA33H.js → chunk.ZTXQFGQX.js} +2 -2
  104. package/cdn/chunks/{chunk.APACKBZF.js → chunk.ZUJJYUHF.js} +1 -1
  105. package/cdn/chunks/{core-js.JQALWJRI.js → core-js.TKFIM466.js} +1 -1
  106. package/cdn/chunks/{dom.47DVCSJV.js → dom.6JFLMPA6.js} +1 -1
  107. package/cdn/chunks/{wc-datepicker.entry.XBA7YLCU.js → wc-datepicker.entry.Y6YDPVTT.js} +3 -3
  108. package/cdn/components/accordion/accordion.js +5 -5
  109. package/cdn/components/alert/alert.js +5 -5
  110. package/cdn/components/avatar/avatar.js +4 -4
  111. package/cdn/components/breadcrumb/breadcrumb.js +5 -5
  112. package/cdn/components/breadcrumb-item/breadcrumb-item.js +2 -2
  113. package/cdn/components/button/button.d.ts +1 -1
  114. package/cdn/components/button/button.js +7 -7
  115. package/cdn/components/button/button.styles.js +1 -1
  116. package/cdn/components/calendar/calendar.js +4 -4
  117. package/cdn/components/callout/callout.js +3 -3
  118. package/cdn/components/checkbox/checkbox.d.ts +6 -3
  119. package/cdn/components/checkbox/checkbox.js +11 -9
  120. package/cdn/components/checkbox/checkbox.styles.js +2 -2
  121. package/cdn/components/checkbox-button/checkbox-button.js +17 -6
  122. package/cdn/components/checkbox-card/checkbox-card.d.ts +25 -0
  123. package/cdn/components/checkbox-card/checkbox-card.js +27 -0
  124. package/cdn/components/checkbox-group/checkbox-group.d.ts +5 -3
  125. package/cdn/components/checkbox-group/checkbox-group.js +6 -6
  126. package/cdn/components/checkbox-group/checkbox-group.styles.js +2 -2
  127. package/cdn/components/combobox/combobox.js +11 -11
  128. package/cdn/components/combobox/combobox.styles.js +2 -2
  129. package/cdn/components/dialog/dialog.d.ts +11 -5
  130. package/cdn/components/dialog/dialog.js +6 -6
  131. package/cdn/components/dialog/dialog.styles.js +1 -1
  132. package/cdn/components/download-card/download-card.js +3 -3
  133. package/cdn/components/download-link/download-link.js +3 -3
  134. package/cdn/components/drawer/drawer.js +5 -5
  135. package/cdn/components/dropdown/dropdown.js +3 -3
  136. package/cdn/components/error-message-panel/error-message-panel.js +2 -2
  137. package/cdn/components/error-text/error-text.js +3 -3
  138. package/cdn/components/file-upload/file-upload.js +7 -7
  139. package/cdn/components/file-upload/file-upload.styles.js +2 -2
  140. package/cdn/components/file-upload-item/file-upload-item.js +5 -4
  141. package/cdn/components/filter-base/filter-base.js +7 -7
  142. package/cdn/components/filter-button/filter-button.js +5 -5
  143. package/cdn/components/filter-counter/filter-counter.js +27 -21
  144. package/cdn/components/filter-date/filter-date.js +12 -12
  145. package/cdn/components/filter-range/filter-range.js +28 -22
  146. package/cdn/components/filter-select/filter-select.js +27 -24
  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 +21 -15
  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 +14 -14
  164. package/cdn/components/input-date/input-date.styles.js +3 -3
  165. package/cdn/components/input-mask/input-mask.js +8 -8
  166. package/cdn/components/input-mask/input-mask.styles.js +2 -2
  167. package/cdn/components/input-otp/input-otp.js +7 -7
  168. package/cdn/components/input-otp/input-otp.styles.js +2 -2
  169. package/cdn/components/input-phone/input-phone.js +14 -14
  170. package/cdn/components/input-phone/input-phone.styles.js +2 -2
  171. package/cdn/components/input-time/input-time.d.ts +121 -0
  172. package/cdn/components/input-time/input-time.js +50 -0
  173. package/cdn/components/input-time/input-time.styles.d.ts +2 -0
  174. package/cdn/components/input-time/input-time.styles.js +12 -0
  175. package/cdn/components/input-time/input-time.utils.d.ts +17 -0
  176. package/cdn/components/input-time/input-time.utils.js +13 -0
  177. package/cdn/components/menu-accordion/menu-accordion.js +5 -5
  178. package/cdn/components/menu-item/menu-item.js +4 -4
  179. package/cdn/components/navbar-link/navbar-link.js +4 -4
  180. package/cdn/components/navbar-menu/navbar-menu.js +6 -6
  181. package/cdn/components/option/option.js +5 -5
  182. package/cdn/components/pagination/pagination.js +25 -21
  183. package/cdn/components/pagination-button/pagination-button.js +3 -3
  184. package/cdn/components/pagination-button/pagination-button.styles.js +2 -2
  185. package/cdn/components/popup/popup.js +1 -1
  186. package/cdn/components/profile-button/profile-button.js +8 -8
  187. package/cdn/components/progress-bar/progress-bar.d.ts +1 -1
  188. package/cdn/components/progress-bar/progress-bar.js +2 -2
  189. package/cdn/components/progress-ring/progress-ring.d.ts +2 -2
  190. package/cdn/components/progress-ring/progress-ring.js +1 -1
  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 +9 -10
  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 +3 -3
  200. package/cdn/components/radio-group/radio-group.js +6 -8
  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.js +10 -10
  204. package/cdn/components/select/select.styles.js +2 -2
  205. package/cdn/components/skip-links/skip-links.js +2 -2
  206. package/cdn/components/spinner/spinner.js +2 -2
  207. package/cdn/components/split-panel/split-panel.js +5 -5
  208. package/cdn/components/step/step.js +5 -5
  209. package/cdn/components/switch/switch.d.ts +84 -0
  210. package/cdn/components/switch/switch.js +30 -0
  211. package/cdn/components/switch/switch.styles.d.ts +2 -0
  212. package/cdn/components/switch/switch.styles.js +9 -0
  213. package/cdn/components/tab/tab.js +5 -5
  214. package/cdn/components/tab-group/tab-group.js +5 -5
  215. package/cdn/components/table-action/table-action.js +2 -2
  216. package/cdn/components/table-body/table-body.js +1 -1
  217. package/cdn/components/table-caption/table-caption.js +2 -2
  218. package/cdn/components/table-header-cell/table-header-cell.js +3 -3
  219. package/cdn/components/table-header-row/table-header-row.js +14 -13
  220. package/cdn/components/table-of-contents/table-of-contents.js +2 -2
  221. package/cdn/components/table-row/table-row.js +12 -11
  222. package/cdn/components/tag/tag.js +5 -5
  223. package/cdn/components/textarea/textarea.js +7 -7
  224. package/cdn/components/textarea/textarea.styles.js +2 -2
  225. package/cdn/components/tooltip/tooltip.js +3 -3
  226. package/cdn/components/tree/tree.js +15 -13
  227. package/cdn/components/tree-item/tree-item.js +14 -12
  228. package/cdn/custom-elements.json +4420 -2982
  229. package/cdn/design-system.d.ts +6 -2
  230. package/cdn/design-system.js +343 -166
  231. package/cdn/internal/components/checkbox-box/checkbox-box.d.ts +27 -0
  232. package/cdn/internal/components/checkbox-box/checkbox-box.js +94 -0
  233. package/cdn/internal/components/checkbox-box/checkbox-box.styles.d.ts +2 -0
  234. package/cdn/internal/components/checkbox-box/checkbox-box.styles.js +98 -0
  235. package/cdn/internal/components/date-field/date-field.d.ts +1 -0
  236. package/cdn/internal/components/date-field/date-field.js +38 -21
  237. package/cdn/internal/components/form-control/form-control-layout.d.ts +1 -1
  238. package/cdn/internal/components/form-control/form-control-layout.js +4 -3
  239. package/cdn/internal/components/form-selectable-card/form-selectable-card-stories.d.ts +2 -0
  240. package/cdn/internal/components/form-selectable-card/form-selectable-card-stories.js +77 -0
  241. package/cdn/internal/components/form-selectable-card/form-selectable-card.d.ts +38 -0
  242. package/cdn/internal/components/form-selectable-card/form-selectable-card.js +182 -0
  243. package/cdn/internal/components/form-selectable-card/form-selectable-card.styles.d.ts +2 -0
  244. package/cdn/internal/components/form-selectable-card/form-selectable-card.styles.js +141 -0
  245. package/cdn/internal/components/form-toggle-button/form-toggle-button.d.ts +5 -1
  246. package/cdn/internal/components/form-toggle-button/form-toggle-button.js +29 -9
  247. package/cdn/internal/components/form-toggle-button/form-toggle-button.styles.js +7 -0
  248. package/cdn/internal/components/radio-icon/radio-icon.d.ts +22 -0
  249. package/cdn/internal/components/radio-icon/radio-icon.js +66 -0
  250. package/cdn/internal/components/radio-icon/radio-icon.styles.d.ts +2 -0
  251. package/cdn/internal/components/radio-icon/radio-icon.styles.js +95 -0
  252. package/cdn/styles/form-control.styles.js +17 -1
  253. package/cdn/themes/dsa-wc-theme.css +160 -5
  254. package/cdn/themes/dsa-wc-theme.min.css +1 -1
  255. package/cdn/themes/dsa-wc-theme.styles.js +164 -5
  256. package/cdn/translations/en-gb.js +1 -1
  257. package/cdn/translations/en.js +1 -1
  258. package/cdn/translations/fr.js +1 -1
  259. package/cdn/utilities/date.js +1 -1
  260. package/cdn/utilities/icon-library.js +2 -2
  261. package/cdn/utilities/localize.d.ts +6 -0
  262. package/cdn/utilities/localize.js +1 -1
  263. package/cdn/vscode.html-custom-data.json +190 -35
  264. package/cdn/web-types.json +1048 -221
  265. package/dist/chunks/chunk.2BZBH3CX.js +158 -0
  266. package/dist/chunks/{chunk.JCL6HX6O.js → chunk.2GRTPJX3.js} +1 -1
  267. package/dist/chunks/{chunk.I2PWWNDZ.js → chunk.2KECVLQH.js} +3 -3
  268. package/dist/chunks/{chunk.CPCLGC5J.js → chunk.2O3M7HBZ.js} +1 -1
  269. package/dist/chunks/{chunk.XJMGXWLM.js → chunk.2W6FOXSH.js} +45 -36
  270. package/dist/chunks/{chunk.ZCWLSBSD.js → chunk.2YE5HPSL.js} +5 -4
  271. package/dist/chunks/{chunk.EQZ4YFRU.js → chunk.3B3226HJ.js} +1 -1
  272. package/dist/chunks/{chunk.RWGL6D5U.js → chunk.3EAWXV27.js} +1 -1
  273. package/dist/chunks/{chunk.UEWG3G4R.js → chunk.3HX6HRHC.js} +9 -2
  274. package/dist/chunks/{chunk.LTCZARVI.js → chunk.3JLROK74.js} +29 -20
  275. package/dist/chunks/{chunk.5P2EEOC5.js → chunk.3NNE7XGI.js} +2 -2
  276. package/dist/chunks/{chunk.FQB6S2KS.js → chunk.3SX7AERB.js} +1 -1
  277. package/dist/chunks/{chunk.UDJJFUZ3.js → chunk.4C3EA7WT.js} +2 -2
  278. package/dist/chunks/{chunk.O3AR4B4F.js → chunk.4YOAT5R7.js} +2 -2
  279. package/dist/chunks/{chunk.WRPRKCVY.js → chunk.52CUBOF2.js} +5 -5
  280. package/dist/chunks/{chunk.LGA24XY2.js → chunk.54KX7M52.js} +1 -1
  281. package/dist/chunks/{chunk.IZDRWFAB.js → chunk.5NUQTJJR.js} +1 -1
  282. package/dist/chunks/{chunk.KUYI27GJ.js → chunk.5NXRUN57.js} +84 -242
  283. package/dist/chunks/{chunk.BQQ2GUR6.js → chunk.6K4LF64W.js} +1 -1
  284. package/dist/chunks/{chunk.GGXJ2MP3.js → chunk.6KWCQDRD.js} +32 -12
  285. package/dist/chunks/{chunk.2EDNCADP.js → chunk.6SDBUBGE.js} +1 -0
  286. package/dist/chunks/{chunk.DHDRABMZ.js → chunk.6UCJKKYR.js} +2 -2
  287. package/dist/chunks/{chunk.IPZC55RV.js → chunk.6YEPFMKU.js} +6 -3
  288. package/dist/chunks/{chunk.BP4NJFKE.js → chunk.6ZJSEOLO.js} +1 -1
  289. package/dist/chunks/{chunk.B6LMEZTV.js → chunk.77ECBNUM.js} +1 -1
  290. package/dist/chunks/{chunk.UWGAOHHQ.js → chunk.7BE555XS.js} +3 -3
  291. package/dist/chunks/{chunk.DUTPVTUZ.js → chunk.7KMMSAQN.js} +1 -1
  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.7DBNKQ7N.js → chunk.BALZ7HK5.js} +4 -2
  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.P45DWAWT.js → chunk.CAYHSQZJ.js} +1 -1
  298. package/dist/chunks/{chunk.2XRDIFUO.js → chunk.CEGU6OTH.js} +1 -1
  299. package/dist/chunks/{chunk.QRCGXHRO.js → chunk.CQR34TNY.js} +1 -0
  300. package/dist/chunks/{chunk.VNFFOE7Z.js → chunk.CWDSCTUA.js} +1 -1
  301. package/dist/chunks/{chunk.6ZAEF56K.js → chunk.DB3EDROT.js} +1 -1
  302. package/dist/chunks/{chunk.RZT42FVN.js → chunk.DIM7WDHO.js} +1 -1
  303. package/dist/chunks/{chunk.W7TI3W77.js → chunk.DLE3F4GC.js} +1 -1
  304. package/dist/chunks/chunk.E45DVVIM.js +271 -0
  305. package/dist/chunks/{chunk.LB54GRRB.js → chunk.EAYW5L6J.js} +2 -2
  306. package/dist/chunks/{chunk.QDKQMUIQ.js → chunk.EIZK62ST.js} +17 -1
  307. package/dist/chunks/{chunk.T6UX2FVU.js → chunk.EK7OT2VJ.js} +4 -4
  308. package/dist/chunks/{chunk.FKXOTDTY.js → chunk.ERN34WYC.js} +5 -5
  309. package/dist/chunks/{chunk.3TJPAISV.js → chunk.FC2HFFUI.js} +1 -1
  310. package/dist/chunks/chunk.FK5HR2F4.js +100 -0
  311. package/dist/chunks/{chunk.XRZGSSHY.js → chunk.FWVIQUG4.js} +1 -1
  312. package/dist/chunks/{chunk.BDO6TPPP.js → chunk.G6JRMCFB.js} +32 -32
  313. package/dist/chunks/{chunk.DDDHV2NU.js → chunk.GZO5TQGU.js} +4 -3
  314. package/dist/chunks/{chunk.NHXG2KMS.js → chunk.HAYCQF2N.js} +1 -1
  315. package/dist/chunks/{chunk.3XIJ443Y.js → chunk.HEOHHRVV.js} +1 -13
  316. package/{cdn/chunks/chunk.3TUFAITJ.js → dist/chunks/chunk.HJU52GCK.js} +1 -1
  317. package/dist/chunks/{chunk.PUYBBM4K.js → chunk.HTBAICPA.js} +1 -1
  318. package/dist/chunks/{chunk.L2EOSD7N.js → chunk.IHTWK22H.js} +1 -3
  319. package/dist/chunks/{chunk.IPUOJRFA.js → chunk.IIYPN5OC.js} +1 -1
  320. package/dist/chunks/chunk.IONY2GZF.js +72 -0
  321. package/dist/chunks/chunk.ITAWMEY7.js +42 -0
  322. package/dist/chunks/{chunk.SYVX56PU.js → chunk.ITUK4PON.js} +1 -1
  323. package/dist/chunks/{chunk.2JIPPL3I.js → chunk.JEZOETYM.js} +27 -6
  324. package/dist/chunks/{chunk.WELYJWNG.js → chunk.JNZTWND7.js} +6 -1
  325. package/dist/chunks/{chunk.VBW5RZBM.js → chunk.K3HEMTRQ.js} +1 -1
  326. package/dist/chunks/{chunk.2VH3OZ2T.js → chunk.K53YJ3XK.js} +1 -1
  327. package/dist/chunks/{chunk.2VBJKC24.js → chunk.KFUZ6JMQ.js} +1 -1
  328. package/dist/chunks/chunk.KGZLC7FO.js +91 -0
  329. package/dist/chunks/chunk.KQJQQDCQ.js +664 -0
  330. package/dist/chunks/{chunk.IF24VKLH.js → chunk.L66AKAXM.js} +1 -1
  331. package/dist/chunks/{chunk.VT3IWNRD.js → chunk.LE5LHO5Y.js} +1 -1
  332. package/dist/chunks/{chunk.I5HR7JYK.js → chunk.LGDM46D4.js} +3 -3
  333. package/dist/chunks/{chunk.MJKJSMQX.js → chunk.LGVJZXUH.js} +9 -12
  334. package/dist/chunks/{chunk.47JHZBMB.js → chunk.M5QF4L4W.js} +1 -1
  335. package/dist/chunks/{chunk.WUOMKASN.js → chunk.MAENDYI7.js} +43 -53
  336. package/dist/chunks/{chunk.3OHVWJYG.js → chunk.NF5ELBI4.js} +2 -2
  337. package/dist/chunks/{chunk.L3LZ4MKX.js → chunk.NHPMJYPM.js} +6 -3
  338. package/dist/chunks/{chunk.3Z33EVFU.js → chunk.NPCMEZGE.js} +1 -1
  339. package/dist/chunks/chunk.NVQTI6CK.js +44 -0
  340. package/dist/chunks/chunk.ODXKNTKC.js +21 -0
  341. package/dist/chunks/{chunk.IZACKXPC.js → chunk.P3CATWXI.js} +1 -1
  342. package/dist/chunks/{chunk.AVHERTGT.js → chunk.PTFOYYGJ.js} +1 -1
  343. package/dist/chunks/chunk.PWVYG6XN.js +181 -0
  344. package/dist/chunks/{chunk.KN6RQWYN.js → chunk.QBHSEMUU.js} +10 -5
  345. package/dist/chunks/{chunk.JIWB4B3J.js → chunk.RCN745RS.js} +2 -2
  346. package/dist/chunks/{chunk.XPSUKRU5.js → chunk.SP5JKDHH.js} +1 -3
  347. package/dist/chunks/{chunk.ZSBVQKVM.js → chunk.SWP3OZUN.js} +1 -1
  348. package/dist/chunks/{chunk.KLKJ2LRK.js → chunk.T2OLM5TG.js} +1 -1
  349. package/dist/chunks/{chunk.Y52TCF24.js → chunk.THO67JP2.js} +3 -3
  350. package/dist/chunks/chunk.TZFYJ4KJ.js +311 -0
  351. package/dist/chunks/{chunk.QLA2JXR7.js → chunk.U7ZMMMJ3.js} +12 -0
  352. package/dist/chunks/{chunk.UNO3SMWX.js → chunk.UG7D663E.js} +1 -1
  353. package/dist/chunks/{chunk.H3FSR35C.js → chunk.UJAK75R6.js} +77 -36
  354. package/dist/chunks/{chunk.EP7LLKJN.js → chunk.V75T6QXR.js} +1 -1
  355. package/dist/chunks/chunk.VKIBAACD.js +226 -0
  356. package/dist/chunks/{chunk.FQMS24GI.js → chunk.WB2DWTAB.js} +1 -1
  357. package/dist/chunks/{chunk.F6UPK2KI.js → chunk.WIVRYVXD.js} +1 -1
  358. package/dist/chunks/{chunk.5DXVFMIN.js → chunk.WOJO2VFN.js} +1 -1
  359. package/dist/chunks/{chunk.6QAB5TYJ.js → chunk.WPIYFGT2.js} +1 -1
  360. package/dist/chunks/{chunk.ECZMLO4V.js → chunk.X6UZBREW.js} +1 -1
  361. package/dist/chunks/{chunk.6JHM36KH.js → chunk.XE37RME4.js} +40 -28
  362. package/dist/chunks/{chunk.LSZ7ATDZ.js → chunk.XMPGIWRA.js} +1 -1
  363. package/dist/chunks/{chunk.AH74EN4A.js → chunk.YOMZYBQL.js} +1 -1
  364. package/dist/chunks/{chunk.KFRR2I2P.js → chunk.YVOXMJ6Q.js} +1 -1
  365. package/dist/chunks/{chunk.Z7DBDDCZ.js → chunk.YZTXGQRN.js} +19 -12
  366. package/dist/components/accordion/accordion.js +5 -5
  367. package/dist/components/alert/alert.js +5 -5
  368. package/dist/components/avatar/avatar.js +4 -4
  369. package/dist/components/breadcrumb/breadcrumb.js +5 -5
  370. package/dist/components/breadcrumb-item/breadcrumb-item.js +2 -2
  371. package/dist/components/button/button.d.ts +1 -1
  372. package/dist/components/button/button.js +7 -7
  373. package/dist/components/button/button.styles.js +1 -1
  374. package/dist/components/calendar/calendar.js +3 -3
  375. package/dist/components/callout/callout.js +3 -3
  376. package/dist/components/checkbox/checkbox.d.ts +6 -3
  377. package/dist/components/checkbox/checkbox.js +10 -9
  378. package/dist/components/checkbox/checkbox.styles.js +2 -2
  379. package/dist/components/checkbox-button/checkbox-button.js +17 -6
  380. package/dist/components/checkbox-card/checkbox-card.d.ts +25 -0
  381. package/dist/components/checkbox-card/checkbox-card.js +21 -0
  382. package/dist/components/checkbox-group/checkbox-group.d.ts +5 -3
  383. package/dist/components/checkbox-group/checkbox-group.js +6 -6
  384. package/dist/components/checkbox-group/checkbox-group.styles.js +2 -2
  385. package/dist/components/combobox/combobox.js +10 -10
  386. package/dist/components/combobox/combobox.styles.js +2 -2
  387. package/dist/components/dialog/dialog.d.ts +11 -5
  388. package/dist/components/dialog/dialog.js +6 -6
  389. package/dist/components/dialog/dialog.styles.js +1 -1
  390. package/dist/components/download-card/download-card.js +3 -3
  391. package/dist/components/download-link/download-link.js +3 -3
  392. package/dist/components/drawer/drawer.js +5 -5
  393. package/dist/components/dropdown/dropdown.js +2 -2
  394. package/dist/components/error-message-panel/error-message-panel.js +2 -2
  395. package/dist/components/error-text/error-text.js +3 -3
  396. package/dist/components/file-upload/file-upload.js +7 -7
  397. package/dist/components/file-upload/file-upload.styles.js +2 -2
  398. package/dist/components/file-upload-item/file-upload-item.js +4 -4
  399. package/dist/components/filter-base/filter-base.js +6 -6
  400. package/dist/components/filter-button/filter-button.js +5 -5
  401. package/dist/components/filter-counter/filter-counter.js +25 -19
  402. package/dist/components/filter-date/filter-date.js +10 -10
  403. package/dist/components/filter-range/filter-range.js +26 -20
  404. package/dist/components/filter-select/filter-select.js +25 -22
  405. package/dist/components/footer/footer.js +3 -3
  406. package/dist/components/footer/footer.styles.js +1 -1
  407. package/dist/components/format-bytes/format-bytes.js +2 -2
  408. package/dist/components/format-date/format-date.js +2 -2
  409. package/dist/components/format-number/format-number.js +2 -2
  410. package/dist/components/header/header.js +3 -3
  411. package/dist/components/header/header.styles.js +1 -1
  412. package/dist/components/header-search/header-search.js +8 -8
  413. package/dist/components/icon/icon.js +3 -3
  414. package/dist/components/icon/library.js +2 -2
  415. package/dist/components/icon/library.system.js +1 -1
  416. package/dist/components/icon-button/icon-button.js +3 -3
  417. package/dist/components/input/input.d.ts +3 -7
  418. package/dist/components/input/input.js +19 -13
  419. package/dist/components/input/input.styles.js +2 -2
  420. package/dist/components/input-date/input-date.d.ts +7 -2
  421. package/dist/components/input-date/input-date.js +12 -12
  422. package/dist/components/input-date/input-date.styles.js +3 -3
  423. package/dist/components/input-mask/input-mask.js +8 -8
  424. package/dist/components/input-mask/input-mask.styles.js +2 -2
  425. package/dist/components/input-otp/input-otp.js +7 -7
  426. package/dist/components/input-otp/input-otp.styles.js +2 -2
  427. package/dist/components/input-phone/input-phone.js +13 -13
  428. package/dist/components/input-phone/input-phone.styles.js +2 -2
  429. package/dist/components/input-time/input-time.d.ts +121 -0
  430. package/dist/components/input-time/input-time.js +42 -0
  431. package/dist/components/input-time/input-time.styles.d.ts +2 -0
  432. package/dist/components/input-time/input-time.styles.js +10 -0
  433. package/dist/components/input-time/input-time.utils.d.ts +17 -0
  434. package/dist/components/input-time/input-time.utils.js +13 -0
  435. package/dist/components/menu-accordion/menu-accordion.js +5 -5
  436. package/dist/components/menu-item/menu-item.js +4 -4
  437. package/dist/components/navbar-link/navbar-link.js +4 -4
  438. package/dist/components/navbar-menu/navbar-menu.js +5 -5
  439. package/dist/components/option/option.js +5 -5
  440. package/dist/components/pagination/pagination.js +23 -19
  441. package/dist/components/pagination-button/pagination-button.js +3 -3
  442. package/dist/components/pagination-button/pagination-button.styles.js +2 -2
  443. package/dist/components/profile-button/profile-button.js +7 -7
  444. package/dist/components/progress-bar/progress-bar.d.ts +1 -1
  445. package/dist/components/progress-bar/progress-bar.js +2 -2
  446. package/dist/components/progress-ring/progress-ring.d.ts +2 -2
  447. package/dist/components/progress-ring/progress-ring.js +1 -1
  448. package/dist/components/quote/quote.js +3 -3
  449. package/dist/components/radio/radio.d.ts +6 -5
  450. package/dist/components/radio/radio.js +6 -5
  451. package/dist/components/radio/radio.styles.js +1 -1
  452. package/dist/components/radio-button/radio-button.d.ts +1 -1
  453. package/dist/components/radio-button/radio-button.js +9 -10
  454. package/dist/components/radio-card/radio-card.d.ts +24 -0
  455. package/dist/components/radio-card/radio-card.js +33 -0
  456. package/dist/components/radio-group/radio-group.d.ts +3 -3
  457. package/dist/components/radio-group/radio-group.js +6 -7
  458. package/dist/components/radio-group/radio-group.styles.js +2 -2
  459. package/dist/components/relative-time/relative-time.js +2 -2
  460. package/dist/components/select/select.js +9 -9
  461. package/dist/components/select/select.styles.js +2 -2
  462. package/dist/components/skip-links/skip-links.js +2 -2
  463. package/dist/components/spinner/spinner.js +2 -2
  464. package/dist/components/split-panel/split-panel.js +5 -5
  465. package/dist/components/step/step.js +5 -5
  466. package/dist/components/switch/switch.d.ts +84 -0
  467. package/dist/components/switch/switch.js +23 -0
  468. package/dist/components/switch/switch.styles.d.ts +2 -0
  469. package/dist/components/switch/switch.styles.js +7 -0
  470. package/dist/components/tab/tab.js +5 -5
  471. package/dist/components/tab-group/tab-group.js +5 -5
  472. package/dist/components/table-action/table-action.js +2 -2
  473. package/dist/components/table-body/table-body.js +1 -1
  474. package/dist/components/table-caption/table-caption.js +2 -2
  475. package/dist/components/table-header-cell/table-header-cell.js +3 -3
  476. package/dist/components/table-header-row/table-header-row.js +14 -13
  477. package/dist/components/table-of-contents/table-of-contents.js +2 -2
  478. package/dist/components/table-row/table-row.js +12 -11
  479. package/dist/components/tag/tag.js +5 -5
  480. package/dist/components/textarea/textarea.js +7 -7
  481. package/dist/components/textarea/textarea.styles.js +2 -2
  482. package/dist/components/tooltip/tooltip.js +2 -2
  483. package/dist/components/tree/tree.js +14 -13
  484. package/dist/components/tree-item/tree-item.js +13 -12
  485. package/dist/custom-elements.json +4420 -2982
  486. package/dist/design-system.d.ts +6 -2
  487. package/dist/design-system.js +334 -161
  488. package/dist/internal/components/checkbox-box/checkbox-box.d.ts +27 -0
  489. package/dist/internal/components/checkbox-box/checkbox-box.js +94 -0
  490. package/dist/internal/components/checkbox-box/checkbox-box.styles.d.ts +2 -0
  491. package/dist/internal/components/checkbox-box/checkbox-box.styles.js +98 -0
  492. package/dist/internal/components/date-field/date-field.d.ts +1 -0
  493. package/dist/internal/components/date-field/date-field.js +38 -21
  494. package/dist/internal/components/form-control/form-control-layout.d.ts +1 -1
  495. package/dist/internal/components/form-control/form-control-layout.js +4 -3
  496. package/dist/internal/components/form-selectable-card/form-selectable-card-stories.d.ts +2 -0
  497. package/dist/internal/components/form-selectable-card/form-selectable-card-stories.js +77 -0
  498. package/dist/internal/components/form-selectable-card/form-selectable-card.d.ts +38 -0
  499. package/dist/internal/components/form-selectable-card/form-selectable-card.js +182 -0
  500. package/dist/internal/components/form-selectable-card/form-selectable-card.styles.d.ts +2 -0
  501. package/dist/internal/components/form-selectable-card/form-selectable-card.styles.js +141 -0
  502. package/dist/internal/components/form-toggle-button/form-toggle-button.d.ts +5 -1
  503. package/dist/internal/components/form-toggle-button/form-toggle-button.js +29 -9
  504. package/dist/internal/components/form-toggle-button/form-toggle-button.styles.js +7 -0
  505. package/dist/internal/components/radio-icon/radio-icon.d.ts +22 -0
  506. package/dist/internal/components/radio-icon/radio-icon.js +66 -0
  507. package/dist/internal/components/radio-icon/radio-icon.styles.d.ts +2 -0
  508. package/dist/internal/components/radio-icon/radio-icon.styles.js +95 -0
  509. package/dist/styles/form-control.styles.js +17 -1
  510. package/dist/themes/dsa-wc-theme.css +160 -5
  511. package/dist/themes/dsa-wc-theme.min.css +1 -1
  512. package/dist/themes/dsa-wc-theme.styles.js +164 -5
  513. package/dist/translations/en-gb.js +1 -1
  514. package/dist/translations/en.js +1 -1
  515. package/dist/translations/fr.js +1 -1
  516. package/dist/utilities/date.js +1 -1
  517. package/dist/utilities/icon-library.js +2 -2
  518. package/dist/utilities/localize.d.ts +6 -0
  519. package/dist/utilities/localize.js +1 -1
  520. package/dist/vscode.html-custom-data.json +190 -35
  521. package/dist/web-types.json +1048 -221
  522. package/package.json +26 -26
  523. package/cdn/chunks/chunk.5LXQ3RKQ.js +0 -41
  524. package/cdn/chunks/chunk.N3WADQAB.js +0 -157
  525. package/cdn/chunks/chunk.ZIPOQO6F.js +0 -188
  526. package/dist/chunks/chunk.35CKPBLE.js +0 -155
  527. package/dist/chunks/chunk.6HR34L7E.js +0 -39
  528. package/dist/chunks/chunk.GDOUDNZH.js +0 -186
@@ -0,0 +1,102 @@
1
+ import {
2
+ form_control_styles_default
3
+ } from "./chunk.W2B6WXUI.js";
4
+ import {
5
+ component_styles_default
6
+ } from "./chunk.PSQJDSB2.js";
7
+ import {
8
+ i
9
+ } from "./chunk.4KHZQZ3M.js";
10
+
11
+ // src/components/checkbox/checkbox.styles.ts
12
+ var checkbox_styles_default = i`
13
+ ${component_styles_default}
14
+ ${form_control_styles_default}
15
+ :host {
16
+ display: inline-block;
17
+ }
18
+
19
+ .form-control {
20
+ display: flex;
21
+ flex-direction: column;
22
+ }
23
+
24
+ .checkbox {
25
+ position: relative;
26
+ display: inline-flex;
27
+ align-items: flex-start;
28
+ color: var(--dsa-wc-checkbox-color);
29
+ vertical-align: middle;
30
+ cursor: pointer;
31
+ }
32
+
33
+ .checkbox--small {
34
+ --toggle-size: var(--dsa-wc-checkbox-size-small);
35
+ font: var(--dsa-wc-checkbox-font-small);
36
+ }
37
+
38
+ .checkbox--medium {
39
+ --toggle-size: var(--dsa-wc-checkbox-size);
40
+ font: var(--dsa-wc-checkbox-font);
41
+ }
42
+
43
+ .checkbox--large {
44
+ --toggle-size: var(--dsa-wc-checkbox-size-large);
45
+ font: var(--dsa-wc-checkbox-font-large);
46
+ }
47
+
48
+ .checkbox__input {
49
+ position: absolute;
50
+ opacity: 0;
51
+ padding: 0;
52
+ margin: 0;
53
+ pointer-events: none;
54
+ }
55
+
56
+ /* Focus */
57
+ .checkbox
58
+ .checkbox__input:focus-visible
59
+ ~ dsa-internal-checkbox-box::part(control) {
60
+ outline: var(--dsa-wc-focus-ring);
61
+ outline-offset: var(--dsa-wc-focus-ring-offset);
62
+ }
63
+
64
+ .checkbox__label:not(.checkbox--disabled) {
65
+ display: none;
66
+ }
67
+
68
+ .checkbox--has-label .checkbox__label:not(.checkbox--disabled) {
69
+ display: inline-block;
70
+ color: var(--dsa-wc-checkbox-color);
71
+ line-height: var(--toggle-size);
72
+ margin-inline-start: 0.5em;
73
+ user-select: none;
74
+ }
75
+
76
+ .checkbox__label-required {
77
+ color: var(--dsa-wc-form-required-content-color);
78
+ }
79
+
80
+ /* Disabled */
81
+ .checkbox--disabled {
82
+ cursor: not-allowed;
83
+ }
84
+ .checkbox--disabled:not(.checkbox--readonly) .checkbox__label {
85
+ color: var(--dsa-wc-checkbox-label-color-disabled);
86
+ }
87
+
88
+ /* Error */
89
+ .checkbox--error:not(.checkbox--disabled):not(.checkbox--readonly)
90
+ > .checkbox__label {
91
+ color: var(--dsa-wc-checkbox-label-color-error);
92
+ }
93
+
94
+ /* Readonly */
95
+ .checkbox--readonly {
96
+ cursor: not-allowed;
97
+ }
98
+ `;
99
+
100
+ export {
101
+ checkbox_styles_default
102
+ };
@@ -0,0 +1,23 @@
1
+ import {
2
+ form_control_styles_default
3
+ } from "./chunk.W2B6WXUI.js";
4
+ import {
5
+ component_styles_default
6
+ } from "./chunk.PSQJDSB2.js";
7
+ import {
8
+ i
9
+ } from "./chunk.4KHZQZ3M.js";
10
+
11
+ // src/components/checkbox-group/checkbox-group.styles.ts
12
+ var checkbox_group_styles_default = i`
13
+ ${component_styles_default}
14
+ ${form_control_styles_default}
15
+
16
+ :host {
17
+ display: block;
18
+ }
19
+ `;
20
+
21
+ export {
22
+ checkbox_group_styles_default
23
+ };
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk.2WRFDMKN.js";
16
16
  import {
17
17
  LocalizeController
18
- } from "./chunk.ZLWLHLBC.js";
18
+ } from "./chunk.LICWCBKN.js";
19
19
  import {
20
20
  watch
21
21
  } from "./chunk.4FQJ3QJK.js";
@@ -105,9 +105,7 @@ var DSAMenuItem = class extends ShoelaceElement {
105
105
  aria-current=${o(
106
106
  this.type === "link" ? this.current : void 0
107
107
  )}
108
- tabindex=${o(
109
- ["button", "link"].includes(this.type) && this.disabled ? "-1" : void 0
110
- )}
108
+ tabindex=${o(this.disabled ? "-1" : void 0)}
111
109
 
112
110
  >
113
111
  <slot name="prefix" part="prefix" class="menu-item__prefix"></slot>
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk.X3MRO4MI.js";
4
4
  import {
5
5
  LocalizeController
6
- } from "./chunk.ZLWLHLBC.js";
6
+ } from "./chunk.LICWCBKN.js";
7
7
  import {
8
8
  ShoelaceElement,
9
9
  e,
@@ -1,9 +1,9 @@
1
- import {
2
- radio_group_styles_default
3
- } from "./chunk.27YR5DC6.js";
4
1
  import {
5
2
  wrapIndex
6
3
  } from "./chunk.HV63L5BF.js";
4
+ import {
5
+ radio_group_styles_default
6
+ } from "./chunk.7S74KUA4.js";
7
7
  import {
8
8
  a11yWarning
9
9
  } from "./chunk.PWL7QCVG.js";
@@ -22,9 +22,6 @@ import {
22
22
  import {
23
23
  watch
24
24
  } from "./chunk.4FQJ3QJK.js";
25
- import {
26
- ifDefinedAndNotEmpty
27
- } from "./chunk.B6GVVW66.js";
28
25
  import {
29
26
  e as e2
30
27
  } from "./chunk.IKHG7XGO.js";
@@ -35,12 +32,6 @@ import {
35
32
  r,
36
33
  t
37
34
  } from "./chunk.DZB6XUZ7.js";
38
- import {
39
- component_styles_default
40
- } from "./chunk.PSQJDSB2.js";
41
- import {
42
- i
43
- } from "./chunk.4KHZQZ3M.js";
44
35
  import {
45
36
  x
46
37
  } from "./chunk.7HUC6BF3.js";
@@ -48,145 +39,6 @@ import {
48
39
  __decorateClass
49
40
  } from "./chunk.4ZGVANML.js";
50
41
 
51
- // src/internal/components/button-group/button-group.styles.ts
52
- var button_group_styles_default = i`
53
- ${component_styles_default}
54
-
55
- :host {
56
- display: inline-block;
57
- }
58
-
59
- .button-group {
60
- display: flex;
61
- flex-wrap: wrap;
62
- gap: var(--dsa-spacing-8);
63
- }
64
-
65
- .button-group--squeezed {
66
- gap: 0;
67
- }
68
-
69
- .button-group--vertical {
70
- flex-direction: column;
71
- min-width: 120px;
72
- max-width: 400px;
73
- }
74
-
75
- .button-group--horizontal {
76
- flex-direction: row;
77
- }
78
- `;
79
-
80
- // src/internal/components/button-group/button-group.ts
81
- var DSAInternalButtonGroup = class extends ShoelaceElement {
82
- constructor() {
83
- super(...arguments);
84
- this.disableRole = false;
85
- this.label = "";
86
- this.squeezed = false;
87
- this.horizontal = false;
88
- }
89
- handleFocus(event) {
90
- const button = findButton(event.target);
91
- button == null ? void 0 : button.classList.add("dsa-button-group__button--focus");
92
- }
93
- handleBlur(event) {
94
- const button = findButton(event.target);
95
- button == null ? void 0 : button.classList.remove("dsa-button-group__button--focus");
96
- }
97
- handleMouseOver(event) {
98
- const button = findButton(event.target);
99
- button == null ? void 0 : button.classList.add("dsa-button-group__button--hover");
100
- }
101
- handleMouseOut(event) {
102
- const button = findButton(event.target);
103
- button == null ? void 0 : button.classList.remove("dsa-button-group__button--hover");
104
- }
105
- handleSlotChange() {
106
- const slottedElements = [
107
- ...this.defaultSlot.assignedElements({ flatten: true })
108
- ];
109
- slottedElements.forEach((el) => {
110
- const index = slottedElements.indexOf(el);
111
- const button = findButton(el);
112
- if (button !== null) {
113
- button.classList.add("dsa-button-group__button");
114
- if (this.squeezed) {
115
- button.classList.toggle(
116
- "dsa-button-group__button--first",
117
- index === 0
118
- );
119
- button.classList.toggle(
120
- "dsa-button-group__button--inner",
121
- index > 0 && index < slottedElements.length - 1
122
- );
123
- button.classList.toggle(
124
- "dsa-button-group__button--last",
125
- index === slottedElements.length - 1
126
- );
127
- }
128
- button.classList.toggle(
129
- "dsa-button-group__button--radio",
130
- button.tagName.toLowerCase() === "dsa-radio-button"
131
- );
132
- button.classList.toggle(
133
- "dsa-button-group__button--checkbox",
134
- button.tagName.toLowerCase() === "dsa-checkbox-button"
135
- );
136
- button.classList.toggle(
137
- "dsa-button-group__button--vertical",
138
- !this.horizontal
139
- );
140
- }
141
- });
142
- }
143
- render() {
144
- return x`
145
- <div
146
- part="base"
147
- class=${e2({
148
- "button-group": true,
149
- "button-group--squeezed": this.squeezed,
150
- "button-group--vertical": !this.horizontal,
151
- "button-group--horizontal": this.horizontal
152
- })}
153
- role="${this.disableRole ? "presentation" : "group"}"
154
- aria-label=${ifDefinedAndNotEmpty(this.label)}
155
- @focusout=${this.handleBlur}
156
- @focusin=${this.handleFocus}
157
- @mouseover=${this.handleMouseOver}
158
- @mouseout=${this.handleMouseOut}
159
- >
160
- <slot @slotchange=${this.handleSlotChange}></slot>
161
- </div>
162
- `;
163
- }
164
- };
165
- DSAInternalButtonGroup.styles = button_group_styles_default;
166
- __decorateClass([
167
- e("slot")
168
- ], DSAInternalButtonGroup.prototype, "defaultSlot", 2);
169
- __decorateClass([
170
- r()
171
- ], DSAInternalButtonGroup.prototype, "disableRole", 2);
172
- __decorateClass([
173
- n()
174
- ], DSAInternalButtonGroup.prototype, "label", 2);
175
- __decorateClass([
176
- n({ type: Boolean })
177
- ], DSAInternalButtonGroup.prototype, "squeezed", 2);
178
- __decorateClass([
179
- n({ type: Boolean })
180
- ], DSAInternalButtonGroup.prototype, "horizontal", 2);
181
- DSAInternalButtonGroup = __decorateClass([
182
- t("dsa-internal-button-group")
183
- ], DSAInternalButtonGroup);
184
- function findButton(el) {
185
- var _a;
186
- const selector = "dsa-button, dsa-radio-button, dsa-checkbox-button, dsa-pagination-button";
187
- return (_a = el.closest(selector)) != null ? _a : el.querySelector(selector);
188
- }
189
-
190
42
  // src/components/radio-group/radio-group.ts
191
43
  var DSARadioGroup = class extends ShoelaceElement {
192
44
  constructor() {
@@ -200,6 +52,7 @@ var DSARadioGroup = class extends ShoelaceElement {
200
52
  this.customValidityMessage = "";
201
53
  this.customValidityError = "";
202
54
  this.hasRadioButtons = false;
55
+ this.hasRadioCards = false;
203
56
  this.readonlyRadioButtonValue = /* @__PURE__ */ new Map();
204
57
  this.defaultValue = "";
205
58
  this.label = "";
@@ -246,18 +99,22 @@ var DSARadioGroup = class extends ShoelaceElement {
246
99
  this.formControlController.updateValidity();
247
100
  }
248
101
  getAllRadios() {
249
- return [
102
+ const allRadios = [
250
103
  ...this.querySelectorAll(
251
- "dsa-radio, dsa-radio-button"
104
+ "dsa-radio, dsa-radio-button, dsa-radio-card"
252
105
  )
253
106
  ];
107
+ this.hasRadioButtons = allRadios.some(
108
+ (radio) => radio.tagName.toLowerCase() === "dsa-radio-button"
109
+ );
110
+ this.hasRadioCards = allRadios.some(
111
+ (radio) => radio.tagName.toLowerCase() === "dsa-radio-card"
112
+ );
113
+ return allRadios;
254
114
  }
255
115
  handleRadioClick(event) {
256
- const target = event.target.closest("dsa-radio, dsa-radio-button");
257
- if (!target) {
258
- return;
259
- }
260
- if (target.disabled || target.readonly) {
116
+ const target = event.target.closest("dsa-radio, dsa-radio-button, dsa-radio-card");
117
+ if (!target || target.disabled || target.readonly || this.disabled || this.readonly) {
261
118
  return;
262
119
  }
263
120
  const radios = this.getAllRadios();
@@ -282,8 +139,11 @@ var DSARadioGroup = class extends ShoelaceElement {
282
139
  )) {
283
140
  return;
284
141
  }
142
+ if (this.disabled || this.readonly) {
143
+ return;
144
+ }
285
145
  const focusableRadios = this.getAllRadios().filter(
286
- (radio) => !radio.disabled && (!radio.readonly || radio.checked)
146
+ (radio) => !this.disabled && !radio.disabled && (!radio.readonly || radio.checked)
287
147
  );
288
148
  const focusableRadiosLength = focusableRadios.length;
289
149
  const focusedRadioIndex = focusableRadios.findIndex(
@@ -295,7 +155,7 @@ var DSARadioGroup = class extends ShoelaceElement {
295
155
  index = wrapIndex(index, focusableRadiosLength);
296
156
  this.getAllRadios().forEach((radio) => {
297
157
  radio.checked = false;
298
- if (this.hasRadioButtons) {
158
+ if (this.hasRadioButtons || this.hasRadioCards) {
299
159
  radio.button.tabIndex = -1;
300
160
  } else {
301
161
  radio.tabIndex = -1;
@@ -308,7 +168,7 @@ var DSARadioGroup = class extends ShoelaceElement {
308
168
  this.value = focusableRadios[index].readonly || focusableRadios[focusedRadioIndex].readonly && focusableRadios[focusedRadioIndex].checked ? this.value : focusableRadios[index].value;
309
169
  focusableRadios[index].checked = this.value === focusableRadios[index].value;
310
170
  }
311
- if (!this.hasRadioButtons) {
171
+ if (!this.hasRadioButtons && !this.hasRadioCards) {
312
172
  focusableRadios[index].tabIndex = 0;
313
173
  focusableRadios[index].focus();
314
174
  } else {
@@ -333,36 +193,23 @@ var DSARadioGroup = class extends ShoelaceElement {
333
193
  }
334
194
  }
335
195
  handleSlotChange() {
336
- var _a;
337
- if (customElements.get("dsa-radio") || customElements.get("dsa-radio-button")) {
196
+ if (customElements.get("dsa-radio") || customElements.get("dsa-radio-button") || customElements.get("dsa-radio-card")) {
338
197
  const radios = this.getAllRadios();
339
198
  let hasAtLeastOneCheckedRadio = false;
340
199
  radios.forEach((radio) => {
341
200
  radio.error = this.error;
342
- if (this.readonly) {
343
- radio.readonly = this.readonly;
344
- }
345
- if (this.disabled) {
346
- radio.disabled = this.disabled;
347
- }
348
- this.hasRadioButtons = radio.tagName.toLowerCase() === "dsa-radio-button";
349
- if (radio.tagName.toLowerCase() === "dsa-radio-button" && radio.readonly) {
201
+ if ((this.hasRadioButtons || this.hasRadioCards) && radio.readonly) {
350
202
  this.readonlyRadioButtonValue.set(radio.value, true);
351
203
  }
352
204
  hasAtLeastOneCheckedRadio = radio.checked || hasAtLeastOneCheckedRadio;
205
+ radio.parentDisabled = this.disabled;
206
+ radio.parentReadonly = this.readonly;
353
207
  });
354
208
  this.updateCheckedRadio();
355
- if (this.hasRadioButtons) {
356
- const buttonGroup = (_a = this.shadowRoot) == null ? void 0 : _a.querySelector(
357
- "dsa-internal-button-group"
358
- );
359
- if (buttonGroup) {
360
- buttonGroup.disableRole = true;
361
- }
362
- }
363
209
  } else {
364
210
  customElements.whenDefined("dsa-radio").then(() => this.handleSlotChange());
365
211
  customElements.whenDefined("dsa-radio-button").then(() => this.handleSlotChange());
212
+ customElements.whenDefined("dsa-radio-card").then(() => this.handleSlotChange());
366
213
  }
367
214
  }
368
215
  handleInvalid(event) {
@@ -374,7 +221,7 @@ var DSARadioGroup = class extends ShoelaceElement {
374
221
  radios.forEach((radio) => {
375
222
  var _a;
376
223
  radio.checked = radio.value === this.value;
377
- if (this.hasRadioButtons) {
224
+ if (this.hasRadioButtons || this.hasRadioCards) {
378
225
  const radioButton = radio;
379
226
  radioButton.readonly = (_a = this.readonlyRadioButtonValue.get(this.value)) != null ? _a : radioButton.readonly;
380
227
  }
@@ -387,11 +234,20 @@ var DSARadioGroup = class extends ShoelaceElement {
387
234
  const firstFocusableRadioIndex = radios.findIndex(
388
235
  (radio) => !radio.disabled && (!radio.readonly || radio.checked)
389
236
  );
237
+ const isValidValue = this.value !== "" && radios.some((radio) => radio.value === this.value);
390
238
  radios.forEach((radio, index) => {
391
- const shouldFocus = radio.checked && !radio.disabled || this.value === "" && index === firstFocusableRadioIndex;
392
- if (this.hasRadioButtons) {
239
+ if (this.disabled) {
240
+ radio.tabIndex = -1;
241
+ return;
242
+ }
243
+ const shouldFocus = radio.checked && !radio.disabled || !isValidValue && index === firstFocusableRadioIndex && !this.readonly;
244
+ if (this.hasRadioButtons || this.hasRadioCards) {
393
245
  const radioButton = radio;
394
- radioButton.button.tabIndex = shouldFocus ? 0 : -1;
246
+ customElements.whenDefined(
247
+ this.hasRadioButtons ? "dsa-radio-button" : "dsa-radio-card"
248
+ ).then(() => {
249
+ radioButton.button.tabIndex = shouldFocus ? 0 : -1;
250
+ });
395
251
  } else {
396
252
  radio.tabIndex = shouldFocus ? 0 : -1;
397
253
  }
@@ -411,14 +267,15 @@ var DSARadioGroup = class extends ShoelaceElement {
411
267
  this.getAllRadios().forEach((radio) => radio.error = this.error);
412
268
  }
413
269
  handleDisabledChange() {
414
- if (this.disabled) {
415
- this.getAllRadios().forEach((radio) => radio.disabled = this.disabled);
416
- }
270
+ this.getAllRadios().forEach(
271
+ (radio) => radio.parentDisabled = this.disabled
272
+ );
417
273
  }
418
274
  handleReadonlyChange() {
419
- if (this.readonly) {
420
- this.getAllRadios().forEach((radio) => radio.readonly = this.readonly);
421
- }
275
+ this.getAllRadios().forEach(
276
+ (radio) => radio.parentReadonly = this.readonly
277
+ );
278
+ this.updateTabIndexes();
422
279
  }
423
280
  /** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */
424
281
  checkValidity() {
@@ -479,7 +336,8 @@ var DSARadioGroup = class extends ShoelaceElement {
479
336
  "form-control--radio-group": true,
480
337
  "form-control--has-label": hasLabel,
481
338
  "form-control--has-help-text": hasHelpText,
482
- "form-control--has-button-group": this.hasRadioButtons,
339
+ "form-control--has-buttons": this.hasRadioButtons,
340
+ "form-control--has-cards": this.hasRadioCards,
483
341
  "form-control--options-horizontal": !!this.horizontal
484
342
  })}
485
343
  role="radiogroup"
@@ -508,7 +366,7 @@ var DSARadioGroup = class extends ShoelaceElement {
508
366
  part="form-control-input"
509
367
  class="form-control-input form-control__field"
510
368
  >
511
- <div class="visually-hidden">
369
+ <dsa-visually-hidden>
512
370
  <label class="radio-group__validation">
513
371
  <input
514
372
  type="text"
@@ -519,29 +377,15 @@ var DSARadioGroup = class extends ShoelaceElement {
519
377
  @invalid=${this.handleInvalid}
520
378
  />
521
379
  </label>
522
- </div>
380
+ </dsa-visually-hidden>
523
381
 
524
- ${this.hasRadioButtons ? x`
525
- <dsa-internal-button-group
526
- part="button-group"
527
- exportparts="base:button-group__base"
528
- @click=${this.handleRadioClick}
529
- @keydown=${this.handleKeyDown}
530
- @slotchange=${this.handleSlotChange}
531
- role="presentation"
532
- ?horizontal=${this.horizontal}
533
- >
534
- <slot></slot>
535
- </dsa-internal-button-group>
536
- ` : x`
537
- <slot
538
- @click=${this.handleRadioClick}
539
- @keydown=${this.handleKeyDown}
540
- @slotchange=${this.handleSlotChange}
541
- role="presentation"
542
- class="form-control__options"
543
- ></slot>
544
- `}
382
+ <slot
383
+ @click=${this.handleRadioClick}
384
+ @keydown=${this.handleKeyDown}
385
+ @slotchange=${this.handleSlotChange}
386
+ role="presentation"
387
+ class="form-control__options"
388
+ ></slot>
545
389
  </div>
546
390
  <slot
547
391
  name="help-text"
@@ -570,6 +414,9 @@ __decorateClass([
570
414
  __decorateClass([
571
415
  r()
572
416
  ], DSARadioGroup.prototype, "hasRadioButtons", 2);
417
+ __decorateClass([
418
+ r()
419
+ ], DSARadioGroup.prototype, "hasRadioCards", 2);
573
420
  __decorateClass([
574
421
  r()
575
422
  ], DSARadioGroup.prototype, "readonlyRadioButtonValue", 2);
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk.7PPSHHT2.js";
7
7
  import {
8
8
  LocalizeController
9
- } from "./chunk.ZLWLHLBC.js";
9
+ } from "./chunk.LICWCBKN.js";
10
10
  import {
11
11
  e as e2
12
12
  } from "./chunk.IKHG7XGO.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  select_styles_default
3
- } from "./chunk.FHTVGJJI.js";
3
+ } from "./chunk.JXHXRRPX.js";
4
4
  import {
5
5
  FormControlLayout
6
- } from "./chunk.XQAKSW3W.js";
6
+ } from "./chunk.TOWWOPMH.js";
7
7
  import {
8
8
  scrollIntoView
9
9
  } from "./chunk.EMIT7S33.js";
@@ -26,7 +26,7 @@ import {
26
26
  } from "./chunk.2WRFDMKN.js";
27
27
  import {
28
28
  LocalizeController
29
- } from "./chunk.ZLWLHLBC.js";
29
+ } from "./chunk.LICWCBKN.js";
30
30
  import {
31
31
  watch
32
32
  } from "./chunk.4FQJ3QJK.js";
@@ -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
 
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk.O4MZVDWB.js";
4
4
  import {
5
5
  FormControlLayout
6
- } from "./chunk.XQAKSW3W.js";
6
+ } from "./chunk.TOWWOPMH.js";
7
7
  import {
8
8
  combobox_styles_default
9
- } from "./chunk.I7XP2UMV.js";
9
+ } from "./chunk.7FRA5H32.js";
10
10
  import {
11
11
  scrollIntoView
12
12
  } from "./chunk.EMIT7S33.js";
@@ -29,13 +29,16 @@ import {
29
29
  } from "./chunk.2WRFDMKN.js";
30
30
  import {
31
31
  LocalizeController
32
- } from "./chunk.ZLWLHLBC.js";
32
+ } from "./chunk.LICWCBKN.js";
33
33
  import {
34
34
  watch
35
35
  } from "./chunk.4FQJ3QJK.js";
36
36
  import {
37
37
  ifDefinedAndNotEmpty
38
38
  } from "./chunk.B6GVVW66.js";
39
+ import {
40
+ o
41
+ } from "./chunk.YQLIIKLI.js";
39
42
  import {
40
43
  e as e2
41
44
  } from "./chunk.IKHG7XGO.js";
@@ -651,6 +654,8 @@ var DSACombobox = class extends FormControlLayout {
651
654
  aria-disabled=${isDisabledOrReadonly ? "true" : "false"}
652
655
  aria-describedby=${ariaDescribedBy}
653
656
  aria-activedescendant=${(_b = (_a = this.currentOption) == null ? void 0 : _a.id) != null ? _b : ""}
657
+ aria-invalid=${o(this.error ? "true" : void 0)}
658
+ aria-required=${o(this.required ? "true" : void 0)}
654
659
  role="combobox"
655
660
  tabindex="0"
656
661
  @change=${this.handleChange}
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk.YGUWRBBP.js";
4
4
  import {
5
5
  DSATreeItem
6
- } from "./chunk.IS6JFFBR.js";
6
+ } from "./chunk.OLIPJEPX.js";
7
7
  import {
8
8
  clamp
9
9
  } from "./chunk.HF7GESMZ.js";
10
10
  import {
11
11
  LocalizeController
12
- } from "./chunk.ZLWLHLBC.js";
12
+ } from "./chunk.LICWCBKN.js";
13
13
  import {
14
14
  watch
15
15
  } from "./chunk.4FQJ3QJK.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk.MOWF7MA3.js";
4
4
  import {
5
5
  LocalizeController
6
- } from "./chunk.ZLWLHLBC.js";
6
+ } from "./chunk.LICWCBKN.js";
7
7
  import {
8
8
  watch
9
9
  } from "./chunk.4FQJ3QJK.js";
@@ -29,9 +29,9 @@ var DSAProgressRing = class extends ShoelaceElement {
29
29
  this.label = "";
30
30
  this.size = "medium";
31
31
  }
32
- updated(changedProps) {
33
- super.updated(changedProps);
34
- if (changedProps.has("value")) {
32
+ requestUpdate(name, oldValue, options) {
33
+ super.requestUpdate(name, oldValue, options);
34
+ if (name === "value" && this.indicator) {
35
35
  const radius = parseFloat(
36
36
  getComputedStyle(this.indicator).getPropertyValue("r")
37
37
  );