@ds-autonomie/web-components 2.13.0 → 2.14.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 (403) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/cdn/chunks/{chunk.ZTSFBM3Z.js → chunk.27QL4IYU.js} +1 -1
  3. package/cdn/chunks/{chunk.F2AI7O4R.js → chunk.2BS4FDS7.js} +1 -1
  4. package/cdn/chunks/{chunk.BUKM2N6B.js → chunk.3EGQN2WU.js} +1 -1
  5. package/cdn/chunks/{chunk.Z7ZDVATP.js → chunk.3N5SP55U.js} +11 -8
  6. package/cdn/chunks/{chunk.653MPFUT.js → chunk.3N7ZDDUL.js} +3 -3
  7. package/cdn/chunks/{chunk.SOPFOWBL.js → chunk.3UIZ5RTK.js} +1 -1
  8. package/cdn/chunks/{chunk.XHR7MVV6.js → chunk.5HLGCYCW.js} +4 -4
  9. package/cdn/chunks/{chunk.CEDKHQ6Y.js → chunk.5KQYKK7F.js} +1 -1
  10. package/cdn/chunks/{chunk.SVSNIKRJ.js → chunk.5OXHY35T.js} +1 -1
  11. package/cdn/chunks/{chunk.E6U524GP.js → chunk.5YWOUFLR.js} +1 -1
  12. package/cdn/chunks/{chunk.MYUDDEC5.js → chunk.6OI6TY62.js} +5 -5
  13. package/cdn/chunks/{chunk.4Q2WUHBV.js → chunk.6T4NTP5P.js} +1 -1
  14. package/cdn/chunks/{chunk.UBWOOLWW.js → chunk.6TEFOHBI.js} +47 -30
  15. package/cdn/chunks/{chunk.UANNVQFM.js → chunk.6TP5MV24.js} +1 -1
  16. package/cdn/chunks/{chunk.NZFBTFCB.js → chunk.7H3HPSRF.js} +1 -1
  17. package/cdn/chunks/{chunk.Y3VIEPP4.js → chunk.7OHJ4IWG.js} +1 -1
  18. package/cdn/chunks/{chunk.IUTJLFMA.js → chunk.AXLGDJN5.js} +14 -2
  19. package/cdn/chunks/{chunk.QVKLZ6B5.js → chunk.BFFPRKRY.js} +1 -1
  20. package/cdn/chunks/{chunk.CH7F7WGJ.js → chunk.BKYKGPRF.js} +4 -4
  21. package/cdn/chunks/{chunk.U4KGIXKJ.js → chunk.C77KPVOT.js} +2 -2
  22. package/cdn/chunks/{chunk.VDNWYNYL.js → chunk.CMJGPUHA.js} +1 -1
  23. package/cdn/chunks/{chunk.3K2PJ2XE.js → chunk.CSILWGEZ.js} +1 -1
  24. package/cdn/chunks/{chunk.UDSRZSUI.js → chunk.CTL6ZCUT.js} +1 -1
  25. package/cdn/chunks/{chunk.L2J7SIIL.js → chunk.D4SGUF6U.js} +3 -7
  26. package/cdn/chunks/{chunk.KVKLGFVO.js → chunk.DBFO36BO.js} +1 -1
  27. package/cdn/chunks/{chunk.KM4KITZK.js → chunk.DZNKN7UG.js} +1 -1
  28. package/cdn/chunks/{chunk.VX3USOBX.js → chunk.EWW2BZ55.js} +1 -1
  29. package/cdn/chunks/{chunk.FK753ZOL.js → chunk.FAUBDRT4.js} +1 -1
  30. package/cdn/chunks/{chunk.KOCETN2L.js → chunk.G2SVIJQS.js} +33 -6
  31. package/cdn/chunks/{chunk.IJML6NHK.js → chunk.GSJB73YG.js} +5 -7
  32. package/cdn/chunks/{chunk.QRMD4CZI.js → chunk.HBQ2CUEK.js} +6 -6
  33. package/cdn/chunks/{chunk.HD52LE6J.js → chunk.I6BMKPEG.js} +2 -2
  34. package/cdn/chunks/chunk.I6O5BUMW.js +193 -0
  35. package/cdn/chunks/{chunk.CCG62HSL.js → chunk.IIYHRPGQ.js} +1 -1
  36. package/cdn/chunks/{chunk.JJZU37TO.js → chunk.IJCMZSUR.js} +1 -1
  37. package/cdn/chunks/{chunk.3YZ3B66O.js → chunk.IXYMG74O.js} +1 -1
  38. package/cdn/chunks/{chunk.ZSS3MAEC.js → chunk.J2572HZK.js} +1 -1
  39. package/cdn/chunks/{chunk.KNXOB4UE.js → chunk.JRRGTRHM.js} +2 -2
  40. package/cdn/chunks/{chunk.SY3EVBNT.js → chunk.JTLVEFWT.js} +3 -0
  41. package/cdn/chunks/{chunk.S4IPKDIZ.js → chunk.KGCF4GE3.js} +1 -1
  42. package/cdn/chunks/{chunk.KA5KPMKE.js → chunk.KJEDKAAU.js} +1 -1
  43. package/cdn/chunks/{chunk.J7IAZRFK.js → chunk.L2BUQDZM.js} +1 -1
  44. package/cdn/chunks/{chunk.ALIVM5IK.js → chunk.M4JIV4Y5.js} +2 -2
  45. package/cdn/chunks/{chunk.BR3HXIYO.js → chunk.MF7YPS4H.js} +1 -1
  46. package/cdn/chunks/{chunk.LAHTYN7O.js → chunk.MY7IDU47.js} +1 -1
  47. package/cdn/chunks/{chunk.TRBARQEX.js → chunk.NP4PGPAG.js} +1 -1
  48. package/cdn/chunks/{chunk.CPYSCXYB.js → chunk.NR7XWVN5.js} +1 -1
  49. package/cdn/chunks/{chunk.7IKGNEUS.js → chunk.NRSRHNP4.js} +1 -1
  50. package/cdn/chunks/chunk.NXQMWO3B.js +266 -0
  51. package/cdn/chunks/{chunk.VN25W2LD.js → chunk.O4UP6LFM.js} +47 -20
  52. package/cdn/chunks/{chunk.ZF3LJFGB.js → chunk.OBQI5SCI.js} +2 -2
  53. package/cdn/chunks/{chunk.CE4QX5GY.js → chunk.OOJHJQ3U.js} +16 -1
  54. package/cdn/chunks/{chunk.VJJMI4E3.js → chunk.OTTJPZLF.js} +2 -2
  55. package/cdn/chunks/{chunk.E6EXYKCB.js → chunk.PA54RLEK.js} +4 -4
  56. package/cdn/chunks/{chunk.XI4SZBXQ.js → chunk.PJMLZBRQ.js} +4 -4
  57. package/cdn/chunks/{chunk.FSMUXFAQ.js → chunk.PSBVXVMH.js} +21 -0
  58. package/cdn/chunks/{chunk.ANY4UVWZ.js → chunk.PWRGRVWK.js} +2 -2
  59. package/cdn/chunks/{chunk.4ZYC455I.js → chunk.Q32YUSGV.js} +2 -2
  60. package/cdn/chunks/{chunk.SKCM6IIU.js → chunk.Q7GSCDIH.js} +1 -1
  61. package/cdn/chunks/{chunk.MYFWIBY6.js → chunk.QCPPB4JM.js} +2 -2
  62. package/cdn/chunks/{chunk.XUMSOEU7.js → chunk.QQDMDNG6.js} +2 -2
  63. package/cdn/chunks/{chunk.5BXI46NB.js → chunk.SALIDVU2.js} +3 -4
  64. package/cdn/chunks/{chunk.IWCZNIF5.js → chunk.SFB5GQLQ.js} +5 -5
  65. package/cdn/chunks/{chunk.RO6E3CHM.js → chunk.SV2UWNMS.js} +1 -1
  66. package/cdn/chunks/{chunk.OVCET4YX.js → chunk.TUANFMEV.js} +1 -1
  67. package/cdn/chunks/{chunk.LF2FSSES.js → chunk.TZJNCBSI.js} +1 -1
  68. package/cdn/chunks/{chunk.XIS6BKXM.js → chunk.UB6PQVJQ.js} +36 -9
  69. package/cdn/chunks/{chunk.7X3L3UKI.js → chunk.VC4NFGNB.js} +1 -1
  70. package/cdn/chunks/{chunk.4UH2GNFC.js → chunk.VO5QJNZB.js} +1 -1
  71. package/cdn/chunks/{chunk.3RLCSIOS.js → chunk.VRHOQBOT.js} +2 -6
  72. package/cdn/chunks/{chunk.GCZKQEK3.js → chunk.VZKLPHWL.js} +1 -1
  73. package/cdn/chunks/{chunk.BPBQ7RLQ.js → chunk.X4ROOYZQ.js} +2 -2
  74. package/cdn/chunks/{chunk.H4JTQC7T.js → chunk.XBIJAUV4.js} +1 -1
  75. package/cdn/chunks/{chunk.R3NC5YZH.js → chunk.Y4S7SM27.js} +1 -1
  76. package/cdn/chunks/{chunk.G6BQ2WKP.js → chunk.YDZHK6RM.js} +2 -2
  77. package/cdn/chunks/{chunk.PX75GZGD.js → chunk.YUKVCPXW.js} +25 -2
  78. package/cdn/chunks/{chunk.B6A5AGBJ.js → chunk.ZED3URBR.js} +1 -0
  79. package/cdn/chunks/{chunk.FOB2ZQTP.js → chunk.ZFTN4BWG.js} +2 -2
  80. package/cdn/chunks/{chunk.A36W5FG6.js → chunk.ZKESFKS5.js} +1 -1
  81. package/cdn/components/accordion/accordion.js +4 -4
  82. package/cdn/components/accordion-group/accordion-group.js +6 -6
  83. package/cdn/components/alert/alert.d.ts +1 -0
  84. package/cdn/components/alert/alert.js +4 -4
  85. package/cdn/components/avatar/avatar.js +3 -3
  86. package/cdn/components/breadcrumb/breadcrumb.js +4 -4
  87. package/cdn/components/breadcrumb-item/breadcrumb-item.js +2 -2
  88. package/cdn/components/button/button.js +5 -5
  89. package/cdn/components/calendar/calendar.js +2 -2
  90. package/cdn/components/callout/callout.js +2 -2
  91. package/cdn/components/card-content/card-content.js +2 -2
  92. package/cdn/components/card-nav-accordion/card-nav-accordion.js +4 -4
  93. package/cdn/components/card-nav-item/card-nav-item.js +2 -2
  94. package/cdn/components/checkbox/checkbox.js +6 -6
  95. package/cdn/components/checkbox-button/checkbox-button.js +3 -3
  96. package/cdn/components/checkbox-card/checkbox-card.js +2 -2
  97. package/cdn/components/checkbox-group/checkbox-group.js +3 -3
  98. package/cdn/components/combobox/combobox.d.ts +1 -0
  99. package/cdn/components/combobox/combobox.js +11 -7
  100. package/cdn/components/copy-button/copy-button.js +5 -5
  101. package/cdn/components/dialog/dialog.js +4 -4
  102. package/cdn/components/download-card/download-card.js +2 -2
  103. package/cdn/components/download-link/download-link.js +2 -2
  104. package/cdn/components/drawer/drawer.js +4 -4
  105. package/cdn/components/dropdown/dropdown.js +2 -2
  106. package/cdn/components/error-message-panel/error-message-panel.js +2 -2
  107. package/cdn/components/error-text/error-text.js +2 -2
  108. package/cdn/components/file-upload/file-upload.js +4 -4
  109. package/cdn/components/file-upload-item/file-upload-item.js +2 -2
  110. package/cdn/components/filter-button/filter-button.js +4 -4
  111. package/cdn/components/filter-counter/filter-counter.js +18 -18
  112. package/cdn/components/filter-date/filter-date.js +9 -9
  113. package/cdn/components/filter-range/filter-range.js +18 -18
  114. package/cdn/components/filter-select/filter-select.js +19 -19
  115. package/cdn/components/footer/footer.js +2 -2
  116. package/cdn/components/format-bytes/format-bytes.js +2 -2
  117. package/cdn/components/format-date/format-date.js +2 -2
  118. package/cdn/components/format-number/format-number.js +2 -2
  119. package/cdn/components/header/header.assets.d.ts +2 -1
  120. package/cdn/components/header/header.assets.js +5 -3
  121. package/cdn/components/header/header.d.ts +1 -0
  122. package/cdn/components/header/header.js +4 -4
  123. package/cdn/components/header/header.styles.js +1 -1
  124. package/cdn/components/header-modern/header-modern.d.ts +42 -0
  125. package/cdn/components/header-modern/header-modern.js +20 -0
  126. package/cdn/components/header-modern/header-modern.styles.d.ts +2 -0
  127. package/cdn/components/header-modern/header-modern.styles.js +10 -0
  128. package/cdn/components/header-search/header-search.d.ts +0 -1
  129. package/cdn/components/header-search/header-search.js +9 -9
  130. package/cdn/components/header-search/header-search.styles.js +1 -1
  131. package/cdn/components/icon/icon.js +2 -2
  132. package/cdn/components/icon-button/icon-button.js +2 -2
  133. package/cdn/components/input/input.js +13 -13
  134. package/cdn/components/input-amount/input-amount.js +5 -5
  135. package/cdn/components/input-date/input-date.js +8 -8
  136. package/cdn/components/input-mask/input-mask.js +6 -6
  137. package/cdn/components/input-native/input-native.js +5 -5
  138. package/cdn/components/input-otp/input-otp.js +4 -4
  139. package/cdn/components/input-phone/input-phone.js +14 -12
  140. package/cdn/components/input-time/input-time.js +7 -7
  141. package/cdn/components/menu-accordion/menu-accordion.js +5 -5
  142. package/cdn/components/menu-item/menu-item.js +2 -2
  143. package/cdn/components/menu-navigation/menu-navigation.js +2 -2
  144. package/cdn/components/navbar-link/navbar-link.js +4 -4
  145. package/cdn/components/navbar-menu/navbar-menu.js +5 -5
  146. package/cdn/components/option/option.js +4 -4
  147. package/cdn/components/pagination/pagination.js +14 -14
  148. package/cdn/components/profile-button/profile-button.js +7 -7
  149. package/cdn/components/profile-button/profile-button.styles.js +1 -1
  150. package/cdn/components/progress-bar/progress-bar.js +2 -2
  151. package/cdn/components/quote/quote.js +2 -2
  152. package/cdn/components/radio/radio.js +2 -2
  153. package/cdn/components/radio-button/radio-button.js +5 -5
  154. package/cdn/components/radio-card/radio-card.js +5 -5
  155. package/cdn/components/radio-group/radio-group.js +4 -4
  156. package/cdn/components/relative-time/relative-time.js +2 -2
  157. package/cdn/components/search/search.js +5 -5
  158. package/cdn/components/select/select.d.ts +1 -2
  159. package/cdn/components/select/select.js +10 -6
  160. package/cdn/components/sidenav/sidenav.js +6 -6
  161. package/cdn/components/sidenav-info-accordion/sidenav-info-accordion.js +5 -5
  162. package/cdn/components/skip-link-item/skip-link-item.js +2 -2
  163. package/cdn/components/skip-link-item/skip-link-item.styles.js +1 -1
  164. package/cdn/components/skip-links/skip-links.js +2 -2
  165. package/cdn/components/spinner/spinner.js +2 -2
  166. package/cdn/components/split-panel/split-panel.js +4 -4
  167. package/cdn/components/step/step.js +5 -5
  168. package/cdn/components/success-text/success-text.js +2 -2
  169. package/cdn/components/switch/switch.js +5 -5
  170. package/cdn/components/tab/tab.js +4 -4
  171. package/cdn/components/tab-group/tab-group.js +4 -4
  172. package/cdn/components/table-action/table-action.js +2 -2
  173. package/cdn/components/table-body/table-body.js +2 -2
  174. package/cdn/components/table-caption/table-caption.js +2 -2
  175. package/cdn/components/table-container/table-container.js +2 -2
  176. package/cdn/components/table-header-cell/table-header-cell.js +2 -2
  177. package/cdn/components/table-header-row/table-header-row.js +11 -11
  178. package/cdn/components/table-of-contents/table-of-contents.js +2 -2
  179. package/cdn/components/table-row/table-row.js +8 -8
  180. package/cdn/components/tag/tag.d.ts +10 -0
  181. package/cdn/components/tag/tag.js +14 -5
  182. package/cdn/components/tag/tag.styles.js +1 -1
  183. package/cdn/components/textarea/textarea.js +4 -4
  184. package/cdn/components/tooltip/tooltip.js +2 -2
  185. package/cdn/components/tree/tree.js +11 -11
  186. package/cdn/components/tree-item/tree-item.js +9 -9
  187. package/cdn/custom-elements.json +613 -343
  188. package/cdn/design-system.d.ts +1 -0
  189. package/cdn/design-system.js +145 -140
  190. package/cdn/themes/dsa-wc-theme.css +20 -1
  191. package/cdn/themes/dsa-wc-theme.min.css +1 -1
  192. package/cdn/themes/dsa-wc-theme.styles.js +20 -1
  193. package/cdn/translations/en-gb.js +1 -1
  194. package/cdn/translations/en.js +1 -1
  195. package/cdn/translations/fr.js +1 -1
  196. package/cdn/utilities/localize.d.ts +7 -1
  197. package/cdn/utilities/localize.js +1 -1
  198. package/cdn/utilities/storybook.js +2 -2
  199. package/cdn/vscode.html-custom-data.json +45 -13
  200. package/cdn/web-types.json +277 -135
  201. package/dist/chunks/{chunk.KYZD4HDJ.js → chunk.2IQGSC6O.js} +2 -2
  202. package/dist/chunks/{chunk.PFSXVNN2.js → chunk.2OOQ2NCR.js} +1 -1
  203. package/dist/chunks/{chunk.D5R3P43B.js → chunk.2SEZCGJ3.js} +1 -1
  204. package/dist/chunks/{chunk.7TG3DZTW.js → chunk.36NZDHSV.js} +1 -1
  205. package/dist/chunks/{chunk.OKT4R6YV.js → chunk.46JZ4IOR.js} +1 -1
  206. package/dist/chunks/{chunk.M5BZYGOO.js → chunk.47UW24KJ.js} +47 -30
  207. package/dist/chunks/{chunk.A2YTGQ5P.js → chunk.4RIYXW6H.js} +1 -1
  208. package/dist/chunks/{chunk.5SH2NDGR.js → chunk.5SWZPGRD.js} +2 -2
  209. package/dist/chunks/{chunk.OBK2DHZB.js → chunk.6R2AWNKQ.js} +4 -4
  210. package/dist/chunks/{chunk.I26LWXXM.js → chunk.6WSD7QPH.js} +1 -1
  211. package/dist/chunks/{chunk.2I63PZSO.js → chunk.7532DR34.js} +1 -1
  212. package/dist/chunks/{chunk.7EXTAE26.js → chunk.7AUS6TUM.js} +1 -1
  213. package/dist/chunks/{chunk.6KJSL5LS.js → chunk.7NXV3VF3.js} +1 -1
  214. package/dist/chunks/{chunk.TWQ2VS2U.js → chunk.7T4JFEP3.js} +1 -1
  215. package/dist/chunks/{chunk.JSNVYESF.js → chunk.7TLERCGA.js} +25 -2
  216. package/dist/chunks/{chunk.GDLRITRX.js → chunk.A6JPNFVS.js} +1 -1
  217. package/dist/chunks/{chunk.OBIOX2QK.js → chunk.AJ6TVRRB.js} +1 -1
  218. package/dist/chunks/{chunk.PSY6BXI7.js → chunk.AXDAWBNN.js} +3 -0
  219. package/dist/chunks/{chunk.6VBPJWGT.js → chunk.C42D5RKV.js} +3 -3
  220. package/dist/chunks/{chunk.OM7W63ZQ.js → chunk.CCULDZ5X.js} +1 -1
  221. package/dist/chunks/{chunk.SHMCRSQN.js → chunk.D5655OGD.js} +4 -4
  222. package/dist/chunks/{chunk.ZRTIZ2ZU.js → chunk.DZIULIME.js} +1 -1
  223. package/dist/chunks/{chunk.S4KNUHFV.js → chunk.EKKVLF7E.js} +1 -1
  224. package/dist/chunks/{chunk.GIRLDLV3.js → chunk.F4IP53FN.js} +4 -4
  225. package/dist/chunks/{chunk.Z5AFKKBB.js → chunk.F7ZGTKYJ.js} +1 -1
  226. package/dist/chunks/{chunk.7MGIRC6M.js → chunk.FFVQTNFR.js} +1 -1
  227. package/dist/chunks/{chunk.4CT4OG3U.js → chunk.FIA35WYC.js} +1 -1
  228. package/dist/chunks/{chunk.37SIR5NH.js → chunk.FUL6NUHM.js} +1 -1
  229. package/dist/chunks/{chunk.6A2PTTMJ.js → chunk.GLDOSWES.js} +2 -2
  230. package/dist/chunks/{chunk.LXAPUOCB.js → chunk.GO2YJX4Q.js} +31 -5
  231. package/dist/chunks/{chunk.WMH22J3Y.js → chunk.GXST43AN.js} +1 -1
  232. package/dist/chunks/{chunk.P5HQ7ESJ.js → chunk.H7FOSCQV.js} +1 -1
  233. package/dist/chunks/{chunk.HH6M5ISS.js → chunk.HJMA4FPP.js} +1 -1
  234. package/dist/chunks/{chunk.7LOQIP5T.js → chunk.HMTZWLCV.js} +11 -8
  235. package/dist/chunks/{chunk.UIUYLHPM.js → chunk.HNYLJTPB.js} +1 -1
  236. package/dist/chunks/{chunk.JAN26V2T.js → chunk.I5ODFJO6.js} +1 -1
  237. package/dist/chunks/{chunk.AVFXGN5E.js → chunk.ILHVGOFN.js} +1 -1
  238. package/dist/chunks/chunk.ISWWNUGH.js +264 -0
  239. package/dist/chunks/{chunk.U6FYLS3C.js → chunk.J6RPTAQI.js} +1 -1
  240. package/dist/chunks/{chunk.X23V3C6R.js → chunk.JDHDSPED.js} +1 -1
  241. package/dist/chunks/{chunk.K2UXH6ZD.js → chunk.JDHNGWIH.js} +2 -6
  242. package/dist/chunks/{chunk.UXNALBWT.js → chunk.JKZSEYGF.js} +1 -1
  243. package/dist/chunks/{chunk.JF47WNHN.js → chunk.JTJBX4QS.js} +1 -1
  244. package/dist/chunks/{chunk.DQFLHN3N.js → chunk.KWPO3EDM.js} +4 -4
  245. package/dist/chunks/{chunk.X6EAVUBY.js → chunk.L6NDVRCR.js} +5 -5
  246. package/dist/chunks/{chunk.WID2OCNV.js → chunk.LDGTSFQV.js} +1 -1
  247. package/dist/chunks/{chunk.652GG3AU.js → chunk.LKL435K3.js} +1 -1
  248. package/dist/chunks/{chunk.6HTDKIVC.js → chunk.MMEFZDPJ.js} +1 -1
  249. package/dist/chunks/{chunk.XCVEA2XZ.js → chunk.N5HIPUUE.js} +5 -7
  250. package/dist/chunks/{chunk.TEHV57S2.js → chunk.NLQQDGEL.js} +16 -1
  251. package/dist/chunks/{chunk.N36MBM2Q.js → chunk.O42OVLHD.js} +1 -1
  252. package/dist/chunks/{chunk.N6N5PXAU.js → chunk.OOJRFXKM.js} +1 -1
  253. package/dist/chunks/{chunk.7M5CM6FS.js → chunk.Q2YIXYWB.js} +1 -1
  254. package/dist/chunks/{chunk.RQ2JUBGT.js → chunk.QCSAZGXA.js} +1 -1
  255. package/dist/chunks/{chunk.IW2YJ6FJ.js → chunk.QKV2UFTU.js} +1 -1
  256. package/dist/chunks/{chunk.7BLYNLBH.js → chunk.QY3AIGLE.js} +14 -2
  257. package/dist/chunks/{chunk.PL7FGR6O.js → chunk.RBRPIIUZ.js} +2 -3
  258. package/dist/chunks/{chunk.ULC7VUCJ.js → chunk.RCKLGFQP.js} +1 -1
  259. package/dist/chunks/{chunk.B4DA7JH6.js → chunk.RHI7PHVF.js} +2 -2
  260. package/dist/chunks/{chunk.BC35J2XZ.js → chunk.ROCLZVBA.js} +36 -9
  261. package/dist/chunks/chunk.TCTJKHNY.js +187 -0
  262. package/dist/chunks/{chunk.NHMU76XR.js → chunk.TRGRP3EU.js} +47 -20
  263. package/dist/chunks/{chunk.CJIVNPKU.js → chunk.TSWE7TKY.js} +1 -1
  264. package/dist/chunks/{chunk.55QIIYQY.js → chunk.TYBH3WM7.js} +2 -6
  265. package/dist/chunks/{chunk.FJUIXT7L.js → chunk.U6XEEEIG.js} +1 -1
  266. package/dist/chunks/{chunk.YQUUPYEO.js → chunk.WBB5EJ2R.js} +1 -1
  267. package/dist/chunks/{chunk.ZK6Y3PH5.js → chunk.WH3C6KS6.js} +1 -1
  268. package/dist/chunks/{chunk.SL2366FG.js → chunk.WNYVRNKA.js} +4 -4
  269. package/dist/chunks/{chunk.DVKGL7IF.js → chunk.X3ZR4IMO.js} +1 -1
  270. package/dist/chunks/{chunk.EOBDJFKX.js → chunk.XH64BF6I.js} +4 -4
  271. package/dist/chunks/{chunk.AXRKD7DS.js → chunk.XPNRSOJY.js} +1 -1
  272. package/dist/chunks/{chunk.S55U4A2J.js → chunk.YVMIUPK5.js} +1 -0
  273. package/dist/chunks/{chunk.72WPMH2C.js → chunk.Z5WPCFQ2.js} +1 -1
  274. package/dist/chunks/{chunk.VS6H6IPF.js → chunk.ZCI3JIOP.js} +1 -1
  275. package/dist/chunks/{chunk.JKNWQHLV.js → chunk.ZTQFL5KG.js} +2 -2
  276. package/dist/chunks/{chunk.KZBMMXBH.js → chunk.ZTQL6LV2.js} +21 -0
  277. package/dist/components/accordion/accordion.js +4 -4
  278. package/dist/components/accordion-group/accordion-group.js +6 -6
  279. package/dist/components/alert/alert.d.ts +1 -0
  280. package/dist/components/alert/alert.js +4 -4
  281. package/dist/components/avatar/avatar.js +3 -3
  282. package/dist/components/breadcrumb/breadcrumb.js +4 -4
  283. package/dist/components/breadcrumb-item/breadcrumb-item.js +2 -2
  284. package/dist/components/button/button.js +5 -5
  285. package/dist/components/calendar/calendar.js +2 -2
  286. package/dist/components/callout/callout.js +2 -2
  287. package/dist/components/card-content/card-content.js +2 -2
  288. package/dist/components/card-nav-accordion/card-nav-accordion.js +4 -4
  289. package/dist/components/card-nav-item/card-nav-item.js +2 -2
  290. package/dist/components/checkbox/checkbox.js +5 -5
  291. package/dist/components/checkbox-button/checkbox-button.js +3 -3
  292. package/dist/components/checkbox-card/checkbox-card.js +2 -2
  293. package/dist/components/checkbox-group/checkbox-group.js +3 -3
  294. package/dist/components/combobox/combobox.d.ts +1 -0
  295. package/dist/components/combobox/combobox.js +11 -7
  296. package/dist/components/copy-button/copy-button.js +5 -5
  297. package/dist/components/dialog/dialog.js +4 -4
  298. package/dist/components/download-card/download-card.js +2 -2
  299. package/dist/components/download-link/download-link.js +2 -2
  300. package/dist/components/drawer/drawer.js +4 -4
  301. package/dist/components/dropdown/dropdown.js +2 -2
  302. package/dist/components/error-message-panel/error-message-panel.js +2 -2
  303. package/dist/components/error-text/error-text.js +2 -2
  304. package/dist/components/file-upload/file-upload.js +4 -4
  305. package/dist/components/file-upload-item/file-upload-item.js +2 -2
  306. package/dist/components/filter-button/filter-button.js +4 -4
  307. package/dist/components/filter-counter/filter-counter.js +17 -17
  308. package/dist/components/filter-date/filter-date.js +8 -8
  309. package/dist/components/filter-range/filter-range.js +17 -17
  310. package/dist/components/filter-select/filter-select.js +18 -18
  311. package/dist/components/footer/footer.js +2 -2
  312. package/dist/components/format-bytes/format-bytes.js +2 -2
  313. package/dist/components/format-date/format-date.js +2 -2
  314. package/dist/components/format-number/format-number.js +2 -2
  315. package/dist/components/header/header.assets.d.ts +2 -1
  316. package/dist/components/header/header.assets.js +5 -3
  317. package/dist/components/header/header.d.ts +1 -0
  318. package/dist/components/header/header.js +4 -4
  319. package/dist/components/header/header.styles.js +1 -1
  320. package/dist/components/header-modern/header-modern.d.ts +42 -0
  321. package/dist/components/header-modern/header-modern.js +16 -0
  322. package/dist/components/header-modern/header-modern.styles.d.ts +2 -0
  323. package/dist/components/header-modern/header-modern.styles.js +8 -0
  324. package/dist/components/header-search/header-search.d.ts +0 -1
  325. package/dist/components/header-search/header-search.js +8 -8
  326. package/dist/components/header-search/header-search.styles.js +1 -1
  327. package/dist/components/icon/icon.js +2 -2
  328. package/dist/components/icon-button/icon-button.js +2 -2
  329. package/dist/components/input/input.js +12 -12
  330. package/dist/components/input-amount/input-amount.js +4 -4
  331. package/dist/components/input-date/input-date.js +7 -7
  332. package/dist/components/input-mask/input-mask.js +5 -5
  333. package/dist/components/input-native/input-native.js +4 -4
  334. package/dist/components/input-otp/input-otp.js +2 -2
  335. package/dist/components/input-phone/input-phone.js +13 -11
  336. package/dist/components/input-time/input-time.js +6 -6
  337. package/dist/components/menu-accordion/menu-accordion.js +5 -5
  338. package/dist/components/menu-item/menu-item.js +2 -2
  339. package/dist/components/menu-navigation/menu-navigation.js +2 -2
  340. package/dist/components/navbar-link/navbar-link.js +4 -4
  341. package/dist/components/navbar-menu/navbar-menu.js +5 -5
  342. package/dist/components/option/option.js +4 -4
  343. package/dist/components/pagination/pagination.js +13 -13
  344. package/dist/components/profile-button/profile-button.js +7 -7
  345. package/dist/components/profile-button/profile-button.styles.js +1 -1
  346. package/dist/components/progress-bar/progress-bar.js +2 -2
  347. package/dist/components/quote/quote.js +2 -2
  348. package/dist/components/radio/radio.js +2 -2
  349. package/dist/components/radio-button/radio-button.js +5 -5
  350. package/dist/components/radio-card/radio-card.js +5 -5
  351. package/dist/components/radio-group/radio-group.js +4 -4
  352. package/dist/components/relative-time/relative-time.js +2 -2
  353. package/dist/components/search/search.js +4 -4
  354. package/dist/components/select/select.d.ts +1 -2
  355. package/dist/components/select/select.js +10 -6
  356. package/dist/components/sidenav/sidenav.js +6 -6
  357. package/dist/components/sidenav-info-accordion/sidenav-info-accordion.js +5 -5
  358. package/dist/components/skip-link-item/skip-link-item.js +2 -2
  359. package/dist/components/skip-link-item/skip-link-item.styles.js +1 -1
  360. package/dist/components/skip-links/skip-links.js +2 -2
  361. package/dist/components/spinner/spinner.js +2 -2
  362. package/dist/components/split-panel/split-panel.js +4 -4
  363. package/dist/components/step/step.js +5 -5
  364. package/dist/components/success-text/success-text.js +2 -2
  365. package/dist/components/switch/switch.js +4 -4
  366. package/dist/components/tab/tab.js +4 -4
  367. package/dist/components/tab-group/tab-group.js +4 -4
  368. package/dist/components/table-action/table-action.js +2 -2
  369. package/dist/components/table-body/table-body.js +2 -2
  370. package/dist/components/table-caption/table-caption.js +2 -2
  371. package/dist/components/table-container/table-container.js +2 -2
  372. package/dist/components/table-header-cell/table-header-cell.js +2 -2
  373. package/dist/components/table-header-row/table-header-row.js +10 -10
  374. package/dist/components/table-of-contents/table-of-contents.js +2 -2
  375. package/dist/components/table-row/table-row.js +7 -7
  376. package/dist/components/tag/tag.d.ts +10 -0
  377. package/dist/components/tag/tag.js +14 -5
  378. package/dist/components/tag/tag.styles.js +1 -1
  379. package/dist/components/textarea/textarea.js +2 -2
  380. package/dist/components/tooltip/tooltip.js +2 -2
  381. package/dist/components/tree/tree.js +10 -10
  382. package/dist/components/tree-item/tree-item.js +8 -8
  383. package/dist/custom-elements.json +613 -343
  384. package/dist/design-system.d.ts +1 -0
  385. package/dist/design-system.js +142 -137
  386. package/dist/themes/dsa-wc-theme.css +20 -1
  387. package/dist/themes/dsa-wc-theme.min.css +1 -1
  388. package/dist/themes/dsa-wc-theme.styles.js +20 -1
  389. package/dist/translations/en-gb.js +1 -1
  390. package/dist/translations/en.js +1 -1
  391. package/dist/translations/fr.js +1 -1
  392. package/dist/utilities/localize.d.ts +7 -1
  393. package/dist/utilities/localize.js +1 -1
  394. package/dist/utilities/storybook.js +2 -2
  395. package/dist/vscode.html-custom-data.json +45 -13
  396. package/dist/web-types.json +277 -135
  397. package/package.json +1 -1
  398. package/cdn/chunks/{chunk.JS5WYOPH.js → chunk.LSTE53DJ.js} +3 -3
  399. package/cdn/chunks/{chunk.MECNKUMI.js → chunk.PWXXK3CE.js} +3 -3
  400. package/cdn/chunks/{chunk.ZRTVJE3I.js → chunk.RNIIRHX6.js} +3 -3
  401. package/dist/chunks/{chunk.CHYPZO53.js → chunk.B65HMRYD.js} +3 -3
  402. package/dist/chunks/{chunk.6SOP54V7.js → chunk.U54VTW5T.js} +3 -3
  403. package/dist/chunks/{chunk.TNUH3IEK.js → chunk.WUA5D6EA.js} +3 -3
