@ds-autonomie/web-components 2.3.1 → 2.4.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 (506) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/cdn/chunks/{chunk.ZEPLEFIQ.js → chunk.2FOGPUI3.js} +2 -2
  3. package/cdn/chunks/chunk.2URJBNTF.js +148 -0
  4. package/cdn/chunks/{chunk.W4FOPJHU.js → chunk.2YVHHVLG.js} +2 -0
  5. package/cdn/chunks/{chunk.JEWSMUZM.js → chunk.3AD4AURN.js} +11 -2
  6. package/cdn/chunks/{chunk.ISEH6AO6.js → chunk.3XJMTCX6.js} +16 -9
  7. package/cdn/chunks/{chunk.GCLAPOSZ.js → chunk.45DY5Z6P.js} +1 -1
  8. package/cdn/chunks/{chunk.56W7VK2Z.js → chunk.4GWNV3R4.js} +29 -6
  9. package/cdn/chunks/{chunk.YDBMOXIS.js → chunk.4XTAL3PC.js} +1 -2
  10. package/cdn/chunks/{chunk.4AMHKT45.js → chunk.4ZEHBLJR.js} +7 -1
  11. package/cdn/chunks/{chunk.BILEGEVX.js → chunk.5AF25B3X.js} +3 -3
  12. package/cdn/chunks/{chunk.27YOIDOY.js → chunk.5LBMOJJI.js} +1 -1
  13. package/cdn/chunks/{chunk.EEKS3ZN7.js → chunk.5VZE6TSA.js} +1 -1
  14. package/cdn/chunks/{chunk.TAKMMVMG.js → chunk.67KNPORK.js} +1 -1
  15. package/cdn/chunks/{chunk.5EYEXU6M.js → chunk.6FWACI3G.js} +13 -1
  16. package/cdn/chunks/{chunk.US6UTTN5.js → chunk.6HLUBEKO.js} +1 -1
  17. package/cdn/chunks/{chunk.ZUJJYUHF.js → chunk.6XVWAOAW.js} +1 -1
  18. package/cdn/chunks/{chunk.2P3IVRMK.js → chunk.75VU5MNL.js} +11 -5
  19. package/cdn/chunks/{chunk.HZJEKORW.js → chunk.7YE2BWH2.js} +1 -1
  20. package/cdn/chunks/{chunk.THMGZ3JS.js → chunk.A27ADPHB.js} +1 -1
  21. package/cdn/chunks/{chunk.KXKV4FIS.js → chunk.A5QRPK4Q.js} +4 -1
  22. package/cdn/chunks/{chunk.Y3KT5GTU.js → chunk.AJFNFADL.js} +1 -1
  23. package/cdn/chunks/{chunk.S3G2QBTA.js → chunk.ATHVFSQX.js} +8 -0
  24. package/cdn/chunks/{chunk.JHXMD4L2.js → chunk.AZBK27ET.js} +1 -1
  25. package/cdn/chunks/{chunk.LLHSRCWY.js → chunk.BEKIGEWZ.js} +13 -0
  26. package/cdn/chunks/{chunk.V2UYRTUC.js → chunk.BNLQUWBO.js} +1 -1
  27. package/cdn/chunks/{chunk.6NFWRZM6.js → chunk.C6VRBK7T.js} +15 -2
  28. package/cdn/chunks/{chunk.DDRUVCZW.js → chunk.CMRQV2SO.js} +1 -1
  29. package/cdn/chunks/{chunk.YGAW4V4H.js → chunk.CTMJ2DNZ.js} +1 -1
  30. package/cdn/chunks/{chunk.GN3AVMBZ.js → chunk.CUFMKSEN.js} +1 -1
  31. package/cdn/chunks/{chunk.7S74KUA4.js → chunk.CUZCVMCE.js} +1 -1
  32. package/cdn/chunks/{chunk.5UPL2TW3.js → chunk.D3U3NPDM.js} +1 -11
  33. package/cdn/chunks/{chunk.LFCUNNYV.js → chunk.DROLKHEJ.js} +9 -10
  34. package/cdn/chunks/{chunk.BLLAYNRQ.js → chunk.E36IR3BP.js} +1 -1
  35. package/cdn/chunks/{chunk.3CRRJ74Q.js → chunk.E7IRWRZH.js} +1 -1
  36. package/cdn/chunks/{chunk.W6N2ZQTH.js → chunk.EVFY55H5.js} +6 -10
  37. package/cdn/chunks/{chunk.VGXDHXD4.js → chunk.FAPQZI57.js} +1 -1
  38. package/cdn/chunks/{chunk.7FRA5H32.js → chunk.FLMM3C4U.js} +22 -4
  39. package/cdn/chunks/{chunk.WYBADVDH.js → chunk.FLPTQ76Z.js} +10 -10
  40. package/cdn/chunks/{chunk.JXHXRRPX.js → chunk.FN6Y2EK6.js} +3 -1
  41. package/cdn/chunks/{chunk.P7D7IUHT.js → chunk.FTI4C7U6.js} +1 -1
  42. package/cdn/chunks/{chunk.GS6TNOKD.js → chunk.FULHOODX.js} +6 -9
  43. package/cdn/chunks/{chunk.U5Q3HCRP.js → chunk.GBGDDTEL.js} +1 -1
  44. package/cdn/chunks/{chunk.JHLEDXWG.js → chunk.GXQMOXKI.js} +8 -0
  45. package/cdn/chunks/{chunk.SE7W7XMK.js → chunk.HBIJX2WM.js} +1 -1
  46. package/cdn/chunks/{chunk.P5KRELMB.js → chunk.HE5SI4A5.js} +27 -13
  47. package/cdn/chunks/{chunk.ZKPOAPR2.js → chunk.HNGA66FR.js} +8 -0
  48. package/cdn/chunks/{chunk.AVH4JYLK.js → chunk.ICBLN3KB.js} +2 -2
  49. package/cdn/chunks/{chunk.O3K7DNLG.js → chunk.II42H5RK.js} +1 -1
  50. package/cdn/chunks/{chunk.W2B6WXUI.js → chunk.IWMEHK72.js} +5 -0
  51. package/cdn/chunks/{chunk.F34KPGDS.js → chunk.JD7YUYPB.js} +50 -39
  52. package/cdn/chunks/{chunk.57JBB4UL.js → chunk.JO52YCNJ.js} +1 -1
  53. package/cdn/chunks/{chunk.VHQBFGHB.js → chunk.JUHZQETN.js} +35 -10
  54. package/cdn/chunks/{chunk.TOWWOPMH.js → chunk.JZOEQBF7.js} +19 -4
  55. package/cdn/chunks/{chunk.LBM4RHMA.js → chunk.K4B5TCNN.js} +25 -6
  56. package/cdn/chunks/{chunk.MOWF7MA3.js → chunk.KDSIJN5N.js} +3 -3
  57. package/cdn/chunks/{chunk.KCPXZK3D.js → chunk.KLIZYLWG.js} +9 -1
  58. package/cdn/chunks/{chunk.IB463542.js → chunk.KOWSS3HP.js} +5 -5
  59. package/cdn/chunks/{chunk.KNY4ZIQ7.js → chunk.KPS4A22J.js} +2 -2
  60. package/cdn/chunks/{chunk.ASMJ2LI6.js → chunk.KWRUGVRF.js} +1 -0
  61. package/cdn/chunks/{chunk.4VWDJUDJ.js → chunk.KYZIL6TB.js} +2 -2
  62. package/cdn/chunks/{chunk.T56ZOKTF.js → chunk.L3ZYNSI3.js} +1 -1
  63. package/cdn/chunks/{chunk.JIUJNSW6.js → chunk.LBDB4OXT.js} +7 -9
  64. package/cdn/chunks/{chunk.ROGVB4AO.js → chunk.LFBIXLMF.js} +2 -2
  65. package/cdn/chunks/{chunk.WY2HI4TL.js → chunk.M3TRPPPZ.js} +1 -1
  66. package/cdn/chunks/{chunk.7VDWWPRU.js → chunk.MCSZ2F65.js} +5 -7
  67. package/cdn/chunks/{chunk.NX5D5OTS.js → chunk.N6Z3FRHY.js} +2 -2
  68. package/cdn/chunks/{chunk.IAOVYG7Z.js → chunk.N7TSHDJG.js} +1 -1
  69. package/cdn/chunks/{chunk.7KCIFACP.js → chunk.NTOOFOWB.js} +1 -1
  70. package/cdn/chunks/{chunk.ER5ZWWSU.js → chunk.NV5OLVPR.js} +2 -2
  71. package/cdn/chunks/{chunk.EHSLOI5L.js → chunk.NY5U3HSN.js} +5 -3
  72. package/cdn/chunks/{chunk.OLIPJEPX.js → chunk.OFWHWMUH.js} +1 -1
  73. package/cdn/chunks/{chunk.RF24VGSM.js → chunk.OIBXY54X.js} +3 -3
  74. package/cdn/chunks/{chunk.ZLZIVCPW.js → chunk.OJFCPMJA.js} +7 -4
  75. package/cdn/chunks/{chunk.X3MRO4MI.js → chunk.OOL4Q6HA.js} +1 -0
  76. package/cdn/chunks/{chunk.TGMW5D2F.js → chunk.OSJ5I4FK.js} +1 -1
  77. package/cdn/chunks/{chunk.7ZBG7ZQG.js → chunk.OVBLP5E4.js} +48 -34
  78. package/cdn/chunks/{chunk.H3Y633AF.js → chunk.P6NF7VUG.js} +1 -1
  79. package/cdn/chunks/{chunk.Z7VB7VAD.js → chunk.PIFZYHAW.js} +10 -2
  80. package/cdn/chunks/{chunk.J6J6XRPR.js → chunk.PK4XXM66.js} +1 -1
  81. package/cdn/chunks/{chunk.RGTLY6EQ.js → chunk.POKFLTEE.js} +1 -1
  82. package/cdn/chunks/{chunk.EKKWPXJL.js → chunk.QHU2DUDS.js} +12 -0
  83. package/cdn/chunks/{chunk.5BWMYJNC.js → chunk.QKLRW3JL.js} +15 -2
  84. package/cdn/chunks/chunk.RAMP7CRD.js +93 -0
  85. package/cdn/chunks/{chunk.RXUJBLKT.js → chunk.RZUPGCMM.js} +2 -2
  86. package/cdn/chunks/{chunk.MNE7AANP.js → chunk.SJM5UCFK.js} +1 -1
  87. package/cdn/chunks/{chunk.OZVVCEKQ.js → chunk.SMWE3ICX.js} +2 -2
  88. package/cdn/chunks/{chunk.HAONBKG7.js → chunk.TS2KKUX2.js} +14 -14
  89. package/cdn/chunks/{chunk.MML6GY5Y.js → chunk.TUB5XL3J.js} +1 -0
  90. package/cdn/chunks/{chunk.TO65OMN5.js → chunk.TZ4FLP4S.js} +25 -16
  91. package/cdn/chunks/{chunk.AATBJDAH.js → chunk.UPVAZQNH.js} +15 -12
  92. package/cdn/chunks/{chunk.V5TMX44U.js → chunk.UULRRJ5I.js} +1 -1
  93. package/cdn/chunks/{chunk.LICWCBKN.js → chunk.VARBZAJP.js} +4 -0
  94. package/cdn/chunks/{chunk.WMMK7OL4.js → chunk.VI5JEKGK.js} +14 -1
  95. package/cdn/chunks/{chunk.MESUBVHC.js → chunk.VRC57YIG.js} +2 -2
  96. package/cdn/chunks/{chunk.O577BA4U.js → chunk.VZF3ZTED.js} +1 -1
  97. package/cdn/chunks/{chunk.ZTXQFGQX.js → chunk.W6JXBJWF.js} +1 -1
  98. package/cdn/chunks/{chunk.QEPPYDSN.js → chunk.WD2ZD2TZ.js} +16 -5
  99. package/cdn/chunks/{chunk.M53HNM5Y.js → chunk.WJDOTH54.js} +2 -2
  100. package/cdn/chunks/{chunk.57UCUSPU.js → chunk.WYTP4TFA.js} +10 -2
  101. package/cdn/chunks/{chunk.N6NAUMXW.js → chunk.XASHG6W4.js} +4 -6
  102. package/cdn/chunks/{chunk.RJUKDJQG.js → chunk.XLDTCR3W.js} +146 -70
  103. package/cdn/chunks/{chunk.WOONNSQ2.js → chunk.XRFDWQQQ.js} +2 -1
  104. package/cdn/chunks/{chunk.YA7ZX7VM.js → chunk.Y5RTMSTB.js} +1 -1
  105. package/{dist/chunks/chunk.6YEPFMKU.js → cdn/chunks/chunk.YBWQADCH.js} +2 -6
  106. package/cdn/chunks/{chunk.NBPMAZHK.js → chunk.YDT7HT2E.js} +0 -3
  107. package/cdn/chunks/{chunk.FXVCDQEN.js → chunk.YJBMFRB4.js} +15 -1
  108. package/cdn/chunks/{chunk.65HTBW2L.js → chunk.YKKP7YAT.js} +7 -1
  109. package/cdn/chunks/{chunk.CZFLF4QH.js → chunk.ZCBARTO2.js} +9 -1
  110. package/cdn/chunks/{chunk.HMLKFYNH.js → chunk.ZDF27RIQ.js} +11 -2
  111. package/cdn/chunks/{chunk.55Y4QE5R.js → chunk.ZHJDF2I3.js} +3 -3
  112. package/cdn/chunks/{chunk.GFKXMARC.js → chunk.ZYAFL7BC.js} +10 -4
  113. package/cdn/components/accordion/accordion.d.ts +2 -0
  114. package/cdn/components/accordion/accordion.js +5 -3
  115. package/cdn/components/accordion/accordion.styles.js +1 -1
  116. package/cdn/components/alert/alert.js +6 -5
  117. package/cdn/components/alert/alert.styles.js +1 -1
  118. package/cdn/components/anchor-tag/anchor-tag.js +3 -2
  119. package/cdn/components/anchor-tag/anchor-tag.styles.js +1 -1
  120. package/cdn/components/badge/badge.js +2 -2
  121. package/cdn/components/badge/badge.styles.js +1 -1
  122. package/cdn/components/breadcrumb/breadcrumb.js +3 -3
  123. package/cdn/components/breadcrumb/breadcrumb.styles.js +1 -1
  124. package/cdn/components/breadcrumb-item/breadcrumb-item.js +3 -3
  125. package/cdn/components/breadcrumb-item/breadcrumb-item.styles.js +1 -1
  126. package/cdn/components/button/button.js +4 -4
  127. package/cdn/components/calendar/calendar.js +3 -3
  128. package/cdn/components/callout/callout.js +3 -2
  129. package/cdn/components/card/card.js +2 -1
  130. package/cdn/components/checkbox/checkbox.js +8 -8
  131. package/cdn/components/checkbox/checkbox.styles.js +2 -2
  132. package/cdn/components/checkbox-button/checkbox-button.js +9 -9
  133. package/cdn/components/checkbox-group/checkbox-group.d.ts +3 -1
  134. package/cdn/components/checkbox-group/checkbox-group.js +6 -6
  135. package/cdn/components/checkbox-group/checkbox-group.styles.js +2 -2
  136. package/cdn/components/combobox/combobox.d.ts +11 -1
  137. package/cdn/components/combobox/combobox.js +13 -13
  138. package/cdn/components/combobox/combobox.styles.js +2 -2
  139. package/cdn/components/dialog/dialog.js +5 -4
  140. package/cdn/components/download-link/download-link.js +2 -2
  141. package/cdn/components/download-link/download-link.styles.js +1 -1
  142. package/cdn/components/drawer/drawer.js +5 -4
  143. package/cdn/components/dropdown/dropdown.js +2 -2
  144. package/cdn/components/error-message-panel/error-message-panel.js +2 -2
  145. package/cdn/components/error-text/error-text.js +2 -2
  146. package/cdn/components/error-text/error-text.styles.js +1 -1
  147. package/cdn/components/file-upload/file-upload.d.ts +1 -0
  148. package/cdn/components/file-upload/file-upload.js +7 -6
  149. package/cdn/components/file-upload/file-upload.styles.js +2 -2
  150. package/cdn/components/file-upload-item/file-upload-item.js +5 -3
  151. package/cdn/components/filter-base/filter-base.js +7 -6
  152. package/cdn/components/filter-button/filter-button.js +6 -5
  153. package/cdn/components/filter-button/filter-button.styles.js +1 -1
  154. package/cdn/components/filter-counter/filter-counter.js +26 -26
  155. package/cdn/components/filter-date/filter-date.js +14 -13
  156. package/cdn/components/filter-range/filter-range.js +27 -27
  157. package/cdn/components/filter-select/filter-select.js +27 -27
  158. package/cdn/components/footer/footer.js +2 -2
  159. package/cdn/components/format-bytes/format-bytes.js +2 -2
  160. package/cdn/components/format-date/format-date.js +2 -2
  161. package/cdn/components/format-number/format-number.js +2 -2
  162. package/cdn/components/header/header.js +2 -2
  163. package/cdn/components/header-search/header-search.js +8 -7
  164. package/cdn/components/icon-button/icon-button.js +3 -2
  165. package/cdn/components/icon-button/icon-button.styles.js +1 -1
  166. package/cdn/components/input/input.d.ts +1 -0
  167. package/cdn/components/input/input.js +18 -18
  168. package/cdn/components/input/input.styles.js +2 -2
  169. package/cdn/components/input-date/input-date.js +15 -15
  170. package/cdn/components/input-date/input-date.styles.js +3 -3
  171. package/cdn/components/input-mask/input-mask.js +8 -8
  172. package/cdn/components/input-mask/input-mask.styles.js +2 -2
  173. package/cdn/components/input-otp/input-otp.js +9 -9
  174. package/cdn/components/input-otp/input-otp.styles.js +2 -2
  175. package/cdn/components/input-phone/input-phone.configs.js +1 -1
  176. package/cdn/components/input-phone/input-phone.d.ts +1 -0
  177. package/cdn/components/input-phone/input-phone.js +16 -16
  178. package/cdn/components/input-phone/input-phone.styles.js +2 -2
  179. package/cdn/components/input-time/input-time.js +11 -11
  180. package/cdn/components/input-time/input-time.styles.js +3 -3
  181. package/cdn/components/menu-accordion/menu-accordion.d.ts +1 -0
  182. package/cdn/components/menu-accordion/menu-accordion.js +4 -2
  183. package/cdn/components/navbar-menu/navbar-menu.js +3 -2
  184. package/cdn/components/option/option.js +2 -2
  185. package/cdn/components/page-header/page-header.d.ts +31 -0
  186. package/cdn/components/page-header/page-header.js +17 -0
  187. package/cdn/components/page-header/page-header.styles.d.ts +2 -0
  188. package/cdn/components/page-header/page-header.styles.js +10 -0
  189. package/cdn/components/pagination/pagination.js +20 -20
  190. package/cdn/components/pagination-button/pagination-button.js +1 -1
  191. package/cdn/components/profile-button/profile-button.js +4 -4
  192. package/cdn/components/progress-bar/progress-bar.js +3 -2
  193. package/cdn/components/progress-ring/progress-ring.js +2 -1
  194. package/cdn/components/quote/quote.js +3 -2
  195. package/cdn/components/radio-button/radio-button.js +9 -9
  196. package/cdn/components/radio-card/radio-card.js +7 -7
  197. package/cdn/components/radio-group/radio-group.d.ts +3 -0
  198. package/cdn/components/radio-group/radio-group.js +6 -6
  199. package/cdn/components/radio-group/radio-group.styles.js +2 -2
  200. package/cdn/components/range-slider/range-slider.js +2 -1
  201. package/cdn/components/relative-time/relative-time.js +2 -2
  202. package/cdn/components/select/select.d.ts +1 -0
  203. package/cdn/components/select/select.js +12 -12
  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 +2 -2
  208. package/cdn/components/step/step.js +3 -3
  209. package/cdn/components/switch/switch.js +3 -3
  210. package/cdn/components/tab/tab.js +5 -4
  211. package/cdn/components/tab-group/tab-group.d.ts +6 -0
  212. package/cdn/components/tab-group/tab-group.js +6 -5
  213. package/cdn/components/tab-group/tab-group.styles.js +1 -1
  214. package/cdn/components/table/table.js +1 -1
  215. package/cdn/components/table-action/table-action.js +2 -2
  216. package/cdn/components/table-body/table-body.js +3 -3
  217. package/cdn/components/table-caption/table-caption.d.ts +1 -0
  218. package/cdn/components/table-caption/table-caption.js +2 -2
  219. package/cdn/components/table-container/table-container.d.ts +5 -0
  220. package/cdn/components/table-container/table-container.js +5 -1
  221. package/cdn/components/table-head/table-head.js +2 -2
  222. package/cdn/components/table-header-cell/table-header-cell.js +2 -2
  223. package/cdn/components/table-header-cell/table-header-cell.styles.js +1 -1
  224. package/cdn/components/table-header-row/table-header-row.js +17 -17
  225. package/cdn/components/table-header-row/table-header-row.styles.js +1 -1
  226. package/cdn/components/table-of-contents/table-of-contents.js +2 -2
  227. package/cdn/components/table-row/table-row.js +12 -12
  228. package/cdn/components/tag/tag.js +6 -5
  229. package/cdn/components/tag/tag.styles.js +1 -1
  230. package/cdn/components/textarea/textarea.js +7 -7
  231. package/cdn/components/textarea/textarea.styles.js +2 -2
  232. package/cdn/components/tooltip/tooltip.js +2 -2
  233. package/cdn/components/tree/tree.js +12 -12
  234. package/cdn/components/tree-item/tree-item.js +11 -11
  235. package/cdn/custom-elements.json +487 -190
  236. package/cdn/design-system.d.ts +1 -0
  237. package/cdn/design-system.js +136 -131
  238. package/cdn/internal/components/form-control/form-control-layout.d.ts +2 -0
  239. package/cdn/internal/components/form-control/form-control-layout.js +17 -1
  240. package/cdn/internal/components/form-toggle-button/form-toggle-button.d.ts +1 -0
  241. package/cdn/internal/components/form-toggle-button/form-toggle-button.js +6 -0
  242. package/cdn/styles/form-control.styles.js +5 -0
  243. package/cdn/themes/dsa-wc-theme.css +124 -31
  244. package/cdn/themes/dsa-wc-theme.min.css +1 -1
  245. package/cdn/themes/dsa-wc-theme.styles.js +125 -31
  246. package/cdn/translations/en-gb.js +1 -1
  247. package/cdn/translations/en.js +1 -1
  248. package/cdn/translations/fr.js +1 -1
  249. package/cdn/utilities/date.js +1 -1
  250. package/cdn/utilities/localize.d.ts +2 -0
  251. package/cdn/utilities/localize.js +1 -1
  252. package/cdn/vscode.html-custom-data.json +65 -31
  253. package/cdn/web-types.json +238 -84
  254. package/dist/chunks/{chunk.ITUK4PON.js → chunk.2JCMUNW4.js} +1 -1
  255. package/dist/chunks/{chunk.5NXRUN57.js → chunk.2OZ6SQ6Y.js} +27 -13
  256. package/dist/chunks/{chunk.2KECVLQH.js → chunk.37I5GPBX.js} +8 -0
  257. package/dist/chunks/{chunk.WPIYFGT2.js → chunk.46A3MGDV.js} +1 -1
  258. package/dist/chunks/{chunk.WFHOSUOX.js → chunk.4LRLYTU2.js} +3 -3
  259. package/dist/chunks/{chunk.4YOAT5R7.js → chunk.4SVX6VCY.js} +15 -2
  260. package/dist/chunks/{chunk.JOW4YVGA.js → chunk.4UC4W5Q5.js} +13 -0
  261. package/dist/chunks/{chunk.YVOXMJ6Q.js → chunk.4URSPC26.js} +10 -2
  262. package/dist/chunks/{chunk.L66AKAXM.js → chunk.4VJTOIB4.js} +1 -1
  263. package/dist/chunks/{chunk.KFXWL3NW.js → chunk.4W3KHK6H.js} +1 -1
  264. package/dist/chunks/{chunk.NF5ELBI4.js → chunk.533C7JJH.js} +2 -2
  265. package/dist/chunks/{chunk.QBHSEMUU.js → chunk.53DFT644.js} +2 -2
  266. package/dist/chunks/chunk.5Q5FI5EH.js +146 -0
  267. package/dist/chunks/{chunk.BVRGK5ZO.js → chunk.5R6YK6UH.js} +4 -6
  268. package/dist/chunks/{chunk.UG7D663E.js → chunk.5VC7IHJ2.js} +11 -2
  269. package/dist/chunks/{chunk.UJAK75R6.js → chunk.6674T4KX.js} +15 -12
  270. package/dist/chunks/{chunk.MBRRLF6D.js → chunk.6HSTAJNR.js} +9 -10
  271. package/dist/chunks/{chunk.HEOHHRVV.js → chunk.6ZR5MQTU.js} +1 -1
  272. package/dist/chunks/{chunk.RCN745RS.js → chunk.7E57JVUE.js} +1 -1
  273. package/dist/chunks/{chunk.HAYCQF2N.js → chunk.7K5DG6KV.js} +1 -1
  274. package/dist/chunks/{chunk.THO67JP2.js → chunk.A4R5LBIA.js} +16 -5
  275. package/dist/chunks/{chunk.GZO5TQGU.js → chunk.AC4PBQVM.js} +11 -5
  276. package/dist/chunks/{chunk.SWP3OZUN.js → chunk.AMTRQ7HP.js} +1 -1
  277. package/dist/chunks/{chunk.ITAWMEY7.js → chunk.BHY3DDPH.js} +1 -1
  278. package/dist/chunks/{chunk.EIZK62ST.js → chunk.D7NKST7Z.js} +5 -0
  279. package/dist/chunks/{chunk.63MNXWSY.js → chunk.DFBKUH2U.js} +1 -1
  280. package/dist/chunks/{chunk.3O6BVDJF.js → chunk.DISFQ7ZU.js} +1 -1
  281. package/dist/chunks/{chunk.K7CPVIPV.js → chunk.DKTT254G.js} +9 -1
  282. package/dist/chunks/{chunk.YZTXGQRN.js → chunk.DNLOBVBE.js} +14 -1
  283. package/dist/chunks/{chunk.3JLROK74.js → chunk.DR3IPTYE.js} +10 -10
  284. package/dist/chunks/{chunk.6UCJKKYR.js → chunk.DYTNEN2V.js} +7 -9
  285. package/dist/chunks/{chunk.SP5JKDHH.js → chunk.E7S4C6P7.js} +1 -1
  286. package/dist/chunks/{chunk.M5QF4L4W.js → chunk.ERDP4WZN.js} +1 -1
  287. package/dist/chunks/{chunk.YOMZYBQL.js → chunk.FC7AQRZS.js} +2 -2
  288. package/dist/chunks/{chunk.MPZ56XQK.js → chunk.FUUFLFPS.js} +3 -3
  289. package/dist/chunks/{chunk.MAENDYI7.js → chunk.FWHDRD6T.js} +15 -2
  290. package/dist/chunks/{chunk.NHPMJYPM.js → chunk.G3UE6SMI.js} +146 -70
  291. package/dist/chunks/{chunk.6KWCQDRD.js → chunk.GFXISORD.js} +12 -0
  292. package/dist/chunks/{chunk.OWG5FD2H.js → chunk.GI3JNOHH.js} +11 -2
  293. package/dist/chunks/{chunk.K53YJ3XK.js → chunk.GNJX6QSO.js} +1 -1
  294. package/dist/chunks/{chunk.P3CATWXI.js → chunk.GRNDTTXR.js} +2 -2
  295. package/dist/chunks/{chunk.5H3FRLYG.js → chunk.GSKMPYLG.js} +14 -14
  296. package/dist/chunks/{chunk.KFUZ6JMQ.js → chunk.H3X3D747.js} +2 -2
  297. package/dist/chunks/{chunk.3EAWXV27.js → chunk.H7ZLX7SO.js} +1 -1
  298. package/dist/chunks/{chunk.2W6FOXSH.js → chunk.HQJDKIMG.js} +25 -16
  299. package/dist/chunks/{chunk.DIM7WDHO.js → chunk.IFDJNZPC.js} +13 -1
  300. package/dist/chunks/{chunk.E45DVVIM.js → chunk.INFNQBQD.js} +2 -2
  301. package/dist/chunks/{chunk.EI563TWV.js → chunk.ISWFROYZ.js} +1 -0
  302. package/dist/chunks/{chunk.6K4LF64W.js → chunk.IUPSCAN6.js} +1 -1
  303. package/dist/chunks/{chunk.K3HEMTRQ.js → chunk.IW4EYF6Z.js} +1 -1
  304. package/dist/chunks/{chunk.2GRTPJX3.js → chunk.IXAKBOI4.js} +1 -1
  305. package/dist/chunks/{chunk.UVN7RIEO.js → chunk.JG4PBHLV.js} +8 -0
  306. package/dist/chunks/{chunk.4C3EA7WT.js → chunk.JMJY2JIN.js} +5 -3
  307. package/dist/chunks/{chunk.WIVRYVXD.js → chunk.JRJB2DFE.js} +1 -1
  308. package/dist/chunks/{chunk.2YE5HPSL.js → chunk.JZYJ2V4F.js} +2 -2
  309. package/dist/chunks/{chunk.PTFOYYGJ.js → chunk.KDEA34PP.js} +1 -1
  310. package/dist/chunks/{chunk.EYZGEU3G.js → chunk.KEJKTQP6.js} +1 -11
  311. package/dist/chunks/{chunk.5NUQTJJR.js → chunk.KENYJWWA.js} +10 -2
  312. package/dist/chunks/{chunk.JNZTWND7.js → chunk.KNPGT6SV.js} +15 -6
  313. package/dist/chunks/{chunk.IIYPN5OC.js → chunk.LC7CCWN3.js} +1 -1
  314. package/dist/chunks/{chunk.INLQD4SQ.js → chunk.LQG6R72U.js} +0 -3
  315. package/dist/chunks/{chunk.F6RRFM4P.js → chunk.M362UNDB.js} +1 -0
  316. package/dist/chunks/{chunk.KGZLC7FO.js → chunk.M4H37WUH.js} +1 -1
  317. package/dist/chunks/{chunk.J4GT5AWF.js → chunk.M5MCRNUJ.js} +35 -10
  318. package/dist/chunks/{chunk.GNJ2HZ3Y.js → chunk.MIOQ72YC.js} +3 -3
  319. package/dist/chunks/{chunk.WOJO2VFN.js → chunk.MTOENDDR.js} +9 -1
  320. package/dist/chunks/{chunk.3SX7AERB.js → chunk.MWWI3AU2.js} +7 -1
  321. package/dist/chunks/{chunk.T2OLM5TG.js → chunk.NASETPCZ.js} +48 -34
  322. package/dist/chunks/{chunk.XE37RME4.js → chunk.O4HVYU6G.js} +2 -2
  323. package/dist/chunks/{chunk.2O3M7HBZ.js → chunk.O4ZSTSXZ.js} +1 -1
  324. package/dist/chunks/{chunk.3NNE7XGI.js → chunk.OCK5L55T.js} +1 -1
  325. package/dist/chunks/{chunk.CWDSCTUA.js → chunk.OHDR6G6J.js} +1 -1
  326. package/dist/chunks/{chunk.FK5HR2F4.js → chunk.OVOTWPG3.js} +1 -1
  327. package/dist/chunks/{chunk.OJ5RKDE5.js → chunk.OWV6XZFR.js} +2 -2
  328. package/dist/chunks/{chunk.7KMMSAQN.js → chunk.P7SN3TMY.js} +2 -2
  329. package/dist/chunks/{chunk.77ECBNUM.js → chunk.PD6ETZGV.js} +5 -5
  330. package/dist/chunks/{chunk.NPCMEZGE.js → chunk.QEZ5FSIU.js} +1 -1
  331. package/dist/chunks/{chunk.DANAZGRI.js → chunk.QG62LWYX.js} +8 -0
  332. package/dist/chunks/{chunk.LGDM46D4.js → chunk.RVCSQIWF.js} +19 -4
  333. package/dist/chunks/{chunk.EAYW5L6J.js → chunk.S6XG7G6X.js} +1 -1
  334. package/dist/chunks/{chunk.CEGU6OTH.js → chunk.SA7GMM2I.js} +1 -2
  335. package/dist/chunks/{chunk.54KX7M52.js → chunk.SRP6V7OW.js} +1 -1
  336. package/dist/chunks/{chunk.B2KV6DSI.js → chunk.TK77JBEH.js} +1 -1
  337. package/dist/chunks/{chunk.BCLTC7W4.js → chunk.TKV7I7MM.js} +1 -1
  338. package/dist/chunks/{chunk.LE5LHO5Y.js → chunk.TQJLTADP.js} +3 -1
  339. package/dist/chunks/{chunk.KQJQQDCQ.js → chunk.TRQQN4AO.js} +6 -10
  340. package/dist/chunks/{chunk.HTBAICPA.js → chunk.TXMAH3OK.js} +50 -39
  341. package/dist/chunks/{chunk.BNREFNJW.js → chunk.U2RG7USD.js} +5 -7
  342. package/dist/chunks/{chunk.EK7OT2VJ.js → chunk.UCIFKWMI.js} +1 -1
  343. package/dist/chunks/{chunk.X6UZBREW.js → chunk.UKZA4PJB.js} +1 -1
  344. package/dist/chunks/{chunk.XMPGIWRA.js → chunk.V4U5XMU7.js} +1 -1
  345. package/dist/chunks/{chunk.7BE555XS.js → chunk.VJJQFEZ2.js} +6 -9
  346. package/dist/chunks/{chunk.52CUBOF2.js → chunk.VYIXCMT3.js} +3 -3
  347. package/dist/chunks/{chunk.BN3YUYMM.js → chunk.VZHVRVYC.js} +10 -4
  348. package/dist/chunks/{chunk.MILDW5D6.js → chunk.WBUREDTC.js} +1 -0
  349. package/dist/chunks/{chunk.3B3226HJ.js → chunk.X4HFQ4MT.js} +1 -1
  350. package/dist/chunks/{chunk.BALZ7HK5.js → chunk.XG7KR6BI.js} +25 -6
  351. package/dist/chunks/{chunk.DLE3F4GC.js → chunk.XNVSET6H.js} +1 -1
  352. package/dist/chunks/{chunk.DB3EDROT.js → chunk.XQDC25MI.js} +15 -1
  353. package/dist/chunks/{chunk.PZXD4VTO.js → chunk.XX3QRZEL.js} +2 -1
  354. package/dist/chunks/{chunk.3J7DL2SS.js → chunk.Y3I7GUNB.js} +4 -1
  355. package/{cdn/chunks/chunk.6YEPFMKU.js → dist/chunks/chunk.YBWQADCH.js} +2 -6
  356. package/dist/chunks/{chunk.WB2DWTAB.js → chunk.YJEHKLDJ.js} +22 -4
  357. package/dist/chunks/{chunk.65HTBW2L.js → chunk.YKKP7YAT.js} +7 -1
  358. package/dist/chunks/{chunk.3HX6HRHC.js → chunk.YOISCONT.js} +2 -2
  359. package/dist/chunks/{chunk.U7ZMMMJ3.js → chunk.YWHYMKYI.js} +4 -0
  360. package/dist/chunks/{chunk.KOTPR264.js → chunk.YXCCM5NC.js} +29 -6
  361. package/dist/chunks/chunk.YZVRMUCB.js +88 -0
  362. package/dist/chunks/{chunk.6ZJSEOLO.js → chunk.ZAZPAXHI.js} +7 -5
  363. package/dist/chunks/{chunk.ODXKNTKC.js → chunk.ZG2D4OQ4.js} +1 -1
  364. package/dist/chunks/{chunk.M4ZPYQVZ.js → chunk.ZRW5L2NC.js} +2 -0
  365. package/dist/components/accordion/accordion.d.ts +2 -0
  366. package/dist/components/accordion/accordion.js +5 -3
  367. package/dist/components/accordion/accordion.styles.js +1 -1
  368. package/dist/components/alert/alert.js +6 -5
  369. package/dist/components/alert/alert.styles.js +1 -1
  370. package/dist/components/anchor-tag/anchor-tag.js +3 -2
  371. package/dist/components/anchor-tag/anchor-tag.styles.js +1 -1
  372. package/dist/components/badge/badge.js +2 -2
  373. package/dist/components/badge/badge.styles.js +1 -1
  374. package/dist/components/breadcrumb/breadcrumb.js +3 -3
  375. package/dist/components/breadcrumb/breadcrumb.styles.js +1 -1
  376. package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
  377. package/dist/components/breadcrumb-item/breadcrumb-item.styles.js +1 -1
  378. package/dist/components/button/button.js +4 -4
  379. package/dist/components/calendar/calendar.js +3 -3
  380. package/dist/components/callout/callout.js +3 -2
  381. package/dist/components/card/card.js +2 -1
  382. package/dist/components/checkbox/checkbox.js +8 -8
  383. package/dist/components/checkbox/checkbox.styles.js +2 -2
  384. package/dist/components/checkbox-button/checkbox-button.js +9 -9
  385. package/dist/components/checkbox-group/checkbox-group.d.ts +3 -1
  386. package/dist/components/checkbox-group/checkbox-group.js +6 -6
  387. package/dist/components/checkbox-group/checkbox-group.styles.js +2 -2
  388. package/dist/components/combobox/combobox.d.ts +11 -1
  389. package/dist/components/combobox/combobox.js +13 -13
  390. package/dist/components/combobox/combobox.styles.js +2 -2
  391. package/dist/components/dialog/dialog.js +5 -4
  392. package/dist/components/download-link/download-link.js +2 -2
  393. package/dist/components/download-link/download-link.styles.js +1 -1
  394. package/dist/components/drawer/drawer.js +5 -4
  395. package/dist/components/dropdown/dropdown.js +2 -2
  396. package/dist/components/error-message-panel/error-message-panel.js +2 -2
  397. package/dist/components/error-text/error-text.js +2 -2
  398. package/dist/components/error-text/error-text.styles.js +1 -1
  399. package/dist/components/file-upload/file-upload.d.ts +1 -0
  400. package/dist/components/file-upload/file-upload.js +7 -6
  401. package/dist/components/file-upload/file-upload.styles.js +2 -2
  402. package/dist/components/file-upload-item/file-upload-item.js +5 -3
  403. package/dist/components/filter-base/filter-base.js +7 -6
  404. package/dist/components/filter-button/filter-button.js +6 -5
  405. package/dist/components/filter-button/filter-button.styles.js +1 -1
  406. package/dist/components/filter-counter/filter-counter.js +26 -26
  407. package/dist/components/filter-date/filter-date.js +14 -13
  408. package/dist/components/filter-range/filter-range.js +27 -27
  409. package/dist/components/filter-select/filter-select.js +27 -27
  410. package/dist/components/footer/footer.js +2 -2
  411. package/dist/components/format-bytes/format-bytes.js +2 -2
  412. package/dist/components/format-date/format-date.js +2 -2
  413. package/dist/components/format-number/format-number.js +2 -2
  414. package/dist/components/header/header.js +2 -2
  415. package/dist/components/header-search/header-search.js +8 -7
  416. package/dist/components/icon-button/icon-button.js +3 -2
  417. package/dist/components/icon-button/icon-button.styles.js +1 -1
  418. package/dist/components/input/input.d.ts +1 -0
  419. package/dist/components/input/input.js +18 -18
  420. package/dist/components/input/input.styles.js +2 -2
  421. package/dist/components/input-date/input-date.js +15 -15
  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 +9 -9
  426. package/dist/components/input-otp/input-otp.styles.js +2 -2
  427. package/dist/components/input-phone/input-phone.configs.js +1 -1
  428. package/dist/components/input-phone/input-phone.d.ts +1 -0
  429. package/dist/components/input-phone/input-phone.js +16 -16
  430. package/dist/components/input-phone/input-phone.styles.js +2 -2
  431. package/dist/components/input-time/input-time.js +11 -11
  432. package/dist/components/input-time/input-time.styles.js +3 -3
  433. package/dist/components/menu-accordion/menu-accordion.d.ts +1 -0
  434. package/dist/components/menu-accordion/menu-accordion.js +4 -2
  435. package/dist/components/navbar-menu/navbar-menu.js +3 -2
  436. package/dist/components/option/option.js +2 -2
  437. package/dist/components/page-header/page-header.d.ts +31 -0
  438. package/dist/components/page-header/page-header.js +12 -0
  439. package/dist/components/page-header/page-header.styles.d.ts +2 -0
  440. package/dist/components/page-header/page-header.styles.js +8 -0
  441. package/dist/components/pagination/pagination.js +20 -20
  442. package/dist/components/pagination-button/pagination-button.js +1 -1
  443. package/dist/components/profile-button/profile-button.js +4 -4
  444. package/dist/components/progress-bar/progress-bar.js +3 -2
  445. package/dist/components/progress-ring/progress-ring.js +2 -1
  446. package/dist/components/quote/quote.js +3 -2
  447. package/dist/components/radio-button/radio-button.js +9 -9
  448. package/dist/components/radio-card/radio-card.js +7 -7
  449. package/dist/components/radio-group/radio-group.d.ts +3 -0
  450. package/dist/components/radio-group/radio-group.js +6 -6
  451. package/dist/components/radio-group/radio-group.styles.js +2 -2
  452. package/dist/components/range-slider/range-slider.js +2 -1
  453. package/dist/components/relative-time/relative-time.js +2 -2
  454. package/dist/components/select/select.d.ts +1 -0
  455. package/dist/components/select/select.js +12 -12
  456. package/dist/components/select/select.styles.js +2 -2
  457. package/dist/components/skip-links/skip-links.js +2 -2
  458. package/dist/components/spinner/spinner.js +2 -2
  459. package/dist/components/split-panel/split-panel.js +2 -2
  460. package/dist/components/step/step.js +3 -3
  461. package/dist/components/switch/switch.js +3 -3
  462. package/dist/components/tab/tab.js +5 -4
  463. package/dist/components/tab-group/tab-group.d.ts +6 -0
  464. package/dist/components/tab-group/tab-group.js +6 -5
  465. package/dist/components/tab-group/tab-group.styles.js +1 -1
  466. package/dist/components/table/table.js +1 -1
  467. package/dist/components/table-action/table-action.js +2 -2
  468. package/dist/components/table-body/table-body.js +3 -3
  469. package/dist/components/table-caption/table-caption.d.ts +1 -0
  470. package/dist/components/table-caption/table-caption.js +2 -2
  471. package/dist/components/table-container/table-container.d.ts +5 -0
  472. package/dist/components/table-container/table-container.js +4 -1
  473. package/dist/components/table-head/table-head.js +2 -2
  474. package/dist/components/table-header-cell/table-header-cell.js +2 -2
  475. package/dist/components/table-header-cell/table-header-cell.styles.js +1 -1
  476. package/dist/components/table-header-row/table-header-row.js +17 -17
  477. package/dist/components/table-header-row/table-header-row.styles.js +1 -1
  478. package/dist/components/table-of-contents/table-of-contents.js +2 -2
  479. package/dist/components/table-row/table-row.js +12 -12
  480. package/dist/components/tag/tag.js +6 -5
  481. package/dist/components/tag/tag.styles.js +1 -1
  482. package/dist/components/textarea/textarea.js +7 -7
  483. package/dist/components/textarea/textarea.styles.js +2 -2
  484. package/dist/components/tooltip/tooltip.js +2 -2
  485. package/dist/components/tree/tree.js +12 -12
  486. package/dist/components/tree-item/tree-item.js +11 -11
  487. package/dist/custom-elements.json +487 -190
  488. package/dist/design-system.d.ts +1 -0
  489. package/dist/design-system.js +136 -131
  490. package/dist/internal/components/form-control/form-control-layout.d.ts +2 -0
  491. package/dist/internal/components/form-control/form-control-layout.js +17 -1
  492. package/dist/internal/components/form-toggle-button/form-toggle-button.d.ts +1 -0
  493. package/dist/internal/components/form-toggle-button/form-toggle-button.js +6 -0
  494. package/dist/styles/form-control.styles.js +5 -0
  495. package/dist/themes/dsa-wc-theme.css +124 -31
  496. package/dist/themes/dsa-wc-theme.min.css +1 -1
  497. package/dist/themes/dsa-wc-theme.styles.js +125 -31
  498. package/dist/translations/en-gb.js +1 -1
  499. package/dist/translations/en.js +1 -1
  500. package/dist/translations/fr.js +1 -1
  501. package/dist/utilities/date.js +1 -1
  502. package/dist/utilities/localize.d.ts +2 -0
  503. package/dist/utilities/localize.js +1 -1
  504. package/dist/vscode.html-custom-data.json +65 -31
  505. package/dist/web-types.json +238 -84
  506. package/package.json +1 -1
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk.O4MZVDWB.js";
4
4
  import {
5
5
  FormControlLayout
6
- } from "./chunk.LGDM46D4.js";
6
+ } from "./chunk.RVCSQIWF.js";
7
7
  import {
8
8
  combobox_styles_default
9
- } from "./chunk.WB2DWTAB.js";
9
+ } from "./chunk.YJEHKLDJ.js";
10
10
  import {
11
11
  scrollIntoView
12
12
  } from "./chunk.EMIT7S33.js";
