@solid-design-system/components 6.0.0-next.2 → 6.0.0-next.20

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 (780) hide show
  1. package/cdn/chunks/{chunk.HWXFA3JT.js → chunk.22CCXPHJ.js} +1 -1
  2. package/{cdn-versioned/chunks/chunk.E7DVDO4P.js → cdn/chunks/chunk.2VJYV5BY.js} +2 -2
  3. package/cdn/chunks/{chunk.66LOVPZM.js → chunk.3DMGMET2.js} +1 -1
  4. package/cdn/chunks/{chunk.YMZZDCP3.js → chunk.3FMN7C5N.js} +1 -1
  5. package/cdn/chunks/chunk.3MADQ6HK.js +1 -0
  6. package/cdn/chunks/chunk.3TJM745S.js +1 -0
  7. package/cdn/chunks/{chunk.MPLKGS34.js → chunk.3U6I2XOL.js} +1 -1
  8. package/cdn/chunks/{chunk.XHDZVSCR.js → chunk.3VOSCPDE.js} +2 -2
  9. package/cdn/chunks/chunk.3VW46WMV.js +2 -0
  10. package/cdn/chunks/{chunk.MWU6TZ4N.js → chunk.5JCETQIB.js} +2 -2
  11. package/cdn/chunks/{chunk.VA5ZPE34.js → chunk.5PFAX7QO.js} +2 -2
  12. package/cdn/chunks/{chunk.JGU23CP4.js → chunk.5Z4DRU2D.js} +3 -3
  13. package/cdn/chunks/{chunk.BL5NWLDW.js → chunk.6GRCOPRW.js} +3 -3
  14. package/cdn/chunks/chunk.77FHAJLL.js +26 -0
  15. package/cdn/chunks/{chunk.XG6CO665.js → chunk.7H4P4PDT.js} +2 -2
  16. package/{cdn-versioned/chunks/chunk.3KWSM3HE.js → cdn/chunks/chunk.7OU5VHPS.js} +1 -1
  17. package/cdn/chunks/{chunk.P3QDLITO.js → chunk.AAHU44T4.js} +1 -1
  18. package/cdn/chunks/{chunk.FYS76H7M.js → chunk.ALCI4HY2.js} +2 -2
  19. package/cdn/chunks/chunk.B3QUTUIL.js +1 -0
  20. package/cdn/chunks/chunk.B7HLIRJJ.js +2 -0
  21. package/cdn/chunks/{chunk.IQUVFHYA.js → chunk.BFXR4F5U.js} +1 -1
  22. package/cdn/chunks/{chunk.F3OBG73C.js → chunk.BQULWPND.js} +1 -1
  23. package/cdn/chunks/{chunk.ALIY2YIR.js → chunk.BZTTDLZU.js} +1 -1
  24. package/cdn/chunks/chunk.CRWDTBDK.js +5 -0
  25. package/cdn/chunks/{chunk.5ZPLQS6G.js → chunk.CWK7H3FQ.js} +2 -2
  26. package/cdn/chunks/{chunk.VHHOKYE5.js → chunk.D5RIAZYU.js} +2 -2
  27. package/cdn/chunks/{chunk.ESKMS5I6.js → chunk.D6O3QBSW.js} +1 -1
  28. package/cdn/chunks/{chunk.UVDP4CO5.js → chunk.D6VARJ7Y.js} +1 -1
  29. package/cdn/chunks/{chunk.GZN62V5M.js → chunk.DUYZKPLZ.js} +2 -2
  30. package/cdn/chunks/chunk.EXWEUXU5.js +2 -0
  31. package/cdn/chunks/chunk.F5XDIUD7.js +2 -0
  32. package/cdn/chunks/chunk.FACCPFJH.js +2 -0
  33. package/cdn/chunks/chunk.FLXHLGUA.js +2 -0
  34. package/cdn/chunks/{chunk.AZC2MB6N.js → chunk.HVKSHUAS.js} +2 -2
  35. package/cdn/chunks/{chunk.7BPPDSHY.js → chunk.IQPMMUES.js} +1 -1
  36. package/cdn/chunks/{chunk.HO5NN73W.js → chunk.K4VSKKMO.js} +1 -1
  37. package/cdn/chunks/{chunk.J3HOSC6V.js → chunk.L4AYU4EM.js} +1 -1
  38. package/cdn/chunks/{chunk.RJVGGY3Q.js → chunk.LRQ24UAJ.js} +1 -1
  39. package/cdn/chunks/chunk.N4I72GMP.js +2 -0
  40. package/cdn/chunks/{chunk.Q36WGVZ7.js → chunk.NN5CRQLJ.js} +4 -4
  41. package/cdn/chunks/{chunk.BTMWUMPI.js → chunk.NYVOUB2E.js} +1 -1
  42. package/cdn/chunks/{chunk.YXMHHML2.js → chunk.O5XCFQPD.js} +2 -2
  43. package/cdn/chunks/{chunk.OXYZANQK.js → chunk.OAYLOD6C.js} +5 -4
  44. package/cdn/chunks/chunk.P3Q4ZXYZ.js +2 -0
  45. package/cdn/chunks/{chunk.U6FGIHUI.js → chunk.PESXZHIR.js} +1 -1
  46. package/cdn/chunks/{chunk.7JAXJRX2.js → chunk.R3L4HEYD.js} +1 -1
  47. package/cdn/chunks/chunk.RBH4MV7K.js +2 -0
  48. package/cdn/chunks/chunk.SFWXMYPO.js +2 -0
  49. package/cdn/chunks/{chunk.66OZDVLX.js → chunk.SPAZJMG4.js} +2 -2
  50. package/cdn/chunks/{chunk.EIG3V7LV.js → chunk.SPP6MW2X.js} +2 -2
  51. package/cdn/chunks/chunk.T6IL3V4O.js +2 -0
  52. package/cdn/chunks/{chunk.S5SNELX3.js → chunk.TJE3CCOC.js} +1 -1
  53. package/cdn/chunks/chunk.TP4BG34O.js +11 -0
  54. package/cdn/chunks/{chunk.5G7ZOEWT.js → chunk.U7FW2KFI.js} +5 -5
  55. package/cdn/chunks/{chunk.KL3CEU6E.js → chunk.URCOTIZE.js} +3 -3
  56. package/cdn/chunks/{chunk.6XTQ6373.js → chunk.URPA7XIF.js} +2 -2
  57. package/cdn/chunks/chunk.UTY2AZTR.js +12 -0
  58. package/cdn/chunks/{chunk.YL7YHMIF.js → chunk.VH3XCKIL.js} +2 -2
  59. package/cdn/chunks/chunk.VSUTIJKU.js +2 -0
  60. package/cdn/chunks/chunk.VTDQOKJM.js +2 -0
  61. package/cdn/chunks/chunk.WKADUBJJ.js +2 -0
  62. package/cdn/chunks/{chunk.H7N4XIFF.js → chunk.XPPKJJGY.js} +1 -1
  63. package/cdn/chunks/{chunk.5ZYFWIRD.js → chunk.XVBBYULT.js} +1 -1
  64. package/cdn/chunks/{chunk.5PA35WD2.js → chunk.YJC7AXB7.js} +1 -1
  65. package/cdn/chunks/{chunk.XIRAK67B.js → chunk.YUO4QWBT.js} +2 -2
  66. package/cdn/chunks/chunk.Z5DGSF5Q.js +2 -0
  67. package/cdn/chunks/{chunk.3DB2ELEL.js → chunk.ZVQLZBSU.js} +1 -1
  68. package/cdn/chunks/{chunk.MQ6HTONQ.js → chunk.ZWQXC6TB.js} +1 -1
  69. package/cdn/components/accordion/accordion.js +1 -1
  70. package/cdn/components/accordion-group/accordion-group.js +1 -1
  71. package/cdn/components/animation/animation.js +1 -1
  72. package/cdn/components/audio/audio.js +1 -1
  73. package/cdn/components/badge/badge.js +1 -1
  74. package/cdn/components/brandshape/brandshape.js +1 -1
  75. package/cdn/components/breadcrumb/breadcrumb.d.ts +2 -0
  76. package/cdn/components/breadcrumb/breadcrumb.js +1 -1
  77. package/cdn/components/breadcrumb-item/breadcrumb-item.d.ts +1 -0
  78. package/cdn/components/breadcrumb-item/breadcrumb-item.js +1 -1
  79. package/cdn/components/button/button.js +1 -1
  80. package/cdn/components/button-group/button-group.js +1 -1
  81. package/cdn/components/carousel/carousel.js +1 -1
  82. package/cdn/components/carousel-item/carousel-item.js +1 -1
  83. package/cdn/components/checkbox/checkbox.js +1 -1
  84. package/cdn/components/checkbox-group/checkbox-group.js +1 -1
  85. package/cdn/components/combobox/combobox.js +1 -1
  86. package/cdn/components/datepicker/datepicker.d.ts +6 -1
  87. package/cdn/components/datepicker/datepicker.js +1 -1
  88. package/cdn/components/dialog/dialog.js +1 -1
  89. package/cdn/components/divider/divider.js +1 -1
  90. package/cdn/components/drawer/drawer.js +1 -1
  91. package/cdn/components/dropdown/dropdown.js +1 -1
  92. package/cdn/components/expandable/expandable.js +1 -1
  93. package/cdn/components/flipcard/flipcard.js +1 -1
  94. package/cdn/components/header/header.js +1 -1
  95. package/cdn/components/icon/icon.js +1 -1
  96. package/cdn/components/icon/library.default.js +1 -1
  97. package/cdn/components/icon/library.internal.js +1 -1
  98. package/cdn/components/icon/library.js +1 -1
  99. package/cdn/components/include/include.js +1 -1
  100. package/cdn/components/input/input.d.ts +1 -0
  101. package/cdn/components/input/input.js +1 -1
  102. package/cdn/components/link/link.js +1 -1
  103. package/cdn/components/loader/loader.js +1 -1
  104. package/cdn/components/map-marker/map-marker.js +1 -1
  105. package/cdn/components/menu/menu.js +1 -1
  106. package/cdn/components/menu-item/menu-item.js +1 -1
  107. package/cdn/components/navigation-item/navigation-item.js +1 -1
  108. package/cdn/components/notification/notification.js +1 -1
  109. package/cdn/components/optgroup/optgroup.js +1 -1
  110. package/cdn/components/option/option.js +1 -1
  111. package/cdn/components/popup/popup.js +1 -1
  112. package/cdn/components/quickfact/quickfact.js +1 -1
  113. package/cdn/components/radio/radio.js +1 -1
  114. package/cdn/components/radio-button/radio-button.js +1 -1
  115. package/cdn/components/radio-group/radio-group.js +1 -1
  116. package/cdn/components/range/range.d.ts +1 -1
  117. package/cdn/components/range/range.js +1 -1
  118. package/cdn/components/range-tick/range-tick.js +1 -1
  119. package/cdn/components/scrollable/scrollable.js +1 -1
  120. package/cdn/components/select/select.js +1 -1
  121. package/cdn/components/skeleton/skeleton.d.ts +11 -0
  122. package/cdn/components/skeleton/skeleton.js +1 -0
  123. package/cdn/components/spinner/spinner.js +1 -1
  124. package/cdn/components/step/step.js +1 -1
  125. package/cdn/components/step-group/step-group.js +1 -1
  126. package/cdn/components/switch/switch.js +1 -1
  127. package/cdn/components/tab/tab.js +1 -1
  128. package/cdn/components/tab-group/tab-group.js +1 -1
  129. package/cdn/components/tab-panel/tab-panel.js +1 -1
  130. package/cdn/components/tag/tag.js +1 -1
  131. package/cdn/components/teaser/teaser.js +1 -1
  132. package/cdn/components/teaser-media/teaser-media.js +1 -1
  133. package/cdn/components/textarea/textarea.js +1 -1
  134. package/cdn/components/theme-listener/theme-listener.js +1 -1
  135. package/cdn/components/tooltip/tooltip.js +1 -1
  136. package/cdn/components/video/video.js +1 -1
  137. package/cdn/custom-elements.json +734 -216
  138. package/cdn/solid-components.bundle.js +94 -92
  139. package/cdn/solid-components.css +2 -2
  140. package/cdn/solid-components.d.ts +1 -0
  141. package/cdn/solid-components.iife.js +94 -92
  142. package/cdn/solid-components.js +1 -1
  143. package/cdn/translations/de.js +1 -1
  144. package/cdn/translations/en.js +1 -1
  145. package/cdn/utilities/autocomplete-config.js +1 -1
  146. package/cdn/utilities/date.js +1 -1
  147. package/cdn/utilities/icon-library.js +1 -1
  148. package/cdn/utilities/localize.d.ts +1 -0
  149. package/cdn/utilities/localize.js +1 -1
  150. package/cdn/vscode.html-custom-data.json +80 -34
  151. package/cdn/web-types.json +120 -118
  152. package/cdn-versioned/chunks/chunk.22CCXPHJ.js +2 -0
  153. package/{cdn/chunks/chunk.E7DVDO4P.js → cdn-versioned/chunks/chunk.2VJYV5BY.js} +2 -2
  154. package/cdn-versioned/chunks/{chunk.66LOVPZM.js → chunk.3DMGMET2.js} +2 -2
  155. package/cdn-versioned/chunks/{chunk.YMZZDCP3.js → chunk.3FMN7C5N.js} +1 -1
  156. package/cdn-versioned/chunks/chunk.3MADQ6HK.js +1 -0
  157. package/cdn-versioned/chunks/chunk.3TJM745S.js +1 -0
  158. package/cdn-versioned/chunks/chunk.3U6I2XOL.js +2 -0
  159. package/cdn-versioned/chunks/chunk.3VOSCPDE.js +2 -0
  160. package/cdn-versioned/chunks/chunk.3VW46WMV.js +2 -0
  161. package/cdn-versioned/chunks/chunk.5JCETQIB.js +2 -0
  162. package/cdn-versioned/chunks/chunk.5PFAX7QO.js +2 -0
  163. package/cdn-versioned/chunks/chunk.5Z4DRU2D.js +6 -0
  164. package/cdn-versioned/chunks/{chunk.BL5NWLDW.js → chunk.6GRCOPRW.js} +3 -3
  165. package/cdn-versioned/chunks/chunk.77FHAJLL.js +26 -0
  166. package/cdn-versioned/chunks/chunk.7H4P4PDT.js +2 -0
  167. package/{cdn/chunks/chunk.3KWSM3HE.js → cdn-versioned/chunks/chunk.7OU5VHPS.js} +1 -1
  168. package/cdn-versioned/chunks/chunk.AAHU44T4.js +2 -0
  169. package/cdn-versioned/chunks/chunk.ALCI4HY2.js +2 -0
  170. package/cdn-versioned/chunks/chunk.B3QUTUIL.js +1 -0
  171. package/cdn-versioned/chunks/chunk.B7HLIRJJ.js +2 -0
  172. package/cdn-versioned/chunks/{chunk.IQUVFHYA.js → chunk.BFXR4F5U.js} +2 -2
  173. package/cdn-versioned/chunks/{chunk.F3OBG73C.js → chunk.BQULWPND.js} +2 -2
  174. package/cdn-versioned/chunks/{chunk.ALIY2YIR.js → chunk.BZTTDLZU.js} +2 -2
  175. package/cdn-versioned/chunks/chunk.CDP46OS4.js +1 -1
  176. package/cdn-versioned/chunks/chunk.CRWDTBDK.js +5 -0
  177. package/cdn-versioned/chunks/chunk.CWK7H3FQ.js +2 -0
  178. package/cdn-versioned/chunks/chunk.D5RIAZYU.js +2 -0
  179. package/cdn-versioned/chunks/{chunk.ESKMS5I6.js → chunk.D6O3QBSW.js} +1 -1
  180. package/cdn-versioned/chunks/chunk.D6VARJ7Y.js +2 -0
  181. package/cdn-versioned/chunks/chunk.DUYZKPLZ.js +2 -0
  182. package/cdn-versioned/chunks/chunk.EXWEUXU5.js +2 -0
  183. package/cdn-versioned/chunks/chunk.F5XDIUD7.js +2 -0
  184. package/cdn-versioned/chunks/chunk.FACCPFJH.js +2 -0
  185. package/cdn-versioned/chunks/chunk.FLXHLGUA.js +2 -0
  186. package/cdn-versioned/chunks/chunk.HVKSHUAS.js +12 -0
  187. package/cdn-versioned/chunks/{chunk.7BPPDSHY.js → chunk.IQPMMUES.js} +1 -1
  188. package/cdn-versioned/chunks/chunk.JS2HQ2N4.js +1 -1
  189. package/cdn-versioned/chunks/{chunk.HO5NN73W.js → chunk.K4VSKKMO.js} +2 -2
  190. package/cdn-versioned/chunks/{chunk.J3HOSC6V.js → chunk.L4AYU4EM.js} +2 -2
  191. package/cdn-versioned/chunks/{chunk.RJVGGY3Q.js → chunk.LRQ24UAJ.js} +2 -2
  192. package/cdn-versioned/chunks/chunk.N4I72GMP.js +2 -0
  193. package/cdn-versioned/chunks/chunk.NN5CRQLJ.js +12 -0
  194. package/cdn-versioned/chunks/{chunk.BTMWUMPI.js → chunk.NYVOUB2E.js} +2 -2
  195. package/cdn-versioned/chunks/chunk.O5XCFQPD.js +2 -0
  196. package/cdn-versioned/chunks/{chunk.OXYZANQK.js → chunk.OAYLOD6C.js} +6 -5
  197. package/cdn-versioned/chunks/chunk.P3Q4ZXYZ.js +2 -0
  198. package/cdn-versioned/chunks/{chunk.U6FGIHUI.js → chunk.PESXZHIR.js} +2 -2
  199. package/cdn-versioned/chunks/{chunk.7JAXJRX2.js → chunk.R3L4HEYD.js} +2 -2
  200. package/cdn-versioned/chunks/chunk.RBH4MV7K.js +2 -0
  201. package/cdn-versioned/chunks/chunk.SFWXMYPO.js +2 -0
  202. package/cdn-versioned/chunks/{chunk.66OZDVLX.js → chunk.SPAZJMG4.js} +2 -2
  203. package/cdn-versioned/chunks/chunk.SPP6MW2X.js +2 -0
  204. package/cdn-versioned/chunks/chunk.T6IL3V4O.js +2 -0
  205. package/cdn-versioned/chunks/chunk.TJE3CCOC.js +2 -0
  206. package/cdn-versioned/chunks/chunk.TP4BG34O.js +11 -0
  207. package/cdn-versioned/chunks/chunk.U7FW2KFI.js +12 -0
  208. package/cdn-versioned/chunks/{chunk.KL3CEU6E.js → chunk.URCOTIZE.js} +3 -3
  209. package/cdn-versioned/chunks/chunk.URPA7XIF.js +2 -0
  210. package/cdn-versioned/chunks/chunk.UTY2AZTR.js +12 -0
  211. package/cdn-versioned/chunks/chunk.VH3XCKIL.js +4 -0
  212. package/cdn-versioned/chunks/chunk.VSUTIJKU.js +2 -0
  213. package/cdn-versioned/chunks/chunk.VTDQOKJM.js +2 -0
  214. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  215. package/cdn-versioned/chunks/chunk.WKADUBJJ.js +2 -0
  216. package/cdn-versioned/chunks/chunk.XPPKJJGY.js +2 -0
  217. package/cdn-versioned/chunks/{chunk.5ZYFWIRD.js → chunk.XVBBYULT.js} +2 -2
  218. package/cdn-versioned/chunks/chunk.YJC7AXB7.js +2 -0
  219. package/cdn-versioned/chunks/{chunk.XIRAK67B.js → chunk.YUO4QWBT.js} +3 -3
  220. package/cdn-versioned/chunks/chunk.Z5DGSF5Q.js +2 -0
  221. package/cdn-versioned/chunks/{chunk.3DB2ELEL.js → chunk.ZVQLZBSU.js} +2 -2
  222. package/cdn-versioned/chunks/chunk.ZWQXC6TB.js +2 -0
  223. package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
  224. package/cdn-versioned/components/accordion/accordion.js +1 -1
  225. package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  226. package/cdn-versioned/components/accordion-group/accordion-group.js +1 -1
  227. package/cdn-versioned/components/animation/animation.d.ts +1 -1
  228. package/cdn-versioned/components/animation/animation.js +1 -1
  229. package/cdn-versioned/components/audio/audio.d.ts +1 -1
  230. package/cdn-versioned/components/audio/audio.js +1 -1
  231. package/cdn-versioned/components/badge/badge.d.ts +1 -1
  232. package/cdn-versioned/components/badge/badge.js +1 -1
  233. package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
  234. package/cdn-versioned/components/brandshape/brandshape.js +1 -1
  235. package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +3 -1
  236. package/cdn-versioned/components/breadcrumb/breadcrumb.js +1 -1
  237. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +2 -1
  238. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.js +1 -1
  239. package/cdn-versioned/components/button/button.d.ts +1 -1
  240. package/cdn-versioned/components/button/button.js +1 -1
  241. package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
  242. package/cdn-versioned/components/button-group/button-group.js +1 -1
  243. package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
  244. package/cdn-versioned/components/carousel/carousel.js +1 -1
  245. package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  246. package/cdn-versioned/components/carousel-item/carousel-item.js +1 -1
  247. package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
  248. package/cdn-versioned/components/checkbox/checkbox.js +1 -1
  249. package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  250. package/cdn-versioned/components/checkbox-group/checkbox-group.js +1 -1
  251. package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
  252. package/cdn-versioned/components/combobox/combobox.js +1 -1
  253. package/cdn-versioned/components/datepicker/datepicker.d.ts +7 -2
  254. package/cdn-versioned/components/datepicker/datepicker.js +1 -1
  255. package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
  256. package/cdn-versioned/components/dialog/dialog.js +1 -1
  257. package/cdn-versioned/components/divider/divider.d.ts +1 -1
  258. package/cdn-versioned/components/divider/divider.js +1 -1
  259. package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
  260. package/cdn-versioned/components/drawer/drawer.js +1 -1
  261. package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
  262. package/cdn-versioned/components/dropdown/dropdown.js +1 -1
  263. package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
  264. package/cdn-versioned/components/expandable/expandable.js +1 -1
  265. package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
  266. package/cdn-versioned/components/flipcard/flipcard.js +1 -1
  267. package/cdn-versioned/components/header/header.d.ts +1 -1
  268. package/cdn-versioned/components/header/header.js +1 -1
  269. package/cdn-versioned/components/icon/icon.d.ts +1 -1
  270. package/cdn-versioned/components/icon/icon.js +1 -1
  271. package/cdn-versioned/components/icon/library.default.js +1 -1
  272. package/cdn-versioned/components/icon/library.internal.js +1 -1
  273. package/cdn-versioned/components/icon/library.js +1 -1
  274. package/cdn-versioned/components/include/include.d.ts +1 -1
  275. package/cdn-versioned/components/include/include.js +1 -1
  276. package/cdn-versioned/components/input/input.d.ts +2 -1
  277. package/cdn-versioned/components/input/input.js +1 -1
  278. package/cdn-versioned/components/link/link.d.ts +1 -1
  279. package/cdn-versioned/components/link/link.js +1 -1
  280. package/cdn-versioned/components/loader/loader.d.ts +1 -1
  281. package/cdn-versioned/components/loader/loader.js +1 -1
  282. package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
  283. package/cdn-versioned/components/map-marker/map-marker.js +1 -1
  284. package/cdn-versioned/components/menu/menu.d.ts +1 -1
  285. package/cdn-versioned/components/menu/menu.js +1 -1
  286. package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
  287. package/cdn-versioned/components/menu-item/menu-item.js +1 -1
  288. package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  289. package/cdn-versioned/components/navigation-item/navigation-item.js +1 -1
  290. package/cdn-versioned/components/notification/notification.d.ts +1 -1
  291. package/cdn-versioned/components/notification/notification.js +1 -1
  292. package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
  293. package/cdn-versioned/components/optgroup/optgroup.js +1 -1
  294. package/cdn-versioned/components/option/option.d.ts +1 -1
  295. package/cdn-versioned/components/option/option.js +1 -1
  296. package/cdn-versioned/components/popup/popup.d.ts +1 -1
  297. package/cdn-versioned/components/popup/popup.js +1 -1
  298. package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
  299. package/cdn-versioned/components/quickfact/quickfact.js +1 -1
  300. package/cdn-versioned/components/radio/radio.d.ts +1 -1
  301. package/cdn-versioned/components/radio/radio.js +1 -1
  302. package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
  303. package/cdn-versioned/components/radio-button/radio-button.js +1 -1
  304. package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
  305. package/cdn-versioned/components/radio-group/radio-group.js +1 -1
  306. package/cdn-versioned/components/range/range.d.ts +2 -2
  307. package/cdn-versioned/components/range/range.js +1 -1
  308. package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
  309. package/cdn-versioned/components/range-tick/range-tick.js +1 -1
  310. package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
  311. package/cdn-versioned/components/scrollable/scrollable.js +1 -1
  312. package/cdn-versioned/components/select/select.d.ts +1 -1
  313. package/cdn-versioned/components/select/select.js +1 -1
  314. package/cdn-versioned/components/skeleton/skeleton.d.ts +11 -0
  315. package/cdn-versioned/components/skeleton/skeleton.js +1 -0
  316. package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
  317. package/cdn-versioned/components/spinner/spinner.js +1 -1
  318. package/cdn-versioned/components/step/step.d.ts +1 -1
  319. package/cdn-versioned/components/step/step.js +1 -1
  320. package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
  321. package/cdn-versioned/components/step-group/step-group.js +1 -1
  322. package/cdn-versioned/components/switch/switch.d.ts +1 -1
  323. package/cdn-versioned/components/switch/switch.js +1 -1
  324. package/cdn-versioned/components/tab/tab.d.ts +1 -1
  325. package/cdn-versioned/components/tab/tab.js +1 -1
  326. package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
  327. package/cdn-versioned/components/tab-group/tab-group.js +1 -1
  328. package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  329. package/cdn-versioned/components/tab-panel/tab-panel.js +1 -1
  330. package/cdn-versioned/components/tag/tag.d.ts +1 -1
  331. package/cdn-versioned/components/tag/tag.js +1 -1
  332. package/cdn-versioned/components/teaser/teaser.js +1 -1
  333. package/cdn-versioned/components/teaser-media/teaser-media.js +1 -1
  334. package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
  335. package/cdn-versioned/components/textarea/textarea.js +1 -1
  336. package/cdn-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  337. package/cdn-versioned/components/theme-listener/theme-listener.js +1 -1
  338. package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
  339. package/cdn-versioned/components/tooltip/tooltip.js +1 -1
  340. package/cdn-versioned/components/video/video.d.ts +1 -1
  341. package/cdn-versioned/components/video/video.js +1 -1
  342. package/cdn-versioned/custom-elements.json +977 -459
  343. package/cdn-versioned/internal/form.js +3 -3
  344. package/cdn-versioned/solid-components.bundle.js +96 -94
  345. package/cdn-versioned/solid-components.css +4 -4
  346. package/cdn-versioned/solid-components.d.ts +1 -0
  347. package/cdn-versioned/solid-components.iife.js +96 -94
  348. package/cdn-versioned/solid-components.js +1 -1
  349. package/cdn-versioned/translations/de.js +1 -1
  350. package/cdn-versioned/translations/en.js +1 -1
  351. package/cdn-versioned/utilities/autocomplete-config.js +1 -1
  352. package/cdn-versioned/utilities/date.js +1 -1
  353. package/cdn-versioned/utilities/icon-library.js +1 -1
  354. package/cdn-versioned/utilities/localize.d.ts +1 -0
  355. package/cdn-versioned/utilities/localize.js +1 -1
  356. package/cdn-versioned/vscode.html-custom-data.json +161 -115
  357. package/cdn-versioned/web-types.json +263 -261
  358. package/{dist-versioned/chunks/chunk.KPAQRMCC.js → dist/chunks/chunk.2BO5LK23.js} +2 -2
  359. package/dist/chunks/{chunk.E7L2RBML.js → chunk.3DZRUVDI.js} +6 -5
  360. package/dist/chunks/{chunk.7RSL7EOY.js → chunk.3T4FDUQP.js} +3 -3
  361. package/dist/chunks/{chunk.QJ2PELD5.js → chunk.3UREZKLQ.js} +2 -2
  362. package/dist/chunks/{chunk.5D7C4MXB.js → chunk.4LMIOELP.js} +2 -2
  363. package/dist/chunks/{chunk.TIOVWVCD.js → chunk.5YR4L6ZG.js} +2 -2
  364. package/dist/chunks/{chunk.MFE2NCVX.js → chunk.76LE4BPL.js} +4 -4
  365. package/dist/chunks/{chunk.DJ3WYVWV.js → chunk.76YV6AY5.js} +4 -4
  366. package/dist/chunks/{chunk.NK5K5MMW.js → chunk.AUNSZRBQ.js} +2 -2
  367. package/dist/chunks/{chunk.QHUH3UZT.js → chunk.AUWFJ6KR.js} +4 -4
  368. package/dist/chunks/chunk.AYA7WMLI.js +93 -0
  369. package/dist/chunks/{chunk.4FY6QRJ7.js → chunk.BKLAIQ6N.js} +3 -3
  370. package/dist/chunks/{chunk.4CD5TTGT.js → chunk.BVGYMFAR.js} +5 -4
  371. package/dist/chunks/{chunk.U7ASTWXS.js → chunk.BWFAN5T4.js} +2 -2
  372. package/dist/chunks/{chunk.WSRHW32L.js → chunk.DUPO2RAV.js} +3 -3
  373. package/dist/chunks/{chunk.WSXRRFIW.js → chunk.EGZ57KTV.js} +6 -6
  374. package/dist/chunks/{chunk.OBQTYYBW.js → chunk.EPZFBHM5.js} +2 -2
  375. package/{dist-versioned/chunks/chunk.O6OCXI2L.js → dist/chunks/chunk.F3WAQKPZ.js} +36 -12
  376. package/dist/chunks/{chunk.YLQNXR3G.js → chunk.FJXMO4AJ.js} +8 -7
  377. package/dist/chunks/{chunk.FPMNMEXR.js → chunk.FTQNZE7U.js} +3 -3
  378. package/dist/chunks/{chunk.PF4UKMOY.js → chunk.G327Z3UW.js} +4 -4
  379. package/dist/chunks/{chunk.M5EPD6OZ.js → chunk.G4LU2DPT.js} +5 -5
  380. package/dist/chunks/{chunk.DFQ2QJI5.js → chunk.GLKP6FBY.js} +2 -2
  381. package/dist/chunks/{chunk.VN6V46I7.js → chunk.GTG5NCJH.js} +10 -7
  382. package/dist/chunks/{chunk.YBIM4TC7.js → chunk.GUAIWPL4.js} +2 -2
  383. package/dist/chunks/{chunk.ID6DABAJ.js → chunk.GWKDETUD.js} +1 -0
  384. package/dist/chunks/{chunk.RZGUWSF6.js → chunk.HC6LHKKU.js} +4 -4
  385. package/dist/chunks/{chunk.NCZBBZOR.js → chunk.HHKPFIAB.js} +2 -2
  386. package/dist/chunks/{chunk.XNEWFPWE.js → chunk.HOQ7HWJ2.js} +23 -10
  387. package/dist/chunks/{chunk.BFDY2E6R.js → chunk.HPCBK4U6.js} +2 -2
  388. package/dist/chunks/{chunk.SIUXYHUU.js → chunk.IJLFM2YE.js} +3 -3
  389. package/dist/chunks/{chunk.5H7CWETG.js → chunk.IP6WZTQB.js} +4 -4
  390. package/dist/chunks/{chunk.2ER4MXZC.js → chunk.J2JUTR3O.js} +6 -6
  391. package/dist/chunks/{chunk.F4A7G427.js → chunk.J3LIXAL2.js} +8 -8
  392. package/dist/chunks/{chunk.WSXDUNN7.js → chunk.JE5DROBO.js} +2 -2
  393. package/dist/chunks/{chunk.CT4BIUEI.js → chunk.K3WOPEVW.js} +5 -5
  394. package/dist/chunks/{chunk.NKPJM2WV.js → chunk.LIQ3OEHJ.js} +128 -35
  395. package/{dist-versioned/chunks/chunk.O6MXNSO7.js → dist/chunks/chunk.LS3MCK4L.js} +1 -1
  396. package/dist/chunks/{chunk.ZBAABZKL.js → chunk.LZEWZD6Z.js} +5 -5
  397. package/{dist-versioned/chunks/chunk.3S7EW72P.js → dist/chunks/chunk.M6QWSNU3.js} +1 -0
  398. package/dist/chunks/{chunk.UIXXR3N5.js → chunk.MGI5NELL.js} +2 -2
  399. package/dist/chunks/{chunk.PJOYWTXL.js → chunk.N4OTT34O.js} +5 -5
  400. package/dist/chunks/{chunk.MB47FVBP.js → chunk.NLVFG55I.js} +6 -6
  401. package/dist/chunks/{chunk.A3YMYTLW.js → chunk.P3AEQTO4.js} +9 -3
  402. package/dist/chunks/{chunk.CR5C6OL5.js → chunk.PXABEZTS.js} +9 -5
  403. package/dist/chunks/{chunk.N5XK43AK.js → chunk.QBW7TVOK.js} +14 -14
  404. package/dist/chunks/{chunk.WTFF4KWO.js → chunk.QDGO562V.js} +7 -6
  405. package/dist/chunks/{chunk.7XXRAMBH.js → chunk.QLNTXQ74.js} +3 -3
  406. package/dist/chunks/{chunk.AEFLWSEK.js → chunk.QMAANEK5.js} +4 -4
  407. package/dist/chunks/{chunk.HB45IF2T.js → chunk.RN3MHCKA.js} +2 -2
  408. package/dist/chunks/{chunk.5WAWAUSM.js → chunk.RSHUGRW4.js} +2 -2
  409. package/dist/chunks/{chunk.SZDLCBRQ.js → chunk.RYXJEAJP.js} +6 -5
  410. package/dist/chunks/{chunk.ZXOKRAZP.js → chunk.RZYPRKWX.js} +5 -5
  411. package/{dist-versioned/chunks/chunk.CDM2I6O2.js → dist/chunks/chunk.SMPFJ52B.js} +21 -10
  412. package/dist/chunks/chunk.TANNWOC5.js +42 -0
  413. package/dist/chunks/{chunk.AAY5JRCW.js → chunk.U2BN2DBY.js} +2 -2
  414. package/dist/chunks/{chunk.662O4CMZ.js → chunk.UAKAZZQ5.js} +2 -2
  415. package/dist/chunks/{chunk.OK3VBJRJ.js → chunk.UE4M2UDJ.js} +5 -5
  416. package/dist/chunks/{chunk.FMSAUZWF.js → chunk.ULHJFA5A.js} +2 -2
  417. package/dist/chunks/{chunk.GYXMDYGY.js → chunk.UVPXOOB4.js} +2 -2
  418. package/dist/chunks/{chunk.RIWKWSAL.js → chunk.VHCJ4ERI.js} +2 -2
  419. package/dist/chunks/{chunk.TXNCIVE5.js → chunk.XCCVIHHK.js} +3 -3
  420. package/dist/chunks/{chunk.3BVNSUFD.js → chunk.XMHLFXNP.js} +2 -2
  421. package/dist/chunks/{chunk.ZRJRFFVA.js → chunk.XPXWMXEZ.js} +5 -5
  422. package/dist/chunks/{chunk.5ZRRM6UH.js → chunk.XXOSIGGH.js} +8 -8
  423. package/dist/chunks/{chunk.ANYT6TR4.js → chunk.YNEDC56F.js} +4 -4
  424. package/dist/chunks/{chunk.EORXKFFT.js → chunk.YV6TLAQG.js} +2 -2
  425. package/dist/components/accordion/accordion.js +8 -8
  426. package/dist/components/accordion-group/accordion-group.js +9 -9
  427. package/dist/components/animation/animation.js +2 -2
  428. package/dist/components/audio/audio.js +11 -11
  429. package/dist/components/badge/badge.js +2 -2
  430. package/dist/components/brandshape/brandshape.js +2 -2
  431. package/dist/components/breadcrumb/breadcrumb.d.ts +2 -0
  432. package/dist/components/breadcrumb/breadcrumb.js +18 -4
  433. package/dist/components/breadcrumb-item/breadcrumb-item.d.ts +1 -0
  434. package/dist/components/breadcrumb-item/breadcrumb-item.js +6 -4
  435. package/dist/components/button/button.js +5 -5
  436. package/dist/components/button-group/button-group.js +2 -2
  437. package/dist/components/carousel/carousel.js +9 -9
  438. package/dist/components/carousel-item/carousel-item.js +2 -2
  439. package/dist/components/checkbox/checkbox.js +6 -6
  440. package/dist/components/checkbox-group/checkbox-group.js +6 -6
  441. package/dist/components/combobox/combobox.js +10 -10
  442. package/dist/components/datepicker/datepicker.d.ts +6 -1
  443. package/dist/components/datepicker/datepicker.js +14 -5
  444. package/dist/components/dialog/dialog.js +10 -10
  445. package/dist/components/divider/divider.js +2 -2
  446. package/dist/components/drawer/drawer.js +10 -10
  447. package/dist/components/dropdown/dropdown.js +5 -5
  448. package/dist/components/expandable/expandable.js +8 -8
  449. package/dist/components/flipcard/flipcard.js +10 -10
  450. package/dist/components/header/header.js +2 -2
  451. package/dist/components/icon/icon.js +5 -5
  452. package/dist/components/icon/library.default.js +1 -1
  453. package/dist/components/icon/library.internal.js +1 -1
  454. package/dist/components/icon/library.js +3 -3
  455. package/dist/components/include/include.js +2 -2
  456. package/dist/components/input/input.d.ts +1 -0
  457. package/dist/components/input/input.js +8 -8
  458. package/dist/components/link/link.js +2 -2
  459. package/dist/components/loader/loader.js +4 -4
  460. package/dist/components/map-marker/map-marker.js +2 -2
  461. package/dist/components/menu/menu.js +4 -4
  462. package/dist/components/menu-item/menu-item.js +2 -2
  463. package/dist/components/navigation-item/navigation-item.js +9 -9
  464. package/dist/components/notification/notification.js +10 -10
  465. package/dist/components/optgroup/optgroup.js +5 -5
  466. package/dist/components/option/option.js +6 -6
  467. package/dist/components/popup/popup.js +2 -2
  468. package/dist/components/quickfact/quickfact.js +9 -9
  469. package/dist/components/radio/radio.js +2 -2
  470. package/dist/components/radio-button/radio-button.js +2 -2
  471. package/dist/components/radio-group/radio-group.js +4 -4
  472. package/dist/components/range/range.d.ts +1 -1
  473. package/dist/components/range/range.js +4 -4
  474. package/dist/components/range-tick/range-tick.js +4 -4
  475. package/dist/components/scrollable/scrollable.js +8 -8
  476. package/dist/components/select/select.js +10 -10
  477. package/dist/components/skeleton/skeleton.d.ts +11 -0
  478. package/dist/components/skeleton/skeleton.js +9 -0
  479. package/dist/components/spinner/spinner.js +4 -4
  480. package/dist/components/step/step.js +6 -6
  481. package/dist/components/step-group/step-group.js +2 -2
  482. package/dist/components/switch/switch.js +2 -2
  483. package/dist/components/tab/tab.js +4 -4
  484. package/dist/components/tab-group/tab-group.js +8 -8
  485. package/dist/components/tab-panel/tab-panel.js +2 -2
  486. package/dist/components/tag/tag.js +8 -8
  487. package/dist/components/teaser/teaser.js +2 -2
  488. package/dist/components/teaser-media/teaser-media.js +2 -2
  489. package/dist/components/textarea/textarea.js +6 -6
  490. package/dist/components/theme-listener/theme-listener.js +2 -2
  491. package/dist/components/tooltip/tooltip.js +9 -9
  492. package/dist/components/video/video.js +8 -8
  493. package/dist/custom-elements.json +734 -216
  494. package/dist/solid-components.css +2 -2
  495. package/dist/solid-components.d.ts +1 -0
  496. package/dist/solid-components.js +81 -77
  497. package/dist/translations/de.js +1 -1
  498. package/dist/translations/en.js +1 -1
  499. package/dist/utilities/autocomplete-config.js +3 -3
  500. package/dist/utilities/date.js +1 -1
  501. package/dist/utilities/icon-library.js +3 -3
  502. package/dist/utilities/localize.d.ts +1 -0
  503. package/dist/utilities/localize.js +2 -2
  504. package/dist/vscode.html-custom-data.json +80 -34
  505. package/dist/web-types.json +120 -118
  506. package/{dist/chunks/chunk.KPAQRMCC.js → dist-versioned/chunks/chunk.2BO5LK23.js} +2 -2
  507. package/dist-versioned/chunks/{chunk.E7L2RBML.js → chunk.3DZRUVDI.js} +11 -10
  508. package/dist-versioned/chunks/{chunk.7RSL7EOY.js → chunk.3T4FDUQP.js} +8 -8
  509. package/dist-versioned/chunks/{chunk.QJ2PELD5.js → chunk.3UREZKLQ.js} +4 -4
  510. package/dist-versioned/chunks/{chunk.5D7C4MXB.js → chunk.4LMIOELP.js} +4 -4
  511. package/dist-versioned/chunks/{chunk.TIOVWVCD.js → chunk.5YR4L6ZG.js} +4 -4
  512. package/dist-versioned/chunks/{chunk.MFE2NCVX.js → chunk.76LE4BPL.js} +6 -6
  513. package/dist-versioned/chunks/{chunk.DJ3WYVWV.js → chunk.76YV6AY5.js} +10 -10
  514. package/dist-versioned/chunks/{chunk.NK5K5MMW.js → chunk.AUNSZRBQ.js} +3 -3
  515. package/dist-versioned/chunks/{chunk.QHUH3UZT.js → chunk.AUWFJ6KR.js} +6 -6
  516. package/dist-versioned/chunks/chunk.AYA7WMLI.js +93 -0
  517. package/dist-versioned/chunks/{chunk.4FY6QRJ7.js → chunk.BKLAIQ6N.js} +5 -5
  518. package/dist-versioned/chunks/{chunk.4CD5TTGT.js → chunk.BVGYMFAR.js} +8 -7
  519. package/dist-versioned/chunks/{chunk.U7ASTWXS.js → chunk.BWFAN5T4.js} +7 -7
  520. package/dist-versioned/chunks/{chunk.WSRHW32L.js → chunk.DUPO2RAV.js} +5 -5
  521. package/dist-versioned/chunks/{chunk.WSXRRFIW.js → chunk.EGZ57KTV.js} +7 -7
  522. package/dist-versioned/chunks/{chunk.OBQTYYBW.js → chunk.EPZFBHM5.js} +4 -4
  523. package/{dist/chunks/chunk.O6OCXI2L.js → dist-versioned/chunks/chunk.F3WAQKPZ.js} +36 -12
  524. package/dist-versioned/chunks/{chunk.YLQNXR3G.js → chunk.FJXMO4AJ.js} +10 -9
  525. package/dist-versioned/chunks/{chunk.FPMNMEXR.js → chunk.FTQNZE7U.js} +5 -5
  526. package/dist-versioned/chunks/{chunk.PF4UKMOY.js → chunk.G327Z3UW.js} +6 -6
  527. package/dist-versioned/chunks/{chunk.M5EPD6OZ.js → chunk.G4LU2DPT.js} +10 -10
  528. package/dist-versioned/chunks/{chunk.DFQ2QJI5.js → chunk.GLKP6FBY.js} +4 -4
  529. package/dist-versioned/chunks/{chunk.VN6V46I7.js → chunk.GTG5NCJH.js} +12 -9
  530. package/dist-versioned/chunks/{chunk.YBIM4TC7.js → chunk.GUAIWPL4.js} +3 -3
  531. package/dist-versioned/chunks/{chunk.ID6DABAJ.js → chunk.GWKDETUD.js} +1 -0
  532. package/dist-versioned/chunks/{chunk.RZGUWSF6.js → chunk.HC6LHKKU.js} +7 -7
  533. package/dist-versioned/chunks/{chunk.NCZBBZOR.js → chunk.HHKPFIAB.js} +3 -3
  534. package/dist-versioned/chunks/{chunk.XNEWFPWE.js → chunk.HOQ7HWJ2.js} +25 -12
  535. package/dist-versioned/chunks/{chunk.BFDY2E6R.js → chunk.HPCBK4U6.js} +13 -13
  536. package/dist-versioned/chunks/{chunk.SIUXYHUU.js → chunk.IJLFM2YE.js} +10 -10
  537. package/dist-versioned/chunks/{chunk.5H7CWETG.js → chunk.IP6WZTQB.js} +6 -6
  538. package/dist-versioned/chunks/{chunk.2ER4MXZC.js → chunk.J2JUTR3O.js} +7 -7
  539. package/dist-versioned/chunks/{chunk.F4A7G427.js → chunk.J3LIXAL2.js} +10 -10
  540. package/dist-versioned/chunks/{chunk.WSXDUNN7.js → chunk.JE5DROBO.js} +3 -3
  541. package/dist-versioned/chunks/{chunk.CT4BIUEI.js → chunk.K3WOPEVW.js} +9 -9
  542. package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
  543. package/dist-versioned/chunks/{chunk.NKPJM2WV.js → chunk.LIQ3OEHJ.js} +132 -39
  544. package/{dist/chunks/chunk.O6MXNSO7.js → dist-versioned/chunks/chunk.LS3MCK4L.js} +1 -1
  545. package/dist-versioned/chunks/{chunk.ZBAABZKL.js → chunk.LZEWZD6Z.js} +6 -6
  546. package/{dist/chunks/chunk.3S7EW72P.js → dist-versioned/chunks/chunk.M6QWSNU3.js} +1 -0
  547. package/dist-versioned/chunks/{chunk.UIXXR3N5.js → chunk.MGI5NELL.js} +5 -5
  548. package/dist-versioned/chunks/{chunk.PJOYWTXL.js → chunk.N4OTT34O.js} +6 -6
  549. package/dist-versioned/chunks/{chunk.MB47FVBP.js → chunk.NLVFG55I.js} +7 -7
  550. package/dist-versioned/chunks/{chunk.A3YMYTLW.js → chunk.P3AEQTO4.js} +13 -7
  551. package/dist-versioned/chunks/{chunk.CR5C6OL5.js → chunk.PXABEZTS.js} +34 -30
  552. package/dist-versioned/chunks/{chunk.N5XK43AK.js → chunk.QBW7TVOK.js} +29 -29
  553. package/dist-versioned/chunks/{chunk.WTFF4KWO.js → chunk.QDGO562V.js} +9 -8
  554. package/dist-versioned/chunks/{chunk.7XXRAMBH.js → chunk.QLNTXQ74.js} +4 -4
  555. package/dist-versioned/chunks/{chunk.AEFLWSEK.js → chunk.QMAANEK5.js} +15 -15
  556. package/dist-versioned/chunks/{chunk.HB45IF2T.js → chunk.RN3MHCKA.js} +3 -3
  557. package/dist-versioned/chunks/{chunk.5WAWAUSM.js → chunk.RSHUGRW4.js} +4 -4
  558. package/dist-versioned/chunks/{chunk.SZDLCBRQ.js → chunk.RYXJEAJP.js} +29 -28
  559. package/dist-versioned/chunks/{chunk.ZXOKRAZP.js → chunk.RZYPRKWX.js} +7 -7
  560. package/{dist/chunks/chunk.CDM2I6O2.js → dist-versioned/chunks/chunk.SMPFJ52B.js} +21 -10
  561. package/dist-versioned/chunks/chunk.TANNWOC5.js +42 -0
  562. package/dist-versioned/chunks/chunk.U2BN2DBY.js +70 -0
  563. package/dist-versioned/chunks/{chunk.662O4CMZ.js → chunk.UAKAZZQ5.js} +14 -14
  564. package/dist-versioned/chunks/{chunk.OK3VBJRJ.js → chunk.UE4M2UDJ.js} +7 -7
  565. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  566. package/dist-versioned/chunks/{chunk.FMSAUZWF.js → chunk.ULHJFA5A.js} +6 -6
  567. package/dist-versioned/chunks/{chunk.GYXMDYGY.js → chunk.UVPXOOB4.js} +2 -2
  568. package/dist-versioned/chunks/{chunk.RIWKWSAL.js → chunk.VHCJ4ERI.js} +4 -4
  569. package/dist-versioned/chunks/{chunk.TXNCIVE5.js → chunk.XCCVIHHK.js} +16 -16
  570. package/dist-versioned/chunks/chunk.XCQC3F3H.js +3 -3
  571. package/dist-versioned/chunks/{chunk.3BVNSUFD.js → chunk.XMHLFXNP.js} +3 -3
  572. package/dist-versioned/chunks/{chunk.ZRJRFFVA.js → chunk.XPXWMXEZ.js} +6 -6
  573. package/dist-versioned/chunks/{chunk.5ZRRM6UH.js → chunk.XXOSIGGH.js} +10 -10
  574. package/dist-versioned/chunks/{chunk.ANYT6TR4.js → chunk.YNEDC56F.js} +5 -5
  575. package/dist-versioned/chunks/{chunk.EORXKFFT.js → chunk.YV6TLAQG.js} +3 -3
  576. package/dist-versioned/components/accordion/accordion.d.ts +1 -1
  577. package/dist-versioned/components/accordion/accordion.js +8 -8
  578. package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  579. package/dist-versioned/components/accordion-group/accordion-group.js +9 -9
  580. package/dist-versioned/components/animation/animation.d.ts +1 -1
  581. package/dist-versioned/components/animation/animation.js +2 -2
  582. package/dist-versioned/components/audio/audio.d.ts +1 -1
  583. package/dist-versioned/components/audio/audio.js +11 -11
  584. package/dist-versioned/components/badge/badge.d.ts +1 -1
  585. package/dist-versioned/components/badge/badge.js +2 -2
  586. package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
  587. package/dist-versioned/components/brandshape/brandshape.js +2 -2
  588. package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +3 -1
  589. package/dist-versioned/components/breadcrumb/breadcrumb.js +18 -4
  590. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +2 -1
  591. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.js +6 -4
  592. package/dist-versioned/components/button/button.d.ts +1 -1
  593. package/dist-versioned/components/button/button.js +5 -5
  594. package/dist-versioned/components/button-group/button-group.d.ts +1 -1
  595. package/dist-versioned/components/button-group/button-group.js +2 -2
  596. package/dist-versioned/components/carousel/carousel.d.ts +1 -1
  597. package/dist-versioned/components/carousel/carousel.js +9 -9
  598. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  599. package/dist-versioned/components/carousel-item/carousel-item.js +2 -2
  600. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  601. package/dist-versioned/components/checkbox/checkbox.js +6 -6
  602. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  603. package/dist-versioned/components/checkbox-group/checkbox-group.js +6 -6
  604. package/dist-versioned/components/combobox/combobox.d.ts +1 -1
  605. package/dist-versioned/components/combobox/combobox.js +10 -10
  606. package/dist-versioned/components/datepicker/datepicker.d.ts +7 -2
  607. package/dist-versioned/components/datepicker/datepicker.js +14 -5
  608. package/dist-versioned/components/dialog/dialog.d.ts +1 -1
  609. package/dist-versioned/components/dialog/dialog.js +10 -10
  610. package/dist-versioned/components/divider/divider.d.ts +1 -1
  611. package/dist-versioned/components/divider/divider.js +2 -2
  612. package/dist-versioned/components/drawer/drawer.d.ts +1 -1
  613. package/dist-versioned/components/drawer/drawer.js +10 -10
  614. package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
  615. package/dist-versioned/components/dropdown/dropdown.js +5 -5
  616. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  617. package/dist-versioned/components/expandable/expandable.js +8 -8
  618. package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
  619. package/dist-versioned/components/flipcard/flipcard.js +10 -10
  620. package/dist-versioned/components/header/header.d.ts +1 -1
  621. package/dist-versioned/components/header/header.js +2 -2
  622. package/dist-versioned/components/icon/icon.d.ts +1 -1
  623. package/dist-versioned/components/icon/icon.js +5 -5
  624. package/dist-versioned/components/icon/library.default.js +1 -1
  625. package/dist-versioned/components/icon/library.internal.js +1 -1
  626. package/dist-versioned/components/icon/library.js +3 -3
  627. package/dist-versioned/components/include/include.d.ts +1 -1
  628. package/dist-versioned/components/include/include.js +2 -2
  629. package/dist-versioned/components/input/input.d.ts +2 -1
  630. package/dist-versioned/components/input/input.js +8 -8
  631. package/dist-versioned/components/link/link.d.ts +1 -1
  632. package/dist-versioned/components/link/link.js +2 -2
  633. package/dist-versioned/components/loader/loader.d.ts +1 -1
  634. package/dist-versioned/components/loader/loader.js +4 -4
  635. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  636. package/dist-versioned/components/map-marker/map-marker.js +2 -2
  637. package/dist-versioned/components/menu/menu.d.ts +1 -1
  638. package/dist-versioned/components/menu/menu.js +4 -4
  639. package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
  640. package/dist-versioned/components/menu-item/menu-item.js +2 -2
  641. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  642. package/dist-versioned/components/navigation-item/navigation-item.js +9 -9
  643. package/dist-versioned/components/notification/notification.d.ts +1 -1
  644. package/dist-versioned/components/notification/notification.js +10 -10
  645. package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
  646. package/dist-versioned/components/optgroup/optgroup.js +5 -5
  647. package/dist-versioned/components/option/option.d.ts +1 -1
  648. package/dist-versioned/components/option/option.js +6 -6
  649. package/dist-versioned/components/popup/popup.d.ts +1 -1
  650. package/dist-versioned/components/popup/popup.js +2 -2
  651. package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
  652. package/dist-versioned/components/quickfact/quickfact.js +9 -9
  653. package/dist-versioned/components/radio/radio.d.ts +1 -1
  654. package/dist-versioned/components/radio/radio.js +2 -2
  655. package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
  656. package/dist-versioned/components/radio-button/radio-button.js +2 -2
  657. package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
  658. package/dist-versioned/components/radio-group/radio-group.js +4 -4
  659. package/dist-versioned/components/range/range.d.ts +2 -2
  660. package/dist-versioned/components/range/range.js +4 -4
  661. package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
  662. package/dist-versioned/components/range-tick/range-tick.js +4 -4
  663. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  664. package/dist-versioned/components/scrollable/scrollable.js +8 -8
  665. package/dist-versioned/components/select/select.d.ts +1 -1
  666. package/dist-versioned/components/select/select.js +10 -10
  667. package/dist-versioned/components/skeleton/skeleton.d.ts +11 -0
  668. package/dist-versioned/components/skeleton/skeleton.js +9 -0
  669. package/dist-versioned/components/spinner/spinner.d.ts +1 -1
  670. package/dist-versioned/components/spinner/spinner.js +4 -4
  671. package/dist-versioned/components/step/step.d.ts +1 -1
  672. package/dist-versioned/components/step/step.js +6 -6
  673. package/dist-versioned/components/step-group/step-group.d.ts +1 -1
  674. package/dist-versioned/components/step-group/step-group.js +2 -2
  675. package/dist-versioned/components/switch/switch.d.ts +1 -1
  676. package/dist-versioned/components/switch/switch.js +2 -2
  677. package/dist-versioned/components/tab/tab.d.ts +1 -1
  678. package/dist-versioned/components/tab/tab.js +4 -4
  679. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  680. package/dist-versioned/components/tab-group/tab-group.js +8 -8
  681. package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  682. package/dist-versioned/components/tab-panel/tab-panel.js +2 -2
  683. package/dist-versioned/components/tag/tag.d.ts +1 -1
  684. package/dist-versioned/components/tag/tag.js +8 -8
  685. package/dist-versioned/components/teaser/teaser.js +2 -2
  686. package/dist-versioned/components/teaser-media/teaser-media.js +2 -2
  687. package/dist-versioned/components/textarea/textarea.d.ts +1 -1
  688. package/dist-versioned/components/textarea/textarea.js +6 -6
  689. package/dist-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  690. package/dist-versioned/components/theme-listener/theme-listener.js +2 -2
  691. package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
  692. package/dist-versioned/components/tooltip/tooltip.js +9 -9
  693. package/dist-versioned/components/video/video.d.ts +1 -1
  694. package/dist-versioned/components/video/video.js +8 -8
  695. package/dist-versioned/custom-elements.json +977 -459
  696. package/dist-versioned/internal/form.js +3 -3
  697. package/dist-versioned/solid-components.css +4 -4
  698. package/dist-versioned/solid-components.d.ts +1 -0
  699. package/dist-versioned/solid-components.js +81 -77
  700. package/dist-versioned/translations/de.js +1 -1
  701. package/dist-versioned/translations/en.js +1 -1
  702. package/dist-versioned/utilities/autocomplete-config.js +3 -3
  703. package/dist-versioned/utilities/date.js +1 -1
  704. package/dist-versioned/utilities/icon-library.js +3 -3
  705. package/dist-versioned/utilities/localize.d.ts +1 -0
  706. package/dist-versioned/utilities/localize.js +2 -2
  707. package/dist-versioned/vscode.html-custom-data.json +161 -115
  708. package/dist-versioned/web-types.json +263 -261
  709. package/package.json +3 -3
  710. package/cdn/chunks/chunk.2PZOUYOE.js +0 -1
  711. package/cdn/chunks/chunk.3ZRUHOGI.js +0 -11
  712. package/cdn/chunks/chunk.5TUC644H.js +0 -2
  713. package/cdn/chunks/chunk.635MGLIZ.js +0 -1
  714. package/cdn/chunks/chunk.63IQ23S4.js +0 -5
  715. package/cdn/chunks/chunk.6GHBG4PY.js +0 -2
  716. package/cdn/chunks/chunk.6Q6FRPBQ.js +0 -2
  717. package/cdn/chunks/chunk.6ZXO6XV7.js +0 -2
  718. package/cdn/chunks/chunk.CIAY7P3F.js +0 -1
  719. package/cdn/chunks/chunk.CINQCAVV.js +0 -2
  720. package/cdn/chunks/chunk.EGKVLCBO.js +0 -2
  721. package/cdn/chunks/chunk.J4LE3LKP.js +0 -2
  722. package/cdn/chunks/chunk.LVDWFX3X.js +0 -2
  723. package/cdn/chunks/chunk.NMHY6H5N.js +0 -12
  724. package/cdn/chunks/chunk.PES7MZKA.js +0 -26
  725. package/cdn/chunks/chunk.RXQYBUHG.js +0 -2
  726. package/cdn/chunks/chunk.S4EKTV5A.js +0 -2
  727. package/cdn/chunks/chunk.VGYX7TTE.js +0 -2
  728. package/cdn/chunks/chunk.WUWSF33N.js +0 -2
  729. package/cdn/chunks/chunk.YUPZE4GS.js +0 -2
  730. package/cdn/chunks/chunk.ZATYZ65D.js +0 -2
  731. package/cdn-versioned/chunks/chunk.2PZOUYOE.js +0 -1
  732. package/cdn-versioned/chunks/chunk.3ZRUHOGI.js +0 -11
  733. package/cdn-versioned/chunks/chunk.5G7ZOEWT.js +0 -12
  734. package/cdn-versioned/chunks/chunk.5PA35WD2.js +0 -2
  735. package/cdn-versioned/chunks/chunk.5TUC644H.js +0 -2
  736. package/cdn-versioned/chunks/chunk.5ZPLQS6G.js +0 -2
  737. package/cdn-versioned/chunks/chunk.635MGLIZ.js +0 -1
  738. package/cdn-versioned/chunks/chunk.63IQ23S4.js +0 -5
  739. package/cdn-versioned/chunks/chunk.6GHBG4PY.js +0 -2
  740. package/cdn-versioned/chunks/chunk.6Q6FRPBQ.js +0 -2
  741. package/cdn-versioned/chunks/chunk.6XTQ6373.js +0 -2
  742. package/cdn-versioned/chunks/chunk.6ZXO6XV7.js +0 -2
  743. package/cdn-versioned/chunks/chunk.AZC2MB6N.js +0 -12
  744. package/cdn-versioned/chunks/chunk.CIAY7P3F.js +0 -1
  745. package/cdn-versioned/chunks/chunk.CINQCAVV.js +0 -2
  746. package/cdn-versioned/chunks/chunk.EGKVLCBO.js +0 -2
  747. package/cdn-versioned/chunks/chunk.EIG3V7LV.js +0 -2
  748. package/cdn-versioned/chunks/chunk.FYS76H7M.js +0 -2
  749. package/cdn-versioned/chunks/chunk.GZN62V5M.js +0 -2
  750. package/cdn-versioned/chunks/chunk.H7N4XIFF.js +0 -2
  751. package/cdn-versioned/chunks/chunk.HWXFA3JT.js +0 -2
  752. package/cdn-versioned/chunks/chunk.J4LE3LKP.js +0 -2
  753. package/cdn-versioned/chunks/chunk.JGU23CP4.js +0 -6
  754. package/cdn-versioned/chunks/chunk.LVDWFX3X.js +0 -2
  755. package/cdn-versioned/chunks/chunk.MPLKGS34.js +0 -2
  756. package/cdn-versioned/chunks/chunk.MQ6HTONQ.js +0 -2
  757. package/cdn-versioned/chunks/chunk.MWU6TZ4N.js +0 -2
  758. package/cdn-versioned/chunks/chunk.NMHY6H5N.js +0 -12
  759. package/cdn-versioned/chunks/chunk.P3QDLITO.js +0 -2
  760. package/cdn-versioned/chunks/chunk.PES7MZKA.js +0 -26
  761. package/cdn-versioned/chunks/chunk.Q36WGVZ7.js +0 -12
  762. package/cdn-versioned/chunks/chunk.RXQYBUHG.js +0 -2
  763. package/cdn-versioned/chunks/chunk.S4EKTV5A.js +0 -2
  764. package/cdn-versioned/chunks/chunk.S5SNELX3.js +0 -2
  765. package/cdn-versioned/chunks/chunk.UVDP4CO5.js +0 -2
  766. package/cdn-versioned/chunks/chunk.VA5ZPE34.js +0 -2
  767. package/cdn-versioned/chunks/chunk.VGYX7TTE.js +0 -2
  768. package/cdn-versioned/chunks/chunk.VHHOKYE5.js +0 -2
  769. package/cdn-versioned/chunks/chunk.WUWSF33N.js +0 -2
  770. package/cdn-versioned/chunks/chunk.XG6CO665.js +0 -2
  771. package/cdn-versioned/chunks/chunk.XHDZVSCR.js +0 -2
  772. package/cdn-versioned/chunks/chunk.YL7YHMIF.js +0 -4
  773. package/cdn-versioned/chunks/chunk.YUPZE4GS.js +0 -2
  774. package/cdn-versioned/chunks/chunk.YXMHHML2.js +0 -2
  775. package/cdn-versioned/chunks/chunk.ZATYZ65D.js +0 -2
  776. package/dist/chunks/chunk.RY4KWEME.js +0 -93
  777. package/dist-versioned/chunks/chunk.AAY5JRCW.js +0 -70
  778. package/dist-versioned/chunks/chunk.RY4KWEME.js +0 -93
  779. /package/cdn/chunks/{chunk.YEDQWNIV.js → chunk.YFQFOIEM.js} +0 -0
  780. /package/cdn-versioned/chunks/{chunk.YEDQWNIV.js → chunk.YFQFOIEM.js} +0 -0