@@ -576,6 +576,11 @@
576
576
  "name": "getPrefixIconName",
577
577
  "privacy": "private"
578
578
  },
579
+ {
580
+ "kind": "method",
581
+ "name": "getIconLabel",
582
+ "privacy": "private"
583
+ },
579
584
  {
580
585
  "kind": "method",
581
586
  "name": "handleOpenChange"
@@ -5617,6 +5622,19 @@
5617
5622
  }
5618
5623
  ]
5619
5624
  },
5625
+ {
5626
+ "kind": "method",
5627
+ "name": "handleSpaceKey",
5628
+ "privacy": "private",
5629
+ "parameters": [
5630
+ {
5631
+ "name": "event",
5632
+ "type": {
5633
+ "text": "KeyboardEvent"
5634
+ }
5635
+ }
5636
+ ]
5637
+ },
5620
5638
  {
5621
5639
  "kind": "method",
5622
5640
  "name": "handleArrowKeys",
@@ -11436,7 +11454,17 @@
11436
11454
  },
11437
11455
  {
11438
11456
  "kind": "function",
11439
- "name": "dsaLogoSvg",
11457
+ "name": "cnsaLogoNoSubtextSvg",
11458
+ "parameters": [
11459
+ {
11460
+ "name": "alt",
11461
+ "default": "''"
11462
+ }
11463
+ ]
11464
+ },
11465
+ {
11466
+ "kind": "function",
11467
+ "name": "spaLogoSvg",
11440
11468
  "parameters": [
11441
11469
  {
11442
11470
  "name": "alt",
@@ -11456,9 +11484,17 @@
11456
11484
  },
11457
11485
  {
11458
11486
  "kind": "js",
11459
- "name": "dsaLogoSvg",
11487
+ "name": "cnsaLogoNoSubtextSvg",
11488
+ "declaration": {
11489
+ "name": "cnsaLogoNoSubtextSvg",
11490
+ "module": "components/header/header.assets.js"
11491
+ }
11492
+ },
11493
+ {
11494
+ "kind": "js",
11495
+ "name": "spaLogoSvg",
11460
11496
  "declaration": {
11461
- "name": "dsaLogoSvg",
11497
+ "name": "spaLogoSvg",
11462
11498
  "module": "components/header/header.assets.js"
11463
11499
  }
11464
11500
  }
@@ -11597,6 +11633,11 @@
11597
11633
  "name": "handleSearchCollapseEvent",
11598
11634
  "privacy": "private"
11599
11635
  },
11636
+ {
11637
+ "kind": "method",
11638
+ "name": "getFirtLogo",
11639
+ "privacy": "private"
11640
+ },
11600
11641
  {
11601
11642
  "kind": "method",
11602
11643
  "name": "handleSearchExpanded"
@@ -11740,6 +11781,186 @@
11740
11781
  }
11741
11782
  ]