@@ -29,7 +29,7 @@ import {
29
29
  } from "./chunk.HGR7A5FK.js";
30
30
  import {
31
31
  LocalizeController
32
- } from "./chunk.U7ZMMMJ3.js";
32
+ } from "./chunk.YWHYMKYI.js";
33
33
  import {
34
34
  watch
35
35
  } from "./chunk.NOMN6DGD.js";
@@ -58,6 +58,7 @@ var DSACombobox = class extends FormControlLayout {
58
58
  this.selectedOptions = [];
59
59
  this.allOptions = [];
60
60
  this.filteredOptions = [];
61
+ this.displayedOptionsCount = 0;
61
62
  this.debounceTimerId = null;
62
63
  this.open = false;
63
64
  this.value = "";
@@ -69,8 +70,9 @@ var DSACombobox = class extends FormControlLayout {
69
70
  this.items = void 0;
70
71
  this.multiple = false;
71
72
  this.maxOptionsVisible = 3;
73
+ this.visibleListLength = void 0;
72
74
  this.debounceTimeout = 300;
73
- this.fetchingState = "success";
75
+ this.fetchingState = "idle";
74
76
  this.overrideDefaultFiltering = false;
75
77
  }
76
78
  /** Gets the validity state object */
@@ -88,6 +90,7 @@ var DSACombobox = class extends FormControlLayout {
88
90
  this.open = false;
89
91
  this.allOptions = this.getAllOptions();
90
92
  this.filteredOptions = [...this.allOptions];
93
+ this.resetDisplayedOptionsCount();
91
94
  }
92
95
  /** Input events */
93
96
  handleBlur() {
@@ -109,7 +112,11 @@ var DSACombobox = class extends FormControlLayout {
109
112
  event.preventDefault();
110
113
  this.displayInput.focus({ preventScroll: true });
111
114
  this.filterOptions(this.displayLabel);
112
- this.open = !this.open;
115
+ if (!this.open) {
116
+ this.show();
117
+ } else {
118
+ this.hide();
119
+ }
113
120
  }
114
121
  handleComboboxKeyDown(event) {
115
122
  this.filterOptions(this.displayLabel);
@@ -136,7 +143,6 @@ var DSACombobox = class extends FormControlLayout {
136
143
  }
137
144
  }
138
145
  handleInput() {
139
- var _a;
140
146
  this.displayLabel = this.displayInput.value;
141
147
  this.show();
142
148
  if (this.debounceTimerId !== null) {
@@ -146,12 +152,6 @@ var DSACombobox = class extends FormControlLayout {
146
152
  () => this.emit("dsa-input"),
147
153
  this.debounceTimeout
148
154
  );
149
- if (!this.multiple) {
150
- if (this.displayLabel !== ((_a = this.selectedOptions[0]) == null ? void 0 : _a.getTextLabel())) {
151
- this.value = "";
152
- this.clearSelectedOptions();
153
- }
154
- }
155
155
  }
156
156
  handleClearClick(event) {
157
157
  event.stopPropagation();
@@ -179,6 +179,9 @@ var DSACombobox = class extends FormControlLayout {
179
179
  });
180
180
  }
181
181
  }
182
+ resetDisplayedOptionsCount() {
183
+ this.displayedOptionsCount = this.visibleListLength ? Math.min(this.visibleListLength, this.filteredOptions.length) : this.filteredOptions.length;
184
+ }
182
185
  // Toggles an option's selected state
183
186
  toggleOptionSelection(option, force) {
184
187
  option.selected = force || !option.selected;
@@ -188,6 +191,10 @@ var DSACombobox = class extends FormControlLayout {
188
191
  handleOptionClick(event) {
189
192
  const target = event.target;
190
193
  const option = target.closest(OPTION_TAG);
194
+ this.setCurrentOption(void 0);
195
+ if (option === this.seeMoreOption) {
196
+ return;
197
+ }
191
198
  if (option !== null && !option.disabled) {
192
199
  const oldValue = this.value;
193
200
  if (this.multiple) {
@@ -211,6 +218,7 @@ var DSACombobox = class extends FormControlLayout {
211
218
  }
212
219
  }
213
220
  handleDefaultSlotChange() {
221
+ this.resetDisplayedOptionsCount();
214
222
  if (customElements.get(OPTION_TAG)) {
215
223
  this.allOptions = this.getAllOptions();
216
224
  this.filterOptions(this.displayLabel);
@@ -255,6 +263,7 @@ var DSACombobox = class extends FormControlLayout {
255
263
  optionsNodeList.forEach((option) => {
256
264
  const clonedOption = option.cloneNode(true);
257
265
  clonedOption.multiple = this.multiple;
266
+ clonedOption.id = clonedOption.value;
258
267
  allOptions.push(clonedOption);
259
268
  });
260
269
  return allOptions;
@@ -267,7 +276,7 @@ var DSACombobox = class extends FormControlLayout {
267
276
  }
268
277
  // Sets the current option, which is the option the user is currently interacting with (e.g. via keyboard). Only one
269
278
  // option may be "current" at a time.
270
- setCurrentOption(option, focus = false) {
279
+ setCurrentOption(option) {
271
280
  this.allOptions.forEach((el) => {
272
281
  el.current = false;
273
282
  el.tabIndex = -1;
@@ -275,10 +284,6 @@ var DSACombobox = class extends FormControlLayout {
275
284
  if (option !== void 0) {
276
285
  this.currentOption = option;
277
286
  option.current = true;
278
- option.tabIndex = 0;
279
- if (focus) {
280
- option.focus();
281
- }
282
287
  } else {
283
288
  this.currentOption = void 0;
284
289
  }
@@ -302,7 +307,6 @@ var DSACombobox = class extends FormControlLayout {
302
307
  var _a, _b, _c, _d;
303
308
  if (this.multiple) {
304
309
  this.value = this.selectedOptions.map((el) => el.value);
305
- this.displayLabel = "";
306
310
  } else {
307
311
  this.value = (_b = (_a = this.selectedOptions[0]) == null ? void 0 : _a.value) != null ? _b : this.value;
308
312
  this.displayLabel = (_d = (_c = this.selectedOptions[0]) == null ? void 0 : _c.getTextLabel()) != null ? _d : "";
@@ -370,7 +374,9 @@ var DSACombobox = class extends FormControlLayout {
370
374
  this.hide();
371
375
  this.displayInput.focus({ preventScroll: true });
372
376
  this.hasVisualFocus = true;
373
- } else if (event.key === "Escape" && !this.open) {
377
+ return;
378
+ }
379
+ if (event.key === "Escape") {
374
380
  if (this.multiple && this.displayLabel !== "") {
375
381
  event.stopPropagation();
376
382
  this.displayLabel = "";
@@ -382,8 +388,13 @@ var DSACombobox = class extends FormControlLayout {
382
388
  }
383
389
  }
384
390
  handleEnterKey(event) {
391
+ var _a;
385
392
  const target = event.target;
386
393
  const isTag = target.closest("dsa-tag") !== null;
394
+ if ((_a = this.seeMoreOption) == null ? void 0 : _a.current) {
395
+ this.handleSeeMoreClick();
396
+ return;
397
+ }
387
398
  if (isTag) {
388
399
  return;
389
400
  }
@@ -411,35 +422,69 @@ var DSACombobox = class extends FormControlLayout {
411
422
  this.setCurrentOption(void 0);
412
423
  }
413
424
  handleNavigationKeys(event) {
414
- const currentIndex = this.currentOption !== void 0 ? this.filteredOptions.indexOf(this.currentOption) : -1;
415
- let newIndex = Math.max(0, currentIndex);
425
+ var _a, _b;
426
+ const currentOptionIndex = this.currentOption !== void 0 ? this.filteredOptions.indexOf(this.currentOption) : -1;
416
427
  event.preventDefault();
417
428
  if (!this.open) {
418
429
  this.show();
419
430
  }
420
431
  switch (event.key) {
421
432
  case "ArrowDown":
422
- if (currentIndex < this.allOptions.length - 1) {
423
- newIndex = currentIndex + 1;
433
+ if ((_a = this.seeMoreOption) == null ? void 0 : _a.current) break;
434
+ else if (currentOptionIndex < this.displayedOptionsCount - 1) {
435
+ this.setCurrentOption(this.filteredOptions[currentOptionIndex + 1]);
436
+ } else if (this.filteredOptions.length > this.displayedOptionsCount) {
437
+ this.setCurrentOption(void 0);
438
+ if (this.seeMoreOption) this.seeMoreOption.current = true;
424
439
  }
425
440
  break;
426
441
  case "ArrowUp":
427
- if (currentIndex === -1) {
428
- newIndex = 1;
429
- } else if (currentIndex > 0) {
430
- newIndex = currentIndex - 1;
442
+ if ((_b = this.seeMoreOption) == null ? void 0 : _b.current) {
443
+ this.setCurrentOption(
444
+ this.filteredOptions[this.displayedOptionsCount - 1]
445
+ );
446
+ this.seeMoreOption.current = false;
447
+ } else if (currentOptionIndex === -1) {
448
+ this.setCurrentOption(this.filteredOptions[0]);
449
+ } else if (currentOptionIndex > 0) {
450
+ this.setCurrentOption(this.filteredOptions[currentOptionIndex - 1]);
431
451
  }
432
452
  break;
433
453
  case "Home":
434
- newIndex = 0;
454
+ this.setCurrentOption(this.filteredOptions[0]);
455
+ if (this.seeMoreOption) this.seeMoreOption.current = false;
435
456
  break;
436
457
  case "End":
437
- newIndex = this.filteredOptions.length - 1;
458
+ this.setCurrentOption(
459
+ this.filteredOptions[this.displayedOptionsCount - 1]
460
+ );
461
+ if (this.seeMoreOption) this.seeMoreOption.current = false;
438
462
  break;
439
463
  }
440
- this.setCurrentOption(this.filteredOptions[newIndex], true);
441
464
  this.hasVisualFocus = false;
442
465
  }
466
+ handleSeeMoreClick() {
467
+ var _a;
468
+ this.setCurrentOption(this.filteredOptions[this.displayedOptionsCount]);
469
+ this.displayedOptionsCount = Math.min(
470
+ this.displayedOptionsCount + ((_a = this.visibleListLength) != null ? _a : 0),
471
+ this.filteredOptions.length
472
+ );
473
+ if (this.seeMoreOption) this.seeMoreOption.current = false;
474
+ }
475
+ getDescriptionIds() {
476
+ let ids = [];
477
+ if (this.multiple && this.maxOptionsVisible > 0) {
478
+ const tagList = this.selectedOptions.slice(0, this.maxOptionsVisible).map((option) => `tag-${option.value}`).join(" ");
479
+ ids = [...ids, tagList];
480
+ }
481
+ if (this.multiple && this.selectedOptions.length > this.maxOptionsVisible) {
482
+ ids = [...ids, "tag-remaining"];
483
+ }
484
+ if (this.error) ids = [...ids, "error-text"];
485
+ ids = [...ids, "help-text", "description"];
486
+ return ids.join(" ");
487
+ }
443
488
  handleDisabledChange() {
444
489
  if (this.disabled) {
445
490
  this.open = false;
@@ -455,6 +500,7 @@ var DSACombobox = class extends FormControlLayout {
455
500
  handleItemsChange() {
456
501
  var _a;
457
502
  (_a = this.items) == null ? void 0 : _a.forEach((item) => {
503
+ item.id = item.id && item.id !== "" ? item.id : item.value;
458
504
  item.multiple = this.multiple;
459
505
  });
460
506
  this.allOptions = this.getAllOptions();
@@ -466,6 +512,7 @@ var DSACombobox = class extends FormControlLayout {
466
512
  if (!this.multiple && this.selectedOptions.length > 0) {
467
513
  this.syncOnSelection();
468
514
  }
515
+ this.resetDisplayedOptionsCount();
469
516
  }
470
517
  handleValueChange() {
471
518
  const value = Array.isArray(this.value) ? this.value : [this.value];
@@ -485,7 +532,7 @@ var DSACombobox = class extends FormControlLayout {
485
532
  this.popup.active = true;
486
533
  this.displayInput.focus({ preventScroll: true });
487
534
  requestAnimationFrame(() => {
488
- this.setCurrentOption(this.currentOption, true);
535
+ this.setCurrentOption(this.currentOption);
489
536
  });
490
537
  const { keyframes, options } = getAnimation(this, "select.show", {
491
538
  dir: this.localize.dir()
@@ -509,7 +556,12 @@ var DSACombobox = class extends FormControlLayout {
509
556
  }
510
557
  }
511
558
  handleDisplayLabelChange() {
559
+ var _a;
512
560
  this.filterOptions(this.displayLabel);
561
+ if (!((_a = this.seeMoreOption) == null ? void 0 : _a.current)) {
562
+ this.setCurrentOption(this.filteredOptions[0]);
563
+ }
564
+ this.resetDisplayedOptionsCount();
513
565
  }
514
566
  handleMultipleChange() {
515
567
  this.allOptions.forEach((option) => {
@@ -518,7 +570,7 @@ var DSACombobox = class extends FormControlLayout {
518
570
  }
519
571
  /** Shows the listbox. */
520
572
  async show() {
521
- if (this.open || this.disabled || this.readonly) {
573
+ if (this.open || this.disabled || this.readonly || this.allOptions.length === 0 && this.fetchingState === "idle") {
522
574
  return void 0;
523
575
  }
524
576
  this.open = true;
@@ -570,7 +622,10 @@ var DSACombobox = class extends FormControlLayout {
570
622
  const isPlaceholderVisible = this.placeholder && this.value.length === 0;
571
623
  const selectInputWidth = this.value ? isValueDefined ? this.value.length : 1 : void 0;
572
624
  const isDisabledOrReadonly = this.disabled || this.readonly;
573
- const ariaDescribedBy = `${this.multiple && this.maxOptionsVisible > 0 ? this.selectedOptions.slice(0, this.maxOptionsVisible).map((option) => `tag-${option.value}`).join(" ") : ""} ${this.multiple && this.selectedOptions.length > this.maxOptionsVisible ? "tag-remaining" : ""} ${this.error ? "error-text" : ""} help-text`;
625
+ const displayedOptions = this.filteredOptions.slice(
626
+ 0,
627
+ this.displayedOptionsCount
628
+ );
574
629
  return html`
575
630
  <dsa-popup
576
631
  class=${classMap({
@@ -641,7 +696,7 @@ var DSACombobox = class extends FormControlLayout {
641
696
  hasLabel ? void 0 : this.title
642
697
  )}
643
698
  aria-disabled=${isDisabledOrReadonly ? "true" : "false"}
644
- aria-describedby=${ariaDescribedBy}
699
+ aria-describedby=${this.getDescriptionIds()}
645
700
  aria-activedescendant=${(_b = (_a = this.currentOption) == null ? void 0 : _a.id) != null ? _b : ""}
646
701
  aria-invalid=${ifDefined(this.error ? "true" : void 0)}
647
702
  aria-required=${ifDefined(this.required ? "true" : void 0)}
@@ -721,43 +776,55 @@ var DSACombobox = class extends FormControlLayout {
721
776
  <dsa-icon name="close" library="system"></dsa-icon>
722
777
  </button>
723
778
  ` : ""}
724
-
725
- <dsa-icon
726
- class="select__expand-icon"
727
- name="expand_more"
728
- library="system"
729
- ></dsa-icon>
779
+ ${this.allOptions.length > 0 || this.fetchingState !== "idle" ? html`
780
+ <dsa-icon
781
+ class="select__expand-icon"
782
+ name="expand_more"
783
+ library="system"
784
+ ></dsa-icon>
785
+ ` : ""}
786
+ </div>
787
+ <div class="select__panel" @keydown=${this.handleDefaultKeyDown}>
788
+ <ul
789
+ id="listbox"
790
+ role="listbox"
791
+ aria-expanded=${this.open ? "true" : "false"}
792
+ aria-multiselectable="false"
793
+ aria-labelledby="label"
794
+ part="listbox"
795
+ class="select__listbox"
796
+ tabindex="-1"
797
+ @mouseup=${this.handleOptionClick}
798
+ >
799
+ ${this.fetchingState === "loading" ? html`
800
+ <div class="select__loading_text">
801
+ <dsa-spinner></dsa-spinner>
802
+ <p>${this.localize.term("optionsLoading")}</p>
803
+ </div>
804
+ ` : html``}
805
+ ${this.fetchingState === "error" ? html`
806
+ <div class="select__loading_text">
807
+ <p>${this.localize.term("optionsError")}</p>
808
+ </div>
809
+ ` : html``}
810
+ ${["idle", "success"].includes(this.fetchingState) && this.filteredOptions.length > 0 ? displayedOptions : html``}
811
+ ${this.visibleListLength && this.visibleListLength > 0 && this.filteredOptions.length > this.displayedOptionsCount ? html`
812
+ <dsa-option
813
+ class="select__panel-see-more-option"
814
+ id="dsa-seemore-option"
815
+ @click=${this.handleSeeMoreClick}
816
+ ><span class="see-more-option-text"
817
+ >${this.localize.term("seeMore")}</span
818
+ ></dsa-option
819
+ >
820
+ ` : ""}
821
+ ${["idle", "success"].includes(this.fetchingState) && this.filteredOptions.length === 0 ? html`
822
+ <div class="select__empty_text">
823
+ <p>${this.localize.term("noMatchFound")}</p>
824
+ </div>
825
+ ` : html``}
826
+ </ul>
730
827
  </div>
731
- <ul
732
- id="listbox"
733
- role="listbox"
734
- aria-expanded=${this.open ? "true" : "false"}
735
- aria-multiselectable="false"
736
- aria-labelledby="label"
737
- part="listbox"
738
- class="select__listbox"
739
- tabindex="-1"
740
- @mouseup=${this.handleOptionClick}
741
- @keydown=${this.handleDefaultKeyDown}
742
- >
743
- ${this.fetchingState === "loading" ? html`
744
- <div class="select__loading_text">
745
- <dsa-spinner></dsa-spinner>
746
- <p>${this.localize.term("optionsLoading")}</p>
747
- </div>
748
- ` : html``}
749
- ${this.fetchingState === "error" ? html`
750
- <div class="select__loading_text">
751
- <p>${this.localize.term("optionsError")}</p>
752
- </div>
753
- ` : html``}
754
- ${this.fetchingState === "success" && this.filteredOptions.length > 0 ? this.filteredOptions : html``}
755
- ${this.fetchingState === "success" && this.filteredOptions.length === 0 ? html`
756
- <div class="select__empty_text">
757
- <p>${this.localize.term("noMatchFound")}</p>
758
- </div>
759
- ` : html``}
760
- </ul>
761
828
 
762
829
  <slot
763
830
  class="slot_options"
@@ -785,6 +852,9 @@ __decorateClass([
785
852
  __decorateClass([
786
853
  query(".select__listbox")
787
854
  ], DSACombobox.prototype, "listbox", 2);
855
+ __decorateClass([
856
+ query(".select__panel-see-more-option")
857
+ ], DSACombobox.prototype, "seeMoreOption", 2);
788
858
  __decorateClass([
789
859
  state()
790
860
  ], DSACombobox.prototype, "hasVisualFocus", 2);
@@ -803,6 +873,9 @@ __decorateClass([
803
873
  __decorateClass([
804
874
  state()
805
875
  ], DSACombobox.prototype, "filteredOptions", 2);
876
+ __decorateClass([
877
+ state()
878
+ ], DSACombobox.prototype, "displayedOptionsCount", 2);
806
879
  __decorateClass([
807
880
  state()
808
881
  ], DSACombobox.prototype, "debounceTimerId", 2);
@@ -847,6 +920,9 @@ __decorateClass([
847
920
  __decorateClass([
848
921
  property({ attribute: "max-options-visible", type: Number })
849
922
  ], DSACombobox.prototype, "maxOptionsVisible", 2);
923
+ __decorateClass([
924
+ property({ attribute: "visible-list-length", type: Number || void 0 })
925
+ ], DSACombobox.prototype, "visibleListLength", 2);
850
926
  __decorateClass([
851
927
  property({ type: Number, attribute: "debounce-timeout" })
852
928
  ], DSACombobox.prototype, "debounceTimeout", 2);
@@ -1,9 +1,15 @@
1
1
  import {
2
2
  button_styles_default
3
3
  } from "./chunk.JEZOETYM.js";
4
+ import {
5
+ HasSlotController
6
+ } from "./chunk.YIY5RM53.js";
4
7
  import {
5
8
  watch
6
9
  } from "./chunk.NOMN6DGD.js";
10
+ import {
11
+ a11yWarning
12
+ } from "./chunk.PWL7QCVG.js";
7
13
  import {
8
14
  ShoelaceElement
9
15
  } from "./chunk.XZ5FE34T.js";
@@ -167,6 +173,7 @@ var form_toggle_button_styles_default = css`
167
173
  var FormToggleButton = class extends ShoelaceElement {
168
174
  constructor() {
169
175
  super(...arguments);
176
+ this.hasSlotController = new HasSlotController(this, "[default]");
170
177
  this.checked = false;
171
178
  this.parentDisabled = false;
172
179
  this.disabled = false;
@@ -202,6 +209,11 @@ var FormToggleButton = class extends ShoelaceElement {
202
209
  const isDisabled = this.disabled || this.parentDisabled;
203
210
  const isReadonly = this.readonly || this.parentReadonly;
204
211
  const isDeactivated = isDisabled || isReadonly;
212
+ if (!this.hasSlotController.test("[default]")) {
213
+ a11yWarning(
214
+ `<dsa-${this.type}-card> requires an accessible name in the default slot for accessibility`
215
+ );
216
+ }
205
217
  return html`
206
218
  <div part="base">
207
219
  <button
@@ -15,8 +15,17 @@ var table_header_row_styles_default = css`
15
15
  color: var(--dsa-wc-table-header-row-color);
16
16
  }
17
17
 
18
- ::slotted(dsa-table-header-cell) {
19
- block-size: var(--dsa-wc-table-header-row-height);
18
+ /* Sizes */
19
+ :host([size='small']) {
20
+ block-size: var(--dsa-wc-table-row-small-height);
21
+ }
22
+
23
+ :host([size='medium']) {
24
+ block-size: var(--dsa-wc-table-row-medium-height);
25
+ }
26
+
27
+ :host([size='large']) {
28
+ block-size: var(--dsa-wc-table-row-large-height);
20
29
  }
21
30
 
22
31
  [part~='column-checkbox'] {
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk.JDIBYGPL.js";
4
4
  import {
5
5
  LocalizeController
6
- } from "./chunk.U7ZMMMJ3.js";
6
+ } from "./chunk.YWHYMKYI.js";
7
7
  import {
8
8
  watch
9
9
  } from "./chunk.NOMN6DGD.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  breadcrumb_item_styles_default
3
- } from "./chunk.MILDW5D6.js";
3
+ } from "./chunk.WBUREDTC.js";
4
4
  import {
5
5
  HasSlotController
6
6
  } from "./chunk.YIY5RM53.js";
7
7
  import {
8
8
  LocalizeController
9
- } from "./chunk.U7ZMMMJ3.js";
9
+ } from "./chunk.YWHYMKYI.js";
10
10
  import {
11
11
  ShoelaceElement
12
12
  } from "./chunk.XZ5FE34T.js";
@@ -47,32 +47,32 @@ var icon_button_styles_default = css`
47
47
  pointer-events: none;
48
48
  }
49
49
  .icon-button__icon--2xsmall {
50
- width: 10px;
51
- height: 10px;
50
+ width: var(--dsa-wc-icon-button-size--2xsmall);
51
+ height: var(--dsa-wc-icon-button-size--2xsmall);
52
52
  }
53
53
  .icon-button__icon--xsmall {
54
- width: 12px;
55
- height: 12px;
54
+ width: var(--dsa-wc-icon-button-size--xsmall);
55
+ height: var(--dsa-wc-icon-button-size--xsmall);
56
56
  }
57
57
  .icon-button__icon--small {
58
- width: 14px;
59
- height: 14px;
58
+ width: var(--dsa-wc-icon-button-size--small);
59
+ height: var(--dsa-wc-icon-button-size--small);
60
60
  }
61
61
  .icon-button__icon--medium {
62
- width: 16px;
63
- height: 16px;
62
+ width: var(--dsa-wc-icon-button-size--medium);
63
+ height: var(--dsa-wc-icon-button-size--medium);
64
64
  }
65
65
  .icon-button__icon--large {
66
- width: 20px;
67
- height: 20px;
66
+ width: var(--dsa-wc-icon-button-size--large);
67
+ height: var(--dsa-wc-icon-button-size--large);
68
68
  }
69
69
  .icon-button__icon--xlarge {
70
- width: 24px;
71
- height: 24px;
70
+ width: var(--dsa-wc-icon-button-size--xlarge);
71
+ height: var(--dsa-wc-icon-button-size--xlarge);
72
72
  }
73
73
  .icon-button__icon--2xlarge {
74
- width: 36px;
75
- height: 36px;
74
+ width: var(--dsa-wc-icon-button-size--2xlarge);
75
+ height: var(--dsa-wc-icon-button-size--2xlarge);
76
76
  }
77
77
 
78
78
  .icon-button__description {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  tag_styles_default
3
- } from "./chunk.WFHOSUOX.js";
3
+ } from "./chunk.4LRLYTU2.js";
4
4
  import {
5
5
  LocalizeController
6
- } from "./chunk.U7ZMMMJ3.js";
6
+ } from "./chunk.YWHYMKYI.js";
7
7
  import {
8
8
  watch
9
9
  } from "./chunk.NOMN6DGD.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  input_styles_default
3
- } from "./chunk.CWDSCTUA.js";
3
+ } from "./chunk.OHDR6G6J.js";
4
4
 
5
5
  // src/components/input-date/input-date.styles.ts
6
6
  import { css } from "lit";