@ds-autonomie/web-components 2.0.1 → 2.2.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 (327) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/cdn/chunks/{chunk.ZDLDKWEM.js → chunk.2APAO2OW.js} +1 -1
  3. package/cdn/chunks/{chunk.QPY2AEFG.js → chunk.2DJERWBI.js} +14 -10
  4. package/cdn/chunks/{chunk.QCSRN6TI.js → chunk.3JMBGIZN.js} +1 -1
  5. package/cdn/chunks/{chunk.QTUCYPM5.js → chunk.3TUFAITJ.js} +18 -0
  6. package/cdn/chunks/{chunk.2SEDRBTZ.js → chunk.4NC4QO64.js} +4 -1
  7. package/cdn/chunks/{chunk.ZC2YWJX5.js → chunk.5BF76EO7.js} +1 -1
  8. package/cdn/chunks/{chunk.HRSNXHEG.js → chunk.5BL6KECM.js} +31 -5
  9. package/cdn/chunks/{chunk.OZEY33RC.js → chunk.5LXQ3RKQ.js} +2 -22
  10. package/cdn/chunks/{chunk.GDKBZ2H6.js → chunk.6CF6SXDF.js} +1 -2
  11. package/cdn/chunks/{chunk.SRCH73UW.js → chunk.6QTMZJGH.js} +25 -2
  12. package/cdn/chunks/{chunk.Z326Q4YW.js → chunk.6V2FRFCB.js} +1 -1
  13. package/cdn/chunks/{chunk.KQ5BQRHA.js → chunk.77CWRZEL.js} +6 -0
  14. package/cdn/chunks/{chunk.6E6G25TQ.js → chunk.A33BZOMA.js} +1 -1
  15. package/cdn/chunks/{chunk.GLQFV66F.js → chunk.ATHAYO6A.js} +177 -12
  16. package/cdn/chunks/{chunk.VIT6ZMSL.js → chunk.BCLU5KXE.js} +4 -5
  17. package/cdn/chunks/{chunk.5UR3I4O7.js → chunk.BE7PKTJW.js} +1 -1
  18. package/cdn/chunks/chunk.BNPGOQZ2.js +223 -0
  19. package/cdn/chunks/{chunk.PS3BQQBO.js → chunk.C62MMBV4.js} +17 -3
  20. package/cdn/chunks/{chunk.VR6U4JFG.js → chunk.CUCCBQJX.js} +11 -2
  21. package/cdn/chunks/{chunk.Q2IGBG6C.js → chunk.CVV4WLBC.js} +16 -8
  22. package/cdn/chunks/{chunk.5AFQZ4HE.js → chunk.CYMM2ZAV.js} +6 -0
  23. package/cdn/chunks/{chunk.2GCON4UO.js → chunk.DSKRAAOI.js} +3 -4
  24. package/cdn/chunks/{chunk.454LK2SB.js → chunk.E6VF2I6I.js} +9 -4
  25. package/cdn/chunks/{chunk.JYYFSSR2.js → chunk.EARU4CHS.js} +1 -1
  26. package/cdn/chunks/chunk.F7NUIVDV.js +10 -0
  27. package/cdn/chunks/{chunk.OVD3Q2LV.js → chunk.FHOCNAJ4.js} +5 -2
  28. package/cdn/chunks/{chunk.PLPMNDIZ.js → chunk.HYTYRM6S.js} +1 -1
  29. package/cdn/chunks/{chunk.DTZ62PPT.js → chunk.IGA57P5N.js} +13 -22
  30. package/cdn/chunks/{chunk.YTHFESMA.js → chunk.J73YJOU4.js} +6 -2
  31. package/cdn/chunks/chunk.KELDA33H.js +198 -0
  32. package/cdn/chunks/{chunk.3NTS3AEA.js → chunk.LFCUNNYV.js} +34 -30
  33. package/cdn/chunks/{chunk.R6BGXKHX.js → chunk.LNBAAP45.js} +1 -1
  34. package/cdn/chunks/{chunk.MEYHIAQ5.js → chunk.M7QHADJH.js} +5 -1
  35. package/cdn/chunks/chunk.MJLKYERJ.js +348 -0
  36. package/cdn/chunks/{chunk.3E6XVTWL.js → chunk.P45DWAWT.js} +1 -1
  37. package/cdn/chunks/chunk.PWL7QCVG.js +9 -0
  38. package/cdn/chunks/chunk.RJXLIOW7.js +28 -0
  39. package/cdn/chunks/{chunk.Y5CXRULD.js → chunk.UAQ7MMLI.js} +1 -1
  40. package/cdn/chunks/{chunk.PAGENBUA.js → chunk.UR6UOSYK.js} +10 -12
  41. package/cdn/chunks/{chunk.JY6ROHQN.js → chunk.WOONNSQ2.js} +14 -20
  42. package/cdn/chunks/{chunk.F2LQ5OCB.js → chunk.XD7G7WIJ.js} +6 -2
  43. package/cdn/chunks/chunk.XIX7XP2G.js +91 -0
  44. package/cdn/chunks/{chunk.CSDIRQFE.js → chunk.XLX7QTXT.js} +9 -1
  45. package/cdn/chunks/{chunk.BTTFPDXL.js → chunk.XPL6N3OJ.js} +3 -2
  46. package/cdn/chunks/{chunk.PMMQ5QVY.js → chunk.XQAKSW3W.js} +12 -1
  47. package/cdn/chunks/{chunk.NW4AAKGG.js → chunk.YQQNMFZF.js} +42 -93
  48. package/cdn/chunks/{chunk.E4GNTJPS.js → chunk.YS6XV3LD.js} +1 -1
  49. package/cdn/chunks/{chunk.FGSGBIL3.js → chunk.ZKPOAPR2.js} +0 -4
  50. package/cdn/components/accordion/accordion.js +3 -3
  51. package/cdn/components/alert/alert.js +4 -4
  52. package/cdn/components/avatar/avatar.js +4 -4
  53. package/cdn/components/breadcrumb/breadcrumb.js +3 -3
  54. package/cdn/components/button/button.d.ts +4 -1
  55. package/cdn/components/button/button.js +4 -4
  56. package/cdn/components/callout/callout.d.ts +3 -1
  57. package/cdn/components/callout/callout.js +4 -4
  58. package/cdn/components/checkbox/checkbox.d.ts +5 -1
  59. package/cdn/components/checkbox/checkbox.js +9 -4
  60. package/cdn/components/checkbox-button/checkbox-button.d.ts +1 -0
  61. package/cdn/components/checkbox-button/checkbox-button.js +4 -4
  62. package/cdn/components/checkbox-group/checkbox-group.d.ts +9 -8
  63. package/cdn/components/checkbox-group/checkbox-group.js +8 -8
  64. package/cdn/components/checkbox-group/checkbox-group.styles.js +1 -1
  65. package/cdn/components/combobox/combobox.d.ts +3 -2
  66. package/cdn/components/combobox/combobox.js +6 -5
  67. package/cdn/components/dialog/dialog.d.ts +5 -1
  68. package/cdn/components/dialog/dialog.js +5 -5
  69. package/cdn/components/dialog/dialog.styles.js +1 -1
  70. package/cdn/components/download-card/download-card.js +5 -5
  71. package/cdn/components/download-card/download-card.styles.js +1 -1
  72. package/cdn/components/download-link/download-link.js +5 -5
  73. package/cdn/components/download-link/download-link.styles.js +1 -1
  74. package/cdn/components/drawer/drawer.js +3 -3
  75. package/cdn/components/error-text/error-text.js +3 -3
  76. package/cdn/components/file-upload/file-upload.d.ts +3 -2
  77. package/cdn/components/file-upload/file-upload.js +3 -3
  78. package/cdn/components/file-upload-item/file-upload-item.js +3 -3
  79. package/cdn/components/filter-base/filter-base-stories.js +1 -1
  80. package/cdn/components/filter-base/filter-base.js +3 -3
  81. package/cdn/components/filter-button/filter-button.js +3 -3
  82. package/cdn/components/filter-counter/filter-counter.js +9 -8
  83. package/cdn/components/filter-date/filter-date.js +4 -4
  84. package/cdn/components/filter-range/filter-range.js +10 -9
  85. package/cdn/components/filter-select/filter-select.d.ts +6 -3
  86. package/cdn/components/filter-select/filter-select.js +14 -13
  87. package/cdn/components/header/header.d.ts +5 -1
  88. package/cdn/components/header/header.js +2 -2
  89. package/cdn/components/header/header.styles.js +1 -1
  90. package/cdn/components/header-search/header-search.d.ts +6 -0
  91. package/cdn/components/header-search/header-search.js +11 -5
  92. package/cdn/components/header-search/header-search.styles.js +1 -1
  93. package/cdn/components/icon/icon.js +3 -3
  94. package/cdn/components/icon/library.js +2 -2
  95. package/cdn/components/icon/library.system.js +1 -1
  96. package/cdn/components/icon-button/icon-button.js +3 -3
  97. package/cdn/components/input/input.js +8 -7
  98. package/cdn/components/input-date/input-date.js +7 -6
  99. package/cdn/components/input-mask/input-mask.js +6 -5
  100. package/cdn/components/input-otp/input-otp.d.ts +90 -0
  101. package/cdn/components/input-otp/input-otp.js +38 -0
  102. package/cdn/components/input-otp/input-otp.styles.d.ts +2 -0
  103. package/cdn/components/input-otp/input-otp.styles.js +11 -0
  104. package/cdn/components/input-otp/input-otp.utils.d.ts +3 -0
  105. package/cdn/components/input-otp/input-otp.utils.js +11 -0
  106. package/cdn/components/input-phone/input-phone.d.ts +3 -3
  107. package/cdn/components/input-phone/input-phone.js +14 -19
  108. package/cdn/components/input-phone/input-phone.styles.js +1 -1
  109. package/cdn/components/input-phone/input-phone.utils.d.ts +0 -2
  110. package/cdn/components/input-phone/input-phone.utils.js +1 -7
  111. package/cdn/components/menu-accordion/menu-accordion.js +3 -3
  112. package/cdn/components/menu-item/menu-item.js +3 -3
  113. package/cdn/components/menu-navigation/menu-navigation.js +1 -1
  114. package/cdn/components/navbar-link/navbar-link.js +5 -5
  115. package/cdn/components/navbar-menu/navbar-menu.js +4 -4
  116. package/cdn/components/option/option.js +5 -5
  117. package/cdn/components/option/option.styles.js +1 -1
  118. package/cdn/components/pagination/pagination.js +11 -10
  119. package/cdn/components/profile-button/profile-button.js +4 -4
  120. package/cdn/components/quote/quote.js +3 -3
  121. package/cdn/components/radio/radio.js +3 -3
  122. package/cdn/components/radio-button/radio-button.js +9 -7
  123. package/cdn/components/radio-group/radio-group.d.ts +7 -2
  124. package/cdn/components/radio-group/radio-group.js +8 -6
  125. package/cdn/components/range-slider/range-slider.d.ts +0 -2
  126. package/cdn/components/range-slider/range-slider.js +1 -1
  127. package/cdn/components/select/select.d.ts +4 -2
  128. package/cdn/components/select/select.js +6 -5
  129. package/cdn/components/split-panel/split-panel.js +3 -3
  130. package/cdn/components/step/step.js +5 -4
  131. package/cdn/components/tab/tab.d.ts +2 -0
  132. package/cdn/components/tab/tab.js +4 -4
  133. package/cdn/components/tab-group/tab-group.js +3 -3
  134. package/cdn/components/table-body/table-body.js +2 -2
  135. package/cdn/components/table-header-cell/table-header-cell.js +3 -3
  136. package/cdn/components/table-header-row/table-header-row.js +12 -9
  137. package/cdn/components/table-row/table-row.js +10 -5
  138. package/cdn/components/tag/tag.js +3 -3
  139. package/cdn/components/textarea/textarea.js +6 -5
  140. package/cdn/components/tree/tree.js +11 -6
  141. package/cdn/components/tree-item/tree-item.js +9 -4
  142. package/cdn/custom-elements.json +815 -184
  143. package/cdn/design-system.d.ts +2 -0
  144. package/cdn/design-system.js +129 -116
  145. package/cdn/events/events.d.ts +7 -7
  146. package/cdn/internal/a11y-warning.d.ts +2 -0
  147. package/cdn/internal/a11y-warning.js +4 -0
  148. package/cdn/internal/components/date-field/date-field.js +6 -1
  149. package/cdn/internal/components/form-control/form-control-layout.js +6 -1
  150. package/cdn/internal/components/form-toggle-button/form-toggle-button-stories.d.ts +2 -86
  151. package/cdn/themes/dsa-wc-theme.css +19 -0
  152. package/cdn/themes/dsa-wc-theme.min.css +1 -1
  153. package/cdn/themes/dsa-wc-theme.styles.js +19 -0
  154. package/cdn/utilities/icon-library.js +2 -2
  155. package/cdn/utilities/storybook.d.ts +1 -0
  156. package/cdn/utilities/storybook.js +3 -1
  157. package/cdn/vscode.html-custom-data.json +140 -18
  158. package/cdn/web-types.json +472 -69
  159. package/dist/chunks/{chunk.N5DO55QO.js → chunk.2EDNCADP.js} +9 -1
  160. package/dist/chunks/{chunk.YDXAC3AX.js → chunk.2VH3OZ2T.js} +1 -1
  161. package/dist/chunks/{chunk.QTUCYPM5.js → chunk.3TUFAITJ.js} +18 -0
  162. package/dist/chunks/{chunk.VC2F6FEI.js → chunk.4WSA3PVB.js} +1 -1
  163. package/dist/chunks/chunk.5P2EEOC5.js +196 -0
  164. package/dist/chunks/{chunk.VOOE2BQV.js → chunk.6HR34L7E.js} +2 -22
  165. package/dist/chunks/{chunk.Y72CHU6D.js → chunk.6JHM36KH.js} +5 -1
  166. package/dist/chunks/{chunk.TB3WT3D4.js → chunk.6QAB5TYJ.js} +6 -0
  167. package/dist/chunks/{chunk.LKCPAJMF.js → chunk.B6LMEZTV.js} +5 -2
  168. package/dist/chunks/{chunk.JUPNFWMF.js → chunk.DDDHV2NU.js} +14 -10
  169. package/dist/chunks/{chunk.P4HRQ2D7.js → chunk.DHDRABMZ.js} +1 -1
  170. package/dist/chunks/{chunk.X6V74J4Y.js → chunk.DUTPVTUZ.js} +4 -5
  171. package/dist/chunks/{chunk.JDG6WH3B.js → chunk.EQZ4YFRU.js} +94 -54
  172. package/dist/chunks/chunk.F7NUIVDV.js +10 -0
  173. package/dist/chunks/{chunk.CWVZX3HL.js → chunk.FKXOTDTY.js} +1 -1
  174. package/dist/chunks/{chunk.D3SHMAJT.js → chunk.H3FSR35C.js} +1 -1
  175. package/dist/chunks/chunk.HRIAHWFV.js +89 -0
  176. package/dist/chunks/{chunk.T4BUHP4L.js → chunk.I5HR7JYK.js} +10 -1
  177. package/dist/chunks/{chunk.4FP4K3F5.js → chunk.JDIBYGPL.js} +11 -2
  178. package/dist/chunks/{chunk.QEFQHCEK.js → chunk.KFRR2I2P.js} +3 -4
  179. package/dist/chunks/{chunk.RPZWIHKX.js → chunk.KN6RQWYN.js} +1 -1
  180. package/dist/chunks/{chunk.2DJFK3E6.js → chunk.KUYI27GJ.js} +204 -34
  181. package/dist/chunks/{chunk.ZGQUBAEK.js → chunk.L3LZ4MKX.js} +1 -1
  182. package/dist/chunks/{chunk.5LBJAKDG.js → chunk.LB54GRRB.js} +31 -5
  183. package/dist/chunks/{chunk.CQG7MKTO.js → chunk.LDXGSIJP.js} +6 -2
  184. package/dist/chunks/{chunk.BXOGG3JO.js → chunk.LTCZARVI.js} +1 -1
  185. package/dist/chunks/{chunk.ARYKCY32.js → chunk.MBRRLF6D.js} +34 -30
  186. package/dist/chunks/{chunk.R426GAXO.js → chunk.MJKJSMQX.js} +3 -2
  187. package/dist/chunks/{chunk.IAL72I44.js → chunk.MYSJOWY5.js} +6 -2
  188. package/dist/chunks/{chunk.3E6XVTWL.js → chunk.P45DWAWT.js} +1 -1
  189. package/dist/chunks/chunk.PWL7QCVG.js +9 -0
  190. package/dist/chunks/{chunk.7NPJ25LI.js → chunk.PZXD4VTO.js} +14 -20
  191. package/dist/chunks/chunk.RJXLIOW7.js +28 -0
  192. package/dist/chunks/{chunk.35URRZJ2.js → chunk.SYVX56PU.js} +1 -2
  193. package/dist/chunks/chunk.UDJJFUZ3.js +335 -0
  194. package/dist/chunks/{chunk.YXXLXJPE.js → chunk.UEWG3G4R.js} +6 -0
  195. package/dist/chunks/{chunk.K6FDIYMY.js → chunk.UVN7RIEO.js} +0 -4
  196. package/dist/chunks/{chunk.WWANVBI5.js → chunk.UWGAOHHQ.js} +1 -1
  197. package/dist/chunks/{chunk.6RJLT24F.js → chunk.VBW5RZBM.js} +4 -1
  198. package/dist/chunks/{chunk.LWFWCZIX.js → chunk.WQYBYKZ2.js} +9 -4
  199. package/dist/chunks/{chunk.XWFZLRHU.js → chunk.WRPRKCVY.js} +25 -2
  200. package/dist/chunks/{chunk.35M6DDPF.js → chunk.WUOMKASN.js} +17 -3
  201. package/dist/chunks/{chunk.GBRTFFMV.js → chunk.XJMGXWLM.js} +42 -93
  202. package/dist/chunks/{chunk.GOMVXZ72.js → chunk.XRZGSSHY.js} +1 -1
  203. package/dist/chunks/{chunk.Z2SRVRIK.js → chunk.XXN6UBL4.js} +10 -12
  204. package/dist/chunks/{chunk.6GN2WDDT.js → chunk.Y52TCF24.js} +1 -1
  205. package/dist/chunks/{chunk.DY2W3WPP.js → chunk.Z7DBDDCZ.js} +16 -8
  206. package/dist/chunks/{chunk.WI3DWLXW.js → chunk.ZTGPYOYG.js} +13 -22
  207. package/dist/components/accordion/accordion.js +3 -3
  208. package/dist/components/alert/alert.js +4 -4
  209. package/dist/components/avatar/avatar.js +4 -4
  210. package/dist/components/breadcrumb/breadcrumb.js +3 -3
  211. package/dist/components/button/button.d.ts +4 -1
  212. package/dist/components/button/button.js +4 -4
  213. package/dist/components/callout/callout.d.ts +3 -1
  214. package/dist/components/callout/callout.js +4 -4
  215. package/dist/components/checkbox/checkbox.d.ts +5 -1
  216. package/dist/components/checkbox/checkbox.js +9 -4
  217. package/dist/components/checkbox-button/checkbox-button.d.ts +1 -0
  218. package/dist/components/checkbox-button/checkbox-button.js +4 -4
  219. package/dist/components/checkbox-group/checkbox-group.d.ts +9 -8
  220. package/dist/components/checkbox-group/checkbox-group.js +8 -7
  221. package/dist/components/checkbox-group/checkbox-group.styles.js +1 -1
  222. package/dist/components/combobox/combobox.d.ts +3 -2
  223. package/dist/components/combobox/combobox.js +6 -5
  224. package/dist/components/dialog/dialog.d.ts +5 -1
  225. package/dist/components/dialog/dialog.js +5 -5
  226. package/dist/components/dialog/dialog.styles.js +1 -1
  227. package/dist/components/download-card/download-card.js +5 -5
  228. package/dist/components/download-card/download-card.styles.js +1 -1
  229. package/dist/components/download-link/download-link.js +5 -5
  230. package/dist/components/download-link/download-link.styles.js +1 -1
  231. package/dist/components/drawer/drawer.js +3 -3
  232. package/dist/components/error-text/error-text.js +3 -3
  233. package/dist/components/file-upload/file-upload.d.ts +3 -2
  234. package/dist/components/file-upload/file-upload.js +3 -3
  235. package/dist/components/file-upload-item/file-upload-item.js +3 -3
  236. package/dist/components/filter-base/filter-base-stories.js +1 -1
  237. package/dist/components/filter-base/filter-base.js +3 -3
  238. package/dist/components/filter-button/filter-button.js +3 -3
  239. package/dist/components/filter-counter/filter-counter.js +9 -8
  240. package/dist/components/filter-date/filter-date.js +4 -4
  241. package/dist/components/filter-range/filter-range.js +10 -9
  242. package/dist/components/filter-select/filter-select.d.ts +6 -3
  243. package/dist/components/filter-select/filter-select.js +14 -13
  244. package/dist/components/header/header.d.ts +5 -1
  245. package/dist/components/header/header.js +2 -2
  246. package/dist/components/header/header.styles.js +1 -1
  247. package/dist/components/header-search/header-search.d.ts +6 -0
  248. package/dist/components/header-search/header-search.js +11 -5
  249. package/dist/components/header-search/header-search.styles.js +1 -1
  250. package/dist/components/icon/icon.js +3 -3
  251. package/dist/components/icon/library.js +2 -2
  252. package/dist/components/icon/library.system.js +1 -1
  253. package/dist/components/icon-button/icon-button.js +3 -3
  254. package/dist/components/input/input.js +8 -7
  255. package/dist/components/input-date/input-date.js +7 -6
  256. package/dist/components/input-mask/input-mask.js +6 -5
  257. package/dist/components/input-otp/input-otp.d.ts +90 -0
  258. package/dist/components/input-otp/input-otp.js +31 -0
  259. package/dist/components/input-otp/input-otp.styles.d.ts +2 -0
  260. package/dist/components/input-otp/input-otp.styles.js +9 -0
  261. package/dist/components/input-otp/input-otp.utils.d.ts +3 -0
  262. package/dist/components/input-otp/input-otp.utils.js +11 -0
  263. package/dist/components/input-phone/input-phone.d.ts +3 -3
  264. package/dist/components/input-phone/input-phone.js +14 -19
  265. package/dist/components/input-phone/input-phone.styles.js +1 -1
  266. package/dist/components/input-phone/input-phone.utils.d.ts +0 -2
  267. package/dist/components/input-phone/input-phone.utils.js +1 -5
  268. package/dist/components/menu-accordion/menu-accordion.js +3 -3
  269. package/dist/components/menu-item/menu-item.js +3 -3
  270. package/dist/components/menu-navigation/menu-navigation.js +1 -1
  271. package/dist/components/navbar-link/navbar-link.js +5 -5
  272. package/dist/components/navbar-menu/navbar-menu.js +4 -4
  273. package/dist/components/option/option.js +5 -5
  274. package/dist/components/option/option.styles.js +1 -1
  275. package/dist/components/pagination/pagination.js +11 -10
  276. package/dist/components/profile-button/profile-button.js +4 -4
  277. package/dist/components/quote/quote.js +3 -3
  278. package/dist/components/radio/radio.js +3 -3
  279. package/dist/components/radio-button/radio-button.js +9 -7
  280. package/dist/components/radio-group/radio-group.d.ts +7 -2
  281. package/dist/components/radio-group/radio-group.js +8 -6
  282. package/dist/components/range-slider/range-slider.d.ts +0 -2
  283. package/dist/components/range-slider/range-slider.js +1 -1
  284. package/dist/components/select/select.d.ts +4 -2
  285. package/dist/components/select/select.js +6 -5
  286. package/dist/components/split-panel/split-panel.js +3 -3
  287. package/dist/components/step/step.js +5 -4
  288. package/dist/components/tab/tab.d.ts +2 -0
  289. package/dist/components/tab/tab.js +4 -4
  290. package/dist/components/tab-group/tab-group.js +3 -3
  291. package/dist/components/table-body/table-body.js +2 -2
  292. package/dist/components/table-header-cell/table-header-cell.js +3 -3
  293. package/dist/components/table-header-row/table-header-row.js +11 -8
  294. package/dist/components/table-row/table-row.js +10 -5
  295. package/dist/components/tag/tag.js +3 -3
  296. package/dist/components/textarea/textarea.js +6 -5
  297. package/dist/components/tree/tree.js +11 -6
  298. package/dist/components/tree-item/tree-item.js +9 -4
  299. package/dist/custom-elements.json +815 -184
  300. package/dist/design-system.d.ts +2 -0
  301. package/dist/design-system.js +129 -116
  302. package/dist/events/events.d.ts +7 -7
  303. package/dist/internal/a11y-warning.d.ts +2 -0
  304. package/dist/internal/a11y-warning.js +4 -0
  305. package/dist/internal/components/date-field/date-field.js +6 -1
  306. package/dist/internal/components/form-control/form-control-layout.js +6 -1
  307. package/dist/internal/components/form-toggle-button/form-toggle-button-stories.d.ts +2 -86
  308. package/dist/themes/dsa-wc-theme.css +19 -0
  309. package/dist/themes/dsa-wc-theme.min.css +1 -1
  310. package/dist/themes/dsa-wc-theme.styles.js +19 -0
  311. package/dist/utilities/icon-library.js +2 -2
  312. package/dist/utilities/storybook.d.ts +1 -0
  313. package/dist/utilities/storybook.js +3 -1
  314. package/dist/vscode.html-custom-data.json +140 -18
  315. package/dist/web-types.json +472 -69
  316. package/package.json +3 -1
  317. package/cdn/chunks/chunk.CCL2RZON.js +0 -132
  318. package/cdn/chunks/chunk.DIF52FDQ.js +0 -183
  319. package/cdn/chunks/chunk.GVVML3JJ.js +0 -272
  320. package/cdn/chunks/chunk.PS4PM6DJ.js +0 -164
  321. package/dist/chunks/chunk.2T66U3QC.js +0 -270
  322. package/dist/chunks/chunk.AYDVF4T3.js +0 -157
  323. package/dist/chunks/chunk.ESYJVRG3.js +0 -129
  324. package/cdn/chunks/{chunk.COR7P3QG.js → chunk.NSE76EM5.js} +3 -3
  325. package/cdn/chunks/{chunk.P33HFS7T.js → chunk.V2UYRTUC.js} +3 -3
  326. package/dist/chunks/{chunk.WOV5QN3O.js → chunk.3OHVWJYG.js} +3 -3
  327. package/dist/chunks/{chunk.7BFH35RV.js → chunk.63MNXWSY.js} +3 -3