11742
11783
  },
11784
+ {
11785
+ "kind": "javascript-module",
11786
+ "path": "components/header-modern/header-modern.js",
11787
+ "declarations": [
11788
+ {
11789
+ "kind": "class",
11790
+ "description": "",
11791
+ "name": "DSAHeaderModern",
11792
+ "cssProperties": [
11793
+ {
11794
+ "description": "Custom value for the header content maximum width",
11795
+ "name": "--header-max-width"
11796
+ },
11797
+ {
11798
+ "description": "Custom value for the header inline padding",
11799
+ "name": "--header-padding-inline"
11800
+ }
11801
+ ],
11802
+ "slots": [
11803
+ {
11804
+ "description": "External links that will be displayed in the very top on desktop.",
11805
+ "name": "external-links"
11806
+ },
11807
+ {
11808
+ "description": "Optional second logo.",
11809
+ "name": "second-logo"
11810
+ },
11811
+ {
11812
+ "description": "Website / service name.",
11813
+ "name": "site-name"
11814
+ },
11815
+ {
11816
+ "description": "Search component (dsa-header-search).",
11817
+ "name": "search"
11818
+ },
11819
+ {
11820
+ "description": "Right section of the header, used for action buttons.",
11821
+ "name": ""
11822
+ },
11823
+ {
11824
+ "description": "Navigation bar.",
11825
+ "name": "navbar"
11826
+ }
11827
+ ],
11828
+ "members": [
11829
+ {
11830
+ "kind": "field",
11831
+ "name": "hasSlotController",
11832
+ "privacy": "private",
11833
+ "readonly": true,
11834
+ "default": "new HasSlotController( this, 'external-links', 'second-logo', 'site-name', 'search', 'navbar' )"
11835
+ },
11836
+ {
11837
+ "kind": "field",
11838
+ "name": "localize",
11839
+ "privacy": "private",
11840
+ "readonly": true,
11841
+ "default": "new LocalizeController(this)"
11842
+ },
11843
+ {
11844
+ "kind": "field",
11845
+ "name": "externalLinks",
11846
+ "type": {
11847
+ "text": "HTMLSlotElement"
11848
+ }
11849
+ },
11850
+ {
11851
+ "kind": "field",
11852
+ "name": "firstLogo",
11853
+ "type": {
11854
+ "text": "| 'public'\n | 'pro'"
11855
+ },
11856
+ "default": "'public'",
11857
+ "description": "Choice between public or pro for the first logo",
11858
+ "attribute": "first-logo",
11859
+ "reflects": true
11860
+ },
11861
+ {
11862
+ "kind": "field",
11863
+ "name": "searchExpanded",
11864
+ "type": {
11865
+ "text": "boolean"
11866
+ },
11867
+ "default": "false",
11868
+ "description": "Expands the search",
11869
+ "attribute": "search-expanded",
11870
+ "reflects": true
11871
+ },
11872
+ {
11873
+ "kind": "field",
11874
+ "name": "mobile",
11875
+ "type": {
11876
+ "text": "boolean"
11877
+ },
11878
+ "default": "false",
11879
+ "description": "Controls whether the header is rendered in its mobile version or in its desktop version",
11880
+ "attribute": "mobile"
11881
+ },
11882
+ {
11883
+ "kind": "method",
11884
+ "name": "handleSearchExpandEvent",
11885
+ "privacy": "private"
11886
+ },
11887
+ {
11888
+ "kind": "method",
11889
+ "name": "handleSearchCollapseEvent",
11890
+ "privacy": "private"
11891
+ },
11892
+ {
11893
+ "kind": "method",
11894
+ "name": "getFirtLogo",
11895
+ "privacy": "private"
11896
+ },
11897
+ {
11898
+ "kind": "method",
11899
+ "name": "handleSearchExpanded"
11900
+ },
11901
+ {
11902
+ "kind": "method",
11903
+ "name": "handleMobile"
11904
+ }
11905
+ ],
11906
+ "attributes": [
11907
+ {
11908
+ "name": "first-logo",
11909
+ "type": {
11910
+ "text": "| 'public'\n | 'pro'"
11911
+ },
11912
+ "default": "'public'",
11913
+ "description": "Choice between public or pro for the first logo",
11914
+ "fieldName": "firstLogo"
11915
+ },
11916
+ {
11917
+ "name": "search-expanded",
11918
+ "type": {
11919
+ "text": "boolean"
11920
+ },
11921
+ "default": "false",
11922
+ "description": "Expands the search",
11923
+ "fieldName": "searchExpanded"
11924
+ },
11925
+ {
11926
+ "name": "mobile",
11927
+ "type": {
11928
+ "text": "boolean"
11929
+ },
11930
+ "default": "false",
11931
+ "description": "Controls whether the header is rendered in its mobile version or in its desktop version",
11932
+ "fieldName": "mobile"
11933
+ }
11934
+ ],
11935
+ "superclass": {
11936
+ "name": "ShoelaceElement",
11937
+ "package": "@internal/shoelace-element"
11938
+ },
11939
+ "summary": "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.",
11940
+ "documentation": "https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/en-tete-header/en-tete-header/web-580agKvE",
11941
+ "tagName": "dsa-header-modern",
11942
+ "customElement": true
11943
+ }
11944
+ ],
11945
+ "exports": [
11946
+ {
11947
+ "kind": "js",
11948
+ "name": "default",
11949
+ "declaration": {
11950
+ "name": "DSAHeaderModern",
11951
+ "module": "components/header-modern/header-modern.js"
11952
+ }
11953
+ },
11954
+ {
11955
+ "kind": "custom-element-definition",
11956
+ "name": "dsa-header-modern",
11957
+ "declaration": {
11958
+ "name": "DSAHeaderModern",
11959
+ "module": "components/header-modern/header-modern.js"
11960
+ }
11961
+ }
11962
+ ]
11963
+ },
11743
11964
  {
11744
11965
  "kind": "javascript-module",
11745
11966
  "path": "components/header-search/header-search.js",
@@ -14548,12 +14769,49 @@
14548
14769
  },
