@solid-design-system/components 6.0.0-next.23 → 6.0.0-next.24

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 (644) hide show
  1. package/cdn/chunks/{chunk.MUQCEPDF.js → chunk.2FGPC4YA.js} +1 -1
  2. package/cdn/chunks/{chunk.DAEPT3H4.js → chunk.3RPO52XL.js} +1 -1
  3. package/cdn/chunks/{chunk.KFR44ZHE.js → chunk.4XTZVBPO.js} +1 -1
  4. package/cdn/chunks/{chunk.CODGMHKX.js → chunk.5V3VFOV3.js} +1 -1
  5. package/cdn/chunks/{chunk.2ZDBC4NO.js → chunk.66ZEGK3P.js} +1 -1
  6. package/cdn/chunks/{chunk.M2OQAQW7.js → chunk.6BVUCRWX.js} +1 -1
  7. package/cdn/chunks/{chunk.LEGQ7UUP.js → chunk.6VQHR77M.js} +1 -1
  8. package/cdn/chunks/{chunk.PG6R3PLC.js → chunk.ABR465XL.js} +1 -1
  9. package/cdn/chunks/{chunk.RYAD7IRY.js → chunk.AEZZYF6J.js} +1 -1
  10. package/cdn/chunks/{chunk.5UPYGDHE.js → chunk.B7OPA63M.js} +1 -1
  11. package/cdn/chunks/{chunk.CFP3UQ4K.js → chunk.BAQ4E64I.js} +1 -1
  12. package/cdn/chunks/{chunk.3LQ6BPSV.js → chunk.DCE3ZWBN.js} +5 -5
  13. package/cdn/chunks/{chunk.K6DCMB43.js → chunk.DK6EAC7C.js} +1 -1
  14. package/cdn/chunks/{chunk.BNGAA2G7.js → chunk.EFJK27YO.js} +1 -1
  15. package/cdn/chunks/{chunk.OQC4S6XH.js → chunk.F246JZEF.js} +1 -1
  16. package/cdn/chunks/{chunk.P67KWOFJ.js → chunk.FU4J3I2N.js} +1 -1
  17. package/cdn/chunks/{chunk.XF6Q3IDC.js → chunk.FYBCQ2FB.js} +1 -1
  18. package/cdn/chunks/{chunk.DFWW4H4B.js → chunk.G4AMQXVJ.js} +1 -1
  19. package/cdn/chunks/{chunk.Z2YSS7RK.js → chunk.GPRY2R37.js} +1 -1
  20. package/cdn/chunks/{chunk.XZMHSJLR.js → chunk.HISFHVXJ.js} +1 -1
  21. package/cdn/chunks/{chunk.P43KSU2Z.js → chunk.HZ7ZOFBM.js} +1 -1
  22. package/cdn/chunks/{chunk.TBF33CEP.js → chunk.IEKNIDY3.js} +1 -1
  23. package/cdn/chunks/chunk.ILPSW4EJ.js +26 -0
  24. package/cdn/chunks/{chunk.MUKILXUA.js → chunk.JUWWBMAQ.js} +1 -1
  25. package/cdn/chunks/{chunk.LDQIVUJG.js → chunk.KIBECFQD.js} +1 -1
  26. package/cdn/chunks/chunk.KKOE47U4.js +2 -0
  27. package/cdn/chunks/{chunk.75PEEH7J.js → chunk.KKXQXI5K.js} +1 -1
  28. package/cdn/chunks/{chunk.5YOQAPGO.js → chunk.KLFXDZV3.js} +1 -1
  29. package/cdn/chunks/{chunk.RTFSEMNA.js → chunk.KO4ZHHCL.js} +1 -1
  30. package/cdn/chunks/{chunk.N4SYLRH6.js → chunk.L3M47CB3.js} +1 -1
  31. package/cdn/chunks/{chunk.WO2J2S6V.js → chunk.L4OQMU6C.js} +1 -1
  32. package/cdn/chunks/{chunk.W22ZXNBC.js → chunk.L6WYTVZF.js} +1 -1
  33. package/cdn/chunks/{chunk.MOANQMSV.js → chunk.LHJPZ3DZ.js} +1 -1
  34. package/cdn/chunks/chunk.M4PYL7HB.js +2 -0
  35. package/cdn/chunks/{chunk.6WBN2N4O.js → chunk.MIEPCS5Q.js} +1 -1
  36. package/cdn/chunks/{chunk.IFFVSUII.js → chunk.NGJHDN4G.js} +1 -1
  37. package/cdn/chunks/{chunk.ARQOKY6B.js → chunk.NTZPTWIL.js} +1 -1
  38. package/cdn/chunks/{chunk.F4D4MB45.js → chunk.OACBRQAC.js} +1 -1
  39. package/cdn/chunks/{chunk.3O7D7WND.js → chunk.OZSZLL3X.js} +1 -1
  40. package/cdn/chunks/{chunk.2VK2CPV6.js → chunk.PL4CZRHO.js} +1 -1
  41. package/cdn/chunks/{chunk.UI456PWE.js → chunk.PXGQTTN3.js} +1 -1
  42. package/cdn/chunks/{chunk.CXDC7HVF.js → chunk.RLIHY7YV.js} +1 -1
  43. package/cdn/chunks/{chunk.6CBTTZGN.js → chunk.SQGNVLJQ.js} +1 -1
  44. package/cdn/chunks/{chunk.IPL4LTDH.js → chunk.STBGWASI.js} +1 -1
  45. package/cdn/chunks/{chunk.KTEJYSCF.js → chunk.STLIGK3C.js} +1 -1
  46. package/cdn/chunks/{chunk.KJU3DTTS.js → chunk.SUM5BQ3K.js} +1 -1
  47. package/cdn/chunks/{chunk.CG2XMP5P.js → chunk.TE3EY6TR.js} +1 -1
  48. package/cdn/chunks/{chunk.EUGUFF7W.js → chunk.TETAPRB3.js} +1 -1
  49. package/cdn/chunks/{chunk.BJBD3K7E.js → chunk.TOMBEURL.js} +1 -1
  50. package/cdn/chunks/{chunk.ZTPOVIKT.js → chunk.UDVWSI6W.js} +1 -1
  51. package/cdn/chunks/{chunk.7KRLENTN.js → chunk.UKMEWJ4G.js} +1 -1
  52. package/cdn/chunks/{chunk.VOI4EXFV.js → chunk.VKX4MHAQ.js} +1 -1
  53. package/cdn/chunks/{chunk.LEKTGPY4.js → chunk.VUFY7IJG.js} +1 -1
  54. package/cdn/chunks/{chunk.4WC24WXI.js → chunk.W46SVEHN.js} +1 -1
  55. package/cdn/chunks/{chunk.YWKNDVUM.js → chunk.WEKWVHAO.js} +5 -5
  56. package/cdn/chunks/{chunk.O6J7O4MM.js → chunk.XX4QBFLB.js} +1 -1
  57. package/cdn/chunks/{chunk.J4OSIFRV.js → chunk.XXLUPG4I.js} +1 -1
  58. package/cdn/chunks/{chunk.WGOAIYU5.js → chunk.YQQKEF2N.js} +1 -1
  59. package/cdn/chunks/{chunk.55ZOVACN.js → chunk.ZUCMESEL.js} +1 -1
  60. package/cdn/chunks/{chunk.PACLE3DM.js → chunk.ZY22W5WF.js} +1 -1
  61. package/cdn/components/accordion/accordion.js +1 -1
  62. package/cdn/components/accordion-group/accordion-group.js +1 -1
  63. package/cdn/components/animation/animation.js +1 -1
  64. package/cdn/components/audio/audio.js +1 -1
  65. package/cdn/components/badge/badge.js +1 -1
  66. package/cdn/components/brandshape/brandshape.js +1 -1
  67. package/cdn/components/breadcrumb/breadcrumb.js +1 -1
  68. package/cdn/components/breadcrumb-item/breadcrumb-item.js +1 -1
  69. package/cdn/components/button/button.js +1 -1
  70. package/cdn/components/button-group/button-group.js +1 -1
  71. package/cdn/components/carousel/carousel.js +1 -1
  72. package/cdn/components/carousel-item/carousel-item.js +1 -1
  73. package/cdn/components/checkbox/checkbox.js +1 -1
  74. package/cdn/components/checkbox-group/checkbox-group.js +1 -1
  75. package/cdn/components/combobox/combobox.d.ts +1 -0
  76. package/cdn/components/combobox/combobox.js +1 -1
  77. package/cdn/components/datepicker/datepicker.d.ts +1 -0
  78. package/cdn/components/datepicker/datepicker.js +1 -1
  79. package/cdn/components/dialog/dialog.js +1 -1
  80. package/cdn/components/divider/divider.js +1 -1
  81. package/cdn/components/drawer/drawer.js +1 -1
  82. package/cdn/components/dropdown/dropdown.js +1 -1
  83. package/cdn/components/expandable/expandable.js +1 -1
  84. package/cdn/components/flipcard/flipcard.js +1 -1
  85. package/cdn/components/header/header.js +1 -1
  86. package/cdn/components/icon/icon.js +1 -1
  87. package/cdn/components/include/include.js +1 -1
  88. package/cdn/components/input/input.js +1 -1
  89. package/cdn/components/link/link.js +1 -1
  90. package/cdn/components/loader/loader.js +1 -1
  91. package/cdn/components/map-marker/map-marker.js +1 -1
  92. package/cdn/components/menu/menu.js +1 -1
  93. package/cdn/components/menu-item/menu-item.js +1 -1
  94. package/cdn/components/navigation-item/navigation-item.js +1 -1
  95. package/cdn/components/notification/notification.js +1 -1
  96. package/cdn/components/optgroup/optgroup.js +1 -1
  97. package/cdn/components/option/option.js +1 -1
  98. package/cdn/components/popup/popup.js +1 -1
  99. package/cdn/components/quickfact/quickfact.js +1 -1
  100. package/cdn/components/radio/radio.js +1 -1
  101. package/cdn/components/radio-button/radio-button.js +1 -1
  102. package/cdn/components/radio-group/radio-group.js +1 -1
  103. package/cdn/components/range/range.js +1 -1
  104. package/cdn/components/range-tick/range-tick.js +1 -1
  105. package/cdn/components/scrollable/scrollable.js +1 -1
  106. package/cdn/components/select/select.d.ts +1 -0
  107. package/cdn/components/select/select.js +1 -1
  108. package/cdn/components/skeleton/skeleton.js +1 -1
  109. package/cdn/components/spinner/spinner.js +1 -1
  110. package/cdn/components/step/step.js +1 -1
  111. package/cdn/components/step-group/step-group.js +1 -1
  112. package/cdn/components/switch/switch.js +1 -1
  113. package/cdn/components/tab/tab.js +1 -1
  114. package/cdn/components/tab-group/tab-group.js +1 -1
  115. package/cdn/components/tab-panel/tab-panel.js +1 -1
  116. package/cdn/components/tag/tag.js +1 -1
  117. package/cdn/components/teaser/teaser.js +1 -1
  118. package/cdn/components/teaser-media/teaser-media.js +1 -1
  119. package/cdn/components/textarea/textarea.d.ts +1 -0
  120. package/cdn/components/textarea/textarea.js +1 -1
  121. package/cdn/components/theme-listener/theme-listener.js +1 -1
  122. package/cdn/components/tooltip/tooltip.js +1 -1
  123. package/cdn/components/video/video.js +1 -1
  124. package/cdn/custom-elements.json +81 -1
  125. package/cdn/solid-components.bundle.js +85 -85
  126. package/cdn/solid-components.iife.js +85 -85
  127. package/cdn/solid-components.js +1 -1
  128. package/cdn/utilities/autocomplete-config.js +1 -1
  129. package/cdn/vscode.html-custom-data.json +20 -0
  130. package/cdn/web-types.json +41 -1
  131. package/cdn-versioned/chunks/{chunk.MUQCEPDF.js → chunk.2FGPC4YA.js} +2 -2
  132. package/cdn-versioned/chunks/{chunk.DAEPT3H4.js → chunk.3RPO52XL.js} +2 -2
  133. package/cdn-versioned/chunks/{chunk.KFR44ZHE.js → chunk.4XTZVBPO.js} +2 -2
  134. package/cdn-versioned/chunks/{chunk.CODGMHKX.js → chunk.5V3VFOV3.js} +2 -2
  135. package/cdn-versioned/chunks/{chunk.2ZDBC4NO.js → chunk.66ZEGK3P.js} +2 -2
  136. package/cdn-versioned/chunks/{chunk.M2OQAQW7.js → chunk.6BVUCRWX.js} +3 -3
  137. package/cdn-versioned/chunks/{chunk.LEGQ7UUP.js → chunk.6VQHR77M.js} +2 -2
  138. package/cdn-versioned/chunks/{chunk.PG6R3PLC.js → chunk.ABR465XL.js} +2 -2
  139. package/cdn-versioned/chunks/{chunk.RYAD7IRY.js → chunk.AEZZYF6J.js} +2 -2
  140. package/cdn-versioned/chunks/{chunk.5UPYGDHE.js → chunk.B7OPA63M.js} +2 -2
  141. package/cdn-versioned/chunks/{chunk.CFP3UQ4K.js → chunk.BAQ4E64I.js} +2 -2
  142. package/cdn-versioned/chunks/chunk.CDP46OS4.js +1 -1
  143. package/cdn-versioned/chunks/chunk.DCE3ZWBN.js +12 -0
  144. package/cdn-versioned/chunks/{chunk.K6DCMB43.js → chunk.DK6EAC7C.js} +2 -2
  145. package/cdn-versioned/chunks/{chunk.BNGAA2G7.js → chunk.EFJK27YO.js} +2 -2
  146. package/cdn-versioned/chunks/{chunk.OQC4S6XH.js → chunk.F246JZEF.js} +2 -2
  147. package/cdn-versioned/chunks/{chunk.P67KWOFJ.js → chunk.FU4J3I2N.js} +2 -2
  148. package/cdn-versioned/chunks/{chunk.XF6Q3IDC.js → chunk.FYBCQ2FB.js} +2 -2
  149. package/cdn-versioned/chunks/{chunk.DFWW4H4B.js → chunk.G4AMQXVJ.js} +2 -2
  150. package/cdn-versioned/chunks/{chunk.Z2YSS7RK.js → chunk.GPRY2R37.js} +2 -2
  151. package/cdn-versioned/chunks/{chunk.XZMHSJLR.js → chunk.HISFHVXJ.js} +3 -3
  152. package/cdn-versioned/chunks/{chunk.P43KSU2Z.js → chunk.HZ7ZOFBM.js} +2 -2
  153. package/cdn-versioned/chunks/{chunk.TBF33CEP.js → chunk.IEKNIDY3.js} +2 -2
  154. package/cdn-versioned/chunks/chunk.ILPSW4EJ.js +26 -0
  155. package/cdn-versioned/chunks/chunk.JS2HQ2N4.js +1 -1
  156. package/cdn-versioned/chunks/{chunk.MUKILXUA.js → chunk.JUWWBMAQ.js} +2 -2
  157. package/cdn-versioned/chunks/{chunk.LDQIVUJG.js → chunk.KIBECFQD.js} +2 -2
  158. package/cdn-versioned/chunks/chunk.KKOE47U4.js +2 -0
  159. package/cdn-versioned/chunks/{chunk.75PEEH7J.js → chunk.KKXQXI5K.js} +2 -2
  160. package/cdn-versioned/chunks/{chunk.5YOQAPGO.js → chunk.KLFXDZV3.js} +2 -2
  161. package/cdn-versioned/chunks/{chunk.RTFSEMNA.js → chunk.KO4ZHHCL.js} +2 -2
  162. package/cdn-versioned/chunks/{chunk.N4SYLRH6.js → chunk.L3M47CB3.js} +2 -2
  163. package/cdn-versioned/chunks/{chunk.WO2J2S6V.js → chunk.L4OQMU6C.js} +2 -2
  164. package/cdn-versioned/chunks/{chunk.W22ZXNBC.js → chunk.L6WYTVZF.js} +2 -2
  165. package/cdn-versioned/chunks/{chunk.MOANQMSV.js → chunk.LHJPZ3DZ.js} +10 -10
  166. package/cdn-versioned/chunks/chunk.M4PYL7HB.js +2 -0
  167. package/cdn-versioned/chunks/{chunk.6WBN2N4O.js → chunk.MIEPCS5Q.js} +2 -2
  168. package/cdn-versioned/chunks/{chunk.IFFVSUII.js → chunk.NGJHDN4G.js} +2 -2
  169. package/cdn-versioned/chunks/{chunk.ARQOKY6B.js → chunk.NTZPTWIL.js} +2 -2
  170. package/cdn-versioned/chunks/{chunk.F4D4MB45.js → chunk.OACBRQAC.js} +2 -2
  171. package/cdn-versioned/chunks/{chunk.3O7D7WND.js → chunk.OZSZLL3X.js} +2 -2
  172. package/cdn-versioned/chunks/{chunk.2VK2CPV6.js → chunk.PL4CZRHO.js} +2 -2
  173. package/cdn-versioned/chunks/{chunk.UI456PWE.js → chunk.PXGQTTN3.js} +2 -2
  174. package/cdn-versioned/chunks/{chunk.CXDC7HVF.js → chunk.RLIHY7YV.js} +2 -2
  175. package/cdn-versioned/chunks/{chunk.6CBTTZGN.js → chunk.SQGNVLJQ.js} +2 -2
  176. package/cdn-versioned/chunks/{chunk.IPL4LTDH.js → chunk.STBGWASI.js} +2 -2
  177. package/cdn-versioned/chunks/{chunk.KTEJYSCF.js → chunk.STLIGK3C.js} +2 -2
  178. package/cdn-versioned/chunks/{chunk.KJU3DTTS.js → chunk.SUM5BQ3K.js} +2 -2
  179. package/cdn-versioned/chunks/{chunk.CG2XMP5P.js → chunk.TE3EY6TR.js} +2 -2
  180. package/cdn-versioned/chunks/{chunk.EUGUFF7W.js → chunk.TETAPRB3.js} +2 -2
  181. package/cdn-versioned/chunks/{chunk.BJBD3K7E.js → chunk.TOMBEURL.js} +2 -2
  182. package/cdn-versioned/chunks/{chunk.ZTPOVIKT.js → chunk.UDVWSI6W.js} +2 -2
  183. package/cdn-versioned/chunks/{chunk.7KRLENTN.js → chunk.UKMEWJ4G.js} +2 -2
  184. package/cdn-versioned/chunks/{chunk.VOI4EXFV.js → chunk.VKX4MHAQ.js} +2 -2
  185. package/cdn-versioned/chunks/chunk.VTDQOKJM.js +2 -2
  186. package/cdn-versioned/chunks/{chunk.LEKTGPY4.js → chunk.VUFY7IJG.js} +2 -2
  187. package/cdn-versioned/chunks/{chunk.4WC24WXI.js → chunk.W46SVEHN.js} +2 -2
  188. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  189. package/cdn-versioned/chunks/{chunk.YWKNDVUM.js → chunk.WEKWVHAO.js} +5 -5
  190. package/cdn-versioned/chunks/{chunk.O6J7O4MM.js → chunk.XX4QBFLB.js} +2 -2
  191. package/cdn-versioned/chunks/{chunk.J4OSIFRV.js → chunk.XXLUPG4I.js} +2 -2
  192. package/cdn-versioned/chunks/{chunk.WGOAIYU5.js → chunk.YQQKEF2N.js} +3 -3
  193. package/cdn-versioned/chunks/{chunk.55ZOVACN.js → chunk.ZUCMESEL.js} +3 -3
  194. package/cdn-versioned/chunks/{chunk.PACLE3DM.js → chunk.ZY22W5WF.js} +2 -2
  195. package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
  196. package/cdn-versioned/components/accordion/accordion.js +1 -1
  197. package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  198. package/cdn-versioned/components/accordion-group/accordion-group.js +1 -1
  199. package/cdn-versioned/components/animation/animation.d.ts +1 -1
  200. package/cdn-versioned/components/animation/animation.js +1 -1
  201. package/cdn-versioned/components/audio/audio.d.ts +1 -1
  202. package/cdn-versioned/components/audio/audio.js +1 -1
  203. package/cdn-versioned/components/badge/badge.d.ts +1 -1
  204. package/cdn-versioned/components/badge/badge.js +1 -1
  205. package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
  206. package/cdn-versioned/components/brandshape/brandshape.js +1 -1
  207. package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  208. package/cdn-versioned/components/breadcrumb/breadcrumb.js +1 -1
  209. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  210. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.js +1 -1
  211. package/cdn-versioned/components/button/button.d.ts +1 -1
  212. package/cdn-versioned/components/button/button.js +1 -1
  213. package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
  214. package/cdn-versioned/components/button-group/button-group.js +1 -1
  215. package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
  216. package/cdn-versioned/components/carousel/carousel.js +1 -1
  217. package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  218. package/cdn-versioned/components/carousel-item/carousel-item.js +1 -1
  219. package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
  220. package/cdn-versioned/components/checkbox/checkbox.js +1 -1
  221. package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  222. package/cdn-versioned/components/checkbox-group/checkbox-group.js +1 -1
  223. package/cdn-versioned/components/combobox/combobox.d.ts +2 -1
  224. package/cdn-versioned/components/combobox/combobox.js +1 -1
  225. package/cdn-versioned/components/datepicker/datepicker.d.ts +2 -1
  226. package/cdn-versioned/components/datepicker/datepicker.js +1 -1
  227. package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
  228. package/cdn-versioned/components/dialog/dialog.js +1 -1
  229. package/cdn-versioned/components/divider/divider.d.ts +1 -1
  230. package/cdn-versioned/components/divider/divider.js +1 -1
  231. package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
  232. package/cdn-versioned/components/drawer/drawer.js +1 -1
  233. package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
  234. package/cdn-versioned/components/dropdown/dropdown.js +1 -1
  235. package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
  236. package/cdn-versioned/components/expandable/expandable.js +1 -1
  237. package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
  238. package/cdn-versioned/components/flipcard/flipcard.js +1 -1
  239. package/cdn-versioned/components/header/header.d.ts +1 -1
  240. package/cdn-versioned/components/header/header.js +1 -1
  241. package/cdn-versioned/components/icon/icon.d.ts +1 -1
  242. package/cdn-versioned/components/icon/icon.js +1 -1
  243. package/cdn-versioned/components/include/include.d.ts +1 -1
  244. package/cdn-versioned/components/include/include.js +1 -1
  245. package/cdn-versioned/components/input/input.d.ts +1 -1
  246. package/cdn-versioned/components/input/input.js +1 -1
  247. package/cdn-versioned/components/link/link.d.ts +1 -1
  248. package/cdn-versioned/components/link/link.js +1 -1
  249. package/cdn-versioned/components/loader/loader.d.ts +1 -1
  250. package/cdn-versioned/components/loader/loader.js +1 -1
  251. package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
  252. package/cdn-versioned/components/map-marker/map-marker.js +1 -1
  253. package/cdn-versioned/components/menu/menu.d.ts +1 -1
  254. package/cdn-versioned/components/menu/menu.js +1 -1
  255. package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
  256. package/cdn-versioned/components/menu-item/menu-item.js +1 -1
  257. package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  258. package/cdn-versioned/components/navigation-item/navigation-item.js +1 -1
  259. package/cdn-versioned/components/notification/notification.d.ts +1 -1
  260. package/cdn-versioned/components/notification/notification.js +1 -1
  261. package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
  262. package/cdn-versioned/components/optgroup/optgroup.js +1 -1
  263. package/cdn-versioned/components/option/option.d.ts +1 -1
  264. package/cdn-versioned/components/option/option.js +1 -1
  265. package/cdn-versioned/components/popup/popup.d.ts +1 -1
  266. package/cdn-versioned/components/popup/popup.js +1 -1
  267. package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
  268. package/cdn-versioned/components/quickfact/quickfact.js +1 -1
  269. package/cdn-versioned/components/radio/radio.d.ts +1 -1
  270. package/cdn-versioned/components/radio/radio.js +1 -1
  271. package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
  272. package/cdn-versioned/components/radio-button/radio-button.js +1 -1
  273. package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
  274. package/cdn-versioned/components/radio-group/radio-group.js +1 -1
  275. package/cdn-versioned/components/range/range.d.ts +1 -1
  276. package/cdn-versioned/components/range/range.js +1 -1
  277. package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
  278. package/cdn-versioned/components/range-tick/range-tick.js +1 -1
  279. package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
  280. package/cdn-versioned/components/scrollable/scrollable.js +1 -1
  281. package/cdn-versioned/components/select/select.d.ts +2 -1
  282. package/cdn-versioned/components/select/select.js +1 -1
  283. package/cdn-versioned/components/skeleton/skeleton.d.ts +1 -1
  284. package/cdn-versioned/components/skeleton/skeleton.js +1 -1
  285. package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
  286. package/cdn-versioned/components/spinner/spinner.js +1 -1
  287. package/cdn-versioned/components/step/step.d.ts +1 -1
  288. package/cdn-versioned/components/step/step.js +1 -1
  289. package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
  290. package/cdn-versioned/components/step-group/step-group.js +1 -1
  291. package/cdn-versioned/components/switch/switch.d.ts +1 -1
  292. package/cdn-versioned/components/switch/switch.js +1 -1
  293. package/cdn-versioned/components/tab/tab.d.ts +1 -1
  294. package/cdn-versioned/components/tab/tab.js +1 -1
  295. package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
  296. package/cdn-versioned/components/tab-group/tab-group.js +1 -1
  297. package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  298. package/cdn-versioned/components/tab-panel/tab-panel.js +1 -1
  299. package/cdn-versioned/components/tag/tag.d.ts +1 -1
  300. package/cdn-versioned/components/tag/tag.js +1 -1
  301. package/cdn-versioned/components/teaser/teaser.js +1 -1
  302. package/cdn-versioned/components/teaser-media/teaser-media.js +1 -1
  303. package/cdn-versioned/components/textarea/textarea.d.ts +2 -1
  304. package/cdn-versioned/components/textarea/textarea.js +1 -1
  305. package/cdn-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  306. package/cdn-versioned/components/theme-listener/theme-listener.js +1 -1
  307. package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
  308. package/cdn-versioned/components/tooltip/tooltip.js +1 -1
  309. package/cdn-versioned/components/video/video.d.ts +1 -1
  310. package/cdn-versioned/components/video/video.js +1 -1
  311. package/cdn-versioned/custom-elements.json +324 -244
  312. package/cdn-versioned/internal/form.js +3 -3
  313. package/cdn-versioned/solid-components.bundle.js +91 -91
  314. package/cdn-versioned/solid-components.css +2 -2
  315. package/cdn-versioned/solid-components.iife.js +91 -91
  316. package/cdn-versioned/solid-components.js +1 -1
  317. package/cdn-versioned/utilities/autocomplete-config.js +1 -1
  318. package/cdn-versioned/vscode.html-custom-data.json +114 -94
  319. package/cdn-versioned/web-types.json +197 -157
  320. package/dist/chunks/{chunk.ARH5HQTN.js → chunk.2KNNUBKN.js} +1 -1
  321. package/dist/chunks/{chunk.RJWK5GMF.js → chunk.2WQCSOBT.js} +1 -1
  322. package/dist/chunks/{chunk.RD3IRAC3.js → chunk.32IX6D3L.js} +1 -1
  323. package/dist/chunks/{chunk.SMJX5NIM.js → chunk.37OK4KWY.js} +1 -1
  324. package/dist/chunks/{chunk.IAEZIPFH.js → chunk.4NTO3WSB.js} +1 -1
  325. package/dist/chunks/{chunk.ESO3UE3C.js → chunk.5CGWX5RR.js} +1 -1
  326. package/dist/chunks/{chunk.RR3Q5MBE.js → chunk.5L5PZI7S.js} +1 -1
  327. package/dist/chunks/{chunk.4QTDQJIH.js → chunk.6VXSQ6EW.js} +1 -1
  328. package/dist/chunks/{chunk.YF3BJYUM.js → chunk.6XHQXYWH.js} +1 -1
  329. package/dist/chunks/{chunk.IAEDCKKK.js → chunk.BPDXM4IA.js} +1 -1
  330. package/dist/chunks/{chunk.ONQR2THN.js → chunk.CNEVB3DU.js} +1 -1
  331. package/dist/chunks/{chunk.6VZW3ADW.js → chunk.DDFLKY5G.js} +1 -1
  332. package/dist/chunks/{chunk.D7D7W462.js → chunk.EAYDTYXQ.js} +2 -2
  333. package/dist/chunks/{chunk.MI6R5ZZP.js → chunk.EFJRL7C3.js} +1 -1
  334. package/dist/chunks/{chunk.ZKYLWME6.js → chunk.EMHDLIJ3.js} +1 -1
  335. package/dist/chunks/{chunk.7FO25F4H.js → chunk.HGBP6KHT.js} +20 -5
  336. package/dist/chunks/{chunk.2Z7CXAOD.js → chunk.HIHJFSSK.js} +1 -1
  337. package/dist/chunks/{chunk.QZBVTJJG.js → chunk.HXD2XVDE.js} +28 -7
  338. package/dist/chunks/{chunk.PSFJL5BC.js → chunk.IXGD5CJO.js} +1 -1
  339. package/dist/chunks/{chunk.4KOK7NFI.js → chunk.KBXGHMNB.js} +1 -1
  340. package/dist/chunks/{chunk.HSAMYW74.js → chunk.L3VE4QNO.js} +22 -7
  341. package/dist/chunks/{chunk.3DVN6TIZ.js → chunk.LDI2EMTX.js} +1 -1
  342. package/dist/chunks/{chunk.V4N7KIXL.js → chunk.LFTPT2LS.js} +1 -1
  343. package/dist/chunks/{chunk.Q3WYBER2.js → chunk.LTJRYNEW.js} +1 -1
  344. package/dist/chunks/{chunk.3QHBV32W.js → chunk.LY4UJCKI.js} +1 -1
  345. package/dist/chunks/{chunk.CMW2TFVK.js → chunk.MLSP6BU6.js} +1 -1
  346. package/dist/chunks/{chunk.Z5JYDAEW.js → chunk.MRII2AQC.js} +1 -1
  347. package/dist/chunks/{chunk.K4Z3IEUN.js → chunk.MXJTDQ2Z.js} +1 -1
  348. package/dist/chunks/{chunk.2DNMPJJ2.js → chunk.N6ZE6GNE.js} +25 -7
  349. package/dist/chunks/{chunk.D2WY74SG.js → chunk.N7HROUWX.js} +1 -1
  350. package/dist/chunks/{chunk.GLHGV3VF.js → chunk.NF2EWVZG.js} +1 -1
  351. package/dist/chunks/{chunk.AMRAVTSA.js → chunk.NMAAQR6B.js} +1 -1
  352. package/dist/chunks/{chunk.NQQUKOWG.js → chunk.NOJJNCF3.js} +1 -1
  353. package/dist/chunks/{chunk.PVDLPPTV.js → chunk.NT4PTQYD.js} +1 -1
  354. package/dist/chunks/{chunk.YF5UEAZB.js → chunk.OEZUQ6UO.js} +1 -1
  355. package/dist/chunks/{chunk.SK4YQFUJ.js → chunk.QL7P24EG.js} +1 -1
  356. package/dist/chunks/{chunk.6Y22XPHZ.js → chunk.QMZUGH5H.js} +1 -1
  357. package/dist/chunks/{chunk.OBSDK2VV.js → chunk.QN3QZO7R.js} +1 -1
  358. package/dist/chunks/{chunk.4H273N32.js → chunk.R27ZUXF7.js} +1 -1
  359. package/dist/chunks/{chunk.POWK7YFC.js → chunk.RF6AFZJB.js} +2 -2
  360. package/dist/chunks/{chunk.OBK3EO2G.js → chunk.RIQKX2S3.js} +1 -1
  361. package/dist/chunks/{chunk.JG3MCP7W.js → chunk.RMWQAVGI.js} +1 -1
  362. package/dist/chunks/{chunk.I2P23QTW.js → chunk.RSEYLNYN.js} +1 -1
  363. package/dist/chunks/chunk.S34JD54Y.js +93 -0
  364. package/dist/chunks/{chunk.O2ADKKAZ.js → chunk.S7OVMBYF.js} +1 -1
  365. package/dist/chunks/{chunk.LMWUXHPK.js → chunk.SC2SLCZ5.js} +1 -1
  366. package/dist/chunks/{chunk.QCP6K5CZ.js → chunk.SID6AGCF.js} +1 -1
  367. package/dist/chunks/{chunk.H5D3NZVT.js → chunk.STLLKLW3.js} +1 -1
  368. package/dist/chunks/{chunk.WNEVZO6O.js → chunk.UHRMDVMR.js} +1 -1
  369. package/dist/chunks/{chunk.5BKAP2R5.js → chunk.VH7HN3OS.js} +2 -2
  370. package/dist/chunks/{chunk.MO6NWHBW.js → chunk.VYMKNCU4.js} +1 -1
  371. package/dist/chunks/{chunk.PFVAHB5W.js → chunk.VZZ4VQ2D.js} +1 -1
  372. package/dist/chunks/{chunk.KZU2A6M6.js → chunk.W7AFDPXR.js} +1 -1
  373. package/dist/chunks/{chunk.7G7TEHPB.js → chunk.WEO4OUHD.js} +1 -1
  374. package/dist/chunks/{chunk.FENRLNP2.js → chunk.Y34VQGMX.js} +3 -3
  375. package/dist/chunks/{chunk.P6HO4QVG.js → chunk.YC7BZ4XP.js} +1 -1
  376. package/dist/chunks/{chunk.QKIZQ6XB.js → chunk.YDFQF3M7.js} +1 -1
  377. package/dist/chunks/{chunk.MKJHGK5E.js → chunk.YE73GLER.js} +1 -1
  378. package/dist/chunks/{chunk.U6ST552E.js → chunk.YISZL576.js} +1 -1
  379. package/dist/chunks/{chunk.IL64EXT6.js → chunk.YJS2U2G6.js} +1 -1
  380. package/dist/components/accordion/accordion.js +3 -3
  381. package/dist/components/accordion-group/accordion-group.js +4 -4
  382. package/dist/components/animation/animation.js +2 -2
  383. package/dist/components/audio/audio.js +6 -6
  384. package/dist/components/badge/badge.js +2 -2
  385. package/dist/components/brandshape/brandshape.js +2 -2
  386. package/dist/components/breadcrumb/breadcrumb.js +5 -5
  387. package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
  388. package/dist/components/button/button.js +3 -3
  389. package/dist/components/button-group/button-group.js +2 -2
  390. package/dist/components/carousel/carousel.js +4 -4
  391. package/dist/components/carousel-item/carousel-item.js +2 -2
  392. package/dist/components/checkbox/checkbox.js +3 -3
  393. package/dist/components/checkbox-group/checkbox-group.js +3 -3
  394. package/dist/components/combobox/combobox.d.ts +1 -0
  395. package/dist/components/combobox/combobox.js +5 -5
  396. package/dist/components/datepicker/datepicker.d.ts +1 -0
  397. package/dist/components/datepicker/datepicker.js +5 -5
  398. package/dist/components/dialog/dialog.js +5 -5
  399. package/dist/components/divider/divider.js +2 -2
  400. package/dist/components/drawer/drawer.js +5 -5
  401. package/dist/components/dropdown/dropdown.js +3 -3
  402. package/dist/components/expandable/expandable.js +3 -3
  403. package/dist/components/flipcard/flipcard.js +5 -5
  404. package/dist/components/header/header.js +2 -2
  405. package/dist/components/icon/icon.js +2 -2
  406. package/dist/components/include/include.js +2 -2
  407. package/dist/components/input/input.js +3 -3
  408. package/dist/components/link/link.js +2 -2
  409. package/dist/components/loader/loader.js +2 -2
  410. package/dist/components/map-marker/map-marker.js +2 -2
  411. package/dist/components/menu/menu.js +2 -2
  412. package/dist/components/menu-item/menu-item.js +2 -2
  413. package/dist/components/navigation-item/navigation-item.js +4 -4
  414. package/dist/components/notification/notification.js +5 -5
  415. package/dist/components/optgroup/optgroup.js +3 -3
  416. package/dist/components/option/option.js +3 -3
  417. package/dist/components/popup/popup.js +2 -2
  418. package/dist/components/quickfact/quickfact.js +4 -4
  419. package/dist/components/radio/radio.js +2 -2
  420. package/dist/components/radio-button/radio-button.js +2 -2
  421. package/dist/components/radio-group/radio-group.js +4 -4
  422. package/dist/components/range/range.js +2 -2
  423. package/dist/components/range-tick/range-tick.js +2 -2
  424. package/dist/components/scrollable/scrollable.js +3 -3
  425. package/dist/components/select/select.d.ts +1 -0
  426. package/dist/components/select/select.js +5 -5
  427. package/dist/components/skeleton/skeleton.js +2 -2
  428. package/dist/components/spinner/spinner.js +2 -2
  429. package/dist/components/step/step.js +3 -3
  430. package/dist/components/step-group/step-group.js +2 -2
  431. package/dist/components/switch/switch.js +2 -2
  432. package/dist/components/tab/tab.js +2 -2
  433. package/dist/components/tab-group/tab-group.js +3 -3
  434. package/dist/components/tab-panel/tab-panel.js +2 -2
  435. package/dist/components/tag/tag.js +3 -3
  436. package/dist/components/teaser/teaser.js +2 -2
  437. package/dist/components/teaser-media/teaser-media.js +2 -2
  438. package/dist/components/textarea/textarea.d.ts +1 -0
  439. package/dist/components/textarea/textarea.js +3 -3
  440. package/dist/components/theme-listener/theme-listener.js +2 -2
  441. package/dist/components/tooltip/tooltip.js +4 -4
  442. package/dist/components/video/video.js +3 -3
  443. package/dist/custom-elements.json +81 -1
  444. package/dist/solid-components.js +65 -65
  445. package/dist/utilities/autocomplete-config.js +2 -2
  446. package/dist/vscode.html-custom-data.json +20 -0
  447. package/dist/web-types.json +41 -1
  448. package/dist-versioned/chunks/{chunk.ARH5HQTN.js → chunk.2KNNUBKN.js} +5 -5
  449. package/dist-versioned/chunks/{chunk.RJWK5GMF.js → chunk.2WQCSOBT.js} +2 -2
  450. package/dist-versioned/chunks/{chunk.RD3IRAC3.js → chunk.32IX6D3L.js} +3 -3
  451. package/dist-versioned/chunks/{chunk.SMJX5NIM.js → chunk.37OK4KWY.js} +3 -3
  452. package/dist-versioned/chunks/{chunk.IAEZIPFH.js → chunk.4NTO3WSB.js} +3 -3
  453. package/dist-versioned/chunks/{chunk.ESO3UE3C.js → chunk.5CGWX5RR.js} +10 -10
  454. package/dist-versioned/chunks/{chunk.RR3Q5MBE.js → chunk.5L5PZI7S.js} +5 -5
  455. package/dist-versioned/chunks/{chunk.4QTDQJIH.js → chunk.6VXSQ6EW.js} +2 -2
  456. package/dist-versioned/chunks/{chunk.YF3BJYUM.js → chunk.6XHQXYWH.js} +3 -3
  457. package/dist-versioned/chunks/{chunk.IAEDCKKK.js → chunk.BPDXM4IA.js} +12 -12
  458. package/dist-versioned/chunks/{chunk.ONQR2THN.js → chunk.CNEVB3DU.js} +5 -5
  459. package/dist-versioned/chunks/{chunk.6VZW3ADW.js → chunk.DDFLKY5G.js} +5 -5
  460. package/dist-versioned/chunks/{chunk.D7D7W462.js → chunk.EAYDTYXQ.js} +12 -12
  461. package/dist-versioned/chunks/{chunk.MI6R5ZZP.js → chunk.EFJRL7C3.js} +29 -29
  462. package/dist-versioned/chunks/{chunk.ZKYLWME6.js → chunk.EMHDLIJ3.js} +9 -9
  463. package/dist-versioned/chunks/{chunk.7FO25F4H.js → chunk.HGBP6KHT.js} +23 -8
  464. package/dist-versioned/chunks/{chunk.2Z7CXAOD.js → chunk.HIHJFSSK.js} +4 -4
  465. package/dist-versioned/chunks/{chunk.QZBVTJJG.js → chunk.HXD2XVDE.js} +51 -30
  466. package/dist-versioned/chunks/{chunk.PSFJL5BC.js → chunk.IXGD5CJO.js} +15 -15
  467. package/dist-versioned/chunks/{chunk.4KOK7NFI.js → chunk.KBXGHMNB.js} +3 -3
  468. package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
  469. package/dist-versioned/chunks/{chunk.HSAMYW74.js → chunk.L3VE4QNO.js} +24 -9
  470. package/dist-versioned/chunks/{chunk.3DVN6TIZ.js → chunk.LDI2EMTX.js} +2 -2
  471. package/dist-versioned/chunks/{chunk.V4N7KIXL.js → chunk.LFTPT2LS.js} +3 -3
  472. package/dist-versioned/chunks/{chunk.Q3WYBER2.js → chunk.LTJRYNEW.js} +7 -7
  473. package/dist-versioned/chunks/{chunk.3QHBV32W.js → chunk.LY4UJCKI.js} +6 -6
  474. package/dist-versioned/chunks/{chunk.CMW2TFVK.js → chunk.MLSP6BU6.js} +8 -8
  475. package/dist-versioned/chunks/{chunk.Z5JYDAEW.js → chunk.MRII2AQC.js} +2 -2
  476. package/dist-versioned/chunks/{chunk.K4Z3IEUN.js → chunk.MXJTDQ2Z.js} +13 -13
  477. package/dist-versioned/chunks/{chunk.2DNMPJJ2.js → chunk.N6ZE6GNE.js} +51 -33
  478. package/dist-versioned/chunks/{chunk.D2WY74SG.js → chunk.N7HROUWX.js} +5 -5
  479. package/dist-versioned/chunks/{chunk.GLHGV3VF.js → chunk.NF2EWVZG.js} +3 -3
  480. package/dist-versioned/chunks/{chunk.AMRAVTSA.js → chunk.NMAAQR6B.js} +3 -3
  481. package/dist-versioned/chunks/{chunk.NQQUKOWG.js → chunk.NOJJNCF3.js} +4 -4
  482. package/dist-versioned/chunks/{chunk.PVDLPPTV.js → chunk.NT4PTQYD.js} +2 -2
  483. package/dist-versioned/chunks/{chunk.YF5UEAZB.js → chunk.OEZUQ6UO.js} +2 -2
  484. package/dist-versioned/chunks/{chunk.SK4YQFUJ.js → chunk.QL7P24EG.js} +5 -5
  485. package/dist-versioned/chunks/{chunk.6Y22XPHZ.js → chunk.QMZUGH5H.js} +5 -5
  486. package/dist-versioned/chunks/{chunk.OBSDK2VV.js → chunk.QN3QZO7R.js} +3 -3
  487. package/dist-versioned/chunks/{chunk.4H273N32.js → chunk.R27ZUXF7.js} +2 -2
  488. package/dist-versioned/chunks/{chunk.POWK7YFC.js → chunk.RF6AFZJB.js} +5 -5
  489. package/dist-versioned/chunks/{chunk.OBK3EO2G.js → chunk.RIQKX2S3.js} +4 -4
  490. package/dist-versioned/chunks/{chunk.JG3MCP7W.js → chunk.RMWQAVGI.js} +6 -6
  491. package/dist-versioned/chunks/{chunk.I2P23QTW.js → chunk.RSEYLNYN.js} +4 -4
  492. package/dist-versioned/chunks/chunk.S34JD54Y.js +93 -0
  493. package/dist-versioned/chunks/{chunk.O2ADKKAZ.js → chunk.S7OVMBYF.js} +4 -4
  494. package/dist-versioned/chunks/{chunk.LMWUXHPK.js → chunk.SC2SLCZ5.js} +4 -4
  495. package/dist-versioned/chunks/{chunk.QCP6K5CZ.js → chunk.SID6AGCF.js} +6 -6
  496. package/dist-versioned/chunks/{chunk.H5D3NZVT.js → chunk.STLLKLW3.js} +5 -5
  497. package/dist-versioned/chunks/chunk.U2BN2DBY.js +4 -4
  498. package/dist-versioned/chunks/{chunk.WNEVZO6O.js → chunk.UHRMDVMR.js} +2 -2
  499. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  500. package/dist-versioned/chunks/{chunk.5BKAP2R5.js → chunk.VH7HN3OS.js} +14 -14
  501. package/dist-versioned/chunks/{chunk.MO6NWHBW.js → chunk.VYMKNCU4.js} +9 -9
  502. package/dist-versioned/chunks/{chunk.PFVAHB5W.js → chunk.VZZ4VQ2D.js} +5 -5
  503. package/dist-versioned/chunks/{chunk.KZU2A6M6.js → chunk.W7AFDPXR.js} +7 -7
  504. package/dist-versioned/chunks/{chunk.7G7TEHPB.js → chunk.WEO4OUHD.js} +3 -3
  505. package/dist-versioned/chunks/chunk.XCQC3F3H.js +3 -3
  506. package/dist-versioned/chunks/{chunk.FENRLNP2.js → chunk.Y34VQGMX.js} +7 -7
  507. package/dist-versioned/chunks/{chunk.P6HO4QVG.js → chunk.YC7BZ4XP.js} +4 -4
  508. package/dist-versioned/chunks/{chunk.QKIZQ6XB.js → chunk.YDFQF3M7.js} +4 -4
  509. package/dist-versioned/chunks/{chunk.MKJHGK5E.js → chunk.YE73GLER.js} +2 -2
  510. package/dist-versioned/chunks/{chunk.U6ST552E.js → chunk.YISZL576.js} +9 -9
  511. package/dist-versioned/chunks/{chunk.IL64EXT6.js → chunk.YJS2U2G6.js} +5 -5
  512. package/dist-versioned/components/accordion/accordion.d.ts +1 -1
  513. package/dist-versioned/components/accordion/accordion.js +3 -3
  514. package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  515. package/dist-versioned/components/accordion-group/accordion-group.js +4 -4
  516. package/dist-versioned/components/animation/animation.d.ts +1 -1
  517. package/dist-versioned/components/animation/animation.js +2 -2
  518. package/dist-versioned/components/audio/audio.d.ts +1 -1
  519. package/dist-versioned/components/audio/audio.js +6 -6
  520. package/dist-versioned/components/badge/badge.d.ts +1 -1
  521. package/dist-versioned/components/badge/badge.js +2 -2
  522. package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
  523. package/dist-versioned/components/brandshape/brandshape.js +2 -2
  524. package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  525. package/dist-versioned/components/breadcrumb/breadcrumb.js +5 -5
  526. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  527. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.js +3 -3
  528. package/dist-versioned/components/button/button.d.ts +1 -1
  529. package/dist-versioned/components/button/button.js +3 -3
  530. package/dist-versioned/components/button-group/button-group.d.ts +1 -1
  531. package/dist-versioned/components/button-group/button-group.js +2 -2
  532. package/dist-versioned/components/carousel/carousel.d.ts +1 -1
  533. package/dist-versioned/components/carousel/carousel.js +4 -4
  534. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  535. package/dist-versioned/components/carousel-item/carousel-item.js +2 -2
  536. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  537. package/dist-versioned/components/checkbox/checkbox.js +3 -3
  538. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  539. package/dist-versioned/components/checkbox-group/checkbox-group.js +3 -3
  540. package/dist-versioned/components/combobox/combobox.d.ts +2 -1
  541. package/dist-versioned/components/combobox/combobox.js +5 -5
  542. package/dist-versioned/components/datepicker/datepicker.d.ts +2 -1
  543. package/dist-versioned/components/datepicker/datepicker.js +5 -5
  544. package/dist-versioned/components/dialog/dialog.d.ts +1 -1
  545. package/dist-versioned/components/dialog/dialog.js +5 -5
  546. package/dist-versioned/components/divider/divider.d.ts +1 -1
  547. package/dist-versioned/components/divider/divider.js +2 -2
  548. package/dist-versioned/components/drawer/drawer.d.ts +1 -1
  549. package/dist-versioned/components/drawer/drawer.js +5 -5
  550. package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
  551. package/dist-versioned/components/dropdown/dropdown.js +3 -3
  552. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  553. package/dist-versioned/components/expandable/expandable.js +3 -3
  554. package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
  555. package/dist-versioned/components/flipcard/flipcard.js +5 -5
  556. package/dist-versioned/components/header/header.d.ts +1 -1
  557. package/dist-versioned/components/header/header.js +2 -2
  558. package/dist-versioned/components/icon/icon.d.ts +1 -1
  559. package/dist-versioned/components/icon/icon.js +2 -2
  560. package/dist-versioned/components/include/include.d.ts +1 -1
  561. package/dist-versioned/components/include/include.js +2 -2
  562. package/dist-versioned/components/input/input.d.ts +1 -1
  563. package/dist-versioned/components/input/input.js +3 -3
  564. package/dist-versioned/components/link/link.d.ts +1 -1
  565. package/dist-versioned/components/link/link.js +2 -2
  566. package/dist-versioned/components/loader/loader.d.ts +1 -1
  567. package/dist-versioned/components/loader/loader.js +2 -2
  568. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  569. package/dist-versioned/components/map-marker/map-marker.js +2 -2
  570. package/dist-versioned/components/menu/menu.d.ts +1 -1
  571. package/dist-versioned/components/menu/menu.js +2 -2
  572. package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
  573. package/dist-versioned/components/menu-item/menu-item.js +2 -2
  574. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  575. package/dist-versioned/components/navigation-item/navigation-item.js +4 -4
  576. package/dist-versioned/components/notification/notification.d.ts +1 -1
  577. package/dist-versioned/components/notification/notification.js +5 -5
  578. package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
  579. package/dist-versioned/components/optgroup/optgroup.js +3 -3
  580. package/dist-versioned/components/option/option.d.ts +1 -1
  581. package/dist-versioned/components/option/option.js +3 -3
  582. package/dist-versioned/components/popup/popup.d.ts +1 -1
  583. package/dist-versioned/components/popup/popup.js +2 -2
  584. package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
  585. package/dist-versioned/components/quickfact/quickfact.js +4 -4
  586. package/dist-versioned/components/radio/radio.d.ts +1 -1
  587. package/dist-versioned/components/radio/radio.js +2 -2
  588. package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
  589. package/dist-versioned/components/radio-button/radio-button.js +2 -2
  590. package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
  591. package/dist-versioned/components/radio-group/radio-group.js +4 -4
  592. package/dist-versioned/components/range/range.d.ts +1 -1
  593. package/dist-versioned/components/range/range.js +2 -2
  594. package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
  595. package/dist-versioned/components/range-tick/range-tick.js +2 -2
  596. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  597. package/dist-versioned/components/scrollable/scrollable.js +3 -3
  598. package/dist-versioned/components/select/select.d.ts +2 -1
  599. package/dist-versioned/components/select/select.js +5 -5
  600. package/dist-versioned/components/skeleton/skeleton.d.ts +1 -1
  601. package/dist-versioned/components/skeleton/skeleton.js +2 -2
  602. package/dist-versioned/components/spinner/spinner.d.ts +1 -1
  603. package/dist-versioned/components/spinner/spinner.js +2 -2
  604. package/dist-versioned/components/step/step.d.ts +1 -1
  605. package/dist-versioned/components/step/step.js +3 -3
  606. package/dist-versioned/components/step-group/step-group.d.ts +1 -1
  607. package/dist-versioned/components/step-group/step-group.js +2 -2
  608. package/dist-versioned/components/switch/switch.d.ts +1 -1
  609. package/dist-versioned/components/switch/switch.js +2 -2
  610. package/dist-versioned/components/tab/tab.d.ts +1 -1
  611. package/dist-versioned/components/tab/tab.js +2 -2
  612. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  613. package/dist-versioned/components/tab-group/tab-group.js +3 -3
  614. package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  615. package/dist-versioned/components/tab-panel/tab-panel.js +2 -2
  616. package/dist-versioned/components/tag/tag.d.ts +1 -1
  617. package/dist-versioned/components/tag/tag.js +3 -3
  618. package/dist-versioned/components/teaser/teaser.js +2 -2
  619. package/dist-versioned/components/teaser-media/teaser-media.js +2 -2
  620. package/dist-versioned/components/textarea/textarea.d.ts +2 -1
  621. package/dist-versioned/components/textarea/textarea.js +3 -3
  622. package/dist-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  623. package/dist-versioned/components/theme-listener/theme-listener.js +2 -2
  624. package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
  625. package/dist-versioned/components/tooltip/tooltip.js +4 -4
  626. package/dist-versioned/components/video/video.d.ts +1 -1
  627. package/dist-versioned/components/video/video.js +3 -3
  628. package/dist-versioned/custom-elements.json +324 -244
  629. package/dist-versioned/internal/form.js +3 -3
  630. package/dist-versioned/solid-components.css +2 -2
  631. package/dist-versioned/solid-components.js +65 -65
  632. package/dist-versioned/utilities/autocomplete-config.js +2 -2
  633. package/dist-versioned/vscode.html-custom-data.json +114 -94
  634. package/dist-versioned/web-types.json +197 -157
  635. package/package.json +3 -3
  636. package/cdn/chunks/chunk.J52HZ4Y3.js +0 -2
  637. package/cdn/chunks/chunk.W36B3LKW.js +0 -26
  638. package/cdn/chunks/chunk.ZGGBASR4.js +0 -2
  639. package/cdn-versioned/chunks/chunk.3LQ6BPSV.js +0 -12
  640. package/cdn-versioned/chunks/chunk.J52HZ4Y3.js +0 -2
  641. package/cdn-versioned/chunks/chunk.W36B3LKW.js +0 -26
  642. package/cdn-versioned/chunks/chunk.ZGGBASR4.js +0 -2
  643. package/dist/chunks/chunk.H4SEXNBN.js +0 -93
  644. package/dist-versioned/chunks/chunk.H4SEXNBN.js +0 -93