@@ -2,9 +2,9 @@ import "../chunks/chunk.HAL7R4WT.js";
2
2
  import {
3
3
  registerIconLibrary,
4
4
  unregisterIconLibrary
5
- } from "../chunks/chunk.3E6XVTWL.js";
5
+ } from "../chunks/chunk.P45DWAWT.js";
6
6
  import "../chunks/chunk.C2W7WMBY.js";
7
- import "../chunks/chunk.QTUCYPM5.js";
7
+ import "../chunks/chunk.3TUFAITJ.js";
8
8
  import "../chunks/chunk.L633QVVV.js";
9
9
  import "../chunks/chunk.S3NI7NKU.js";
10
10
  export {
@@ -47,3 +47,4 @@ export declare const withOnLayerOnBaseDecorator: Decorator;
47
47
  export declare const withOnFloatingMenuOnBaseDecorator: Decorator;
48
48
  export declare const withBackgroundDecorator: Decorator;
49
49
  export declare const filtersDrawerDecorator: Decorator;
50
+ export declare const fullScreenDecorator: Decorator;
@@ -4,11 +4,12 @@ import {
4
4
  excludeArgsByPrefix,
5
5
  extractArgsByPrefix,
6
6
  filtersDrawerDecorator,
7
+ fullScreenDecorator,
7
8
  updateCompleteArgTypes,
8
9
  withBackgroundDecorator,
9
10
  withOnFloatingMenuOnBaseDecorator,
10
11
  withOnLayerOnBaseDecorator
11
- } from "../chunks/chunk.IAL72I44.js";
12
+ } from "../chunks/chunk.MYSJOWY5.js";
12
13
  import "../chunks/chunk.S3NI7NKU.js";
