@solid-design-system/components 6.0.0-next.10 → 6.0.0-next.11

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 (383) hide show
  1. package/{cdn-versioned/chunks/chunk.YMZZDCP3.js → cdn/chunks/chunk.3FMN7C5N.js} +1 -1
  2. package/cdn/chunks/{chunk.ESKMS5I6.js → chunk.BEWBUSVX.js} +1 -1
  3. package/cdn/chunks/{chunk.JTZTV6IT.js → chunk.YZNDCJFA.js} +1 -1
  4. package/cdn/components/accordion/accordion.js +1 -1
  5. package/cdn/components/accordion-group/accordion-group.js +1 -1
  6. package/cdn/components/audio/audio.js +1 -1
  7. package/cdn/components/carousel/carousel.js +1 -1
  8. package/cdn/components/checkbox/checkbox.js +1 -1
  9. package/cdn/components/checkbox-group/checkbox-group.js +1 -1
  10. package/cdn/components/combobox/combobox.js +1 -1
  11. package/cdn/components/dialog/dialog.js +1 -1
  12. package/cdn/components/drawer/drawer.js +1 -1
  13. package/cdn/components/expandable/expandable.js +1 -1
  14. package/cdn/components/flipcard/flipcard.js +1 -1
  15. package/cdn/components/icon/icon.js +1 -1
  16. package/cdn/components/icon/library.default.js +1 -1
  17. package/cdn/components/icon/library.js +1 -1
  18. package/cdn/components/input/input.js +1 -1
  19. package/cdn/components/navigation-item/navigation-item.js +1 -1
  20. package/cdn/components/notification/notification.js +1 -1
  21. package/cdn/components/option/option.js +1 -1
  22. package/cdn/components/quickfact/quickfact.js +1 -1
  23. package/cdn/components/scrollable/scrollable.js +1 -1
  24. package/cdn/components/select/select.js +1 -1
  25. package/cdn/components/step/step.js +1 -1
  26. package/cdn/components/tab-group/tab-group.js +1 -1
  27. package/cdn/components/tag/tag.js +1 -1
  28. package/cdn/components/textarea/textarea.js +1 -1
  29. package/cdn/components/tooltip/tooltip.js +1 -1
  30. package/cdn/components/video/video.js +1 -1
  31. package/cdn/custom-elements.json +2 -2
  32. package/cdn/solid-components.bundle.js +1 -1
  33. package/cdn/solid-components.iife.js +1 -1
  34. package/cdn/solid-components.js +1 -1
  35. package/cdn/utilities/icon-library.js +1 -1
  36. package/cdn/web-types.json +1 -1
  37. package/{cdn/chunks/chunk.YMZZDCP3.js → cdn-versioned/chunks/chunk.3FMN7C5N.js} +1 -1
  38. package/cdn-versioned/chunks/chunk.42QSDOFZ.js +1 -1
  39. package/cdn-versioned/chunks/chunk.5JTFF5AT.js +6 -6
  40. package/cdn-versioned/chunks/chunk.5RSKIVMW.js +1 -1
  41. package/cdn-versioned/chunks/chunk.5XCIF7VM.js +2 -2
  42. package/cdn-versioned/chunks/chunk.7DUJJLRP.js +2 -2
  43. package/cdn-versioned/chunks/chunk.A635DPC2.js +2 -2
  44. package/cdn-versioned/chunks/chunk.ABWFPSSV.js +2 -2
  45. package/cdn-versioned/chunks/chunk.AGKFTS4V.js +2 -2
  46. package/cdn-versioned/chunks/chunk.AROEX3UA.js +2 -2
  47. package/cdn-versioned/chunks/{chunk.ESKMS5I6.js → chunk.BEWBUSVX.js} +1 -1
  48. package/cdn-versioned/chunks/chunk.BKG7F7B5.js +2 -2
  49. package/cdn-versioned/chunks/chunk.BKSJBL5E.js +2 -2
  50. package/cdn-versioned/chunks/chunk.C6Z7CZ3W.js +2 -2
  51. package/cdn-versioned/chunks/chunk.CDP46OS4.js +1 -1
  52. package/cdn-versioned/chunks/chunk.CNB7W63O.js +2 -2
  53. package/cdn-versioned/chunks/chunk.DE35CSMY.js +2 -2
  54. package/cdn-versioned/chunks/chunk.DGGY7GIZ.js +2 -2
  55. package/cdn-versioned/chunks/chunk.DRL32O7T.js +2 -2
  56. package/cdn-versioned/chunks/chunk.E6SZIKQM.js +1 -1
  57. package/cdn-versioned/chunks/chunk.ENPYAXOE.js +2 -2
  58. package/cdn-versioned/chunks/chunk.EYS7HNYG.js +1 -1
  59. package/cdn-versioned/chunks/chunk.FINAIT37.js +2 -2
  60. package/cdn-versioned/chunks/chunk.GGYU7R3P.js +2 -2
  61. package/cdn-versioned/chunks/chunk.HY2WKWAC.js +1 -1
  62. package/cdn-versioned/chunks/chunk.I5Y2QPT3.js +2 -2
  63. package/cdn-versioned/chunks/chunk.JS2HQ2N4.js +1 -1
  64. package/cdn-versioned/chunks/chunk.JU7VODOQ.js +2 -2
  65. package/cdn-versioned/chunks/chunk.KGNOONCD.js +2 -2
  66. package/cdn-versioned/chunks/chunk.KQE6LCJN.js +2 -2
  67. package/cdn-versioned/chunks/chunk.L5Z24BYT.js +1 -1
  68. package/cdn-versioned/chunks/chunk.LHAM7T4R.js +2 -2
  69. package/cdn-versioned/chunks/chunk.M2DCP4OB.js +2 -2
  70. package/cdn-versioned/chunks/chunk.M44GRFPU.js +1 -1
  71. package/cdn-versioned/chunks/chunk.MKSLYRY3.js +1 -1
  72. package/cdn-versioned/chunks/chunk.MMPRMEVR.js +2 -2
  73. package/cdn-versioned/chunks/chunk.MWLFJFNU.js +3 -3
  74. package/cdn-versioned/chunks/chunk.N65PQLOJ.js +3 -3
  75. package/cdn-versioned/chunks/chunk.NGH2BNC2.js +1 -1
  76. package/cdn-versioned/chunks/chunk.NTBOXMGC.js +2 -2
  77. package/cdn-versioned/chunks/chunk.OGFEOWB6.js +2 -2
  78. package/cdn-versioned/chunks/chunk.P2QGHBL7.js +5 -5
  79. package/cdn-versioned/chunks/chunk.PYCKGVR7.js +2 -2
  80. package/cdn-versioned/chunks/chunk.QKX355GW.js +2 -2
  81. package/cdn-versioned/chunks/chunk.QRWT2N4I.js +1 -1
  82. package/cdn-versioned/chunks/chunk.S27RPMBC.js +2 -2
  83. package/cdn-versioned/chunks/chunk.SEKMOB43.js +2 -2
  84. package/cdn-versioned/chunks/chunk.TC6F6IX2.js +2 -2
  85. package/cdn-versioned/chunks/chunk.TJAJD3F6.js +2 -2
  86. package/cdn-versioned/chunks/chunk.TKL5EKMU.js +1 -1
  87. package/cdn-versioned/chunks/chunk.TKQVKF3E.js +1 -1
  88. package/cdn-versioned/chunks/chunk.UU3XBDYT.js +1 -1
  89. package/cdn-versioned/chunks/chunk.W27TIC2L.js +1 -1
  90. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  91. package/cdn-versioned/chunks/chunk.WOHH2NDP.js +2 -2
  92. package/cdn-versioned/chunks/chunk.XMDIRWRK.js +1 -1
  93. package/cdn-versioned/chunks/chunk.XNCHZMSL.js +1 -1
  94. package/cdn-versioned/chunks/chunk.XUSHLNK2.js +2 -2
  95. package/cdn-versioned/chunks/chunk.YBIUHV6M.js +1 -1
  96. package/cdn-versioned/chunks/chunk.YL2THGN4.js +2 -2
  97. package/cdn-versioned/chunks/chunk.YLQAFW2B.js +1 -1
  98. package/cdn-versioned/chunks/chunk.YOX4EH5H.js +2 -2
  99. package/cdn-versioned/chunks/chunk.YPOLXCNH.js +5 -5
  100. package/cdn-versioned/chunks/{chunk.JTZTV6IT.js → chunk.YZNDCJFA.js} +2 -2
  101. package/cdn-versioned/chunks/chunk.ZK6PLMFB.js +2 -2
  102. package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
  103. package/cdn-versioned/components/accordion/accordion.js +1 -1
  104. package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  105. package/cdn-versioned/components/accordion-group/accordion-group.js +1 -1
  106. package/cdn-versioned/components/animation/animation.d.ts +1 -1
  107. package/cdn-versioned/components/audio/audio.d.ts +1 -1
  108. package/cdn-versioned/components/audio/audio.js +1 -1
  109. package/cdn-versioned/components/badge/badge.d.ts +1 -1
  110. package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
  111. package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  112. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  113. package/cdn-versioned/components/button/button.d.ts +1 -1
  114. package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
  115. package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
  116. package/cdn-versioned/components/carousel/carousel.js +1 -1
  117. package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  118. package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
  119. package/cdn-versioned/components/checkbox/checkbox.js +1 -1
  120. package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  121. package/cdn-versioned/components/checkbox-group/checkbox-group.js +1 -1
  122. package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
  123. package/cdn-versioned/components/combobox/combobox.js +1 -1
  124. package/cdn-versioned/components/datepicker/datepicker.d.ts +1 -1
  125. package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
  126. package/cdn-versioned/components/dialog/dialog.js +1 -1
  127. package/cdn-versioned/components/divider/divider.d.ts +1 -1
  128. package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
  129. package/cdn-versioned/components/drawer/drawer.js +1 -1
  130. package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
  131. package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
  132. package/cdn-versioned/components/expandable/expandable.js +1 -1
  133. package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
  134. package/cdn-versioned/components/flipcard/flipcard.js +1 -1
  135. package/cdn-versioned/components/header/header.d.ts +1 -1
  136. package/cdn-versioned/components/icon/icon.d.ts +1 -1
  137. package/cdn-versioned/components/icon/icon.js +1 -1
  138. package/cdn-versioned/components/icon/library.default.js +1 -1
  139. package/cdn-versioned/components/icon/library.js +1 -1
  140. package/cdn-versioned/components/include/include.d.ts +1 -1
  141. package/cdn-versioned/components/input/input.d.ts +1 -1
  142. package/cdn-versioned/components/input/input.js +1 -1
  143. package/cdn-versioned/components/link/link.d.ts +1 -1
  144. package/cdn-versioned/components/loader/loader.d.ts +1 -1
  145. package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
  146. package/cdn-versioned/components/menu/menu.d.ts +1 -1
  147. package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
  148. package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  149. package/cdn-versioned/components/navigation-item/navigation-item.js +1 -1
  150. package/cdn-versioned/components/notification/notification.d.ts +1 -1
  151. package/cdn-versioned/components/notification/notification.js +1 -1
  152. package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
  153. package/cdn-versioned/components/option/option.d.ts +1 -1
  154. package/cdn-versioned/components/option/option.js +1 -1
  155. package/cdn-versioned/components/popup/popup.d.ts +1 -1
  156. package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
  157. package/cdn-versioned/components/quickfact/quickfact.js +1 -1
  158. package/cdn-versioned/components/radio/radio.d.ts +1 -1
  159. package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
  160. package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
  161. package/cdn-versioned/components/range/range.d.ts +1 -1
  162. package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
  163. package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
  164. package/cdn-versioned/components/scrollable/scrollable.js +1 -1
  165. package/cdn-versioned/components/select/select.d.ts +1 -1
  166. package/cdn-versioned/components/select/select.js +1 -1
  167. package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
  168. package/cdn-versioned/components/step/step.d.ts +1 -1
  169. package/cdn-versioned/components/step/step.js +1 -1
  170. package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
  171. package/cdn-versioned/components/switch/switch.d.ts +1 -1
  172. package/cdn-versioned/components/tab/tab.d.ts +1 -1
  173. package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
  174. package/cdn-versioned/components/tab-group/tab-group.js +1 -1
  175. package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  176. package/cdn-versioned/components/tag/tag.d.ts +1 -1
  177. package/cdn-versioned/components/tag/tag.js +1 -1
  178. package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
  179. package/cdn-versioned/components/textarea/textarea.js +1 -1
  180. package/cdn-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  181. package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
  182. package/cdn-versioned/components/tooltip/tooltip.js +1 -1
  183. package/cdn-versioned/components/video/video.d.ts +1 -1
  184. package/cdn-versioned/components/video/video.js +1 -1
  185. package/cdn-versioned/custom-elements.json +249 -249
  186. package/cdn-versioned/internal/form.js +3 -3
  187. package/cdn-versioned/solid-components.bundle.js +75 -75
  188. package/cdn-versioned/solid-components.css +2 -2
  189. package/cdn-versioned/solid-components.iife.js +75 -75
  190. package/cdn-versioned/solid-components.js +1 -1
  191. package/cdn-versioned/utilities/icon-library.js +1 -1
  192. package/cdn-versioned/vscode.html-custom-data.json +94 -94
  193. package/cdn-versioned/web-types.json +163 -163
  194. package/dist/chunks/{chunk.KPAQRMCC.js → chunk.2BO5LK23.js} +2 -2
  195. package/dist/chunks/{chunk.GYXMDYGY.js → chunk.OLT4C7IW.js} +1 -1
  196. package/dist/chunks/{chunk.KHZGGTNG.js → chunk.TGCVGSDV.js} +1 -1
  197. package/dist/components/accordion/accordion.js +3 -3
  198. package/dist/components/accordion-group/accordion-group.js +3 -3
  199. package/dist/components/audio/audio.js +3 -3
  200. package/dist/components/carousel/carousel.js +3 -3
  201. package/dist/components/checkbox/checkbox.js +3 -3
  202. package/dist/components/checkbox-group/checkbox-group.js +3 -3
  203. package/dist/components/combobox/combobox.js +3 -3
  204. package/dist/components/dialog/dialog.js +3 -3
  205. package/dist/components/drawer/drawer.js +3 -3
  206. package/dist/components/expandable/expandable.js +3 -3
  207. package/dist/components/flipcard/flipcard.js +3 -3
  208. package/dist/components/icon/icon.js +3 -3
  209. package/dist/components/icon/library.default.js +1 -1
  210. package/dist/components/icon/library.js +2 -2
  211. package/dist/components/input/input.js +3 -3
  212. package/dist/components/navigation-item/navigation-item.js +3 -3
  213. package/dist/components/notification/notification.js +3 -3
  214. package/dist/components/option/option.js +3 -3
  215. package/dist/components/quickfact/quickfact.js +3 -3
  216. package/dist/components/scrollable/scrollable.js +3 -3
  217. package/dist/components/select/select.js +3 -3
  218. package/dist/components/step/step.js +3 -3
  219. package/dist/components/tab-group/tab-group.js +3 -3
  220. package/dist/components/tag/tag.js +3 -3
  221. package/dist/components/textarea/textarea.js +3 -3
  222. package/dist/components/tooltip/tooltip.js +3 -3
  223. package/dist/components/video/video.js +3 -3
  224. package/dist/custom-elements.json +2 -2
  225. package/dist/solid-components.js +3 -3
  226. package/dist/utilities/icon-library.js +2 -2
  227. package/dist/web-types.json +1 -1
  228. package/dist-versioned/chunks/{chunk.KPAQRMCC.js → chunk.2BO5LK23.js} +2 -2
  229. package/dist-versioned/chunks/chunk.2LOD5KZ2.js +5 -5
  230. package/dist-versioned/chunks/chunk.3EAQUDVX.js +1 -1
  231. package/dist-versioned/chunks/chunk.3OSNOL5U.js +5 -5
  232. package/dist-versioned/chunks/chunk.3WAKJXC7.js +1 -1
  233. package/dist-versioned/chunks/chunk.45QURS66.js +2 -2
  234. package/dist-versioned/chunks/chunk.4EJCZJS5.js +1 -1
  235. package/dist-versioned/chunks/chunk.4KJL7PWN.js +18 -18
  236. package/dist-versioned/chunks/chunk.4ONB2X42.js +1 -1
  237. package/dist-versioned/chunks/chunk.5NGEWIDT.js +1 -1
  238. package/dist-versioned/chunks/chunk.6NX4UFZ2.js +26 -26
  239. package/dist-versioned/chunks/chunk.7AKNXMU5.js +2 -2
  240. package/dist-versioned/chunks/chunk.7E266GEE.js +12 -12
  241. package/dist-versioned/chunks/chunk.7G5MPXI5.js +2 -2
  242. package/dist-versioned/chunks/chunk.7LMQWHWZ.js +6 -6
  243. package/dist-versioned/chunks/chunk.BT2RD2DF.js +3 -3
  244. package/dist-versioned/chunks/chunk.BU7OTNWJ.js +3 -3
  245. package/dist-versioned/chunks/chunk.D3ZIAWAS.js +5 -5
  246. package/dist-versioned/chunks/chunk.DOSY3RO6.js +2 -2
  247. package/dist-versioned/chunks/chunk.EOM74YUX.js +8 -8
  248. package/dist-versioned/chunks/chunk.F6DMUORL.js +2 -2
  249. package/dist-versioned/chunks/chunk.FP53SHVC.js +6 -6
  250. package/dist-versioned/chunks/chunk.G35YGZGY.js +5 -5
  251. package/dist-versioned/chunks/chunk.GVTX3XFV.js +14 -14
  252. package/dist-versioned/chunks/chunk.HW6HHXIA.js +1 -1
  253. package/dist-versioned/chunks/chunk.IHMP2FLZ.js +3 -3
  254. package/dist-versioned/chunks/chunk.III3H5Q5.js +6 -6
  255. package/dist-versioned/chunks/chunk.IR5S4ZJW.js +4 -4
  256. package/dist-versioned/chunks/chunk.IVMNN7PD.js +3 -3
  257. package/dist-versioned/chunks/chunk.J7R664XW.js +3 -3
  258. package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
  259. package/dist-versioned/chunks/chunk.KV6O4JKY.js +4 -4
  260. package/dist-versioned/chunks/chunk.LFALNFL4.js +1 -1
  261. package/dist-versioned/chunks/chunk.LGQNDJQD.js +3 -3
  262. package/dist-versioned/chunks/chunk.LQ24JRNU.js +1 -1
  263. package/dist-versioned/chunks/chunk.LQ7R2MQ6.js +11 -11
  264. package/dist-versioned/chunks/chunk.MHXEKBFV.js +6 -6
  265. package/dist-versioned/chunks/chunk.MJNLND6K.js +2 -2
  266. package/dist-versioned/chunks/chunk.MJUJAQNQ.js +1 -1
  267. package/dist-versioned/chunks/chunk.NR2DVPGM.js +4 -4
  268. package/dist-versioned/chunks/{chunk.GYXMDYGY.js → chunk.OLT4C7IW.js} +1 -1
  269. package/dist-versioned/chunks/chunk.OMPDPGH5.js +1 -1
  270. package/dist-versioned/chunks/chunk.OOQJUJ6I.js +2 -2
  271. package/dist-versioned/chunks/chunk.PSSQMTQR.js +1 -1
  272. package/dist-versioned/chunks/chunk.Q4FPANWO.js +2 -2
  273. package/dist-versioned/chunks/chunk.RAQ2D77P.js +2 -2
  274. package/dist-versioned/chunks/chunk.RNGYBTSG.js +1 -1
  275. package/dist-versioned/chunks/chunk.RW2CZCB6.js +3 -3
  276. package/dist-versioned/chunks/chunk.RZ25EJTH.js +3 -3
  277. package/dist-versioned/chunks/chunk.SCQMKPYV.js +1 -1
  278. package/dist-versioned/chunks/{chunk.KHZGGTNG.js → chunk.TGCVGSDV.js} +3 -3
  279. package/dist-versioned/chunks/chunk.THINDL47.js +3 -3
  280. package/dist-versioned/chunks/chunk.TUBLVHUZ.js +24 -24
  281. package/dist-versioned/chunks/chunk.U4UW3Z6I.js +2 -2
  282. package/dist-versioned/chunks/chunk.UEDXLQJL.js +2 -2
  283. package/dist-versioned/chunks/chunk.UIOWGZAC.js +12 -12
  284. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  285. package/dist-versioned/chunks/chunk.UX6W6RHQ.js +4 -4
  286. package/dist-versioned/chunks/chunk.VNDNOSVL.js +1 -1
  287. package/dist-versioned/chunks/chunk.WN5EV4N3.js +4 -4
  288. package/dist-versioned/chunks/chunk.XCQC3F3H.js +3 -3
  289. package/dist-versioned/chunks/chunk.XZHOUXTG.js +1 -1
  290. package/dist-versioned/chunks/chunk.Y3UAVDEY.js +2 -2
  291. package/dist-versioned/chunks/chunk.Y5G2FYUM.js +2 -2
  292. package/dist-versioned/chunks/chunk.Z5QSVE4H.js +2 -2
  293. package/dist-versioned/components/accordion/accordion.d.ts +1 -1
  294. package/dist-versioned/components/accordion/accordion.js +3 -3
  295. package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  296. package/dist-versioned/components/accordion-group/accordion-group.js +3 -3
  297. package/dist-versioned/components/animation/animation.d.ts +1 -1
  298. package/dist-versioned/components/audio/audio.d.ts +1 -1
  299. package/dist-versioned/components/audio/audio.js +3 -3
  300. package/dist-versioned/components/badge/badge.d.ts +1 -1
  301. package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
  302. package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  303. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  304. package/dist-versioned/components/button/button.d.ts +1 -1
  305. package/dist-versioned/components/button-group/button-group.d.ts +1 -1
  306. package/dist-versioned/components/carousel/carousel.d.ts +1 -1
  307. package/dist-versioned/components/carousel/carousel.js +3 -3
  308. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  309. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  310. package/dist-versioned/components/checkbox/checkbox.js +3 -3
  311. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  312. package/dist-versioned/components/checkbox-group/checkbox-group.js +3 -3
  313. package/dist-versioned/components/combobox/combobox.d.ts +1 -1
  314. package/dist-versioned/components/combobox/combobox.js +3 -3
  315. package/dist-versioned/components/datepicker/datepicker.d.ts +1 -1
  316. package/dist-versioned/components/dialog/dialog.d.ts +1 -1
  317. package/dist-versioned/components/dialog/dialog.js +3 -3
  318. package/dist-versioned/components/divider/divider.d.ts +1 -1
  319. package/dist-versioned/components/drawer/drawer.d.ts +1 -1
  320. package/dist-versioned/components/drawer/drawer.js +3 -3
  321. package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
  322. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  323. package/dist-versioned/components/expandable/expandable.js +3 -3
  324. package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
  325. package/dist-versioned/components/flipcard/flipcard.js +3 -3
  326. package/dist-versioned/components/header/header.d.ts +1 -1
  327. package/dist-versioned/components/icon/icon.d.ts +1 -1
  328. package/dist-versioned/components/icon/icon.js +3 -3
  329. package/dist-versioned/components/icon/library.default.js +1 -1
  330. package/dist-versioned/components/icon/library.js +2 -2
  331. package/dist-versioned/components/include/include.d.ts +1 -1
  332. package/dist-versioned/components/input/input.d.ts +1 -1
  333. package/dist-versioned/components/input/input.js +3 -3
  334. package/dist-versioned/components/link/link.d.ts +1 -1
  335. package/dist-versioned/components/loader/loader.d.ts +1 -1
  336. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  337. package/dist-versioned/components/menu/menu.d.ts +1 -1
  338. package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
  339. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  340. package/dist-versioned/components/navigation-item/navigation-item.js +3 -3
  341. package/dist-versioned/components/notification/notification.d.ts +1 -1
  342. package/dist-versioned/components/notification/notification.js +3 -3
  343. package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
  344. package/dist-versioned/components/option/option.d.ts +1 -1
  345. package/dist-versioned/components/option/option.js +3 -3
  346. package/dist-versioned/components/popup/popup.d.ts +1 -1
  347. package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
  348. package/dist-versioned/components/quickfact/quickfact.js +3 -3
  349. package/dist-versioned/components/radio/radio.d.ts +1 -1
  350. package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
  351. package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
  352. package/dist-versioned/components/range/range.d.ts +1 -1
  353. package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
  354. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  355. package/dist-versioned/components/scrollable/scrollable.js +3 -3
  356. package/dist-versioned/components/select/select.d.ts +1 -1
  357. package/dist-versioned/components/select/select.js +3 -3
  358. package/dist-versioned/components/spinner/spinner.d.ts +1 -1
  359. package/dist-versioned/components/step/step.d.ts +1 -1
  360. package/dist-versioned/components/step/step.js +3 -3
  361. package/dist-versioned/components/step-group/step-group.d.ts +1 -1
  362. package/dist-versioned/components/switch/switch.d.ts +1 -1
  363. package/dist-versioned/components/tab/tab.d.ts +1 -1
  364. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  365. package/dist-versioned/components/tab-group/tab-group.js +3 -3
  366. package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  367. package/dist-versioned/components/tag/tag.d.ts +1 -1
  368. package/dist-versioned/components/tag/tag.js +3 -3
  369. package/dist-versioned/components/textarea/textarea.d.ts +1 -1
  370. package/dist-versioned/components/textarea/textarea.js +3 -3
  371. package/dist-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  372. package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
  373. package/dist-versioned/components/tooltip/tooltip.js +3 -3
  374. package/dist-versioned/components/video/video.d.ts +1 -1
  375. package/dist-versioned/components/video/video.js +3 -3
  376. package/dist-versioned/custom-elements.json +249 -249
  377. package/dist-versioned/internal/form.js +3 -3
  378. package/dist-versioned/solid-components.css +2 -2
  379. package/dist-versioned/solid-components.js +3 -3
  380. package/dist-versioned/utilities/icon-library.js +2 -2
  381. package/dist-versioned/vscode.html-custom-data.json +94 -94
  382. package/dist-versioned/web-types.json +163 -163
  383. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
