@ds-autonomie/web-components 2.4.0 → 2.5.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 (441) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/cdn/chunks/{chunk.OSJ5I4FK.js → chunk.2FF44G4Y.js} +5 -0
  3. package/cdn/chunks/{chunk.ICBLN3KB.js → chunk.2N65UIM6.js} +6 -6
  4. package/cdn/chunks/{chunk.Y5RTMSTB.js → chunk.2S3446TB.js} +1 -1
  5. package/cdn/chunks/{chunk.EZ2CTTR3.js → chunk.3E3HJ2GB.js} +3 -3
  6. package/cdn/chunks/{chunk.ZHJDF2I3.js → chunk.3KJHZGAI.js} +5 -5
  7. package/cdn/chunks/{chunk.ZCBARTO2.js → chunk.3PDDINNE.js} +6 -0
  8. package/cdn/chunks/{chunk.45DY5Z6P.js → chunk.3XMYYR4P.js} +1 -5
  9. package/cdn/chunks/{chunk.N7TSHDJG.js → chunk.3YELONZ5.js} +1 -1
  10. package/cdn/chunks/chunk.4OAG5UWA.js +72 -0
  11. package/cdn/chunks/{chunk.HBIJX2WM.js → chunk.4Q4LBN6D.js} +1 -1
  12. package/cdn/chunks/{chunk.YJBMFRB4.js → chunk.4UMO5YHQ.js} +1 -1
  13. package/cdn/chunks/{chunk.XLDTCR3W.js → chunk.5B3X2KU4.js} +8 -5
  14. package/cdn/chunks/{chunk.UPVAZQNH.js → chunk.5F7AUS4F.js} +50 -34
  15. package/cdn/chunks/chunk.5QJ7KDER.js +124 -0
  16. package/cdn/chunks/{chunk.TZ4FLP4S.js → chunk.5UVKMYSG.js} +1 -1
  17. package/cdn/chunks/chunk.6CVNT3XU.js +108 -0
  18. package/cdn/chunks/{chunk.WJDOTH54.js → chunk.6SV5RDDG.js} +1 -1
  19. package/cdn/chunks/{chunk.5VZE6TSA.js → chunk.6UY5XC7A.js} +1 -1
  20. package/cdn/chunks/{chunk.CUFMKSEN.js → chunk.7ZJHGFQH.js} +9 -2
  21. package/cdn/chunks/chunk.A747OEHH.js +145 -0
  22. package/cdn/chunks/{chunk.OJFCPMJA.js → chunk.BBWKTDH3.js} +1 -1
  23. package/cdn/chunks/chunk.BDPH2MRN.js +234 -0
  24. package/cdn/chunks/{chunk.LBDB4OXT.js → chunk.BGP2ITQD.js} +1 -1
  25. package/cdn/chunks/{chunk.JO52YCNJ.js → chunk.BKSVKEYX.js} +1 -1
  26. package/cdn/chunks/{chunk.LFBIXLMF.js → chunk.BKVL3A5I.js} +4 -4
  27. package/cdn/chunks/{chunk.VARBZAJP.js → chunk.BMQ5WSY7.js} +2 -0
  28. package/cdn/chunks/{chunk.MCSZ2F65.js → chunk.BQ3SI4TM.js} +1 -1
  29. package/cdn/chunks/{chunk.NTOOFOWB.js → chunk.DBJLSCQP.js} +2 -2
  30. package/cdn/chunks/{chunk.SJM5UCFK.js → chunk.DRUKNJJ5.js} +1 -1
  31. package/cdn/chunks/{chunk.JZOEQBF7.js → chunk.E73QKLNL.js} +1 -1
  32. package/cdn/chunks/{chunk.ZDF27RIQ.js → chunk.EYKHHWR5.js} +1 -1
  33. package/cdn/chunks/{chunk.HE5SI4A5.js → chunk.F6BCRVNV.js} +1 -1
  34. package/cdn/chunks/{chunk.GXQMOXKI.js → chunk.GVTFDL2C.js} +0 -4
  35. package/cdn/chunks/{chunk.EVFY55H5.js → chunk.HG4TPK7J.js} +38 -14
  36. package/cdn/chunks/{chunk.GBGDDTEL.js → chunk.HOIWGDVX.js} +1 -1
  37. package/cdn/chunks/chunk.I6WQAXU3.js +85 -0
  38. package/cdn/chunks/{chunk.75VU5MNL.js → chunk.J5KWVZHL.js} +2 -2
  39. package/cdn/chunks/{chunk.BEKIGEWZ.js → chunk.JEOLRBU6.js} +26 -3
  40. package/cdn/chunks/{chunk.NV5OLVPR.js → chunk.JG2GJKT5.js} +1 -1
  41. package/cdn/chunks/{chunk.6FWACI3G.js → chunk.JOVZPGCQ.js} +1 -1
  42. package/cdn/chunks/{chunk.N6Z3FRHY.js → chunk.JVTWZUNG.js} +1 -1
  43. package/cdn/chunks/{chunk.4ZEHBLJR.js → chunk.KNKNPTGU.js} +1 -1
  44. package/cdn/chunks/{chunk.WQ3NUYLG.js → chunk.KQJPZZKZ.js} +7 -8
  45. package/cdn/chunks/{chunk.WYTP4TFA.js → chunk.LEW43Y6P.js} +1 -1
  46. package/cdn/chunks/{chunk.PK4XXM66.js → chunk.LIJWOM2P.js} +1 -1
  47. package/cdn/chunks/chunk.LPB2VMCT.js +74 -0
  48. package/cdn/chunks/{chunk.FULHOODX.js → chunk.LZCR7P7U.js} +2 -2
  49. package/cdn/chunks/{chunk.KLIZYLWG.js → chunk.M4YRRHEL.js} +1 -1
  50. package/cdn/chunks/{chunk.OFWHWMUH.js → chunk.MJMSFEEL.js} +1 -1
  51. package/cdn/chunks/{chunk.VI5JEKGK.js → chunk.N74GMZQD.js} +1 -1
  52. package/cdn/chunks/{chunk.2FOGPUI3.js → chunk.NMVBZ537.js} +1 -1
  53. package/cdn/chunks/{chunk.CTMJ2DNZ.js → chunk.NOI6NFVL.js} +1 -1
  54. package/cdn/chunks/{chunk.E7IRWRZH.js → chunk.NUMKSKYJ.js} +1 -1
  55. package/cdn/chunks/{chunk.FTI4C7U6.js → chunk.NYK3GS67.js} +1 -1
  56. package/cdn/chunks/{chunk.6HLUBEKO.js → chunk.PQNNELEM.js} +1 -1
  57. package/cdn/chunks/{chunk.OVBLP5E4.js → chunk.PRP4B2TV.js} +1 -1
  58. package/cdn/chunks/{chunk.KYZIL6TB.js → chunk.PZQUQ6DG.js} +1 -1
  59. package/cdn/chunks/chunk.QCPGBCQ3.js +72 -0
  60. package/cdn/chunks/{chunk.4XTAL3PC.js → chunk.QYS7Y562.js} +3 -3
  61. package/cdn/chunks/{chunk.QKLRW3JL.js → chunk.RHJUPBW2.js} +4 -4
  62. package/cdn/chunks/chunk.RNF5H43X.js +199 -0
  63. package/cdn/chunks/{chunk.P6NF7VUG.js → chunk.RRVYERI6.js} +1 -1
  64. package/cdn/chunks/{chunk.6XVWAOAW.js → chunk.SDRL7END.js} +1 -1
  65. package/cdn/chunks/{chunk.FAPQZI57.js → chunk.SMJWBG6U.js} +1 -1
  66. package/cdn/chunks/{chunk.E36IR3BP.js → chunk.SPK4CXKV.js} +1 -1
  67. package/cdn/chunks/{chunk.WD2ZD2TZ.js → chunk.SS3GSU3M.js} +2 -2
  68. package/cdn/chunks/{chunk.67KNPORK.js → chunk.SUXMTZZQ.js} +1 -1
  69. package/cdn/chunks/chunk.T4PQY3SD.js +194 -0
  70. package/cdn/chunks/{chunk.FLPTQ76Z.js → chunk.TY7NQYTC.js} +5 -5
  71. package/cdn/chunks/{chunk.VZJGVIXG.js → chunk.UJQUHHXT.js} +2 -0
  72. package/cdn/chunks/{chunk.C6VRBK7T.js → chunk.UM64ZD3C.js} +1 -1
  73. package/cdn/chunks/{chunk.NY5U3HSN.js → chunk.URME4YZI.js} +1 -1
  74. package/cdn/chunks/{chunk.OMPBUYUW.js → chunk.UYGSA2IW.js} +5 -5
  75. package/cdn/chunks/chunk.W6RA2ZKW.js +124 -0
  76. package/cdn/chunks/{chunk.JD7YUYPB.js → chunk.WLND36JK.js} +39 -15
  77. package/cdn/chunks/{chunk.AZBK27ET.js → chunk.WQLZJXIF.js} +1 -1
  78. package/cdn/chunks/{chunk.SMWE3ICX.js → chunk.XGOXFBM5.js} +1 -1
  79. package/cdn/chunks/{chunk.7YE2BWH2.js → chunk.XYXJQSTL.js} +1 -1
  80. package/cdn/chunks/{chunk.KOWSS3HP.js → chunk.Y2RQJPXD.js} +1 -1
  81. package/cdn/chunks/{chunk.KPS4A22J.js → chunk.Y4XSMWCI.js} +1 -1
  82. package/cdn/chunks/{chunk.PIFZYHAW.js → chunk.YAK3QGTM.js} +1 -1
  83. package/cdn/chunks/chunk.YGZ44MNV.js +64 -0
  84. package/cdn/chunks/{chunk.RZUPGCMM.js → chunk.YSKD4LUA.js} +1 -5
  85. package/cdn/chunks/{chunk.K4B5TCNN.js → chunk.YX277NFA.js} +1 -1
  86. package/cdn/components/accordion/accordion.js +4 -4
  87. package/cdn/components/alert/alert.js +4 -4
  88. package/cdn/components/anchor-tag/anchor-tag.d.ts +2 -1
  89. package/cdn/components/anchor-tag/anchor-tag.js +1 -1
  90. package/cdn/components/avatar/avatar.js +2 -2
  91. package/cdn/components/breadcrumb/breadcrumb.js +4 -4
  92. package/cdn/components/breadcrumb-item/breadcrumb-item.js +2 -2
  93. package/cdn/components/button/button.js +5 -5
  94. package/cdn/components/calendar/calendar.js +2 -2
  95. package/cdn/components/callout/callout.js +2 -2
  96. package/cdn/components/card/card.d.ts +0 -2
  97. package/cdn/components/card/card.js +1 -1
  98. package/cdn/components/card-content/card-content.d.ts +51 -0
  99. package/cdn/components/card-content/card-content.js +28 -0
  100. package/cdn/components/card-content/card-content.styles.js +10 -0
  101. package/cdn/components/card-nav/card-nav.d.ts +23 -0
  102. package/cdn/components/card-nav/card-nav.js +15 -0
  103. package/cdn/components/card-nav/card-nav.styles.d.ts +2 -0
  104. package/cdn/components/{include/include.styles.js → card-nav/card-nav.styles.js} +3 -3
  105. package/cdn/components/card-nav-accordion/card-nav-accordion.d.ts +49 -0
  106. package/cdn/components/card-nav-accordion/card-nav-accordion.js +30 -0
  107. package/cdn/components/card-nav-accordion/card-nav-accordion.styles.js +10 -0
  108. package/cdn/components/card-nav-item/card-nav-item.d.ts +38 -0
  109. package/cdn/components/card-nav-item/card-nav-item.js +26 -0
  110. package/cdn/components/card-nav-item/card-nav-item.styles.d.ts +2 -0
  111. package/cdn/components/card-nav-item/card-nav-item.styles.js +10 -0
  112. package/cdn/components/checkbox/checkbox.js +4 -4
  113. package/cdn/components/checkbox-button/checkbox-button.js +4 -4
  114. package/cdn/components/checkbox-card/checkbox-card.js +2 -2
  115. package/cdn/components/checkbox-group/checkbox-group.js +3 -3
  116. package/cdn/components/combobox/combobox.js +7 -7
  117. package/cdn/components/dialog/dialog.js +4 -4
  118. package/cdn/components/download-card/download-card.js +2 -2
  119. package/cdn/components/download-link/download-link.js +2 -2
  120. package/cdn/components/drawer/drawer.js +4 -4
  121. package/cdn/components/dropdown/dropdown.d.ts +0 -5
  122. package/cdn/components/dropdown/dropdown.js +2 -2
  123. package/cdn/components/error-message-panel/error-message-panel.js +2 -2
  124. package/cdn/components/error-text/error-text.js +2 -2
  125. package/cdn/components/fieldset/fieldset.d.ts +39 -0
  126. package/cdn/components/fieldset/fieldset.js +17 -0
  127. package/cdn/components/fieldset/fieldset.styles.d.ts +2 -0
  128. package/cdn/components/fieldset/fieldset.styles.js +10 -0
  129. package/cdn/components/file-upload/file-upload.js +4 -4
  130. package/cdn/components/file-upload-item/file-upload-item.js +2 -2
  131. package/cdn/components/filter-base/filter-base.js +5 -5
  132. package/cdn/components/filter-button/filter-button.js +4 -4
  133. package/cdn/components/filter-counter/filter-counter.js +19 -19
  134. package/cdn/components/filter-date/filter-date.js +11 -11
  135. package/cdn/components/filter-range/filter-range.js +19 -19
  136. package/cdn/components/filter-select/filter-select.js +20 -20
  137. package/cdn/components/footer/footer.js +2 -2
  138. package/cdn/components/format-bytes/format-bytes.js +2 -2
  139. package/cdn/components/format-date/format-date.js +2 -2
  140. package/cdn/components/format-number/format-number.js +2 -2
  141. package/cdn/components/header/header.js +3 -3
  142. package/cdn/components/header/header.styles.js +1 -1
  143. package/cdn/components/header-search/header-search.js +6 -6
  144. package/cdn/components/icon/icon.js +2 -2
  145. package/cdn/components/icon-button/icon-button.js +2 -2
  146. package/cdn/components/input/input.d.ts +5 -5
  147. package/cdn/components/input/input.js +12 -12
  148. package/cdn/components/input-date/input-date.js +9 -9
  149. package/cdn/components/input-mask/input-mask.js +5 -5
  150. package/cdn/components/input-otp/input-otp.js +4 -4
  151. package/cdn/components/input-phone/input-phone.js +8 -8
  152. package/cdn/components/input-time/input-time.d.ts +7 -3
  153. package/cdn/components/input-time/input-time.js +6 -6
  154. package/cdn/components/input-time/input-time.styles.js +1 -1
  155. package/cdn/components/menu-accordion/menu-accordion.js +4 -4
  156. package/cdn/components/menu-item/menu-item.d.ts +1 -1
  157. package/cdn/components/menu-item/menu-item.js +5 -4
  158. package/cdn/components/menu-item/menu-item.styles.js +1 -1
  159. package/cdn/components/mutation-observer/mutation-observer.d.ts +1 -3
  160. package/cdn/components/mutation-observer/mutation-observer.js +1 -1
  161. package/cdn/components/navbar-link/navbar-link.js +2 -2
  162. package/cdn/components/navbar-menu/navbar-menu.js +4 -4
  163. package/cdn/components/option/option.js +4 -4
  164. package/cdn/components/pagination/pagination.js +13 -13
  165. package/cdn/components/profile-button/profile-button.js +5 -5
  166. package/cdn/components/progress-bar/progress-bar.js +2 -2
  167. package/cdn/components/quote/quote.js +2 -2
  168. package/cdn/components/radio/radio.js +2 -2
  169. package/cdn/components/radio-button/radio-button.js +4 -4
  170. package/cdn/components/radio-card/radio-card.js +4 -4
  171. package/cdn/components/radio-group/radio-group.js +3 -3
  172. package/cdn/components/relative-time/relative-time.d.ts +1 -1
  173. package/cdn/components/relative-time/relative-time.js +2 -2
  174. package/cdn/components/resize-observer/resize-observer.d.ts +1 -3
  175. package/cdn/components/select/select.js +6 -6
  176. package/cdn/components/skip-links/skip-links.js +2 -2
  177. package/cdn/components/spinner/spinner.js +2 -2
  178. package/cdn/components/split-panel/split-panel.js +4 -4
  179. package/cdn/components/step/step.js +4 -4
  180. package/cdn/components/switch/switch.js +4 -4
  181. package/cdn/components/tab/tab.js +4 -4
  182. package/cdn/components/tab-group/tab-group.js +4 -4
  183. package/cdn/components/table-action/table-action.js +2 -2
  184. package/cdn/components/table-caption/table-caption.js +2 -2
  185. package/cdn/components/table-container/table-container.d.ts +3 -0
  186. package/cdn/components/table-container/table-container.js +2 -2
  187. package/cdn/components/table-header-cell/table-header-cell.js +2 -2
  188. package/cdn/components/table-header-row/table-header-row.js +7 -7
  189. package/cdn/components/table-of-contents/table-of-contents.js +2 -2
  190. package/cdn/components/table-row/table-row.js +6 -6
  191. package/cdn/components/tag/tag.js +4 -4
  192. package/cdn/components/tag-button/tag-button.d.ts +53 -0
  193. package/cdn/components/tag-button/tag-button.js +18 -0
  194. package/cdn/components/tag-button/tag-button.styles.d.ts +2 -0
  195. package/cdn/components/tag-button/tag-button.styles.js +10 -0
  196. package/cdn/components/textarea/textarea.js +4 -4
  197. package/cdn/components/tooltip/tooltip.d.ts +2 -0
  198. package/cdn/components/tooltip/tooltip.js +2 -2
  199. package/cdn/components/tree/tree.js +8 -8
  200. package/cdn/components/tree-item/tree-item.js +7 -7
  201. package/cdn/custom-elements.json +1246 -224
  202. package/cdn/design-system.d.ts +7 -2
  203. package/cdn/design-system.js +130 -105
  204. package/cdn/internal/components/form-control/form-control-layout.js +1 -1
  205. package/cdn/themes/dsa-wc-theme.css +94 -2
  206. package/cdn/themes/dsa-wc-theme.min.css +1 -1
  207. package/cdn/themes/dsa-wc-theme.styles.js +100 -2
  208. package/cdn/translations/en-gb.js +1 -1
  209. package/cdn/translations/en.js +1 -1
  210. package/cdn/translations/fr.js +1 -1
  211. package/cdn/utilities/localize.d.ts +1 -0
  212. package/cdn/utilities/localize.js +1 -1
  213. package/cdn/vscode.html-custom-data.json +212 -37
  214. package/cdn/web-types.json +672 -103
  215. package/dist/chunks/{chunk.TKV7I7MM.js → chunk.2655IKKL.js} +9 -2
  216. package/dist/chunks/chunk.2EO2NJQJ.js +118 -0
  217. package/dist/chunks/{chunk.QEZ5FSIU.js → chunk.2GAMN72N.js} +1 -1
  218. package/dist/chunks/{chunk.DNLOBVBE.js → chunk.2JRGVS6D.js} +1 -1
  219. package/dist/chunks/{chunk.DYTNEN2V.js → chunk.2TYHIVTN.js} +1 -1
  220. package/dist/chunks/{chunk.7K5DG6KV.js → chunk.3RMSYRZA.js} +1 -1
  221. package/dist/chunks/chunk.3XTO3LV5.js +62 -0
  222. package/dist/chunks/chunk.3YZI5GBX.js +72 -0
  223. package/dist/chunks/{chunk.VYIXCMT3.js → chunk.3ZF3W6DC.js} +5 -5
  224. package/dist/chunks/{chunk.KDEA34PP.js → chunk.4JZFGBJP.js} +1 -1
  225. package/dist/chunks/{chunk.MWWI3AU2.js → chunk.4VHQEXSY.js} +1 -1
  226. package/dist/chunks/{chunk.M4H37WUH.js → chunk.54CFE45F.js} +5 -0
  227. package/dist/chunks/{chunk.ZAZPAXHI.js → chunk.54XEUZ55.js} +1 -1
  228. package/dist/chunks/chunk.5KTLM3MD.js +106 -0
  229. package/dist/chunks/{chunk.533C7JJH.js → chunk.62WXVS5Q.js} +4 -4
  230. package/dist/chunks/{chunk.JHA6OLMK.js → chunk.635JP52V.js} +3 -3
  231. package/dist/chunks/{chunk.AMTRQ7HP.js → chunk.6AKP5BRZ.js} +1 -1
  232. package/dist/chunks/{chunk.SRP6V7OW.js → chunk.6KMLQCBG.js} +1 -1
  233. package/dist/chunks/chunk.6MWXS55V.js +136 -0
  234. package/dist/chunks/{chunk.KENYJWWA.js → chunk.6NGHRQYD.js} +1 -1
  235. package/dist/chunks/{chunk.4UC4W5Q5.js → chunk.6XCFILBM.js} +26 -3
  236. package/dist/chunks/{chunk.UKZA4PJB.js → chunk.AATHH5ZK.js} +1 -1
  237. package/dist/chunks/{chunk.X4HFQ4MT.js → chunk.AB7T3PSN.js} +1 -1
  238. package/dist/chunks/chunk.ADUUYLJY.js +79 -0
  239. package/dist/chunks/{chunk.JRJB2DFE.js → chunk.AJCLNOPZ.js} +1 -1
  240. package/dist/chunks/{chunk.4SVX6VCY.js → chunk.ARDX2RVR.js} +1 -1
  241. package/dist/chunks/{chunk.V4U5XMU7.js → chunk.B7LEFGX4.js} +1 -1
  242. package/dist/chunks/{chunk.INFNQBQD.js → chunk.CPBWQ6BE.js} +1 -1
  243. package/dist/chunks/{chunk.VJJQFEZ2.js → chunk.DRFXWCPL.js} +2 -2
  244. package/dist/chunks/{chunk.IW4EYF6Z.js → chunk.DZVHKOGO.js} +1 -1
  245. package/dist/chunks/{chunk.QG62LWYX.js → chunk.EEK6ZGS2.js} +1 -4
  246. package/dist/chunks/{chunk.G3UE6SMI.js → chunk.EQDAZLA2.js} +8 -5
  247. package/dist/chunks/{chunk.E7S4C6P7.js → chunk.ETG5DAHF.js} +1 -1
  248. package/dist/chunks/{chunk.SA7GMM2I.js → chunk.EWOJ3XVB.js} +3 -3
  249. package/dist/chunks/{chunk.DR3IPTYE.js → chunk.EY2LRNGD.js} +5 -5
  250. package/dist/chunks/{chunk.6SDBUBGE.js → chunk.FKOYZI2V.js} +2 -0
  251. package/dist/chunks/{chunk.IHTWK22H.js → chunk.G5ZFFB2V.js} +5 -5
  252. package/dist/chunks/{chunk.XNVSET6H.js → chunk.I4XFUHWM.js} +1 -1
  253. package/dist/chunks/{chunk.O4HVYU6G.js → chunk.IE7IGJZB.js} +4 -4
  254. package/dist/chunks/{chunk.TRQQN4AO.js → chunk.IICLN6L3.js} +38 -14
  255. package/dist/chunks/{chunk.U2RG7USD.js → chunk.IR5ZDNLY.js} +1 -1
  256. package/dist/chunks/chunk.J4QE6NJC.js +70 -0
  257. package/dist/chunks/{chunk.6674T4KX.js → chunk.JJT6FP7U.js} +50 -34
  258. package/dist/chunks/{chunk.O4ZSTSXZ.js → chunk.JQS5RPAK.js} +1 -5
  259. package/dist/chunks/{chunk.GNJX6QSO.js → chunk.K4XU6L7E.js} +1 -1
  260. package/dist/chunks/{chunk.DKTT254G.js → chunk.KFBHQJJP.js} +6 -0
  261. package/dist/chunks/{chunk.GRNDTTXR.js → chunk.L7SZMI27.js} +1 -1
  262. package/dist/chunks/chunk.LGV7OXTA.js +186 -0
  263. package/dist/chunks/{chunk.NASETPCZ.js → chunk.LXS4P57X.js} +1 -1
  264. package/dist/chunks/{chunk.UCIFKWMI.js → chunk.MF7KW7MX.js} +1 -1
  265. package/dist/chunks/{chunk.RVCSQIWF.js → chunk.MKTUAWNS.js} +1 -1
  266. package/dist/chunks/{chunk.P7SN3TMY.js → chunk.NJNQX6FX.js} +1 -1
  267. package/dist/chunks/chunk.NZEV2R75.js +197 -0
  268. package/dist/chunks/{chunk.HQJDKIMG.js → chunk.OKUA77L4.js} +1 -1
  269. package/dist/chunks/{chunk.AC4PBQVM.js → chunk.OMUELARQ.js} +2 -2
  270. package/dist/chunks/{chunk.TXMAH3OK.js → chunk.ORLKMJIV.js} +39 -15
  271. package/dist/chunks/{chunk.IXAKBOI4.js → chunk.ORWJR56M.js} +1 -1
  272. package/dist/chunks/{chunk.JMJY2JIN.js → chunk.P2LEUT2Q.js} +1 -1
  273. package/dist/chunks/chunk.Q2BCYSPM.js +70 -0
  274. package/dist/chunks/{chunk.PD6ETZGV.js → chunk.Q3II5ELV.js} +1 -1
  275. package/dist/chunks/{chunk.YWHYMKYI.js → chunk.QADAWCTI.js} +2 -0
  276. package/dist/chunks/{chunk.53DFT644.js → chunk.QFC4API2.js} +1 -1
  277. package/dist/chunks/{chunk.A4R5LBIA.js → chunk.QGPBBIGJ.js} +2 -2
  278. package/dist/chunks/{chunk.XQDC25MI.js → chunk.QJIY2G7A.js} +1 -1
  279. package/dist/chunks/{chunk.H3X3D747.js → chunk.QLT366CP.js} +1 -5
  280. package/dist/chunks/{chunk.FWHDRD6T.js → chunk.RS4S7SAD.js} +1 -1
  281. package/dist/chunks/{chunk.2JCMUNW4.js → chunk.RURHQSLF.js} +1 -1
  282. package/dist/chunks/{chunk.LUPOBRAQ.js → chunk.SDT5BB26.js} +7 -8
  283. package/dist/chunks/{chunk.IUPSCAN6.js → chunk.SGVMH2WK.js} +1 -1
  284. package/dist/chunks/{chunk.4URSPC26.js → chunk.SJN7BDOD.js} +1 -1
  285. package/dist/chunks/{chunk.5VC7IHJ2.js → chunk.STKBEBVL.js} +1 -1
  286. package/dist/chunks/{chunk.4VJTOIB4.js → chunk.SV6UZ7XX.js} +1 -1
  287. package/dist/chunks/{chunk.IFDJNZPC.js → chunk.SW6R5A3O.js} +1 -1
  288. package/dist/chunks/{chunk.BHY3DDPH.js → chunk.SWWPGGIS.js} +1 -1
  289. package/dist/chunks/chunk.TZVFQDBB.js +122 -0
  290. package/dist/chunks/{chunk.S6XG7G6X.js → chunk.VDYAE3MB.js} +2 -2
  291. package/dist/chunks/{chunk.2OZ6SQ6Y.js → chunk.WCJ3TXH5.js} +1 -1
  292. package/dist/chunks/{chunk.XG7KR6BI.js → chunk.WDLYTTNO.js} +1 -1
  293. package/dist/chunks/chunk.XAF7DDXJ.js +228 -0
  294. package/dist/chunks/{chunk.FC7AQRZS.js → chunk.XODWG3UJ.js} +1 -1
  295. package/dist/chunks/{chunk.YOISCONT.js → chunk.XVFPRM26.js} +1 -1
  296. package/dist/chunks/{chunk.7E57JVUE.js → chunk.YCRHX2XL.js} +1 -1
  297. package/dist/chunks/{chunk.JZYJ2V4F.js → chunk.YGRXSNFC.js} +1 -1
  298. package/dist/chunks/{chunk.MTOENDDR.js → chunk.YT4ZDRKX.js} +1 -1
  299. package/dist/components/accordion/accordion.js +4 -4
  300. package/dist/components/alert/alert.js +4 -4
  301. package/dist/components/anchor-tag/anchor-tag.d.ts +2 -1
  302. package/dist/components/anchor-tag/anchor-tag.js +1 -1
  303. package/dist/components/avatar/avatar.js +2 -2
  304. package/dist/components/breadcrumb/breadcrumb.js +4 -4
  305. package/dist/components/breadcrumb-item/breadcrumb-item.js +2 -2
  306. package/dist/components/button/button.js +5 -5
  307. package/dist/components/calendar/calendar.js +2 -2
  308. package/dist/components/callout/callout.js +2 -2
  309. package/dist/components/card/card.d.ts +0 -2
  310. package/dist/components/card/card.js +1 -1
  311. package/dist/components/card-content/card-content.d.ts +51 -0
  312. package/dist/components/card-content/card-content.js +22 -0
  313. package/dist/components/card-content/card-content.styles.d.ts +2 -0
  314. package/dist/components/card-content/card-content.styles.js +8 -0
  315. package/dist/components/card-nav/card-nav.d.ts +23 -0
  316. package/dist/components/card-nav/card-nav.js +12 -0
  317. package/dist/components/card-nav/card-nav.styles.d.ts +2 -0
  318. package/dist/components/card-nav/card-nav.styles.js +8 -0
  319. package/dist/components/card-nav-accordion/card-nav-accordion.d.ts +49 -0
  320. package/dist/components/card-nav-accordion/card-nav-accordion.js +25 -0
  321. package/dist/components/card-nav-accordion/card-nav-accordion.styles.d.ts +2 -0
  322. package/dist/components/card-nav-accordion/card-nav-accordion.styles.js +8 -0
  323. package/dist/components/card-nav-item/card-nav-item.d.ts +38 -0
  324. package/dist/components/card-nav-item/card-nav-item.js +21 -0
  325. package/dist/components/card-nav-item/card-nav-item.styles.d.ts +2 -0
  326. package/dist/components/card-nav-item/card-nav-item.styles.js +8 -0
  327. package/dist/components/checkbox/checkbox.js +4 -4
  328. package/dist/components/checkbox-button/checkbox-button.js +4 -4
  329. package/dist/components/checkbox-card/checkbox-card.js +2 -2
  330. package/dist/components/checkbox-group/checkbox-group.js +3 -3
  331. package/dist/components/combobox/combobox.js +7 -7
  332. package/dist/components/dialog/dialog.js +4 -4
  333. package/dist/components/download-card/download-card.js +2 -2
  334. package/dist/components/download-link/download-link.js +2 -2
  335. package/dist/components/drawer/drawer.js +4 -4
  336. package/dist/components/dropdown/dropdown.d.ts +0 -5
  337. package/dist/components/dropdown/dropdown.js +2 -2
  338. package/dist/components/error-message-panel/error-message-panel.js +2 -2
  339. package/dist/components/error-text/error-text.js +2 -2
  340. package/dist/components/fieldset/fieldset.d.ts +39 -0
  341. package/dist/components/fieldset/fieldset.js +13 -0
  342. package/dist/components/fieldset/fieldset.styles.d.ts +2 -0
  343. package/dist/components/fieldset/fieldset.styles.js +8 -0
  344. package/dist/components/file-upload/file-upload.js +4 -4
  345. package/dist/components/file-upload-item/file-upload-item.js +2 -2
  346. package/dist/components/filter-base/filter-base.js +5 -5
  347. package/dist/components/filter-button/filter-button.js +4 -4
  348. package/dist/components/filter-counter/filter-counter.js +18 -18
  349. package/dist/components/filter-date/filter-date.js +10 -10
  350. package/dist/components/filter-range/filter-range.js +18 -18
  351. package/dist/components/filter-select/filter-select.js +19 -19
  352. package/dist/components/footer/footer.js +2 -2
  353. package/dist/components/format-bytes/format-bytes.js +2 -2
  354. package/dist/components/format-date/format-date.js +2 -2
  355. package/dist/components/format-number/format-number.js +2 -2
  356. package/dist/components/header/header.js +3 -3
  357. package/dist/components/header/header.styles.js +1 -1
  358. package/dist/components/header-search/header-search.js +6 -6
  359. package/dist/components/icon/icon.js +2 -2
  360. package/dist/components/icon-button/icon-button.js +2 -2
  361. package/dist/components/input/input.d.ts +5 -5
  362. package/dist/components/input/input.js +11 -11
  363. package/dist/components/input-date/input-date.js +8 -8
  364. package/dist/components/input-mask/input-mask.js +5 -5
  365. package/dist/components/input-otp/input-otp.js +4 -4
  366. package/dist/components/input-phone/input-phone.js +8 -8
  367. package/dist/components/input-time/input-time.d.ts +7 -3
  368. package/dist/components/input-time/input-time.js +6 -6
  369. package/dist/components/input-time/input-time.styles.js +1 -1
  370. package/dist/components/menu-accordion/menu-accordion.js +4 -4
  371. package/dist/components/menu-item/menu-item.d.ts +1 -1
  372. package/dist/components/menu-item/menu-item.js +5 -4
  373. package/dist/components/menu-item/menu-item.styles.js +1 -1
  374. package/dist/components/mutation-observer/mutation-observer.d.ts +1 -3
  375. package/dist/components/mutation-observer/mutation-observer.js +1 -1
  376. package/dist/components/navbar-link/navbar-link.js +2 -2
  377. package/dist/components/navbar-menu/navbar-menu.js +4 -4
  378. package/dist/components/option/option.js +4 -4
  379. package/dist/components/pagination/pagination.js +12 -12
  380. package/dist/components/profile-button/profile-button.js +5 -5
  381. package/dist/components/progress-bar/progress-bar.js +2 -2
  382. package/dist/components/quote/quote.js +2 -2
  383. package/dist/components/radio/radio.js +2 -2
  384. package/dist/components/radio-button/radio-button.js +4 -4
  385. package/dist/components/radio-card/radio-card.js +4 -4
  386. package/dist/components/radio-group/radio-group.js +3 -3
  387. package/dist/components/relative-time/relative-time.d.ts +1 -1
  388. package/dist/components/relative-time/relative-time.js +2 -2
  389. package/dist/components/resize-observer/resize-observer.d.ts +1 -3
  390. package/dist/components/select/select.js +6 -6
  391. package/dist/components/skip-links/skip-links.js +2 -2
  392. package/dist/components/spinner/spinner.js +2 -2
  393. package/dist/components/split-panel/split-panel.js +4 -4
  394. package/dist/components/step/step.js +4 -4
  395. package/dist/components/switch/switch.js +4 -4
  396. package/dist/components/tab/tab.js +4 -4
  397. package/dist/components/tab-group/tab-group.js +4 -4
  398. package/dist/components/table-action/table-action.js +2 -2
  399. package/dist/components/table-caption/table-caption.js +2 -2
  400. package/dist/components/table-container/table-container.d.ts +3 -0
  401. package/dist/components/table-container/table-container.js +2 -2
  402. package/dist/components/table-header-cell/table-header-cell.js +2 -2
  403. package/dist/components/table-header-row/table-header-row.js +7 -7
  404. package/dist/components/table-of-contents/table-of-contents.js +2 -2
  405. package/dist/components/table-row/table-row.js +6 -6
  406. package/dist/components/tag/tag.js +4 -4
  407. package/dist/components/tag-button/tag-button.d.ts +53 -0
  408. package/dist/components/tag-button/tag-button.js +12 -0
  409. package/dist/components/tag-button/tag-button.styles.d.ts +2 -0
  410. package/dist/components/tag-button/tag-button.styles.js +8 -0
  411. package/dist/components/textarea/textarea.js +4 -4
  412. package/dist/components/tooltip/tooltip.d.ts +2 -0
  413. package/dist/components/tooltip/tooltip.js +2 -2
  414. package/dist/components/tree/tree.js +8 -8
  415. package/dist/components/tree-item/tree-item.js +7 -7
  416. package/dist/custom-elements.json +1246 -224
  417. package/dist/design-system.d.ts +7 -2
  418. package/dist/design-system.js +129 -104
  419. package/dist/internal/components/form-control/form-control-layout.js +1 -1
  420. package/dist/themes/dsa-wc-theme.css +94 -2
  421. package/dist/themes/dsa-wc-theme.min.css +1 -1
  422. package/dist/themes/dsa-wc-theme.styles.js +100 -2
  423. package/dist/translations/en-gb.js +1 -1
  424. package/dist/translations/en.js +1 -1
  425. package/dist/translations/fr.js +1 -1
  426. package/dist/utilities/localize.d.ts +1 -0
  427. package/dist/utilities/localize.js +1 -1
  428. package/dist/vscode.html-custom-data.json +212 -37
  429. package/dist/web-types.json +672 -103
  430. package/package.json +2 -2
  431. package/cdn/chunks/chunk.L7DPKZV6.js +0 -82
  432. package/cdn/chunks/chunk.VTPSYUIU.js +0 -19
  433. package/cdn/components/include/include.d.ts +0 -32
  434. package/cdn/components/include/include.js +0 -14
  435. package/dist/chunks/chunk.MBQRU4CJ.js +0 -79
  436. package/dist/chunks/chunk.NNBOLKWI.js +0 -17
  437. package/dist/components/include/include.d.ts +0 -32
  438. package/dist/components/include/include.js +0 -12
  439. package/dist/components/include/include.styles.js +0 -8
  440. /package/cdn/components/{include/include.styles.d.ts → card-content/card-content.styles.d.ts} +0 -0
  441. /package/{dist/components/include/include.styles.d.ts → cdn/components/card-nav-accordion/card-nav-accordion.styles.d.ts} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,38 @@