13
14
  export {
14
15
  errorArgTypes,
@@ -16,6 +17,7 @@ export {
16
17
  excludeArgsByPrefix,
17
18
  extractArgsByPrefix,
18
19
  filtersDrawerDecorator,
20
+ fullScreenDecorator,
19
21
  updateCompleteArgTypes,
20
22
  withBackgroundDecorator,
21
23
  withOnFloatingMenuOnBaseDecorator,
@@ -330,7 +330,11 @@
330
330
  "name": "dsa-button",
331
331
  "description": "Buttons represent actions that are available to the user.\n---\n\n\n### **Events:**\n - **dsa-blur** - Emitted when the button loses focus.\n- **dsa-focus** - Emitted when the button gains focus.\n- **dsa-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n- **dsa-change** - Emitted when a toggle button changes its pressed state.\n\n### **Methods:**\n - **click()** - Simulates a click on the button.\n- **focus(options: _FocusOptions_)** - Sets focus on the button.\n- **blur()** - Removes focus from the button.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - _default_ - The button's label.\n- **prefix** - A presentational prefix icon or similar element.\n- **suffix** - A presentational suffix icon or similar element.",
332
332
  "attributes": [
333
- { "name": "title", "values": [] },
333
+ {
334
+ "name": "title",
335
+ "description": "(deprecated) The use of this attribute will lead to a duplicated reading by screen readers. You can use the accessible-name attribute instead.",
336
+ "values": []
337
+ },
334
338
  {
335
339
  "name": "variant",
336
340
  "description": "The button's theme variant.",
@@ -475,6 +479,11 @@
475
479
  },
476
480
  {
477
481
  "name": "aria-label",
482
+ "description": "(deprecated) The use of this attribute will lead to a duplicated reading by screen readers. You can use the accessible-name attribute instead.",
483
+ "values": []
484
+ },
485
+ {
486
+ "name": "accessible-name",
478
487
  "description": "Provides an accessible label for the button element",
479
488
  "values": []
480
489
  },
@@ -502,6 +511,11 @@
502
511
  "attributes": [
503
512
  {
504
513
  "name": "title",
514
+ "description": "(deprecated) The use of this attribute will lead to a duplicated reading by screen readers. You can use the callout-title attribute instead.",
515
+ "values": []
516
+ },
517
+ {
518
+ "name": "callout-title",
505
519
  "description": "The callout's title.",
506
520
  "values": []
507
521
  },
@@ -556,7 +570,11 @@
556
570
  "name": "dsa-checkbox",
557
571
  "description": "Checkboxes allow the user to toggle an option on or off.\n---\n\n\n### **Events:**\n - **dsa-blur** - Emitted when the checkbox loses focus.\n- **dsa-change** - Emitted when the checked state changes.\n- **dsa-focus** - Emitted when the checkbox gains focus.\n- **dsa-input** - Emitted when the checkbox receives input.\n- **dsa-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **click()** - Simulates a click on the checkbox.\n- **focus(options: _FocusOptions_)** - Sets focus on the checkbox.\n- **blur()** - Removes focus from the checkbox.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. The value provided will be shown to the user when the form is submitted. To clear\nthe custom validation message, call this method with an empty string.\n\n### **Slots:**\n - _default_ - The checkbox's label.",
558
572
  "attributes": [
559
- { "name": "title", "values": [] },
573
+ {
574
+ "name": "title",
575
+ "description": "(deprecated) The use of this attribute will lead to a duplicated reading by screen readers. You can use the accessible-name attribute instead.",
576
+ "values": []
577
+ },
560
578
  {
561
579
  "name": "name",
562
580
  "description": "The name of the checkbox, submitted as a name/value pair with form data.",
@@ -618,7 +636,12 @@
618
636
  },
619
637
  {
620
638
  "name": "aria-label",
621
- "description": "Provides an accessible label for the button element",
639
+ "description": "(deprecated) The use of this attribute will lead to a duplicated reading by screen readers. You can use the accessible-name attribute instead.",
640
+ "values": []
641
+ },
642
+ {
643
+ "name": "accessible-name",
644
+ "description": "Provides an accessible label for the checkbox element (used by dsa-table-row and dsa-table-header-row)",
622
645
  "values": []
623
646
  }
624
647
  ],
@@ -651,7 +674,7 @@
651
674
  },
652
675
  {
653
676
  "name": "value",
654
- "description": "The current value of the checkbox group, submitted as a name/value pair with form data. The value is a comma-delimited list of values based on the checked checkboxes.",
677
+ "description": "The current value of the checkbox group, representing a list of the checked children checkbox items (designated\nby their “value and separated by a comma). It can be used as a way to define which items are checked by default,\nand is submitted as name/value pairs with form data.",
655
678
  "values": [{ "name": "string[]" }]
656
679
  },
657
680
  {
@@ -688,6 +711,11 @@
688
711
  "name": "error-message",
689
712
  "description": "An error message that is shown when `error` is set to true. If there are several messages, must be a\nstring of messages separated by a pipe, e.g. \"Error 1|Error 2|Error 3\"",
690
713
  "values": [{ "name": "string[]" }]
714
+ },
715
+ {
716
+ "name": "hide-label",
717
+ "description": "Hides the label to avoid duplication. Please make sure there is another visible label for the group. You still need to provide a `label` via attribute or slot.",
718
+ "values": []
691
719
  }
692
720
  ],
693
721
  "references": []
@@ -703,7 +731,7 @@
703
731
  },
704
732
  {
705
733
  "name": "value",
706
- "description": "The current value of the select, submitted as a name/value pair with form data. When `multiple` is enabled, the\nvalue will be a space-delimited list of values based on the options selected.",
734
+ "description": "The current value of the combobox, representing a list of the selected options (or single option if “multiple is\ndisabled). Selected options are designated by their value, and separated by a space. It can be used as a way to\ndefine which options are selected by default, and will be sent as name/value pairs with form data.",
707
735
  "values": [{ "name": "string[]" }]
708
736
  },
709
737
  {
@@ -781,9 +809,14 @@
781
809
  "description": "The dialog's label as displayed in the header. You should always include a relevant label even when using\n`no-header`, as it is required for proper accessibility. If you need to display HTML, use the `label` slot instead.",
782
810
  "values": []
783
811
  },
812
+ {
813
+ "name": "hide-title",
814
+ "description": "Hides the title part of the header, allowing users to still use the close button to dismiss the dialog.",
815
+ "values": []
816
+ },
784
817
  {
785
818
  "name": "no-header",
786
- "description": "Disables the header. This will also remove the default close button, so please ensure you provide an easy,\naccessible way for users to dismiss the dialog.",
819
+ "description": "Removes the entire header part of the dialog. This will also remove the default close button, so please ensure you provide an easy,\naccessible way for users to dismiss the dialog.",
787
820
  "values": []
788
821
  },
789
822
  {
@@ -1063,7 +1096,7 @@
1063
1096
  },
1064
1097
  {
1065
1098
  "name": "error-message",
1066
- "description": "An error message that is shown when `error` is set to true. If there are several messages, must be a\nstring of messages separated by a pipe, e.g. \"Error 1|Error 2|Error 3\"",
1099
+ "description": "The error message or messages that are shown when error is set to true”. To display several\nmessages, they must be separated by a pipe character, e.g. \"Error 1|Error 2|Error 3”.",
1067
1100
  "values": [{ "name": "string[]" }]
1068
1101
  }
1069
1102
  ],