1
  import{a as m}from"./chunk.MWDEA25W.js";import{a as p}from"./chunk.NYKJXI3Q.js";import{a as n,b as o,h as a}from"./chunk.NGH2BNC2.js";import{b as c,e as l}from"./chunk.763RLJEK.js";import{e as s}from"./chunk.6EV4YU6C.js";var t=class extends a{constructor(){super(...arguments);this.mode="cors";this.allowScripts=!1}executeScript(e){let r=document.createElement("script");[...e.attributes].forEach(i=>r.setAttribute(i.name,i.value)),r.textContent=e.textContent,e.parentNode.replaceChild(r,e)}async handleSrcChange(){try{let e=this.src,r=await m(e,this.mode);if(e!==this.src)return;if(!r.ok){this.emit("sd-error",{detail:{status:r.status}});return}this.innerHTML=r.html,this.allowScripts&&[...this.querySelectorAll("script")].forEach(i=>this.executeScript(i)),this.emit("sd-load")}catch(e){this.emit("sd-error",{detail:{status:-1}})}}render(){return l`<slot></slot>`}};t.styles=[...a.styles,c`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{display:block}`],s([o({reflect:!0})],t.prototype,"src",2),s([o({type:String,reflect:!0})],t.prototype,"mode",2),s([o({attribute:"allow-scripts",type:Boolean,reflect:!0})],t.prototype,"allowScripts",2),s([p("src")],t.prototype,"handleSrcChange",1),t=s([n("sd-6-0-0-next-10-include")],t);export{t as a};
2
+ :host{display:block}`],s([o({reflect:!0})],t.prototype,"src",2),s([o({type:String,reflect:!0})],t.prototype,"mode",2),s([o({attribute:"allow-scripts",type:Boolean,reflect:!0})],t.prototype,"allowScripts",2),s([p("src")],t.prototype,"handleSrcChange",1),t=s([n("sd-6-0-0-next-11-include")],t);export{t as a};
@@ -1,12 +1,12 @@
1
1
  import{b as y,c as g}from"./chunk.JS2HQ2N4.js";import{a as x}from"./chunk.CGQ2BPPZ.js";import{a}from"./chunk.PV6UYBMY.js";import{a as u,b as c}from"./chunk.PJ7JCMQF.js";import{a as o}from"./chunk.YEDQWNIV.js";import{a as f}from"./chunk.NYKJXI3Q.js";import{a as h,b as i,c as m,d as p,g as v,h as d}from"./chunk.NGH2BNC2.js";import{b}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends d{constructor(){super(...arguments);this.formControlController=new y(this,{form:r=>{if(r.hasAttribute("form")){let n=r.getRootNode(),l=r.getAttribute("form");return n.getElementById(l)}return r.closest("form")}});this.hasSlotController=new x(this,"[default]","icon-left","icon-right");this.invalid=!1;this.title="";this.variant="primary";this.inverted=!1;this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.loading=!1;this.type="button";this.name="";this.value="";this.href=""}get validity(){return this.isButton()?this.button.validity:g}get validationMessage(){return this.isButton()?this.button.validationMessage:""}firstUpdated(){this.isButton()&&this.formControlController.updateValidity()}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleClick(r){if(this.disabled||this.loading||this.visuallyDisabled){r.preventDefault(),r.stopPropagation();return}this.type==="submit"&&this.formControlController.submit(this),this.type==="reset"&&this.formControlController.reset(this)}handleInvalid(r){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(r)}isButton(){return!this.href}isLink(){return!!this.href}handleDisabledChange(){this.isButton()&&this.formControlController.setValidity(this.disabled)}click(){this.button.click()}focus(r){this.button.focus(r)}blur(){this.button.blur()}checkValidity(){return this.isButton()?this.button.checkValidity():!0}getForm(){return this.formControlController.getForm()}reportValidity(){return this.isButton()?this.button.reportValidity():!0}setCustomValidity(r){this.isButton()&&(this.button.setCustomValidity(r),this.formControlController.updateValidity())}render(){let r=this.isLink(),n=r?u`a`:u`button`,l={label:this.hasSlotController.test("[default]"),"icon-left":this.hasSlotController.test("icon-left"),"icon-right":this.hasSlotController.test("icon-right"),"icon-only":this._iconsInDefaultSlot.length>0},s=this.variant==="secondary";return c`<${n} part="base" class="${o(`group relative z-10 font-md no-underline
2
2
  w-full align-middle inline-flex items-stretch justify-center
3
3
  transition-colors duration-fast ease-in-out
4
- select-none cursor-[inherit]`,this.inverted?"focus-visible:focus-outline-inverted":"focus-visible:focus-outline",this.loading&&"relative cursor-wait",(this.disabled||this.visuallyDisabled)&&"cursor-not-allowed",l["icon-only"]&&"px-0 min-h-varspacing w-varspacing",{sm:`text-sm varspacing-8 rounded-default ${s?"py-[0.281rem] px-[0.938rem]":"py-[0.344rem] px-4"}`,md:`sd-6-0-0-next-10-button--size-md-font-size sd-6-0-0-next-10-button--size-md-border-radius varspacing-10 ${s?"py-[0.438rem] px-[0.938rem]":"sd-6-0-0-next-10-button--size-md-padding-block px-4"}`,lg:`sd-6-0-0-next-10-button--size-lg-font-size sd-6-0-0-next-10-button--size-lg-border-radius varspacing-12 ${s?"py-[0.688rem] px-[0.938rem]":"sd-6-0-0-next-10-button--size-lg-padding-block px-4"}`}[this.size],{primary:this.inverted?`${this.visuallyDisabled?"bg-neutral-500 text-white border-neutral-500 hover:bg-neutral-500 active:bg-neutral-500":"sd-6-0-0-next-10-button--primary--inverted--default-color-text sd-6-0-0-next-10-button--primary--inverted--default-color-background border-white hover:sd-6-0-0-next-10-button--primary--inverted--hover-color-text active:sd-6-0-0-next-10-button--primary--inverted--active-color-text"}
5
- disabled:bg-neutral-600 disabled:text-white disabled:border-neutral-600`:`sd-6-0-0-next-10-button--primary--default-color-text ${this.visuallyDisabled?"bg-neutral-500 border-neutral-500 hover:bg-neutral-500":"sd-6-0-0-next-10-button--primary--default-color-background border-transparent hover:text-primary-100 active:sd-6-0-0-next-10-button--primary--active-color-text"}
6
- disabled:bg-neutral-500`,secondary:this.inverted?`border ${this.visuallyDisabled?"text-neutral-600 border-neutral-600 hover:text-neutral-600 hover:border-neutral-600 active:text-neutral-600 active:border-neutral-600":"text-white border-white hover:sd-6-0-0-next-10-button--secondary--inverted--hover-color-text hover:border-primary-100 active:text-primary-200"}
4
+ select-none cursor-[inherit]`,this.inverted?"focus-visible:focus-outline-inverted":"focus-visible:focus-outline",this.loading&&"relative cursor-wait",(this.disabled||this.visuallyDisabled)&&"cursor-not-allowed",l["icon-only"]&&"px-0 min-h-varspacing w-varspacing",{sm:`text-sm varspacing-8 rounded-default ${s?"py-[0.281rem] px-[0.938rem]":"py-[0.344rem] px-4"}`,md:`sd-6-0-0-next-11-button--size-md-font-size sd-6-0-0-next-11-button--size-md-border-radius varspacing-10 ${s?"py-[0.438rem] px-[0.938rem]":"sd-6-0-0-next-11-button--size-md-padding-block px-4"}`,lg:`sd-6-0-0-next-11-button--size-lg-font-size sd-6-0-0-next-11-button--size-lg-border-radius varspacing-12 ${s?"py-[0.688rem] px-[0.938rem]":"sd-6-0-0-next-11-button--size-lg-padding-block px-4"}`}[this.size],{primary:this.inverted?`${this.visuallyDisabled?"bg-neutral-500 text-white border-neutral-500 hover:bg-neutral-500 active:bg-neutral-500":"sd-6-0-0-next-11-button--primary--inverted--default-color-text sd-6-0-0-next-11-button--primary--inverted--default-color-background border-white hover:sd-6-0-0-next-11-button--primary--inverted--hover-color-text active:sd-6-0-0-next-11-button--primary--inverted--active-color-text"}
5
+ disabled:bg-neutral-600 disabled:text-white disabled:border-neutral-600`:`sd-6-0-0-next-11-button--primary--default-color-text ${this.visuallyDisabled?"bg-neutral-500 border-neutral-500 hover:bg-neutral-500":"sd-6-0-0-next-11-button--primary--default-color-background border-transparent hover:text-primary-100 active:sd-6-0-0-next-11-button--primary--active-color-text"}
6
+ disabled:bg-neutral-500`,secondary:this.inverted?`border ${this.visuallyDisabled?"text-neutral-600 border-neutral-600 hover:text-neutral-600 hover:border-neutral-600 active:text-neutral-600 active:border-neutral-600":"text-white border-white hover:sd-6-0-0-next-11-button--secondary--inverted--hover-color-text hover:border-primary-100 active:text-primary-200"}
7
7
  disabled:text-neutral-600 disabled:border-neutral-600`:`border ${this.visuallyDisabled?"text-neutral-500 border-neutral-500 hover:text-neutral-500 hover:border-neutral-500 active:text-neutral-500 active:border-neutral-500":"text-primary border-primary hover:text-primary-500 hover:border-primary-500 active:text-primary-800 active:border-primary-800"}
8
- disabled:text-neutral-500 disabled:border-neutral-500`,tertiary:this.inverted?`border-transparent ${this.visuallyDisabled?"text-neutral-600 hover:text-neutral-600 active:text-neutral-600":"text-white hover:sd-6-0-0-next-10-button--tertiary--inverted--hover-color-text active:text-primary-200"}
8
+ disabled:text-neutral-500 disabled:border-neutral-500`,tertiary:this.inverted?`border-transparent ${this.visuallyDisabled?"text-neutral-600 hover:text-neutral-600 active:text-neutral-600":"text-white hover:sd-6-0-0-next-11-button--tertiary--inverted--hover-color-text active:text-primary-200"}
9
9
  disabled:text-neutral-600`:`border-transparent ${this.visuallyDisabled?"text-neutral-500 hover:text-neutral-500 active:text-neutral-500":"text-primary hover:text-primary-500 active:text-primary-800"}
10
10
  disabled:text-neutral-500`,cta:`text-white ${this.visuallyDisabled?"bg-neutral-500 border-neutral-500 hover:bg-neutral-500 active:bg-neutral-500":"bg-accent-500 border-transparent"}