14549
14770
  {
14550
14771
  "kind": "javascript-module",
14551
- "path": "components/input-otp/input-otp.js",
14772
+ "path": "components/input-phone/input-phone.configs.js",
14773
+ "declarations": [
14774
+ {
14775
+ "kind": "function",
14776
+ "name": "getPhoneConfig",
14777
+ "return": {
14778
+ "type": {
14779
+ "text": "DSAPhoneConfig"
14780
+ }
14781
+ },
14782
+ "parameters": [
14783
+ {
14784
+ "name": "phonePrefix",
14785
+ "type": {
14786
+ "text": "FrenchNumberPrefix"
14787
+ }
14788
+ }
14789
+ ],
14790
+ "description": "Get Input Phone configuration by phone prefix for French phone numbers including Dom-Toms",
14791
+ "type": {
14792
+ "text": "DSAPhoneConfig"
14793
+ }
14794
+ }
14795
+ ],
14796
+ "exports": [
14797
+ {
14798
+ "kind": "js",
14799
+ "name": "getPhoneConfig",
14800
+ "declaration": {
14801
+ "name": "getPhoneConfig",
14802
+ "module": "components/input-phone/input-phone.configs.js"
14803
+ }
14804
+ }
14805
+ ]
14806
+ },
14807
+ {
14808
+ "kind": "javascript-module",
14809
+ "path": "components/input-phone/input-phone.js",
14552
14810
  "declarations": [
14553
14811
  {
14554
14812
  "kind": "class",
14555
14813
  "description": "",
14556
- "name": "DSAInputOTP",
14814
+ "name": "DSAInputPhone",
14557
14815
  "slots": [
14558
14816
  {
14559
14817
  "description": "The input's label. Alternatively, you can use the `label` attribute.",
@@ -14571,77 +14829,163 @@
14571
14829
  "members": [
14572
14830
  {
14573
14831
  "kind": "field",
14574
- "name": "input",
14832
+ "name": "defaultChecked",
14575
14833
  "type": {
14576
- "text": "HTMLInputElement"
14834
+ "text": "boolean | undefined | undefined"
14577
14835
  }
14578
14836
  },
14579
14837
  {
14580
14838
  "kind": "field",
14581
- "name": "currentIndex",
14582
- "type": {
14583
- "text": "number"
14584
- },
14839
+ "name": "localize",
14585
14840
  "privacy": "private",
14586
- "default": "0"
14841
+ "readonly": true,
14842
+ "default": "new LocalizeController(this)"
14587
14843
  },
14588
14844
  {
14589
14845
  "kind": "field",
14590
- "name": "patternRegexp",
14846
+ "name": "input",
14591
14847
  "type": {
14592
- "text": "RegExp"
14848
+ "text": "HTMLInputElement"
14849
+ }
14850
+ },
14851
+ {
14852
+ "kind": "field",
14853
+ "name": "phonePrefixEl",
14854
+ "type": {
14855
+ "text": "DSASelect"
14856
+ }
14857
+ },
14858
+ {
14859
+ "kind": "field",
14860
+ "name": "maskedNumber",
14861
+ "type": {
14862
+ "text": "string"
14863
+ },
14864
+ "privacy": "private",
14865
+ "default": "''"
14866
+ },
14867
+ {
14868
+ "kind": "field",
14869
+ "name": "phoneConfig",
14870
+ "type": {
14871
+ "text": "DSAPhoneConfig"
14593
14872
  },
14594
14873
  "privacy": "private"
14595
14874
  },
14596
14875
  {
14597
14876
  "kind": "field",
14598
- "name": "length",
14877
+ "name": "placeholder",
14599
14878
  "type": {
14600
- "text": "number"
14879
+ "text": "string"
14601
14880
  },
14602
- "default": "6",
14603
- "description": "The length of input that will be considered valid.",
14604
- "attribute": "length"
14881
+ "description": "Placeholder text to show as a hint when the input is empty. It is also used as a template to mask the value. Alphanumeric values represent the inputed characters."
14882
+ },
14883
+ {
14884
+ "kind": "field",
14885
+ "name": "pattern",
14886
+ "type": {
14887
+ "text": "string"
14888
+ },
14889
+ "description": "A regular expression pattern to validate input against."
14890
+ },
14891
+ {
14892
+ "kind": "field",
14893
+ "name": "_isSyncing",
14894
+ "type": {
14895
+ "text": "boolean"
14896
+ },
14897
+ "privacy": "private",
14898
+ "default": "false"
14899
+ },
14900
+ {
14901
+ "kind": "field",
14902
+ "name": "value",
14903
+ "type": {
14904
+ "text": "string"
14905
+ },
14906
+ "default": "''",
14907
+ "description": "The current phone number value in the E.164 format, submitted as a name/value pair with form data.",
14908
+ "attribute": "value"
14909
+ },
14910
+ {
14911
+ "kind": "field",
14912
+ "name": "phonePrefix",
14913
+ "type": {
14914
+ "text": "FrenchNumberPrefix"
14915
+ },
14916
+ "default": "'+33'",
14917
+ "description": "The current value of the prefix select"
14918
+ },
14919
+ {
14920
+ "kind": "field",
14921
+ "name": "phoneNumber",
14922
+ "type": {
14923
+ "text": "string"
14924
+ },
14925
+ "default": "''",
14926
+ "description": "The current value of the phone number without its prefix"
14927
+ },
14928
+ {
14929
+ "kind": "field",
14930
+ "name": "inputPrefix",
14931
+ "type": {
14932
+ "text": "string"
14933
+ },
14934
+ "default": "''",
14935
+ "description": "Optional input prefix to help the user understand the first digit is not needed",
14936
+ "attribute": "input-prefix"
14937
+ },
14938
+ {
14939
+ "kind": "field",
14940
+ "name": "placement",
14941
+ "type": {
14942
+ "text": "'top-start' | 'bottom-start'"
14943
+ },
14944
+ "default": "'bottom-start'",
14945
+ "description": "The preferred placement of the select's menu. Note that the actual placement may vary as needed to keep the listbox\ninside of the viewport.",
14946
+ "attribute": "placement",
14947
+ "reflects": true
14948
+ },
14949
+ {
14950
+ "kind": "field",
14951
+ "name": "validity",
14952
+ "description": "Gets the validity state object",
14953
+ "readonly": true
14605
14954
  },
14606
14955
  {
14607
14956
  "kind": "method",
14608
- "name": "handleFocus",
14609
- "privacy": "protected"
14957
+ "name": "handleDocumentKeyUp",
14958
+ "privacy": "private"
14610
14959
  },
14611
14960
  {
14612
14961
  "kind": "method",
14613
- "name": "handleInput",
14614
- "privacy": "protected",
14962
+ "name": "handlePhonePrefixSelectChange",
14963
+ "privacy": "private",
14615
14964
  "parameters": [
14616
14965
  {
14617
14966
  "name": "event",
14618
14967
  "type": {
14619
- "text": "InputEvent"
14968
+ "text": "DSAChangeEvent"
14620
14969
  }
14621
14970
  }
14622
14971
  ]
14623
14972
  },
14624
14973
  {
14625
14974
  "kind": "method",
14626
- "name": "handleSelect",
14627
- "privacy": "private"
14628
- },
14629
- {
14630
- "kind": "method",
14631
- "name": "handleKeyDown",
14975
+ "name": "handleInputChange",
14632
14976
  "privacy": "protected",
14633
14977
  "parameters": [
14634
14978
  {
14635
14979
  "name": "event",
14636
14980
  "type": {
14637
- "text": "KeyboardEvent"
14981
+ "text": "Event"
14638
14982
  }
14639
14983
  }
14640
14984
  ]
14641
14985
  },
14642
14986
  {
14643
14987
  "kind": "method",
14644
- "name": "handleSingleFieldClick",
14988
+ "name": "handleClearIconClick",
14645
14989
  "privacy": "private",
14646
14990
  "parameters": [
14647
14991
  {
@@ -14654,39 +14998,56 @@
14654
14998
  },
14655
14999
  {
14656
15000
  "kind": "method",
14657
- "name": "getLastIndex",
15001
+ "name": "updateValue",
14658
15002
  "privacy": "private"
14659
15003
  },
14660
15004
  {
14661
15005
  "kind": "method",
14662
- "name": "handleCurrentIndexChange"
14663
- },
14664
- {
14665
- "kind": "method",
14666
- "name": "handlePatterChange"
14667
- },
14668
- {
14669
- "kind": "method",
14670
- "name": "getUpdateComplete",
14671
- "return": {
14672
- "type": {
14673
- "text": "Promise<boolean>"
14674
- }
14675
- }
15006
+ "name": "updatePhoneConfig",
15007
+ "privacy": "private"
14676
15008
  },
14677
15009
  {
14678
15010
  "kind": "method",
14679
- "name": "renderSingleField",
15011
+ "name": "setPhoneFromValue",
14680
15012
  "privacy": "private",
14681
15013
  "parameters": [
14682
15014
  {
14683
- "name": "index",
15015
+ "name": "value",
14684
15016
  "type": {
14685
- "text": "number"
15017
+ "text": "string"
14686
15018
  }
14687
15019
  }
14688
15020
  ]
14689
15021
  },
15022
+ {
15023
+ "kind": "method",
15024
+ "name": "getDescriptionIds",
15025
+ "privacy": "protected"
15026
+ },
15027
+ {
15028
+ "kind": "method",
15029
+ "name": "handleDisabledChange"
15030
+ },
15031
+ {
15032
+ "kind": "method",
15033
+ "name": "handleValueChange"
15034
+ },
15035
+ {
15036
+ "kind": "method",
15037
+ "name": "handlePhonePrefixChange"
15038
+ },
15039
+ {
15040
+ "kind": "method",
15041
+ "name": "handlePhoneNumberChange"
15042
+ },
15043
+ {
15044
+ "kind": "method",
15045
+ "name": "checkValidity"
15046
+ },
15047
+ {
15048
+ "kind": "method",
15049
+ "name": "reportValidity"
15050
+ },
14690
15051
  {
14691
15052
  "kind": "method",
14692
15053
  "name": "renderInput"
@@ -14701,6 +15062,10 @@
14701
15062
  "description": "Emitted when an alteration to the control's value is committed by the user.",
14702
15063
  "name": "dsa-change"
14703
15064
  },
15065
+ {
15066
+ "description": "Emitted when the clear button is activated.",
15067
+ "name": "dsa-clear"
15068
+ },
14704
15069
  {
14705
15070
  "description": "Emitted when the control gains focus.",
14706
15071
  "name": "dsa-focus"
@@ -14716,25 +15081,47 @@
14716
15081
  ],
14717
15082
  "attributes": [
14718
15083
  {
14719
- "name": "length",
15084
+ "name": "value",
14720
15085
  "type": {
14721
- "text": "number"
15086
+ "text": "string"
14722
15087
  },
14723
- "default": "6",
14724
- "description": "The length of input that will be considered valid.",
14725
- "fieldName": "length"
15088
+ "default": "''",
15089
+ "description": "The current phone number value in the E.164 format, submitted as a name/value pair with form data.",
15090
+ "fieldName": "value"
15091
+ },
15092
+ {
15093
+ "name": "input-prefix",
15094
+ "type": {
15095
+ "text": "string"
15096
+ },
15097
+ "default": "''",
15098
+ "description": "Optional input prefix to help the user understand the first digit is not needed",
15099
+ "fieldName": "inputPrefix"
15100
+ },
15101
+ {
15102
+ "name": "placement",
15103
+ "type": {
15104
+ "text": "'top-start' | 'bottom-start'"
15105
+ },
15106
+ "default": "'bottom-start'",
15107
+ "description": "The preferred placement of the select's menu. Note that the actual placement may vary as needed to keep the listbox\ninside of the viewport.",
15108
+ "fieldName": "placement"
14726
15109
  }
14727
15110
  ],
14728
15111
  "superclass": {
14729
15112
  "name": "InputBase",
14730
15113
  "package": "@internal/components/input-base/input-base"
14731
15114
  },
14732
- "summary": "The OTP input is used for MFA procedure of authenticating users by a one-time password.",
14733
- "documentation": "https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/input-champ-de-saisie/input-otp-code-mfa/web-p6oWJZn2",
15115
+ "summary": "Inputs collect data from the user.",
15116
+ "documentation": "https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/champs-de-saisie/input-phone/web-LwXd33D5",
14734
15117
  "dependencies": [
15118
+ "dsa-icon",
15119
+ "dsa-icon-button",
15120
+ "dsa-option",
15121
+ "dsa-select",
14735
15122
  "dsa-error-text"
14736
15123
  ],
14737
- "tagName": "dsa-input-otp",
15124
+ "tagName": "dsa-input-phone",
14738
15125
  "customElement": true
14739
15126
  }
14740
15127
  ],
@@ -14743,121 +15130,68 @@
14743
15130
  "kind": "js",
14744
15131
  "name": "default",
14745
15132
  "declaration": {
14746
- "name": "DSAInputOTP",
14747
- "module": "components/input-otp/input-otp.js"
15133
+ "name": "DSAInputPhone",
15134
+ "module": "components/input-phone/input-phone.js"
14748
15135
  }
14749
15136
  },
14750
15137
  {
14751
15138
  "kind": "custom-element-definition",
14752
- "name": "dsa-input-otp",
15139
+ "name": "dsa-input-phone",
14753
15140
  "declaration": {
14754
- "name": "DSAInputOTP",
14755
- "module": "components/input-otp/input-otp.js"
15141
+ "name": "DSAInputPhone",
15142
+ "module": "components/input-phone/input-phone.js"
14756
15143
  }
14757
15144
  }
14758
15145
  ]
14759
15146
  },
14760
15147
  {
14761
15148
  "kind": "javascript-module",
14762
- "path": "components/input-otp/input-otp.utils.js",
15149
+ "path": "components/input-phone/input-phone.utils.js",
14763
15150
  "declarations": [
14764
15151
  {
14765
15152
  "kind": "variable",
14766
- "name": "REGEXP_ONLY_DIGITS",
14767
- "type": {
14768
- "text": "string"
14769
- },
14770
- "default": "'^\\\\d*$'"
14771
- },
14772
- {
14773
- "kind": "variable",
14774
- "name": "REGEXP_ONLY_LETTERS",
15153
+ "name": "frenchNumberPrefix",
14775
15154
  "type": {
14776
- "text": "string"
15155
+ "text": "[\n '+33',\n '+262',\n '+508',\n '+590',\n '+594',\n '+596',\n '+681',\n '+687',\n '+689',\n]"
14777
15156
  },
14778
- "default": "'^[a-zA-Z]*$'"
15157
+ "default": "[ '+33', '+262', '+508', '+590', '+594', '+596', '+681', '+687', '+689', ]"
14779
15158
  },
14780
15159
  {
14781
15160
  "kind": "variable",
14782
- "name": "REGEXP_ONLY_DIGITS_AND_LETTERS",
15161
+ "name": "phonePrefixOptions",
14783
15162
  "type": {
14784
- "text": "string"
15163
+ "text": "PhonePrefixOption[]"
14785
15164
  },
14786
- "default": "'^[a-zA-Z0-9]*$'"
15165
+ "default": "[ { value: '+33', label: 'fr_FR' }, { value: '+590', label: 'fr_GP' }, { value: '+594', label: 'fr_GF' }, { value: '+596', label: 'fr_MQ' }, { value: '+687', label: 'fr_NC' }, { value: '+689', label: 'fr_PF' }, { value: '+508', label: 'fr_PM' }, { value: '+262', label: 'fr_RE' }, { value: '+681', label: 'fr_WF' }, ]"
14787
15166
  }
14788
15167
  ],
14789
15168
  "exports": [
14790
15169
  {
14791
15170
  "kind": "js",
14792
- "name": "REGEXP_ONLY_DIGITS",
14793
- "declaration": {
14794
- "name": "REGEXP_ONLY_DIGITS",
14795
- "module": "components/input-otp/input-otp.utils.js"
14796
- }
14797
- },
14798
- {
14799
- "kind": "js",
14800
- "name": "REGEXP_ONLY_LETTERS",
15171
+ "name": "frenchNumberPrefix",
14801
15172
  "declaration": {
14802
- "name": "REGEXP_ONLY_LETTERS",
14803
- "module": "components/input-otp/input-otp.utils.js"
15173
+ "name": "frenchNumberPrefix",
15174
+ "module": "components/input-phone/input-phone.utils.js"
14804
15175
  }
14805
15176
  },
14806
15177
  {
14807
15178
  "kind": "js",
14808
- "name": "REGEXP_ONLY_DIGITS_AND_LETTERS",
14809
- "declaration": {
14810
- "name": "REGEXP_ONLY_DIGITS_AND_LETTERS",
14811
- "module": "components/input-otp/input-otp.utils.js"
14812
- }
14813
- }
14814
- ]
14815
- },
14816
- {
14817
- "kind": "javascript-module",
14818
- "path": "components/input-phone/input-phone.configs.js",
14819
- "declarations": [
14820
- {
14821
- "kind": "function",
14822
- "name": "getPhoneConfig",
14823
- "return": {
14824
- "type": {
14825
- "text": "DSAPhoneConfig"
14826
- }
14827
- },
14828
- "parameters": [
14829
- {
14830
- "name": "phonePrefix",
14831
- "type": {
14832
- "text": "FrenchNumberPrefix"
14833
- }
14834
- }
14835
- ],
14836
- "description": "Get Input Phone configuration by phone prefix for French phone numbers including Dom-Toms",
14837
- "type": {
14838
- "text": "DSAPhoneConfig"
14839
- }
14840
- }
14841
- ],
14842
- "exports": [
14843
- {
14844
- "kind": "js",
14845
- "name": "getPhoneConfig",
15179
+ "name": "phonePrefixOptions",
14846
15180
  "declaration": {
14847
- "name": "getPhoneConfig",
14848
- "module": "components/input-phone/input-phone.configs.js"
15181
+ "name": "phonePrefixOptions",
15182
+ "module": "components/input-phone/input-phone.utils.js"
14849
15183
  }
14850
15184
  }
14851
15185
  ]
14852
15186
  },
14853
15187
  {
14854
15188
  "kind": "javascript-module",
14855
- "path": "components/input-phone/input-phone.js",
15189
+ "path": "components/input-otp/input-otp.js",
14856
15190
  "declarations": [
14857
15191
  {
14858
15192
  "kind": "class",
14859
15193
  "description": "",
14860
- "name": "DSAInputPhone",
15194
+ "name": "DSAInputOTP",
14861
15195
  "slots": [
14862
15196
  {
14863
15197
  "description": "The input's label. Alternatively, you can use the `label` attribute.",
@@ -14873,165 +15207,79 @@
14873
15207
  }
14874
15208
  ],
14875
15209
  "members": [
14876
- {
14877
- "kind": "field",
14878
- "name": "defaultChecked",
14879
- "type": {
14880
- "text": "boolean | undefined | undefined"
14881
- }
14882
- },
14883
- {
14884
- "kind": "field",
14885
- "name": "localize",
14886
- "privacy": "private",
14887
- "readonly": true,
14888
- "default": "new LocalizeController(this)"
14889
- },
14890
15210
  {
14891
15211
  "kind": "field",
14892
15212
  "name": "input",
14893
- "type": {
14894
- "text": "HTMLInputElement"
14895
- }
14896
- },
14897
- {
14898
- "kind": "field",
14899
- "name": "phonePrefixEl",
14900
- "type": {
14901
- "text": "DSASelect"
14902
- }
14903
- },
14904
- {
14905
- "kind": "field",
14906
- "name": "maskedNumber",
14907
- "type": {
14908
- "text": "string"
14909
- },
14910
- "privacy": "private",
14911
- "default": "''"
14912
- },
14913
- {
14914
- "kind": "field",
14915
- "name": "phoneConfig",
14916
- "type": {
14917
- "text": "DSAPhoneConfig"
14918
- },
14919
- "privacy": "private"
14920
- },
14921
- {
14922
- "kind": "field",
14923
- "name": "placeholder",
14924
- "type": {
14925
- "text": "string"
14926
- },
14927
- "description": "Placeholder text to show as a hint when the input is empty. It is also used as a template to mask the value. Alphanumeric values represent the inputed characters."
14928
- },
14929
- {
14930
- "kind": "field",
14931
- "name": "pattern",
14932
- "type": {
14933
- "text": "string"
14934
- },
14935
- "description": "A regular expression pattern to validate input against."
14936
- },
14937
- {
14938
- "kind": "field",
14939
- "name": "_isSyncing",
14940
- "type": {
14941
- "text": "boolean"
14942
- },
14943
- "privacy": "private",
14944
- "default": "false"
14945
- },
14946
- {
14947
- "kind": "field",
14948
- "name": "value",
14949
- "type": {
14950
- "text": "string"
14951
- },
14952
- "default": "''",
14953
- "description": "The current phone number value in the E.164 format, submitted as a name/value pair with form data.",
14954
- "attribute": "value"
14955
- },
14956
- {
14957
- "kind": "field",
14958
- "name": "phonePrefix",
14959
- "type": {
14960
- "text": "FrenchNumberPrefix"
14961
- },
14962
- "default": "'+33'",
14963
- "description": "The current value of the prefix select"
14964
- },
14965
- {
14966
- "kind": "field",
14967
- "name": "phoneNumber",
14968
- "type": {
14969
- "text": "string"
14970
- },
14971
- "default": "''",
14972
- "description": "The current value of the phone number without its prefix"
15213
+ "type": {
15214
+ "text": "HTMLInputElement"
15215
+ }
14973
15216
  },
14974
15217
  {
14975
15218
  "kind": "field",
14976
- "name": "inputPrefix",
15219
+ "name": "currentIndex",
14977
15220
  "type": {
14978
- "text": "string"
15221
+ "text": "number"
14979
15222
  },
14980
- "default": "''",
14981
- "description": "Optional input prefix to help the user understand the first digit is not needed",
14982
- "attribute": "input-prefix"
15223
+ "privacy": "private",
15224
+ "default": "0"
14983
15225
  },
14984
15226
  {
14985
15227
  "kind": "field",
14986
- "name": "placement",
15228
+ "name": "patternRegexp",
14987
15229
  "type": {
14988
- "text": "'top-start' | 'bottom-start'"
15230
+ "text": "RegExp"
14989
15231
  },
14990
- "default": "'bottom-start'",
14991
- "description": "The preferred placement of the select's menu. Note that the actual placement may vary as needed to keep the listbox\ninside of the viewport.",
14992
- "attribute": "placement",
14993
- "reflects": true
15232
+ "privacy": "private"
14994
15233
  },
14995
15234
  {
14996
15235
  "kind": "field",
14997
- "name": "validity",
14998
- "description": "Gets the validity state object",
14999
- "readonly": true
15236
+ "name": "length",
15237
+ "type": {
15238
+ "text": "number"
15239
+ },
15240
+ "default": "6",
15241
+ "description": "The length of input that will be considered valid.",
15242
+ "attribute": "length"
15000
15243
  },
15001
15244
  {
15002
15245
  "kind": "method",
15003
- "name": "handleDocumentKeyUp",
15004
- "privacy": "private"
15246
+ "name": "handleFocus",
15247
+ "privacy": "protected"
15005
15248
  },
15006
15249
  {
15007
15250
  "kind": "method",
15008
- "name": "handlePhonePrefixSelectChange",
15009
- "privacy": "private",
15251
+ "name": "handleInput",
15252
+ "privacy": "protected",
15010
15253
  "parameters": [
15011
15254
  {
15012
15255
  "name": "event",
15013
15256
  "type": {
15014
- "text": "DSAChangeEvent"
15257
+ "text": "InputEvent"
15015
15258
  }
15016
15259
  }
15017
15260
  ]
15018
15261
  },
15019
15262
  {
15020
15263
  "kind": "method",
15021
- "name": "handleInputChange",
15264
+ "name": "handleSelect",
15265
+ "privacy": "private"
15266
+ },
15267
+ {
15268
+ "kind": "method",
15269
+ "name": "handleKeyDown",
15022
15270
  "privacy": "protected",
15023
15271
  "parameters": [
15024
15272
  {
15025
15273
  "name": "event",
15026
15274
  "type": {
15027
- "text": "Event"
15275
+ "text": "KeyboardEvent"
15028
15276
  }
15029
15277
  }
15030
15278
  ]
15031
15279
  },
15032
15280
  {
15033
15281
  "kind": "method",
15034
- "name": "handleClearIconClick",
15282
+ "name": "handleSingleFieldClick",
15035
15283
  "privacy": "private",
15036
15284
  "parameters": [
15037
15285
  {
@@ -15044,56 +15292,39 @@
15044
15292
  },
15045
15293
  {
15046
15294
  "kind": "method",
15047
- "name": "updateValue",
15295
+ "name": "getLastIndex",
15048
15296
  "privacy": "private"
15049
15297
  },
15050
15298
  {
15051
15299
  "kind": "method",
15052
- "name": "updatePhoneConfig",
15053
- "privacy": "private"
15300
+ "name": "handleCurrentIndexChange"
15054
15301
  },
15055
15302
  {
15056
15303
  "kind": "method",
15057
- "name": "setPhoneFromValue",
15304
+ "name": "handlePatterChange"
15305
+ },
15306
+ {
15307
+ "kind": "method",
15308
+ "name": "getUpdateComplete",
15309
+ "return": {
15310
+ "type": {
15311
+ "text": "Promise<boolean>"
15312
+ }
15313
+ }
15314
+ },
15315
+ {
15316
+ "kind": "method",
15317
+ "name": "renderSingleField",
15058
15318
  "privacy": "private",
15059
15319
  "parameters": [
15060
15320
  {
15061
- "name": "value",
15321
+ "name": "index",
15062
15322
  "type": {
15063
- "text": "string"
15323
+ "text": "number"
15064
15324
  }
15065
15325
  }
15066
15326
  ]
15067
15327
  },
15068
- {
15069
- "kind": "method",
15070
- "name": "getDescriptionIds",
15071
- "privacy": "protected"
15072
- },
15073
- {
15074
- "kind": "method",
15075
- "name": "handleDisabledChange"
15076
- },
15077
- {
15078
- "kind": "method",
15079
- "name": "handleValueChange"
15080
- },
15081
- {
15082
- "kind": "method",
15083
- "name": "handlePhonePrefixChange"
15084
- },
15085
- {
15086
- "kind": "method",
15087
- "name": "handlePhoneNumberChange"
15088
- },
15089
- {
15090
- "kind": "method",
15091
- "name": "checkValidity"
15092
- },
15093
- {
15094
- "kind": "method",
15095
- "name": "reportValidity"
15096
- },
15097
15328
  {
15098
15329
  "kind": "method",
15099
15330
  "name": "renderInput"
@@ -15108,10 +15339,6 @@
15108
15339
  "description": "Emitted when an alteration to the control's value is committed by the user.",
15109
15340
  "name": "dsa-change"
15110
15341
  },
15111
- {
15112
- "description": "Emitted when the clear button is activated.",
15113
- "name": "dsa-clear"
15114
- },
15115
15342
  {
15116
15343
  "description": "Emitted when the control gains focus.",
15117
15344
  "name": "dsa-focus"
@@ -15127,47 +15354,25 @@
15127
15354
  ],
15128
15355
  "attributes": [
15129
15356
  {
15130
- "name": "value",
15131
- "type": {
15132
- "text": "string"
15133
- },
15134
- "default": "''",
15135
- "description": "The current phone number value in the E.164 format, submitted as a name/value pair with form data.",
15136
- "fieldName": "value"
15137
- },
15138
- {
15139
- "name": "input-prefix",
15140
- "type": {
15141
- "text": "string"
15142
- },
15143
- "default": "''",
15144
- "description": "Optional input prefix to help the user understand the first digit is not needed",
15145
- "fieldName": "inputPrefix"
15146
- },
15147
- {
15148
- "name": "placement",
15357
+ "name": "length",
15149
15358
  "type": {
15150
- "text": "'top-start' | 'bottom-start'"
15359
+ "text": "number"
15151
15360
  },
15152
- "default": "'bottom-start'",
15153
- "description": "The preferred placement of the select's menu. Note that the actual placement may vary as needed to keep the listbox\ninside of the viewport.",
15154
- "fieldName": "placement"
15361
+ "default": "6",
15362
+ "description": "The length of input that will be considered valid.",
15363
+ "fieldName": "length"
15155
15364
  }
15156
15365
  ],
15157
15366
  "superclass": {
15158
15367
  "name": "InputBase",
15159
15368
  "package": "@internal/components/input-base/input-base"
15160
15369
  },
15161
- "summary": "Inputs collect data from the user.",
15162
- "documentation": "https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/champs-de-saisie/input-phone/web-LwXd33D5",
15370
+ "summary": "The OTP input is used for MFA procedure of authenticating users by a one-time password.",
15371
+ "documentation": "https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/input-champ-de-saisie/input-otp-code-mfa/web-p6oWJZn2",
15163
15372
  "dependencies": [
15164
- "dsa-icon",
15165
- "dsa-icon-button",
15166
- "dsa-option",
15167
- "dsa-select",
15168
15373
  "dsa-error-text"
15169
15374
  ],
15170
- "tagName": "dsa-input-phone",
15375
+ "tagName": "dsa-input-otp",
15171
15376
  "customElement": true
15172
15377
  }
15173
15378
  ],
@@ -15176,56 +15381,72 @@
15176
15381
  "kind": "js",
15177
15382
  "name": "default",
15178
15383
  "declaration": {
15179
- "name": "DSAInputPhone",
15180
- "module": "components/input-phone/input-phone.js"
15384
+ "name": "DSAInputOTP",
15385
+ "module": "components/input-otp/input-otp.js"
15181
15386
  }
15182
15387
  },
15183
15388
  {
15184
15389
  "kind": "custom-element-definition",
15185
- "name": "dsa-input-phone",
15390
+ "name": "dsa-input-otp",
15186
15391
  "declaration": {
15187
- "name": "DSAInputPhone",
15188
- "module": "components/input-phone/input-phone.js"
15392
+ "name": "DSAInputOTP",
15393
+ "module": "components/input-otp/input-otp.js"
15189
15394
  }
15190
15395
  }
15191
15396
  ]
15192
15397
  },
15193
15398
  {
15194
15399
  "kind": "javascript-module",
15195
- "path": "components/input-phone/input-phone.utils.js",
15400
+ "path": "components/input-otp/input-otp.utils.js",
15196
15401
  "declarations": [
15197
15402
  {
15198
15403
  "kind": "variable",
15199
- "name": "frenchNumberPrefix",
15404
+ "name": "REGEXP_ONLY_DIGITS",
15200
15405
  "type": {
15201
- "text": "[\n '+33',\n '+262',\n '+508',\n '+590',\n '+594',\n '+596',\n '+681',\n '+687',\n '+689',\n]"
15406
+ "text": "string"
15202
15407
  },
15203
- "default": "[ '+33', '+262', '+508', '+590', '+594', '+596', '+681', '+687', '+689', ]"
15408
+ "default": "'^\\\\d*$'"
15204
15409
  },
15205
15410
  {
15206
15411
  "kind": "variable",
15207
- "name": "phonePrefixOptions",
15412
+ "name": "REGEXP_ONLY_LETTERS",
15208
15413
  "type": {
15209
- "text": "PhonePrefixOption[]"
15414
+ "text": "string"
15210
15415
  },
15211
- "default": "[ { value: '+33', label: 'fr_FR' }, { value: '+590', label: 'fr_GP' }, { value: '+594', label: 'fr_GF' }, { value: '+596', label: 'fr_MQ' }, { value: '+687', label: 'fr_NC' }, { value: '+689', label: 'fr_PF' }, { value: '+508', label: 'fr_PM' }, { value: '+262', label: 'fr_RE' }, { value: '+681', label: 'fr_WF' }, ]"
15416
+ "default": "'^[a-zA-Z]*$'"
15417
+ },
15418
+ {
15419
+ "kind": "variable",
15420
+ "name": "REGEXP_ONLY_DIGITS_AND_LETTERS",
15421
+ "type": {
15422
+ "text": "string"
15423
+ },
15424
+ "default": "'^[a-zA-Z0-9]*$'"
15212
15425
  }
15213
15426
  ],
15214
15427
  "exports": [
15215
15428
  {
15216
15429
  "kind": "js",
15217
- "name": "frenchNumberPrefix",
15430
+ "name": "REGEXP_ONLY_DIGITS",
15218
15431
  "declaration": {
15219
- "name": "frenchNumberPrefix",
15220
- "module": "components/input-phone/input-phone.utils.js"
15432
+ "name": "REGEXP_ONLY_DIGITS",
15433
+ "module": "components/input-otp/input-otp.utils.js"
15221
15434
  }
15222
15435
  },
15223
15436
  {
15224
15437
  "kind": "js",
15225
- "name": "phonePrefixOptions",
15438
+ "name": "REGEXP_ONLY_LETTERS",
15226
15439
  "declaration": {
15227
- "name": "phonePrefixOptions",
15228
- "module": "components/input-phone/input-phone.utils.js"
15440
+ "name": "REGEXP_ONLY_LETTERS",
15441
+ "module": "components/input-otp/input-otp.utils.js"
15442
+ }
15443
+ },
15444
+ {
15445
+ "kind": "js",
15446
+ "name": "REGEXP_ONLY_DIGITS_AND_LETTERS",
15447
+ "declaration": {
15448
+ "name": "REGEXP_ONLY_DIGITS_AND_LETTERS",
15449
+ "module": "components/input-otp/input-otp.utils.js"
15229
15450
  }
15230
15451
  }
15231
15452
  ]
@@ -21335,7 +21556,7 @@
21335
21556
  "kind": "field",
21336
21557
  "name": "currentOption",
21337
21558
  "type": {
21338
- "text": "DSAOption"
21559
+ "text": "DSAOption | undefined"
21339
21560
  }
21340
21561
  },
21341
21562
  {
@@ -21624,11 +21845,6 @@
21624
21845
  "name": "getAllOptions",
21625
21846
  "privacy": "private"
21626
21847
  },
21627
- {
21628
- "kind": "method",
21629
- "name": "getFirstOption",
21630
- "privacy": "private"
21631
- },
21632
21848
  {
21633
21849
  "kind": "method",
21634
21850
  "name": "setCurrentOption",
@@ -21637,7 +21853,7 @@
21637
21853
  {
21638
21854
  "name": "option",
21639
21855
  "type": {
21640
- "text": "DSAOption | null"
21856
+ "text": "DSAOption | undefined"
21641
21857
  }
21642
21858
  }
21643
21859
  ]
@@ -27313,6 +27529,20 @@
27313
27529
  "privacy": "private",
27314
27530
  "default": "'small'"
27315
27531
  },
27532
+ {
27533
+ "kind": "field",
27534
+ "name": "content",
27535
+ "type": {
27536
+ "text": "HTMLElement"
27537
+ }
27538
+ },
27539
+ {
27540
+ "kind": "field",
27541
+ "name": "removeButton",
27542
+ "type": {
27543
+ "text": "HTMLElement"
27544
+ }
27545
+ },
27316
27546
  {
27317
27547
  "kind": "field",
27318
27548
  "name": "variant",
@@ -27354,6 +27584,26 @@
27354
27584
  "default": "''",
27355
27585
  "attribute": "label"
27356
27586
  },
27587
+ {
27588
+ "kind": "field",
27589
+ "name": "accessibleName",
27590
+ "type": {
27591
+ "text": "string"
27592
+ },
27593
+ "default": "''",
27594
+ "description": "(Optional) An accessible name for the tag",
27595
+ "attribute": "accessible-name"
27596
+ },
27597
+ {
27598
+ "kind": "field",
27599
+ "name": "tooltip",
27600
+ "type": {
27601
+ "text": "boolean"
27602
+ },
27603
+ "default": "false",
27604
+ "description": "Display the tag label in a tooltip",
27605
+ "attribute": "tooltip"
27606
+ },
27357
27607
  {
27358
27608
  "kind": "method",
27359
27609
  "name": "handleRemoveClick",
@@ -27405,6 +27655,24 @@
27405
27655
  },
27406
27656
  "default": "''",
27407
27657
  "fieldName": "label"
27658
+ },
27659
+ {
27660
+ "name": "accessible-name",
27661
+ "type": {
27662
+ "text": "string"
27663
+ },
27664
+ "default": "''",
27665
+ "description": "(Optional) An accessible name for the tag",
27666
+ "fieldName": "accessibleName"
27667
+ },
27668
+ {
27669
+ "name": "tooltip",
27670
+ "type": {
27671
+ "text": "boolean"
27672
+ },
27673
+ "default": "false",
27674
+ "description": "Display the tag label in a tooltip",
27675
+ "fieldName": "tooltip"
27408
27676
  }
27409
27677
  ],
27410
27678
  "superclass": {
@@ -27414,7 +27682,9 @@
27414
27682
  "summary": "Tags are used as labels to organize things or to indicate a selection.",
27415
27683
  "documentation": "https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/tag-tag/web-ztnWI4xr",
27416
27684
  "dependencies": [
27417
- "dsa-icon-button"
27685
+ "dsa-icon-button",
27686
+ "dsa-tooltip",
27687
+ "dsa-visually-hidden"
27418
27688
  ],
27419
27689
  "tagName": "dsa-tag",
27420
27690
  "customElement": true
@@ -29263,7 +29533,7 @@
29263
29533
  ],
29264
29534
  "package": {
29265
29535
  "name": "@ds-autonomie/web-components",
29266
- "version": "2.13.0",
29536
+ "version": "2.14.0",
29267
29537
  "author": "CNSA",
29268
29538
  "homepage": "https://dsa.service-public-autonomie.fr",
29269
29539
  "license": "MIT"