@solid-design-system/components 7.0.0-next.9 → 7.0.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 (735) hide show
  1. package/cdn/chunks/{chunk.TS6S25HT.js → chunk.2AR7OD3J.js} +2 -2
  2. package/cdn/chunks/{chunk.6A2XPA27.js → chunk.2ITHO4DN.js} +2 -2
  3. package/cdn/chunks/{chunk.ARA5JW32.js → chunk.2LXNC6H3.js} +2 -2
  4. package/cdn/chunks/{chunk.QXTQ4QBZ.js → chunk.3AGXZWRW.js} +3 -3
  5. package/cdn/chunks/{chunk.WHDOGCAD.js → chunk.3ESWKAZS.js} +1 -1
  6. package/cdn/chunks/{chunk.V3TQLJF2.js → chunk.3W72NBFO.js} +1 -1
  7. package/cdn/chunks/chunk.3ZO6YY7I.js +2 -0
  8. package/cdn/chunks/{chunk.AUZKCMXB.js → chunk.552X4W43.js} +1 -1
  9. package/cdn/chunks/{chunk.KDTVJE37.js → chunk.5KXVHZV5.js} +2 -2
  10. package/cdn/chunks/{chunk.UPV2DLDG.js → chunk.6O5DTJMU.js} +2 -2
  11. package/cdn/chunks/{chunk.7O3WO7T4.js → chunk.7RGHHNKJ.js} +1 -1
  12. package/cdn/chunks/{chunk.VAQE66S7.js → chunk.A2EU2YJG.js} +2 -2
  13. package/cdn/chunks/{chunk.7USKB2GO.js → chunk.ADMPVU62.js} +1 -1
  14. package/cdn/chunks/{chunk.U3X6ZYRC.js → chunk.AI7EFEUE.js} +1 -1
  15. package/cdn/chunks/{chunk.3VTWQPQB.js → chunk.AOGCHS73.js} +2 -2
  16. package/cdn/chunks/{chunk.55B57RXL.js → chunk.AZUI44B5.js} +1 -1
  17. package/cdn/chunks/{chunk.NSAUFZ4I.js → chunk.B3PR5MVH.js} +1 -1
  18. package/cdn/chunks/{chunk.UFWE6XC3.js → chunk.B4R4H2RH.js} +1 -1
  19. package/cdn/chunks/{chunk.KZLMAANO.js → chunk.CPQBVK5K.js} +1 -1
  20. package/cdn/chunks/{chunk.JTBZGOCE.js → chunk.F4VKYXZU.js} +2 -2
  21. package/cdn/chunks/chunk.F5IUPQVT.js +2 -0
  22. package/cdn/chunks/{chunk.6JKZ63QX.js → chunk.FAGCRWAX.js} +2 -2
  23. package/cdn/chunks/{chunk.DEC3VKXA.js → chunk.FFI6YSXU.js} +1 -1
  24. package/cdn/chunks/chunk.GA5I2MP7.js +6 -0
  25. package/cdn/chunks/{chunk.H5ODW4DI.js → chunk.GBGRCCRP.js} +1 -1
  26. package/cdn/chunks/chunk.GG7UP3MH.js +12 -0
  27. package/cdn/chunks/{chunk.J7SSJXR3.js → chunk.GH4YN7AR.js} +1 -1
  28. package/cdn/chunks/{chunk.CQI2RS2L.js → chunk.GIARN4UP.js} +2 -2
  29. package/cdn/chunks/{chunk.DFCHDZDG.js → chunk.GMK4GUJU.js} +2 -2
  30. package/cdn/chunks/{chunk.WZS3PEEQ.js → chunk.GUY5KRI5.js} +1 -1
  31. package/{cdn-versioned/chunks/chunk.RFVQLD5K.js → cdn/chunks/chunk.H3V3YZCR.js} +2 -2
  32. package/cdn/chunks/{chunk.RJIOLFBG.js → chunk.I6YCX5RP.js} +2 -2
  33. package/cdn/chunks/{chunk.OKAUTL3G.js → chunk.I7JUSAUC.js} +1 -1
  34. package/cdn/chunks/{chunk.U7TS5SGA.js → chunk.J4FJ2SAP.js} +1 -1
  35. package/cdn/chunks/{chunk.XHWQ4DCO.js → chunk.KSZUHYF7.js} +2 -2
  36. package/cdn/chunks/{chunk.RSP57JUX.js → chunk.LQ2TVIG5.js} +2 -2
  37. package/cdn/chunks/{chunk.ZCLAPTH6.js → chunk.LWLOMMIE.js} +9 -22
  38. package/cdn/chunks/{chunk.B4BAFEZE.js → chunk.MADHUCSI.js} +2 -2
  39. package/cdn/chunks/{chunk.SVZV3YHZ.js → chunk.MDIQLQU6.js} +1 -1
  40. package/cdn/chunks/{chunk.FCBNIOWP.js → chunk.MGUGARHV.js} +1 -1
  41. package/cdn/chunks/chunk.MR54F6CV.js +2 -0
  42. package/cdn/chunks/{chunk.FPC4KJUF.js → chunk.MU62OKKN.js} +1 -1
  43. package/cdn/chunks/{chunk.PYHYYOBE.js → chunk.NJIXLFKZ.js} +2 -2
  44. package/cdn/chunks/{chunk.S63R2AXT.js → chunk.NWNTRKHL.js} +3 -3
  45. package/cdn/chunks/{chunk.YAT66EQJ.js → chunk.O2KXD6V3.js} +1 -1
  46. package/cdn/chunks/{chunk.NISL6W7W.js → chunk.O7SKSXCU.js} +2 -2
  47. package/cdn/chunks/{chunk.LM5SJXYL.js → chunk.OL5UARRQ.js} +2 -2
  48. package/{cdn-versioned/chunks/chunk.NOW64QHB.js → cdn/chunks/chunk.PN4FJAN5.js} +2 -2
  49. package/cdn/chunks/{chunk.3RDG7HQT.js → chunk.Q64TZBRZ.js} +2 -2
  50. package/cdn/chunks/{chunk.LPOPOGGB.js → chunk.QDREJDJ2.js} +1 -1
  51. package/cdn/chunks/{chunk.GX5EMWG2.js → chunk.QFWT54X4.js} +2 -2
  52. package/cdn/chunks/{chunk.RGSF2XLM.js → chunk.REMEEDIQ.js} +2 -2
  53. package/cdn/chunks/{chunk.N2PGOHWH.js → chunk.RFPANR7F.js} +2 -2
  54. package/cdn/chunks/{chunk.OR64TDYE.js → chunk.RLALDY5L.js} +1 -1
  55. package/cdn/chunks/{chunk.CWRWVUT3.js → chunk.RWLAIGRI.js} +1 -1
  56. package/cdn/chunks/chunk.T35R3Z5M.js +2 -0
  57. package/cdn/chunks/chunk.UTB3OKJT.js +2 -0
  58. package/cdn/chunks/{chunk.CVB6PQL3.js → chunk.VWI56VMW.js} +3 -3
  59. package/cdn/chunks/{chunk.KITZT7MU.js → chunk.VWYQ4GYH.js} +2 -2
  60. package/cdn/chunks/{chunk.LYJX2BW7.js → chunk.WZLYCJJA.js} +1 -1
  61. package/cdn/chunks/{chunk.2XFIFYRX.js → chunk.YOEY6E2E.js} +2 -2
  62. package/cdn/chunks/chunk.Z44RDBCE.js +26 -0
  63. package/cdn/chunks/{chunk.PUC7BGPD.js → chunk.Z6PXRBBW.js} +1 -1
  64. package/cdn/chunks/{chunk.WWHH2NDP.js → chunk.ZDXDR6L6.js} +1 -1
  65. package/cdn/chunks/{chunk.OYCIMCNH.js → chunk.ZHVSNIJ2.js} +2 -2
  66. package/cdn/chunks/chunk.ZNLOJFYY.js +2 -0
  67. package/cdn/components/accordion/accordion.js +1 -1
  68. package/cdn/components/accordion-group/accordion-group.js +1 -1
  69. package/cdn/components/animation/animation.js +1 -1
  70. package/cdn/components/audio/audio.js +1 -1
  71. package/cdn/components/badge/badge.js +1 -1
  72. package/cdn/components/brandshape/brandshape.js +1 -1
  73. package/cdn/components/breadcrumb/breadcrumb.js +1 -1
  74. package/cdn/components/breadcrumb-item/breadcrumb-item.js +1 -1
  75. package/cdn/components/button/button.js +1 -1
  76. package/cdn/components/button-group/button-group.js +1 -1
  77. package/cdn/components/carousel/carousel.js +1 -1
  78. package/cdn/components/carousel-item/carousel-item.js +1 -1
  79. package/cdn/components/checkbox/checkbox.js +1 -1
  80. package/cdn/components/checkbox-group/checkbox-group.js +1 -1
  81. package/cdn/components/combobox/combobox.js +1 -1
  82. package/cdn/components/datepicker/datepicker.js +1 -1
  83. package/cdn/components/dialog/dialog.js +1 -1
  84. package/cdn/components/divider/divider.js +1 -1
  85. package/cdn/components/drawer/drawer.js +1 -1
  86. package/cdn/components/dropdown/dropdown.js +1 -1
  87. package/cdn/components/expandable/expandable.js +1 -1
  88. package/cdn/components/file-selector/file-selector.js +1 -1
  89. package/cdn/components/flipcard/flipcard.js +1 -1
  90. package/cdn/components/header/header.js +1 -1
  91. package/cdn/components/icon/icon.js +1 -1
  92. package/cdn/components/icon/library.internal.d.ts +30 -32
  93. package/cdn/components/icon/library.internal.js +1 -1
  94. package/cdn/components/icon/library.js +1 -1
  95. package/cdn/components/icon/library.multi-theming.js +1 -1
  96. package/cdn/components/icon/library.status.d.ts +9 -8
  97. package/cdn/components/icon/library.status.js +1 -1
  98. package/cdn/components/include/include.js +1 -1
  99. package/cdn/components/input/input.js +1 -1
  100. package/cdn/components/link/link.js +1 -1
  101. package/cdn/components/loader/loader.js +1 -1
  102. package/cdn/components/map-marker/map-marker.js +1 -1
  103. package/cdn/components/menu/menu.js +1 -1
  104. package/cdn/components/menu-item/menu-item.js +1 -1
  105. package/cdn/components/navigation-item/navigation-item.js +1 -1
  106. package/cdn/components/notification/notification.js +1 -1
  107. package/cdn/components/optgroup/optgroup.js +1 -1
  108. package/cdn/components/option/option.js +1 -1
  109. package/cdn/components/popup/popup.js +1 -1
  110. package/cdn/components/progress-bar/progress-bar.js +1 -1
  111. package/cdn/components/quickfact/quickfact.js +1 -1
  112. package/cdn/components/radio/radio.js +1 -1
  113. package/cdn/components/radio-button/radio-button.js +1 -1
  114. package/cdn/components/radio-group/radio-group.js +1 -1
  115. package/cdn/components/range/range.js +1 -1
  116. package/cdn/components/range-tick/range-tick.js +1 -1
  117. package/cdn/components/scrollable/scrollable.js +1 -1
  118. package/cdn/components/select/select.js +1 -1
  119. package/cdn/components/skeleton/skeleton.js +1 -1
  120. package/cdn/components/step/step.js +1 -1
  121. package/cdn/components/step-group/step-group.js +1 -1
  122. package/cdn/components/switch/switch.js +1 -1
  123. package/cdn/components/tab/tab.js +1 -1
  124. package/cdn/components/tab-group/tab-group.js +1 -1
  125. package/cdn/components/tab-panel/tab-panel.js +1 -1
  126. package/cdn/components/tag/tag.js +1 -1
  127. package/cdn/components/teaser/teaser.js +1 -1
  128. package/cdn/components/teaser-media/teaser-media.js +1 -1
  129. package/cdn/components/textarea/textarea.js +1 -1
  130. package/cdn/components/theme-listener/theme-listener.js +1 -1
  131. package/cdn/components/tooltip/tooltip.js +1 -1
  132. package/cdn/components/video/video.js +1 -1
  133. package/cdn/custom-elements.json +4 -70
  134. package/cdn/solid-components.bundle.js +89 -102
  135. package/cdn/solid-components.css +4 -4
  136. package/cdn/solid-components.iife.js +89 -102
  137. package/cdn/solid-components.js +1 -1
  138. package/cdn/utilities/autocomplete-config.js +1 -1
  139. package/cdn/utilities/icon-library.js +1 -1
  140. package/cdn/vscode.html-custom-data.json +8 -8
  141. package/cdn/web-types.json +9 -9
  142. package/cdn-versioned/chunks/chunk.2AR7OD3J.js +2 -0
  143. package/cdn-versioned/chunks/chunk.2ITHO4DN.js +12 -0
  144. package/cdn-versioned/chunks/chunk.2LXNC6H3.js +2 -0
  145. package/cdn-versioned/chunks/chunk.3AGXZWRW.js +12 -0
  146. package/cdn-versioned/chunks/{chunk.WHDOGCAD.js → chunk.3ESWKAZS.js} +2 -2
  147. package/cdn-versioned/chunks/{chunk.V3TQLJF2.js → chunk.3W72NBFO.js} +2 -2
  148. package/cdn-versioned/chunks/chunk.3ZO6YY7I.js +2 -0
  149. package/cdn-versioned/chunks/{chunk.AUZKCMXB.js → chunk.552X4W43.js} +1 -1
  150. package/cdn-versioned/chunks/chunk.5KXVHZV5.js +2 -0
  151. package/cdn-versioned/chunks/{chunk.UPV2DLDG.js → chunk.6O5DTJMU.js} +2 -2
  152. package/cdn-versioned/chunks/{chunk.7O3WO7T4.js → chunk.7RGHHNKJ.js} +2 -2
  153. package/cdn-versioned/chunks/chunk.A2EU2YJG.js +2 -0
  154. package/cdn-versioned/chunks/chunk.ADMPVU62.js +2 -0
  155. package/cdn-versioned/chunks/{chunk.U3X6ZYRC.js → chunk.AI7EFEUE.js} +2 -2
  156. package/cdn-versioned/chunks/chunk.AOGCHS73.js +2 -0
  157. package/cdn-versioned/chunks/chunk.AZUI44B5.js +2 -0
  158. package/cdn-versioned/chunks/chunk.B3PR5MVH.js +4 -0
  159. package/cdn-versioned/chunks/chunk.B4R4H2RH.js +2 -0
  160. package/cdn-versioned/chunks/{chunk.KZLMAANO.js → chunk.CPQBVK5K.js} +2 -2
  161. package/cdn-versioned/chunks/chunk.DSKB3SEU.js +1 -1
  162. package/cdn-versioned/chunks/chunk.F4VKYXZU.js +2 -0
  163. package/cdn-versioned/chunks/chunk.F5IUPQVT.js +2 -0
  164. package/cdn-versioned/chunks/chunk.FAGCRWAX.js +5 -0
  165. package/cdn-versioned/chunks/chunk.FFI6YSXU.js +2 -0
  166. package/cdn-versioned/chunks/{chunk.MIROXJW4.js → chunk.GA5I2MP7.js} +2 -2
  167. package/cdn-versioned/chunks/{chunk.H5ODW4DI.js → chunk.GBGRCCRP.js} +2 -2
  168. package/cdn-versioned/chunks/chunk.GG7UP3MH.js +12 -0
  169. package/cdn-versioned/chunks/{chunk.J7SSJXR3.js → chunk.GH4YN7AR.js} +2 -2
  170. package/cdn-versioned/chunks/{chunk.CQI2RS2L.js → chunk.GIARN4UP.js} +2 -2
  171. package/cdn-versioned/chunks/{chunk.DFCHDZDG.js → chunk.GMK4GUJU.js} +2 -2
  172. package/cdn-versioned/chunks/chunk.GUY5KRI5.js +2 -0
  173. package/{cdn/chunks/chunk.RFVQLD5K.js → cdn-versioned/chunks/chunk.H3V3YZCR.js} +2 -2
  174. package/cdn-versioned/chunks/chunk.I6YCX5RP.js +2 -0
  175. package/cdn-versioned/chunks/chunk.I7JUSAUC.js +2 -0
  176. package/cdn-versioned/chunks/{chunk.U7TS5SGA.js → chunk.J4FJ2SAP.js} +1 -1
  177. package/cdn-versioned/chunks/chunk.KSZUHYF7.js +2 -0
  178. package/cdn-versioned/chunks/chunk.LQ2TVIG5.js +2 -0
  179. package/cdn-versioned/chunks/{chunk.ZCLAPTH6.js → chunk.LWLOMMIE.js} +9 -22
  180. package/cdn-versioned/chunks/chunk.LZRL7OLU.js +1 -1
  181. package/cdn-versioned/chunks/chunk.MADHUCSI.js +11 -0
  182. package/cdn-versioned/chunks/{chunk.SVZV3YHZ.js → chunk.MDIQLQU6.js} +2 -2
  183. package/cdn-versioned/chunks/chunk.MGUGARHV.js +2 -0
  184. package/cdn-versioned/chunks/chunk.MR54F6CV.js +2 -0
  185. package/cdn-versioned/chunks/{chunk.FPC4KJUF.js → chunk.MU62OKKN.js} +2 -2
  186. package/cdn-versioned/chunks/{chunk.PYHYYOBE.js → chunk.NJIXLFKZ.js} +2 -2
  187. package/cdn-versioned/chunks/{chunk.S63R2AXT.js → chunk.NWNTRKHL.js} +3 -3
  188. package/cdn-versioned/chunks/{chunk.YAT66EQJ.js → chunk.O2KXD6V3.js} +3 -3
  189. package/cdn-versioned/chunks/chunk.O7SKSXCU.js +2 -0
  190. package/cdn-versioned/chunks/chunk.OL5UARRQ.js +5 -0
  191. package/{cdn/chunks/chunk.NOW64QHB.js → cdn-versioned/chunks/chunk.PN4FJAN5.js} +2 -2
  192. package/cdn-versioned/chunks/chunk.Q64TZBRZ.js +2 -0
  193. package/cdn-versioned/chunks/{chunk.LPOPOGGB.js → chunk.QDREJDJ2.js} +2 -2
  194. package/cdn-versioned/chunks/chunk.QFWT54X4.js +2 -0
  195. package/cdn-versioned/chunks/chunk.REMEEDIQ.js +2 -0
  196. package/cdn-versioned/chunks/chunk.RFPANR7F.js +2 -0
  197. package/cdn-versioned/chunks/{chunk.OR64TDYE.js → chunk.RLALDY5L.js} +2 -2
  198. package/cdn-versioned/chunks/chunk.RWLAIGRI.js +2 -0
  199. package/cdn-versioned/chunks/chunk.T35R3Z5M.js +2 -0
  200. package/cdn-versioned/chunks/chunk.UTB3OKJT.js +2 -0
  201. package/cdn-versioned/chunks/chunk.VWI56VMW.js +12 -0
  202. package/cdn-versioned/chunks/{chunk.KITZT7MU.js → chunk.VWYQ4GYH.js} +2 -2
  203. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  204. package/cdn-versioned/chunks/{chunk.LYJX2BW7.js → chunk.WZLYCJJA.js} +2 -2
  205. package/cdn-versioned/chunks/{chunk.2XFIFYRX.js → chunk.YOEY6E2E.js} +2 -2
  206. package/cdn-versioned/chunks/chunk.Z44RDBCE.js +26 -0
  207. package/cdn-versioned/chunks/{chunk.PUC7BGPD.js → chunk.Z6PXRBBW.js} +2 -2
  208. package/cdn-versioned/chunks/{chunk.WWHH2NDP.js → chunk.ZDXDR6L6.js} +2 -2
  209. package/cdn-versioned/chunks/chunk.ZHVSNIJ2.js +2 -0
  210. package/cdn-versioned/chunks/chunk.ZNLOJFYY.js +2 -0
  211. package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
  212. package/cdn-versioned/components/accordion/accordion.js +1 -1
  213. package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  214. package/cdn-versioned/components/accordion-group/accordion-group.js +1 -1
  215. package/cdn-versioned/components/animation/animation.d.ts +1 -1
  216. package/cdn-versioned/components/animation/animation.js +1 -1
  217. package/cdn-versioned/components/audio/audio.d.ts +1 -1
  218. package/cdn-versioned/components/audio/audio.js +1 -1
  219. package/cdn-versioned/components/badge/badge.d.ts +1 -1
  220. package/cdn-versioned/components/badge/badge.js +1 -1
  221. package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
  222. package/cdn-versioned/components/brandshape/brandshape.js +1 -1
  223. package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  224. package/cdn-versioned/components/breadcrumb/breadcrumb.js +1 -1
  225. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  226. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.js +1 -1
  227. package/cdn-versioned/components/button/button.d.ts +1 -1
  228. package/cdn-versioned/components/button/button.js +1 -1
  229. package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
  230. package/cdn-versioned/components/button-group/button-group.js +1 -1
  231. package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
  232. package/cdn-versioned/components/carousel/carousel.js +1 -1
  233. package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  234. package/cdn-versioned/components/carousel-item/carousel-item.js +1 -1
  235. package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
  236. package/cdn-versioned/components/checkbox/checkbox.js +1 -1
  237. package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  238. package/cdn-versioned/components/checkbox-group/checkbox-group.js +1 -1
  239. package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
  240. package/cdn-versioned/components/combobox/combobox.js +1 -1
  241. package/cdn-versioned/components/datepicker/datepicker.d.ts +1 -1
  242. package/cdn-versioned/components/datepicker/datepicker.js +1 -1
  243. package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
  244. package/cdn-versioned/components/dialog/dialog.js +1 -1
  245. package/cdn-versioned/components/divider/divider.d.ts +1 -1
  246. package/cdn-versioned/components/divider/divider.js +1 -1
  247. package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
  248. package/cdn-versioned/components/drawer/drawer.js +1 -1
  249. package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
  250. package/cdn-versioned/components/dropdown/dropdown.js +1 -1
  251. package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
  252. package/cdn-versioned/components/expandable/expandable.js +1 -1
  253. package/cdn-versioned/components/file-selector/file-selector.d.ts +1 -1
  254. package/cdn-versioned/components/file-selector/file-selector.js +1 -1
  255. package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
  256. package/cdn-versioned/components/flipcard/flipcard.js +1 -1
  257. package/cdn-versioned/components/header/header.d.ts +1 -1
  258. package/cdn-versioned/components/header/header.js +1 -1
  259. package/cdn-versioned/components/icon/icon.d.ts +1 -1
  260. package/cdn-versioned/components/icon/icon.js +1 -1
  261. package/cdn-versioned/components/icon/library.internal.d.ts +30 -32
  262. package/cdn-versioned/components/icon/library.internal.js +1 -1
  263. package/cdn-versioned/components/icon/library.js +1 -1
  264. package/cdn-versioned/components/icon/library.multi-theming.js +1 -1
  265. package/cdn-versioned/components/icon/library.status.d.ts +9 -8
  266. package/cdn-versioned/components/icon/library.status.js +1 -1
  267. package/cdn-versioned/components/include/include.d.ts +1 -1
  268. package/cdn-versioned/components/include/include.js +1 -1
  269. package/cdn-versioned/components/input/input.d.ts +1 -1
  270. package/cdn-versioned/components/input/input.js +1 -1
  271. package/cdn-versioned/components/link/link.d.ts +1 -1
  272. package/cdn-versioned/components/link/link.js +1 -1
  273. package/cdn-versioned/components/loader/loader.d.ts +1 -1
  274. package/cdn-versioned/components/loader/loader.js +1 -1
  275. package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
  276. package/cdn-versioned/components/map-marker/map-marker.js +1 -1
  277. package/cdn-versioned/components/menu/menu.d.ts +1 -1
  278. package/cdn-versioned/components/menu/menu.js +1 -1
  279. package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
  280. package/cdn-versioned/components/menu-item/menu-item.js +1 -1
  281. package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  282. package/cdn-versioned/components/navigation-item/navigation-item.js +1 -1
  283. package/cdn-versioned/components/notification/notification.d.ts +1 -1
  284. package/cdn-versioned/components/notification/notification.js +1 -1
  285. package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
  286. package/cdn-versioned/components/optgroup/optgroup.js +1 -1
  287. package/cdn-versioned/components/option/option.d.ts +1 -1
  288. package/cdn-versioned/components/option/option.js +1 -1
  289. package/cdn-versioned/components/popup/popup.d.ts +1 -1
  290. package/cdn-versioned/components/popup/popup.js +1 -1
  291. package/cdn-versioned/components/progress-bar/progress-bar.d.ts +1 -1
  292. package/cdn-versioned/components/progress-bar/progress-bar.js +1 -1
  293. package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
  294. package/cdn-versioned/components/quickfact/quickfact.js +1 -1
  295. package/cdn-versioned/components/radio/radio.d.ts +1 -1
  296. package/cdn-versioned/components/radio/radio.js +1 -1
  297. package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
  298. package/cdn-versioned/components/radio-button/radio-button.js +1 -1
  299. package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
  300. package/cdn-versioned/components/radio-group/radio-group.js +1 -1
  301. package/cdn-versioned/components/range/range.d.ts +1 -1
  302. package/cdn-versioned/components/range/range.js +1 -1
  303. package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
  304. package/cdn-versioned/components/range-tick/range-tick.js +1 -1
  305. package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
  306. package/cdn-versioned/components/scrollable/scrollable.js +1 -1
  307. package/cdn-versioned/components/select/select.d.ts +1 -1
  308. package/cdn-versioned/components/select/select.js +1 -1
  309. package/cdn-versioned/components/skeleton/skeleton.d.ts +1 -1
  310. package/cdn-versioned/components/skeleton/skeleton.js +1 -1
  311. package/cdn-versioned/components/step/step.d.ts +1 -1
  312. package/cdn-versioned/components/step/step.js +1 -1
  313. package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
  314. package/cdn-versioned/components/step-group/step-group.js +1 -1
  315. package/cdn-versioned/components/switch/switch.d.ts +1 -1
  316. package/cdn-versioned/components/switch/switch.js +1 -1
  317. package/cdn-versioned/components/tab/tab.d.ts +1 -1
  318. package/cdn-versioned/components/tab/tab.js +1 -1
  319. package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
  320. package/cdn-versioned/components/tab-group/tab-group.js +1 -1
  321. package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  322. package/cdn-versioned/components/tab-panel/tab-panel.js +1 -1
  323. package/cdn-versioned/components/tag/tag.d.ts +1 -1
  324. package/cdn-versioned/components/tag/tag.js +1 -1
  325. package/cdn-versioned/components/teaser/teaser.js +1 -1
  326. package/cdn-versioned/components/teaser-media/teaser-media.js +1 -1
  327. package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
  328. package/cdn-versioned/components/textarea/textarea.js +1 -1
  329. package/cdn-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  330. package/cdn-versioned/components/theme-listener/theme-listener.js +1 -1
  331. package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
  332. package/cdn-versioned/components/tooltip/tooltip.js +1 -1
  333. package/cdn-versioned/components/video/video.d.ts +1 -1
  334. package/cdn-versioned/components/video/video.js +1 -1
  335. package/cdn-versioned/custom-elements.json +269 -335
  336. package/cdn-versioned/internal/form.js +2 -2
  337. package/cdn-versioned/solid-components.bundle.js +99 -112
  338. package/cdn-versioned/solid-components.css +7 -7
  339. package/cdn-versioned/solid-components.iife.js +99 -112
  340. package/cdn-versioned/solid-components.js +1 -1
  341. package/cdn-versioned/utilities/autocomplete-config.js +1 -1
  342. package/cdn-versioned/utilities/icon-library.js +1 -1
  343. package/cdn-versioned/vscode.html-custom-data.json +120 -120
  344. package/cdn-versioned/web-types.json +178 -178
  345. package/dist/chunks/{chunk.XBDLZTHZ.js → chunk.365UZIBA.js} +3 -3
  346. package/dist/chunks/{chunk.Z3HEYXRX.js → chunk.37JWARFZ.js} +69 -33
  347. package/dist/chunks/{chunk.UYQP3VDT.js → chunk.3J7VZBTS.js} +3 -3
  348. package/dist/chunks/{chunk.VHQQB75I.js → chunk.3X6YKZV2.js} +2 -2
  349. package/dist/chunks/{chunk.JHSA2DI2.js → chunk.4HAEWSYV.js} +3 -3
  350. package/dist/chunks/{chunk.266V4W27.js → chunk.4PVMCUXL.js} +2 -2
  351. package/dist/chunks/{chunk.INSUQDO7.js → chunk.4Q7OBQ4W.js} +4 -4
  352. package/dist/chunks/{chunk.QGERTGJH.js → chunk.4VWOZ477.js} +1 -1
  353. package/dist/chunks/{chunk.4TPOL3LB.js → chunk.4X2JEQJ2.js} +4 -1
  354. package/dist/chunks/{chunk.Y6QQUPB5.js → chunk.4XVYXK3Y.js} +1 -1
  355. package/dist/chunks/{chunk.AJVSDITF.js → chunk.53ALFWOE.js} +1 -1
  356. package/dist/chunks/{chunk.LIPCVYL3.js → chunk.5M5REO5V.js} +3 -3
  357. package/dist/chunks/{chunk.6OYBQ6CO.js → chunk.6VFD5NZR.js} +1 -1
  358. package/dist/chunks/{chunk.6MSQDSJK.js → chunk.7C3QYV5V.js} +2 -2
  359. package/dist/chunks/{chunk.4USTQEWG.js → chunk.7XGGN33M.js} +3 -3
  360. package/dist/chunks/{chunk.UTW3WRV2.js → chunk.AEUPKYPF.js} +1 -1
  361. package/dist/chunks/{chunk.3JGMLVGL.js → chunk.AOCDBQ25.js} +3 -3
  362. package/dist/chunks/{chunk.I57THEU4.js → chunk.AQILCWGG.js} +2 -2
  363. package/dist/chunks/{chunk.F3C76UKB.js → chunk.BEIIUIHO.js} +1 -1
  364. package/dist/chunks/{chunk.PMM3MDLE.js → chunk.BNZVXMHF.js} +2 -2
  365. package/dist/chunks/{chunk.FQJPWM4Z.js → chunk.D5AXUWNZ.js} +4 -4
  366. package/dist/chunks/{chunk.5VCVDFRJ.js → chunk.DNE5ASH4.js} +1 -1
  367. package/dist/chunks/{chunk.RGVIOXPM.js → chunk.DXBLDNFC.js} +1 -1
  368. package/dist/chunks/{chunk.EVGV2PWW.js → chunk.DZ4M5DL7.js} +1 -1
  369. package/dist/chunks/{chunk.HIR2MKW6.js → chunk.EVCPPJPM.js} +1 -1
  370. package/dist/chunks/{chunk.5R5MY3VD.js → chunk.FX6SKOH4.js} +2 -2
  371. package/dist/chunks/{chunk.C4RJM5BO.js → chunk.G2QMQ3TC.js} +1 -1
  372. package/dist/chunks/{chunk.Z462LBEB.js → chunk.GWALMBNP.js} +2 -2
  373. package/dist/chunks/{chunk.7ZKBKOS5.js → chunk.HM34VU45.js} +5 -5
  374. package/dist/chunks/{chunk.6A4DHVDL.js → chunk.IBO3DT5Q.js} +2 -2
  375. package/dist/chunks/{chunk.3MGF33VU.js → chunk.IJ7UIFUE.js} +2 -2
  376. package/dist/chunks/{chunk.DKN5SHQ2.js → chunk.JPKYXMRK.js} +2 -2
  377. package/dist/chunks/{chunk.UOMFY7RY.js → chunk.JQ3EFQAS.js} +1 -1
  378. package/dist/chunks/{chunk.CQTEYWVJ.js → chunk.KRKT2A2K.js} +3 -3
  379. package/dist/chunks/{chunk.OUFMMO37.js → chunk.L4XU56GO.js} +3 -3
  380. package/dist/chunks/{chunk.P5V6KORX.js → chunk.N2GBPM7O.js} +4 -4
  381. package/dist/chunks/{chunk.D5JLEZPO.js → chunk.N7K5KXEP.js} +1 -1
  382. package/dist/chunks/{chunk.KAWDESCC.js → chunk.N7R2AS4G.js} +3 -3
  383. package/dist/chunks/{chunk.33KST4RJ.js → chunk.O3M4QLOJ.js} +1 -1
  384. package/dist/chunks/{chunk.AFD4FHYM.js → chunk.OO2LH4SE.js} +5 -5
  385. package/dist/chunks/{chunk.G7M7XYS3.js → chunk.PPCXX2VU.js} +1 -1
  386. package/dist/chunks/chunk.PVSLBUSF.js +93 -0
  387. package/dist/chunks/{chunk.WXT5HYGA.js → chunk.PZ6BUUCP.js} +5 -5
  388. package/dist/chunks/{chunk.QD2ZQPDB.js → chunk.QAKJW5ON.js} +2 -2
  389. package/dist/chunks/{chunk.GOZXDQTL.js → chunk.QN22ZMGT.js} +4 -4
  390. package/dist/chunks/{chunk.WYS3OZYO.js → chunk.QPJTXP3H.js} +2 -2
  391. package/dist/chunks/{chunk.ZCG43UX7.js → chunk.SHN2I24K.js} +1 -1
  392. package/dist/chunks/{chunk.QOIO3YAP.js → chunk.TAXXEJSP.js} +1 -1
  393. package/dist/chunks/{chunk.GBB73ZFE.js → chunk.TDFNLRUN.js} +2 -2
  394. package/dist/chunks/{chunk.Q4LFZ4MN.js → chunk.UGGH4H2X.js} +4 -4
  395. package/dist/chunks/{chunk.IXJGPE6X.js → chunk.UP7LZTGK.js} +1 -1
  396. package/dist/chunks/{chunk.52XEAMVX.js → chunk.V52RU2QQ.js} +4 -4
  397. package/dist/chunks/{chunk.PCB2BA7U.js → chunk.VAEJX7NE.js} +1 -1
  398. package/dist/chunks/{chunk.77CINHAJ.js → chunk.WCQW4CQT.js} +1 -1
  399. package/dist/chunks/{chunk.GHWO5PUG.js → chunk.WEFWQVW5.js} +3 -3
  400. package/dist/chunks/{chunk.2ZO5TQLM.js → chunk.WJDMGITX.js} +3 -3
  401. package/dist/chunks/{chunk.JAPL7DQX.js → chunk.WR3OMWJ5.js} +2 -2
  402. package/dist/chunks/{chunk.SVAL7V6Q.js → chunk.WW2GYTA2.js} +1 -1
  403. package/dist/chunks/{chunk.WVSKCZ63.js → chunk.X43JSG7P.js} +2 -2
  404. package/dist/chunks/{chunk.BZO3OLK2.js → chunk.X76XYLWV.js} +1 -1
  405. package/dist/chunks/{chunk.3Y3V2LY4.js → chunk.XFFYITQX.js} +2 -2
  406. package/dist/chunks/{chunk.WZOVHSGU.js → chunk.YLTS3DRQ.js} +2 -2
  407. package/dist/chunks/{chunk.4BB4LNMY.js → chunk.YUF5NVHJ.js} +6 -6
  408. package/dist/chunks/{chunk.GRRHK6BP.js → chunk.Z46FZJNF.js} +1 -1
  409. package/dist/chunks/{chunk.LJ5ONJGL.js → chunk.Z6VBJGLD.js} +5 -5
  410. package/dist/chunks/{chunk.Y4XJY6Y4.js → chunk.ZSRPJGFN.js} +2 -2
  411. package/dist/components/accordion/accordion.js +7 -7
  412. package/dist/components/accordion-group/accordion-group.js +8 -8
  413. package/dist/components/animation/animation.js +2 -2
  414. package/dist/components/audio/audio.js +11 -11
  415. package/dist/components/badge/badge.js +2 -2
  416. package/dist/components/brandshape/brandshape.js +2 -2
  417. package/dist/components/breadcrumb/breadcrumb.js +9 -9
  418. package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
  419. package/dist/components/button/button.js +4 -4
  420. package/dist/components/button-group/button-group.js +2 -2
  421. package/dist/components/carousel/carousel.js +8 -8
  422. package/dist/components/carousel-item/carousel-item.js +2 -2
  423. package/dist/components/checkbox/checkbox.js +7 -7
  424. package/dist/components/checkbox-group/checkbox-group.js +7 -7
  425. package/dist/components/combobox/combobox.js +9 -9
  426. package/dist/components/datepicker/datepicker.js +9 -9
  427. package/dist/components/dialog/dialog.js +10 -10
  428. package/dist/components/divider/divider.js +2 -2
  429. package/dist/components/drawer/drawer.js +10 -10
  430. package/dist/components/dropdown/dropdown.js +3 -3
  431. package/dist/components/expandable/expandable.js +7 -7
  432. package/dist/components/file-selector/file-selector.js +10 -10
  433. package/dist/components/flipcard/flipcard.js +10 -10
  434. package/dist/components/header/header.js +2 -2
  435. package/dist/components/icon/icon.js +6 -6
  436. package/dist/components/icon/library.internal.d.ts +30 -32
  437. package/dist/components/icon/library.internal.js +1 -1
  438. package/dist/components/icon/library.js +4 -4
  439. package/dist/components/icon/library.multi-theming.js +1 -1
  440. package/dist/components/icon/library.status.d.ts +9 -8
  441. package/dist/components/icon/library.status.js +1 -1
  442. package/dist/components/include/include.js +2 -2
  443. package/dist/components/input/input.js +7 -7
  444. package/dist/components/link/link.js +2 -2
  445. package/dist/components/loader/loader.js +2 -2
  446. package/dist/components/map-marker/map-marker.js +2 -2
  447. package/dist/components/menu/menu.js +2 -2
  448. package/dist/components/menu-item/menu-item.js +2 -2
  449. package/dist/components/navigation-item/navigation-item.js +8 -8
  450. package/dist/components/notification/notification.js +10 -10
  451. package/dist/components/optgroup/optgroup.js +3 -3
  452. package/dist/components/option/option.js +7 -7
  453. package/dist/components/popup/popup.js +2 -2
  454. package/dist/components/progress-bar/progress-bar.js +2 -2
  455. package/dist/components/quickfact/quickfact.js +8 -8
  456. package/dist/components/radio/radio.js +2 -2
  457. package/dist/components/radio-button/radio-button.js +2 -2
  458. package/dist/components/radio-group/radio-group.js +4 -4
  459. package/dist/components/range/range.js +9 -9
  460. package/dist/components/range-tick/range-tick.js +2 -2
  461. package/dist/components/scrollable/scrollable.js +7 -7
  462. package/dist/components/select/select.js +9 -9
  463. package/dist/components/skeleton/skeleton.js +2 -2
  464. package/dist/components/step/step.js +7 -7
  465. package/dist/components/step-group/step-group.js +2 -2
  466. package/dist/components/switch/switch.js +2 -2
  467. package/dist/components/tab/tab.js +2 -2
  468. package/dist/components/tab-group/tab-group.js +7 -7
  469. package/dist/components/tab-panel/tab-panel.js +2 -2
  470. package/dist/components/tag/tag.js +7 -7
  471. package/dist/components/teaser/teaser.js +2 -2
  472. package/dist/components/teaser-media/teaser-media.js +2 -2
  473. package/dist/components/textarea/textarea.js +7 -7
  474. package/dist/components/theme-listener/theme-listener.js +2 -2
  475. package/dist/components/tooltip/tooltip.js +8 -8
  476. package/dist/components/video/video.js +7 -7
  477. package/dist/custom-elements.json +4 -70
  478. package/dist/solid-components.css +4 -4
  479. package/dist/solid-components.js +66 -66
  480. package/dist/utilities/autocomplete-config.js +3 -3
  481. package/dist/utilities/icon-library.js +4 -4
  482. package/dist/vscode.html-custom-data.json +8 -8
  483. package/dist/web-types.json +9 -9
  484. package/dist-versioned/chunks/{chunk.XBDLZTHZ.js → chunk.365UZIBA.js} +3 -3
  485. package/dist-versioned/chunks/{chunk.Z3HEYXRX.js → chunk.37JWARFZ.js} +69 -33
  486. package/dist-versioned/chunks/{chunk.UYQP3VDT.js → chunk.3J7VZBTS.js} +4 -4
  487. package/dist-versioned/chunks/{chunk.VHQQB75I.js → chunk.3X6YKZV2.js} +4 -4
  488. package/dist-versioned/chunks/{chunk.JHSA2DI2.js → chunk.4HAEWSYV.js} +5 -5
  489. package/dist-versioned/chunks/{chunk.266V4W27.js → chunk.4PVMCUXL.js} +13 -13
  490. package/dist-versioned/chunks/{chunk.INSUQDO7.js → chunk.4Q7OBQ4W.js} +6 -6
  491. package/dist-versioned/chunks/chunk.4VWOZ477.js +70 -0
  492. package/dist-versioned/chunks/{chunk.4TPOL3LB.js → chunk.4X2JEQJ2.js} +4 -1
  493. package/dist-versioned/chunks/{chunk.Y6QQUPB5.js → chunk.4XVYXK3Y.js} +5 -5
  494. package/dist-versioned/chunks/{chunk.AJVSDITF.js → chunk.53ALFWOE.js} +4 -4
  495. package/dist-versioned/chunks/{chunk.LIPCVYL3.js → chunk.5M5REO5V.js} +5 -5
  496. package/dist-versioned/chunks/{chunk.6OYBQ6CO.js → chunk.6VFD5NZR.js} +5 -5
  497. package/dist-versioned/chunks/{chunk.6MSQDSJK.js → chunk.7C3QYV5V.js} +6 -6
  498. package/dist-versioned/chunks/{chunk.4USTQEWG.js → chunk.7XGGN33M.js} +14 -14
  499. package/dist-versioned/chunks/{chunk.UTW3WRV2.js → chunk.AEUPKYPF.js} +6 -6
  500. package/dist-versioned/chunks/{chunk.3JGMLVGL.js → chunk.AOCDBQ25.js} +5 -5
  501. package/dist-versioned/chunks/{chunk.I57THEU4.js → chunk.AQILCWGG.js} +9 -9
  502. package/dist-versioned/chunks/{chunk.F3C76UKB.js → chunk.BEIIUIHO.js} +3 -3
  503. package/dist-versioned/chunks/{chunk.PMM3MDLE.js → chunk.BNZVXMHF.js} +4 -4
  504. package/dist-versioned/chunks/chunk.C3WIBDGG.js +2 -2
  505. package/dist-versioned/chunks/{chunk.FQJPWM4Z.js → chunk.D5AXUWNZ.js} +26 -26
  506. package/dist-versioned/chunks/{chunk.5VCVDFRJ.js → chunk.DNE5ASH4.js} +2 -2
  507. package/dist-versioned/chunks/{chunk.RGVIOXPM.js → chunk.DXBLDNFC.js} +4 -4
  508. package/dist-versioned/chunks/{chunk.EVGV2PWW.js → chunk.DZ4M5DL7.js} +3 -3
  509. package/dist-versioned/chunks/{chunk.HIR2MKW6.js → chunk.EVCPPJPM.js} +3 -3
  510. package/dist-versioned/chunks/{chunk.5R5MY3VD.js → chunk.FX6SKOH4.js} +13 -13
  511. package/dist-versioned/chunks/{chunk.C4RJM5BO.js → chunk.G2QMQ3TC.js} +2 -2
  512. package/dist-versioned/chunks/{chunk.Z462LBEB.js → chunk.GWALMBNP.js} +9 -9
  513. package/dist-versioned/chunks/{chunk.7ZKBKOS5.js → chunk.HM34VU45.js} +12 -12
  514. package/dist-versioned/chunks/{chunk.6A4DHVDL.js → chunk.IBO3DT5Q.js} +4 -4
  515. package/dist-versioned/chunks/{chunk.3MGF33VU.js → chunk.IJ7UIFUE.js} +3 -3
  516. package/dist-versioned/chunks/{chunk.DKN5SHQ2.js → chunk.JPKYXMRK.js} +6 -6
  517. package/dist-versioned/chunks/{chunk.UOMFY7RY.js → chunk.JQ3EFQAS.js} +2 -2
  518. package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
  519. package/dist-versioned/chunks/{chunk.CQTEYWVJ.js → chunk.KRKT2A2K.js} +12 -12
  520. package/dist-versioned/chunks/{chunk.OUFMMO37.js → chunk.L4XU56GO.js} +8 -8
  521. package/dist-versioned/chunks/{chunk.P5V6KORX.js → chunk.N2GBPM7O.js} +24 -24
  522. package/dist-versioned/chunks/{chunk.D5JLEZPO.js → chunk.N7K5KXEP.js} +2 -2
  523. package/dist-versioned/chunks/{chunk.KAWDESCC.js → chunk.N7R2AS4G.js} +7 -7
  524. package/dist-versioned/chunks/{chunk.33KST4RJ.js → chunk.O3M4QLOJ.js} +2 -2
  525. package/dist-versioned/chunks/{chunk.AFD4FHYM.js → chunk.OO2LH4SE.js} +11 -11
  526. package/dist-versioned/chunks/{chunk.G7M7XYS3.js → chunk.PPCXX2VU.js} +7 -7
  527. package/dist-versioned/chunks/chunk.PVSLBUSF.js +93 -0
  528. package/dist-versioned/chunks/{chunk.WXT5HYGA.js → chunk.PZ6BUUCP.js} +13 -13
  529. package/dist-versioned/chunks/{chunk.QD2ZQPDB.js → chunk.QAKJW5ON.js} +3 -3
  530. package/dist-versioned/chunks/{chunk.GOZXDQTL.js → chunk.QN22ZMGT.js} +6 -6
  531. package/dist-versioned/chunks/{chunk.WYS3OZYO.js → chunk.QPJTXP3H.js} +6 -6
  532. package/dist-versioned/chunks/{chunk.ZCG43UX7.js → chunk.SHN2I24K.js} +11 -11
  533. package/dist-versioned/chunks/{chunk.QOIO3YAP.js → chunk.TAXXEJSP.js} +8 -8
  534. package/dist-versioned/chunks/{chunk.GBB73ZFE.js → chunk.TDFNLRUN.js} +5 -5
  535. package/dist-versioned/chunks/{chunk.Q4LFZ4MN.js → chunk.UGGH4H2X.js} +4 -4
  536. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  537. package/dist-versioned/chunks/{chunk.IXJGPE6X.js → chunk.UP7LZTGK.js} +12 -12
  538. package/dist-versioned/chunks/{chunk.52XEAMVX.js → chunk.V52RU2QQ.js} +7 -7
  539. package/dist-versioned/chunks/{chunk.PCB2BA7U.js → chunk.VAEJX7NE.js} +14 -14
  540. package/dist-versioned/chunks/{chunk.77CINHAJ.js → chunk.WCQW4CQT.js} +2 -2
  541. package/dist-versioned/chunks/{chunk.GHWO5PUG.js → chunk.WEFWQVW5.js} +15 -15
  542. package/dist-versioned/chunks/{chunk.2ZO5TQLM.js → chunk.WJDMGITX.js} +5 -5
  543. package/dist-versioned/chunks/{chunk.JAPL7DQX.js → chunk.WR3OMWJ5.js} +7 -7
  544. package/dist-versioned/chunks/{chunk.SVAL7V6Q.js → chunk.WW2GYTA2.js} +3 -3
  545. package/dist-versioned/chunks/{chunk.WVSKCZ63.js → chunk.X43JSG7P.js} +5 -5
  546. package/dist-versioned/chunks/{chunk.BZO3OLK2.js → chunk.X76XYLWV.js} +6 -6
  547. package/dist-versioned/chunks/{chunk.3Y3V2LY4.js → chunk.XFFYITQX.js} +6 -6
  548. package/dist-versioned/chunks/{chunk.WZOVHSGU.js → chunk.YLTS3DRQ.js} +7 -7
  549. package/dist-versioned/chunks/{chunk.4BB4LNMY.js → chunk.YUF5NVHJ.js} +9 -9
  550. package/dist-versioned/chunks/{chunk.GRRHK6BP.js → chunk.Z46FZJNF.js} +3 -3
  551. package/dist-versioned/chunks/{chunk.LJ5ONJGL.js → chunk.Z6VBJGLD.js} +43 -43
  552. package/dist-versioned/chunks/{chunk.Y4XJY6Y4.js → chunk.ZSRPJGFN.js} +7 -7
  553. package/dist-versioned/components/accordion/accordion.d.ts +1 -1
  554. package/dist-versioned/components/accordion/accordion.js +7 -7
  555. package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  556. package/dist-versioned/components/accordion-group/accordion-group.js +8 -8
  557. package/dist-versioned/components/animation/animation.d.ts +1 -1
  558. package/dist-versioned/components/animation/animation.js +2 -2
  559. package/dist-versioned/components/audio/audio.d.ts +1 -1
  560. package/dist-versioned/components/audio/audio.js +11 -11
  561. package/dist-versioned/components/badge/badge.d.ts +1 -1
  562. package/dist-versioned/components/badge/badge.js +2 -2
  563. package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
  564. package/dist-versioned/components/brandshape/brandshape.js +2 -2
  565. package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  566. package/dist-versioned/components/breadcrumb/breadcrumb.js +9 -9
  567. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  568. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.js +3 -3
  569. package/dist-versioned/components/button/button.d.ts +1 -1
  570. package/dist-versioned/components/button/button.js +4 -4
  571. package/dist-versioned/components/button-group/button-group.d.ts +1 -1
  572. package/dist-versioned/components/button-group/button-group.js +2 -2
  573. package/dist-versioned/components/carousel/carousel.d.ts +1 -1
  574. package/dist-versioned/components/carousel/carousel.js +8 -8
  575. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  576. package/dist-versioned/components/carousel-item/carousel-item.js +2 -2
  577. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  578. package/dist-versioned/components/checkbox/checkbox.js +7 -7
  579. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  580. package/dist-versioned/components/checkbox-group/checkbox-group.js +7 -7
  581. package/dist-versioned/components/combobox/combobox.d.ts +1 -1
  582. package/dist-versioned/components/combobox/combobox.js +9 -9
  583. package/dist-versioned/components/datepicker/datepicker.d.ts +1 -1
  584. package/dist-versioned/components/datepicker/datepicker.js +9 -9
  585. package/dist-versioned/components/dialog/dialog.d.ts +1 -1
  586. package/dist-versioned/components/dialog/dialog.js +10 -10
  587. package/dist-versioned/components/divider/divider.d.ts +1 -1
  588. package/dist-versioned/components/divider/divider.js +2 -2
  589. package/dist-versioned/components/drawer/drawer.d.ts +1 -1
  590. package/dist-versioned/components/drawer/drawer.js +10 -10
  591. package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
  592. package/dist-versioned/components/dropdown/dropdown.js +3 -3
  593. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  594. package/dist-versioned/components/expandable/expandable.js +7 -7
  595. package/dist-versioned/components/file-selector/file-selector.d.ts +1 -1
  596. package/dist-versioned/components/file-selector/file-selector.js +10 -10
  597. package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
  598. package/dist-versioned/components/flipcard/flipcard.js +10 -10
  599. package/dist-versioned/components/header/header.d.ts +1 -1
  600. package/dist-versioned/components/header/header.js +2 -2
  601. package/dist-versioned/components/icon/icon.d.ts +1 -1
  602. package/dist-versioned/components/icon/icon.js +6 -6
  603. package/dist-versioned/components/icon/library.internal.d.ts +30 -32
  604. package/dist-versioned/components/icon/library.internal.js +1 -1
  605. package/dist-versioned/components/icon/library.js +4 -4
  606. package/dist-versioned/components/icon/library.multi-theming.js +1 -1
  607. package/dist-versioned/components/icon/library.status.d.ts +9 -8
  608. package/dist-versioned/components/icon/library.status.js +1 -1
  609. package/dist-versioned/components/include/include.d.ts +1 -1
  610. package/dist-versioned/components/include/include.js +2 -2
  611. package/dist-versioned/components/input/input.d.ts +1 -1
  612. package/dist-versioned/components/input/input.js +7 -7
  613. package/dist-versioned/components/link/link.d.ts +1 -1
  614. package/dist-versioned/components/link/link.js +2 -2
  615. package/dist-versioned/components/loader/loader.d.ts +1 -1
  616. package/dist-versioned/components/loader/loader.js +2 -2
  617. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  618. package/dist-versioned/components/map-marker/map-marker.js +2 -2
  619. package/dist-versioned/components/menu/menu.d.ts +1 -1
  620. package/dist-versioned/components/menu/menu.js +2 -2
  621. package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
  622. package/dist-versioned/components/menu-item/menu-item.js +2 -2
  623. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  624. package/dist-versioned/components/navigation-item/navigation-item.js +8 -8
  625. package/dist-versioned/components/notification/notification.d.ts +1 -1
  626. package/dist-versioned/components/notification/notification.js +10 -10
  627. package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
  628. package/dist-versioned/components/optgroup/optgroup.js +3 -3
  629. package/dist-versioned/components/option/option.d.ts +1 -1
  630. package/dist-versioned/components/option/option.js +7 -7
  631. package/dist-versioned/components/popup/popup.d.ts +1 -1
  632. package/dist-versioned/components/popup/popup.js +2 -2
  633. package/dist-versioned/components/progress-bar/progress-bar.d.ts +1 -1
  634. package/dist-versioned/components/progress-bar/progress-bar.js +2 -2
  635. package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
  636. package/dist-versioned/components/quickfact/quickfact.js +8 -8
  637. package/dist-versioned/components/radio/radio.d.ts +1 -1
  638. package/dist-versioned/components/radio/radio.js +2 -2
  639. package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
  640. package/dist-versioned/components/radio-button/radio-button.js +2 -2
  641. package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
  642. package/dist-versioned/components/radio-group/radio-group.js +4 -4
  643. package/dist-versioned/components/range/range.d.ts +1 -1
  644. package/dist-versioned/components/range/range.js +9 -9
  645. package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
  646. package/dist-versioned/components/range-tick/range-tick.js +2 -2
  647. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  648. package/dist-versioned/components/scrollable/scrollable.js +7 -7
  649. package/dist-versioned/components/select/select.d.ts +1 -1
  650. package/dist-versioned/components/select/select.js +9 -9
  651. package/dist-versioned/components/skeleton/skeleton.d.ts +1 -1
  652. package/dist-versioned/components/skeleton/skeleton.js +2 -2
  653. package/dist-versioned/components/step/step.d.ts +1 -1
  654. package/dist-versioned/components/step/step.js +7 -7
  655. package/dist-versioned/components/step-group/step-group.d.ts +1 -1
  656. package/dist-versioned/components/step-group/step-group.js +2 -2
  657. package/dist-versioned/components/switch/switch.d.ts +1 -1
  658. package/dist-versioned/components/switch/switch.js +2 -2
  659. package/dist-versioned/components/tab/tab.d.ts +1 -1
  660. package/dist-versioned/components/tab/tab.js +2 -2
  661. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  662. package/dist-versioned/components/tab-group/tab-group.js +7 -7
  663. package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  664. package/dist-versioned/components/tab-panel/tab-panel.js +2 -2
  665. package/dist-versioned/components/tag/tag.d.ts +1 -1
  666. package/dist-versioned/components/tag/tag.js +7 -7
  667. package/dist-versioned/components/teaser/teaser.js +2 -2
  668. package/dist-versioned/components/teaser-media/teaser-media.js +2 -2
  669. package/dist-versioned/components/textarea/textarea.d.ts +1 -1
  670. package/dist-versioned/components/textarea/textarea.js +7 -7
  671. package/dist-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  672. package/dist-versioned/components/theme-listener/theme-listener.js +2 -2
  673. package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
  674. package/dist-versioned/components/tooltip/tooltip.js +8 -8
  675. package/dist-versioned/components/video/video.d.ts +1 -1
  676. package/dist-versioned/components/video/video.js +7 -7
  677. package/dist-versioned/custom-elements.json +269 -335
  678. package/dist-versioned/internal/form.js +2 -2
  679. package/dist-versioned/solid-components.css +7 -7
  680. package/dist-versioned/solid-components.js +66 -66
  681. package/dist-versioned/utilities/autocomplete-config.js +3 -3
  682. package/dist-versioned/utilities/icon-library.js +4 -4
  683. package/dist-versioned/vscode.html-custom-data.json +120 -120
  684. package/dist-versioned/web-types.json +178 -178
  685. package/package.json +2 -2
  686. package/cdn/chunks/chunk.5B33ZALC.js +0 -26
  687. package/cdn/chunks/chunk.C45254AN.js +0 -2
  688. package/cdn/chunks/chunk.HS3Q3NPY.js +0 -2
  689. package/cdn/chunks/chunk.J663MKB4.js +0 -2
  690. package/cdn/chunks/chunk.MIROXJW4.js +0 -6
  691. package/cdn/chunks/chunk.OFLEA353.js +0 -12
  692. package/cdn/chunks/chunk.U2TVO27N.js +0 -2
  693. package/cdn/chunks/chunk.VSIBCI2V.js +0 -2
  694. package/cdn/chunks/chunk.WIAQ2X73.js +0 -2
  695. package/cdn-versioned/chunks/chunk.3RDG7HQT.js +0 -2
  696. package/cdn-versioned/chunks/chunk.3VTWQPQB.js +0 -2
  697. package/cdn-versioned/chunks/chunk.55B57RXL.js +0 -2
  698. package/cdn-versioned/chunks/chunk.5B33ZALC.js +0 -26
  699. package/cdn-versioned/chunks/chunk.6A2XPA27.js +0 -12
  700. package/cdn-versioned/chunks/chunk.6JKZ63QX.js +0 -5
  701. package/cdn-versioned/chunks/chunk.7USKB2GO.js +0 -2
  702. package/cdn-versioned/chunks/chunk.ARA5JW32.js +0 -2
  703. package/cdn-versioned/chunks/chunk.B4BAFEZE.js +0 -11
  704. package/cdn-versioned/chunks/chunk.C45254AN.js +0 -2
  705. package/cdn-versioned/chunks/chunk.CVB6PQL3.js +0 -12
  706. package/cdn-versioned/chunks/chunk.CWRWVUT3.js +0 -2
  707. package/cdn-versioned/chunks/chunk.DEC3VKXA.js +0 -2
  708. package/cdn-versioned/chunks/chunk.FCBNIOWP.js +0 -2
  709. package/cdn-versioned/chunks/chunk.GX5EMWG2.js +0 -2
  710. package/cdn-versioned/chunks/chunk.HS3Q3NPY.js +0 -2
  711. package/cdn-versioned/chunks/chunk.J663MKB4.js +0 -2
  712. package/cdn-versioned/chunks/chunk.JTBZGOCE.js +0 -2
  713. package/cdn-versioned/chunks/chunk.KDTVJE37.js +0 -2
  714. package/cdn-versioned/chunks/chunk.LM5SJXYL.js +0 -5
  715. package/cdn-versioned/chunks/chunk.N2PGOHWH.js +0 -2
  716. package/cdn-versioned/chunks/chunk.NISL6W7W.js +0 -2
  717. package/cdn-versioned/chunks/chunk.NSAUFZ4I.js +0 -4
  718. package/cdn-versioned/chunks/chunk.OFLEA353.js +0 -12
  719. package/cdn-versioned/chunks/chunk.OKAUTL3G.js +0 -2
  720. package/cdn-versioned/chunks/chunk.OYCIMCNH.js +0 -2
  721. package/cdn-versioned/chunks/chunk.QXTQ4QBZ.js +0 -12
  722. package/cdn-versioned/chunks/chunk.RGSF2XLM.js +0 -2
  723. package/cdn-versioned/chunks/chunk.RJIOLFBG.js +0 -2
  724. package/cdn-versioned/chunks/chunk.RSP57JUX.js +0 -2
  725. package/cdn-versioned/chunks/chunk.TS6S25HT.js +0 -2
  726. package/cdn-versioned/chunks/chunk.U2TVO27N.js +0 -2
  727. package/cdn-versioned/chunks/chunk.UFWE6XC3.js +0 -2
  728. package/cdn-versioned/chunks/chunk.VAQE66S7.js +0 -2
  729. package/cdn-versioned/chunks/chunk.VSIBCI2V.js +0 -2
  730. package/cdn-versioned/chunks/chunk.WIAQ2X73.js +0 -2
  731. package/cdn-versioned/chunks/chunk.WZS3PEEQ.js +0 -2
  732. package/cdn-versioned/chunks/chunk.XHWQ4DCO.js +0 -2
  733. package/dist/chunks/chunk.DJJN4MJ4.js +0 -93
  734. package/dist-versioned/chunks/chunk.DJJN4MJ4.js +0 -93
  735. package/dist-versioned/chunks/chunk.QGERTGJH.js +0 -70