11
- ${this.inverted?"disabled:bg-neutral-600 disabled:border-neutral-600":"disabled:bg-neutral-500 disabled:border-neutral-500"} disabled:text-white`}[this.variant])}" ?disabled="${a(r?void 0:this.disabled)}" type="${a(r?void 0:this.type)}" title="${this.title}" name="${a(r?void 0:this.name)}" value="${a(r?void 0:this.value)}" href="${a(r?this.href:void 0)}" target="${a(r?this.target:void 0)}" download="${a(r?this.download:void 0)}" rel="${a(r&&this.target?"noreferrer noopener":void 0)}" role="${a(r?void 0:"button")}" aria-disabled="${this.disabled||this.visuallyDisabled?"true":"false"}" aria-labelledby="content" tabindex="${this.disabled?"-1":"0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @invalid="${this.isButton()?this.handleInvalid:null}" @click="${this.handleClick}"><div part="motion-wrapper" class="${o("absolute inset-0 -z-10 overflow-hidden pointer-events-none ",(this.disabled||this.visuallyDisabled)&&"hidden",{sm:"rounded-default",md:"sd-6-0-0-next-10-button--size-md-border-radius",lg:"sd-6-0-0-next-10-button--size-lg-border-radius"}[this.size])}"><div class="absolute inset-0 w-full h-full transition-all duration-fast translate-y-full group-hover:translate-y-0 group-hover:mt-[-22%] mt-[11%]"><div class="${o("absolute right-0 min-w-full min-h-full aspect-square skew-y-[-11deg] mt-[11%]",{primary:this.inverted?"sd-6-0-0-next-10-button--primary--inverted--hover-color-background group-active:bg-primary-200":"sd-6-0-0-next-10-button--primary--hover-color-background group-active:bg-primary-800",secondary:this.inverted?"bg-primary-500 group-active:sd-6-0-0-next-10-button--secondary--inverted--active-color-background":"sd-6-0-0-next-10-button--secondary--hover-color-background group-active:sd-6-0-0-next-10-button--secondary--active-color-background",tertiary:this.inverted?"bg-primary-500 group-active:sd-6-0-0-next-10-button--tertiary--inverted--active-color-background":"sd-6-0-0-next-10-button--tertiary--hover-color-background group-active:sd-6-0-0-next-10-button--tertiary--active-color-background",cta:"bg-accent-550 group-active:bg-accent-700"}[this.variant])}"></div><div class="${o("absolute w-full h-full mt-[22%]",{primary:this.inverted?"sd-6-0-0-next-10-button--primary--inverted--hover-color-background group-active:bg-primary-200":"sd-6-0-0-next-10-button--primary--hover-color-background group-active:bg-primary-800",secondary:this.inverted?"bg-primary-500 group-active:sd-6-0-0-next-10-button--secondary--inverted--active-color-background":"sd-6-0-0-next-10-button--secondary--hover-color-background group-active:sd-6-0-0-next-10-button--secondary--active-color-background",tertiary:this.inverted?"bg-primary-500 group-active:sd-6-0-0-next-10-button--tertiary--inverted--active-color-background":"sd-6-0-0-next-10-button--tertiary--hover-color-background group-active:sd-6-0-0-next-10-button--tertiary--active-color-background",cta:"bg-accent-550 group-active:bg-accent-700"}[this.variant])}"></div></div></div><slot name="icon-left" part="icon-left" class="${o("flex flex-auto items-center justify-end pointer-events-none",l["icon-only"]&&"hidden",this.loading&&"invisible",l["icon-left"]&&{sm:"mr-1",md:"mr-2",lg:"mr-2"}[this.size])}"></slot><slot part="label" id="content" class="${o("inline-flex items-center justify-center",l["icon-only"]&&"pointer-events-none",this.loading&&"invisible")}"></slot><slot name="icon-right" part="icon-right" class="${o("flex flex-auto items-center pointer-events-none",this.loading&&"invisible",l["icon-only"]&&"hidden",l["icon-right"]&&{sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size])}"></slot>${this.loading?c`<sd-6-0-0-next-10-loader class="${o("absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2")}"></sd-6-0-0-next-10-loader>`:""}</${n}>`}};t.styles=[...d.styles,b`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
12
- :host{position:relative;z-index:0;display:inline-block;width:auto;cursor:pointer}::slotted(sd-6-0-0-next-10-badge){pointer-events:none;position:absolute;top:calc(var(--sd-spacing-1) * 0);right:calc(var(--sd-spacing-1) * 0);--tw-translate-x:calc(1/2 * 100%)!important;--tw-translate-y:calc(calc(1/2 * 100%) * -1)!important;translate:var(--tw-translate-x) var(--tw-translate-y)!important}::slotted(sd-6-0-0-next-10-icon),sd-6-0-0-next-10-loader{font-size:calc(var(--tw-varspacing)/ 2)}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}`],e([p("a, button")],t.prototype,"button",2),e([v({selector:"sd-6-0-0-next-10-icon"})],t.prototype,"_iconsInDefaultSlot",2),e([m()],t.prototype,"invalid",2),e([i({type:String,reflect:!0})],t.prototype,"title",2),e([i({type:String,reflect:!0})],t.prototype,"variant",2),e([i({type:Boolean,reflect:!0})],t.prototype,"inverted",2),e([i({type:String,reflect:!0})],t.prototype,"size",2),e([i({type:Boolean,reflect:!0})],t.prototype,"disabled",2),e([i({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),e([i({type:Boolean,reflect:!0})],t.prototype,"loading",2),e([i({type:String,reflect:!0})],t.prototype,"type",2),e([i({type:String,reflect:!0})],t.prototype,"name",2),e([i()],t.prototype,"value",2),e([i({type:String,reflect:!0})],t.prototype,"href",2),e([i({type:String,reflect:!0})],t.prototype,"target",2),e([i({reflect:!0})],t.prototype,"download",2),e([i({reflect:!0})],t.prototype,"form",2),e([i({attribute:"formaction"})],t.prototype,"formAction",2),e([i({attribute:"formenctype"})],t.prototype,"formEnctype",2),e([i({attribute:"formmethod"})],t.prototype,"formMethod",2),e([i({attribute:"formnovalidate",type:Boolean})],t.prototype,"formNoValidate",2),e([i({attribute:"formtarget"})],t.prototype,"formTarget",2),e([f("disabled",{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),t=e([h("sd-6-0-0-next-10-button")],t);export{t as a};
11
+ ${this.inverted?"disabled:bg-neutral-600 disabled:border-neutral-600":"disabled:bg-neutral-500 disabled:border-neutral-500"} disabled:text-white`}[this.variant])}" ?disabled="${a(r?void 0:this.disabled)}" type="${a(r?void 0:this.type)}" title="${this.title}" name="${a(r?void 0:this.name)}" value="${a(r?void 0:this.value)}" href="${a(r?this.href:void 0)}" target="${a(r?this.target:void 0)}" download="${a(r?this.download:void 0)}" rel="${a(r&&this.target?"noreferrer noopener":void 0)}" role="${a(r?void 0:"button")}" aria-disabled="${this.disabled||this.visuallyDisabled?"true":"false"}" aria-labelledby="content" tabindex="${this.disabled?"-1":"0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @invalid="${this.isButton()?this.handleInvalid:null}" @click="${this.handleClick}"><div part="motion-wrapper" class="${o("absolute inset-0 -z-10 overflow-hidden pointer-events-none ",(this.disabled||this.visuallyDisabled)&&"hidden",{sm:"rounded-default",md:"sd-6-0-0-next-11-button--size-md-border-radius",lg:"sd-6-0-0-next-11-button--size-lg-border-radius"}[this.size])}"><div class="absolute inset-0 w-full h-full transition-all duration-fast translate-y-full group-hover:translate-y-0 group-hover:mt-[-22%] mt-[11%]"><div class="${o("absolute right-0 min-w-full min-h-full aspect-square skew-y-[-11deg] mt-[11%]",{primary:this.inverted?"sd-6-0-0-next-11-button--primary--inverted--hover-color-background group-active:bg-primary-200":"sd-6-0-0-next-11-button--primary--hover-color-background group-active:bg-primary-800",secondary:this.inverted?"bg-primary-500 group-active:sd-6-0-0-next-11-button--secondary--inverted--active-color-background":"sd-6-0-0-next-11-button--secondary--hover-color-background group-active:sd-6-0-0-next-11-button--secondary--active-color-background",tertiary:this.inverted?"bg-primary-500 group-active:sd-6-0-0-next-11-button--tertiary--inverted--active-color-background":"sd-6-0-0-next-11-button--tertiary--hover-color-background group-active:sd-6-0-0-next-11-button--tertiary--active-color-background",cta:"bg-accent-550 group-active:bg-accent-700"}[this.variant])}"></div><div class="${o("absolute w-full h-full mt-[22%]",{primary:this.inverted?"sd-6-0-0-next-11-button--primary--inverted--hover-color-background group-active:bg-primary-200":"sd-6-0-0-next-11-button--primary--hover-color-background group-active:bg-primary-800",secondary:this.inverted?"bg-primary-500 group-active:sd-6-0-0-next-11-button--secondary--inverted--active-color-background":"sd-6-0-0-next-11-button--secondary--hover-color-background group-active:sd-6-0-0-next-11-button--secondary--active-color-background",tertiary:this.inverted?"bg-primary-500 group-active:sd-6-0-0-next-11-button--tertiary--inverted--active-color-background":"sd-6-0-0-next-11-button--tertiary--hover-color-background group-active:sd-6-0-0-next-11-button--tertiary--active-color-background",cta:"bg-accent-550 group-active:bg-accent-700"}[this.variant])}"></div></div></div><slot name="icon-left" part="icon-left" class="${o("flex flex-auto items-center justify-end pointer-events-none",l["icon-only"]&&"hidden",this.loading&&"invisible",l["icon-left"]&&{sm:"mr-1",md:"mr-2",lg:"mr-2"}[this.size])}"></slot><slot part="label" id="content" class="${o("inline-flex items-center justify-center",l["icon-only"]&&"pointer-events-none",this.loading&&"invisible")}"></slot><slot name="icon-right" part="icon-right" class="${o("flex flex-auto items-center pointer-events-none",this.loading&&"invisible",l["icon-only"]&&"hidden",l["icon-right"]&&{sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size])}"></slot>${this.loading?c`<sd-6-0-0-next-11-loader class="${o("absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2")}"></sd-6-0-0-next-11-loader>`:""}</${n}>`}};t.styles=[...d.styles,b`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
12
+ :host{position:relative;z-index:0;display:inline-block;width:auto;cursor:pointer}::slotted(sd-6-0-0-next-11-badge){pointer-events:none;position:absolute;top:calc(var(--sd-spacing-1) * 0);right:calc(var(--sd-spacing-1) * 0);--tw-translate-x:calc(1/2 * 100%)!important;--tw-translate-y:calc(calc(1/2 * 100%) * -1)!important;translate:var(--tw-translate-x) var(--tw-translate-y)!important}::slotted(sd-6-0-0-next-11-icon),sd-6-0-0-next-11-loader{font-size:calc(var(--tw-varspacing)/ 2)}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}`],e([p("a, button")],t.prototype,"button",2),e([v({selector:"sd-6-0-0-next-11-icon"})],t.prototype,"_iconsInDefaultSlot",2),e([m()],t.prototype,"invalid",2),e([i({type:String,reflect:!0})],t.prototype,"title",2),e([i({type:String,reflect:!0})],t.prototype,"variant",2),e([i({type:Boolean,reflect:!0})],t.prototype,"inverted",2),e([i({type:String,reflect:!0})],t.prototype,"size",2),e([i({type:Boolean,reflect:!0})],t.prototype,"disabled",2),e([i({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),e([i({type:Boolean,reflect:!0})],t.prototype,"loading",2),e([i({type:String,reflect:!0})],t.prototype,"type",2),e([i({type:String,reflect:!0})],t.prototype,"name",2),e([i()],t.prototype,"value",2),e([i({type:String,reflect:!0})],t.prototype,"href",2),e([i({type:String,reflect:!0})],t.prototype,"target",2),e([i({reflect:!0})],t.prototype,"download",2),e([i({reflect:!0})],t.prototype,"form",2),e([i({attribute:"formaction"})],t.prototype,"formAction",2),e([i({attribute:"formenctype"})],t.prototype,"formEnctype",2),e([i({attribute:"formmethod"})],t.prototype,"formMethod",2),e([i({attribute:"formnovalidate",type:Boolean})],t.prototype,"formNoValidate",2),e([i({attribute:"formtarget"})],t.prototype,"formTarget",2),e([f("disabled",{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),t=e([h("sd-6-0-0-next-11-button")],t);export{t as a};
@@ -1,2 +1,2 @@
1
1
  import{a as m}from"./chunk.YEDQWNIV.js";import{a}from"./chunk.7BPPDSHY.js";import{a as i,b as s,h as t}from"./chunk.NGH2BNC2.js";import{b as l,e as o}from"./chunk.763RLJEK.js";import{e as r}from"./chunk.6EV4YU6C.js";var e=class extends t{constructor(){super(...arguments);this.color="currentColor";this.localize=new a(this)}render(){return o`<svg role="progressbar" viewBox="0 0 24 24" class="${m("animate-spin",{primary:"text-primary",white:"text-white",currentColor:""}[this.color])}" aria-label="${this.localize.term("loading")}"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12Z" class="opacity-20" fill="currentColor"/><mask id="mask0_5273_25391" style="mask-type:alpha" maskUnits="userSpaceOnUse"><path d="M24 12C24 5.37258 18.6274 0 12 0V12H24Z" fill="currentColor"/></mask><g mask="url(#mask0_5273_25391)"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12Z" fill="currentColor"/></g></svg>`}};e.styles=[...t.styles,l`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{display:inline-block;width:1em;height:1em}`],r([s({type:String,reflect:!0})],e.prototype,"color",2),e=r([i("sd-6-0-0-next-10-spinner")],e);export{e as a};
2
+ :host{display:inline-block;width:1em;height:1em}`],r([s({type:String,reflect:!0})],e.prototype,"color",2),e=r([i("sd-6-0-0-next-11-spinner")],e);export{e as a};
@@ -1,2 +1,2 @@
1
- import{a as u}from"./chunk.CGQ2BPPZ.js";import{a as i}from"./chunk.YEDQWNIV.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.NGH2BNC2.js";import{b as c,e as l}from"./chunk.763RLJEK.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" class="${i("px-4 flex items-center w-full transition-colors duration-fast ease-in-out text-left text-base relative",{sm:"text-sm 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 rounded-sm h-4 w-4 mr-2",this.disabled?"border-neutral-500":this.selected?"bg-accent border-accent":"bg-white form-control-color-border")}">${this.selected?l`<sd-6-0-0-next-10-icon part="checked-icon" class="text-white w-3 h-3" library="_internal" name="status-check"></sd-6-0-0-next-10-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.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{position:relative;display:block;width:100%;--tw-outline-style:none!important;outline-style:none!important}.focus-outline-offset{outline-offset:-2px}`],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-6-0-0-next-10-option")],e);export{e as a};
1
+ import{a as u}from"./chunk.CGQ2BPPZ.js";import{a as i}from"./chunk.YEDQWNIV.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.NGH2BNC2.js";import{b as c,e as l}from"./chunk.763RLJEK.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" class="${i("px-4 flex items-center w-full transition-colors duration-fast ease-in-out text-left text-base relative",{sm:"text-sm 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 rounded-sm h-4 w-4 mr-2",this.disabled?"border-neutral-500":this.selected?"bg-accent border-accent":"bg-white form-control-color-border")}">${this.selected?l`<sd-6-0-0-next-11-icon part="checked-icon" class="text-white w-3 h-3" library="_internal" name="status-check"></sd-6-0-0-next-11-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.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{position:relative;display:block;width:100%;--tw-outline-style:none!important;outline-style:none!important}.focus-outline-offset{outline-offset:-2px}`],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-6-0-0-next-11-option")],e);export{e as a};
@@ -1,2 +1,2 @@
1
- import{a as f}from"./chunk.CGQ2BPPZ.js";import{a as r}from"./chunk.YEDQWNIV.js";import{a as y}from"./chunk.7BPPDSHY.js";import{a as g,b as d,c as o,d as u,h as p}from"./chunk.NGH2BNC2.js";import{b as v,e as a}from"./chunk.763RLJEK.js";import{a as h}from"./chunk.WNP2V63C.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends p{constructor(){super();this.localize=new y(this);this.hasSlotController=new f(this,"transcript");this.reversedLayout=!1;this.hideTimestamps=!1;this.animated=!1;this.inverted=!1;this.speed=1;this.currentTime=this.formatTime(0);this.duration="";this.isPlaying=!1;this.isMuted=!1;this.isTranscriptOpen=!1;this.progress=0;this.updateCurrentTime=this.updateCurrentTime.bind(this),this.handleAudioEnd=this.handleAudioEnd.bind(this),this.handleAudioProgress=this.handleAudioProgress.bind(this),this.handleAudioProgressKeydown=this.handleAudioProgressKeydown.bind(this),this.handleTranscriptDrawerToggle=this.handleTranscriptDrawerToggle.bind(this)}firstUpdated(){this.audioElement&&(this.audioElement.addEventListener("timeupdate",this.updateCurrentTime),this.audioElement.addEventListener("ended",this.handleAudioEnd),this.audioElement.setAttribute("controlsList","nodownload"),document.addEventListener("sd-after-hide",this.handleTranscriptDrawerToggle),this.audioElement.playbackRate=this.speed,this.progressSlider.tooltipFormatter=e=>this.localize.term("seconds",Number(e).toFixed(0)),this.animated&&this.initAnimation())}updated(e){if(e.has("animated")){let s=e.get("animated");!s&&this.animated?this.initAnimation():s&&!this.animated&&this.clear()}}get audioElement(){let e=this.shadowRoot.querySelector("slot");return(e==null?void 0:e.assignedElements().length)>0?e.assignedElements()[0]:null}updateCurrentTime(){if(!this.audioElement)return;let e=this.audioElement.currentTime;this.currentTime=this.formatTime(e),this.progress=e,this.progressSlider&&(this.progressSlider.value=this.progress.toString())}updateAudioDuration(){if(this.audioElement){if(isNaN(this.audioElement.duration)){setTimeout(()=>{this.updateAudioDuration()},100);return}this.duration=this.formatTime(this.audioElement.duration),this.progressSlider.max=this.audioElement.duration}}playAudio(){this.audioElement&&(this.isPlaying=!0,this.audioElement.play(),this.emit("sd-playback-start"),this.animated&&this.draw())}pauseAudio(){this.audioElement&&(this.isPlaying=!1,this.audioElement.pause(),this.emit("sd-playback-pause"),this.animated&&this.stopAnimation())}handleAudioEnd(){this.emit("sd-playback-end"),this.isPlaying=!1,this.progress=0,this.progressSlider.value="0",this.currentTime=this.formatTime(0),this.animated&&this.stopAnimation()}toggleMute(){this.audioElement&&(this.isMuted=!this.isMuted,this.isMuted?(this.emit("sd-playback-mute"),this.audioElement.muted=!0):(this.emit("sd-playback-unmute"),this.audioElement.muted=!1))}toggleMuteKeydown(e){e.key==="Enter"&&(e.preventDefault(),this.toggleMute())}togglePlaybackSpeed(){this.audioElement&&(this.emit("sd-playback-speed"),this.speed=this.speed===1.5?1:this.speed+.25,this.audioElement.playbackRate=this.speed)}togglePlaybackSpeedKeydown(e){e.key==="Enter"&&(e.preventDefault(),this.togglePlaybackSpeed())}formatTime(e){let s=Math.floor(e/60).toString().padStart(2,"0"),c=Math.floor(e%60).toString().padStart(2,"0");return`${s}:${c}`}handleAudioProgress(){if(!this.audioElement)return;let e=Number(this.progressSlider.value);this.audioElement.currentTime=e,this.progress=e,this.currentTime=this.formatTime(e)}handleAudioProgressKeydown(e){e.key==="ArrowRight"&&(this.progressSlider.value=(Number(this.progressSlider.value)+1).toString(),this.handleAudioProgress()),e.key==="ArrowLeft"&&(this.progressSlider.value=(Number(this.progressSlider.value)-1).toString(),this.handleAudioProgress())}handleTranscriptDrawerToggle(){this.isTranscriptOpen=!this.isTranscriptOpen}handleThumbGrab(){var e;(e=this.audioElement)==null||e.pause()}handleThumbRelease(){var e;this.isPlaying&&((e=this.audioElement)==null||e.play())}showTranscript(){this.emit("sd-transcript-click"),this.drawer.open=!0,this.handleTranscriptDrawerToggle()}showTranscriptKeydown(e){(e.key==="Enter"||e.key===" ")&&this.showTranscript()}rgbToHex(e){let s=e.match(/\d+/g);if((s==null?void 0:s.length)===3){let c=parseInt(s[0]),m=parseInt(s[1]),n=parseInt(s[2]),l=b=>b.toString(16).padStart(2,"0");return`#${l(c)}${l(m)}${l(n)}`.toUpperCase()}return null}onThemeChange(){this.clear(),setTimeout(this.initAnimation.bind(this),this.token("--sd-duration-fast",150))}initAnimation(){var l;let e=(l=this.canvas)==null?void 0:l.getContext("2d");if(!e)return;this.context=e;let s=this.audioPlayerContainer.querySelector(".playback-speed"),m=window.getComputedStyle(s).color,n=this.inverted?"#FFFFFF33":this.rgbToHex(m)+"33";this.waveList=[new h({canvas:this.canvas,color:n,phase:240,shift:1.5,amplitude:230,frequency:.012,damping:1}),new h({canvas:this.canvas,color:n,phase:180,shift:2.5,amplitude:250,frequency:.005,damping:1}),new h({canvas:this.canvas,color:n,phase:180,shift:-2.5,amplitude:250,frequency:.005,damping:1}),new h({canvas:this.canvas,color:n,phase:180,shift:-1,amplitude:200,frequency:.018,damping:1}),new h({canvas:this.canvas,color:n,phase:180,shift:1.5,amplitude:150,frequency:.01,damping:1})],this.animated&&this.drawStillWaves()}drawStillWaves(){this.waveList.forEach(e=>{e.redraw()})}stopAnimation(){this.isPlaying=!1}clear(){!this.context||!this.canvas||this.context.clearRect(0,0,this.canvas.width,this.canvas.height)}async draw(){!this.isPlaying||!this.animated||(this.clear(),this.waveList.forEach(e=>{e.redraw()}),await new Promise(e=>{setTimeout(e,1e3/30)}),await this.draw())}render(){let e=a`<div class="${r("controls grid grid-cols-3 justify-items-center items-center",this.reversedLayout?"mt-2":"mb-2",!this.animated&&"relative",this.animated&&!this.reversedLayout&&"absolute -top-4 left-0 w-full")}" part="audio-controls"><button class="${r("playback-speed justify-self-start text-base font-bold hover:cursor-pointer sd-interactive",this.inverted&&"sd-interactive--inverted")}" aria-label="${this.localize.term("playbackSpeed")} (${this.speed}x)" @click="${this.togglePlaybackSpeed}" @keydown="${this.togglePlaybackSpeedKeydown}" part="playback-speed">${this.speed}x</button><sd-6-0-0-next-10-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-6-0-0-next-10-icon class="text-xl" name="pause" library="_internal"></sd-6-0-0-next-10-icon></slot>`:a`<slot name="play-icon"><sd-6-0-0-next-10-icon class="text-xl" name="start" library="_internal"></sd-6-0-0-next-10-icon></slot>`}</sd-6-0-0-next-10-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-6-0-0-next-10-icon class="w-6 h-6" name="transcript" library="_internal"></sd-6-0-0-next-10-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-6-0-0-next-10-icon class="w-6 h-6" name="${this.isMuted?"mute":"volume"}" library="_internal"></sd-6-0-0-next-10-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-6-0-0-next-10-audio__timestamp-color-text")}">${this.currentTime}</div><div class="${r("current-time text-sm",this.inverted?"text-primary-400":"sd-6-0-0-next-10-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?e:null}<div class="relative">${this.animated&&!this.reversedLayout?a`${e}`:null} ${this.animated?a`<canvas class="w-full h-16 -mb-2"></canvas>`:null} ${!this.hideTimestamps&&this.animated&&this.reversedLayout?s:null}<sd-6-0-0-next-10-range part="progress-slider" no-tooltip 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-6-0-0-next-10-input="${this.handleAudioProgress}" @keydown="${this.handleAudioProgressKeydown}"></sd-6-0-0-next-10-range></div>${this.hasSlotController.test("transcript")?a`<sd-6-0-0-next-10-drawer><slot name="transcript"></slot></sd-6-0-0-next-10-drawer>`:null} ${!this.hideTimestamps&&(!this.animated||!this.reversedLayout)?s:null}</div><sd-6-0-0-next-10-theme-listener></sd-6-0-0-next-10-theme-listener>`}};t.styles=[...p.styles,v`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- sd-6-0-0-next-10-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-6-0-0-next-10-button::part(motion-wrapper){border-radius:var(--sd-radius-full)}sd-6-0-0-next-10-button::part(label){display:flex;flex-grow:0;align-items:center}sd-6-0-0-next-10-range::part(form-control-label){display:none}:host([inverted]) sd-6-0-0-next-10-range::part(thumb){outline-color:var(--color-white,#fff);background-color:rgba(var(--sd-color-border-white,rgba(var(--sd-color-white))))}:host([animated]) sd-6-0-0-next-10-range::part(track){background-color:transparent}:host([inverted]:not([animated])) sd-6-0-0-next-10-range::part(track){background-color:rgba(var(--sd-color-border-primary-400,rgba(var(--sd-color-primary-400))))}:host([inverted]:not([animated])) sd-6-0-0-next-10-range::part(active-track){background-color:rgba(var(--sd-color-border-white,rgba(var(--sd-color-white))))}`],i([d({type:Boolean,reflect:!0,attribute:"reversed-layout"})],t.prototype,"reversedLayout",2),i([d({type:Boolean,reflect:!0,attribute:"hide-timestamps"})],t.prototype,"hideTimestamps",2),i([d({type:Boolean,reflect:!0})],t.prototype,"animated",2),i([d({type:Boolean,reflect:!0})],t.prototype,"inverted",2),i([d({type:Number,reflect:!0})],t.prototype,"speed",2),i([o()],t.prototype,"currentTime",2),i([o()],t.prototype,"duration",2),i([o()],t.prototype,"isPlaying",2),i([o()],t.prototype,"isMuted",2),i([o()],t.prototype,"isTranscriptOpen",2),i([o()],t.prototype,"progress",2),i([u('[part="progress-slider"]')],t.prototype,"progressSlider",2),i([u('[part="audio-player"]')],t.prototype,"audioPlayerContainer",2),i([u("sd-6-0-0-next-10-drawer")],t.prototype,"drawer",2),i([u("canvas")],t.prototype,"canvas",2),t=i([g("sd-6-0-0-next-10-audio")],t);export{t as a};
1
+ import{a as f}from"./chunk.CGQ2BPPZ.js";import{a as r}from"./chunk.YEDQWNIV.js";import{a as y}from"./chunk.7BPPDSHY.js";import{a as g,b as d,c as o,d as u,h as p}from"./chunk.NGH2BNC2.js";import{b as v,e as a}from"./chunk.763RLJEK.js";import{a as h}from"./chunk.WNP2V63C.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends p{constructor(){super();this.localize=new y(this);this.hasSlotController=new f(this,"transcript");this.reversedLayout=!1;this.hideTimestamps=!1;this.animated=!1;this.inverted=!1;this.speed=1;this.currentTime=this.formatTime(0);this.duration="";this.isPlaying=!1;this.isMuted=!1;this.isTranscriptOpen=!1;this.progress=0;this.updateCurrentTime=this.updateCurrentTime.bind(this),this.handleAudioEnd=this.handleAudioEnd.bind(this),this.handleAudioProgress=this.handleAudioProgress.bind(this),this.handleAudioProgressKeydown=this.handleAudioProgressKeydown.bind(this),this.handleTranscriptDrawerToggle=this.handleTranscriptDrawerToggle.bind(this)}firstUpdated(){this.audioElement&&(this.audioElement.addEventListener("timeupdate",this.updateCurrentTime),this.audioElement.addEventListener("ended",this.handleAudioEnd),this.audioElement.setAttribute("controlsList","nodownload"),document.addEventListener("sd-after-hide",this.handleTranscriptDrawerToggle),this.audioElement.playbackRate=this.speed,this.progressSlider.tooltipFormatter=e=>this.localize.term("seconds",Number(e).toFixed(0)),this.animated&&this.initAnimation())}updated(e){if(e.has("animated")){let s=e.get("animated");!s&&this.animated?this.initAnimation():s&&!this.animated&&this.clear()}}get audioElement(){let e=this.shadowRoot.querySelector("slot");return(e==null?void 0:e.assignedElements().length)>0?e.assignedElements()[0]:null}updateCurrentTime(){if(!this.audioElement)return;let e=this.audioElement.currentTime;this.currentTime=this.formatTime(e),this.progress=e,this.progressSlider&&(this.progressSlider.value=this.progress.toString())}updateAudioDuration(){if(this.audioElement){if(isNaN(this.audioElement.duration)){setTimeout(()=>{this.updateAudioDuration()},100);return}this.duration=this.formatTime(this.audioElement.duration),this.progressSlider.max=this.audioElement.duration}}playAudio(){this.audioElement&&(this.isPlaying=!0,this.audioElement.play(),this.emit("sd-playback-start"),this.animated&&this.draw())}pauseAudio(){this.audioElement&&(this.isPlaying=!1,this.audioElement.pause(),this.emit("sd-playback-pause"),this.animated&&this.stopAnimation())}handleAudioEnd(){this.emit("sd-playback-end"),this.isPlaying=!1,this.progress=0,this.progressSlider.value="0",this.currentTime=this.formatTime(0),this.animated&&this.stopAnimation()}toggleMute(){this.audioElement&&(this.isMuted=!this.isMuted,this.isMuted?(this.emit("sd-playback-mute"),this.audioElement.muted=!0):(this.emit("sd-playback-unmute"),this.audioElement.muted=!1))}toggleMuteKeydown(e){e.key==="Enter"&&(e.preventDefault(),this.toggleMute())}togglePlaybackSpeed(){this.audioElement&&(this.emit("sd-playback-speed"),this.speed=this.speed===1.5?1:this.speed+.25,this.audioElement.playbackRate=this.speed)}togglePlaybackSpeedKeydown(e){e.key==="Enter"&&(e.preventDefault(),this.togglePlaybackSpeed())}formatTime(e){let s=Math.floor(e/60).toString().padStart(2,"0"),c=Math.floor(e%60).toString().padStart(2,"0");return`${s}:${c}`}handleAudioProgress(){if(!this.audioElement)return;let e=Number(this.progressSlider.value);this.audioElement.currentTime=e,this.progress=e,this.currentTime=this.formatTime(e)}handleAudioProgressKeydown(e){e.key==="ArrowRight"&&(this.progressSlider.value=(Number(this.progressSlider.value)+1).toString(),this.handleAudioProgress()),e.key==="ArrowLeft"&&(this.progressSlider.value=(Number(this.progressSlider.value)-1).toString(),this.handleAudioProgress())}handleTranscriptDrawerToggle(){this.isTranscriptOpen=!this.isTranscriptOpen}handleThumbGrab(){var e;(e=this.audioElement)==null||e.pause()}handleThumbRelease(){var e;this.isPlaying&&((e=this.audioElement)==null||e.play())}showTranscript(){this.emit("sd-transcript-click"),this.drawer.open=!0,this.handleTranscriptDrawerToggle()}showTranscriptKeydown(e){(e.key==="Enter"||e.key===" ")&&this.showTranscript()}rgbToHex(e){let s=e.match(/\d+/g);if((s==null?void 0:s.length)===3){let c=parseInt(s[0]),m=parseInt(s[1]),n=parseInt(s[2]),l=b=>b.toString(16).padStart(2,"0");return`#${l(c)}${l(m)}${l(n)}`.toUpperCase()}return null}onThemeChange(){this.clear(),setTimeout(this.initAnimation.bind(this),this.token("--sd-duration-fast",150))}initAnimation(){var l;let e=(l=this.canvas)==null?void 0:l.getContext("2d");if(!e)return;this.context=e;let s=this.audioPlayerContainer.querySelector(".playback-speed"),m=window.getComputedStyle(s).color,n=this.inverted?"#FFFFFF33":this.rgbToHex(m)+"33";this.waveList=[new h({canvas:this.canvas,color:n,phase:240,shift:1.5,amplitude:230,frequency:.012,damping:1}),new h({canvas:this.canvas,color:n,phase:180,shift:2.5,amplitude:250,frequency:.005,damping:1}),new h({canvas:this.canvas,color:n,phase:180,shift:-2.5,amplitude:250,frequency:.005,damping:1}),new h({canvas:this.canvas,color:n,phase:180,shift:-1,amplitude:200,frequency:.018,damping:1}),new h({canvas:this.canvas,color:n,phase:180,shift:1.5,amplitude:150,frequency:.01,damping:1})],this.animated&&this.drawStillWaves()}drawStillWaves(){this.waveList.forEach(e=>{e.redraw()})}stopAnimation(){this.isPlaying=!1}clear(){!this.context||!this.canvas||this.context.clearRect(0,0,this.canvas.width,this.canvas.height)}async draw(){!this.isPlaying||!this.animated||(this.clear(),this.waveList.forEach(e=>{e.redraw()}),await new Promise(e=>{setTimeout(e,1e3/30)}),await this.draw())}render(){let e=a`<div class="${r("controls grid grid-cols-3 justify-items-center items-center",this.reversedLayout?"mt-2":"mb-2",!this.animated&&"relative",this.animated&&!this.reversedLayout&&"absolute -top-4 left-0 w-full")}" part="audio-controls"><button class="${r("playback-speed justify-self-start text-base font-bold hover:cursor-pointer sd-interactive",this.inverted&&"sd-interactive--inverted")}" aria-label="${this.localize.term("playbackSpeed")} (${this.speed}x)" @click="${this.togglePlaybackSpeed}" @keydown="${this.togglePlaybackSpeedKeydown}" part="playback-speed">${this.speed}x</button><sd-6-0-0-next-11-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-6-0-0-next-11-icon class="text-xl" name="pause" library="_internal"></sd-6-0-0-next-11-icon></slot>`:a`<slot name="play-icon"><sd-6-0-0-next-11-icon class="text-xl" name="start" library="_internal"></sd-6-0-0-next-11-icon></slot>`}</sd-6-0-0-next-11-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-6-0-0-next-11-icon class="w-6 h-6" name="transcript" library="_internal"></sd-6-0-0-next-11-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-6-0-0-next-11-icon class="w-6 h-6" name="${this.isMuted?"mute":"volume"}" library="_internal"></sd-6-0-0-next-11-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-6-0-0-next-11-audio__timestamp-color-text")}">${this.currentTime}</div><div class="${r("current-time text-sm",this.inverted?"text-primary-400":"sd-6-0-0-next-11-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?e:null}<div class="relative">${this.animated&&!this.reversedLayout?a`${e}`:null} ${this.animated?a`<canvas class="w-full h-16 -mb-2"></canvas>`:null} ${!this.hideTimestamps&&this.animated&&this.reversedLayout?s:null}<sd-6-0-0-next-11-range part="progress-slider" no-tooltip 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-6-0-0-next-11-input="${this.handleAudioProgress}" @keydown="${this.handleAudioProgressKeydown}"></sd-6-0-0-next-11-range></div>${this.hasSlotController.test("transcript")?a`<sd-6-0-0-next-11-drawer><slot name="transcript"></slot></sd-6-0-0-next-11-drawer>`:null} ${!this.hideTimestamps&&(!this.animated||!this.reversedLayout)?s:null}</div><sd-6-0-0-next-11-theme-listener></sd-6-0-0-next-11-theme-listener>`}};t.styles=[...p.styles,v`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ sd-6-0-0-next-11-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-6-0-0-next-11-button::part(motion-wrapper){border-radius:var(--sd-radius-full)}sd-6-0-0-next-11-button::part(label){display:flex;flex-grow:0;align-items:center}sd-6-0-0-next-11-range::part(form-control-label){display:none}:host([inverted]) sd-6-0-0-next-11-range::part(thumb){outline-color:var(--color-white,#fff);background-color:rgba(var(--sd-color-border-white,rgba(var(--sd-color-white))))}:host([animated]) sd-6-0-0-next-11-range::part(track){background-color:transparent}:host([inverted]:not([animated])) sd-6-0-0-next-11-range::part(track){background-color:rgba(var(--sd-color-border-primary-400,rgba(var(--sd-color-primary-400))))}:host([inverted]:not([animated])) sd-6-0-0-next-11-range::part(active-track){background-color:rgba(var(--sd-color-border-white,rgba(var(--sd-color-white))))}`],i([d({type:Boolean,reflect:!0,attribute:"reversed-layout"})],t.prototype,"reversedLayout",2),i([d({type:Boolean,reflect:!0,attribute:"hide-timestamps"})],t.prototype,"hideTimestamps",2),i([d({type:Boolean,reflect:!0})],t.prototype,"animated",2),i([d({type:Boolean,reflect:!0})],t.prototype,"inverted",2),i([d({type:Number,reflect:!0})],t.prototype,"speed",2),i([o()],t.prototype,"currentTime",2),i([o()],t.prototype,"duration",2),i([o()],t.prototype,"isPlaying",2),i([o()],t.prototype,"isMuted",2),i([o()],t.prototype,"isTranscriptOpen",2),i([o()],t.prototype,"progress",2),i([u('[part="progress-slider"]')],t.prototype,"progressSlider",2),i([u('[part="audio-player"]')],t.prototype,"audioPlayerContainer",2),i([u("sd-6-0-0-next-11-drawer")],t.prototype,"drawer",2),i([u("canvas")],t.prototype,"canvas",2),t=i([g("sd-6-0-0-next-11-audio")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as p}from"./chunk.CDP46OS4.js";import{a as d,b as u}from"./chunk.CGQ2BPPZ.js";import{a as l}from"./chunk.YEDQWNIV.js";import{a as r}from"./chunk.NYKJXI3Q.js";import{a as h,b as a,d as n,h as o}from"./chunk.NGH2BNC2.js";import{b as c,e as i}from"./chunk.763RLJEK.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends o{constructor(){super(...arguments);this.type="normal";this.checked=!1;this.disabled=!1;this.value="";this.chevron=!1;this.hasSlotController=new d(this,"submenu");this.submenuController=new p(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(),b={label:this.hasSlotController.test("[default]"),iconIndent:this.hasSlotController.test("icon-indent")};return i`<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 text-neutral-500 hover:bg-transparent":"cursor-pointer text-primary hover:bg-neutral-200",this.isSubmenu()&&s&&"submenu-expanded")}" .disabled="${this.disabled}" ?aria-haspopup="${this.isSubmenu()}" ?aria-expanded="${!!s}">${this.type==="checkbox"?i`<span part="checked-icon" class="${l("flex items-center justify-center grow-0 shrink-0 basis-auto",this.checked?"visible":"invisible")}"><sd-6-0-0-next-10-icon name="status-check" library="sd-status-assets" aria-hidden="true"></sd-6-0-0-next-10-icon></span>`:""} ${b.iconIndent?i`<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()?i`<span part="submenu-icon" class="flex items-center justify-center grow-0 shrink-0 basis-auto ml-3"><sd-6-0-0-next-10-icon name="chevron-right" library="_internal" aria-hidden="true" class="h-6 w-6"></sd-6-0-0-next-10-icon></span>`:""} ${this.submenuController.renderSubmenu()}</div>`}};e.styles=[...o.styles,c`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
- :host{--submenu-offset:-6px;display:block}:host(:focus-visible){--tw-outline-style:none;outline-style:none}::slotted(sd-6-0-0-next-10-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:calc(var(--sd-spacing-1) * 0);right:calc(var(--sd-spacing-1) * 0);bottom:calc(var(--sd-spacing-1) * 0);left:calc(var(--sd-spacing-1) * 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(:hover) [part=base]{--tw-outline-style:none;outline-style:none}sd-6-0-0-next-10-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-6-0-0-next-10-menu){max-width:var(--auto-size-available-width)!important;max-height:var(--auto-size-available-height)!important}@property --tw-content{syntax:"*";inherits:false;initial-value:""}`],t([n("slot:not([name])")],e.prototype,"defaultSlot",2),t([n('part="base"')],e.prototype,"menuItem",2),t([a()],e.prototype,"type",2),t([a({type:Boolean,reflect:!0})],e.prototype,"checked",2),t([a({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([a()],e.prototype,"value",2),t([a({type:Boolean,reflect:!0})],e.prototype,"chevron",2),t([r("checked")],e.prototype,"handleCheckedChange",1),t([r("disabled")],e.prototype,"handleDisabledChange",1),t([r("type")],e.prototype,"handleTypeChange",1),e=t([h("sd-6-0-0-next-10-menu-item")],e);export{e as a};
1
+ import{a as p}from"./chunk.CDP46OS4.js";import{a as d,b as u}from"./chunk.CGQ2BPPZ.js";import{a as l}from"./chunk.YEDQWNIV.js";import{a as r}from"./chunk.NYKJXI3Q.js";import{a as h,b as a,d as n,h as o}from"./chunk.NGH2BNC2.js";import{b as c,e as i}from"./chunk.763RLJEK.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends o{constructor(){super(...arguments);this.type="normal";this.checked=!1;this.disabled=!1;this.value="";this.chevron=!1;this.hasSlotController=new d(this,"submenu");this.submenuController=new p(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(),b={label:this.hasSlotController.test("[default]"),iconIndent:this.hasSlotController.test("icon-indent")};return i`<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 text-neutral-500 hover:bg-transparent":"cursor-pointer text-primary hover:bg-neutral-200",this.isSubmenu()&&s&&"submenu-expanded")}" .disabled="${this.disabled}" ?aria-haspopup="${this.isSubmenu()}" ?aria-expanded="${!!s}">${this.type==="checkbox"?i`<span part="checked-icon" class="${l("flex items-center justify-center grow-0 shrink-0 basis-auto",this.checked?"visible":"invisible")}"><sd-6-0-0-next-11-icon name="status-check" library="sd-status-assets" aria-hidden="true"></sd-6-0-0-next-11-icon></span>`:""} ${b.iconIndent?i`<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()?i`<span part="submenu-icon" class="flex items-center justify-center grow-0 shrink-0 basis-auto ml-3"><sd-6-0-0-next-11-icon name="chevron-right" library="_internal" aria-hidden="true" class="h-6 w-6"></sd-6-0-0-next-11-icon></span>`:""} ${this.submenuController.renderSubmenu()}</div>`}};e.styles=[...o.styles,c`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
+ :host{--submenu-offset:-6px;display:block}:host(:focus-visible){--tw-outline-style:none;outline-style:none}::slotted(sd-6-0-0-next-11-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:calc(var(--sd-spacing-1) * 0);right:calc(var(--sd-spacing-1) * 0);bottom:calc(var(--sd-spacing-1) * 0);left:calc(var(--sd-spacing-1) * 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(:hover) [part=base]{--tw-outline-style:none;outline-style:none}sd-6-0-0-next-11-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-6-0-0-next-11-menu){max-width:var(--auto-size-available-width)!important;max-height:var(--auto-size-available-height)!important}@property --tw-content{syntax:"*";inherits:false;initial-value:""}`],t([n("slot:not([name])")],e.prototype,"defaultSlot",2),t([n('part="base"')],e.prototype,"menuItem",2),t([a()],e.prototype,"type",2),t([a({type:Boolean,reflect:!0})],e.prototype,"checked",2),t([a({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([a()],e.prototype,"value",2),t([a({type:Boolean,reflect:!0})],e.prototype,"chevron",2),t([r("checked")],e.prototype,"handleCheckedChange",1),t([r("disabled")],e.prototype,"handleDisabledChange",1),t([r("type")],e.prototype,"handleTypeChange",1),e=t([h("sd-6-0-0-next-11-menu-item")],e);export{e as a};
@@ -1,2 +1,2 @@
1
- import{a as p,c as m}from"./chunk.B2NUKX6G.js";import{b as w}from"./chunk.PJ7JCMQF.js";import{a as u}from"./chunk.KLRPP4NQ.js";import{a as s}from"./chunk.YEDQWNIV.js";import{a as g}from"./chunk.7BPPDSHY.js";import{a as b}from"./chunk.NYKJXI3Q.js";import{a as y,b as n,d as a,h as c}from"./chunk.NGH2BNC2.js";import{b as f}from"./chunk.763RLJEK.js";import{b as l,e as d,f as h}from"./chunk.W4QBFD6E.js";import{e as o}from"./chunk.6EV4YU6C.js";var t=class extends c{constructor(){super(...arguments);this.localize=new g(this);this.open=!1}firstUpdated(){this.body.hidden=!this.open,this.body.style.height=this.open?"auto":"0",this.open&&(this.accordion.open=!0),this.accordionObserver=new MutationObserver(e=>{for(let i of e)i.type==="attributes"&&i.attributeName==="open"&&(this.accordion.open?this.show():this.hide())}),this.accordionObserver.observe(this.accordion,{attributes:!0})}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.accordionObserver)==null||e.disconnect()}handleSummaryClick(e){e.preventDefault(),this.open?this.hide():this.show()}handleSummaryKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.open?this.hide():this.show()),(e.key==="ArrowUp"||e.key==="ArrowLeft")&&(e.preventDefault(),this.hide()),(e.key==="ArrowDown"||e.key==="ArrowRight")&&(e.preventDefault(),this.show())}async handleOpenChange(){if(this.open){if(this.accordion.open=!0,this.emit("sd-show",{cancelable:!0}).defaultPrevented){this.open=!1,this.accordion.open=!1;return}await d(this.body),this.body.hidden=!1;let{keyframes:i,options:r}=m(this,"accordion.show",{dir:this.localize.dir()});await l(this.body,h(i,this.body.scrollHeight),r),this.body.style.height="auto",this.emit("sd-after-show")}else{if(this.emit("sd-hide",{cancelable:!0}).defaultPrevented){this.accordion.open=!0,this.open=!0;return}await d(this.body);let{keyframes:i,options:r}=m(this,"accordion.hide",{dir:this.localize.dir()});await l(this.body,h(i,this.body.scrollHeight),r),this.body.hidden=!0,this.body.style.height="auto",this.accordion.open=!1,this.emit("sd-after-hide")}}async show(){if(!this.open)return this.open=!0,u(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,u(this,"sd-after-hide")}render(){return w`<details part="base" class="border-neutral-400"><summary part="header" id="header" class="${s("flex text-base gap-4 font-bold items-center cursor-pointer select-none px-4 sd-6-0-0-next-10-accordion-padding-block focus-visible:focus-outline sd-6-0-0-next-10-accordion-color-text relative group transition-colors ease-in-out duration-fast sd-6-0-0-next-10-accordion-color-background hover:bg-neutral-200")}" aria-expanded="${this.open?"true":"false"}" aria-controls="content" tabindex="0" @click="${this.handleSummaryClick}" @keydown="${this.handleSummaryKeyDown}"><div part="summary-border" class="${s(!this.open&&"opacity-0","w-1 sd-6-0-0-next-10-accordion__indicator-color absolute left-0 transition-height duration-fast ease-in-out h-[calc(100%-16px)] group-hover:h-full")}"></div><slot name="summary" part="summary" class="flex flex-auto items-center text-left">${this.summary}</slot><span part="summary-icon" class="${s("flex flex-grow-0 flex-shrink-0 flex-auto items-center transition-all ease-in-out duration-medium text-xl",this.open&&"rotate-180")}"><slot name="expand-icon" class="${s(this.open&&"hidden")}"><sd-6-0-0-next-10-icon library="_internal" name="chevron-down"></sd-6-0-0-next-10-icon></slot><slot name="collapse-icon" class="${s(!this.open&&"hidden")}"><sd-6-0-0-next-10-icon library="_internal" name="chevron-down"></sd-6-0-0-next-10-icon></slot></span></summary><div part="content" id="content" class="overflow-hidden"><slot part="content__slot" class="block px-4 py-6" role="region" aria-labelledby="header"></slot></div></details>`}};t.styles=[...c.styles,f`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{display:block}[part=header]::-webkit-details-marker{display:none}[part=base]{border-block-width:var(--sd-accordion-border-width)}[part=summary-icon]{color:var(--sd-accordion__chevron-color-text)}`],o([a('[part="base"]')],t.prototype,"accordion",2),o([a('[part="header"]')],t.prototype,"header",2),o([a('[part="content"]')],t.prototype,"body",2),o([n({type:Boolean,reflect:!0})],t.prototype,"open",2),o([n({reflect:!0})],t.prototype,"summary",2),o([b("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),t=o([y("sd-6-0-0-next-10-accordion")],t);p("accordion.show",{keyframes:[{height:"0",opacity:"0"},{height:"auto",opacity:"1"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});p("accordion.hide",{keyframes:[{height:"auto",opacity:"1"},{height:"0",opacity:"0"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{t as a};
1
+ import{a as p,c as m}from"./chunk.B2NUKX6G.js";import{b as w}from"./chunk.PJ7JCMQF.js";import{a as u}from"./chunk.KLRPP4NQ.js";import{a as s}from"./chunk.YEDQWNIV.js";import{a as g}from"./chunk.7BPPDSHY.js";import{a as b}from"./chunk.NYKJXI3Q.js";import{a as y,b as n,d as a,h as c}from"./chunk.NGH2BNC2.js";import{b as f}from"./chunk.763RLJEK.js";import{b as l,e as d,f as h}from"./chunk.W4QBFD6E.js";import{e as o}from"./chunk.6EV4YU6C.js";var t=class extends c{constructor(){super(...arguments);this.localize=new g(this);this.open=!1}firstUpdated(){this.body.hidden=!this.open,this.body.style.height=this.open?"auto":"0",this.open&&(this.accordion.open=!0),this.accordionObserver=new MutationObserver(e=>{for(let i of e)i.type==="attributes"&&i.attributeName==="open"&&(this.accordion.open?this.show():this.hide())}),this.accordionObserver.observe(this.accordion,{attributes:!0})}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.accordionObserver)==null||e.disconnect()}handleSummaryClick(e){e.preventDefault(),this.open?this.hide():this.show()}handleSummaryKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.open?this.hide():this.show()),(e.key==="ArrowUp"||e.key==="ArrowLeft")&&(e.preventDefault(),this.hide()),(e.key==="ArrowDown"||e.key==="ArrowRight")&&(e.preventDefault(),this.show())}async handleOpenChange(){if(this.open){if(this.accordion.open=!0,this.emit("sd-show",{cancelable:!0}).defaultPrevented){this.open=!1,this.accordion.open=!1;return}await d(this.body),this.body.hidden=!1;let{keyframes:i,options:r}=m(this,"accordion.show",{dir:this.localize.dir()});await l(this.body,h(i,this.body.scrollHeight),r),this.body.style.height="auto",this.emit("sd-after-show")}else{if(this.emit("sd-hide",{cancelable:!0}).defaultPrevented){this.accordion.open=!0,this.open=!0;return}await d(this.body);let{keyframes:i,options:r}=m(this,"accordion.hide",{dir:this.localize.dir()});await l(this.body,h(i,this.body.scrollHeight),r),this.body.hidden=!0,this.body.style.height="auto",this.accordion.open=!1,this.emit("sd-after-hide")}}async show(){if(!this.open)return this.open=!0,u(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,u(this,"sd-after-hide")}render(){return w`<details part="base" class="border-neutral-400"><summary part="header" id="header" class="${s("flex text-base gap-4 font-bold items-center cursor-pointer select-none px-4 sd-6-0-0-next-11-accordion-padding-block focus-visible:focus-outline sd-6-0-0-next-11-accordion-color-text relative group transition-colors ease-in-out duration-fast sd-6-0-0-next-11-accordion-color-background hover:bg-neutral-200")}" aria-expanded="${this.open?"true":"false"}" aria-controls="content" tabindex="0" @click="${this.handleSummaryClick}" @keydown="${this.handleSummaryKeyDown}"><div part="summary-border" class="${s(!this.open&&"opacity-0","w-1 sd-6-0-0-next-11-accordion__indicator-color absolute left-0 transition-height duration-fast ease-in-out h-[calc(100%-16px)] group-hover:h-full")}"></div><slot name="summary" part="summary" class="flex flex-auto items-center text-left">${this.summary}</slot><span part="summary-icon" class="${s("flex flex-grow-0 flex-shrink-0 flex-auto items-center transition-all ease-in-out duration-medium text-xl",this.open&&"rotate-180")}"><slot name="expand-icon" class="${s(this.open&&"hidden")}"><sd-6-0-0-next-11-icon library="_internal" name="chevron-down"></sd-6-0-0-next-11-icon></slot><slot name="collapse-icon" class="${s(!this.open&&"hidden")}"><sd-6-0-0-next-11-icon library="_internal" name="chevron-down"></sd-6-0-0-next-11-icon></slot></span></summary><div part="content" id="content" class="overflow-hidden"><slot part="content__slot" class="block px-4 py-6" role="region" aria-labelledby="header"></slot></div></details>`}};t.styles=[...c.styles,f`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{display:block}[part=header]::-webkit-details-marker{display:none}[part=base]{border-block-width:var(--sd-accordion-border-width)}[part=summary-icon]{color:var(--sd-accordion__chevron-color-text)}`],o([a('[part="base"]')],t.prototype,"accordion",2),o([a('[part="header"]')],t.prototype,"header",2),o([a('[part="content"]')],t.prototype,"body",2),o([n({type:Boolean,reflect:!0})],t.prototype,"open",2),o([n({reflect:!0})],t.prototype,"summary",2),o([b("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),t=o([y("sd-6-0-0-next-11-accordion")],t);p("accordion.show",{keyframes:[{height:"0",opacity:"0"},{height:"auto",opacity:"1"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});p("accordion.hide",{keyframes:[{height:"auto",opacity:"1"},{height:"0",opacity:"0"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as d}from"./chunk.VYBQ3X2B.js";import{a as b}from"./chunk.N3WG3NAL.js";import{b as m}from"./chunk.JS2HQ2N4.js";import{a as p}from"./chunk.PV6UYBMY.js";import{a as r}from"./chunk.YEDQWNIV.js";import{a as n}from"./chunk.NYKJXI3Q.js";import{a as h,b as l,c,d as s,h as o}from"./chunk.NGH2BNC2.js";import{b as u,e as a}from"./chunk.763RLJEK.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends o{constructor(){super(...arguments);this.formControlController=new m(this,{value:e=>e.checked?e.value||"on":void 0,defaultValue:e=>e.defaultChecked,setValue:(e,f)=>e.checked=f});this.title="";this.name="";this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.checked=!1;this.indeterminate=!1;this.defaultChecked=!1;this.form="";this.required=!1;this.showInvalidStyle=!1}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleClick(e){if(this.visuallyDisabled){e.preventDefault(),e.stopPropagation();return}this.checked=!this.checked,this.indeterminate=!1,this.emit("sd-change")}handleBlur(){this.emit("sd-blur")}handleInput(){this.emit("sd-input")}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e),this.invalidMessage.textContent=e.target.validationMessage}handleFocus(){this.emit("sd-focus")}handleDisabledChange(){let e=this.disabled||this.visuallyDisabled;this.setAttribute("aria-disabled",e?"true":"false"),this.formControlController.setValidity(e)}handleStateChange(){this.input.checked=this.checked,this.input.indeterminate=this.indeterminate,this.formControlController.updateValidity()}click(){this.input.click()}focus(e){this.input.focus(e)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(e){this.input.setCustomValidity(e),this.formControlController.updateValidity()}render(){let e=this.disabled&&this.indeterminate?"disabledIndeterminate":this.disabled&&this.checked?"disabledChecked":this.disabled?"disabled":this.visuallyDisabled?"visuallyDisabled":this.showInvalidStyle&&this.indeterminate?"invalidIndeterminate":this.showInvalidStyle?"invalid":this.checked||this.indeterminate?"filled":"default";return a`<label part="base" class="${r("sd-6-0-0-next-10-checkbox group flex items-start text-base leading-normal text-black cursor-pointer",(this.disabled||this.visuallyDisabled)&&"hover:cursor-not-allowed",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}"><input class="peer absolute opacity-0 p-0 m-0 pointer-events-none" type="checkbox" title="${this.title}" name="${this.name}" value="${p(this.value)}" .indeterminate="${d(this.indeterminate)}" .checked="${d(this.checked)}" .disabled="${this.disabled}" .required="${this.required}" aria-checked="${this.indeterminate?"mixed":this.checked}" aria-describedby="invalid-message" aria-invalid="${this.showInvalidStyle}" aria-disabled="${this.disabled||this.visuallyDisabled?"true":"false"}" @click="${this.handleClick}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @blur="${this.handleBlur}" @focus="${this.handleFocus}"> <span id="control" part="control ${this.checked?" control--checked":"control--unchecked"} ${this.indeterminate?" control--indeterminate":""}" class="${r("relative flex flex-shrink-0 items-center justify-center border rounded-sm h-4 w-4","transition-colors ease-in-out duration-medium group-hover:duration-fast","peer-focus-visible:outline peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2 peer-focus-visible:outline-primary",{sm:"mt-[2px]",md:"mt-[3px]",lg:"mt-[3px]"}[this.size],{disabledIndeterminate:"border-neutral-500 bg-neutral-500",disabledChecked:"border-neutral-500 bg-neutral-500",disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",invalidIndeterminate:"border-error bg-error group-hover:bg-error-400",invalid:"border-error group-hover:bg-neutral-200",filled:"border-accent hover:border-accent-550 group-hover:border-accent-550 bg-accent group-hover:bg-accent-550",default:"form-control-color-border hover:bg-neutral-200 group-hover:bg-neutral-200 bg-white"}[e])}"><div class="${r("absolute h-3 transition-[width] right-0.25 duration-medium",this.checked||this.indeterminate?"w-0":"w-3")}"><div class="${r("w-full h-full transition-colors duration-medium ease-in-out group-hover:duration-fast",{disabledIndeterminate:"bg-neutral-500",disabledChecked:" bg-neutral-500",disabled:"",visuallyDisabled:"",invalidIndeterminate:" bg-error group-hover:bg-error-400",invalid:"group-hover:bg-neutral-200",filled:"bg-accent group-hover:bg-accent-550",default:"hover:bg-neutral-200 group-hover:bg-neutral-200 bg-white"}[e])}"></div></div>${this.checked?a`<sd-6-0-0-next-10-icon part="checked-icon" class="text-white w-3 h-3" library="_internal" name="status-check"></sd-6-0-0-next-10-icon>`:""} ${!this.checked&&this.indeterminate?a`<sd-6-0-0-next-10-icon part="indeterminate-icon" class="text-white w-3 h-3" library="_internal" name="status-minus"></sd-6-0-0-next-10-icon>`:""} </span><span part="label" id="label" class="${r("select-none inline-block ml-2",this.disabled||this.visuallyDisabled?"text-neutral-500":this.showInvalidStyle?"text-error":"text-black")}"><slot></slot></span></label> ${this.formControlController.renderInvalidMessage()}`}};t.styles=[...o.styles,u`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
- :host{display:block;width:-moz-max-content;width:max-content}:host(:focus-visible){outline-style:var(--tw-outline-style);outline-width:0}:host([required]) #label::after{content:' *'}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}`],i([s('input[type="checkbox"]')],t.prototype,"input",2),i([s("#invalid-message")],t.prototype,"invalidMessage",2),i([l({type:String,reflect:!0})],t.prototype,"title",2),i([l({type:String,reflect:!0})],t.prototype,"name",2),i([l()],t.prototype,"value",2),i([l({type:String,reflect:!0})],t.prototype,"size",2),i([l({type:Boolean,reflect:!0})],t.prototype,"disabled",2),i([l({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),i([l({type:Boolean,reflect:!0})],t.prototype,"checked",2),i([l({type:Boolean,reflect:!0})],t.prototype,"indeterminate",2),i([b("checked")],t.prototype,"defaultChecked",2),i([l({type:String,reflect:!0})],t.prototype,"form",2),i([l({type:Boolean,reflect:!0})],t.prototype,"required",2),i([c()],t.prototype,"showInvalidStyle",2),i([n(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),i([n(["checked","indeterminate"],{waitUntilFirstUpdate:!0})],t.prototype,"handleStateChange",1),t=i([h("sd-6-0-0-next-10-checkbox")],t);export{t as a};
1
+ import{a as d}from"./chunk.VYBQ3X2B.js";import{a as b}from"./chunk.N3WG3NAL.js";import{b as m}from"./chunk.JS2HQ2N4.js";import{a as p}from"./chunk.PV6UYBMY.js";import{a as r}from"./chunk.YEDQWNIV.js";import{a as n}from"./chunk.NYKJXI3Q.js";import{a as h,b as l,c,d as s,h as o}from"./chunk.NGH2BNC2.js";import{b as u,e as a}from"./chunk.763RLJEK.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends o{constructor(){super(...arguments);this.formControlController=new m(this,{value:e=>e.checked?e.value||"on":void 0,defaultValue:e=>e.defaultChecked,setValue:(e,f)=>e.checked=f});this.title="";this.name="";this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.checked=!1;this.indeterminate=!1;this.defaultChecked=!1;this.form="";this.required=!1;this.showInvalidStyle=!1}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleClick(e){if(this.visuallyDisabled){e.preventDefault(),e.stopPropagation();return}this.checked=!this.checked,this.indeterminate=!1,this.emit("sd-change")}handleBlur(){this.emit("sd-blur")}handleInput(){this.emit("sd-input")}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e),this.invalidMessage.textContent=e.target.validationMessage}handleFocus(){this.emit("sd-focus")}handleDisabledChange(){let e=this.disabled||this.visuallyDisabled;this.setAttribute("aria-disabled",e?"true":"false"),this.formControlController.setValidity(e)}handleStateChange(){this.input.checked=this.checked,this.input.indeterminate=this.indeterminate,this.formControlController.updateValidity()}click(){this.input.click()}focus(e){this.input.focus(e)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(e){this.input.setCustomValidity(e),this.formControlController.updateValidity()}render(){let e=this.disabled&&this.indeterminate?"disabledIndeterminate":this.disabled&&this.checked?"disabledChecked":this.disabled?"disabled":this.visuallyDisabled?"visuallyDisabled":this.showInvalidStyle&&this.indeterminate?"invalidIndeterminate":this.showInvalidStyle?"invalid":this.checked||this.indeterminate?"filled":"default";return a`<label part="base" class="${r("sd-6-0-0-next-11-checkbox group flex items-start text-base leading-normal text-black cursor-pointer",(this.disabled||this.visuallyDisabled)&&"hover:cursor-not-allowed",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}"><input class="peer absolute opacity-0 p-0 m-0 pointer-events-none" type="checkbox" title="${this.title}" name="${this.name}" value="${p(this.value)}" .indeterminate="${d(this.indeterminate)}" .checked="${d(this.checked)}" .disabled="${this.disabled}" .required="${this.required}" aria-checked="${this.indeterminate?"mixed":this.checked}" aria-describedby="invalid-message" aria-invalid="${this.showInvalidStyle}" aria-disabled="${this.disabled||this.visuallyDisabled?"true":"false"}" @click="${this.handleClick}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @blur="${this.handleBlur}" @focus="${this.handleFocus}"> <span id="control" part="control ${this.checked?" control--checked":"control--unchecked"} ${this.indeterminate?" control--indeterminate":""}" class="${r("relative flex flex-shrink-0 items-center justify-center border rounded-sm h-4 w-4","transition-colors ease-in-out duration-medium group-hover:duration-fast","peer-focus-visible:outline peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2 peer-focus-visible:outline-primary",{sm:"mt-[2px]",md:"mt-[3px]",lg:"mt-[3px]"}[this.size],{disabledIndeterminate:"border-neutral-500 bg-neutral-500",disabledChecked:"border-neutral-500 bg-neutral-500",disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",invalidIndeterminate:"border-error bg-error group-hover:bg-error-400",invalid:"border-error group-hover:bg-neutral-200",filled:"border-accent hover:border-accent-550 group-hover:border-accent-550 bg-accent group-hover:bg-accent-550",default:"form-control-color-border hover:bg-neutral-200 group-hover:bg-neutral-200 bg-white"}[e])}"><div class="${r("absolute h-3 transition-[width] right-0.25 duration-medium",this.checked||this.indeterminate?"w-0":"w-3")}"><div class="${r("w-full h-full transition-colors duration-medium ease-in-out group-hover:duration-fast",{disabledIndeterminate:"bg-neutral-500",disabledChecked:" bg-neutral-500",disabled:"",visuallyDisabled:"",invalidIndeterminate:" bg-error group-hover:bg-error-400",invalid:"group-hover:bg-neutral-200",filled:"bg-accent group-hover:bg-accent-550",default:"hover:bg-neutral-200 group-hover:bg-neutral-200 bg-white"}[e])}"></div></div>${this.checked?a`<sd-6-0-0-next-11-icon part="checked-icon" class="text-white w-3 h-3" library="_internal" name="status-check"></sd-6-0-0-next-11-icon>`:""} ${!this.checked&&this.indeterminate?a`<sd-6-0-0-next-11-icon part="indeterminate-icon" class="text-white w-3 h-3" library="_internal" name="status-minus"></sd-6-0-0-next-11-icon>`:""} </span><span part="label" id="label" class="${r("select-none inline-block ml-2",this.disabled||this.visuallyDisabled?"text-neutral-500":this.showInvalidStyle?"text-error":"text-black")}"><slot></slot></span></label> ${this.formControlController.renderInvalidMessage()}`}};t.styles=[...o.styles,u`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
+ :host{display:block;width:-moz-max-content;width:max-content}:host(:focus-visible){outline-style:var(--tw-outline-style);outline-width:0}:host([required]) #label::after{content:' *'}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}`],i([s('input[type="checkbox"]')],t.prototype,"input",2),i([s("#invalid-message")],t.prototype,"invalidMessage",2),i([l({type:String,reflect:!0})],t.prototype,"title",2),i([l({type:String,reflect:!0})],t.prototype,"name",2),i([l()],t.prototype,"value",2),i([l({type:String,reflect:!0})],t.prototype,"size",2),i([l({type:Boolean,reflect:!0})],t.prototype,"disabled",2),i([l({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),i([l({type:Boolean,reflect:!0})],t.prototype,"checked",2),i([l({type:Boolean,reflect:!0})],t.prototype,"indeterminate",2),i([b("checked")],t.prototype,"defaultChecked",2),i([l({type:String,reflect:!0})],t.prototype,"form",2),i([l({type:Boolean,reflect:!0})],t.prototype,"required",2),i([c()],t.prototype,"showInvalidStyle",2),i([n(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),i([n(["checked","indeterminate"],{waitUntilFirstUpdate:!0})],t.prototype,"handleStateChange",1),t=i([h("sd-6-0-0-next-11-checkbox")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as T}from"./chunk.MHWW3RZB.js";import{c as b}from"./chunk.3L472FD4.js";import{a as f}from"./chunk.PV6UYBMY.js";import{a as c}from"./chunk.YEDQWNIV.js";import{a as y}from"./chunk.7BPPDSHY.js";import{a as g,b as w,c as v,d as h,h as u}from"./chunk.NGH2BNC2.js";import{b as m,e as d}from"./chunk.763RLJEK.js";import{a as p,e as l}from"./chunk.6EV4YU6C.js";var a=class extends u{constructor(){super(...arguments);this.localize=new y(this);this.tabs=[];this.panels=[];this.hasScrollControls=!1;this.variant="default";this.canScroll={left:!1,right:!1};this.activation="auto"}connectedCallback(){let t=Promise.all([customElements.whenDefined("sd-6-0-0-next-10-tab"),customElements.whenDefined("sd-6-0-0-next-10-tab-panel")]);super.connectedCallback(),this.resizeObserver=new ResizeObserver(()=>{this.updateScrollControls(),this.repositionIndicator()}),this.mutationObserver=new MutationObserver(i=>{i.some(e=>!["aria-labelledby","aria-controls"].includes(e.attributeName))&&setTimeout(()=>this.setAriaLabels()),i.some(e=>e.attributeName==="disabled")&&this.syncTabsAndPanels()}),this.updateComplete.then(()=>{this.syncTabsAndPanels(),this.mutationObserver.observe(this,{attributes:!0,childList:!0,subtree:!0}),this.resizeObserver.observe(this.nav),this.nav.addEventListener("scroll",()=>this.handleScroll()),t.then(()=>{new IntersectionObserver((e,o)=>{var s;e[0].intersectionRatio>0&&(this.setAriaLabels(),this.setActiveTab((s=this.activeTab)!=null?s:this.tabs[0],{emitEvents:!1}),o.unobserve(e[0].target))}).observe(this.tabGroup)})})}updated(t){!t.get("canScroll")&&this.canScroll&&this.handleScroll()}disconnectedCallback(){var t;this.mutationObserver.disconnect(),this.nav&&((t=this.resizeObserver)==null||t.unobserve(this.nav))}getAllTabs(t={includeDisabled:!0}){let i=this.shadowRoot.querySelector('slot[name="nav"]');return Array.from(i.assignedElements()).map(e=>e.tagName.toLocaleLowerCase()==="sd-6-0-0-next-10-tab"?e:e.querySelector("sd-6-0-0-next-10-tab")).filter(e=>e&&t.includeDisabled?e.tagName.toLowerCase()==="sd-6-0-0-next-10-tab":e.tagName.toLowerCase()==="sd-6-0-0-next-10-tab"&&!e.disabled)}getAllPanels(){return[...this.body.assignedElements()].filter(t=>t.tagName.toLowerCase()==="sd-6-0-0-next-10-tab-panel")}getActiveTab(){return this.tabs.find(t=>t.matches(":focus"))}handleClick(t){let e=t.target.closest("sd-6-0-0-next-10-tab");(e==null?void 0:e.closest("sd-6-0-0-next-10-tab-group"))===this&&e!==null&&this.setActiveTab(e,{scrollBehavior:"smooth"})}handleKeyDown(t){let e=t.target.closest("sd-6-0-0-next-10-tab");if((e==null?void 0:e.closest("sd-6-0-0-next-10-tab-group"))===this){if(["Enter"," "].includes(t.key)&&e!==null&&(this.setActiveTab(e,{scrollBehavior:"smooth"}),t.preventDefault()),["Tab"].includes(t.key)){let s=this.tabs.indexOf(this.getActiveTab()),n=this.tabs[s+1];e!==null&&n&&b(n,this.nav,"horizontal")}if(["Shift","Tab"].includes(t.key)){let s=this.tabs.indexOf(this.getActiveTab()),n=this.tabs[s-1];e!==null&&n&&b(n,this.nav,"horizontal")}if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(t.key)){let s=this.tabs.find(r=>r.matches(":focus")),n=this.localize.dir()==="rtl";if((s==null?void 0:s.tagName.toLowerCase())==="sd-6-0-0-next-10-tab"){let r=this.tabs.indexOf(s);t.key==="Home"?r=0:t.key==="End"?r=this.tabs.length-1:t.key===(n?"ArrowRight":"ArrowLeft")||t.key==="ArrowUp"?r--:(t.key===(n?"ArrowLeft":"ArrowRight")||t.key==="ArrowDown")&&r++,r<0&&(r=this.tabs.length-1),r>this.tabs.length-1&&(r=0),this.tabs[r].focus({preventScroll:!0}),this.activation==="auto"&&this.setActiveTab(this.tabs[r],{scrollBehavior:"smooth"}),b(this.tabs[r],this.nav,"horizontal"),t.preventDefault()}}}}handleScroll(){this.canScroll={left:this.nav.scrollLeft>0,right:this.nav.scrollLeft+this.nav.clientWidth<this.nav.scrollWidth-1}}handleScrollToStart(){this.nav.scroll({left:this.localize.dir()==="rtl"?this.nav.scrollLeft+this.nav.clientWidth:this.nav.scrollLeft-this.nav.clientWidth,behavior:"smooth"})}handleScrollToEnd(){this.nav.scroll({left:this.localize.dir()==="rtl"?this.nav.scrollLeft-this.nav.clientWidth:this.nav.scrollLeft+this.nav.clientWidth,behavior:"smooth"})}setActiveTab(t,i){if(i=p({emitEvents:!0,scrollBehavior:"auto"},i),t!==this.activeTab&&!t.disabled&&!t.visuallyDisabled){let e=this.activeTab;this.activeTab=t,this.tabs.map(o=>o.active=o===this.activeTab),this.panels.map(o=>{var s;return o.active=o.name===((s=this.activeTab)==null?void 0:s.panel)}),this.repositionIndicator(),b(this.activeTab,this.nav,"horizontal",i.scrollBehavior),i.emitEvents&&(e&&this.emit("sd-tab-hide",{detail:{name:e.panel}}),this.emit("sd-tab-show",{detail:{name:this.activeTab.panel}}))}}setAriaLabels(){this.tabs.forEach(t=>{let i=this.panels.find(e=>e.name===t.panel);i&&t.setAttribute("aria-controls",i.getAttribute("id"))})}syncTabsAndPanels(){this.tabs=this.getAllTabs({includeDisabled:!1}),this.panels=this.getAllPanels(),this.repositionIndicator(),this.panels.forEach(t=>{t.tabIndex=0}),this.updateComplete.then(()=>this.updateScrollControls()),this.tabs.length!==0&&this.tabs[0].variant==="container"&&(this.variant="container")}updateScrollControls(){this.hasScrollControls=this.nav.scrollWidth>this.nav.clientWidth}async repositionIndicator(){await this.updateComplete;let t=this.activeTab,i=this.indicator,e=this.tabsContainer;if(!t||!i||!e||t.variant==="container")return;let o=t.getBoundingClientRect(),s=e.getBoundingClientRect(),n=getComputedStyle(e).justifyContent==="center",r=s.left+s.width/2,A=o.left+o.width/2,x=t.offsetWidth,C=n?A-r:o.left-s.left;i.style.width=`${x}px`,i.style.transform=`translateX(${C}px)`}show(t){let i=this.tabs.find(e=>e.panel===t);i&&this.setActiveTab(i,{scrollBehavior:"smooth"})}render(){var i;let t=this.localize.dir()==="rtl";return d`<div part="base" class="${c("flex flex-col rounded-none")}" @click="${this.handleClick}" @keydown="${this.handleKeyDown}"><div part="nav" class="${c(this.hasScrollControls&&"relative py-0 px-12")}">${this.hasScrollControls?d`<button part="scroll-button--start" exportparts="base:scroll-button__base" tabindex="-1" aria-hidden="true" disabled="${f(!this.canScroll.left||void 0)}" class="${c("sd-interactive flex items-center justify-center absolute top-0 bottom-0 left-0 !outline-offset-0 border-b border-neutral-400 z-10",this.localize.dir()==="rtl"&&"left-auto right-0")}" @click="${this.handleScrollToStart}"><sd-6-0-0-next-10-icon library="_internal" name="${t?"chevron-up":"chevron-down"}" label="previous" class="${c("h-6 w-12 rotate-90 grid place-items-center")}"></sd-6-0-0-next-10-icon></button>`:""}<div part="scroll-container" class="flex overflow-x-auto focus-visible:focus-outline !outline-offset-0"><div part="tabs" class="${c("flex flex-auto relative flex-row")}" role="tablist">${((i=this.activeTab)==null?void 0:i.variant)!=="container"?d`<div part="active-tab-indicator" id="indicator" class="absolute h-1 bg-accent bottom-0 transition-[transform,width] duration-medium ease-in-out z-30 navigable__current-indicator-height navigable__current-indicator-border-radius"></div>`:""}<div part="separation" class="border-neutral-400 absolute w-full h-0.25 bottom-0 border-b z-10"></div><slot name="nav" @slotchange="${this.syncTabsAndPanels}"></slot></div></div>${this.hasScrollControls?d`<button part="scroll-button--end" exportparts="base:scroll-button__base" tabindex="-1" aria-hidden="true" disabled="${f(!this.canScroll.right||void 0)}" class="${c("sd-interactive flex items-center justify-center absolute top-0 bottom-0 right-0 !outline-offset-0 border-b border-neutral-400 z-10",this.localize.dir()==="rtl"&&"right-auto left-0")}" @click="${this.handleScrollToEnd}"><sd-6-0-0-next-10-icon library="_internal" name="${t?"chevron-down":"chevron-up"}" label="next" class="${c("h-6 w-12 rotate-90 grid place-items-center")}"></sd-6-0-0-next-10-icon></button>`:""}</div><slot part="body" class="${c("block auto py-8 px-6",this.variant==="container"&&"border border-neutral-400 border-t-0")}" @slotchange="${this.syncTabsAndPanels}"></slot></div>`}};a.styles=[...u.styles,m`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{box-sizing:border-box;display:block}[part=scroll-container]{scrollbar-width:none}[part=scroll-container]::-webkit-scrollbar{height:calc(var(--sd-spacing-1) * 0);width:calc(var(--sd-spacing-1) * 0)}::slotted(sd-6-0-0-next-10-tab-panel){--padding:1rem 0}::slotted(sd-6-0-0-next-10-tab-panel:focus-visible){outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:var(--outline-color-primary)}`],l([h("[part=base]")],a.prototype,"tabGroup",2),l([h("[part=body]")],a.prototype,"body",2),l([h("[part=scroll-container]")],a.prototype,"nav",2),l([h("[part=active-tab-indicator]")],a.prototype,"indicator",2),l([h('[part="tabs"]')],a.prototype,"tabsContainer",2),l([v()],a.prototype,"hasScrollControls",2),l([v()],a.prototype,"variant",2),l([v()],a.prototype,"canScroll",2),l([w({type:String,reflect:!0})],a.prototype,"activation",2),l([T(20)],a.prototype,"handleScroll",1),a=l([g("sd-6-0-0-next-10-tab-group")],a);export{a};
1
+ import{a as T}from"./chunk.MHWW3RZB.js";import{c as b}from"./chunk.3L472FD4.js";import{a as f}from"./chunk.PV6UYBMY.js";import{a as c}from"./chunk.YEDQWNIV.js";import{a as y}from"./chunk.7BPPDSHY.js";import{a as g,b as w,c as v,d as h,h as u}from"./chunk.NGH2BNC2.js";import{b as m,e as d}from"./chunk.763RLJEK.js";import{a as p,e as l}from"./chunk.6EV4YU6C.js";var a=class extends u{constructor(){super(...arguments);this.localize=new y(this);this.tabs=[];this.panels=[];this.hasScrollControls=!1;this.variant="default";this.canScroll={left:!1,right:!1};this.activation="auto"}connectedCallback(){let t=Promise.all([customElements.whenDefined("sd-6-0-0-next-11-tab"),customElements.whenDefined("sd-6-0-0-next-11-tab-panel")]);super.connectedCallback(),this.resizeObserver=new ResizeObserver(()=>{this.updateScrollControls(),this.repositionIndicator()}),this.mutationObserver=new MutationObserver(i=>{i.some(e=>!["aria-labelledby","aria-controls"].includes(e.attributeName))&&setTimeout(()=>this.setAriaLabels()),i.some(e=>e.attributeName==="disabled")&&this.syncTabsAndPanels()}),this.updateComplete.then(()=>{this.syncTabsAndPanels(),this.mutationObserver.observe(this,{attributes:!0,childList:!0,subtree:!0}),this.resizeObserver.observe(this.nav),this.nav.addEventListener("scroll",()=>this.handleScroll()),t.then(()=>{new IntersectionObserver((e,o)=>{var s;e[0].intersectionRatio>0&&(this.setAriaLabels(),this.setActiveTab((s=this.activeTab)!=null?s:this.tabs[0],{emitEvents:!1}),o.unobserve(e[0].target))}).observe(this.tabGroup)})})}updated(t){!t.get("canScroll")&&this.canScroll&&this.handleScroll()}disconnectedCallback(){var t;this.mutationObserver.disconnect(),this.nav&&((t=this.resizeObserver)==null||t.unobserve(this.nav))}getAllTabs(t={includeDisabled:!0}){let i=this.shadowRoot.querySelector('slot[name="nav"]');return Array.from(i.assignedElements()).map(e=>e.tagName.toLocaleLowerCase()==="sd-6-0-0-next-11-tab"?e:e.querySelector("sd-6-0-0-next-11-tab")).filter(e=>e&&t.includeDisabled?e.tagName.toLowerCase()==="sd-6-0-0-next-11-tab":e.tagName.toLowerCase()==="sd-6-0-0-next-11-tab"&&!e.disabled)}getAllPanels(){return[...this.body.assignedElements()].filter(t=>t.tagName.toLowerCase()==="sd-6-0-0-next-11-tab-panel")}getActiveTab(){return this.tabs.find(t=>t.matches(":focus"))}handleClick(t){let e=t.target.closest("sd-6-0-0-next-11-tab");(e==null?void 0:e.closest("sd-6-0-0-next-11-tab-group"))===this&&e!==null&&this.setActiveTab(e,{scrollBehavior:"smooth"})}handleKeyDown(t){let e=t.target.closest("sd-6-0-0-next-11-tab");if((e==null?void 0:e.closest("sd-6-0-0-next-11-tab-group"))===this){if(["Enter"," "].includes(t.key)&&e!==null&&(this.setActiveTab(e,{scrollBehavior:"smooth"}),t.preventDefault()),["Tab"].includes(t.key)){let s=this.tabs.indexOf(this.getActiveTab()),n=this.tabs[s+1];e!==null&&n&&b(n,this.nav,"horizontal")}if(["Shift","Tab"].includes(t.key)){let s=this.tabs.indexOf(this.getActiveTab()),n=this.tabs[s-1];e!==null&&n&&b(n,this.nav,"horizontal")}if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(t.key)){let s=this.tabs.find(r=>r.matches(":focus")),n=this.localize.dir()==="rtl";if((s==null?void 0:s.tagName.toLowerCase())==="sd-6-0-0-next-11-tab"){let r=this.tabs.indexOf(s);t.key==="Home"?r=0:t.key==="End"?r=this.tabs.length-1:t.key===(n?"ArrowRight":"ArrowLeft")||t.key==="ArrowUp"?r--:(t.key===(n?"ArrowLeft":"ArrowRight")||t.key==="ArrowDown")&&r++,r<0&&(r=this.tabs.length-1),r>this.tabs.length-1&&(r=0),this.tabs[r].focus({preventScroll:!0}),this.activation==="auto"&&this.setActiveTab(this.tabs[r],{scrollBehavior:"smooth"}),b(this.tabs[r],this.nav,"horizontal"),t.preventDefault()}}}}handleScroll(){this.canScroll={left:this.nav.scrollLeft>0,right:this.nav.scrollLeft+this.nav.clientWidth<this.nav.scrollWidth-1}}handleScrollToStart(){this.nav.scroll({left:this.localize.dir()==="rtl"?this.nav.scrollLeft+this.nav.clientWidth:this.nav.scrollLeft-this.nav.clientWidth,behavior:"smooth"})}handleScrollToEnd(){this.nav.scroll({left:this.localize.dir()==="rtl"?this.nav.scrollLeft-this.nav.clientWidth:this.nav.scrollLeft+this.nav.clientWidth,behavior:"smooth"})}setActiveTab(t,i){if(i=p({emitEvents:!0,scrollBehavior:"auto"},i),t!==this.activeTab&&!t.disabled&&!t.visuallyDisabled){let e=this.activeTab;this.activeTab=t,this.tabs.map(o=>o.active=o===this.activeTab),this.panels.map(o=>{var s;return o.active=o.name===((s=this.activeTab)==null?void 0:s.panel)}),this.repositionIndicator(),b(this.activeTab,this.nav,"horizontal",i.scrollBehavior),i.emitEvents&&(e&&this.emit("sd-tab-hide",{detail:{name:e.panel}}),this.emit("sd-tab-show",{detail:{name:this.activeTab.panel}}))}}setAriaLabels(){this.tabs.forEach(t=>{let i=this.panels.find(e=>e.name===t.panel);i&&t.setAttribute("aria-controls",i.getAttribute("id"))})}syncTabsAndPanels(){this.tabs=this.getAllTabs({includeDisabled:!1}),this.panels=this.getAllPanels(),this.repositionIndicator(),this.panels.forEach(t=>{t.tabIndex=0}),this.updateComplete.then(()=>this.updateScrollControls()),this.tabs.length!==0&&this.tabs[0].variant==="container"&&(this.variant="container")}updateScrollControls(){this.hasScrollControls=this.nav.scrollWidth>this.nav.clientWidth}async repositionIndicator(){await this.updateComplete;let t=this.activeTab,i=this.indicator,e=this.tabsContainer;if(!t||!i||!e||t.variant==="container")return;let o=t.getBoundingClientRect(),s=e.getBoundingClientRect(),n=getComputedStyle(e).justifyContent==="center",r=s.left+s.width/2,A=o.left+o.width/2,x=t.offsetWidth,C=n?A-r:o.left-s.left;i.style.width=`${x}px`,i.style.transform=`translateX(${C}px)`}show(t){let i=this.tabs.find(e=>e.panel===t);i&&this.setActiveTab(i,{scrollBehavior:"smooth"})}render(){var i;let t=this.localize.dir()==="rtl";return d`<div part="base" class="${c("flex flex-col rounded-none")}" @click="${this.handleClick}" @keydown="${this.handleKeyDown}"><div part="nav" class="${c(this.hasScrollControls&&"relative py-0 px-12")}">${this.hasScrollControls?d`<button part="scroll-button--start" exportparts="base:scroll-button__base" tabindex="-1" aria-hidden="true" disabled="${f(!this.canScroll.left||void 0)}" class="${c("sd-interactive flex items-center justify-center absolute top-0 bottom-0 left-0 !outline-offset-0 border-b border-neutral-400 z-10",this.localize.dir()==="rtl"&&"left-auto right-0")}" @click="${this.handleScrollToStart}"><sd-6-0-0-next-11-icon library="_internal" name="${t?"chevron-up":"chevron-down"}" label="previous" class="${c("h-6 w-12 rotate-90 grid place-items-center")}"></sd-6-0-0-next-11-icon></button>`:""}<div part="scroll-container" class="flex overflow-x-auto focus-visible:focus-outline !outline-offset-0"><div part="tabs" class="${c("flex flex-auto relative flex-row")}" role="tablist">${((i=this.activeTab)==null?void 0:i.variant)!=="container"?d`<div part="active-tab-indicator" id="indicator" class="absolute h-1 bg-accent bottom-0 transition-[transform,width] duration-medium ease-in-out z-30 navigable__current-indicator-height navigable__current-indicator-border-radius"></div>`:""}<div part="separation" class="border-neutral-400 absolute w-full h-0.25 bottom-0 border-b z-10"></div><slot name="nav" @slotchange="${this.syncTabsAndPanels}"></slot></div></div>${this.hasScrollControls?d`<button part="scroll-button--end" exportparts="base:scroll-button__base" tabindex="-1" aria-hidden="true" disabled="${f(!this.canScroll.right||void 0)}" class="${c("sd-interactive flex items-center justify-center absolute top-0 bottom-0 right-0 !outline-offset-0 border-b border-neutral-400 z-10",this.localize.dir()==="rtl"&&"right-auto left-0")}" @click="${this.handleScrollToEnd}"><sd-6-0-0-next-11-icon library="_internal" name="${t?"chevron-down":"chevron-up"}" label="next" class="${c("h-6 w-12 rotate-90 grid place-items-center")}"></sd-6-0-0-next-11-icon></button>`:""}</div><slot part="body" class="${c("block auto py-8 px-6",this.variant==="container"&&"border border-neutral-400 border-t-0")}" @slotchange="${this.syncTabsAndPanels}"></slot></div>`}};a.styles=[...u.styles,m`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{box-sizing:border-box;display:block}[part=scroll-container]{scrollbar-width:none}[part=scroll-container]::-webkit-scrollbar{height:calc(var(--sd-spacing-1) * 0);width:calc(var(--sd-spacing-1) * 0)}::slotted(sd-6-0-0-next-11-tab-panel){--padding:1rem 0}::slotted(sd-6-0-0-next-11-tab-panel:focus-visible){outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:var(--outline-color-primary)}`],l([h("[part=base]")],a.prototype,"tabGroup",2),l([h("[part=body]")],a.prototype,"body",2),l([h("[part=scroll-container]")],a.prototype,"nav",2),l([h("[part=active-tab-indicator]")],a.prototype,"indicator",2),l([h('[part="tabs"]')],a.prototype,"tabsContainer",2),l([v()],a.prototype,"hasScrollControls",2),l([v()],a.prototype,"variant",2),l([v()],a.prototype,"canScroll",2),l([w({type:String,reflect:!0})],a.prototype,"activation",2),l([T(20)],a.prototype,"handleScroll",1),a=l([g("sd-6-0-0-next-11-tab-group")],a);export{a};
@@ -1 +1 @@
1
- import{a as i}from"./chunk.YMZZDCP3.js";import{b as a}from"./chunk.3KWSM3HE.js";import{b as c}from"./chunk.PYHYYOBE.js";var o=[a,i,c],e=[];function l(r){e.push(r)}function m(r){e=e.filter(t=>t!==r)}function f(r){return o.find(t=>t.name===r)}function p(r,t){s(r),o.push({name:r,resolver:t.resolver,mutator:t.mutator}),e.forEach(n=>{n.library===r&&n.setIcon()})}function s(r){o=o.filter(t=>t.name!==r)}export{l as a,m as b,f as c,p as d,s as e};
1
+ import{a as i}from"./chunk.3FMN7C5N.js";import{b as a}from"./chunk.3KWSM3HE.js";import{b as c}from"./chunk.PYHYYOBE.js";var o=[a,i,c],e=[];function l(r){e.push(r)}function m(r){e=e.filter(t=>t!==r)}function f(r){return o.find(t=>t.name===r)}function p(r,t){s(r),o.push({name:r,resolver:t.resolver,mutator:t.mutator}),e.forEach(n=>{n.library===r&&n.setIcon()})}function s(r){o=o.filter(t=>t.name!==r)}export{l as a,m as b,f as c,p as d,s as e};
@@ -1,2 +1,2 @@
1
- import{a as p}from"./chunk.CGQ2BPPZ.js";import{a as b}from"./chunk.PV6UYBMY.js";import{a as n}from"./chunk.YEDQWNIV.js";import{a as h}from"./chunk.NYKJXI3Q.js";import{a as d,b as i,c as u,d as r,h as o}from"./chunk.NGH2BNC2.js";import{b as c,e as a}from"./chunk.763RLJEK.js";import{e as s}from"./chunk.6EV4YU6C.js";var t=class extends o{constructor(){super(...arguments);this.hasSlotController=new p(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 a`<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 rounded-full transition-all ease-in-out duration-100 items-center justify-center focus-visible:focus-outline",this.size==="sm"?"text-sm":"text-base",this.checked&&!this.disabled&&!this.visuallyDisabled?"sd-6-0-0-next-10-button--primary--default-color-background sd-6-0-0-next-10-button--primary--default-color-text hover:sd-6-0-0-next-10-button--primary--hover-color-background":!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 text-primary border-primary hover:text-primary-500 cursor-pointer",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="${b(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?a`<slot part="label" class="button__label inline-flex relative items-center whitespace-nowrap"></slot>`:null}</button></div>`}};t.styles=[...o.styles,c`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
- :host{display:block;width:-moz-min-content;width:min-content}.hidden-input{all:unset;position:absolute;inset:calc(var(--sd-spacing-1) * 0);z-index:calc(10 * -1);opacity:var(--sd-opacity-0);outline-style:var(--tw-outline-style);outline-width:1px;outline-color:var(--sd-border-color-error,var(--sd-color-error));--tw-outline-style:dotted;outline-style:dotted}.lg-label{height:var(--sd-spacing-12)}.lg-no-label{height:var(--sd-spacing-12);padding-inline:calc(var(--sd-spacing-1) * 5)}.md-label{height:var(--sd-spacing-10)}.md-no-label{height:var(--sd-spacing-10);padding-inline:var(--sd-spacing-4)}.sm-label{height:var(--sd-spacing-8)}.sm-no-label{height:var(--sd-spacing-8);padding-inline:var(--sd-spacing-3)}:host([size=lg].sd-6-0-0-next-10-button-group__button:not(.sd-6-0-0-next-10-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-3) * -1)}:host([size=md].sd-6-0-0-next-10-button-group__button:not(.sd-6-0-0-next-10-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-2) * -1)}:host([size=sm].sd-6-0-0-next-10-button-group__button:not(.sd-6-0-0-next-10-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-1) * -1)}:host(.sd-6-0-0-next-10-button-group__button--hover){z-index:20}:host(.sd-6-0-0-next-10-button-group__button--focus),:host(.sd-6-0-0-next-10-button-group__button[checked]){z-index:10}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}`],s([r(".button")],t.prototype,"input",2),s([r(".hidden-input")],t.prototype,"hiddenInput",2),s([u()],t.prototype,"hasFocus",2),s([i({type:String,reflect:!0})],t.prototype,"size",2),s([i({type:Boolean,reflect:!0})],t.prototype,"disabled",2),s([i({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),s([i({type:Boolean,reflect:!0})],t.prototype,"checked",2),s([i()],t.prototype,"value",2),s([h(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),t=s([d("sd-6-0-0-next-10-radio-button")],t);export{t as a};
1
+ import{a as p}from"./chunk.CGQ2BPPZ.js";import{a as b}from"./chunk.PV6UYBMY.js";import{a as n}from"./chunk.YEDQWNIV.js";import{a as h}from"./chunk.NYKJXI3Q.js";import{a as d,b as i,c as u,d as r,h as o}from"./chunk.NGH2BNC2.js";import{b as c,e as a}from"./chunk.763RLJEK.js";import{e as s}from"./chunk.6EV4YU6C.js";var t=class extends o{constructor(){super(...arguments);this.hasSlotController=new p(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 a`<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 rounded-full transition-all ease-in-out duration-100 items-center justify-center focus-visible:focus-outline",this.size==="sm"?"text-sm":"text-base",this.checked&&!this.disabled&&!this.visuallyDisabled?"sd-6-0-0-next-11-button--primary--default-color-background sd-6-0-0-next-11-button--primary--default-color-text hover:sd-6-0-0-next-11-button--primary--hover-color-background":!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 text-primary border-primary hover:text-primary-500 cursor-pointer",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="${b(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?a`<slot part="label" class="button__label inline-flex relative items-center whitespace-nowrap"></slot>`:null}</button></div>`}};t.styles=[...o.styles,c`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
+ :host{display:block;width:-moz-min-content;width:min-content}.hidden-input{all:unset;position:absolute;inset:calc(var(--sd-spacing-1) * 0);z-index:calc(10 * -1);opacity:var(--sd-opacity-0);outline-style:var(--tw-outline-style);outline-width:1px;outline-color:var(--sd-border-color-error,var(--sd-color-error));--tw-outline-style:dotted;outline-style:dotted}.lg-label{height:var(--sd-spacing-12)}.lg-no-label{height:var(--sd-spacing-12);padding-inline:calc(var(--sd-spacing-1) * 5)}.md-label{height:var(--sd-spacing-10)}.md-no-label{height:var(--sd-spacing-10);padding-inline:var(--sd-spacing-4)}.sm-label{height:var(--sd-spacing-8)}.sm-no-label{height:var(--sd-spacing-8);padding-inline:var(--sd-spacing-3)}:host([size=lg].sd-6-0-0-next-11-button-group__button:not(.sd-6-0-0-next-11-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-3) * -1)}:host([size=md].sd-6-0-0-next-11-button-group__button:not(.sd-6-0-0-next-11-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-2) * -1)}:host([size=sm].sd-6-0-0-next-11-button-group__button:not(.sd-6-0-0-next-11-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-1) * -1)}:host(.sd-6-0-0-next-11-button-group__button--hover){z-index:20}:host(.sd-6-0-0-next-11-button-group__button--focus),:host(.sd-6-0-0-next-11-button-group__button[checked]){z-index:10}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}`],s([r(".button")],t.prototype,"input",2),s([r(".hidden-input")],t.prototype,"hiddenInput",2),s([u()],t.prototype,"hasFocus",2),s([i({type:String,reflect:!0})],t.prototype,"size",2),s([i({type:Boolean,reflect:!0})],t.prototype,"disabled",2),s([i({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),s([i({type:Boolean,reflect:!0})],t.prototype,"checked",2),s([i()],t.prototype,"value",2),s([h(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),t=s([d("sd-6-0-0-next-11-radio-button")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{b as m}from"./chunk.PJ7JCMQF.js";import{a as o}from"./chunk.YEDQWNIV.js";import{a as b}from"./chunk.7BPPDSHY.js";import{a as p}from"./chunk.NYKJXI3Q.js";import{a as d,b as a,d as n,h as s}from"./chunk.NGH2BNC2.js";import{b as r}from"./chunk.763RLJEK.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends s{constructor(){super(...arguments);this.localize=new b(this);this.disabled=!1;this.label=""}handleDisableOptions(){let{disabled:i}=this;this.defaultSlot.assignedElements().filter(l=>l.tagName.toLowerCase()==="sd-6-0-0-next-10-option").forEach(l=>{l.disabled=i})}handleDisabledChange(){this.handleDisableOptions()}render(){let{disabled:i}=this;return m`<div role="${i?"presentation":"group"}" class="${o(this.disabled?"text-neutral-500":"")}" part="base" aria-labelledby="group-label"><sd-6-0-0-next-10-divider id="divider" class="pt-2 pb-4" part="divider"></sd-6-0-0-next-10-divider><div part="label-container" class="${o(this.disabled?"text-neutral-500":"text-black")} px-4 font-bold text-left" role="presentation" id="group-label"><slot name="label"><span>${this.label}</span></slot></div><div role="listbox" part="options" aria-label="${this.localize.term("optionGroup")}"><slot @slotchange="${this.handleDisableOptions}"></slot></div></div>`}};e.styles=[...s.styles,r`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{--display-divider:block}#divider{display:var(--display-divider)}`],t([n("slot:not([name])")],e.prototype,"defaultSlot",2),t([a({reflect:!0,type:Boolean})],e.prototype,"disabled",2),t([a({type:String,reflect:!0})],e.prototype,"label",2),t([p("disabled",{waitUntilFirstUpdate:!0})],e.prototype,"handleDisabledChange",1),e=t([d("sd-6-0-0-next-10-optgroup")],e);export{e as a};
1
+ import{b as m}from"./chunk.PJ7JCMQF.js";import{a as o}from"./chunk.YEDQWNIV.js";import{a as b}from"./chunk.7BPPDSHY.js";import{a as p}from"./chunk.NYKJXI3Q.js";import{a as d,b as a,d as n,h as s}from"./chunk.NGH2BNC2.js";import{b as r}from"./chunk.763RLJEK.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends s{constructor(){super(...arguments);this.localize=new b(this);this.disabled=!1;this.label=""}handleDisableOptions(){let{disabled:i}=this;this.defaultSlot.assignedElements().filter(l=>l.tagName.toLowerCase()==="sd-6-0-0-next-11-option").forEach(l=>{l.disabled=i})}handleDisabledChange(){this.handleDisableOptions()}render(){let{disabled:i}=this;return m`<div role="${i?"presentation":"group"}" class="${o(this.disabled?"text-neutral-500":"")}" part="base" aria-labelledby="group-label"><sd-6-0-0-next-11-divider id="divider" class="pt-2 pb-4" part="divider"></sd-6-0-0-next-11-divider><div part="label-container" class="${o(this.disabled?"text-neutral-500":"text-black")} px-4 font-bold text-left" role="presentation" id="group-label"><slot name="label"><span>${this.label}</span></slot></div><div role="listbox" part="options" aria-label="${this.localize.term("optionGroup")}"><slot @slotchange="${this.handleDisableOptions}"></slot></div></div>`}};e.styles=[...s.styles,r`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{--display-divider:block}#divider{display:var(--display-divider)}`],t([n("slot:not([name])")],e.prototype,"defaultSlot",2),t([a({reflect:!0,type:Boolean})],e.prototype,"disabled",2),t([a({type:String,reflect:!0})],e.prototype,"label",2),t([p("disabled",{waitUntilFirstUpdate:!0})],e.prototype,"handleDisabledChange",1),e=t([d("sd-6-0-0-next-11-optgroup")],e);export{e as a};
@@ -1,2 +1,2 @@
1
- import{a as c}from"./chunk.YEDQWNIV.js";import{a as l}from"./chunk.NYKJXI3Q.js";import{a as o,b as i,h as a}from"./chunk.NGH2BNC2.js";import{b as s,e as r}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var n=0,t=class extends a{constructor(){super(...arguments);this.attrId=++n;this.componentId=`sd-6-0-0-next-10-tab-panel-${this.attrId}`;this.name="";this.active=!1}connectedCallback(){super.connectedCallback(),this.id=this.id.length>0?this.id:this.componentId,this.setAttribute("role","tabpanel")}handleActiveChange(){this.setAttribute("aria-hidden",this.active?"false":"true")}render(){return r`<slot part="base" class="${c("block",this.active&&"tab-panel--active")}"></slot>`}};t.styles=[...a.styles,s`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{--padding:0;display:none}:host([active]){display:block}::part(base){padding:var(--padding)}`],e([i({type:String,reflect:!0})],t.prototype,"name",2),e([i({type:Boolean,reflect:!0})],t.prototype,"active",2),e([l("active")],t.prototype,"handleActiveChange",1),t=e([o("sd-6-0-0-next-10-tab-panel")],t);export{t as a};
1
+ import{a as c}from"./chunk.YEDQWNIV.js";import{a as l}from"./chunk.NYKJXI3Q.js";import{a as o,b as i,h as a}from"./chunk.NGH2BNC2.js";import{b as s,e as r}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var n=0,t=class extends a{constructor(){super(...arguments);this.attrId=++n;this.componentId=`sd-6-0-0-next-11-tab-panel-${this.attrId}`;this.name="";this.active=!1}connectedCallback(){super.connectedCallback(),this.id=this.id.length>0?this.id:this.componentId,this.setAttribute("role","tabpanel")}handleActiveChange(){this.setAttribute("aria-hidden",this.active?"false":"true")}render(){return r`<slot part="base" class="${c("block",this.active&&"tab-panel--active")}"></slot>`}};t.styles=[...a.styles,s`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{--padding:0;display:none}:host([active]){display:block}::part(base){padding:var(--padding)}`],e([i({type:String,reflect:!0})],t.prototype,"name",2),e([i({type:Boolean,reflect:!0})],t.prototype,"active",2),e([l("active")],t.prototype,"handleActiveChange",1),t=e([o("sd-6-0-0-next-11-tab-panel")],t);export{t as a};
@@ -1,4 +1,4 @@
1
- import{a as f}from"./chunk.CSLPZKLY.js";import{b as c}from"./chunk.D6LAH53B.js";import{e as l,i as u}from"./chunk.763RLJEK.js";var v=()=>new p,p=class{},h=new WeakMap,b=c(class extends f{render(i){return u}update(i,[e]){var t;let s=e!==this.G;return s&&this.G!==void 0&&this.rt(void 0),(s||this.lt!==this.ct)&&(this.G=e,this.ht=(t=i.options)==null?void 0:t.host,this.rt(this.ct=i.element)),u}rt(i){var e;if(this.isConnected||(i=void 0),typeof this.G=="function"){let s=(e=this.ht)!=null?e:globalThis,t=h.get(s);t===void 0&&(t=new WeakMap,h.set(s,t)),t.get(this.G)!==void 0&&this.G.call(this.ht,void 0),t.set(this.G,i),i!==void 0&&this.G.call(this.ht,i)}else this.G.value=i}get lt(){var i,e,s;return typeof this.G=="function"?(e=h.get((i=this.ht)!=null?i:globalThis))==null?void 0:e.get(this.G):(s=this.G)==null?void 0:s.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var g=class{constructor(e,s){this.popupRef=v();this.enableSubmenuTimer=-1;this.isConnected=!1;this.isPopupConnected=!1;this.skidding=0;this.submenuOpenDelay=100;this.handleMouseMove=e=>{this.host.style.setProperty("--safe-triangle-cursor-x",`${e.clientX}px`),this.host.style.setProperty("--safe-triangle-cursor-y",`${e.clientY}px`)};this.handleMouseOver=()=>{this.hasSlotController.test("submenu")&&this.enableSubmenu()};this.handleKeyDown=e=>{switch(e.key){case"Escape":case"Tab":this.disableSubmenu();break;case"ArrowLeft":e.target!==this.host&&(e.preventDefault(),e.stopPropagation(),this.host.focus(),this.disableSubmenu());break;case"ArrowRight":case"Enter":case" ":this.handleSubmenuEntry(e);break;default:break}};this.handleClick=e=>{var s;e.target===this.host?(e.preventDefault(),e.stopPropagation()):e.target instanceof Element&&(e.target.tagName==="sd-6-0-0-next-10-menu-item"||(s=e.target.role)!=null&&s.startsWith("menuitem"))&&e.target.getAttribute("type")!=="checkbox"&&this.disableSubmenu()};this.handleFocusOut=e=>{e.relatedTarget&&e.relatedTarget instanceof Element&&this.host.contains(e.relatedTarget)||this.disableSubmenu()};this.handlePopupMouseover=e=>{e.stopPropagation()};this.handlePopupReposition=()=>{let e=this.host.renderRoot.querySelector("slot[name='submenu']"),s=e==null?void 0:e.assignedElements({flatten:!0}).filter(d=>d.localName==="sd-6-0-0-next-10-menu")[0],t=getComputedStyle(this.host).direction==="rtl";if(!s)return;let{left:o,top:n,width:r,height:a}=s.getBoundingClientRect();this.host.style.setProperty("--safe-triangle-submenu-start-x",`${t?o+r:o}px`),this.host.style.setProperty("--safe-triangle-submenu-start-y",`${n}px`),this.host.style.setProperty("--safe-triangle-submenu-end-x",`${t?o+r:o}px`),this.host.style.setProperty("--safe-triangle-submenu-end-y",`${n+a}px`)};(this.host=e).addController(this),this.hasSlotController=s}hostConnected(){this.hasSlotController.test("submenu")&&!this.host.disabled&&this.addListeners()}hostDisconnected(){this.removeListeners()}hostUpdated(){this.hasSlotController.test("submenu")&&!this.host.disabled?(this.addListeners(),this.updateSkidding()):this.removeListeners()}addListeners(){this.isConnected||(this.host.addEventListener("mousemove",this.handleMouseMove),this.host.addEventListener("mouseover",this.handleMouseOver),this.host.addEventListener("keydown",this.handleKeyDown),this.host.addEventListener("click",this.handleClick),this.host.addEventListener("focusout",this.handleFocusOut),this.isConnected=!0),this.isPopupConnected||this.popupRef.value&&(this.popupRef.value.addEventListener("mouseover",this.handlePopupMouseover),this.popupRef.value.addEventListener("sd-reposition",this.handlePopupReposition),this.isPopupConnected=!0)}removeListeners(){this.isConnected&&(this.host.removeEventListener("mousemove",this.handleMouseMove),this.host.removeEventListener("mouseover",this.handleMouseOver),this.host.removeEventListener("keydown",this.handleKeyDown),this.host.removeEventListener("click",this.handleClick),this.host.removeEventListener("focusout",this.handleFocusOut),this.isConnected=!1),this.isPopupConnected&&this.popupRef.value&&(this.popupRef.value.removeEventListener("mouseover",this.handlePopupMouseover),this.popupRef.value.removeEventListener("sd-reposition",this.handlePopupReposition),this.isPopupConnected=!1)}handleSubmenuEntry(e){let s=this.host.renderRoot.querySelector("slot[name='submenu']");if(!s){console.error("Cannot activate a submenu if no corresponding menuitem can be found.",this);return}let t=null;for(let o of s.assignedElements())if(t=o.querySelectorAll("sd-6-0-0-next-10-menu-item, [role^='menuitem']"),t.length!==0)break;if(!(!t||t.length===0)){t[0].setAttribute("tabindex","0");for(let o=1;o!==t.length;++o)t[o].setAttribute("tabindex","-1");this.popupRef.value&&(e.preventDefault(),e.stopPropagation(),this.popupRef.value.active?t[0]instanceof HTMLElement&&t[0].focus():(this.enableSubmenu(!1),this.host.updateComplete.then(()=>{t[0]instanceof HTMLElement&&t[0].focus()}),this.host.requestUpdate()))}}setSubmenuState(e){this.popupRef.value&&this.popupRef.value.active!==e&&(this.popupRef.value.active=e,this.host.requestUpdate())}enableSubmenu(e=!0){e?(window.clearTimeout(this.enableSubmenuTimer),this.enableSubmenuTimer=window.setTimeout(()=>{this.setSubmenuState(!0)},this.submenuOpenDelay)):this.setSubmenuState(!0)}disableSubmenu(){window.clearTimeout(this.enableSubmenuTimer),this.setSubmenuState(!1)}updateSkidding(){var o;if(!((o=this.host.parentElement)!=null&&o.computedStyleMap))return;let e=this.host.parentElement.computedStyleMap(),t=["padding-top","border-top-width","margin-top"].reduce((n,r)=>{var m;let a=(m=e.get(r))!=null?m:new CSSUnitValue(0,"px"),S=(a instanceof CSSUnitValue?a:new CSSUnitValue(0,"px")).to("px");return n-S.value},0);this.skidding=t}isExpanded(){return this.popupRef.value?this.popupRef.value.active:!1}renderSubmenu(){let e=getComputedStyle(this.host).direction==="rtl";return this.isConnected?l`<sd-6-0-0-next-10-popup ${b(this.popupRef)} placement="${e?"left-start":"right-start"}" anchor="anchor" flip flip-fallback-strategy="best-fit" skidding="${this.skidding}" strategy="fixed" auto-size="vertical" auto-size-padding="10"><slot name="submenu"></slot></sd-6-0-0-next-10-popup>`:l`<slot name="submenu" hidden></slot>`}};export{g as a};
1
+ import{a as f}from"./chunk.CSLPZKLY.js";import{b as c}from"./chunk.D6LAH53B.js";import{e as l,i as u}from"./chunk.763RLJEK.js";var v=()=>new p,p=class{},h=new WeakMap,b=c(class extends f{render(i){return u}update(i,[e]){var t;let s=e!==this.G;return s&&this.G!==void 0&&this.rt(void 0),(s||this.lt!==this.ct)&&(this.G=e,this.ht=(t=i.options)==null?void 0:t.host,this.rt(this.ct=i.element)),u}rt(i){var e;if(this.isConnected||(i=void 0),typeof this.G=="function"){let s=(e=this.ht)!=null?e:globalThis,t=h.get(s);t===void 0&&(t=new WeakMap,h.set(s,t)),t.get(this.G)!==void 0&&this.G.call(this.ht,void 0),t.set(this.G,i),i!==void 0&&this.G.call(this.ht,i)}else this.G.value=i}get lt(){var i,e,s;return typeof this.G=="function"?(e=h.get((i=this.ht)!=null?i:globalThis))==null?void 0:e.get(this.G):(s=this.G)==null?void 0:s.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var g=class{constructor(e,s){this.popupRef=v();this.enableSubmenuTimer=-1;this.isConnected=!1;this.isPopupConnected=!1;this.skidding=0;this.submenuOpenDelay=100;this.handleMouseMove=e=>{this.host.style.setProperty("--safe-triangle-cursor-x",`${e.clientX}px`),this.host.style.setProperty("--safe-triangle-cursor-y",`${e.clientY}px`)};this.handleMouseOver=()=>{this.hasSlotController.test("submenu")&&this.enableSubmenu()};this.handleKeyDown=e=>{switch(e.key){case"Escape":case"Tab":this.disableSubmenu();break;case"ArrowLeft":e.target!==this.host&&(e.preventDefault(),e.stopPropagation(),this.host.focus(),this.disableSubmenu());break;case"ArrowRight":case"Enter":case" ":this.handleSubmenuEntry(e);break;default:break}};this.handleClick=e=>{var s;e.target===this.host?(e.preventDefault(),e.stopPropagation()):e.target instanceof Element&&(e.target.tagName==="sd-6-0-0-next-11-menu-item"||(s=e.target.role)!=null&&s.startsWith("menuitem"))&&e.target.getAttribute("type")!=="checkbox"&&this.disableSubmenu()};this.handleFocusOut=e=>{e.relatedTarget&&e.relatedTarget instanceof Element&&this.host.contains(e.relatedTarget)||this.disableSubmenu()};this.handlePopupMouseover=e=>{e.stopPropagation()};this.handlePopupReposition=()=>{let e=this.host.renderRoot.querySelector("slot[name='submenu']"),s=e==null?void 0:e.assignedElements({flatten:!0}).filter(d=>d.localName==="sd-6-0-0-next-11-menu")[0],t=getComputedStyle(this.host).direction==="rtl";if(!s)return;let{left:o,top:n,width:r,height:a}=s.getBoundingClientRect();this.host.style.setProperty("--safe-triangle-submenu-start-x",`${t?o+r:o}px`),this.host.style.setProperty("--safe-triangle-submenu-start-y",`${n}px`),this.host.style.setProperty("--safe-triangle-submenu-end-x",`${t?o+r:o}px`),this.host.style.setProperty("--safe-triangle-submenu-end-y",`${n+a}px`)};(this.host=e).addController(this),this.hasSlotController=s}hostConnected(){this.hasSlotController.test("submenu")&&!this.host.disabled&&this.addListeners()}hostDisconnected(){this.removeListeners()}hostUpdated(){this.hasSlotController.test("submenu")&&!this.host.disabled?(this.addListeners(),this.updateSkidding()):this.removeListeners()}addListeners(){this.isConnected||(this.host.addEventListener("mousemove",this.handleMouseMove),this.host.addEventListener("mouseover",this.handleMouseOver),this.host.addEventListener("keydown",this.handleKeyDown),this.host.addEventListener("click",this.handleClick),this.host.addEventListener("focusout",this.handleFocusOut),this.isConnected=!0),this.isPopupConnected||this.popupRef.value&&(this.popupRef.value.addEventListener("mouseover",this.handlePopupMouseover),this.popupRef.value.addEventListener("sd-reposition",this.handlePopupReposition),this.isPopupConnected=!0)}removeListeners(){this.isConnected&&(this.host.removeEventListener("mousemove",this.handleMouseMove),this.host.removeEventListener("mouseover",this.handleMouseOver),this.host.removeEventListener("keydown",this.handleKeyDown),this.host.removeEventListener("click",this.handleClick),this.host.removeEventListener("focusout",this.handleFocusOut),this.isConnected=!1),this.isPopupConnected&&this.popupRef.value&&(this.popupRef.value.removeEventListener("mouseover",this.handlePopupMouseover),this.popupRef.value.removeEventListener("sd-reposition",this.handlePopupReposition),this.isPopupConnected=!1)}handleSubmenuEntry(e){let s=this.host.renderRoot.querySelector("slot[name='submenu']");if(!s){console.error("Cannot activate a submenu if no corresponding menuitem can be found.",this);return}let t=null;for(let o of s.assignedElements())if(t=o.querySelectorAll("sd-6-0-0-next-11-menu-item, [role^='menuitem']"),t.length!==0)break;if(!(!t||t.length===0)){t[0].setAttribute("tabindex","0");for(let o=1;o!==t.length;++o)t[o].setAttribute("tabindex","-1");this.popupRef.value&&(e.preventDefault(),e.stopPropagation(),this.popupRef.value.active?t[0]instanceof HTMLElement&&t[0].focus():(this.enableSubmenu(!1),this.host.updateComplete.then(()=>{t[0]instanceof HTMLElement&&t[0].focus()}),this.host.requestUpdate()))}}setSubmenuState(e){this.popupRef.value&&this.popupRef.value.active!==e&&(this.popupRef.value.active=e,this.host.requestUpdate())}enableSubmenu(e=!0){e?(window.clearTimeout(this.enableSubmenuTimer),this.enableSubmenuTimer=window.setTimeout(()=>{this.setSubmenuState(!0)},this.submenuOpenDelay)):this.setSubmenuState(!0)}disableSubmenu(){window.clearTimeout(this.enableSubmenuTimer),this.setSubmenuState(!1)}updateSkidding(){var o;if(!((o=this.host.parentElement)!=null&&o.computedStyleMap))return;let e=this.host.parentElement.computedStyleMap(),t=["padding-top","border-top-width","margin-top"].reduce((n,r)=>{var m;let a=(m=e.get(r))!=null?m:new CSSUnitValue(0,"px"),S=(a instanceof CSSUnitValue?a:new CSSUnitValue(0,"px")).to("px");return n-S.value},0);this.skidding=t}isExpanded(){return this.popupRef.value?this.popupRef.value.active:!1}renderSubmenu(){let e=getComputedStyle(this.host).direction==="rtl";return this.isConnected?l`<sd-6-0-0-next-11-popup ${b(this.popupRef)} placement="${e?"left-start":"right-start"}" anchor="anchor" flip flip-fallback-strategy="best-fit" skidding="${this.skidding}" strategy="fixed" auto-size="vertical" auto-size-padding="10"><slot name="submenu"></slot></sd-6-0-0-next-11-popup>`:l`<slot name="submenu" hidden></slot>`}};export{g as a};
2
2
  /*! Bundled license information:
3
3
 
4
4
  lit-html/directives/ref.js:
@@ -1,2 +1,2 @@
1
- import{a as m}from"./chunk.YEDQWNIV.js";import{a as l}from"./chunk.NYKJXI3Q.js";import{a as h,b as a,d as f,h as n}from"./chunk.NGH2BNC2.js";import{b as o,e as c}from"./chunk.763RLJEK.js";import{e as s}from"./chunk.6EV4YU6C.js";var e=class extends n{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.setActiveStep(t||this.activeStep)})}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-6-0-0-next-10-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}))}handleInteractivityChange(){this.notInteractive&&this.steps.forEach(t=>{t.current=!1,t.disabled=!1,t.notInteractive=!0})}render(){return c`<div role="${this.notInteractive?"group":"navigation"}" class="h-full" aria-label="${this.label}"><div role="list" part="base" class="${m("flex",this.orientation==="vertical"&&"flex-col h-full")}"><slot part="body"></slot></div></div>`}};e.styles=[...n.styles,o`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{width:-moz-max-content;width:max-content}`],s([f("[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([l("size",{waitUntilFirstUpdate:!0})],e.prototype,"updateSize",1),s([l("orientation",{waitUntilFirstUpdate:!0})],e.prototype,"updateOrientation",1),s([l("notInteractive")],e.prototype,"handleInteractivityChange",1),e=s([h("sd-6-0-0-next-10-step-group")],e);export{e as a};
1
+ import{a as m}from"./chunk.YEDQWNIV.js";import{a as l}from"./chunk.NYKJXI3Q.js";import{a as h,b as a,d as f,h as n}from"./chunk.NGH2BNC2.js";import{b as o,e as c}from"./chunk.763RLJEK.js";import{e as s}from"./chunk.6EV4YU6C.js";var e=class extends n{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.setActiveStep(t||this.activeStep)})}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-6-0-0-next-11-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}))}handleInteractivityChange(){this.notInteractive&&this.steps.forEach(t=>{t.current=!1,t.disabled=!1,t.notInteractive=!0})}render(){return c`<div role="${this.notInteractive?"group":"navigation"}" class="h-full" aria-label="${this.label}"><div role="list" part="base" class="${m("flex",this.orientation==="vertical"&&"flex-col h-full")}"><slot part="body"></slot></div></div>`}};e.styles=[...n.styles,o`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{width:-moz-max-content;width:max-content}`],s([f("[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([l("size",{waitUntilFirstUpdate:!0})],e.prototype,"updateSize",1),s([l("orientation",{waitUntilFirstUpdate:!0})],e.prototype,"updateOrientation",1),s([l("notInteractive")],e.prototype,"handleInteractivityChange",1),e=s([h("sd-6-0-0-next-11-step-group")],e);export{e as a};
@@ -1,2 +1,2 @@
1
- import{a as i}from"./chunk.YEDQWNIV.js";import{a as l}from"./chunk.NYKJXI3Q.js";import{a as h,b as s,c as r,h as a}from"./chunk.NGH2BNC2.js";import{b as n,e as o}from"./chunk.763RLJEK.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends a{constructor(){super(...arguments);this.checked=!1;this.hasFocus=!1;this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.invalid=!1}connectedCallback(){super.connectedCallback(),this.handleBlur=this.handleBlur.bind(this),this.handleClick=this.handleClick.bind(this),this.handleFocus=this.handleFocus.bind(this),this.setInitialAttributes(),this.addEventListeners()}disconnectedCallback(){this.removeEventListeners()}addEventListeners(){this.addEventListener("blur",this.handleBlur),this.addEventListener("click",this.handleClick),this.addEventListener("focus",this.handleFocus)}removeEventListeners(){this.removeEventListener("blur",this.handleBlur),this.removeEventListener("click",this.handleClick),this.removeEventListener("focus",this.handleFocus)}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleClick(){!this.disabled&&!this.visuallyDisabled&&(this.checked=!0)}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}setInitialAttributes(){this.setAttribute("role","radio"),this.setAttribute("tabindex","-1"),this.setAttribute("aria-disabled",this.disabled||this.visuallyDisabled?"true":"false")}handleCheckedChange(){this.setAttribute("aria-checked",this.checked?"true":"false"),this.setAttribute("tabindex",this.checked?"0":"-1")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}render(){return o`<span part="base" class="${i("sd-6-0-0-next-10-radio group flex items-center text-base leading-normal text-black cursor-pointer",(this.disabled||this.visuallyDisabled)&&"hover:cursor-not-allowed",{sm:"small-size text-sm",md:"text-base",lg:"text-base"}[this.size])}"><span part="${`${this.checked?"control--checked":"control--unchecked"}`}" class="${i("flex-initial shrink-0 relative inline-flex items-center justify-center border rounded-full bg-white h-4 w-4 duration-fast ease-in-out",this.disabled||this.visuallyDisabled?"border-neutral-500":this.invalid?"border-error hover:border-error-400 group-hover:border-error-400":this.checked?"border-accent hover:border-accent-550 group-hover:border-accent-550":"form-control-color-border hover:bg-neutral-200 group-hover:bg-neutral-200")}"><span part="checked" class="${i("rounded-full inline-flex text-white bg-accent h-2.5 w-2.5 transition-[transform, colors] duration-medium ease-in-out",this.checked?"scale-100":"scale-0",this.disabled?"bg-neutral-500":this.visuallyDisabled?"bg-white":this.invalid?"bg-error hover:bg-error-400 group-hover:bg-error-400":this.checked?"bg-accent hover:bg-accent-550 group-hover:bg-accent-550":"bg-neutral-800")}"></span></span><slot part="label" class="${i("ml-2 select-none inline-block",this.disabled||this.visuallyDisabled?"text-neutral-500":this.invalid?"text-error":"text-black")}"></slot></span>`}};e.styles=[...a.styles,n`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
- :host{display:block;width:-moz-max-content;width:max-content}:host(:focus-visible){--tw-outline-style:none;outline-style:none}:host(:focus-visible) [part=control--checked],:host(:focus-visible) [part=control--unchecked]{outline-width:1px;outline-style:var(--tw-outline-style);outline-width:2px;outline-offset:2px;outline-color:var(--sd-border-color-primary,var(--sd-color-primary))}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}`],t([r()],e.prototype,"checked",2),t([r()],e.prototype,"hasFocus",2),t([s({type:String,reflect:!0})],e.prototype,"size",2),t([s({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([s({type:Boolean,reflect:!0,attribute:"visually-disabled"})],e.prototype,"visuallyDisabled",2),t([s()],e.prototype,"value",2),t([s({type:Boolean,reflect:!0})],e.prototype,"invalid",2),t([l("checked")],e.prototype,"handleCheckedChange",1),t([l(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],e.prototype,"handleDisabledChange",1),e=t([h("sd-6-0-0-next-10-radio")],e);export{e as a};
1
+ import{a as i}from"./chunk.YEDQWNIV.js";import{a as l}from"./chunk.NYKJXI3Q.js";import{a as h,b as s,c as r,h as a}from"./chunk.NGH2BNC2.js";import{b as n,e as o}from"./chunk.763RLJEK.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends a{constructor(){super(...arguments);this.checked=!1;this.hasFocus=!1;this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.invalid=!1}connectedCallback(){super.connectedCallback(),this.handleBlur=this.handleBlur.bind(this),this.handleClick=this.handleClick.bind(this),this.handleFocus=this.handleFocus.bind(this),this.setInitialAttributes(),this.addEventListeners()}disconnectedCallback(){this.removeEventListeners()}addEventListeners(){this.addEventListener("blur",this.handleBlur),this.addEventListener("click",this.handleClick),this.addEventListener("focus",this.handleFocus)}removeEventListeners(){this.removeEventListener("blur",this.handleBlur),this.removeEventListener("click",this.handleClick),this.removeEventListener("focus",this.handleFocus)}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleClick(){!this.disabled&&!this.visuallyDisabled&&(this.checked=!0)}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}setInitialAttributes(){this.setAttribute("role","radio"),this.setAttribute("tabindex","-1"),this.setAttribute("aria-disabled",this.disabled||this.visuallyDisabled?"true":"false")}handleCheckedChange(){this.setAttribute("aria-checked",this.checked?"true":"false"),this.setAttribute("tabindex",this.checked?"0":"-1")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}render(){return o`<span part="base" class="${i("sd-6-0-0-next-11-radio group flex items-center text-base leading-normal text-black cursor-pointer",(this.disabled||this.visuallyDisabled)&&"hover:cursor-not-allowed",{sm:"small-size text-sm",md:"text-base",lg:"text-base"}[this.size])}"><span part="${`${this.checked?"control--checked":"control--unchecked"}`}" class="${i("flex-initial shrink-0 relative inline-flex items-center justify-center border rounded-full bg-white h-4 w-4 duration-fast ease-in-out",this.disabled||this.visuallyDisabled?"border-neutral-500":this.invalid?"border-error hover:border-error-400 group-hover:border-error-400":this.checked?"border-accent hover:border-accent-550 group-hover:border-accent-550":"form-control-color-border hover:bg-neutral-200 group-hover:bg-neutral-200")}"><span part="checked" class="${i("rounded-full inline-flex text-white bg-accent h-2.5 w-2.5 transition-[transform, colors] duration-medium ease-in-out",this.checked?"scale-100":"scale-0",this.disabled?"bg-neutral-500":this.visuallyDisabled?"bg-white":this.invalid?"bg-error hover:bg-error-400 group-hover:bg-error-400":this.checked?"bg-accent hover:bg-accent-550 group-hover:bg-accent-550":"bg-neutral-800")}"></span></span><slot part="label" class="${i("ml-2 select-none inline-block",this.disabled||this.visuallyDisabled?"text-neutral-500":this.invalid?"text-error":"text-black")}"></slot></span>`}};e.styles=[...a.styles,n`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
+ :host{display:block;width:-moz-max-content;width:max-content}:host(:focus-visible){--tw-outline-style:none;outline-style:none}:host(:focus-visible) [part=control--checked],:host(:focus-visible) [part=control--unchecked]{outline-width:1px;outline-style:var(--tw-outline-style);outline-width:2px;outline-offset:2px;outline-color:var(--sd-border-color-primary,var(--sd-color-primary))}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}`],t([r()],e.prototype,"checked",2),t([r()],e.prototype,"hasFocus",2),t([s({type:String,reflect:!0})],e.prototype,"size",2),t([s({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([s({type:Boolean,reflect:!0,attribute:"visually-disabled"})],e.prototype,"visuallyDisabled",2),t([s()],e.prototype,"value",2),t([s({type:Boolean,reflect:!0})],e.prototype,"invalid",2),t([l("checked")],e.prototype,"handleCheckedChange",1),t([l(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],e.prototype,"handleDisabledChange",1),e=t([h("sd-6-0-0-next-11-radio")],e);export{e as a};
@@ -1,2 +1,2 @@
1
- import{a as o}from"./chunk.ABWFPSSV.js";import{a as s}from"./chunk.PV6UYBMY.js";import{a as n}from"./chunk.B2NUKX6G.js";import{a,b as c}from"./chunk.PJ7JCMQF.js";import{a as e}from"./chunk.YEDQWNIV.js";import{a as m,b as p}from"./chunk.NGH2BNC2.js";import{b as d}from"./chunk.763RLJEK.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends o{constructor(){super(...arguments);this.expandable=!1}render(){let r=this.expandable?a`details`:a`div`,l=this.expandable?a`summary`:a`div`;return c`<${r} part="base" class="sm:p-6"><${l} part="header" id="header" class="${e("text-base font-bold items-center focus-visible:focus-outline text-primary relative group flex flex-row hover:bg-transparent gap-3 pb-3 pt-0 px-0 sm:flex-col sm:gap-4 sm:pb-8",this.expandable&&"cursor-pointer select-none")}" role="${s(this.expandable?"button":void 0)}" aria-expanded="${s(this.expandable?this.open?"true":"false":void 0)}" aria-controls="${s(this.expandable?"content":void 0)}" tabindex="${this.expandable?"0":"-1"}" @click="${this.expandable?this.handleSummaryClick:null}" @keydown="${this.expandable?this.handleSummaryKeyDown:null}"><div part="icon" class="${e("flex flex-grow-0 flex-shrink-0 flex-auto items-center",!this.expandable&&"cursor-default")}"><slot name="icon"></slot></div><slot name="summary" part="summary" class="${e("flex flex-auto items-start text-left text-base leading-normal font-normal sm:leading-tight sm:text-3xl sm:text-center",this.expandable?"text-primary":"text-black cursor-default")}">${this.summary}</slot><span part="summary-icon" class="${e("flex flex-grow-0 flex-shrink-0 flex-auto self-start sm:self-center transition-transform ease-in-out duration-medium text-xl sm:text-4xl sm:mt-2",this.open&&"rotate-180",!this.expandable&&"hidden")}"><slot name="expand-icon" class="${e(this.open&&"hidden")}"><sd-6-0-0-next-10-icon library="_internal" name="chevron-down" class="group-hover:text-primary-500 transition-colors ease-in-out duration-medium"></sd-6-0-0-next-10-icon></slot><slot name="collapse-icon" class="${e(!this.open&&"hidden")}"><sd-6-0-0-next-10-icon library="_internal" name="chevron-down" class="group-hover:text-primary-500 transition-colors ease-in-out duration-medium"></sd-6-0-0-next-10-icon></slot></span></${l}><div part="content" id="content" class="${e("overflow-hidden",!this.expandable&&"hidden")}"><slot part="content__slot" class="block" role="region" aria-labelledby="header"></slot></div></${r}>`}};t.styles=[...o.styles,d`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{display:block}@media (min-width:640px){[part=summary-icon]{font-size:var(--sd-spacing-12,3rem)}}[part=icon]{font-size:var(--sd-spacing-12,3rem)}@media (min-width:640px){[part=icon]{font-size:var(--sd-spacing-24,6rem)}}`],i([p({type:Boolean,reflect:!0})],t.prototype,"expandable",2),t=i([m("sd-6-0-0-next-10-quickfact")],t);n("quickfact.show",{keyframes:[{height:"0"},{height:"auto"}],options:{duration:"var(--sd-duration-medium, 300ms)",easing:"ease-in-out"}});n("quickfact.hide",{keyframes:[{height:"auto"},{height:"0"}],options:{duration:"var(--sd-duration-medium, 300ms)",easing:"ease-in-out"}});export{t as a};
1
+ import{a as o}from"./chunk.ABWFPSSV.js";import{a as s}from"./chunk.PV6UYBMY.js";import{a as n}from"./chunk.B2NUKX6G.js";import{a,b as c}from"./chunk.PJ7JCMQF.js";import{a as e}from"./chunk.YEDQWNIV.js";import{a as m,b as p}from"./chunk.NGH2BNC2.js";import{b as d}from"./chunk.763RLJEK.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends o{constructor(){super(...arguments);this.expandable=!1}render(){let r=this.expandable?a`details`:a`div`,l=this.expandable?a`summary`:a`div`;return c`<${r} part="base" class="sm:p-6"><${l} part="header" id="header" class="${e("text-base font-bold items-center focus-visible:focus-outline text-primary relative group flex flex-row hover:bg-transparent gap-3 pb-3 pt-0 px-0 sm:flex-col sm:gap-4 sm:pb-8",this.expandable&&"cursor-pointer select-none")}" role="${s(this.expandable?"button":void 0)}" aria-expanded="${s(this.expandable?this.open?"true":"false":void 0)}" aria-controls="${s(this.expandable?"content":void 0)}" tabindex="${this.expandable?"0":"-1"}" @click="${this.expandable?this.handleSummaryClick:null}" @keydown="${this.expandable?this.handleSummaryKeyDown:null}"><div part="icon" class="${e("flex flex-grow-0 flex-shrink-0 flex-auto items-center",!this.expandable&&"cursor-default")}"><slot name="icon"></slot></div><slot name="summary" part="summary" class="${e("flex flex-auto items-start text-left text-base leading-normal font-normal sm:leading-tight sm:text-3xl sm:text-center",this.expandable?"text-primary":"text-black cursor-default")}">${this.summary}</slot><span part="summary-icon" class="${e("flex flex-grow-0 flex-shrink-0 flex-auto self-start sm:self-center transition-transform ease-in-out duration-medium text-xl sm:text-4xl sm:mt-2",this.open&&"rotate-180",!this.expandable&&"hidden")}"><slot name="expand-icon" class="${e(this.open&&"hidden")}"><sd-6-0-0-next-11-icon library="_internal" name="chevron-down" class="group-hover:text-primary-500 transition-colors ease-in-out duration-medium"></sd-6-0-0-next-11-icon></slot><slot name="collapse-icon" class="${e(!this.open&&"hidden")}"><sd-6-0-0-next-11-icon library="_internal" name="chevron-down" class="group-hover:text-primary-500 transition-colors ease-in-out duration-medium"></sd-6-0-0-next-11-icon></slot></span></${l}><div part="content" id="content" class="${e("overflow-hidden",!this.expandable&&"hidden")}"><slot part="content__slot" class="block" role="region" aria-labelledby="header"></slot></div></${r}>`}};t.styles=[...o.styles,d`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{display:block}@media (min-width:640px){[part=summary-icon]{font-size:var(--sd-spacing-12,3rem)}}[part=icon]{font-size:var(--sd-spacing-12,3rem)}@media (min-width:640px){[part=icon]{font-size:var(--sd-spacing-24,6rem)}}`],i([p({type:Boolean,reflect:!0})],t.prototype,"expandable",2),t=i([m("sd-6-0-0-next-11-quickfact")],t);n("quickfact.show",{keyframes:[{height:"0"},{height:"auto"}],options:{duration:"var(--sd-duration-medium, 300ms)",easing:"ease-in-out"}});n("quickfact.hide",{keyframes:[{height:"auto"},{height:"0"}],options:{duration:"var(--sd-duration-medium, 300ms)",easing:"ease-in-out"}});export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as p}from"./chunk.CGQ2BPPZ.js";import{a}from"./chunk.YEDQWNIV.js";import{a as r}from"./chunk.NYKJXI3Q.js";import{a as d,b as o,h as n}from"./chunk.NGH2BNC2.js";import{b as m,e as s}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends n{constructor(){super(...arguments);this.hasSlotController=new p(this,"label","help-text");this.size="lg";this.orientation="vertical";this.label="";this.helpText=""}getAllCheckboxes(){return[...this.querySelectorAll("sd-6-0-0-next-10-checkbox")]}async syncCheckboxElements(){let i=this.getAllCheckboxes();await Promise.all(i.map(async l=>{await l.updateComplete,l.size=this.size}))}syncCheckboxes(){customElements.get("sd-6-0-0-next-10-checkbox")?this.syncCheckboxElements():customElements.whenDefined("sd-6-0-0-next-10-checkbox").then(()=>this.syncCheckboxes())}handleSizeChange(){this.syncCheckboxes()}handleInvalid(){this.syncCheckboxes()}render(){let i=this.hasSlotController.test("label"),l=this.label?!0:i,b=this.hasSlotController.test("help-text"),c=this.helpText?!0:b,x=s`<slot @slotchange="${this.syncCheckboxes}"></slot>`,h=this.hasSlotController.test("tooltip");return s`<fieldset part="form-control" class="${a("border-0 p-0 m-0",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}" role="group" aria-labelledby="label">${l||h?s`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${a("p-0 font-bold leading-normal text-black",l?"flex":"hidden")}" aria-hidden="${l?"false":"true"}"><slot name="label">${this.label}</slot></label> ${h?s`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${a({vertical:"flex flex-col",horizontal:"flex flex-row"}[this.orientation])}">${x}</div></fieldset><slot name="help-text" part="form-control-help-text" id="help-text" class="${a("text-sm text-neutral-700 mt-2",c?"block":"hidden")}" aria-hidden="${!c}">${this.helpText}</slot>`}};t.styles=[...n.styles,m`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{display:block}:host([orientation=vertical]) ::slotted(sd-6-0-0-next-10-checkbox){margin-bottom:var(--sd-spacing-2);display:flex}:host([orientation=vertical]) ::slotted(sd-6-0-0-next-10-checkbox:last-of-type){margin-bottom:calc(var(--sd-spacing-1) * 0)}:host([orientation=horizontal]) ::slotted(sd-6-0-0-next-10-checkbox){margin-right:var(--sd-spacing-6)}:host([orientation=horizontal]) ::slotted(sd-6-0-0-next-10-checkbox:last-of-type){margin-right:calc(var(--sd-spacing-1) * 0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-6-0-0-next-10-checkbox){margin-right:var(--sd-spacing-4)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-6-0-0-next-10-checkbox:last-of-type){margin-right:calc(var(--sd-spacing-1) * 0)}`],e([o({type:String,reflect:!0})],t.prototype,"size",2),e([o({type:String,reflect:!0})],t.prototype,"orientation",2),e([o({type:String,reflect:!0})],t.prototype,"label",2),e([o({type:String,attribute:"help-text",reflect:!0})],t.prototype,"helpText",2),e([r("size",{waitUntilFirstUpdate:!0})],t.prototype,"handleSizeChange",1),e([r("invalid",{waitUntilFirstUpdate:!0})],t.prototype,"handleInvalid",1),t=e([d("sd-6-0-0-next-10-checkbox-group")],t);export{t as a};
1
+ import{a as p}from"./chunk.CGQ2BPPZ.js";import{a}from"./chunk.YEDQWNIV.js";import{a as r}from"./chunk.NYKJXI3Q.js";import{a as d,b as o,h as n}from"./chunk.NGH2BNC2.js";import{b as m,e as s}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends n{constructor(){super(...arguments);this.hasSlotController=new p(this,"label","help-text");this.size="lg";this.orientation="vertical";this.label="";this.helpText=""}getAllCheckboxes(){return[...this.querySelectorAll("sd-6-0-0-next-11-checkbox")]}async syncCheckboxElements(){let i=this.getAllCheckboxes();await Promise.all(i.map(async l=>{await l.updateComplete,l.size=this.size}))}syncCheckboxes(){customElements.get("sd-6-0-0-next-11-checkbox")?this.syncCheckboxElements():customElements.whenDefined("sd-6-0-0-next-11-checkbox").then(()=>this.syncCheckboxes())}handleSizeChange(){this.syncCheckboxes()}handleInvalid(){this.syncCheckboxes()}render(){let i=this.hasSlotController.test("label"),l=this.label?!0:i,b=this.hasSlotController.test("help-text"),c=this.helpText?!0:b,x=s`<slot @slotchange="${this.syncCheckboxes}"></slot>`,h=this.hasSlotController.test("tooltip");return s`<fieldset part="form-control" class="${a("border-0 p-0 m-0",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}" role="group" aria-labelledby="label">${l||h?s`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${a("p-0 font-bold leading-normal text-black",l?"flex":"hidden")}" aria-hidden="${l?"false":"true"}"><slot name="label">${this.label}</slot></label> ${h?s`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${a({vertical:"flex flex-col",horizontal:"flex flex-row"}[this.orientation])}">${x}</div></fieldset><slot name="help-text" part="form-control-help-text" id="help-text" class="${a("text-sm text-neutral-700 mt-2",c?"block":"hidden")}" aria-hidden="${!c}">${this.helpText}</slot>`}};t.styles=[...n.styles,m`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{display:block}:host([orientation=vertical]) ::slotted(sd-6-0-0-next-11-checkbox){margin-bottom:var(--sd-spacing-2);display:flex}:host([orientation=vertical]) ::slotted(sd-6-0-0-next-11-checkbox:last-of-type){margin-bottom:calc(var(--sd-spacing-1) * 0)}:host([orientation=horizontal]) ::slotted(sd-6-0-0-next-11-checkbox){margin-right:var(--sd-spacing-6)}:host([orientation=horizontal]) ::slotted(sd-6-0-0-next-11-checkbox:last-of-type){margin-right:calc(var(--sd-spacing-1) * 0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-6-0-0-next-11-checkbox){margin-right:var(--sd-spacing-4)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-6-0-0-next-11-checkbox:last-of-type){margin-right:calc(var(--sd-spacing-1) * 0)}`],e([o({type:String,reflect:!0})],t.prototype,"size",2),e([o({type:String,reflect:!0})],t.prototype,"orientation",2),e([o({type:String,reflect:!0})],t.prototype,"label",2),e([o({type:String,attribute:"help-text",reflect:!0})],t.prototype,"helpText",2),e([r("size",{waitUntilFirstUpdate:!0})],t.prototype,"handleSizeChange",1),e([r("invalid",{waitUntilFirstUpdate:!0})],t.prototype,"handleInvalid",1),t=e([d("sd-6-0-0-next-11-checkbox-group")],t);export{t as a};
@@ -1,2 +1,2 @@
1
1
  import{a as l,b as i,g as c,h as o}from"./chunk.NGH2BNC2.js";import{b as a,e as n}from"./chunk.763RLJEK.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.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{display:block}::slotted(sd-6-0-0-next-10-accordion:not(:first-of-type)){margin-top:calc(-1 * var(--sd-accordion-border-width))!important}`],t([c({selector:"sd-6-0-0-next-10-accordion"})],e.prototype,"_accordionsInDefaultSlot",2),t([i({attribute:"close-others",type:Boolean,reflect:!0})],e.prototype,"closeOthers",2),e=t([l("sd-6-0-0-next-10-accordion-group")],e);export{e as a};
2
+ :host{display:block}::slotted(sd-6-0-0-next-11-accordion:not(:first-of-type)){margin-top:calc(-1 * var(--sd-accordion-border-width))!important}`],t([c({selector:"sd-6-0-0-next-11-accordion"})],e.prototype,"_accordionsInDefaultSlot",2),t([i({attribute:"close-others",type:Boolean,reflect:!0})],e.prototype,"closeOthers",2),e=t([l("sd-6-0-0-next-11-accordion-group")],e);export{e as a};