@ds-autonomie/web-components 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (500) hide show
  1. package/CHANGELOG.md +318 -0
  2. package/LICENSE +8 -0
  3. package/README.md +3 -0
  4. package/dist/chunks/chunk.23TOS4ZE.js +29 -0
  5. package/dist/chunks/chunk.2FK6USFR.js +63 -0
  6. package/dist/chunks/chunk.2HUORR44.js +76 -0
  7. package/dist/chunks/chunk.3BL7JA77.js +59 -0
  8. package/dist/chunks/chunk.3RBCYA4F.js +147 -0
  9. package/dist/chunks/chunk.3XRQRY25.js +25 -0
  10. package/dist/chunks/chunk.42W4S2HN.js +145 -0
  11. package/dist/chunks/chunk.4A3WMGMZ.js +79 -0
  12. package/dist/chunks/chunk.4A57I2HX.js +241 -0
  13. package/dist/chunks/chunk.4XT2OJD2.js +75 -0
  14. package/dist/chunks/chunk.5LT3B7MI.js +372 -0
  15. package/dist/chunks/chunk.5WAZTHII.js +37 -0
  16. package/dist/chunks/chunk.5XL2LZLC.js +100 -0
  17. package/dist/chunks/chunk.5XUV3SRW.js +420 -0
  18. package/dist/chunks/chunk.6FAUBLR3.js +84 -0
  19. package/dist/chunks/chunk.6M63UXML.js +35 -0
  20. package/dist/chunks/chunk.6PS5KB3O.js +53 -0
  21. package/dist/chunks/chunk.6ZQ4OQ2C.js +51 -0
  22. package/dist/chunks/chunk.73T7TU6S.js +24 -0
  23. package/dist/chunks/chunk.7J7CS3BK.js +43 -0
  24. package/dist/chunks/chunk.7NWAYDYI.js +168 -0
  25. package/dist/chunks/chunk.7ZCCXTFG.js +301 -0
  26. package/dist/chunks/chunk.A2PAK6VF.js +206 -0
  27. package/dist/chunks/chunk.ABGBXXKA.js +164 -0
  28. package/dist/chunks/chunk.AQRNB4GJ.js +33 -0
  29. package/dist/chunks/chunk.AR5HJD7F.js +111 -0
  30. package/dist/chunks/chunk.B4BZKR24.js +16 -0
  31. package/dist/chunks/chunk.BD63GRU5.js +132 -0
  32. package/dist/chunks/chunk.BEB47LM2.js +278 -0
  33. package/dist/chunks/chunk.BLPP3Q5H.js +555 -0
  34. package/dist/chunks/chunk.CJIL3BLA.js +45 -0
  35. package/dist/chunks/chunk.CPXD6UYZ.js +34 -0
  36. package/dist/chunks/chunk.D7CATJYB.js +36 -0
  37. package/dist/chunks/chunk.DC6CT5PU.js +109 -0
  38. package/dist/chunks/chunk.DRGGQ4WL.js +9 -0
  39. package/dist/chunks/chunk.DSGUQNN4.js +26 -0
  40. package/dist/chunks/chunk.DURVPB6M.js +391 -0
  41. package/dist/chunks/chunk.DXVNWE2M.js +166 -0
  42. package/dist/chunks/chunk.EFQHAGXP.js +26 -0
  43. package/dist/chunks/chunk.EHVJT7BH.js +215 -0
  44. package/dist/chunks/chunk.EKWYMXQO.js +166 -0
  45. package/dist/chunks/chunk.EMIT7S33.js +71 -0
  46. package/dist/chunks/chunk.EMJZLQCL.js +60 -0
  47. package/dist/chunks/chunk.ENKP2IFW.js +361 -0
  48. package/dist/chunks/chunk.EU56EW33.js +91 -0
  49. package/dist/chunks/chunk.EYZGEU3G.js +45 -0
  50. package/dist/chunks/chunk.FDYFSRSX.js +33 -0
  51. package/dist/chunks/chunk.FIGO7UV2.js +77 -0
  52. package/dist/chunks/chunk.G7AELPSO.js +131 -0
  53. package/dist/chunks/chunk.GI7VDIWX.js +24 -0
  54. package/dist/chunks/chunk.GYTA2LJC.js +145 -0
  55. package/dist/chunks/chunk.HAL7R4WT.js +0 -0
  56. package/dist/chunks/chunk.HC5BO5YV.js +405 -0
  57. package/dist/chunks/chunk.HH63FIEF.js +122 -0
  58. package/dist/chunks/chunk.HLYGKGDG.js +308 -0
  59. package/dist/chunks/chunk.I33L3NO6.js +122 -0
  60. package/dist/chunks/chunk.IGYXUK7A.js +19 -0
  61. package/dist/chunks/chunk.INCGVIAQ.js +61 -0
  62. package/dist/chunks/chunk.IOFPPNUO.js +25 -0
  63. package/dist/chunks/chunk.IRQOFNJE.js +317 -0
  64. package/dist/chunks/chunk.ISAFRNR2.js +112 -0
  65. package/dist/chunks/chunk.J2XNYTTZ.js +715 -0
  66. package/dist/chunks/chunk.JETXIC4F.js +150 -0
  67. package/dist/chunks/chunk.JT7UJED5.js +33 -0
  68. package/dist/chunks/chunk.K6WCEYZI.js +52 -0
  69. package/dist/chunks/chunk.KBT2EKLF.js +25 -0
  70. package/dist/chunks/chunk.KDAK2GXX.js +58 -0
  71. package/dist/chunks/chunk.KHIMMW3T.js +33 -0
  72. package/dist/chunks/chunk.KIFBWPW5.js +298 -0
  73. package/dist/chunks/chunk.KOH5V4C6.js +552 -0
  74. package/dist/chunks/chunk.LC54322H.js +99 -0
  75. package/dist/chunks/chunk.LMJPQPQT.js +26 -0
  76. package/dist/chunks/chunk.LT7JMZ3T.js +371 -0
  77. package/dist/chunks/chunk.M245ZGRR.js +80 -0
  78. package/dist/chunks/chunk.MOWTZFON.js +63 -0
  79. package/dist/chunks/chunk.MY434P47.js +125 -0
  80. package/dist/chunks/chunk.N6VVY6XD.js +91 -0
  81. package/dist/chunks/chunk.NDEZEB3Z.js +402 -0
  82. package/dist/chunks/chunk.NHRDZGLI.js +81 -0
  83. package/dist/chunks/chunk.NKKVGICB.js +114 -0
  84. package/dist/chunks/chunk.NNBOLKWI.js +17 -0
  85. package/dist/chunks/chunk.O73OYTYJ.js +319 -0
  86. package/dist/chunks/chunk.OBU65KDL.js +29 -0
  87. package/dist/chunks/chunk.ODSCDJDO.js +91 -0
  88. package/dist/chunks/chunk.OVK7QCA7.js +441 -0
  89. package/dist/chunks/chunk.PQWQ42E2.js +150 -0
  90. package/dist/chunks/chunk.PULHNCDM.js +98 -0
  91. package/dist/chunks/chunk.PWWER3ZK.js +806 -0
  92. package/dist/chunks/chunk.QFJA3MTV.js +66 -0
  93. package/dist/chunks/chunk.QKNNLZ2M.js +361 -0
  94. package/dist/chunks/chunk.QL5C2XOW.js +0 -0
  95. package/dist/chunks/chunk.RDGMZ5XB.js +24 -0
  96. package/dist/chunks/chunk.RIJQGADY.js +108 -0
  97. package/dist/chunks/chunk.RMCOWJOW.js +17 -0
  98. package/dist/chunks/chunk.RY4QCT3T.js +29 -0
  99. package/dist/chunks/chunk.S4ATPBQN.js +89 -0
  100. package/dist/chunks/chunk.SGIGGO5M.js +86 -0
  101. package/dist/chunks/chunk.SQMWMSBA.js +207 -0
  102. package/dist/chunks/chunk.TJOP7HQP.js +14 -0
  103. package/dist/chunks/chunk.TUVJKY7S.js +21 -0
  104. package/dist/chunks/chunk.UA32LJYW.js +230 -0
  105. package/dist/chunks/chunk.UEUTSYIH.js +60 -0
  106. package/dist/chunks/chunk.UPYCV66H.js +111 -0
  107. package/dist/chunks/chunk.UV53JTE3.js +128 -0
  108. package/dist/chunks/chunk.UZLQVFDR.js +386 -0
  109. package/dist/chunks/chunk.V7RJROLH.js +48 -0
  110. package/dist/chunks/chunk.VFYKLPN2.js +144 -0
  111. package/dist/chunks/chunk.VRY3E2XG.js +196 -0
  112. package/dist/chunks/chunk.WE6IG5XG.js +164 -0
  113. package/dist/chunks/chunk.WFHOSUOX.js +263 -0
  114. package/dist/chunks/chunk.WHK7EFIM.js +264 -0
  115. package/dist/chunks/chunk.WIEJJS3W.js +88 -0
  116. package/dist/chunks/chunk.WK7RWLAK.js +54 -0
  117. package/dist/chunks/chunk.WNHQYL5W.js +298 -0
  118. package/dist/chunks/chunk.WSVP75MH.js +102 -0
  119. package/dist/chunks/chunk.XNEONNEJ.js +23 -0
  120. package/dist/chunks/chunk.XSCX6TC5.js +127 -0
  121. package/dist/chunks/chunk.XWUQFDIN.js +15 -0
  122. package/dist/chunks/chunk.Y3ZUFLVS.js +90 -0
  123. package/dist/chunks/chunk.YCXTCVAZ.js +30 -0
  124. package/dist/chunks/chunk.YIY5RM53.js +66 -0
  125. package/dist/chunks/chunk.YL3TSWVM.js +17 -0
  126. package/dist/chunks/chunk.YS7MY5CH.js +512 -0
  127. package/dist/chunks/chunk.YY6AEXJK.js +33 -0
  128. package/dist/chunks/chunk.YZHDFJWJ.js +17 -0
  129. package/dist/chunks/chunk.Z6TBD2AC.js +125 -0
  130. package/dist/chunks/chunk.ZKYSHEVZ.js +22 -0
  131. package/dist/chunks/chunk.ZVGZDTBF.js +104 -0
  132. package/dist/components/accordion/accordion.d.ts +49 -0
  133. package/dist/components/accordion/accordion.js +23 -0
  134. package/dist/components/accordion/accordion.styles.d.ts +2 -0
  135. package/dist/components/accordion/accordion.styles.js +8 -0
  136. package/dist/components/alert/alert.d.ts +52 -0
  137. package/dist/components/alert/alert.js +25 -0
  138. package/dist/components/alert/alert.styles.d.ts +2 -0
  139. package/dist/components/alert/alert.styles.js +8 -0
  140. package/dist/components/animation/animation.d.ts +81 -0
  141. package/dist/components/animation/animation.js +12 -0
  142. package/dist/components/animation/animation.styles.d.ts +2 -0
  143. package/dist/components/animation/animation.styles.js +8 -0
  144. package/dist/components/animation/animations.d.ts +6 -0
  145. package/dist/components/animation/animations.js +11 -0
  146. package/dist/components/avatar/avatar.d.ts +42 -0
  147. package/dist/components/avatar/avatar.js +19 -0
  148. package/dist/components/avatar/avatar.styles.d.ts +2 -0
  149. package/dist/components/avatar/avatar.styles.js +8 -0
  150. package/dist/components/avatar-group/avatar-group.d.ts +21 -0
  151. package/dist/components/avatar-group/avatar-group.js +9 -0
  152. package/dist/components/avatar-group/avatar-group.styles.d.ts +2 -0
  153. package/dist/components/avatar-group/avatar-group.styles.js +7 -0
  154. package/dist/components/badge/badge.d.ts +23 -0
  155. package/dist/components/badge/badge.js +10 -0
  156. package/dist/components/badge/badge.styles.d.ts +2 -0
  157. package/dist/components/badge/badge.styles.js +8 -0
  158. package/dist/components/breadcrumb/breadcrumb.d.ts +23 -0
  159. package/dist/components/breadcrumb/breadcrumb.js +20 -0
  160. package/dist/components/breadcrumb/breadcrumb.styles.d.ts +2 -0
  161. package/dist/components/breadcrumb/breadcrumb.styles.js +8 -0
  162. package/dist/components/breadcrumb-item/breadcrumb-item.d.ts +30 -0
  163. package/dist/components/breadcrumb-item/breadcrumb-item.js +12 -0
  164. package/dist/components/breadcrumb-item/breadcrumb-item.styles.d.ts +2 -0
  165. package/dist/components/breadcrumb-item/breadcrumb-item.styles.js +8 -0
  166. package/dist/components/button/button.d.ts +120 -0
  167. package/dist/components/button/button.js +24 -0
  168. package/dist/components/button/button.styles.d.ts +2 -0
  169. package/dist/components/button/button.styles.js +8 -0
  170. package/dist/components/card/card.d.ts +22 -0
  171. package/dist/components/card/card.js +11 -0
  172. package/dist/components/card/card.styles.d.ts +2 -0
  173. package/dist/components/card/card.styles.js +8 -0
  174. package/dist/components/checkbox/checkbox.d.ts +93 -0
  175. package/dist/components/checkbox/checkbox.js +24 -0
  176. package/dist/components/checkbox/checkbox.styles.d.ts +2 -0
  177. package/dist/components/checkbox/checkbox.styles.js +9 -0
  178. package/dist/components/checkbox-button/checkbox-button.d.ts +48 -0
  179. package/dist/components/checkbox-button/checkbox-button.js +21 -0
  180. package/dist/components/checkbox-button/checkbox-button.styles.d.ts +2 -0
  181. package/dist/components/checkbox-button/checkbox-button.styles.js +9 -0
  182. package/dist/components/checkbox-group/checkbox-group.d.ts +85 -0
  183. package/dist/components/checkbox-group/checkbox-group.js +16 -0
  184. package/dist/components/checkbox-group/checkbox-group.styles.d.ts +2 -0
  185. package/dist/components/checkbox-group/checkbox-group.styles.js +9 -0
  186. package/dist/components/dialog/dialog.d.ts +70 -0
  187. package/dist/components/dialog/dialog.js +28 -0
  188. package/dist/components/dialog/dialog.styles.d.ts +2 -0
  189. package/dist/components/dialog/dialog.styles.js +8 -0
  190. package/dist/components/divider/divider.d.ts +17 -0
  191. package/dist/components/divider/divider.js +10 -0
  192. package/dist/components/divider/divider.styles.d.ts +2 -0
  193. package/dist/components/divider/divider.styles.js +8 -0
  194. package/dist/components/drawer/drawer.d.ts +77 -0
  195. package/dist/components/drawer/drawer.js +28 -0
  196. package/dist/components/drawer/drawer.styles.d.ts +2 -0
  197. package/dist/components/drawer/drawer.styles.js +8 -0
  198. package/dist/components/dropdown/dropdown.d.ts +87 -0
  199. package/dist/components/dropdown/dropdown.js +15 -0
  200. package/dist/components/dropdown/dropdown.styles.d.ts +2 -0
  201. package/dist/components/dropdown/dropdown.styles.js +8 -0
  202. package/dist/components/error-text/error-text.d.ts +18 -0
  203. package/dist/components/error-text/error-text.js +9 -0
  204. package/dist/components/error-text/error-text.styles.d.ts +2 -0
  205. package/dist/components/error-text/error-text.styles.js +7 -0
  206. package/dist/components/format-bytes/format-bytes.d.ts +22 -0
  207. package/dist/components/format-bytes/format-bytes.js +9 -0
  208. package/dist/components/format-date/format-date.d.ts +42 -0
  209. package/dist/components/format-date/format-date.js +9 -0
  210. package/dist/components/format-number/format-number.d.ts +36 -0
  211. package/dist/components/format-number/format-number.js +9 -0
  212. package/dist/components/icon/icon.d.ts +40 -0
  213. package/dist/components/icon/icon.js +17 -0
  214. package/dist/components/icon/icon.styles.d.ts +2 -0
  215. package/dist/components/icon/icon.styles.js +8 -0
  216. package/dist/components/icon/library.d.ts +21 -0
  217. package/dist/components/icon/library.default.d.ts +3 -0
  218. package/dist/components/icon/library.default.js +8 -0
  219. package/dist/components/icon/library.js +18 -0
  220. package/dist/components/icon/library.system.d.ts +3 -0
  221. package/dist/components/icon/library.system.js +7 -0
  222. package/dist/components/icon/request.d.ts +11 -0
  223. package/dist/components/icon/request.js +8 -0
  224. package/dist/components/icon-button/icon-button.d.ts +59 -0
  225. package/dist/components/icon-button/icon-button.js +19 -0
  226. package/dist/components/icon-button/icon-button.styles.d.ts +2 -0
  227. package/dist/components/icon-button/icon-button.styles.js +8 -0
  228. package/dist/components/include/include.d.ts +32 -0
  229. package/dist/components/include/include.js +12 -0
  230. package/dist/components/include/include.styles.d.ts +2 -0
  231. package/dist/components/include/include.styles.js +8 -0
  232. package/dist/components/include/request.d.ts +8 -0
  233. package/dist/components/include/request.js +7 -0
  234. package/dist/components/input/input.d.ts +165 -0
  235. package/dist/components/input/input.js +27 -0
  236. package/dist/components/input/input.styles.d.ts +2 -0
  237. package/dist/components/input/input.styles.js +9 -0
  238. package/dist/components/input/input.utils.d.ts +4 -0
  239. package/dist/components/input/input.utils.js +9 -0
  240. package/dist/components/input-mask/input-mask.configs.d.ts +42 -0
  241. package/dist/components/input-mask/input-mask.configs.js +11 -0
  242. package/dist/components/input-mask/input-mask.d.ts +127 -0
  243. package/dist/components/input-mask/input-mask.js +19 -0
  244. package/dist/components/input-mask/input-mask.styles.d.ts +2 -0
  245. package/dist/components/input-mask/input-mask.styles.js +9 -0
  246. package/dist/components/input-mask/input-mask.utils.d.ts +7 -0
  247. package/dist/components/input-mask/input-mask.utils.js +19 -0
  248. package/dist/components/input-phone/input-phone.configs.d.ts +14 -0
  249. package/dist/components/input-phone/input-phone.configs.js +7 -0
  250. package/dist/components/input-phone/input-phone.d.ts +138 -0
  251. package/dist/components/input-phone/input-phone.js +49 -0
  252. package/dist/components/input-phone/input-phone.styles.d.ts +2 -0
  253. package/dist/components/input-phone/input-phone.styles.js +9 -0
  254. package/dist/components/input-phone/input-phone.utils.d.ts +9 -0
  255. package/dist/components/input-phone/input-phone.utils.js +13 -0
  256. package/dist/components/menu/menu.d.ts +43 -0
  257. package/dist/components/menu/menu.js +10 -0
  258. package/dist/components/menu/menu.styles.d.ts +2 -0
  259. package/dist/components/menu/menu.styles.js +8 -0
  260. package/dist/components/menu-item/menu-item.d.ts +44 -0
  261. package/dist/components/menu-item/menu-item.js +20 -0
  262. package/dist/components/menu-item/menu-item.styles.d.ts +2 -0
  263. package/dist/components/menu-item/menu-item.styles.js +8 -0
  264. package/dist/components/menu-label/menu-label.d.ts +17 -0
  265. package/dist/components/menu-label/menu-label.js +10 -0
  266. package/dist/components/menu-label/menu-label.styles.d.ts +2 -0
  267. package/dist/components/menu-label/menu-label.styles.js +8 -0
  268. package/dist/components/mutation-observer/mutation-observer.d.ts +44 -0
  269. package/dist/components/mutation-observer/mutation-observer.js +11 -0
  270. package/dist/components/mutation-observer/mutation-observer.styles.d.ts +2 -0
  271. package/dist/components/mutation-observer/mutation-observer.styles.js +8 -0
  272. package/dist/components/option/option.d.ts +50 -0
  273. package/dist/components/option/option.js +20 -0
  274. package/dist/components/option/option.styles.d.ts +2 -0
  275. package/dist/components/option/option.styles.js +8 -0
  276. package/dist/components/popup/popup.d.ts +123 -0
  277. package/dist/components/popup/popup.js +10 -0
  278. package/dist/components/popup/popup.styles.d.ts +2 -0
  279. package/dist/components/popup/popup.styles.js +8 -0
  280. package/dist/components/progress-bar/progress-bar.d.ts +23 -0
  281. package/dist/components/progress-bar/progress-bar.js +11 -0
  282. package/dist/components/progress-bar/progress-bar.styles.d.ts +2 -0
  283. package/dist/components/progress-bar/progress-bar.styles.js +8 -0
  284. package/dist/components/progress-ring/progress-ring.d.ts +25 -0
  285. package/dist/components/progress-ring/progress-ring.js +11 -0
  286. package/dist/components/progress-ring/progress-ring.styles.d.ts +2 -0
  287. package/dist/components/progress-ring/progress-ring.styles.js +8 -0
  288. package/dist/components/radio/radio.d.ts +46 -0
  289. package/dist/components/radio/radio.js +19 -0
  290. package/dist/components/radio/radio.styles.d.ts +2 -0
  291. package/dist/components/radio/radio.styles.js +8 -0
  292. package/dist/components/radio-button/radio-button.d.ts +47 -0
  293. package/dist/components/radio-button/radio-button.js +13 -0
  294. package/dist/components/radio-button/radio-button.styles.d.ts +2 -0
  295. package/dist/components/radio-button/radio-button.styles.js +9 -0
  296. package/dist/components/radio-group/radio-group.d.ts +91 -0
  297. package/dist/components/radio-group/radio-group.js +16 -0
  298. package/dist/components/radio-group/radio-group.styles.d.ts +2 -0
  299. package/dist/components/radio-group/radio-group.styles.js +9 -0
  300. package/dist/components/relative-time/relative-time.d.ts +34 -0
  301. package/dist/components/relative-time/relative-time.js +9 -0
  302. package/dist/components/resize-observer/resize-observer.d.ts +31 -0
  303. package/dist/components/resize-observer/resize-observer.js +11 -0
  304. package/dist/components/resize-observer/resize-observer.styles.d.ts +2 -0
  305. package/dist/components/resize-observer/resize-observer.styles.js +8 -0
  306. package/dist/components/select/select.d.ts +166 -0
  307. package/dist/components/select/select.js +36 -0
  308. package/dist/components/select/select.styles.d.ts +2 -0
  309. package/dist/components/select/select.styles.js +9 -0
  310. package/dist/components/skeleton/skeleton.d.ts +21 -0
  311. package/dist/components/skeleton/skeleton.js +10 -0
  312. package/dist/components/skeleton/skeleton.styles.d.ts +2 -0
  313. package/dist/components/skeleton/skeleton.styles.js +8 -0
  314. package/dist/components/spinner/spinner.d.ts +21 -0
  315. package/dist/components/spinner/spinner.js +11 -0
  316. package/dist/components/spinner/spinner.styles.d.ts +2 -0
  317. package/dist/components/spinner/spinner.styles.js +8 -0
  318. package/dist/components/tab/tab.d.ts +44 -0
  319. package/dist/components/tab/tab.js +12 -0
  320. package/dist/components/tab/tab.styles.d.ts +2 -0
  321. package/dist/components/tab/tab.styles.js +8 -0
  322. package/dist/components/tab-group/tab-group.d.ts +61 -0
  323. package/dist/components/tab-group/tab-group.js +13 -0
  324. package/dist/components/tab-group/tab-group.styles.d.ts +2 -0
  325. package/dist/components/tab-group/tab-group.styles.js +8 -0
  326. package/dist/components/tab-panel/tab-panel.d.ts +25 -0
  327. package/dist/components/tab-panel/tab-panel.js +11 -0
  328. package/dist/components/tab-panel/tab-panel.styles.d.ts +2 -0
  329. package/dist/components/tab-panel/tab-panel.styles.js +8 -0
  330. package/dist/components/tag/tag.d.ts +34 -0
  331. package/dist/components/tag/tag.js +22 -0
  332. package/dist/components/tag/tag.styles.d.ts +2 -0
  333. package/dist/components/tag/tag.styles.js +8 -0
  334. package/dist/components/textarea/textarea.d.ts +137 -0
  335. package/dist/components/textarea/textarea.js +17 -0
  336. package/dist/components/textarea/textarea.styles.d.ts +2 -0
  337. package/dist/components/textarea/textarea.styles.js +9 -0
  338. package/dist/components/tooltip/tooltip.d.ts +80 -0
  339. package/dist/components/tooltip/tooltip.js +17 -0
  340. package/dist/components/tooltip/tooltip.styles.d.ts +2 -0
  341. package/dist/components/tooltip/tooltip.styles.js +8 -0
  342. package/dist/components/tree/tree.d.ts +53 -0
  343. package/dist/components/tree/tree.js +33 -0
  344. package/dist/components/tree/tree.styles.d.ts +2 -0
  345. package/dist/components/tree/tree.styles.js +8 -0
  346. package/dist/components/tree-item/tree-item.d.ts +69 -0
  347. package/dist/components/tree-item/tree-item.js +31 -0
  348. package/dist/components/tree-item/tree-item.styles.d.ts +2 -0
  349. package/dist/components/tree-item/tree-item.styles.js +8 -0
  350. package/dist/components/visually-hidden/visually-hidden.d.ts +17 -0
  351. package/dist/components/visually-hidden/visually-hidden.js +10 -0
  352. package/dist/components/visually-hidden/visually-hidden.styles.d.ts +2 -0
  353. package/dist/components/visually-hidden/visually-hidden.styles.js +8 -0
  354. package/dist/custom-elements.json +14628 -0
  355. package/dist/design-system-autoloader.d.ts +4 -0
  356. package/dist/design-system-autoloader.js +46 -0
  357. package/dist/design-system.d.ts +58 -0
  358. package/dist/design-system.js +309 -0
  359. package/dist/events/dsa-after-collapse.d.ts +7 -0
  360. package/dist/events/dsa-after-collapse.js +1 -0
  361. package/dist/events/dsa-after-expand.d.ts +7 -0
  362. package/dist/events/dsa-after-expand.js +1 -0
  363. package/dist/events/dsa-after-hide.d.ts +7 -0
  364. package/dist/events/dsa-after-hide.js +1 -0
  365. package/dist/events/dsa-after-show.d.ts +7 -0
  366. package/dist/events/dsa-after-show.js +1 -0
  367. package/dist/events/dsa-blur.d.ts +7 -0
  368. package/dist/events/dsa-blur.js +1 -0
  369. package/dist/events/dsa-cancel.d.ts +7 -0
  370. package/dist/events/dsa-cancel.js +1 -0
  371. package/dist/events/dsa-change.d.ts +7 -0
  372. package/dist/events/dsa-change.js +1 -0
  373. package/dist/events/dsa-clear.d.ts +7 -0
  374. package/dist/events/dsa-clear.js +1 -0
  375. package/dist/events/dsa-close.d.ts +7 -0
  376. package/dist/events/dsa-close.js +1 -0
  377. package/dist/events/dsa-collapse.d.ts +7 -0
  378. package/dist/events/dsa-collapse.js +1 -0
  379. package/dist/events/dsa-error.d.ts +9 -0
  380. package/dist/events/dsa-error.js +1 -0
  381. package/dist/events/dsa-expand.d.ts +7 -0
  382. package/dist/events/dsa-expand.js +1 -0
  383. package/dist/events/dsa-finish.d.ts +7 -0
  384. package/dist/events/dsa-finish.js +1 -0
  385. package/dist/events/dsa-focus.d.ts +7 -0
  386. package/dist/events/dsa-focus.js +1 -0
  387. package/dist/events/dsa-hide.d.ts +7 -0
  388. package/dist/events/dsa-hide.js +1 -0
  389. package/dist/events/dsa-hover.d.ts +10 -0
  390. package/dist/events/dsa-hover.js +1 -0
  391. package/dist/events/dsa-initial-focus.d.ts +7 -0
  392. package/dist/events/dsa-initial-focus.js +1 -0
  393. package/dist/events/dsa-input.d.ts +7 -0
  394. package/dist/events/dsa-input.js +1 -0
  395. package/dist/events/dsa-invalid.d.ts +7 -0
  396. package/dist/events/dsa-invalid.js +1 -0
  397. package/dist/events/dsa-lazy-change.d.ts +7 -0
  398. package/dist/events/dsa-lazy-change.js +1 -0
  399. package/dist/events/dsa-lazy-load.d.ts +7 -0
  400. package/dist/events/dsa-lazy-load.js +1 -0
  401. package/dist/events/dsa-load.d.ts +7 -0
  402. package/dist/events/dsa-load.js +1 -0
  403. package/dist/events/dsa-mutation.d.ts +9 -0
  404. package/dist/events/dsa-mutation.js +1 -0
  405. package/dist/events/dsa-remove.d.ts +7 -0
  406. package/dist/events/dsa-remove.js +1 -0
  407. package/dist/events/dsa-reposition.d.ts +7 -0
  408. package/dist/events/dsa-reposition.js +1 -0
  409. package/dist/events/dsa-request-close.d.ts +9 -0
  410. package/dist/events/dsa-request-close.js +1 -0
  411. package/dist/events/dsa-resize.d.ts +9 -0
  412. package/dist/events/dsa-resize.js +1 -0
  413. package/dist/events/dsa-select.d.ts +10 -0
  414. package/dist/events/dsa-select.js +1 -0
  415. package/dist/events/dsa-selection-change.d.ts +10 -0
  416. package/dist/events/dsa-selection-change.js +1 -0
  417. package/dist/events/dsa-show.d.ts +7 -0
  418. package/dist/events/dsa-show.js +1 -0
  419. package/dist/events/dsa-start.d.ts +7 -0
  420. package/dist/events/dsa-start.js +1 -0
  421. package/dist/events/dsa-tab-hide.d.ts +9 -0
  422. package/dist/events/dsa-tab-hide.js +1 -0
  423. package/dist/events/dsa-tab-show.d.ts +9 -0
  424. package/dist/events/dsa-tab-show.js +1 -0
  425. package/dist/events/events.d.ts +32 -0
  426. package/dist/events/events.js +1 -0
  427. package/dist/internal/animate.d.ts +22 -0
  428. package/dist/internal/animate.js +56 -0
  429. package/dist/internal/components/button-group/button-group.d.ts +34 -0
  430. package/dist/internal/components/button-group/button-group.js +110 -0
  431. package/dist/internal/components/button-group/button-group.styles.d.ts +2 -0
  432. package/dist/internal/components/button-group/button-group.styles.js +19 -0
  433. package/dist/internal/debounce.d.ts +1 -0
  434. package/dist/internal/debounce.js +26 -0
  435. package/dist/internal/default-value.d.ts +2 -0
  436. package/dist/internal/default-value.js +38 -0
  437. package/dist/internal/drag.d.ts +15 -0
  438. package/dist/internal/drag.js +27 -0
  439. package/dist/internal/event.d.ts +2 -0
  440. package/dist/internal/event.js +12 -0
  441. package/dist/internal/form.d.ts +73 -0
  442. package/dist/internal/form.js +328 -0
  443. package/dist/internal/math.d.ts +2 -0
  444. package/dist/internal/math.js +11 -0
  445. package/dist/internal/modal.d.ts +12 -0
  446. package/dist/internal/modal.js +51 -0
  447. package/dist/internal/offset.d.ts +11 -0
  448. package/dist/internal/offset.js +13 -0
  449. package/dist/internal/scroll.d.ts +11 -0
  450. package/dist/internal/scroll.js +63 -0
  451. package/dist/internal/shoelace-element.d.ts +43 -0
  452. package/dist/internal/shoelace-element.js +21 -0
  453. package/dist/internal/slot.d.ts +23 -0
  454. package/dist/internal/slot.js +84 -0
  455. package/dist/internal/string.d.ts +2 -0
  456. package/dist/internal/string.js +4 -0
  457. package/dist/internal/tabbable.d.ts +8 -0
  458. package/dist/internal/tabbable.js +79 -0
  459. package/dist/internal/test/data-testid-helpers.d.ts +12 -0
  460. package/dist/internal/test/data-testid-helpers.js +14 -0
  461. package/dist/internal/test/element-visible-overflow.d.ts +11 -0
  462. package/dist/internal/test/element-visible-overflow.js +18 -0
  463. package/dist/internal/test/form-control-base-tests.d.ts +7 -0
  464. package/dist/internal/test/form-control-base-tests.js +262 -0
  465. package/dist/internal/test/wait-for-scrolling.d.ts +9 -0
  466. package/dist/internal/test/wait-for-scrolling.js +34 -0
  467. package/dist/internal/test.d.ts +20 -0
  468. package/dist/internal/test.js +71 -0
  469. package/dist/internal/watch.d.ts +26 -0
  470. package/dist/internal/watch.js +38 -0
  471. package/dist/styles/component.styles.d.ts +2 -0
  472. package/dist/styles/component.styles.js +16 -0
  473. package/dist/styles/form-control.styles.d.ts +2 -0
  474. package/dist/styles/form-control.styles.js +142 -0
  475. package/dist/themes/dsa-wc-theme.css +1218 -0
  476. package/dist/themes/dsa-wc-theme.min.css +1 -0
  477. package/dist/themes/dsa-wc-theme.styles.js +1229 -0
  478. package/dist/translations/en-gb.d.ts +3 -0
  479. package/dist/translations/en-gb.js +21 -0
  480. package/dist/translations/en.d.ts +3 -0
  481. package/dist/translations/en.js +7 -0
  482. package/dist/translations/fr.d.ts +3 -0
  483. package/dist/translations/fr.js +7 -0
  484. package/dist/utilities/animation-registry.d.ts +24 -0
  485. package/dist/utilities/animation-registry.js +11 -0
  486. package/dist/utilities/animation.d.ts +1 -0
  487. package/dist/utilities/animation.js +10 -0
  488. package/dist/utilities/base-path.d.ts +18 -0
  489. package/dist/utilities/base-path.js +9 -0
  490. package/dist/utilities/form.d.ts +11 -0
  491. package/dist/utilities/form.js +43 -0
  492. package/dist/utilities/icon-library.d.ts +1 -0
  493. package/dist/utilities/icon-library.js +13 -0
  494. package/dist/utilities/localize.d.ts +39 -0
  495. package/dist/utilities/localize.js +9 -0
  496. package/dist/utilities/storybook.d.ts +46 -0
  497. package/dist/utilities/storybook.js +54 -0
  498. package/dist/vscode.html-custom-data.json +2392 -0
  499. package/dist/web-types.json +8687 -0
  500. package/package.json +109 -0
