@solid-design-system/components 7.0.0-next.4 → 7.0.0-next.6

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 (665) hide show
  1. package/cdn/chunks/{chunk.ERFMBJMN.js → chunk.2G3IPD56.js} +1 -1
  2. package/cdn/chunks/{chunk.EBT6DGVX.js → chunk.3NQGT32X.js} +1 -1
  3. package/cdn/chunks/{chunk.4PSKBUCX.js → chunk.3TH3ZR3I.js} +1 -1
  4. package/cdn/chunks/{chunk.EPEWTJZQ.js → chunk.43BVYRG3.js} +1 -1
  5. package/cdn/chunks/{chunk.Q4DN4ZZH.js → chunk.4D6X7ON2.js} +1 -1
  6. package/cdn/chunks/{chunk.IMZUE643.js → chunk.4RJE4TI4.js} +1 -1
  7. package/cdn/chunks/chunk.4SDWX3GC.js +26 -0
  8. package/cdn/chunks/{chunk.L2VZ43LT.js → chunk.4UZPAOHT.js} +1 -1
  9. package/cdn/chunks/{chunk.ZBBIDDL4.js → chunk.4V7ZA4G4.js} +1 -1
  10. package/cdn/chunks/{chunk.4HLQKHWE.js → chunk.4VWHE6IJ.js} +1 -1
  11. package/cdn/chunks/{chunk.3CDC42NF.js → chunk.5GCVGJ23.js} +1 -1
  12. package/cdn/chunks/{chunk.GJHSZFXO.js → chunk.626XPPWD.js} +1 -1
  13. package/cdn/chunks/{chunk.KKHVITRN.js → chunk.64ZBR7T2.js} +1 -1
  14. package/cdn/chunks/{chunk.NWJ2RTKD.js → chunk.7HGJUXD2.js} +1 -1
  15. package/cdn/chunks/chunk.7X2WZGVP.js +4 -0
  16. package/cdn/chunks/{chunk.TAL4RLOZ.js → chunk.AFIMLGBS.js} +1 -1
  17. package/cdn/chunks/{chunk.DA4W66GE.js → chunk.B5TIWX7C.js} +1 -1
  18. package/cdn/chunks/{chunk.H2JUP5WV.js → chunk.C4BSOGLY.js} +1 -1
  19. package/cdn/chunks/{chunk.COC2WHFL.js → chunk.D6JILLMB.js} +1 -1
  20. package/cdn/chunks/{chunk.Q5U7YL6V.js → chunk.DK2NRNHC.js} +1 -1
  21. package/cdn/chunks/{chunk.JYXX5KO2.js → chunk.EDB7WM3C.js} +1 -1
  22. package/cdn/chunks/{chunk.5E46HGSI.js → chunk.EW3C6EAI.js} +1 -1
  23. package/cdn/chunks/{chunk.2LLEAKS7.js → chunk.GTAM35BO.js} +1 -1
  24. package/cdn/chunks/{chunk.ZVAHJYMW.js → chunk.H6DSYZZ5.js} +1 -1
  25. package/cdn/chunks/{chunk.GF6RVEQL.js → chunk.HPSXEVMH.js} +1 -1
  26. package/cdn/chunks/{chunk.HVCDQSC3.js → chunk.IHNJ7SE7.js} +1 -1
  27. package/cdn/chunks/{chunk.OMAUGN4E.js → chunk.INUOCLNI.js} +1 -1
  28. package/cdn/chunks/{chunk.DB2UPC2O.js → chunk.IPT2IS3C.js} +1 -1
  29. package/cdn/chunks/{chunk.3BXVPLMO.js → chunk.IUTTUDYG.js} +1 -1
  30. package/cdn/chunks/{chunk.HC6O362U.js → chunk.KFO7GTE5.js} +1 -1
  31. package/cdn/chunks/chunk.KGIRFMVB.js +2 -0
  32. package/cdn/chunks/{chunk.VUHJ4M6S.js → chunk.KIKLU2QF.js} +1 -1
  33. package/cdn/chunks/chunk.MCV2O2DW.js +2 -0
  34. package/cdn/chunks/{chunk.75JSUGHO.js → chunk.MMSVMSOT.js} +1 -1
  35. package/cdn/chunks/{chunk.MB3UFJE5.js → chunk.NIP2E7XF.js} +1 -1
  36. package/cdn/chunks/{chunk.X2AUH4EN.js → chunk.O45L6PM3.js} +1 -1
  37. package/cdn/chunks/chunk.OKNJ5BPS.js +1 -0
  38. package/cdn/chunks/{chunk.OUONZ36F.js → chunk.ONEC2JGA.js} +1 -1
  39. package/cdn/chunks/{chunk.K7MTUJHH.js → chunk.OR425KE3.js} +1 -1
  40. package/cdn/chunks/{chunk.HW534C56.js → chunk.PINAEP5F.js} +2 -2
  41. package/cdn/chunks/{chunk.MABD6SUM.js → chunk.Q235YK2W.js} +1 -1
  42. package/cdn/chunks/{chunk.O6U6Z7JR.js → chunk.Q7MQTMXO.js} +1 -1
  43. package/cdn/chunks/{chunk.XZZSPH7T.js → chunk.RHWN47DZ.js} +1 -1
  44. package/cdn/chunks/{chunk.MHZYUAHF.js → chunk.SDWSZX52.js} +1 -1
  45. package/cdn/chunks/{chunk.ECBXCHAK.js → chunk.SPIJDZMD.js} +1 -1
  46. package/cdn/chunks/{chunk.QJL42ICJ.js → chunk.SS7M4TZ3.js} +1 -1
  47. package/cdn/chunks/{chunk.JRELKQHZ.js → chunk.SXCJQBLJ.js} +1 -1
  48. package/cdn/chunks/{chunk.LHVND665.js → chunk.TEZ5ERKR.js} +1 -1
  49. package/cdn/chunks/{chunk.GTBO3C34.js → chunk.TQIQNEOY.js} +1 -1
  50. package/cdn/chunks/{chunk.2GJ2Z2N2.js → chunk.UQD7EJTJ.js} +1 -1
  51. package/cdn/chunks/{chunk.5QVISDJV.js → chunk.V65AWGU4.js} +1 -1
  52. package/cdn/chunks/{chunk.VRTYFVS4.js → chunk.VGGACO4K.js} +1 -1
  53. package/cdn/chunks/{chunk.O4TGO7RR.js → chunk.VUEVAYFK.js} +1 -1
  54. package/cdn/chunks/{chunk.AMZ5U6GY.js → chunk.WUMIGCKG.js} +1 -1
  55. package/cdn/chunks/{chunk.QZGNVLZ6.js → chunk.X66Q6CFQ.js} +1 -1
  56. package/cdn/chunks/{chunk.EH5DX5Q4.js → chunk.XYOC42VA.js} +1 -1
  57. package/cdn/chunks/{chunk.2P3QV4AS.js → chunk.Y22AL5IU.js} +1 -1
  58. package/cdn/chunks/{chunk.AIM3ZGQG.js → chunk.YQHNJLIR.js} +1 -1
  59. package/cdn/chunks/{chunk.ELN6PO6N.js → chunk.Z4LHGWSU.js} +1 -1
  60. package/cdn/chunks/{chunk.6VDTKIPC.js → chunk.ZDVA3JMZ.js} +1 -1
  61. package/cdn/chunks/{chunk.XZ5G5ZXS.js → chunk.ZHYZWUO3.js} +1 -1
  62. package/cdn/components/accordion/accordion.js +1 -1
  63. package/cdn/components/accordion-group/accordion-group.js +1 -1
  64. package/cdn/components/animation/animation.js +1 -1
  65. package/cdn/components/audio/audio.js +1 -1
  66. package/cdn/components/badge/badge.js +1 -1
  67. package/cdn/components/brandshape/brandshape.js +1 -1
  68. package/cdn/components/breadcrumb/breadcrumb.js +1 -1
  69. package/cdn/components/breadcrumb-item/breadcrumb-item.js +1 -1
  70. package/cdn/components/button/button.js +1 -1
  71. package/cdn/components/button-group/button-group.js +1 -1
  72. package/cdn/components/carousel/carousel.js +1 -1
  73. package/cdn/components/carousel-item/carousel-item.js +1 -1
  74. package/cdn/components/checkbox/checkbox.js +1 -1
  75. package/cdn/components/checkbox-group/checkbox-group.js +1 -1
  76. package/cdn/components/combobox/combobox.js +1 -1
  77. package/cdn/components/datepicker/datepicker.js +1 -1
  78. package/cdn/components/dialog/dialog.d.ts +2 -8
  79. package/cdn/components/dialog/dialog.js +1 -1
  80. package/cdn/components/divider/divider.js +1 -1
  81. package/cdn/components/drawer/drawer.d.ts +2 -10
  82. package/cdn/components/drawer/drawer.js +1 -1
  83. package/cdn/components/dropdown/dropdown.js +1 -1
  84. package/cdn/components/expandable/expandable.js +1 -1
  85. package/cdn/components/flipcard/flipcard.js +1 -1
  86. package/cdn/components/header/header.js +1 -1
  87. package/cdn/components/icon/icon.js +1 -1
  88. package/cdn/components/include/include.js +1 -1
  89. package/cdn/components/input/input.js +1 -1
  90. package/cdn/components/link/link.js +1 -1
  91. package/cdn/components/loader/loader.js +1 -1
  92. package/cdn/components/map-marker/map-marker.js +1 -1
  93. package/cdn/components/menu/menu.js +1 -1
  94. package/cdn/components/menu-item/menu-item.js +1 -1
  95. package/cdn/components/navigation-item/navigation-item.js +1 -1
  96. package/cdn/components/notification/notification.js +1 -1
  97. package/cdn/components/optgroup/optgroup.js +1 -1
  98. package/cdn/components/option/option.js +1 -1
  99. package/cdn/components/popup/popup.js +1 -1
  100. package/cdn/components/progress-bar/progress-bar.js +1 -1
  101. package/cdn/components/quickfact/quickfact.js +1 -1
  102. package/cdn/components/radio/radio.js +1 -1
  103. package/cdn/components/radio-button/radio-button.js +1 -1
  104. package/cdn/components/radio-group/radio-group.js +1 -1
  105. package/cdn/components/range/range.js +1 -1
  106. package/cdn/components/range-tick/range-tick.js +1 -1
  107. package/cdn/components/scrollable/scrollable.js +1 -1
  108. package/cdn/components/select/select.js +1 -1
  109. package/cdn/components/skeleton/skeleton.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.js +1 -1
  120. package/cdn/components/theme-listener/theme-listener.js +1 -1
  121. package/cdn/components/tooltip/tooltip.js +1 -1
  122. package/cdn/components/video/video.js +1 -1
  123. package/cdn/custom-elements.json +5 -25
  124. package/cdn/solid-components.bundle.js +76 -76
  125. package/cdn/solid-components.css +3 -0
  126. package/cdn/solid-components.iife.js +76 -76
  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 +1 -6
  130. package/cdn/web-types.json +2 -12
  131. package/cdn-versioned/chunks/{chunk.ERFMBJMN.js → chunk.2G3IPD56.js} +2 -2
  132. package/cdn-versioned/chunks/{chunk.EBT6DGVX.js → chunk.3NQGT32X.js} +2 -2
  133. package/cdn-versioned/chunks/{chunk.4PSKBUCX.js → chunk.3TH3ZR3I.js} +2 -2
  134. package/cdn-versioned/chunks/{chunk.EPEWTJZQ.js → chunk.43BVYRG3.js} +2 -2
  135. package/cdn-versioned/chunks/{chunk.Q4DN4ZZH.js → chunk.4D6X7ON2.js} +2 -2
  136. package/cdn-versioned/chunks/{chunk.IMZUE643.js → chunk.4RJE4TI4.js} +2 -2
  137. package/cdn-versioned/chunks/chunk.4SDWX3GC.js +26 -0
  138. package/cdn-versioned/chunks/{chunk.L2VZ43LT.js → chunk.4UZPAOHT.js} +2 -2
  139. package/cdn-versioned/chunks/{chunk.ZBBIDDL4.js → chunk.4V7ZA4G4.js} +2 -2
  140. package/cdn-versioned/chunks/{chunk.4HLQKHWE.js → chunk.4VWHE6IJ.js} +2 -2
  141. package/cdn-versioned/chunks/{chunk.3CDC42NF.js → chunk.5GCVGJ23.js} +2 -2
  142. package/cdn-versioned/chunks/{chunk.GJHSZFXO.js → chunk.626XPPWD.js} +2 -2
  143. package/cdn-versioned/chunks/{chunk.KKHVITRN.js → chunk.64ZBR7T2.js} +2 -2
  144. package/cdn-versioned/chunks/{chunk.NWJ2RTKD.js → chunk.7HGJUXD2.js} +2 -2
  145. package/cdn-versioned/chunks/chunk.7X2WZGVP.js +4 -0
  146. package/cdn-versioned/chunks/{chunk.TAL4RLOZ.js → chunk.AFIMLGBS.js} +3 -3
  147. package/cdn-versioned/chunks/{chunk.DA4W66GE.js → chunk.B5TIWX7C.js} +2 -2
  148. package/cdn-versioned/chunks/chunk.C45254AN.js +2 -2
  149. package/cdn-versioned/chunks/{chunk.H2JUP5WV.js → chunk.C4BSOGLY.js} +2 -2
  150. package/cdn-versioned/chunks/{chunk.COC2WHFL.js → chunk.D6JILLMB.js} +3 -3
  151. package/cdn-versioned/chunks/{chunk.Q5U7YL6V.js → chunk.DK2NRNHC.js} +2 -2
  152. package/cdn-versioned/chunks/chunk.DSKB3SEU.js +1 -1
  153. package/cdn-versioned/chunks/{chunk.JYXX5KO2.js → chunk.EDB7WM3C.js} +3 -3
  154. package/cdn-versioned/chunks/{chunk.5E46HGSI.js → chunk.EW3C6EAI.js} +2 -2
  155. package/cdn-versioned/chunks/{chunk.2LLEAKS7.js → chunk.GTAM35BO.js} +2 -2
  156. package/cdn-versioned/chunks/{chunk.ZVAHJYMW.js → chunk.H6DSYZZ5.js} +2 -2
  157. package/cdn-versioned/chunks/{chunk.GF6RVEQL.js → chunk.HPSXEVMH.js} +2 -2
  158. package/cdn-versioned/chunks/{chunk.HVCDQSC3.js → chunk.IHNJ7SE7.js} +2 -2
  159. package/cdn-versioned/chunks/{chunk.OMAUGN4E.js → chunk.INUOCLNI.js} +2 -2
  160. package/cdn-versioned/chunks/{chunk.DB2UPC2O.js → chunk.IPT2IS3C.js} +2 -2
  161. package/cdn-versioned/chunks/{chunk.3BXVPLMO.js → chunk.IUTTUDYG.js} +2 -2
  162. package/cdn-versioned/chunks/{chunk.HC6O362U.js → chunk.KFO7GTE5.js} +2 -2
  163. package/cdn-versioned/chunks/chunk.KGIRFMVB.js +2 -0
  164. package/cdn-versioned/chunks/{chunk.VUHJ4M6S.js → chunk.KIKLU2QF.js} +2 -2
  165. package/cdn-versioned/chunks/chunk.LZRL7OLU.js +1 -1
  166. package/cdn-versioned/chunks/chunk.MCV2O2DW.js +2 -0
  167. package/cdn-versioned/chunks/{chunk.75JSUGHO.js → chunk.MMSVMSOT.js} +2 -2
  168. package/cdn-versioned/chunks/{chunk.MB3UFJE5.js → chunk.NIP2E7XF.js} +2 -2
  169. package/cdn-versioned/chunks/{chunk.X2AUH4EN.js → chunk.O45L6PM3.js} +5 -5
  170. package/cdn-versioned/chunks/chunk.OKNJ5BPS.js +1 -0
  171. package/cdn-versioned/chunks/{chunk.OUONZ36F.js → chunk.ONEC2JGA.js} +2 -2
  172. package/cdn-versioned/chunks/{chunk.K7MTUJHH.js → chunk.OR425KE3.js} +2 -2
  173. package/cdn-versioned/chunks/{chunk.HW534C56.js → chunk.PINAEP5F.js} +2 -2
  174. package/cdn-versioned/chunks/{chunk.MABD6SUM.js → chunk.Q235YK2W.js} +2 -2
  175. package/cdn-versioned/chunks/{chunk.O6U6Z7JR.js → chunk.Q7MQTMXO.js} +2 -2
  176. package/cdn-versioned/chunks/{chunk.XZZSPH7T.js → chunk.RHWN47DZ.js} +2 -2
  177. package/cdn-versioned/chunks/{chunk.MHZYUAHF.js → chunk.SDWSZX52.js} +10 -10
  178. package/cdn-versioned/chunks/{chunk.ECBXCHAK.js → chunk.SPIJDZMD.js} +2 -2
  179. package/cdn-versioned/chunks/{chunk.QJL42ICJ.js → chunk.SS7M4TZ3.js} +2 -2
  180. package/cdn-versioned/chunks/{chunk.JRELKQHZ.js → chunk.SXCJQBLJ.js} +2 -2
  181. package/cdn-versioned/chunks/{chunk.LHVND665.js → chunk.TEZ5ERKR.js} +5 -5
  182. package/cdn-versioned/chunks/{chunk.GTBO3C34.js → chunk.TQIQNEOY.js} +2 -2
  183. package/cdn-versioned/chunks/{chunk.2GJ2Z2N2.js → chunk.UQD7EJTJ.js} +2 -2
  184. package/cdn-versioned/chunks/{chunk.5QVISDJV.js → chunk.V65AWGU4.js} +2 -2
  185. package/cdn-versioned/chunks/{chunk.VRTYFVS4.js → chunk.VGGACO4K.js} +2 -2
  186. package/cdn-versioned/chunks/{chunk.O4TGO7RR.js → chunk.VUEVAYFK.js} +2 -2
  187. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  188. package/cdn-versioned/chunks/{chunk.AMZ5U6GY.js → chunk.WUMIGCKG.js} +2 -2
  189. package/cdn-versioned/chunks/{chunk.QZGNVLZ6.js → chunk.X66Q6CFQ.js} +2 -2
  190. package/cdn-versioned/chunks/{chunk.EH5DX5Q4.js → chunk.XYOC42VA.js} +2 -2
  191. package/cdn-versioned/chunks/{chunk.2P3QV4AS.js → chunk.Y22AL5IU.js} +2 -2
  192. package/cdn-versioned/chunks/{chunk.AIM3ZGQG.js → chunk.YQHNJLIR.js} +2 -2
  193. package/cdn-versioned/chunks/{chunk.ELN6PO6N.js → chunk.Z4LHGWSU.js} +2 -2
  194. package/cdn-versioned/chunks/{chunk.6VDTKIPC.js → chunk.ZDVA3JMZ.js} +2 -2
  195. package/cdn-versioned/chunks/{chunk.XZ5G5ZXS.js → chunk.ZHYZWUO3.js} +2 -2
  196. package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
  197. package/cdn-versioned/components/accordion/accordion.js +1 -1
  198. package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  199. package/cdn-versioned/components/accordion-group/accordion-group.js +1 -1
  200. package/cdn-versioned/components/animation/animation.d.ts +1 -1
  201. package/cdn-versioned/components/animation/animation.js +1 -1
  202. package/cdn-versioned/components/audio/audio.d.ts +1 -1
  203. package/cdn-versioned/components/audio/audio.js +1 -1
  204. package/cdn-versioned/components/badge/badge.d.ts +1 -1
  205. package/cdn-versioned/components/badge/badge.js +1 -1
  206. package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
  207. package/cdn-versioned/components/brandshape/brandshape.js +1 -1
  208. package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  209. package/cdn-versioned/components/breadcrumb/breadcrumb.js +1 -1
  210. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  211. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.js +1 -1
  212. package/cdn-versioned/components/button/button.d.ts +1 -1
  213. package/cdn-versioned/components/button/button.js +1 -1
  214. package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
  215. package/cdn-versioned/components/button-group/button-group.js +1 -1
  216. package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
  217. package/cdn-versioned/components/carousel/carousel.js +1 -1
  218. package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  219. package/cdn-versioned/components/carousel-item/carousel-item.js +1 -1
  220. package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
  221. package/cdn-versioned/components/checkbox/checkbox.js +1 -1
  222. package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  223. package/cdn-versioned/components/checkbox-group/checkbox-group.js +1 -1
  224. package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
  225. package/cdn-versioned/components/combobox/combobox.js +1 -1
  226. package/cdn-versioned/components/datepicker/datepicker.d.ts +1 -1
  227. package/cdn-versioned/components/datepicker/datepicker.js +1 -1
  228. package/cdn-versioned/components/dialog/dialog.d.ts +3 -9
  229. package/cdn-versioned/components/dialog/dialog.js +1 -1
  230. package/cdn-versioned/components/divider/divider.d.ts +1 -1
  231. package/cdn-versioned/components/divider/divider.js +1 -1
  232. package/cdn-versioned/components/drawer/drawer.d.ts +3 -11
  233. package/cdn-versioned/components/drawer/drawer.js +1 -1
  234. package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
  235. package/cdn-versioned/components/dropdown/dropdown.js +1 -1
  236. package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
  237. package/cdn-versioned/components/expandable/expandable.js +1 -1
  238. package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
  239. package/cdn-versioned/components/flipcard/flipcard.js +1 -1
  240. package/cdn-versioned/components/header/header.d.ts +1 -1
  241. package/cdn-versioned/components/header/header.js +1 -1
  242. package/cdn-versioned/components/icon/icon.d.ts +1 -1
  243. package/cdn-versioned/components/icon/icon.js +1 -1
  244. package/cdn-versioned/components/include/include.d.ts +1 -1
  245. package/cdn-versioned/components/include/include.js +1 -1
  246. package/cdn-versioned/components/input/input.d.ts +1 -1
  247. package/cdn-versioned/components/input/input.js +1 -1
  248. package/cdn-versioned/components/link/link.d.ts +1 -1
  249. package/cdn-versioned/components/link/link.js +1 -1
  250. package/cdn-versioned/components/loader/loader.d.ts +1 -1
  251. package/cdn-versioned/components/loader/loader.js +1 -1
  252. package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
  253. package/cdn-versioned/components/map-marker/map-marker.js +1 -1
  254. package/cdn-versioned/components/menu/menu.d.ts +1 -1
  255. package/cdn-versioned/components/menu/menu.js +1 -1
  256. package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
  257. package/cdn-versioned/components/menu-item/menu-item.js +1 -1
  258. package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  259. package/cdn-versioned/components/navigation-item/navigation-item.js +1 -1
  260. package/cdn-versioned/components/notification/notification.d.ts +1 -1
  261. package/cdn-versioned/components/notification/notification.js +1 -1
  262. package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
  263. package/cdn-versioned/components/optgroup/optgroup.js +1 -1
  264. package/cdn-versioned/components/option/option.d.ts +1 -1
  265. package/cdn-versioned/components/option/option.js +1 -1
  266. package/cdn-versioned/components/popup/popup.d.ts +1 -1
  267. package/cdn-versioned/components/popup/popup.js +1 -1
  268. package/cdn-versioned/components/progress-bar/progress-bar.d.ts +1 -1
  269. package/cdn-versioned/components/progress-bar/progress-bar.js +1 -1
  270. package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
  271. package/cdn-versioned/components/quickfact/quickfact.js +1 -1
  272. package/cdn-versioned/components/radio/radio.d.ts +1 -1
  273. package/cdn-versioned/components/radio/radio.js +1 -1
  274. package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
  275. package/cdn-versioned/components/radio-button/radio-button.js +1 -1
  276. package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
  277. package/cdn-versioned/components/radio-group/radio-group.js +1 -1
  278. package/cdn-versioned/components/range/range.d.ts +1 -1
  279. package/cdn-versioned/components/range/range.js +1 -1
  280. package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
  281. package/cdn-versioned/components/range-tick/range-tick.js +1 -1
  282. package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
  283. package/cdn-versioned/components/scrollable/scrollable.js +1 -1
  284. package/cdn-versioned/components/select/select.d.ts +1 -1
  285. package/cdn-versioned/components/select/select.js +1 -1
  286. package/cdn-versioned/components/skeleton/skeleton.d.ts +1 -1
  287. package/cdn-versioned/components/skeleton/skeleton.js +1 -1
  288. package/cdn-versioned/components/step/step.d.ts +1 -1
  289. package/cdn-versioned/components/step/step.js +1 -1
  290. package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
  291. package/cdn-versioned/components/step-group/step-group.js +1 -1
  292. package/cdn-versioned/components/switch/switch.d.ts +1 -1
  293. package/cdn-versioned/components/switch/switch.js +1 -1
  294. package/cdn-versioned/components/tab/tab.d.ts +1 -1
  295. package/cdn-versioned/components/tab/tab.js +1 -1
  296. package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
  297. package/cdn-versioned/components/tab-group/tab-group.js +1 -1
  298. package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  299. package/cdn-versioned/components/tab-panel/tab-panel.js +1 -1
  300. package/cdn-versioned/components/tag/tag.d.ts +1 -1
  301. package/cdn-versioned/components/tag/tag.js +1 -1
  302. package/cdn-versioned/components/teaser/teaser.js +1 -1
  303. package/cdn-versioned/components/teaser-media/teaser-media.js +1 -1
  304. package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
  305. package/cdn-versioned/components/textarea/textarea.js +1 -1
  306. package/cdn-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  307. package/cdn-versioned/components/theme-listener/theme-listener.js +1 -1
  308. package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
  309. package/cdn-versioned/components/tooltip/tooltip.js +1 -1
  310. package/cdn-versioned/components/video/video.d.ts +1 -1
  311. package/cdn-versioned/components/video/video.js +1 -1
  312. package/cdn-versioned/custom-elements.json +264 -284
  313. package/cdn-versioned/internal/form.js +2 -2
  314. package/cdn-versioned/solid-components.bundle.js +88 -88
  315. package/cdn-versioned/solid-components.css +5 -2
  316. package/cdn-versioned/solid-components.iife.js +88 -88
  317. package/cdn-versioned/solid-components.js +1 -1
  318. package/cdn-versioned/utilities/autocomplete-config.js +1 -1
  319. package/cdn-versioned/vscode.html-custom-data.json +113 -118
  320. package/cdn-versioned/web-types.json +169 -179
  321. package/dist/chunks/{chunk.SYN6Y7B2.js → chunk.4KUVWN2I.js} +1 -1
  322. package/dist/chunks/{chunk.VUBZTPBJ.js → chunk.6ETKGDC3.js} +63 -6
  323. package/dist/chunks/{chunk.2MPKSDFV.js → chunk.6O4N7F3K.js} +1 -1
  324. package/dist/chunks/{chunk.PHDXES2E.js → chunk.6UABH73N.js} +2 -2
  325. package/dist/chunks/{chunk.DEBCAM5G.js → chunk.742523X2.js} +1 -1
  326. package/dist/chunks/{chunk.5N723KVX.js → chunk.7MHQG3BX.js} +1 -1
  327. package/dist/chunks/{chunk.RBFDHNCA.js → chunk.7PKQECKN.js} +1 -1
  328. package/dist/chunks/{chunk.JBF2NX2O.js → chunk.7QL6Y47O.js} +1 -1
  329. package/dist/chunks/chunk.7WPBGXB4.js +93 -0
  330. package/dist/chunks/{chunk.AHYFAMPB.js → chunk.AMARMKJU.js} +1 -1
  331. package/dist/chunks/{chunk.CQ6DFCND.js → chunk.BDDLMKAK.js} +1 -1
  332. package/dist/chunks/{chunk.AF7LVJ42.js → chunk.D3Q6NREV.js} +1 -1
  333. package/dist/chunks/{chunk.JZOKETCG.js → chunk.DC2F6ZIN.js} +2 -2
  334. package/dist/chunks/{chunk.TIURA3CR.js → chunk.DCUIQILU.js} +1 -1
  335. package/dist/chunks/{chunk.CEAD7GE5.js → chunk.DMQ52GO3.js} +1 -1
  336. package/dist/chunks/{chunk.FHZBC7YI.js → chunk.DZ77XUG2.js} +1 -1
  337. package/dist/chunks/{chunk.HKGKJSNK.js → chunk.E7RWXJJE.js} +1 -1
  338. package/dist/chunks/{chunk.QE5IYB7Q.js → chunk.EH7PG7IH.js} +1 -1
  339. package/dist/chunks/{chunk.JO3VO5XL.js → chunk.EKH7JJ3U.js} +2 -2
  340. package/dist/chunks/{chunk.MEDGQUDQ.js → chunk.GVPPHUUS.js} +1 -1
  341. package/dist/chunks/{chunk.5LCAXSSU.js → chunk.GWWM46XG.js} +1 -1
  342. package/dist/chunks/{chunk.XLRNOFGT.js → chunk.HB3VBJFC.js} +2 -2
  343. package/dist/chunks/{chunk.5MKROBU2.js → chunk.K22CCY63.js} +2 -2
  344. package/dist/chunks/{chunk.6A4V3BDD.js → chunk.K4ZSZPTN.js} +1 -1
  345. package/dist/chunks/{chunk.6V4BBUOB.js → chunk.KYX4HLN2.js} +1 -1
  346. package/dist/chunks/{chunk.R7AKCNLH.js → chunk.LDTZNWTZ.js} +1 -1
  347. package/{dist-versioned/chunks/chunk.WDWV53JP.js → dist/chunks/chunk.LTZVVIB2.js} +0 -22
  348. package/dist/chunks/{chunk.M2JKMFD5.js → chunk.LUR5ATJB.js} +1 -1
  349. package/dist/chunks/{chunk.EPA3ZMZ6.js → chunk.MEMOQ3W7.js} +1 -1
  350. package/dist/chunks/{chunk.CST7TW6Q.js → chunk.MJ6KXGSO.js} +1 -1
  351. package/dist/chunks/{chunk.V3OXFXTL.js → chunk.N5OTEAT2.js} +1 -1
  352. package/dist/chunks/{chunk.IFK35LWT.js → chunk.NPYCKWWW.js} +1 -1
  353. package/dist/chunks/{chunk.MACUA7LR.js → chunk.NXG4DNKU.js} +1 -1
  354. package/dist/chunks/{chunk.IUE6LRBW.js → chunk.PUT4P7PK.js} +1 -1
  355. package/dist/chunks/{chunk.KRQXRRDJ.js → chunk.RZXU2X5Z.js} +1 -1
  356. package/dist/chunks/{chunk.5R6X3OUC.js → chunk.S3DD4YSN.js} +1 -1
  357. package/dist/chunks/{chunk.YPXPF4CW.js → chunk.SCWFNFSN.js} +1 -1
  358. package/dist/chunks/{chunk.D333WSUU.js → chunk.SOX43MJ5.js} +1 -1
  359. package/dist/chunks/{chunk.UQW2D27E.js → chunk.T2ZFQMV6.js} +1 -1
  360. package/dist/chunks/{chunk.NHGPTJYA.js → chunk.TNLAM4ZT.js} +18 -63
  361. package/dist/chunks/{chunk.J5LGPQPF.js → chunk.UGIF26DH.js} +1 -1
  362. package/dist/chunks/{chunk.CRTYDXIZ.js → chunk.V4ILSVMF.js} +1 -1
  363. package/dist/chunks/{chunk.2WRG4JLD.js → chunk.V54VIV3V.js} +1 -1
  364. package/dist/chunks/{chunk.JSWS6X3U.js → chunk.VDQBK7ZK.js} +1 -1
  365. package/dist/chunks/{chunk.T227KIHC.js → chunk.VLMSLPLL.js} +2 -2
  366. package/dist/chunks/{chunk.QUBMQHBS.js → chunk.VWGMR2Y5.js} +1 -1
  367. package/dist/chunks/{chunk.XO2EYEOQ.js → chunk.VYBHDB7F.js} +1 -1
  368. package/dist/chunks/{chunk.2A2XLAZ6.js → chunk.WIKRI7YB.js} +1 -1
  369. package/dist/chunks/{chunk.AKFD4POM.js → chunk.WKUNYCQZ.js} +1 -1
  370. package/dist/chunks/{chunk.FUTFHFME.js → chunk.X32Z3OP3.js} +4 -4
  371. package/dist/chunks/{chunk.I2RFDBMV.js → chunk.XQBLC5E4.js} +1 -1
  372. package/dist/chunks/{chunk.FKT27XGY.js → chunk.Y6MMHW4A.js} +1 -1
  373. package/dist/chunks/{chunk.MCRDVATU.js → chunk.YAI4GVXU.js} +1 -1
  374. package/dist/chunks/{chunk.L4AFCWKB.js → chunk.YFUYD54K.js} +1 -1
  375. package/dist/chunks/{chunk.Z7YV6XJB.js → chunk.YVAYTWVV.js} +1 -1
  376. package/dist/chunks/{chunk.55JRGHYZ.js → chunk.Z4X2ORYU.js} +3 -3
  377. package/dist/chunks/{chunk.5Q7N5BFG.js → chunk.Z7VTXC25.js} +24 -100
  378. package/dist/chunks/{chunk.PZYEO6JX.js → chunk.ZMCHJLGT.js} +1 -1
  379. package/dist/chunks/{chunk.VVGDAH3Y.js → chunk.ZWSPJTPP.js} +1 -1
  380. package/dist/chunks/{chunk.JL5JAIKK.js → chunk.ZXPU2CGW.js} +1 -1
  381. package/dist/chunks/{chunk.JRWHGSFU.js → chunk.ZXTMNMQT.js} +1 -1
  382. package/dist/components/accordion/accordion.js +3 -3
  383. package/dist/components/accordion-group/accordion-group.js +4 -4
  384. package/dist/components/animation/animation.js +2 -2
  385. package/dist/components/audio/audio.js +7 -10
  386. package/dist/components/badge/badge.js +2 -2
  387. package/dist/components/brandshape/brandshape.js +2 -2
  388. package/dist/components/breadcrumb/breadcrumb.js +6 -7
  389. package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
  390. package/dist/components/button/button.js +4 -4
  391. package/dist/components/button-group/button-group.js +2 -2
  392. package/dist/components/carousel/carousel.js +4 -4
  393. package/dist/components/carousel-item/carousel-item.js +2 -2
  394. package/dist/components/checkbox/checkbox.js +3 -3
  395. package/dist/components/checkbox-group/checkbox-group.js +3 -3
  396. package/dist/components/combobox/combobox.js +6 -6
  397. package/dist/components/datepicker/datepicker.js +5 -5
  398. package/dist/components/dialog/dialog.d.ts +2 -8
  399. package/dist/components/dialog/dialog.js +6 -9
  400. package/dist/components/divider/divider.js +2 -2
  401. package/dist/components/drawer/drawer.d.ts +2 -10
  402. package/dist/components/drawer/drawer.js +6 -9
  403. package/dist/components/dropdown/dropdown.js +4 -5
  404. package/dist/components/expandable/expandable.js +3 -3
  405. package/dist/components/flipcard/flipcard.js +6 -6
  406. package/dist/components/header/header.js +2 -2
  407. package/dist/components/icon/icon.js +2 -2
  408. package/dist/components/include/include.js +2 -2
  409. package/dist/components/input/input.js +3 -3
  410. package/dist/components/link/link.js +2 -2
  411. package/dist/components/loader/loader.js +2 -2
  412. package/dist/components/map-marker/map-marker.js +2 -2
  413. package/dist/components/menu/menu.js +2 -2
  414. package/dist/components/menu-item/menu-item.js +2 -2
  415. package/dist/components/navigation-item/navigation-item.js +4 -4
  416. package/dist/components/notification/notification.js +6 -6
  417. package/dist/components/optgroup/optgroup.js +3 -3
  418. package/dist/components/option/option.js +3 -3
  419. package/dist/components/popup/popup.js +2 -2
  420. package/dist/components/progress-bar/progress-bar.js +2 -2
  421. package/dist/components/quickfact/quickfact.js +4 -4
  422. package/dist/components/radio/radio.js +2 -2
  423. package/dist/components/radio-button/radio-button.js +2 -2
  424. package/dist/components/radio-group/radio-group.js +4 -4
  425. package/dist/components/range/range.js +5 -5
  426. package/dist/components/range-tick/range-tick.js +2 -2
  427. package/dist/components/scrollable/scrollable.js +3 -3
  428. package/dist/components/select/select.js +6 -6
  429. package/dist/components/skeleton/skeleton.js +2 -2
  430. package/dist/components/step/step.js +3 -3
  431. package/dist/components/step-group/step-group.js +2 -2
  432. package/dist/components/switch/switch.js +2 -2
  433. package/dist/components/tab/tab.js +2 -2
  434. package/dist/components/tab-group/tab-group.js +4 -4
  435. package/dist/components/tab-panel/tab-panel.js +2 -2
  436. package/dist/components/tag/tag.js +3 -3
  437. package/dist/components/teaser/teaser.js +2 -2
  438. package/dist/components/teaser-media/teaser-media.js +2 -2
  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 +5 -25
  444. package/dist/solid-components.css +3 -0
  445. package/dist/solid-components.js +64 -66
  446. package/dist/utilities/autocomplete-config.js +2 -2
  447. package/dist/vscode.html-custom-data.json +1 -6
  448. package/dist/web-types.json +2 -12
  449. package/dist-versioned/chunks/{chunk.SYN6Y7B2.js → chunk.4KUVWN2I.js} +3 -3
  450. package/dist-versioned/chunks/{chunk.VUBZTPBJ.js → chunk.6ETKGDC3.js} +76 -19
  451. package/dist-versioned/chunks/{chunk.2MPKSDFV.js → chunk.6O4N7F3K.js} +4 -4
  452. package/dist-versioned/chunks/{chunk.PHDXES2E.js → chunk.6UABH73N.js} +25 -25
  453. package/dist-versioned/chunks/{chunk.DEBCAM5G.js → chunk.742523X2.js} +7 -7
  454. package/dist-versioned/chunks/{chunk.5N723KVX.js → chunk.7MHQG3BX.js} +2 -2
  455. package/dist-versioned/chunks/{chunk.RBFDHNCA.js → chunk.7PKQECKN.js} +6 -6
  456. package/dist-versioned/chunks/{chunk.JBF2NX2O.js → chunk.7QL6Y47O.js} +4 -4
  457. package/dist-versioned/chunks/chunk.7WPBGXB4.js +93 -0
  458. package/dist-versioned/chunks/{chunk.AHYFAMPB.js → chunk.AMARMKJU.js} +4 -4
  459. package/dist-versioned/chunks/{chunk.CQ6DFCND.js → chunk.BDDLMKAK.js} +2 -2
  460. package/dist-versioned/chunks/chunk.C3WIBDGG.js +2 -2
  461. package/dist-versioned/chunks/{chunk.AF7LVJ42.js → chunk.D3Q6NREV.js} +2 -2
  462. package/dist-versioned/chunks/{chunk.JZOKETCG.js → chunk.DC2F6ZIN.js} +14 -14
  463. package/dist-versioned/chunks/{chunk.TIURA3CR.js → chunk.DCUIQILU.js} +8 -8
  464. package/dist-versioned/chunks/{chunk.CEAD7GE5.js → chunk.DMQ52GO3.js} +3 -3
  465. package/dist-versioned/chunks/{chunk.FHZBC7YI.js → chunk.DZ77XUG2.js} +12 -12
  466. package/dist-versioned/chunks/{chunk.HKGKJSNK.js → chunk.E7RWXJJE.js} +12 -12
  467. package/dist-versioned/chunks/{chunk.QE5IYB7Q.js → chunk.EH7PG7IH.js} +3 -3
  468. package/dist-versioned/chunks/{chunk.JO3VO5XL.js → chunk.EKH7JJ3U.js} +27 -27
  469. package/dist-versioned/chunks/{chunk.MEDGQUDQ.js → chunk.GVPPHUUS.js} +6 -6
  470. package/dist-versioned/chunks/{chunk.5LCAXSSU.js → chunk.GWWM46XG.js} +8 -8
  471. package/dist-versioned/chunks/{chunk.XLRNOFGT.js → chunk.HB3VBJFC.js} +12 -12
  472. package/dist-versioned/chunks/{chunk.5MKROBU2.js → chunk.K22CCY63.js} +5 -5
  473. package/dist-versioned/chunks/{chunk.6A4V3BDD.js → chunk.K4ZSZPTN.js} +3 -3
  474. package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
  475. package/dist-versioned/chunks/{chunk.6V4BBUOB.js → chunk.KYX4HLN2.js} +8 -8
  476. package/dist-versioned/chunks/{chunk.R7AKCNLH.js → chunk.LDTZNWTZ.js} +7 -7
  477. package/{dist/chunks/chunk.WDWV53JP.js → dist-versioned/chunks/chunk.LTZVVIB2.js} +0 -22
  478. package/dist-versioned/chunks/{chunk.M2JKMFD5.js → chunk.LUR5ATJB.js} +7 -7
  479. package/dist-versioned/chunks/{chunk.EPA3ZMZ6.js → chunk.MEMOQ3W7.js} +6 -6
  480. package/dist-versioned/chunks/{chunk.CST7TW6Q.js → chunk.MJ6KXGSO.js} +6 -6
  481. package/dist-versioned/chunks/{chunk.V3OXFXTL.js → chunk.N5OTEAT2.js} +7 -7
  482. package/dist-versioned/chunks/{chunk.IFK35LWT.js → chunk.NPYCKWWW.js} +11 -11
  483. package/dist-versioned/chunks/{chunk.MACUA7LR.js → chunk.NXG4DNKU.js} +13 -13
  484. package/dist-versioned/chunks/{chunk.IUE6LRBW.js → chunk.PUT4P7PK.js} +3 -3
  485. package/dist-versioned/chunks/chunk.QGERTGJH.js +4 -4
  486. package/dist-versioned/chunks/{chunk.KRQXRRDJ.js → chunk.RZXU2X5Z.js} +3 -3
  487. package/dist-versioned/chunks/{chunk.5R6X3OUC.js → chunk.S3DD4YSN.js} +5 -5
  488. package/dist-versioned/chunks/{chunk.YPXPF4CW.js → chunk.SCWFNFSN.js} +5 -5
  489. package/dist-versioned/chunks/{chunk.D333WSUU.js → chunk.SOX43MJ5.js} +5 -5
  490. package/dist-versioned/chunks/{chunk.UQW2D27E.js → chunk.T2ZFQMV6.js} +9 -9
  491. package/dist-versioned/chunks/{chunk.NHGPTJYA.js → chunk.TNLAM4ZT.js} +19 -64
  492. package/dist-versioned/chunks/{chunk.J5LGPQPF.js → chunk.UGIF26DH.js} +3 -3
  493. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  494. package/dist-versioned/chunks/{chunk.CRTYDXIZ.js → chunk.V4ILSVMF.js} +5 -5
  495. package/dist-versioned/chunks/{chunk.2WRG4JLD.js → chunk.V54VIV3V.js} +2 -2
  496. package/dist-versioned/chunks/{chunk.JSWS6X3U.js → chunk.VDQBK7ZK.js} +3 -3
  497. package/dist-versioned/chunks/{chunk.T227KIHC.js → chunk.VLMSLPLL.js} +12 -12
  498. package/dist-versioned/chunks/{chunk.QUBMQHBS.js → chunk.VWGMR2Y5.js} +6 -6
  499. package/dist-versioned/chunks/{chunk.XO2EYEOQ.js → chunk.VYBHDB7F.js} +12 -12
  500. package/dist-versioned/chunks/{chunk.2A2XLAZ6.js → chunk.WIKRI7YB.js} +6 -6
  501. package/dist-versioned/chunks/{chunk.AKFD4POM.js → chunk.WKUNYCQZ.js} +4 -4
  502. package/dist-versioned/chunks/{chunk.FUTFHFME.js → chunk.X32Z3OP3.js} +18 -18
  503. package/dist-versioned/chunks/{chunk.I2RFDBMV.js → chunk.XQBLC5E4.js} +6 -6
  504. package/dist-versioned/chunks/{chunk.FKT27XGY.js → chunk.Y6MMHW4A.js} +2 -2
  505. package/dist-versioned/chunks/{chunk.MCRDVATU.js → chunk.YAI4GVXU.js} +7 -7
  506. package/dist-versioned/chunks/{chunk.L4AFCWKB.js → chunk.YFUYD54K.js} +43 -43
  507. package/dist-versioned/chunks/{chunk.Z7YV6XJB.js → chunk.YVAYTWVV.js} +2 -2
  508. package/dist-versioned/chunks/{chunk.55JRGHYZ.js → chunk.Z4X2ORYU.js} +8 -8
  509. package/dist-versioned/chunks/{chunk.5Q7N5BFG.js → chunk.Z7VTXC25.js} +25 -101
  510. package/dist-versioned/chunks/{chunk.PZYEO6JX.js → chunk.ZMCHJLGT.js} +11 -11
  511. package/dist-versioned/chunks/{chunk.VVGDAH3Y.js → chunk.ZWSPJTPP.js} +6 -6
  512. package/dist-versioned/chunks/{chunk.JL5JAIKK.js → chunk.ZXPU2CGW.js} +4 -4
  513. package/dist-versioned/chunks/{chunk.JRWHGSFU.js → chunk.ZXTMNMQT.js} +3 -3
  514. package/dist-versioned/components/accordion/accordion.d.ts +1 -1
  515. package/dist-versioned/components/accordion/accordion.js +3 -3
  516. package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  517. package/dist-versioned/components/accordion-group/accordion-group.js +4 -4
  518. package/dist-versioned/components/animation/animation.d.ts +1 -1
  519. package/dist-versioned/components/animation/animation.js +2 -2
  520. package/dist-versioned/components/audio/audio.d.ts +1 -1
  521. package/dist-versioned/components/audio/audio.js +7 -10
  522. package/dist-versioned/components/badge/badge.d.ts +1 -1
  523. package/dist-versioned/components/badge/badge.js +2 -2
  524. package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
  525. package/dist-versioned/components/brandshape/brandshape.js +2 -2
  526. package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  527. package/dist-versioned/components/breadcrumb/breadcrumb.js +6 -7
  528. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  529. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.js +3 -3
  530. package/dist-versioned/components/button/button.d.ts +1 -1
  531. package/dist-versioned/components/button/button.js +4 -4
  532. package/dist-versioned/components/button-group/button-group.d.ts +1 -1
  533. package/dist-versioned/components/button-group/button-group.js +2 -2
  534. package/dist-versioned/components/carousel/carousel.d.ts +1 -1
  535. package/dist-versioned/components/carousel/carousel.js +4 -4
  536. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  537. package/dist-versioned/components/carousel-item/carousel-item.js +2 -2
  538. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  539. package/dist-versioned/components/checkbox/checkbox.js +3 -3
  540. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  541. package/dist-versioned/components/checkbox-group/checkbox-group.js +3 -3
  542. package/dist-versioned/components/combobox/combobox.d.ts +1 -1
  543. package/dist-versioned/components/combobox/combobox.js +6 -6
  544. package/dist-versioned/components/datepicker/datepicker.d.ts +1 -1
  545. package/dist-versioned/components/datepicker/datepicker.js +5 -5
  546. package/dist-versioned/components/dialog/dialog.d.ts +3 -9
  547. package/dist-versioned/components/dialog/dialog.js +6 -9
  548. package/dist-versioned/components/divider/divider.d.ts +1 -1
  549. package/dist-versioned/components/divider/divider.js +2 -2
  550. package/dist-versioned/components/drawer/drawer.d.ts +3 -11
  551. package/dist-versioned/components/drawer/drawer.js +6 -9
  552. package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
  553. package/dist-versioned/components/dropdown/dropdown.js +4 -5
  554. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  555. package/dist-versioned/components/expandable/expandable.js +3 -3
  556. package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
  557. package/dist-versioned/components/flipcard/flipcard.js +6 -6
  558. package/dist-versioned/components/header/header.d.ts +1 -1
  559. package/dist-versioned/components/header/header.js +2 -2
  560. package/dist-versioned/components/icon/icon.d.ts +1 -1
  561. package/dist-versioned/components/icon/icon.js +2 -2
  562. package/dist-versioned/components/include/include.d.ts +1 -1
  563. package/dist-versioned/components/include/include.js +2 -2
  564. package/dist-versioned/components/input/input.d.ts +1 -1
  565. package/dist-versioned/components/input/input.js +3 -3
  566. package/dist-versioned/components/link/link.d.ts +1 -1
  567. package/dist-versioned/components/link/link.js +2 -2
  568. package/dist-versioned/components/loader/loader.d.ts +1 -1
  569. package/dist-versioned/components/loader/loader.js +2 -2
  570. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  571. package/dist-versioned/components/map-marker/map-marker.js +2 -2
  572. package/dist-versioned/components/menu/menu.d.ts +1 -1
  573. package/dist-versioned/components/menu/menu.js +2 -2
  574. package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
  575. package/dist-versioned/components/menu-item/menu-item.js +2 -2
  576. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  577. package/dist-versioned/components/navigation-item/navigation-item.js +4 -4
  578. package/dist-versioned/components/notification/notification.d.ts +1 -1
  579. package/dist-versioned/components/notification/notification.js +6 -6
  580. package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
  581. package/dist-versioned/components/optgroup/optgroup.js +3 -3
  582. package/dist-versioned/components/option/option.d.ts +1 -1
  583. package/dist-versioned/components/option/option.js +3 -3
  584. package/dist-versioned/components/popup/popup.d.ts +1 -1
  585. package/dist-versioned/components/popup/popup.js +2 -2
  586. package/dist-versioned/components/progress-bar/progress-bar.d.ts +1 -1
  587. package/dist-versioned/components/progress-bar/progress-bar.js +2 -2
  588. package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
  589. package/dist-versioned/components/quickfact/quickfact.js +4 -4
  590. package/dist-versioned/components/radio/radio.d.ts +1 -1
  591. package/dist-versioned/components/radio/radio.js +2 -2
  592. package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
  593. package/dist-versioned/components/radio-button/radio-button.js +2 -2
  594. package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
  595. package/dist-versioned/components/radio-group/radio-group.js +4 -4
  596. package/dist-versioned/components/range/range.d.ts +1 -1
  597. package/dist-versioned/components/range/range.js +5 -5
  598. package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
  599. package/dist-versioned/components/range-tick/range-tick.js +2 -2
  600. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  601. package/dist-versioned/components/scrollable/scrollable.js +3 -3
  602. package/dist-versioned/components/select/select.d.ts +1 -1
  603. package/dist-versioned/components/select/select.js +6 -6
  604. package/dist-versioned/components/skeleton/skeleton.d.ts +1 -1
  605. package/dist-versioned/components/skeleton/skeleton.js +2 -2
  606. package/dist-versioned/components/step/step.d.ts +1 -1
  607. package/dist-versioned/components/step/step.js +3 -3
  608. package/dist-versioned/components/step-group/step-group.d.ts +1 -1
  609. package/dist-versioned/components/step-group/step-group.js +2 -2
  610. package/dist-versioned/components/switch/switch.d.ts +1 -1
  611. package/dist-versioned/components/switch/switch.js +2 -2
  612. package/dist-versioned/components/tab/tab.d.ts +1 -1
  613. package/dist-versioned/components/tab/tab.js +2 -2
  614. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  615. package/dist-versioned/components/tab-group/tab-group.js +4 -4
  616. package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  617. package/dist-versioned/components/tab-panel/tab-panel.js +2 -2
  618. package/dist-versioned/components/tag/tag.d.ts +1 -1
  619. package/dist-versioned/components/tag/tag.js +3 -3
  620. package/dist-versioned/components/teaser/teaser.js +2 -2
  621. package/dist-versioned/components/teaser-media/teaser-media.js +2 -2
  622. package/dist-versioned/components/textarea/textarea.d.ts +1 -1
  623. package/dist-versioned/components/textarea/textarea.js +3 -3
  624. package/dist-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  625. package/dist-versioned/components/theme-listener/theme-listener.js +2 -2
  626. package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
  627. package/dist-versioned/components/tooltip/tooltip.js +4 -4
  628. package/dist-versioned/components/video/video.d.ts +1 -1
  629. package/dist-versioned/components/video/video.js +3 -3
  630. package/dist-versioned/custom-elements.json +264 -284
  631. package/dist-versioned/internal/form.js +2 -2
  632. package/dist-versioned/solid-components.css +5 -2
  633. package/dist-versioned/solid-components.js +64 -66
  634. package/dist-versioned/utilities/autocomplete-config.js +2 -2
  635. package/dist-versioned/vscode.html-custom-data.json +113 -118
  636. package/dist-versioned/web-types.json +169 -179
  637. package/package.json +3 -3
  638. package/cdn/chunks/chunk.3L472FD4.js +0 -1
  639. package/cdn/chunks/chunk.IVPQC3VZ.js +0 -4
  640. package/cdn/chunks/chunk.LHPEH7RR.js +0 -2
  641. package/cdn/chunks/chunk.MHLONLMU.js +0 -2
  642. package/cdn/chunks/chunk.O7KFGYFO.js +0 -1
  643. package/cdn/chunks/chunk.SGJYHE3R.js +0 -26
  644. package/cdn/chunks/chunk.TXP36Z3M.js +0 -1
  645. package/cdn/internal/modal.d.ts +0 -12
  646. package/cdn/internal/modal.js +0 -49
  647. package/cdn-versioned/chunks/chunk.3L472FD4.js +0 -1
  648. package/cdn-versioned/chunks/chunk.IVPQC3VZ.js +0 -4
  649. package/cdn-versioned/chunks/chunk.LHPEH7RR.js +0 -2
  650. package/cdn-versioned/chunks/chunk.MHLONLMU.js +0 -2
  651. package/cdn-versioned/chunks/chunk.O7KFGYFO.js +0 -1
  652. package/cdn-versioned/chunks/chunk.SGJYHE3R.js +0 -26
  653. package/cdn-versioned/chunks/chunk.TXP36Z3M.js +0 -1
  654. package/cdn-versioned/internal/modal.d.ts +0 -12
  655. package/cdn-versioned/internal/modal.js +0 -49
  656. package/dist/chunks/chunk.EDMG7C5H.js +0 -57
  657. package/dist/chunks/chunk.UMIKFOMI.js +0 -65
  658. package/dist/chunks/chunk.ZZYKQTZB.js +0 -93
  659. package/dist/internal/modal.d.ts +0 -12
  660. package/dist/internal/modal.js +0 -49
  661. package/dist-versioned/chunks/chunk.EDMG7C5H.js +0 -57
  662. package/dist-versioned/chunks/chunk.UMIKFOMI.js +0 -65
  663. package/dist-versioned/chunks/chunk.ZZYKQTZB.js +0 -93
  664. package/dist-versioned/internal/modal.d.ts +0 -12
  665. package/dist-versioned/internal/modal.js +0 -49