@@ -1,2 +1,2 @@
1
- import{a as n}from"./chunk.YFQFOIEM.js";import{a as l,b as r,h as o}from"./chunk.W36B3LKW.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-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;
1
+ import{a as n}from"./chunk.YFQFOIEM.js";import{a as l,b as r,h as o}from"./chunk.ILPSW4EJ.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-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
2
  :host{margin:calc(var(--sd-spacing-1) * 0)}:host(sd-divider[orientation=horizontal]){display:block}:host(sd-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-divider")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as o}from"./chunk.PV6UYBMY.js";import{a as y}from"./chunk.CGQ2BPPZ.js";import{a as u,b as s}from"./chunk.PJ7JCMQF.js";import{a as b}from"./chunk.IQPMMUES.js";import{a as l}from"./chunk.YFQFOIEM.js";import{a as m,b as r,d as p,h as f}from"./chunk.W36B3LKW.js";import{b as v}from"./chunk.763RLJEK.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends f{constructor(){super(...arguments);this.hasSlotController=new y(this,"[default]","description","children");this.localize=new b(this);this.vertical=!1;this.size="md";this.current=!1;this.disabled=!1;this.chevron=!1;this.relaxed=!1;this.divider=!1;this.indented=!1;this.open=!1;this.separated=!1}get isButton(){return!this.href&&!this.hasSlotController.test("children")}get isLink(){return!!this.href}get isAccordion(){return!this.separated&&!this.href&&this.hasSlotController.test("children")}get isIconOnly(){if(!this.defaultSlot)return!1;let e=this.defaultSlot.assignedNodes({flatten:!0});return e.length>0&&e.every(a=>{var d;return a.nodeType===Node.TEXT_NODE?!((d=a.textContent)!=null&&d.trim()):a.nodeType===Node.ELEMENT_NODE?a.tagName.toLowerCase()==="sd-icon":!1})}handleClickButton(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}handleClickSummary(e){e.preventDefault(),e.stopPropagation(),this.disabled||(this.open?this.hideDetails():this.showDetails())}hideDetails(){this.open=!1,this.emit("sd-hide",{cancelable:!0})}showDetails(){this.open=!0,this.emit("sd-show",{cancelable:!0})}get calculatePaddingX(){return this.relaxed&&this.indented?"pl-8 pr-4":this.relaxed?"px-4":this.indented?"pl-4":""}get tag(){return this.separated&&!this.isLink?u`div`:this.isAccordion&&!this.isLink?u`summary`:this.isLink?u`a`:u`button`}focus(){var e;this.disabled||(e=this.button)==null||e.focus()}blur(){var e;(e=this.button)==null||e.blur()}render(){let e=this.tag,a=this.isLink,d=this.isButton,n=this.isAccordion,g=this.isIconOnly,c={label:this.hasSlotController.test("[default]"),main:this.hasSlotController.test("main"),description:this.hasSlotController.test("description"),children:this.hasSlotController.test("children")},x=this.vertical?"py-3":"py-2",h=s`<${e} part="base" class="${l("flex items-center cursor-pointer relative focus-visible:focus-outline group hover:bg-neutral-200 transition-colors duration-fast ease-in-out min-h-[48px] navigable-border-radius",{md:"navigable-font-size",lg:"text-lg",sm:"text-[14px]"}[this.size],this.disabled?"text-neutral-500 pointer-events-none":"sd-navigation-item-color-text",this.current&&"font-bold sd-navigation-item--current-color-text",!n&&"w-full",this.divider&&this.vertical&&"mt-0.25",!this.vertical&&"inline-flex items-center",!this.separated&&"hover:bg-neutral-200 group transition-colors duration-fast ease-in-out min-h-[48px]",g?"justify-center aspect-square p-3":"px-4")}" aria-current="${o(this.current?"page":void 0)}" aria-disabled="${this.disabled}" aria-labelledby="content" aria-describedby="description" ?disabled="${o(d?this.disabled:void 0)}" href="${o(a?this.href:void 0)}" target="${o(a?this.target:void 0)}" download="${o(a?this.download:void 0)}" rel="${o(a&&this.target?"noreferrer noopener":void 0)}" tabindex="${this.disabled?"-1":"0"}" @click="${this.separated?void 0:n?this.handleClickSummary:d?this.handleClickButton:void 0}"><div part="current-indicator" class="${l("absolute bg-accent left-0 pointer-events-none navigable__current-indicator-border-radius",this.vertical?"navigable__current-indicator-width h-[calc(100%-16px)] top-2 group-hover:h-full group-hover:top-0":"navigable__current-indicator-height w-[calc(100%-16px)] bottom-0 left-2 group-hover:w-full group-hover:left-0 transition-all",this.disabled&&"bg-neutral-500")}"></div><div class="inline-flex flex-col justify-center gap-1 w-full h-full"><span part="content-area" class="${l("relative inline-flex justify-between items-center",n?"grow":"w-full",c.description&&"pt-3",!c.description&&!this.separated&&x,this.calculatePaddingX)}">${this.divider&&this.vertical?s`<sd-divider part="divider" class="${l("w-full transition-all absolute -top-0.25 left-0",this.calculatePaddingX)}"></sd-divider>`:""} <span id="content" part="content-container" class="inline-flex items-center flex-auto"><slot part="content" class="inline-flex text-start"></slot></span>${this.chevron||c.children&&this.vertical&&!this.separated?s`<sd-icon name="chevron-down" part="chevron" library="_internal" color="currentColor" class="${l("h-6 w-6 ml-2 transition-all",n?this.open?"rotate-180":"rotate-0":"rotate-[270deg]")}"></sd-icon>`:""} </span>${c.description&&this.vertical?s`<slot id="description" name="description" part="description" class="${l("inline-block text-sm text-left font-normal text-black pb-3",n||this.separated?"grow":"w-full",this.calculatePaddingX)}"></slot>`:""}</div></${e}>`;return this.separated?s`<div part="details" id="navigation-item-details" class="relative flex flex-col"><div class="flex items-start">${h} ${c.children&&this.vertical?s`<button type="button" title="${this.open?this.localize.term("collapseNavigationItem"):this.localize.term("expandNavigationItem")}" class="sd-interactive sd-interactive--reset -mt-1" @click="${this.handleClickSummary}"><sd-icon name="chevron-down" part="chevron" library="_internal" color="currentColor" class="${l("m-4 h-6 w-6 transition-all",n||this.separated?this.open?"rotate-180":"rotate-0":"rotate-[270deg]")}"></sd-icon></button>`:""}</div>${this.open?s`<slot name="children"></slot>`:""}</div>`:n?s`<details aria-expanded="${this.open}" part="details" id="navigation-item-details" ?open="${this.open}" class="relative">${h}<slot name="children"></slot></details>`:s`${h}`}};t.styles=[...f.styles,v`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
1
+ import{a as o}from"./chunk.PV6UYBMY.js";import{a as y}from"./chunk.CGQ2BPPZ.js";import{a as u,b as s}from"./chunk.PJ7JCMQF.js";import{a as b}from"./chunk.IQPMMUES.js";import{a as l}from"./chunk.YFQFOIEM.js";import{a as m,b as r,d as p,h as f}from"./chunk.ILPSW4EJ.js";import{b as v}from"./chunk.763RLJEK.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends f{constructor(){super(...arguments);this.hasSlotController=new y(this,"[default]","description","children");this.localize=new b(this);this.vertical=!1;this.size="md";this.current=!1;this.disabled=!1;this.chevron=!1;this.relaxed=!1;this.divider=!1;this.indented=!1;this.open=!1;this.separated=!1}get isButton(){return!this.href&&!this.hasSlotController.test("children")}get isLink(){return!!this.href}get isAccordion(){return!this.separated&&!this.href&&this.hasSlotController.test("children")}get isIconOnly(){if(!this.defaultSlot)return!1;let e=this.defaultSlot.assignedNodes({flatten:!0});return e.length>0&&e.every(a=>{var d;return a.nodeType===Node.TEXT_NODE?!((d=a.textContent)!=null&&d.trim()):a.nodeType===Node.ELEMENT_NODE?a.tagName.toLowerCase()==="sd-icon":!1})}handleClickButton(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}handleClickSummary(e){e.preventDefault(),e.stopPropagation(),this.disabled||(this.open?this.hideDetails():this.showDetails())}hideDetails(){this.open=!1,this.emit("sd-hide",{cancelable:!0})}showDetails(){this.open=!0,this.emit("sd-show",{cancelable:!0})}get calculatePaddingX(){return this.relaxed&&this.indented?"pl-8 pr-4":this.relaxed?"px-4":this.indented?"pl-4":""}get tag(){return this.separated&&!this.isLink?u`div`:this.isAccordion&&!this.isLink?u`summary`:this.isLink?u`a`:u`button`}focus(){var e;this.disabled||(e=this.button)==null||e.focus()}blur(){var e;(e=this.button)==null||e.blur()}render(){let e=this.tag,a=this.isLink,d=this.isButton,n=this.isAccordion,g=this.isIconOnly,c={label:this.hasSlotController.test("[default]"),main:this.hasSlotController.test("main"),description:this.hasSlotController.test("description"),children:this.hasSlotController.test("children")},x=this.vertical?"py-3":"py-2",h=s`<${e} part="base" class="${l("flex items-center cursor-pointer relative focus-visible:focus-outline group hover:bg-neutral-200 transition-colors duration-fast ease-in-out min-h-[48px] navigable-border-radius",{md:"navigable-font-size",lg:"text-lg",sm:"text-[14px]"}[this.size],this.disabled?"text-neutral-500 pointer-events-none":"sd-navigation-item-color-text",this.current&&"font-bold sd-navigation-item--current-color-text",!n&&"w-full",this.divider&&this.vertical&&"mt-0.25",!this.vertical&&"inline-flex items-center",!this.separated&&"hover:bg-neutral-200 group transition-colors duration-fast ease-in-out min-h-[48px]",g?"justify-center aspect-square p-3":"px-4")}" aria-current="${o(this.current?"page":void 0)}" aria-disabled="${this.disabled}" aria-labelledby="content" aria-describedby="description" ?disabled="${o(d?this.disabled:void 0)}" href="${o(a?this.href:void 0)}" target="${o(a?this.target:void 0)}" download="${o(a?this.download:void 0)}" rel="${o(a&&this.target?"noreferrer noopener":void 0)}" tabindex="${this.disabled?"-1":"0"}" @click="${this.separated?void 0:n?this.handleClickSummary:d?this.handleClickButton:void 0}"><div part="current-indicator" class="${l("absolute bg-accent left-0 pointer-events-none navigable__current-indicator-border-radius",this.vertical?"navigable__current-indicator-width h-[calc(100%-16px)] top-2 group-hover:h-full group-hover:top-0":"navigable__current-indicator-height w-[calc(100%-16px)] bottom-0 left-2 group-hover:w-full group-hover:left-0 transition-all",this.disabled&&"bg-neutral-500")}"></div><div class="inline-flex flex-col justify-center gap-1 w-full h-full"><span part="content-area" class="${l("relative inline-flex justify-between items-center",n?"grow":"w-full",c.description&&"pt-3",!c.description&&!this.separated&&x,this.calculatePaddingX)}">${this.divider&&this.vertical?s`<sd-divider part="divider" class="${l("w-full transition-all absolute -top-0.25 left-0",this.calculatePaddingX)}"></sd-divider>`:""} <span id="content" part="content-container" class="inline-flex items-center flex-auto"><slot part="content" class="inline-flex text-start"></slot></span>${this.chevron||c.children&&this.vertical&&!this.separated?s`<sd-icon name="chevron-down" part="chevron" library="_internal" color="currentColor" class="${l("h-6 w-6 ml-2 transition-all",n?this.open?"rotate-180":"rotate-0":"rotate-[270deg]")}"></sd-icon>`:""} </span>${c.description&&this.vertical?s`<slot id="description" name="description" part="description" class="${l("inline-block text-sm text-left font-normal text-black pb-3",n||this.separated?"grow":"w-full",this.calculatePaddingX)}"></slot>`:""}</div></${e}>`;return this.separated?s`<div part="details" id="navigation-item-details" class="relative flex flex-col"><div class="flex items-start">${h} ${c.children&&this.vertical?s`<button type="button" title="${this.open?this.localize.term("collapseNavigationItem"):this.localize.term("expandNavigationItem")}" class="sd-interactive sd-interactive--reset -mt-1" @click="${this.handleClickSummary}"><sd-icon name="chevron-down" part="chevron" library="_internal" color="currentColor" class="${l("m-4 h-6 w-6 transition-all",n||this.separated?this.open?"rotate-180":"rotate-0":"rotate-[270deg]")}"></sd-icon></button>`:""}</div>${this.open?s`<slot name="children"></slot>`:""}</div>`:n?s`<details aria-expanded="${this.open}" part="details" id="navigation-item-details" ?open="${this.open}" class="relative">${h}<slot name="children"></slot></details>`:s`${h}`}};t.styles=[...f.styles,v`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
2
  :host{position:relative;box-sizing:border-box;display:inline-block}:host([vertical]){display:block}details summary::-webkit-details-marker{display:none}[part=current-indicator]{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:var(--sd-opacity-0);--tw-duration:var(--sd-duration-fast, 150ms);transition-duration:var(--sd-duration-fast,150ms);transition:width var(--sd-duration-fast) ease-in-out,height var(--sd-duration-fast) ease-in-out,left var(--sd-duration-fast) ease-in-out,top var(--sd-duration-fast) ease-in-out,opacity var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out var(--sd-duration-fast)}:host([current]) [part=current-indicator]{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:var(--sd-opacity-100);transition:width var(--sd-duration-fast) ease-in-out,height var(--sd-duration-fast) ease-in-out,left var(--sd-duration-fast) ease-in-out,top var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out}@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}`],i([p('[part="base"]')],t.prototype,"button",2),i([p("slot:not([name])")],t.prototype,"defaultSlot",2),i([r({type:Boolean,reflect:!0})],t.prototype,"vertical",2),i([r({type:String,reflect:!0})],t.prototype,"size",2),i([r({reflect:!0})],t.prototype,"href",2),i([r({type:String,reflect:!0})],t.prototype,"target",2),i([r({reflect:!0})],t.prototype,"download",2),i([r({type:Boolean,reflect:!0})],t.prototype,"current",2),i([r({type:Boolean,reflect:!0})],t.prototype,"disabled",2),i([r({type:Boolean,reflect:!0})],t.prototype,"chevron",2),i([r({type:Boolean,reflect:!0})],t.prototype,"relaxed",2),i([r({type:Boolean,reflect:!0})],t.prototype,"divider",2),i([r({type:Boolean,reflect:!0})],t.prototype,"indented",2),i([r({type:Boolean,reflect:!0})],t.prototype,"open",2),i([r({type:Boolean,reflect:!0})],t.prototype,"separated",2),t=i([m("sd-navigation-item")],t);export{t as a};
@@ -1,2 +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.W36B3LKW.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-tab"),customElements.whenDefined("sd-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-tab"?e:e.querySelector("sd-tab")).filter(e=>e&&t.includeDisabled?e.tagName.toLowerCase()==="sd-tab":e.tagName.toLowerCase()==="sd-tab"&&!e.disabled)}getAllPanels(){return[...this.body.assignedElements()].filter(t=>t.tagName.toLowerCase()==="sd-tab-panel")}getActiveTab(){return this.tabs.find(t=>t.matches(":focus"))}handleClick(t){let e=t.target.closest("sd-tab");(e==null?void 0:e.closest("sd-tab-group"))===this&&e!==null&&this.setActiveTab(e,{scrollBehavior:"smooth"})}handleKeyDown(t){let e=t.target.closest("sd-tab");if((e==null?void 0:e.closest("sd-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-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-icon library="_internal" name="${t?"chevron-up":"chevron-down"}" label="previous" class="${c("h-6 w-12 rotate-90 grid place-items-center")}"></sd-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-icon library="_internal" name="${t?"chevron-down":"chevron-up"}" label="next" class="${c("h-6 w-12 rotate-90 grid place-items-center")}"></sd-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;
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.ILPSW4EJ.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-tab"),customElements.whenDefined("sd-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-tab"?e:e.querySelector("sd-tab")).filter(e=>e&&t.includeDisabled?e.tagName.toLowerCase()==="sd-tab":e.tagName.toLowerCase()==="sd-tab"&&!e.disabled)}getAllPanels(){return[...this.body.assignedElements()].filter(t=>t.tagName.toLowerCase()==="sd-tab-panel")}getActiveTab(){return this.tabs.find(t=>t.matches(":focus"))}handleClick(t){let e=t.target.closest("sd-tab");(e==null?void 0:e.closest("sd-tab-group"))===this&&e!==null&&this.setActiveTab(e,{scrollBehavior:"smooth"})}handleKeyDown(t){let e=t.target.closest("sd-tab");if((e==null?void 0:e.closest("sd-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-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-icon library="_internal" name="${t?"chevron-up":"chevron-down"}" label="previous" class="${c("h-6 w-12 rotate-90 grid place-items-center")}"></sd-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-icon library="_internal" name="${t?"chevron-down":"chevron-up"}" label="next" class="${c("h-6 w-12 rotate-90 grid place-items-center")}"></sd-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
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-tab-panel){--padding:1rem 0}::slotted(sd-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-tab-group")],a);export{a};
@@ -1,2 +1,2 @@
1
- import{a}from"./chunk.IQPMMUES.js";import{a as m}from"./chunk.YFQFOIEM.js";import{a as i,b as s,h as t}from"./chunk.W36B3LKW.js";import{b as l,e as o}from"./chunk.763RLJEK.js";import{e as r}from"./chunk.6EV4YU6C.js";var e=class extends t{constructor(){super(...arguments);this.color="currentColor";this.localize=new a(this)}render(){return o`<svg role="progressbar" viewBox="0 0 24 24" class="${m("animate-spin",{primary:"text-primary",white:"text-white",currentColor:""}[this.color])}" aria-label="${this.localize.term("loading")}"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12Z" class="opacity-20" fill="currentColor"/><mask id="mask0_5273_25391" style="mask-type:alpha" maskUnits="userSpaceOnUse"><path d="M24 12C24 5.37258 18.6274 0 12 0V12H24Z" fill="currentColor"/></mask><g mask="url(#mask0_5273_25391)"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12Z" fill="currentColor"/></g></svg>`}};e.styles=[...t.styles,l`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a}from"./chunk.IQPMMUES.js";import{a as m}from"./chunk.YFQFOIEM.js";import{a as i,b as s,h as t}from"./chunk.ILPSW4EJ.js";import{b as l,e as o}from"./chunk.763RLJEK.js";import{e as r}from"./chunk.6EV4YU6C.js";var e=class extends t{constructor(){super(...arguments);this.color="currentColor";this.localize=new a(this)}render(){return o`<svg role="progressbar" viewBox="0 0 24 24" class="${m("animate-spin",{primary:"text-primary",white:"text-white",currentColor:""}[this.color])}" aria-label="${this.localize.term("loading")}"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12Z" class="opacity-20" fill="currentColor"/><mask id="mask0_5273_25391" style="mask-type:alpha" maskUnits="userSpaceOnUse"><path d="M24 12C24 5.37258 18.6274 0 12 0V12H24Z" fill="currentColor"/></mask><g mask="url(#mask0_5273_25391)"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12Z" fill="currentColor"/></g></svg>`}};e.styles=[...t.styles,l`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{display:inline-block;width:1em;height:1em}`],r([s({type:String,reflect:!0})],e.prototype,"color",2),e=r([i("sd-spinner")],e);export{e as a};
@@ -1,2 +1,2 @@
1
- import{a as w}from"./chunk.IQPMMUES.js";import{a as p,d as f,h}from"./chunk.W36B3LKW.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-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;
1
+ import{a as w}from"./chunk.IQPMMUES.js";import{a as p,d as f,h}from"./chunk.ILPSW4EJ.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-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
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-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-menu")],a);export{a};
@@ -1,4 +1,4 @@
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.W36B3LKW.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:`
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.ILPSW4EJ.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
2
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50">
3
3
  <circle cx="25" cy="25" opacity="1" r="20" />
4
4
  </svg>`,main:`
@@ -1,2 +1,2 @@
1
- import{a as s}from"./chunk.PV6UYBMY.js";import{a as d}from"./chunk.CGQ2BPPZ.js";import{a as r}from"./chunk.YFQFOIEM.js";import{a as h,b as i,d as c,h as a}from"./chunk.W36B3LKW.js";import{b as o,e as n}from"./chunk.763RLJEK.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends a{constructor(){super(...arguments);this.hasSlotController=new d(this,"[default]","icon-left","icon-right");this.standalone=!1;this.size="inherit";this.inverted=!1;this.href="";this.visuallyDisabled=!1}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleClick(l){this.visuallyDisabled&&(l.preventDefault(),l.stopPropagation())}focus(l){this.button.focus(l)}blur(){this.button.blur()}render(){let l={label:this.hasSlotController.test("[default]"),"icon-left":this.hasSlotController.test("icon-left"),"icon-right":this.hasSlotController.test("icon-right")};return n`<a part="base" class="${r(this.standalone?"flex items-start":"inline",this.href&&!this.visuallyDisabled?"cursor-pointer":"",this.visuallyDisabled?"cursor-not-allowed focus-visible:focus-outline":"",{sm:"text-sm",lg:"text-base",inherit:""}[this.size],{disabled:this.inverted?"text-neutral-600":"text-neutral-500",enabled:this.inverted?"text-white hover:text-primary-200 active:text-primary-400 focus-visible:focus-outline-inverted":" text-primary hover:text-primary-500 active:interactive--active-color-text focus-visible:focus-outline",visuallyDisabled:this.inverted?"text-neutral-600":"text-neutral-500"}[this.href&&!this.visuallyDisabled?"enabled":this.visuallyDisabled?"visuallyDisabled":"disabled"])}" href="${s(this.href||void 0)}" target="${s(this.target||void 0)}" download="${s(this.download)}" rel="${s(this.target?"noreferrer noopener":void 0)}" aria-disabled="${!this.href||this.visuallyDisabled?"true":"false"}" tabindex="${this.href?"0":"-1"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @click="${this.handleClick}"><slot name="icon-left" part="icon-left" class="${r("inline",l["icon-left"]&&(this.standalone?{sm:"mr-1",lg:"mr-2",inherit:"mr-[0.5em]"}[this.size]:"mr-[0.25em]"))}"></slot><span part="label" class="inline underline underline-offset-2"><slot></slot></span><slot name="icon-right" part="icon-right" class="${r("inline",l["icon-right"]&&(this.standalone?{sm:"ml-1",lg:"ml-2",inherit:"ml-[0.5em]"}[this.size]:"ml-[0.25em]"))}"></slot></a>`}};e.styles=[...a.styles,o`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as s}from"./chunk.PV6UYBMY.js";import{a as d}from"./chunk.CGQ2BPPZ.js";import{a as r}from"./chunk.YFQFOIEM.js";import{a as h,b as i,d as c,h as a}from"./chunk.ILPSW4EJ.js";import{b as o,e as n}from"./chunk.763RLJEK.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends a{constructor(){super(...arguments);this.hasSlotController=new d(this,"[default]","icon-left","icon-right");this.standalone=!1;this.size="inherit";this.inverted=!1;this.href="";this.visuallyDisabled=!1}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleClick(l){this.visuallyDisabled&&(l.preventDefault(),l.stopPropagation())}focus(l){this.button.focus(l)}blur(){this.button.blur()}render(){let l={label:this.hasSlotController.test("[default]"),"icon-left":this.hasSlotController.test("icon-left"),"icon-right":this.hasSlotController.test("icon-right")};return n`<a part="base" class="${r(this.standalone?"flex items-start":"inline",this.href&&!this.visuallyDisabled?"cursor-pointer":"",this.visuallyDisabled?"cursor-not-allowed focus-visible:focus-outline":"",{sm:"text-sm",lg:"text-base",inherit:""}[this.size],{disabled:this.inverted?"text-neutral-600":"text-neutral-500",enabled:this.inverted?"text-white hover:text-primary-200 active:text-primary-400 focus-visible:focus-outline-inverted":" text-primary hover:text-primary-500 active:interactive--active-color-text focus-visible:focus-outline",visuallyDisabled:this.inverted?"text-neutral-600":"text-neutral-500"}[this.href&&!this.visuallyDisabled?"enabled":this.visuallyDisabled?"visuallyDisabled":"disabled"])}" href="${s(this.href||void 0)}" target="${s(this.target||void 0)}" download="${s(this.download)}" rel="${s(this.target?"noreferrer noopener":void 0)}" aria-disabled="${!this.href||this.visuallyDisabled?"true":"false"}" tabindex="${this.href?"0":"-1"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @click="${this.handleClick}"><slot name="icon-left" part="icon-left" class="${r("inline",l["icon-left"]&&(this.standalone?{sm:"mr-1",lg:"mr-2",inherit:"mr-[0.5em]"}[this.size]:"mr-[0.25em]"))}"></slot><span part="label" class="inline underline underline-offset-2"><slot></slot></span><slot name="icon-right" part="icon-right" class="${r("inline",l["icon-right"]&&(this.standalone?{sm:"ml-1",lg:"ml-2",inherit:"ml-[0.5em]"}[this.size]:"ml-[0.25em]"))}"></slot></a>`}};e.styles=[...a.styles,o`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  ::slotted(sd-icon){font-size:1.25em;margin-bottom:-.25em}:host([size=sm][standalone]) ::slotted(sd-icon){font-size:var(--sd-text-base);line-height:var(--tw-leading,var(--text-base--line-height,calc(1.5 / 1)))}:host([size=lg][standalone]) ::slotted(sd-icon){font-size:var(--sd-text-xl);line-height:var(--tw-leading,var(--text-xl--line-height,calc(1.75 / 1.25)))}`],t([c("a")],e.prototype,"button",2),t([i({type:Boolean,reflect:!0})],e.prototype,"standalone",2),t([i({type:String,reflect:!0})],e.prototype,"size",2),t([i({type:Boolean,reflect:!0})],e.prototype,"inverted",2),t([i({type:String,reflect:!0})],e.prototype,"href",2),t([i({type:Boolean,attribute:"visually-disabled",reflect:!0})],e.prototype,"visuallyDisabled",2),t([i({type:String,reflect:!0})],e.prototype,"target",2),t([i({reflect:!0})],e.prototype,"download",2),e=t([h("sd-link")],e);export{e as a};
@@ -1,2 +1,2 @@
1
- import{a as p,c as m}from"./chunk.B2NUKX6G.js";import{b as w}from"./chunk.PJ7JCMQF.js";import{a as u}from"./chunk.KLRPP4NQ.js";import{a as g}from"./chunk.IQPMMUES.js";import{a as s}from"./chunk.YFQFOIEM.js";import{a as b}from"./chunk.NYKJXI3Q.js";import{a as y,b as n,d as a,h as c}from"./chunk.W36B3LKW.js";import{b as f}from"./chunk.763RLJEK.js";import{b as l,e as d,f as h}from"./chunk.W4QBFD6E.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends c{constructor(){super(...arguments);this.localize=new g(this);this.open=!1}firstUpdated(){this.body.hidden=!this.open,this.body.style.height=this.open?"auto":"0",this.open&&(this.accordion.open=!0),this.accordionObserver=new MutationObserver(e=>{for(let o of e)o.type==="attributes"&&o.attributeName==="open"&&(this.accordion.open?this.show():this.hide())}),this.accordionObserver.observe(this.accordion,{attributes:!0})}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.accordionObserver)==null||e.disconnect()}handleSummaryClick(e){e.preventDefault(),this.open?this.hide():this.show()}handleSummaryKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.open?this.hide():this.show()),(e.key==="ArrowUp"||e.key==="ArrowLeft")&&(e.preventDefault(),this.hide()),(e.key==="ArrowDown"||e.key==="ArrowRight")&&(e.preventDefault(),this.show())}async handleOpenChange(){if(this.open){if(this.accordion.open=!0,this.emit("sd-show",{cancelable:!0}).defaultPrevented){this.open=!1,this.accordion.open=!1;return}await d(this.body),this.body.hidden=!1;let{keyframes:o,options:r}=m(this,"accordion.show",{dir:this.localize.dir()});await l(this.body,h(o,this.body.scrollHeight),r),this.body.style.height="auto",this.emit("sd-after-show")}else{if(this.emit("sd-hide",{cancelable:!0}).defaultPrevented){this.accordion.open=!0,this.open=!0;return}await d(this.body);let{keyframes:o,options:r}=m(this,"accordion.hide",{dir:this.localize.dir()});await l(this.body,h(o,this.body.scrollHeight),r),this.body.hidden=!0,this.body.style.height="auto",this.accordion.open=!1,this.emit("sd-after-hide")}}async show(){if(!this.open)return this.open=!0,u(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,u(this,"sd-after-hide")}render(){return w`<details part="base" class="border-neutral-400"><summary part="header" id="header" class="${s("flex text-base gap-4 font-bold items-center cursor-pointer select-none px-4 sd-accordion-padding-block focus-visible:focus-outline focus-visible:z-10 sd-accordion-color-text relative group transition-colors ease-in-out duration-fast hover:bg-neutral-200")}" aria-expanded="${this.open?"true":"false"}" aria-controls="content" tabindex="0" @click="${this.handleSummaryClick}" @keydown="${this.handleSummaryKeyDown}"><div part="summary-border" class="${s(!this.open&&"opacity-0","w-1 sd-accordion__indicator-color absolute left-0 transition-height duration-fast ease-in-out h-[calc(100%-16px)] group-hover:h-full")}"></div><slot name="summary" part="summary" class="flex flex-auto items-center text-left">${this.summary}</slot><span part="summary-icon" class="${s("flex flex-grow-0 flex-shrink-0 flex-auto items-center transition-all ease-in-out duration-medium text-xl",this.open&&"rotate-180")}"><slot name="expand-icon" class="${s(this.open&&"hidden")}"><sd-icon library="_internal" name="chevron-down"></sd-icon></slot><slot name="collapse-icon" class="${s(!this.open&&"hidden")}"><sd-icon library="_internal" name="chevron-down"></sd-icon></slot></span></summary><div part="content" id="content" class="overflow-hidden"><slot part="content__slot" class="block px-4 py-6" role="region" aria-labelledby="header"></slot></div></details>`}};t.styles=[...c.styles,f`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as p,c as m}from"./chunk.B2NUKX6G.js";import{b as w}from"./chunk.PJ7JCMQF.js";import{a as u}from"./chunk.KLRPP4NQ.js";import{a as g}from"./chunk.IQPMMUES.js";import{a as s}from"./chunk.YFQFOIEM.js";import{a as b}from"./chunk.NYKJXI3Q.js";import{a as y,b as n,d as a,h as c}from"./chunk.ILPSW4EJ.js";import{b as f}from"./chunk.763RLJEK.js";import{b as l,e as d,f as h}from"./chunk.W4QBFD6E.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends c{constructor(){super(...arguments);this.localize=new g(this);this.open=!1}firstUpdated(){this.body.hidden=!this.open,this.body.style.height=this.open?"auto":"0",this.open&&(this.accordion.open=!0),this.accordionObserver=new MutationObserver(e=>{for(let o of e)o.type==="attributes"&&o.attributeName==="open"&&(this.accordion.open?this.show():this.hide())}),this.accordionObserver.observe(this.accordion,{attributes:!0})}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.accordionObserver)==null||e.disconnect()}handleSummaryClick(e){e.preventDefault(),this.open?this.hide():this.show()}handleSummaryKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.open?this.hide():this.show()),(e.key==="ArrowUp"||e.key==="ArrowLeft")&&(e.preventDefault(),this.hide()),(e.key==="ArrowDown"||e.key==="ArrowRight")&&(e.preventDefault(),this.show())}async handleOpenChange(){if(this.open){if(this.accordion.open=!0,this.emit("sd-show",{cancelable:!0}).defaultPrevented){this.open=!1,this.accordion.open=!1;return}await d(this.body),this.body.hidden=!1;let{keyframes:o,options:r}=m(this,"accordion.show",{dir:this.localize.dir()});await l(this.body,h(o,this.body.scrollHeight),r),this.body.style.height="auto",this.emit("sd-after-show")}else{if(this.emit("sd-hide",{cancelable:!0}).defaultPrevented){this.accordion.open=!0,this.open=!0;return}await d(this.body);let{keyframes:o,options:r}=m(this,"accordion.hide",{dir:this.localize.dir()});await l(this.body,h(o,this.body.scrollHeight),r),this.body.hidden=!0,this.body.style.height="auto",this.accordion.open=!1,this.emit("sd-after-hide")}}async show(){if(!this.open)return this.open=!0,u(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,u(this,"sd-after-hide")}render(){return w`<details part="base" class="border-neutral-400"><summary part="header" id="header" class="${s("flex text-base gap-4 font-bold items-center cursor-pointer select-none px-4 sd-accordion-padding-block focus-visible:focus-outline focus-visible:z-10 sd-accordion-color-text relative group transition-colors ease-in-out duration-fast hover:bg-neutral-200")}" aria-expanded="${this.open?"true":"false"}" aria-controls="content" tabindex="0" @click="${this.handleSummaryClick}" @keydown="${this.handleSummaryKeyDown}"><div part="summary-border" class="${s(!this.open&&"opacity-0","w-1 sd-accordion__indicator-color absolute left-0 transition-height duration-fast ease-in-out h-[calc(100%-16px)] group-hover:h-full")}"></div><slot name="summary" part="summary" class="flex flex-auto items-center text-left">${this.summary}</slot><span part="summary-icon" class="${s("flex flex-grow-0 flex-shrink-0 flex-auto items-center transition-all ease-in-out duration-medium text-xl",this.open&&"rotate-180")}"><slot name="expand-icon" class="${s(this.open&&"hidden")}"><sd-icon library="_internal" name="chevron-down"></sd-icon></slot><slot name="collapse-icon" class="${s(!this.open&&"hidden")}"><sd-icon library="_internal" name="chevron-down"></sd-icon></slot></span></summary><div part="content" id="content" class="overflow-hidden"><slot part="content__slot" class="block px-4 py-6" role="region" aria-labelledby="header"></slot></div></details>`}};t.styles=[...c.styles,f`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{display:block}[part=header]::-webkit-details-marker{display:none}[part=base]{border-block-width:var(--sd-accordion-border-width)}[part=summary-icon]{color:var(--sd-accordion__chevron-color-text)}`],i([a('[part="base"]')],t.prototype,"accordion",2),i([a('[part="header"]')],t.prototype,"header",2),i([a('[part="content"]')],t.prototype,"body",2),i([n({type:Boolean,reflect:!0})],t.prototype,"open",2),i([n({reflect:!0})],t.prototype,"summary",2),i([b("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),t=i([y("sd-accordion")],t);p("accordion.show",{keyframes:[{height:"0",opacity:"0"},{height:"auto",opacity:"1"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});p("accordion.hide",{keyframes:[{height:"auto",opacity:"1"},{height:"0",opacity:"0"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as n}from"./chunk.YFQFOIEM.js";import{a as i,b as a,h as r}from"./chunk.W36B3LKW.js";import{b as l,e as s}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends r{constructor(){super(...arguments);this.variant="rectangular"}render(){return s`<div part="base" aria-hidden="true" class="${n("bg-neutral-200 w-full h-full animate-pulse",{rectangular:"rounded-sm",circular:"rounded-full inline-block"}[this.variant])}"><slot></slot></div>`}};t.styles=[...r.styles,l`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as n}from"./chunk.YFQFOIEM.js";import{a as i,b as a,h as r}from"./chunk.ILPSW4EJ.js";import{b as l,e as s}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends r{constructor(){super(...arguments);this.variant="rectangular"}render(){return s`<div part="base" aria-hidden="true" class="${n("bg-neutral-200 w-full h-full animate-pulse",{rectangular:"rounded-sm",circular:"rounded-full inline-block"}[this.variant])}"><slot></slot></div>`}};t.styles=[...r.styles,l`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{display:block}::slotted(*){visibility:hidden}`],e([a({type:String,reflect:!0})],t.prototype,"variant",2),t=e([i("sd-skeleton")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as l}from"./chunk.D4E5ZIRW.js";import{a as s}from"./chunk.NYKJXI3Q.js";import{a as y,b as a,f,h as r}from"./chunk.W36B3LKW.js";import{b as c,e as d}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends r{constructor(){super(...arguments);this.hasStarted=!1;this.name="none";this.play=!1;this.delay=0;this.direction="normal";this.duration=1e3;this.easing="linear";this.endDelay=0;this.fill="auto";this.iterations=1/0;this.iterationStart=0;this.playbackRate=1}get currentTime(){var i,n;return(n=(i=this.animation)==null?void 0:i.currentTime)!=null?n:0}set currentTime(i){this.animation&&(this.animation.currentTime=i)}connectedCallback(){super.connectedCallback(),this.createAnimation(),this.handleAnimationCancel=this.handleAnimationCancel.bind(this),this.handleAnimationFinish=this.handleAnimationFinish.bind(this)}disconnectedCallback(){super.disconnectedCallback(),this.destroyAnimation()}handleAnimationFinish(){this.play=!1,this.hasStarted=!1,this.emit("sd-finish")}handleAnimationCancel(){this.play=!1,this.hasStarted=!1,this.emit("sd-cancel")}handleSlotChange(){this.destroyAnimation(),this.createAnimation()}async createAnimation(){var o,m;let i=(o=l.easings[this.easing])!=null?o:this.easing,n=(m=this.keyframes)!=null?m:l[this.name],h=(await this.defaultSlot).assignedElements()[0];return!h||!n?!1:(this.destroyAnimation(),this.animation=h.animate(n,{delay:this.delay,direction:this.direction,duration:this.duration,easing:i,endDelay:this.endDelay,fill:this.fill,iterationStart:this.iterationStart,iterations:this.iterations}),this.animation.playbackRate=this.playbackRate,this.animation.addEventListener("cancel",this.handleAnimationCancel),this.animation.addEventListener("finish",this.handleAnimationFinish),this.play?(this.hasStarted=!0,this.emit("sd-start")):this.animation.pause(),!0)}destroyAnimation(){this.animation&&(this.animation.cancel(),this.animation.removeEventListener("cancel",this.handleAnimationCancel),this.animation.removeEventListener("finish",this.handleAnimationFinish),this.hasStarted=!1)}handleAnimationChange(){this.hasUpdated&&this.createAnimation()}handlePlayChange(){return this.animation?(this.play&&!this.hasStarted&&(this.hasStarted=!0,this.emit("sd-start")),this.play?this.animation.play():this.animation.pause(),!0):!1}handlePlaybackRateChange(){this.animation&&(this.animation.playbackRate=this.playbackRate)}cancel(){var i;(i=this.animation)==null||i.cancel()}finish(){var i;(i=this.animation)==null||i.finish()}render(){return d`<slot @slotchange="${this.handleSlotChange}"></slot>`}};t.styles=[...r.styles,c`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as l}from"./chunk.D4E5ZIRW.js";import{a as s}from"./chunk.NYKJXI3Q.js";import{a as y,b as a,f,h as r}from"./chunk.ILPSW4EJ.js";import{b as c,e as d}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends r{constructor(){super(...arguments);this.hasStarted=!1;this.name="none";this.play=!1;this.delay=0;this.direction="normal";this.duration=1e3;this.easing="linear";this.endDelay=0;this.fill="auto";this.iterations=1/0;this.iterationStart=0;this.playbackRate=1}get currentTime(){var i,n;return(n=(i=this.animation)==null?void 0:i.currentTime)!=null?n:0}set currentTime(i){this.animation&&(this.animation.currentTime=i)}connectedCallback(){super.connectedCallback(),this.createAnimation(),this.handleAnimationCancel=this.handleAnimationCancel.bind(this),this.handleAnimationFinish=this.handleAnimationFinish.bind(this)}disconnectedCallback(){super.disconnectedCallback(),this.destroyAnimation()}handleAnimationFinish(){this.play=!1,this.hasStarted=!1,this.emit("sd-finish")}handleAnimationCancel(){this.play=!1,this.hasStarted=!1,this.emit("sd-cancel")}handleSlotChange(){this.destroyAnimation(),this.createAnimation()}async createAnimation(){var o,m;let i=(o=l.easings[this.easing])!=null?o:this.easing,n=(m=this.keyframes)!=null?m:l[this.name],h=(await this.defaultSlot).assignedElements()[0];return!h||!n?!1:(this.destroyAnimation(),this.animation=h.animate(n,{delay:this.delay,direction:this.direction,duration:this.duration,easing:i,endDelay:this.endDelay,fill:this.fill,iterationStart:this.iterationStart,iterations:this.iterations}),this.animation.playbackRate=this.playbackRate,this.animation.addEventListener("cancel",this.handleAnimationCancel),this.animation.addEventListener("finish",this.handleAnimationFinish),this.play?(this.hasStarted=!0,this.emit("sd-start")):this.animation.pause(),!0)}destroyAnimation(){this.animation&&(this.animation.cancel(),this.animation.removeEventListener("cancel",this.handleAnimationCancel),this.animation.removeEventListener("finish",this.handleAnimationFinish),this.hasStarted=!1)}handleAnimationChange(){this.hasUpdated&&this.createAnimation()}handlePlayChange(){return this.animation?(this.play&&!this.hasStarted&&(this.hasStarted=!0,this.emit("sd-start")),this.play?this.animation.play():this.animation.pause(),!0):!1}handlePlaybackRateChange(){this.animation&&(this.animation.playbackRate=this.playbackRate)}cancel(){var i;(i=this.animation)==null||i.cancel()}finish(){var i;(i=this.animation)==null||i.finish()}render(){return d`<slot @slotchange="${this.handleSlotChange}"></slot>`}};t.styles=[...r.styles,c`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{display:contents}`],e([f("slot")],t.prototype,"defaultSlot",2),e([a()],t.prototype,"name",2),e([a({type:Boolean,reflect:!0})],t.prototype,"play",2),e([a({type:Number})],t.prototype,"delay",2),e([a()],t.prototype,"direction",2),e([a({type:Number})],t.prototype,"duration",2),e([a()],t.prototype,"easing",2),e([a({attribute:"end-delay",type:Number})],t.prototype,"endDelay",2),e([a()],t.prototype,"fill",2),e([a({type:Number})],t.prototype,"iterations",2),e([a({attribute:"iteration-start",type:Number})],t.prototype,"iterationStart",2),e([a({attribute:!1})],t.prototype,"keyframes",2),e([a({attribute:"playback-rate",type:Number})],t.prototype,"playbackRate",2),e([s(["name","delay","direction","duration","easing","endDelay","fill","iterations","iterationsStart","keyframes"])],t.prototype,"handleAnimationChange",1),e([s("play")],t.prototype,"handlePlayChange",1),e([s("playbackRate")],t.prototype,"handlePlaybackRateChange",1),t=e([y("sd-animation")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as b}from"./chunk.CGQ2BPPZ.js";import{a as u}from"./chunk.IQPMMUES.js";import{a}from"./chunk.YFQFOIEM.js";import{a as n}from"./chunk.NYKJXI3Q.js";import{a as c,b as i,d as o,h as l}from"./chunk.W36B3LKW.js";import{b as d,e as s}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var v=0,t=class extends l{constructor(){super(...arguments);this.attrId=++v;this.componentId=`sd-tab-${this.attrId}`;this.hasSlotController=new b(this,"left");this.localize=new u(this);this.variant="default";this.active=!1;this.disabled=!1;this.visuallyDisabled=!1;this.panel=""}connectedCallback(){super.connectedCallback(),this.setAttribute("role","tab")}handleActiveChange(){this.setAttribute("aria-selected",this.active?"true":"false")}handleDisabledChange(){let r=this.disabled||this.visuallyDisabled;this.setAttribute("aria-disabled",r?"true":"false")}focus(r){this.tab.focus(r)}blur(){this.tab.blur()}render(){this.id=this.id.length>0?this.id:this.componentId;let r={left:this.hasSlotController.test("left")};return s`<div part="base" class="${a("inline-flex justify-center min-w-max items-center h-12 px-3 leading-none select-none cursor-pointer group relative","outline-hidden focus-visible:focus-outline outline-2 !-outline-offset-2 transition-all duration-fast ease-in-out",this.variant==="container"?"tab-container-border bg-white rounded-[4px_4px_0_0]":"navigable-border-radius",this.variant==="container"&&this.active&&"tab--active-container-border bg-white",this.disabled||this.visuallyDisabled?"!cursor-not-allowed":"hover:color-background",this.active&&"z-20")}" tabindex="${!this.active||this.disabled?"-1":"0"}"><div class="${a("flex h-full items-center justify-center whitespace-nowrap",this.disabled||this.visuallyDisabled&&"opacity-50 ")}"><slot name="left" class="${a(r.left&&"block pr-2",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary")}"></slot><slot class="${a(this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary")}"></slot>${this.variant==="container"?s`<div part="active-tab-indicator" class="${a("absolute bottom-0 h-1 bg-accent w-3/4 bottom-0 group-hover:w-[calc(100%-2px)] navigable__current-indicator-height navigable__current-indicator-border-radius")}"></div>`:""}<div part="hover-bottom-border" class="${a(!this.active&&!this.disabled&&"absolute bottom-0 left-0 w-full h-0.25 border-b sd-tab-color-border")}"></div></div></div>`}};t.styles=[...l.styles,d`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
1
+ import{a as b}from"./chunk.CGQ2BPPZ.js";import{a as u}from"./chunk.IQPMMUES.js";import{a}from"./chunk.YFQFOIEM.js";import{a as n}from"./chunk.NYKJXI3Q.js";import{a as c,b as i,d as o,h as l}from"./chunk.ILPSW4EJ.js";import{b as d,e as s}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var v=0,t=class extends l{constructor(){super(...arguments);this.attrId=++v;this.componentId=`sd-tab-${this.attrId}`;this.hasSlotController=new b(this,"left");this.localize=new u(this);this.variant="default";this.active=!1;this.disabled=!1;this.visuallyDisabled=!1;this.panel=""}connectedCallback(){super.connectedCallback(),this.setAttribute("role","tab")}handleActiveChange(){this.setAttribute("aria-selected",this.active?"true":"false")}handleDisabledChange(){let r=this.disabled||this.visuallyDisabled;this.setAttribute("aria-disabled",r?"true":"false")}focus(r){this.tab.focus(r)}blur(){this.tab.blur()}render(){this.id=this.id.length>0?this.id:this.componentId;let r={left:this.hasSlotController.test("left")};return s`<div part="base" class="${a("inline-flex justify-center min-w-max items-center h-12 px-3 leading-none select-none cursor-pointer group relative","outline-hidden focus-visible:focus-outline outline-2 !-outline-offset-2 transition-all duration-fast ease-in-out",this.variant==="container"?"tab-container-border bg-white rounded-[4px_4px_0_0]":"navigable-border-radius",this.variant==="container"&&this.active&&"tab--active-container-border bg-white",this.disabled||this.visuallyDisabled?"!cursor-not-allowed":"hover:color-background",this.active&&"z-20")}" tabindex="${!this.active||this.disabled?"-1":"0"}"><div class="${a("flex h-full items-center justify-center whitespace-nowrap",this.disabled||this.visuallyDisabled&&"opacity-50 ")}"><slot name="left" class="${a(r.left&&"block pr-2",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary")}"></slot><slot class="${a(this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary")}"></slot>${this.variant==="container"?s`<div part="active-tab-indicator" class="${a("absolute bottom-0 h-1 bg-accent w-3/4 bottom-0 group-hover:w-[calc(100%-2px)] navigable__current-indicator-height navigable__current-indicator-border-radius")}"></div>`:""}<div part="hover-bottom-border" class="${a(!this.active&&!this.disabled&&"absolute bottom-0 left-0 w-full h-0.25 border-b sd-tab-color-border")}"></div></div></div>`}};t.styles=[...l.styles,d`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
2
  :host{box-sizing:border-box;display:inline-block}:host(:hover)::part(hover-bottom-border){border-bottom-color:rgba(var(--sd-color-border-neutral-400))}.tab-container-border::after{position:absolute;height:100%;width:100%;border-style:var(--tw-border-style);border-width:1px;border-color:transparent;--tw-content:'';content:var(--tw-content)}.tab--active-container-border::after{position:absolute;height:100%;width:100%;border-style:var(--tw-border-style);border-width:1px;border-color:rgba(var(--sd-color-border-neutral-400));transition-property:border;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));--tw-content:'';content:var(--tw-content);border-bottom:none;border-radius:4px 4px 0 0}[part=active-tab-indicator]{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:var(--sd-opacity-0);--tw-duration:var(--sd-duration-fast, 150ms);transition-duration:var(--sd-duration-fast,150ms);transition:width var(--sd-duration-fast) ease-in-out,opacity var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out var(--sd-duration-fast)}:host([active]) [part=active-tab-indicator]{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:var(--sd-opacity-100);transition:width var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@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}`],e([o("[part=base]")],t.prototype,"tab",2),e([o("[part=active-tab-indicator]")],t.prototype,"currentIndicator",2),e([i({type:String,reflect:!0})],t.prototype,"variant",2),e([i({type:Boolean,reflect:!0})],t.prototype,"active",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:String,reflect:!0})],t.prototype,"panel",2),e([n("active")],t.prototype,"handleActiveChange",1),e([n(["disabled","visually-disabled"])],t.prototype,"handleDisabledChange",1),t=e([c("sd-tab")],t);export{t as a};