@@ -1282,7 +1315,7 @@
1282
1315
  "attributes": [
1283
1316
  {
1284
1317
  "name": "value",
1285
- "description": "The current value of the filter. When `multiple` is enabled, the\nvalue will be a space-delimited list of values based on the options selected.",
1318
+ "description": "The current value of the filter, representing a list of the selected options (or single option if “multiple”\nis disabled). It can be used as a way to define which options are selected by default. Selected options are\ndesignated by their value, and separated by a space.",
1286
1319
  "values": [{ "name": "string[]" }]
1287
1320
  },
1288
1321
  {
@@ -1292,7 +1325,7 @@
1292
1325
  },
1293
1326
  {
1294
1327
  "name": "max-visible-list-length",
1295
- "description": "The maximum number of options that will be displayed by default. The user will then have to press \"See All\" to display the complete list. Set to 0 to remove the limit.",
1328
+ "description": "The maximum number of options that will be displayed by default. The user will then have to press \"See All\" to\ndisplay the complete list. Set to 0 to remove the limit.",
1296
1329
  "values": []
1297
1330
  },
1298
1331
  {
@@ -1551,11 +1584,11 @@
1551
1584
  },
1552
1585
  {
1553
1586
  "name": "dsa-header",
1554
- "description": "The header offers elements of information on the site (logos, title, etc.), a search field and a set of links and actions for the user.\n---\n\n\n### **Slots:**\n - **external-links** - External links that will be displayed in the very top on desktop.\n- **second-logo** - Optional second logo.\n- **site-name** - Website / service name.\n- **baseline** - Baseline / precisions on the service.\n- **search** - Search component (dsa-header-search).\n- _default_ - Right section of the header, used for action buttons.\n\n### **CSS Properties:**\n - **--header-max-width** - Custom value for the header content maximum width _(default: undefined)_\n- **--header-padding-inline** - Custom value for the header inline padding _(default: undefined)_",
1587
+ "description": "The header offers elements of information on the site (logos, title, etc.), a search field and a set of links and actions for the user.\n---\n\n\n### **Slots:**\n - **external-links** - External links that will be displayed in the very top on desktop.\n- **first-logo** - Change the first logo (for exemple if you need to use Angular routerLink).\n- **second-logo** - Optional second logo.\n- **site-name** - Website / service name.\n- **baseline** - Baseline / precisions on the service.\n- **search** - Search component (dsa-header-search).\n- _default_ - Right section of the header, used for action buttons.\n\n### **CSS Properties:**\n - **--header-max-width** - Custom value for the header content maximum width _(default: undefined)_\n- **--header-padding-inline** - Custom value for the header inline padding _(default: undefined)_",
1555
1588
  "attributes": [
1556
1589
  {
1557
1590
  "name": "first-logo",
1558
- "description": "Choice bewteen public or pro for the first logo",
1591
+ "description": "Choice between public or pro for the first logo",
1559
1592
  "values": [{ "name": "" }, { "name": "public" }, { "name": "pro" }]
1560
1593
  },
1561
1594
  {
@@ -1563,6 +1596,11 @@
1563
1596
  "description": "The url of the first logo link",
1564
1597
  "values": []
1565
1598
  },
1599
+ {
1600
+ "name": "logo-size",
1601
+ "description": "Renders the logo with larger dimensions",
1602
+ "values": [{ "name": "default" }, { "name": "large" }]
1603
+ },
1566
1604
  {
1567
1605
  "name": "search-expanded",
1568
1606
  "description": "Expands the search",
@@ -1595,6 +1633,16 @@
1595
1633
  "name": "expanded",
1596
1634
  "description": "Expands the search and displays the input",
1597
1635
  "values": []
1636
+ },
1637
+ {
1638
+ "name": "always-open",
1639
+ "description": "Renders the search in an always opened state",
1640
+ "values": []
1641
+ },
1642
+ {
1643
+ "name": "mobile",
1644
+ "description": "Controls whether the header search is rendered in its mobile version or in its desktop version",
1645
+ "values": []
1598
1646
  }
1599
1647
  ],
1600
1648
  "references": []
@@ -1991,6 +2039,75 @@
1991
2039
  ],
1992
2040
  "references": []
1993
2041
  },