1
1
  # @ds-autonomie/web-components
2
2
 
3
+ ## 2.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - a4cec6a: `card-nav`, `card-nav-item`, `card-nav-accordion` : ajout des composants
8
+ - 8f0db29: `card-content`: ajout du composant
9
+ - 6f31568: `fieldset` : ajout du composant
10
+ - 56b6786: `visually-hidden`, `resize-observer`, `mutation-observer`, `relative-time` : ajout d'éléments utilitaires
11
+ - a7e4dcb: `tag-button` : ajout du composant
12
+
13
+ ### Patch Changes
14
+
15
+ - 32a1695: `dropdown`: retrait de l'attribut obsolète stay-open-on-select
16
+ - 3e0d4e3: `combobox` : restitution de l'option "Voir plus" au lecteur d'écran ; `tag` : suppression d'un attribut title inutile
17
+ - 687c17e: `header` : résolution d'un problème d'affichage du logo sur Safari
18
+ - 34774d5: `header` : augmentation de la taille "large" du logo
19
+ - e3e6300: `input`: amélioration de la gestion des méthodes stepUp et stepDown
20
+ `input` type "time": implémentation des méthodes stepUp et stepDown, ajout d'une transcription de la valeur
21
+ - f486d2f: `tab-group` : prise en compte des changements dynamiques des attributs `active` des dsa-tab enfants
22
+ - 618a76a: `combobox` : résolution d'une erreur de mise à jour des la liste d'option en cas de slotchange
23
+ - 5eac37f: `tooltip`: ajout automatique d'une description accessible à l'élément cible
24
+ - 925c802: `input` : correction du retour de valueAsNumber pour le type amount
25
+ - 2a1679f: `menu-item`: élargissement de l'attribut "current" au type "button"
26
+
27
+ ## 2.4.1
28
+
29
+ ### Patch Changes
30
+
31
+ - 068758d: `checkbox-group', `radio-group`, `input`: correction d'un bug entrainant l'affichage de la description accessible
32
+ - 104e6a0: `dsa-table-container`: rattachement automatique des titres et tableaux
33
+ - Updated dependencies [8e62bf0]
34
+ - @ds-autonomie/assets@1.4.5
35
+
3
36
  ## 2.4.0
4
37
 
5
38
  ### Minor Changes
@@ -86,6 +86,11 @@ var input_time_styles_default = i`
86
86
  outline: var(--dsa-wc-focus-ring);