@@ -0,0 +1,2 @@
1
+ import{a as d}from"./chunk.VYBQ3X2B.js";import{a as b}from"./chunk.N3WG3NAL.js";import{b as m}from"./chunk.JS2HQ2N4.js";import{a as p}from"./chunk.PV6UYBMY.js";import{a as r}from"./chunk.YFQFOIEM.js";import{a as n}from"./chunk.NYKJXI3Q.js";import{a as h,b as l,c,d as a,h as o}from"./chunk.77FHAJLL.js";import{b as u,e as s}from"./chunk.763RLJEK.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends o{constructor(){super(...arguments);this.formControlController=new m(this,{value:e=>e.checked?e.value||"on":void 0,defaultValue:e=>e.defaultChecked,setValue:(e,f)=>e.checked=f});this.title="";this.name="";this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.checked=!1;this.indeterminate=!1;this.defaultChecked=!1;this.form="";this.required=!1;this.showInvalidStyle=!1}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleClick(e){if(this.visuallyDisabled){e.preventDefault(),e.stopPropagation();return}this.checked=!this.checked,this.indeterminate=!1,this.emit("sd-change")}handleBlur(){this.emit("sd-blur")}handleInput(){this.emit("sd-input")}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e),this.invalidMessage.textContent=e.target.validationMessage}handleFocus(){this.emit("sd-focus")}handleDisabledChange(){let e=this.disabled||this.visuallyDisabled;this.setAttribute("aria-disabled",e?"true":"false"),this.formControlController.setValidity(e)}handleStateChange(){this.input.checked=this.checked,this.input.indeterminate=this.indeterminate,this.formControlController.updateValidity()}click(){this.input.click()}focus(e){this.input.focus(e)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(e){this.input.setCustomValidity(e),this.formControlController.updateValidity()}render(){let e=this.disabled&&this.indeterminate?"disabledIndeterminate":this.disabled&&this.checked?"disabledChecked":this.disabled?"disabled":this.visuallyDisabled?"visuallyDisabled":this.showInvalidStyle&&this.indeterminate?"invalidIndeterminate":this.showInvalidStyle?"invalid":this.checked||this.indeterminate?"filled":"default";return s`<label part="base" class="${r("sd-6-0-0-next-20-checkbox group flex items-start text-base leading-normal text-black cursor-pointer",(this.disabled||this.visuallyDisabled)&&"hover:cursor-not-allowed",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}"><input class="peer absolute opacity-0 p-0 m-0 pointer-events-none" type="checkbox" title="${this.title}" name="${this.name}" value="${p(this.value)}" .indeterminate="${d(this.indeterminate)}" .checked="${d(this.checked)}" .disabled="${this.disabled}" .required="${this.required}" aria-checked="${this.indeterminate?"mixed":this.checked}" aria-describedby="invalid-message" aria-invalid="${this.showInvalidStyle}" aria-disabled="${this.disabled||this.visuallyDisabled?"true":"false"}" @click="${this.handleClick}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @blur="${this.handleBlur}" @focus="${this.handleFocus}"> <span id="control" part="control ${this.checked?" control--checked":"control--unchecked"} ${this.indeterminate?" control--indeterminate":""}" class="${r("relative flex flex-shrink-0 items-center justify-center border sd-6-0-0-next-20-checkbox-border-width rounded-sm h-4 w-4","transition-colors ease-in-out duration-medium group-hover:duration-fast","peer-focus-visible:outline peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2 peer-focus-visible:outline-primary",{sm:"mt-[2px]",md:"mt-[3px]",lg:"mt-[3px]"}[this.size],{disabledIndeterminate:"border-neutral-500 bg-neutral-500",disabledChecked:"border-neutral-500 bg-neutral-500",disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",invalidIndeterminate:"border-error bg-error group-hover:bg-error-400",invalid:"border-error group-hover:bg-neutral-200",filled:"border-accent hover:border-accent-550 group-hover:border-accent-550 bg-accent group-hover:bg-accent-550",default:"form-control-color-border hover:bg-neutral-200 group-hover:bg-neutral-200 bg-white"}[e])}"><div class="${r("absolute h-3 transition-[width] right-0 duration-medium",this.checked||this.indeterminate?"w-0":"w-3")}"><div class="${r("w-full h-full transition-colors duration-medium ease-in-out group-hover:duration-fast",{disabledIndeterminate:"bg-neutral-500",disabledChecked:" bg-neutral-500",disabled:"",visuallyDisabled:"",invalidIndeterminate:" bg-error group-hover:bg-error-400",invalid:"group-hover:bg-neutral-200",filled:"bg-accent group-hover:bg-accent-550",default:"hover:bg-neutral-200 group-hover:bg-neutral-200 bg-white"}[e])}"></div></div>${this.checked?s`<sd-6-0-0-next-20-icon part="checked-icon" class="text-white w-3 h-3" library="sd-status-assets" name="status-check"></sd-6-0-0-next-20-icon>`:""} ${!this.checked&&this.indeterminate?s`<sd-6-0-0-next-20-icon part="indeterminate-icon" class="text-white w-3 h-3" library="sd-status-assets" name="status-minus"></sd-6-0-0-next-20-icon>`:""} </span><span part="label" id="label" class="${r("select-none inline-block ml-2",this.disabled||this.visuallyDisabled?"text-neutral-500":this.showInvalidStyle?"text-error":"text-black")}"><slot></slot></span></label> ${this.formControlController.renderInvalidMessage()}`}};t.styles=[...o.styles,u`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
+ :host{display:block;width:-moz-max-content;width:max-content}:host(:focus-visible){outline-style:var(--tw-outline-style);outline-width:0}:host([required]) #label::after{content:' *'}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}`],i([a('input[type="checkbox"]')],t.prototype,"input",2),i([a("#invalid-message")],t.prototype,"invalidMessage",2),i([l({type:String,reflect:!0})],t.prototype,"title",2),i([l({type:String,reflect:!0})],t.prototype,"name",2),i([l()],t.prototype,"value",2),i([l({type:String,reflect:!0})],t.prototype,"size",2),i([l({type:Boolean,reflect:!0})],t.prototype,"disabled",2),i([l({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),i([l({type:Boolean,reflect:!0})],t.prototype,"checked",2),i([l({type:Boolean,reflect:!0})],t.prototype,"indeterminate",2),i([b("checked")],t.prototype,"defaultChecked",2),i([l({type:String,reflect:!0})],t.prototype,"form",2),i([l({type:Boolean,reflect:!0})],t.prototype,"required",2),i([c()],t.prototype,"showInvalidStyle",2),i([n(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),i([n(["checked","indeterminate"],{waitUntilFirstUpdate:!0})],t.prototype,"handleStateChange",1),t=i([h("sd-6-0-0-next-20-checkbox")],t);export{t as a};
@@ -0,0 +1,2 @@
1
+ import{a as s}from"./chunk.PV6UYBMY.js";import{a as o,b as l}from"./chunk.PJ7JCMQF.js";import{a as b}from"./chunk.IQPMMUES.js";import{a as n}from"./chunk.YFQFOIEM.js";import{a as u,b as i,d as h,h as a}from"./chunk.77FHAJLL.js";import{b as c}from"./chunk.763RLJEK.js";import{e as r}from"./chunk.6EV4YU6C.js";var e=class extends a{constructor(){super(...arguments);this.localize=new b(this);this.size="lg";this.selected=!1;this.toggleable=!1;this.removable=!1;this.disabled=!1;this.href=""}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleRemove(){this.emit("sd-remove")}isLink(){return!!this.href}click(){this.tag.click()}focus(t){this.tag.focus(t)}blur(){this.tag.blur()}async hide(){this.emit("sd-hide"),this.style.opacity="0",await new Promise(t=>setTimeout(t,this.token("--sd-duration-fast",150))),this.hidden=!0,this.emit("sd-after-hide")}render(){let t=this.isLink(),d=t?o`a`:this.removable?o`div`:o`button`;return l`<${d} part="base" type="${s(t?void 0:"button")}" href="${s(t?this.href:void 0)}" rel="${s(t&&this.target?"noreferrer noopener":void 0)}" target="${s(t?this.target:void 0)}" download="${s(t?this.download:void 0)}" ?disabled="${s(t?void 0:this.disabled)}" aria-labelledby="content" aria-disabled="${this.disabled?"true":"false"}" aria-pressed="${s(this.toggleable?this.selected:void 0)}" tabindex="${this.disabled||this.removable?"-1":"0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" class="${n("inline-flex border box-border sd-6-0-0-next-20-tag-border-radius items-center leading-none whitespace-nowrap transition-colors duration-fast ease-in-out focus-visible:focus-outline",{lg:"h-8 sd-6-0-0-next-20-tag-font-weight sd-6-0-0-next-20-tag--size-lg-font-size gap-2",sm:"h-6 sd-6-0-0-next-20-tag-font-weight sd-6-0-0-next-20-tag--size-sm-font-size gap-1"}[this.size],{lg:this.removable?"pl-4 pr-3 py-2":"px-4 py-2",sm:this.removable?"pl-3 pr-2 py-2":"px-3 py-[5px]"}[this.size],this.selected?"sd-6-0-0-next-20-tag--selected-border-width sd-6-0-0-next-20-tag--selected--default-color-background sd-6-0-0-next-20-tag--selected--default-color-border sd-6-0-0-next-20-tag--selected--default-color-text hover:sd-6-0-0-next-20-tag--selected--hover-color-background hover:sd-6-0-0-next-20-tag--selected--hover-color-border hover:sd-6-0-0-next-20-tag--selected--hover-color-text disabled:bg-neutral-500 disabled:sd-6-0-0-next-20-tag--disabled-color-border":n("sd-6-0-0-next-20-tag--default-color-border sd-6-0-0-next-20-tag--default-color-text disabled:sd-6-0-0-next-20-tag--disabled-color-border disabled:text-neutral-500",this.removable?"sd-6-0-0-next-20-tag--default-color-background has-[button:hover]:border-primary-500 has-[button:hover]:text-primary-500":"sd-6-0-0-next-20-tag--default-color-background hover:border-primary-500 hover:text-primary-500 hover:sd-6-0-0-next-20-tag--default--hover-color-background"),this.disabled&&!t&&"cursor-not-allowed")}"><slot id="content" part="content"></slot>${this.removable&&!t?l`<button class="sd-interactive flex items-center" type="button" @click="${this.handleRemove}"><slot part="removable-indicator" name="removable-indicator"><sd-6-0-0-next-20-icon library="_internal" name="close" label="${this.localize.term("remove")}"></sd-6-0-0-next-20-icon></slot></button>`:""}</${d}>`}};e.styles=[...a.styles,c`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
+ :host{display:inline-block;transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,150ms));--tw-duration:var(--sd-duration-fast, 150ms);transition-duration:var(--sd-duration-fast,150ms);--tw-ease:var(--ease-in-out, cubic-bezier(0.4, 0, 0.2, 1));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}:host([size=lg])::part(removable-indicator){font-size:var(--sd-text-base);line-height:var(--tw-leading,var(--text-base--line-height,calc(1.5 / 1)))}:host([size=sm])::part(removable-indicator){font-size:.75rem}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}`],r([h("a, button, div")],e.prototype,"tag",2),r([i({type:String,reflect:!0})],e.prototype,"size",2),r([i({type:Boolean,reflect:!0})],e.prototype,"selected",2),r([i({type:Boolean,reflect:!0})],e.prototype,"toggleable",2),r([i({type:Boolean,reflect:!0})],e.prototype,"removable",2),r([i({type:Boolean,reflect:!0})],e.prototype,"disabled",2),r([i({type:String,reflect:!0})],e.prototype,"href",2),r([i({type:String,reflect:!0})],e.prototype,"target",2),r([i({reflect:!0})],e.prototype,"download",2),e=r([u("sd-6-0-0-next-20-tag")],e);export{e as a};
@@ -0,0 +1,2 @@
1
+ import{a as w}from"./chunk.IQPMMUES.js";import{a as p,d as f,h}from"./chunk.77FHAJLL.js";import{b as u,e as c}from"./chunk.763RLJEK.js";import{e as m}from"./chunk.6EV4YU6C.js";var a=class extends h{constructor(){super(...arguments);this.localize=new w(this)}connectedCallback(){super.connectedCallback(),this.setAttribute("role","menu")}handleClick(t){let e=["menuitem","menuitemcheckbox"],r=t.composedPath(),s=r.find(i=>{var l;return e.includes(((l=i==null?void 0:i.getAttribute)==null?void 0:l.call(i,"role"))||"")});if(!s||r.find(i=>{var l;return((l=i==null?void 0:i.getAttribute)==null?void 0:l.call(i,"role"))==="menu"})!==this)return;let o=s;o.type==="checkbox"&&(o.checked=!o.checked),this.emit("sd-select",{detail:{item:o}})}handleKeyDown(t){if(t.key==="Enter"||t.key===" "){let e=this.getCurrentItem();t.preventDefault(),t.stopPropagation(),e==null||e.click()}else if(["ArrowDown","ArrowUp","Home","End"].includes(t.key)){let e=this.getAllItems(),r=this.getCurrentItem(),s=r?e.indexOf(r):0;if(e.length>0){t.preventDefault(),t.stopPropagation();let d=(n,o)=>{let i=n;for(let l of e)if(i=(i+o+e.length)%e.length,!e[i].disabled)return i;return n};if(t.key==="ArrowDown")s=d(s,1);else if(t.key==="ArrowUp")s=d(s,-1);else if(t.key==="Home")s=e.findIndex(n=>!n.disabled),s===-1&&(s=0);else if(t.key==="End"){s=e.length-1;for(let n=e.length-1;n>=0;n--)if(!e[n].disabled){s=n;break}}this.setCurrentItem(e[s]),e[s].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-6-0-0-next-20-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(r=>{r.setAttribute("tabindex",r===t?"0":"-1")})}render(){return c`<slot @slotchange="${this.handleSlotChange}" @click="${this.handleClick}" @keydown="${this.handleKeyDown}" @mousedown="${this.handleMouseDown}"></slot>`}};a.styles=[...h.styles,u`/*! tailwindcss v4.1.17 | 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);padding-inline:var(--sd-spacing-2);padding-block:var(--sd-spacing-3);--tw-shadow:var(--sd-shadow)!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-6-0-0-next-20-divider){padding-block:var(--sd-spacing-3)}@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}`],m([f("slot")],a.prototype,"defaultSlot",2),a=m([p("sd-6-0-0-next-20-menu")],a);export{a};
@@ -0,0 +1,11 @@
1
+ import{a as s}from"./chunk.PV6UYBMY.js";import{a as n,b as l}from"./chunk.PJ7JCMQF.js";import{b as h}from"./chunk.MP6XEXRW.js";import{a as r}from"./chunk.YFQFOIEM.js";import{a as m,b as a,h as o}from"./chunk.77FHAJLL.js";import{b as v}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends o{constructor(){super(...arguments);this.variant="main";this.state="default";this.animated=!1;this.notInteractive=!1;this.href="";this.label="";this.marker={cluster:`
2
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50">
3
+ <circle cx="25" cy="25" opacity="1" r="20" />
4
+ </svg>`,main:`
5
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 75">
6
+ <path d="M51 49A29 29 0 0 0 30 0 29 29 0 0 0 9 49l21 22 21-22Z"/>
7
+ </svg> `,place:`
8
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 75">
9
+ <path fill-rule="evenodd" d="M51 49A29 29 0 0 0 30 0 29 29 0 0 0 9 49l21 22 21-22Z" clip-rule="evenodd" />
10
+ </svg>`}}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}isLink(){return!!this.href}render(){let i=this.isLink(),c=this.notInteractive?n`div`:i?n`a`:n`button`,d=h(this.marker[this.variant]),p=`url("data:image/svg+xml;utf8,${encodeURIComponent(this.marker[this.variant]).replace(/#/g,"%23")}")`;return l`<${c} part="base" class="${r("relative flex justify-center",!this.notInteractive&&"group focus-visible:focus-outline")}" href="${s(i?this.href:void 0)}" target="${s(i?this.target:void 0)}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" role="${s(this.notInteractive||i?void 0:"button")}" aria-label="${s(!this.notInteractive&&this.label?this.label:void 0)}" aria-labelledby="${s(!this.notInteractive&&!this.label?"content":void 0)}"><div part="marker" class="${r("relative inline-flex",this.animated&&(this.variant==="main"||this.variant==="place")&&"animate-bounce-once",this.variant==="cluster"&&this.state==="hover"&&"scale-110 sd-6-0-0-next-20-map-marker-cluster--hovered-color-icon-fill",this.variant==="cluster"&&!this.notInteractive&&"transition-transform duration-fast ease-in-out hover:scale-110",{cluster:"sd-6-0-0-next-20-map-marker-cluster-color-icon-fill",main:"fill-accent",place:"fill-white"}[this.variant])}"><div id="motion-wrapper" part="motion-wrapper" class="absolute inset-0 overflow-hidden pointer-events-none" style="mask-image:${p};-webkit-mask-image:${p}"><div class="${r("absolute inset-0 transition-transform ease-in-out duration-fast translate-y-full group-hover:translate-y-0 group-active:translate-y-0",["hover","active"].includes(this.state)&&"!translate-y-0")}"><div class="${r("min-w-full min-h-full skew-y-[-11deg]",{cluster:"",main:this.state==="active"?"bg-accent-700":"bg-accent-550 group-active:bg-accent-700",place:this.state==="active"?"bg-primary-200":"bg-primary-100 group-active:bg-primary-200"}[this.variant])}"></div></div>${this.variant==="main"?l`<div id="marker-circle" class="absolute rounded-full bg-white"></div>`:""}</div>${d} ${this.variant==="cluster"?l`<div id="cluster-border" class="${r("absolute inset-0 bg-primary opacity-30 rounded-full",this.state==="hover"&&"bg-primary-500")}"></div>`:""}</div><div id="content" part="content" class="${r("absolute self-center pointer-events-none",this.variant==="cluster"&&"font-bold text-white")}"><slot></slot></div></${c}>`}};t.styles=[...o.styles,v`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
11
+ :host{display:block}#motion-wrapper{mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-position:center;-webkit-mask-position:center;mask-size:contain;-webkit-mask-size:contain}:host([variant=cluster]) [part=base],svg{width:calc(var(--sd-spacing-12,3rem) * var(--map-marker-scaling,1))}:host([variant=cluster]) [part=base]{height:calc(var(--sd-spacing-12,3rem) * var(--map-marker-scaling,1))}:host(:not([variant=cluster])) [part=base]{height:calc(var(--sd-spacing-16,4rem) * var(--map-marker-scaling,1))}:host([variant=cluster]) [part=content]{font-size:calc(var(--sd-font-size-sm,.875rem) * var(--map-marker-scaling,1))}:host([variant=place]) [part=content]{margin-top:calc(var(--sd-spacing-2) * -1);font-size:calc(var(--sd-font-size-3xl,2rem) * var(--map-marker-scaling,1))}:host([variant=cluster]) [part=motion-wrapper]>div>div{background-color:rgba(var(--sd-map-marker-cluster--hovered-color-icon-fill))}:host([variant=main]) [part=marker],:host([variant=place]) [part=marker]{--tw-drop-shadow-size:drop-shadow(var(--sd-drop-shadow));--tw-drop-shadow:drop-shadow(var(--sd-drop-shadow));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}:host([variant=main]) #marker-circle{width:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1));height:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1));left:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1));right:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1));top:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1))}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}`],e([a({type:String,reflect:!0})],t.prototype,"variant",2),e([a({type:String,reflect:!0})],t.prototype,"state",2),e([a({type:Boolean,reflect:!0})],t.prototype,"animated",2),e([a({type:Boolean,reflect:!0,attribute:"not-interactive"})],t.prototype,"notInteractive",2),e([a({type:String,reflect:!0})],t.prototype,"href",2),e([a({type:String,reflect:!0})],t.prototype,"target",2),e([a({reflect:!0})],t.prototype,"label",2),t=e([m("sd-6-0-0-next-20-map-marker")],t);export{t as a};
@@ -0,0 +1,12 @@
1
+ import{a as P}from"./chunk.N3WG3NAL.js";import{a as H}from"./chunk.X2GM34WQ.js";import{a as L,d as R,e as K,f as w}from"./chunk.W7A3TU2Z.js";import{c as A}from"./chunk.3L472FD4.js";import{b as z}from"./chunk.JS2HQ2N4.js";import{a as M}from"./chunk.PV6UYBMY.js";import{a as F}from"./chunk.CGQ2BPPZ.js";import{a as E,c as C}from"./chunk.B2NUKX6G.js";import{a as x}from"./chunk.KLRPP4NQ.js";import{a as $}from"./chunk.MP6XEXRW.js";import{a as V}from"./chunk.IQPMMUES.js";import{a as d}from"./chunk.YFQFOIEM.js";import{a as g}from"./chunk.NYKJXI3Q.js";import{a as k,b as r,c as u,d as c,h as T}from"./chunk.77FHAJLL.js";import{b as D,e as p}from"./chunk.763RLJEK.js";import{b as I,e as S}from"./chunk.W4QBFD6E.js";import{e as l}from"./chunk.6EV4YU6C.js";var s=class extends T{constructor(){super(...arguments);this.formControlController=new z(this,{assumeInteractionOn:["sd-blur","sd-6-0-0-next-20-input"]});this.hasSlotController=new F(this,"help-text","label");this.localize=new V(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.type="text";this.currentPlacement=this.placement;this.getOption=H;this.multiple=!1;this.useTags=!0;this.maxOptionsVisible=3;this.styleOnValid=!1;this.filter=(t,e)=>{let i=w(t.value),a=w(t.getTextLabel()),n=w(e);return i.includes(n)||a.includes(n)};this.getTag=t=>p`<sd-6-0-0-next-20-tag ?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-6-0-0-next-20-tag>`;this.handleDocumentFocusIn=t=>{let e=t.composedPath();this&&!e.includes(this)&&this.hide()};this.handleDocumentKeyDown=t=>{let i=t.composedPath().some(o=>o instanceof HTMLButtonElement&&o.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(t.key==="Enter"){let o=this.getCurrentOption(),m=t.metaKey||t.ctrlKey||t.shiftKey||t.altKey;if(!this.open&&!m){setTimeout(()=>{t.defaultPrevented||this.formControlController.submit()});return}if(!this.open||o!=null&&o.disabled)return;if(o&&!o.disabled){let h=this.value;this.multiple?(this.toggleOptionSelection(o),this.lastOption=o,this.setOrderedSelectedOptions(o),this.updateComplete.then(()=>{this.selectionChanged()})):(this.setOrderedSelectedOptions(o),this.setSelectedOptions(o)),this.updateComplete.then(()=>{this.displayInput.focus({preventScroll:!0}),this.value!==h&&(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"?$(a):a}`};return this.filteredOptions.map(e=>e.tagName.toLowerCase()==="sd-6-0-0-next-20-optgroup"?(Array.from(e.children).forEach(i=>{i.tagName.toLowerCase()==="sd-6-0-0-next-20-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}</div>`}return[p``]}):[p`<sd-6-0-0-next-20-tag ?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-6-0-0-next-20-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(n=>n instanceof HTMLSlotElement&&n.name==="removable-indicator");if(this.disabled||i)return;(this.open?this.hide():this.show()).then(()=>{setTimeout(()=>this.displayInput.focus({preventScroll:!0}))})}handleComboboxKeyDown(t){t.key!=="Tab"&&this.handleDocumentKeyDown(t)}handleClearClick(t){t.stopPropagation(),this.clearCombobox()}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-6-0-0-next-20-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),n=Math.max(0,a);if(t){let o=a+1;n=o>e.length-1?0:o}else{let o=a-1;n=o<0?e.length-1:o}this.setCurrentOption(e[n],new KeyboardEvent("keydown")),A(this.getCurrentOption(),this.listbox,"vertical","auto")}getAllFilteredOptions(){return[...this.filteredWrapper.querySelectorAll("sd-6-0-0-next-20-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(n=>n.value&&t.value?n.value===t.value:n.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(n=>n?this.isOptionSelected(n):!1);this.multiple?(!t&&this.selectedOptions.length>0?this.value=[...this.value,...this.selectedOptions.map(n=>n.value||n.getTextLabel())]:this.value=this.selectedOptions.map(n=>(n==null?void 0:n.value)||(n==null?void 0:n.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 y,b,f;let a=i.cloneNode(!0);if(a.current=a.value===((y=this.lastOption)==null?void 0:y.value),a.selected=i.selected,a.checkbox=i.checkbox,a.size=i.size,!(((b=i.parentElement)==null?void 0:b.tagName.toLowerCase())==="sd-6-0-0-next-20-optgroup"))return a;let o=i.parentElement,m=(f=o.querySelector('[slot="label"]'))==null?void 0:f.cloneNode(!0),h=e.find(O=>O.id===o.id);if(h){h==null||h.appendChild(a),m&&(h==null||h.appendChild(m));return}let v=o.cloneNode();return v.appendChild(a),m&&v.appendChild(m),e.push(v),v}).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-6-0-0-next-20-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 S(this),this.listbox.hidden=!1,this.popup.active=!0;let{keyframes:i,options:a}=C(this,"combobox.show",{dir:this.localize.dir()});await I(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 S(this);let{keyframes:t,options:e}=C(this,"combobox.hide",{dir:this.localize.dir()});await I(this.popup.popup,t,e),this.listbox.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}async show(){if(this.open||this.disabled||this.visuallyDisabled){this.open=!1;return}return this.open=!0,Promise.race([x(this,"sd-after-show"),x(this,"sd-error")])}async hide(){if(!this.open||this.disabled){this.open=!1;return}return this.displayInputValue="",this.open=!1,x(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 R(L(this.defaultSlot)).flat()}getSlottedOptGroups(){return K(L(this.defaultSlot))}async handleDefaultSlotChange(){if(!customElements.get("sd-6-0-0-next-20-option")){customElements.whenDefined("sd-6-0-0-next-20-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,n)=>{this.multiple&&(a.checkbox=!0),a.id=a.id||`sd-6-0-0-next-20-combobox-option-${n}`}),e.forEach((a,n)=>{a.id=a.id||`sd-6-0-0-next-20-combobox-optgroup-${n}`}),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,n=this.helpText?!0:!!i,o=this.clearable&&!this.disabled&&!this.visuallyDisabled,m=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",h=this.disabled||this.visuallyDisabled?"cursor-not-allowed":"cursor-pointer",v=this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary",y={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],b={sm:"mr-1",md:"mr-2",lg:"mr-2"}[this.size],f={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size];return p`<div part="form-control" class="${d("relative text-left",h,this.size==="sm"?"text-sm":"text-base",this.open&&"z-50")}"><label id="label" part="form-control-label" class="${a&&"inline-block mb-2 form-control-color-text"}" aria-hidden="${!a}" @click="${this.handleLabelClick}"><slot name="label">${this.label}</slot></label> <span aria-live="polite" class="sr-only">${this.deletedTagLabel}</span><div part="form-control-input" class="relative w-full bg-white text-black"><div part="border" class="${d("absolute top-0 w-full h-full pointer-events-none border rounded-default 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"}[m],this.open&&(this.currentPlacement==="bottom"?"rounded-bl-none rounded-br-none":"rounded-tl-none rounded-tr-none"))}"></div><sd-6-0-0-next-20-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 rounded-default transition-colors hover:duration-fast ease-in-out",this.visuallyDisabled||this.disabled?"hover:bg-transparent":"hover:bg-neutral-200",this.open&&"shadow transition-shadow duration-medium ease-in-out",["invalid","activeInvalid"].includes(m)&&"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])}" slot="anchor" @keydown="${this.handleComboboxKeyDown}" @mousedown="${this.handleComboboxMouseDown}">${t.left?p`<slot part="left" name="left" class="${d("inline-flex",b,v,f)}"></slot>`:""} ${this.multiple&&this.useTags&&this.tags.length>0?p`<div part="tags" class="${d("flex items-center gap-1",b)}">${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",h,this.selectedTextLabel&&!this.multiple?"placeholder:form-control-color-text":"placeholder:text-neutral-700")}" type="text" placeholder="${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 aria-live="polite" id="control-value" class="absolute top-0 left-0 opacity-0 -z-10">${this.selectedOptions.map(O=>O==null?void 0:O.getTextLabel()).join(", ")}</div><input class="${d("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10",h)}" 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}"> ${o?p`<button part="clear-button" class="${d("flex justify-center",y,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-6-0-0-next-20-icon class="${d("text-neutral-700",f)}" name="closing-round" library="_internal"></sd-6-0-0-next-20-icon></slot></button>`:""} ${this.showInvalidStyle?p`<sd-6-0-0-next-20-icon part="invalid-icon" class="${d(y,f,"text-error")}" library="_internal" name="risk"></sd-6-0-0-next-20-icon>`:""} ${this.styleOnValid&&this.showValidStyle?p`<sd-6-0-0-next-20-icon part="valid-icon" class="${d("flex-shrink-0 text-success",y,f)}" library="_internal" name="confirm-circle"></sd-6-0-0-next-20-icon>`:""}<slot name="right" part="right" class="${d("inline-flex ml-2 leading-[0]",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary",f)}">${this.type!=="search"?p`<sd-6-0-0-next-20-icon class="${d("transition-transform duration-medium ease-in-out",this.open?"rotate-180":"rotate-0")}" name="chevron-down" part="chevron" library="_internal" color="currentColor" label="${this.localize.term("open")}"></sd-6-0-0-next-20-icon>`:""}</slot>${this.type==="search"?p`<button class="${d("flex items-center sd-interactive",y)}" type="button"><sd-6-0-0-next-20-icon class="${d(v,f)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-6-0-0-next-20-icon></button>`:p`<button class="sd-interactive combobox-button absolute top-2" @keydown="${this.handleComboboxMouseDown}" type="button"><span class="sr-only">${this.localize.term("open")}</span></button>`}</div><div id="listbox" role="${M(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 transition-shadow duration-medium ease-in-out",this.currentPlacement==="bottom"?"border-r-2 border-b-2 border-l-2 rounded-br-default rounded-bl-default":"border-r-2 border-t-2 border-l-2 rounded-tr-default rounded-tl-default")}" 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-6-0-0-next-20-popup></div><div part="form-control-help-text" id="help-text" class="text-sm text-neutral-700 mt-1" aria-hidden="${!n}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage()}`}};s.styles=[...T.styles,D`/*! tailwindcss v4.1.17 | 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))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{color:rgba(var(--sd-color-text-neutral-500))}:host([visually-disabled]) input{caret-color:transparent}:host([size=sm]) .combobox-button{right:var(--sd-spacing-4);height:var(--sd-spacing-4);width:var(--sd-spacing-4)}:host([size=md]) .combobox-button{right:.85rem;height:var(--sd-spacing-6);width:var(--sd-spacing-6)}:host([size=lg]) .combobox-button{right:var(--sd-spacing-3);height:var(--sd-spacing-8);width:var(--sd-spacing-8)}[part=listbox]{max-height:var(--auto-size-available-height,auto)}sd-6-0-0-next-20-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-6-0-0-next-20-tag::part(base){border-radius:var(--sd-radius);padding-inline:var(--sd-spacing-1)}sd-6-0-0-next-20-tag::part(content){display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:var(--tag-max-width,15ch)}sd-6-0-0-next-20-tag[size=lg]::part(base){padding-inline:var(--sd-spacing-2)}sd-6-0-0-next-20-tag[disabled=false]::part(base):hover{background-color:rgba(var(--sd-color-background-primary-100))}[part=filtered-listbox] sd-6-0-0-next-20-optgroup:first-of-type{--display-divider:none}mark{background-color:transparent;--tw-font-weight:var(--sd-font-weight-bold);font-weight:var(--sd-font-weight-bold);color:inherit}@property --tw-font-weight{syntax:"*";inherits:false}`],l([c("sd-6-0-0-next-20-popup")],s.prototype,"popup",2),l([c('[part="combobox"]')],s.prototype,"combobox",2),l([c('[part="display-input"]')],s.prototype,"displayInput",2),l([c(".value-input")],s.prototype,"valueInput",2),l([c('[part="listbox"]')],s.prototype,"listbox",2),l([c('[part="tags"]')],s.prototype,"tagWrapper",2),l([c('[part="filtered-listbox"]')],s.prototype,"filteredWrapper",2),l([c("slot:not([name])")],s.prototype,"defaultSlot",2),l([c("#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([P()],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({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([g("filter",{waitUntilFirstUpdate:!0})],s.prototype,"handleFilterChange",1),l([g("useTags",{waitUntilFirstUpdate:!0})],s.prototype,"handleUseTagsChange",1),l([g("size",{waitUntilFirstUpdate:!0})],s.prototype,"applySizeToOptions",1),l([g(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],s.prototype,"handleDisabledChange",1),l([g("value",{waitUntilFirstUpdate:!0})],s.prototype,"handleValueChange",1),l([g("displayInputValue",{waitUntilFirstUpdate:!0})],s.prototype,"handleDisplayInputValueChange",1),l([g("open",{waitUntilFirstUpdate:!0})],s.prototype,"handleOpenChange",1),s=l([k("sd-6-0-0-next-20-combobox")],s);E("combobox.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});E("combobox.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{s as a};
@@ -1,5 +1,5 @@
1
- import{a as k}from"./chunk.CGQ2BPPZ.js";import{a as m,c as f}from"./chunk.B2NUKX6G.js";import{a as w}from"./chunk.KLRPP4NQ.js";import{a as l}from"./chunk.YEDQWNIV.js";import{a as x}from"./chunk.7BPPDSHY.js";import{a as h}from"./chunk.NYKJXI3Q.js";import{a as b,b as o,d as n,h as c}from"./chunk.PES7MZKA.js";import{b as g,e as r}from"./chunk.763RLJEK.js";import{b as p,c as d,e as u}from"./chunk.W4QBFD6E.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends c{constructor(){super(...arguments);this.localize=new x(this);this.hasSlotController=new k(this,"[default]","content");this.size="lg";this.content="";this.placement="top";this.disabled=!1;this.open=!1;this.trigger="click focus";this.hoist=!1;this.handleMouseInteraction=()=>{this.interactionType="mouse"};this.handleKeyboardInteraction=()=>{this.interactionType="keyboard"}}connectedCallback(){super.connectedCallback(),this.handleBlur=this.handleBlur.bind(this),this.handleClick=this.handleClick.bind(this),this.handleFocus=this.handleFocus.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleMouseOver=this.handleMouseOver.bind(this),this.handleMouseOut=this.handleMouseOut.bind(this),document.addEventListener("mousedown",this.handleMouseInteraction),document.addEventListener("keydown",this.handleKeyboardInteraction),this.updateComplete.then(()=>{this.addEventListener("blur",this.handleBlur,!0),this.addEventListener("focus",this.handleFocus,!0),this.addEventListener("click",this.handleClick),this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("mouseover",this.handleMouseOver),this.addEventListener("mouseout",this.handleMouseOut)})}firstUpdated(){this.body.hidden=!this.open,this.formatDefaultSlot(this.defaultSlot),this.open&&(this.popup.active=!0,this.popup.reposition())}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("blur",this.handleBlur,!0),this.removeEventListener("focus",this.handleFocus,!0),this.removeEventListener("click",this.handleClick),this.removeEventListener("keydown",this.handleKeyDown),this.removeEventListener("mouseover",this.handleMouseOver),this.removeEventListener("mouseout",this.handleMouseOut),document.removeEventListener("mousedown",this.handleMouseInteraction),document.removeEventListener("keydown",this.handleKeyboardInteraction)}get hasCustomTrigger(){return this.hasSlotController.test("[default]")}formatDefaultSlot(e){if(!e)return;e.assignedNodes({flatten:!0}).forEach(s=>{var y,v;s.nodeType===Node.TEXT_NODE&&!((y=s==null?void 0:s.textContent)!=null&&y.trim())&&((v=s==null?void 0:s.parentNode)==null||v.removeChild(s))})}handleBlur(){this.hasTrigger("focus")&&this.hide()}handleClick(){this.hasTrigger("click")&&(this.open?this.hide():this.show())}handleFocus(){this.hasTrigger("focus")&&this.interactionType==="keyboard"&&this.show()}handleKeyDown(e){this.open&&e.key==="Escape"&&(e.stopPropagation(),this.hide())}handleMouseOver(){if(this.hasTrigger("hover")){let e=d(getComputedStyle(this).getPropertyValue("--show-delay"));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout(()=>this.show(),e)}}handleMouseOut(){if(this.hasTrigger("hover")){let e=d(getComputedStyle(this).getPropertyValue("--hide-delay"));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout(()=>this.hide(),e)}}hasTrigger(e){return this.trigger.split(" ").includes(e)}async handleOpenChange(){if(this.open){if(this.disabled)return;this.emit("sd-show"),await u(this.body),this.body.hidden=!1,this.popup.active=!0;let{keyframes:e,options:a}=f(this,"tooltip.show",{dir:this.localize.dir()});await p(this.popup.popup,e,a),this.emit("sd-after-show")}else{this.emit("sd-hide"),await u(this.body);let{keyframes:e,options:a}=f(this,"tooltip.hide",{dir:this.localize.dir()});await p(this.popup.popup,e,a),this.popup.active=!1,this.body.hidden=!0,this.emit("sd-after-hide")}}async handleOptionsChange(){this.hasUpdated&&(await this.updateComplete,this.popup.reposition())}handleDisabledChange(){this.disabled&&this.open&&this.hide()}async show(){if(!this.open)return this.open=!0,w(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,this.trigger==="click"||this.trigger==="click focus"?this.focus():this.blur(),w(this,"sd-after-hide")}render(){let e=this.placement.endsWith("-start"),a=this.placement.endsWith("-end");return r`<sd-6-0-0-next-2-popup part="base" exportparts="
1
+ import{a as k}from"./chunk.CGQ2BPPZ.js";import{a as m,c as f}from"./chunk.B2NUKX6G.js";import{a as w}from"./chunk.KLRPP4NQ.js";import{a as x}from"./chunk.IQPMMUES.js";import{a as l}from"./chunk.YFQFOIEM.js";import{a as h}from"./chunk.NYKJXI3Q.js";import{a as b,b as o,d as n,h as c}from"./chunk.77FHAJLL.js";import{b as g,e as r}from"./chunk.763RLJEK.js";import{b as p,c as d,e as u}from"./chunk.W4QBFD6E.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends c{constructor(){super(...arguments);this.localize=new x(this);this.hasSlotController=new k(this,"[default]","content");this.size="lg";this.content="";this.placement="top";this.disabled=!1;this.open=!1;this.trigger="click focus";this.hoist=!1;this.handleMouseInteraction=()=>{this.interactionType="mouse"};this.handleKeyboardInteraction=()=>{this.interactionType="keyboard"}}connectedCallback(){super.connectedCallback(),this.handleBlur=this.handleBlur.bind(this),this.handleClick=this.handleClick.bind(this),this.handleFocus=this.handleFocus.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleMouseOver=this.handleMouseOver.bind(this),this.handleMouseOut=this.handleMouseOut.bind(this),document.addEventListener("mousedown",this.handleMouseInteraction),document.addEventListener("keydown",this.handleKeyboardInteraction),this.updateComplete.then(()=>{this.addEventListener("blur",this.handleBlur,!0),this.addEventListener("focus",this.handleFocus,!0),this.addEventListener("click",this.handleClick),this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("mouseover",this.handleMouseOver),this.addEventListener("mouseout",this.handleMouseOut)})}firstUpdated(){this.body.hidden=!this.open,this.formatDefaultSlot(this.defaultSlot),this.open&&(this.popup.active=!0,this.popup.reposition())}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("blur",this.handleBlur,!0),this.removeEventListener("focus",this.handleFocus,!0),this.removeEventListener("click",this.handleClick),this.removeEventListener("keydown",this.handleKeyDown),this.removeEventListener("mouseover",this.handleMouseOver),this.removeEventListener("mouseout",this.handleMouseOut),document.removeEventListener("mousedown",this.handleMouseInteraction),document.removeEventListener("keydown",this.handleKeyboardInteraction)}get hasCustomTrigger(){return this.hasSlotController.test("[default]")}formatDefaultSlot(e){if(!e)return;e.assignedNodes({flatten:!0}).forEach(s=>{var y,v;s.nodeType===Node.TEXT_NODE&&!((y=s==null?void 0:s.textContent)!=null&&y.trim())&&((v=s==null?void 0:s.parentNode)==null||v.removeChild(s))})}handleBlur(){this.hasTrigger("focus")&&this.hide()}handleClick(){this.hasTrigger("click")&&(this.open?this.hide():this.show())}handleFocus(){this.hasTrigger("focus")&&this.interactionType==="keyboard"&&this.show()}handleKeyDown(e){this.open&&e.key==="Escape"&&(e.stopPropagation(),this.hide())}handleMouseOver(){if(this.hasTrigger("hover")){let e=d(getComputedStyle(this).getPropertyValue("--show-delay"));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout(()=>this.show(),e)}}handleMouseOut(){if(this.hasTrigger("hover")){let e=d(getComputedStyle(this).getPropertyValue("--hide-delay"));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout(()=>this.hide(),e)}}hasTrigger(e){return this.trigger.split(" ").includes(e)}async handleOpenChange(){if(this.open){if(this.disabled)return;this.emit("sd-show"),await u(this.body),this.body.hidden=!1,this.popup.active=!0;let{keyframes:e,options:a}=f(this,"tooltip.show",{dir:this.localize.dir()});await p(this.popup.popup,e,a),this.emit("sd-after-show")}else{this.emit("sd-hide"),await u(this.body);let{keyframes:e,options:a}=f(this,"tooltip.hide",{dir:this.localize.dir()});await p(this.popup.popup,e,a),this.popup.active=!1,this.body.hidden=!0,this.emit("sd-after-hide")}}async handleOptionsChange(){this.hasUpdated&&(await this.updateComplete,this.popup.reposition())}handleDisabledChange(){this.disabled&&this.open&&this.hide()}async show(){if(!this.open)return this.open=!0,w(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,this.trigger==="click"||this.trigger==="click focus"?this.focus():this.blur(),w(this,"sd-after-hide")}render(){let e=this.placement.endsWith("-start"),a=this.placement.endsWith("-end");return r`<sd-6-0-0-next-20-popup part="base" exportparts="
2
2
  popup:base__popup,
3
3
  arrow:base__arrow
4
- " class="${l(this.open&&"tooltip--open")}" placement="${this.placement}" distance="10" skidding="${{start:2,end:-2,default:0}[e?"start":a?"end":"default"]*(this.size==="sm"?-1:1)}" strategy="${this.hoist?"fixed":"absolute"}" flip shift arrow auto-size="vertical" arrow-padding="0">${this.hasCustomTrigger?r`<slot slot="anchor"></slot>`:r`<button slot="anchor" aria-describedby="tooltip" class="${l("flex sd-interactive rounded-full",this.size==="lg"?"text-xl":"text-base")}" ?disabled="${this.disabled}" aria-expanded="${this.open}" aria-controls="tooltip"><sd-6-0-0-next-2-icon library="_internal" name="info-circle" label="Tooltip" class="${l(this.disabled&&"sd-interactive--disabled")}"></sd-6-0-0-next-2-icon></button>`}<slot name="content" part="body" id="tooltip" class="bg-primary text-white py-3 px-4 block rounded-none text-sm text-left" role="tooltip" aria-label="${this.content}" aria-live="${this.open?"polite":"off"}">${this.content}</slot></sd-6-0-0-next-2-popup>`}};t.styles=[...c.styles,g`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
5
- :host{--hide-delay:0ms;--show-delay:150ms;display:contents}sd-6-0-0-next-2-popup{--arrow-color:var(--sd-color-primary);--arrow-size:10px}sd-6-0-0-next-2-popup::part(popup){pointer-events:none;z-index:10;--tw-shadow:var(--sd-shadow);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}sd-6-0-0-next-2-popup::part(arrow){--tw-shadow:var(--sd-shadow, 0px 1px 3px 0px rgb(81 81 81 / 75%));--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}sd-6-0-0-next-2-popup[placement^=top]::part(popup){transform-origin:bottom}sd-6-0-0-next-2-popup[placement^=bottom]::part(popup){transform-origin:top}#tooltip{max-width:var(--max-width)}::slotted([slot=content]){overflow:auto;max-width:var(--auto-size-available-width)!important;max-height:var(--auto-size-available-height)!important}@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}`],i([n("slot:not([name])")],t.prototype,"defaultSlot",2),i([n("#tooltip")],t.prototype,"body",2),i([n("sd-6-0-0-next-2-popup")],t.prototype,"popup",2),i([o({type:String,reflect:!0})],t.prototype,"size",2),i([o({type:String,reflect:!0})],t.prototype,"content",2),i([o({type:String,reflect:!0})],t.prototype,"placement",2),i([o({type:Boolean,reflect:!0})],t.prototype,"disabled",2),i([o({type:Boolean,reflect:!0})],t.prototype,"open",2),i([o({type:String,reflect:!0})],t.prototype,"trigger",2),i([o({type:Boolean,reflect:!0})],t.prototype,"hoist",2),i([h("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),i([h(["content","hoist","placement"])],t.prototype,"handleOptionsChange",1),i([h("disabled")],t.prototype,"handleDisabledChange",1),t=i([b("sd-6-0-0-next-2-tooltip")],t);m("tooltip.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});m("tooltip.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{t as a};
4
+ " class="${l(this.open&&"tooltip--open")}" placement="${this.placement}" distance="10" skidding="${{start:2,end:-2,default:0}[e?"start":a?"end":"default"]*(this.size==="sm"?-1:1)}" strategy="${this.hoist?"fixed":"absolute"}" flip shift arrow auto-size="vertical" arrow-padding="0">${this.hasCustomTrigger?r`<slot slot="anchor"></slot>`:r`<button slot="anchor" aria-describedby="tooltip" class="${l("flex sd-interactive rounded-full",this.size==="lg"?"text-xl":"text-base")}" ?disabled="${this.disabled}" aria-expanded="${this.open}" aria-controls="tooltip"><sd-6-0-0-next-20-icon library="_internal" name="info-circle" label="Tooltip" class="${l(this.disabled&&"sd-interactive--disabled")}"></sd-6-0-0-next-20-icon></button>`}<slot name="content" part="body" id="tooltip" class="sd-6-0-0-next-20-tooltip-color-background sd-6-0-0-next-20-tooltip-color-text py-3 px-4 block rounded-none text-sm text-left" role="tooltip" aria-label="${this.content}" aria-live="${this.open?"polite":"off"}">${this.content}</slot></sd-6-0-0-next-20-popup>`}};t.styles=[...c.styles,g`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
5
+ :host{--hide-delay:0ms;--show-delay:150ms;display:contents}sd-6-0-0-next-20-popup{--arrow-color:rgba(var(--sd-tooltip-color-background));--arrow-size:10px}sd-6-0-0-next-20-popup::part(popup){pointer-events:none;z-index:10;--tw-shadow:var(--sd-shadow);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}sd-6-0-0-next-20-popup::part(arrow){--tw-shadow:var(--sd-shadow, 0px 1px 3px 0px rgb(81 81 81 / 75%));--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}sd-6-0-0-next-20-popup[placement^=top]::part(popup){transform-origin:bottom}sd-6-0-0-next-20-popup[placement^=bottom]::part(popup){transform-origin:top}#tooltip{max-width:var(--max-width)}::slotted([slot=content]){overflow:auto;max-width:var(--auto-size-available-width)!important;max-height:var(--auto-size-available-height)!important}:host [slot=anchor]{color:rgba(var(--sd-form-control__tooltip-color-icon))}@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}`],i([n("slot:not([name])")],t.prototype,"defaultSlot",2),i([n("#tooltip")],t.prototype,"body",2),i([n("sd-6-0-0-next-20-popup")],t.prototype,"popup",2),i([o({type:String,reflect:!0})],t.prototype,"size",2),i([o({type:String,reflect:!0})],t.prototype,"content",2),i([o({type:String,reflect:!0})],t.prototype,"placement",2),i([o({type:Boolean,reflect:!0})],t.prototype,"disabled",2),i([o({type:Boolean,reflect:!0})],t.prototype,"open",2),i([o({type:String,reflect:!0})],t.prototype,"trigger",2),i([o({type:Boolean,reflect:!0})],t.prototype,"hoist",2),i([h("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),i([h(["content","hoist","placement"])],t.prototype,"handleOptionsChange",1),i([h("disabled")],t.prototype,"handleDisabledChange",1),t=i([b("sd-6-0-0-next-20-tooltip")],t);m("tooltip.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});m("tooltip.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{t as a};
@@ -0,0 +1,2 @@
1
+ import{a as T}from"./chunk.MHWW3RZB.js";import{c as b}from"./chunk.3L472FD4.js";import{a as f}from"./chunk.PV6UYBMY.js";import{a as y}from"./chunk.IQPMMUES.js";import{a as c}from"./chunk.YFQFOIEM.js";import{a as g,b as w,c as v,d as h,h as u}from"./chunk.77FHAJLL.js";import{b as m,e as d}from"./chunk.763RLJEK.js";import{a as p,e as l}from"./chunk.6EV4YU6C.js";var a=class extends u{constructor(){super(...arguments);this.localize=new y(this);this.tabs=[];this.panels=[];this.hasScrollControls=!1;this.variant="default";this.canScroll={left:!1,right:!1};this.activation="auto"}connectedCallback(){let t=Promise.all([customElements.whenDefined("sd-6-0-0-next-20-tab"),customElements.whenDefined("sd-6-0-0-next-20-tab-panel")]);super.connectedCallback(),this.resizeObserver=new ResizeObserver(()=>{this.updateScrollControls(),this.repositionIndicator()}),this.mutationObserver=new MutationObserver(i=>{i.some(e=>!["aria-labelledby","aria-controls"].includes(e.attributeName))&&setTimeout(()=>this.setAriaLabels()),i.some(e=>e.attributeName==="disabled")&&this.syncTabsAndPanels()}),this.updateComplete.then(()=>{this.syncTabsAndPanels(),this.mutationObserver.observe(this,{attributes:!0,childList:!0,subtree:!0}),this.resizeObserver.observe(this.nav),this.nav.addEventListener("scroll",()=>this.handleScroll()),t.then(()=>{new IntersectionObserver((e,o)=>{var s;e[0].intersectionRatio>0&&(this.setAriaLabels(),this.setActiveTab((s=this.activeTab)!=null?s:this.tabs[0],{emitEvents:!1}),o.unobserve(e[0].target))}).observe(this.tabGroup)})})}updated(t){!t.get("canScroll")&&this.canScroll&&this.handleScroll()}disconnectedCallback(){var t;this.mutationObserver.disconnect(),this.nav&&((t=this.resizeObserver)==null||t.unobserve(this.nav))}getAllTabs(t={includeDisabled:!0}){let i=this.shadowRoot.querySelector('slot[name="nav"]');return Array.from(i.assignedElements()).map(e=>e.tagName.toLocaleLowerCase()==="sd-6-0-0-next-20-tab"?e:e.querySelector("sd-6-0-0-next-20-tab")).filter(e=>e&&t.includeDisabled?e.tagName.toLowerCase()==="sd-6-0-0-next-20-tab":e.tagName.toLowerCase()==="sd-6-0-0-next-20-tab"&&!e.disabled)}getAllPanels(){return[...this.body.assignedElements()].filter(t=>t.tagName.toLowerCase()==="sd-6-0-0-next-20-tab-panel")}getActiveTab(){return this.tabs.find(t=>t.matches(":focus"))}handleClick(t){let e=t.target.closest("sd-6-0-0-next-20-tab");(e==null?void 0:e.closest("sd-6-0-0-next-20-tab-group"))===this&&e!==null&&this.setActiveTab(e,{scrollBehavior:"smooth"})}handleKeyDown(t){let e=t.target.closest("sd-6-0-0-next-20-tab");if((e==null?void 0:e.closest("sd-6-0-0-next-20-tab-group"))===this){if(["Enter"," "].includes(t.key)&&e!==null&&(this.setActiveTab(e,{scrollBehavior:"smooth"}),t.preventDefault()),["Tab"].includes(t.key)){let s=this.tabs.indexOf(this.getActiveTab()),n=this.tabs[s+1];e!==null&&n&&b(n,this.nav,"horizontal")}if(["Shift","Tab"].includes(t.key)){let s=this.tabs.indexOf(this.getActiveTab()),n=this.tabs[s-1];e!==null&&n&&b(n,this.nav,"horizontal")}if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(t.key)){let s=this.tabs.find(r=>r.matches(":focus")),n=this.localize.dir()==="rtl";if((s==null?void 0:s.tagName.toLowerCase())==="sd-6-0-0-next-20-tab"){let r=this.tabs.indexOf(s);t.key==="Home"?r=0:t.key==="End"?r=this.tabs.length-1:t.key===(n?"ArrowRight":"ArrowLeft")||t.key==="ArrowUp"?r--:(t.key===(n?"ArrowLeft":"ArrowRight")||t.key==="ArrowDown")&&r++,r<0&&(r=this.tabs.length-1),r>this.tabs.length-1&&(r=0),this.tabs[r].focus({preventScroll:!0}),this.activation==="auto"&&this.setActiveTab(this.tabs[r],{scrollBehavior:"smooth"}),b(this.tabs[r],this.nav,"horizontal"),t.preventDefault()}}}}handleScroll(){this.canScroll={left:this.nav.scrollLeft>0,right:this.nav.scrollLeft+this.nav.clientWidth<this.nav.scrollWidth-1}}handleScrollToStart(){this.nav.scroll({left:this.localize.dir()==="rtl"?this.nav.scrollLeft+this.nav.clientWidth:this.nav.scrollLeft-this.nav.clientWidth,behavior:"smooth"})}handleScrollToEnd(){this.nav.scroll({left:this.localize.dir()==="rtl"?this.nav.scrollLeft-this.nav.clientWidth:this.nav.scrollLeft+this.nav.clientWidth,behavior:"smooth"})}setActiveTab(t,i){if(i=p({emitEvents:!0,scrollBehavior:"auto"},i),t!==this.activeTab&&!t.disabled&&!t.visuallyDisabled){let e=this.activeTab;this.activeTab=t,this.tabs.map(o=>o.active=o===this.activeTab),this.panels.map(o=>{var s;return o.active=o.name===((s=this.activeTab)==null?void 0:s.panel)}),this.repositionIndicator(),b(this.activeTab,this.nav,"horizontal",i.scrollBehavior),i.emitEvents&&(e&&this.emit("sd-tab-hide",{detail:{name:e.panel}}),this.emit("sd-tab-show",{detail:{name:this.activeTab.panel}}))}}setAriaLabels(){this.tabs.forEach(t=>{let i=this.panels.find(e=>e.name===t.panel);i&&t.setAttribute("aria-controls",i.getAttribute("id"))})}syncTabsAndPanels(){this.tabs=this.getAllTabs({includeDisabled:!1}),this.panels=this.getAllPanels(),this.repositionIndicator(),this.panels.forEach(t=>{t.tabIndex=0}),this.updateComplete.then(()=>this.updateScrollControls()),this.tabs.length!==0&&this.tabs[0].variant==="container"&&(this.variant="container")}updateScrollControls(){this.hasScrollControls=this.nav.scrollWidth>this.nav.clientWidth}async repositionIndicator(){await this.updateComplete;let t=this.activeTab,i=this.indicator,e=this.tabsContainer;if(!t||!i||!e||t.variant==="container")return;let o=t.getBoundingClientRect(),s=e.getBoundingClientRect(),n=getComputedStyle(e).justifyContent==="center",r=s.left+s.width/2,A=o.left+o.width/2,x=t.offsetWidth,C=n?A-r:o.left-s.left;i.style.width=`${x}px`,i.style.transform=`translateX(${C}px)`}show(t){let i=this.tabs.find(e=>e.panel===t);i&&this.setActiveTab(i,{scrollBehavior:"smooth"})}render(){var i;let t=this.localize.dir()==="rtl";return d`<div part="base" class="${c("flex flex-col rounded-none")}" @click="${this.handleClick}" @keydown="${this.handleKeyDown}"><div part="nav" class="${c(this.hasScrollControls&&"relative py-0 px-12")}">${this.hasScrollControls?d`<button part="scroll-button--start" exportparts="base:scroll-button__base" tabindex="-1" aria-hidden="true" disabled="${f(!this.canScroll.left||void 0)}" class="${c("sd-interactive flex items-center justify-center absolute top-0 bottom-0 left-0 !outline-offset-0 border-b border-neutral-400 z-10",this.localize.dir()==="rtl"&&"left-auto right-0")}" @click="${this.handleScrollToStart}"><sd-6-0-0-next-20-icon library="_internal" name="${t?"chevron-up":"chevron-down"}" label="previous" class="${c("h-6 w-12 rotate-90 grid place-items-center")}"></sd-6-0-0-next-20-icon></button>`:""}<div part="scroll-container" class="flex overflow-x-auto focus-visible:focus-outline !outline-offset-0"><div part="tabs" class="${c("flex flex-auto relative flex-row")}" role="tablist">${((i=this.activeTab)==null?void 0:i.variant)!=="container"?d`<div part="active-tab-indicator" id="indicator" class="absolute h-1 bg-accent bottom-0 transition-[transform,width] duration-medium ease-in-out z-30 navigable__current-indicator-height navigable__current-indicator-border-radius"></div>`:""}<div part="separation" class="border-neutral-400 absolute w-full h-0.25 bottom-0 border-b z-10"></div><slot name="nav" @slotchange="${this.syncTabsAndPanels}"></slot></div></div>${this.hasScrollControls?d`<button part="scroll-button--end" exportparts="base:scroll-button__base" tabindex="-1" aria-hidden="true" disabled="${f(!this.canScroll.right||void 0)}" class="${c("sd-interactive flex items-center justify-center absolute top-0 bottom-0 right-0 !outline-offset-0 border-b border-neutral-400 z-10",this.localize.dir()==="rtl"&&"right-auto left-0")}" @click="${this.handleScrollToEnd}"><sd-6-0-0-next-20-icon library="_internal" name="${t?"chevron-down":"chevron-up"}" label="next" class="${c("h-6 w-12 rotate-90 grid place-items-center")}"></sd-6-0-0-next-20-icon></button>`:""}</div><slot part="body" class="${c("block auto py-8 px-6",this.variant==="container"&&"border border-neutral-400 border-t-0")}" @slotchange="${this.syncTabsAndPanels}"></slot></div>`}};a.styles=[...u.styles,m`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{box-sizing:border-box;display:block}[part=scroll-container]{scrollbar-width:none}[part=scroll-container]::-webkit-scrollbar{height:calc(var(--sd-spacing-1) * 0);width:calc(var(--sd-spacing-1) * 0)}::slotted(sd-6-0-0-next-20-tab-panel){--padding:1rem 0}::slotted(sd-6-0-0-next-20-tab-panel:focus-visible){outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:rgba(var(--outline-color-primary))}`],l([h("[part=base]")],a.prototype,"tabGroup",2),l([h("[part=body]")],a.prototype,"body",2),l([h("[part=scroll-container]")],a.prototype,"nav",2),l([h("[part=active-tab-indicator]")],a.prototype,"indicator",2),l([h('[part="tabs"]')],a.prototype,"tabsContainer",2),l([v()],a.prototype,"hasScrollControls",2),l([v()],a.prototype,"variant",2),l([v()],a.prototype,"canScroll",2),l([w({type:String,reflect:!0})],a.prototype,"activation",2),l([T(20)],a.prototype,"handleScroll",1),a=l([g("sd-6-0-0-next-20-tab-group")],a);export{a};
@@ -0,0 +1,12 @@
1
+ import{b as g,c as y}from"./chunk.JS2HQ2N4.js";import{a as o}from"./chunk.PV6UYBMY.js";import{a as x}from"./chunk.CGQ2BPPZ.js";import{a as u,b as c}from"./chunk.PJ7JCMQF.js";import{a}from"./chunk.YFQFOIEM.js";import{a as f}from"./chunk.NYKJXI3Q.js";import{a as v,b as i,c as h,d as m,g as p,h as d}from"./chunk.77FHAJLL.js";import{b}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends d{constructor(){super(...arguments);this.formControlController=new g(this,{form:r=>{if(r.hasAttribute("form")){let s=r.getRootNode(),n=r.getAttribute("form");return s.getElementById(n)}return r.closest("form")}});this.hasSlotController=new x(this,"[default]","icon-left","icon-right");this.invalid=!1;this.title="";this.variant="primary";this.inverted=!1;this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.loading=!1;this.type="button";this.name="";this.value="";this.href=""}get validity(){return this.isButton()?this.button.validity:y}get validationMessage(){return this.isButton()?this.button.validationMessage:""}firstUpdated(){this.isButton()&&this.formControlController.updateValidity()}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleClick(r){if(this.disabled||this.loading||this.visuallyDisabled){r.preventDefault(),r.stopPropagation();return}this.type==="submit"&&this.formControlController.submit(this),this.type==="reset"&&this.formControlController.reset(this)}handleInvalid(r){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(r)}isButton(){return!this.href}isLink(){return!!this.href}handleDisabledChange(){this.isButton()&&this.formControlController.setValidity(this.disabled)}click(){this.button.click()}focus(r){this.button.focus(r)}blur(){this.button.blur()}checkValidity(){return this.isButton()?this.button.checkValidity():!0}getForm(){return this.formControlController.getForm()}reportValidity(){return this.isButton()?this.button.reportValidity():!0}setCustomValidity(r){this.isButton()&&(this.button.setCustomValidity(r),this.formControlController.updateValidity())}render(){let r=this.isLink(),s=r?u`a`:u`button`,n={label:this.hasSlotController.test("[default]"),"icon-left":this.hasSlotController.test("icon-left"),"icon-right":this.hasSlotController.test("icon-right"),"icon-only":this._iconsInDefaultSlot.length>0},l=this.variant==="secondary";return c`<${s} part="base" class="${a(`group relative z-10 font-md no-underline
2
+ w-full align-middle inline-flex items-stretch justify-center
3
+ transition-colors duration-fast ease-in-out
4
+ select-none cursor-[inherit]`,this.inverted?"focus-visible:focus-outline-inverted":"focus-visible:focus-outline",this.loading&&"relative cursor-wait",(this.disabled||this.visuallyDisabled)&&"cursor-not-allowed",n["icon-only"]&&"px-0 min-h-varspacing w-varspacing",{sm:`sd-6-0-0-next-20-button--size-sm-font-size sd-6-0-0-next-20-button-font-weight sd-6-0-0-next-20-button--size-sm-border-radius varspacing-8 ${l?"py-[0.281rem] px-[0.938rem]":"sd-6-0-0-next-20-button--size-sm-padding-block px-4"}`,md:`sd-6-0-0-next-20-button--size-md-font-size sd-6-0-0-next-20-button-font-weight sd-6-0-0-next-20-button--size-md-border-radius varspacing-10 ${l?"py-[0.438rem] px-[0.938rem]":"sd-6-0-0-next-20-button--size-md-padding-block px-4"}`,lg:`sd-6-0-0-next-20-button--size-lg-font-size sd-6-0-0-next-20-button-font-weight sd-6-0-0-next-20-button--size-lg-border-radius varspacing-12 ${l?"py-[0.688rem] px-[0.938rem]":"sd-6-0-0-next-20-button--size-lg-padding-block px-4"}`}[this.size],{primary:this.inverted?`${this.visuallyDisabled?"bg-neutral-500 text-white border-neutral-500 hover:bg-neutral-500 active:bg-neutral-500":"sd-6-0-0-next-20-button--primary--inverted--default-color-text sd-6-0-0-next-20-button--primary--inverted--default-color-background border-white hover:sd-6-0-0-next-20-button--primary--inverted--hover-color-text active:sd-6-0-0-next-20-button--primary--inverted--active-color-text active:sd-6-0-0-next-20-button--primary--inverted--active-color-background"}
5
+ disabled:sd-6-0-0-next-20-button--inverted--disabled-color-background disabled:sd-6-0-0-next-20-button--inverted--disabled-color-border disabled:sd-6-0-0-next-20-button--inverted--disabled-color-text`:`sd-6-0-0-next-20-button--primary--default-color-text ${this.visuallyDisabled?"bg-neutral-500 border-neutral-500 hover:bg-neutral-500":"sd-6-0-0-next-20-button--primary--default-color-background border-transparent hover:text-primary-100 active:sd-6-0-0-next-20-button--primary--active-color-text"}
6
+ disabled:bg-neutral-500`,secondary:this.inverted?`border ${this.visuallyDisabled?"text-neutral-600 border-neutral-600 hover:text-neutral-600 hover:border-neutral-600 active:text-neutral-600 active:border-neutral-600":"text-white border-white hover:sd-6-0-0-next-20-button--secondary--inverted--hover-color-text hover:border-primary-100 active:text-primary-200"}
7
+ disabled:sd-6-0-0-next-20-button--inverted--disabled-color-border disabled:sd-6-0-0-next-20-button--inverted--disabled-color-text`:`border ${this.visuallyDisabled?"text-neutral-500 border-neutral-500 hover:text-neutral-500 hover:border-neutral-500 active:text-neutral-500 active:border-neutral-500":"text-primary border-primary hover:text-primary-500 hover:border-primary-500 active:text-primary-800 active:border-primary-800"}
8
+ disabled:text-neutral-500 disabled:border-neutral-500`,tertiary:this.inverted?`border-transparent ${this.visuallyDisabled?"text-neutral-600 hover:text-neutral-600 active:text-neutral-600":"text-white hover:sd-6-0-0-next-20-button--tertiary--inverted--hover-color-text active:text-primary-200"}
9
+ disabled:sd-6-0-0-next-20-button--inverted--disabled-color-text`:`border-transparent ${this.visuallyDisabled?"text-neutral-500 hover:text-neutral-500 active:text-neutral-500":"text-primary hover:text-primary-500 active:text-primary-800"}
10
+ disabled:text-neutral-500`,cta:`${this.visuallyDisabled?"bg-neutral-500 border-neutral-500 hover:bg-neutral-500 active:bg-neutral-500":"bg-accent border-transparent"}
11
+ ${this.inverted?"sd-6-0-0-next-20-button--cta--inverted--default-color-background sd-6-0-0-next-20-button--cta--inverted--default-color-text hover:sd-6-0-0-next-20-button--cta--inverted--hover-color-text active:sd-6-0-0-next-20-button--cta--inverted--active-color-text disabled:sd-6-0-0-next-20-button--inverted--disabled-color-background disabled:sd-6-0-0-next-20-button--inverted--disabled-color-border disabled:sd-6-0-0-next-20-button--inverted--disabled-color-text":"text-white disabled:bg-neutral-500 disabled:border-neutral-500 disabled:text-white"}`}[this.variant])}" ?disabled="${o(r?void 0:this.disabled)}" type="${o(r?void 0:this.type)}" title="${this.title}" name="${o(r?void 0:this.name)}" value="${o(r?void 0:this.value)}" href="${o(r?this.href:void 0)}" target="${o(r?this.target:void 0)}" download="${o(r?this.download:void 0)}" rel="${o(r&&this.target?"noreferrer noopener":void 0)}" role="${o(r?void 0:"button")}" aria-disabled="${this.disabled||this.visuallyDisabled?"true":"false"}" aria-labelledby="content" tabindex="${this.disabled?"-1":"0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @invalid="${this.isButton()?this.handleInvalid:null}" @click="${this.handleClick}"><div part="motion-wrapper" class="${a("absolute inset-0 -z-10 overflow-hidden pointer-events-none ",(this.disabled||this.visuallyDisabled)&&"hidden",{sm:"sd-6-0-0-next-20-button--size-sm-border-radius",md:"sd-6-0-0-next-20-button--size-md-border-radius",lg:"sd-6-0-0-next-20-button--size-lg-border-radius"}[this.size])}"><div class="absolute inset-0 w-full h-full transition-all duration-fast translate-y-full group-hover:translate-y-0 group-hover:mt-[-22%] mt-[11%]"><div class="${a("absolute right-0 min-w-full min-h-full aspect-square skew-y-[-11deg] mt-[11%]",{primary:this.inverted?"sd-6-0-0-next-20-button--primary--inverted--hover-color-background group-active:bg-primary-200":"sd-6-0-0-next-20-button--primary--hover-color-background group-active:bg-primary-800",secondary:this.inverted?"bg-primary-500 group-active:sd-6-0-0-next-20-button--secondary--inverted--active-color-background":"sd-6-0-0-next-20-button--secondary--hover-color-background group-active:sd-6-0-0-next-20-button--secondary--active-color-background",tertiary:this.inverted?"bg-primary-500 group-active:sd-6-0-0-next-20-button--tertiary--inverted--active-color-background":"sd-6-0-0-next-20-button--tertiary--hover-color-background group-active:sd-6-0-0-next-20-button--tertiary--active-color-background",cta:this.inverted?"sd-6-0-0-next-20-button--cta--inverted--hover-color-background group-active:sd-6-0-0-next-20-button--cta--inverted--active-color-background":"bg-accent-550 group-active:bg-accent-700"}[this.variant])}"></div><div class="${a("absolute w-full h-full mt-[22%]",{primary:this.inverted?"sd-6-0-0-next-20-button--primary--inverted--hover-color-background group-active:bg-primary-200":"sd-6-0-0-next-20-button--primary--hover-color-background group-active:bg-primary-800",secondary:this.inverted?"bg-primary-500 group-active:sd-6-0-0-next-20-button--secondary--inverted--active-color-background":"sd-6-0-0-next-20-button--secondary--hover-color-background group-active:sd-6-0-0-next-20-button--secondary--active-color-background",tertiary:this.inverted?"bg-primary-500 group-active:sd-6-0-0-next-20-button--tertiary--inverted--active-color-background":"sd-6-0-0-next-20-button--tertiary--hover-color-background group-active:sd-6-0-0-next-20-button--tertiary--active-color-background",cta:this.inverted?"sd-6-0-0-next-20-button--cta--inverted--hover-color-background group-active:sd-6-0-0-next-20-button--cta--inverted--active-color-background":"bg-accent-550 group-active:bg-accent-700"}[this.variant])}"></div></div></div><slot name="icon-left" part="icon-left" class="${a("flex flex-auto items-center justify-end pointer-events-none",n["icon-only"]&&"hidden",this.loading&&"invisible",n["icon-left"]&&{sm:"mr-1",md:"mr-2",lg:"mr-2"}[this.size])}"></slot><slot part="label" id="content" class="${a("inline-flex items-center justify-center",n["icon-only"]&&"pointer-events-none",this.loading&&"invisible")}"></slot><slot name="icon-right" part="icon-right" class="${a("flex flex-auto items-center pointer-events-none",this.loading&&"invisible",n["icon-only"]&&"hidden",n["icon-right"]&&{sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size])}"></slot>${this.loading?c`<sd-6-0-0-next-20-loader class="${a("absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2")}"></sd-6-0-0-next-20-loader>`:""}</${s}>`}};t.styles=[...d.styles,b`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
12
+ :host{position:relative;z-index:0;display:inline-block;width:auto;cursor:pointer}::slotted(sd-6-0-0-next-20-badge){pointer-events:none;position:absolute;top:calc(var(--sd-spacing-1) * 0);right:calc(var(--sd-spacing-1) * 0);--tw-translate-x:calc(1/2 * 100%)!important;--tw-translate-y:calc(calc(1/2 * 100%) * -1)!important;translate:var(--tw-translate-x) var(--tw-translate-y)!important}::slotted(sd-6-0-0-next-20-icon),sd-6-0-0-next-20-loader{font-size:calc(var(--tw-varspacing)/ 2)}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}`],e([m("a, button")],t.prototype,"button",2),e([p({selector:"sd-6-0-0-next-20-icon"})],t.prototype,"_iconsInDefaultSlot",2),e([h()],t.prototype,"invalid",2),e([i({type:String,reflect:!0})],t.prototype,"title",2),e([i({type:String,reflect:!0})],t.prototype,"variant",2),e([i({type:Boolean,reflect:!0})],t.prototype,"inverted",2),e([i({type:String,reflect:!0})],t.prototype,"size",2),e([i({type:Boolean,reflect:!0})],t.prototype,"disabled",2),e([i({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),e([i({type:Boolean,reflect:!0})],t.prototype,"loading",2),e([i({type:String,reflect:!0})],t.prototype,"type",2),e([i({type:String,reflect:!0})],t.prototype,"name",2),e([i()],t.prototype,"value",2),e([i({type:String,reflect:!0})],t.prototype,"href",2),e([i({type:String,reflect:!0})],t.prototype,"target",2),e([i({reflect:!0})],t.prototype,"download",2),e([i({reflect:!0})],t.prototype,"form",2),e([i({attribute:"formaction"})],t.prototype,"formAction",2),e([i({attribute:"formenctype"})],t.prototype,"formEnctype",2),e([i({attribute:"formmethod"})],t.prototype,"formMethod",2),e([i({attribute:"formnovalidate",type:Boolean})],t.prototype,"formNoValidate",2),e([i({attribute:"formtarget"})],t.prototype,"formTarget",2),e([f("disabled",{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),t=e([v("sd-6-0-0-next-20-button")],t);export{t as a};
@@ -0,0 +1,4 @@
1
+ import{a as T,b as M}from"./chunk.G7HKVXLR.js";import{c as L}from"./chunk.3L472FD4.js";import{a as h,c as u}from"./chunk.B2NUKX6G.js";import{a as m}from"./chunk.KLRPP4NQ.js";import{a as v}from"./chunk.IQPMMUES.js";import{a as k}from"./chunk.YFQFOIEM.js";import{a as E}from"./chunk.NYKJXI3Q.js";import{a as w,b as o,d as r,h as d}from"./chunk.77FHAJLL.js";import{b as y,e as b}from"./chunk.763RLJEK.js";import{b as l,e as p}from"./chunk.W4QBFD6E.js";import{e as i}from"./chunk.6EV4YU6C.js";function A(c,f){let e=c;for(;e;){if(e.matches(f))return e;if(e.parentElement)e=e.parentElement;else if(e.parentNode instanceof ShadowRoot)e=e.parentNode.host;else break}return null}var n=class extends d{constructor(){super(...arguments);this.localize=new v(this);this.open=!1;this.rounded=!1;this.placement="bottom-start";this.disabled=!1;this.stayOpenOnSelect=!1;this.distance=0;this.skidding=0;this.noAutoSize=!1;this.noFlip=!1;this.hoist=!1}connectedCallback(){super.connectedCallback(),this.handleMenuItemActivate=this.handleMenuItemActivate.bind(this),this.handlePanelSelect=this.handlePanelSelect.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleDocumentKeyDown=this.handleDocumentKeyDown.bind(this),this.handleDocumentMouseDown=this.handleDocumentMouseDown.bind(this),this.containingElement||(this.containingElement=this)}firstUpdated(){this.panel.hidden=!this.open,this.open&&(this.addOpenListeners(),this.popup.active=!0)}disconnectedCallback(){super.disconnectedCallback(),this.removeOpenListeners(),this.hide()}getAccessibleTrigger(){let t=this.trigger.assignedElements({flatten:!0}).find(a=>M(a).start),s=null;if(t)switch(t.tagName.toLowerCase()){case"sd-6-0-0-next-20-button":case"sd-6-0-0-next-20-icon-button":s=t.button;break;case"sd-6-0-0-next-20-navigation-item":s=t.button;break;default:s=t}return s}updateAccessibleTrigger(){let e=this.getAccessibleTrigger();e&&(e.setAttribute("aria-haspopup","true"),e.setAttribute("aria-expanded",this.open?"true":"false"))}focusOnTrigger(){let e=this.getAccessibleTrigger();typeof(e==null?void 0:e.focus)=="function"&&e.focus()}getMenu(){return this.panel.assignedElements({flatten:!0}).find(e=>e.tagName.toLowerCase()==="sd-6-0-0-next-20-menu")}handleKeyDown(e){this.open&&e.key==="Escape"&&(e.stopPropagation(),this.hide(),this.focusOnTrigger())}handleDocumentKeyDown(e){var t;if(e.key==="Tab"){if(this.open&&((t=document.activeElement)==null?void 0:t.tagName.toLowerCase())==="sd-6-0-0-next-20-menu-item"){e.preventDefault(),this.hide(),this.focusOnTrigger();return}setTimeout(()=>{let s=T();(!s||!this.containingElement||A(s,this.containingElement.tagName.toLowerCase())!==this.containingElement)&&this.hide()})}}handleDocumentMouseDown(e){let t=e.composedPath();this.containingElement&&!t.includes(this.containingElement)&&this.hide()}handleMenuItemActivate(e){let t=e.target;L(t,this.panel)}handlePanelSelect(e){let t=e.target;!this.stayOpenOnSelect&&t.tagName.toLowerCase()==="sd-6-0-0-next-20-menu"&&(this.hide(),this.focusOnTrigger())}handleTriggerClick(){this.open?this.hide():this.show()}handleTriggerKeyDown(e){if(e.key==="Escape"&&this.open){e.stopPropagation(),this.focusOnTrigger(),this.hide();return}if([" ","Enter"].includes(e.key)){e.preventDefault(),this.handleTriggerClick();return}let t=this.getMenu();if(t){let s=t.defaultSlot.assignedElements({flatten:!0}),a=s.find(C=>!C.disabled)||s[0],g=s[s.length-1];["ArrowDown","ArrowUp","Home","End"].includes(e.key)&&(e.preventDefault(),this.open||this.show(),s.length>0&&requestAnimationFrame(()=>{(e.key==="ArrowDown"||e.key==="Home")&&(t.setCurrentItem(a),a.focus()),(e.key==="ArrowUp"||e.key==="End")&&(t.setCurrentItem(g),g.focus())}))}}handleTriggerKeyUp(e){e.key===" "&&e.preventDefault()}handleTriggerSlotChange(){this.updateAccessibleTrigger()}async show(){if(!this.open)return this.open=!0,m(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,m(this,"sd-after-hide")}reposition(){this.popup.reposition()}addOpenListeners(){this.panel.addEventListener("sd-activate",this.handleMenuItemActivate),this.panel.addEventListener("sd-6-0-0-next-20-select",this.handlePanelSelect),this.panel.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keydown",this.handleDocumentKeyDown),document.addEventListener("mousedown",this.handleDocumentMouseDown)}removeOpenListeners(){this.panel&&(this.panel.removeEventListener("sd-activate",this.handleMenuItemActivate),this.panel.removeEventListener("sd-6-0-0-next-20-select",this.handlePanelSelect),this.panel.removeEventListener("keydown",this.handleKeyDown)),document.removeEventListener("keydown",this.handleDocumentKeyDown),document.removeEventListener("mousedown",this.handleDocumentMouseDown)}async handleOpenChange(){if(this.disabled){this.open=!1;return}if(this.updateAccessibleTrigger(),this.open){this.emit("sd-show"),this.addOpenListeners(),await p(this),this.panel.hidden=!1,this.popup.active=!0;let{keyframes:e,options:t}=u(this,"dropdown.show",{dir:this.localize.dir()});await l(this.popup.popup,e,t),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),await p(this);let{keyframes:e,options:t}=u(this,"dropdown.hide",{dir:this.localize.dir()});await l(this.popup.popup,e,t),this.panel.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}}render(){return b`<sd-6-0-0-next-20-popup part="base" id="dropdown" exportparts="
2
+ popup:base__popup,
3
+ " placement="${this.placement}" distance="${this.rounded&&this.distance<1?1:this.distance}" skidding="${this.skidding}" strategy="${this.hoist?"fixed":"absolute"}" ?flip="${!this.noFlip}" shift auto-size="vertical" auto-size-padding="10"><slot name="trigger" slot="anchor" part="trigger" class="block" @click="${this.handleTriggerClick}" @keydown="${this.handleTriggerKeyDown}" @keyup="${this.handleTriggerKeyUp}" @slotchange="${this.handleTriggerSlotChange}"></slot><slot part="panel" class="${k("panel-color-border border shadow bg-white block",this.open?"pointer-events-auto":"pointer-events-none",this.rounded&&"rounded-md")}" aria-hidden="${this.open?"false":"true"}" aria-labelledby="dropdown"></slot></sd-6-0-0-next-20-popup>`}};n.styles=[...d.styles,y`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
4
+ :host{display:inline-block}#dropdown::part(popup){z-index:var(--sd-z-index-dropdown,900)}#dropdown[data-current-placement^=top]::part(popup){transform-origin:bottom}#dropdown[data-current-placement^=bottom]::part(popup){transform-origin:top}#dropdown[data-current-placement^=left]::part(popup){transform-origin:100%}#dropdown[data-current-placement^=right]::part(popup){transform-origin:0}:host(:not([no-auto-size])) ::slotted(:not([slot=trigger])){overflow:auto;max-width:var(--auto-size-available-width)!important;max-height:var(--auto-size-available-height)!important}`],i([r("#dropdown")],n.prototype,"popup",2),i([r("[part=trigger]")],n.prototype,"trigger",2),i([r("[part=panel]")],n.prototype,"panel",2),i([o({type:Boolean,reflect:!0})],n.prototype,"open",2),i([o({type:Boolean,reflect:!0})],n.prototype,"rounded",2),i([o({type:String,reflect:!0})],n.prototype,"placement",2),i([o({type:Boolean,reflect:!0})],n.prototype,"disabled",2),i([o({attribute:"stay-open-on-select",type:Boolean,reflect:!0})],n.prototype,"stayOpenOnSelect",2),i([o({type:Object})],n.prototype,"containingElement",2),i([o({type:Number,reflect:!0})],n.prototype,"distance",2),i([o({type:Number,reflect:!0})],n.prototype,"skidding",2),i([o({type:Boolean,reflect:!0,attribute:"no-auto-size"})],n.prototype,"noAutoSize",2),i([o({type:Boolean,reflect:!0,attribute:"no-flip"})],n.prototype,"noFlip",2),i([o({type:Boolean,reflect:!0})],n.prototype,"hoist",2),i([E("open",{waitUntilFirstUpdate:!0})],n.prototype,"handleOpenChange",1),n=i([w("sd-6-0-0-next-20-dropdown")],n);h("dropdown.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});h("dropdown.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{n as a};
@@ -0,0 +1,2 @@
1
+ import{a as d}from"./chunk.CGQ2BPPZ.js";import{a as y}from"./chunk.IQPMMUES.js";import{a as s}from"./chunk.YFQFOIEM.js";import{a as c,b as o,d as u,h as l}from"./chunk.77FHAJLL.js";import{b as p,e as r}from"./chunk.763RLJEK.js";import{e as a}from"./chunk.6EV4YU6C.js";var e=class extends l{constructor(){super(...arguments);this.localize=new y(this);this.playing=!1;this.isBelowBreakpoint=!1;this.hasSlotController=new d(this,"[default]","play-icon","poster")}get poster(){let t=this.shadowRoot.querySelector("slot[name=poster]");return(t==null?void 0:t.assignedElements().length)>0?t.assignedElements()[0]:null}get video(){return this.querySelector("video")}async hidePoster(){this.poster instanceof HTMLImageElement&&(this.poster.style.opacity="0",await new Promise(t=>setTimeout(t,this.token("--sd-duration-medium",300))),this.poster.style.display="none")}setVideoInert(t){var i,n;t?(i=this.video)==null||i.setAttribute("inert",""):(n=this.video)==null||n.removeAttribute("inert")}play(){var t;this.emit("sd-play"),this.playing=!0,(t=this.video)==null||t.play(),this.hidePoster(),this.setVideoInert(!1)}handleKeydown(t){t instanceof KeyboardEvent&&(t.key==="Enter"||t.key===" ")&&(this.play(),setTimeout(()=>{var i;(i=this.video)==null||i.focus()}))}handleButtonResize(){this.hostEl.clientWidth<=414&&!this.isBelowBreakpoint&&(this.isBelowBreakpoint=!0),this.hostEl.clientWidth>414&&this.isBelowBreakpoint&&(this.isBelowBreakpoint=!1)}connectedCallback(){super.connectedCallback(),this.setVideoInert(!0),this.resizeObserver=new ResizeObserver(()=>this.handleButtonResize()),this.updateComplete.then(()=>{this.resizeObserver.observe(this.hostEl)})}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver.unobserve(this.hostEl)}render(){return r`<div part="base" class="cursor-pointer"><button part="play-button" aria-label="${this.localize.term("playVideo")}" tabindex="0" @click="${this.play}" @keydown="${this.handleKeydown}" class="${s(this.playing&&"pointer-events-none","group w-full h-full absolute top-0 left-0 z-30 sd-interactive outline-hidden focus-visible:focus-outline")}"><div part="play-button-bg" class="${s(this.playing?"opacity-0":"opacity-100",this.isBelowBreakpoint?"w-[48px] h-[48px]":"w-[96px] h-[96px]","absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 p-4 bg-white/75 rounded-full play-pause-transition group-focus-visible:outline-2 group-focus-visible:outline-offset-2")}"><slot name="play-icon" part="play-icon" class="${s(this.isBelowBreakpoint?"text-[2rem]":"text-[4rem]")}"><sd-6-0-0-next-20-icon id="default-play-icon" library="_internal" name="start"></sd-6-0-0-next-20-icon></slot></div></button> ${this.hasSlotController.test("poster")?r`<div part="poster-wrapper" class="absolute left-0 top-0 w-full z-10 overflow-hidden"><slot name="poster" role="presentation"></slot></div>`:null}<slot></slot></div>`}};e.styles=[...l.styles,p`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
+ :host{position:relative;display:inline-block;overflow:hidden}.play-pause-transition,::slotted([slot=poster]){--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y);transition-property:opacity,scale;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,150ms));--tw-duration:var(--sd-duration-medium, 300ms);transition-duration:var(--sd-duration-medium,300ms);--tw-ease:var(--ease-in-out, cubic-bezier(0.4, 0, 0.2, 1));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}#default-play-icon,::slotted([slot=play-icon]){position:absolute;top:calc(1/2 * 100%);left:calc(1/2 * 100%);--tw-translate-x:calc(calc(1/2 * 100%) * -1)!important;--tw-translate-y:calc(calc(1/2 * 100%) * -1)!important;translate:var(--tw-translate-x) var(--tw-translate-y)!important;transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}:has([part=play-button]:hover) ::slotted([slot=poster]){--tw-scale-x:110%!important;--tw-scale-y:110%!important;--tw-scale-z:110%!important;scale:var(--tw-scale-x) var(--tw-scale-y)!important}[part=play-button-bg]{color:rgba(var(--sd-video--play-button-color-icon-fill));background-color:rgba(var(--sd-video--play-button-color-background))}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}`],a([u("[part=base]")],e.prototype,"hostEl",2),a([o({type:Boolean,reflect:!0})],e.prototype,"playing",2),a([o({type:Boolean})],e.prototype,"isBelowBreakpoint",2),e=a([c("sd-6-0-0-next-20-video")],e);export{e as a};
@@ -0,0 +1,2 @@
1
+ function h(d,{setValueOnSelection:l,scrollSelectionIntoView:p}={setValueOnSelection:!0,scrollSelectionIntoView:!0}){let r=d?typeof d=="string"?document.querySelector(d):d:document.querySelector("#autoComplete"),n=r.shadowRoot.querySelector("input"),c=e=>e[0];return n.addEventListener("init",()=>{var a,s;let e=(a=r.shadowRoot)==null?void 0:a.querySelector("ul");e==null||e.setAttribute("part","listbox");let t=document.createElement("sd-6-0-0-next-20-popup");t.appendChild(e),(s=r.shadowRoot)==null||s.appendChild(t),t==null||t.setAttribute("exportparts","popup__content"),t&&(t.active=!1,t.autoSize="vertical",t.autoSizePadding=16,t.placement="bottom-start",t.anchor=r,t.sync="width");let i=c`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
+ sd-6-0-0-next-20-popup::part(popup){z-index:var(--sd-z-index-dropdown,900);overflow-y:scroll;border-bottom-right-radius:var(--sd-radius);border-bottom-left-radius:var(--sd-radius);border-style:var(--tw-border-style);border-width:var(--sd-border-width-2);border-top-style:var(--tw-border-style);border-top-width:0;border-color:rgba(var(--sd-color-border-primary));background-color:rgba(var(--sd-color-background-white));padding-inline:var(--sd-spacing-2);padding-block:var(--sd-spacing-3);--tw-shadow:var(--sd-shadow);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}sd-6-0-0-next-20-popup li{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,150ms))}sd-6-0-0-next-20-popup li:hover:not([disabled]){background-color:rgba(var(--sd-color-background-neutral-100))}sd-6-0-0-next-20-popup li{list-style-type:''}sd-6-0-0-next-20-popup li mark{background-color:transparent;--tw-font-weight:var(--sd-font-weight-bold);font-weight:var(--sd-font-weight-bold)}sd-6-0-0-next-20-popup li:not(:has(sd-6-0-0-next-20-option)){cursor:pointer;padding-inline:var(--sd-spacing-4);padding-block:var(--sd-spacing-3);font-size:var(--sd-text-base);line-height:var(--tw-leading,var(--text-base--line-height,calc(1.5 / 1)));color:rgba(var(--sd-color-text-black))}sd-6-0-0-next-20-popup li:not(:has(sd-6-0-0-next-20-option)):hover{background-color:rgba(var(--sd-color-background-neutral-200))}sd-6-0-0-next-20-popup li[aria-selected=true]{background-color:rgba(var(--sd-color-background-neutral-200))}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@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}@property --tw-font-weight{syntax:"*";inherits:false}`,o=new CSSStyleSheet;o.replaceSync(i),r.shadowRoot.adoptedStyleSheets=[...r.shadowRoot.adoptedStyleSheets,o]}),l&&n.addEventListener("selection",e=>{var t;r.value=(t=e==null?void 0:e.detail)==null?void 0:t.selection.value}),n.addEventListener("open",()=>{var e,t,i,o,a,s;(t=(e=r.shadowRoot)==null?void 0:e.querySelector("sd-6-0-0-next-20-popup"))==null||t.setAttribute("active","true"),(o=(i=r.shadowRoot)==null?void 0:i.querySelector('[part="border"]'))==null||o.classList.add("rounded-b-none"),(s=(a=r.shadowRoot)==null?void 0:a.querySelector('[part="form-control"]'))==null||s.classList.add("z-50")}),n.addEventListener("close",()=>{var e,t,i,o,a,s;(t=(e=r.shadowRoot)==null?void 0:e.querySelector("sd-6-0-0-next-20-popup"))==null||t.removeAttribute("active"),(o=(i=r.shadowRoot)==null?void 0:i.querySelector('[part="border"]'))==null||o.classList.remove("rounded-b-none"),(s=(a=r.shadowRoot)==null?void 0:a.querySelector('[part="form-control"]'))==null||s.classList.remove("z-50")}),p&&n.addEventListener("navigate",()=>{let e=r.shadowRoot.querySelector('[aria-selected="true"]');e==null||e.scrollIntoView({block:"nearest"})}),{config:{selector:()=>n,resultsList:{tag:"ul"},wrapper:!1}}}export{h as a};
@@ -1 +1 @@
1
- var p=t=>Array.from(t.assignedElements({flatten:!0})),o=t=>t.tagName.toLocaleLowerCase()==="sd-6-0-0-next-2-option"?t:Array.from(t.querySelectorAll(":scope > sd-6-0-0-next-2-option")),e=t=>t.tagName.toLocaleLowerCase()==="sd-6-0-0-next-2-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-6-0-0-next-20-option"?t:Array.from(t.querySelectorAll(":scope > sd-6-0-0-next-20-option")),e=t=>t.tagName.toLocaleLowerCase()==="sd-6-0-0-next-20-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};
@@ -0,0 +1,2 @@
1
+ import{a}from"./chunk.3MADQ6HK.js";import{b as U}from"./chunk.JS2HQ2N4.js";import{a as G}from"./chunk.CGQ2BPPZ.js";import{a as K}from"./chunk.IQPMMUES.js";import{a as O}from"./chunk.YFQFOIEM.js";import{a as Y}from"./chunk.NYKJXI3Q.js";import{a as W,b,c as x,d as q,h as H}from"./chunk.77FHAJLL.js";import{b as N,e as V,i as R}from"./chunk.763RLJEK.js";import{e as h}from"./chunk.6EV4YU6C.js";var B={fromAttribute(E){if(!E)return null;let t=E.trim().replace(/[./]/g,"-").match(/^(\d{4})-(\d{2})-(\d{2})$/);if(!t)return null;let e=`${t[1]}-${t[2]}-${t[3]}`,s=new Date(+t[1],+t[2]-1,+t[3]);return s.getFullYear()!==+t[1]||s.getMonth()!==+t[2]-1||s.getDate()!==+t[3]?null:e},toAttribute(E){return E!=null?E:""}},_={fromAttribute(E){if(!E)return[];let z=[],t=E.trim();if(t.startsWith("["))try{let s=JSON.parse(t);Array.isArray(s)&&(z=s.map(String))}catch(s){return[]}else z=t.split(/[\s,]+/).map(s=>s.trim()).filter(Boolean);let e=[];for(let s of z){let n=s.replace(/[-/]/g,".").split(".");if(n.length!==3)continue;let[l,u,f]=n.map(Number);if(!l||!u||!f)continue;let v=new Date(l,u-1,f);if(v.getFullYear()!==l||v.getMonth()!==u-1||v.getDate()!==f)continue;let d=`${l}-${String(u).padStart(2,"0")}-${String(f).padStart(2,"0")}`;e.push(d)}return e},toAttribute(E){return E?E.join(","):""}},o=class extends H{constructor(){super();this.localize=new K(this);this.hasSlotController=new G(this,"label","help-text","tooltip");this.formControlController=new U(this,{assumeInteractionOn:["sd-blur","sd-6-0-0-next-20-input"]});this.locale="en-US";this.value=null;this.range=!1;this.rangeStart=null;this.rangeEnd=null;this.allowSameDayRange=!1;this.min=void 0;this.max=void 0;this.firstDayOfWeek=null;this.disabledWeekends=!1;this.disabledDates=[];this.isDateDisabled=null;this.size="lg";this.alignment="left";this.label="";this.helpText="";this.disabled=!1;this.required=!1;this.visuallyDisabled=!1;this.styleOnValid=!1;this.readonly=!1;this.placement="bottom";this.placeholder="";this.name="";this.form="";this.open=!1;this.today=a.startOfDayLocal(new Date);this.disabledDatesSet=new Set;this.previewEnd=null;this.statusNavText="";this.statusSelectText="";this.hasFocus=!1;this.showValidStyle=!1;this.showInvalidStyle=!1;this.currentPlacement=this.placement;this.inputValue="";this.tabbingIntoGrid=!1;this.statusBumpCounter=0;this.onFocusOut=t=>{let e=t.relatedTarget;e&&this.contains(e)||(this.open&&(this.hide(),this.emit("sd-datepicker-close")),this.hasFocus=!1)};this.onFocusIn=t=>{if(this.disabled||this.visuallyDisabled)return;t.composedPath().some(i=>{var n,l;return i instanceof HTMLElement&&(((n=i.classList)==null?void 0:n.contains("nav"))||((l=i.classList)==null?void 0:l.contains("month-label")))})&&(this.tabbingIntoGrid=!0)};this.handleInput=t=>{var l,u,f,v,d;if(this.disabled||this.visuallyDisabled){(l=t.preventDefault)==null||l.call(t),(u=t.stopPropagation)==null||u.call(t);return}let e=t.target,s=e.value,i=(f=e.selectionStart)!=null?f:s.length,n=(v=t.inputType)==null?void 0:v.startsWith("delete");if(this.range){let c=s.replace(/\D/g,""),r=c.slice(0,8),p=c.slice(8,16),m=this.buildDmyFromDigits(r),S=this.buildDmyFromDigits(p),M;r.length===0?M="":r.length<8?M=m:p.length>0?M=`${m} - ${S}`:M=n?m:`${m} -`;let I=this.countDigitsBeforeCaret(s,i),y;if(I<=8){let g=this.digitIndexToDmyCaretPos(Math.min(I,8));y=Math.min(g,m.length)}else{let g=r.length<8?m.length:m.length+3,D=Math.min(I-8,8),$=this.digitIndexToDmyCaretPos(D);y=g+Math.min($,S.length)}this.inputValue=M;let L=!1;if(/^\d{2}\.\d{2}\.\d{4}$/.test(m)){let g=this.dmyToIso(m),D=g?a.parseLocalISO(g):null;!!D&&!this.isDisabled(D)&&this.inMinMax(D)&&this.rangeStart!==g&&(this.rangeStart=g,this.previewEnd=null,this.viewMonth=new Date(D.getFullYear(),D.getMonth(),1),this.focusedDate=a.startOfDayLocal(D),L=!0)}else this.rangeStart&&(this.rangeStart=null,L=!0),this.rangeEnd&&(this.rangeEnd=null,L=!0);if(/^\d{2}\.\d{2}\.\d{4}$/.test(S)&&this.rangeStart){let g=a.parseLocalISO(this.rangeStart),D=this.dmyToIso(S),$=D?a.parseLocalISO(D):null;if(!!$&&!this.isDisabled($)&&this.inMinMax($)){let[k,C]=a.compareDates(g,$)<=0?[g,$]:[$,g],A=a.isSameDay(k,C);if((this.allowSameDayRange||!A)&&!this.wouldRangeContainDisabled(k,C)){let F=a.toLocalISODate(a.startOfDayLocal(k)),P=a.toLocalISODate(a.startOfDayLocal(C));(this.rangeStart!==F||this.rangeEnd!==P)&&(this.rangeStart=F,this.rangeEnd=P,this.viewMonth=new Date(C.getFullYear(),C.getMonth(),1),this.focusedDate=a.startOfDayLocal(C),L=!0)}}}else this.rangeEnd&&(this.rangeEnd=null,L=!0);this.showInvalidStyle=!1,this.showValidStyle=!!(this.rangeStart&&this.rangeEnd),L&&(this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}}),this.emit("sd-change",{detail:{value:this.value,rangeStart:this.rangeStart,rangeEnd:this.rangeEnd}})),Promise.resolve().then(()=>{requestAnimationFrame(()=>{var D;let g=(D=this.input)!=null?D:e;g&&(g.value=this.inputValue,g.setSelectionRange(y,y))})})}else{let c=e,r=c.value,p=(d=c.selectionStart)!=null?d:r.length,m=r.replace(/\D/g,"").slice(0,8),S=m.slice(0,2),M=m.slice(2,4),I=m.slice(4,8),y="";S.length>0&&(y+=S,S.length===2&&(y+=".")),M.length>0&&S.length===2&&(y+=M,M.length===2&&(y+=".")),I.length>0&&S.length===2&&M.length===2&&(y+=I),y=y.replace(/\.\.+/g,".");let L=this.inputValue||"";this.inputValue=y;let g=p,D=w=>{let F=[];for(let P=0;P<w.length;P++)w[P]==="."&&F.push(P);return F},$=D(L),T=D(y),k=$.filter(w=>w<p).length,A=T.filter(w=>w<p).length-k;if(A>0?g+=A:!$.includes(p)&&T.includes(p)&&(g+=1),g=Math.min(Math.max(0,g),y.length),requestAnimationFrame(()=>{var F;let w=(F=this.input)!=null?F:c;w&&(w.value=this.inputValue,w.setSelectionRange(g,g))}),/^\d{2}\.\d{2}\.\d{4}$/.test(y)){let w=this.parseInputText(y);this.applyParsedInput(w)}else this.showInvalidStyle=!1,this.showValidStyle=!1;return}if(!this.open&&this.hasFocus&&!this.disabled&&!this.visuallyDisabled&&this.show(),this.range){let c=this.rangeStart?a.parseLocalISO(this.rangeStart):null,r=this.rangeEnd?a.parseLocalISO(this.rangeEnd):null;c&&!r?this.setNavStatus(`${this.termStartSelected()}: ${this.formatSelectionLabel(c)}`):c&&r&&this.setNavStatus(`${this.termStartSelected()}: ${this.formatSelectionLabel(c)}; ${this.termEndSelected()}: ${this.formatSelectionLabel(r)}`)}else if(this.value){let c=a.parseLocalISO(this.value);this.setNavStatus(`${this.formatSelectionLabel(c)}`)}};this.handleInputBlur=()=>{if(this.disabled||this.visuallyDisabled){this.handleBlur();return}let t=this.parseInputText(this.inputValue);t.valid?this.applyParsedInput(t):(this.inputValue=this.formatInputValue(),this.showInvalidStyle=!!this.inputValue&&!this.value&&!this.rangeStart),this.handleBlur()};this.handleCurrentPlacement=t=>{this.currentPlacement=t.detail.placement};this.handleHeaderKeyDown=(t,e,s,i)=>{if(t.key==="Tab"&&!t.shiftKey){i&&(t.preventDefault(),t.stopPropagation(),this.tabbingIntoGrid=!0,this.focusInitialGridDay());return}(t.key==="Enter"||t.key===" ")&&(t.preventDefault(),t.stopPropagation(),e==="month"?this.setMonth(s):this.setYear(s))};this.onKeyDown=t=>{if(this.disabled||this.visuallyDisabled){t.preventDefault(),t.stopPropagation();return}let e=t.key,s=!0,i=new Date(this.focusedDate);switch(e){case"ArrowLeft":i.setDate(i.getDate()-1);break;case"ArrowRight":i.setDate(i.getDate()+1);break;case"ArrowUp":i.setDate(i.getDate()-7);break;case"ArrowDown":i.setDate(i.getDate()+7);break;case"Escape":{this.previewEnd?(this.previewEnd=null,this.setNavStatus(this.localize.term("selectionCleared"))):this.range&&this.rangeStart&&!this.rangeEnd&&(this.rangeStart=null,this.setNavStatus(this.localize.term("selectionCleared")),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}})),this.open&&(this.hide(),this.emit("sd-datepicker-close"));break}case"Enter":case" ":this.selectDate(this.focusedDate);break;default:s=!1}if(s){if(t.preventDefault(),i.getMonth()!==this.viewMonth.getMonth()||i.getFullYear()!==this.viewMonth.getFullYear()){this.viewMonth=new Date(i.getFullYear(),i.getMonth(),1);let f=this.formatMonthYear(this.viewMonth);this.setNavStatus(f)}let l=a.startOfDayLocal(i);(!this.focusedDate||l.getTime()!==this.focusedDate.getTime())&&(this.focusedDate=l);let u=l.toLocaleDateString(this.locale,{weekday:"long",day:"numeric",month:"long",year:"numeric"});this.setNavStatus(u),this.requestUpdate(),requestAnimationFrame(()=>{let f=this.shadowRoot,v=f==null?void 0:f.querySelector("button.day.focused");v==null||v.focus({preventScroll:!0})})}};this.handleInputKeyDown=t=>{if((this.disabled||this.visuallyDisabled)&&t.key!=="Tab"){t.preventDefault(),t.stopPropagation();return}if(!(t.key==="ArrowLeft"||t.key==="ArrowRight"||t.key==="ArrowUp"||t.key==="ArrowDown"||t.key==="Home"||t.key==="End"||t.key==="PageUp"||t.key==="PageDown")){if(t.key==="Escape"&&this.open){t.preventDefault(),this.hide(),this.emit("sd-datepicker-close");return}t.key==="Enter"&&!this.open&&!this.disabled&&!this.visuallyDisabled&&(t.preventDefault(),this.show())}};this.handleOutsideClick=this.handleOutsideClick.bind(this)}connectedCallback(){super.connectedCallback(),this.syncDisabledDatesSet(),document.addEventListener("click",this.handleOutsideClick),this.addEventListener("focusout",this.onFocusOut),this.updateComplete.then(()=>{this.formControlController.updateValidity()});let t=this.value?a.parseLocalISO(this.value):null,e=this.rangeStart?a.parseLocalISO(this.rangeStart):null,s=this.range&&e?e:t!=null?t:a.startOfDayLocal(new Date);this.viewMonth=new Date(s.getFullYear(),s.getMonth(),1),this.focusedDate=a.clampDateToMonth(s,this.viewMonth),(this.firstDayOfWeek===null||this.firstDayOfWeek===void 0)&&(this.firstDayOfWeek=1),this.inputValue=this.formatInputValue(),this.setAttribute("role","group"),this.setAttribute("aria-label",this.range?this.localize.term("datePickerRange"):this.localize.term("datePicker")),this.addEventListener("focusin",this.onFocusIn)}firstUpdated(){this.formControlController.updateValidity()}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focusin",this.onFocusIn),this.removeEventListener("focusout",this.onFocusOut),document.removeEventListener("click",this.handleOutsideClick)}handleLocaleChange(){this.firstDayOfWeek===null&&(this.firstDayOfWeek=1),this.requestUpdate()}handleDisabledDatesChange(){this.syncDisabledDatesSet(),this.requestUpdate()}handleValueChange(){let t=this.value?a.parseLocalISO(this.value):null;t&&(this.viewMonth=new Date(t.getFullYear(),t.getMonth(),1),this.focusedDate=a.startOfDayLocal(t)),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var s;let e=this.input;if(e){e.value=(s=this.inputValue)!=null?s:"";let i=e.value.length;e.setSelectionRange(i,i)}this.formControlController.updateValidity()}),this.emit("sd-change",{detail:{value:this.value,rangeStart:this.rangeStart,rangeEnd:this.rangeEnd}})}handleRangeChange(){let t=this.rangeStart?a.parseLocalISO(this.rangeStart):null,e=this.rangeEnd?a.parseLocalISO(this.rangeEnd):null,s=t!=null?t:e;s&&(this.viewMonth=new Date(s.getFullYear(),s.getMonth(),1),this.focusedDate=a.startOfDayLocal(s)),this.previewEnd!==null&&(this.previewEnd=null),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var n;let i=this.input;if(i){i.value=(n=this.inputValue)!=null?n:"";let l=i.value.length;i.setSelectionRange(l,l)}this.formControlController.updateValidity()}),this.emit("sd-change",{detail:{value:this.value,rangeStart:this.rangeStart,rangeEnd:this.rangeEnd}})}handleDisabledChange(){this.formControlController.setValidity(this.disabled),(this.disabled||this.visuallyDisabled)&&(this.open=!1)}get validity(){let t={valid:!0};return this.input instanceof HTMLInputElement?this.input.validity:t}get validationMessage(){return(this.input instanceof HTMLInputElement?this.input.validationMessage:"")||""}checkValidity(){return this.input instanceof HTMLInputElement?this.input.checkValidity():!0}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input instanceof HTMLInputElement?this.input.reportValidity():!0}setCustomValidity(t){var e;(e=this.input)==null||e.setCustomValidity(t),this.formControlController.updateValidity()}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}parseISO(t){return a.parseLocalISO(t)}inMinMax(t){let e=this.min===null?null:this.parseISO(String(this.min)),s=this.max===null?null:this.parseISO(String(this.max));return!(e&&t<e||s&&t>s)}isInDisabledDates(t){if(!this.disabledDatesSet||this.disabledDatesSet.size===0)return!1;let e=t.getFullYear(),s=String(t.getMonth()+1).padStart(2,"0"),i=String(t.getDate()).padStart(2,"0"),n=`${e}-${s}-${i}`;return this.disabledDatesSet.has(n)}isWeekend(t){let e=t.getDay();return e===0||e===6}isDisabled(t){var e;return!!(!this.inMinMax(t)||this.disabledWeekends&&this.isWeekend(t)||this.isInDisabledDates(t)||(e=this.isDateDisabled)!=null&&e.call(this,t))}setNavStatus(t){this.statusNavText=t}announceSelect(t,e=40){setTimeout(()=>{this.statusBumpCounter++;let s="\u200B".repeat(this.statusBumpCounter%3);this.statusSelectText=t+s},e)}formatSelectionLabel(t){if(this.locale==="de-DE")return t.toLocaleDateString("de-DE",{day:"numeric",month:"long",year:"numeric"});let e=t.getDate(),s=this.ordinal(e),i=t.toLocaleDateString("en-US",{month:"long"}),n=t.getFullYear();return`${s} of ${i} ${n}`}ordinal(t){let e=["th","st","nd","rd"],s=t%100,i=e[(s-20)%10]||e[s]||e[0];return t+i}syncDisabledDatesSet(){let t=[];if(Array.isArray(this.disabledDates))t=this.disabledDates;else if(typeof this.disabledDates=="string"){let e=this.disabledDates.trim();if(e.startsWith("["))try{let s=JSON.parse(e);Array.isArray(s)&&(t=s)}catch(s){t=[]}else e.length>0&&(t=e.split(",").map(s=>s.trim()).filter(Boolean))}this.disabledDatesSet=new Set(t)}wouldRangeContainDisabled(t,e){let s=a.compareDates(t,e)<=0?a.startOfDayLocal(t):a.startOfDayLocal(e),i=a.compareDates(t,e)<=0?a.startOfDayLocal(e):a.startOfDayLocal(t),n=new Date(s);for(;a.compareDates(n,i)<=0;){if(this.isDisabled(n))return!0;n.setDate(n.getDate()+1)}return!1}termStartSelected(){var t,e;return(e=(t=this.localize)==null?void 0:t.term)==null?void 0:e.call(t,"startDateSelected")}termEndSelected(){var t,e;return(e=(t=this.localize)==null?void 0:t.term)==null?void 0:e.call(t,"endDateSelected")}isoToDmy(t){if(!t)return"";let e=a.parseLocalISO(t);if(e||(e=a.parseLocalISO(t.replace(/-/g,"."))),!e)return"";let s=String(e.getDate()).padStart(2,"0"),i=String(e.getMonth()+1).padStart(2,"0"),n=String(e.getFullYear());return`${s}.${i}.${n}`}dmyToIso(t){if(!t)return null;let e=t.match(/^(\d{2})\.(\d{2})\.(\d{4})$/);if(!e)return null;let s=Number(e[1]),i=Number(e[2]),n=Number(e[3]),l=new Date(n,i-1,s);if(l.getFullYear()!==n||l.getMonth()!==i-1||l.getDate()!==s)return null;let u=a.startOfDayLocal(l);return a.toLocalISODate(u)}formatInputValue(){let t=(this.locale||"").toLowerCase(),e=(this.getAttribute("lang")||"").toLowerCase(),i=t.startsWith("de")||e.startsWith("de")?"\u2013":"-";if(!this.range)return this.isoToDmy(this.value);let n=this.isoToDmy(this.rangeStart),l=this.isoToDmy(this.rangeEnd);return n&&l?`${n} ${i} ${l}`:n&&!l?`${n} ${i}`:""}parseInputText(t){var i,n;let e=t.trim();if(this.range){let l=e.split(/\s*-\s*/);if(l.length===1){let u=l[0];if(!u)return{start:null,end:null,valid:!0};let f=this.dmyToIso(u);return f?{start:f,end:null,valid:!0}:{start:null,end:null,valid:!1}}else if(l.length>=2){let u=(i=l[0])!=null?i:"",f=(n=l[1])!=null?n:"",v=u?this.dmyToIso(u):null,d=f?this.dmyToIso(f):null;return u&&!v?{start:null,end:null,valid:!1}:f&&!d?{start:null,end:null,valid:!1}:{start:v,end:d,valid:!0}}return{start:null,end:null,valid:!1}}if(!e)return{single:null,valid:!0};let s=this.dmyToIso(e);return s?{single:s,valid:!0}:{single:null,valid:!1}}applyParsedInput(t){var u,f,v,d;if(!t.valid)return this.showInvalidStyle=!0,this.showValidStyle=!1,this.formControlController.setValidity(!1),!1;let e=c=>{if(!c)return!0;let r=a.parseLocalISO(c);return!(!this.inMinMax(r)||this.isDisabled(r))},s=!1;if(this.range){let c=(u=t.start)!=null?u:null,r=(f=t.end)!=null?f:null;if(!e(c)||r&&!e(r))return this.showInvalidStyle=!0,this.showValidStyle=!1,!1;let p=c?a.parseLocalISO(c):null,m=r?a.parseLocalISO(r):null;if(p&&m){if(a.compareDates(p,m)>0){let I=p;p=m,m=I}if(!this.allowSameDayRange&&a.isSameDay(p,m))return this.showInvalidStyle=!0,this.showValidStyle=!1,!1;if(this.wouldRangeContainDisabled(p,m))return this.showInvalidStyle=!0,this.showValidStyle=!1,!1}let S=p?a.toLocalISODate(a.startOfDayLocal(p)):null,M=m?a.toLocalISODate(a.startOfDayLocal(m)):null;if(this.rangeStart!==S||this.rangeEnd!==M){this.rangeStart=S,this.rangeEnd=M,this.previewEnd=null,s=!0;let I=(v=p!=null?p:m)!=null?v:this.today;this.viewMonth=new Date(I.getFullYear(),I.getMonth(),1),this.focusedDate=a.startOfDayLocal(I),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}})}return this.showInvalidStyle=!1,this.range?this.showValidStyle=!!(this.rangeStart&&this.rangeEnd&&this.styleOnValid):this.showValidStyle=!!(this.value&&this.styleOnValid),this.formControlController.setValidity(!0),this.updateComplete.then(()=>{this.formControlController.updateValidity()}),!0}let i=(d=t.single)!=null?d:null;if(!e(i))return this.input.setCustomValidity(this.localize.term("datePickerRange")),this.formControlController.setValidity(!1),this.showInvalidStyle=!0,this.showValidStyle=!1,!1;let n=i?a.parseLocalISO(i):null,l=n?a.toLocalISODate(a.startOfDayLocal(n)):null;return this.value!==l&&(this.value=l,s=!0,n&&(this.viewMonth=new Date(n.getFullYear(),n.getMonth(),1),this.focusedDate=a.startOfDayLocal(n)),this.emit("sd-select",{detail:{value:this.value,date:n!=null?n:null}})),this.showInvalidStyle=!1,this.showValidStyle=!!this.value,this.inputValue=this.formatInputValue(),s}buildDmyFromDigits(t){let e=t.slice(0,8),s=e.slice(0,2),i=e.slice(2,4),n=e.slice(4,8),l=s;return i.length&&(l+="."+i),n.length&&(l+="."+n),l}digitIndexToDmyCaretPos(t){return t<=2?t:t<=4?3+(t-2):6+(t-4)}countDigitsBeforeCaret(t,e){return t.slice(0,e).replace(/\D/g,"").length}handleOutsideClick(t){var s,i;((i=(s=t.composedPath)==null?void 0:s.call(t))!=null?i:[]).includes(this)||(this.hide(),this.hasFocus=!1,this.emit("sd-datepicker-close"))}show(){if(this.open||this.disabled||this.visuallyDisabled){this.open=!1;return}this.open=!0}hide(){if(!this.open||this.disabled){this.open=!1;return}this.open=!1}handleMouseDown(t){if(this.visuallyDisabled||this.disabled){t.preventDefault(),t.stopPropagation();return}t.preventDefault(),this.open||this.show()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleFocus(){this.hasFocus=!0,!this.open&&!this.disabled&&!this.visuallyDisabled&&this.show(),this.emit("sd-focus")}setMonth(t){let e=new Date(this.viewMonth.getFullYear(),this.viewMonth.getMonth()+t,1);if(e.getMonth()===this.viewMonth.getMonth()&&e.getFullYear()===this.viewMonth.getFullYear())return;this.viewMonth=e;let s=this.formatMonthYear(this.viewMonth);this.setNavStatus(s),this.emit("sd-month-change",{detail:{month:this.viewMonth}})}setYear(t){let e=new Date(this.viewMonth.getFullYear()+t,this.viewMonth.getMonth(),1);if(e.getFullYear()===this.viewMonth.getFullYear()&&e.getMonth()===this.viewMonth.getMonth())return;this.viewMonth=e;let s=this.formatMonthYear(this.viewMonth);this.setNavStatus(s),this.emit("sd-month-year",{detail:{month:this.viewMonth}})}focusInitialGridDay(){let t=null;if(!this.range&&this.value){let s=a.parseLocalISO(this.value);s&&(t=a.startOfDayLocal(s))}if(this.range){let s=this.rangeStart?a.parseLocalISO(this.rangeStart):null,i=this.rangeEnd?a.parseLocalISO(this.rangeEnd):null;i?t=a.startOfDayLocal(i):s&&(t=a.startOfDayLocal(s))}if(!(s=>s?s.getFullYear()===this.viewMonth.getFullYear()&&s.getMonth()===this.viewMonth.getMonth()&&!this.isDisabled(s):!1)(t)){let{weeks:s}=this.getMonthMatrix(this.viewMonth),i=s.flat().find(n=>n.getMonth()===this.viewMonth.getMonth()&&a.isSameDay(n,this.today)&&!this.isDisabled(n));if(i)t=a.startOfDayLocal(i);else{let n=s.flat().find(l=>l.getMonth()===this.viewMonth.getMonth()&&!this.isDisabled(l));t=n?a.startOfDayLocal(n):null}}t&&(this.focusedDate=t),this.requestUpdate(),requestAnimationFrame(()=>{let s=this.shadowRoot,i=(s==null?void 0:s.querySelector("button.day.selected"))||(s==null?void 0:s.querySelector("button.day.focused"))||(s==null?void 0:s.querySelector('button.day[tabindex="0"]'))||(s==null?void 0:s.querySelector("button.day"));i==null||i.focus({preventScroll:!0})})}selectSingleDate(t){if(this.isDisabled(t))return;let e=a.startOfDayLocal(t),s=a.toLocalISODate(e);if(this.value===s)return;this.value=s;let i=`${this.formatSelectionLabel(e)}, ${this.localize.term("selected")}`;this.announceSelect(i),this.emit("sd-select",{detail:{value:this.value,date:e}}),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var l;let n=this.input;n&&(n.value=(l=this.inputValue)!=null?l:"",Promise.resolve().then(()=>{requestAnimationFrame(()=>{let u=n.value.length;n.setSelectionRange(u,u)})}))})}selectRangeDate(t){let e=a.startOfDayLocal(t),s=this.rangeStart?a.parseLocalISO(this.rangeStart):null,i=this.rangeEnd?a.parseLocalISO(this.rangeEnd):null;if(!s&&!i){if(this.isDisabled(e))return;this.rangeStart=a.toLocalISODate(e),this.rangeEnd=null,this.previewEnd=null;let n=this.formatSelectionLabel(e);this.announceSelect(`${this.termStartSelected()}: ${n}`,40),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}}),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var u;let l=this.input;l&&(l.value=(u=this.inputValue)!=null?u:"",Promise.resolve().then(()=>{requestAnimationFrame(()=>{let f=l.value.length;l.setSelectionRange(f,f)})}))});return}if(s&&!i){if(this.isDisabled(e))return;if(a.isSameDay(s,e)){if(!this.allowSameDayRange){this.rangeStart=a.toLocalISODate(e),this.rangeEnd=null,this.previewEnd=null;let c=this.formatSelectionLabel(e);this.announceSelect(`${this.termStartSelected()}: ${c}`,40),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}}),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var p;let r=this.input;r&&(r.value=(p=this.inputValue)!=null?p:"",Promise.resolve().then(()=>{requestAnimationFrame(()=>{let m=r.value.length;r.setSelectionRange(m,m)})}))});return}this.rangeStart=a.toLocalISODate(e),this.rangeEnd=a.toLocalISODate(e),this.previewEnd=null;let d=this.formatSelectionLabel(e);this.announceSelect(`${this.termStartSelected()}: ${d}`,40),this.announceSelect(`${this.termEndSelected()}: ${d}`,140),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}}),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var r;let c=this.input;c&&(c.value=(r=this.inputValue)!=null?r:"",Promise.resolve().then(()=>{requestAnimationFrame(()=>{let p=c.value.length;c.setSelectionRange(p,p)})}))});return}let n=a.parseLocalISO(this.rangeStart);if(this.wouldRangeContainDisabled(n,e))return;let[l,u]=a.compareDates(n,e)<=0?[n,e]:[e,n];this.rangeStart=a.toLocalISODate(l),this.rangeEnd=a.toLocalISODate(u),this.previewEnd=null;let f=this.formatSelectionLabel(l),v=this.formatSelectionLabel(u);this.announceSelect(`${this.termStartSelected()}: ${f}`,40),this.announceSelect(`${this.termEndSelected()}: ${v}`,140),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}}),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var c;let d=this.input;d&&(d.value=(c=this.inputValue)!=null?c:"",Promise.resolve().then(()=>{requestAnimationFrame(()=>{let r=d.value.length;d.setSelectionRange(r,r)})}))});return}if(s&&i){if(this.isDisabled(e))return;this.rangeStart=a.toLocalISODate(e),this.rangeEnd=null,this.previewEnd=null;let n=this.formatSelectionLabel(e);this.announceSelect(`${this.termStartSelected()}: ${n}`,40),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}}),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var u;let l=this.input;l&&(l.value=(u=this.inputValue)!=null?u:"",Promise.resolve().then(()=>{requestAnimationFrame(()=>{let f=l.value.length;l.setSelectionRange(f,f)})}))})}}selectDate(t){this.range?this.selectRangeDate(t):this.selectSingleDate(t)}getMonthMatrix(t){var v;let e=(v=this.firstDayOfWeek)!=null?v:1,s=new Date(t.getFullYear(),t.getMonth(),1),i=new Date(s),n=(s.getDay()-e+7)%7;i.setDate(s.getDate()-n);let l=[],u=i;for(let d=0;d<6;d++){let c=[];for(let r=0;r<7;r++)c.push(new Date(u)),u.setDate(u.getDate()+1);l.push(c)}let f=d=>d.every(c=>c.getMonth()!==t.getMonth());for(;l.length>0&&f(l[l.length-1]);)l.pop();return{weeks:l}}formatMonthYear(t){try{return new Intl.DateTimeFormat(this.locale,{month:"long",year:"numeric"}).format(t)}catch(e){return`${t.toLocaleString(void 0,{month:"long"})} ${t.getFullYear()}`}}weekdayLabels(){var i;let t=(i=this.firstDayOfWeek)!=null?i:1,e=new Date(2021,7,1),s=[];for(let n=0;n<7;n++){let l=new Date(e);l.setDate(e.getDate()+(t+n)%7);try{s.push(new Intl.DateTimeFormat(this.locale,{weekday:"short"}).format(l))}catch(u){s.push(l.toLocaleDateString(void 0,{weekday:"short"}))}}return s}getTabTargetDayForCurrentView(t){let e=t.flat().find(i=>i.getMonth()===this.viewMonth.getMonth()&&a.isSameDay(i,this.today)&&!this.isDisabled(i));if(e)return a.startOfDayLocal(e);let s=t.flat().find(i=>i.getMonth()===this.viewMonth.getMonth()&&!this.isDisabled(i));return s?a.startOfDayLocal(s):null}onDayMouseEnter(t){if(!this.range)return;let e=this.rangeStart?a.parseLocalISO(this.rangeStart):null,s=this.rangeEnd?a.parseLocalISO(this.rangeEnd):null;if(e&&!s){let i=a.startOfDayLocal(t);this.previewEnd=this.isDisabled(i)?null:i,this.requestUpdate()}}onGridMouseLeave(){this.previewEnd!==null&&(this.previewEnd=null,this.requestUpdate())}renderCalendar(){let{weeks:t}=this.getMonthMatrix(this.viewMonth),e=this.formatMonthYear(this.viewMonth),s=this.weekdayLabels(),i=this.value?this.parseISO(this.value):null,n=this.rangeStart?this.parseISO(this.rangeStart):null,l=this.rangeEnd?this.parseISO(this.rangeEnd):null,u=this.previewEnd,f=d=>!this.range||!n||l||!u?!1:a.isBetweenInclusive(d,n,u),v=this.getTabTargetDayForCurrentView(t);return V`<div part="datepicker" class="w-[284px] z-50 absolute top-full bg-white border-2 border-t-0 border-primary py-3 px-4 ${this.open?"block rounded-bl-default rounded-br-default":"hidden"} ${this.alignment==="left"?"left-0":"right-0"}"><div class="flex flex-row items-center w-full justify-between mb-3" part="header"><div class="flex items-center"><button type="button" tabindex="0" class="nav prev w-6 h-6 hover:cursor-pointer sd-interactive" part="prev-year-button" @click="${()=>this.setYear(-1)}" @keydown="${d=>this.handleHeaderKeyDown(d,"year",-1,!1)}" aria-label="${this.localize.term("previousYear")}"><sd-6-0-0-next-20-icon library="_internal" name="chevrons-sm-left" class="h-6 w-6"></sd-6-0-0-next-20-icon></button> <button type="button" tabindex="0" class="nav prev w-6 h-6 hover:cursor-pointer sd-interactive" part="prev-month-button" @click="${()=>this.setMonth(-1)}" @keydown="${d=>this.handleHeaderKeyDown(d,"month",-1,!1)}" aria-label="${this.localize.term("previousMonth")}"><sd-6-0-0-next-20-icon library="_internal" name="chevron-sm-left" class="h-6 w-6"></sd-6-0-0-next-20-icon></button></div><div tabindex="-1" class="month-label flex justify-center sd-headline sd-headline--size-base !text-primary" part="month-label" aria-live="polite">${e}</div><div class="flex items-center"><button type="button" tabindex="0" class="nav next w-6 h-6 hover:cursor-pointer sd-interactive" part="next-month-button" @click="${()=>this.setMonth(1)}" @keydown="${d=>this.handleHeaderKeyDown(d,"month",1,!1)}" aria-label="${this.localize.term("nextMonth")}"><sd-6-0-0-next-20-icon library="_internal" name="chevron-sm-right" class="h-6 w-6"></sd-6-0-0-next-20-icon></button> <button type="button" tabindex="0" class="nav next w-6 h-6 hover:cursor-pointer sd-interactive" part="next-year-button" @click="${()=>this.setYear(1)}" @keydown="${d=>this.handleHeaderKeyDown(d,"year",1,!0)}" aria-label="${this.localize.term("nextYear")}"><sd-6-0-0-next-20-icon library="_internal" name="chevrons-sm-right" class="h-6 w-6"></sd-6-0-0-next-20-icon></button></div></div><sd-6-0-0-next-20-divider></sd-6-0-0-next-20-divider><div class="sr-only" aria-live="polite" aria-atomic="true">${this.statusNavText}</div><div class="sr-only" aria-live="assertive" aria-atomic="true">${this.statusSelectText}</div><div class="sr-only" id="keyboard-hint">${this.localize.term("datePickerInfo")}</div><div class="grid mt-2" role="grid" aria-describedby="keyboard-hint" aria-label="${e}" part="grid" @mouseleave="${this.onGridMouseLeave}" @focusin="${()=>{this.tabbingIntoGrid=!1}}"><div class="grid-row grid-head grid grid-cols-7 gap-y-[1px]" role="row">${s.map((d,c)=>V`<div role="columnheader" aria-colindex="${c+1}" part="weekday" class="cell head flex items-center justify-center font-bold text-black text-sm leading-none h-8" aria-label="${d}" title="${d}" id="${"col-"+(c+1)}">${d}</div>`)}</div>${t.map((d,c)=>V`<div class="grid-row grid grid-cols-7 ${c===0?"mt-2":""}" role="row" aria-rowindex="${c+2}">${d.map((r,p)=>{let m=r.getMonth()===this.viewMonth.getMonth(),S=this.isDisabled(r)||!this.inMinMax(r),M=a.isSameDay(r,this.focusedDate),I=a.isSameDay(r,this.today),y=!this.range&&i?a.isSameDay(r,i):!1,L=this.range&&n?a.isSameDay(r,n):!1,g=this.range&&l?a.isSameDay(r,l):!1,D=this.range&&n&&l?a.isBetweenInclusive(r,n,l):!1,$=f(r)&&!S,T=-1,k=v&&a.isSameDay(r,v);(this.tabbingIntoGrid&&k||!this.tabbingIntoGrid&&M)&&(T=0);let C=this.isWeekend(r),A=r.toLocaleDateString(this.locale,{weekday:"long",day:"numeric",month:"long",year:"numeric"}),w=L?this.localize.term("startDateSelected"):g?this.localize.term("endDateSelected"):void 0;return V`<button type="button" part="day" class="${O("cell day flex items-center justify-center focus-visible:outline focus:outline-2 focus:outline-primary -outline-offset-2 rounded-md w-[36px]",this.size==="sm"?"text-sm h-6":"text-base h-8",L||g?"hover:bg-primary-500":"hover:bg-primary-100 hover:text-primary-500",m?this.isInDisabledDates(r)||!this.inMinMax(r)?"out-month text-neutral-500":this.disabledWeekends&&C?"weekend-day text-neutral-500":"in-month text-primary":this.disabledWeekends&&C?"out-month weekend-day text-neutral-500":C?"out-month weekend-day text-neutral-700":"out-month text-neutral-700",y?"selected border-primary bg-primary text-white hover:bg-primary-500 hover:text-white":"",L?"bg-primary text-white rounded-l-md rounded-r-none":"",g?"bg-primary text-white range-end rounded-r-md rounded-l-none":"",D&&!L&&!g?"in-range selected bg-primary-100 text-primary-500 rounded-none hover:bg-primary-500 hover:text-white":"",!D&&$&&!L&&!g?"in-preview-range bg-primary-100 text-primary-500 rounded-none":"",I&&!y&&!L&&!g&&M?"today border-[1px] border-primary font-bold":"",S?"disabled cursor-not-allowed hover:bg-transparent":"",M&&!I?"focused outline outline-2 outline-primary":"")}" role="gridcell" aria-colindex="${p+1}" aria-labelledby="${"col-"+(p+1)}" .tabIndex="${T}" ?disabled="${S||this.disabled}" aria-disabled="${S||this.visuallyDisabled||this.disabled?"true":"false"}" aria-selected="${y||D||L||g?"true":"false"}" aria-current="${I?"date":R}" aria-label="${A}" aria-roledescription="${w!=null?w:R}" @focus="${()=>this.focusedDate=a.startOfDayLocal(r)}" @mouseenter="${()=>this.onDayMouseEnter(r)}" @keydown="${this.onKeyDown}" @click="${()=>{this.focusedDate=a.startOfDayLocal(r),this.selectDate(r)}}">${r.getDate()}</button>`})}</div>`)}</div></div>`}render(){let t={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text"),tooltip:this.hasSlotController.test("tooltip")},e=this.label?!0:!!t.label,s=this.helpText?!0:!!t.helpText,i=!!t.tooltip,n=this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary",l={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],u={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size],f=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.readonly?"readonly":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={disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",readonly:"border-neutral-800",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"border-neutral-800"}[f],d=this.size==="sm"?"text-sm":"text-base";return V`<div part="form-control" class="${O("min-w-[284px]",this.open&&"z-50",(this.disabled||this.visuallyDisabled)&&"cursor-not-allowed")}">${e||i?V`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${O(e?"inline-block form-control-color-text":"hidden",d)}" for="input" aria-hidden="${e?"false":"true"}"><slot name="label">${this.label}</slot></label> ${t.tooltip?V`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${O("relative w-full",this.disabled&&"pointer-events-none",this.visuallyDisabled&&"cursor-not-allowed")}"><div part="border" class="${O("absolute top-0 w-full h-full pointer-events-none border rounded-default z-10 transition-[border] duration-medium ease-in-out",v,this.open&&this.alignment==="left"?"rounded-bl-none":"",this.open&&this.alignment==="right"?"rounded-br-none":"")}"></div><sd-6-0-0-next-20-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${O("inline-flex relative w-full")}" sync="width" auto-size="vertical" auto-size-padding="10" exportparts="popup:popup__content,"><div part="base" class="${O("px-4 flex flex-row items-center rounded-default transition-colors ease-in-out duration-medium hover:duration-fast w-full",!this.disabled&&!this.readonly&&!this.visuallyDisabled?"hover:bg-neutral-200":"",this.readonly?"bg-neutral-100":"bg-white",f==="disabled"||f==="visuallyDisabled"?"text-neutral-500":"text-black")}" slot="anchor"><input id="input" type="text" role="combobox" aria-expanded="${this.open?"true":"false"}" aria-haspopup="dialog" aria-controls="calendar-grid" aria-describedby="${s?"help-text":void 0}" aria-invalid="${this.showInvalidStyle?"true":"false"}" aria-label="${this.range?"Select date range":"Select a date"}" class="${O("min-w-0 flex-grow focus:outline-none bg-transparent hover:cursor-pointer form-control-color-text",this.visuallyDisabled||this.disabled?"placeholder:text-neutral-500 cursor-not-allowed":"placeholder:text-neutral-700",{sm:"h-8",md:"h-10",lg:"h-12"}[this.size],d)}" autocomplete="off" spellcheck="false" placeholder="${this.placeholder||this.localize.term(this.range?"dateRangePlaceholder":"datePlaceholder")}" ?disabled="${this.disabled}" ?required="${this.required}" ?readonly="${this.readonly||this.visuallyDisabled}" @input="${this.handleInput}" @click="${this.handleMouseDown}" @keydown="${this.handleInputKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleInputBlur}" @invalid="${this.handleInvalid}"> ${this.showInvalidStyle?V`<sd-6-0-0-next-20-icon part="invalid-icon" class="${O("text-error",l,u)}" library="_internal" name="risk"></sd-6-0-0-next-20-icon>`:""} ${this.showValidStyle&&this.styleOnValid?V`<sd-6-0-0-next-20-icon class="${O("text-success flex-shrink-0",l,u)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-6-0-0-next-20-icon>`:""}<sd-6-0-0-next-20-icon class="${O(n,l,u,"hover:cursor-pointer")}" library="_internal" name="calendar" @click="${this.show}"></sd-6-0-0-next-20-icon>${this.renderCalendar()}</div></sd-6-0-0-next-20-popup></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${O("text-sm text-neutral-700 mt-1",s?"block":"hidden")}" aria-hidden="${!s}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`}};o.styles=[...H.styles,N`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{position:relative;display:inline-block;width:100%;--tw-outline-style:none;outline-style:none}:host([required]) #label::after{content:' *'}:host([visually-disabled]) input{caret-color:transparent}`],h([b({type:String,reflect:!0})],o.prototype,"locale",2),h([b({type:String,converter:B,reflect:!0})],o.prototype,"value",2),h([b({type:Boolean,reflect:!0})],o.prototype,"range",2),h([b({attribute:"range-start",converter:B,reflect:!0})],o.prototype,"rangeStart",2),h([b({attribute:"range-end",converter:B,reflect:!0})],o.prototype,"rangeEnd",2),h([b({type:Boolean})],o.prototype,"allowSameDayRange",2),h([b({type:String,converter:B,reflect:!0})],o.prototype,"min",2),h([b({type:String,converter:B,reflect:!0})],o.prototype,"max",2),h([b({type:Number})],o.prototype,"firstDayOfWeek",2),h([b({type:Boolean,reflect:!0,attribute:"disabled-weekends"})],o.prototype,"disabledWeekends",2),h([b({attribute:"disabled-dates",converter:_})],o.prototype,"disabledDates",2),h([b({attribute:!1})],o.prototype,"isDateDisabled",2),h([b({type:String,reflect:!0})],o.prototype,"size",2),h([b({type:String})],o.prototype,"alignment",2),h([b({type:String,reflect:!0})],o.prototype,"label",2),h([b({type:String,attribute:"help-text",reflect:!0})],o.prototype,"helpText",2),h([b({type:Boolean,reflect:!0})],o.prototype,"disabled",2),h([b({type:Boolean,reflect:!0})],o.prototype,"required",2),h([b({type:Boolean,attribute:"visually-disabled"})],o.prototype,"visuallyDisabled",2),h([b({type:Boolean,reflect:!0,attribute:"style-on-valid"})],o.prototype,"styleOnValid",2),h([b({type:Boolean,reflect:!0})],o.prototype,"readonly",2),h([b({type:String,reflect:!0})],o.prototype,"placement",2),h([b({type:String,reflect:!0})],o.prototype,"placeholder",2),h([b({reflect:!0})],o.prototype,"name",2),h([b({type:String,reflect:!0})],o.prototype,"form",2),h([x()],o.prototype,"open",2),h([x()],o.prototype,"viewMonth",2),h([x()],o.prototype,"focusedDate",2),h([x()],o.prototype,"today",2),h([x()],o.prototype,"disabledDatesSet",2),h([x()],o.prototype,"previewEnd",2),h([x()],o.prototype,"statusNavText",2),h([x()],o.prototype,"statusSelectText",2),h([x()],o.prototype,"hasFocus",2),h([x()],o.prototype,"showValidStyle",2),h([x()],o.prototype,"showInvalidStyle",2),h([x()],o.prototype,"currentPlacement",2),h([x()],o.prototype,"inputValue",2),h([q("#invalid-message")],o.prototype,"invalidMessage",2),h([q("#input")],o.prototype,"input",2),h([Y("locale")],o.prototype,"handleLocaleChange",1),h([Y("disabledDates")],o.prototype,"handleDisabledDatesChange",1),h([Y("value")],o.prototype,"handleValueChange",1),h([Y("rangeStart"),Y("rangeEnd")],o.prototype,"handleRangeChange",1),h([Y(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],o.prototype,"handleDisabledChange",1),o=h([W("sd-6-0-0-next-20-datepicker")],o);export{o as a};
@@ -0,0 +1,2 @@
1
+ import{a as c}from"./chunk.YFQFOIEM.js";import{a as l}from"./chunk.NYKJXI3Q.js";import{a as o,b as i,h as a}from"./chunk.77FHAJLL.js";import{b as s,e as r}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var n=0,t=class extends a{constructor(){super(...arguments);this.attrId=++n;this.componentId=`sd-6-0-0-next-20-tab-panel-${this.attrId}`;this.name="";this.active=!1}connectedCallback(){super.connectedCallback(),this.id=this.id.length>0?this.id:this.componentId,this.setAttribute("role","tabpanel")}handleActiveChange(){this.setAttribute("aria-hidden",this.active?"false":"true")}render(){return r`<slot part="base" class="${c("block",this.active&&"tab-panel--active")}"></slot>`}};t.styles=[...a.styles,s`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{--padding:0;display:none}:host([active]){display:block}::part(base){padding:var(--padding)}`],e([i({type:String,reflect:!0})],t.prototype,"name",2),e([i({type:Boolean,reflect:!0})],t.prototype,"active",2),e([l("active")],t.prototype,"handleActiveChange",1),t=e([o("sd-6-0-0-next-20-tab-panel")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as c,h as e}from"./chunk.PES7MZKA.js";import{b as l,e as o}from"./chunk.763RLJEK.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends e{static isCarouselItem(s){return s instanceof Element&&s.getAttribute("aria-roledescription")==="slide"}connectedCallback(){super.connectedCallback(),this.setAttribute("role","group")}render(){return o`<slot></slot>`}};t.styles=[...e.styles,l`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{aspect-ratio:var(--aspect-ratio);scroll-snap-align:start;scroll-snap-stop:always;display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:center}::slotted(img){height:100%;width:100%;-o-object-fit:cover;object-fit:cover}`],t=i([c("sd-6-0-0-next-2-carousel-item")],t);export{t as a};
1
+ import{a as c,h as e}from"./chunk.77FHAJLL.js";import{b as l,e as o}from"./chunk.763RLJEK.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends e{static isCarouselItem(s){return s instanceof Element&&s.getAttribute("aria-roledescription")==="slide"}connectedCallback(){super.connectedCallback(),this.setAttribute("role","group")}render(){return o`<slot></slot>`}};t.styles=[...e.styles,l`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{aspect-ratio:var(--aspect-ratio);scroll-snap-align:start;scroll-snap-stop:always;display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:center}::slotted(img){height:100%;width:100%;-o-object-fit:cover;object-fit:cover}`],t=i([c("sd-6-0-0-next-20-carousel-item")],t);export{t as a};
@@ -0,0 +1,2 @@
1
+ import{a as n}from"./chunk.YFQFOIEM.js";import{a as l,b as r,h as o}from"./chunk.77FHAJLL.js";import{b as i,e as a}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends o{constructor(){super(...arguments);this.orientation="horizontal";this.inverted=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","separator")}render(){return a`<hr part="main" aria-orientation="${this.orientation}" class="${n(this.inverted?"sd-6-0-0-next-20-divider--inverted-color-border":"border-neutral-400",this.orientation==="horizontal"?"border-t w-full":" border-l h-full")}">`}};t.styles=[...o.styles,i`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{margin:calc(var(--sd-spacing-1) * 0)}:host(sd-6-0-0-next-20-divider[orientation=horizontal]){display:block}:host(sd-6-0-0-next-20-divider[orientation=vertical]){display:inline-block}`],e([r({type:String,reflect:!0})],t.prototype,"orientation",2),e([r({type:Boolean,reflect:!0})],t.prototype,"inverted",2),t=e([l("sd-6-0-0-next-20-divider")],t);export{t as a};
@@ -1,4 +1,4 @@
1
- import{a as M,h as V}from"./chunk.PES7MZKA.js";import{b as j}from"./chunk.763RLJEK.js";import{a as I,e as D,f as h,g as l,h as d,i as g,j as $}from"./chunk.6EV4YU6C.js";var p,u,v=class v{constructor({name:e,initialValue:s,detect:r}){d(this,p);d(this,u);this.name=e,this.initialValue=s!=null?s:!0,this.detect=r,v.all[e]=this,Object.defineProperty(v,e,{get(){return this.all[e].value},configurable:!0,enumerable:!0})}get valuePending(){return l(this,p)!==void 0?l(this,p):l(this,u)!==void 0?l(this,u):(g(this,u,this.detect()),l(this,u)instanceof Promise?l(this,u).then(e=>g(this,p,e)):g(this,p,l(this,u)),l(this,u))}get value(){if(l(this,p)!==void 0)return l(this,p);let e=this.valuePending;return e instanceof Promise?this.initialValue:e}static detectAll(){return Promise.all(Object.values(v.all).map(e=>e.valuePending))}};p=new WeakMap,u=new WeakMap,h(v,"all",{});var a=v;var B=new a({name:"TRANSITIONRUN_EVENT_LOOP",detect(){let i=document.createElement("div");document.body.appendChild(i);let e="--bar-"+Date.now();return i.style.cssText=`${e}: 1; transition: ${e} 1ms step-start allow-discrete`,new Promise(s=>{let r=0;requestAnimationFrame(()=>{setTimeout(t=>s(r>1),50),i.addEventListener("transitionrun",t=>r++),i.style.setProperty(e,"2")})}).finally(()=>i.remove())}});var J=new a({name:"UNREGISTERED_TRANSITION",detect(){let i=document.createElement("div");document.body.appendChild(i);let e="--foo-"+Date.now();return i.style.cssText=`${e}: 1; transition: ${e} 1ms step-start allow-discrete`,new Promise(s=>{requestAnimationFrame(()=>{setTimeout(r=>s(!0),30),i.addEventListener("transitionstart",r=>s(!1)),i.style.setProperty(e,"2")})}).finally(()=>i.remove())}});var U=new WeakMap;function C(i,e=globalThis.document){var r;e=(r=e.ownerDocument)!=null?r:e;let s=e.defaultView;if(e.adoptedStyleSheets){let t=new s.CSSStyleSheet;return t.replaceSync(i),Object.isFrozen(e.adoptedStyleSheets)?e.adoptedStyleSheets=[...e.adoptedStyleSheets,t]:e.adoptedStyleSheets.push(t),t}else{let t=U.get(e);return t||(t=e.head.appendChild(e.createElement("style")),U.set(e,t)),t.insertAdjacentText("beforeend",i),t.sheet}}function L(i,e=globalThis.document){let s=e.createElement("div");e.body.append(s);let r="foo(bar)";s.style.setProperty(i,r);let t=getComputedStyle(s).getPropertyValue(i),n=!0;if(t===r){let o=s.appendChild(e.createElement("div"));n=getComputedStyle(o).getPropertyValue(i)!==r}return s.remove(),n}var F={"<angle>":"0deg","<color>":"transparent","<custom-ident>":"none","<image>":"linear-gradient(transparent 0% 100%)","<integer>":"0","<length>":"0px","<length-percentage>":"0px","<number>":"0","<percentage>":"0%","<resolution>":"1dppx","<string>":"''","<time>":"0s","<transform-function>":"scale(1)","<transform-list>":"scale(1)","<url>":"url('')"},z=new Map;function S(i,e={},s=globalThis.document){var o;let r=z.get(s);if(!i.startsWith("--")||r&&i in r||L(i,s))return;let t={syntax:e.syntax||"*",inherits:(o=e.inherits)!=null?o:!0};e.initialValue!==void 0?t.initialValue=e.initialValue:t.syntax!=="*"&&t.syntax in F&&(t.initialValue=F[t.syntax]);let n=C(`@layer style-observer-registered-properties {
1
+ import{a as M,h as V}from"./chunk.77FHAJLL.js";import{b as j}from"./chunk.763RLJEK.js";import{a as I,e as D,f as h,g as l,h as d,i as g,j as $}from"./chunk.6EV4YU6C.js";var p,u,v=class v{constructor({name:e,initialValue:s,detect:r}){d(this,p);d(this,u);this.name=e,this.initialValue=s!=null?s:!0,this.detect=r,v.all[e]=this,Object.defineProperty(v,e,{get(){return this.all[e].value},configurable:!0,enumerable:!0})}get valuePending(){return l(this,p)!==void 0?l(this,p):l(this,u)!==void 0?l(this,u):(g(this,u,this.detect()),l(this,u)instanceof Promise?l(this,u).then(e=>g(this,p,e)):g(this,p,l(this,u)),l(this,u))}get value(){if(l(this,p)!==void 0)return l(this,p);let e=this.valuePending;return e instanceof Promise?this.initialValue:e}static detectAll(){return Promise.all(Object.values(v.all).map(e=>e.valuePending))}};p=new WeakMap,u=new WeakMap,h(v,"all",{});var a=v;var B=new a({name:"TRANSITIONRUN_EVENT_LOOP",detect(){let i=document.createElement("div");document.body.appendChild(i);let e="--bar-"+Date.now();return i.style.cssText=`${e}: 1; transition: ${e} 1ms step-start allow-discrete`,new Promise(s=>{let r=0;requestAnimationFrame(()=>{setTimeout(t=>s(r>1),50),i.addEventListener("transitionrun",t=>r++),i.style.setProperty(e,"2")})}).finally(()=>i.remove())}});var J=new a({name:"UNREGISTERED_TRANSITION",detect(){let i=document.createElement("div");document.body.appendChild(i);let e="--foo-"+Date.now();return i.style.cssText=`${e}: 1; transition: ${e} 1ms step-start allow-discrete`,new Promise(s=>{requestAnimationFrame(()=>{setTimeout(r=>s(!0),30),i.addEventListener("transitionstart",r=>s(!1)),i.style.setProperty(e,"2")})}).finally(()=>i.remove())}});var U=new WeakMap;function C(i,e=globalThis.document){var r;e=(r=e.ownerDocument)!=null?r:e;let s=e.defaultView;if(e.adoptedStyleSheets){let t=new s.CSSStyleSheet;return t.replaceSync(i),Object.isFrozen(e.adoptedStyleSheets)?e.adoptedStyleSheets=[...e.adoptedStyleSheets,t]:e.adoptedStyleSheets.push(t),t}else{let t=U.get(e);return t||(t=e.head.appendChild(e.createElement("style")),U.set(e,t)),t.insertAdjacentText("beforeend",i),t.sheet}}function L(i,e=globalThis.document){let s=e.createElement("div");e.body.append(s);let r="foo(bar)";s.style.setProperty(i,r);let t=getComputedStyle(s).getPropertyValue(i),n=!0;if(t===r){let o=s.appendChild(e.createElement("div"));n=getComputedStyle(o).getPropertyValue(i)!==r}return s.remove(),n}var F={"<angle>":"0deg","<color>":"transparent","<custom-ident>":"none","<image>":"linear-gradient(transparent 0% 100%)","<integer>":"0","<length>":"0px","<length-percentage>":"0px","<number>":"0","<percentage>":"0%","<resolution>":"1dppx","<string>":"''","<time>":"0s","<transform-function>":"scale(1)","<transform-list>":"scale(1)","<url>":"url('')"},z=new Map;function S(i,e={},s=globalThis.document){var o;let r=z.get(s);if(!i.startsWith("--")||r&&i in r||L(i,s))return;let t={syntax:e.syntax||"*",inherits:(o=e.inherits)!=null?o:!0};e.initialValue!==void 0?t.initialValue=e.initialValue:t.syntax!=="*"&&t.syntax in F&&(t.initialValue=F[t.syntax]);let n=C(`@layer style-observer-registered-properties {
2
2
  @property ${i} {
3
3
  syntax: "${t.syntax}";
4
4
  inherits: ${t.inherits};
@@ -9,5 +9,5 @@ import{a as M,h as V}from"./chunk.PES7MZKA.js";import{b as j}from"./chunk.763RLJ
9
9
  /* This declaration shouldn't be empty for the bug to trigger */
10
10
  color: transparent;
11
11
  }
12
- `),i.shadowRoot.adoptedStyleSheets.push(e);let s=e.cssRules[0].style;s.setProperty("--style-observer-adopted-style-sheet-bug","1");let r=getComputedStyle(i),t=r.getPropertyValue("--style-observer-adopted-style-sheet-bug");s.removeProperty("--style-observer-adopted-style-sheet-bug"),r=getComputedStyle(i);let n=r.getPropertyValue("--style-observer-adopted-style-sheet-bug");return i.remove(),t===n}});var E=class extends WeakMap{has(e,s){if(arguments.length===1)return super.has(e);let r=super.get(e);return(r==null?void 0:r.has(s))||!1}add(e,s){var t;let r=(t=super.get(e))!=null?t:new Set;r.add(s),super.set(e,r)}delete(e,...s){let r=super.get(e);if(r){for(let t of s)r.delete(t);r.size===0&&super.delete(e)}}};function f(i){return i==null?[]:Array.isArray(i)?i:typeof i!="string"&&typeof i[Symbol.iterator]=="function"?Array.from(i):[i]}function H(i){return i?new Promise(e=>setTimeout(e,i)):new Promise(e=>requestAnimationFrame(e))}var N;function Q(i){N!=null||(N=document.createElement("div"));let e=N.style;e[i]="inherit";let s=[...e];return s.length===0&&(s=[i]),e.cssText="",s}function X(i){let e=i.matchAll(/(?:^|\s)([+-]?(?:\d+|\d*\.\d+))\s*(ms|s)?(?=\s|$)/g),s=[];for(let r of e){let[,t,n]=r;t=parseFloat(t),n==="s"&&(t*=1e3),s.push(t)}return s}function W(i,e){e=Z(e);let s;if(i==="all")s=/\b\w+\b/g;else{let m=[...new Set([...Q(i),i,"all"])];s=RegExp(`(?:^|\\s)(${m.join("|")})\\b`)}let r=e.findLast(m=>s.test(m)),t=r?X(r):[0,0];t.length===0?t=[0,0]:t.length===1&&t.push(0);let[n,o]=t;return{duration:n,delay:o}}function Z(i){let e=[],s=0,r=[];for(let t of i.matchAll(/[,()]/g)){let n=t[0];if(n===","){if(r.length===0){let o=i.slice(s,t.index);e.push(o.trim()),s=t.index+1}}else n==="("?r.push("("):n===")"&&r.pop()}if(s<i.length){let t=i.slice(s);e.push(t.trim())}return e}var y,T,P=class{constructor(e){d(this,y,new Set);d(this,T,new WeakMap);this.callback=e}observe(e){if(l(this,y).has(e))return;let s=e.ownerDocument,r=l(this,T).get(s);r||(r=new IntersectionObserver(t=>{this.callback(t.map(({target:n})=>({target:n})))},{root:s.documentElement}),l(this,T).set(s,r)),l(this,y).add(e),r.observe(e)}unobserve(e){if(!e){for(let t of l(this,y))this.unobserve(t);return}let s=e.ownerDocument,r=l(this,T).get(s);r==null||r.unobserve(e),l(this,y).delete(e)}};y=new WeakMap,T=new WeakMap;var R,q,ee=(q=(R=globalThis.CSS)==null?void 0:R.supports)!=null&&q.call(R,"transition-behavior","allow-discrete")?" allow-discrete":"";globalThis.document&&(S("--style-observer-transition",{inherits:!1}),a.detectAll());var x,_,G,O,c=class{constructor(e,s,r={}){d(this,_);h(this,"properties");h(this,"target");h(this,"callback");h(this,"options");d(this,x,!1);d(this,O);h(this,"_shadowSheet");h(this,"_styles",{});this.constructor.all.add(e,this),this.properties=new Map,this.target=e,this.callback=s,this.options=I({properties:[]},r);let t=f(r.properties);this.renderedObserver=new P(n=>{this.propertyNames.length>0&&this.handleEvent()}),t.length>0&&this.observe(t)}get propertyNames(){return[...this.properties.keys()]}resolveOptions(e){return Object.assign(k(e),this.options)}async handleEvent(e){if(e&&!this.properties.has(e.propertyName))return;if(a.TRANSITIONRUN_EVENT_LOOP&&(e==null?void 0:e.type)==="transitionrun"||this.options.throttle>0){let t=a.TRANSITIONRUN_EVENT_LOOP?"transitionrun":"transitionstart",n=Math.max(this.options.throttle,50);if(a.TRANSITIONRUN_EVENT_LOOP){let o=W(e.propertyName,getComputedStyle(this.target).transition);n=Math.max(n,o.duration+o.delay+16)}this.target.removeEventListener(t,this),await H(n),this.target.addEventListener(t,this)}let s=getComputedStyle(this.target),r=[];for(let t of this.propertyNames){let n=s.getPropertyValue(t),o=this.properties.get(t);n!==o&&(r.push({target:this.target,property:t,value:n,oldValue:o}),this.properties.set(t,n))}r.length>0&&this.callback(r)}observe(e){var r;if(e=f(e),e=e.filter(t=>!this.properties.has(t)),e.length===0)return;$(this,_,G).call(this);let s=getComputedStyle(this.target);for(let t of e){a.UNREGISTERED_TRANSITION&&!this.constructor.properties.has(t)&&(S(t,void 0,this.target.ownerDocument),this.constructor.properties.add(t));let n=s.getPropertyValue(t);this.properties.set(t,n)}a.TRANSITIONRUN_EVENT_LOOP&&(this.target.addEventListener("transitionrun",this),(r=a.all.TRANSITIONRUN_EVENT_LOOP.valuePending)==null||r.then(t=>{t||this.target.removeEventListener("transitionrun",this)})),this.target.addEventListener("transitionstart",this),this.target.addEventListener("transitionend",this),this.updateTransitionProperties(),this.renderedObserver.observe(this.target)}updateTransitionProperties(){this.setProperty("--style-observer-transition","");let e=new Set(getComputedStyle(this.target).transitionProperty.split(", ")),s=[];for(let t of this.constructor.all.get(this.target))s.push(...t.propertyNames);s=[...new Set(s)];let r=s.filter(t=>!e.has(t)).map(t=>`${t} 1ms step-start${ee}`).join(", ");this.setProperty("--style-observer-transition",r)}updateTransition({firstTime:e}={}){let s="var(--style-observer-transition, --style-observer-noop)",r=this.getProperty("transition"),t;(e?r:!r.includes(s))&&(t=g(this,O,r)),t===void 0&&(e||!l(this,O))&&(r.includes(s)&&this.setProperty("transition",""),t=getComputedStyle(this.target).transition),t==="all"?t="":t=t.replace(/^none\b/,"");let n=t?t+", ":"";this.setProperty("transition",n+s),this.updateTransitionProperties()}get _isHost(){return this.target.shadowRoot&&!a.ADOPTED_STYLE_SHEET&&!Object.isFrozen(this.target.shadowRoot.adoptedStyleSheets)}setProperty(e,s,r){let t=this.target.style,n=t;if(this._isHost){if(!this._shadowSheet&&(this._shadowSheet=new CSSStyleSheet,this._shadowSheet.insertRule(":host { }"),this.target.shadowRoot.adoptedStyleSheets.push(this._shadowSheet),Object.keys(this._styles).length>0))for(let o in this._styles){let m=this._styles[o];this.setProperty(o,m),t.getPropertyValue(o)===m&&t.removeProperty(o)}n=this._shadowSheet.cssRules[0].style}n.setProperty(e,s,r),this._styles[e]=this.getProperty(e)}getProperty(e){var r,t,n;return((n=(t=(r=this._shadowSheet)==null?void 0:r.cssRules[0])==null?void 0:t.style)!=null?n:this.target.style).getPropertyValue(e)}unobserve(e){e=f(e),e=e.filter(s=>this.properties.has(s));for(let s of e)this.properties.delete(s);this.properties.size===0&&(this.target.removeEventListener("transitionrun",this),this.target.removeEventListener("transitionstart",this),this.target.removeEventListener("transitionend",this),this.renderedObserver.unobserve(this.target)),this.updateTransitionProperties()}};x=new WeakMap,_=new WeakSet,G=function(){if(l(this,x))return;let e=this.constructor.all.get(this.target).size===1;this.updateTransition({firstTime:e}),g(this,x,!0)},O=new WeakMap,h(c,"properties",new Set),h(c,"all",new E);function k(i){return i?(typeof i=="string"||Array.isArray(i)?i={properties:f(i)}:typeof i=="object"&&(i=I({properties:[]},i)),i):{}}var b=class{constructor(e,s){h(this,"elementObservers",new WeakMap);var r;this.callback=e,s=k(s),(r=s.targets)!=null||(s.targets=[]),s.target&&s.targets.push(s.target),this.options=s,this.options.targets.length>0&&this.options.properties.length>0&&this.observe(this.options.targets,this.options.properties)}changed(e){this.callback(e)}observe(...e){let{targets:s,properties:r}=Y(...e);if(s.length===0&&(s=this.options.targets),s.length!==0)for(let t of s){let n=this.elementObservers.get(t);n||(n=new c(t,o=>this.changed(o),this.options),this.elementObservers.set(t,n)),n.observe(r)}}unobserve(...e){let{targets:s,properties:r}=Y(...e);if(s.length===0&&(s=this.options.targets),s.length!==0){r.length===0&&(r=this.options.properties);for(let t of s){let n=this.elementObservers.get(t);n&&n.unobserve(r)}}}updateTransition(e){for(let s of f(e)){let r=this.elementObservers.get(s);r&&r.updateTransition()}}};function Y(i,e){let s=[...f(i),...f(e)];i=[],e=[];for(let r of s)(typeof r=="string"||r instanceof String?e:i).push(r);return{targets:i,properties:e}}var A=class{constructor(e,s){this.host=e,this.callback=s}connect(){this.observer=new b(e=>{var r,t;let s=(t=(r=e==null?void 0:e[0])==null?void 0:r.value)==null?void 0:t.replaceAll("'","");s&&this.callback(s)}),this.observer.observe(this.host,"--sd-theme")}disconnect(){var e;(e=this.observer)==null||e.unobserve(this.host)}};var w=class extends V{handleThemeChange(e){this.emit("sd-theme-change",{detail:{theme:e},bubbles:!0})}connectedCallback(){super.connectedCallback(),this.themeObserver=new A(this,this.handleThemeChange.bind(this)),this.themeObserver.connect()}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.themeObserver)==null||e.disconnect()}};w.styles=[...V.styles,j`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
13
- :host{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border-width:0}`],w=D([M("sd-6-0-0-next-2-theme-listener")],w);export{w as a};
12
+ `),i.shadowRoot.adoptedStyleSheets.push(e);let s=e.cssRules[0].style;s.setProperty("--style-observer-adopted-style-sheet-bug","1");let r=getComputedStyle(i),t=r.getPropertyValue("--style-observer-adopted-style-sheet-bug");s.removeProperty("--style-observer-adopted-style-sheet-bug"),r=getComputedStyle(i);let n=r.getPropertyValue("--style-observer-adopted-style-sheet-bug");return i.remove(),t===n}});var E=class extends WeakMap{has(e,s){if(arguments.length===1)return super.has(e);let r=super.get(e);return(r==null?void 0:r.has(s))||!1}add(e,s){var t;let r=(t=super.get(e))!=null?t:new Set;r.add(s),super.set(e,r)}delete(e,...s){let r=super.get(e);if(r){for(let t of s)r.delete(t);r.size===0&&super.delete(e)}}};function f(i){return i==null?[]:Array.isArray(i)?i:typeof i!="string"&&typeof i[Symbol.iterator]=="function"?Array.from(i):[i]}function H(i){return i?new Promise(e=>setTimeout(e,i)):new Promise(e=>requestAnimationFrame(e))}var N;function Q(i){N!=null||(N=document.createElement("div"));let e=N.style;e[i]="inherit";let s=[...e];return s.length===0&&(s=[i]),e.cssText="",s}function X(i){let e=i.matchAll(/(?:^|\s)([+-]?(?:\d+|\d*\.\d+))\s*(ms|s)?(?=\s|$)/g),s=[];for(let r of e){let[,t,n]=r;t=parseFloat(t),n==="s"&&(t*=1e3),s.push(t)}return s}function W(i,e){e=Z(e);let s;if(i==="all")s=/\b\w+\b/g;else{let m=[...new Set([...Q(i),i,"all"])];s=RegExp(`(?:^|\\s)(${m.join("|")})\\b`)}let r=e.findLast(m=>s.test(m)),t=r?X(r):[0,0];t.length===0?t=[0,0]:t.length===1&&t.push(0);let[n,o]=t;return{duration:n,delay:o}}function Z(i){let e=[],s=0,r=[];for(let t of i.matchAll(/[,()]/g)){let n=t[0];if(n===","){if(r.length===0){let o=i.slice(s,t.index);e.push(o.trim()),s=t.index+1}}else n==="("?r.push("("):n===")"&&r.pop()}if(s<i.length){let t=i.slice(s);e.push(t.trim())}return e}var y,T,P=class{constructor(e){d(this,y,new Set);d(this,T,new WeakMap);this.callback=e}observe(e){if(l(this,y).has(e))return;let s=e.ownerDocument,r=l(this,T).get(s);r||(r=new IntersectionObserver(t=>{this.callback(t.map(({target:n})=>({target:n})))},{root:s.documentElement}),l(this,T).set(s,r)),l(this,y).add(e),r.observe(e)}unobserve(e){if(!e){for(let t of l(this,y))this.unobserve(t);return}let s=e.ownerDocument,r=l(this,T).get(s);r==null||r.unobserve(e),l(this,y).delete(e)}};y=new WeakMap,T=new WeakMap;var R,q,ee=(q=(R=globalThis.CSS)==null?void 0:R.supports)!=null&&q.call(R,"transition-behavior","allow-discrete")?" allow-discrete":"";globalThis.document&&(S("--style-observer-transition",{inherits:!1}),a.detectAll());var x,_,G,O,c=class{constructor(e,s,r={}){d(this,_);h(this,"properties");h(this,"target");h(this,"callback");h(this,"options");d(this,x,!1);d(this,O);h(this,"_shadowSheet");h(this,"_styles",{});this.constructor.all.add(e,this),this.properties=new Map,this.target=e,this.callback=s,this.options=I({properties:[]},r);let t=f(r.properties);this.renderedObserver=new P(n=>{this.propertyNames.length>0&&this.handleEvent()}),t.length>0&&this.observe(t)}get propertyNames(){return[...this.properties.keys()]}resolveOptions(e){return Object.assign(k(e),this.options)}async handleEvent(e){if(e&&!this.properties.has(e.propertyName))return;if(a.TRANSITIONRUN_EVENT_LOOP&&(e==null?void 0:e.type)==="transitionrun"||this.options.throttle>0){let t=a.TRANSITIONRUN_EVENT_LOOP?"transitionrun":"transitionstart",n=Math.max(this.options.throttle,50);if(a.TRANSITIONRUN_EVENT_LOOP){let o=W(e.propertyName,getComputedStyle(this.target).transition);n=Math.max(n,o.duration+o.delay+16)}this.target.removeEventListener(t,this),await H(n),this.target.addEventListener(t,this)}let s=getComputedStyle(this.target),r=[];for(let t of this.propertyNames){let n=s.getPropertyValue(t),o=this.properties.get(t);n!==o&&(r.push({target:this.target,property:t,value:n,oldValue:o}),this.properties.set(t,n))}r.length>0&&this.callback(r)}observe(e){var r;if(e=f(e),e=e.filter(t=>!this.properties.has(t)),e.length===0)return;$(this,_,G).call(this);let s=getComputedStyle(this.target);for(let t of e){a.UNREGISTERED_TRANSITION&&!this.constructor.properties.has(t)&&(S(t,void 0,this.target.ownerDocument),this.constructor.properties.add(t));let n=s.getPropertyValue(t);this.properties.set(t,n)}a.TRANSITIONRUN_EVENT_LOOP&&(this.target.addEventListener("transitionrun",this),(r=a.all.TRANSITIONRUN_EVENT_LOOP.valuePending)==null||r.then(t=>{t||this.target.removeEventListener("transitionrun",this)})),this.target.addEventListener("transitionstart",this),this.target.addEventListener("transitionend",this),this.updateTransitionProperties(),this.renderedObserver.observe(this.target)}updateTransitionProperties(){this.setProperty("--style-observer-transition","");let e=new Set(getComputedStyle(this.target).transitionProperty.split(", ")),s=[];for(let t of this.constructor.all.get(this.target))s.push(...t.propertyNames);s=[...new Set(s)];let r=s.filter(t=>!e.has(t)).map(t=>`${t} 1ms step-start${ee}`).join(", ");this.setProperty("--style-observer-transition",r)}updateTransition({firstTime:e}={}){let s="var(--style-observer-transition, --style-observer-noop)",r=this.getProperty("transition"),t;(e?r:!r.includes(s))&&(t=g(this,O,r)),t===void 0&&(e||!l(this,O))&&(r.includes(s)&&this.setProperty("transition",""),t=getComputedStyle(this.target).transition),t==="all"?t="":t=t.replace(/^none\b/,"");let n=t?t+", ":"";this.setProperty("transition",n+s),this.updateTransitionProperties()}get _isHost(){return this.target.shadowRoot&&!a.ADOPTED_STYLE_SHEET&&!Object.isFrozen(this.target.shadowRoot.adoptedStyleSheets)}setProperty(e,s,r){let t=this.target.style,n=t;if(this._isHost){if(!this._shadowSheet&&(this._shadowSheet=new CSSStyleSheet,this._shadowSheet.insertRule(":host { }"),this.target.shadowRoot.adoptedStyleSheets.push(this._shadowSheet),Object.keys(this._styles).length>0))for(let o in this._styles){let m=this._styles[o];this.setProperty(o,m),t.getPropertyValue(o)===m&&t.removeProperty(o)}n=this._shadowSheet.cssRules[0].style}n.setProperty(e,s,r),this._styles[e]=this.getProperty(e)}getProperty(e){var r,t,n;return((n=(t=(r=this._shadowSheet)==null?void 0:r.cssRules[0])==null?void 0:t.style)!=null?n:this.target.style).getPropertyValue(e)}unobserve(e){e=f(e),e=e.filter(s=>this.properties.has(s));for(let s of e)this.properties.delete(s);this.properties.size===0&&(this.target.removeEventListener("transitionrun",this),this.target.removeEventListener("transitionstart",this),this.target.removeEventListener("transitionend",this),this.renderedObserver.unobserve(this.target)),this.updateTransitionProperties()}};x=new WeakMap,_=new WeakSet,G=function(){if(l(this,x))return;let e=this.constructor.all.get(this.target).size===1;this.updateTransition({firstTime:e}),g(this,x,!0)},O=new WeakMap,h(c,"properties",new Set),h(c,"all",new E);function k(i){return i?(typeof i=="string"||Array.isArray(i)?i={properties:f(i)}:typeof i=="object"&&(i=I({properties:[]},i)),i):{}}var b=class{constructor(e,s){h(this,"elementObservers",new WeakMap);var r;this.callback=e,s=k(s),(r=s.targets)!=null||(s.targets=[]),s.target&&s.targets.push(s.target),this.options=s,this.options.targets.length>0&&this.options.properties.length>0&&this.observe(this.options.targets,this.options.properties)}changed(e){this.callback(e)}observe(...e){let{targets:s,properties:r}=Y(...e);if(s.length===0&&(s=this.options.targets),s.length!==0)for(let t of s){let n=this.elementObservers.get(t);n||(n=new c(t,o=>this.changed(o),this.options),this.elementObservers.set(t,n)),n.observe(r)}}unobserve(...e){let{targets:s,properties:r}=Y(...e);if(s.length===0&&(s=this.options.targets),s.length!==0){r.length===0&&(r=this.options.properties);for(let t of s){let n=this.elementObservers.get(t);n&&n.unobserve(r)}}}updateTransition(e){for(let s of f(e)){let r=this.elementObservers.get(s);r&&r.updateTransition()}}};function Y(i,e){let s=[...f(i),...f(e)];i=[],e=[];for(let r of s)(typeof r=="string"||r instanceof String?e:i).push(r);return{targets:i,properties:e}}var A=class{constructor(e,s){this.host=e,this.callback=s}connect(){this.observer=new b(e=>{var r,t;let s=(t=(r=e==null?void 0:e[0])==null?void 0:r.value)==null?void 0:t.replaceAll("'","");s&&this.callback(s)}),this.observer.observe(this.host,"--sd-theme")}disconnect(){var e;(e=this.observer)==null||e.unobserve(this.host)}};var w=class extends V{handleThemeChange(e){this.emit("sd-theme-change",{detail:{theme:e},bubbles:!0})}connectedCallback(){super.connectedCallback(),this.themeObserver=new A(this,this.handleThemeChange.bind(this)),this.themeObserver.connect()}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.themeObserver)==null||e.disconnect()}};w.styles=[...V.styles,j`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
13
+ :host{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border-width:0}`],w=D([M("sd-6-0-0-next-20-theme-listener")],w);export{w as a};