2042
+ {
2043
+ "name": "dsa-input-otp",
2044
+ "description": "The OTP input is used for MFA procedure of authenticating users by a one-time password.\n---\n\n\n### **Events:**\n - **dsa-blur** - Emitted when the control loses focus.\n- **dsa-change** - Emitted when an alteration to the control's value is committed by the user.\n- **dsa-focus** - Emitted when the control gains focus.\n- **dsa-input** - Emitted when the control receives input.\n- **dsa-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **blur()** - Removes focus from the input.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **focus(options: _FocusOptions_)** - Sets focus on the input.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **select()** - Selects all the text in the input.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n- **tooltip** - The tooltip slot allows additional information to be passed along the label.",
2045
+ "attributes": [
2046
+ {
2047
+ "name": "value",
2048
+ "description": "The current value of the input, submitted as a name/value pair with form data.",
2049
+ "values": []
2050
+ },
2051
+ {
2052
+ "name": "pattern",
2053
+ "description": "A regular expression pattern to validate input against.",
2054
+ "values": []
2055
+ },
2056
+ {
2057
+ "name": "length",
2058
+ "description": "The length of input that will be considered valid.",
2059
+ "values": []
2060
+ },
2061
+ {
2062
+ "name": "autocapitalize",
2063
+ "description": "Controls whether and how text input is automatically capitalized as it is entered by the user.",
2064
+ "values": [
2065
+ { "name": "" },
2066
+ { "name": "off" },
2067
+ { "name": "none" },
2068
+ { "name": "on" },
2069
+ { "name": "sentences" },
2070
+ { "name": "words" },
2071
+ { "name": "characters" }
2072
+ ]
2073
+ },
2074
+ {
2075
+ "name": "autofocus",
2076
+ "description": "Indicates that the input should receive focus on page load.",
2077
+ "values": []
2078
+ },
2079
+ {
2080
+ "name": "enterkeyhint",
2081
+ "description": "Used to customize the label or icon of the Enter key on virtual keyboards.",
2082
+ "values": [
2083
+ { "name": "" },
2084
+ { "name": "enter" },
2085
+ { "name": "done" },
2086
+ { "name": "go" },
2087
+ { "name": "next" },
2088
+ { "name": "previous" },
2089
+ { "name": "search" },
2090
+ { "name": "send" }
2091
+ ]
2092
+ },
2093
+ {
2094
+ "name": "inputmode",
2095
+ "description": "Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual\nkeyboard on supportive devices.",
2096
+ "values": [
2097
+ { "name": "" },
2098
+ { "name": "none" },
2099
+ { "name": "text" },
2100
+ { "name": "decimal" },
2101
+ { "name": "numeric" },
2102
+ { "name": "tel" },
2103
+ { "name": "search" },
2104
+ { "name": "email" },
2105
+ { "name": "url" }
2106
+ ]
2107
+ }
2108
+ ],
2109
+ "references": []
2110
+ },
1994
2111
  {
1995
2112
  "name": "dsa-input-phone",
1996
2113
  "description": "Inputs collect data from the user.\n---\n\n\n### **Events:**\n - **dsa-blur** - Emitted when the control loses focus.\n- **dsa-change** - Emitted when an alteration to the control's value is committed by the user.\n- **dsa-clear** - Emitted when the clear button is activated.\n- **dsa-focus** - Emitted when the control gains focus.\n- **dsa-input** - Emitted when the control receives input.\n- **dsa-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the input.\n- **blur()** - Removes focus from the input.\n- **select()** - Selects all the text in the input.\n- **setSelectionRange(selectionStart: _number_, selectionEnd: _number_, selectionDirection: _'forward' | 'backward' | 'none'_)** - Sets the start and end positions of the text selection (0-based).\n- **setRangeText(replacement: _string_, start: _number_, end: _number_, selectMode: _'select' | 'start' | 'end' | 'preserve'_)** - Replaces a range of text with a new string.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n- **tooltip** - The tooltip slot allows additional information to be passed along the label.",
@@ -2728,8 +2845,13 @@
2728
2845
  },