87
87
  outline-offset: var(--dsa-wc-focus-ring-offset);
88
88
  }
89
+
90
+ /* Value description for screen readers */
91
+ .input--time-description {
92
+ display: none;
93
+ }
89
94
  `;
90
95
 
91
96
  export {
@@ -1,20 +1,20 @@
1
- import {
2
- getDateFromISO,
3
- isValidDate,
4
- monthLength
5
- } from "./chunk.YBWQADCH.js";
6
1
  import {
7
2
  l
8
3
  } from "./chunk.7PPSHHT2.js";
9
4
  import {
10
5
  defaultValue
11
6
  } from "./chunk.YY5FKN3H.js";
7
+ import {
8
+ getDateFromISO,
9
+ isValidDate,
10
+ monthLength
11
+ } from "./chunk.YBWQADCH.js";
12
12
  import {
13
13
  FormControlController
14
14
  } from "./chunk.3NWILHZZ.js";
15
15
  import {
16
16
  LocalizeController
17
- } from "./chunk.VARBZAJP.js";
17
+ } from "./chunk.BMQ5WSY7.js";
18
18
  import {
19
19
  watch
20
20
  } from "./chunk.4FQJ3QJK.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk.CUCCBQJX.js";
4
4
  import {
5
5
  LocalizeController
6
- } from "./chunk.VARBZAJP.js";
6
+ } from "./chunk.BMQ5WSY7.js";
7
7
  import {
8
8
  watch
9
9
  } from "./chunk.4FQJ3QJK.js";
@@ -100,9 +100,9 @@ __decorateClass([
100
100
  ], DSAMutationObserver.prototype, "handleDisabledChange", 1);
101
101
  __decorateClass([
102
102
  watch("attr", { waitUntilFirstUpdate: true }),
103
- watch("attr-old-value", { waitUntilFirstUpdate: true }),
104
- watch("char-data", { waitUntilFirstUpdate: true }),
105
- watch("char-data-old-value", { waitUntilFirstUpdate: true }),
103
+ watch("attrOldValue", { waitUntilFirstUpdate: true }),
104
+ watch("charData", { waitUntilFirstUpdate: true }),
105
+ watch("charDataOldValue", { waitUntilFirstUpdate: true }),
106
106
  watch("childList", { waitUntilFirstUpdate: true })
107
107
  ], DSAMutationObserver.prototype, "handleChange", 1);
108
108
  DSAMutationObserver = __decorateClass([
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  DSAOption
3
- } from "./chunk.Y5RTMSTB.js";
4
- import {
5
- DSAInput
6
- } from "./chunk.UPVAZQNH.js";
3
+ } from "./chunk.2S3446TB.js";
7
4
  import {
8
5
  filter_select_styles_default
9
6
  } from "./chunk.57V66KCM.js";
7
+ import {
8
+ DSAInput
9
+ } from "./chunk.5F7AUS4F.js";
10
10
  import {
11
11
  FilterBase
12
- } from "./chunk.4ZEHBLJR.js";
12
+ } from "./chunk.KNKNPTGU.js";
13
13
  import {
14
14
  normalizeStr
15
15
  } from "./chunk.O4MZVDWB.js";
@@ -37,6 +37,12 @@ var DSAAnchorTag = class extends ShoelaceElement {
37
37
  this.target = "_self";
38
38
  this.size = "medium";
39
39
  }
40
+ connectedCallback() {
41
+ console.warn(
42
+ "The <dsa-anchor-tag> element is deprecated, and will be removed in the next major release. Please consider using the <dsa-tag-button> element instead."
43
+ );
44
+ super.connectedCallback();
45
+ }
40
46
  render() {
41
47
  if (!this.label) {
42
48
  a11yWarning(
@@ -14,7 +14,7 @@ import {
14
14
  } from "./chunk.2WRFDMKN.js";
15
15
  import {
16
16
  LocalizeController
17
- } from "./chunk.VARBZAJP.js";
17
+ } from "./chunk.BMQ5WSY7.js";
18
18
  import {
19
19
  watch
20
20
  } from "./chunk.4FQJ3QJK.js";
@@ -42,7 +42,6 @@ var DSADropdown = class extends ShoelaceElement {
42
42
  this.open = false;
43
43
  this.placement = "bottom-start";
44
44
  this.disabled = false;
45
- this.stayOpenOnSelect = false;
46
45
  this.skidding = 0;
47
46
  this.hoist = false;
48
47
  }
@@ -292,9 +291,6 @@ __decorateClass([
292
291
  __decorateClass([
293
292
  n({ type: Boolean, reflect: true })
294
293
  ], DSADropdown.prototype, "disabled", 2);
295
- __decorateClass([
296
- n({ attribute: "stay-open-on-select", type: Boolean, reflect: true })
297
- ], DSADropdown.prototype, "stayOpenOnSelect", 2);
298
294
  __decorateClass([
299
295
  n({ attribute: false })
300
296
  ], DSADropdown.prototype, "containingElement", 2);
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk.YIY5RM53.js";
7
7
  import {
8
8
  LocalizeController
9
- } from "./chunk.VARBZAJP.js";
9
+ } from "./chunk.BMQ5WSY7.js";
10
10
  import {
11
11
  e
12
12
  } from "./chunk.IKHG7XGO.js";
@@ -0,0 +1,72 @@
1
+ import {
2
+ component_styles_default
3
+ } from "./chunk.PSQJDSB2.js";
4
+ import {
5
+ i
6
+ } from "./chunk.4KHZQZ3M.js";
7
+
8
+ // src/components/card-nav/card-nav.styles.ts
9
+ var card_nav_styles_default = i`
10
+ ${component_styles_default}
11
+
12
+ :host {
13
+ display: inline-block;
14
+ }
15
+
16
+ .card-nav {
17
+ border-radius: var(--dsa-radius-8);
18
+ border: 1px solid var(--dsa-wc-card-nav-border-color);
19
+ background-color: var(--dsa-wc-card-nav-background-color);
20
+ overflow: hidden;
21
+ color: var(--dsa-wc-card-nav-color);
22
+ }
23
+
24
+ .card-nav__media::slotted(img) {
25
+ display: block;
26
+ width: 100%;
27
+ }
28
+
29
+ /* Title block */
30
+ .card-nav__title-block {
31
+ display: flex;
32
+ align-items: center;
33
+ gap: var(--dsa-spacing-12);
34
+ padding: 1.25rem 1rem;
35
+ }
36
+ .title-block-text {
37
+ display: flex;
38
+ flex-direction: column;
39
+ gap: var(--dsa-spacing-8);
40
+ }
41
+ .title-block-text .title {
42
+ font: var(--dsa-font-large-bold);
43
+ }
44
+ .title-block-text .subtitle {
45
+ font: var(--dsa-font-medium-bold);
46
+ color: var(--dsa-wc-card-nav-subtitle-color);
47
+ }
48
+ .card-nav__title_icon::slotted(*) {
49
+ color: var(--dsa-wc-card-nav-icon-color);
50
+ flex-shrink: 0;
51
+ width: 2rem;
52
+ height: 2rem;
53
+ }
54
+
55
+ .card-content {
56
+ display: flex;
57
+ flex-direction: column;
58
+ }
59
+
60
+ ::slotted(*:last-child) {
61
+ --card-nav-item-border-width: 0px;
62
+ --card-nav-accordion-border-color: transparent;
63
+ --card-nav-accordion-border-color-hover: transparent;
64
+ --card-nav-accordion-border-color-transition-delay: var(
65
+ --dsa-wc-transition-medium
66
+ );
67
+ }
68
+ `;
69
+
70
+ export {
71
+ card_nav_styles_default
72
+ };
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk.Z3VIP662.js";
4
4
  import {
5
5
  FilterBase
6
- } from "./chunk.4ZEHBLJR.js";
6
+ } from "./chunk.KNKNPTGU.js";
7
7
  import {
8
8
  watch
9
9
  } from "./chunk.4FQJ3QJK.js";
@@ -24,7 +24,7 @@ import {
24
24
  } from "./chunk.2WRFDMKN.js";
25
25
  import {
26
26
  LocalizeController
27
- } from "./chunk.VARBZAJP.js";
27
+ } from "./chunk.BMQ5WSY7.js";
28
28
  import {
29
29
  watch
30
30
  } from "./chunk.4FQJ3QJK.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk.O4MZVDWB.js";
4
4
  import {
5
5
  FormControlLayout
6
- } from "./chunk.JZOEQBF7.js";
6
+ } from "./chunk.E73QKLNL.js";
7
7
  import {
8
8
  combobox_styles_default
9
9
  } from "./chunk.FLMM3C4U.js";
@@ -29,7 +29,7 @@ import {
29
29
  } from "./chunk.2WRFDMKN.js";
30
30
  import {
31
31
  LocalizeController
32
- } from "./chunk.VARBZAJP.js";
32
+ } from "./chunk.BMQ5WSY7.js";
33
33
  import {
34
34
  watch
35
35
  } from "./chunk.4FQJ3QJK.js";
@@ -229,7 +229,6 @@ var DSACombobox = class extends FormControlLayout {
229
229
  }
230
230
  }
231
231
  handleDefaultSlotChange() {
232
- this.resetDisplayedOptionsCount();
233
232
  if (customElements.get(OPTION_TAG)) {
234
233
  this.allOptions = this.getAllOptions();
235
234
  this.filterOptions(this.displayLabel);
@@ -243,6 +242,7 @@ var DSACombobox = class extends FormControlLayout {
243
242
  } else {
244
243
  customElements.whenDefined(OPTION_TAG).then(() => this.handleDefaultSlotChange());
245
244
  }
245
+ this.resetDisplayedOptionsCount();
246
246
  }
247
247
  handleTagRemove(event, option) {
248
248
  event.stopPropagation();
@@ -445,8 +445,11 @@ var DSACombobox = class extends FormControlLayout {
445
445
  else if (currentOptionIndex < this.displayedOptionsCount - 1) {
446
446
  this.setCurrentOption(this.filteredOptions[currentOptionIndex + 1]);
447
447
  } else if (this.filteredOptions.length > this.displayedOptionsCount) {
448
- this.setCurrentOption(void 0);
449
- if (this.seeMoreOption) this.seeMoreOption.current = true;
448
+ if (this.seeMoreOption) {
449
+ this.setCurrentOption(this.seeMoreOption);
450
+ } else {
451
+ this.setCurrentOption(void 0);
452
+ }
450
453
  }
451
454
  break;
452
455
  case "ArrowUp":
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DSAInputTime
3
- } from "./chunk.EVFY55H5.js";
3
+ } from "./chunk.HG4TPK7J.js";
4
4
  import {
5
5
  big_default,
6
6
  getOverridenIconDetails,
@@ -12,13 +12,13 @@ import {
12
12
  } from "./chunk.EF2VOGBL.js";
13
13
  import {
14
14
  DSAInputDate
15
- } from "./chunk.FLPTQ76Z.js";
15
+ } from "./chunk.TY7NQYTC.js";
16
16
  import {
17
17
  input_styles_default
18
18
  } from "./chunk.L3ZYNSI3.js";
19
19
  import {
20
20
  FormControlLayout
21
- } from "./chunk.JZOEQBF7.js";
21
+ } from "./chunk.E73QKLNL.js";
22
22
  import {
23
23
  l
24
24
  } from "./chunk.7PPSHHT2.js";
@@ -30,7 +30,7 @@ import {
30
30
  } from "./chunk.3NWILHZZ.js";
31
31
  import {
32
32
  LocalizeController
33
- } from "./chunk.VARBZAJP.js";
33
+ } from "./chunk.BMQ5WSY7.js";
34
34
  import {
35
35
  watch
36
36
  } from "./chunk.4FQJ3QJK.js";
@@ -90,7 +90,11 @@ var DSAInput = class extends FormControlLayout {
90
90
  /** Gets or sets the current value as a number. Returns `NaN` if the value can't be converted. */
91
91
  get valueAsNumber() {
92
92
  var _a, _b;
93
- return (_b = (_a = this.standardInput) == null ? void 0 : _a.valueAsNumber) != null ? _b : parseFloat(this.value);
93
+ if (this.type === "amount") {
94
+ return parseFloat(this.value.replace(",", "."));
95
+ } else {
96
+ return (_b = (_a = this.standardInput) == null ? void 0 : _a.valueAsNumber) != null ? _b : parseFloat(this.value);
97
+ }
94
98
  }
95
99
  set valueAsNumber(newValue) {
96
100
  const input = document.createElement("input");
@@ -100,7 +104,8 @@ var DSAInput = class extends FormControlLayout {
100
104
  }
101
105
  /** Gets the validity state object */
102
106
  get validity() {
103
- return this.input.validity;
107
+ var _a, _b;
108
+ return (_b = (_a = this.input) == null ? void 0 : _a.validity) != null ? _b : true;
104
109
  }
105
110
  /** Gets the validation message */
106
111
  get validationMessage() {
@@ -246,7 +251,9 @@ var DSAInput = class extends FormControlLayout {
246
251
  this.formControlController.setValidity(this.disabled);
247
252
  }
248
253
  handleStepChange() {
249
- this.standardInput.step = String(this.step);
254
+ if (this.input instanceof DSAInputTime) {
255
+ this.input.step = typeof this.step === "number" ? this.step : 60;
256
+ } else this.standardInput.step = String(this.step);
250
257
  this.formControlController.updateValidity();
251
258
  }
252
259
  async handleValueChange() {
@@ -312,32 +319,44 @@ var DSAInput = class extends FormControlLayout {
312
319
  this.input.value = numberToFrAmount(newValue);
313
320
  this.value = this.input.value.replace(",", ".");
314
321
  }
315
- /** Increments the value of a numeric input type by the value of the step attribute. */
316
- stepUp() {
317
- if (this.input instanceof DSAInputDate || this.input instanceof DSAInputTime) {
318
- return;
319
- }
320
- if (this.type === "amount") {
321
- this.adjustAmountValue("up");
322
- } else {
323
- this.standardInput.stepUp();
324
- if (this.value !== this.standardInput.value) {
325
- this.value = this.standardInput.value;
326
- }
322
+ /** Increments the value of a numeric or time input type by the value of the step attribute, multiplied by an optional number parameter. */
323
+ stepUp(stepNumber) {
324
+ switch (this.type) {
325
+ case "date":
326
+ return;
327
+ case "time":
328
+ if (!(this.input instanceof DSAInputTime)) return;
329
+ this.input.stepUp(stepNumber);
330
+ this.value = this.input.value;
331
+ return;
332
+ case "amount":
333
+ this.adjustAmountValue("up");
334
+ return;
335
+ default:
336
+ this.standardInput.stepUp(stepNumber);
337
+ if (this.value !== this.standardInput.value) {
338
+ this.value = this.standardInput.value;
339
+ }
327
340
  }
328
341
  }
329
- /** Decrements the value of a numeric input type by the value of the step attribute. */
330
- stepDown() {
331
- if (this.input instanceof DSAInputDate || this.input instanceof DSAInputTime) {
332
- return;
333
- }
334
- if (this.type === "amount") {
335
- this.adjustAmountValue("down");
336
- } else {
337
- this.standardInput.stepDown();
338
- if (this.value !== this.standardInput.value) {
339
- this.value = this.standardInput.value;
340
- }
342
+ /** Decrements the value of a numeric or time input type by the value of the step attribute, multiplied by an optional number parameter. */
343
+ stepDown(stepNumber) {
344
+ switch (this.type) {
345
+ case "date":
346
+ return;
347
+ case "time":
348
+ if (!(this.input instanceof DSAInputTime)) return;
349
+ this.input.stepDown(stepNumber);
350
+ this.value = this.input.value;
351
+ return;
352
+ case "amount":
353
+ this.adjustAmountValue("down");
354
+ return;
355
+ default:
356
+ this.standardInput.stepDown(stepNumber);
357
+ if (this.value !== this.standardInput.value) {
358
+ this.value = this.standardInput.value;
359
+ }
341
360
  }
342
361
  }
343
362
  /** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */
@@ -593,9 +612,6 @@ __decorateClass([
593
612
  __decorateClass([
594
613
  e("dsa-input-time")
595
614
  ], DSAInput.prototype, "timeInput", 2);
596
- __decorateClass([
597
- r()
598
- ], DSAInput.prototype, "input", 2);
599
615
  __decorateClass([
600
616
  r()
601
617
  ], DSAInput.prototype, "hasFocus", 2);
@@ -0,0 +1,124 @@
1
+ import {
2
+ fieldset_styles_default
3
+ } from "./chunk.QCPGBCQ3.js";
4
+ import {
5
+ HasSlotController
6
+ } from "./chunk.YIY5RM53.js";
7
+ import {
8
+ watch
9
+ } from "./chunk.4FQJ3QJK.js";
10
+ import {
11
+ a11yWarning
12
+ } from "./chunk.PWL7QCVG.js";
13
+ import {
14
+ e as e2
15
+ } from "./chunk.IKHG7XGO.js";
16
+ import {
17
+ ShoelaceElement,
18
+ e,
19
+ n,
20
+ t
21
+ } from "./chunk.DZB6XUZ7.js";
22
+ import {
23
+ x
24
+ } from "./chunk.7HUC6BF3.js";
25
+ import {
26
+ __decorateClass
27
+ } from "./chunk.4ZGVANML.js";
28
+
29
+ // src/components/fieldset/fieldset.ts
30
+ var DSAFieldset = class extends ShoelaceElement {
31
+ constructor() {
32
+ super(...arguments);
33
+ this.hasSlotController = new HasSlotController(
34
+ this,
35
+ "legend-title"
36
+ );
37
+ this.legendTitle = "";
38
+ this.variant = "base";
39
+ this.disabled = false;
40
+ this.horizontal = false;
41
+ }
42
+ updateChildrenDisabledState() {
43
+ var _a;
44
+ const children = (_a = this.defaultSlot) == null ? void 0 : _a.assignedElements();
45
+ children == null ? void 0 : children.forEach((child) => {
46
+ if ("disabled" in child) {
47
+ child.disabled = this.disabled;
48
+ }
49
+ });
50
+ }
51
+ handleSlotChange() {
52
+ this.updateChildrenDisabledState();
53
+ }
54
+ handleDisabledChange() {
55
+ this.updateChildrenDisabledState();
56
+ }
57
+ render() {
58
+ const hasLegendTitleSlot = this.hasSlotController.test("label");
59
+ const hasLegendTitle = this.legendTitle ? true : !!hasLegendTitleSlot;
60
+ if (!hasLegendTitle) {
61
+ a11yWarning(
62
+ "<dsa-fieldset> requires a legend-title attribute or a legend-title slot for accessibility"
63
+ );
64
+ }
65
+ return x`
66
+ <fieldset
67
+ role="group"
68
+ class=${e2({
69
+ fieldset: true,
70
+ "fieldset--on-base": this.variant === "base",
71
+ "fieldset--on-layer": this.variant === "layer",
72
+ "fieldset--horizontal": this.horizontal,
73
+ "fieldset--vertical": !this.horizontal
74
+ })}
75
+ aria-labelledby="legend"
76
+ >
77
+ <div id="legend" class="fieldset__legend">
78
+ <div class="fieldset__first-line">
79
+ <slot name="legend-title" class="fieldset__legend-title"
80
+ >${this.legendTitle}</slot
81
+ >
82
+ <slot name="tooltip" class="fieldset__tooltip"></slot>
83
+ </div>
84
+ <slot name="legend-subtitle" class="fieldset__legend-subtitle">
85
+ ${this.legendSubtitle}
86
+ </slot>
87
+ </div>
88
+
89
+ <div class="fieldset__content">
90
+ <slot @slotchange=${this.handleSlotChange}></slot>
91
+ </div>
92
+ </fieldset>
93
+ `;
94
+ }
95
+ };
96
+ DSAFieldset.styles = fieldset_styles_default;
97
+ __decorateClass([
98
+ e("slot:not([name])")
99
+ ], DSAFieldset.prototype, "defaultSlot", 2);
100
+ __decorateClass([
101
+ n({ attribute: "legend-title" })
102
+ ], DSAFieldset.prototype, "legendTitle", 2);
103
+ __decorateClass([
104
+ n({ attribute: "legend-subtitle" })
105
+ ], DSAFieldset.prototype, "legendSubtitle", 2);
106
+ __decorateClass([
107
+ n({ reflect: true })
108
+ ], DSAFieldset.prototype, "variant", 2);
109
+ __decorateClass([
110
+ n({ type: Boolean, reflect: true })
111
+ ], DSAFieldset.prototype, "disabled", 2);
112
+ __decorateClass([
113
+ n({ type: Boolean })
114
+ ], DSAFieldset.prototype, "horizontal", 2);
115
+ __decorateClass([
116
+ watch("disabled")
117
+ ], DSAFieldset.prototype, "handleDisabledChange", 1);
118
+ DSAFieldset = __decorateClass([
119
+ t("dsa-fieldset")
120
+ ], DSAFieldset);
121
+
122
+ export {
123
+ DSAFieldset
124
+ };
@@ -316,7 +316,7 @@ var DSACheckboxGroup = class extends ShoelaceElement {
316
316
 
317
317
  ${this.error ? renderFormElementErrors(this.errorMessage) : ""}
318
318
  ${this.description ? x`
319
- <p id="description" classname="form-control__description">
319
+ <p id="description" class="form-control__description">
320
320
  ${this.description}
321
321
  </p>
322
322
  ` : ""}