@@ -0,0 +1,2 @@
1
+ import{a as w}from"./chunk.MEDJPDBB.js";import{a as p,d as f,h as m}from"./chunk.Z44RDBCE.js";import{b as u,e as h}from"./chunk.OBAEIKIV.js";import{e as c}from"./chunk.6EV4YU6C.js";var a=class extends m{constructor(){super(...arguments);this.localize=new w(this);this.handleOutsideClick=t=>{this.contains(t.target)||this.getAllItems().forEach(e=>e.classList.remove("menu-item-focus"))}}connectedCallback(){super.connectedCallback(),this.setAttribute("role","menu"),document.addEventListener("click",this.handleOutsideClick)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.handleOutsideClick)}handleClick(t){let e=["menuitem","menuitemcheckbox"],n=t.composedPath(),i=n.find(s=>{var l;return e.includes(((l=s==null?void 0:s.getAttribute)==null?void 0:l.call(s,"role"))||"")});if(!i||n.find(s=>{var l;return((l=s==null?void 0:s.getAttribute)==null?void 0:l.call(s,"role"))==="menu"})!==this)return;let o=i;o.type==="checkbox"&&(o.checked=!o.checked),this.emit("sd-select",{detail:{item:o}})}handleKeyDown(t){if(t.key==="Escape"){let e=this.getCurrentItem();e==null||e.classList.remove("menu-item-focus")}else if(t.key==="Enter"||t.key===" "){let e=this.getCurrentItem();t.preventDefault(),t.stopPropagation(),e==null||e.classList.remove("menu-item-focus"),e==null||e.click()}else if(["ArrowDown","ArrowUp","Home","End"].includes(t.key)){let e=this.getAllItems(),n=this.getCurrentItem(),i=n?e.indexOf(n):0;if(n==null||n.classList.remove("menu-item-focus"),e.length>0){t.preventDefault(),t.stopPropagation();let d=(r,o)=>{let s=r;for(let l of e)if(s=(s+o+e.length)%e.length,!e[s].disabled)return s;return r};if(t.key==="ArrowDown")i=d(i,1);else if(t.key==="ArrowUp")i=d(i,-1);else if(t.key==="Home")i=e.findIndex(r=>!r.disabled),i===-1&&(i=0);else if(t.key==="End"){i=e.length-1;for(let r=e.length-1;r>=0;r--)if(!e[r].disabled){i=r;break}}this.setCurrentItem(e[i]),e[i].focus(),e[i].classList.add("menu-item-focus")}}}handleMouseDown(t){let e=t.target;this.isMenuItem(e)&&this.setCurrentItem(e)}handleSlotChange(){let t=this.getAllItems();t.length>0&&this.setCurrentItem(t[0])}isMenuItem(t){var e;return t.tagName.toLowerCase()==="sd-7-0-0-menu-item"||["menuitem","menuitemcheckbox","menuitemradio"].includes((e=t.getAttribute("role"))!=null?e:"")}getAllItems(){return[...this.defaultSlot.assignedElements({flatten:!0})].filter(t=>!!this.isMenuItem(t))}getCurrentItem(){return this.getAllItems().find(t=>t.getAttribute("tabindex")==="0")}setCurrentItem(t){this.getAllItems().forEach(n=>{n.setAttribute("tabindex",n===t?"0":"-1")})}render(){return h`<slot @slotchange="${this.handleSlotChange}" @click="${this.handleClick}" @keydown="${this.handleKeyDown}" @mousedown="${this.handleMouseDown}"></slot>`}};a.styles=[...m.styles,u`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
+ :host{position:relative;display:block;overflow:auto;overscroll-behavior:auto;border-radius:var(--sd-radius-md,.375rem);padding-inline:var(--sd-spacing-2,.5rem);padding-block:var(--sd-spacing-3,.75rem);--tw-shadow:var(--sd-shadow, 0px 1px 3px 0px rgba(81, 81, 81, 0.75))!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}::slotted(sd-7-0-0-divider){padding-block:var(--sd-spacing-3,.75rem)}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}`],c([f("slot")],a.prototype,"defaultSlot",2),a=c([p("sd-7-0-0-menu")],a);export{a};
@@ -0,0 +1,2 @@
1
+ import{a as p}from"./chunk.LHSR56PH.js";import{a as b}from"./chunk.CGQ2BPPZ.js";import{a as n}from"./chunk.4ZZFYCXX.js";import{a as h}from"./chunk.NYKJXI3Q.js";import{a as c,b as i,c as u,d as r,h as a}from"./chunk.Z44RDBCE.js";import{b as d,e as o}from"./chunk.OBAEIKIV.js";import{e as s}from"./chunk.6EV4YU6C.js";var t=class extends a{constructor(){super(...arguments);this.hasSlotController=new b(this,"[default]","icon");this.hasFocus=!1;this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.checked=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","presentation")}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleClick(e){if(this.disabled||this.visuallyDisabled){e.preventDefault(),e.stopPropagation();return}this.checked=!0}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleDisabledChange(){let e=this.disabled||this.visuallyDisabled;this.setAttribute("aria-disabled",e?"true":"false")}focus(e){this.input.focus(e)}blur(){this.input.blur()}render(){let e=this.hasSlotController.test("[default]"),l=this.hasSlotController.test("icon"),m=`${this.size}-${e?"label":"no-label"}`;return o`<div part="base" role="presentation" class="relative"><button part="${`button${this.checked?" button--checked":""}`}" role="radio" aria-checked="${this.checked}" class="${n("relative text-center sd-7-0-0-radio-button-border-radius transition-all ease-in-out duration-100 items-center justify-center focus-visible:focus-outline choice-control-font-weight",this.size==="sm"?"text-sm":"text-base",this.checked&&!this.disabled&&!this.visuallyDisabled?"sd-7-0-0-button--primary--default-color-background sd-7-0-0-button--primary--default-color-text hover:sd-7-0-0-button--primary--hover-color-background hover:text-primary-100":!this.checked&&(this.disabled||this.visuallyDisabled)?"text-neutral-500 hover:cursor-not-allowed":this.checked&&(this.disabled||this.visuallyDisabled)?"bg-neutral-400 text-white hover:cursor-not-allowed ":"bg-transparent sd-7-0-0-radio-button-color-text border-primary cursor-pointer hover:sd-7-0-0-radio-button--hover-color-background hover:sd-7-0-0-radio-button--hover-color-text",e&&{sm:"px-3",md:"px-4",lg:"px-5"}[this.size],this.hasFocus&&"focused-class",e&&"button--has-label",l&&"button--has-icon flex gap-2",m)}" aria-disabled="${this.disabled||this.visuallyDisabled}" type="button" value="${p(this.value)}" tabindex="${this.checked?"0":"-1"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @click="${this.handleClick}"><slot name="icon" part="icon" class="${n(l&&"inline-flex relative items-center",{sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size])}" ?hidden="${!l}"></slot>${e?o`<slot part="label" class="button__label inline-flex relative items-center whitespace-nowrap"></slot>`:null}</button></div>`}};t.styles=[...a.styles,d`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
+ :host{display:block;width:-moz-min-content;width:min-content}.hidden-input{all:unset;position:absolute;inset:0;z-index:calc(10 * -1);opacity:var(--sd-opacity-0,0);outline-style:var(--tw-outline-style);outline-width:1px;outline-color:rgba(var(--sd-color-border-error,var(--sd-color-error,204 25 55)));--tw-outline-style:dotted;outline-style:dotted}.lg-label{height:46px}.lg-no-label{height:46px;padding-inline:calc(var(--sd-spacing-1,.25rem) * 5)}.md-label{height:38px}.md-no-label{height:38px;padding-inline:var(--sd-spacing-4,1rem)}.sm-label{height:30px}.sm-no-label{height:30px;padding-inline:var(--sd-spacing-3,.75rem)}:host([size=lg].sd-7-0-0-button-group__button:not(.sd-7-0-0-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-3,.75rem) * -1)}:host([size=md].sd-7-0-0-button-group__button:not(.sd-7-0-0-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-2,.5rem) * -1)}:host([size=sm].sd-7-0-0-button-group__button:not(.sd-7-0-0-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-1,.25rem) * -1)}:host(.sd-7-0-0-button-group__button--hover){z-index:20}:host(.sd-7-0-0-button-group__button--focus){z-index:30}:host(.sd-7-0-0-button-group__button[checked]){z-index:40}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}`],s([r(".button")],t.prototype,"input",2),s([r(".hidden-input")],t.prototype,"hiddenInput",2),s([u()],t.prototype,"hasFocus",2),s([i({type:String,reflect:!0})],t.prototype,"size",2),s([i({type:Boolean,reflect:!0})],t.prototype,"disabled",2),s([i({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),s([i({type:Boolean,reflect:!0})],t.prototype,"checked",2),s([i()],t.prototype,"value",2),s([h(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),t=s([c("sd-7-0-0-radio-button")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as w}from"./chunk.ERP45OHF.js";import{b as x}from"./chunk.LZRL7OLU.js";import{a as m}from"./chunk.LHSR56PH.js";import{a as D}from"./chunk.CGQ2BPPZ.js";import{a as g}from"./chunk.MEDJPDBB.js";import{a as s}from"./chunk.4ZZFYCXX.js";import{a as f}from"./chunk.NYKJXI3Q.js";import{a as y,b as a,c,d as u,h as b}from"./chunk.5B33ZALC.js";import{b as v,e as o}from"./chunk.OBAEIKIV.js";import{e as r}from"./chunk.6EV4YU6C.js";var e=class extends b{constructor(){super(...arguments);this.formControlController=new x(this,{assumeInteractionOn:["sd-change"],value:t=>t.files});this.hasSlotController=new D(this,"help-text","label");this.localize=new g(this);this.userIsDragging=!1;this.showInvalidStyle=!1;this.name="";this.title="";this.defaultValue="";this.size="lg";this.label="";this.showLabel=!1;this.helpText="";this.disabled=!1;this.visuallyDisabled=!1;this.droparea=!1;this.accept="";this.styleOnValid=!1;this.multiple=!1;this.webkitdirectory=!1;this.form="";this.required=!1;this.hideValue=!1}set files(t){this.input&&(this.input.files=t)}get files(){var t,i;return(i=(t=this.input)==null?void 0:t.files)!=null?i:null}set value(t){this.input&&(this.input.value=t)}get value(){var t,i;return(i=(t=this.input)==null?void 0:t.value)!=null?i:""}get validity(){return this.input.validity}get validationMessage(){return this.input.validationMessage}checkValidity(){return this.input.checkValidity()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity()}firstUpdated(){this.formControlController.updateValidity()}focus(t){var i,l;if(this.droparea){(i=this.dropareaWrapper)==null||i.focus(t);return}(l=this.button)==null||l.focus(t)}blur(){var t,i;if(this.droparea){(t=this.dropareaWrapper)==null||t.blur();return}(i=this.button)==null||i.blur()}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}handleFiles(t){if(!t){this.value="";return}this.files=t}async handleTransferItems(t){if(!t)throw this.value="",new Error("No proper items found");let l=Array.from(t).map(p=>p.webkitGetAsEntry()).map(p=>this.getFilesFromEntry(p)),h=(await Promise.all(l)).flat(),n=new DataTransfer;return h.forEach(p=>n.items.add(p)),n.files}async getFilesFromEntry(t){return t?t.isFile?new Promise((i,l)=>{t.file(d=>i([d]),l)}):t.isDirectory?new Promise((i,l)=>{t.createReader().readEntries(h=>{Promise.all(h.map(n=>this.getFilesFromEntry(n))).then(n=>i(n.flat())).catch(l)})}):[]:[]}handleClick(t){if(t.preventDefault(),this.disabled||this.visuallyDisabled){t.stopPropagation();return}this.input.click()}handleDropareaKeyDown(t){t.key!=="Enter"&&t.key!==" "||(t.preventDefault(),this.handleClick(t))}handleChange(t){t.preventDefault(),t.stopPropagation(),this.emit("sd-input"),this.emit("sd-change")}handleDragOver(t){t.preventDefault(),t.stopPropagation(),!(this.disabled||this.visuallyDisabled)&&(this.userIsDragging=!0)}handleDragLeave(t){t.preventDefault(),t.stopPropagation(),!(this.disabled||this.visuallyDisabled)&&(this.userIsDragging=!1)}async handleDrop(t){if(t.preventDefault(),t.stopPropagation(),this.disabled||this.visuallyDisabled||!t.dataTransfer)return;let i=await this.handleTransferItems(t.dataTransfer.items);if(this.userIsDragging=!1,!!i){if(!this.multiple&&!this.webkitdirectory&&i.length>1){this.emit("sd-error");return}this.handleFiles(i),this.input.dispatchEvent(new Event("change"))}}handleFocus(){this.emit("sd-focus")}handleBlur(){this.emit("sd-blur")}renderValue(){let t=!1,i=this.localize.term("numFilesSelected",0,this.webkitdirectory,this.multiple);return this.files&&this.files.length>0&&(t=!0,i=this.files.length===1?this.files[0].name:this.localize.term("numFilesSelected",this.files.length,this.webkitdirectory,this.multiple)),o`<span id="file-status" role="status" aria-live="polite" aria-atomic="true" class="${s("input__value truncate text-sm",this.hideValue&&"sr-only",this.disabled||this.visuallyDisabled?"text-neutral-500":t?"text-black":"text-neutral-700")}" part="value">${i}</span>`}renderDroparea(){return o`<div class="${s("droparea",this.disabled||this.visuallyDisabled?"cursor-not-allowed":"cursor-pointer")}" @click="${this.handleClick}" @keydown="${this.handleDropareaKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" tabindex="${this.disabled?-1:0}" role="button" aria-labelledby="form-control-label" aria-describedby="file-status help-text invalid-message" part="droparea"><div part="droparea-background" class="${s("droparea__background relative w-full flex flex-row items-center gap-4 p-6 form-control-border-radius transition-colors ease-in-out duration-medium",this.disabled||this.visuallyDisabled?"droparea__background--disabled bg-neutral-100":this.showInvalidStyle?"droparea__background--invalid":this.userIsDragging?"bg-primary-100":"hover:bg-neutral-200")}"><svg class="droparea__border" aria-hidden="true" preserveAspectRatio="none"><rect class="droparea__border-rect" x="0.5" y="0.5" width="calc(100% - 1px)" height="calc(100% - 1px)"/></svg><div part="droparea-icon" class="${s("droparea__icon inline-flex h-18",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary")}"><sd-7-0-0-next-9-icon class="w-full h-full" library="_internal" name="upload"></sd-7-0-0-next-9-icon></div><p part="droparea-value"><span class="${s("block text-lg font-semibold",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary")}">${this.localize.term(this.webkitdirectory?"folderDragDrop":this.multiple?"fileDragDropMultiple":"fileDragDrop")} </span>${this.renderValue()}</p></div></div>`}renderButton(){let t=this.localize.term("fileButtonText");return this.multiple&&(t=this.localize.term("fileButtonTextMultiple")),this.webkitdirectory&&(t=this.localize.term("folderButtonText")),o`<div part="button-wrapper" class="${s("button__wrapper flex flex-row items-center gap-4",this.disabled||this.visuallyDisabled?"cursor-not-allowed":"cursor-default")}"><sd-7-0-0-next-9-button class="button" @click="${this.handleClick}" ?disabled="${this.disabled}" ?visually-disabled="${this.visuallyDisabled}" part="button" size="${this.size}" variant="secondary" aria-labelledby="form-control-label" aria-describedby="file-status help-text invalid-message" aria-invalid="${this.showInvalidStyle?"true":"false"}">${t}</sd-7-0-0-next-9-button>${this.renderValue()}</div>`}render(){let t={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text")},i=this.label?!0:!!t.label,l=this.helpText?!0:!!t.helpText,d=this.showLabel&&i;return o`<div @dragenter="${this.handleDragOver}" @dragleave="${this.handleDragLeave}" @dragover="${this.handleDragOver}" @drop="${this.handleDrop}" part="form-control">${i?o`<label id="form-control-label" class="${s("form-control__label text-base",d?"inline-block mb-2":"sr-only",this.disabled?"text-neutral-500":"form-control-color-text")}" for="input" part="form-control-label"><slot name="label">${this.label}</slot></label>`:null}<div class="form-control-input" part="form-control-input">${this.droparea?this.renderDroparea():this.renderButton()}</div><slot name="help-text" part="form-control-help-text" id="help-text" class="${s("text-sm mt-2",l?"block":"hidden",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-neutral-700")}" aria-hidden="${l?"false":"true"}">${this.helpText}</slot><input accept="${this.accept}" aria-disabled="${this.disabled||this.visuallyDisabled?"true":"false"}" @change="${this.handleChange}" class="input__control sr-only" capture="${m(this.capture)}" ?disabled="${this.disabled}" id="input" @invalid="${this.handleInvalid}" ?multiple="${this.multiple}" name="${m(this.name)}" ?required="${this.required}" title="${this.title}" type="file" tabindex="-1" ?webkitdirectory="${this.webkitdirectory}"></div><div part="invalid-icon-message" class="flex items-center gap-2 mt-2">${this.showInvalidStyle?o`<sd-7-0-0-next-9-icon part="invalid-icon" class="${s("text-error")}" library="_internal" name="risk"></sd-7-0-0-next-9-icon>`:""} ${this.formControlController.renderInvalidMessage(this.size)}</div>`}};e.styles=[...b.styles,v`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{display:block;width:100%;text-align:left}:host([required]) .form-control__label::after{content:' *'}.input__control{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.droparea__background{--sd-droparea-border-color:rgba(var(--sd-form-control-color-border, rgba(var(--sd-color-neutral-800))))}.droparea__background--disabled{--sd-droparea-border-color:rgba(var(--sd-color-neutral-500))}.droparea__background--invalid{--sd-droparea-border-color:rgba(var(--sd-color-error))}.droparea__border{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}.droparea__border-rect{fill:none;stroke:var(--sd-droparea-border-color);stroke-width:2px;stroke-dasharray:0 8px;stroke-linecap:square;vector-effect:non-scaling-stroke}`],r([c()],e.prototype,"userIsDragging",2),r([c()],e.prototype,"showInvalidStyle",2),r([a({type:Object})],e.prototype,"files",1),r([a({type:String,reflect:!0})],e.prototype,"name",2),r([a({type:String,reflect:!0})],e.prototype,"title",2),r([a({type:String})],e.prototype,"value",1),r([w()],e.prototype,"defaultValue",2),r([a({type:String,reflect:!0})],e.prototype,"size",2),r([a({type:String,reflect:!0})],e.prototype,"label",2),r([a({type:Boolean,reflect:!0,attribute:"show-label"})],e.prototype,"showLabel",2),r([a({type:String,attribute:"help-text",reflect:!0})],e.prototype,"helpText",2),r([a({type:Boolean,reflect:!0})],e.prototype,"disabled",2),r([a({type:Boolean,reflect:!0,attribute:"visually-disabled"})],e.prototype,"visuallyDisabled",2),r([a({type:Boolean,reflect:!0,attribute:"drop-area"})],e.prototype,"droparea",2),r([a({type:String})],e.prototype,"accept",2),r([a({type:Boolean,reflect:!0,attribute:"style-on-valid"})],e.prototype,"styleOnValid",2),r([a({type:String})],e.prototype,"capture",2),r([a({type:Boolean,reflect:!0})],e.prototype,"multiple",2),r([a({type:Boolean,reflect:!0})],e.prototype,"webkitdirectory",2),r([a({type:String,reflect:!0})],e.prototype,"form",2),r([a({type:Boolean,reflect:!0})],e.prototype,"required",2),r([a({attribute:"hide-value",type:Boolean,reflect:!0})],e.prototype,"hideValue",2),r([u(".input__control")],e.prototype,"input",2),r([u(".button")],e.prototype,"button",2),r([u(".droparea")],e.prototype,"dropareaWrapper",2),r([u("#invalid-message")],e.prototype,"invalidMessage",2),r([f("disabled",{waitUntilFirstUpdate:!0})],e.prototype,"handleDisabledChange",1),r([f("value",{waitUntilFirstUpdate:!0})],e.prototype,"handleValueChange",1),e=r([y("sd-7-0-0-next-9-file-selector")],e);export{e as a};
1
+ import{a as w}from"./chunk.ERP45OHF.js";import{b as x}from"./chunk.LZRL7OLU.js";import{a as m}from"./chunk.LHSR56PH.js";import{a as D}from"./chunk.CGQ2BPPZ.js";import{a as g}from"./chunk.MEDJPDBB.js";import{a as s}from"./chunk.4ZZFYCXX.js";import{a as f}from"./chunk.NYKJXI3Q.js";import{a as y,b as a,c,d as u,h as b}from"./chunk.Z44RDBCE.js";import{b as v,e as o}from"./chunk.OBAEIKIV.js";import{e as r}from"./chunk.6EV4YU6C.js";var e=class extends b{constructor(){super(...arguments);this.formControlController=new x(this,{assumeInteractionOn:["sd-change"],value:t=>t.files});this.hasSlotController=new D(this,"help-text","label");this.localize=new g(this);this.userIsDragging=!1;this.showInvalidStyle=!1;this.name="";this.title="";this.defaultValue="";this.size="lg";this.label="";this.showLabel=!1;this.helpText="";this.disabled=!1;this.visuallyDisabled=!1;this.droparea=!1;this.accept="";this.styleOnValid=!1;this.multiple=!1;this.webkitdirectory=!1;this.form="";this.required=!1;this.hideValue=!1}set files(t){this.input&&(this.input.files=t)}get files(){var t,i;return(i=(t=this.input)==null?void 0:t.files)!=null?i:null}set value(t){this.input&&(this.input.value=t)}get value(){var t,i;return(i=(t=this.input)==null?void 0:t.value)!=null?i:""}get validity(){return this.input.validity}get validationMessage(){return this.input.validationMessage}checkValidity(){return this.input.checkValidity()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity()}firstUpdated(){this.formControlController.updateValidity()}focus(t){var i,l;if(this.droparea){(i=this.dropareaWrapper)==null||i.focus(t);return}(l=this.button)==null||l.focus(t)}blur(){var t,i;if(this.droparea){(t=this.dropareaWrapper)==null||t.blur();return}(i=this.button)==null||i.blur()}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}handleFiles(t){if(!t){this.value="";return}this.files=t}async handleTransferItems(t){if(!t)throw this.value="",new Error("No proper items found");let l=Array.from(t).map(p=>p.webkitGetAsEntry()).map(p=>this.getFilesFromEntry(p)),h=(await Promise.all(l)).flat(),n=new DataTransfer;return h.forEach(p=>n.items.add(p)),n.files}async getFilesFromEntry(t){return t?t.isFile?new Promise((i,l)=>{t.file(d=>i([d]),l)}):t.isDirectory?new Promise((i,l)=>{t.createReader().readEntries(h=>{Promise.all(h.map(n=>this.getFilesFromEntry(n))).then(n=>i(n.flat())).catch(l)})}):[]:[]}handleClick(t){if(t.preventDefault(),this.disabled||this.visuallyDisabled){t.stopPropagation();return}this.input.click()}handleDropareaKeyDown(t){t.key!=="Enter"&&t.key!==" "||(t.preventDefault(),this.handleClick(t))}handleChange(t){t.preventDefault(),t.stopPropagation(),this.emit("sd-input"),this.emit("sd-change")}handleDragOver(t){t.preventDefault(),t.stopPropagation(),!(this.disabled||this.visuallyDisabled)&&(this.userIsDragging=!0)}handleDragLeave(t){t.preventDefault(),t.stopPropagation(),!(this.disabled||this.visuallyDisabled)&&(this.userIsDragging=!1)}async handleDrop(t){if(t.preventDefault(),t.stopPropagation(),this.disabled||this.visuallyDisabled||!t.dataTransfer)return;let i=await this.handleTransferItems(t.dataTransfer.items);if(this.userIsDragging=!1,!!i){if(!this.multiple&&!this.webkitdirectory&&i.length>1){this.emit("sd-error");return}this.handleFiles(i),this.input.dispatchEvent(new Event("change"))}}handleFocus(){this.emit("sd-focus")}handleBlur(){this.emit("sd-blur")}renderValue(){let t=!1,i=this.localize.term("numFilesSelected",0,this.webkitdirectory,this.multiple);return this.files&&this.files.length>0&&(t=!0,i=this.files.length===1?this.files[0].name:this.localize.term("numFilesSelected",this.files.length,this.webkitdirectory,this.multiple)),o`<span id="file-status" role="status" aria-live="polite" aria-atomic="true" class="${s("input__value truncate text-sm",this.hideValue&&"sr-only",this.disabled||this.visuallyDisabled?"text-neutral-500":t?"text-black":"text-neutral-700")}" part="value">${i}</span>`}renderDroparea(){return o`<div class="${s("droparea",this.disabled||this.visuallyDisabled?"cursor-not-allowed":"cursor-pointer")}" @click="${this.handleClick}" @keydown="${this.handleDropareaKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" tabindex="${this.disabled?-1:0}" role="button" aria-labelledby="form-control-label" aria-describedby="file-status help-text invalid-message" part="droparea"><div part="droparea-background" class="${s("droparea__background relative w-full flex flex-row items-center gap-4 p-6 form-control-border-radius transition-colors ease-in-out duration-medium",this.disabled||this.visuallyDisabled?"droparea__background--disabled bg-neutral-100":this.showInvalidStyle?"droparea__background--invalid":this.userIsDragging?"bg-primary-100":"hover:bg-neutral-200")}"><svg class="droparea__border" aria-hidden="true" preserveAspectRatio="none"><rect class="droparea__border-rect" x="0.5" y="0.5" width="calc(100% - 1px)" height="calc(100% - 1px)"/></svg><div part="droparea-icon" class="${s("droparea__icon inline-flex h-18",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary")}"><sd-7-0-0-icon class="w-full h-full" library="_internal" name="upload"></sd-7-0-0-icon></div><p part="droparea-value"><span class="${s("block text-lg font-semibold",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary")}">${this.localize.term(this.webkitdirectory?"folderDragDrop":this.multiple?"fileDragDropMultiple":"fileDragDrop")} </span>${this.renderValue()}</p></div></div>`}renderButton(){let t=this.localize.term("fileButtonText");return this.multiple&&(t=this.localize.term("fileButtonTextMultiple")),this.webkitdirectory&&(t=this.localize.term("folderButtonText")),o`<div part="button-wrapper" class="${s("button__wrapper flex flex-row items-center gap-4",this.disabled||this.visuallyDisabled?"cursor-not-allowed":"cursor-default")}"><sd-7-0-0-button class="button" @click="${this.handleClick}" ?disabled="${this.disabled}" ?visually-disabled="${this.visuallyDisabled}" part="button" size="${this.size}" variant="secondary" aria-labelledby="form-control-label" aria-describedby="file-status help-text invalid-message" aria-invalid="${this.showInvalidStyle?"true":"false"}">${t}</sd-7-0-0-button>${this.renderValue()}</div>`}render(){let t={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text")},i=this.label?!0:!!t.label,l=this.helpText?!0:!!t.helpText,d=this.showLabel&&i;return o`<div @dragenter="${this.handleDragOver}" @dragleave="${this.handleDragLeave}" @dragover="${this.handleDragOver}" @drop="${this.handleDrop}" part="form-control">${i?o`<label id="form-control-label" class="${s("form-control__label text-base",d?"inline-block mb-2":"sr-only",this.disabled?"text-neutral-500":"form-control-color-text")}" for="input" part="form-control-label"><slot name="label">${this.label}</slot></label>`:null}<div class="form-control-input" part="form-control-input">${this.droparea?this.renderDroparea():this.renderButton()}</div><slot name="help-text" part="form-control-help-text" id="help-text" class="${s("text-sm mt-2",l?"block":"hidden",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-neutral-700")}" aria-hidden="${l?"false":"true"}">${this.helpText}</slot><input accept="${this.accept}" aria-disabled="${this.disabled||this.visuallyDisabled?"true":"false"}" @change="${this.handleChange}" class="input__control sr-only" capture="${m(this.capture)}" ?disabled="${this.disabled}" id="input" @invalid="${this.handleInvalid}" ?multiple="${this.multiple}" name="${m(this.name)}" ?required="${this.required}" title="${this.title}" type="file" tabindex="-1" ?webkitdirectory="${this.webkitdirectory}"></div><div part="invalid-icon-message" class="flex items-center gap-2 mt-2">${this.showInvalidStyle?o`<sd-7-0-0-icon part="invalid-icon" class="${s("text-error")}" library="_internal" name="risk"></sd-7-0-0-icon>`:""} ${this.formControlController.renderInvalidMessage(this.size)}</div>`}};e.styles=[...b.styles,v`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{display:block;width:100%;text-align:left}:host([required]) .form-control__label::after{content:' *'}.input__control{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.droparea__background{--sd-droparea-border-color:rgba(var(--sd-form-control-color-border, rgba(var(--sd-color-neutral-800))))}.droparea__background--disabled{--sd-droparea-border-color:rgba(var(--sd-color-neutral-500))}.droparea__background--invalid{--sd-droparea-border-color:rgba(var(--sd-color-error))}.droparea__border{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}.droparea__border-rect{fill:none;stroke:var(--sd-droparea-border-color);stroke-width:2px;stroke-dasharray:0 8px;stroke-linecap:square;vector-effect:non-scaling-stroke}`],r([c()],e.prototype,"userIsDragging",2),r([c()],e.prototype,"showInvalidStyle",2),r([a({type:Object})],e.prototype,"files",1),r([a({type:String,reflect:!0})],e.prototype,"name",2),r([a({type:String,reflect:!0})],e.prototype,"title",2),r([a({type:String})],e.prototype,"value",1),r([w()],e.prototype,"defaultValue",2),r([a({type:String,reflect:!0})],e.prototype,"size",2),r([a({type:String,reflect:!0})],e.prototype,"label",2),r([a({type:Boolean,reflect:!0,attribute:"show-label"})],e.prototype,"showLabel",2),r([a({type:String,attribute:"help-text",reflect:!0})],e.prototype,"helpText",2),r([a({type:Boolean,reflect:!0})],e.prototype,"disabled",2),r([a({type:Boolean,reflect:!0,attribute:"visually-disabled"})],e.prototype,"visuallyDisabled",2),r([a({type:Boolean,reflect:!0,attribute:"drop-area"})],e.prototype,"droparea",2),r([a({type:String})],e.prototype,"accept",2),r([a({type:Boolean,reflect:!0,attribute:"style-on-valid"})],e.prototype,"styleOnValid",2),r([a({type:String})],e.prototype,"capture",2),r([a({type:Boolean,reflect:!0})],e.prototype,"multiple",2),r([a({type:Boolean,reflect:!0})],e.prototype,"webkitdirectory",2),r([a({type:String,reflect:!0})],e.prototype,"form",2),r([a({type:Boolean,reflect:!0})],e.prototype,"required",2),r([a({attribute:"hide-value",type:Boolean,reflect:!0})],e.prototype,"hideValue",2),r([u(".input__control")],e.prototype,"input",2),r([u(".button")],e.prototype,"button",2),r([u(".droparea")],e.prototype,"dropareaWrapper",2),r([u("#invalid-message")],e.prototype,"invalidMessage",2),r([f("disabled",{waitUntilFirstUpdate:!0})],e.prototype,"handleDisabledChange",1),r([f("value",{waitUntilFirstUpdate:!0})],e.prototype,"handleValueChange",1),e=r([y("sd-7-0-0-file-selector")],e);export{e as a};
@@ -0,0 +1,2 @@
1
+ import{a as p,b,c as _}from"./chunk.IVHEBGOY.js";import{a as A}from"./chunk.ERP45OHF.js";import{b as D}from"./chunk.LZRL7OLU.js";import{a as d}from"./chunk.LHSR56PH.js";import{a as M}from"./chunk.CGQ2BPPZ.js";import{a as w}from"./chunk.MEDJPDBB.js";import{a as c}from"./chunk.4ZZFYCXX.js";import{a as C,b as h,d as f,e as I,h as T}from"./chunk.Z44RDBCE.js";import{b as E,e as v}from"./chunk.OBAEIKIV.js";import{e as o}from"./chunk.6EV4YU6C.js";var l=class extends T{constructor(){super();this.formControlController=new D(this);this.hasSlotController=new M(this,"label","help-text");this.localize=new w(this);this.name="";this.label="";this.helpText="";this.min=0;this.max=100;this.step=1;this.disabled=!1;this.visuallyDisabled=!1;this.noTrackBar=!1;this.tooltip="on-interaction";this.defaultValue="";this._value=[0];this._rangeValues=new Map;this._lastChangeValue=[];this._hasFocus=!1;this._dragStyleElement=null;this._preventSelectStart=t=>t.preventDefault();this.tooltipFormatter=this.localize.number.bind(this.localize)}set value(t){this._value=t?t.split(" ").map(Number).sort(p):[]}get value(){return this._value.slice().sort(p).join(" ")}set valueAsArray(t){let e=this._value;this._value=Array.isArray(t)?t.slice().sort(p):t||[],b(e,this._value)&&this.requestUpdate("value",e.join(" "))}get valueAsArray(){return[...this._value].sort(p)}get rtl(){return this.localize.dir()==="rtl"}disconnectedCallback(){super.disconnectedCallback(),this._restoreTextSelection()}firstUpdated(){this.formControlController.updateValidity(),this._lastChangeValue=Array.from(this._value),this.thumbs.forEach(async t=>{var i,a;let e=t.parentElement;await e.updateComplete,(a=(i=e.shadowRoot)==null?void 0:i.querySelector("sd-7-0-0-popup"))==null||a.setAttribute("distance","14")})}willUpdate(t){super.willUpdate(t),this.min>this.max&&([this.min,this.max]=[this.max,this.min]),this.step>this.max-this.min&&(this.step=this.max-this.min),this.step<=0&&(this.step=1);let e=this._value.map(i=>{if(i<=this.min)return this.min;if(i>=this.max)return this.max;let a=this.min+this.step*Math.round((i-this.min)/this.step);return a>this.max?this.max:a});b(this._value,e)&&(this._value=e)}updated(t){super.updated(t);for(let e of this.thumbs){let i=+e.dataset.rangeId;this._rangeValues.has(i)&&(this.moveThumb(e,this._rangeValues.get(i)),this.tooltip==="always-visible"&&(e.parentElement.closeTrigger="manual",e.parentElement.show()))}this.updateActiveTrack()}focus(t){let e=this.thumbs.item(0);e?e.focus(t):super.focus(t)}get validity(){return this.input.validity}checkValidity(){var t;return(t=this.input)==null?void 0:t.checkValidity()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}updateTooltip(t){let e=+t.dataset.rangeId;if(!this._rangeValues.has(e))return;let i=this._rangeValues.get(e),a=t.parentElement;a.content=this.tooltipFormatter(i)}updateActiveTrack(){let{activeTrack:t}=this;if(!t)return;if(this.min===this.max){t.style.insetInlineStart="0%",t.style.insetInlineEnd="0%";return}if(this._value.length===1){let s=getComputedStyle(this).getPropertyValue("--track-active-offset")||"0%",n=100*(this._value[0]-this.min)/(this.max-this.min);t.style.insetInlineStart=`min(${s}, ${n}%)`,t.style.insetInlineEnd=`min(calc(100% - ${s}), calc(100% - ${n}%))`;return}let e=this._value.slice().sort(p),i=100*(e[0]-this.min)/(this.max-this.min),a=100*(e[e.length-1]-this.min)/(this.max-this.min);t.style.insetInlineStart=`${i}%`,t.style.insetInlineEnd=`calc(100% - ${a}%)`}moveThumb(t,e){t.setAttribute("aria-valuenow",e.toString()),t.setAttribute("aria-valuetext",this.tooltipFormatter(e));let i=(e-this.min)/(this.max-this.min);t.style.insetInlineStart=`calc(${100*i}% - 8px)`,this.updateTooltip(t)}movementBoundariesForThumb(t,e){let i=this.valueAsArray,s=Array.from(this.thumbs).indexOf(t),n=i[s-1]||this.min,r=i[s+1]||this.max,u=e<n||e>r;return{finalValue:Math.max(n,Math.min(r,e)),isRestricted:u,nextValue:r,prevValue:n}}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}onClickTrack(t,e=!0){if(this.disabled||this.visuallyDisabled)return;let{clientX:i}=t,a=Array.from(this.thumbs),s=_(this.inputWrapper,i),n=this.step/(this.max-this.min),r=this.min+this.step*Math.round(s/n),u=a.reduce((g,x)=>{let k=this._rangeValues.get(+x.dataset.rangeId),L=this._rangeValues.get(+g.dataset.rangeId),V=Math.abs(k-r),$=Math.abs(L-r);return V===$?k<r?x:g:V<$?x:g}),m=+u.dataset.rangeId;if(!m)return;this._rangeValues.set(m,r),this.moveThumb(u,r);let y=this._value;this._value=Array.from(this._rangeValues.values()),this.updateActiveTrack(),b(y,this._value)&&(this._lastChangeValue=Array.from(this._value),this.emit("sd-input"),this.emit("sd-change"));let F=new PointerEvent("pointerdown",t);e&&u.dispatchEvent(F)&&this.updateTooltip(u)}onClickTrackItem(t){this.onClickTrack(t,!1)}_preventTextSelection(){if(!this._dragStyleElement){let t=document.createElement("style");t.setAttribute("data-sd-7-0-0-range-drag",""),t.textContent="*, *::before, *::after { user-select: none !important; -webkit-user-select: none !important; }",document.head.appendChild(t),this._dragStyleElement=t}document.addEventListener("selectstart",this._preventSelectStart)}_restoreTextSelection(){this._dragStyleElement&&(this._dragStyleElement.remove(),this._dragStyleElement=null),document.removeEventListener("selectstart",this._preventSelectStart)}async onClickThumb(t){if(this.disabled||this.visuallyDisabled)return;let e=t.target;if(this.updateTooltip(e),e.dataset.pointerId)try{e.releasePointerCapture(+e.dataset.pointerId)}catch(i){}e.dataset.pointerId=t.pointerId.toString(),e.setPointerCapture(t.pointerId),this._preventTextSelection(),e.classList.add("grabbed"),this.tooltip==="on-interaction"&&await e.parentElement.show()}onDragThumb(t){if(this.disabled||this.visuallyDisabled)return;let e=t.target,i=+e.dataset.rangeId;if(!this._rangeValues.has(i)||(e.dataset.pointerId?+e.dataset.pointerId:null)!==t.pointerId)return;let s=_(this.inputWrapper,t.clientX),n=this.step/(this.max-this.min),r=this.min+this.step*Math.round(s/n);if(this.emit("sd-move",{cancelable:!0,detail:{element:e,value:r}}).defaultPrevented)return;let m=this.movementBoundariesForThumb(e,r);m.isRestricted?(r=m.finalValue,e.style.zIndex=(3+this.thumbs.length).toFixed(0)):e.style.zIndex="3",this._rangeValues.set(i,r),this.moveThumb(e,r);let y=this._value;this._value=Array.from(this._rangeValues.values()),this.updateActiveTrack(),b(y,this._value)&&this.emit("sd-input")}async onReleaseThumb(t){let e=t.target;!e.dataset.pointerId||t.pointerId!==+e.dataset.pointerId||(e.classList.remove("grabbed"),e.releasePointerCapture(t.pointerId),this._restoreTextSelection(),delete e.dataset.pointerId,b(this._lastChangeValue,this._value)&&(this._lastChangeValue=Array.from(this._value),this.emit("sd-change")),this.tooltip==="on-interaction"&&await e.parentElement.hide())}onKeyPress(t){let e=t.target,i=+e.dataset.rangeId,a=this._rangeValues.get(i);if(a===void 0)return;let s=a;switch(t.key){case"ArrowUp":case"Up":s=Math.min(a+this.step,this.max);break;case"ArrowDown":case"Down":s=Math.max(a-this.step,this.min);break;case"ArrowLeft":case"Left":s=this.rtl?Math.min(a+this.step,this.max):Math.max(a-this.step,this.min);break;case"ArrowRight":case"Right":s=this.rtl?Math.max(a-this.step,this.min):Math.min(a+this.step,this.max);break;case"PageUp":s=Math.min(a+(this.max-this.min)/5,this.max);break;case"PageDown":s=Math.max(a-(this.max-this.min)/5,this.min);break;case"Home":s=this.min;break;case"End":s=this.max;break;default:return}if(s!==a){if(this.emit("sd-move",{cancelable:!0,detail:{element:e,value:s}}).defaultPrevented)return;let r=this.movementBoundariesForThumb(e,s);r.isRestricted&&(s=r.finalValue),this.moveThumb(e,s),this._rangeValues.set(i,s),this._value=Array.from(this._rangeValues.values()),this.updateActiveTrack(),this.updateTooltip(e),this._lastChangeValue=Array.from(this._value),this.emit("sd-input"),this.emit("sd-change")}t.preventDefault()}onBlur(t){var e;t.relatedTarget&&((e=this.shadowRoot)!=null&&e.contains(t.relatedTarget))||(this.emit("sd-blur"),this._hasFocus=!1)}onFocusThumb(t){var i;if(this.disabled||this.visuallyDisabled)return;this._hasFocus||(this._hasFocus=!0,this.emit("sd-focus"));let e=t.target;(i=e==null?void 0:e.dataset)!=null&&i.rangeId&&this.updateTooltip(e)}renderThumbs(t){let e=this._value.length>1;return this._rangeValues.clear(),this._value.map((i,a)=>{let s=a+1;this._rangeValues.set(s,i);let n=`thumb-${s}`,r="",u="";return e?(u=t?`label aria-label-hidden ${n}`:`aria-label-hidden ${n}`,a===0?r=`${this.localize.term("minimum")} (${this.tooltipFormatter(i)})`:a===this._value.length-1?r=`${this.localize.term("maximum")} (${this.tooltipFormatter(i)})`:r=this.tooltipFormatter(i)):u=t?"label aria-label-hidden":"",v`<sd-7-0-0-tooltip trigger="${this.tooltip==="on-interaction"?"focus":"manual"}" disabled="${d(this.disabled||this.visuallyDisabled||this.tooltip==="hidden"?!0:void 0)}"><div id="${n}" part="thumb" role="slider" tabindex="${this.disabled||this.visuallyDisabled?-1:0}" aria-disabled="${d(this.disabled||this.visuallyDisabled?"true":void 0)}" aria-labelledby="${u}" aria-label="${r}" aria-valuemax="${this.max}" aria-valuemin="${this.min}" aria-valuenow="${i}" aria-valuetext="${this.tooltipFormatter(i)}" data-range-id="${s}" data-disabled="${d(this.disabled||this.visuallyDisabled||void 0)}" @pointerdown="${this.onClickThumb}" @pointermove="${this.onDragThumb}" @pointerup="${this.onReleaseThumb}" @pointercancel="${this.onReleaseThumb}" @keydown="${this.onKeyPress}" @focus="${this.onFocusThumb}" class="${c("rounded-full absolute top-0 size-4 hover:cursor-grab after:-inset-2",this.disabled||this.visuallyDisabled?"outline-none":"cursor-pointer focus-visible:focus-outline")}"></div></sd-7-0-0-tooltip>`})}render(){let t={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text")},e=!!(this.label||t.label),i=!!(this.helpText||t.helpText);return v`<div part="form-control" @focusout="${this.onBlur}" class="flex flex-col">${e?v`<div class="flex items-center gap-1"><label id="label" part="form-control-label" aria-hidden="${e?"false":"true"}" class="${c("w-full text-start",e?"inline-block":"hidden")}" @click="${this.focus}"><slot name="label">${this.label}</slot></label></div>`:null} <label id="aria-label-hidden" class="sr-only">(${this._value.map(this.tooltipFormatter).join(" - ")})</label><div part="base" class="${c("inline-flex w-full",this.visuallyDisabled&&"focus-visible:focus-outline")}" tabindex="${d(this.visuallyDisabled?"0":void 0)}"><div part="input-wrapper" class="relative flex-1 mx-2 mb-[10px]"><input id="input" tabindex="-1" hidden @invalid="${this.handleInvalid}"><div part="track-wrapper" role="presentation" @pointerdown="${this.onClickTrack}" class="relative cursor-pointer -mx-2"><div part="track-click-helper" class="absolute -inset-y-2 inset-x-0"></div><div part="track" data-disabled="${d(this.disabled||this.visuallyDisabled||void 0)}" class="${c("h-1 my-[6px]")}"></div><div part="active-track" hidden="${d(this.noTrackBar?!0:void 0)}" data-disabled="${d(this.disabled||this.visuallyDisabled||void 0)}" class="${c("absolute top-0 h-1")}"></div></div>${this.renderThumbs(e)}<div class="-mt-[10px]" part="scale-ticks" @pointerdown="${this.onClickTrackItem}" role="presentation"><slot name="scale-ticks"></slot></div></div></div><slot></slot><slot name="help-text" part="form-control-help-text" id="help-text" class="${c("text-sm text-neutral-700 mt-1",i?"block":"hidden")}" aria-hidden="${!i}">${this.helpText}</slot></div>`}};l.styles=[...T.styles,E`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ [part='base']{touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}[part=thumb]{background-color:rgba(var(--sd-color-icon-fill-primary,rgba(var(--sd-color-primary))))}[part=thumb]:hover{background-color:rgba(var(--sd-color-icon-fill-primary-500,rgba(var(--sd-color-primary-500))))}[part=thumb].grabbed{background-color:rgba(var(--sd-color-icon-fill-primary-800,rgba(var(--sd-color-primary-800))))}[part=thumb][data-disabled]{background-color:rgba(var(--sd-color-background-neutral-500,rgba(var(--sd-color-neutral-500))))}[part=track]{background-color:rgba(var(--sd-color-border-neutral-400,rgba(var(--sd-color-neutral-400))))}[part=track][data-disabled]{background-color:rgba(var(--sd-color-background-neutral-500,rgba(var(--sd-color-neutral-500))))}[part=active-track]{background-color:rgba(var(--sd-color-icon-fill-primary,rgba(var(--sd-color-primary))))}[part=active-track][data-disabled]{background-color:rgba(var(--sd-color-background-neutral-500,rgba(var(--sd-color-neutral-500))))}`],o([f("#input")],l.prototype,"input",2),o([f('[part="active-track"]')],l.prototype,"activeTrack",2),o([f('[part="input-wrapper"]')],l.prototype,"inputWrapper",2),o([I('[part="thumb"]')],l.prototype,"thumbs",2),o([h({attribute:!1})],l.prototype,"tooltipFormatter",2),o([h({type:String,reflect:!0})],l.prototype,"name",2),o([h({type:String,reflect:!0})],l.prototype,"label",2),o([h({attribute:"help-text",reflect:!0})],l.prototype,"helpText",2),o([h({type:Number,reflect:!0})],l.prototype,"min",2),o([h({type:Number,reflect:!0})],l.prototype,"max",2),o([h({type:Number,reflect:!0})],l.prototype,"step",2),o([h({type:Boolean,reflect:!0})],l.prototype,"disabled",2),o([h({attribute:"visually-disabled",type:Boolean,reflect:!0})],l.prototype,"visuallyDisabled",2),o([h({attribute:"no-track-bar",type:Boolean,reflect:!0})],l.prototype,"noTrackBar",2),o([h({attribute:"tooltip",type:String,reflect:!0})],l.prototype,"tooltip",2),o([A()],l.prototype,"defaultValue",2),o([h({type:String})],l.prototype,"value",1),l=o([C("sd-7-0-0-range")],l);export{l as a};
@@ -0,0 +1,2 @@
1
+ import{a as b}from"./chunk.DSKB3SEU.js";import{a as h,b as u}from"./chunk.CGQ2BPPZ.js";import{a as l}from"./chunk.4ZZFYCXX.js";import{a}from"./chunk.NYKJXI3Q.js";import{a as d,b as i,d as r,h as n}from"./chunk.Z44RDBCE.js";import{b as c,e as o}from"./chunk.OBAEIKIV.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends n{constructor(){super(...arguments);this.type="normal";this.checked=!1;this.disabled=!1;this.value="";this.chevron=!1;this.hasSlotController=new h(this,"submenu");this.submenuController=new b(this,this.hasSlotController);this.handleHostClick=s=>{this.disabled&&(s.preventDefault(),s.stopImmediatePropagation())};this.handleMouseOver=s=>{this.focus(),s.stopPropagation()}}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleHostClick),this.addEventListener("mouseover",this.handleMouseOver)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleHostClick),this.removeEventListener("mouseover",this.handleMouseOver)}handleDefaultSlotChange(){let s=this.getTextLabel();if(typeof this.cachedTextLabel=="undefined"){this.cachedTextLabel=s;return}s!==this.cachedTextLabel&&(this.cachedTextLabel=s,this.emit("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}handleCheckedChange(){if(this.checked&&this.type!=="checkbox"){this.checked=!1,console.error('The checked attribute can only be used on menu items with type="checkbox"',this);return}this.type==="checkbox"?this.setAttribute("aria-checked",this.checked?"true":"false"):this.removeAttribute("aria-checked")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false"),this.setAttribute("tabindex",this.disabled?"-1":"0")}handleTypeChange(){this.type==="checkbox"?(this.setAttribute("role","menuitemcheckbox"),this.setAttribute("aria-checked",this.checked?"true":"false")):(this.setAttribute("role","menuitem"),this.removeAttribute("aria-checked"))}getTextLabel(){return u(this.defaultSlot)}isSubmenu(){return this.hasSlotController.test("submenu")}render(){let s=this.submenuController.isExpanded(),p={label:this.hasSlotController.test("[default]"),iconIndent:this.hasSlotController.test("icon-indent")};return o`<div id="anchor" part="base" class="${l("relative flex items-stretch whitespace-nowrap py-3 px-4 no-wrap !navigable-border-radius",this.disabled?"outline-none cursor-not-allowed sd-7-0-0-menu-item--disabled-color-text hover:bg-transparent":"cursor-pointer sd-7-0-0-menu-item-color-text hover:bg-neutral-200",this.isSubmenu()&&s&&"submenu-expanded")}" .disabled="${this.disabled}" ?aria-haspopup="${this.isSubmenu()}" ?aria-expanded="${!!s}">${this.type==="checkbox"?o`<span part="checked-icon" class="${l("flex items-center justify-center grow-0 shrink-0 basis-auto",this.checked?"visible":"invisible")}"><sd-7-0-0-icon name="status-check" library="sd-status-assets" aria-hidden="true"></sd-7-0-0-icon></span>`:""} ${p.iconIndent?o`<slot name="icon-indent" part="icon-indent" class="flex items-center grow-0 shrink-0 basis-auto mr-2"></slot>`:""}<slot part="label" class="inline-flex grow shrink basis-auto text-ellipsis overflow-hidden" @slotchange="${this.handleDefaultSlotChange}"></slot>${this.chevron||this.isSubmenu()?o`<span part="submenu-icon" class="flex items-center justify-center grow-0 shrink-0 basis-auto ml-3"><sd-7-0-0-icon name="chevron-right" library="_internal" aria-hidden="true" class="h-6 w-6"></sd-7-0-0-icon></span>`:""} ${this.submenuController.renderSubmenu()}</div>`}};e.styles=[...n.styles,c`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
+ :host{--submenu-offset:-6px;display:block}:host(:focus-visible){--tw-outline-style:none;outline-style:none}::slotted(sd-7-0-0-icon){height:var(--sd-spacing-6,1.5rem);width:var(--sd-spacing-6,1.5rem)}[part=checked-icon]{margin-right:var(--sd-spacing-3,.75rem)}.submenu-expanded::after{position:fixed;top:0;right:0;bottom:0;left:0;z-index:calc(var(z-dropdown) - 1);--tw-content:'';content:var(--tw-content);clip-path:polygon(var(--safe-triangle-cursor-x,0) var(--safe-triangle-cursor-y,0),var(--safe-triangle-submenu-start-x,0) var(--safe-triangle-submenu-start-y,0),var(--safe-triangle-submenu-end-x,0) var(--safe-triangle-submenu-end-y,0))}:host(:hover:not([aria-disabled=true],:focus-visible)) [part=base]{background-color:rgba(var(--sd-color-background-neutral-200,233 233 233));--tw-outline-style:none;outline-style:none}:host(:focus-visible:not([aria-disabled=true])) [part=base]{outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:var(--outline-color-primary);outline-offset:-2px}:host(.menu-item-focus) [part=base]{outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:var(--outline-color-primary);outline-offset:-2px}:host(:hover) [part=base]{--tw-outline-style:none;outline-style:none}:host [part=checked-icon],:host [part=icon-indent],:host [part=submenu-icon]{color:rgba(var(--sd-menu-item-color-icon-fill))}:host([aria-disabled=true]) [part=icon-indent]{color:rgba(var(--sd-menu-item--disabled-color-icon-fill))}sd-7-0-0-popup::part(popup){z-index:var(--sd-z-index-dropdown,900);background-color:rgba(var(--sd-color-background-white,255 255 255));margin-left:var(--submenu-offset)}::slotted(sd-7-0-0-menu){max-width:var(--auto-size-available-width)!important;max-height:var(--auto-size-available-height)!important}.sd-7-0-0-menu-item-color-text{color:rgba(var(--sd-menu-item-color-text))}.sd-7-0-0-menu-item--disabled-color-text{color:rgba(var(--sd-menu-item--disabled-color-text))}@property --tw-content{syntax:"*";inherits:false;initial-value:""}`],t([r("slot:not([name])")],e.prototype,"defaultSlot",2),t([r('part="base"')],e.prototype,"menuItem",2),t([i()],e.prototype,"type",2),t([i({type:Boolean,reflect:!0})],e.prototype,"checked",2),t([i({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([i()],e.prototype,"value",2),t([i({type:Boolean,reflect:!0})],e.prototype,"chevron",2),t([a("checked")],e.prototype,"handleCheckedChange",1),t([a("disabled")],e.prototype,"handleDisabledChange",1),t([a("type")],e.prototype,"handleTypeChange",1),e=t([d("sd-7-0-0-menu-item")],e);export{e as a};
@@ -0,0 +1,2 @@
1
+ import{a as b}from"./chunk.CGQ2BPPZ.js";import{a as y}from"./chunk.MEDJPDBB.js";import{a as r}from"./chunk.4ZZFYCXX.js";import{a as g,b as d,c as o,d as u,h as p}from"./chunk.Z44RDBCE.js";import{b as v,e as a}from"./chunk.OBAEIKIV.js";import{a as h}from"./chunk.WNP2V63C.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends p{constructor(){super();this.localize=new y(this);this.hasSlotController=new b(this,"transcript");this.reversedLayout=!1;this.hideTimestamps=!1;this.animated=!1;this.inverted=!1;this.speed=1;this.currentTime=this.formatTime(0);this.duration="";this.isPlaying=!1;this.isMuted=!1;this.isTranscriptOpen=!1;this.progress=0;this.updateCurrentTime=this.updateCurrentTime.bind(this),this.handleAudioEnd=this.handleAudioEnd.bind(this),this.handleAudioProgress=this.handleAudioProgress.bind(this),this.handleAudioProgressKeydown=this.handleAudioProgressKeydown.bind(this),this.handleTranscriptDrawerToggle=this.handleTranscriptDrawerToggle.bind(this)}firstUpdated(){this.audioElement&&(this.audioElement.addEventListener("timeupdate",this.updateCurrentTime),this.audioElement.addEventListener("ended",this.handleAudioEnd),this.audioElement.setAttribute("controlsList","nodownload"),document.addEventListener("sd-after-hide",this.handleTranscriptDrawerToggle),this.audioElement.playbackRate=this.speed,this.progressSlider.tooltipFormatter=e=>this.localize.term("seconds",Number(e).toFixed(0)),this.animated&&this.initAnimation())}updated(e){if(e.has("animated")){let s=e.get("animated");!s&&this.animated?this.initAnimation():s&&!this.animated&&this.clear()}}get audioElement(){let e=this.shadowRoot.querySelector("slot");return(e==null?void 0:e.assignedElements().length)>0?e.assignedElements()[0]:null}updateCurrentTime(){if(!this.audioElement)return;let e=this.audioElement.currentTime;this.currentTime=this.formatTime(e),this.progress=e,this.progressSlider&&(this.progressSlider.value=this.progress.toString())}updateAudioDuration(){if(this.audioElement){if(isNaN(this.audioElement.duration)){setTimeout(()=>{this.updateAudioDuration()},100);return}this.duration=this.formatTime(this.audioElement.duration),this.progressSlider.max=this.audioElement.duration}}playAudio(){this.audioElement&&(this.isPlaying=!0,this.audioElement.play(),this.emit("sd-playback-start"),this.animated&&this.draw())}pauseAudio(){this.audioElement&&(this.isPlaying=!1,this.audioElement.pause(),this.emit("sd-playback-pause"),this.animated&&this.stopAnimation())}handleAudioEnd(){this.emit("sd-playback-end"),this.isPlaying=!1,this.progress=0,this.progressSlider.value="0",this.currentTime=this.formatTime(0),this.animated&&this.stopAnimation()}toggleMute(){this.audioElement&&(this.isMuted=!this.isMuted,this.isMuted?(this.emit("sd-playback-mute"),this.audioElement.muted=!0):(this.emit("sd-playback-unmute"),this.audioElement.muted=!1))}toggleMuteKeydown(e){e.key==="Enter"&&(e.preventDefault(),this.toggleMute())}togglePlaybackSpeed(){this.audioElement&&(this.emit("sd-playback-speed"),this.speed=this.speed===1.5?1:this.speed+.25,this.audioElement.playbackRate=this.speed)}togglePlaybackSpeedKeydown(e){e.key==="Enter"&&(e.preventDefault(),this.togglePlaybackSpeed())}formatTime(e){let s=Math.floor(e/60).toString().padStart(2,"0"),c=Math.floor(e%60).toString().padStart(2,"0");return`${s}:${c}`}handleAudioProgress(){if(!this.audioElement)return;let e=Number(this.progressSlider.value);this.audioElement.currentTime=e,this.progress=e,this.currentTime=this.formatTime(e)}handleAudioProgressKeydown(e){e.key==="ArrowRight"&&(this.progressSlider.value=(Number(this.progressSlider.value)+1).toString(),this.handleAudioProgress()),e.key==="ArrowLeft"&&(this.progressSlider.value=(Number(this.progressSlider.value)-1).toString(),this.handleAudioProgress())}handleTranscriptDrawerToggle(){this.isTranscriptOpen=!this.isTranscriptOpen}handleThumbGrab(){var e;(e=this.audioElement)==null||e.pause()}handleThumbRelease(){var e;this.isPlaying&&((e=this.audioElement)==null||e.play())}showTranscript(){this.emit("sd-transcript-click"),this.drawer.open=!0,this.handleTranscriptDrawerToggle()}showTranscriptKeydown(e){(e.key==="Enter"||e.key===" ")&&this.showTranscript()}rgbToHex(e){let s=e.match(/\d+/g);if((s==null?void 0:s.length)===3){let c=parseInt(s[0]),m=parseInt(s[1]),n=parseInt(s[2]),l=f=>f.toString(16).padStart(2,"0");return`#${l(c)}${l(m)}${l(n)}`.toUpperCase()}return null}onThemeChange(){this.clear(),setTimeout(this.initAnimation.bind(this),this.token("--sd-duration-fast",150))}initAnimation(){var l;let e=(l=this.canvas)==null?void 0:l.getContext("2d");if(!e)return;this.context=e;let s=this.audioPlayerContainer.querySelector(".playback-speed"),m=window.getComputedStyle(s).color,n=this.inverted?"#FFFFFF33":this.rgbToHex(m)+"33";this.waveList=[new h({canvas:this.canvas,color:n,phase:240,shift:1.5,amplitude:230,frequency:.012,damping:1}),new h({canvas:this.canvas,color:n,phase:180,shift:2.5,amplitude:250,frequency:.005,damping:1}),new h({canvas:this.canvas,color:n,phase:180,shift:-2.5,amplitude:250,frequency:.005,damping:1}),new h({canvas:this.canvas,color:n,phase:180,shift:-1,amplitude:200,frequency:.018,damping:1}),new h({canvas:this.canvas,color:n,phase:180,shift:1.5,amplitude:150,frequency:.01,damping:1})],this.animated&&this.drawStillWaves()}drawStillWaves(){this.waveList.forEach(e=>{e.redraw()})}stopAnimation(){this.isPlaying=!1}clear(){!this.context||!this.canvas||this.context.clearRect(0,0,this.canvas.width,this.canvas.height)}async draw(){!this.isPlaying||!this.animated||(this.clear(),this.waveList.forEach(e=>{e.redraw()}),await new Promise(e=>{setTimeout(e,1e3/30)}),await this.draw())}render(){let e=a`<div class="${r("controls grid grid-cols-3 justify-items-center items-center",this.reversedLayout?"mt-2":"mb-2",!this.animated&&"relative",this.animated&&!this.reversedLayout&&"absolute -top-4 left-0 w-full")}" part="audio-controls"><button class="${r("playback-speed justify-self-start text-base font-bold hover:cursor-pointer sd-interactive",this.inverted&&"sd-interactive--inverted")}" aria-label="${this.localize.term("playbackSpeed")} (${this.speed}x)" @click="${this.togglePlaybackSpeed}" @keydown="${this.togglePlaybackSpeedKeydown}" part="playback-speed">${this.speed}x</button><sd-7-0-0-button ?inverted="${!!this.inverted}" part="play-button" size="lg" @click="${this.isPlaying?this.pauseAudio:this.playAudio}" aria-label="${this.isPlaying?this.localize.term("pauseAudio"):this.localize.term("playAudio")}" title="${this.isPlaying?this.localize.term("pauseAudio"):this.localize.term("playAudio")}" class="mb-4">${this.isPlaying?a`<slot name="pause-icon"><sd-7-0-0-icon class="text-xl" name="pause" library="_internal"></sd-7-0-0-icon></slot>`:a`<slot name="play-icon"><sd-7-0-0-icon class="text-xl" name="play" library="_internal"></sd-7-0-0-icon></slot>`}</sd-7-0-0-button><div class="flex items-center gap-6 justify-self-end">${this.hasSlotController.test("transcript")?a`<button class="${r("w-6 h-6 hover:cursor-pointer sd-interactive",this.inverted&&"sd-interactive--inverted")}" aria-label="${this.isTranscriptOpen?this.localize.term("transcriptIsOpen"):this.localize.term("openTranscript")}" @click="${this.showTranscript}" @keydown="${this.showTranscriptKeydown}" part="transcript"><sd-7-0-0-icon class="w-6 h-6" name="transcript" library="_internal"></sd-7-0-0-icon></button>`:null} <button class="${r("w-6 h-6 hover:cursor-pointer sd-interactive",this.inverted&&"sd-interactive--inverted")}" part="volume" aria-label="${this.isMuted?this.localize.term("unmute"):this.localize.term("mute")}" @click="${this.toggleMute}" @keydown="${this.toggleMuteKeydown}"><sd-7-0-0-icon class="w-6 h-6" name="${this.isMuted?"mute":"volume"}" library="_internal"></sd-7-0-0-icon></button></div></div>`,s=a`<div class="${r("w-full flex justify-between",this.reversedLayout?"mb-0.5":"mt-0.5",this.animated&&this.reversedLayout&&"absolute bottom-0 left-0 !mb-4")}" part="timestamps"><div class="${r("current-time text-sm",this.inverted?"text-primary-400":"text-neutral-700")}">${this.currentTime}</div><div class="${r("current-time text-sm",this.inverted?"text-primary-400":"text-neutral-700")}">${this.duration}</div></div>`;return a`<div class="${r("w-full flex relative",this.reversedLayout?"flex-col-reverse":"flex-col")}" aria-label="${this.localize.term("audioPlayer")}" part="audio-player"><slot @slotchange="${this.updateAudioDuration}"></slot>${!this.animated||this.animated&&this.reversedLayout?e:null}<div class="relative">${this.animated&&!this.reversedLayout?a`${e}`:null} ${this.animated?a`<canvas class="w-full h-16 -mb-2"></canvas>`:null} ${!this.hideTimestamps&&this.animated&&this.reversedLayout?s:null}<sd-7-0-0-range part="progress-slider" tooltip="hidden" min="0" max="100" step="0.001" label="${this.localize.term("seekBar")}" @mousedown="${this.handleThumbGrab}" @touchstart="${this.handleThumbGrab}" @mouseup="${this.handleThumbRelease}" @touchend="${this.handleThumbRelease}" @sd-7-0-0-input="${this.handleAudioProgress}" @keydown="${this.handleAudioProgressKeydown}"></sd-7-0-0-range></div>${this.hasSlotController.test("transcript")?a`<sd-7-0-0-drawer><slot name="transcript"></slot></sd-7-0-0-drawer>`:null} ${!this.hideTimestamps&&(!this.animated||!this.reversedLayout)?s:null}</div><sd-7-0-0-theme-listener></sd-7-0-0-theme-listener>`}};t.styles=[...p.styles,v`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ sd-7-0-0-button::part(base){display:flex;height:var(--sd-spacing-12,3rem);width:var(--sd-spacing-12,3rem);align-items:center;justify-content:center;border-radius:var(--sd-radius-full,624.9375rem)}sd-7-0-0-button::part(motion-wrapper){border-radius:var(--sd-radius-full,624.9375rem)}sd-7-0-0-button::part(label){display:flex;flex-grow:0;align-items:center}sd-7-0-0-range::part(form-control-label){display:none}:host([inverted]) sd-7-0-0-range::part(thumb){outline-color:rgba(var(--sd-color-border-white,var(--sd-color-white,255 255 255)));background-color:rgba(var(--sd-color-icon-fill-white,rgba(var(--sd-color-white))))}:host([animated]) sd-7-0-0-range::part(track){background-color:transparent}:host([inverted]:not([animated])) sd-7-0-0-range::part(track){background-color:rgba(var(--sd-audio__slide-bar--inverted-color-background,rgba(var(--sd-color-primary-400))))}:host([inverted]:not([animated])) sd-7-0-0-range::part(active-track){background-color:rgba(var(--sd-audio__track-bar--inverted-color-background,rgba(var(--sd-color-white))))}`],i([d({type:Boolean,reflect:!0,attribute:"reversed-layout"})],t.prototype,"reversedLayout",2),i([d({type:Boolean,reflect:!0,attribute:"hide-timestamps"})],t.prototype,"hideTimestamps",2),i([d({type:Boolean,reflect:!0})],t.prototype,"animated",2),i([d({type:Boolean,reflect:!0})],t.prototype,"inverted",2),i([d({type:Number,reflect:!0})],t.prototype,"speed",2),i([o()],t.prototype,"currentTime",2),i([o()],t.prototype,"duration",2),i([o()],t.prototype,"isPlaying",2),i([o()],t.prototype,"isMuted",2),i([o()],t.prototype,"isTranscriptOpen",2),i([o()],t.prototype,"progress",2),i([u('[part="progress-slider"]')],t.prototype,"progressSlider",2),i([u('[part="audio-player"]')],t.prototype,"audioPlayerContainer",2),i([u("sd-7-0-0-drawer")],t.prototype,"drawer",2),i([u("canvas")],t.prototype,"canvas",2),t=i([g("sd-7-0-0-audio")],t);export{t as a};
@@ -0,0 +1,12 @@
1
+ import{a as R}from"./chunk.ERP45OHF.js";import{a as B}from"./chunk.X2GM34WQ.js";import{a as D,d as K,e as U,f as $}from"./chunk.W7A3TU2Z.js";import{a as H}from"./chunk.OKNJ5BPS.js";import{b as A}from"./chunk.LZRL7OLU.js";import{a as P}from"./chunk.LHSR56PH.js";import{a as _}from"./chunk.CGQ2BPPZ.js";import{a as T,c as k}from"./chunk.B2NUKX6G.js";import{a as w}from"./chunk.KLRPP4NQ.js";import{a as I}from"./chunk.W5O4FM6B.js";import{a as M}from"./chunk.MEDJPDBB.js";import{a as d}from"./chunk.4ZZFYCXX.js";import{a as f}from"./chunk.NYKJXI3Q.js";import{a as F,b as r,c as u,d as m,h as E}from"./chunk.Z44RDBCE.js";import{b as V,e as p}from"./chunk.OBAEIKIV.js";import{b as S,e as C}from"./chunk.W4QBFD6E.js";import{e as l}from"./chunk.6EV4YU6C.js";var s=class extends E{constructor(){super(...arguments);this.formControlController=new A(this,{assumeInteractionOn:["sd-blur","sd-input"]});this.hasSlotController=new _(this,"help-text","label");this.localize=new M(this);this.hasFocus=!1;this.displayInputValue="";this.selectedTextLabel="";this.selectedOptions=[];this.filteredOptions=[];this.allOptions=[];this.showValidStyle=!1;this.showInvalidStyle=!1;this.deletedTagLabel="";this.name="";this.value="";this.defaultValue="";this.size="lg";this.placeholder="";this.maxOptionsTagLabel="";this.disabled=!1;this.visuallyDisabled=!1;this.clearable=!1;this.open=!1;this.hoist=!1;this.label="";this.placement="bottom";this.helpText="";this.form="";this.required=!1;this.floatingLabel=!1;this.type="text";this.currentPlacement=this.placement;this.getOption=B;this.multiple=!1;this.useTags=!0;this.maxOptionsVisible=3;this.styleOnValid=!1;this.filter=(t,e)=>{let i=$(t.value),a=$(t.getTextLabel()),o=$(e);return i.includes(o)||a.includes(o)};this.getTag=t=>p`<sd-7-0-0-tag class="min-w-0 max-w-full" ?disabled="${this.disabled}" part="tag" exportparts="
2
+ base:tag__base,
3
+ content:tag__content,
4
+ removable-indicator:tag__removable-indicator,
5
+ " size="${this.size==="sm"?"sm":"lg"}" removable @keydown="${e=>this.handleTagKeyDown(e,t)}" @sd-remove="${e=>this.handleTagRemove(e,t)}">${t.getTextLabel()}</sd-7-0-0-tag>`;this.handleDocumentFocusIn=t=>{let e=t.composedPath();this&&!e.includes(this)&&this.hide()};this.handleDocumentKeyDown=t=>{let i=t.composedPath().some(n=>n instanceof HTMLButtonElement&&n.classList.contains("combobox-button"));if(this.visuallyDisabled){t.preventDefault(),t.stopPropagation();return}if(!(i||t.target.closest(".combobox__clear")!==null)){if(t.key==="Escape"&&(this.open?(t.preventDefault(),t.stopPropagation(),this.hide(),this.displayInput.focus({preventScroll:!0})):this.displayInputValue=""),t.key==="Backspace"&&this.multiple&&this.displayInput.value===""){this.handleTagRemove(new CustomEvent("sd-remove"),this.selectedOptions[this.selectedOptions.length-1]),this.updateComplete.then(()=>this.displayInput.focus({preventScroll:!0}));return}if(!this.multiple&&(t.key==="Backspace"||t.key==="Delete")){this.clearCombobox();return}if(t.key==="Enter"){let n=this.getCurrentOption(),g=t.metaKey||t.ctrlKey||t.shiftKey||t.altKey;if(!this.open&&!g){setTimeout(()=>{t.defaultPrevented||this.formControlController.submit()});return}if(!this.open||n!=null&&n.disabled)return;if(n&&!n.disabled){let c=this.value;this.multiple?(this.toggleOptionSelection(n),this.lastOption=n,this.setOrderedSelectedOptions(n),this.updateComplete.then(()=>{this.selectionChanged()})):(this.setOrderedSelectedOptions(n),this.setSelectedOptions(n)),this.updateComplete.then(()=>{this.displayInput.focus({preventScroll:!0}),this.value!==c&&(this.emit("sd-input"),this.emit("sd-change"))})}this.displayInput.focus({preventScroll:!0}),this.multiple||(this.hide(),this.displayInput.focus({preventScroll:!0}));return}["ArrowUp","ArrowDown"].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),this.open||this.show(),this.selectNextOption(t.key==="ArrowDown")),["Home","End"].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),t.key==="Home"?this.displayInput.setSelectionRange(0,0):t.key==="End"&&this.displayInput.setSelectionRange(this.displayInput.value.length,this.displayInput.value.length))}};this.handleDocumentMouseDown=t=>{let e=t.composedPath();this&&!e.includes(this)&&this.hide()}}connectedCallback(){super.connectedCallback(),this.open=!1}firstUpdated(){if(!this.multiple){let t=this.findOptionByValue(this.getSlottedOptions(),this.value);this.selectedTextLabel=(t==null?void 0:t.getTextLabel())||""}this.formControlController.updateValidity()}get validity(){return this.valueInput.validity}get validationMessage(){return this.valueInput.validationMessage}get options(){let t=e=>{let i=this.displayInput.value,a=this.getOption(e,i);return e.tabIndex=0,p`${typeof a=="string"?I(a):a}`};return this.filteredOptions.map(e=>e.tagName.toLowerCase()==="sd-7-0-0-optgroup"?(Array.from(e.children).forEach(i=>{i.tagName.toLowerCase()==="sd-7-0-0-option"&&t(i)}),e):t(e))}get tags(){return this.selectedOptions.length<=this.maxOptionsVisible?this.selectedOptions.map((t,e)=>{if(e<this.maxOptionsVisible||this.maxOptionsVisible<=0){let i=this.getTag(t,e);return p`<div @sd-remove="${a=>this.handleTagRemove(a,t)}">${typeof i=="string"?I(i):i}</div>`}return[p``]}):[p`<sd-7-0-0-tag class="min-w-0 max-w-full" ?disabled="${this.disabled}" part="tag" exportparts="
6
+ base:tag__base,
7
+ content:tag__content,
8
+ removable-indicator:tag__removable-indicator,
9
+ " size="${this.size==="sm"?"sm":"lg"}" removable @keydown="${t=>this.handleTagMaxOptionsKeyDown(t)}" @sd-remove="${t=>this.handleTagRemove(t)}">${this.selectedOptions.length} ${this.localize.term("tagsSelected")}</sd-7-0-0-tag>`]}addOpenListeners(){document.addEventListener("focusin",this.handleDocumentFocusIn),document.addEventListener("mousedown",this.handleDocumentMouseDown),this.getRootNode()!==document&&this.getRootNode().addEventListener("focusin",this.handleDocumentFocusIn)}removeOpenListeners(){document.removeEventListener("focusin",this.handleDocumentFocusIn),document.removeEventListener("mousedown",this.handleDocumentMouseDown),this.getRootNode()!==document&&this.getRootNode().removeEventListener("focusin",this.handleDocumentFocusIn)}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleTagKeyDown(t,e){(t.key==="Backspace"||t.key==="Enter"||t.key===" ")&&this.multiple&&(t.preventDefault(),t.stopPropagation(),this.handleTagRemove(new CustomEvent("sd-remove"),e),this.updateComplete.then(()=>this.displayInput.focus({preventScroll:!0})))}handleTagMaxOptionsKeyDown(t){(t.key==="Backspace"||t.key==="Enter"||t.key===" ")&&this.multiple&&(t.preventDefault(),t.stopPropagation(),this.handleTagRemove(new CustomEvent("sd-remove"),this.selectedOptions[this.selectedOptions.length-1]),this.updateComplete.then(()=>this.displayInput.focus({preventScroll:!0})))}handleLabelClick(){this.visuallyDisabled||this.displayInput.focus()}handleTagRemove(t,e){t.stopPropagation(),e||this.clearCombobox(),e&&!this.disabled&&(this.toggleOptionSelection(e,!1),this.setOrderedSelectedOptions(e),this.deletedTagLabel="",this.deletedTagLabel=this.localize.term("removed",e.textContent),this.updateComplete.then(()=>{this.selectionChanged(),this.emit("sd-input"),this.emit("sd-change")}))}handleComboboxMouseDown(t){if(this.visuallyDisabled){t.preventDefault(),t.stopPropagation();return}let i=t.composedPath().some(o=>o instanceof HTMLSlotElement&&o.name==="removable-indicator");if(this.disabled||i)return;(this.open?this.hide():this.show()).then(()=>{setTimeout(()=>this.displayInput.focus({preventScroll:!0}))})}async handleComboboxKeyDown(t){var e;if(t.key==="Tab"){if(this.displayInputValue="",this.displayInput.value="",this.open&&((e=this.shadowRoot)==null?void 0:e.activeElement)===this.displayInput){t.preventDefault(),this.open=!1,await this.updateComplete,this.displayInput.focus();return}return}this.handleDocumentKeyDown(t)}handleClearClick(t){t.stopPropagation(),this.clearCombobox()}handleSearchClick(t){t.stopPropagation(),!(this.disabled||this.visuallyDisabled)&&this.emit("sd-search")}handleNoResultsClick(t){t.preventDefault(),this.hide()}clearCombobox(){this.value!==""&&(this.value="",this.displayInputValue="",this.selectedTextLabel="",this.lastOption=void 0,this.selectedOptions=[],this.getSlottedOptions().forEach(t=>{t.selected=!1}),this.displayInput.focus({preventScroll:!0}),this.updateComplete.then(()=>{this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change")}))}preventLoosingFocus(t){t.stopPropagation(),t.preventDefault()}handleOptionClick(t){let i=t.target.closest("sd-7-0-0-option"),a=this.value;i&&!i.disabled&&(this.multiple?(this.toggleOptionSelection(i),this.lastOption=i,this.setOrderedSelectedOptions(i),this.updateComplete.then(()=>{this.selectionChanged()})):(this.setOrderedSelectedOptions(i),this.setSelectedOptions(i)),this.updateComplete.then(()=>{this.displayInput.focus({preventScroll:!0}),this.value!==a&&(this.emit("sd-input"),this.emit("sd-change"))}),this.multiple||(this.hide(),this.displayInput.focus({preventScroll:!0})))}selectNextOption(t){let e=this.getAllFilteredOptions();if(e.length===0)return;let i=this.getCurrentOption(),a=e.indexOf(i),o=Math.max(0,a);if(t){let n=a+1;o=n>e.length-1?0:n}else{let n=a-1;o=n<0?e.length-1:n}this.setCurrentOption(e[o],new KeyboardEvent("keydown")),H(this.getCurrentOption(),this.listbox,"vertical","auto")}getAllFilteredOptions(){return[...this.filteredWrapper.querySelectorAll("sd-7-0-0-option")]}getCurrentOption(){return this.getAllFilteredOptions().find(t=>t.current)}setCurrentOption(t,e){let i=this.getAllFilteredOptions();this.displayInput.removeAttribute("aria-activedescendant"),i.forEach(a=>{a.current=!1,a.setAttribute("aria-selected","false"),a.isKeyboardFocus=!1}),t&&(t.current=!0,t.setAttribute("aria-selected","true"),this.displayInput.setAttribute("aria-activedescendant",t.id)),t&&(e==null?void 0:e.type)==="keydown"&&(t.isKeyboardFocus=!0)}toggleOptionSelection(t,e){let a=this.getSlottedOptions().find(o=>o.value&&t.value?o.value===t.value:o.getTextLabel()===t.getTextLabel());a&&(a.selected=e!=null?e:!a.selected)}findOptionByValue(t,e){if(e)return Array.isArray(e)?t.find(i=>e.includes(i.value)):t.find(i=>i.value===e)}selectedOptionsAndValueSynced(){var t;return!this.value&&this.selectedOptions.length===0?!0:Array.isArray(this.value)?this.value.length===this.selectedOptions.length:this.value===((t=this.selectedOptions[0])==null?void 0:t.value)}isOptionSelected(t){return t.value?this.value.includes(t.value):this.value.includes(t.getTextLabel())}syncSelectedOptionsAndValue(){return this.selectedOptionsAndValueSynced()?void 0:(this.getSlottedOptions().forEach(e=>{e.selected=!1}),this.selectedOptions=this.getSlottedOptions().filter(e=>this.isOptionSelected(e)),this.selectedOptions.forEach(e=>{e&&(e.selected=!0)}),Promise.resolve())}compareOptions(t,e){return t.value&&e.value?t.value===e.value:t.getTextLabel()===e.getTextLabel()}setSelectedOptions(t){this.getSlottedOptions().forEach(i=>{i.selected=this.compareOptions(i,t)}),this.selectionChanged()}setOrderedSelectedOptions(t){let e=this.getSlottedOptions().find(i=>this.compareOptions(i,t));this.multiple?this.selectedOptions.length>0&&e&&this.selectedOptions.find(i=>this.compareOptions(i,e))?this.selectedOptions=this.selectedOptions.filter(i=>!this.compareOptions(i,e)):this.selectedOptions=[...this.selectedOptions,e]:this.selectedOptions=[e]}selectionChanged(){var e,i,a;let t=this.selectedOptions.some(o=>o?this.isOptionSelected(o):!1);this.multiple?(!t&&this.selectedOptions.length>0?this.value=[...this.value,...this.selectedOptions.map(o=>o.value||o.getTextLabel())]:this.value=this.selectedOptions.map(o=>(o==null?void 0:o.value)||(o==null?void 0:o.getTextLabel())||""),this.displayInputValue=""):(this.value=((e=this.selectedOptions[0])==null?void 0:e.value)||((i=this.selectedOptions[0])==null?void 0:i.getTextLabel())||"",this.selectedTextLabel=((a=this.selectedOptions[0])==null?void 0:a.getTextLabel())||"",this.displayInputValue=""),this.updateComplete.then(()=>{this.formControlController.updateValidity()})}createComboboxOptionsFromQuery(t){let e=[];this.filteredOptions=this.getSlottedOptions().filter(i=>this.filter(i,t)||t==="").map(i=>{var O,v,x;let a=i.cloneNode(!0);if(a.current=a.value===((O=this.lastOption)==null?void 0:O.value),a.selected=i.selected,a.checkbox=i.checkbox,a.size=i.size,!(((v=i.parentElement)==null?void 0:v.tagName.toLowerCase())==="sd-7-0-0-optgroup"))return a;let n=i.parentElement,g=(x=n.querySelector('[slot="label"]'))==null?void 0:x.cloneNode(!0),c=e.find(b=>b.id===n.id);if(c){c==null||c.appendChild(a),g&&(c==null||c.appendChild(g));return}let h=n.cloneNode();return h.appendChild(a),g&&h.appendChild(g),e.push(h),h}).filter(Boolean)}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}handleCurrentPlacement(t){let e=t.detail;e&&(this.currentPlacement=e)}handleFilterChange(){this.createComboboxOptionsFromQuery(this.displayInputValue)}handleUseTagsChange(){let t=this.getAllFilteredOptions();customElements.get("sd-7-0-0-option")&&t.forEach(e=>{e.checkbox=this.multiple})}applySizeToOptions(){this.getSlottedOptions().forEach(t=>{t.size=this.size})}handleDisabledChange(){this.formControlController.setValidity(this.disabled),(this.disabled||this.visuallyDisabled)&&(this.open=!1,this.handleOpenChange())}handleValueChange(){this.syncSelectedOptionsAndValue(),this.multiple?this.createComboboxOptionsFromQuery(this.displayInput.value):this.createComboboxOptionsFromQuery("")}handleDisplayInputValueChange(){this.createComboboxOptionsFromQuery(this.displayInputValue)}async handleOpenChange(){if(this.open&&(!this.disabled||!this.visuallyDisabled)){this.emit("sd-show"),this.addOpenListeners(),await C(this),this.listbox.hidden=!1,this.popup.active=!0;let{keyframes:i,options:a}=k(this,"combobox.show",{dir:this.localize.dir()});await S(this.popup.popup,i,a),this.emit("sd-after-show"),this.filteredOptions.length===0&&this.emit("sd-error");return}this.setCurrentOption(null),this.displayInput.removeAttribute("aria-activedescendant"),this.emit("sd-hide"),this.removeOpenListeners(),await C(this);let{keyframes:t,options:e}=k(this,"combobox.hide",{dir:this.localize.dir()});await S(this.popup.popup,t,e),this.listbox.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}handleSizeChange(){this.size=this.floatingLabel&&this.size==="sm"?"md":this.size}async show(){if(this.open||this.disabled||this.visuallyDisabled){this.open=!1;return}return this.open=!0,Promise.race([w(this,"sd-after-show"),w(this,"sd-error")])}async hide(){if(!this.open||this.disabled){this.open=!1;return}return this.displayInputValue="",this.open=!1,w(this,"sd-after-hide")}checkValidity(){return this.valueInput.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.valueInput.reportValidity()}setCustomValidity(t){this.valueInput.setCustomValidity(t),this.formControlController.updateValidity()}focus(t){this.displayInput.focus(t)}blur(){this.displayInput.blur()}async handleInput(){let t=this.displayInput.value;this.displayInputValue=t,await this.updateComplete,this.open=this.filteredWrapper.children.length>0,this.formControlController.updateValidity(),this.emit("sd-input")}handleChange(){(!this.selectedOptions||!this.multiple)&&(this.selectedTextLabel=this.displayInput.value,this.updateComplete.then(()=>{this.formControlController.updateValidity()}),this.emit("sd-change"))}getSlottedOptions(){return K(D(this.defaultSlot)).flat()}getSlottedOptGroups(){return U(D(this.defaultSlot))}async handleDefaultSlotChange(){if(!customElements.get("sd-7-0-0-option")){customElements.whenDefined("sd-7-0-0-option").then(()=>this.handleDefaultSlotChange());return}let t=this.getSlottedOptions(),e=this.getSlottedOptGroups();this.applySizeToOptions();let i=this.findOptionByValue(t,this.value);this.selectedTextLabel=(i==null?void 0:i.getTextLabel())||"",t.forEach((a,o)=>{this.multiple&&(a.checkbox=!0),a.id=a.id||`sd-7-0-0-combobox-option-${o}`}),e.forEach((a,o)=>{a.id=a.id||`sd-7-0-0-combobox-optgroup-${o}`}),await this.syncSelectedOptionsAndValue(),this.multiple?this.createComboboxOptionsFromQuery(this.displayInputValue):this.createComboboxOptionsFromQuery("")}render(){let t={left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right")},e=this.hasSlotController.test("label"),i=this.hasSlotController.test("help-text"),a=this.label?!0:!!e,o=this.helpText?!0:!!i,n=this.clearable&&!this.disabled&&!this.visuallyDisabled,g=t.left,c=this.value!==null&&String(this.value).length>0,h=this.floatingLabel&&a&&(this.hasFocus||c),O=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus||this.open?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",v=this.disabled||this.visuallyDisabled?"cursor-not-allowed":"cursor-pointer",x=this.disabled||this.visuallyDisabled?"text-neutral-500":"form-control-color-icon-fill",b={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],z={sm:"mr-1",md:"mr-2",lg:"mr-2"}[this.size],y={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size],N=this.size==="lg"?this.floatingLabel?"py-3":"py-2":this.floatingLabel?h?"py-2":"py-3":"py-1",q={sm:"left-[36px]",md:"left-[44px]",lg:"left-12"}[this.size];return p`<div part="form-control" class="${d("relative text-left",v,this.size==="sm"?"text-sm":"text-base",this.open&&"z-50")}">${a&&!this.floatingLabel?p`<div class="flex items-center gap-1 mb-2"><label id="label" part="form-control-label" class="${d(a&&"inline-block",a&&(this.visuallyDisabled||this.disabled)?"text-neutral-500":"form-control-color-text")}" aria-hidden="${a?"false":"true"}" @click="${this.handleLabelClick}"><slot name="label">${this.label}</slot></label></div>`:null} <span aria-live="polite" class="sr-only">${this.deletedTagLabel}</span><div part="form-control-input" class="relative w-full bg-white text-black">${a&&this.floatingLabel?p`<label id="label" part="form-control-floating-label" class="${d("absolute left-4 z-20 pointer-events-none transition-all duration-200",g?q:"left-4",h?this.size==="lg"?"top-2 text-xs":"top-1 text-xs":"top-1/2 -translate-y-1/2 form-control-color-text",h&&"mt-1")}" for="input"><span class="${d("leading-none",(this.visuallyDisabled||this.disabled)&&"text-neutral-500",h&&!this.visuallyDisabled&&!this.disabled&&"form-control--filled__floating-label-color-text")}">${this.label}</span></label>`:null}<div part="border" class="${d("absolute top-0 w-full h-full pointer-events-none border form-control-border-radius z-10 transition-[border] duration-medium ease-in-out",{disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",readonly:"form-control-color-border",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"form-control-color-border"}[O],this.open&&(this.currentPlacement==="bottom"?"rounded-bl-none rounded-br-none":"rounded-tl-none rounded-tr-none"))}"></div><sd-7-0-0-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${d("inline-flex relative w-full",this.currentPlacement==="bottom"?"origin-top":"origin-bottom")}" placement="${this.placement}" strategy="${this.hoist?"fixed":"absolute"}" flip shift sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
10
+ popup:popup__content,
11
+ "><div part="combobox" class="${d("relative w-full px-4 flex flex-row items-center form-control-border-radius transition-colors hover:duration-fast ease-in-out",this.visuallyDisabled||this.disabled?"hover:bg-transparent":"hover:[@media(hover:hover)]:form-control--hover-color-background",this.open&&"shadow transition-shadow duration-medium ease-in-out",["invalid","activeInvalid"].includes(O)&&"form-control--invalid-color-background",{sm:"py-1 min-h-[32px]",md:"py-1 min-h-[40px]",lg:"py-2 min-h-[48px]"}[this.size],N)}" slot="anchor" @keydown="${this.handleComboboxKeyDown}" @mousedown="${this.handleComboboxMouseDown}">${t.left?p`<slot part="left" name="left" class="${d("inline-flex",z,x,y)}"></slot>`:""}<div class="${d("flex flex-wrap items-center gap-1 w-full min-w-0 relative",this.floatingLabel&&h&&"mt-4",this.floatingLabel&&!h&&this.size==="lg"&&"mt-2")}">${this.multiple&&this.useTags&&this.tags&&this.tags.length>0?p`<div part="tags" class="${d("flex flex-wrap items-center gap-1 min-w-0",z)}">${this.tags}</div>`:null} <input id="display-input" name="${this.name}" form="${this.form}" part="display-input" class="${d("appearance-none outline-none bg-transparent flex-auto min-w-0",v,this.selectedTextLabel&&!this.multiple?"placeholder:text-black":"placeholder:text-neutral-700",this.size==="sm"?h?"h-4":"h-6":h?"h-6":"h-8")}" type="text" placeholder="${!this.floatingLabel||h?this.selectedTextLabel&&!this.multiple?this.selectedTextLabel:this.placeholder||this.localize.term("comboboxDefaultPlaceholder"):""}" .disabled="${this.disabled}" .value="${this.displayInputValue}" autocomplete="off" spellcheck="false" autocapitalize="off" aria-controls="listbox" aria-expanded="${this.open}" aria-haspopup="listbox" aria-labelledby="label" aria-disabled="${this.disabled||this.visuallyDisabled}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" role="combobox" tabindex="0" @focus="${this.handleFocus}" @blur="${this.handleBlur}" aria-autocomplete="list" aria-owns="listbox" @input="${this.handleInput}" @change="${this.handleChange}"></div><div aria-live="polite" id="control-value" class="absolute top-0 left-0 opacity-0 -z-10">${this.selectedOptions.map(L=>L==null?void 0:L.getTextLabel()).join(", ")}</div><input class="${d("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10",v)}" type="text" ?disabled="${this.disabled}" ?required="${this.required}" .value="${Array.isArray(this.value)?this.value.join(", "):this.value}" tabindex="-1" aria-controls="control-value" aria-hidden="true" @focus="${()=>this.focus()}" @invalid="${this.handleInvalid}"> ${n?p`<button part="clear-button" class="${d("flex justify-center",b,this.value.length>0?"visible":"invisible")}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.preventLoosingFocus}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-7-0-0-icon class="${d("text-neutral-700",y)}" name="close-circle" library="_internal"></sd-7-0-0-icon></slot></button>`:""} ${this.showInvalidStyle?p`<sd-7-0-0-icon part="invalid-icon" class="${d(b,y,"text-error")}" library="_internal" name="risk"></sd-7-0-0-icon>`:""} ${this.styleOnValid&&this.showValidStyle?p`<sd-7-0-0-icon part="valid-icon" class="${d("flex-shrink-0 text-success",b,y)}" library="_internal" name="confirm-circle"></sd-7-0-0-icon>`:""}<slot name="right" part="right" class="${d("inline-flex ml-2 leading-[0]",this.disabled||this.visuallyDisabled?"text-neutral-500":"form-control-color-icon-fill",y)}">${this.type!=="search"?p`<sd-7-0-0-icon class="${d("transition-transform duration-medium ease-in-out",this.open?"rotate-180":"rotate-0")}" name="chevron-bottom" part="chevron" library="_internal" color="currentColor" label="${this.localize.term("open")}"></sd-7-0-0-icon>`:""}</slot>${this.type==="search"?p`<button class="${d("flex items-center",b)}" type="button" @mousedown="${this.preventLoosingFocus}" @click="${this.handleSearchClick}"><sd-7-0-0-icon class="${d(x,y)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-7-0-0-icon></button>`:p`<button class="combobox-button absolute top-2" tabindex="-1" aria-hidden="true" @keydown="${this.handleComboboxMouseDown}" type="button"><span class="sr-only">${this.localize.term("open")}</span></button>`}</div><div id="listbox" role="${P(this.multiple?void 0:"listbox")}" aria-expanded="${this.open}" aria-multiselectable="${this.multiple}" aria-labelledby="label" part="listbox" class="${d("bg-white px-2 py-3 relative border-primary overflow-y-auto",this.open&&"shadow-listbox transition-shadow duration-medium ease-in-out",this.currentPlacement==="bottom"?"border-r-2 border-b-2 border-l-2 form-control__listbox-border-bottom-right-radius form-control__listbox-border-bottom-left-radius":"border-r-2 border-t-2 border-l-2 form-control__listbox-border-top-right-radius form-control__listbox-border-top-left-radius")}" tabindex="-1" @mousedown="${this.preventLoosingFocus}" @mouseup="${this.handleOptionClick}"><div part="filtered-listbox">${this.filteredOptions.length===0?p`<span id="noResults" class="px-4 flex items-center w-full transition-all text-left text-base relative text-black py-3" aria-hidden="true" @click="${this.handleNoResultsClick}">${this.localize.term("noResults")}</span>`:this.options}</div><slot id="defaultOptionsSlot" class="hidden" @slotchange="${this.handleDefaultSlotChange}"></slot></div></sd-7-0-0-popup></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${d("text-sm mt-1",o?"block":"hidden",this.visuallyDisabled||this.disabled?"text-neutral-500":"text-neutral-700")}" aria-hidden="${!o}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage(this.size)}`}};s.styles=[...E.styles,V`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
12
+ :host{position:relative;display:block;width:100%}:host([required]) #label::after{content:' *'}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{color:rgba(var(--sd-color-text-neutral-500,174 174 174))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{color:rgba(var(--sd-color-text-neutral-500,174 174 174))}:host([visually-disabled]) input{caret-color:transparent}:host([size=sm]) .combobox-button{right:var(--sd-spacing-4,1rem);height:var(--sd-spacing-4,1rem);width:var(--sd-spacing-4,1rem)}:host([size=md]) .combobox-button{right:.85rem;height:var(--sd-spacing-6,1.5rem);width:var(--sd-spacing-6,1.5rem)}:host([size=lg]) .combobox-button{right:var(--sd-spacing-3,.75rem);height:var(--sd-spacing-8,2rem);width:var(--sd-spacing-8,2rem)}[part=listbox]{max-height:var(--auto-size-available-height,auto)}sd-7-0-0-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-7-0-0-tag::part(base){border-radius:var(--sd-radius,.25rem);border-width:var(--sd-combobox__tag-border-width,.0625rem);padding-inline:var(--sd-spacing-1,.25rem)}sd-7-0-0-tag::part(content){display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:var(--tag-max-width,15ch)}sd-7-0-0-tag[size=lg]::part(base){padding-inline:var(--sd-spacing-2,.5rem)}sd-7-0-0-tag[disabled=false]::part(base):hover{background-color:rgba(var(--sd-color-background-primary-100,236 240 249))}[part=filtered-listbox] sd-7-0-0-optgroup:first-of-type{--display-divider:none}mark{background-color:transparent;--tw-font-weight:var(--sd-font-weight-bold, 600);font-weight:var(--sd-font-weight-bold,600);color:inherit}:host([type=search]) sd-7-0-0-icon[name=magnifying-glass],[part=chevron]{color:rgba(var(--sd-form-control-color-icon-fill))}:host([disabled])::part(chevron),:host([type=search][disabled]) sd-7-0-0-icon[name=magnifying-glass],:host([type=search][visually-disabled]) sd-7-0-0-icon[name=magnifying-glass],:host([visually-disabled])::part(chevron){color:rgba(var(--sd-color-icon-fill-neutral-500,--sd-color-neutral-500))}@property --tw-font-weight{syntax:"*";inherits:false}`],l([m("sd-7-0-0-popup")],s.prototype,"popup",2),l([m('[part="combobox"]')],s.prototype,"combobox",2),l([m('[part="display-input"]')],s.prototype,"displayInput",2),l([m(".value-input")],s.prototype,"valueInput",2),l([m('[part="listbox"]')],s.prototype,"listbox",2),l([m('[part="tags"]')],s.prototype,"tagWrapper",2),l([m('[part="filtered-listbox"]')],s.prototype,"filteredWrapper",2),l([m("slot:not([name])")],s.prototype,"defaultSlot",2),l([m("#invalid-message")],s.prototype,"invalidMessage",2),l([u()],s.prototype,"hasFocus",2),l([u()],s.prototype,"displayInputValue",2),l([u()],s.prototype,"selectedTextLabel",2),l([u()],s.prototype,"selectedOptions",2),l([u()],s.prototype,"filteredOptions",2),l([u()],s.prototype,"allOptions",2),l([u()],s.prototype,"lastOption",2),l([u()],s.prototype,"showValidStyle",2),l([u()],s.prototype,"showInvalidStyle",2),l([u()],s.prototype,"deletedTagLabel",2),l([r({reflect:!0})],s.prototype,"name",2),l([r({converter:{fromAttribute:t=>t.split(" "),toAttribute:t=>t.join(" ")}})],s.prototype,"value",2),l([R()],s.prototype,"defaultValue",2),l([r({type:String,reflect:!0})],s.prototype,"size",2),l([r({type:String,reflect:!0})],s.prototype,"placeholder",2),l([r({type:String,attribute:"max-options-tag-label",reflect:!0})],s.prototype,"maxOptionsTagLabel",2),l([r({type:Boolean,reflect:!0})],s.prototype,"disabled",2),l([r({type:Boolean,reflect:!0,attribute:"visually-disabled"})],s.prototype,"visuallyDisabled",2),l([r({type:Boolean,reflect:!0})],s.prototype,"clearable",2),l([r({type:Boolean,reflect:!0})],s.prototype,"open",2),l([r({type:Boolean,reflect:!0})],s.prototype,"hoist",2),l([r({type:String,reflect:!0})],s.prototype,"label",2),l([r({type:String,reflect:!0})],s.prototype,"placement",2),l([r({type:String,attribute:"help-text",reflect:!0})],s.prototype,"helpText",2),l([r({type:String,reflect:!0})],s.prototype,"form",2),l([r({type:Boolean,reflect:!0})],s.prototype,"required",2),l([r({attribute:"floating-label",type:Boolean,reflect:!0})],s.prototype,"floatingLabel",2),l([r({type:String,reflect:!0})],s.prototype,"type",2),l([u()],s.prototype,"currentPlacement",2),l([r()],s.prototype,"getOption",2),l([r({type:Boolean,reflect:!0})],s.prototype,"multiple",2),l([r({type:Boolean,reflect:!0})],s.prototype,"useTags",2),l([r({type:Number,reflect:!0,attribute:"max-options-visible"})],s.prototype,"maxOptionsVisible",2),l([r({type:Boolean,reflect:!0,attribute:"style-on-valid"})],s.prototype,"styleOnValid",2),l([r()],s.prototype,"filter",2),l([r()],s.prototype,"getTag",2),l([f("filter",{waitUntilFirstUpdate:!0})],s.prototype,"handleFilterChange",1),l([f("useTags",{waitUntilFirstUpdate:!0})],s.prototype,"handleUseTagsChange",1),l([f("size",{waitUntilFirstUpdate:!0})],s.prototype,"applySizeToOptions",1),l([f(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],s.prototype,"handleDisabledChange",1),l([f("value",{waitUntilFirstUpdate:!0})],s.prototype,"handleValueChange",1),l([f("displayInputValue",{waitUntilFirstUpdate:!0})],s.prototype,"handleDisplayInputValueChange",1),l([f("open",{waitUntilFirstUpdate:!0})],s.prototype,"handleOpenChange",1),l([f(["size","floatingLabel"])],s.prototype,"handleSizeChange",1),s=l([F("sd-7-0-0-combobox")],s);T("combobox.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});T("combobox.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{s as a};
@@ -1,2 +1,2 @@
1
- import{a as s}from"./chunk.LHSR56PH.js";import{a as d}from"./chunk.CGQ2BPPZ.js";import{a as r}from"./chunk.4ZZFYCXX.js";import{a as h,b as l,d as c,h as a}from"./chunk.5B33ZALC.js";import{b as o,e as n}from"./chunk.OBAEIKIV.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends a{constructor(){super(...arguments);this.hasSlotController=new d(this,"[default]","icon-left","icon-right");this.standalone=!1;this.size="inherit";this.inverted=!1;this.href="";this.visuallyDisabled=!1}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleClick(i){this.visuallyDisabled&&(i.preventDefault(),i.stopPropagation())}focus(i){this.button.focus(i)}blur(){this.button.blur()}render(){let i={label:this.hasSlotController.test("[default]"),"icon-left":this.hasSlotController.test("icon-left"),"icon-right":this.hasSlotController.test("icon-right")};return n`<a part="base" class="${r(this.standalone?"flex items-start":"inline",this.href&&!this.visuallyDisabled?"cursor-pointer":"",this.visuallyDisabled?"cursor-not-allowed focus-visible:focus-outline":"",{sm:"text-sm",lg:"text-base",inherit:""}[this.size],{disabled:this.inverted?"text-neutral-600":"text-neutral-500",enabled:this.inverted?"text-white hover:text-primary-200 active:text-primary-400 focus-visible:focus-outline-inverted":"interactive--default-color-text hover:text-primary-500 active:interactive--active-color-text focus-visible:focus-outline",visuallyDisabled:this.inverted?"text-neutral-600":"text-neutral-500"}[this.href&&!this.visuallyDisabled?"enabled":this.visuallyDisabled?"visuallyDisabled":"disabled"])}" href="${s(this.href||void 0)}" target="${s(this.target||void 0)}" download="${s(this.download)}" rel="${s(this.target?"noreferrer noopener":void 0)}" aria-disabled="${!this.href||this.visuallyDisabled?"true":"false"}" tabindex="${this.href?"0":"-1"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @click="${this.handleClick}"><slot name="icon-left" part="icon-left" class="${r("inline",i["icon-left"]&&(this.standalone?{sm:"mr-1",lg:"mr-2",inherit:"mr-[0.5em]"}[this.size]:"mr-[0.25em]"))}"></slot><span part="label" class="inline underline underline-offset-2"><slot></slot></span><slot name="icon-right" part="icon-right" class="${r("inline",i["icon-right"]&&(this.standalone?{sm:"ml-1",lg:"ml-2",inherit:"ml-[0.5em]"}[this.size]:"ml-[0.25em]"))}"></slot></a>`}};e.styles=[...a.styles,o`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- ::slotted(sd-7-0-0-next-9-icon){font-size:1.25em;margin-bottom:-.25em}:host([size=sm][standalone]) ::slotted(sd-7-0-0-next-9-icon){font-size:var(--sd-text-base);line-height:var(--tw-leading,var(--text-base--line-height,calc(1.5 / 1)))}:host([size=lg][standalone]) ::slotted(sd-7-0-0-next-9-icon){font-size:var(--sd-text-xl);line-height:var(--tw-leading,var(--text-xl--line-height,calc(1.75 / 1.25)))}`],t([c("a")],e.prototype,"button",2),t([l({type:Boolean,reflect:!0})],e.prototype,"standalone",2),t([l({type:String,reflect:!0})],e.prototype,"size",2),t([l({type:Boolean,reflect:!0})],e.prototype,"inverted",2),t([l({type:String,reflect:!0})],e.prototype,"href",2),t([l({type:Boolean,attribute:"visually-disabled",reflect:!0})],e.prototype,"visuallyDisabled",2),t([l({type:String,reflect:!0})],e.prototype,"target",2),t([l({reflect:!0})],e.prototype,"download",2),e=t([h("sd-7-0-0-next-9-link")],e);export{e as a};
1
+ import{a as s}from"./chunk.LHSR56PH.js";import{a as d}from"./chunk.CGQ2BPPZ.js";import{a as r}from"./chunk.4ZZFYCXX.js";import{a as h,b as l,d as c,h as a}from"./chunk.Z44RDBCE.js";import{b as o,e as n}from"./chunk.OBAEIKIV.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends a{constructor(){super(...arguments);this.hasSlotController=new d(this,"[default]","icon-left","icon-right");this.standalone=!1;this.size="inherit";this.inverted=!1;this.href="";this.visuallyDisabled=!1}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleClick(i){this.visuallyDisabled&&(i.preventDefault(),i.stopPropagation())}focus(i){this.button.focus(i)}blur(){this.button.blur()}render(){let i={label:this.hasSlotController.test("[default]"),"icon-left":this.hasSlotController.test("icon-left"),"icon-right":this.hasSlotController.test("icon-right")};return n`<a part="base" class="${r(this.standalone?"flex items-start":"inline",this.href&&!this.visuallyDisabled?"cursor-pointer":"",this.visuallyDisabled?"cursor-not-allowed focus-visible:focus-outline":"",{sm:"text-sm",lg:"text-base",inherit:""}[this.size],{disabled:this.inverted?"text-neutral-600":"text-neutral-500",enabled:this.inverted?"text-white hover:text-primary-200 active:text-primary-400 focus-visible:focus-outline-inverted":"interactive--default-color-text hover:text-primary-500 active:interactive--active-color-text focus-visible:focus-outline",visuallyDisabled:this.inverted?"text-neutral-600":"text-neutral-500"}[this.href&&!this.visuallyDisabled?"enabled":this.visuallyDisabled?"visuallyDisabled":"disabled"])}" href="${s(this.href||void 0)}" target="${s(this.target||void 0)}" download="${s(this.download)}" rel="${s(this.target?"noreferrer noopener":void 0)}" aria-disabled="${!this.href||this.visuallyDisabled?"true":"false"}" tabindex="${this.href?"0":"-1"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @click="${this.handleClick}"><slot name="icon-left" part="icon-left" class="${r("inline",i["icon-left"]&&(this.standalone?{sm:"mr-1",lg:"mr-2",inherit:"mr-[0.5em]"}[this.size]:"mr-[0.25em]"))}"></slot><span part="label" class="inline underline underline-offset-2"><slot></slot></span><slot name="icon-right" part="icon-right" class="${r("inline",i["icon-right"]&&(this.standalone?{sm:"ml-1",lg:"ml-2",inherit:"ml-[0.5em]"}[this.size]:"ml-[0.25em]"))}"></slot></a>`}};e.styles=[...a.styles,o`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ ::slotted(sd-7-0-0-icon){font-size:1.25em;margin-bottom:-.25em}:host([size=sm][standalone]) ::slotted(sd-7-0-0-icon){font-size:var(--sd-text-base,1rem);line-height:var(--tw-leading,var(--text-base--line-height,calc(1.5 / 1)))}:host([size=lg][standalone]) ::slotted(sd-7-0-0-icon){font-size:var(--sd-text-xl,1.5rem);line-height:var(--tw-leading,var(--text-xl--line-height,calc(1.75 / 1.25)))}`],t([c("a")],e.prototype,"button",2),t([l({type:Boolean,reflect:!0})],e.prototype,"standalone",2),t([l({type:String,reflect:!0})],e.prototype,"size",2),t([l({type:Boolean,reflect:!0})],e.prototype,"inverted",2),t([l({type:String,reflect:!0})],e.prototype,"href",2),t([l({type:Boolean,attribute:"visually-disabled",reflect:!0})],e.prototype,"visuallyDisabled",2),t([l({type:String,reflect:!0})],e.prototype,"target",2),t([l({reflect:!0})],e.prototype,"download",2),e=t([h("sd-7-0-0-link")],e);export{e as a};
@@ -1 +1 @@
1
- var p=t=>Array.from(t.assignedElements({flatten:!0})),o=t=>t.tagName.toLocaleLowerCase()==="sd-7-0-0-next-9-option"?t:Array.from(t.querySelectorAll(":scope > sd-7-0-0-next-9-option")),e=t=>t.tagName.toLocaleLowerCase()==="sd-7-0-0-next-9-optgroup",r=t=>t.map(o),n=t=>t.filter(e),s=t=>t.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase();export{p as a,o as b,e as c,r as d,n as e,s as f};
1
+ var p=t=>Array.from(t.assignedElements({flatten:!0})),o=t=>t.tagName.toLocaleLowerCase()==="sd-7-0-0-option"?t:Array.from(t.querySelectorAll(":scope > sd-7-0-0-option")),e=t=>t.tagName.toLocaleLowerCase()==="sd-7-0-0-optgroup",r=t=>t.map(o),n=t=>t.filter(e),s=t=>t.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase();export{p as a,o as b,e as c,r as d,n as e,s as f};
@@ -1,2 +1,2 @@
1
- import{a as y,b as k}from"./chunk.I2H6CZK5.js";import{a as $}from"./chunk.LHSR56PH.js";import{a as c,c as d}from"./chunk.B2NUKX6G.js";import{a as g}from"./chunk.KLRPP4NQ.js";import{a as H}from"./chunk.MEDJPDBB.js";import{a as o}from"./chunk.4ZZFYCXX.js";import{a as f}from"./chunk.NYKJXI3Q.js";import{a as T,b as s,d as p,h as w}from"./chunk.5B33ZALC.js";import{b as v,e as u}from"./chunk.OBAEIKIV.js";import{b as n,e as l,f as b}from"./chunk.W4QBFD6E.js";import{e}from"./chunk.6EV4YU6C.js";var m={"top-right":null,"bottom-center":null},E=()=>{Object.entries(m).forEach(([a])=>{let h=document.querySelector(`#sd-toast-stack--${a}`);if(h){h.setAttribute("role","region"),m[a]=h;return}m[a]=Object.assign(document.createElement("div"),{role:"region",id:`sd-toast-stack--${a}`,className:`sd-toast-stack sd-toast-stack--${a}`})})};E();var t=class extends w{constructor(){super(...arguments);this.localize=new H(this);this.variant="info";this.open=!1;this.closable=!1;this.duration=1/0;this.durationIndicator=!1;this.toastStack="top-right";this.remainingDuration=this.duration;this.startTime=Date.now()}get stack(){return m[this.toastStack]}connectedCallback(){super.connectedCallback(),this.stack.parentElement||(document.body.append(this.stack),this.stack.ariaLabel=this.localize.term("notifications"))}disconnectedCallback(){super.disconnectedCallback()}firstUpdated(){this.wrapper.hidden=!this.open}startAutoHide(){clearTimeout(this.autoHideTimeout),this.startTime=Date.now(),this.remainingDuration=this.duration,this.open&&this.duration<1/0&&(this.autoHideTimeout=window.setTimeout(()=>this.hide(),this.duration))}onHover(){clearTimeout(this.autoHideTimeout),this.duration<1/0&&(this.remainingDuration-=Date.now()-this.startTime)}onHoverEnd(){this.startTime=Date.now(),clearTimeout(this.autoHideTimeout),this.open&&this.duration<1/0&&(this.autoHideTimeout=window.setTimeout(()=>{this.hide()},this.remainingDuration))}handleCloseClick(){this.hide()}handleKeyDown(i){this.closable&&i.key==="Escape"&&this.hide()}async handleOpenChange(){if(this.open){this.emit("sd-show"),this.duration<1/0&&this.startAutoHide(),await Promise.all([l(this.base),l(this.wrapper)]),this.wrapper.hidden=!1;let i=d(this,"notification.show",{dir:this.localize.dir()}),r=d(this,`notification.wrapper.show${y(k(this.toastStack))}`,{dir:this.localize.dir()});await Promise.all([n(this.base,b(i.keyframes,this.base.scrollHeight),i.options),n(this.wrapper,r.keyframes,r.options)]),this.emit("sd-after-show")}else{this.emit("sd-hide"),clearTimeout(this.autoHideTimeout),await Promise.all([l(this.base),l(this.wrapper)]);let i=d(this,"notification.hide",{dir:this.localize.dir()}),r=d(this,`notification.wrapper.hide${y(k(this.toastStack))}`,{dir:this.localize.dir()});await Promise.all([n(this.base,b(i.keyframes,this.base.scrollHeight),i.options),n(this.wrapper,r.keyframes,r.options)]),this.wrapper.hidden=!0,this.emit("sd-after-hide")}}handleDurationChange(){this.startAutoHide()}async show(){if(!this.open)return this.open=!0,g(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,g(this,"sd-after-hide")}async toast(){return new Promise(i=>{this.stack.parentElement===null&&document.body.append(this.stack),this.stack.appendChild(this),requestAnimationFrame(()=>{this.clientWidth,this.show()}),this.addEventListener("sd-after-hide",()=>{this.stack.removeChild(this),i()},{once:!0})})}render(){return u`<div part="base" class="${o("w-full flex items-stretch focus-visible:focus-outline")}" id="notification" tabindex="${$(this.closable?"0":void 0)}" role="alert" aria-labelledby="message" aria-hidden="${this.open?"false":"true"}" @mouseenter="${this.onHover}" @mouseleave="${this.onHoverEnd}" @keydown="${this.handleKeyDown}"><div part="wrapper" class="${o("w-full h-fit overflow-hidden flex items-stretch relative")}"><slot name="icon" part="icon" class="${o("min-w-min flex items-center px-3 justify-center",{info:"bg-info",success:"bg-success",warning:"bg-warning",error:"bg-error"}[this.variant])}"><sd-7-0-0-next-9-icon name="${{info:"info-circle",success:"confirm-circle",warning:"exclamation-circle",error:"risk"}[this.variant]||""}" library="_internal" class="h-6 w-6 text-white"></sd-7-0-0-next-9-icon></slot><div part="content" class="${o("h-full w-full p-1 gap-2 flex items-center justify-stretch bg-white","border-solid border-[1px] border-l-0 sd-7-0-0-next-9-notification-color-border",{info:"sd-7-0-0-next-9-notification--info-color-background",success:"sd-7-0-0-next-9-notification--success-color-background",warning:"sd-7-0-0-next-9-notification--warning-color-background",error:"sd-7-0-0-next-9-notification--error-color-background"}[this.variant])}"><slot id="message" part="message" class="block w-full pl-3 py-2"></slot>${this.closable?u`<sd-7-0-0-next-9-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" @click="${this.handleCloseClick}"><sd-7-0-0-next-9-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-7-0-0-next-9-icon></sd-7-0-0-next-9-button>`:""}</div>${this.durationIndicator?u`<div part="duration-indicator__elapsed" id="duration-indicator__elapsed" style="${`animation-duration: ${this.duration}ms`}" class="${o("absolute w-0 h-[2px] bottom-0 sd-7-0-0-next-9-notification__duration-indicator-color-background z-10 animate-grow")}"></div><div part="duration-indicator__total" class="w-full h-[2px] bottom-0 absolute border border-neutral-400"></div>`:""}</div></div>`}};t.styles=[...w.styles,v`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{display:contents}#notification:hover #duration-indicator__elapsed{animation-play-state:paused!important}`],e([p('[part~="base"]')],t.prototype,"base",2),e([p('[part~="wrapper"]')],t.prototype,"wrapper",2),e([p('[part~="close-button"]')],t.prototype,"close",2),e([s({type:String,reflect:!0})],t.prototype,"variant",2),e([s({type:Boolean,reflect:!0})],t.prototype,"open",2),e([s({type:Boolean,reflect:!0})],t.prototype,"closable",2),e([s({type:Number,reflect:!0})],t.prototype,"duration",2),e([s({type:Boolean,reflect:!0,attribute:"duration-indicator"})],t.prototype,"durationIndicator",2),e([s({type:String,reflect:!0,attribute:"toast-stack"})],t.prototype,"toastStack",2),e([f("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),e([f("duration")],t.prototype,"handleDurationChange",1),t=e([T("sd-7-0-0-next-9-notification")],t);c("notification.show",{keyframes:[{opacity:0,height:0},{opacity:1,height:"auto"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});c("notification.hide",{keyframes:[{opacity:1,height:"auto"},{opacity:0,height:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});c("notification.wrapper.showTopRight",{keyframes:[{bottom:"32px"},{bottom:"0"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});c("notification.wrapper.hideTopRight",{keyframes:[{bottom:"0"},{bottom:"32px"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{t as a};
1
+ import{a as y,b as k}from"./chunk.I2H6CZK5.js";import{a as $}from"./chunk.LHSR56PH.js";import{a as c,c as d}from"./chunk.B2NUKX6G.js";import{a as g}from"./chunk.KLRPP4NQ.js";import{a as H}from"./chunk.MEDJPDBB.js";import{a as o}from"./chunk.4ZZFYCXX.js";import{a as f}from"./chunk.NYKJXI3Q.js";import{a as T,b as s,d as p,h as w}from"./chunk.Z44RDBCE.js";import{b as v,e as u}from"./chunk.OBAEIKIV.js";import{b as n,e as l,f as b}from"./chunk.W4QBFD6E.js";import{e}from"./chunk.6EV4YU6C.js";var m={"top-right":null,"bottom-center":null},E=()=>{Object.entries(m).forEach(([a])=>{let h=document.querySelector(`#sd-toast-stack--${a}`);if(h){h.setAttribute("role","region"),m[a]=h;return}m[a]=Object.assign(document.createElement("div"),{role:"region",id:`sd-toast-stack--${a}`,className:`sd-toast-stack sd-toast-stack--${a}`})})};E();var t=class extends w{constructor(){super(...arguments);this.localize=new H(this);this.variant="info";this.open=!1;this.closable=!1;this.duration=1/0;this.durationIndicator=!1;this.toastStack="top-right";this.remainingDuration=this.duration;this.startTime=Date.now()}get stack(){return m[this.toastStack]}connectedCallback(){super.connectedCallback(),this.stack.parentElement||(document.body.append(this.stack),this.stack.ariaLabel=this.localize.term("notifications"))}disconnectedCallback(){super.disconnectedCallback()}firstUpdated(){this.wrapper.hidden=!this.open}startAutoHide(){clearTimeout(this.autoHideTimeout),this.startTime=Date.now(),this.remainingDuration=this.duration,this.open&&this.duration<1/0&&(this.autoHideTimeout=window.setTimeout(()=>this.hide(),this.duration))}onHover(){clearTimeout(this.autoHideTimeout),this.duration<1/0&&(this.remainingDuration-=Date.now()-this.startTime)}onHoverEnd(){this.startTime=Date.now(),clearTimeout(this.autoHideTimeout),this.open&&this.duration<1/0&&(this.autoHideTimeout=window.setTimeout(()=>{this.hide()},this.remainingDuration))}handleCloseClick(){this.hide()}handleKeyDown(i){this.closable&&i.key==="Escape"&&this.hide()}async handleOpenChange(){if(this.open){this.emit("sd-show"),this.duration<1/0&&this.startAutoHide(),await Promise.all([l(this.base),l(this.wrapper)]),this.wrapper.hidden=!1;let i=d(this,"notification.show",{dir:this.localize.dir()}),r=d(this,`notification.wrapper.show${y(k(this.toastStack))}`,{dir:this.localize.dir()});await Promise.all([n(this.base,b(i.keyframes,this.base.scrollHeight),i.options),n(this.wrapper,r.keyframes,r.options)]),this.emit("sd-after-show")}else{this.emit("sd-hide"),clearTimeout(this.autoHideTimeout),await Promise.all([l(this.base),l(this.wrapper)]);let i=d(this,"notification.hide",{dir:this.localize.dir()}),r=d(this,`notification.wrapper.hide${y(k(this.toastStack))}`,{dir:this.localize.dir()});await Promise.all([n(this.base,b(i.keyframes,this.base.scrollHeight),i.options),n(this.wrapper,r.keyframes,r.options)]),this.wrapper.hidden=!0,this.emit("sd-after-hide")}}handleDurationChange(){this.startAutoHide()}async show(){if(!this.open)return this.open=!0,g(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,g(this,"sd-after-hide")}async toast(){return new Promise(i=>{this.stack.parentElement===null&&document.body.append(this.stack),this.stack.appendChild(this),requestAnimationFrame(()=>{this.clientWidth,this.show()}),this.addEventListener("sd-after-hide",()=>{this.stack.removeChild(this),i()},{once:!0})})}render(){return u`<div part="base" class="${o("w-full flex items-stretch focus-visible:focus-outline")}" id="notification" tabindex="${$(this.closable?"0":void 0)}" role="alert" aria-labelledby="message" aria-hidden="${this.open?"false":"true"}" @mouseenter="${this.onHover}" @mouseleave="${this.onHoverEnd}" @keydown="${this.handleKeyDown}"><div part="wrapper" class="${o("w-full h-fit overflow-hidden flex items-stretch relative")}"><slot name="icon" part="icon" class="${o("min-w-min flex items-center px-3 justify-center",{info:"bg-info",success:"bg-success",warning:"bg-warning",error:"bg-error"}[this.variant])}"><sd-7-0-0-icon name="${{info:"info-circle",success:"confirm-circle",warning:"exclamation-circle",error:"risk"}[this.variant]||""}" library="_internal" class="h-6 w-6 text-white"></sd-7-0-0-icon></slot><div part="content" class="${o("h-full w-full p-1 gap-2 flex items-center justify-stretch bg-white","border-solid border-[1px] border-l-0 sd-7-0-0-notification-color-border",{info:"sd-7-0-0-notification--info-color-background",success:"sd-7-0-0-notification--success-color-background",warning:"sd-7-0-0-notification--warning-color-background",error:"sd-7-0-0-notification--error-color-background"}[this.variant])}"><slot id="message" part="message" class="block w-full pl-3 py-2"></slot>${this.closable?u`<sd-7-0-0-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" @click="${this.handleCloseClick}"><sd-7-0-0-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-7-0-0-icon></sd-7-0-0-button>`:""}</div>${this.durationIndicator?u`<div part="duration-indicator__elapsed" id="duration-indicator__elapsed" style="${`animation-duration: ${this.duration}ms`}" class="${o("absolute w-0 h-[2px] bottom-0 sd-7-0-0-notification__duration-indicator-color-background z-10 animate-grow")}"></div><div part="duration-indicator__total" class="w-full h-[2px] bottom-0 absolute border border-neutral-400"></div>`:""}</div></div>`}};t.styles=[...w.styles,v`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{display:contents}#notification:hover #duration-indicator__elapsed{animation-play-state:paused!important}`],e([p('[part~="base"]')],t.prototype,"base",2),e([p('[part~="wrapper"]')],t.prototype,"wrapper",2),e([p('[part~="close-button"]')],t.prototype,"close",2),e([s({type:String,reflect:!0})],t.prototype,"variant",2),e([s({type:Boolean,reflect:!0})],t.prototype,"open",2),e([s({type:Boolean,reflect:!0})],t.prototype,"closable",2),e([s({type:Number,reflect:!0})],t.prototype,"duration",2),e([s({type:Boolean,reflect:!0,attribute:"duration-indicator"})],t.prototype,"durationIndicator",2),e([s({type:String,reflect:!0,attribute:"toast-stack"})],t.prototype,"toastStack",2),e([f("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),e([f("duration")],t.prototype,"handleDurationChange",1),t=e([T("sd-7-0-0-notification")],t);c("notification.show",{keyframes:[{opacity:0,height:0},{opacity:1,height:"auto"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});c("notification.hide",{keyframes:[{opacity:1,height:"auto"},{opacity:0,height:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});c("notification.wrapper.showTopRight",{keyframes:[{bottom:"32px"},{bottom:"0"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});c("notification.wrapper.hideTopRight",{keyframes:[{bottom:"0"},{bottom:"32px"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{t as a};
@@ -1,4 +1,4 @@
1
- import{a}from"./chunk.4ZZFYCXX.js";import{a as p,b as s,c as d,d as h,h as n}from"./chunk.5B33ZALC.js";import{b as l,e as r}from"./chunk.OBAEIKIV.js";import{e as i}from"./chunk.6EV4YU6C.js";var e=class extends n{constructor(){super(...arguments);this.variant="primary";this.shapes=["top","middle","bottom"];this.componentBreakpoint=0}getSvg(t,o){return{0:this.smallSvg(o),414:this.mediumSvg(o),640:this.largeSvg(o)}[t]}largeSvg(t){return t==="top"?r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 121"><path d="M610.777 1.393.001 120.146 0 123h700.001V74.79c0-4.797-.462-9.585-1.381-14.294-7.909-40.537-47.237-66.998-87.843-59.103Z"/></svg>`:r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 123"><path d="M89.224 121.607 700 2.854 700.001 0h-700L0 48.21c0 4.797.463 9.584 1.381 14.294 7.909 40.537 47.237 66.998 87.843 59.103Z"/></svg>`}mediumSvg(t){return t==="top"?r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 119"><path d="M597.75 1.6 0 118.046V121h700V85.872c0-5.509-.53-11.006-1.583-16.413-9.063-46.543-54.133-76.924-100.667-67.86Z"/></svg>`:r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 121"><path d="M102.25 119.4 700 2.954V0H0v35.128c0 5.509.53 11.006 1.583 16.413 9.063 46.543 54.134 76.924 100.667 67.859Z"/></svg>`}smallSvg(t){return t==="top"?r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 113"><path d="M566.951 2.08 0 112.466v2.934h700v-3.672c0-7.166-.689-14.314-2.059-21.348-11.789-60.557-70.436-100.09-130.99-88.3Z"/></svg>`:r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 116"><path d="M133.049 113.32 700 2.934V0H0v3.672c0 7.165.69 14.314 2.059 21.348 11.79 60.557 70.436 100.09 130.99 88.3Z"/></svg>`}setBreakpoint(){switch(!0){case this.containerElem.clientWidth<=414:this.componentBreakpoint=0;break;case this.containerElem.clientWidth<640:this.componentBreakpoint=414;break;default:this.componentBreakpoint=640}}connectedCallback(){super.connectedCallback(),this.resizeObserver=new ResizeObserver(()=>this.setBreakpoint()),this.updateComplete.then(()=>{this.setBreakpoint(),this.resizeObserver.observe(this.containerElem)})}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver.unobserve(this.containerElem)}renderTopBrandshape(){return r`<div class="relative" part="shape-top">${this.getSvg(this.componentBreakpoint,"top")} ${this.renderWhitespaceFix("top")}</div>`}renderMiddleBrandshape(){return r`<div class="${a({0:"px-6 py-4",414:"px-10 py-8",640:"px-10 py-8"}[this.componentBreakpoint],"w-full block relative")}"><div part="shape-middle" class="${a({"neutral-100":"sd-7-0-0-next-9-brandshape--neutral-100-color-background",primary:"sd-7-0-0-next-9-brandshape--primary-color-background",white:"sd-7-0-0-next-9-brandshape--white-color-background","border-white":"bg-transparent","border-primary":"bg-transparent","primary|80":"sd-7-0-0-next-9-brandshape--primary-80-color-background","white|80":"sd-7-0-0-next-9-brandshape--white-80-color-background",image:"bg-transparent"}[this.variant],"w-full block absolute h-full top-0 left-0 z-0")}"></div><div class="${a("z-10 relative",this.variant==="image"&&"invisible opacity-0")}" part="content"><slot>${this.variant==="image"?"":r`<div class="h-8"></div>`}</slot></div></div>`}renderBottomBrandshape(){return r`<div class="relative" part="shape-bottom">${this.getSvg(this.componentBreakpoint,"bottom")}${this.renderWhitespaceFix("bottom")}</div>`}renderWhitespaceFix(t){return r`<div class="${a({"neutral-100":"sd-7-0-0-next-9-brandshape--neutral-100-color-background",primary:"sd-7-0-0-next-9-brandshape--primary-color-background",white:"sd-7-0-0-next-9-brandshape--white-color-background","border-white":"bg-transparent","border-primary":"bg-transparent","primary|80":"sd-7-0-0-next-9-brandshape--primary-80-color-background","white|80":"sd-7-0-0-next-9-brandshape--white-80-color-background",image:"bg-transparent"}[this.variant],{top:"bottom-0",bottom:"top-0"}[t],"block absolute left-0 w-full",this.variant!=="primary|80"&&this.variant!=="white|80"?"h-[1px]":"")}"></div>`}renderStylizedVariant(){return r`<div part="stylized-container" class="w-full overflow-hidden"><slot class="${a(this.variant!=="image"&&"hidden")}" name="image"></slot></div>`}renderShapes(){return r`${this.shapes.includes("top")?this.renderTopBrandshape():""} ${this.shapes.includes("middle")?this.renderMiddleBrandshape():""} ${this.shapes.includes("bottom")?this.renderBottomBrandshape():""}`}render(){let t=this.variant.startsWith("border-")||this.variant==="image";return r`<div class="${a(t&&"fill-transparent","relative")}" part="base">${t?this.renderStylizedVariant():""} ${this.renderShapes()}</div>`}};e.styles=[...n.styles,l`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
1
+ import{a}from"./chunk.4ZZFYCXX.js";import{a as p,b as s,c as d,d as h,h as n}from"./chunk.Z44RDBCE.js";import{b as l,e as r}from"./chunk.OBAEIKIV.js";import{e as i}from"./chunk.6EV4YU6C.js";var e=class extends n{constructor(){super(...arguments);this.variant="primary";this.shapes=["top","middle","bottom"];this.componentBreakpoint=0}getSvg(t,o){return{0:this.smallSvg(o),414:this.mediumSvg(o),640:this.largeSvg(o)}[t]}largeSvg(t){return t==="top"?r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 121"><path d="M610.777 1.393.001 120.146 0 123h700.001V74.79c0-4.797-.462-9.585-1.381-14.294-7.909-40.537-47.237-66.998-87.843-59.103Z"/></svg>`:r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 123"><path d="M89.224 121.607 700 2.854 700.001 0h-700L0 48.21c0 4.797.463 9.584 1.381 14.294 7.909 40.537 47.237 66.998 87.843 59.103Z"/></svg>`}mediumSvg(t){return t==="top"?r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 119"><path d="M597.75 1.6 0 118.046V121h700V85.872c0-5.509-.53-11.006-1.583-16.413-9.063-46.543-54.133-76.924-100.667-67.86Z"/></svg>`:r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 121"><path d="M102.25 119.4 700 2.954V0H0v35.128c0 5.509.53 11.006 1.583 16.413 9.063 46.543 54.134 76.924 100.667 67.859Z"/></svg>`}smallSvg(t){return t==="top"?r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 113"><path d="M566.951 2.08 0 112.466v2.934h700v-3.672c0-7.166-.689-14.314-2.059-21.348-11.789-60.557-70.436-100.09-130.99-88.3Z"/></svg>`:r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 116"><path d="M133.049 113.32 700 2.934V0H0v3.672c0 7.165.69 14.314 2.059 21.348 11.79 60.557 70.436 100.09 130.99 88.3Z"/></svg>`}setBreakpoint(){switch(!0){case this.containerElem.clientWidth<=414:this.componentBreakpoint=0;break;case this.containerElem.clientWidth<640:this.componentBreakpoint=414;break;default:this.componentBreakpoint=640}}connectedCallback(){super.connectedCallback(),this.resizeObserver=new ResizeObserver(()=>this.setBreakpoint()),this.updateComplete.then(()=>{this.setBreakpoint(),this.resizeObserver.observe(this.containerElem)})}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver.unobserve(this.containerElem)}renderTopBrandshape(){return r`<div class="relative" part="shape-top">${this.getSvg(this.componentBreakpoint,"top")} ${this.renderWhitespaceFix("top")}</div>`}renderMiddleBrandshape(){return r`<div class="${a({0:"px-6 py-4",414:"px-10 py-8",640:"px-10 py-8"}[this.componentBreakpoint],"w-full block relative")}"><div part="shape-middle" class="${a({"neutral-100":"sd-7-0-0-brandshape--neutral-100-color-background",primary:"sd-7-0-0-brandshape--primary-color-background",white:"sd-7-0-0-brandshape--white-color-background","border-white":"bg-transparent","border-primary":"bg-transparent","primary|80":"sd-7-0-0-brandshape--primary-80-color-background","white|80":"sd-7-0-0-brandshape--white-80-color-background",image:"bg-transparent"}[this.variant],"w-full block absolute h-full top-0 left-0 z-0")}"></div><div class="${a("z-10 relative",this.variant==="image"&&"invisible opacity-0")}" part="content"><slot>${this.variant==="image"?"":r`<div class="h-8"></div>`}</slot></div></div>`}renderBottomBrandshape(){return r`<div class="relative" part="shape-bottom">${this.getSvg(this.componentBreakpoint,"bottom")}${this.renderWhitespaceFix("bottom")}</div>`}renderWhitespaceFix(t){return r`<div class="${a({"neutral-100":"sd-7-0-0-brandshape--neutral-100-color-background",primary:"sd-7-0-0-brandshape--primary-color-background",white:"sd-7-0-0-brandshape--white-color-background","border-white":"bg-transparent","border-primary":"bg-transparent","primary|80":"sd-7-0-0-brandshape--primary-80-color-background","white|80":"sd-7-0-0-brandshape--white-80-color-background",image:"bg-transparent"}[this.variant],{top:"bottom-0",bottom:"top-0"}[t],"block absolute left-0 w-full",this.variant!=="primary|80"&&this.variant!=="white|80"?"h-[1px]":"")}"></div>`}renderStylizedVariant(){return r`<div part="stylized-container" class="w-full overflow-hidden"><slot class="${a(this.variant!=="image"&&"hidden")}" name="image"></slot></div>`}renderShapes(){return r`${this.shapes.includes("top")?this.renderTopBrandshape():""} ${this.shapes.includes("middle")?this.renderMiddleBrandshape():""} ${this.shapes.includes("bottom")?this.renderBottomBrandshape():""}`}render(){let t=this.variant.startsWith("border-")||this.variant==="image";return r`<div class="${a(t&&"fill-transparent","relative")}" part="base">${t?this.renderStylizedVariant():""} ${this.renderShapes()}</div>`}};e.styles=[...n.styles,l`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
2
  :host{display:block;container-type:inline-size;--angle:11deg;--radius:60px;--tan:tan(var(--angle));--adjacent:100cqw;--opposite:calc(var(--tan) * var(--adjacent));--curve:calc(
3
3
  (var(--opposite) - (var(--radius) / 3)) * 0.5
4
- )}@supports not (transform:skewY(11deg)){:host{--tan:0.1943803091}}@media (min-width:415px){:host{--radius:72px}}@media (min-width:640px){:host{--radius:84px}}:host([variant=image]) [part=stylized-container],:host([variant^=border-]) [part=stylized-container]::before{position:absolute;top:0;left:0;transform:skewY(calc(var(--angle) * -1));height:calc(100% - var(--curve) * 2);border-radius:0 var(--radius);margin-top:calc(var(--curve))}slot[name=image]::slotted(img),slot[name=image]::slotted(video){width:100%;-o-object-fit:cover;object-fit:cover;transform:translateY(calc(var(--curve) * -1)) skewY(var(--angle));height:calc(100% + var(--curve) * 2)!important;position:absolute!important}@supports not (height:100cqw){:host([variant=image]) [part=stylized-container],:host([variant^=border-]) [part=stylized-container]::before{transform:unset;height:100%;margin-top:0}slot[name=image]::slotted(img),slot[name=image]::slotted(video){transform:unset;height:100%!important}}:host([variant=border-primary]){--internal-border-color:rgba(var(--sd-brandshape--primary-color-border, rgba(var(--sd-color-primary))))}:host([variant=border-white]){--internal-border-color:rgba(var(--sd-brandshape-color-border-white, rgba(var(--sd-color-white))))}:host([variant^=border-]) [part=stylized-container]::before{right:0;border-style:var(--tw-border-style);border-width:var(--sd-border-width-2);--tw-border-style:solid;border-style:solid;content:'';border-color:var(--internal-border-color,#000)}:host([variant=neutral-100]) [part=base]{fill:rgba(var(--sd-brandshape--neutral-100-color-background,rgba(var(--sd-color-neutral-100))))}:host([variant=white]) [part=base]{fill:rgba(var(--sd-brandshape--white-color-background,rgba(var(--sd-color-white))))}:host([variant=primary]) [part=base]{fill:rgba(var(--sd-brandshape--primary-color-background,rgba(var(--sd-color-primary))))}:host([variant='primary|80']) [part=base]{fill:rgba(var(--sd-brandshape--primary-80-color-background,rgba(var(--sd-color-primary))))}:host([variant='white|80']) [part=base]{fill:rgba(var(--sd-brandshape--white-80-color-background,rgba(var(--sd-color-white))))}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}`],i([h("[part=base]")],e.prototype,"containerElem",2),i([s({type:String,reflect:!0})],e.prototype,"variant",2),i([s({type:Array})],e.prototype,"shapes",2),i([d()],e.prototype,"componentBreakpoint",2),e=i([p("sd-7-0-0-next-9-brandshape")],e);export{e as a};
4
+ )}@supports not (transform:skewY(11deg)){:host{--tan:0.1943803091}}@media (min-width:415px){:host{--radius:72px}}@media (min-width:640px){:host{--radius:84px}}:host([variant=image]) [part=stylized-container],:host([variant^=border-]) [part=stylized-container]::before{position:absolute;top:0;left:0;transform:skewY(calc(var(--angle) * -1));height:calc(100% - var(--curve) * 2);border-radius:0 var(--radius);margin-top:calc(var(--curve))}slot[name=image]::slotted(img),slot[name=image]::slotted(video){width:100%;-o-object-fit:cover;object-fit:cover;transform:translateY(calc(var(--curve) * -1)) skewY(var(--angle));height:calc(100% + var(--curve) * 2)!important;position:absolute!important}@supports not (height:100cqw){:host([variant=image]) [part=stylized-container],:host([variant^=border-]) [part=stylized-container]::before{transform:unset;height:100%;margin-top:0}slot[name=image]::slotted(img),slot[name=image]::slotted(video){transform:unset;height:100%!important}}:host([variant=border-primary]){--internal-border-color:rgba(var(--sd-brandshape--primary-color-border, rgba(var(--sd-color-primary))))}:host([variant=border-white]){--internal-border-color:rgba(var(--sd-brandshape-color-border-white, rgba(var(--sd-color-white))))}:host([variant^=border-]) [part=stylized-container]::before{right:0;border-style:var(--tw-border-style);border-width:var(--sd-border-width-2,.125rem);--tw-border-style:solid;border-style:solid;content:'';border-color:var(--internal-border-color,#000)}:host([variant=neutral-100]) [part=base]{fill:rgba(var(--sd-brandshape--neutral-100-color-background,rgba(var(--sd-color-neutral-100))))}:host([variant=white]) [part=base]{fill:rgba(var(--sd-brandshape--white-color-background,rgba(var(--sd-color-white))))}:host([variant=primary]) [part=base]{fill:rgba(var(--sd-brandshape--primary-color-background,rgba(var(--sd-color-primary))))}:host([variant='primary|80']) [part=base]{fill:rgba(var(--sd-brandshape--primary-80-color-background,rgba(var(--sd-color-primary))))}:host([variant='white|80']) [part=base]{fill:rgba(var(--sd-brandshape--white-80-color-background,rgba(var(--sd-color-white))))}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}`],i([h("[part=base]")],e.prototype,"containerElem",2),i([s({type:String,reflect:!0})],e.prototype,"variant",2),i([s({type:Array})],e.prototype,"shapes",2),i([d()],e.prototype,"componentBreakpoint",2),e=i([p("sd-7-0-0-brandshape")],e);export{e as a};