@@ -1,2 +1,2 @@
1
- import{a as p}from"./chunk.LHSR56PH.js";import{a as b}from"./chunk.CGQ2BPPZ.js";import{a as n}from"./chunk.4ZZFYCXX.js";import{a as h}from"./chunk.NYKJXI3Q.js";import{a as c,b as i,c as u,d as a,h as r}from"./chunk.SGJYHE3R.js";import{b as d,e as o}from"./chunk.OBAEIKIV.js";import{e as s}from"./chunk.6EV4YU6C.js";var t=class extends r{constructor(){super(...arguments);this.hasSlotController=new b(this,"[default]","icon");this.hasFocus=!1;this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.checked=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","presentation")}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleClick(e){if(this.disabled||this.visuallyDisabled){e.preventDefault(),e.stopPropagation();return}this.checked=!0}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleDisabledChange(){let e=this.disabled||this.visuallyDisabled;this.setAttribute("aria-disabled",e?"true":"false")}focus(e){this.input.focus(e)}blur(){this.input.blur()}render(){let e=this.hasSlotController.test("[default]"),l=this.hasSlotController.test("icon"),m=`${this.size}-${e?"label":"no-label"}`;return o`<div part="base" role="presentation" class="relative"><button part="${`button${this.checked?" button--checked":""}`}" role="radio" aria-checked="${this.checked}" class="${n("relative text-center sd-radio-button-border-radius transition-all ease-in-out duration-100 items-center justify-center focus-visible:focus-outline choice-control-font-weight",this.size==="sm"?"text-sm":"text-base",this.checked&&!this.disabled&&!this.visuallyDisabled?"sd-button--primary--default-color-background sd-button--primary--default-color-text hover:sd-button--primary--hover-color-background hover:text-primary-100":!this.checked&&(this.disabled||this.visuallyDisabled)?"text-neutral-500 hover:cursor-not-allowed":this.checked&&(this.disabled||this.visuallyDisabled)?"bg-neutral-400 text-white hover:cursor-not-allowed ":"bg-transparent sd-radio-button-color-text border-primary cursor-pointer hover:sd-radio-button--hover-color-background hover:sd-radio-button--hover-color-text",e&&{sm:"px-3",md:"px-4",lg:"px-5"}[this.size],this.hasFocus&&"focused-class",e&&"button--has-label",l&&"button--has-icon flex gap-2",m)}" aria-disabled="${this.disabled||this.visuallyDisabled}" type="button" value="${p(this.value)}" tabindex="${this.checked?"0":"-1"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @click="${this.handleClick}"><slot name="icon" part="icon" class="${n(l&&"inline-flex relative items-center",{sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size])}" ?hidden="${!l}"></slot>${e?o`<slot part="label" class="button__label inline-flex relative items-center whitespace-nowrap"></slot>`:null}</button></div>`}};t.styles=[...r.styles,d`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
1
+ import{a as p}from"./chunk.LHSR56PH.js";import{a as b}from"./chunk.CGQ2BPPZ.js";import{a as n}from"./chunk.4ZZFYCXX.js";import{a as h}from"./chunk.NYKJXI3Q.js";import{a as c,b as i,c as u,d as a,h as r}from"./chunk.4SDWX3GC.js";import{b as d,e as o}from"./chunk.OBAEIKIV.js";import{e as s}from"./chunk.6EV4YU6C.js";var t=class extends r{constructor(){super(...arguments);this.hasSlotController=new b(this,"[default]","icon");this.hasFocus=!1;this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.checked=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","presentation")}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleClick(e){if(this.disabled||this.visuallyDisabled){e.preventDefault(),e.stopPropagation();return}this.checked=!0}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleDisabledChange(){let e=this.disabled||this.visuallyDisabled;this.setAttribute("aria-disabled",e?"true":"false")}focus(e){this.input.focus(e)}blur(){this.input.blur()}render(){let e=this.hasSlotController.test("[default]"),l=this.hasSlotController.test("icon"),m=`${this.size}-${e?"label":"no-label"}`;return o`<div part="base" role="presentation" class="relative"><button part="${`button${this.checked?" button--checked":""}`}" role="radio" aria-checked="${this.checked}" class="${n("relative text-center sd-radio-button-border-radius transition-all ease-in-out duration-100 items-center justify-center focus-visible:focus-outline choice-control-font-weight",this.size==="sm"?"text-sm":"text-base",this.checked&&!this.disabled&&!this.visuallyDisabled?"sd-button--primary--default-color-background sd-button--primary--default-color-text hover:sd-button--primary--hover-color-background hover:text-primary-100":!this.checked&&(this.disabled||this.visuallyDisabled)?"text-neutral-500 hover:cursor-not-allowed":this.checked&&(this.disabled||this.visuallyDisabled)?"bg-neutral-400 text-white hover:cursor-not-allowed ":"bg-transparent sd-radio-button-color-text border-primary cursor-pointer hover:sd-radio-button--hover-color-background hover:sd-radio-button--hover-color-text",e&&{sm:"px-3",md:"px-4",lg:"px-5"}[this.size],this.hasFocus&&"focused-class",e&&"button--has-label",l&&"button--has-icon flex gap-2",m)}" aria-disabled="${this.disabled||this.visuallyDisabled}" type="button" value="${p(this.value)}" tabindex="${this.checked?"0":"-1"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @click="${this.handleClick}"><slot name="icon" part="icon" class="${n(l&&"inline-flex relative items-center",{sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size])}" ?hidden="${!l}"></slot>${e?o`<slot part="label" class="button__label inline-flex relative items-center whitespace-nowrap"></slot>`:null}</button></div>`}};t.styles=[...r.styles,d`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
2
  :host{display:block;width:-moz-min-content;width:min-content}.hidden-input{all:unset;position:absolute;inset:0;z-index:calc(10 * -1);opacity:var(--sd-opacity-0);outline-style:var(--tw-outline-style);outline-width:1px;outline-color:rgba(var(--sd-color-border-error,var(--sd-color-error)));--tw-outline-style:dotted;outline-style:dotted}.lg-label{height:46px}.lg-no-label{height:46px;padding-inline:calc(var(--sd-spacing-1) * 5)}.md-label{height:38px}.md-no-label{height:38px;padding-inline:var(--sd-spacing-4)}.sm-label{height:30px}.sm-no-label{height:30px;padding-inline:var(--sd-spacing-3)}:host([size=lg].sd-button-group__button:not(.sd-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-3) * -1)}:host([size=md].sd-button-group__button:not(.sd-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-2) * -1)}:host([size=sm].sd-button-group__button:not(.sd-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-1) * -1)}:host(.sd-button-group__button--hover){z-index:20}:host(.sd-button-group__button--focus){z-index:30}:host(.sd-button-group__button[checked]){z-index:40}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}`],s([a(".button")],t.prototype,"input",2),s([a(".hidden-input")],t.prototype,"hiddenInput",2),s([u()],t.prototype,"hasFocus",2),s([i({type:String,reflect:!0})],t.prototype,"size",2),s([i({type:Boolean,reflect:!0})],t.prototype,"disabled",2),s([i({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),s([i({type:Boolean,reflect:!0})],t.prototype,"checked",2),s([i()],t.prototype,"value",2),s([h(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),t=s([c("sd-radio-button")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as r}from"./chunk.LHSR56PH.js";import{a as l,b as n}from"./chunk.NL7YFV4O.js";import{a as f}from"./chunk.VAM5SM3O.js";import{a as o}from"./chunk.4ZZFYCXX.js";import{a as u,b as s,d as b,h as d}from"./chunk.SGJYHE3R.js";import{b as h}from"./chunk.OBAEIKIV.js";import{e as i}from"./chunk.6EV4YU6C.js";var e=class extends d{constructor(){super(...arguments);this.localize=new f(this);this.size="lg";this.selected=!1;this.toggleable=!1;this.removable=!1;this.disabled=!1;this.href=""}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleRemove(){this.emit("sd-remove")}isLink(){return!!this.href}click(){this.tag.click()}focus(t){this.tag.focus(t)}blur(){this.tag.blur()}async hide(){this.emit("sd-hide"),this.style.opacity="0",await new Promise(t=>setTimeout(t,this.token("--sd-duration-fast",150))),this.hidden=!0,this.emit("sd-after-hide")}render(){let t=this.isLink(),a=this.removable&&!this.selected&&!this.toggleable,c=t?l`a`:a?l`div`:l`button`;return n`<${c} part="base" type="${r(t?void 0:"button")}" href="${r(t?this.href:void 0)}" rel="${r(t&&this.target?"noreferrer noopener":void 0)}" target="${r(t?this.target:void 0)}" download="${r(t?this.download:void 0)}" ?disabled="${r(t?void 0:this.disabled)}" aria-labelledby="content" aria-disabled="${this.disabled?"true":"false"}" aria-pressed="${r(this.toggleable?this.selected:void 0)}" tabindex="${this.disabled||a?"-1":"0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" class="${o("flex border box-border sd-tag-border-radius items-center leading-none whitespace-nowrap transition-colors duration-fast ease-in-out focus-visible:focus-outline",{lg:"h-8 sd-tag-font-weight sd-tag--size-lg-font-size gap-2",sm:"h-6 sd-tag-font-weight sd-tag--size-sm-font-size gap-1"}[this.size],{lg:a?"sd-tag--removable--size-lg-padding-right sd-tag--removable--size-lg-padding-left py-3":"py-2 sd-tag--size-lg-padding-inline",sm:a?"sd-tag--removable--size-sm-padding-right sd-tag--removable--size-sm-padding-left py-2":"py-1 sd-tag--size-sm-padding-inline"}[this.size],this.disabled?o(!t&&"cursor-not-allowed",this.selected&&"bg-neutral-500 text-white","sd-tag--disabled-color-border sd-tag--disabled-color-text"):this.selected?"sd-tag--selected-border-width sd-tag--selected--default-color-background sd-tag--selected--default-color-border sd-tag--selected--default-color-text hover:sd-tag--selected--hover-color-background hover:sd-tag--selected--hover-color-border hover:sd-tag--selected--hover-color-text":o("sd-tag--default-color-border sd-tag--default-color-text",a?"sd-tag--default-color-background has-[button:hover]:border-primary-500 has-[button:hover]:text-primary-500":"sd-tag--default-color-background hover:border-primary-500 hover:text-primary-500 hover:sd-tag--default--hover-color-background"))}"><slot name="icon-left" class="${o("flex-shrink-0",this.size==="lg"?"text-base":"text-[0.75rem]")}"></slot><slot id="content" part="content"></slot>${a&&!t?n`<button class="sd-interactive flex items-center" type="button" @click="${this.handleRemove}" ?disabled="${r(t?void 0:this.disabled)}"><slot part="removable-indicator" name="removable-indicator" class="${o(this.disabled&&"sd-tag--disabled-color-text")}"><sd-icon library="_internal" name="close" label="${this.localize.term("remove")}"></sd-icon></slot></button>`:""}</${c}>`}};e.styles=[...d.styles,h`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
1
+ import{a as r}from"./chunk.LHSR56PH.js";import{a as l,b as n}from"./chunk.NL7YFV4O.js";import{a as f}from"./chunk.VAM5SM3O.js";import{a as o}from"./chunk.4ZZFYCXX.js";import{a as u,b as s,d as b,h as d}from"./chunk.4SDWX3GC.js";import{b as h}from"./chunk.OBAEIKIV.js";import{e as i}from"./chunk.6EV4YU6C.js";var e=class extends d{constructor(){super(...arguments);this.localize=new f(this);this.size="lg";this.selected=!1;this.toggleable=!1;this.removable=!1;this.disabled=!1;this.href=""}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleRemove(){this.emit("sd-remove")}isLink(){return!!this.href}click(){this.tag.click()}focus(t){this.tag.focus(t)}blur(){this.tag.blur()}async hide(){this.emit("sd-hide"),this.style.opacity="0",await new Promise(t=>setTimeout(t,this.token("--sd-duration-fast",150))),this.hidden=!0,this.emit("sd-after-hide")}render(){let t=this.isLink(),a=this.removable&&!this.selected&&!this.toggleable,c=t?l`a`:a?l`div`:l`button`;return n`<${c} part="base" type="${r(t?void 0:"button")}" href="${r(t?this.href:void 0)}" rel="${r(t&&this.target?"noreferrer noopener":void 0)}" target="${r(t?this.target:void 0)}" download="${r(t?this.download:void 0)}" ?disabled="${r(t?void 0:this.disabled)}" aria-labelledby="content" aria-disabled="${this.disabled?"true":"false"}" aria-pressed="${r(this.toggleable?this.selected:void 0)}" tabindex="${this.disabled||a?"-1":"0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" class="${o("flex border box-border sd-tag-border-radius items-center leading-none whitespace-nowrap transition-colors duration-fast ease-in-out focus-visible:focus-outline",{lg:"h-8 sd-tag-font-weight sd-tag--size-lg-font-size gap-2",sm:"h-6 sd-tag-font-weight sd-tag--size-sm-font-size gap-1"}[this.size],{lg:a?"sd-tag--removable--size-lg-padding-right sd-tag--removable--size-lg-padding-left py-3":"py-2 sd-tag--size-lg-padding-inline",sm:a?"sd-tag--removable--size-sm-padding-right sd-tag--removable--size-sm-padding-left py-2":"py-1 sd-tag--size-sm-padding-inline"}[this.size],this.disabled?o(!t&&"cursor-not-allowed",this.selected&&"bg-neutral-500 text-white","sd-tag--disabled-color-border sd-tag--disabled-color-text"):this.selected?"sd-tag--selected-border-width sd-tag--selected--default-color-background sd-tag--selected--default-color-border sd-tag--selected--default-color-text hover:sd-tag--selected--hover-color-background hover:sd-tag--selected--hover-color-border hover:sd-tag--selected--hover-color-text":o("sd-tag--default-color-border sd-tag--default-color-text",a?"sd-tag--default-color-background has-[button:hover]:border-primary-500 has-[button:hover]:text-primary-500":"sd-tag--default-color-background hover:border-primary-500 hover:text-primary-500 hover:sd-tag--default--hover-color-background"))}"><slot name="icon-left" class="${o("flex-shrink-0",this.size==="lg"?"text-base":"text-[0.75rem]")}"></slot><slot id="content" part="content"></slot>${a&&!t?n`<button class="sd-interactive flex items-center" type="button" @click="${this.handleRemove}" ?disabled="${r(t?void 0:this.disabled)}"><slot part="removable-indicator" name="removable-indicator" class="${o(this.disabled&&"sd-tag--disabled-color-text")}"><sd-icon library="_internal" name="close" label="${this.localize.term("remove")}"></sd-icon></slot></button>`:""}</${c}>`}};e.styles=[...d.styles,h`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
2
  :host{display:inline-block;transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,150ms));--tw-duration:var(--sd-duration-fast, 150ms);transition-duration:var(--sd-duration-fast,150ms);--tw-ease:var(--ease-in-out, cubic-bezier(0.4, 0, 0.2, 1));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}:host([size=lg])::part(removable-indicator){font-size:var(--sd-text-base);line-height:var(--tw-leading,var(--text-base--line-height,calc(1.5 / 1)))}:host([size=sm])::part(removable-indicator){font-size:.75rem}.sd-tag--disabled-color-border{border-color:rgb(var(--sd-tag--disabled-color-border))}.sd-tag-font-weight{font-weight:var(--sd-tag-font-weight)}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}`],i([b("a, button, div")],e.prototype,"tag",2),i([s({type:String,reflect:!0})],e.prototype,"size",2),i([s({type:Boolean,reflect:!0})],e.prototype,"selected",2),i([s({type:Boolean,reflect:!0})],e.prototype,"toggleable",2),i([s({type:Boolean,reflect:!0})],e.prototype,"removable",2),i([s({type:Boolean,reflect:!0})],e.prototype,"disabled",2),i([s({type:String,reflect:!0})],e.prototype,"href",2),i([s({type:String,reflect:!0})],e.prototype,"target",2),i([s({reflect:!0})],e.prototype,"download",2),e=i([u("sd-tag")],e);export{e as a};
@@ -1,2 +1,2 @@
1
- import{a as p}from"./chunk.CGQ2BPPZ.js";import{a as i}from"./chunk.4ZZFYCXX.js";import{a as r}from"./chunk.NYKJXI3Q.js";import{a as d,b as o,h as n}from"./chunk.SGJYHE3R.js";import{b as m,e as s}from"./chunk.OBAEIKIV.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 a=this.getAllCheckboxes();await Promise.all(a.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 a=this.hasSlotController.test("label"),l=this.label?!0:a,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="${i("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="${i("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="${i({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="${i("text-sm text-neutral-700 mt-2",c?"block":"hidden")}" aria-hidden="${!c}">${this.helpText}</slot>`}};t.styles=[...n.styles,m`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as p}from"./chunk.CGQ2BPPZ.js";import{a as i}from"./chunk.4ZZFYCXX.js";import{a as r}from"./chunk.NYKJXI3Q.js";import{a as d,b as o,h as n}from"./chunk.4SDWX3GC.js";import{b as m,e as s}from"./chunk.OBAEIKIV.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 a=this.getAllCheckboxes();await Promise.all(a.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 a=this.hasSlotController.test("label"),l=this.label?!0:a,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="${i("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="${i("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="${i({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="${i("text-sm text-neutral-700 mt-2",c?"block":"hidden")}" aria-hidden="${!c}">${this.helpText}</slot>`}};t.styles=[...n.styles,m`/*! tailwindcss v4.3.2 | 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:0}:host([orientation=horizontal]) ::slotted(sd-checkbox){margin-right:var(--sd-spacing-6)}:host([orientation=horizontal]) ::slotted(sd-checkbox:last-of-type){margin-right: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: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,2 +1,2 @@
1
- import{a as c}from"./chunk.VAM5SM3O.js";import{a as s}from"./chunk.4ZZFYCXX.js";import{a as i,b as a,h as r}from"./chunk.SGJYHE3R.js";import{b as l,e as o}from"./chunk.OBAEIKIV.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends r{constructor(){super(...arguments);this.localize=new c(this);this.subtick=!1}render(){return o`<div part="base" class="${s(this.subtick?"w-0.25":"w-0.5")}"><div part="line" class="${s(this.subtick?"h-2":"h-[10px]")}"></div><div part="label" class="flex items-center justify-center text-center text-nowrap text-sm sd-range-scale-ticks-color-text"><slot></slot></div></div>`}};t.styles=[...r.styles,l`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as c}from"./chunk.VAM5SM3O.js";import{a as s}from"./chunk.4ZZFYCXX.js";import{a as i,b as a,h as r}from"./chunk.4SDWX3GC.js";import{b as l,e as o}from"./chunk.OBAEIKIV.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends r{constructor(){super(...arguments);this.localize=new c(this);this.subtick=!1}render(){return o`<div part="base" class="${s(this.subtick?"w-0.25":"w-0.5")}"><div part="line" class="${s(this.subtick?"h-2":"h-[10px]")}"></div><div part="label" class="flex items-center justify-center text-center text-nowrap text-sm sd-range-scale-ticks-color-text"><slot></slot></div></div>`}};t.styles=[...r.styles,l`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  [part='line']{background-color:rgba(var(--sd-color-border-neutral-400,rgba(var(--sd-color-neutral-400))))}`],e([a({type:Boolean,reflect:!0})],t.prototype,"subtick",2),t=e([i("sd-range-tick")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as b}from"./chunk.DSKB3SEU.js";import{a as h,b as u}from"./chunk.CGQ2BPPZ.js";import{a as l}from"./chunk.4ZZFYCXX.js";import{a}from"./chunk.NYKJXI3Q.js";import{a as d,b as i,d as r,h as n}from"./chunk.SGJYHE3R.js";import{b as c,e as o}from"./chunk.OBAEIKIV.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends n{constructor(){super(...arguments);this.type="normal";this.checked=!1;this.disabled=!1;this.value="";this.chevron=!1;this.hasSlotController=new h(this,"submenu");this.submenuController=new b(this,this.hasSlotController);this.handleHostClick=s=>{this.disabled&&(s.preventDefault(),s.stopImmediatePropagation())};this.handleMouseOver=s=>{this.focus(),s.stopPropagation()}}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleHostClick),this.addEventListener("mouseover",this.handleMouseOver)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleHostClick),this.removeEventListener("mouseover",this.handleMouseOver)}handleDefaultSlotChange(){let s=this.getTextLabel();if(typeof this.cachedTextLabel=="undefined"){this.cachedTextLabel=s;return}s!==this.cachedTextLabel&&(this.cachedTextLabel=s,this.emit("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}handleCheckedChange(){if(this.checked&&this.type!=="checkbox"){this.checked=!1,console.error('The checked attribute can only be used on menu items with type="checkbox"',this);return}this.type==="checkbox"?this.setAttribute("aria-checked",this.checked?"true":"false"):this.removeAttribute("aria-checked")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false"),this.setAttribute("tabindex",this.disabled?"-1":"0")}handleTypeChange(){this.type==="checkbox"?(this.setAttribute("role","menuitemcheckbox"),this.setAttribute("aria-checked",this.checked?"true":"false")):(this.setAttribute("role","menuitem"),this.removeAttribute("aria-checked"))}getTextLabel(){return u(this.defaultSlot)}isSubmenu(){return this.hasSlotController.test("submenu")}render(){let s=this.submenuController.isExpanded(),p={label:this.hasSlotController.test("[default]"),iconIndent:this.hasSlotController.test("icon-indent")};return o`<div id="anchor" part="base" class="${l("relative flex items-stretch whitespace-nowrap py-3 px-4 no-wrap !navigable-border-radius",this.disabled?"outline-none cursor-not-allowed sd-menu--disabled-color-text hover:bg-transparent":"cursor-pointer sd-menu-color-text hover:bg-neutral-200",this.isSubmenu()&&s&&"submenu-expanded")}" .disabled="${this.disabled}" ?aria-haspopup="${this.isSubmenu()}" ?aria-expanded="${!!s}">${this.type==="checkbox"?o`<span part="checked-icon" class="${l("flex items-center justify-center grow-0 shrink-0 basis-auto",this.checked?"visible":"invisible")}"><sd-icon name="status-check" library="sd-status-assets" aria-hidden="true"></sd-icon></span>`:""} ${p.iconIndent?o`<slot name="icon-indent" part="icon-indent" class="flex items-center grow-0 shrink-0 basis-auto mr-2"></slot>`:""}<slot part="label" class="inline-flex grow shrink basis-auto text-ellipsis overflow-hidden" @slotchange="${this.handleDefaultSlotChange}"></slot>${this.chevron||this.isSubmenu()?o`<span part="submenu-icon" class="flex items-center justify-center grow-0 shrink-0 basis-auto ml-3"><sd-icon name="chevron-right" library="_internal" aria-hidden="true" class="h-6 w-6"></sd-icon></span>`:""} ${this.submenuController.renderSubmenu()}</div>`}};e.styles=[...n.styles,c`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
1
+ import{a as b}from"./chunk.DSKB3SEU.js";import{a as h,b as u}from"./chunk.CGQ2BPPZ.js";import{a as l}from"./chunk.4ZZFYCXX.js";import{a}from"./chunk.NYKJXI3Q.js";import{a as d,b as i,d as r,h as n}from"./chunk.4SDWX3GC.js";import{b as c,e as o}from"./chunk.OBAEIKIV.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends n{constructor(){super(...arguments);this.type="normal";this.checked=!1;this.disabled=!1;this.value="";this.chevron=!1;this.hasSlotController=new h(this,"submenu");this.submenuController=new b(this,this.hasSlotController);this.handleHostClick=s=>{this.disabled&&(s.preventDefault(),s.stopImmediatePropagation())};this.handleMouseOver=s=>{this.focus(),s.stopPropagation()}}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleHostClick),this.addEventListener("mouseover",this.handleMouseOver)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleHostClick),this.removeEventListener("mouseover",this.handleMouseOver)}handleDefaultSlotChange(){let s=this.getTextLabel();if(typeof this.cachedTextLabel=="undefined"){this.cachedTextLabel=s;return}s!==this.cachedTextLabel&&(this.cachedTextLabel=s,this.emit("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}handleCheckedChange(){if(this.checked&&this.type!=="checkbox"){this.checked=!1,console.error('The checked attribute can only be used on menu items with type="checkbox"',this);return}this.type==="checkbox"?this.setAttribute("aria-checked",this.checked?"true":"false"):this.removeAttribute("aria-checked")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false"),this.setAttribute("tabindex",this.disabled?"-1":"0")}handleTypeChange(){this.type==="checkbox"?(this.setAttribute("role","menuitemcheckbox"),this.setAttribute("aria-checked",this.checked?"true":"false")):(this.setAttribute("role","menuitem"),this.removeAttribute("aria-checked"))}getTextLabel(){return u(this.defaultSlot)}isSubmenu(){return this.hasSlotController.test("submenu")}render(){let s=this.submenuController.isExpanded(),p={label:this.hasSlotController.test("[default]"),iconIndent:this.hasSlotController.test("icon-indent")};return o`<div id="anchor" part="base" class="${l("relative flex items-stretch whitespace-nowrap py-3 px-4 no-wrap !navigable-border-radius",this.disabled?"outline-none cursor-not-allowed sd-menu--disabled-color-text hover:bg-transparent":"cursor-pointer sd-menu-color-text hover:bg-neutral-200",this.isSubmenu()&&s&&"submenu-expanded")}" .disabled="${this.disabled}" ?aria-haspopup="${this.isSubmenu()}" ?aria-expanded="${!!s}">${this.type==="checkbox"?o`<span part="checked-icon" class="${l("flex items-center justify-center grow-0 shrink-0 basis-auto",this.checked?"visible":"invisible")}"><sd-icon name="status-check" library="sd-status-assets" aria-hidden="true"></sd-icon></span>`:""} ${p.iconIndent?o`<slot name="icon-indent" part="icon-indent" class="flex items-center grow-0 shrink-0 basis-auto mr-2"></slot>`:""}<slot part="label" class="inline-flex grow shrink basis-auto text-ellipsis overflow-hidden" @slotchange="${this.handleDefaultSlotChange}"></slot>${this.chevron||this.isSubmenu()?o`<span part="submenu-icon" class="flex items-center justify-center grow-0 shrink-0 basis-auto ml-3"><sd-icon name="chevron-right" library="_internal" aria-hidden="true" class="h-6 w-6"></sd-icon></span>`:""} ${this.submenuController.renderSubmenu()}</div>`}};e.styles=[...n.styles,c`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
2
  :host{--submenu-offset:-6px;display:block}:host(:focus-visible){--tw-outline-style:none;outline-style:none}::slotted(sd-icon){height:var(--sd-spacing-6);width:var(--sd-spacing-6)}[part=checked-icon]{margin-right:var(--sd-spacing-3)}.submenu-expanded::after{position:fixed;top:0;right:0;bottom:0;left:0;z-index:calc(var(z-dropdown) - 1);--tw-content:'';content:var(--tw-content);clip-path:polygon(var(--safe-triangle-cursor-x,0) var(--safe-triangle-cursor-y,0),var(--safe-triangle-submenu-start-x,0) var(--safe-triangle-submenu-start-y,0),var(--safe-triangle-submenu-end-x,0) var(--safe-triangle-submenu-end-y,0))}:host(:hover:not([aria-disabled=true],:focus-visible)) [part=base]{background-color:rgba(var(--sd-color-background-neutral-200));--tw-outline-style:none;outline-style:none}:host(:focus-visible:not([aria-disabled=true])) [part=base]{outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:var(--outline-color-primary);outline-offset:-2px}:host(.menu-item-focus) [part=base]{outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:var(--outline-color-primary);outline-offset:-2px}:host(:hover) [part=base]{--tw-outline-style:none;outline-style:none}//TODO clean up sd-menu-color-icon variable replacing with sd-menu-item-color-icon-fill (breakingchange) :host [part=icon-indent],:host [part=checked-icon],:host [part=submenu-icon]{color:rgba(var(--sd-menu-color-icon,var(--sd-menu-item-color-icon-fill)))}//TODO clean up sd-menu--disabled-color-icon variable replacing with sd-menu-item--disabled-color-icon-fill (breakingchange) :host([aria-disabled=true]) [part=icon-indent]{color:rgba(var(--sd-menu--disabled-color-icon,var(--sd-menu-item--disabled-color-icon-fill)))}sd-popup::part(popup){z-index:var(--sd-z-index-dropdown,900);background-color:rgba(var(--sd-color-background-white));margin-left:var(--submenu-offset)}::slotted(sd-menu){max-width:var(--auto-size-available-width)!important;max-height:var(--auto-size-available-height)!important}.sd-menu-color-text{color:rgba(var(--sd-menu-color-text,var(--sd-menu-item-color-text)))}.sd-menu--disabled-color-text{color:rgba(var(--sd-menu--disabled-color-text,var(--sd-menu-item--disabled-color-text)))}@property --tw-content{syntax:"*";inherits:false;initial-value:""}`],t([r("slot:not([name])")],e.prototype,"defaultSlot",2),t([r('part="base"')],e.prototype,"menuItem",2),t([i()],e.prototype,"type",2),t([i({type:Boolean,reflect:!0})],e.prototype,"checked",2),t([i({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([i()],e.prototype,"value",2),t([i({type:Boolean,reflect:!0})],e.prototype,"chevron",2),t([a("checked")],e.prototype,"handleCheckedChange",1),t([a("disabled")],e.prototype,"handleDisabledChange",1),t([a("type")],e.prototype,"handleTypeChange",1),e=t([d("sd-menu-item")],e);export{e as a};
@@ -0,0 +1,4 @@
1
+ import{a as M}from"./chunk.OKNJ5BPS.js";import{a as f,c as g}from"./chunk.B2NUKX6G.js";import{a as b}from"./chunk.KLRPP4NQ.js";import{a as L}from"./chunk.VAM5SM3O.js";import{a as k}from"./chunk.4ZZFYCXX.js";import{a as T}from"./chunk.NYKJXI3Q.js";import{a as v,b as l,d as p,h as m}from"./chunk.4SDWX3GC.js";import{b as w,e as E}from"./chunk.OBAEIKIV.js";import{b as h,e as c}from"./chunk.W4QBFD6E.js";import{e as s}from"./chunk.6EV4YU6C.js";function A(n,a){let e=n;for(;e;){if(e.matches(a))return e;if(e.parentElement)e=e.parentElement;else if(e.parentNode instanceof ShadowRoot)e=e.parentNode.host;else break}return null}function y(n=document.activeElement){if(n!=null&&n.shadowRoot){let a=n.shadowRoot.activeElement;if(a)return y(a)}return n}function C(n){let a=n.tagName.toLowerCase();return n.getAttribute("tabindex")==="-1"||n.hasAttribute("disabled")||n.hasAttribute("aria-disabled")&&n.getAttribute("aria-disabled")!=="false"||a==="input"&&n.getAttribute("type")==="radio"&&!n.hasAttribute("checked")||n.offsetParent===null&&!(n.getRootNode()instanceof ShadowRoot)||window.getComputedStyle(n).visibility==="hidden"?!1:(a==="audio"||a==="video")&&n.hasAttribute("controls")||n.hasAttribute("tabindex")||n.hasAttribute("contenteditable")&&n.getAttribute("contenteditable")!=="false"?!0:["button","input","select","textarea","a","audio","video","summary"].includes(a)}function H(n){var d,u;let a=[];function e(r){r instanceof HTMLElement&&(a.push(r),r.shadowRoot!==null&&r.shadowRoot.mode==="open"&&e(r.shadowRoot)),[...r.children].forEach(D=>e(D))}e(n);let t=(d=a.find(r=>C(r)))!=null?d:null,o=(u=a.reverse().find(r=>C(r)))!=null?u:null;return{start:t,end:o}}var i=class extends m{constructor(){super(...arguments);this.localize=new L(this);this.open=!1;this.rounded=!1;this.placement="bottom-start";this.disabled=!1;this.stayOpenOnSelect=!1;this.distance=0;this.skidding=0;this.noAutoSize=!1;this.noFlip=!1;this.hoist=!1}connectedCallback(){super.connectedCallback(),this.handleMenuItemActivate=this.handleMenuItemActivate.bind(this),this.handlePanelSelect=this.handlePanelSelect.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleDocumentKeyDown=this.handleDocumentKeyDown.bind(this),this.handleDocumentMouseDown=this.handleDocumentMouseDown.bind(this),this.containingElement||(this.containingElement=this)}firstUpdated(){this.panel.hidden=!this.open,this.open&&(this.addOpenListeners(),this.popup.active=!0)}disconnectedCallback(){super.disconnectedCallback(),this.removeOpenListeners(),this.hide()}getAccessibleTrigger(){let t=this.trigger.assignedElements({flatten:!0}).find(d=>H(d).start),o=null;if(t)switch(t.tagName.toLowerCase()){case"sd-button":case"sd-icon-button":o=t.button;break;case"sd-navigation-item":o=t.button;break;default:o=t}return o}updateAccessibleTrigger(){let e=this.getAccessibleTrigger();e&&(e.setAttribute("aria-haspopup","true"),e.setAttribute("aria-expanded",this.open?"true":"false"))}focusOnTrigger(){let e=this.getAccessibleTrigger();typeof(e==null?void 0:e.focus)=="function"&&e.focus()}getMenu(){return this.panel.assignedElements({flatten:!0}).find(e=>e.tagName.toLowerCase()==="sd-menu")}handleKeyDown(e){this.open&&e.key==="Escape"&&(e.stopPropagation(),this.hide(),this.focusOnTrigger())}handleDocumentKeyDown(e){var t;if(e.key==="Tab"){if(this.open&&((t=document.activeElement)==null?void 0:t.tagName.toLowerCase())==="sd-menu-item"){e.preventDefault(),this.hide(),this.focusOnTrigger();return}setTimeout(()=>{let o=y();(!o||!this.containingElement||A(o,this.containingElement.tagName.toLowerCase())!==this.containingElement)&&this.hide()})}}handleDocumentMouseDown(e){let t=e.composedPath();this.containingElement&&!t.includes(this.containingElement)&&this.hide()}handleMenuItemActivate(e){let t=e.target;M(t,this.panel)}handlePanelSelect(e){let t=e.target;!this.stayOpenOnSelect&&t.tagName.toLowerCase()==="sd-menu"&&(this.hide(),this.focusOnTrigger())}handleTriggerClick(){if(this.open){let e=this.getMenu();if(e){let t=e.getCurrentItem();t==null||t.classList.remove("menu-item-focus")}this.hide()}else this.show()}handleTriggerKeyDown(e){if(e.key==="Escape"&&this.open){e.stopPropagation(),this.focusOnTrigger(),this.handleTriggerClick();return}if([" ","Enter"].includes(e.key)){e.preventDefault(),this.handleTriggerClick();return}let t=this.getMenu();if(t){let o=t.defaultSlot.assignedElements({flatten:!0}),d=o.find(r=>!r.disabled)||o[0],u=o[o.length-1];["ArrowDown","ArrowUp","Home","End"].includes(e.key)&&(e.preventDefault(),this.open||this.show(),o.length>0&&requestAnimationFrame(()=>{(e.key==="ArrowDown"||e.key==="Home")&&(t.setCurrentItem(d),d.focus(),d.classList.add("menu-item-focus")),(e.key==="ArrowUp"||e.key==="End")&&(t.setCurrentItem(u),u.focus(),u.classList.add("menu-item-focus"))}))}}handleTriggerKeyUp(e){e.key===" "&&e.preventDefault()}handleTriggerSlotChange(){this.updateAccessibleTrigger()}async show(){if(!this.open)return this.open=!0,b(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,b(this,"sd-after-hide")}reposition(){this.popup.reposition()}addOpenListeners(){this.panel.addEventListener("sd-activate",this.handleMenuItemActivate),this.panel.addEventListener("sd-select",this.handlePanelSelect),this.panel.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keydown",this.handleDocumentKeyDown),document.addEventListener("mousedown",this.handleDocumentMouseDown)}removeOpenListeners(){this.panel&&(this.panel.removeEventListener("sd-activate",this.handleMenuItemActivate),this.panel.removeEventListener("sd-select",this.handlePanelSelect),this.panel.removeEventListener("keydown",this.handleKeyDown)),document.removeEventListener("keydown",this.handleDocumentKeyDown),document.removeEventListener("mousedown",this.handleDocumentMouseDown)}async handleOpenChange(){if(this.disabled){this.open=!1;return}if(this.updateAccessibleTrigger(),this.open){this.emit("sd-show"),this.addOpenListeners(),await c(this),this.panel.hidden=!1,this.popup.active=!0;let{keyframes:e,options:t}=g(this,"dropdown.show",{dir:this.localize.dir()});await h(this.popup.popup,e,t),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),await c(this);let{keyframes:e,options:t}=g(this,"dropdown.hide",{dir:this.localize.dir()});await h(this.popup.popup,e,t),this.panel.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}}render(){return E`<sd-popup part="base" id="dropdown" exportparts="
2
+ popup:base__popup,
3
+ " placement="${this.placement}" distance="${this.rounded&&this.distance<1?1:this.distance}" skidding="${this.skidding}" strategy="${this.hoist?"fixed":"absolute"}" ?flip="${!this.noFlip}" shift auto-size="vertical" auto-size-padding="10"><slot name="trigger" slot="anchor" part="trigger" class="block" @click="${this.handleTriggerClick}" @keydown="${this.handleTriggerKeyDown}" @keyup="${this.handleTriggerKeyUp}" @slotchange="${this.handleTriggerSlotChange}"></slot><slot part="panel" class="${k("panel-color-border border shadow sd-dropdown-color-background block",this.open?"pointer-events-auto":"pointer-events-none",this.rounded&&"rounded-md")}" aria-hidden="${this.open?"false":"true"}" aria-labelledby="dropdown"></slot></sd-popup>`}};i.styles=[...m.styles,w`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
4
+ :host{display:inline-block}#dropdown::part(popup){z-index:var(--sd-z-index-dropdown,900)}#dropdown[data-current-placement^=top]::part(popup){transform-origin:bottom}#dropdown[data-current-placement^=bottom]::part(popup){transform-origin:top}#dropdown[data-current-placement^=left]::part(popup){transform-origin:100%}#dropdown[data-current-placement^=right]::part(popup){transform-origin:0}:host(:not([no-auto-size])) ::slotted(:not([slot=trigger])){overflow:auto;max-width:var(--auto-size-available-width)!important;max-height:var(--auto-size-available-height)!important}`],s([p("#dropdown")],i.prototype,"popup",2),s([p("[part=trigger]")],i.prototype,"trigger",2),s([p("[part=panel]")],i.prototype,"panel",2),s([l({type:Boolean,reflect:!0})],i.prototype,"open",2),s([l({type:Boolean,reflect:!0})],i.prototype,"rounded",2),s([l({type:String,reflect:!0})],i.prototype,"placement",2),s([l({type:Boolean,reflect:!0})],i.prototype,"disabled",2),s([l({attribute:"stay-open-on-select",type:Boolean,reflect:!0})],i.prototype,"stayOpenOnSelect",2),s([l({type:Object})],i.prototype,"containingElement",2),s([l({type:Number,reflect:!0})],i.prototype,"distance",2),s([l({type:Number,reflect:!0})],i.prototype,"skidding",2),s([l({type:Boolean,reflect:!0,attribute:"no-auto-size"})],i.prototype,"noAutoSize",2),s([l({type:Boolean,reflect:!0,attribute:"no-flip"})],i.prototype,"noFlip",2),s([l({type:Boolean,reflect:!0})],i.prototype,"hoist",2),s([T("open",{waitUntilFirstUpdate:!0})],i.prototype,"handleOpenChange",1),i=s([v("sd-dropdown")],i);f("dropdown.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});f("dropdown.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{i as a};
@@ -1,4 +1,4 @@
1
- import{a as v}from"./chunk.SAEYIL5V.js";import{a as b}from"./chunk.ERP45OHF.js";import{b as u}from"./chunk.LZRL7OLU.js";import{a as m}from"./chunk.LHSR56PH.js";import{a as p}from"./chunk.CGQ2BPPZ.js";import{a as i}from"./chunk.4ZZFYCXX.js";import{a}from"./chunk.NYKJXI3Q.js";import{a as c,b as o,c as h,d as s,h as n}from"./chunk.SGJYHE3R.js";import{b as d,e as l}from"./chunk.OBAEIKIV.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends n{constructor(){super(...arguments);this.hasSlotController=new p(this,"tooltip");this.formControlController=new u(this,{value:r=>r.checked?r.value||"on":void 0,defaultValue:r=>r.defaultChecked,setValue:(r,f)=>r.checked=f});this.showInvalidStyle=!1;this.title="";this.name="";this.disabled=!1;this.checked=!1;this.defaultChecked=!1;this.form="";this.required=!1}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleClick(){this.checked=!this.checked,this.emit("sd-change")}handleBlur(){this.emit("sd-blur")}handleInput(){this.emit("sd-input")}handleInvalid(r){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(r),this.invalidMessage.textContent=r.target.validationMessage}handleFocus(){this.emit("sd-focus")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false"),this.formControlController.setValidity(this.disabled)}handleStateChange(){this.input.checked=this.checked,this.formControlController.updateValidity()}click(){this.input.click()}focus(r){this.input.focus(r)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(r){this.input.setCustomValidity(r),this.formControlController.updateValidity()}render(){return l`<div class="flex flex-row items-center gap-2"><label part="base" class="${i("group flex items-center text-base leading-normal text-black cursor-pointer",this.disabled&&"hover:cursor-not-allowed")}"><input id="input" class="peer absolute opacity-0 p-0 m-0 pointer-events-none" type="checkbox" role="switch" title="${this.title}" name="${this.name}" value="${m(this.value)}" .checked="${v(this.checked)}" .disabled="${this.disabled}" .required="${this.required}" aria-checked="${this.checked?"true":"false"}" aria-invalid="${this.showInvalidStyle}" aria-describedby="invalid-message" @click="${this.handleClick}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @blur="${this.handleBlur}" @focus="${this.handleFocus}"> <span id="control" part="control ${this.checked?" control--checked":"control--unchecked"}" class="${i(`relative flex flex-initial items-center justify-center sd-switch-border-width rounded-full h-4 w-8 transition-colors ease duration-100
1
+ import{a as v}from"./chunk.SAEYIL5V.js";import{a as b}from"./chunk.ERP45OHF.js";import{b as u}from"./chunk.LZRL7OLU.js";import{a as m}from"./chunk.LHSR56PH.js";import{a as p}from"./chunk.CGQ2BPPZ.js";import{a as i}from"./chunk.4ZZFYCXX.js";import{a}from"./chunk.NYKJXI3Q.js";import{a as c,b as o,c as h,d as s,h as n}from"./chunk.4SDWX3GC.js";import{b as d,e as l}from"./chunk.OBAEIKIV.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends n{constructor(){super(...arguments);this.hasSlotController=new p(this,"tooltip");this.formControlController=new u(this,{value:r=>r.checked?r.value||"on":void 0,defaultValue:r=>r.defaultChecked,setValue:(r,f)=>r.checked=f});this.showInvalidStyle=!1;this.title="";this.name="";this.disabled=!1;this.checked=!1;this.defaultChecked=!1;this.form="";this.required=!1}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleClick(){this.checked=!this.checked,this.emit("sd-change")}handleBlur(){this.emit("sd-blur")}handleInput(){this.emit("sd-input")}handleInvalid(r){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(r),this.invalidMessage.textContent=r.target.validationMessage}handleFocus(){this.emit("sd-focus")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false"),this.formControlController.setValidity(this.disabled)}handleStateChange(){this.input.checked=this.checked,this.formControlController.updateValidity()}click(){this.input.click()}focus(r){this.input.focus(r)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(r){this.input.setCustomValidity(r),this.formControlController.updateValidity()}render(){return l`<div class="flex flex-row items-center gap-2"><label part="base" class="${i("group flex items-center text-base leading-normal text-black cursor-pointer",this.disabled&&"hover:cursor-not-allowed")}"><input id="input" class="peer absolute opacity-0 p-0 m-0 pointer-events-none" type="checkbox" role="switch" title="${this.title}" name="${this.name}" value="${m(this.value)}" .checked="${v(this.checked)}" .disabled="${this.disabled}" .required="${this.required}" aria-checked="${this.checked?"true":"false"}" aria-invalid="${this.showInvalidStyle}" aria-describedby="invalid-message" @click="${this.handleClick}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @blur="${this.handleBlur}" @focus="${this.handleFocus}"> <span id="control" part="control ${this.checked?" control--checked":"control--unchecked"}" class="${i(`relative flex flex-initial items-center justify-center sd-switch-border-width rounded-full h-4 w-8 transition-colors ease duration-100
2
2
  peer-focus-visible:outline peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2
3
3
  peer-focus-visible:outline-primary outline-transparent transition-colors ease-in-out duration-medium hover:duration-fast`,this.disabled&&this.checked?"bg-neutral-500":this.disabled?"border-neutral-500":this.showInvalidStyle?this.checked?"border-error bg-error hover:bg-error-400 hover:border-error-400 group-hover:border-error-400 group-hover:bg-error-400":"border-error bg-white hover:border-error-400 hover:bg-white group-hover:border-error-400 group-hover:bg-white":this.checked?"border-accent hover:sd-switch--checked--hover-color-background bg-accent hover:border-accent-550 group-hover:border-accent-550 group-hover:sd-switch--checked--hover-color-background":"sd-switch--unchecked-color-border bg-white hover:sd-switch--unchecked--hover-color-background group-hover:sd-switch--unchecked--hover-color-background")}"><span id="thumb" part="thumb" class="${i("w-2.5 h-2.5 rounded-full transition[transform,colors] ease-in-out duration-medium",this.disabled&&this.checked?"translate-x-2":this.disabled?"-translate-x-2":this.showInvalidStyle?this.checked?"translate-x-2":"bg-error -translate-x-2 hover:bg-error-400 hover:border-error-400 group-hover:border-error-400 group-hover:bg-error-400":this.checked?"translate-x-2":"-translate-x-2 sd-switch--unchecked__icon-color-background")}"></span> </span><span part="label" id="label" class="${i("select-none inline-block ml-2",this.disabled?"text-neutral-500":"sd-switch-color-text")}"><slot></slot></span></label> ${this.hasSlotController.test("tooltip")?l`<slot name="tooltip"></slot>`:null}</div><div part="invalid-icon-message" class="flex items-center gap-2 mt-2">${this.showInvalidStyle?l`<sd-icon part="invalid-icon" class="${i("text-error")}" library="_internal" name="risk"></sd-icon>`:""} ${this.formControlController.renderInvalidMessage("lg")}</div>`}};e.styles=[...n.styles,d`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
4
4
  :host{display:block;width:-moz-max-content;width:max-content}:host(:focus-visible){--tw-outline-style:none;outline-style:none}:host([required]) #label::after{content:' *'}:host([disabled][checked]) #control{border-color:rgba(var(--sd-color-background-neutral-500,rgba(var(--sd-color-neutral-500))))}:host([checked]) [part=thumb]{background-color:rgba(var(--sd-color-icon-fill-white,rgba(var(--sd-color-white))))}:host([disabled]:not([checked])) [part=thumb]{background-color:rgba(var(--sd-color-icon-fill-neutral-500,rgba(var(--sd-color-neutral-500))))}`],t([s("input")],e.prototype,"input",2),t([s("#invalid-message")],e.prototype,"invalidMessage",2),t([h()],e.prototype,"showInvalidStyle",2),t([o({type:String,reflect:!0})],e.prototype,"title",2),t([o({type:String,reflect:!0})],e.prototype,"name",2),t([o()],e.prototype,"value",2),t([o({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([o({type:Boolean,reflect:!0})],e.prototype,"checked",2),t([b("checked")],e.prototype,"defaultChecked",2),t([o({reflect:!0})],e.prototype,"form",2),t([o({type:Boolean,reflect:!0})],e.prototype,"required",2),t([a("disabled",{waitUntilFirstUpdate:!0})],e.prototype,"handleDisabledChange",1),t([a(["checked"],{waitUntilFirstUpdate:!0})],e.prototype,"handleStateChange",1),e=t([c("sd-switch")],e);export{e as a};
@@ -1,2 +1,2 @@
1
- import{a as n}from"./chunk.4ZZFYCXX.js";import{a,b as r,h as o}from"./chunk.SGJYHE3R.js";import{b as i,e as l}from"./chunk.OBAEIKIV.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 l`<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.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as n}from"./chunk.4ZZFYCXX.js";import{a,b as r,h as o}from"./chunk.4SDWX3GC.js";import{b as i,e as l}from"./chunk.OBAEIKIV.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 l`<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.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{margin: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([a("sd-divider")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as l,b as i,g as c,h as o}from"./chunk.SGJYHE3R.js";import{b as a,e as n}from"./chunk.OBAEIKIV.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends o{constructor(){super(...arguments);this.closeOthers=!1;this.handleAccordionShow=r=>{this.closeOthers&&this._accordionsInDefaultSlot.forEach(s=>{s!==r.target&&s.parentNode===r.target.parentNode&&s.removeAttribute("open")})}}connectedCallback(){super.connectedCallback(),this.addEventListener("sd-show",this.handleAccordionShow)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("sd-show",this.handleAccordionShow)}render(){return n`<div part="base"><slot></slot></div>`}};e.styles=[...o.styles,a`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as l,b as i,g as c,h as o}from"./chunk.4SDWX3GC.js";import{b as a,e as n}from"./chunk.OBAEIKIV.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends o{constructor(){super(...arguments);this.closeOthers=!1;this.handleAccordionShow=r=>{this.closeOthers&&this._accordionsInDefaultSlot.forEach(s=>{s!==r.target&&s.parentNode===r.target.parentNode&&s.removeAttribute("open")})}}connectedCallback(){super.connectedCallback(),this.addEventListener("sd-show",this.handleAccordionShow)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("sd-show",this.handleAccordionShow)}render(){return n`<div part="base"><slot></slot></div>`}};e.styles=[...o.styles,a`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{display:block}::slotted(sd-accordion:not(:first-of-type)){margin-top:calc(-1 * var(--sd-accordion-border-width))!important}`],t([c({selector:"sd-accordion"})],e.prototype,"_accordionsInDefaultSlot",2),t([i({attribute:"close-others",type:Boolean,reflect:!0})],e.prototype,"closeOthers",2),e=t([l("sd-accordion-group")],e);export{e as a};
@@ -1,4 +1,4 @@
1
- import{a as x}from"./chunk.CGQ2BPPZ.js";import{a as m,c as f}from"./chunk.B2NUKX6G.js";import{a as w}from"./chunk.KLRPP4NQ.js";import{a as k}from"./chunk.VAM5SM3O.js";import{a as l}from"./chunk.4ZZFYCXX.js";import{a as h}from"./chunk.NYKJXI3Q.js";import{a as b,b as o,d as n,h as c}from"./chunk.SGJYHE3R.js";import{b as g,e as a}from"./chunk.OBAEIKIV.js";import{b as d,c as p,e as u}from"./chunk.W4QBFD6E.js";import{e as i}from"./chunk.6EV4YU6C.js";var e=class extends c{constructor(){super(...arguments);this.localize=new k(this);this.hasSlotController=new x(this,"[default]","content");this.size="lg";this.content="";this.placement="top";this.disabled=!1;this.open=!1;this.trigger="click focus";this.closeTrigger="click focus escape";this.hoist=!1;this.handleMouseInteraction=()=>{this.interactionType="mouse"};this.handleKeyboardInteraction=()=>{this.interactionType="keyboard"}}connectedCallback(){super.connectedCallback(),this.handleBlur=this.handleBlur.bind(this),this.handleClick=this.handleClick.bind(this),this.handleFocus=this.handleFocus.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleMouseOver=this.handleMouseOver.bind(this),this.handleMouseOut=this.handleMouseOut.bind(this),document.addEventListener("mousedown",this.handleMouseInteraction),document.addEventListener("keydown",this.handleKeyboardInteraction),this.handleDocumentClick=this.handleDocumentClick.bind(this),document.addEventListener("click",this.handleDocumentClick),this.updateComplete.then(()=>{this.addEventListener("blur",this.handleBlur,!0),this.addEventListener("focus",this.handleFocus,!0),this.addEventListener("click",this.handleClick),this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("mouseover",this.handleMouseOver),this.addEventListener("mouseout",this.handleMouseOut)})}firstUpdated(){this.body.hidden=!this.open,this.formatDefaultSlot(this.defaultSlot),this.open&&(this.popup.active=!0,this.popup.reposition())}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("blur",this.handleBlur,!0),this.removeEventListener("focus",this.handleFocus,!0),this.removeEventListener("click",this.handleClick),this.removeEventListener("keydown",this.handleKeyDown),this.removeEventListener("mouseover",this.handleMouseOver),this.removeEventListener("mouseout",this.handleMouseOut),document.removeEventListener("mousedown",this.handleMouseInteraction),document.removeEventListener("keydown",this.handleKeyboardInteraction),document.removeEventListener("click",this.handleDocumentClick)}get hasCustomTrigger(){return this.hasSlotController.test("[default]")}formatDefaultSlot(t){if(!t)return;t.assignedNodes({flatten:!0}).forEach(r=>{var y,v;r.nodeType===Node.TEXT_NODE&&!((y=r==null?void 0:r.textContent)!=null&&y.trim())&&((v=r==null?void 0:r.parentNode)==null||v.removeChild(r))})}handleBlur(){this.hasCloseTrigger("focus")&&this.hide()}handleClick(){this.open&&this.hasCloseTrigger("click")?this.hide():this.hasTrigger("click")&&this.show()}handleFocus(){this.hasTrigger("focus")&&this.interactionType==="keyboard"&&this.show()}handleKeyDown(t){this.open&&t.key==="Escape"&&this.hasCloseTrigger("escape")&&(t.stopPropagation(),this.hide())}handleMouseOver(){if(this.hasTrigger("hover")){let t=p(getComputedStyle(this).getPropertyValue("--show-delay"));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout(()=>this.show(),t)}}handleMouseOut(){if(this.hasCloseTrigger("hover")){let t=p(getComputedStyle(this).getPropertyValue("--hide-delay"));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout(()=>this.hide(),t)}}handleDocumentClick(t){if(!this.open||this.interactionType==="keyboard")return;let s=t.composedPath();this.hasCloseTrigger("focus")&&!s.includes(this)&&!s.includes(this.popup)&&this.hide()}hasTrigger(t){return this.trigger.split(" ").includes(t)}hasCloseTrigger(t){return this.closeTrigger.split(" ").includes(t)}async handleOpenChange(){if(this.open){if(this.disabled)return;this.emit("sd-show"),await u(this.body),this.body.hidden=!1,this.popup.active=!0;let{keyframes:t,options:s}=f(this,"tooltip.show",{dir:this.localize.dir()});await d(this.popup.popup,t,s),this.emit("sd-after-show")}else{this.emit("sd-hide"),await u(this.body);let{keyframes:t,options:s}=f(this,"tooltip.hide",{dir:this.localize.dir()});await d(this.popup.popup,t,s),this.popup.active=!1,this.body.hidden=!0,this.emit("sd-after-hide")}}async handleOptionsChange(){this.hasUpdated&&(await this.updateComplete,this.popup.reposition())}handleDisabledChange(){this.disabled&&this.open&&this.hide()}async show(){if(!this.open)return this.open=!0,w(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,this.trigger==="click"||this.trigger==="click focus"?this.focus():this.blur(),w(this,"sd-after-hide")}render(){let t=this.placement.endsWith("-start"),s=this.placement.endsWith("-end");return a`<sd-popup part="base" exportparts="
1
+ import{a as x}from"./chunk.CGQ2BPPZ.js";import{a as m,c as f}from"./chunk.B2NUKX6G.js";import{a as w}from"./chunk.KLRPP4NQ.js";import{a as k}from"./chunk.VAM5SM3O.js";import{a as l}from"./chunk.4ZZFYCXX.js";import{a as h}from"./chunk.NYKJXI3Q.js";import{a as b,b as o,d as n,h as c}from"./chunk.4SDWX3GC.js";import{b as g,e as a}from"./chunk.OBAEIKIV.js";import{b as d,c as p,e as u}from"./chunk.W4QBFD6E.js";import{e as i}from"./chunk.6EV4YU6C.js";var e=class extends c{constructor(){super(...arguments);this.localize=new k(this);this.hasSlotController=new x(this,"[default]","content");this.size="lg";this.content="";this.placement="top";this.disabled=!1;this.open=!1;this.trigger="click focus";this.closeTrigger="click focus escape";this.hoist=!1;this.handleMouseInteraction=()=>{this.interactionType="mouse"};this.handleKeyboardInteraction=()=>{this.interactionType="keyboard"}}connectedCallback(){super.connectedCallback(),this.handleBlur=this.handleBlur.bind(this),this.handleClick=this.handleClick.bind(this),this.handleFocus=this.handleFocus.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleMouseOver=this.handleMouseOver.bind(this),this.handleMouseOut=this.handleMouseOut.bind(this),document.addEventListener("mousedown",this.handleMouseInteraction),document.addEventListener("keydown",this.handleKeyboardInteraction),this.handleDocumentClick=this.handleDocumentClick.bind(this),document.addEventListener("click",this.handleDocumentClick),this.updateComplete.then(()=>{this.addEventListener("blur",this.handleBlur,!0),this.addEventListener("focus",this.handleFocus,!0),this.addEventListener("click",this.handleClick),this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("mouseover",this.handleMouseOver),this.addEventListener("mouseout",this.handleMouseOut)})}firstUpdated(){this.body.hidden=!this.open,this.formatDefaultSlot(this.defaultSlot),this.open&&(this.popup.active=!0,this.popup.reposition())}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("blur",this.handleBlur,!0),this.removeEventListener("focus",this.handleFocus,!0),this.removeEventListener("click",this.handleClick),this.removeEventListener("keydown",this.handleKeyDown),this.removeEventListener("mouseover",this.handleMouseOver),this.removeEventListener("mouseout",this.handleMouseOut),document.removeEventListener("mousedown",this.handleMouseInteraction),document.removeEventListener("keydown",this.handleKeyboardInteraction),document.removeEventListener("click",this.handleDocumentClick)}get hasCustomTrigger(){return this.hasSlotController.test("[default]")}formatDefaultSlot(t){if(!t)return;t.assignedNodes({flatten:!0}).forEach(r=>{var y,v;r.nodeType===Node.TEXT_NODE&&!((y=r==null?void 0:r.textContent)!=null&&y.trim())&&((v=r==null?void 0:r.parentNode)==null||v.removeChild(r))})}handleBlur(){this.hasCloseTrigger("focus")&&this.hide()}handleClick(){this.open&&this.hasCloseTrigger("click")?this.hide():this.hasTrigger("click")&&this.show()}handleFocus(){this.hasTrigger("focus")&&this.interactionType==="keyboard"&&this.show()}handleKeyDown(t){this.open&&t.key==="Escape"&&this.hasCloseTrigger("escape")&&(t.stopPropagation(),this.hide())}handleMouseOver(){if(this.hasTrigger("hover")){let t=p(getComputedStyle(this).getPropertyValue("--show-delay"));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout(()=>this.show(),t)}}handleMouseOut(){if(this.hasCloseTrigger("hover")){let t=p(getComputedStyle(this).getPropertyValue("--hide-delay"));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout(()=>this.hide(),t)}}handleDocumentClick(t){if(!this.open||this.interactionType==="keyboard")return;let s=t.composedPath();this.hasCloseTrigger("focus")&&!s.includes(this)&&!s.includes(this.popup)&&this.hide()}hasTrigger(t){return this.trigger.split(" ").includes(t)}hasCloseTrigger(t){return this.closeTrigger.split(" ").includes(t)}async handleOpenChange(){if(this.open){if(this.disabled)return;this.emit("sd-show"),await u(this.body),this.body.hidden=!1,this.popup.active=!0;let{keyframes:t,options:s}=f(this,"tooltip.show",{dir:this.localize.dir()});await d(this.popup.popup,t,s),this.emit("sd-after-show")}else{this.emit("sd-hide"),await u(this.body);let{keyframes:t,options:s}=f(this,"tooltip.hide",{dir:this.localize.dir()});await d(this.popup.popup,t,s),this.popup.active=!1,this.body.hidden=!0,this.emit("sd-after-hide")}}async handleOptionsChange(){this.hasUpdated&&(await this.updateComplete,this.popup.reposition())}handleDisabledChange(){this.disabled&&this.open&&this.hide()}async show(){if(!this.open)return this.open=!0,w(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,this.trigger==="click"||this.trigger==="click focus"?this.focus():this.blur(),w(this,"sd-after-hide")}render(){let t=this.placement.endsWith("-start"),s=this.placement.endsWith("-end");return a`<sd-popup part="base" exportparts="
2
2
  popup:base__popup,
3
3
  arrow:base__arrow
4
4
  " class="${l(this.open&&"tooltip--open")}" placement="${this.placement}" distance="10" skidding="${{start:2,end:-2,default:0}[t?"start":s?"end":"default"]*(this.size==="sm"?-1:1)}" strategy="${this.hoist?"fixed":"absolute"}" flip shift arrow auto-size="vertical" arrow-padding="0">${this.hasCustomTrigger?a`<slot slot="anchor"></slot>`:a`<button slot="anchor" aria-describedby="tooltip" class="${l("flex sd-interactive rounded-full",this.size==="lg"?"text-xl":"text-base")}" ?disabled="${this.disabled}" aria-expanded="${this.open}" aria-controls="tooltip"><sd-icon library="_internal" name="info-circle" label="Tooltip" class="${l(this.disabled&&"sd-interactive--disabled")}"></sd-icon></button>`}<slot name="content" part="body" id="tooltip" class="sd-tooltip-color-background sd-tooltip-color-text py-3 px-4 block rounded-none text-sm text-left" role="tooltip" aria-label="${this.content}" aria-live="${this.open?"polite":"off"}">${this.content}</slot></sd-popup>`}};e.styles=[...c.styles,g`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
@@ -1,2 +1,2 @@
1
- import{a as y,b as k}from"./chunk.I2H6CZK5.js";import{a as $}from"./chunk.LHSR56PH.js";import{a as c,c as d}from"./chunk.B2NUKX6G.js";import{a as g}from"./chunk.KLRPP4NQ.js";import{a as H}from"./chunk.VAM5SM3O.js";import{a as o}from"./chunk.4ZZFYCXX.js";import{a as f}from"./chunk.NYKJXI3Q.js";import{a as T,b as s,d as p,h as w}from"./chunk.SGJYHE3R.js";import{b as v,e as u}from"./chunk.OBAEIKIV.js";import{b as n,e as l,f as b}from"./chunk.W4QBFD6E.js";import{e}from"./chunk.6EV4YU6C.js";var m={"top-right":null,"bottom-center":null},E=()=>{Object.entries(m).forEach(([a])=>{let h=document.querySelector(`#sd-toast-stack--${a}`);if(h){h.setAttribute("role","region"),m[a]=h;return}m[a]=Object.assign(document.createElement("div"),{role:"region",id:`sd-toast-stack--${a}`,className:`sd-toast-stack sd-toast-stack--${a}`})})};E();var t=class extends w{constructor(){super(...arguments);this.localize=new H(this);this.variant="info";this.open=!1;this.closable=!1;this.duration=1/0;this.durationIndicator=!1;this.toastStack="top-right";this.remainingDuration=this.duration;this.startTime=Date.now()}get stack(){return m[this.toastStack]}connectedCallback(){super.connectedCallback(),this.stack.parentElement||(document.body.append(this.stack),this.stack.ariaLabel=this.localize.term("notifications"))}disconnectedCallback(){super.disconnectedCallback()}firstUpdated(){this.wrapper.hidden=!this.open}startAutoHide(){clearTimeout(this.autoHideTimeout),this.startTime=Date.now(),this.remainingDuration=this.duration,this.open&&this.duration<1/0&&(this.autoHideTimeout=window.setTimeout(()=>this.hide(),this.duration))}onHover(){clearTimeout(this.autoHideTimeout),this.duration<1/0&&(this.remainingDuration-=Date.now()-this.startTime)}onHoverEnd(){this.startTime=Date.now(),clearTimeout(this.autoHideTimeout),this.open&&this.duration<1/0&&(this.autoHideTimeout=window.setTimeout(()=>{this.hide()},this.remainingDuration))}handleCloseClick(){this.hide()}handleKeyDown(i){this.closable&&i.key==="Escape"&&this.hide()}async handleOpenChange(){if(this.open){this.emit("sd-show"),this.duration<1/0&&this.startAutoHide(),await Promise.all([l(this.base),l(this.wrapper)]),this.wrapper.hidden=!1;let i=d(this,"notification.show",{dir:this.localize.dir()}),r=d(this,`notification.wrapper.show${y(k(this.toastStack))}`,{dir:this.localize.dir()});await Promise.all([n(this.base,b(i.keyframes,this.base.scrollHeight),i.options),n(this.wrapper,r.keyframes,r.options)]),this.emit("sd-after-show")}else{this.emit("sd-hide"),clearTimeout(this.autoHideTimeout),await Promise.all([l(this.base),l(this.wrapper)]);let i=d(this,"notification.hide",{dir:this.localize.dir()}),r=d(this,`notification.wrapper.hide${y(k(this.toastStack))}`,{dir:this.localize.dir()});await Promise.all([n(this.base,b(i.keyframes,this.base.scrollHeight),i.options),n(this.wrapper,r.keyframes,r.options)]),this.wrapper.hidden=!0,this.emit("sd-after-hide")}}handleDurationChange(){this.startAutoHide()}async show(){if(!this.open)return this.open=!0,g(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,g(this,"sd-after-hide")}async toast(){return new Promise(i=>{this.stack.parentElement===null&&document.body.append(this.stack),this.stack.appendChild(this),requestAnimationFrame(()=>{this.clientWidth,this.show()}),this.addEventListener("sd-after-hide",()=>{this.stack.removeChild(this),i()},{once:!0})})}render(){return u`<div part="base" class="${o("w-full flex items-stretch m-2 focus-visible:focus-outline")}" id="notification" tabindex="${$(this.closable?"0":void 0)}" role="alert" aria-labelledby="message" aria-hidden="${this.open?"false":"true"}" @mouseenter="${this.onHover}" @mouseleave="${this.onHoverEnd}" @keydown="${this.handleKeyDown}"><div part="wrapper" class="${o("w-full h-fit overflow-hidden flex items-stretch relative")}"><slot name="icon" part="icon" class="${o("min-w-min flex items-center px-3 justify-center",{info:"bg-info",success:"bg-success",warning:"bg-warning",error:"bg-error"}[this.variant])}"><sd-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 sd-notification__duration-indicator-color-background z-10 animate-grow")}"></div><div part="duration-indicator__total" class="w-full h-[2px] bottom-0 absolute border border-neutral-400"></div>`:""}</div></div>`}};t.styles=[...w.styles,v`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as y,b as k}from"./chunk.I2H6CZK5.js";import{a as $}from"./chunk.LHSR56PH.js";import{a as c,c as d}from"./chunk.B2NUKX6G.js";import{a as g}from"./chunk.KLRPP4NQ.js";import{a as H}from"./chunk.VAM5SM3O.js";import{a as o}from"./chunk.4ZZFYCXX.js";import{a as f}from"./chunk.NYKJXI3Q.js";import{a as T,b as s,d as p,h as w}from"./chunk.4SDWX3GC.js";import{b as v,e as u}from"./chunk.OBAEIKIV.js";import{b as n,e as l,f as b}from"./chunk.W4QBFD6E.js";import{e}from"./chunk.6EV4YU6C.js";var m={"top-right":null,"bottom-center":null},E=()=>{Object.entries(m).forEach(([a])=>{let h=document.querySelector(`#sd-toast-stack--${a}`);if(h){h.setAttribute("role","region"),m[a]=h;return}m[a]=Object.assign(document.createElement("div"),{role:"region",id:`sd-toast-stack--${a}`,className:`sd-toast-stack sd-toast-stack--${a}`})})};E();var t=class extends w{constructor(){super(...arguments);this.localize=new H(this);this.variant="info";this.open=!1;this.closable=!1;this.duration=1/0;this.durationIndicator=!1;this.toastStack="top-right";this.remainingDuration=this.duration;this.startTime=Date.now()}get stack(){return m[this.toastStack]}connectedCallback(){super.connectedCallback(),this.stack.parentElement||(document.body.append(this.stack),this.stack.ariaLabel=this.localize.term("notifications"))}disconnectedCallback(){super.disconnectedCallback()}firstUpdated(){this.wrapper.hidden=!this.open}startAutoHide(){clearTimeout(this.autoHideTimeout),this.startTime=Date.now(),this.remainingDuration=this.duration,this.open&&this.duration<1/0&&(this.autoHideTimeout=window.setTimeout(()=>this.hide(),this.duration))}onHover(){clearTimeout(this.autoHideTimeout),this.duration<1/0&&(this.remainingDuration-=Date.now()-this.startTime)}onHoverEnd(){this.startTime=Date.now(),clearTimeout(this.autoHideTimeout),this.open&&this.duration<1/0&&(this.autoHideTimeout=window.setTimeout(()=>{this.hide()},this.remainingDuration))}handleCloseClick(){this.hide()}handleKeyDown(i){this.closable&&i.key==="Escape"&&this.hide()}async handleOpenChange(){if(this.open){this.emit("sd-show"),this.duration<1/0&&this.startAutoHide(),await Promise.all([l(this.base),l(this.wrapper)]),this.wrapper.hidden=!1;let i=d(this,"notification.show",{dir:this.localize.dir()}),r=d(this,`notification.wrapper.show${y(k(this.toastStack))}`,{dir:this.localize.dir()});await Promise.all([n(this.base,b(i.keyframes,this.base.scrollHeight),i.options),n(this.wrapper,r.keyframes,r.options)]),this.emit("sd-after-show")}else{this.emit("sd-hide"),clearTimeout(this.autoHideTimeout),await Promise.all([l(this.base),l(this.wrapper)]);let i=d(this,"notification.hide",{dir:this.localize.dir()}),r=d(this,`notification.wrapper.hide${y(k(this.toastStack))}`,{dir:this.localize.dir()});await Promise.all([n(this.base,b(i.keyframes,this.base.scrollHeight),i.options),n(this.wrapper,r.keyframes,r.options)]),this.wrapper.hidden=!0,this.emit("sd-after-hide")}}handleDurationChange(){this.startAutoHide()}async show(){if(!this.open)return this.open=!0,g(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,g(this,"sd-after-hide")}async toast(){return new Promise(i=>{this.stack.parentElement===null&&document.body.append(this.stack),this.stack.appendChild(this),requestAnimationFrame(()=>{this.clientWidth,this.show()}),this.addEventListener("sd-after-hide",()=>{this.stack.removeChild(this),i()},{once:!0})})}render(){return u`<div part="base" class="${o("w-full flex items-stretch focus-visible:focus-outline")}" id="notification" tabindex="${$(this.closable?"0":void 0)}" role="alert" aria-labelledby="message" aria-hidden="${this.open?"false":"true"}" @mouseenter="${this.onHover}" @mouseleave="${this.onHoverEnd}" @keydown="${this.handleKeyDown}"><div part="wrapper" class="${o("w-full h-fit overflow-hidden flex items-stretch relative")}"><slot name="icon" part="icon" class="${o("min-w-min flex items-center px-3 justify-center",{info:"bg-info",success:"bg-success",warning:"bg-warning",error:"bg-error"}[this.variant])}"><sd-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 sd-notification__duration-indicator-color-background z-10 animate-grow")}"></div><div part="duration-indicator__total" class="w-full h-[2px] bottom-0 absolute border border-neutral-400"></div>`:""}</div></div>`}};t.styles=[...w.styles,v`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
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,4 +1,4 @@
1
- import{a as s}from"./chunk.LHSR56PH.js";import{a as n,b as o}from"./chunk.NL7YFV4O.js";import{b as d}from"./chunk.W5O4FM6B.js";import{a as r}from"./chunk.4ZZFYCXX.js";import{a as v,b as a,h as l}from"./chunk.SGJYHE3R.js";import{b as m}from"./chunk.OBAEIKIV.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends l{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.LHSR56PH.js";import{a as n,b as o}from"./chunk.NL7YFV4O.js";import{b as d}from"./chunk.W5O4FM6B.js";import{a as r}from"./chunk.4ZZFYCXX.js";import{a as v,b as a,h as l}from"./chunk.4SDWX3GC.js";import{b as m}from"./chunk.OBAEIKIV.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends l{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 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.SGJYHE3R.js";import{b as c,e as d}from"./chunk.OBAEIKIV.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.3.2 | 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.4SDWX3GC.js";import{b as c,e as d}from"./chunk.OBAEIKIV.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.3.2 | 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,4 +1,4 @@
1
- import{a}from"./chunk.4ZZFYCXX.js";import{a as p,b as s,c as d,d as h,h as n}from"./chunk.SGJYHE3R.js";import{b as l,e as r}from"./chunk.OBAEIKIV.js";import{e as i}from"./chunk.6EV4YU6C.js";var e=class extends n{constructor(){super(...arguments);this.variant="primary";this.shapes=["top","middle","bottom"];this.componentBreakpoint=0}getSvg(t,o){return{0:this.smallSvg(o),414:this.mediumSvg(o),640:this.largeSvg(o)}[t]}largeSvg(t){return t==="top"?r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 121"><path d="M610.777 1.393.001 120.146 0 123h700.001V74.79c0-4.797-.462-9.585-1.381-14.294-7.909-40.537-47.237-66.998-87.843-59.103Z"/></svg>`:r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 123"><path d="M89.224 121.607 700 2.854 700.001 0h-700L0 48.21c0 4.797.463 9.584 1.381 14.294 7.909 40.537 47.237 66.998 87.843 59.103Z"/></svg>`}mediumSvg(t){return t==="top"?r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 119"><path d="M597.75 1.6 0 118.046V121h700V85.872c0-5.509-.53-11.006-1.583-16.413-9.063-46.543-54.133-76.924-100.667-67.86Z"/></svg>`:r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 121"><path d="M102.25 119.4 700 2.954V0H0v35.128c0 5.509.53 11.006 1.583 16.413 9.063 46.543 54.134 76.924 100.667 67.859Z"/></svg>`}smallSvg(t){return t==="top"?r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 113"><path d="M566.951 2.08 0 112.466v2.934h700v-3.672c0-7.166-.689-14.314-2.059-21.348-11.789-60.557-70.436-100.09-130.99-88.3Z"/></svg>`:r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 116"><path d="M133.049 113.32 700 2.934V0H0v3.672c0 7.165.69 14.314 2.059 21.348 11.79 60.557 70.436 100.09 130.99 88.3Z"/></svg>`}setBreakpoint(){switch(!0){case this.containerElem.clientWidth<=414:this.componentBreakpoint=0;break;case this.containerElem.clientWidth<640:this.componentBreakpoint=414;break;default:this.componentBreakpoint=640}}connectedCallback(){super.connectedCallback(),this.resizeObserver=new ResizeObserver(()=>this.setBreakpoint()),this.updateComplete.then(()=>{this.setBreakpoint(),this.resizeObserver.observe(this.containerElem)})}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver.unobserve(this.containerElem)}renderTopBrandshape(){return r`<div class="relative" part="shape-top">${this.getSvg(this.componentBreakpoint,"top")} ${this.renderWhitespaceFix("top")}</div>`}renderMiddleBrandshape(){return r`<div class="${a({0:"px-6 py-4",414:"px-10 py-8",640:"px-10 py-8"}[this.componentBreakpoint],"w-full block relative")}"><div part="shape-middle" class="${a({"neutral-100":"sd-brandshape--neutral-100-color-background",primary:"sd-brandshape--primary-color-background",white:"sd-brandshape--white-color-background","border-white":"bg-transparent","border-primary":"bg-transparent","primary|80":"sd-brandshape--primary-80-color-background","white|80":"sd-brandshape--white-80-color-background",image:"bg-transparent"}[this.variant],"w-full block absolute h-full top-0 left-0 z-0")}"></div><div class="${a("z-10 relative",this.variant==="image"&&"invisible opacity-0")}" part="content"><slot>${this.variant==="image"?"":r`<div class="h-8"></div>`}</slot></div></div>`}renderBottomBrandshape(){return r`<div class="relative" part="shape-bottom">${this.getSvg(this.componentBreakpoint,"bottom")}${this.renderWhitespaceFix("bottom")}</div>`}renderWhitespaceFix(t){return r`<div class="${a({"neutral-100":"sd-brandshape--neutral-100-color-background",primary:"sd-brandshape--primary-color-background",white:"sd-brandshape--white-color-background","border-white":"bg-transparent","border-primary":"bg-transparent","primary|80":"sd-brandshape--primary-80-color-background","white|80":"sd-brandshape--white-80-color-background",image:"bg-transparent"}[this.variant],{top:"bottom-0",bottom:"top-0"}[t],"block absolute left-0 w-full",this.variant!=="primary|80"&&this.variant!=="white|80"?"h-[1px]":"")}"></div>`}renderStylizedVariant(){return r`<div part="stylized-container" class="w-full overflow-hidden"><slot class="${a(this.variant!=="image"&&"hidden")}" name="image"></slot></div>`}renderShapes(){return r`${this.shapes.includes("top")?this.renderTopBrandshape():""} ${this.shapes.includes("middle")?this.renderMiddleBrandshape():""} ${this.shapes.includes("bottom")?this.renderBottomBrandshape():""}`}render(){let t=this.variant.startsWith("border-")||this.variant==="image";return r`<div class="${a(t&&"fill-transparent","relative")}" part="base">${t?this.renderStylizedVariant():""} ${this.renderShapes()}</div>`}};e.styles=[...n.styles,l`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
1
+ import{a}from"./chunk.4ZZFYCXX.js";import{a as p,b as s,c as d,d as h,h as n}from"./chunk.4SDWX3GC.js";import{b as l,e as r}from"./chunk.OBAEIKIV.js";import{e as i}from"./chunk.6EV4YU6C.js";var e=class extends n{constructor(){super(...arguments);this.variant="primary";this.shapes=["top","middle","bottom"];this.componentBreakpoint=0}getSvg(t,o){return{0:this.smallSvg(o),414:this.mediumSvg(o),640:this.largeSvg(o)}[t]}largeSvg(t){return t==="top"?r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 121"><path d="M610.777 1.393.001 120.146 0 123h700.001V74.79c0-4.797-.462-9.585-1.381-14.294-7.909-40.537-47.237-66.998-87.843-59.103Z"/></svg>`:r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 123"><path d="M89.224 121.607 700 2.854 700.001 0h-700L0 48.21c0 4.797.463 9.584 1.381 14.294 7.909 40.537 47.237 66.998 87.843 59.103Z"/></svg>`}mediumSvg(t){return t==="top"?r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 119"><path d="M597.75 1.6 0 118.046V121h700V85.872c0-5.509-.53-11.006-1.583-16.413-9.063-46.543-54.133-76.924-100.667-67.86Z"/></svg>`:r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 121"><path d="M102.25 119.4 700 2.954V0H0v35.128c0 5.509.53 11.006 1.583 16.413 9.063 46.543 54.134 76.924 100.667 67.859Z"/></svg>`}smallSvg(t){return t==="top"?r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 113"><path d="M566.951 2.08 0 112.466v2.934h700v-3.672c0-7.166-.689-14.314-2.059-21.348-11.789-60.557-70.436-100.09-130.99-88.3Z"/></svg>`:r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 116"><path d="M133.049 113.32 700 2.934V0H0v3.672c0 7.165.69 14.314 2.059 21.348 11.79 60.557 70.436 100.09 130.99 88.3Z"/></svg>`}setBreakpoint(){switch(!0){case this.containerElem.clientWidth<=414:this.componentBreakpoint=0;break;case this.containerElem.clientWidth<640:this.componentBreakpoint=414;break;default:this.componentBreakpoint=640}}connectedCallback(){super.connectedCallback(),this.resizeObserver=new ResizeObserver(()=>this.setBreakpoint()),this.updateComplete.then(()=>{this.setBreakpoint(),this.resizeObserver.observe(this.containerElem)})}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver.unobserve(this.containerElem)}renderTopBrandshape(){return r`<div class="relative" part="shape-top">${this.getSvg(this.componentBreakpoint,"top")} ${this.renderWhitespaceFix("top")}</div>`}renderMiddleBrandshape(){return r`<div class="${a({0:"px-6 py-4",414:"px-10 py-8",640:"px-10 py-8"}[this.componentBreakpoint],"w-full block relative")}"><div part="shape-middle" class="${a({"neutral-100":"sd-brandshape--neutral-100-color-background",primary:"sd-brandshape--primary-color-background",white:"sd-brandshape--white-color-background","border-white":"bg-transparent","border-primary":"bg-transparent","primary|80":"sd-brandshape--primary-80-color-background","white|80":"sd-brandshape--white-80-color-background",image:"bg-transparent"}[this.variant],"w-full block absolute h-full top-0 left-0 z-0")}"></div><div class="${a("z-10 relative",this.variant==="image"&&"invisible opacity-0")}" part="content"><slot>${this.variant==="image"?"":r`<div class="h-8"></div>`}</slot></div></div>`}renderBottomBrandshape(){return r`<div class="relative" part="shape-bottom">${this.getSvg(this.componentBreakpoint,"bottom")}${this.renderWhitespaceFix("bottom")}</div>`}renderWhitespaceFix(t){return r`<div class="${a({"neutral-100":"sd-brandshape--neutral-100-color-background",primary:"sd-brandshape--primary-color-background",white:"sd-brandshape--white-color-background","border-white":"bg-transparent","border-primary":"bg-transparent","primary|80":"sd-brandshape--primary-80-color-background","white|80":"sd-brandshape--white-80-color-background",image:"bg-transparent"}[this.variant],{top:"bottom-0",bottom:"top-0"}[t],"block absolute left-0 w-full",this.variant!=="primary|80"&&this.variant!=="white|80"?"h-[1px]":"")}"></div>`}renderStylizedVariant(){return r`<div part="stylized-container" class="w-full overflow-hidden"><slot class="${a(this.variant!=="image"&&"hidden")}" name="image"></slot></div>`}renderShapes(){return r`${this.shapes.includes("top")?this.renderTopBrandshape():""} ${this.shapes.includes("middle")?this.renderMiddleBrandshape():""} ${this.shapes.includes("bottom")?this.renderBottomBrandshape():""}`}render(){let t=this.variant.startsWith("border-")||this.variant==="image";return r`<div class="${a(t&&"fill-transparent","relative")}" part="base">${t?this.renderStylizedVariant():""} ${this.renderShapes()}</div>`}};e.styles=[...n.styles,l`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
2
  :host{display:block;container-type:inline-size;--angle:11deg;--radius:60px;--tan:tan(var(--angle));--adjacent:100cqw;--opposite:calc(var(--tan) * var(--adjacent));--curve:calc(
3
3
  (var(--opposite) - (var(--radius) / 3)) * 0.5
4
4
  )}@supports not (transform:skewY(11deg)){:host{--tan:0.1943803091}}@media (min-width:415px){:host{--radius:72px}}@media (min-width:640px){:host{--radius:84px}}:host([variant=image]) [part=stylized-container],:host([variant^=border-]) [part=stylized-container]::before{position:absolute;top:0;left:0;transform:skewY(calc(var(--angle) * -1));height:calc(100% - var(--curve) * 2);border-radius:0 var(--radius);margin-top:calc(var(--curve))}slot[name=image]::slotted(img),slot[name=image]::slotted(video){width:100%;-o-object-fit:cover;object-fit:cover;transform:translateY(calc(var(--curve) * -1)) skewY(var(--angle));height:calc(100% + var(--curve) * 2)!important;position:absolute!important}@supports not (height:100cqw){:host([variant=image]) [part=stylized-container],:host([variant^=border-]) [part=stylized-container]::before{transform:unset;height:100%;margin-top:0}slot[name=image]::slotted(img),slot[name=image]::slotted(video){transform:unset;height:100%!important}}:host([variant=border-primary]){--internal-border-color:rgba(var(--sd-brandshape--primary-color-border, rgba(var(--sd-color-primary))))}:host([variant=border-white]){--internal-border-color:rgba(var(--sd-brandshape-color-border-white, rgba(var(--sd-color-white))))}:host([variant^=border-]) [part=stylized-container]::before{right:0;border-style:var(--tw-border-style);border-width:var(--sd-border-width-2);--tw-border-style:solid;border-style:solid;content:'';border-color:var(--internal-border-color,#000)}:host([variant=neutral-100]) [part=base]{fill:rgba(var(--sd-brandshape--neutral-100-color-background,rgba(var(--sd-color-neutral-100))))}:host([variant=white]) [part=base]{fill:rgba(var(--sd-brandshape--white-color-background,rgba(var(--sd-color-white))))}:host([variant=primary]) [part=base]{fill:rgba(var(--sd-brandshape--primary-color-background,rgba(var(--sd-color-primary))))}:host([variant='primary|80']) [part=base]{fill:rgba(var(--sd-brandshape--primary-80-color-background,rgba(var(--sd-color-primary))))}:host([variant='white|80']) [part=base]{fill:rgba(var(--sd-brandshape--white-80-color-background,rgba(var(--sd-color-white))))}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}`],i([h("[part=base]")],e.prototype,"containerElem",2),i([s({type:String,reflect:!0})],e.prototype,"variant",2),i([s({type:Array})],e.prototype,"shapes",2),i([d()],e.prototype,"componentBreakpoint",2),e=i([p("sd-brandshape")],e);export{e as a};
@@ -1,2 +1,2 @@
1
- import{a as b}from"./chunk.CGQ2BPPZ.js";import{a as y}from"./chunk.VAM5SM3O.js";import{a as r}from"./chunk.4ZZFYCXX.js";import{a as g,b as d,c as o,d as u,h as p}from"./chunk.SGJYHE3R.js";import{b as v,e as a}from"./chunk.OBAEIKIV.js";import{a as h}from"./chunk.WNP2V63C.js";import{e as i}from"./chunk.6EV4YU6C.js";var e=class extends p{constructor(){super();this.localize=new y(this);this.hasSlotController=new b(this,"transcript");this.reversedLayout=!1;this.hideTimestamps=!1;this.animated=!1;this.inverted=!1;this.speed=1;this.currentTime=this.formatTime(0);this.duration="";this.isPlaying=!1;this.isMuted=!1;this.isTranscriptOpen=!1;this.progress=0;this.updateCurrentTime=this.updateCurrentTime.bind(this),this.handleAudioEnd=this.handleAudioEnd.bind(this),this.handleAudioProgress=this.handleAudioProgress.bind(this),this.handleAudioProgressKeydown=this.handleAudioProgressKeydown.bind(this),this.handleTranscriptDrawerToggle=this.handleTranscriptDrawerToggle.bind(this)}firstUpdated(){this.audioElement&&(this.audioElement.addEventListener("timeupdate",this.updateCurrentTime),this.audioElement.addEventListener("ended",this.handleAudioEnd),this.audioElement.setAttribute("controlsList","nodownload"),document.addEventListener("sd-after-hide",this.handleTranscriptDrawerToggle),this.audioElement.playbackRate=this.speed,this.progressSlider.tooltipFormatter=t=>this.localize.term("seconds",Number(t).toFixed(0)),this.animated&&this.initAnimation())}updated(t){if(t.has("animated")){let s=t.get("animated");!s&&this.animated?this.initAnimation():s&&!this.animated&&this.clear()}}get audioElement(){let t=this.shadowRoot.querySelector("slot");return(t==null?void 0:t.assignedElements().length)>0?t.assignedElements()[0]:null}updateCurrentTime(){if(!this.audioElement)return;let t=this.audioElement.currentTime;this.currentTime=this.formatTime(t),this.progress=t,this.progressSlider&&(this.progressSlider.value=this.progress.toString())}updateAudioDuration(){if(this.audioElement){if(isNaN(this.audioElement.duration)){setTimeout(()=>{this.updateAudioDuration()},100);return}this.duration=this.formatTime(this.audioElement.duration),this.progressSlider.max=this.audioElement.duration}}playAudio(){this.audioElement&&(this.isPlaying=!0,this.audioElement.play(),this.emit("sd-playback-start"),this.animated&&this.draw())}pauseAudio(){this.audioElement&&(this.isPlaying=!1,this.audioElement.pause(),this.emit("sd-playback-pause"),this.animated&&this.stopAnimation())}handleAudioEnd(){this.emit("sd-playback-end"),this.isPlaying=!1,this.progress=0,this.progressSlider.value="0",this.currentTime=this.formatTime(0),this.animated&&this.stopAnimation()}toggleMute(){this.audioElement&&(this.isMuted=!this.isMuted,this.isMuted?(this.emit("sd-playback-mute"),this.audioElement.muted=!0):(this.emit("sd-playback-unmute"),this.audioElement.muted=!1))}toggleMuteKeydown(t){t.key==="Enter"&&(t.preventDefault(),this.toggleMute())}togglePlaybackSpeed(){this.audioElement&&(this.emit("sd-playback-speed"),this.speed=this.speed===1.5?1:this.speed+.25,this.audioElement.playbackRate=this.speed)}togglePlaybackSpeedKeydown(t){t.key==="Enter"&&(t.preventDefault(),this.togglePlaybackSpeed())}formatTime(t){let s=Math.floor(t/60).toString().padStart(2,"0"),c=Math.floor(t%60).toString().padStart(2,"0");return`${s}:${c}`}handleAudioProgress(){if(!this.audioElement)return;let t=Number(this.progressSlider.value);this.audioElement.currentTime=t,this.progress=t,this.currentTime=this.formatTime(t)}handleAudioProgressKeydown(t){t.key==="ArrowRight"&&(this.progressSlider.value=(Number(this.progressSlider.value)+1).toString(),this.handleAudioProgress()),t.key==="ArrowLeft"&&(this.progressSlider.value=(Number(this.progressSlider.value)-1).toString(),this.handleAudioProgress())}handleTranscriptDrawerToggle(){this.isTranscriptOpen=!this.isTranscriptOpen}handleThumbGrab(){var t;(t=this.audioElement)==null||t.pause()}handleThumbRelease(){var t;this.isPlaying&&((t=this.audioElement)==null||t.play())}showTranscript(){this.emit("sd-transcript-click"),this.drawer.open=!0,this.handleTranscriptDrawerToggle()}showTranscriptKeydown(t){(t.key==="Enter"||t.key===" ")&&this.showTranscript()}rgbToHex(t){let s=t.match(/\d+/g);if((s==null?void 0:s.length)===3){let c=parseInt(s[0]),m=parseInt(s[1]),n=parseInt(s[2]),l=f=>f.toString(16).padStart(2,"0");return`#${l(c)}${l(m)}${l(n)}`.toUpperCase()}return null}onThemeChange(){this.clear(),setTimeout(this.initAnimation.bind(this),this.token("--sd-duration-fast",150))}initAnimation(){var l;let t=(l=this.canvas)==null?void 0:l.getContext("2d");if(!t)return;this.context=t;let s=this.audioPlayerContainer.querySelector(".playback-speed"),m=window.getComputedStyle(s).color,n=this.inverted?"#FFFFFF33":this.rgbToHex(m)+"33";this.waveList=[new h({canvas:this.canvas,color:n,phase:240,shift:1.5,amplitude:230,frequency:.012,damping:1}),new h({canvas:this.canvas,color:n,phase:180,shift:2.5,amplitude:250,frequency:.005,damping:1}),new h({canvas:this.canvas,color:n,phase:180,shift:-2.5,amplitude:250,frequency:.005,damping:1}),new h({canvas:this.canvas,color:n,phase:180,shift:-1,amplitude:200,frequency:.018,damping:1}),new h({canvas:this.canvas,color:n,phase:180,shift:1.5,amplitude:150,frequency:.01,damping:1})],this.animated&&this.drawStillWaves()}drawStillWaves(){this.waveList.forEach(t=>{t.redraw()})}stopAnimation(){this.isPlaying=!1}clear(){!this.context||!this.canvas||this.context.clearRect(0,0,this.canvas.width,this.canvas.height)}async draw(){!this.isPlaying||!this.animated||(this.clear(),this.waveList.forEach(t=>{t.redraw()}),await new Promise(t=>{setTimeout(t,1e3/30)}),await this.draw())}render(){let t=a`<div class="${r("controls grid grid-cols-3 justify-items-center items-center",this.reversedLayout?"mt-2":"mb-2",!this.animated&&"relative",this.animated&&!this.reversedLayout&&"absolute -top-4 left-0 w-full")}" part="audio-controls"><button class="${r("playback-speed justify-self-start text-base font-bold hover:cursor-pointer sd-interactive",this.inverted&&"sd-interactive--inverted")}" aria-label="${this.localize.term("playbackSpeed")} (${this.speed}x)" @click="${this.togglePlaybackSpeed}" @keydown="${this.togglePlaybackSpeedKeydown}" part="playback-speed">${this.speed}x</button><sd-button ?inverted="${!!this.inverted}" part="play-button" size="lg" @click="${this.isPlaying?this.pauseAudio:this.playAudio}" aria-label="${this.isPlaying?this.localize.term("pauseAudio"):this.localize.term("playAudio")}" title="${this.isPlaying?this.localize.term("pauseAudio"):this.localize.term("playAudio")}" class="mb-4">${this.isPlaying?a`<slot name="pause-icon"><sd-icon class="text-xl" name="pause" library="_internal"></sd-icon></slot>`:a`<slot name="play-icon"><sd-icon class="text-xl" name="start" library="_internal"></sd-icon></slot>`}</sd-button><div class="flex items-center gap-6 justify-self-end">${this.hasSlotController.test("transcript")?a`<button class="${r("w-6 h-6 hover:cursor-pointer sd-interactive",this.inverted&&"sd-interactive--inverted")}" aria-label="${this.isTranscriptOpen?this.localize.term("transcriptIsOpen"):this.localize.term("openTranscript")}" @click="${this.showTranscript}" @keydown="${this.showTranscriptKeydown}" part="transcript"><sd-icon class="w-6 h-6" name="transcript" library="_internal"></sd-icon></button>`:null} <button class="${r("w-6 h-6 hover:cursor-pointer sd-interactive",this.inverted&&"sd-interactive--inverted")}" part="volume" aria-label="${this.isMuted?this.localize.term("unmute"):this.localize.term("mute")}" @click="${this.toggleMute}" @keydown="${this.toggleMuteKeydown}"><sd-icon class="w-6 h-6" name="${this.isMuted?"mute":"volume"}" library="_internal"></sd-icon></button></div></div>`,s=a`<div class="${r("w-full flex justify-between",this.reversedLayout?"mb-0.5":"mt-0.5",this.animated&&this.reversedLayout&&"absolute bottom-0 left-0 !mb-4")}" part="timestamps"><div class="${r("current-time text-sm",this.inverted?"text-primary-400":"sd-audio__timestamp-color-text")}">${this.currentTime}</div><div class="${r("current-time text-sm",this.inverted?"text-primary-400":"sd-audio__timestamp-color-text")}">${this.duration}</div></div>`;return a`<div class="${r("w-full flex relative",this.reversedLayout?"flex-col-reverse":"flex-col")}" aria-label="${this.localize.term("audioPlayer")}" part="audio-player"><slot @slotchange="${this.updateAudioDuration}"></slot>${!this.animated||this.animated&&this.reversedLayout?t:null}<div class="relative">${this.animated&&!this.reversedLayout?a`${t}`:null} ${this.animated?a`<canvas class="w-full h-16 -mb-2"></canvas>`:null} ${!this.hideTimestamps&&this.animated&&this.reversedLayout?s:null}<sd-range part="progress-slider" tooltip="hidden" min="0" max="100" step="0.001" label="${this.localize.term("seekBar")}" @mousedown="${this.handleThumbGrab}" @touchstart="${this.handleThumbGrab}" @mouseup="${this.handleThumbRelease}" @touchend="${this.handleThumbRelease}" @sd-input="${this.handleAudioProgress}" @keydown="${this.handleAudioProgressKeydown}"></sd-range></div>${this.hasSlotController.test("transcript")?a`<sd-drawer><slot name="transcript"></slot></sd-drawer>`:null} ${!this.hideTimestamps&&(!this.animated||!this.reversedLayout)?s:null}</div><sd-theme-listener></sd-theme-listener>`}};e.styles=[...p.styles,v`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as b}from"./chunk.CGQ2BPPZ.js";import{a as y}from"./chunk.VAM5SM3O.js";import{a as r}from"./chunk.4ZZFYCXX.js";import{a as g,b as d,c as o,d as u,h as p}from"./chunk.4SDWX3GC.js";import{b as v,e as a}from"./chunk.OBAEIKIV.js";import{a as h}from"./chunk.WNP2V63C.js";import{e as i}from"./chunk.6EV4YU6C.js";var e=class extends p{constructor(){super();this.localize=new y(this);this.hasSlotController=new b(this,"transcript");this.reversedLayout=!1;this.hideTimestamps=!1;this.animated=!1;this.inverted=!1;this.speed=1;this.currentTime=this.formatTime(0);this.duration="";this.isPlaying=!1;this.isMuted=!1;this.isTranscriptOpen=!1;this.progress=0;this.updateCurrentTime=this.updateCurrentTime.bind(this),this.handleAudioEnd=this.handleAudioEnd.bind(this),this.handleAudioProgress=this.handleAudioProgress.bind(this),this.handleAudioProgressKeydown=this.handleAudioProgressKeydown.bind(this),this.handleTranscriptDrawerToggle=this.handleTranscriptDrawerToggle.bind(this)}firstUpdated(){this.audioElement&&(this.audioElement.addEventListener("timeupdate",this.updateCurrentTime),this.audioElement.addEventListener("ended",this.handleAudioEnd),this.audioElement.setAttribute("controlsList","nodownload"),document.addEventListener("sd-after-hide",this.handleTranscriptDrawerToggle),this.audioElement.playbackRate=this.speed,this.progressSlider.tooltipFormatter=t=>this.localize.term("seconds",Number(t).toFixed(0)),this.animated&&this.initAnimation())}updated(t){if(t.has("animated")){let s=t.get("animated");!s&&this.animated?this.initAnimation():s&&!this.animated&&this.clear()}}get audioElement(){let t=this.shadowRoot.querySelector("slot");return(t==null?void 0:t.assignedElements().length)>0?t.assignedElements()[0]:null}updateCurrentTime(){if(!this.audioElement)return;let t=this.audioElement.currentTime;this.currentTime=this.formatTime(t),this.progress=t,this.progressSlider&&(this.progressSlider.value=this.progress.toString())}updateAudioDuration(){if(this.audioElement){if(isNaN(this.audioElement.duration)){setTimeout(()=>{this.updateAudioDuration()},100);return}this.duration=this.formatTime(this.audioElement.duration),this.progressSlider.max=this.audioElement.duration}}playAudio(){this.audioElement&&(this.isPlaying=!0,this.audioElement.play(),this.emit("sd-playback-start"),this.animated&&this.draw())}pauseAudio(){this.audioElement&&(this.isPlaying=!1,this.audioElement.pause(),this.emit("sd-playback-pause"),this.animated&&this.stopAnimation())}handleAudioEnd(){this.emit("sd-playback-end"),this.isPlaying=!1,this.progress=0,this.progressSlider.value="0",this.currentTime=this.formatTime(0),this.animated&&this.stopAnimation()}toggleMute(){this.audioElement&&(this.isMuted=!this.isMuted,this.isMuted?(this.emit("sd-playback-mute"),this.audioElement.muted=!0):(this.emit("sd-playback-unmute"),this.audioElement.muted=!1))}toggleMuteKeydown(t){t.key==="Enter"&&(t.preventDefault(),this.toggleMute())}togglePlaybackSpeed(){this.audioElement&&(this.emit("sd-playback-speed"),this.speed=this.speed===1.5?1:this.speed+.25,this.audioElement.playbackRate=this.speed)}togglePlaybackSpeedKeydown(t){t.key==="Enter"&&(t.preventDefault(),this.togglePlaybackSpeed())}formatTime(t){let s=Math.floor(t/60).toString().padStart(2,"0"),c=Math.floor(t%60).toString().padStart(2,"0");return`${s}:${c}`}handleAudioProgress(){if(!this.audioElement)return;let t=Number(this.progressSlider.value);this.audioElement.currentTime=t,this.progress=t,this.currentTime=this.formatTime(t)}handleAudioProgressKeydown(t){t.key==="ArrowRight"&&(this.progressSlider.value=(Number(this.progressSlider.value)+1).toString(),this.handleAudioProgress()),t.key==="ArrowLeft"&&(this.progressSlider.value=(Number(this.progressSlider.value)-1).toString(),this.handleAudioProgress())}handleTranscriptDrawerToggle(){this.isTranscriptOpen=!this.isTranscriptOpen}handleThumbGrab(){var t;(t=this.audioElement)==null||t.pause()}handleThumbRelease(){var t;this.isPlaying&&((t=this.audioElement)==null||t.play())}showTranscript(){this.emit("sd-transcript-click"),this.drawer.open=!0,this.handleTranscriptDrawerToggle()}showTranscriptKeydown(t){(t.key==="Enter"||t.key===" ")&&this.showTranscript()}rgbToHex(t){let s=t.match(/\d+/g);if((s==null?void 0:s.length)===3){let c=parseInt(s[0]),m=parseInt(s[1]),n=parseInt(s[2]),l=f=>f.toString(16).padStart(2,"0");return`#${l(c)}${l(m)}${l(n)}`.toUpperCase()}return null}onThemeChange(){this.clear(),setTimeout(this.initAnimation.bind(this),this.token("--sd-duration-fast",150))}initAnimation(){var l;let t=(l=this.canvas)==null?void 0:l.getContext("2d");if(!t)return;this.context=t;let s=this.audioPlayerContainer.querySelector(".playback-speed"),m=window.getComputedStyle(s).color,n=this.inverted?"#FFFFFF33":this.rgbToHex(m)+"33";this.waveList=[new h({canvas:this.canvas,color:n,phase:240,shift:1.5,amplitude:230,frequency:.012,damping:1}),new h({canvas:this.canvas,color:n,phase:180,shift:2.5,amplitude:250,frequency:.005,damping:1}),new h({canvas:this.canvas,color:n,phase:180,shift:-2.5,amplitude:250,frequency:.005,damping:1}),new h({canvas:this.canvas,color:n,phase:180,shift:-1,amplitude:200,frequency:.018,damping:1}),new h({canvas:this.canvas,color:n,phase:180,shift:1.5,amplitude:150,frequency:.01,damping:1})],this.animated&&this.drawStillWaves()}drawStillWaves(){this.waveList.forEach(t=>{t.redraw()})}stopAnimation(){this.isPlaying=!1}clear(){!this.context||!this.canvas||this.context.clearRect(0,0,this.canvas.width,this.canvas.height)}async draw(){!this.isPlaying||!this.animated||(this.clear(),this.waveList.forEach(t=>{t.redraw()}),await new Promise(t=>{setTimeout(t,1e3/30)}),await this.draw())}render(){let t=a`<div class="${r("controls grid grid-cols-3 justify-items-center items-center",this.reversedLayout?"mt-2":"mb-2",!this.animated&&"relative",this.animated&&!this.reversedLayout&&"absolute -top-4 left-0 w-full")}" part="audio-controls"><button class="${r("playback-speed justify-self-start text-base font-bold hover:cursor-pointer sd-interactive",this.inverted&&"sd-interactive--inverted")}" aria-label="${this.localize.term("playbackSpeed")} (${this.speed}x)" @click="${this.togglePlaybackSpeed}" @keydown="${this.togglePlaybackSpeedKeydown}" part="playback-speed">${this.speed}x</button><sd-button ?inverted="${!!this.inverted}" part="play-button" size="lg" @click="${this.isPlaying?this.pauseAudio:this.playAudio}" aria-label="${this.isPlaying?this.localize.term("pauseAudio"):this.localize.term("playAudio")}" title="${this.isPlaying?this.localize.term("pauseAudio"):this.localize.term("playAudio")}" class="mb-4">${this.isPlaying?a`<slot name="pause-icon"><sd-icon class="text-xl" name="pause" library="_internal"></sd-icon></slot>`:a`<slot name="play-icon"><sd-icon class="text-xl" name="start" library="_internal"></sd-icon></slot>`}</sd-button><div class="flex items-center gap-6 justify-self-end">${this.hasSlotController.test("transcript")?a`<button class="${r("w-6 h-6 hover:cursor-pointer sd-interactive",this.inverted&&"sd-interactive--inverted")}" aria-label="${this.isTranscriptOpen?this.localize.term("transcriptIsOpen"):this.localize.term("openTranscript")}" @click="${this.showTranscript}" @keydown="${this.showTranscriptKeydown}" part="transcript"><sd-icon class="w-6 h-6" name="transcript" library="_internal"></sd-icon></button>`:null} <button class="${r("w-6 h-6 hover:cursor-pointer sd-interactive",this.inverted&&"sd-interactive--inverted")}" part="volume" aria-label="${this.isMuted?this.localize.term("unmute"):this.localize.term("mute")}" @click="${this.toggleMute}" @keydown="${this.toggleMuteKeydown}"><sd-icon class="w-6 h-6" name="${this.isMuted?"mute":"volume"}" library="_internal"></sd-icon></button></div></div>`,s=a`<div class="${r("w-full flex justify-between",this.reversedLayout?"mb-0.5":"mt-0.5",this.animated&&this.reversedLayout&&"absolute bottom-0 left-0 !mb-4")}" part="timestamps"><div class="${r("current-time text-sm",this.inverted?"text-primary-400":"sd-audio__timestamp-color-text")}">${this.currentTime}</div><div class="${r("current-time text-sm",this.inverted?"text-primary-400":"sd-audio__timestamp-color-text")}">${this.duration}</div></div>`;return a`<div class="${r("w-full flex relative",this.reversedLayout?"flex-col-reverse":"flex-col")}" aria-label="${this.localize.term("audioPlayer")}" part="audio-player"><slot @slotchange="${this.updateAudioDuration}"></slot>${!this.animated||this.animated&&this.reversedLayout?t:null}<div class="relative">${this.animated&&!this.reversedLayout?a`${t}`:null} ${this.animated?a`<canvas class="w-full h-16 -mb-2"></canvas>`:null} ${!this.hideTimestamps&&this.animated&&this.reversedLayout?s:null}<sd-range part="progress-slider" tooltip="hidden" min="0" max="100" step="0.001" label="${this.localize.term("seekBar")}" @mousedown="${this.handleThumbGrab}" @touchstart="${this.handleThumbGrab}" @mouseup="${this.handleThumbRelease}" @touchend="${this.handleThumbRelease}" @sd-input="${this.handleAudioProgress}" @keydown="${this.handleAudioProgressKeydown}"></sd-range></div>${this.hasSlotController.test("transcript")?a`<sd-drawer><slot name="transcript"></slot></sd-drawer>`:null} ${!this.hideTimestamps&&(!this.animated||!this.reversedLayout)?s:null}</div><sd-theme-listener></sd-theme-listener>`}};e.styles=[...p.styles,v`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  sd-button::part(base){display:flex;height:var(--sd-spacing-12);width:var(--sd-spacing-12);align-items:center;justify-content:center;border-radius:var(--sd-radius-full)}sd-button::part(motion-wrapper){border-radius:var(--sd-radius-full)}sd-button::part(label){display:flex;flex-grow:0;align-items:center}sd-range::part(form-control-label){display:none}:host([inverted]) sd-range::part(thumb){outline-color:rgba(var(--sd-color-border-white,var(--sd-color-white)));background-color:rgba(var(--sd-color-icon-fill-white,rgba(var(--sd-color-white))))}:host([animated]) sd-range::part(track){background-color:transparent}:host([inverted]:not([animated])) sd-range::part(track){background-color:rgba(var(--sd-audio__slide-bar--inverted-color-background,rgba(var(--sd-color-primary-400))))}:host([inverted]:not([animated])) sd-range::part(active-track){background-color:rgba(var(--sd-audio__track-bar--inverted-color-background,rgba(var(--sd-color-white))))}.sd-audio__timestamp-color-text{color:rgb(var(--sd-audio__timestamp-color-text,var(--sd-color-text-neutral-700)))}`],i([d({type:Boolean,reflect:!0,attribute:"reversed-layout"})],e.prototype,"reversedLayout",2),i([d({type:Boolean,reflect:!0,attribute:"hide-timestamps"})],e.prototype,"hideTimestamps",2),i([d({type:Boolean,reflect:!0})],e.prototype,"animated",2),i([d({type:Boolean,reflect:!0})],e.prototype,"inverted",2),i([d({type:Number,reflect:!0})],e.prototype,"speed",2),i([o()],e.prototype,"currentTime",2),i([o()],e.prototype,"duration",2),i([o()],e.prototype,"isPlaying",2),i([o()],e.prototype,"isMuted",2),i([o()],e.prototype,"isTranscriptOpen",2),i([o()],e.prototype,"progress",2),i([u('[part="progress-slider"]')],e.prototype,"progressSlider",2),i([u('[part="audio-player"]')],e.prototype,"audioPlayerContainer",2),i([u("sd-drawer")],e.prototype,"drawer",2),i([u("canvas")],e.prototype,"canvas",2),e=i([g("sd-audio")],e);export{e as a};
@@ -1,2 +1,2 @@
1
- import{a as w}from"./chunk.SAEYIL5V.js";import{a as $}from"./chunk.ERP45OHF.js";import{b as x}from"./chunk.LZRL7OLU.js";import{a as r}from"./chunk.LHSR56PH.js";import{a as C}from"./chunk.CGQ2BPPZ.js";import{a as s}from"./chunk.4ZZFYCXX.js";import{a as d}from"./chunk.NYKJXI3Q.js";import{a as g,b as i,c,d as b,h as m}from"./chunk.SGJYHE3R.js";import{b as y,e as o}from"./chunk.OBAEIKIV.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends m{constructor(){super(...arguments);this.formControlController=new x(this);this.hasSlotController=new C(this,"help-text","label");this.hasFocus=!1;this.showValidStyle=!1;this.showInvalidStyle=!1;this.title="";this.name="";this.value="";this.size="lg";this.label="";this.helpText="";this.placeholder="";this.rows=4;this.disabled=!1;this.visuallyDisabled=!1;this.readonly=!1;this.form="";this.required=!1;this.floatingLabel=!1;this.styleOnValid=!1;this.spellcheck=!0;this.defaultValue=""}get validity(){return this.textarea.validity}get validationMessage(){return this.textarea.validationMessage}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.setTextareaHeight()})}firstUpdated(){this.formControlController.updateValidity()}disconnectedCallback(){super.disconnectedCallback()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleChange(){this.value=this.textarea.value,this.setTextareaHeight(),this.emit("sd-change")}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleInput(){if(this.visuallyDisabled){this.textarea.value=this.value;return}this.value=this.textarea.value,this.formControlController.updateValidity(),this.emit("sd-input")}handleInvalid(l){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(l),this.invalidMessage.textContent=l.target.validationMessage}setTextareaHeight(){this.textarea.style.height=void 0}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleRowsChange(){this.setTextareaHeight()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity(),this.setTextareaHeight()}handleSizeChange(){this.size=this.floatingLabel&&this.size==="sm"?"md":this.size}focus(l){this.textarea.focus(l)}blur(){this.textarea.blur()}select(){this.textarea.select()}scrollPosition(l){if(l){typeof l.top=="number"&&(this.textarea.scrollTop=l.top),typeof l.left=="number"&&(this.textarea.scrollLeft=l.left);return}return{top:this.textarea.scrollTop,left:this.textarea.scrollTop}}setSelectionRange(l,a,n="none"){this.textarea.setSelectionRange(l,a,n)}setRangeText(l,a,n,p){this.textarea.setRangeText(l,a,n,p),this.value!==this.textarea.value&&(this.value=this.textarea.value),this.value!==this.textarea.value&&(this.value=this.textarea.value,this.setTextareaHeight())}checkValidity(){var l;return(l=this.textarea)==null?void 0:l.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.textarea.reportValidity()}setCustomValidity(l){this.textarea.setCustomValidity(l),this.formControlController.updateValidity()}render(){let l={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text"),tooltip:this.hasSlotController.test("tooltip")},a=this.label?!0:!!l.label,n=this.helpText?!0:!!l.helpText,p=!!l.tooltip,V=this.value!==null&&String(this.value).length>0,h=this.floatingLabel&&a&&(this.hasFocus&&!this.visuallyDisabled||V),u=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.readonly?"readonly":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",f=this.size==="sm"?"text-sm":"text-base",v={sm:"text-base top-1",md:"text-lg top-2",lg:"text-xl top-2"}[this.size];return o`<div part="form-control" class="flex flex-col h-full text-left">${a&&!this.floatingLabel||p?o`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${s(a?"inline-block":"hidden",f,this.visuallyDisabled||this.disabled?"text-neutral-500":" form-control-color-text")}" for="input" aria-hidden="${a?"false":"true"}"><slot name="label">${this.label}</slot></label> ${l.tooltip?o`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${s("relative h-full w-full",this.disabled&&"cursor-not-allowed")}">${a&&this.floatingLabel?o`<label id="label" part="form-control-floating-label" class="${s("absolute left-4 z-20 transition-all duration-200 cursor-text",f,h?"top-2 text-xs":"top-2.5 form-control-color-text")}" for="input"><span class="${s("leading-none",(this.visuallyDisabled||this.disabled)&&"text-neutral-500",h&&!this.visuallyDisabled&&!this.disabled&&"form-control--filled__floating-label-color-text")}">${this.label}</span></label>`:null}<div part="border" class="${s("absolute w-full h-full pointer-events-none border form-control-border-radius 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"}[u])}"></div><div part="base" class="${s("textarea h-full flex items-top form-control-border-radius group transition-colors duration-medium hover:duration-fast ease-in-out",this.floatingLabel&&"pt-6",{sm:"textarea-sm",md:"textarea-md",lg:"textarea-lg"}[this.size],!this.disabled&&!this.readonly&&!this.visuallyDisabled?"hover:[@media(hover:hover)]:form-control--hover-color-background":"",this.readonly?"form-control--read-only-color-background":"bg-white",u==="disabled"||u==="visuallyDisabled"?"text-neutral-500":"text-black",["invalid","activeInvalid"].includes(u)&&"form-control--invalid-color-background")}"><textarea part="textarea" id="input" class="${s("ps-4 flex-grow focus:outline-none bg-transparent placeholder:text-neutral-700 resize-none group-has-[sd-icon]:pe-8",{sm:h?"pb-1":"py-2",md:h?"pb-1":"py-2",lg:h?"pb-2":"py-2"}[this.size],this.disabled&&"cursor-not-allowed",f)}" title="${this.title}" name="${r(this.name)}" .value="${w(this.value)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" ?visually-disabled="${this.visuallyDisabled}" placeholder="${!this.floatingLabel||h?r(this.placeholder):""}" minlength="${r(this.minlength)}" maxlength="${r(this.maxlength)}" rows="${r(this.rows)}" autocapitalize="${r(this.autocapitalize)}" autocorrect="${r(this.autocorrect===void 0?void 0:this.autocorrect?"on":"off")}" ?autofocus="${this.autofocus}" spellcheck="${r(this.spellcheck)}" enterkeyhint="${r(this.enterkeyhint)}" inputmode="${r(this.inputmode)}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" aria-disabled="${this.disabled||this.visuallyDisabled}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"></textarea> ${this.showInvalidStyle?o`<sd-icon class="${s("text-error absolute right-4 pointer-events-none",v)}" library="_internal" name="risk" part="invalid-icon"></sd-icon>`:""} ${this.styleOnValid&&this.showValidStyle?o`<sd-icon class="${s("text-success absolute right-4 pointer-events-none",v)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-icon>`:""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${s("text-sm mt-1",n&&!this.showInvalidStyle?"block":"hidden",this.visuallyDisabled||this.disabled?"text-neutral-500":"text-neutral-700")}" aria-hidden="${!n||this.showInvalidStyle}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage(this.size)}`}};t.styles=[...m.styles,y`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as w}from"./chunk.SAEYIL5V.js";import{a as $}from"./chunk.ERP45OHF.js";import{b as x}from"./chunk.LZRL7OLU.js";import{a as r}from"./chunk.LHSR56PH.js";import{a as C}from"./chunk.CGQ2BPPZ.js";import{a as s}from"./chunk.4ZZFYCXX.js";import{a as d}from"./chunk.NYKJXI3Q.js";import{a as g,b as i,c,d as b,h as m}from"./chunk.4SDWX3GC.js";import{b as y,e as o}from"./chunk.OBAEIKIV.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends m{constructor(){super(...arguments);this.formControlController=new x(this);this.hasSlotController=new C(this,"help-text","label");this.hasFocus=!1;this.showValidStyle=!1;this.showInvalidStyle=!1;this.title="";this.name="";this.value="";this.size="lg";this.label="";this.helpText="";this.placeholder="";this.rows=4;this.disabled=!1;this.visuallyDisabled=!1;this.readonly=!1;this.form="";this.required=!1;this.floatingLabel=!1;this.styleOnValid=!1;this.spellcheck=!0;this.defaultValue=""}get validity(){return this.textarea.validity}get validationMessage(){return this.textarea.validationMessage}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.setTextareaHeight()})}firstUpdated(){this.formControlController.updateValidity()}disconnectedCallback(){super.disconnectedCallback()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleChange(){this.value=this.textarea.value,this.setTextareaHeight(),this.emit("sd-change")}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleInput(){if(this.visuallyDisabled){this.textarea.value=this.value;return}this.value=this.textarea.value,this.formControlController.updateValidity(),this.emit("sd-input")}handleInvalid(l){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(l),this.invalidMessage.textContent=l.target.validationMessage}setTextareaHeight(){this.textarea.style.height=void 0}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleRowsChange(){this.setTextareaHeight()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity(),this.setTextareaHeight()}handleSizeChange(){this.size=this.floatingLabel&&this.size==="sm"?"md":this.size}focus(l){this.textarea.focus(l)}blur(){this.textarea.blur()}select(){this.textarea.select()}scrollPosition(l){if(l){typeof l.top=="number"&&(this.textarea.scrollTop=l.top),typeof l.left=="number"&&(this.textarea.scrollLeft=l.left);return}return{top:this.textarea.scrollTop,left:this.textarea.scrollTop}}setSelectionRange(l,a,n="none"){this.textarea.setSelectionRange(l,a,n)}setRangeText(l,a,n,p){this.textarea.setRangeText(l,a,n,p),this.value!==this.textarea.value&&(this.value=this.textarea.value),this.value!==this.textarea.value&&(this.value=this.textarea.value,this.setTextareaHeight())}checkValidity(){var l;return(l=this.textarea)==null?void 0:l.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.textarea.reportValidity()}setCustomValidity(l){this.textarea.setCustomValidity(l),this.formControlController.updateValidity()}render(){let l={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text"),tooltip:this.hasSlotController.test("tooltip")},a=this.label?!0:!!l.label,n=this.helpText?!0:!!l.helpText,p=!!l.tooltip,V=this.value!==null&&String(this.value).length>0,h=this.floatingLabel&&a&&(this.hasFocus&&!this.visuallyDisabled||V),u=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.readonly?"readonly":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",f=this.size==="sm"?"text-sm":"text-base",v={sm:"text-base top-1",md:"text-lg top-2",lg:"text-xl top-2"}[this.size];return o`<div part="form-control" class="flex flex-col h-full text-left">${a&&!this.floatingLabel||p?o`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${s(a?"inline-block":"hidden",f,this.visuallyDisabled||this.disabled?"text-neutral-500":" form-control-color-text")}" for="input" aria-hidden="${a?"false":"true"}"><slot name="label">${this.label}</slot></label> ${l.tooltip?o`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${s("relative h-full w-full",this.disabled&&"cursor-not-allowed")}">${a&&this.floatingLabel?o`<label id="label" part="form-control-floating-label" class="${s("absolute left-4 z-20 transition-all duration-200 cursor-text",f,h?"top-2 text-xs":"top-2.5 form-control-color-text")}" for="input"><span class="${s("leading-none",(this.visuallyDisabled||this.disabled)&&"text-neutral-500",h&&!this.visuallyDisabled&&!this.disabled&&"form-control--filled__floating-label-color-text")}">${this.label}</span></label>`:null}<div part="border" class="${s("absolute w-full h-full pointer-events-none border form-control-border-radius 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"}[u])}"></div><div part="base" class="${s("textarea h-full flex items-top form-control-border-radius group transition-colors duration-medium hover:duration-fast ease-in-out",this.floatingLabel&&"pt-6",{sm:"textarea-sm",md:"textarea-md",lg:"textarea-lg"}[this.size],!this.disabled&&!this.readonly&&!this.visuallyDisabled?"hover:[@media(hover:hover)]:form-control--hover-color-background":"",this.readonly?"form-control--read-only-color-background":"bg-white",u==="disabled"||u==="visuallyDisabled"?"text-neutral-500":"text-black",["invalid","activeInvalid"].includes(u)&&"form-control--invalid-color-background")}"><textarea part="textarea" id="input" class="${s("ps-4 flex-grow focus:outline-none bg-transparent placeholder:text-neutral-700 resize-none group-has-[sd-icon]:pe-8",{sm:h?"pb-1":"py-2",md:h?"pb-1":"py-2",lg:h?"pb-2":"py-2"}[this.size],this.disabled&&"cursor-not-allowed",f)}" title="${this.title}" name="${r(this.name)}" .value="${w(this.value)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" ?visually-disabled="${this.visuallyDisabled}" placeholder="${!this.floatingLabel||h?r(this.placeholder):""}" minlength="${r(this.minlength)}" maxlength="${r(this.maxlength)}" rows="${r(this.rows)}" autocapitalize="${r(this.autocapitalize)}" autocorrect="${r(this.autocorrect===void 0?void 0:this.autocorrect?"on":"off")}" ?autofocus="${this.autofocus}" spellcheck="${r(this.spellcheck)}" enterkeyhint="${r(this.enterkeyhint)}" inputmode="${r(this.inputmode)}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" aria-disabled="${this.disabled||this.visuallyDisabled}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"></textarea> ${this.showInvalidStyle?o`<sd-icon class="${s("text-error absolute right-4 pointer-events-none",v)}" library="_internal" name="risk" part="invalid-icon"></sd-icon>`:""} ${this.styleOnValid&&this.showValidStyle?o`<sd-icon class="${s("text-success absolute right-4 pointer-events-none",v)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-icon>`:""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${s("text-sm mt-1",n&&!this.showInvalidStyle?"block":"hidden",this.visuallyDisabled||this.disabled?"text-neutral-500":"text-neutral-700")}" aria-hidden="${!n||this.showInvalidStyle}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage(this.size)}`}};t.styles=[...m.styles,y`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{display:block;height:100%}:host textarea{scrollbar-gutter:stable}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{color:rgba(var(--sd-color-text-neutral-500))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{color:rgba(var(--sd-color-text-neutral-500))}:host([required]) #label::after{content:' *'}:host([visually-disabled]) textarea{caret-color:transparent}.no-scrollbar::-webkit-scrollbar{display:none}`],e([b("#input")],t.prototype,"textarea",2),e([b("#invalid-message")],t.prototype,"invalidMessage",2),e([c()],t.prototype,"hasFocus",2),e([c()],t.prototype,"showValidStyle",2),e([c()],t.prototype,"showInvalidStyle",2),e([i({type:String,reflect:!0})],t.prototype,"title",2),e([i({type:String,reflect:!0})],t.prototype,"name",2),e([i()],t.prototype,"value",2),e([i({type:String,reflect:!0})],t.prototype,"size",2),e([i({type:String,reflect:!0})],t.prototype,"label",2),e([i({type:String,attribute:"help-text",reflect:!0})],t.prototype,"helpText",2),e([i({type:String,reflect:!0})],t.prototype,"placeholder",2),e([i({type:Number,reflect:!0})],t.prototype,"rows",2),e([i({type:Boolean,reflect:!0})],t.prototype,"disabled",2),e([i({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),e([i({type:Boolean,reflect:!0})],t.prototype,"readonly",2),e([i({type:String,reflect:!0})],t.prototype,"form",2),e([i({type:Boolean,reflect:!0})],t.prototype,"required",2),e([i({attribute:"floating-label",type:Boolean,reflect:!0})],t.prototype,"floatingLabel",2),e([i({type:Number,reflect:!0})],t.prototype,"minlength",2),e([i({type:Number,reflect:!0})],t.prototype,"maxlength",2),e([i({type:String,reflect:!0})],t.prototype,"autocapitalize",2),e([i({type:Boolean,reflect:!0,converter:{fromAttribute:l=>l!=="off",toAttribute:l=>l?"on":"off"}})],t.prototype,"autocorrect",2),e([i({reflect:!0})],t.prototype,"autocomplete",2),e([i({type:Boolean,reflect:!0})],t.prototype,"autofocus",2),e([i({type:String,reflect:!0})],t.prototype,"enterkeyhint",2),e([i({type:Boolean,reflect:!0,attribute:"style-on-valid"})],t.prototype,"styleOnValid",2),e([i({type:Boolean,converter:{fromAttribute:l=>!(!l||l==="false"),toAttribute:l=>l?"true":"false"}})],t.prototype,"spellcheck",2),e([i({type:String,reflect:!0})],t.prototype,"inputmode",2),e([$()],t.prototype,"defaultValue",2),e([d("disabled",{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),e([d("rows",{waitUntilFirstUpdate:!0})],t.prototype,"handleRowsChange",1),e([d("value",{waitUntilFirstUpdate:!0})],t.prototype,"handleValueChange",1),e([d(["size","floatingLabel"])],t.prototype,"handleSizeChange",1),t=e([g("sd-textarea")],t);export{t as a};
@@ -1,4 +1,4 @@
1
- import{a as c}from"./chunk.CGQ2BPPZ.js";import{a as r}from"./chunk.4ZZFYCXX.js";import{a as s,b as i,d,h as n}from"./chunk.SGJYHE3R.js";import{b as l,e}from"./chunk.OBAEIKIV.js";import{e as a}from"./chunk.6EV4YU6C.js";var t=class extends n{constructor(){super(...arguments);this.variant="white";this.open=!1;this.hasSlotController=new c(this,"[default]","media","meta","headline","expandable")}onToggleClick(){this.open=!this.open}render(){let o={"teaser-has-default":this.hasSlotController.test("[default]"),"teaser-has-media":this.hasSlotController.test("media"),"teaser-has-meta":this.hasSlotController.test("meta"),"teaser-has-headline":this.hasSlotController.test("headline"),"teaser-has-expandable":this.hasSlotController.test("expandable")};return e`<div class="relative flex flex-col group" part="base"><div class="absolute flex flex-col justify-end h-full w-full pb-4"><div class="${r("flex-1",this.variant==="gradient-light"&&"bg-gradient-to-t from-white/60 to-white/0",this.variant==="gradient-dark"&&"bg-gradient-to-t from-primary-800/60 to-primary-800/0")}"></div><div class="${r("relative",["primary","gradient-dark"].includes(this.variant)&&"text-white")}"><div class="${r("absolute inset-0 pointer-events-none",{white:"sd-teaser-media--white-color-background group-hover:sd-teaser-media--white--hover-color-background ","neutral-100":"sd-teaser-media--neutral-100-color-background group-hover:sd-teaser-media--neutral-100--hover-color-background",primary:"bg-primary/80 text-white group-hover:bg-primary/90","primary-100":"sd-teaser-media--primary-100-color-background group-hover:sd-teaser-media--primary-100--hover-color-background","gradient-light":"bg-gradient-to-t from-white/75 to-white/60","gradient-dark":"bg-gradient-to-t from-primary-800/75 to-primary-800/60"}[this.variant])}"></div><div class="relative flex flex-col text-left p-4" part="content"><div class="flex flex-col"><div part="headline" class="text-lg font-bold m-0 order-2"><slot name="headline">Always insert one semantically correct heading element here</slot></div><div part="meta" class="${r("gap-2 mb-2 order-1",!o["teaser-has-meta"]&&"hidden")}"><slot name="meta"></slot></div></div><div part="main" class="${r(!o["teaser-has-default"]&&"hidden")}"><slot></slot></div><div class="${r("mt-3 transition-opacity duration-300",!this.open&&"hidden",this.open?"opacity-100":"opacity-0")}" part="expandable" aria-hidden="true"><slot name="expandable"></slot></div>${o["teaser-has-expandable"]?e`<button part="toggle" class="${r("mt-2",["primary","gradient-dark"].includes(this.variant)?"text-white":"sd-teaser-media-color-icon-fill")}" @click="${this.onToggleClick}" aria-expanded="${this.open}" aria-label="${this.open?"Collapse content":"Expand content"}"><div class="h-full justify-start flex items-start"><sd-icon class="${r("w-6 h-6 transition-transform",this.open&&"rotate-180")}" library="_internal" name="chevron-down"></sd-icon></div></button>`:null}</div></div></div><div class="${r("mb-4 -z-10",!o["teaser-has-media"]&&"hidden")}" part="media"><slot name="media"></slot></div></div>`}};t.styles=[...n.styles,l`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as c}from"./chunk.CGQ2BPPZ.js";import{a as r}from"./chunk.4ZZFYCXX.js";import{a as s,b as i,d,h as n}from"./chunk.4SDWX3GC.js";import{b as l,e}from"./chunk.OBAEIKIV.js";import{e as a}from"./chunk.6EV4YU6C.js";var t=class extends n{constructor(){super(...arguments);this.variant="white";this.open=!1;this.hasSlotController=new c(this,"[default]","media","meta","headline","expandable")}onToggleClick(){this.open=!this.open}render(){let o={"teaser-has-default":this.hasSlotController.test("[default]"),"teaser-has-media":this.hasSlotController.test("media"),"teaser-has-meta":this.hasSlotController.test("meta"),"teaser-has-headline":this.hasSlotController.test("headline"),"teaser-has-expandable":this.hasSlotController.test("expandable")};return e`<div class="relative flex flex-col group" part="base"><div class="absolute flex flex-col justify-end h-full w-full pb-4"><div class="${r("flex-1",this.variant==="gradient-light"&&"bg-gradient-to-t from-white/60 to-white/0",this.variant==="gradient-dark"&&"bg-gradient-to-t from-primary-800/60 to-primary-800/0")}"></div><div class="${r("relative",["primary","gradient-dark"].includes(this.variant)&&"text-white")}"><div class="${r("absolute inset-0 pointer-events-none",{white:"sd-teaser-media--white-color-background group-hover:sd-teaser-media--white--hover-color-background ","neutral-100":"sd-teaser-media--neutral-100-color-background group-hover:sd-teaser-media--neutral-100--hover-color-background",primary:"bg-primary/80 text-white group-hover:bg-primary/90","primary-100":"sd-teaser-media--primary-100-color-background group-hover:sd-teaser-media--primary-100--hover-color-background","gradient-light":"bg-gradient-to-t from-white/75 to-white/60","gradient-dark":"bg-gradient-to-t from-primary-800/75 to-primary-800/60"}[this.variant])}"></div><div class="relative flex flex-col text-left p-4" part="content"><div class="flex flex-col"><div part="headline" class="text-lg font-bold m-0 order-2"><slot name="headline">Always insert one semantically correct heading element here</slot></div><div part="meta" class="${r("gap-2 mb-2 order-1",!o["teaser-has-meta"]&&"hidden")}"><slot name="meta"></slot></div></div><div part="main" class="${r(!o["teaser-has-default"]&&"hidden")}"><slot></slot></div><div class="${r("mt-3 transition-opacity duration-300",!this.open&&"hidden",this.open?"opacity-100":"opacity-0")}" part="expandable" aria-hidden="true"><slot name="expandable"></slot></div>${o["teaser-has-expandable"]?e`<button part="toggle" class="${r("mt-2",["primary","gradient-dark"].includes(this.variant)?"text-white":"sd-teaser-media-color-icon-fill")}" @click="${this.onToggleClick}" aria-expanded="${this.open}" aria-label="${this.open?"Collapse content":"Expand content"}"><div class="h-full justify-start flex items-start"><sd-icon class="${r("w-6 h-6 transition-transform",this.open&&"rotate-180")}" library="_internal" name="chevron-down"></sd-icon></div></button>`:null}</div></div></div><div class="${r("mb-4 -z-10",!o["teaser-has-media"]&&"hidden")}" part="media"><slot name="media"></slot></div></div>`}};t.styles=[...n.styles,l`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{display:block}::slotted(*){margin:0}:host([variant=white]) .background:focus-within{background-color:rgba(var(--sd-color-background-white))}@supports (color:color-mix(in lab,red,red)){:host([variant=white]) .background:focus-within{background-color:color-mix(in oklab,rgba(var(--sd-color-background-white)) var(--sd-opacity-90),transparent)}}:host([variant=neutral-100]) .background:focus-within{background-color:rgba(var(--sd-color-background-neutral-100))}@supports (color:color-mix(in lab,red,red)){:host([variant=neutral-100]) .background:focus-within{background-color:color-mix(in oklab,rgba(var(--sd-color-background-neutral-100)) var(--sd-opacity-90),transparent)}}:host([variant=primary]) .background:focus-within{background-color:rgba(var(--sd-color-background-primary))}@supports (color:color-mix(in lab,red,red)){:host([variant=primary]) .background:focus-within{background-color:color-mix(in oklab,rgba(var(--sd-color-background-primary)) var(--sd-opacity-90),transparent)}}:host([variant=primary-100]) .background:focus-within{background-color:rgba(var(--sd-color-background-primary-100))}@supports (color:color-mix(in lab,red,red)){:host([variant=primary-100]) .background:focus-within{background-color:color-mix(in oklab,rgba(var(--sd-color-background-primary-100)) var(--sd-opacity-90),transparent)}}:host([variant=gradient-light]) .bg-gradient-to-t{--sd-color-background-white:var(--sd-informational-gradient--white-color-background, var(--sd-color-white))}:host([variant=gradient-dark]) .bg-gradient-to-t{--sd-color-background-primary-800:var(
3
3
  --sd-informational-gradient--primary-800-color-background,
4
4
  var(--sd-color-primary-800)
@@ -1,2 +1,2 @@
1
- import{a as c,h as e}from"./chunk.SGJYHE3R.js";import{b as l,e as o}from"./chunk.OBAEIKIV.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.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as c,h as e}from"./chunk.4SDWX3GC.js";import{b as l,e as o}from"./chunk.OBAEIKIV.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.3.2 | 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};
@@ -1,2 +1,2 @@
1
- import{a as v}from"./chunk.4ZZFYCXX.js";import{a as n}from"./chunk.NYKJXI3Q.js";import{a as f,b as a,d as m,h as l}from"./chunk.SGJYHE3R.js";import{b as o,e as c,i as h}from"./chunk.OBAEIKIV.js";import{e as s}from"./chunk.6EV4YU6C.js";var e=class extends l{constructor(){super(...arguments);this.steps=[];this.size="lg";this.orientation="horizontal";this.activeStep=0;this.notInteractive=!1;this.label=""}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.steps=this.getAllSteps(),this.steps[this.steps.length-1].noTail=!0;let t;this.steps.forEach((i,r)=>{i.index=r+1,i.size=this.size,i.orientation=this.orientation,this.notInteractive?(i.current=!1,i.disabled=!1,i.notInteractive=!0):i.current&&(t=r)}),this.activeStep!==-1&&this.setActiveStep(t||this.activeStep)})}handleActiveStepChange(){let t=Number(this.activeStep);Number.isNaN(t)||this.setActiveStep(t)}updateSize(){this.steps.forEach(t=>{t.size=this.size})}updateOrientation(){this.steps.forEach(t=>{t.orientation=this.orientation})}getAllSteps(){return[...this.body.assignedElements()].filter(t=>t.tagName.toLowerCase()==="sd-step")}setActiveStep(t){t>=0&&t<this.steps.length&&!this.notInteractive&&(this.activeStep=t,this.steps.forEach((i,r)=>{r===t?i.current=!0:r>t?(i.waiting=!0,i.current=!1):(i.current=!1,i.waiting=!1)}))}handleInteractivityChange(){this.notInteractive&&this.steps.forEach(t=>{t.current=!1,t.disabled=!1,t.notInteractive=!0})}render(){return this.size==="xs"&&this.orientation!=="vertical"?(console.warn('Size "xs" is only supported when orientation is "vertical". The element will not be rendered.'),h):c`<div role="${this.notInteractive?"group":"navigation"}" class="h-full" aria-label="${this.label}"><div role="list" part="base" class="${v("flex",this.orientation==="vertical"&&"flex-col h-full")}"><slot part="body"></slot></div></div>`}};e.styles=[...l.styles,o`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as v}from"./chunk.4ZZFYCXX.js";import{a as n}from"./chunk.NYKJXI3Q.js";import{a as f,b as a,d as m,h as l}from"./chunk.4SDWX3GC.js";import{b as o,e as c,i as h}from"./chunk.OBAEIKIV.js";import{e as s}from"./chunk.6EV4YU6C.js";var e=class extends l{constructor(){super(...arguments);this.steps=[];this.size="lg";this.orientation="horizontal";this.activeStep=0;this.notInteractive=!1;this.label=""}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.steps=this.getAllSteps(),this.steps[this.steps.length-1].noTail=!0;let t;this.steps.forEach((i,r)=>{i.index=r+1,i.size=this.size,i.orientation=this.orientation,this.notInteractive?(i.current=!1,i.disabled=!1,i.notInteractive=!0):i.current&&(t=r)}),this.activeStep!==-1&&this.setActiveStep(t||this.activeStep)})}handleActiveStepChange(){let t=Number(this.activeStep);Number.isNaN(t)||this.setActiveStep(t)}updateSize(){this.steps.forEach(t=>{t.size=this.size})}updateOrientation(){this.steps.forEach(t=>{t.orientation=this.orientation})}getAllSteps(){return[...this.body.assignedElements()].filter(t=>t.tagName.toLowerCase()==="sd-step")}setActiveStep(t){t>=0&&t<this.steps.length&&!this.notInteractive&&(this.activeStep=t,this.steps.forEach((i,r)=>{r===t?i.current=!0:r>t?(i.waiting=!0,i.current=!1):(i.current=!1,i.waiting=!1)}))}handleInteractivityChange(){this.notInteractive&&this.steps.forEach(t=>{t.current=!1,t.disabled=!1,t.notInteractive=!0})}render(){return this.size==="xs"&&this.orientation!=="vertical"?(console.warn('Size "xs" is only supported when orientation is "vertical". The element will not be rendered.'),h):c`<div role="${this.notInteractive?"group":"navigation"}" class="h-full" aria-label="${this.label}"><div role="list" part="base" class="${v("flex",this.orientation==="vertical"&&"flex-col h-full")}"><slot part="body"></slot></div></div>`}};e.styles=[...l.styles,o`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{width:-moz-max-content;width:max-content}`],s([m("[part=body]")],e.prototype,"body",2),s([a({type:String,reflect:!0})],e.prototype,"size",2),s([a({type:String,reflect:!0})],e.prototype,"orientation",2),s([a({type:Number,reflect:!0,attribute:"active-step"})],e.prototype,"activeStep",2),s([a({type:Boolean,reflect:!0,attribute:"not-interactive"})],e.prototype,"notInteractive",2),s([a({type:String,reflect:!0})],e.prototype,"label",2),s([n("activeStep",{waitUntilFirstUpdate:!0})],e.prototype,"handleActiveStepChange",1),s([n("size",{waitUntilFirstUpdate:!0})],e.prototype,"updateSize",1),s([n("orientation",{waitUntilFirstUpdate:!0})],e.prototype,"updateOrientation",1),s([n("notInteractive")],e.prototype,"handleInteractivityChange",1),e=s([f("sd-step-group")],e);export{e as a};
@@ -1,2 +1,2 @@
1
- import{a as u}from"./chunk.CGQ2BPPZ.js";import{a as i}from"./chunk.4ZZFYCXX.js";import{a as o}from"./chunk.NYKJXI3Q.js";import{a as h,b as a,c as r,d,h as n}from"./chunk.SGJYHE3R.js";import{b as c,e as l}from"./chunk.OBAEIKIV.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends n{constructor(){super(...arguments);this.hasSlotController=new u(this,"default","left","right");this.current=!1;this.selected=!1;this.hasHover=!1;this.isKeyboardFocus=!1;this.size="lg";this.checkbox=!1;this.disabled=!1;this.value=""}connectedCallback(){super.connectedCallback(),this.setAttribute("role","option"),this.setAttribute("aria-selected","false")}handleDefaultSlotChange(){let s=this.getTextLabel();if(typeof this.cachedTextLabel=="undefined"){this.cachedTextLabel=s;return}s!==this.cachedTextLabel&&(this.cachedTextLabel=s,this.emit("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}handleMouseEnter(){this.hasHover=!0}handleMouseLeave(){this.hasHover=!1}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}handleSelectedChange(){this.setAttribute("aria-selected",this.selected?"true":"false")}handleValueChange(){this.value.includes(" ")&&(console.error("Option values cannot include a space. All spaces have been replaced with underscores.",this),this.value=this.value.replace(/ /g,"_"))}getTextLabel(){var s;return((s=this.textContent)!=null?s:"").trim()}render(){let s={default:this.hasSlotController.test("default"),left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right")};return l`<div part="base" style="word-break:break-word" class="${i("px-4 flex items-start w-full transition-colors duration-fast ease-in-out text-left text-base relative",{sm:"text-base py-1",md:"text-base py-2",lg:"text-base py-3"}[this.size],this.disabled?"text-neutral-500 cursor-not-allowed":"text-black cursor-pointer",this.hasHover&&!this.disabled?"bg-neutral-200":"",this.isKeyboardFocus?"focus-outline focus-outline-offset":"",this.current&&"bg-neutral-200")}" @mouseenter="${this.handleMouseEnter}" @mouseleave="${this.handleMouseLeave}"><span class="${i("absolute w-full left-0 top-0 pointer-events-none transition-[height,top] duration-fast ease-in-out border-l-4 h-[calc(100%-8px)]",this.selected&&!this.checkbox?"border-accent":"border-transparent",this.disabled&&"border-neutral-500 top-1",!this.disabled&&this.hasHover?"h-full top-0":"top-1")}"></span> ${this.checkbox?l`<span id="control" part="control ${this.selected?" control--checked":"control--unchecked"}" class="${i("relative flex flex-shrink-0 items-center justify-center border sd-checkbox-border-width rounded-sm h-4 w-4 mr-2",{sm:"mt-0.5",md:"mt-1",lg:"mt-1"}[this.size],this.disabled?"sd-option--disabled-color-border":this.selected?"bg-accent border-accent":"bg-white form-control-color-border")}">${this.selected?l`<sd-icon part="checked-icon" class="text-white w-3 h-3" library="_internal" name="status-check"></sd-icon>`:""}</span>`:""} ${s.left?l`<slot name="left" part="left" class="inline-flex mr-2"></slot>`:""}<slot part="label" class="inline-block flex-grow" @slotchange="${this.handleDefaultSlotChange}"></slot>${s.right?l`<slot name="right" part="right" class="inline-flex ml-2"></slot>`:""}</div>`}};e.styles=[...n.styles,c`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as u}from"./chunk.CGQ2BPPZ.js";import{a as i}from"./chunk.4ZZFYCXX.js";import{a as o}from"./chunk.NYKJXI3Q.js";import{a as h,b as a,c as r,d,h as n}from"./chunk.4SDWX3GC.js";import{b as c,e as l}from"./chunk.OBAEIKIV.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends n{constructor(){super(...arguments);this.hasSlotController=new u(this,"default","left","right");this.current=!1;this.selected=!1;this.hasHover=!1;this.isKeyboardFocus=!1;this.size="lg";this.checkbox=!1;this.disabled=!1;this.value=""}connectedCallback(){super.connectedCallback(),this.setAttribute("role","option"),this.setAttribute("aria-selected","false")}handleDefaultSlotChange(){let s=this.getTextLabel();if(typeof this.cachedTextLabel=="undefined"){this.cachedTextLabel=s;return}s!==this.cachedTextLabel&&(this.cachedTextLabel=s,this.emit("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}handleMouseEnter(){this.hasHover=!0}handleMouseLeave(){this.hasHover=!1}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}handleSelectedChange(){this.setAttribute("aria-selected",this.selected?"true":"false")}handleValueChange(){this.value.includes(" ")&&(console.error("Option values cannot include a space. All spaces have been replaced with underscores.",this),this.value=this.value.replace(/ /g,"_"))}getTextLabel(){var s;return((s=this.textContent)!=null?s:"").trim()}render(){let s={default:this.hasSlotController.test("default"),left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right")};return l`<div part="base" style="word-break:break-word" class="${i("px-4 flex items-start w-full transition-colors duration-fast ease-in-out text-left text-base relative",{sm:"text-base py-1",md:"text-base py-2",lg:"text-base py-3"}[this.size],this.disabled?"text-neutral-500 cursor-not-allowed":"text-black cursor-pointer",this.hasHover&&!this.disabled?"bg-neutral-200":"",this.isKeyboardFocus?"focus-outline focus-outline-offset":"",this.current&&"bg-neutral-200")}" @mouseenter="${this.handleMouseEnter}" @mouseleave="${this.handleMouseLeave}"><span class="${i("absolute w-full left-0 top-0 pointer-events-none transition-[height,top] duration-fast ease-in-out border-l-4 h-[calc(100%-8px)]",this.selected&&!this.checkbox?"border-accent":"border-transparent",this.disabled&&"border-neutral-500 top-1",!this.disabled&&this.hasHover?"h-full top-0":"top-1")}"></span> ${this.checkbox?l`<span id="control" part="control ${this.selected?" control--checked":"control--unchecked"}" class="${i("relative flex flex-shrink-0 items-center justify-center border sd-checkbox-border-width rounded-sm h-4 w-4 mr-2",{sm:"mt-0.5",md:"mt-1",lg:"mt-1"}[this.size],this.disabled?"sd-option--disabled-color-border":this.selected?"bg-accent border-accent":"bg-white form-control-color-border")}">${this.selected?l`<sd-icon part="checked-icon" class="text-white w-3 h-3" library="_internal" name="status-check"></sd-icon>`:""}</span>`:""} ${s.left?l`<slot name="left" part="left" class="inline-flex mr-2"></slot>`:""}<slot part="label" class="inline-block flex-grow" @slotchange="${this.handleDefaultSlotChange}"></slot>${s.right?l`<slot name="right" part="right" class="inline-flex ml-2"></slot>`:""}</div>`}};e.styles=[...n.styles,c`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{position:relative;display:block;width:100%;--tw-outline-style:none!important;outline-style:none!important}.focus-outline-offset{outline-offset:-2px}.sd-option--disabled-color-border{border-color:rgb(var(--sd-option--disabled-color-border))}`],t([d('[part="base"]')],e.prototype,"defaultSlot",2),t([r()],e.prototype,"current",2),t([r()],e.prototype,"selected",2),t([r()],e.prototype,"hasHover",2),t([r()],e.prototype,"isKeyboardFocus",2),t([a({type:String,reflect:!0})],e.prototype,"size",2),t([a({type:Boolean,reflect:!0})],e.prototype,"checkbox",2),t([a({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([a({type:String,reflect:!0})],e.prototype,"value",2),t([o("disabled")],e.prototype,"handleDisabledChange",1),t([o("selected")],e.prototype,"handleSelectedChange",1),t([o("value")],e.prototype,"handleValueChange",1),e=t([h("sd-option")],e);export{e as a};