@@ -1,12 +1,12 @@
1
- import{a as M}from"./chunk.N3WG3NAL.js";import{c as z}from"./chunk.3L472FD4.js";import{b as I}from"./chunk.JS2HQ2N4.js";import{a as L}from"./chunk.CGQ2BPPZ.js";import{a as w,c as O}from"./chunk.B2NUKX6G.js";import{a as C}from"./chunk.KLRPP4NQ.js";import{a as k}from"./chunk.MP6XEXRW.js";import{a as D}from"./chunk.IQPMMUES.js";import{a as d}from"./chunk.YFQFOIEM.js";import{a as f}from"./chunk.NYKJXI3Q.js";import{a as $,b as a,c as u,d as c,g as E,h as x}from"./chunk.W36B3LKW.js";import{b as T,e as p}from"./chunk.763RLJEK.js";import{b as g,e as y}from"./chunk.W4QBFD6E.js";import{e as s}from"./chunk.6EV4YU6C.js";var i=class extends x{constructor(){super(...arguments);this.formControlController=new I(this,{assumeInteractionOn:["sd-blur","sd-input"]});this.hasSlotController=new L(this,"help-text","label");this.localize=new D(this);this.typeToSelectString="";this.deletedTagLabel="";this.hasFocus=!1;this.selectedOptions=[];this.showValidStyle=!1;this.showInvalidStyle=!1;this.defaultValue="";this.open=!1;this.size="lg";this.placement="bottom";this.label="";this.placeholder="";this.maxOptionsTagLabel="";this.disabled=!1;this.visuallyDisabled=!1;this.helpText="";this.currentPlacement=this.placement;this.clearable=!1;this.multiple=!1;this.useTags=!1;this.maxOptionsVisible=3;this.form="";this.name="";this.value="";this.required=!1;this.styleOnValid=!1;this.hoist=!1;this.getTag=t=>p`<sd-tag class="relative z-10" ?disabled="${this.disabled}" part="tag" exportparts="
1
+ import{a as F}from"./chunk.N3WG3NAL.js";import{c as A}from"./chunk.3L472FD4.js";import{b as I}from"./chunk.JS2HQ2N4.js";import{a as M}from"./chunk.CGQ2BPPZ.js";import{a as C,c as $}from"./chunk.B2NUKX6G.js";import{a as T}from"./chunk.KLRPP4NQ.js";import{a as L}from"./chunk.MP6XEXRW.js";import{a as z}from"./chunk.IQPMMUES.js";import{a as r}from"./chunk.YFQFOIEM.js";import{a as b}from"./chunk.NYKJXI3Q.js";import{a as D,b as n,c as u,d as c,g as k,h as O}from"./chunk.ILPSW4EJ.js";import{b as E,e as h}from"./chunk.763RLJEK.js";import{b as x,e as w}from"./chunk.W4QBFD6E.js";import{e as s}from"./chunk.6EV4YU6C.js";var i=class extends O{constructor(){super(...arguments);this.formControlController=new I(this,{assumeInteractionOn:["sd-blur","sd-input"]});this.hasSlotController=new M(this,"help-text","label");this.localize=new z(this);this.typeToSelectString="";this.deletedTagLabel="";this.hasFocus=!1;this.selectedOptions=[];this.showValidStyle=!1;this.showInvalidStyle=!1;this.defaultValue="";this.open=!1;this.size="lg";this.placement="bottom";this.label="";this.placeholder="";this.maxOptionsTagLabel="";this.disabled=!1;this.visuallyDisabled=!1;this.helpText="";this.currentPlacement=this.placement;this.clearable=!1;this.multiple=!1;this.useTags=!1;this.maxOptionsVisible=3;this.form="";this.name="";this.value="";this.required=!1;this.floatingLabel=!1;this.styleOnValid=!1;this.hoist=!1;this.getTag=t=>h`<sd-tag class="relative z-10" ?disabled="${this.disabled}" part="tag" exportparts="
2
2
  base:tag__base,
3
3
  content:tag__content,
4
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-tag>`;this.handleDocumentFocusIn=t=>{let e=t.composedPath();this&&!e.includes(this)&&this.hide()};this.handleDocumentKeyDown=t=>{let e=t.target,o=e.closest(".select__clear")!==null,l=e.closest("sd-icon-button")!==null;if(!(o||l)){if(t.key==="Escape"&&this.open&&(t.preventDefault(),t.stopPropagation(),this.hide(),this.combobox.focus({preventScroll:!0})),t.key==="Enter"||t.key===" "&&this.typeToSelectString===""){if(t.preventDefault(),t.stopImmediatePropagation(),!this.open){this.show(),this.setCurrentOption(this.currentOption||this.getFirstOption(),t);return}this.currentOption&&!this.currentOption.disabled&&(this.multiple?this.toggleOptionSelection(this.currentOption):this.setSelectedOptions(this.currentOption),this.updateComplete.then(()=>{this.emit("sd-input"),this.emit("sd-change")}),this.multiple||(this.hide(),this.combobox.focus({preventScroll:!0})));return}if(["ArrowUp","ArrowDown","Home","End"].includes(t.key)){let h=this.getAllOptions(),n=h.indexOf(this.currentOption),r=Math.max(0,n);if(t.preventDefault(),!this.open&&(this.show(),this.currentOption))return;t.key==="ArrowDown"?(r=n+1,r>h.length-1&&(r=0)):t.key==="ArrowUp"?(r=n-1,r<0&&(r=h.length-1)):t.key==="Home"?r=0:t.key==="End"&&(r=h.length-1),this.setCurrentOption(h[r],t)}if(t.key.length===1||t.key==="Backspace"){let h=this.getAllOptions();if(t.metaKey||t.ctrlKey||t.altKey)return;if(!this.open){if(t.key==="Backspace")return;this.show()}t.stopPropagation(),t.preventDefault(),clearTimeout(this.typeToSelectTimeout),this.typeToSelectTimeout=window.setTimeout(()=>this.typeToSelectString="",1e3),t.key==="Backspace"?this.typeToSelectString=this.typeToSelectString.slice(0,-1):this.typeToSelectString+=t.key.toLowerCase();for(let n of h)if(n.getTextLabel().toLowerCase().startsWith(this.typeToSelectString)){this.setCurrentOption(n);break}}}};this.handleDocumentMouseDown=t=>{let e=t.composedPath();this&&!e.includes(this)&&this.hide()}}get validity(){return this.valueInput.validity}get validationMessage(){return this.valueInput.validationMessage}connectedCallback(){super.connectedCallback(),this.open=!1}firstUpdated(){this.applySizeToOptions()}addOpenListeners(){document.addEventListener("focusin",this.handleDocumentFocusIn),document.addEventListener("keydown",this.handleDocumentKeyDown),document.addEventListener("mousedown",this.handleDocumentMouseDown)}removeOpenListeners(){document.removeEventListener("focusin",this.handleDocumentFocusIn),document.removeEventListener("keydown",this.handleDocumentKeyDown),document.removeEventListener("mousedown",this.handleDocumentMouseDown)}handleFocus(){this.hasFocus=!0,this.displayInput.setSelectionRange(0,0),this.emit("sd-focus")}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleTagKeyDown(t,e){var o,l,h;if((t.key==="Backspace"||t.key==="Enter"||t.key===" ")&&this.multiple){t.preventDefault(),t.stopPropagation();let n=(o=t.currentTarget)==null?void 0:o.parentElement,r=(l=n==null?void 0:n.previousElementSibling)==null?void 0:l.querySelector("sd-tag"),m=(h=n==null?void 0:n.nextElementSibling)==null?void 0:h.querySelector("sd-tag");this.handleTagRemove(new CustomEvent("sd-remove"),e),this.updateComplete.then(()=>{m?m.focus():r?r.focus():this.focus({preventScroll:!0})})}}handleTagMaxOptionsKeyDown(t){(t.key==="Backspace"||t.key==="Enter")&&this.multiple&&(t.preventDefault(),t.stopPropagation(),this.handleTagRemove(new CustomEvent("sd-remove"),this.selectedOptions[this.selectedOptions.length-1]),this.updateComplete.then(()=>{var o;let e=(o=this.shadowRoot)==null?void 0:o.querySelectorAll("sd-tag");e&&e.length>0?e==null||e[(e==null?void 0:e.length)-1].focus():this.focus({preventScroll:!0})}))}handleLabelClick(){this.combobox.focus()}handleComboboxMouseDown(t){let o=t.composedPath().some(l=>l instanceof HTMLSlotElement&&l.name==="removable-indicator");this.disabled||o||this.visuallyDisabled||(t.preventDefault(),this.combobox.focus({preventScroll:!0}),this.open=!this.open,this.setCurrentOption(this.currentOption||this.getFirstOption(),t))}handleComboboxKeyDown(t){t.stopPropagation(),this.handleDocumentKeyDown(t)}handleClearClick(t){t.stopPropagation(),this.clearSelect()}clearSelect(){this.setSelectedOptions([]),this.combobox.focus({preventScroll:!0}),this.updateComplete.then(()=>{this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change")})}handleClearMouseDown(t){t.stopPropagation(),t.preventDefault()}handleOptionClick(t){let o=t.target.closest("sd-option"),l=this.value;o&&!o.disabled&&(this.multiple?this.toggleOptionSelection(o):this.setSelectedOptions(o),this.updateComplete.then(()=>this.combobox.focus({preventScroll:!0})),this.value!==l&&this.updateComplete.then(()=>{this.emit("sd-input"),this.emit("sd-change")}),this.multiple||(this.hide(),this.combobox.focus({preventScroll:!0})))}handleDefaultSlotChange(){let t=this.getAllOptions(),e=Array.isArray(this.value)?this.value:[this.value],o=[];customElements.get("sd-option")?(t.forEach(l=>{this.multiple&&(l.checkbox=!0),o.push(l.value)}),this.setSelectedOptions(t.filter(l=>e.includes(l.value)))):customElements.whenDefined("sd-option").then(()=>this.handleDefaultSlotChange())}handleTagRemove(t,e){t.stopPropagation(),e||this.clearSelect(),e&&!this.disabled&&(this.toggleOptionSelection(e,!1),this.deletedTagLabel=this.localize.term("removed",e.textContent),this.updateComplete.then(()=>{this.emit("sd-input"),this.emit("sd-change")}))}getAllOptions(){return[...this.querySelectorAll("sd-option")]}getFirstOption(){return this.querySelector("sd-option")}setCurrentOption(t,e){this.getAllOptions().forEach(l=>{l.current=!1,l.tabIndex=-1,((e==null?void 0:e.type)==="keydown"||(e==null?void 0:e.type)==="mousedown")&&(l.isKeyboardFocus=!1)}),t&&(this.currentOption=t,t.current=!0,t.tabIndex=0,t.focus()),t&&(e==null?void 0:e.type)==="keydown"&&(t.isKeyboardFocus=!0)}setSelectedOptions(t){let e=this.getAllOptions(),o=Array.isArray(t)?t:[t];e.forEach(l=>l.selected=!1),o.length&&o.forEach(l=>l.selected=!0),Array.isArray(t)?this.selectionChanged():this.selectionChanged(t)}toggleOptionSelection(t,e){e===!0||e===!1?t.selected=e:t.selected=!t.selected,Array.isArray(t)?this.selectionChanged():this.selectionChanged(t)}get displayLabel(){var t,e;return this.multiple?this.useTags||this.value.length===0?"":this.localize.term("numOptionsSelected",this.selectedOptions.length):(e=(t=this.selectedOptions[0])==null?void 0:t.getTextLabel())!=null?e:""}selectionChanged(t){var e,o;t&&this.multiple?this.selectedOptions.find(l=>l.value===t.value)?this.selectedOptions=this.selectedOptions.filter(l=>l.value!==t.value):this.selectedOptions=[...this.selectedOptions,t]:this.selectedOptions=this.getAllOptions().filter(l=>l.selected),this.multiple?this.value=this.selectedOptions.map(l=>l.value):this.value=(o=(e=this.selectedOptions[0])==null?void 0:e.value)!=null?o:"",this.updateComplete.then(()=>{this.formControlController.updateValidity()})}get tags(){return this.selectedOptions.length<=this.maxOptionsVisible?this.selectedOptions.map((t,e)=>{if(e<this.maxOptionsVisible||this.maxOptionsVisible<=0){let o=this.getTag(t,e);return p`<div @sd-remove="${l=>this.handleTagRemove(l,t)}">${typeof o=="string"?k(o):o}</div>`}return[p``]}):[p`<sd-tag class="z-10" ?disabled="${this.disabled}" part="tag" exportparts="
5
+ " size="${this.size==="sm"?"sm":"lg"}" removable @keydown="${e=>this.handleTagKeyDown(e,t)}" @sd-remove="${e=>this.handleTagRemove(e,t)}">${t.getTextLabel()}</sd-tag>`;this.handleDocumentFocusIn=t=>{let e=t.composedPath();this&&!e.includes(this)&&this.hide()};this.handleDocumentKeyDown=t=>{let e=t.target,o=e.closest(".select__clear")!==null,l=e.closest("sd-icon-button")!==null;if(!(o||l)){if(t.key==="Escape"&&this.open&&(t.preventDefault(),t.stopPropagation(),this.hide(),this.combobox.focus({preventScroll:!0})),t.key==="Enter"||t.key===" "&&this.typeToSelectString===""){if(t.preventDefault(),t.stopImmediatePropagation(),!this.open){this.show(),this.setCurrentOption(this.currentOption||this.getFirstOption(),t);return}this.currentOption&&!this.currentOption.disabled&&(this.multiple?this.toggleOptionSelection(this.currentOption):this.setSelectedOptions(this.currentOption),this.updateComplete.then(()=>{this.emit("sd-input"),this.emit("sd-change")}),this.multiple||(this.hide(),this.combobox.focus({preventScroll:!0})));return}if(["ArrowUp","ArrowDown","Home","End"].includes(t.key)){let p=this.getAllOptions(),d=p.indexOf(this.currentOption),a=Math.max(0,d);if(t.preventDefault(),!this.open&&(this.show(),this.currentOption))return;t.key==="ArrowDown"?(a=d+1,a>p.length-1&&(a=0)):t.key==="ArrowUp"?(a=d-1,a<0&&(a=p.length-1)):t.key==="Home"?a=0:t.key==="End"&&(a=p.length-1),this.setCurrentOption(p[a],t)}if(t.key.length===1||t.key==="Backspace"){let p=this.getAllOptions();if(t.metaKey||t.ctrlKey||t.altKey)return;if(!this.open){if(t.key==="Backspace")return;this.show()}t.stopPropagation(),t.preventDefault(),clearTimeout(this.typeToSelectTimeout),this.typeToSelectTimeout=window.setTimeout(()=>this.typeToSelectString="",1e3),t.key==="Backspace"?this.typeToSelectString=this.typeToSelectString.slice(0,-1):this.typeToSelectString+=t.key.toLowerCase();for(let d of p)if(d.getTextLabel().toLowerCase().startsWith(this.typeToSelectString)){this.setCurrentOption(d);break}}}};this.handleDocumentMouseDown=t=>{let e=t.composedPath();this&&!e.includes(this)&&this.hide()}}get validity(){return this.valueInput.validity}get validationMessage(){return this.valueInput.validationMessage}connectedCallback(){super.connectedCallback(),this.open=!1}firstUpdated(){this.applySizeToOptions()}addOpenListeners(){document.addEventListener("focusin",this.handleDocumentFocusIn),document.addEventListener("keydown",this.handleDocumentKeyDown),document.addEventListener("mousedown",this.handleDocumentMouseDown)}removeOpenListeners(){document.removeEventListener("focusin",this.handleDocumentFocusIn),document.removeEventListener("keydown",this.handleDocumentKeyDown),document.removeEventListener("mousedown",this.handleDocumentMouseDown)}handleFocus(){this.hasFocus=!0,this.displayInput.setSelectionRange(0,0),this.emit("sd-focus")}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleTagKeyDown(t,e){var o,l,p;if((t.key==="Backspace"||t.key==="Enter"||t.key===" ")&&this.multiple){t.preventDefault(),t.stopPropagation();let d=(o=t.currentTarget)==null?void 0:o.parentElement,a=(l=d==null?void 0:d.previousElementSibling)==null?void 0:l.querySelector("sd-tag"),m=(p=d==null?void 0:d.nextElementSibling)==null?void 0:p.querySelector("sd-tag");this.handleTagRemove(new CustomEvent("sd-remove"),e),this.updateComplete.then(()=>{m?m.focus():a?a.focus():this.focus({preventScroll:!0})})}}handleTagMaxOptionsKeyDown(t){(t.key==="Backspace"||t.key==="Enter")&&this.multiple&&(t.preventDefault(),t.stopPropagation(),this.handleTagRemove(new CustomEvent("sd-remove"),this.selectedOptions[this.selectedOptions.length-1]),this.updateComplete.then(()=>{var o;let e=(o=this.shadowRoot)==null?void 0:o.querySelectorAll("sd-tag");e&&e.length>0?e==null||e[(e==null?void 0:e.length)-1].focus():this.focus({preventScroll:!0})}))}handleLabelClick(){this.combobox.focus()}handleComboboxMouseDown(t){let o=t.composedPath().some(l=>l instanceof HTMLSlotElement&&l.name==="removable-indicator");this.disabled||o||this.visuallyDisabled||(t.preventDefault(),this.combobox.focus({preventScroll:!0}),this.open=!this.open,this.setCurrentOption(this.currentOption||this.getFirstOption(),t))}handleComboboxKeyDown(t){t.stopPropagation(),this.handleDocumentKeyDown(t)}handleClearClick(t){t.stopPropagation(),this.clearSelect()}clearSelect(){this.setSelectedOptions([]),this.combobox.focus({preventScroll:!0}),this.updateComplete.then(()=>{this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change")})}handleClearMouseDown(t){t.stopPropagation(),t.preventDefault()}handleOptionClick(t){let o=t.target.closest("sd-option"),l=this.value;o&&!o.disabled&&(this.multiple?this.toggleOptionSelection(o):this.setSelectedOptions(o),this.updateComplete.then(()=>this.combobox.focus({preventScroll:!0})),this.value!==l&&this.updateComplete.then(()=>{this.emit("sd-input"),this.emit("sd-change")}),this.multiple||(this.hide(),this.combobox.focus({preventScroll:!0})))}handleDefaultSlotChange(){let t=this.getAllOptions(),e=Array.isArray(this.value)?this.value:[this.value],o=[];customElements.get("sd-option")?(t.forEach(l=>{this.multiple&&(l.checkbox=!0),o.push(l.value)}),this.setSelectedOptions(t.filter(l=>e.includes(l.value)))):customElements.whenDefined("sd-option").then(()=>this.handleDefaultSlotChange())}handleTagRemove(t,e){t.stopPropagation(),e||this.clearSelect(),e&&!this.disabled&&(this.toggleOptionSelection(e,!1),this.deletedTagLabel=this.localize.term("removed",e.textContent),this.updateComplete.then(()=>{this.emit("sd-input"),this.emit("sd-change")}))}getAllOptions(){return[...this.querySelectorAll("sd-option")]}getFirstOption(){return this.querySelector("sd-option")}setCurrentOption(t,e){this.getAllOptions().forEach(l=>{l.current=!1,l.tabIndex=-1,((e==null?void 0:e.type)==="keydown"||(e==null?void 0:e.type)==="mousedown")&&(l.isKeyboardFocus=!1)}),t&&(this.currentOption=t,t.current=!0,t.tabIndex=0,t.focus()),t&&(e==null?void 0:e.type)==="keydown"&&(t.isKeyboardFocus=!0)}setSelectedOptions(t){let e=this.getAllOptions(),o=Array.isArray(t)?t:[t];e.forEach(l=>l.selected=!1),o.length&&o.forEach(l=>l.selected=!0),Array.isArray(t)?this.selectionChanged():this.selectionChanged(t)}toggleOptionSelection(t,e){e===!0||e===!1?t.selected=e:t.selected=!t.selected,Array.isArray(t)?this.selectionChanged():this.selectionChanged(t)}get displayLabel(){var t,e;return this.multiple?this.useTags||this.value.length===0?"":this.localize.term("numOptionsSelected",this.selectedOptions.length):(e=(t=this.selectedOptions[0])==null?void 0:t.getTextLabel())!=null?e:""}selectionChanged(t){var e,o;t&&this.multiple?this.selectedOptions.find(l=>l.value===t.value)?this.selectedOptions=this.selectedOptions.filter(l=>l.value!==t.value):this.selectedOptions=[...this.selectedOptions,t]:this.selectedOptions=this.getAllOptions().filter(l=>l.selected),this.multiple?this.value=this.selectedOptions.map(l=>l.value):this.value=(o=(e=this.selectedOptions[0])==null?void 0:e.value)!=null?o:"",this.updateComplete.then(()=>{this.formControlController.updateValidity()})}get tags(){return this.selectedOptions.length<=this.maxOptionsVisible?this.selectedOptions.map((t,e)=>{if(e<this.maxOptionsVisible||this.maxOptionsVisible<=0){let o=this.getTag(t,e);return h`<div @sd-remove="${l=>this.handleTagRemove(l,t)}">${typeof o=="string"?L(o):o}</div>`}return[h``]}):[h`<sd-tag class="z-10" ?disabled="${this.disabled}" part="tag" exportparts="
6
6
  base:tag__base,
7
7
  content:tag__content,
8
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-tag>`]}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)}handleUseTagsChange(){let t=this.getAllOptions();customElements.get("sd-option")&&t.forEach(e=>{e.checkbox=this.multiple})}handleDisabledChange(){(this.disabled||this.visuallyDisabled)&&(this.open=!1,this.handleOpenChange())}async handleOpenChange(){if(this.open&&(!this.disabled||!this.visuallyDisabled)){this.setCurrentOption(this.selectedOptions[0]||this.getFirstOption()),this.emit("sd-show"),this.addOpenListeners(),await y(this),this.listbox.hidden=!1,this.popup.active=!0,requestAnimationFrame(()=>{this.setCurrentOption(this.currentOption)});let{keyframes:t,options:e}=O(this,"select.show",{dir:this.localize.dir()});await g(this.popup.popup,t,e),this.currentOption&&z(this.currentOption,this.listbox,"vertical","auto"),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),await y(this);let{keyframes:t,options:e}=O(this,"select.hide",{dir:this.localize.dir()});await g(this.popup.popup,t,e),this.listbox.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}}applySizeToOptions(){this._optionsInDefaultSlot.forEach(t=>{t.size=this.size})}handleValueChange(){if(this.selectedOptions.length===(Array.isArray(this.value)?this.value.length:1))return;let t=this.getAllOptions(),e=Array.isArray(this.value)?this.value:[this.value];this.setSelectedOptions(t.filter(o=>e.includes(o.value)))}async show(){if(this.open||this.disabled||this.visuallyDisabled){this.open=!1;return}return this.open=!0,C(this,"sd-after-show")}async hide(){if(!this.open||this.disabled){this.open=!1;return}return this.open=!1,C(this,"sd-after-hide")}checkValidity(){var t;return(t=this.valueInput)==null?void 0:t.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.combobox.focus(t)}blur(){this.combobox.blur()}render(){let t={default:this.hasSlotController.test("[default]"),label:this.hasSlotController.test("label"),clearIcon:this.hasSlotController.test("clear-icon"),expandIcon:this.hasSlotController.test("expand-icon"),helpText:this.hasSlotController.test("help-text"),tooltip:this.hasSlotController.test("tooltip")},e=this.label?!0:!!t.label,o=this.helpText?!0:!!t.helpText,l=this.clearable&&!this.disabled,h=!!t.tooltip,n=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",r=this.disabled||this.visuallyDisabled?"cursor-not-allowed":"cursor-pointer",m={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],b={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size];return p`<div part="form-control" class="${d("relative text-left",r,this.size==="sm"?"text-sm":"text-base",this.open&&"z-50")}"><span class="sr-only" aria-live="polite">${this.deletedTagLabel}</span> ${e||h?p`<div class="flex items-center gap-1 mb-2"><label id="label" part="form-control-label" class="${e&&"inline-block form-control-color-text"}" aria-hidden="${e?"false":"true"}" @click="${this.handleLabelClick}"><slot name="label">${this.label}</slot></label> ${t.tooltip?p`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${d("relative w-full bg-white",n==="disabled"?"text-neutral-500":"form-control-color-text")}"><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"}[n],this.open&&(this.currentPlacement==="bottom"?"rounded-bl-none rounded-br-none":"rounded-tl-none rounded-tr-none"))}"></div><sd-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 sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
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-tag>`]}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)}handleUseTagsChange(){let t=this.getAllOptions();customElements.get("sd-option")&&t.forEach(e=>{e.checkbox=this.multiple})}handleDisabledChange(){(this.disabled||this.visuallyDisabled)&&(this.open=!1,this.handleOpenChange())}async handleOpenChange(){if(this.open&&(!this.disabled||!this.visuallyDisabled)){this.setCurrentOption(this.selectedOptions[0]||this.getFirstOption()),this.emit("sd-show"),this.addOpenListeners(),await w(this),this.listbox.hidden=!1,this.popup.active=!0,requestAnimationFrame(()=>{this.setCurrentOption(this.currentOption)});let{keyframes:t,options:e}=$(this,"select.show",{dir:this.localize.dir()});await x(this.popup.popup,t,e),this.currentOption&&A(this.currentOption,this.listbox,"vertical","auto"),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),await w(this);let{keyframes:t,options:e}=$(this,"select.hide",{dir:this.localize.dir()});await x(this.popup.popup,t,e),this.listbox.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}}applySizeToOptions(){this._optionsInDefaultSlot.forEach(t=>{t.size=this.size})}handleValueChange(){if(this.selectedOptions.length===(Array.isArray(this.value)?this.value.length:1))return;let t=this.getAllOptions(),e=Array.isArray(this.value)?this.value:[this.value];this.setSelectedOptions(t.filter(o=>e.includes(o.value)))}async show(){if(this.open||this.disabled||this.visuallyDisabled){this.open=!1;return}return this.open=!0,T(this,"sd-after-show")}async hide(){if(!this.open||this.disabled){this.open=!1;return}return this.open=!1,T(this,"sd-after-hide")}checkValidity(){var t;return(t=this.valueInput)==null?void 0:t.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.combobox.focus(t)}blur(){this.combobox.blur()}render(){let t={default:this.hasSlotController.test("[default]"),label:this.hasSlotController.test("label"),clearIcon:this.hasSlotController.test("clear-icon"),expandIcon:this.hasSlotController.test("expand-icon"),helpText:this.hasSlotController.test("help-text"),tooltip:this.hasSlotController.test("tooltip")},e=this.label?!0:!!t.label,o=this.helpText?!0:!!t.helpText,l=this.clearable&&!this.disabled,p=!!t.tooltip,d=this.value!==null&&String(this.value).length>0,a=this.floatingLabel&&e&&(this.hasFocus&&!this.visuallyDisabled||this.open||d)&&!(this.disabled&&!d),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",f=this.disabled||this.visuallyDisabled?"cursor-not-allowed":"cursor-pointer",v={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],g={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size],V=this.size==="lg"?this.floatingLabel?a?"py-3":"py-4":"py-2":this.floatingLabel?a?"py-2":"py-3":"py-1";return h`<div part="form-control" class="${r("relative text-left",f,this.size==="sm"?"text-sm":"text-base",this.open&&"z-50")}"><span class="sr-only" aria-live="polite">${this.deletedTagLabel}</span> ${e&&!this.floatingLabel||p?h`<div class="flex items-center gap-1 mb-2"><label id="label" part="form-control-label" class="${e&&"inline-block form-control-color-text"}" aria-hidden="${e?"false":"true"}" @click="${this.handleLabelClick}"><slot name="label">${this.label}</slot></label> ${t.tooltip?h`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${r("relative w-full bg-white",m==="disabled"?"text-neutral-500":"form-control-color-text")}">${e&&this.floatingLabel?h`<label id="label" part="form-control-floating-label" class="${r("absolute left-4 z-20 pointer-events-none transition-all duration-200",a?this.size==="lg"?"top-2 text-xs":"top-1 text-xs":"top-1/2 -translate-y-1/2 text-base",a&&"mt-1")}" for="input"><span class="${r("leading-none",(this.visuallyDisabled||this.disabled)&&"text-neutral-500",a&&!this.visuallyDisabled&&!this.disabled&&"form-control--filled__floating-label-color-text")}">${this.label}</span></label>`:null}<div part="border" class="${r("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-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${r("inline-flex relative w-full",this.currentPlacement==="bottom"?"origin-top":"origin-bottom")}" placement="${this.placement}" strategy="${this.hoist?"fixed":"absolute"}" flip sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
10
10
  popup:popup__content,
11
- "><div class="${d("relative w-full h-full grid rounded-default transition-colors hover:duration-fast ease-in-out",this.visuallyDisabled||this.disabled?"hover:bg-transparent":"hover:bg-neutral-200",["invalid","activeInvalid"].includes(n)&&"form-control--invalid-color-background")}" slot="anchor"><div class="${d("input-container flex items-center w-full h-full px-4",{sm:"py-1",md:"py-1",lg:"py-2"}[this.size])}"><input name="${this.name}" form="${this.form}" part="display-input" class="${d("top-0 left-0 appearance-none outline-none flex-grow bg-transparent flex-1 placeholder:text-neutral-700",r,this.multiple&&this.useTags&&this.value.length>0?"hidden":"")}" type="text" .disabled="${this.disabled}" placeholder="${this.placeholder||this.localize.term("selectDefaultPlaceholder")}" .value="${this.displayLabel}" autocomplete="off" spellcheck="false" autocapitalize="off" readonly="readonly" aria-controls="listbox" aria-expanded="${this.open?"true":"false"}" aria-haspopup="listbox" aria-labelledby="label" aria-disabled="${this.disabled||this.visuallyDisabled?"true":"false"}" aria-invalid="${this.showInvalidStyle}" aria-describedby="help-text invalid-message" role="combobox" tabindex="-1"> ${this.multiple&&this.useTags?p`<div part="tags" class="flex-grow flex flex-wrap items-center gap-1">${this.tags}</div>`:""}<div aria-live="polite" id="control-value" class="absolute top-0 left-0 opacity-0 -z-10">${this.selectedOptions.map(v=>v==null?void 0:v.getTextLabel()).join(", ")}</div><input class="${d("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10",r)}" 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}"> ${l?p`<button part="clear-button" class="${d("select__clear flex justify-center",m,this.value.length>0?"visible":"invisible")}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-icon class="${d("text-neutral-700 z-10",b)}" library="_internal" name="closing-round"></sd-icon></slot></button>`:""} ${this.showInvalidStyle?p`<sd-icon part="invalid-icon" class="${d(m,b,"text-error")}" library="_internal" name="risk"></sd-icon>`:""} ${this.styleOnValid&&this.showValidStyle?p`<sd-icon part="valid-icon" class="${d("flex-shrink-0 text-success",m,b)}" library="_internal" name="confirm-circle"></sd-icon>`:""}<slot name="expand-icon" part="expand-icon" class="${d("inline-flex ml-2 items-center transition-transform duration-medium ease-in-out",this.open?"rotate-180":"rotate-0",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary",b)}"><sd-icon name="chevron-down" part="chevron" library="_internal" color="currentColor"></sd-icon></slot></div><button part="combobox" class="${d("relative w-full px-4 flex flex-row items-center rounded-default focus-visible:outline-none",r,this.open&&"shadow transition-shadow duration-medium ease-in-out",{sm:"min-h-[32px]",md:"min-h-[40px]",lg:"min-h-[48px]"}[this.size])}" type="button" @keydown="${this.handleComboboxKeyDown}" @mousedown="${this.handleComboboxMouseDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" aria-labelledby="label"></button></div><div id="listbox" role="listbox" aria-expanded="${this.open?"true":"false"}" aria-multiselectable="${this.multiple?"true":"false"}" 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" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-popup></div><div class="text-sm text-neutral-700 mt-1" part="form-control-help-text" id="help-text" aria-hidden="${o?"false":"true"}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage()}`}};i.styles=[...x.styles,T`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
12
- :host{position:relative;display:block;width:auto}: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))}[part=listbox]{max-height:var(--auto-size-available-height,auto)}.input-container,[part=combobox]{grid-column:1/1;grid-row:1/1}sd-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-tag::part(base){border-radius:var(--sd-radius);padding-inline:var(--sd-spacing-1)}sd-tag::part(content){display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:var(--tag-max-width,15ch)}sd-tag[size=lg]::part(base){padding-inline:var(--sd-spacing-2)}sd-tag[disabled=false]::part(base):hover{background-color:rgba(var(--sd-color-background-primary-100))}`],s([E({selector:"sd-option"})],i.prototype,"_optionsInDefaultSlot",2),s([c("sd-popup")],i.prototype,"popup",2),s([c('[part="combobox"]')],i.prototype,"combobox",2),s([c('[part="display-input"]')],i.prototype,"displayInput",2),s([c(".value-input")],i.prototype,"valueInput",2),s([c('[part="listbox"]')],i.prototype,"listbox",2),s([c("#invalid-message")],i.prototype,"invalidMessage",2),s([u()],i.prototype,"deletedTagLabel",2),s([u()],i.prototype,"hasFocus",2),s([u()],i.prototype,"currentOption",2),s([u()],i.prototype,"selectedOptions",2),s([u()],i.prototype,"showValidStyle",2),s([u()],i.prototype,"showInvalidStyle",2),s([M()],i.prototype,"defaultValue",2),s([a({type:Boolean,reflect:!0})],i.prototype,"open",2),s([a({type:String,reflect:!0})],i.prototype,"size",2),s([a({type:String,reflect:!0})],i.prototype,"placement",2),s([a({type:String,reflect:!0})],i.prototype,"label",2),s([a({type:String,reflect:!0})],i.prototype,"placeholder",2),s([a({type:String,attribute:"max-options-tag-label",reflect:!0})],i.prototype,"maxOptionsTagLabel",2),s([a({type:Boolean,reflect:!0})],i.prototype,"disabled",2),s([a({type:Boolean,reflect:!0,attribute:"visually-disabled"})],i.prototype,"visuallyDisabled",2),s([a({type:String,attribute:"help-text",reflect:!0})],i.prototype,"helpText",2),s([u()],i.prototype,"currentPlacement",2),s([a({type:Boolean,reflect:!0})],i.prototype,"clearable",2),s([a({type:Boolean,reflect:!0})],i.prototype,"multiple",2),s([a({type:Boolean,reflect:!0})],i.prototype,"useTags",2),s([a({attribute:"max-options-visible",type:Number,reflect:!0})],i.prototype,"maxOptionsVisible",2),s([a({reflect:!0})],i.prototype,"form",2),s([a({reflect:!0})],i.prototype,"name",2),s([a({converter:{fromAttribute:t=>t.split(" "),toAttribute:t=>t.join(" ")}})],i.prototype,"value",2),s([a({type:Boolean,reflect:!0})],i.prototype,"required",2),s([a({type:Boolean,reflect:!0,attribute:"style-on-valid"})],i.prototype,"styleOnValid",2),s([a({type:Boolean,reflect:!0})],i.prototype,"hoist",2),s([a()],i.prototype,"getTag",2),s([f("useTags",{waitUntilFirstUpdate:!0})],i.prototype,"handleUseTagsChange",1),s([f(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],i.prototype,"handleDisabledChange",1),s([f("open",{waitUntilFirstUpdate:!0})],i.prototype,"handleOpenChange",1),s([f("size",{waitUntilFirstUpdate:!0})],i.prototype,"applySizeToOptions",1),s([f("value",{waitUntilFirstUpdate:!0})],i.prototype,"handleValueChange",1),i=s([$("sd-select")],i);w("select.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});w("select.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{i as a};
11
+ "><div class="${r("relative w-full h-full grid rounded-default transition-colors hover:duration-fast ease-in-out",this.visuallyDisabled||this.disabled?"hover:bg-transparent":"hover:bg-neutral-200",["invalid","activeInvalid"].includes(m)&&"form-control--invalid-color-background")}" slot="anchor"><div class="${r("input-container items-center w-full h-full px-4 flex",{sm:"py-1",md:"py-1",lg:"py-2"}[this.size],V)}"><input name="${this.name}" form="${this.form}" part="display-input" class="${r("top-0 left-0 appearance-none outline-none flex-grow bg-transparent flex-1 placeholder:text-neutral-700",f,this.multiple&&this.useTags&&this.value.length>0?"hidden":"",this.size==="sm"?a?"h-4":"h-6":a?"h-6":"h-8",a&&"leading-none mt-4")}" type="text" .disabled="${this.disabled}" placeholder="${!this.floatingLabel||a?this.placeholder||this.localize.term("selectDefaultPlaceholder"):""}" .value="${this.displayLabel}" autocomplete="off" spellcheck="false" autocapitalize="off" readonly="readonly" aria-controls="listbox" aria-expanded="${this.open?"true":"false"}" aria-haspopup="listbox" aria-labelledby="label" aria-disabled="${this.disabled||this.visuallyDisabled?"true":"false"}" aria-invalid="${this.showInvalidStyle}" aria-describedby="help-text invalid-message" role="combobox" tabindex="-1"> ${this.multiple&&this.useTags?h`<div part="tags" class="${r("flex-grow flex flex-wrap items-center gap-1",this.floatingLabel&&"pt-6")}">${this.tags}</div>`:""}<div aria-live="polite" id="control-value" class="absolute top-0 left-0 opacity-0 -z-10">${this.selectedOptions.map(y=>y==null?void 0:y.getTextLabel()).join(", ")}</div><input class="${r("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10",f)}" 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}"> ${l?h`<button part="clear-button" class="${r("select__clear flex justify-center",v,this.value.length>0?"visible":"invisible")}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-icon class="${r("text-neutral-700 z-10",g)}" library="_internal" name="closing-round"></sd-icon></slot></button>`:""} ${this.showInvalidStyle?h`<sd-icon part="invalid-icon" class="${r(v,g,"text-error")}" library="_internal" name="risk"></sd-icon>`:""} ${this.styleOnValid&&this.showValidStyle?h`<sd-icon part="valid-icon" class="${r("flex-shrink-0 text-success",v,g)}" library="_internal" name="confirm-circle"></sd-icon>`:""}<slot name="expand-icon" part="expand-icon" class="${r("inline-flex ml-2 items-center transition-transform duration-medium ease-in-out",this.open?"rotate-180":"rotate-0",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary",g)}"><sd-icon name="chevron-down" part="chevron" library="_internal" color="currentColor"></sd-icon></slot></div><button part="combobox" class="${r("relative w-full px-4 flex flex-row items-center rounded-default focus-visible:outline-none",f,this.open&&"shadow transition-shadow duration-medium ease-in-out",{sm:"min-h-[32px]",md:"min-h-[40px]",lg:"min-h-[48px]"}[this.size])}" type="button" @keydown="${this.handleComboboxKeyDown}" @mousedown="${this.handleComboboxMouseDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" aria-labelledby="label"></button></div><div id="listbox" role="listbox" aria-expanded="${this.open?"true":"false"}" aria-multiselectable="${this.multiple?"true":"false"}" aria-labelledby="label" part="listbox" class="${r("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" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-popup></div><div class="text-sm text-neutral-700 mt-1" part="form-control-help-text" id="help-text" aria-hidden="${o?"false":"true"}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage()}`}};i.styles=[...O.styles,E`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
12
+ :host{position:relative;display:block;width:auto}: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))}[part=listbox]{max-height:var(--auto-size-available-height,auto)}.input-container,[part=combobox]{grid-column:1/1;grid-row:1/1}sd-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-tag::part(base){border-radius:var(--sd-radius);padding-inline:var(--sd-spacing-1)}sd-tag::part(content){display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:var(--tag-max-width,15ch)}sd-tag[size=lg]::part(base){padding-inline:var(--sd-spacing-2)}sd-tag[disabled=false]::part(base):hover{background-color:rgba(var(--sd-color-background-primary-100))}`],s([k({selector:"sd-option"})],i.prototype,"_optionsInDefaultSlot",2),s([c("sd-popup")],i.prototype,"popup",2),s([c('[part="combobox"]')],i.prototype,"combobox",2),s([c('[part="display-input"]')],i.prototype,"displayInput",2),s([c(".value-input")],i.prototype,"valueInput",2),s([c('[part="listbox"]')],i.prototype,"listbox",2),s([c("#invalid-message")],i.prototype,"invalidMessage",2),s([u()],i.prototype,"deletedTagLabel",2),s([u()],i.prototype,"hasFocus",2),s([u()],i.prototype,"currentOption",2),s([u()],i.prototype,"selectedOptions",2),s([u()],i.prototype,"showValidStyle",2),s([u()],i.prototype,"showInvalidStyle",2),s([F()],i.prototype,"defaultValue",2),s([n({type:Boolean,reflect:!0})],i.prototype,"open",2),s([n({type:String,reflect:!0})],i.prototype,"size",2),s([n({type:String,reflect:!0})],i.prototype,"placement",2),s([n({type:String,reflect:!0})],i.prototype,"label",2),s([n({type:String,reflect:!0})],i.prototype,"placeholder",2),s([n({type:String,attribute:"max-options-tag-label",reflect:!0})],i.prototype,"maxOptionsTagLabel",2),s([n({type:Boolean,reflect:!0})],i.prototype,"disabled",2),s([n({type:Boolean,reflect:!0,attribute:"visually-disabled"})],i.prototype,"visuallyDisabled",2),s([n({type:String,attribute:"help-text",reflect:!0})],i.prototype,"helpText",2),s([u()],i.prototype,"currentPlacement",2),s([n({type:Boolean,reflect:!0})],i.prototype,"clearable",2),s([n({type:Boolean,reflect:!0})],i.prototype,"multiple",2),s([n({type:Boolean,reflect:!0})],i.prototype,"useTags",2),s([n({attribute:"max-options-visible",type:Number,reflect:!0})],i.prototype,"maxOptionsVisible",2),s([n({reflect:!0})],i.prototype,"form",2),s([n({reflect:!0})],i.prototype,"name",2),s([n({converter:{fromAttribute:t=>t.split(" "),toAttribute:t=>t.join(" ")}})],i.prototype,"value",2),s([n({type:Boolean,reflect:!0})],i.prototype,"required",2),s([n({attribute:"floating-label",type:Boolean,reflect:!0})],i.prototype,"floatingLabel",2),s([n({type:Boolean,reflect:!0,attribute:"style-on-valid"})],i.prototype,"styleOnValid",2),s([n({type:Boolean,reflect:!0})],i.prototype,"hoist",2),s([n()],i.prototype,"getTag",2),s([b("useTags",{waitUntilFirstUpdate:!0})],i.prototype,"handleUseTagsChange",1),s([b(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],i.prototype,"handleDisabledChange",1),s([b("open",{waitUntilFirstUpdate:!0})],i.prototype,"handleOpenChange",1),s([b("size",{waitUntilFirstUpdate:!0})],i.prototype,"applySizeToOptions",1),s([b("value",{waitUntilFirstUpdate:!0})],i.prototype,"handleValueChange",1),i=s([D("sd-select")],i);C("select.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});C("select.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{i as a};
@@ -1,2 +1,2 @@
1
- import{a as o}from"./chunk.MHWW3RZB.js";import{a as s,b as n,d as l,h as a}from"./chunk.W36B3LKW.js";import{b as r,e as d}from"./chunk.763RLJEK.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends a{constructor(){super(...arguments);this.fixed=!1}connectedCallback(){super.connectedCallback(),this.updateCalculatedHeight=this.updateCalculatedHeight.bind(this),this.addResizeObserver=this.addResizeObserver.bind(this),window.addEventListener("resize",this.updateCalculatedHeight)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("resize",this.updateCalculatedHeight)}firstUpdated(){this.updateCalculatedHeight(),this.addResizeObserver()}updated(i){super.updated(i),i.has("fixed")&&this.updateCalculatedHeight()}addResizeObserver(){this.resizeObserver=new ResizeObserver(this.updateCalculatedHeight),this.header&&this.resizeObserver.observe(this.header)}updateCalculatedHeight(){let i=parseFloat(getComputedStyle(document.documentElement).fontSize),h=window.innerHeight/i;this.header&&this.fixed&&h>=32?document.documentElement.style.setProperty("--sd-header-calculated-height",`${this.header.clientHeight}px`):document.documentElement.style.removeProperty("--sd-header-calculated-height")}render(){return d`<header class="w-full sd-header-color-background relative" role="banner"><div part="main" class="relative mx-auto my-0 box-border"><slot></slot></div></header>`}};e.styles=[...a.styles,r`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
1
+ import{a as o}from"./chunk.MHWW3RZB.js";import{a as s,b as n,d as l,h as a}from"./chunk.ILPSW4EJ.js";import{b as r,e as d}from"./chunk.763RLJEK.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends a{constructor(){super(...arguments);this.fixed=!1}connectedCallback(){super.connectedCallback(),this.updateCalculatedHeight=this.updateCalculatedHeight.bind(this),this.addResizeObserver=this.addResizeObserver.bind(this),window.addEventListener("resize",this.updateCalculatedHeight)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("resize",this.updateCalculatedHeight)}firstUpdated(){this.updateCalculatedHeight(),this.addResizeObserver()}updated(i){super.updated(i),i.has("fixed")&&this.updateCalculatedHeight()}addResizeObserver(){this.resizeObserver=new ResizeObserver(this.updateCalculatedHeight),this.header&&this.resizeObserver.observe(this.header)}updateCalculatedHeight(){let i=parseFloat(getComputedStyle(document.documentElement).fontSize),h=window.innerHeight/i;this.header&&this.fixed&&h>=32?document.documentElement.style.setProperty("--sd-header-calculated-height",`${this.header.clientHeight}px`):document.documentElement.style.removeProperty("--sd-header-calculated-height")}render(){return d`<header class="w-full sd-header-color-background relative" role="banner"><div part="main" class="relative mx-auto my-0 box-border"><slot></slot></div></header>`}};e.styles=[...a.styles,r`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
2
  :host{position:relative;z-index:var(--sd-z-index-header,600);display:block}@media (min-height:32rem){:host([fixed]){padding-bottom:var(--sd-header-calculated-height)!important}:host([fixed]) header{position:fixed;top:calc(var(--sd-spacing-1) * 0);left:calc(var(--sd-spacing-1) * 0);width:100%}:host([fixed]) header::after{position:absolute;top:100%;right:calc(var(--sd-spacing-1) * 0);left:calc(var(--sd-spacing-1) * 0);height:var(--sd-spacing-2);--tw-content:'';content:var(--tw-content);background:var(--gradient-vertical-black-40-transparent,linear-gradient(0deg,#18181800 50%,#18181866 100%))}}[part=main]{width:var(--sd-header-inner-width);max-width:var(--sd-header-inner-max-width);padding:var(--sd-header-padding,12px 16px)}@property --tw-content{syntax:"*";inherits:false;initial-value:""}`],t([n({reflect:!0,type:Boolean})],e.prototype,"fixed",2),t([l("header")],e.prototype,"header",2),t([o(100)],e.prototype,"updateCalculatedHeight",1),e=t([s("sd-header")],e);export{e as a};
@@ -1,2 +1,2 @@
1
- import{a as y,b as k}from"./chunk.I2H6CZK5.js";import{a as c,c as d}from"./chunk.B2NUKX6G.js";import{a as g}from"./chunk.KLRPP4NQ.js";import{a as H}from"./chunk.IQPMMUES.js";import{a as o}from"./chunk.YFQFOIEM.js";import{a as f}from"./chunk.NYKJXI3Q.js";import{a as T,b as s,d as p,h as w}from"./chunk.W36B3LKW.js";import{b as v,e as u}from"./chunk.763RLJEK.js";import{b as n,e as l,f as b}from"./chunk.W4QBFD6E.js";import{e}from"./chunk.6EV4YU6C.js";var m={"top-right":null,"bottom-center":null},$=()=>{Object.entries(m).forEach(([a])=>{let h=document.querySelector(`#sd-toast-stack--${a}`);if(h){h.setAttribute("role","region"),m[a]=h;return}m[a]=Object.assign(document.createElement("div"),{role:"region",id:`sd-toast-stack--${a}`,className:`sd-toast-stack sd-toast-stack--${a}`})})};$();var t=class extends w{constructor(){super(...arguments);this.localize=new H(this);this.variant="info";this.open=!1;this.closable=!1;this.duration=1/0;this.durationIndicator=!1;this.toastStack="top-right";this.remainingDuration=this.duration;this.startTime=Date.now()}get stack(){return m[this.toastStack]}connectedCallback(){super.connectedCallback(),this.stack.parentElement||(document.body.append(this.stack),this.stack.ariaLabel=this.localize.term("notifications"))}disconnectedCallback(){super.disconnectedCallback()}firstUpdated(){this.wrapper.hidden=!this.open}startAutoHide(){clearTimeout(this.autoHideTimeout),this.startTime=Date.now(),this.remainingDuration=this.duration,this.open&&this.duration<1/0&&(this.autoHideTimeout=window.setTimeout(()=>this.hide(),this.duration))}onHover(){clearTimeout(this.autoHideTimeout),this.duration<1/0&&(this.remainingDuration-=Date.now()-this.startTime)}onHoverEnd(){this.startTime=Date.now(),clearTimeout(this.autoHideTimeout),this.open&&this.duration<1/0&&(this.autoHideTimeout=window.setTimeout(()=>{this.hide()},this.remainingDuration))}handleCloseClick(){this.hide()}handleKeyDown(i){this.closable&&i.key==="Escape"&&this.hide()}async handleOpenChange(){if(this.open){this.emit("sd-show"),this.duration<1/0&&this.startAutoHide(),await Promise.all([l(this.base),l(this.wrapper)]),this.wrapper.hidden=!1;let i=d(this,"notification.show",{dir:this.localize.dir()}),r=d(this,`notification.wrapper.show${y(k(this.toastStack))}`,{dir:this.localize.dir()});await Promise.all([n(this.base,b(i.keyframes,this.base.scrollHeight),i.options),n(this.wrapper,r.keyframes,r.options)]),this.emit("sd-after-show")}else{this.emit("sd-hide"),clearTimeout(this.autoHideTimeout),await Promise.all([l(this.base),l(this.wrapper)]);let i=d(this,"notification.hide",{dir:this.localize.dir()}),r=d(this,`notification.wrapper.hide${y(k(this.toastStack))}`,{dir:this.localize.dir()});await Promise.all([n(this.base,b(i.keyframes,this.base.scrollHeight),i.options),n(this.wrapper,r.keyframes,r.options)]),this.wrapper.hidden=!0,this.emit("sd-after-hide")}}handleDurationChange(){this.startAutoHide()}async show(){if(!this.open)return this.open=!0,g(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,g(this,"sd-after-hide")}async toast(){return new Promise(i=>{this.stack.parentElement===null&&document.body.append(this.stack),this.stack.appendChild(this),requestAnimationFrame(()=>{this.clientWidth,this.show()}),this.addEventListener("sd-after-hide",()=>{this.stack.removeChild(this),i()},{once:!0})})}render(){return u`<div part="base" class="${o("w-full flex items-stretch m-2 focus-visible:focus-outline")}" id="notification" tabindex="0" role="alert" aria-labelledby="message" aria-hidden="${this.open?"false":"true"}" @mouseenter="${this.onHover}" @mouseleave="${this.onHoverEnd}" @keydown="${this.handleKeyDown}"><div part="wrapper" class="${o("w-full h-fit overflow-hidden flex items-stretch relative")}"><slot name="icon" part="icon" class="${o("min-w-min flex items-center px-3 justify-center",{info:"bg-info",success:"bg-success",warning:"bg-warning",error:"bg-error"}[this.variant])}"><sd-icon name="${{info:"info-circle",success:"confirm-circle",warning:"exclamation-circle",error:"warning"}[this.variant]||""}" library="_internal" class="h-6 w-6 text-white"></sd-icon></slot><div part="content" class="${o("h-full w-full p-1 gap-2 flex items-center justify-stretch bg-white","border-solid border-[1px] border-l-0 sd-notification-color-border",{info:"sd-notification--info-color-background",success:"sd-notification--success-color-background",warning:"sd-notification--warning-color-background",error:"sd-notification--error-color-background"}[this.variant])}"><slot id="message" part="message" class="block w-full pl-3 py-2"></slot>${this.closable?u`<sd-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" @click="${this.handleCloseClick}"><sd-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-icon></sd-button>`:""}</div>${this.durationIndicator?u`<div part="duration-indicator__elapsed" id="duration-indicator__elapsed" style="${`animation-duration: ${this.duration}ms`}" class="${o("absolute w-0 h-[2px] bottom-0 bg-primary z-10 animate-grow")}"></div><div part="duration-indicator__total" class="w-full h-[2px] bottom-0 absolute border sd-notification-color-border"></div>`:""}</div></div>`}};t.styles=[...w.styles,v`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as y,b as k}from"./chunk.I2H6CZK5.js";import{a as c,c as d}from"./chunk.B2NUKX6G.js";import{a as g}from"./chunk.KLRPP4NQ.js";import{a as H}from"./chunk.IQPMMUES.js";import{a as o}from"./chunk.YFQFOIEM.js";import{a as f}from"./chunk.NYKJXI3Q.js";import{a as T,b as s,d as p,h as w}from"./chunk.ILPSW4EJ.js";import{b as v,e as u}from"./chunk.763RLJEK.js";import{b as n,e as l,f as b}from"./chunk.W4QBFD6E.js";import{e}from"./chunk.6EV4YU6C.js";var m={"top-right":null,"bottom-center":null},$=()=>{Object.entries(m).forEach(([a])=>{let h=document.querySelector(`#sd-toast-stack--${a}`);if(h){h.setAttribute("role","region"),m[a]=h;return}m[a]=Object.assign(document.createElement("div"),{role:"region",id:`sd-toast-stack--${a}`,className:`sd-toast-stack sd-toast-stack--${a}`})})};$();var t=class extends w{constructor(){super(...arguments);this.localize=new H(this);this.variant="info";this.open=!1;this.closable=!1;this.duration=1/0;this.durationIndicator=!1;this.toastStack="top-right";this.remainingDuration=this.duration;this.startTime=Date.now()}get stack(){return m[this.toastStack]}connectedCallback(){super.connectedCallback(),this.stack.parentElement||(document.body.append(this.stack),this.stack.ariaLabel=this.localize.term("notifications"))}disconnectedCallback(){super.disconnectedCallback()}firstUpdated(){this.wrapper.hidden=!this.open}startAutoHide(){clearTimeout(this.autoHideTimeout),this.startTime=Date.now(),this.remainingDuration=this.duration,this.open&&this.duration<1/0&&(this.autoHideTimeout=window.setTimeout(()=>this.hide(),this.duration))}onHover(){clearTimeout(this.autoHideTimeout),this.duration<1/0&&(this.remainingDuration-=Date.now()-this.startTime)}onHoverEnd(){this.startTime=Date.now(),clearTimeout(this.autoHideTimeout),this.open&&this.duration<1/0&&(this.autoHideTimeout=window.setTimeout(()=>{this.hide()},this.remainingDuration))}handleCloseClick(){this.hide()}handleKeyDown(i){this.closable&&i.key==="Escape"&&this.hide()}async handleOpenChange(){if(this.open){this.emit("sd-show"),this.duration<1/0&&this.startAutoHide(),await Promise.all([l(this.base),l(this.wrapper)]),this.wrapper.hidden=!1;let i=d(this,"notification.show",{dir:this.localize.dir()}),r=d(this,`notification.wrapper.show${y(k(this.toastStack))}`,{dir:this.localize.dir()});await Promise.all([n(this.base,b(i.keyframes,this.base.scrollHeight),i.options),n(this.wrapper,r.keyframes,r.options)]),this.emit("sd-after-show")}else{this.emit("sd-hide"),clearTimeout(this.autoHideTimeout),await Promise.all([l(this.base),l(this.wrapper)]);let i=d(this,"notification.hide",{dir:this.localize.dir()}),r=d(this,`notification.wrapper.hide${y(k(this.toastStack))}`,{dir:this.localize.dir()});await Promise.all([n(this.base,b(i.keyframes,this.base.scrollHeight),i.options),n(this.wrapper,r.keyframes,r.options)]),this.wrapper.hidden=!0,this.emit("sd-after-hide")}}handleDurationChange(){this.startAutoHide()}async show(){if(!this.open)return this.open=!0,g(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,g(this,"sd-after-hide")}async toast(){return new Promise(i=>{this.stack.parentElement===null&&document.body.append(this.stack),this.stack.appendChild(this),requestAnimationFrame(()=>{this.clientWidth,this.show()}),this.addEventListener("sd-after-hide",()=>{this.stack.removeChild(this),i()},{once:!0})})}render(){return u`<div part="base" class="${o("w-full flex items-stretch m-2 focus-visible:focus-outline")}" id="notification" tabindex="0" role="alert" aria-labelledby="message" aria-hidden="${this.open?"false":"true"}" @mouseenter="${this.onHover}" @mouseleave="${this.onHoverEnd}" @keydown="${this.handleKeyDown}"><div part="wrapper" class="${o("w-full h-fit overflow-hidden flex items-stretch relative")}"><slot name="icon" part="icon" class="${o("min-w-min flex items-center px-3 justify-center",{info:"bg-info",success:"bg-success",warning:"bg-warning",error:"bg-error"}[this.variant])}"><sd-icon name="${{info:"info-circle",success:"confirm-circle",warning:"exclamation-circle",error:"warning"}[this.variant]||""}" library="_internal" class="h-6 w-6 text-white"></sd-icon></slot><div part="content" class="${o("h-full w-full p-1 gap-2 flex items-center justify-stretch bg-white","border-solid border-[1px] border-l-0 sd-notification-color-border",{info:"sd-notification--info-color-background",success:"sd-notification--success-color-background",warning:"sd-notification--warning-color-background",error:"sd-notification--error-color-background"}[this.variant])}"><slot id="message" part="message" class="block w-full pl-3 py-2"></slot>${this.closable?u`<sd-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" @click="${this.handleCloseClick}"><sd-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-icon></sd-button>`:""}</div>${this.durationIndicator?u`<div part="duration-indicator__elapsed" id="duration-indicator__elapsed" style="${`animation-duration: ${this.duration}ms`}" class="${o("absolute w-0 h-[2px] bottom-0 bg-primary z-10 animate-grow")}"></div><div part="duration-indicator__total" class="w-full h-[2px] bottom-0 absolute border sd-notification-color-border"></div>`:""}</div></div>`}};t.styles=[...w.styles,v`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{display:contents}#notification:hover #duration-indicator__elapsed{animation-play-state:paused!important}`],e([p('[part~="base"]')],t.prototype,"base",2),e([p('[part~="wrapper"]')],t.prototype,"wrapper",2),e([p('[part~="close-button"]')],t.prototype,"close",2),e([s({type:String,reflect:!0})],t.prototype,"variant",2),e([s({type:Boolean,reflect:!0})],t.prototype,"open",2),e([s({type:Boolean,reflect:!0})],t.prototype,"closable",2),e([s({type:Number,reflect:!0})],t.prototype,"duration",2),e([s({type:Boolean,reflect:!0,attribute:"duration-indicator"})],t.prototype,"durationIndicator",2),e([s({type:String,reflect:!0,attribute:"toast-stack"})],t.prototype,"toastStack",2),e([f("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),e([f("duration")],t.prototype,"handleDurationChange",1),t=e([T("sd-notification")],t);c("notification.show",{keyframes:[{opacity:0,height:0},{opacity:1,height:"auto"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});c("notification.hide",{keyframes:[{opacity:1,height:"auto"},{opacity:0,height:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});c("notification.wrapper.showTopRight",{keyframes:[{bottom:"32px"},{bottom:"0"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});c("notification.wrapper.hideTopRight",{keyframes:[{bottom:"0"},{bottom:"32px"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as p}from"./chunk.CGQ2BPPZ.js";import{a}from"./chunk.YFQFOIEM.js";import{a as r}from"./chunk.NYKJXI3Q.js";import{a as d,b as o,h as n}from"./chunk.W36B3LKW.js";import{b as m,e as s}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends n{constructor(){super(...arguments);this.hasSlotController=new p(this,"label","help-text");this.size="lg";this.orientation="vertical";this.label="";this.helpText=""}getAllCheckboxes(){return[...this.querySelectorAll("sd-checkbox")]}async syncCheckboxElements(){let i=this.getAllCheckboxes();await Promise.all(i.map(async l=>{await l.updateComplete,l.size=this.size}))}syncCheckboxes(){customElements.get("sd-checkbox")?this.syncCheckboxElements():customElements.whenDefined("sd-checkbox").then(()=>this.syncCheckboxes())}handleSizeChange(){this.syncCheckboxes()}handleInvalid(){this.syncCheckboxes()}render(){let i=this.hasSlotController.test("label"),l=this.label?!0:i,b=this.hasSlotController.test("help-text"),c=this.helpText?!0:b,x=s`<slot @slotchange="${this.syncCheckboxes}"></slot>`,h=this.hasSlotController.test("tooltip");return s`<fieldset part="form-control" class="${a("border-0 p-0 m-0",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}" role="group" aria-labelledby="label">${l||h?s`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${a("p-0 font-bold leading-normal text-black",l?"flex":"hidden")}" aria-hidden="${l?"false":"true"}"><slot name="label">${this.label}</slot></label> ${h?s`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${a({vertical:"flex flex-col",horizontal:"flex flex-row"}[this.orientation])}">${x}</div></fieldset><slot name="help-text" part="form-control-help-text" id="help-text" class="${a("text-sm text-neutral-700 mt-2",c?"block":"hidden")}" aria-hidden="${!c}">${this.helpText}</slot>`}};t.styles=[...n.styles,m`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as p}from"./chunk.CGQ2BPPZ.js";import{a}from"./chunk.YFQFOIEM.js";import{a as r}from"./chunk.NYKJXI3Q.js";import{a as d,b as o,h as n}from"./chunk.ILPSW4EJ.js";import{b as m,e as s}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends n{constructor(){super(...arguments);this.hasSlotController=new p(this,"label","help-text");this.size="lg";this.orientation="vertical";this.label="";this.helpText=""}getAllCheckboxes(){return[...this.querySelectorAll("sd-checkbox")]}async syncCheckboxElements(){let i=this.getAllCheckboxes();await Promise.all(i.map(async l=>{await l.updateComplete,l.size=this.size}))}syncCheckboxes(){customElements.get("sd-checkbox")?this.syncCheckboxElements():customElements.whenDefined("sd-checkbox").then(()=>this.syncCheckboxes())}handleSizeChange(){this.syncCheckboxes()}handleInvalid(){this.syncCheckboxes()}render(){let i=this.hasSlotController.test("label"),l=this.label?!0:i,b=this.hasSlotController.test("help-text"),c=this.helpText?!0:b,x=s`<slot @slotchange="${this.syncCheckboxes}"></slot>`,h=this.hasSlotController.test("tooltip");return s`<fieldset part="form-control" class="${a("border-0 p-0 m-0",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}" role="group" aria-labelledby="label">${l||h?s`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${a("p-0 font-bold leading-normal text-black",l?"flex":"hidden")}" aria-hidden="${l?"false":"true"}"><slot name="label">${this.label}</slot></label> ${h?s`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${a({vertical:"flex flex-col",horizontal:"flex flex-row"}[this.orientation])}">${x}</div></fieldset><slot name="help-text" part="form-control-help-text" id="help-text" class="${a("text-sm text-neutral-700 mt-2",c?"block":"hidden")}" aria-hidden="${!c}">${this.helpText}</slot>`}};t.styles=[...n.styles,m`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{display:block}:host([orientation=vertical]) ::slotted(sd-checkbox){margin-bottom:var(--sd-spacing-2);display:flex}:host([orientation=vertical]) ::slotted(sd-checkbox:last-of-type){margin-bottom:calc(var(--sd-spacing-1) * 0)}:host([orientation=horizontal]) ::slotted(sd-checkbox){margin-right:var(--sd-spacing-6)}:host([orientation=horizontal]) ::slotted(sd-checkbox:last-of-type){margin-right:calc(var(--sd-spacing-1) * 0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-checkbox){margin-right:var(--sd-spacing-4)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-checkbox:last-of-type){margin-right:calc(var(--sd-spacing-1) * 0)}`],e([o({type:String,reflect:!0})],t.prototype,"size",2),e([o({type:String,reflect:!0})],t.prototype,"orientation",2),e([o({type:String,reflect:!0})],t.prototype,"label",2),e([o({type:String,attribute:"help-text",reflect:!0})],t.prototype,"helpText",2),e([r("size",{waitUntilFirstUpdate:!0})],t.prototype,"handleSizeChange",1),e([r("invalid",{waitUntilFirstUpdate:!0})],t.prototype,"handleInvalid",1),t=e([d("sd-checkbox-group")],t);export{t as a};
@@ -1,4 +1,4 @@
1
- import{a as C}from"./chunk.BJBQEPZV.js";import{a as k}from"./chunk.EOXYPQZI.js";import{a as T}from"./chunk.XF6Q3IDC.js";import{a as M}from"./chunk.CBQWVOOS.js";import{a as A}from"./chunk.IQPMMUES.js";import{a as n}from"./chunk.YFQFOIEM.js";import{a as v}from"./chunk.NYKJXI3Q.js";import{a as _,b as p,c as m,d as f,e as E,h as w}from"./chunk.W36B3LKW.js";import{b as P,e as b}from"./chunk.763RLJEK.js";import{d as $}from"./chunk.W4QBFD6E.js";import{e as o}from"./chunk.6EV4YU6C.js";function I(u,d,e){let i=t=>Object.is(t,-0)?0:t;return u<d?i(d):u>e?i(e):i(u)}function*L(u,d){if(u!==void 0){let e=0;for(let i of u)yield d(i,e++)}}function*B(u,d,e=1){let i=d===void 0?0:u;d!=null||(d=u);for(let t=i;e>0?t<d:d<t;t+=e)yield t}var r=class extends w{constructor(){super(...arguments);this.variant="number";this.inverted=!1;this.loop=!1;this.autoplay=!1;this.fade=!1;this.slidesPerPage=1;this.slidesPerMove=1;this.activeSlide=0;this.currentPage=1;this.pausedAutoplay=!1;this.autoplayController=new M(this,()=>this.next());this.scrollController=new k(this);this.slides=this.getElementsByTagName("sd-carousel-item");this.intersectionObserverEntries=new Map;this.localize=new A(this);this.userInteracted=!1;this.fadeController=new C(this);this.handleUserInteraction=()=>{this.userInteracted=!0};this.handleSlotChange=e=>{e.some(t=>[...t.addedNodes,...t.removedNodes].some(s=>T.isCarouselItem(s)&&!s.hasAttribute("data-clone")))&&this.initializeSlides(),this.requestUpdate()};this.unblockAutoplay=(e,i)=>{e.detail&&i.blur()}}connectedCallback(){super.connectedCallback(),["click","keydown"].forEach(i=>this.addEventListener(i,this.handleUserInteraction));let e=new IntersectionObserver(i=>{i.forEach(t=>{this.intersectionObserverEntries.set(t.target,t);let s=t.target;s.toggleAttribute("inert",!t.isIntersecting),s.classList.toggle("--in-view",t.isIntersecting),s.setAttribute("aria-hidden",t.isIntersecting?"false":"true")})},{root:this,threshold:.6});this.intersectionObserver=e,e.takeRecords().forEach(i=>{this.intersectionObserverEntries.set(i.target,i)})}disconnectedCallback(){super.disconnectedCallback(),this.intersectionObserver.disconnect(),this.mutationObserver.disconnect(),["click","keydown"].forEach(e=>this.removeEventListener(e,this.handleUserInteraction)),this.fade&&this.fadeController.disable()}async firstUpdated(){if((()=>{let i=this.getSlides({excludeClones:!1});return i.length>0&&i[0].getBoundingClientRect().width>0})())this.initializeSlides();else{let i=new IntersectionObserver(t=>{t.forEach(s=>{s.isIntersecting&&s.target.getBoundingClientRect().width>0&&(this.initializeSlides(),i.disconnect())})});i.observe(this)}this.mutationObserver=new MutationObserver(this.handleSlotChange),this.mutationObserver.observe(this,{childList:!0,subtree:!1}),this.fade&&(await this.updateComplete,this.fadeController.enable())}getPageCount(e,i,t){return Math.ceil((e-i)/t)+1>0?Math.ceil((e-i)/t)+1:1}getCurrentPage(e,i,t,s){return Math.ceil((e-t)/s)-Math.ceil((e-t-i)/s)+1}getSlides({excludeClones:e=!0}={}){return[...this.slides].filter(i=>!e||!i.hasAttribute("data-clone"))}handleKeyDown(e){if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(e.key)){let i=e.target,t=this.localize.dir()==="rtl",s=i.closest('[part~="pagination-item"]')!==null,l=e.key==="ArrowDown"||!t&&e.key==="ArrowRight"||t&&e.key==="ArrowLeft",h=e.key==="ArrowUp"||!t&&e.key==="ArrowLeft"||t&&e.key==="ArrowRight";e.preventDefault(),h&&this.previous(),l&&this.next(),e.key==="Home"&&this.goToSlide(0),e.key==="End"&&this.goToSlide(this.getSlides().length-1),s&&this.updateComplete.then(()=>{var a;let c=(a=this.shadowRoot)==null?void 0:a.querySelector('[part~="pagination-item--active"]');c&&c.focus()})}}handleScrollEnd(){if(this.fade)return;let e=this.getSlides(),t=[...this.intersectionObserverEntries.values()].find(s=>s.isIntersecting);if(this.loop&&(t!=null&&t.target.hasAttribute("data-clone"))){let s=Number(t.target.getAttribute("data-clone"));this.goToSlide(s,"auto");return}t&&(this.activeSlide=e.indexOf(t.target))}handleFocus(){this.autoplay&&this.scrollContainer.setAttribute("aria-live","polite")}handleBlur(){this.autoplay&&this.scrollContainer.setAttribute("aria-live","off")}pause(){this.pausedAutoplay=!0}resume(){this.pausedAutoplay=!1}handlePausedAutoplay(){var e,i;this.pausedAutoplay?(this.autoplayController.stop(),(e=this.autoplayControls)==null||e.setAttribute("aria-pressed","false")):this.autoplay&&(this.autoplayController.start(3e3),(i=this.autoplayControls)==null||i.setAttribute("aria-pressed","true"))}handleFadeChange(){this.fade?this.fadeController.enable():this.fadeController.disable()}initializeSlides(){let e=this.getSlides(),i=this.intersectionObserver;if(this.intersectionObserverEntries.clear(),this.getSlides({excludeClones:!1}).forEach((t,s)=>{i.unobserve(t),t.classList.remove("--in-view"),t.classList.remove("--is-active"),t.setAttribute("aria-label",this.localize.term("slideNum",s+1,e.length)),t.hasAttribute("data-clone")&&t.remove()}),this.loop&&!this.fade){let t=this.slidesPerPage,s=e.slice(-t),l=e.slice(0,t);s.reverse().forEach((h,c)=>{let a=h.cloneNode(!0);a.setAttribute("data-clone",String(e.length-c-1)),this.prepend(a)}),l.forEach((h,c)=>{let a=h.cloneNode(!0);a.setAttribute("data-clone",String(c)),this.append(a)})}this.getSlides({excludeClones:!1}).forEach(t=>{i.observe(t)}),this.fade&&this.updateComplete.then(()=>{this.fadeController.enable()}),this.fade||this.goToSlide(this.activeSlide,"auto")}handleSlideChange(){let e=this.getSlides();e.forEach((s,l)=>{s.classList.toggle("--is-active",l===this.activeSlide)}),this.fade&&this.fadeController.updateActiveSlide(this.activeSlide);let i=this.getCurrentPage(e.length,this.activeSlide,this.slidesPerPage,this.slidesPerMove);this.currentPage!==i&&(this.currentPage=i),this.hasUpdated&&this.emit("sd-slide-change",{detail:{index:this.activeSlide,slide:e[this.activeSlide]}});let t=this.getPageCount(e.length,this.slidesPerPage,this.slidesPerMove);this.currentPage>t&&requestAnimationFrame(()=>{this.nextTillFirst()})}handleSlidesPerMoveChange(){if(this.fade)return;let e=this.getSlides({excludeClones:!1}),i=this.slidesPerMove;e.forEach((t,s)=>{Math.abs(s-i)%i===0?t.style.removeProperty("scroll-snap-align"):t.style.setProperty("scroll-snap-align","none")})}handleAutoplayChange(){this.autoplayController.stop(),this.autoplay&&!this.pausedAutoplay&&this.autoplayController.start(3e3)}previous(e="smooth"){if(this.fade){let s=this.loop?(this.activeSlide-1+this.getSlides().length)%this.getSlides().length:Math.max(0,this.activeSlide-1);this.goToSlide(s);return}let i=this.activeSlide||this.activeSlide-this.slidesPerMove,t=!1;for(;!t&&i>0;)i-=1,t=Math.abs(i-this.slidesPerMove)%this.slidesPerMove===0;this.currentPage-1===0&&this.loop?this.goToSlide(this.activeSlide-this.slidesPerPage,e):this.goToSlide(i,e)}next(e="smooth"){if(this.fade){let i=this.loop?(this.activeSlide+1)%this.getSlides().length:Math.min(this.getSlides().length-1,this.activeSlide+1);this.goToSlide(i);return}this.currentPage+1<=this.getPageCount(this.getSlides().length,this.slidesPerPage,this.slidesPerMove)?this.goToSlide(this.activeSlide+this.slidesPerMove,e):this.loop&&this.nextTillFirst(e)}nextTillFirst(e="smooth"){if(this.fade){this.goToSlide(0);return}for(;this.activeSlide!==0;)this.goToSlide(this.activeSlide+1,e);this.currentPage=this.getCurrentPage(this.getSlides().length,this.activeSlide,this.slidesPerPage,this.slidesPerMove)}goToSlide(e,i="smooth"){let{slidesPerPage:t,loop:s,scrollContainer:l,fade:h}=this,c=this.getSlides(),a=this.getSlides({excludeClones:!1}),g=(e+c.length)%c.length;if(this.activeSlide=g,h)return;let y=I(e+(s?t:0),0,a.length+1),O=a[y],S=l.getBoundingClientRect(),x=O.getBoundingClientRect();if(l.scrollTo({left:x.left-S.left+l.scrollLeft,top:x.top-S.top+l.scrollTop,behavior:$()?"auto":i}),this.userInteracted&&!this.loop){let z=this.activeSlide===c.length-1||this.activeSlide===this.slides.length-this.slidesPerPage,H=this.activeSlide===0;z?this.previousButton.focus({preventScroll:!0}):H&&this.nextButton.focus({preventScroll:!0})}}render(){let{scrollController:e,slidesPerMove:i}=this,t=this.getPageCount(this.getSlides().length,this.slidesPerPage,this.slidesPerMove),s=this.getCurrentPage(this.getSlides().length,this.activeSlide,this.slidesPerPage,this.slidesPerMove),l=this.loop||s>1,h=this.loop||s<t,c=this.localize.dir()==="ltr";return b`<div part="base" class="${n("carousel h-full w-full")}"><div id="scroll-container" part="scroll-container" class="${n("carousel__slides mb-6 max-h-full w-full items-center justify-items-center",this.inverted?"focus-visible:focus-outline-inverted":"focus-visible:focus-outline",this.fade?"relative overflow-hidden":"grid overflow-auto overscroll-x-contain grid-flow-col auto-rows-[100%] snap-x snap-mandatory overflow-y-hidden")}" style="--slides-per-page:${this.slidesPerPage}" aria-busy="${e.scrolling?"true":"false"}" aria-label="${this.localize.term("carouselContainer",Array.from(this.slides).filter(a=>!a.hasAttribute("data-clone")).length)}" aria-live="${this.autoplay?"off":"polite"}" tabindex="0" @keydown="${this.handleKeyDown}" @scrollend="${this.handleScrollEnd}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"><slot></slot></div><div part="controls" class="${n("w-full flex items-center justify-center relative")}"><div part="navigation" class="${n("carousel__navigation flex items-center justify-center")}"><button part="navigation-button navigation-button--previous" id="carousel__navigation-button--previous" ?disabled="${!l}" class="${n("!mr-6 !rounded-sm sd-interactive transition-colors duration-fast ease-in-out",!l&&"sd-interactive--disabled",this.inverted?"sd-interactive--inverted":"sd-interactive--reset")}" aria-label="${this.localize.term("previousSlide")}" aria-controls="scroll-container" aria-disabled="${l?"false":"true"}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" @click="${l?a=>{this.previous(),this.unblockAutoplay(a,this.previousButton)}:null}"><slot name="previous-icon"><sd-icon class="${n("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${c?"chevron-down":"chevron-up"}"></sd-icon></slot></button> ${this.variant==="dot"?b`<div part="pagination-dot" role="tablist" class="${n("carousel__pagination dot flex wrap items-center gap-2")}" aria-controls="scroll-container">${L(B(t),a=>{let g=a+1===s;return b`<button part="pagination-item ${g?"pagination-item--active":""}" class="${n("carousel__pagination-item","block cursor-pointer bg-none border-0 rounded-full",g?"bg-accent":"",this.inverted?"focus-within:focus-outline-inverted":"focus-within:focus-outline")}" role="tab" tabindex="0" aria-selected="${g?"true":"false"}" aria-label="${this.localize.term("goToSlide",a+1,t)}" @click="${y=>{this.goToSlide(a*i),this.unblockAutoplay(y,this.paginationItems[a])}}" @keydown="${this.handleKeyDown}"><span class="${n("h-4 w-4 block border sd-carousel__pager-dot-border-width rounded-full transition-colors duration-slow hover:duration-fast ease-in-out",this.inverted?"sd-carousel__pager-dot--inverted-border hover:border-primary-200":"border-primary hover:border-primary-500",g&&"border-none",g?this.inverted?"sd-carousel__pager-dot--inverted-background hover:sd-carousel__pager-dot--inverted--hovered-background":"sd-carousel__pager-dot-background hover:bg-accent-550":"")}"></span></button>`})}</div>`:b`<span part="pagination-number" class="carousel__pagination number flex gap-0.5 cursor-default select-none" aria-controls="scroll-container"><span part="pagination-item" class="${n("w-5 text-center border-b-2",this.inverted?"text-white sd-carousel--active--inverted-color-border":"text-black sd-carousel--active-color-border")}">${s}</span> <span part="pagination-divider" class="${n("scale-y-[1.5]","text-center",this.inverted?"text-white":"text-black")}">/</span> <span part="pagination-item" class="${n("w-5 text-center",this.inverted?"text-white":"text-black")}">${t}</span></span>`} <button part="navigation-button navigation-button--next" id="carousel__navigation-button--next" ?disabled="${!h}" class="${n("!ml-6 !rounded-sm sd-interactive transition-colors duration-fast ease-in-out",!h&&"sd-interactive--disabled",this.inverted?"sd-interactive--inverted":"sd-interactive--reset")}" aria-label="${this.localize.term("nextSlide")}" aria-controls="scroll-container" aria-disabled="${h?"false":"true"}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" @click="${h?a=>{this.next(),this.unblockAutoplay(a,this.nextButton)}:null}"><slot name="next-icon"><sd-icon class="${n("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${c?"chevron-up":"chevron-down"}"></sd-icon></slot></button></div><button class="${n("ml-6 !rounded-sm","!absolute !right-0 sd-interactive",this.inverted?"sd-interactive--inverted":"sd-interactive--reset",!this.autoplay&&"!hidden")}" part="autoplay-controls" aria-label="${this.localize.term("autoplay")}" aria-pressed="true" @click="${a=>{this.pausedAutoplay=!this.pausedAutoplay,a.detail&&this.autoplayControls.blur()}}"><slot name="autoplay-start" class="${n(this.pausedAutoplay?"":"hidden")}"><sd-icon class="h-6 w-6 grid place-items-center" library="_internal" name="start"></sd-icon></slot><slot name="autoplay-pause" class="${n(this.pausedAutoplay?"hidden":"")}"><sd-icon class="h-6 w-6 grid place-items-center" library="_internal" name="pause"></sd-icon></slot></button></div></div>`}};r.styles=[...w.styles,P`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as C}from"./chunk.BJBQEPZV.js";import{a as k}from"./chunk.EOXYPQZI.js";import{a as T}from"./chunk.FYBCQ2FB.js";import{a as M}from"./chunk.CBQWVOOS.js";import{a as A}from"./chunk.IQPMMUES.js";import{a as n}from"./chunk.YFQFOIEM.js";import{a as v}from"./chunk.NYKJXI3Q.js";import{a as _,b as p,c as m,d as f,e as E,h as w}from"./chunk.ILPSW4EJ.js";import{b as P,e as b}from"./chunk.763RLJEK.js";import{d as $}from"./chunk.W4QBFD6E.js";import{e as o}from"./chunk.6EV4YU6C.js";function I(u,d,e){let i=t=>Object.is(t,-0)?0:t;return u<d?i(d):u>e?i(e):i(u)}function*L(u,d){if(u!==void 0){let e=0;for(let i of u)yield d(i,e++)}}function*B(u,d,e=1){let i=d===void 0?0:u;d!=null||(d=u);for(let t=i;e>0?t<d:d<t;t+=e)yield t}var r=class extends w{constructor(){super(...arguments);this.variant="number";this.inverted=!1;this.loop=!1;this.autoplay=!1;this.fade=!1;this.slidesPerPage=1;this.slidesPerMove=1;this.activeSlide=0;this.currentPage=1;this.pausedAutoplay=!1;this.autoplayController=new M(this,()=>this.next());this.scrollController=new k(this);this.slides=this.getElementsByTagName("sd-carousel-item");this.intersectionObserverEntries=new Map;this.localize=new A(this);this.userInteracted=!1;this.fadeController=new C(this);this.handleUserInteraction=()=>{this.userInteracted=!0};this.handleSlotChange=e=>{e.some(t=>[...t.addedNodes,...t.removedNodes].some(s=>T.isCarouselItem(s)&&!s.hasAttribute("data-clone")))&&this.initializeSlides(),this.requestUpdate()};this.unblockAutoplay=(e,i)=>{e.detail&&i.blur()}}connectedCallback(){super.connectedCallback(),["click","keydown"].forEach(i=>this.addEventListener(i,this.handleUserInteraction));let e=new IntersectionObserver(i=>{i.forEach(t=>{this.intersectionObserverEntries.set(t.target,t);let s=t.target;s.toggleAttribute("inert",!t.isIntersecting),s.classList.toggle("--in-view",t.isIntersecting),s.setAttribute("aria-hidden",t.isIntersecting?"false":"true")})},{root:this,threshold:.6});this.intersectionObserver=e,e.takeRecords().forEach(i=>{this.intersectionObserverEntries.set(i.target,i)})}disconnectedCallback(){super.disconnectedCallback(),this.intersectionObserver.disconnect(),this.mutationObserver.disconnect(),["click","keydown"].forEach(e=>this.removeEventListener(e,this.handleUserInteraction)),this.fade&&this.fadeController.disable()}async firstUpdated(){if((()=>{let i=this.getSlides({excludeClones:!1});return i.length>0&&i[0].getBoundingClientRect().width>0})())this.initializeSlides();else{let i=new IntersectionObserver(t=>{t.forEach(s=>{s.isIntersecting&&s.target.getBoundingClientRect().width>0&&(this.initializeSlides(),i.disconnect())})});i.observe(this)}this.mutationObserver=new MutationObserver(this.handleSlotChange),this.mutationObserver.observe(this,{childList:!0,subtree:!1}),this.fade&&(await this.updateComplete,this.fadeController.enable())}getPageCount(e,i,t){return Math.ceil((e-i)/t)+1>0?Math.ceil((e-i)/t)+1:1}getCurrentPage(e,i,t,s){return Math.ceil((e-t)/s)-Math.ceil((e-t-i)/s)+1}getSlides({excludeClones:e=!0}={}){return[...this.slides].filter(i=>!e||!i.hasAttribute("data-clone"))}handleKeyDown(e){if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(e.key)){let i=e.target,t=this.localize.dir()==="rtl",s=i.closest('[part~="pagination-item"]')!==null,l=e.key==="ArrowDown"||!t&&e.key==="ArrowRight"||t&&e.key==="ArrowLeft",h=e.key==="ArrowUp"||!t&&e.key==="ArrowLeft"||t&&e.key==="ArrowRight";e.preventDefault(),h&&this.previous(),l&&this.next(),e.key==="Home"&&this.goToSlide(0),e.key==="End"&&this.goToSlide(this.getSlides().length-1),s&&this.updateComplete.then(()=>{var a;let c=(a=this.shadowRoot)==null?void 0:a.querySelector('[part~="pagination-item--active"]');c&&c.focus()})}}handleScrollEnd(){if(this.fade)return;let e=this.getSlides(),t=[...this.intersectionObserverEntries.values()].find(s=>s.isIntersecting);if(this.loop&&(t!=null&&t.target.hasAttribute("data-clone"))){let s=Number(t.target.getAttribute("data-clone"));this.goToSlide(s,"auto");return}t&&(this.activeSlide=e.indexOf(t.target))}handleFocus(){this.autoplay&&this.scrollContainer.setAttribute("aria-live","polite")}handleBlur(){this.autoplay&&this.scrollContainer.setAttribute("aria-live","off")}pause(){this.pausedAutoplay=!0}resume(){this.pausedAutoplay=!1}handlePausedAutoplay(){var e,i;this.pausedAutoplay?(this.autoplayController.stop(),(e=this.autoplayControls)==null||e.setAttribute("aria-pressed","false")):this.autoplay&&(this.autoplayController.start(3e3),(i=this.autoplayControls)==null||i.setAttribute("aria-pressed","true"))}handleFadeChange(){this.fade?this.fadeController.enable():this.fadeController.disable()}initializeSlides(){let e=this.getSlides(),i=this.intersectionObserver;if(this.intersectionObserverEntries.clear(),this.getSlides({excludeClones:!1}).forEach((t,s)=>{i.unobserve(t),t.classList.remove("--in-view"),t.classList.remove("--is-active"),t.setAttribute("aria-label",this.localize.term("slideNum",s+1,e.length)),t.hasAttribute("data-clone")&&t.remove()}),this.loop&&!this.fade){let t=this.slidesPerPage,s=e.slice(-t),l=e.slice(0,t);s.reverse().forEach((h,c)=>{let a=h.cloneNode(!0);a.setAttribute("data-clone",String(e.length-c-1)),this.prepend(a)}),l.forEach((h,c)=>{let a=h.cloneNode(!0);a.setAttribute("data-clone",String(c)),this.append(a)})}this.getSlides({excludeClones:!1}).forEach(t=>{i.observe(t)}),this.fade&&this.updateComplete.then(()=>{this.fadeController.enable()}),this.fade||this.goToSlide(this.activeSlide,"auto")}handleSlideChange(){let e=this.getSlides();e.forEach((s,l)=>{s.classList.toggle("--is-active",l===this.activeSlide)}),this.fade&&this.fadeController.updateActiveSlide(this.activeSlide);let i=this.getCurrentPage(e.length,this.activeSlide,this.slidesPerPage,this.slidesPerMove);this.currentPage!==i&&(this.currentPage=i),this.hasUpdated&&this.emit("sd-slide-change",{detail:{index:this.activeSlide,slide:e[this.activeSlide]}});let t=this.getPageCount(e.length,this.slidesPerPage,this.slidesPerMove);this.currentPage>t&&requestAnimationFrame(()=>{this.nextTillFirst()})}handleSlidesPerMoveChange(){if(this.fade)return;let e=this.getSlides({excludeClones:!1}),i=this.slidesPerMove;e.forEach((t,s)=>{Math.abs(s-i)%i===0?t.style.removeProperty("scroll-snap-align"):t.style.setProperty("scroll-snap-align","none")})}handleAutoplayChange(){this.autoplayController.stop(),this.autoplay&&!this.pausedAutoplay&&this.autoplayController.start(3e3)}previous(e="smooth"){if(this.fade){let s=this.loop?(this.activeSlide-1+this.getSlides().length)%this.getSlides().length:Math.max(0,this.activeSlide-1);this.goToSlide(s);return}let i=this.activeSlide||this.activeSlide-this.slidesPerMove,t=!1;for(;!t&&i>0;)i-=1,t=Math.abs(i-this.slidesPerMove)%this.slidesPerMove===0;this.currentPage-1===0&&this.loop?this.goToSlide(this.activeSlide-this.slidesPerPage,e):this.goToSlide(i,e)}next(e="smooth"){if(this.fade){let i=this.loop?(this.activeSlide+1)%this.getSlides().length:Math.min(this.getSlides().length-1,this.activeSlide+1);this.goToSlide(i);return}this.currentPage+1<=this.getPageCount(this.getSlides().length,this.slidesPerPage,this.slidesPerMove)?this.goToSlide(this.activeSlide+this.slidesPerMove,e):this.loop&&this.nextTillFirst(e)}nextTillFirst(e="smooth"){if(this.fade){this.goToSlide(0);return}for(;this.activeSlide!==0;)this.goToSlide(this.activeSlide+1,e);this.currentPage=this.getCurrentPage(this.getSlides().length,this.activeSlide,this.slidesPerPage,this.slidesPerMove)}goToSlide(e,i="smooth"){let{slidesPerPage:t,loop:s,scrollContainer:l,fade:h}=this,c=this.getSlides(),a=this.getSlides({excludeClones:!1}),g=(e+c.length)%c.length;if(this.activeSlide=g,h)return;let y=I(e+(s?t:0),0,a.length+1),O=a[y],S=l.getBoundingClientRect(),x=O.getBoundingClientRect();if(l.scrollTo({left:x.left-S.left+l.scrollLeft,top:x.top-S.top+l.scrollTop,behavior:$()?"auto":i}),this.userInteracted&&!this.loop){let z=this.activeSlide===c.length-1||this.activeSlide===this.slides.length-this.slidesPerPage,H=this.activeSlide===0;z?this.previousButton.focus({preventScroll:!0}):H&&this.nextButton.focus({preventScroll:!0})}}render(){let{scrollController:e,slidesPerMove:i}=this,t=this.getPageCount(this.getSlides().length,this.slidesPerPage,this.slidesPerMove),s=this.getCurrentPage(this.getSlides().length,this.activeSlide,this.slidesPerPage,this.slidesPerMove),l=this.loop||s>1,h=this.loop||s<t,c=this.localize.dir()==="ltr";return b`<div part="base" class="${n("carousel h-full w-full")}"><div id="scroll-container" part="scroll-container" class="${n("carousel__slides mb-6 max-h-full w-full items-center justify-items-center",this.inverted?"focus-visible:focus-outline-inverted":"focus-visible:focus-outline",this.fade?"relative overflow-hidden":"grid overflow-auto overscroll-x-contain grid-flow-col auto-rows-[100%] snap-x snap-mandatory overflow-y-hidden")}" style="--slides-per-page:${this.slidesPerPage}" aria-busy="${e.scrolling?"true":"false"}" aria-label="${this.localize.term("carouselContainer",Array.from(this.slides).filter(a=>!a.hasAttribute("data-clone")).length)}" aria-live="${this.autoplay?"off":"polite"}" tabindex="0" @keydown="${this.handleKeyDown}" @scrollend="${this.handleScrollEnd}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"><slot></slot></div><div part="controls" class="${n("w-full flex items-center justify-center relative")}"><div part="navigation" class="${n("carousel__navigation flex items-center justify-center")}"><button part="navigation-button navigation-button--previous" id="carousel__navigation-button--previous" ?disabled="${!l}" class="${n("!mr-6 !rounded-sm sd-interactive transition-colors duration-fast ease-in-out",!l&&"sd-interactive--disabled",this.inverted?"sd-interactive--inverted":"sd-interactive--reset")}" aria-label="${this.localize.term("previousSlide")}" aria-controls="scroll-container" aria-disabled="${l?"false":"true"}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" @click="${l?a=>{this.previous(),this.unblockAutoplay(a,this.previousButton)}:null}"><slot name="previous-icon"><sd-icon class="${n("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${c?"chevron-down":"chevron-up"}"></sd-icon></slot></button> ${this.variant==="dot"?b`<div part="pagination-dot" role="tablist" class="${n("carousel__pagination dot flex wrap items-center gap-2")}" aria-controls="scroll-container">${L(B(t),a=>{let g=a+1===s;return b`<button part="pagination-item ${g?"pagination-item--active":""}" class="${n("carousel__pagination-item","block cursor-pointer bg-none border-0 rounded-full",g?"bg-accent":"",this.inverted?"focus-within:focus-outline-inverted":"focus-within:focus-outline")}" role="tab" tabindex="0" aria-selected="${g?"true":"false"}" aria-label="${this.localize.term("goToSlide",a+1,t)}" @click="${y=>{this.goToSlide(a*i),this.unblockAutoplay(y,this.paginationItems[a])}}" @keydown="${this.handleKeyDown}"><span class="${n("h-4 w-4 block border sd-carousel__pager-dot-border-width rounded-full transition-colors duration-slow hover:duration-fast ease-in-out",this.inverted?"sd-carousel__pager-dot--inverted-border hover:border-primary-200":"border-primary hover:border-primary-500",g&&"border-none",g?this.inverted?"sd-carousel__pager-dot--inverted-background hover:sd-carousel__pager-dot--inverted--hovered-background":"sd-carousel__pager-dot-background hover:bg-accent-550":"")}"></span></button>`})}</div>`:b`<span part="pagination-number" class="carousel__pagination number flex gap-0.5 cursor-default select-none" aria-controls="scroll-container"><span part="pagination-item" class="${n("w-5 text-center border-b-2",this.inverted?"text-white sd-carousel--active--inverted-color-border":"text-black sd-carousel--active-color-border")}">${s}</span> <span part="pagination-divider" class="${n("scale-y-[1.5]","text-center",this.inverted?"text-white":"text-black")}">/</span> <span part="pagination-item" class="${n("w-5 text-center",this.inverted?"text-white":"text-black")}">${t}</span></span>`} <button part="navigation-button navigation-button--next" id="carousel__navigation-button--next" ?disabled="${!h}" class="${n("!ml-6 !rounded-sm sd-interactive transition-colors duration-fast ease-in-out",!h&&"sd-interactive--disabled",this.inverted?"sd-interactive--inverted":"sd-interactive--reset")}" aria-label="${this.localize.term("nextSlide")}" aria-controls="scroll-container" aria-disabled="${h?"false":"true"}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" @click="${h?a=>{this.next(),this.unblockAutoplay(a,this.nextButton)}:null}"><slot name="next-icon"><sd-icon class="${n("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${c?"chevron-up":"chevron-down"}"></sd-icon></slot></button></div><button class="${n("ml-6 !rounded-sm","!absolute !right-0 sd-interactive",this.inverted?"sd-interactive--inverted":"sd-interactive--reset",!this.autoplay&&"!hidden")}" part="autoplay-controls" aria-label="${this.localize.term("autoplay")}" aria-pressed="true" @click="${a=>{this.pausedAutoplay=!this.pausedAutoplay,a.detail&&this.autoplayControls.blur()}}"><slot name="autoplay-start" class="${n(this.pausedAutoplay?"":"hidden")}"><sd-icon class="h-6 w-6 grid place-items-center" library="_internal" name="start"></sd-icon></slot><slot name="autoplay-pause" class="${n(this.pausedAutoplay?"hidden":"")}"><sd-icon class="h-6 w-6 grid place-items-center" library="_internal" name="pause"></sd-icon></slot></button></div></div>`}};r.styles=[...w.styles,P`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{--slide-gap:var(--sl-spacing-medium, 1rem);--scroll-hint:0px;display:flex}.carousel{grid-template-areas:'. slides .' '. pagination .'}.carousel__pagination{grid-area:pagination}.carousel__slides{grid-area:slides;scrollbar-width:none;--slide-size:calc((100% - (var(--slides-per-page) - 1) * var(--slide-gap)) / var(--slides-per-page));grid-auto-columns:var(--slide-size);-moz-column-gap:var(--slide-gap);column-gap:var(--slide-gap);scroll-padding-inline:var(--scroll-hint);padding-inline:var(--scroll-hint)}.carousel__slides::-webkit-scrollbar{display:none}:host([fade]){--carousel-height:auto}:host([fade]) .carousel__slides{position:relative;display:block;overflow:hidden;height:var(--carousel-height)}@media (prefers-reduced-motion){:where(.carousel__slides){scroll-behavior:auto}}.carousel__navigation{grid-area:navigation}sd-button::part(label){pointer-events:none;display:flex;flex:auto;align-items:center}#carousel__navigation-button--next,#carousel__navigation-button--previous{color:rgba(var(--sd-color-icon-fill-primary))}#carousel__navigation-button--next:disabled,#carousel__navigation-button--previous:disabled{color:rgba(var(--sd-color-icon-fill-neutral-500))}:host([inverted]) #carousel__navigation-button--next,:host([inverted]) #carousel__navigation-button--previous{color:rgba(var(--sd-color-icon-fill-white))}:host([inverted]) #carousel__navigation-button--next:disabled,:host([inverted]) #carousel__navigation-button--previous:disabled{color:rgba(var(--sd-color-icon-fill-neutral-600))}`],o([f('[part~="autoplay-controls"]')],r.prototype,"autoplayControls",2),o([f('[part~="navigation-button--previous"]')],r.prototype,"previousButton",2),o([f('[part~="navigation-button--next"]')],r.prototype,"nextButton",2),o([E('[part~="pagination-item"]')],r.prototype,"paginationItems",2),o([p({type:String,reflect:!0})],r.prototype,"variant",2),o([p({type:Boolean,reflect:!0})],r.prototype,"inverted",2),o([p({type:Boolean,reflect:!0})],r.prototype,"loop",2),o([p({type:Boolean,reflect:!0})],r.prototype,"autoplay",2),o([p({type:Boolean,reflect:!0})],r.prototype,"fade",2),o([p({type:Number,attribute:"slides-per-page",reflect:!0})],r.prototype,"slidesPerPage",2),o([p({type:Number,attribute:"slides-per-move",reflect:!0})],r.prototype,"slidesPerMove",2),o([f("slot:not([name])")],r.prototype,"defaultSlot",2),o([f(".carousel__slides")],r.prototype,"scrollContainer",2),o([f(".carousel__pagination")],r.prototype,"paginationContainer",2),o([m()],r.prototype,"activeSlide",2),o([m()],r.prototype,"currentPage",2),o([m()],r.prototype,"pausedAutoplay",2),o([v("pausedAutoplay")],r.prototype,"handlePausedAutoplay",1),o([v("fade",{waitUntilFirstUpdate:!0})],r.prototype,"handleFadeChange",1),o([v("loop",{waitUntilFirstUpdate:!0}),v("slidesPerPage",{waitUntilFirstUpdate:!0})],r.prototype,"initializeSlides",1),o([v("activeSlide")],r.prototype,"handleSlideChange",1),o([v("slidesPerMove")],r.prototype,"handleSlidesPerMoveChange",1),o([v("autoplay")],r.prototype,"handleAutoplayChange",1),r=o([_("sd-carousel")],r);export{r as a};
3
3
  /*! Bundled license information:
4
4
 
@@ -1,2 +1,2 @@
1
- import{a as c,h as e}from"./chunk.W36B3LKW.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;
1
+ import{a as c,h as e}from"./chunk.ILPSW4EJ.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
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-carousel-item")],t);export{t as a};