2729
2846
  {
2730
2847
  "name": "error-message",
2731
- "description": "An error message that is shown when `error` is set to true. If there are several messages, must be a\nstring of messages separated by a pipe, e.g. \"Error 1|Error 2|Error 3\"",
2848
+ "description": "The error message or messages that are shown when error is set to true”. To display several messages,\nthey must be separated by a pipe character, e.g. \"Error 1|Error 2|Error 3",
2732
2849
  "values": [{ "name": "string[]" }]
2850
+ },
2851
+ {
2852
+ "name": "hide-label",
2853
+ "description": "Hides the label to avoid duplication. Please make sure there is another visible label for the group. You still need to provide a `label` via attribute or slot.",
2854
+ "values": []
2733
2855
  }
2734
2856
  ],
2735
2857
  "references": []
@@ -2738,11 +2860,6 @@
2738
2860
  "name": "dsa-range-slider",
2739
2861
  "description": "Range slider allows users to select a value within a predefined range by sliding a handle along a track.\n---\n\n\n### **Events:**\n - **dsa-blur** - Emitted when one of the thumb controls loses focus.\n- **dsa-focus** - Emitted when one of the thumb controls gains focus.\n- **dsa-slider-from-value-change** - Emitted when the lower value of the range slider changes.\n- **dsa-slider-to-value-change** - Emitted when the higher value of the range slider changes.\n\n### **Methods:**\n - **focusSliderLeftThumb(options: _FocusOptions_)** - Sets focus on the left thumb.\n- **blurSliderLeftThumb()** - Removes focus from the left thumb.\n- **focusSliderRightThumb(options: _FocusOptions_)** - Sets focus on the right thumb.\n- **blurSliderRightThumb()** - Removes focus from the right thumb.",