@@ -0,0 +1,122 @@
1
+ import {
2
+ component_styles_default
3
+ } from "./chunk.TUVJKY7S.js";
4
+
5
+ // src/components/option/option.styles.ts
6
+ import { css } from "lit";
7
+ var option_styles_default = css`
8
+ ${component_styles_default}
9
+
10
+ :host {
11
+ display: block;
12
+ user-select: none;
13
+ }
14
+
15
+ :host(:focus) {
16
+ outline: none;
17
+ }
18
+
19
+ .option {
20
+ position: relative;
21
+ display: flex;
22
+ align-items: center;
23
+ color: var(--dsa-wc-option-color);
24
+ transition: var(--dsa-wc-transition-fast) fill;
25
+ cursor: pointer;
26
+ }
27
+
28
+ .option--small {
29
+ font: var(--dsa-wc-option-small-font);
30
+ padding: var(--dsa-wc-option-small-padding);
31
+ }
32
+
33
+ .option--small dsa-icon,
34
+ .option--small ::slotted(dsa-icon) {
35
+ font-size: var(--dsa-wc-option-small-icon-size);
36
+ }
37
+
38
+ .option--medium {
39
+ font: var(--dsa-wc-option-font);
40
+ padding: var(--dsa-wc-option-padding);
41
+ }
42
+
43
+ .option--medium dsa-icon,
44
+ .option--medium ::slotted(dsa-icon) {
45
+ font-size: var(--dsa-wc-option-icon-size);
46
+ }
47
+
48
+ .option--large {
49
+ font: var(--dsa-wc-option-large-font);
50
+ padding: var(--dsa-wc-option-large-padding);
51
+ }
52
+
53
+ .option--large dsa-icon,
54
+ .option--large ::slotted(dsa-icon) {
55
+ font-size: var(--dsa-wc-option-large-icon-size);
56
+ }
57
+
58
+ .option--hover:not(.option--current):not(.option--disabled) {
59
+ background-color: var(--dsa-wc-option-hover-color);
60
+ }
61
+
62
+ .option--error {
63
+ color: var(--dsa-wc-option-error-color);
64
+ }
65
+ .option--current,
66
+ .option--current.option--disabled {
67
+ background-color: var(--dsa-wc-option-active-background-color);
68
+ color: var(--dsa-wc-option-active-color);
69
+ opacity: 1;
70
+ }
71
+
72
+ .option--disabled {
73
+ outline: none;
74
+ cursor: not-allowed;
75
+ color: var(--dsa-wc-option-disabled-color);
76
+ }
77
+
78
+ .option__label {
79
+ flex: 1 1 auto;
80
+ display: inline-block;
81
+ }
82
+
83
+ .option .option__check {
84
+ flex: 0 0 auto;
85
+ display: flex;
86
+ align-items: center;
87
+ justify-content: center;
88
+ visibility: hidden;
89
+ margin-inline-end: var(--dsa-wc-option-check-icon-horizontal-padding);
90
+ }
91
+
92
+ .option--selected .option__check {
93
+ visibility: visible;
94
+ }
95
+
96
+ .option__prefix,
97
+ .option__suffix {
98
+ flex: 0 0 auto;
99
+ display: flex;
100
+ align-items: center;
101
+ }
102
+
103
+ .option__prefix::slotted(*),
104
+ .option--error .option__error-icon {
105
+ margin-inline-end: var(--dsa-wc-option-check-icon-horizontal-padding);
106
+ }
107
+
108
+ .option__suffix::slotted(*) {
109
+ margin-inline-start: var(--dsa-wc-option-check-icon-horizontal-padding);
110
+ }
111
+
112
+ @media (forced-colors: active) {
113
+ :host(:hover:not([aria-disabled='true'])) .option {
114
+ outline: dashed 1px SelectedItem;
115
+ outline-offset: -1px;
116
+ }
117
+ }
118
+ `;
119
+
120
+ export {
121
+ option_styles_default
122
+ };
@@ -0,0 +1,308 @@
1
+ import {
2
+ FormControlController,
3
+ validValidityState
4
+ } from "./chunk.KIFBWPW5.js";
5
+ import {
6
+ button_styles_default
7
+ } from "./chunk.J2XNYTTZ.js";
8
+ import {
9
+ HasSlotController
10
+ } from "./chunk.YIY5RM53.js";
11
+ import {
12
+ LocalizeController
13
+ } from "./chunk.5XL2LZLC.js";
14
+ import {
15
+ watch
16
+ } from "./chunk.D7CATJYB.js";
17
+ import {
18
+ ShoelaceElement
19
+ } from "./chunk.YCXTCVAZ.js";
20
+ import {
21
+ __decorateClass
22
+ } from "./chunk.6M63UXML.js";
23
+
24
+ // src/components/button/button.ts
25
+ import { customElement, property, query, state } from "lit/decorators.js";
26
+ import { classMap } from "lit/directives/class-map.js";
27
+ import { ifDefined } from "lit/directives/if-defined.js";
28
+ import { html, literal } from "lit/static-html.js";
29
+ var DSAButton = class extends ShoelaceElement {
30
+ constructor() {
31
+ super(...arguments);
32
+ this.formControlController = new FormControlController(this, {
33
+ form: (input) => {
34
+ if (input.hasAttribute("form")) {
35
+ const doc = input.getRootNode();
36
+ const formId = input.getAttribute("form");
37
+ return doc.getElementById(formId);
38
+ }
39
+ return input.closest("form");
40
+ },
41
+ assumeInteractionOn: ["click"]
42
+ });
43
+ this.hasSlotController = new HasSlotController(
44
+ this,
45
+ "[default]",
46
+ "prefix",
47
+ "suffix"
48
+ );
49
+ this.localize = new LocalizeController(this);
50
+ this.hasFocus = false;
51
+ this.invalid = false;
52
+ this.title = "";
53
+ this.variant = "primary";
54
+ this.size = "medium";
55
+ this.caret = false;
56
+ this.disabled = false;
57
+ this.loading = false;
58
+ this.floating = false;
59
+ this.type = "button";
60
+ this.name = "";
61
+ this.value = "";
62
+ this.href = "";
63
+ this.rel = "noreferrer noopener";
64
+ }
65
+ /** Gets the validity state object */
66
+ get validity() {
67
+ if (this.isButton()) {
68
+ return this.button.validity;
69
+ }
70
+ return validValidityState;
71
+ }
72
+ /** Gets the validation message */
73
+ get validationMessage() {
74
+ if (this.isButton()) {
75
+ return this.button.validationMessage;
76
+ }
77
+ return "";
78
+ }
79
+ connectedCallback() {
80
+ super.connectedCallback();
81
+ this.handleHostClick = this.handleHostClick.bind(this);
82
+ this.addEventListener("click", this.handleHostClick);
83
+ }
84
+ disconnectedCallback() {
85
+ super.disconnectedCallback();
86
+ this.removeEventListener("click", this.handleHostClick);
87
+ }
88
+ firstUpdated() {
89
+ if (this.isButton()) {
90
+ this.formControlController.updateValidity();
91
+ }
92
+ }
93
+ handleBlur() {
94
+ this.hasFocus = false;
95
+ this.emit("dsa-blur");
96
+ }
97
+ handleFocus() {
98
+ this.hasFocus = true;
99
+ this.emit("dsa-focus");
100
+ }
101
+ handleClick() {
102
+ if (this.type === "submit") {
103
+ this.formControlController.submit(this);
104
+ }
105
+ if (this.type === "reset") {
106
+ this.formControlController.reset(this);
107
+ }
108
+ }
109
+ handleHostClick(event) {
110
+ if (this.disabled || this.loading) {
111
+ event.preventDefault();
112
+ event.stopImmediatePropagation();
113
+ }
114
+ }
115
+ handleInvalid(event) {
116
+ this.formControlController.setValidity(false);
117
+ this.formControlController.emitInvalidEvent(event);
118
+ }
119
+ isButton() {
120
+ return this.href ? false : true;
121
+ }
122
+ isLink() {
123
+ return this.href ? true : false;
124
+ }
125
+ handleDisabledChange() {
126
+ if (this.isButton()) {
127
+ this.formControlController.setValidity(this.disabled);
128
+ }
129
+ }
130
+ /** Simulates a click on the button. */
131
+ click() {
132
+ this.button.click();
133
+ }
134
+ /** Sets focus on the button. */
135
+ focus(options) {
136
+ this.button.focus(options);
137
+ }
138
+ /** Removes focus from the button. */
139
+ blur() {
140
+ this.button.blur();
141
+ }
142
+ /** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */
143
+ checkValidity() {
144
+ if (this.isButton()) {
145
+ return this.button.checkValidity();
146
+ }
147
+ return true;
148
+ }
149
+ /** Gets the associated form, if one exists. */
150
+ getForm() {
151
+ return this.formControlController.getForm();
152
+ }
153
+ /** Checks for validity and shows the browser's validation message if the control is invalid. */
154
+ reportValidity() {
155
+ if (this.isButton()) {
156
+ return this.button.reportValidity();
157
+ }
158
+ return true;
159
+ }
160
+ /** Sets a custom validation message. Pass an empty string to restore validity. */
161
+ setCustomValidity(message) {
162
+ if (this.isButton()) {
163
+ this.button.setCustomValidity(message);
164
+ this.formControlController.updateValidity();
165
+ }
166
+ }
167
+ render() {
168
+ const isLink = this.isLink();
169
+ const tag = isLink ? literal`a` : literal`button`;
170
+ return html`
171
+ <${tag}
172
+ part="base"
173
+ class=${classMap({
174
+ button: true,
175
+ "button--on-base": !this.floating,
176
+ "button--on-floating-menu": this.floating,
177
+ "button--navigation": this.variant === "navigation",
178
+ "button--primary": this.variant === "primary",
179
+ "button--secondary": this.variant === "secondary",
180
+ "button--tertiary": this.variant === "tertiary",
181
+ "button--neutral": this.variant === "neutral",
182
+ "button--danger": this.variant === "danger",
183
+ "button--small": this.size === "small",
184
+ "button--medium": this.size === "medium",
185
+ "button--large": this.size === "large",
186
+ "button--caret": this.caret,
187
+ "button--disabled": this.disabled,
188
+ "button--focused": this.hasFocus,
189
+ "button--loading": this.loading,
190
+ "button--rtl": this.localize.dir() === "rtl",
191
+ "button--has-label": this.hasSlotController.test("[default]"),
192
+ "button--has-prefix": this.hasSlotController.test("prefix"),
193
+ "button--has-suffix": this.hasSlotController.test("suffix")
194
+ })}
195
+ ?disabled=${ifDefined(isLink ? void 0 : this.disabled)}
196
+ type=${ifDefined(isLink ? void 0 : this.type)}
197
+ title=${this.title}
198
+ name=${ifDefined(isLink ? void 0 : this.name)}
199
+ value=${ifDefined(isLink ? void 0 : this.value)}
200
+ href=${ifDefined(isLink ? this.href : void 0)}
201
+ target=${ifDefined(isLink ? this.target : void 0)}
202
+ download=${ifDefined(isLink ? this.download : void 0)}
203
+ rel=${ifDefined(isLink ? this.rel : void 0)}
204
+ role=${ifDefined(isLink ? void 0 : "button")}
205
+ aria-disabled=${this.disabled ? "true" : "false"}
206
+ tabindex=${this.disabled ? "-1" : "0"}
207
+ @blur=${this.handleBlur}
208
+ @focus=${this.handleFocus}
209
+ @invalid=${this.isButton() ? this.handleInvalid : null}
210
+ @click=${this.handleClick}
211
+ >
212
+ <slot name="prefix" part="prefix" class="button__prefix"></slot>
213
+ <slot part="label" class="button__label"></slot>
214
+ <slot name="suffix" part="suffix" class="button__suffix"></slot>
215
+ ${this.caret ? html`
216
+ <dsa-icon
217
+ part="caret"
218
+ class="button__caret"
219
+ name="expand_more"
220
+ ></dsa-icon>
221
+ ` : ""}
222
+ ${this.loading ? html`<dsa-spinner
223
+ variant=${this.floating ? "floating" : "base"}
224
+ ></dsa-spinner>` : ""}
225
+ </${tag}>
226
+ `;
227
+ }
228
+ };
229
+ DSAButton.styles = button_styles_default;
230
+ __decorateClass([
231
+ query(".button")
232
+ ], DSAButton.prototype, "button", 2);
233
+ __decorateClass([
234
+ state()
235
+ ], DSAButton.prototype, "hasFocus", 2);
236
+ __decorateClass([
237
+ state()
238
+ ], DSAButton.prototype, "invalid", 2);
239
+ __decorateClass([
240
+ property()
241
+ ], DSAButton.prototype, "title", 2);
242
+ __decorateClass([
243
+ property({ reflect: true })
244
+ ], DSAButton.prototype, "variant", 2);
245
+ __decorateClass([
246
+ property({ reflect: true })
247
+ ], DSAButton.prototype, "size", 2);
248
+ __decorateClass([
249
+ property({ type: Boolean, reflect: true })
250
+ ], DSAButton.prototype, "caret", 2);
251
+ __decorateClass([
252
+ property({ type: Boolean, reflect: true })
253
+ ], DSAButton.prototype, "disabled", 2);
254
+ __decorateClass([
255
+ property({ type: Boolean, reflect: true })
256
+ ], DSAButton.prototype, "loading", 2);
257
+ __decorateClass([
258
+ property({ type: Boolean, reflect: true })
259
+ ], DSAButton.prototype, "floating", 2);
260
+ __decorateClass([
261
+ property()
262
+ ], DSAButton.prototype, "type", 2);
263
+ __decorateClass([
264
+ property()
265
+ ], DSAButton.prototype, "name", 2);
266
+ __decorateClass([
267
+ property()
268
+ ], DSAButton.prototype, "value", 2);
269
+ __decorateClass([
270
+ property()
271
+ ], DSAButton.prototype, "href", 2);
272
+ __decorateClass([
273
+ property()
274
+ ], DSAButton.prototype, "target", 2);
275
+ __decorateClass([
276
+ property()
277
+ ], DSAButton.prototype, "rel", 2);
278
+ __decorateClass([
279
+ property()
280
+ ], DSAButton.prototype, "download", 2);
281
+ __decorateClass([
282
+ property()
283
+ ], DSAButton.prototype, "form", 2);
284
+ __decorateClass([
285
+ property({ attribute: "formaction" })
286
+ ], DSAButton.prototype, "formAction", 2);
287
+ __decorateClass([
288
+ property({ attribute: "formenctype" })
289
+ ], DSAButton.prototype, "formEnctype", 2);
290
+ __decorateClass([
291
+ property({ attribute: "formmethod" })
292
+ ], DSAButton.prototype, "formMethod", 2);
293
+ __decorateClass([
294
+ property({ attribute: "formnovalidate", type: Boolean })
295
+ ], DSAButton.prototype, "formNoValidate", 2);
296
+ __decorateClass([
297
+ property({ attribute: "formtarget" })
298
+ ], DSAButton.prototype, "formTarget", 2);
299
+ __decorateClass([
300
+ watch("disabled", { waitUntilFirstUpdate: true })
301
+ ], DSAButton.prototype, "handleDisabledChange", 1);
302
+ DSAButton = __decorateClass([
303
+ customElement("dsa-button")
304
+ ], DSAButton);
305
+
306
+ export {
307
+ DSAButton
308
+ };
@@ -0,0 +1,122 @@
1
+ // src/components/icon/library.system.ts
2
+ var icons = {
3
+ caret: `
4
+ <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
5
+ <polyline points="6 9 12 15 18 9"></polyline>
6
+ </svg>
7
+ `,
8
+ check: `
9
+ <svg part="checked-icon" class="checkbox__icon" viewBox="0 0 16 16">
10
+ <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round">
11
+ <g stroke="currentColor" stroke-width="2">
12
+ <g transform="translate(3.428571, 3.428571)">
13
+ <path d="M0,5.71428571 L3.42857143,9.14285714"></path>
14
+ <path d="M9.14285714,0 L3.42857143,9.14285714"></path>
15
+ </g>
16
+ </g>
17
+ </g>
18
+ </svg>
19
+ `,
20
+ "chevron-down": `
21
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16">
22
+ <path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/>
23
+ </svg>
24
+ `,
25
+ "chevron-left": `
26
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-left" viewBox="0 0 16 16">
27
+ <path fill-rule="evenodd" d="M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/>
28
+ </svg>
29
+ `,
30
+ "chevron-right": `
31
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-right" viewBox="0 0 16 16">
32
+ <path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"/>
33
+ </svg>
34
+ `,
35
+ eye: `
36
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eye" viewBox="0 0 16 16">
37
+ <path d="M16 8s-3-5.5-8-5.5S0 8 0 8s3 5.5 8 5.5S16 8 16 8zM1.173 8a13.133 13.133 0 0 1 1.66-2.043C4.12 4.668 5.88 3.5 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13.133 13.133 0 0 1 14.828 8c-.058.087-.122.183-.195.288-.335.48-.83 1.12-1.465 1.755C11.879 11.332 10.119 12.5 8 12.5c-2.12 0-3.879-1.168-5.168-2.457A13.134 13.134 0 0 1 1.172 8z"/>
38
+ <path d="M8 5.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5zM4.5 8a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0z"/>
39
+ </svg>
40
+ `,
41
+ "eye-slash": `
42
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eye-slash" viewBox="0 0 16 16">
43
+ <path d="M13.359 11.238C15.06 9.72 16 8 16 8s-3-5.5-8-5.5a7.028 7.028 0 0 0-2.79.588l.77.771A5.944 5.944 0 0 1 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13.134 13.134 0 0 1 14.828 8c-.058.087-.122.183-.195.288-.335.48-.83 1.12-1.465 1.755-.165.165-.337.328-.517.486l.708.709z"/>
44
+ <path d="M11.297 9.176a3.5 3.5 0 0 0-4.474-4.474l.823.823a2.5 2.5 0 0 1 2.829 2.829l.822.822zm-2.943 1.299.822.822a3.5 3.5 0 0 1-4.474-4.474l.823.823a2.5 2.5 0 0 0 2.829 2.829z"/>
45
+ <path d="M3.35 5.47c-.18.16-.353.322-.518.487A13.134 13.134 0 0 0 1.172 8l.195.288c.335.48.83 1.12 1.465 1.755C4.121 11.332 5.881 12.5 8 12.5c.716 0 1.39-.133 2.02-.36l.77.772A7.029 7.029 0 0 1 8 13.5C3 13.5 0 8 0 8s.939-1.721 2.641-3.238l.708.709zm10.296 8.884-12-12 .708-.708 12 12-.708.708z"/>
46
+ </svg>
47
+ `,
48
+ eyedropper: `
49
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eyedropper" viewBox="0 0 16 16">
50
+ <path d="M13.354.646a1.207 1.207 0 0 0-1.708 0L8.5 3.793l-.646-.647a.5.5 0 1 0-.708.708L8.293 5l-7.147 7.146A.5.5 0 0 0 1 12.5v1.793l-.854.853a.5.5 0 1 0 .708.707L1.707 15H3.5a.5.5 0 0 0 .354-.146L11 7.707l1.146 1.147a.5.5 0 0 0 .708-.708l-.647-.646 3.147-3.146a1.207 1.207 0 0 0 0-1.708l-2-2zM2 12.707l7-7L10.293 7l-7 7H2v-1.293z"></path>
51
+ </svg>
52
+ `,
53
+ "grip-vertical": `
54
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-grip-vertical" viewBox="0 0 16 16">
55
+ <path d="M7 2a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM7 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM7 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-3 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-3 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"></path>
56
+ </svg>
57
+ `,
58
+ indeterminate: `
59
+ <svg part="indeterminate-icon" class="checkbox__icon" viewBox="0 0 16 16">
60
+ <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round">
61
+ <g stroke="currentColor" stroke-width="2">
62
+ <g transform="translate(2.285714, 6.857143)">
63
+ <path d="M10.2857143,1.14285714 L1.14285714,1.14285714"></path>
64
+ </g>
65
+ </g>
66
+ </g>
67
+ </svg>
68
+ `,
69
+ "person-fill": `
70
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-person-fill" viewBox="0 0 16 16">
71
+ <path d="M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/>
72
+ </svg>
73
+ `,
74
+ "play-fill": `
75
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-play-fill" viewBox="0 0 16 16">
76
+ <path d="m11.596 8.697-6.363 3.692c-.54.313-1.233-.066-1.233-.697V4.308c0-.63.692-1.01 1.233-.696l6.363 3.692a.802.802 0 0 1 0 1.393z"></path>
77
+ </svg>
78
+ `,
79
+ "pause-fill": `
80
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-pause-fill" viewBox="0 0 16 16">
81
+ <path d="M5.5 3.5A1.5 1.5 0 0 1 7 5v6a1.5 1.5 0 0 1-3 0V5a1.5 1.5 0 0 1 1.5-1.5zm5 0A1.5 1.5 0 0 1 12 5v6a1.5 1.5 0 0 1-3 0V5a1.5 1.5 0 0 1 1.5-1.5z"></path>
82
+ </svg>
83
+ `,
84
+ radio: `
85
+ <svg part="checked-icon" class="radio__icon" viewBox="0 0 16 16">
86
+ <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
87
+ <g fill="currentColor">
88
+ <circle cx="8" cy="8" r="3.42857143"></circle>
89
+ </g>
90
+ </g>
91
+ </svg>
92
+ `,
93
+ "star-fill": `
94
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-star-fill" viewBox="0 0 16 16">
95
+ <path d="M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z"/>
96
+ </svg>
97
+ `,
98
+ "x-lg": `
99
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x-lg" viewBox="0 0 16 16">
100
+ <path d="M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854Z"/>
101
+ </svg>
102
+ `,
103
+ "x-circle-fill": `
104
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x-circle-fill" viewBox="0 0 16 16">
105
+ <path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM5.354 4.646a.5.5 0 1 0-.708.708L7.293 8l-2.647 2.646a.5.5 0 0 0 .708.708L8 8.707l2.646 2.647a.5.5 0 0 0 .708-.708L8.707 8l2.647-2.646a.5.5 0 0 0-.708-.708L8 7.293 5.354 4.646z"></path>
106
+ </svg>
107
+ `
108
+ };
109
+ var systemLibrary = {
110
+ name: "system",
111
+ resolver: (name) => {
112
+ if (name in icons) {
113
+ return `data:image/svg+xml,${encodeURIComponent(icons[name])}`;
114
+ }
115
+ return "";
116
+ }
117
+ };
118
+ var library_system_default = systemLibrary;
119
+
120
+ export {
121
+ library_system_default
122
+ };
@@ -0,0 +1,19 @@
1
+ import {
2
+ component_styles_default
3
+ } from "./chunk.TUVJKY7S.js";
4
+
5
+ // src/components/breadcrumb/breadcrumb.styles.ts
6
+ import { css } from "lit";
7
+ var breadcrumb_styles_default = css`
8
+ ${component_styles_default}
9
+
10
+ .breadcrumb {
11
+ display: flex;
12
+ align-items: center;
13
+ flex-wrap: wrap;
14
+ }
15
+ `;
16
+
17
+ export {
18
+ breadcrumb_styles_default
19
+ };
@@ -0,0 +1,61 @@
1
+ import {
2
+ breadcrumb_styles_default
3
+ } from "./chunk.IGYXUK7A.js";
4
+ import {
5
+ LocalizeController
6
+ } from "./chunk.5XL2LZLC.js";
7
+ import {
8
+ ShoelaceElement
9
+ } from "./chunk.YCXTCVAZ.js";
10
+ import {
11
+ __decorateClass
12
+ } from "./chunk.6M63UXML.js";
13
+
14
+ // src/components/breadcrumb/breadcrumb.ts
15
+ import { html } from "lit";
16
+ import { customElement, query } from "lit/decorators.js";
17
+ var DSABreadcrumb = class extends ShoelaceElement {
18
+ constructor() {
19
+ super(...arguments);
20
+ this.localize = new LocalizeController(this);
21
+ }
22
+ handleSlotChange() {
23
+ const items = [
24
+ ...this.defaultSlot.assignedElements({ flatten: true })
25
+ ].filter(
26
+ (item) => item.tagName.toLowerCase() === "dsa-breadcrumb-item"
27
+ );
28
+ items.forEach((item, index) => {
29
+ if (index === items.length - 1) {
30
+ item.setAttribute("aria-current", "page");
31
+ } else {
32
+ item.removeAttribute("aria-current");
33
+ }
34
+ });
35
+ }
36
+ render() {
37
+ return html`
38
+ <nav
39
+ part="base"
40
+ class="breadcrumb"
41
+ aria-label=${this.localize.term("youAreHere")}
42
+ role="navigation"
43
+ >
44
+ <ol>
45
+ <slot @slotchange=${this.handleSlotChange}></slot>
46
+ </ol>
47
+ </nav>
48
+ `;
49
+ }
50
+ };
51
+ DSABreadcrumb.styles = breadcrumb_styles_default;
52
+ __decorateClass([
53
+ query("slot")
54
+ ], DSABreadcrumb.prototype, "defaultSlot", 2);
55
+ DSABreadcrumb = __decorateClass([
56
+ customElement("dsa-breadcrumb")
57
+ ], DSABreadcrumb);
58
+
59
+ export {
60
+ DSABreadcrumb
61
+ };
@@ -0,0 +1,25 @@
1
+ import {
2
+ component_styles_default
3
+ } from "./chunk.TUVJKY7S.js";
4
+
5
+ // src/components/visually-hidden/visually-hidden.styles.ts
6
+ import { css } from "lit";
7
+ var visually_hidden_styles_default = css`
8
+ ${component_styles_default}
9
+
10
+ :host(:not(:focus-within)) {
11
+ position: absolute !important;
12
+ width: 1px !important;
13
+ height: 1px !important;
14
+ clip: rect(0 0 0 0) !important;
15
+ clip-path: inset(50%) !important;
16
+ border: none !important;
17
+ overflow: hidden !important;
18
+ white-space: nowrap !important;
19
+ padding: 0 !important;
20
+ }
21
+ `;
22
+
23
+ export {
24
+ visually_hidden_styles_default
25
+ };