2740
2862
  "attributes": [
2741
- {
2742
- "name": "title",
2743
- "description": "The title contains a text representing advisory information related to the element it belongs to.",
2744
- "values": []
2745
- },
2746
2863
  {
2747
2864
  "name": "label-from",
2748
2865
  "description": "Provides an accessible label for the left cursor of the slider element",
@@ -2830,7 +2947,7 @@
2830
2947
  "attributes": [
2831
2948
  {
2832
2949
  "name": "value",
2833
- "description": "The current value of the select, submitted as a name/value pair with form data. When `multiple` is enabled, the\nvalue will be a space-delimited list of values based on the options selected.",
2950
+ "description": "The current value of the select component, representing a list of the selected options (or single option if\n“multiple is disabled). It can be used to define which options are selected by default. Selected options\nare designated by their value and separated by a space, and will\nbe submitted as name/value pairs with form data.",
2834
2951
  "values": [{ "name": "string[]" }]
2835
2952
  },
2836
2953
  {
@@ -3074,6 +3191,11 @@
3074
3191
  "description": "Makes the tab closable and shows a close button.",
3075
3192
  "values": []
3076
3193
  },
3194
+ {
3195
+ "name": "close-button-label",
3196
+ "description": "Provide a custom label for the tab close button.",
3197
+ "values": []
3198
+ },
3077
3199
  {
3078
3200
  "name": "disabled",
3079
3201
  "description": "Disables the tab and prevents selection.",