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

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 (633) hide show
  1. package/cdn/chunks/{chunk.TJE3CCOC.js → chunk.2N73M5IJ.js} +1 -1
  2. package/cdn/chunks/{chunk.N4I72GMP.js → chunk.2YBJXZD3.js} +1 -1
  3. package/cdn/chunks/{chunk.CRWDTBDK.js → chunk.4MTEY4BC.js} +1 -1
  4. package/cdn/chunks/{chunk.2VJYV5BY.js → chunk.575I6H5J.js} +1 -1
  5. package/cdn/chunks/{chunk.EXWEUXU5.js → chunk.5KYZPKOZ.js} +1 -1
  6. package/cdn/chunks/{chunk.OAYLOD6C.js → chunk.7GOULXFA.js} +1 -1
  7. package/cdn/chunks/{chunk.22CCXPHJ.js → chunk.7MPVVRD6.js} +1 -1
  8. package/cdn/chunks/{chunk.K4VSKKMO.js → chunk.7VEUCCCP.js} +1 -1
  9. package/cdn/chunks/{chunk.L4AYU4EM.js → chunk.AHTGX6ZG.js} +1 -1
  10. package/cdn/chunks/{chunk.3DMGMET2.js → chunk.BS3VSXBC.js} +1 -1
  11. package/cdn/chunks/{chunk.BZTTDLZU.js → chunk.CKEEKNUL.js} +1 -1
  12. package/cdn/chunks/{chunk.SPP6MW2X.js → chunk.CSEYBVIA.js} +1 -1
  13. package/cdn/chunks/{chunk.HVKSHUAS.js → chunk.DM4PYRCD.js} +1 -1
  14. package/cdn/chunks/{chunk.AAHU44T4.js → chunk.DNDJ76XZ.js} +1 -1
  15. package/cdn/chunks/{chunk.YUO4QWBT.js → chunk.DO6XXNHJ.js} +1 -1
  16. package/cdn/chunks/{chunk.XVBBYULT.js → chunk.E53DBABU.js} +1 -1
  17. package/cdn/chunks/{chunk.RBH4MV7K.js → chunk.E5SFUPPE.js} +1 -1
  18. package/cdn/chunks/{chunk.P3Q4ZXYZ.js → chunk.E663J5JW.js} +1 -1
  19. package/cdn/chunks/{chunk.TP4BG34O.js → chunk.EN4GFGKC.js} +1 -1
  20. package/cdn/chunks/{chunk.NN5CRQLJ.js → chunk.EPYXPO5P.js} +1 -1
  21. package/cdn/chunks/{chunk.VH3XCKIL.js → chunk.ETJSIYTN.js} +1 -1
  22. package/cdn/chunks/{chunk.ZVQLZBSU.js → chunk.FQD24EYD.js} +1 -1
  23. package/cdn/chunks/{chunk.R3L4HEYD.js → chunk.FRIDSEYQ.js} +1 -1
  24. package/cdn/chunks/{chunk.7H4P4PDT.js → chunk.FVQSNUWT.js} +1 -1
  25. package/cdn/chunks/{chunk.SPAZJMG4.js → chunk.JO7WUOG6.js} +1 -1
  26. package/cdn/chunks/{chunk.PESXZHIR.js → chunk.KTMGFL7S.js} +1 -1
  27. package/cdn/chunks/{chunk.O5XCFQPD.js → chunk.L77KGM64.js} +1 -1
  28. package/cdn/chunks/{chunk.ZWQXC6TB.js → chunk.LNJ3GHIN.js} +1 -1
  29. package/cdn/chunks/{chunk.UTY2AZTR.js → chunk.NIWXHZDN.js} +1 -1
  30. package/cdn/chunks/{chunk.BQULWPND.js → chunk.NUD7JRON.js} +1 -1
  31. package/cdn/chunks/{chunk.F5XDIUD7.js → chunk.OBT7WJKN.js} +1 -1
  32. package/cdn/chunks/{chunk.DUYZKPLZ.js → chunk.OPMJMN2L.js} +1 -1
  33. package/cdn/chunks/{chunk.CWK7H3FQ.js → chunk.OPWVC5LN.js} +1 -1
  34. package/cdn/chunks/{chunk.ALCI4HY2.js → chunk.OURXZTJ7.js} +1 -1
  35. package/cdn/chunks/{chunk.5PFAX7QO.js → chunk.OWHFKNMG.js} +1 -1
  36. package/cdn/chunks/{chunk.5Z4DRU2D.js → chunk.P2DQG4HG.js} +1 -1
  37. package/cdn/chunks/{chunk.VSUTIJKU.js → chunk.R65I6M5Q.js} +1 -1
  38. package/cdn/chunks/{chunk.XPPKJJGY.js → chunk.RAJMGRJH.js} +1 -1
  39. package/cdn/chunks/{chunk.3U6I2XOL.js → chunk.SCAUKL4R.js} +1 -1
  40. package/cdn/chunks/{chunk.URCOTIZE.js → chunk.SCROSIRO.js} +1 -1
  41. package/cdn/chunks/{chunk.3VOSCPDE.js → chunk.SL2GUJKB.js} +1 -1
  42. package/cdn/chunks/{chunk.URPA7XIF.js → chunk.SM6GB4KL.js} +1 -1
  43. package/cdn/chunks/chunk.SORGILA2.js +26 -0
  44. package/cdn/chunks/{chunk.3VW46WMV.js → chunk.SYLK75FD.js} +1 -1
  45. package/cdn/chunks/{chunk.B7HLIRJJ.js → chunk.UD7HF5SR.js} +1 -1
  46. package/cdn/chunks/{chunk.LRQ24UAJ.js → chunk.V5D63FUL.js} +1 -1
  47. package/cdn/chunks/{chunk.6GRCOPRW.js → chunk.V62IDWV6.js} +1 -1
  48. package/cdn/chunks/{chunk.D6VARJ7Y.js → chunk.VWJY3V3W.js} +1 -1
  49. package/cdn/chunks/{chunk.Z5DGSF5Q.js → chunk.VZJN3KQ3.js} +1 -1
  50. package/cdn/chunks/{chunk.5JCETQIB.js → chunk.WBW6HMDM.js} +1 -1
  51. package/cdn/chunks/{chunk.D5RIAZYU.js → chunk.WHKWLGWC.js} +1 -1
  52. package/cdn/chunks/{chunk.BFXR4F5U.js → chunk.WHLQEUFJ.js} +1 -1
  53. package/cdn/chunks/chunk.WIJZA7C2.js +2 -0
  54. package/cdn/chunks/{chunk.FLXHLGUA.js → chunk.WJO2OFZN.js} +1 -1
  55. package/cdn/chunks/{chunk.U7FW2KFI.js → chunk.X6VUHUEP.js} +1 -1
  56. package/cdn/chunks/{chunk.FACCPFJH.js → chunk.XDVUJUTA.js} +1 -1
  57. package/cdn/chunks/{chunk.NYVOUB2E.js → chunk.XYVE5YWX.js} +1 -1
  58. package/cdn/chunks/{chunk.SFWXMYPO.js → chunk.YCNV56HY.js} +1 -1
  59. package/cdn/chunks/{chunk.WKADUBJJ.js → chunk.YOJGM2A4.js} +1 -1
  60. package/cdn/chunks/{chunk.YJC7AXB7.js → chunk.ZKT4YXBK.js} +1 -1
  61. package/cdn/components/accordion/accordion.js +1 -1
  62. package/cdn/components/accordion-group/accordion-group.js +1 -1
  63. package/cdn/components/animation/animation.js +1 -1
  64. package/cdn/components/audio/audio.js +1 -1
  65. package/cdn/components/badge/badge.js +1 -1
  66. package/cdn/components/brandshape/brandshape.js +1 -1
  67. package/cdn/components/breadcrumb/breadcrumb.js +1 -1
  68. package/cdn/components/breadcrumb-item/breadcrumb-item.js +1 -1
  69. package/cdn/components/button/button.js +1 -1
  70. package/cdn/components/button-group/button-group.js +1 -1
  71. package/cdn/components/carousel/carousel.js +1 -1
  72. package/cdn/components/carousel-item/carousel-item.js +1 -1
  73. package/cdn/components/checkbox/checkbox.js +1 -1
  74. package/cdn/components/checkbox-group/checkbox-group.js +1 -1
  75. package/cdn/components/combobox/combobox.js +1 -1
  76. package/cdn/components/datepicker/datepicker.js +1 -1
  77. package/cdn/components/dialog/dialog.js +1 -1
  78. package/cdn/components/divider/divider.js +1 -1
  79. package/cdn/components/drawer/drawer.js +1 -1
  80. package/cdn/components/dropdown/dropdown.js +1 -1
  81. package/cdn/components/expandable/expandable.js +1 -1
  82. package/cdn/components/flipcard/flipcard.js +1 -1
  83. package/cdn/components/header/header.js +1 -1
  84. package/cdn/components/icon/icon.js +1 -1
  85. package/cdn/components/include/include.js +1 -1
  86. package/cdn/components/input/input.js +1 -1
  87. package/cdn/components/link/link.js +1 -1
  88. package/cdn/components/loader/loader.js +1 -1
  89. package/cdn/components/map-marker/map-marker.js +1 -1
  90. package/cdn/components/menu/menu.js +1 -1
  91. package/cdn/components/menu-item/menu-item.js +1 -1
  92. package/cdn/components/navigation-item/navigation-item.js +1 -1
  93. package/cdn/components/notification/notification.js +1 -1
  94. package/cdn/components/optgroup/optgroup.js +1 -1
  95. package/cdn/components/option/option.js +1 -1
  96. package/cdn/components/popup/popup.js +1 -1
  97. package/cdn/components/quickfact/quickfact.js +1 -1
  98. package/cdn/components/radio/radio.js +1 -1
  99. package/cdn/components/radio-button/radio-button.js +1 -1
  100. package/cdn/components/radio-group/radio-group.js +1 -1
  101. package/cdn/components/range/range.js +1 -1
  102. package/cdn/components/range-tick/range-tick.js +1 -1
  103. package/cdn/components/scrollable/scrollable.js +1 -1
  104. package/cdn/components/select/select.js +1 -1
  105. package/cdn/components/skeleton/skeleton.js +1 -1
  106. package/cdn/components/spinner/spinner.js +1 -1
  107. package/cdn/components/step/step.js +1 -1
  108. package/cdn/components/step-group/step-group.js +1 -1
  109. package/cdn/components/switch/switch.js +1 -1
  110. package/cdn/components/tab/tab.js +1 -1
  111. package/cdn/components/tab-group/tab-group.js +1 -1
  112. package/cdn/components/tab-panel/tab-panel.js +1 -1
  113. package/cdn/components/tag/tag.js +1 -1
  114. package/cdn/components/teaser/teaser.js +1 -1
  115. package/cdn/components/teaser-media/teaser-media.js +1 -1
  116. package/cdn/components/textarea/textarea.js +1 -1
  117. package/cdn/components/theme-listener/theme-listener.js +1 -1
  118. package/cdn/components/tooltip/tooltip.js +1 -1
  119. package/cdn/components/video/video.js +1 -1
  120. package/cdn/custom-elements.json +9 -1
  121. package/cdn/solid-components.bundle.js +2 -2
  122. package/cdn/solid-components.iife.js +2 -2
  123. package/cdn/solid-components.js +1 -1
  124. package/cdn/utilities/autocomplete-config.js +1 -1
  125. package/cdn/vscode.html-custom-data.json +1 -1
  126. package/cdn/web-types.json +6 -2
  127. package/cdn-versioned/chunks/{chunk.TJE3CCOC.js → chunk.2N73M5IJ.js} +2 -2
  128. package/cdn-versioned/chunks/{chunk.N4I72GMP.js → chunk.2YBJXZD3.js} +2 -2
  129. package/cdn-versioned/chunks/{chunk.CRWDTBDK.js → chunk.4MTEY4BC.js} +2 -2
  130. package/cdn-versioned/chunks/{chunk.2VJYV5BY.js → chunk.575I6H5J.js} +2 -2
  131. package/cdn-versioned/chunks/{chunk.EXWEUXU5.js → chunk.5KYZPKOZ.js} +2 -2
  132. package/cdn-versioned/chunks/{chunk.OAYLOD6C.js → chunk.7GOULXFA.js} +2 -2
  133. package/cdn-versioned/chunks/{chunk.22CCXPHJ.js → chunk.7MPVVRD6.js} +2 -2
  134. package/cdn-versioned/chunks/{chunk.K4VSKKMO.js → chunk.7VEUCCCP.js} +2 -2
  135. package/cdn-versioned/chunks/{chunk.L4AYU4EM.js → chunk.AHTGX6ZG.js} +2 -2
  136. package/cdn-versioned/chunks/{chunk.3DMGMET2.js → chunk.BS3VSXBC.js} +2 -2
  137. package/cdn-versioned/chunks/chunk.CDP46OS4.js +1 -1
  138. package/cdn-versioned/chunks/{chunk.BZTTDLZU.js → chunk.CKEEKNUL.js} +2 -2
  139. package/cdn-versioned/chunks/{chunk.SPP6MW2X.js → chunk.CSEYBVIA.js} +2 -2
  140. package/cdn-versioned/chunks/{chunk.HVKSHUAS.js → chunk.DM4PYRCD.js} +2 -2
  141. package/cdn-versioned/chunks/{chunk.AAHU44T4.js → chunk.DNDJ76XZ.js} +2 -2
  142. package/cdn-versioned/chunks/{chunk.YUO4QWBT.js → chunk.DO6XXNHJ.js} +2 -2
  143. package/cdn-versioned/chunks/{chunk.XVBBYULT.js → chunk.E53DBABU.js} +2 -2
  144. package/cdn-versioned/chunks/{chunk.RBH4MV7K.js → chunk.E5SFUPPE.js} +2 -2
  145. package/cdn-versioned/chunks/{chunk.P3Q4ZXYZ.js → chunk.E663J5JW.js} +2 -2
  146. package/cdn-versioned/chunks/{chunk.TP4BG34O.js → chunk.EN4GFGKC.js} +3 -3
  147. package/cdn-versioned/chunks/{chunk.NN5CRQLJ.js → chunk.EPYXPO5P.js} +5 -5
  148. package/cdn-versioned/chunks/{chunk.VH3XCKIL.js → chunk.ETJSIYTN.js} +3 -3
  149. package/cdn-versioned/chunks/{chunk.ZVQLZBSU.js → chunk.FQD24EYD.js} +2 -2
  150. package/cdn-versioned/chunks/{chunk.R3L4HEYD.js → chunk.FRIDSEYQ.js} +2 -2
  151. package/cdn-versioned/chunks/{chunk.7H4P4PDT.js → chunk.FVQSNUWT.js} +2 -2
  152. package/cdn-versioned/chunks/{chunk.SPAZJMG4.js → chunk.JO7WUOG6.js} +2 -2
  153. package/cdn-versioned/chunks/chunk.JS2HQ2N4.js +1 -1
  154. package/cdn-versioned/chunks/{chunk.PESXZHIR.js → chunk.KTMGFL7S.js} +2 -2
  155. package/cdn-versioned/chunks/{chunk.O5XCFQPD.js → chunk.L77KGM64.js} +2 -2
  156. package/cdn-versioned/chunks/{chunk.ZWQXC6TB.js → chunk.LNJ3GHIN.js} +2 -2
  157. package/cdn-versioned/chunks/{chunk.UTY2AZTR.js → chunk.NIWXHZDN.js} +9 -9
  158. package/cdn-versioned/chunks/{chunk.BQULWPND.js → chunk.NUD7JRON.js} +2 -2
  159. package/cdn-versioned/chunks/{chunk.F5XDIUD7.js → chunk.OBT7WJKN.js} +2 -2
  160. package/cdn-versioned/chunks/{chunk.DUYZKPLZ.js → chunk.OPMJMN2L.js} +2 -2
  161. package/cdn-versioned/chunks/{chunk.CWK7H3FQ.js → chunk.OPWVC5LN.js} +2 -2
  162. package/cdn-versioned/chunks/{chunk.ALCI4HY2.js → chunk.OURXZTJ7.js} +2 -2
  163. package/cdn-versioned/chunks/{chunk.5PFAX7QO.js → chunk.OWHFKNMG.js} +2 -2
  164. package/cdn-versioned/chunks/{chunk.5Z4DRU2D.js → chunk.P2DQG4HG.js} +2 -2
  165. package/cdn-versioned/chunks/{chunk.VSUTIJKU.js → chunk.R65I6M5Q.js} +2 -2
  166. package/cdn-versioned/chunks/{chunk.XPPKJJGY.js → chunk.RAJMGRJH.js} +2 -2
  167. package/cdn-versioned/chunks/{chunk.3U6I2XOL.js → chunk.SCAUKL4R.js} +2 -2
  168. package/cdn-versioned/chunks/{chunk.URCOTIZE.js → chunk.SCROSIRO.js} +3 -3
  169. package/cdn-versioned/chunks/{chunk.3VOSCPDE.js → chunk.SL2GUJKB.js} +2 -2
  170. package/cdn-versioned/chunks/{chunk.URPA7XIF.js → chunk.SM6GB4KL.js} +2 -2
  171. package/cdn-versioned/chunks/chunk.SORGILA2.js +26 -0
  172. package/cdn-versioned/chunks/{chunk.3VW46WMV.js → chunk.SYLK75FD.js} +2 -2
  173. package/cdn-versioned/chunks/{chunk.B7HLIRJJ.js → chunk.UD7HF5SR.js} +2 -2
  174. package/cdn-versioned/chunks/{chunk.LRQ24UAJ.js → chunk.V5D63FUL.js} +2 -2
  175. package/cdn-versioned/chunks/{chunk.6GRCOPRW.js → chunk.V62IDWV6.js} +3 -3
  176. package/cdn-versioned/chunks/chunk.VTDQOKJM.js +2 -2
  177. package/cdn-versioned/chunks/{chunk.D6VARJ7Y.js → chunk.VWJY3V3W.js} +2 -2
  178. package/cdn-versioned/chunks/{chunk.Z5DGSF5Q.js → chunk.VZJN3KQ3.js} +2 -2
  179. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  180. package/cdn-versioned/chunks/{chunk.5JCETQIB.js → chunk.WBW6HMDM.js} +2 -2
  181. package/cdn-versioned/chunks/{chunk.D5RIAZYU.js → chunk.WHKWLGWC.js} +2 -2
  182. package/cdn-versioned/chunks/{chunk.BFXR4F5U.js → chunk.WHLQEUFJ.js} +2 -2
  183. package/cdn-versioned/chunks/chunk.WIJZA7C2.js +2 -0
  184. package/cdn-versioned/chunks/{chunk.FLXHLGUA.js → chunk.WJO2OFZN.js} +2 -2
  185. package/cdn-versioned/chunks/{chunk.U7FW2KFI.js → chunk.X6VUHUEP.js} +5 -5
  186. package/cdn-versioned/chunks/{chunk.FACCPFJH.js → chunk.XDVUJUTA.js} +2 -2
  187. package/cdn-versioned/chunks/{chunk.NYVOUB2E.js → chunk.XYVE5YWX.js} +2 -2
  188. package/cdn-versioned/chunks/{chunk.SFWXMYPO.js → chunk.YCNV56HY.js} +2 -2
  189. package/cdn-versioned/chunks/{chunk.WKADUBJJ.js → chunk.YOJGM2A4.js} +2 -2
  190. package/cdn-versioned/chunks/{chunk.YJC7AXB7.js → chunk.ZKT4YXBK.js} +2 -2
  191. package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
  192. package/cdn-versioned/components/accordion/accordion.js +1 -1
  193. package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  194. package/cdn-versioned/components/accordion-group/accordion-group.js +1 -1
  195. package/cdn-versioned/components/animation/animation.d.ts +1 -1
  196. package/cdn-versioned/components/animation/animation.js +1 -1
  197. package/cdn-versioned/components/audio/audio.d.ts +1 -1
  198. package/cdn-versioned/components/audio/audio.js +1 -1
  199. package/cdn-versioned/components/badge/badge.d.ts +1 -1
  200. package/cdn-versioned/components/badge/badge.js +1 -1
  201. package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
  202. package/cdn-versioned/components/brandshape/brandshape.js +1 -1
  203. package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  204. package/cdn-versioned/components/breadcrumb/breadcrumb.js +1 -1
  205. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  206. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.js +1 -1
  207. package/cdn-versioned/components/button/button.d.ts +1 -1
  208. package/cdn-versioned/components/button/button.js +1 -1
  209. package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
  210. package/cdn-versioned/components/button-group/button-group.js +1 -1
  211. package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
  212. package/cdn-versioned/components/carousel/carousel.js +1 -1
  213. package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  214. package/cdn-versioned/components/carousel-item/carousel-item.js +1 -1
  215. package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
  216. package/cdn-versioned/components/checkbox/checkbox.js +1 -1
  217. package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  218. package/cdn-versioned/components/checkbox-group/checkbox-group.js +1 -1
  219. package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
  220. package/cdn-versioned/components/combobox/combobox.js +1 -1
  221. package/cdn-versioned/components/datepicker/datepicker.d.ts +1 -1
  222. package/cdn-versioned/components/datepicker/datepicker.js +1 -1
  223. package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
  224. package/cdn-versioned/components/dialog/dialog.js +1 -1
  225. package/cdn-versioned/components/divider/divider.d.ts +1 -1
  226. package/cdn-versioned/components/divider/divider.js +1 -1
  227. package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
  228. package/cdn-versioned/components/drawer/drawer.js +1 -1
  229. package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
  230. package/cdn-versioned/components/dropdown/dropdown.js +1 -1
  231. package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
  232. package/cdn-versioned/components/expandable/expandable.js +1 -1
  233. package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
  234. package/cdn-versioned/components/flipcard/flipcard.js +1 -1
  235. package/cdn-versioned/components/header/header.d.ts +1 -1
  236. package/cdn-versioned/components/header/header.js +1 -1
  237. package/cdn-versioned/components/icon/icon.d.ts +1 -1
  238. package/cdn-versioned/components/icon/icon.js +1 -1
  239. package/cdn-versioned/components/include/include.d.ts +1 -1
  240. package/cdn-versioned/components/include/include.js +1 -1
  241. package/cdn-versioned/components/input/input.d.ts +1 -1
  242. package/cdn-versioned/components/input/input.js +1 -1
  243. package/cdn-versioned/components/link/link.d.ts +1 -1
  244. package/cdn-versioned/components/link/link.js +1 -1
  245. package/cdn-versioned/components/loader/loader.d.ts +1 -1
  246. package/cdn-versioned/components/loader/loader.js +1 -1
  247. package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
  248. package/cdn-versioned/components/map-marker/map-marker.js +1 -1
  249. package/cdn-versioned/components/menu/menu.d.ts +1 -1
  250. package/cdn-versioned/components/menu/menu.js +1 -1
  251. package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
  252. package/cdn-versioned/components/menu-item/menu-item.js +1 -1
  253. package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  254. package/cdn-versioned/components/navigation-item/navigation-item.js +1 -1
  255. package/cdn-versioned/components/notification/notification.d.ts +1 -1
  256. package/cdn-versioned/components/notification/notification.js +1 -1
  257. package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
  258. package/cdn-versioned/components/optgroup/optgroup.js +1 -1
  259. package/cdn-versioned/components/option/option.d.ts +1 -1
  260. package/cdn-versioned/components/option/option.js +1 -1
  261. package/cdn-versioned/components/popup/popup.d.ts +1 -1
  262. package/cdn-versioned/components/popup/popup.js +1 -1
  263. package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
  264. package/cdn-versioned/components/quickfact/quickfact.js +1 -1
  265. package/cdn-versioned/components/radio/radio.d.ts +1 -1
  266. package/cdn-versioned/components/radio/radio.js +1 -1
  267. package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
  268. package/cdn-versioned/components/radio-button/radio-button.js +1 -1
  269. package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
  270. package/cdn-versioned/components/radio-group/radio-group.js +1 -1
  271. package/cdn-versioned/components/range/range.d.ts +1 -1
  272. package/cdn-versioned/components/range/range.js +1 -1
  273. package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
  274. package/cdn-versioned/components/range-tick/range-tick.js +1 -1
  275. package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
  276. package/cdn-versioned/components/scrollable/scrollable.js +1 -1
  277. package/cdn-versioned/components/select/select.d.ts +1 -1
  278. package/cdn-versioned/components/select/select.js +1 -1
  279. package/cdn-versioned/components/skeleton/skeleton.d.ts +1 -1
  280. package/cdn-versioned/components/skeleton/skeleton.js +1 -1
  281. package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
  282. package/cdn-versioned/components/spinner/spinner.js +1 -1
  283. package/cdn-versioned/components/step/step.d.ts +1 -1
  284. package/cdn-versioned/components/step/step.js +1 -1
  285. package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
  286. package/cdn-versioned/components/step-group/step-group.js +1 -1
  287. package/cdn-versioned/components/switch/switch.d.ts +1 -1
  288. package/cdn-versioned/components/switch/switch.js +1 -1
  289. package/cdn-versioned/components/tab/tab.d.ts +1 -1
  290. package/cdn-versioned/components/tab/tab.js +1 -1
  291. package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
  292. package/cdn-versioned/components/tab-group/tab-group.js +1 -1
  293. package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  294. package/cdn-versioned/components/tab-panel/tab-panel.js +1 -1
  295. package/cdn-versioned/components/tag/tag.d.ts +1 -1
  296. package/cdn-versioned/components/tag/tag.js +1 -1
  297. package/cdn-versioned/components/teaser/teaser.js +1 -1
  298. package/cdn-versioned/components/teaser-media/teaser-media.js +1 -1
  299. package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
  300. package/cdn-versioned/components/textarea/textarea.js +1 -1
  301. package/cdn-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  302. package/cdn-versioned/components/theme-listener/theme-listener.js +1 -1
  303. package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
  304. package/cdn-versioned/components/tooltip/tooltip.js +1 -1
  305. package/cdn-versioned/components/video/video.d.ts +1 -1
  306. package/cdn-versioned/components/video/video.js +1 -1
  307. package/cdn-versioned/custom-elements.json +252 -244
  308. package/cdn-versioned/internal/form.js +3 -3
  309. package/cdn-versioned/solid-components.bundle.js +79 -79
  310. package/cdn-versioned/solid-components.css +2 -2
  311. package/cdn-versioned/solid-components.iife.js +79 -79
  312. package/cdn-versioned/solid-components.js +1 -1
  313. package/cdn-versioned/utilities/autocomplete-config.js +1 -1
  314. package/cdn-versioned/vscode.html-custom-data.json +95 -95
  315. package/cdn-versioned/web-types.json +162 -158
  316. package/dist/chunks/{chunk.P3AEQTO4.js → chunk.27BT6YJV.js} +1 -1
  317. package/dist/chunks/{chunk.N4OTT34O.js → chunk.2RL6TBHJ.js} +1 -1
  318. package/dist/chunks/{chunk.J3LIXAL2.js → chunk.365ZQE4U.js} +2 -2
  319. package/dist/chunks/{chunk.IJLFM2YE.js → chunk.3ZWL4LLI.js} +1 -1
  320. package/dist/chunks/{chunk.76LE4BPL.js → chunk.4OQKNMVC.js} +1 -1
  321. package/dist/chunks/{chunk.J2JUTR3O.js → chunk.4UDT2N7R.js} +1 -1
  322. package/dist/chunks/{chunk.QBW7TVOK.js → chunk.56ZWAQO5.js} +1 -1
  323. package/dist/chunks/{chunk.QDGO562V.js → chunk.6CDLUXQ2.js} +1 -1
  324. package/dist/chunks/{chunk.HHKPFIAB.js → chunk.7MKQP77O.js} +1 -1
  325. package/dist/chunks/{chunk.GLKP6FBY.js → chunk.7RRFB7XM.js} +1 -1
  326. package/dist/chunks/{chunk.PXABEZTS.js → chunk.7SH2LCIK.js} +1 -1
  327. package/dist/chunks/{chunk.BKLAIQ6N.js → chunk.CJR7IAF2.js} +1 -1
  328. package/dist/chunks/{chunk.G327Z3UW.js → chunk.D2V56L6O.js} +1 -1
  329. package/dist/chunks/{chunk.EPZFBHM5.js → chunk.DIQLJZLV.js} +1 -1
  330. package/dist/chunks/{chunk.RYXJEAJP.js → chunk.DJND6YUG.js} +1 -1
  331. package/dist/chunks/{chunk.NLVFG55I.js → chunk.DUS6RS4Y.js} +1 -1
  332. package/dist/chunks/{chunk.QLNTXQ74.js → chunk.EUBZSNHP.js} +1 -1
  333. package/dist/chunks/{chunk.MGI5NELL.js → chunk.F6YDHYVE.js} +1 -1
  334. package/dist/chunks/{chunk.BWFAN5T4.js → chunk.GKHCNU2W.js} +1 -1
  335. package/dist/chunks/{chunk.AUWFJ6KR.js → chunk.HKXD5IL4.js} +1 -1
  336. package/dist/chunks/{chunk.XCCVIHHK.js → chunk.J5BE4PHS.js} +1 -1
  337. package/dist/chunks/{chunk.LZEWZD6Z.js → chunk.JCRS5M2Y.js} +1 -1
  338. package/dist/chunks/{chunk.RZYPRKWX.js → chunk.JDH5QDD4.js} +1 -1
  339. package/dist/chunks/{chunk.G4LU2DPT.js → chunk.JRJ4LNBT.js} +2 -2
  340. package/dist/chunks/{chunk.ULHJFA5A.js → chunk.JST4Y73L.js} +1 -1
  341. package/dist/chunks/chunk.KXLUF5NH.js +93 -0
  342. package/dist/chunks/{chunk.5YR4L6ZG.js → chunk.LL6JDZ2J.js} +1 -1
  343. package/dist/chunks/{chunk.HOQ7HWJ2.js → chunk.M37DYQUE.js} +1 -1
  344. package/dist/chunks/{chunk.RN3MHCKA.js → chunk.MGFBQQLB.js} +1 -1
  345. package/dist/chunks/{chunk.YNEDC56F.js → chunk.MHYTVEQF.js} +1 -1
  346. package/dist/chunks/{chunk.FJXMO4AJ.js → chunk.MXLBX6CN.js} +2 -2
  347. package/dist/chunks/{chunk.GTG5NCJH.js → chunk.N37INEPQ.js} +1 -1
  348. package/dist/chunks/{chunk.3UREZKLQ.js → chunk.N3HOCV7I.js} +1 -1
  349. package/dist/chunks/{chunk.HPCBK4U6.js → chunk.O6OCDAKK.js} +1 -1
  350. package/dist/chunks/{chunk.RSHUGRW4.js → chunk.ORYQ3FH3.js} +1 -1
  351. package/dist/chunks/{chunk.3T4FDUQP.js → chunk.OTKB2VRV.js} +1 -1
  352. package/dist/chunks/{chunk.UE4M2UDJ.js → chunk.PL4OFYJO.js} +1 -1
  353. package/dist/chunks/{chunk.BVGYMFAR.js → chunk.PPWK76KX.js} +1 -1
  354. package/dist/chunks/{chunk.K3WOPEVW.js → chunk.QCQ7A7DT.js} +1 -1
  355. package/dist/chunks/{chunk.TANNWOC5.js → chunk.QFN5ALM7.js} +1 -1
  356. package/dist/chunks/{chunk.FTQNZE7U.js → chunk.QSLMGPBG.js} +1 -1
  357. package/dist/chunks/{chunk.EGZ57KTV.js → chunk.R2DOQKTM.js} +1 -1
  358. package/dist/chunks/{chunk.HC6LHKKU.js → chunk.R7ITC7NT.js} +1 -1
  359. package/dist/chunks/{chunk.XXOSIGGH.js → chunk.RCCVTEK5.js} +1 -1
  360. package/dist/chunks/{chunk.UAKAZZQ5.js → chunk.RGKPJPQL.js} +1 -1
  361. package/dist/chunks/{chunk.4LMIOELP.js → chunk.S2ESC563.js} +1 -1
  362. package/dist/chunks/{chunk.YV6TLAQG.js → chunk.S4XCK37S.js} +1 -1
  363. package/dist/chunks/{chunk.JE5DROBO.js → chunk.ST34ZDUW.js} +1 -1
  364. package/dist/chunks/{chunk.QMAANEK5.js → chunk.TF5BCX76.js} +2 -2
  365. package/dist/chunks/{chunk.F3WAQKPZ.js → chunk.TSXROBHJ.js} +1 -1
  366. package/dist/chunks/{chunk.XMHLFXNP.js → chunk.TZNS32YB.js} +1 -1
  367. package/dist/chunks/{chunk.XPXWMXEZ.js → chunk.UC3B2PYX.js} +1 -1
  368. package/dist/chunks/{chunk.LIQ3OEHJ.js → chunk.UXW72ASY.js} +1 -1
  369. package/dist/chunks/{chunk.DUPO2RAV.js → chunk.VWI6VX73.js} +1 -1
  370. package/dist/chunks/{chunk.76YV6AY5.js → chunk.WCXEVJIG.js} +1 -1
  371. package/dist/chunks/{chunk.3DZRUVDI.js → chunk.XMDDEC3A.js} +1 -1
  372. package/dist/chunks/{chunk.GUAIWPL4.js → chunk.XNSWXKES.js} +1 -1
  373. package/dist/chunks/{chunk.AUNSZRBQ.js → chunk.Y2FZWCLC.js} +1 -1
  374. package/dist/chunks/{chunk.IP6WZTQB.js → chunk.Y6FWMZCH.js} +1 -1
  375. package/dist/chunks/{chunk.VHCJ4ERI.js → chunk.YE7KLRVW.js} +1 -1
  376. package/dist/components/accordion/accordion.js +3 -3
  377. package/dist/components/accordion-group/accordion-group.js +4 -4
  378. package/dist/components/animation/animation.js +2 -2
  379. package/dist/components/audio/audio.js +6 -6
  380. package/dist/components/badge/badge.js +2 -2
  381. package/dist/components/brandshape/brandshape.js +2 -2
  382. package/dist/components/breadcrumb/breadcrumb.js +5 -5
  383. package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
  384. package/dist/components/button/button.js +3 -3
  385. package/dist/components/button-group/button-group.js +2 -2
  386. package/dist/components/carousel/carousel.js +4 -4
  387. package/dist/components/carousel-item/carousel-item.js +2 -2
  388. package/dist/components/checkbox/checkbox.js +3 -3
  389. package/dist/components/checkbox-group/checkbox-group.js +3 -3
  390. package/dist/components/combobox/combobox.js +5 -5
  391. package/dist/components/datepicker/datepicker.js +5 -5
  392. package/dist/components/dialog/dialog.js +5 -5
  393. package/dist/components/divider/divider.js +2 -2
  394. package/dist/components/drawer/drawer.js +5 -5
  395. package/dist/components/dropdown/dropdown.js +3 -3
  396. package/dist/components/expandable/expandable.js +3 -3
  397. package/dist/components/flipcard/flipcard.js +5 -5
  398. package/dist/components/header/header.js +2 -2
  399. package/dist/components/icon/icon.js +2 -2
  400. package/dist/components/include/include.js +2 -2
  401. package/dist/components/input/input.js +3 -3
  402. package/dist/components/link/link.js +2 -2
  403. package/dist/components/loader/loader.js +2 -2
  404. package/dist/components/map-marker/map-marker.js +2 -2
  405. package/dist/components/menu/menu.js +2 -2
  406. package/dist/components/menu-item/menu-item.js +2 -2
  407. package/dist/components/navigation-item/navigation-item.js +4 -4
  408. package/dist/components/notification/notification.js +5 -5
  409. package/dist/components/optgroup/optgroup.js +3 -3
  410. package/dist/components/option/option.js +3 -3
  411. package/dist/components/popup/popup.js +2 -2
  412. package/dist/components/quickfact/quickfact.js +4 -4
  413. package/dist/components/radio/radio.js +2 -2
  414. package/dist/components/radio-button/radio-button.js +2 -2
  415. package/dist/components/radio-group/radio-group.js +4 -4
  416. package/dist/components/range/range.js +2 -2
  417. package/dist/components/range-tick/range-tick.js +2 -2
  418. package/dist/components/scrollable/scrollable.js +3 -3
  419. package/dist/components/select/select.js +5 -5
  420. package/dist/components/skeleton/skeleton.js +2 -2
  421. package/dist/components/spinner/spinner.js +2 -2
  422. package/dist/components/step/step.js +3 -3
  423. package/dist/components/step-group/step-group.js +2 -2
  424. package/dist/components/switch/switch.js +2 -2
  425. package/dist/components/tab/tab.js +2 -2
  426. package/dist/components/tab-group/tab-group.js +3 -3
  427. package/dist/components/tab-panel/tab-panel.js +2 -2
  428. package/dist/components/tag/tag.js +3 -3
  429. package/dist/components/teaser/teaser.js +2 -2
  430. package/dist/components/teaser-media/teaser-media.js +2 -2
  431. package/dist/components/textarea/textarea.js +3 -3
  432. package/dist/components/theme-listener/theme-listener.js +2 -2
  433. package/dist/components/tooltip/tooltip.js +4 -4
  434. package/dist/components/video/video.js +3 -3
  435. package/dist/custom-elements.json +9 -1
  436. package/dist/solid-components.js +60 -60
  437. package/dist/utilities/autocomplete-config.js +2 -2
  438. package/dist/vscode.html-custom-data.json +1 -1
  439. package/dist/web-types.json +6 -2
  440. package/dist-versioned/chunks/{chunk.P3AEQTO4.js → chunk.27BT6YJV.js} +9 -9
  441. package/dist-versioned/chunks/{chunk.N4OTT34O.js → chunk.2RL6TBHJ.js} +5 -5
  442. package/dist-versioned/chunks/{chunk.J3LIXAL2.js → chunk.365ZQE4U.js} +9 -9
  443. package/dist-versioned/chunks/{chunk.IJLFM2YE.js → chunk.3ZWL4LLI.js} +9 -9
  444. package/dist-versioned/chunks/{chunk.76LE4BPL.js → chunk.4OQKNMVC.js} +5 -5
  445. package/dist-versioned/chunks/{chunk.J2JUTR3O.js → chunk.4UDT2N7R.js} +5 -5
  446. package/dist-versioned/chunks/{chunk.QBW7TVOK.js → chunk.56ZWAQO5.js} +27 -27
  447. package/dist-versioned/chunks/{chunk.QDGO562V.js → chunk.6CDLUXQ2.js} +4 -4
  448. package/dist-versioned/chunks/{chunk.HHKPFIAB.js → chunk.7MKQP77O.js} +2 -2
  449. package/dist-versioned/chunks/{chunk.GLKP6FBY.js → chunk.7RRFB7XM.js} +3 -3
  450. package/dist-versioned/chunks/{chunk.PXABEZTS.js → chunk.7SH2LCIK.js} +27 -27
  451. package/dist-versioned/chunks/{chunk.BKLAIQ6N.js → chunk.CJR7IAF2.js} +4 -4
  452. package/dist-versioned/chunks/{chunk.G327Z3UW.js → chunk.D2V56L6O.js} +3 -3
  453. package/dist-versioned/chunks/{chunk.EPZFBHM5.js → chunk.DIQLJZLV.js} +3 -3
  454. package/dist-versioned/chunks/{chunk.RYXJEAJP.js → chunk.DJND6YUG.js} +25 -25
  455. package/dist-versioned/chunks/{chunk.NLVFG55I.js → chunk.DUS6RS4Y.js} +4 -4
  456. package/dist-versioned/chunks/{chunk.QLNTXQ74.js → chunk.EUBZSNHP.js} +2 -2
  457. package/dist-versioned/chunks/{chunk.MGI5NELL.js → chunk.F6YDHYVE.js} +4 -4
  458. package/dist-versioned/chunks/{chunk.BWFAN5T4.js → chunk.GKHCNU2W.js} +6 -6
  459. package/dist-versioned/chunks/{chunk.AUWFJ6KR.js → chunk.HKXD5IL4.js} +3 -3
  460. package/dist-versioned/chunks/{chunk.XCCVIHHK.js → chunk.J5BE4PHS.js} +15 -15
  461. package/dist-versioned/chunks/{chunk.LZEWZD6Z.js → chunk.JCRS5M2Y.js} +5 -5
  462. package/dist-versioned/chunks/{chunk.RZYPRKWX.js → chunk.JDH5QDD4.js} +4 -4
  463. package/dist-versioned/chunks/{chunk.G4LU2DPT.js → chunk.JRJ4LNBT.js} +9 -9
  464. package/dist-versioned/chunks/{chunk.ULHJFA5A.js → chunk.JST4Y73L.js} +5 -5
  465. package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
  466. package/dist-versioned/chunks/chunk.KXLUF5NH.js +93 -0
  467. package/dist-versioned/chunks/{chunk.5YR4L6ZG.js → chunk.LL6JDZ2J.js} +3 -3
  468. package/dist-versioned/chunks/{chunk.HOQ7HWJ2.js → chunk.M37DYQUE.js} +5 -5
  469. package/dist-versioned/chunks/{chunk.RN3MHCKA.js → chunk.MGFBQQLB.js} +2 -2
  470. package/dist-versioned/chunks/{chunk.YNEDC56F.js → chunk.MHYTVEQF.js} +3 -3
  471. package/dist-versioned/chunks/{chunk.FJXMO4AJ.js → chunk.MXLBX6CN.js} +5 -5
  472. package/dist-versioned/chunks/{chunk.GTG5NCJH.js → chunk.N37INEPQ.js} +8 -8
  473. package/dist-versioned/chunks/{chunk.3UREZKLQ.js → chunk.N3HOCV7I.js} +3 -3
  474. package/dist-versioned/chunks/{chunk.HPCBK4U6.js → chunk.O6OCDAKK.js} +12 -12
  475. package/dist-versioned/chunks/{chunk.RSHUGRW4.js → chunk.ORYQ3FH3.js} +3 -3
  476. package/dist-versioned/chunks/{chunk.3T4FDUQP.js → chunk.OTKB2VRV.js} +7 -7
  477. package/dist-versioned/chunks/{chunk.UE4M2UDJ.js → chunk.PL4OFYJO.js} +5 -5
  478. package/dist-versioned/chunks/{chunk.BVGYMFAR.js → chunk.PPWK76KX.js} +6 -6
  479. package/dist-versioned/chunks/{chunk.K3WOPEVW.js → chunk.QCQ7A7DT.js} +7 -7
  480. package/dist-versioned/chunks/{chunk.TANNWOC5.js → chunk.QFN5ALM7.js} +2 -2
  481. package/dist-versioned/chunks/{chunk.FTQNZE7U.js → chunk.QSLMGPBG.js} +4 -4
  482. package/dist-versioned/chunks/{chunk.EGZ57KTV.js → chunk.R2DOQKTM.js} +4 -4
  483. package/dist-versioned/chunks/{chunk.HC6LHKKU.js → chunk.R7ITC7NT.js} +6 -6
  484. package/dist-versioned/chunks/{chunk.XXOSIGGH.js → chunk.RCCVTEK5.js} +5 -5
  485. package/dist-versioned/chunks/{chunk.UAKAZZQ5.js → chunk.RGKPJPQL.js} +13 -13
  486. package/dist-versioned/chunks/{chunk.4LMIOELP.js → chunk.S2ESC563.js} +3 -3
  487. package/dist-versioned/chunks/{chunk.YV6TLAQG.js → chunk.S4XCK37S.js} +2 -2
  488. package/dist-versioned/chunks/{chunk.JE5DROBO.js → chunk.ST34ZDUW.js} +2 -2
  489. package/dist-versioned/chunks/{chunk.QMAANEK5.js → chunk.TF5BCX76.js} +14 -14
  490. package/dist-versioned/chunks/{chunk.F3WAQKPZ.js → chunk.TSXROBHJ.js} +5 -5
  491. package/dist-versioned/chunks/{chunk.XMHLFXNP.js → chunk.TZNS32YB.js} +2 -2
  492. package/dist-versioned/chunks/chunk.U2BN2DBY.js +4 -4
  493. package/dist-versioned/chunks/{chunk.XPXWMXEZ.js → chunk.UC3B2PYX.js} +5 -5
  494. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  495. package/dist-versioned/chunks/{chunk.LIQ3OEHJ.js → chunk.UXW72ASY.js} +6 -6
  496. package/dist-versioned/chunks/{chunk.DUPO2RAV.js → chunk.VWI6VX73.js} +4 -4
  497. package/dist-versioned/chunks/{chunk.76YV6AY5.js → chunk.WCXEVJIG.js} +9 -9
  498. package/dist-versioned/chunks/chunk.XCQC3F3H.js +3 -3
  499. package/dist-versioned/chunks/{chunk.3DZRUVDI.js → chunk.XMDDEC3A.js} +6 -6
  500. package/dist-versioned/chunks/{chunk.GUAIWPL4.js → chunk.XNSWXKES.js} +2 -2
  501. package/dist-versioned/chunks/{chunk.AUNSZRBQ.js → chunk.Y2FZWCLC.js} +2 -2
  502. package/dist-versioned/chunks/{chunk.IP6WZTQB.js → chunk.Y6FWMZCH.js} +3 -3
  503. package/dist-versioned/chunks/{chunk.VHCJ4ERI.js → chunk.YE7KLRVW.js} +3 -3
  504. package/dist-versioned/components/accordion/accordion.d.ts +1 -1
  505. package/dist-versioned/components/accordion/accordion.js +3 -3
  506. package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  507. package/dist-versioned/components/accordion-group/accordion-group.js +4 -4
  508. package/dist-versioned/components/animation/animation.d.ts +1 -1
  509. package/dist-versioned/components/animation/animation.js +2 -2
  510. package/dist-versioned/components/audio/audio.d.ts +1 -1
  511. package/dist-versioned/components/audio/audio.js +6 -6
  512. package/dist-versioned/components/badge/badge.d.ts +1 -1
  513. package/dist-versioned/components/badge/badge.js +2 -2
  514. package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
  515. package/dist-versioned/components/brandshape/brandshape.js +2 -2
  516. package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  517. package/dist-versioned/components/breadcrumb/breadcrumb.js +5 -5
  518. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  519. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.js +3 -3
  520. package/dist-versioned/components/button/button.d.ts +1 -1
  521. package/dist-versioned/components/button/button.js +3 -3
  522. package/dist-versioned/components/button-group/button-group.d.ts +1 -1
  523. package/dist-versioned/components/button-group/button-group.js +2 -2
  524. package/dist-versioned/components/carousel/carousel.d.ts +1 -1
  525. package/dist-versioned/components/carousel/carousel.js +4 -4
  526. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  527. package/dist-versioned/components/carousel-item/carousel-item.js +2 -2
  528. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  529. package/dist-versioned/components/checkbox/checkbox.js +3 -3
  530. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  531. package/dist-versioned/components/checkbox-group/checkbox-group.js +3 -3
  532. package/dist-versioned/components/combobox/combobox.d.ts +1 -1
  533. package/dist-versioned/components/combobox/combobox.js +5 -5
  534. package/dist-versioned/components/datepicker/datepicker.d.ts +1 -1
  535. package/dist-versioned/components/datepicker/datepicker.js +5 -5
  536. package/dist-versioned/components/dialog/dialog.d.ts +1 -1
  537. package/dist-versioned/components/dialog/dialog.js +5 -5
  538. package/dist-versioned/components/divider/divider.d.ts +1 -1
  539. package/dist-versioned/components/divider/divider.js +2 -2
  540. package/dist-versioned/components/drawer/drawer.d.ts +1 -1
  541. package/dist-versioned/components/drawer/drawer.js +5 -5
  542. package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
  543. package/dist-versioned/components/dropdown/dropdown.js +3 -3
  544. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  545. package/dist-versioned/components/expandable/expandable.js +3 -3
  546. package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
  547. package/dist-versioned/components/flipcard/flipcard.js +5 -5
  548. package/dist-versioned/components/header/header.d.ts +1 -1
  549. package/dist-versioned/components/header/header.js +2 -2
  550. package/dist-versioned/components/icon/icon.d.ts +1 -1
  551. package/dist-versioned/components/icon/icon.js +2 -2
  552. package/dist-versioned/components/include/include.d.ts +1 -1
  553. package/dist-versioned/components/include/include.js +2 -2
  554. package/dist-versioned/components/input/input.d.ts +1 -1
  555. package/dist-versioned/components/input/input.js +3 -3
  556. package/dist-versioned/components/link/link.d.ts +1 -1
  557. package/dist-versioned/components/link/link.js +2 -2
  558. package/dist-versioned/components/loader/loader.d.ts +1 -1
  559. package/dist-versioned/components/loader/loader.js +2 -2
  560. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  561. package/dist-versioned/components/map-marker/map-marker.js +2 -2
  562. package/dist-versioned/components/menu/menu.d.ts +1 -1
  563. package/dist-versioned/components/menu/menu.js +2 -2
  564. package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
  565. package/dist-versioned/components/menu-item/menu-item.js +2 -2
  566. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  567. package/dist-versioned/components/navigation-item/navigation-item.js +4 -4
  568. package/dist-versioned/components/notification/notification.d.ts +1 -1
  569. package/dist-versioned/components/notification/notification.js +5 -5
  570. package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
  571. package/dist-versioned/components/optgroup/optgroup.js +3 -3
  572. package/dist-versioned/components/option/option.d.ts +1 -1
  573. package/dist-versioned/components/option/option.js +3 -3
  574. package/dist-versioned/components/popup/popup.d.ts +1 -1
  575. package/dist-versioned/components/popup/popup.js +2 -2
  576. package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
  577. package/dist-versioned/components/quickfact/quickfact.js +4 -4
  578. package/dist-versioned/components/radio/radio.d.ts +1 -1
  579. package/dist-versioned/components/radio/radio.js +2 -2
  580. package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
  581. package/dist-versioned/components/radio-button/radio-button.js +2 -2
  582. package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
  583. package/dist-versioned/components/radio-group/radio-group.js +4 -4
  584. package/dist-versioned/components/range/range.d.ts +1 -1
  585. package/dist-versioned/components/range/range.js +2 -2
  586. package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
  587. package/dist-versioned/components/range-tick/range-tick.js +2 -2
  588. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  589. package/dist-versioned/components/scrollable/scrollable.js +3 -3
  590. package/dist-versioned/components/select/select.d.ts +1 -1
  591. package/dist-versioned/components/select/select.js +5 -5
  592. package/dist-versioned/components/skeleton/skeleton.d.ts +1 -1
  593. package/dist-versioned/components/skeleton/skeleton.js +2 -2
  594. package/dist-versioned/components/spinner/spinner.d.ts +1 -1
  595. package/dist-versioned/components/spinner/spinner.js +2 -2
  596. package/dist-versioned/components/step/step.d.ts +1 -1
  597. package/dist-versioned/components/step/step.js +3 -3
  598. package/dist-versioned/components/step-group/step-group.d.ts +1 -1
  599. package/dist-versioned/components/step-group/step-group.js +2 -2
  600. package/dist-versioned/components/switch/switch.d.ts +1 -1
  601. package/dist-versioned/components/switch/switch.js +2 -2
  602. package/dist-versioned/components/tab/tab.d.ts +1 -1
  603. package/dist-versioned/components/tab/tab.js +2 -2
  604. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  605. package/dist-versioned/components/tab-group/tab-group.js +3 -3
  606. package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  607. package/dist-versioned/components/tab-panel/tab-panel.js +2 -2
  608. package/dist-versioned/components/tag/tag.d.ts +1 -1
  609. package/dist-versioned/components/tag/tag.js +3 -3
  610. package/dist-versioned/components/teaser/teaser.js +2 -2
  611. package/dist-versioned/components/teaser-media/teaser-media.js +2 -2
  612. package/dist-versioned/components/textarea/textarea.d.ts +1 -1
  613. package/dist-versioned/components/textarea/textarea.js +3 -3
  614. package/dist-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  615. package/dist-versioned/components/theme-listener/theme-listener.js +2 -2
  616. package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
  617. package/dist-versioned/components/tooltip/tooltip.js +4 -4
  618. package/dist-versioned/components/video/video.d.ts +1 -1
  619. package/dist-versioned/components/video/video.js +3 -3
  620. package/dist-versioned/custom-elements.json +252 -244
  621. package/dist-versioned/internal/form.js +3 -3
  622. package/dist-versioned/solid-components.css +2 -2
  623. package/dist-versioned/solid-components.js +60 -60
  624. package/dist-versioned/utilities/autocomplete-config.js +2 -2
  625. package/dist-versioned/vscode.html-custom-data.json +95 -95
  626. package/dist-versioned/web-types.json +162 -158
  627. package/package.json +1 -1
  628. package/cdn/chunks/chunk.77FHAJLL.js +0 -26
  629. package/cdn/chunks/chunk.T6IL3V4O.js +0 -2
  630. package/cdn-versioned/chunks/chunk.77FHAJLL.js +0 -26
  631. package/cdn-versioned/chunks/chunk.T6IL3V4O.js +0 -2
  632. package/dist/chunks/chunk.AYA7WMLI.js +0 -93
  633. package/dist-versioned/chunks/chunk.AYA7WMLI.js +0 -93
@@ -1,2 +1,2 @@
1
- import{a as f}from"./chunk.CGQ2BPPZ.js";import{a as y}from"./chunk.IQPMMUES.js";import{a as r}from"./chunk.YFQFOIEM.js";import{a as g,b as d,c as o,d as u,h as p}from"./chunk.77FHAJLL.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-button ?inverted="${!!this.inverted}" part="play-button" size="lg" @click="${this.isPlaying?this.pauseAudio:this.playAudio}" aria-label="${this.isPlaying?this.localize.term("pauseAudio"):this.localize.term("playAudio")}" title="${this.isPlaying?this.localize.term("pauseAudio"):this.localize.term("playAudio")}" class="mb-4">${this.isPlaying?a`<slot name="pause-icon"><sd-icon class="text-xl" name="pause" library="_internal"></sd-icon></slot>`:a`<slot name="play-icon"><sd-icon class="text-xl" name="start" library="_internal"></sd-icon></slot>`}</sd-button><div class="flex items-center gap-6 justify-self-end">${this.hasSlotController.test("transcript")?a`<button class="${r("w-6 h-6 hover:cursor-pointer sd-interactive",this.inverted&&"sd-interactive--inverted")}" aria-label="${this.isTranscriptOpen?this.localize.term("transcriptIsOpen"):this.localize.term("openTranscript")}" @click="${this.showTranscript}" @keydown="${this.showTranscriptKeydown}" part="transcript"><sd-icon class="w-6 h-6" name="transcript" library="_internal"></sd-icon></button>`:null} <button class="${r("w-6 h-6 hover:cursor-pointer sd-interactive",this.inverted&&"sd-interactive--inverted")}" part="volume" aria-label="${this.isMuted?this.localize.term("unmute"):this.localize.term("mute")}" @click="${this.toggleMute}" @keydown="${this.toggleMuteKeydown}"><sd-icon class="w-6 h-6" name="${this.isMuted?"mute":"volume"}" library="_internal"></sd-icon></button></div></div>`,s=a`<div class="${r("w-full flex justify-between",this.reversedLayout?"mb-0.5":"mt-0.5",this.animated&&this.reversedLayout&&"absolute bottom-0 left-0 !mb-4")}" part="timestamps"><div class="${r("current-time text-sm",this.inverted?"text-primary-400":"sd-audio__timestamp-color-text")}">${this.currentTime}</div><div class="${r("current-time text-sm",this.inverted?"text-primary-400":"sd-audio__timestamp-color-text")}">${this.duration}</div></div>`;return a`<div class="${r("w-full flex relative",this.reversedLayout?"flex-col-reverse":"flex-col")}" aria-label="${this.localize.term("audioPlayer")}" part="audio-player"><slot @slotchange="${this.updateAudioDuration}"></slot>${!this.animated||this.animated&&this.reversedLayout?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-range part="progress-slider" tooltip="hidden" min="0" max="100" step="0.001" label="${this.localize.term("seekBar")}" @mousedown="${this.handleThumbGrab}" @touchstart="${this.handleThumbGrab}" @mouseup="${this.handleThumbRelease}" @touchend="${this.handleThumbRelease}" @sd-input="${this.handleAudioProgress}" @keydown="${this.handleAudioProgressKeydown}"></sd-range></div>${this.hasSlotController.test("transcript")?a`<sd-drawer><slot name="transcript"></slot></sd-drawer>`:null} ${!this.hideTimestamps&&(!this.animated||!this.reversedLayout)?s:null}</div><sd-theme-listener></sd-theme-listener>`}};t.styles=[...p.styles,v`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as f}from"./chunk.CGQ2BPPZ.js";import{a as y}from"./chunk.IQPMMUES.js";import{a as r}from"./chunk.YFQFOIEM.js";import{a as g,b as d,c as o,d as u,h as p}from"./chunk.SORGILA2.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-button ?inverted="${!!this.inverted}" part="play-button" size="lg" @click="${this.isPlaying?this.pauseAudio:this.playAudio}" aria-label="${this.isPlaying?this.localize.term("pauseAudio"):this.localize.term("playAudio")}" title="${this.isPlaying?this.localize.term("pauseAudio"):this.localize.term("playAudio")}" class="mb-4">${this.isPlaying?a`<slot name="pause-icon"><sd-icon class="text-xl" name="pause" library="_internal"></sd-icon></slot>`:a`<slot name="play-icon"><sd-icon class="text-xl" name="start" library="_internal"></sd-icon></slot>`}</sd-button><div class="flex items-center gap-6 justify-self-end">${this.hasSlotController.test("transcript")?a`<button class="${r("w-6 h-6 hover:cursor-pointer sd-interactive",this.inverted&&"sd-interactive--inverted")}" aria-label="${this.isTranscriptOpen?this.localize.term("transcriptIsOpen"):this.localize.term("openTranscript")}" @click="${this.showTranscript}" @keydown="${this.showTranscriptKeydown}" part="transcript"><sd-icon class="w-6 h-6" name="transcript" library="_internal"></sd-icon></button>`:null} <button class="${r("w-6 h-6 hover:cursor-pointer sd-interactive",this.inverted&&"sd-interactive--inverted")}" part="volume" aria-label="${this.isMuted?this.localize.term("unmute"):this.localize.term("mute")}" @click="${this.toggleMute}" @keydown="${this.toggleMuteKeydown}"><sd-icon class="w-6 h-6" name="${this.isMuted?"mute":"volume"}" library="_internal"></sd-icon></button></div></div>`,s=a`<div class="${r("w-full flex justify-between",this.reversedLayout?"mb-0.5":"mt-0.5",this.animated&&this.reversedLayout&&"absolute bottom-0 left-0 !mb-4")}" part="timestamps"><div class="${r("current-time text-sm",this.inverted?"text-primary-400":"sd-audio__timestamp-color-text")}">${this.currentTime}</div><div class="${r("current-time text-sm",this.inverted?"text-primary-400":"sd-audio__timestamp-color-text")}">${this.duration}</div></div>`;return a`<div class="${r("w-full flex relative",this.reversedLayout?"flex-col-reverse":"flex-col")}" aria-label="${this.localize.term("audioPlayer")}" part="audio-player"><slot @slotchange="${this.updateAudioDuration}"></slot>${!this.animated||this.animated&&this.reversedLayout?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-range part="progress-slider" tooltip="hidden" min="0" max="100" step="0.001" label="${this.localize.term("seekBar")}" @mousedown="${this.handleThumbGrab}" @touchstart="${this.handleThumbGrab}" @mouseup="${this.handleThumbRelease}" @touchend="${this.handleThumbRelease}" @sd-input="${this.handleAudioProgress}" @keydown="${this.handleAudioProgressKeydown}"></sd-range></div>${this.hasSlotController.test("transcript")?a`<sd-drawer><slot name="transcript"></slot></sd-drawer>`:null} ${!this.hideTimestamps&&(!this.animated||!this.reversedLayout)?s:null}</div><sd-theme-listener></sd-theme-listener>`}};t.styles=[...p.styles,v`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  sd-button::part(base){display:flex;height:var(--sd-spacing-12);width:var(--sd-spacing-12);align-items:center;justify-content:center;border-radius:var(--sd-radius-full)}sd-button::part(motion-wrapper){border-radius:var(--sd-radius-full)}sd-button::part(label){display:flex;flex-grow:0;align-items:center}sd-range::part(form-control-label){display:none}:host([inverted]) sd-range::part(thumb){outline-color:var(--color-white,#fff);background-color:rgba(var(--sd-color-border-white,rgba(var(--sd-color-white))))}:host([animated]) sd-range::part(track){background-color:transparent}:host([inverted]:not([animated])) sd-range::part(track){background-color:rgba(var(--sd-color-border-primary-400,rgba(var(--sd-color-primary-400))))}:host([inverted]:not([animated])) sd-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-drawer")],t.prototype,"drawer",2),i([u("canvas")],t.prototype,"canvas",2),t=i([g("sd-audio")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as $}from"./chunk.VYBQ3X2B.js";import{a as C}from"./chunk.N3WG3NAL.js";import{b as g}from"./chunk.JS2HQ2N4.js";import{a as r}from"./chunk.PV6UYBMY.js";import{a as x}from"./chunk.CGQ2BPPZ.js";import{a as s}from"./chunk.YFQFOIEM.js";import{a as u}from"./chunk.NYKJXI3Q.js";import{a as y,b as i,c as d,d as p,h as m}from"./chunk.77FHAJLL.js";import{b as v,e as n}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends m{constructor(){super(...arguments);this.formControlController=new g(this);this.hasSlotController=new x(this,"help-text","label");this.hasFocus=!1;this.showValidStyle=!1;this.showInvalidStyle=!1;this.title="";this.name="";this.value="";this.size="lg";this.label="";this.helpText="";this.placeholder="";this.rows=4;this.disabled=!1;this.visuallyDisabled=!1;this.readonly=!1;this.form="";this.required=!1;this.styleOnValid=!1;this.spellcheck=!0;this.defaultValue=""}get validity(){return this.textarea.validity}get validationMessage(){return this.textarea.validationMessage}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.setTextareaHeight()})}firstUpdated(){this.formControlController.updateValidity()}disconnectedCallback(){super.disconnectedCallback()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleChange(){this.value=this.textarea.value,this.setTextareaHeight(),this.emit("sd-change")}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleInput(){if(this.visuallyDisabled){this.textarea.value=this.value;return}this.value=this.textarea.value,this.formControlController.updateValidity(),this.emit("sd-input")}handleInvalid(l){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(l),this.invalidMessage.textContent=l.target.validationMessage}setTextareaHeight(){this.textarea.style.height=void 0}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleRowsChange(){this.setTextareaHeight()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity(),this.setTextareaHeight()}focus(l){this.textarea.focus(l)}blur(){this.textarea.blur()}select(){this.textarea.select()}scrollPosition(l){if(l){typeof l.top=="number"&&(this.textarea.scrollTop=l.top),typeof l.left=="number"&&(this.textarea.scrollLeft=l.left);return}return{top:this.textarea.scrollTop,left:this.textarea.scrollTop}}setSelectionRange(l,a,o="none"){this.textarea.setSelectionRange(l,a,o)}setRangeText(l,a,o,c){this.textarea.setRangeText(l,a,o,c),this.value!==this.textarea.value&&(this.value=this.textarea.value),this.value!==this.textarea.value&&(this.value=this.textarea.value,this.setTextareaHeight())}checkValidity(){var l;return(l=this.textarea)==null?void 0:l.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.textarea.reportValidity()}setCustomValidity(l){this.textarea.setCustomValidity(l),this.formControlController.updateValidity()}render(){let l={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text"),tooltip:this.hasSlotController.test("tooltip")},a=this.label?!0:!!l.label,o=this.helpText?!0:!!l.helpText,c=!!l.tooltip,h=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.readonly?"readonly":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",f=this.size==="sm"?"text-sm":"text-base",b={sm:"text-base top-1",md:"text-lg top-2",lg:"text-xl top-2"}[this.size];return n`<div part="form-control" class="flex flex-col h-full text-left">${a||c?n`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${s(a?"inline-block form-control-color-text":"hidden",f)}" for="input" aria-hidden="${a?"false":"true"}"><slot name="label">${this.label}</slot></label> ${l.tooltip?n`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${s("relative h-full w-full",this.disabled&&"cursor-not-allowed")}"><div part="border" class="${s("absolute w-full h-full pointer-events-none border rounded-default transition-[border] duration-medium ease-in-out",{disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",readonly:"form-control-color-border",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"form-control-color-border"}[h])}"></div><div part="base" class="${s("textarea h-full flex items-top rounded-default group transition-colors duration-medium hover:duration-fast ease-in-out",{sm:"textarea-sm",md:"textarea-md",lg:"textarea-lg"}[this.size],!this.disabled&&!this.readonly&&!this.visuallyDisabled?"hover:bg-neutral-200":"",this.readonly?"bg-neutral-100":"bg-white",h==="disabled"||h==="visuallyDisabled"?"text-neutral-500":"form-control-color-text",["invalid","activeInvalid"].includes(h)&&"form-control--invalid-color-background")}"><textarea part="textarea" id="input" class="${s("ps-4 flex-grow focus:outline-none bg-transparent placeholder:text-neutral-700 resize-none group-has-[sd-icon]:pe-8",{sm:"py-1",md:"py-1",lg:"py-2"}[this.size],this.disabled&&"cursor-not-allowed",f)}" title="${this.title}" name="${r(this.name)}" .value="${$(this.value)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" ?visually-disabled="${this.visuallyDisabled}" placeholder="${r(this.placeholder)}" minlength="${r(this.minlength)}" maxlength="${r(this.maxlength)}" rows="${r(this.rows)}" autocapitalize="${r(this.autocapitalize)}" autocorrect="${r(this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${r(this.spellcheck)}" enterkeyhint="${r(this.enterkeyhint)}" inputmode="${r(this.inputmode)}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" aria-disabled="${this.disabled||this.visuallyDisabled}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"></textarea> ${this.showInvalidStyle?n`<sd-icon class="${s("text-error absolute right-4 pointer-events-none",b)}" library="_internal" name="risk" part="invalid-icon"></sd-icon>`:""} ${this.styleOnValid&&this.showValidStyle?n`<sd-icon class="${s("text-success absolute right-4 pointer-events-none",b)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-icon>`:""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${s("text-sm text-neutral-700 mt-1",o&&!this.showInvalidStyle?"block":"hidden")}" aria-hidden="${!o||this.showInvalidStyle}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`}};t.styles=[...m.styles,v`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as $}from"./chunk.VYBQ3X2B.js";import{a as C}from"./chunk.N3WG3NAL.js";import{b as g}from"./chunk.JS2HQ2N4.js";import{a as r}from"./chunk.PV6UYBMY.js";import{a as x}from"./chunk.CGQ2BPPZ.js";import{a as s}from"./chunk.YFQFOIEM.js";import{a as u}from"./chunk.NYKJXI3Q.js";import{a as y,b as i,c as d,d as p,h as m}from"./chunk.SORGILA2.js";import{b as v,e as n}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends m{constructor(){super(...arguments);this.formControlController=new g(this);this.hasSlotController=new x(this,"help-text","label");this.hasFocus=!1;this.showValidStyle=!1;this.showInvalidStyle=!1;this.title="";this.name="";this.value="";this.size="lg";this.label="";this.helpText="";this.placeholder="";this.rows=4;this.disabled=!1;this.visuallyDisabled=!1;this.readonly=!1;this.form="";this.required=!1;this.styleOnValid=!1;this.spellcheck=!0;this.defaultValue=""}get validity(){return this.textarea.validity}get validationMessage(){return this.textarea.validationMessage}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.setTextareaHeight()})}firstUpdated(){this.formControlController.updateValidity()}disconnectedCallback(){super.disconnectedCallback()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleChange(){this.value=this.textarea.value,this.setTextareaHeight(),this.emit("sd-change")}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleInput(){if(this.visuallyDisabled){this.textarea.value=this.value;return}this.value=this.textarea.value,this.formControlController.updateValidity(),this.emit("sd-input")}handleInvalid(l){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(l),this.invalidMessage.textContent=l.target.validationMessage}setTextareaHeight(){this.textarea.style.height=void 0}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleRowsChange(){this.setTextareaHeight()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity(),this.setTextareaHeight()}focus(l){this.textarea.focus(l)}blur(){this.textarea.blur()}select(){this.textarea.select()}scrollPosition(l){if(l){typeof l.top=="number"&&(this.textarea.scrollTop=l.top),typeof l.left=="number"&&(this.textarea.scrollLeft=l.left);return}return{top:this.textarea.scrollTop,left:this.textarea.scrollTop}}setSelectionRange(l,a,o="none"){this.textarea.setSelectionRange(l,a,o)}setRangeText(l,a,o,c){this.textarea.setRangeText(l,a,o,c),this.value!==this.textarea.value&&(this.value=this.textarea.value),this.value!==this.textarea.value&&(this.value=this.textarea.value,this.setTextareaHeight())}checkValidity(){var l;return(l=this.textarea)==null?void 0:l.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.textarea.reportValidity()}setCustomValidity(l){this.textarea.setCustomValidity(l),this.formControlController.updateValidity()}render(){let l={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text"),tooltip:this.hasSlotController.test("tooltip")},a=this.label?!0:!!l.label,o=this.helpText?!0:!!l.helpText,c=!!l.tooltip,h=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.readonly?"readonly":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",f=this.size==="sm"?"text-sm":"text-base",b={sm:"text-base top-1",md:"text-lg top-2",lg:"text-xl top-2"}[this.size];return n`<div part="form-control" class="flex flex-col h-full text-left">${a||c?n`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${s(a?"inline-block form-control-color-text":"hidden",f)}" for="input" aria-hidden="${a?"false":"true"}"><slot name="label">${this.label}</slot></label> ${l.tooltip?n`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${s("relative h-full w-full",this.disabled&&"cursor-not-allowed")}"><div part="border" class="${s("absolute w-full h-full pointer-events-none border rounded-default transition-[border] duration-medium ease-in-out",{disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",readonly:"form-control-color-border",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"form-control-color-border"}[h])}"></div><div part="base" class="${s("textarea h-full flex items-top rounded-default group transition-colors duration-medium hover:duration-fast ease-in-out",{sm:"textarea-sm",md:"textarea-md",lg:"textarea-lg"}[this.size],!this.disabled&&!this.readonly&&!this.visuallyDisabled?"hover:bg-neutral-200":"",this.readonly?"bg-neutral-100":"bg-white",h==="disabled"||h==="visuallyDisabled"?"text-neutral-500":"form-control-color-text",["invalid","activeInvalid"].includes(h)&&"form-control--invalid-color-background")}"><textarea part="textarea" id="input" class="${s("ps-4 flex-grow focus:outline-none bg-transparent placeholder:text-neutral-700 resize-none group-has-[sd-icon]:pe-8",{sm:"py-1",md:"py-1",lg:"py-2"}[this.size],this.disabled&&"cursor-not-allowed",f)}" title="${this.title}" name="${r(this.name)}" .value="${$(this.value)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" ?visually-disabled="${this.visuallyDisabled}" placeholder="${r(this.placeholder)}" minlength="${r(this.minlength)}" maxlength="${r(this.maxlength)}" rows="${r(this.rows)}" autocapitalize="${r(this.autocapitalize)}" autocorrect="${r(this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${r(this.spellcheck)}" enterkeyhint="${r(this.enterkeyhint)}" inputmode="${r(this.inputmode)}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" aria-disabled="${this.disabled||this.visuallyDisabled}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"></textarea> ${this.showInvalidStyle?n`<sd-icon class="${s("text-error absolute right-4 pointer-events-none",b)}" library="_internal" name="risk" part="invalid-icon"></sd-icon>`:""} ${this.styleOnValid&&this.showValidStyle?n`<sd-icon class="${s("text-success absolute right-4 pointer-events-none",b)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-icon>`:""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${s("text-sm text-neutral-700 mt-1",o&&!this.showInvalidStyle?"block":"hidden")}" aria-hidden="${!o||this.showInvalidStyle}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`}};t.styles=[...m.styles,v`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{display:block;height:100%}:host textarea{scrollbar-gutter:stable}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{color:rgba(var(--sd-color-text-neutral-500))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{color:rgba(var(--sd-color-text-neutral-500))}:host([required]) #label::after{content:' *'}:host([visually-disabled]) textarea{caret-color:transparent}.no-scrollbar::-webkit-scrollbar{display:none}`],e([p("#input")],t.prototype,"textarea",2),e([p("#invalid-message")],t.prototype,"invalidMessage",2),e([d()],t.prototype,"hasFocus",2),e([d()],t.prototype,"showValidStyle",2),e([d()],t.prototype,"showInvalidStyle",2),e([i({type:String,reflect:!0})],t.prototype,"title",2),e([i({type:String,reflect:!0})],t.prototype,"name",2),e([i()],t.prototype,"value",2),e([i({type:String,reflect:!0})],t.prototype,"size",2),e([i({type:String,reflect:!0})],t.prototype,"label",2),e([i({type:String,attribute:"help-text",reflect:!0})],t.prototype,"helpText",2),e([i({type:String,reflect:!0})],t.prototype,"placeholder",2),e([i({type:Number,reflect:!0})],t.prototype,"rows",2),e([i({type:Boolean,reflect:!0})],t.prototype,"disabled",2),e([i({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),e([i({type:Boolean,reflect:!0})],t.prototype,"readonly",2),e([i({type:String,reflect:!0})],t.prototype,"form",2),e([i({type:Boolean,reflect:!0})],t.prototype,"required",2),e([i({type:Number,reflect:!0})],t.prototype,"minlength",2),e([i({type:Number,reflect:!0})],t.prototype,"maxlength",2),e([i({type:String,reflect:!0})],t.prototype,"autocapitalize",2),e([i({type:String,reflect:!0})],t.prototype,"autocorrect",2),e([i({reflect:!0})],t.prototype,"autocomplete",2),e([i({type:Boolean,reflect:!0})],t.prototype,"autofocus",2),e([i({type:String,reflect:!0})],t.prototype,"enterkeyhint",2),e([i({type:Boolean,reflect:!0,attribute:"style-on-valid"})],t.prototype,"styleOnValid",2),e([i({type:Boolean,converter:{fromAttribute:l=>!(!l||l==="false"),toAttribute:l=>l?"true":"false"}})],t.prototype,"spellcheck",2),e([i({type:String,reflect:!0})],t.prototype,"inputmode",2),e([C()],t.prototype,"defaultValue",2),e([u("disabled",{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),e([u("rows",{waitUntilFirstUpdate:!0})],t.prototype,"handleRowsChange",1),e([u("value",{waitUntilFirstUpdate:!0})],t.prototype,"handleValueChange",1),t=e([y("sd-textarea")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as u}from"./chunk.CGQ2BPPZ.js";import{a as i}from"./chunk.YFQFOIEM.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.77FHAJLL.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-icon part="checked-icon" class="text-white w-3 h-3" library="_internal" name="status-check"></sd-icon>`:""}</span>`:""} ${s.left?l`<slot name="left" part="left" class="inline-flex mr-2"></slot>`:""}<slot part="label" class="inline-block flex-grow" @slotchange="${this.handleDefaultSlotChange}"></slot>${s.right?l`<slot name="right" part="right" class="inline-flex ml-2"></slot>`:""}</div>`}};e.styles=[...n.styles,c`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as u}from"./chunk.CGQ2BPPZ.js";import{a as i}from"./chunk.YFQFOIEM.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.SORGILA2.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-icon part="checked-icon" class="text-white w-3 h-3" library="_internal" name="status-check"></sd-icon>`:""}</span>`:""} ${s.left?l`<slot name="left" part="left" class="inline-flex mr-2"></slot>`:""}<slot part="label" class="inline-block flex-grow" @slotchange="${this.handleDefaultSlotChange}"></slot>${s.right?l`<slot name="right" part="right" class="inline-flex ml-2"></slot>`:""}</div>`}};e.styles=[...n.styles,c`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{position:relative;display:block;width:100%;--tw-outline-style:none!important;outline-style:none!important}.focus-outline-offset{outline-offset:-2px}`],t([d('[part="base"]')],e.prototype,"defaultSlot",2),t([r()],e.prototype,"current",2),t([r()],e.prototype,"selected",2),t([r()],e.prototype,"hasHover",2),t([r()],e.prototype,"isKeyboardFocus",2),t([a({type:String,reflect:!0})],e.prototype,"size",2),t([a({type:Boolean,reflect:!0})],e.prototype,"checkbox",2),t([a({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([a({type:String,reflect:!0})],e.prototype,"value",2),t([o("disabled")],e.prototype,"handleDisabledChange",1),t([o("selected")],e.prototype,"handleSelectedChange",1),t([o("value")],e.prototype,"handleValueChange",1),e=t([h("sd-option")],e);export{e as a};
@@ -1,4 +1,4 @@
1
- import{a as f}from"./chunk.VYBQ3X2B.js";import{a as b}from"./chunk.N3WG3NAL.js";import{b as u}from"./chunk.JS2HQ2N4.js";import{a as m}from"./chunk.PV6UYBMY.js";import{a as p}from"./chunk.CGQ2BPPZ.js";import{a as l}from"./chunk.YFQFOIEM.js";import{a}from"./chunk.NYKJXI3Q.js";import{a as c,b as o,c as h,d as s,h as n}from"./chunk.77FHAJLL.js";import{b as d,e as i}from"./chunk.763RLJEK.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends n{constructor(){super(...arguments);this.hasSlotController=new p(this,"tooltip");this.formControlController=new u(this,{value:r=>r.checked?r.value||"on":void 0,defaultValue:r=>r.defaultChecked,setValue:(r,v)=>r.checked=v});this.showInvalidStyle=!1;this.title="";this.name="";this.disabled=!1;this.checked=!1;this.defaultChecked=!1;this.form="";this.required=!1}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleClick(){this.checked=!this.checked,this.emit("sd-change")}handleBlur(){this.emit("sd-blur")}handleInput(){this.emit("sd-input")}handleInvalid(r){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(r),this.invalidMessage.textContent=r.target.validationMessage}handleFocus(){this.emit("sd-focus")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false"),this.formControlController.setValidity(this.disabled)}handleStateChange(){this.input.checked=this.checked,this.formControlController.updateValidity()}click(){this.input.click()}focus(r){this.input.focus(r)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(r){this.input.setCustomValidity(r),this.formControlController.updateValidity()}render(){return i`<div class="flex flex-row items-center gap-2"><label part="base" class="${l("group flex items-center text-base leading-normal text-black cursor-pointer",this.disabled&&"hover:cursor-not-allowed")}"><input id="input" class="peer absolute opacity-0 p-0 m-0 pointer-events-none" type="checkbox" role="switch" title="${this.title}" name="${this.name}" value="${m(this.value)}" .checked="${f(this.checked)}" .disabled="${this.disabled}" .required="${this.required}" aria-checked="${this.checked?"true":"false"}" aria-invalid="${this.showInvalidStyle}" aria-describedby="invalid-message" @click="${this.handleClick}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @blur="${this.handleBlur}" @focus="${this.handleFocus}"> <span id="control" part="control ${this.checked?" control--checked":"control--unchecked"}" class="${l(`relative flex flex-initial items-center justify-center border rounded-full h-4 w-8 transition-colors ease duration-100
1
+ import{a as f}from"./chunk.VYBQ3X2B.js";import{a as b}from"./chunk.N3WG3NAL.js";import{b as u}from"./chunk.JS2HQ2N4.js";import{a as m}from"./chunk.PV6UYBMY.js";import{a as p}from"./chunk.CGQ2BPPZ.js";import{a as l}from"./chunk.YFQFOIEM.js";import{a}from"./chunk.NYKJXI3Q.js";import{a as c,b as o,c as h,d as s,h as n}from"./chunk.SORGILA2.js";import{b as d,e as i}from"./chunk.763RLJEK.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends n{constructor(){super(...arguments);this.hasSlotController=new p(this,"tooltip");this.formControlController=new u(this,{value:r=>r.checked?r.value||"on":void 0,defaultValue:r=>r.defaultChecked,setValue:(r,v)=>r.checked=v});this.showInvalidStyle=!1;this.title="";this.name="";this.disabled=!1;this.checked=!1;this.defaultChecked=!1;this.form="";this.required=!1}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleClick(){this.checked=!this.checked,this.emit("sd-change")}handleBlur(){this.emit("sd-blur")}handleInput(){this.emit("sd-input")}handleInvalid(r){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(r),this.invalidMessage.textContent=r.target.validationMessage}handleFocus(){this.emit("sd-focus")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false"),this.formControlController.setValidity(this.disabled)}handleStateChange(){this.input.checked=this.checked,this.formControlController.updateValidity()}click(){this.input.click()}focus(r){this.input.focus(r)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(r){this.input.setCustomValidity(r),this.formControlController.updateValidity()}render(){return i`<div class="flex flex-row items-center gap-2"><label part="base" class="${l("group flex items-center text-base leading-normal text-black cursor-pointer",this.disabled&&"hover:cursor-not-allowed")}"><input id="input" class="peer absolute opacity-0 p-0 m-0 pointer-events-none" type="checkbox" role="switch" title="${this.title}" name="${this.name}" value="${m(this.value)}" .checked="${f(this.checked)}" .disabled="${this.disabled}" .required="${this.required}" aria-checked="${this.checked?"true":"false"}" aria-invalid="${this.showInvalidStyle}" aria-describedby="invalid-message" @click="${this.handleClick}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @blur="${this.handleBlur}" @focus="${this.handleFocus}"> <span id="control" part="control ${this.checked?" control--checked":"control--unchecked"}" class="${l(`relative flex flex-initial items-center justify-center border rounded-full h-4 w-8 transition-colors ease duration-100
2
2
  peer-focus-visible:outline peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2
3
3
  peer-focus-visible:outline-primary transition-colors ease-in-out duration-medium hover:duration-fast`,this.disabled&&this.checked?"bg-neutral-500":this.disabled?"border-neutral-500":this.showInvalidStyle?this.checked?"border-error bg-error hover:bg-error-400 hover:border-error-400 group-hover:border-error-400 group-hover:bg-error-400":"border-error bg-white hover:border-error-400 hover:bg-white group-hover:border-error-400 group-hover:bg-white":this.checked?"border-accent hover:sd-switch--checked--hover-color-background bg-accent hover:border-accent-550 group-hover:sd-switch--checked--hover-color-background":"sd-switch--unchecked-color-border bg-white hover:bg-neutral-200 group-hover:bg-neutral-200")}"><span id="thumb" part="thumb" class="${l("w-2.5 h-2.5 rounded-full transition[transform,colors] ease-in-out duration-medium",this.disabled&&this.checked?"translate-x-2":this.disabled?"-translate-x-2":this.showInvalidStyle?this.checked?"translate-x-2":"bg-error -translate-x-2 hover:bg-error-400 hover:border-error-400 group-hover:border-error-400 group-hover:bg-error-400":this.checked?"translate-x-2":"-translate-x-2 sd-switch--unchecked__icon-color-background")}"></span> </span><span part="label" id="label" class="${l("select-none inline-block ml-2",this.disabled?"text-neutral-500":this.showInvalidStyle?"text-error":"sd-switch-color-text")}"><slot></slot></span></label> ${this.hasSlotController.test("tooltip")?i`<slot name="tooltip"></slot>`:null}</div>${this.formControlController.renderInvalidMessage()}`}};e.styles=[...n.styles,d`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
4
4
  :host{display:block;width:-moz-max-content;width:max-content}:host(:focus-visible){--tw-outline-style:none;outline-style:none}:host([required]) #label::after{content:' *'}:host([disabled][checked]) #control{border-color:rgba(var(--sd-color-background-neutral-500,rgba(var(--sd-color-neutral-500))))}:host([checked]) [part=thumb]{background-color:rgba(var(--sd-color-icon-fill-white,rgba(var(--sd-color-white))))}:host([disabled]:not([checked])) [part=thumb]{background-color:rgba(var(--sd-color-icon-fill-neutral-500,rgba(var(--sd-color-neutral-500))))}`],t([s("input")],e.prototype,"input",2),t([s("#invalid-message")],e.prototype,"invalidMessage",2),t([h()],e.prototype,"showInvalidStyle",2),t([o({type:String,reflect:!0})],e.prototype,"title",2),t([o({type:String,reflect:!0})],e.prototype,"name",2),t([o()],e.prototype,"value",2),t([o({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([o({type:Boolean,reflect:!0})],e.prototype,"checked",2),t([b("checked")],e.prototype,"defaultChecked",2),t([o({reflect:!0})],e.prototype,"form",2),t([o({type:Boolean,reflect:!0})],e.prototype,"required",2),t([a("disabled",{waitUntilFirstUpdate:!0})],e.prototype,"handleDisabledChange",1),t([a(["checked"],{waitUntilFirstUpdate:!0})],e.prototype,"handleStateChange",1),e=t([c("sd-switch")],e);export{e as a};
@@ -1,2 +1,2 @@
1
- import{a as p}from"./chunk.CGQ2BPPZ.js";import{a}from"./chunk.YFQFOIEM.js";import{a as r}from"./chunk.NYKJXI3Q.js";import{a as d,b as o,h as n}from"./chunk.77FHAJLL.js";import{b as m,e as s}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends n{constructor(){super(...arguments);this.hasSlotController=new p(this,"label","help-text");this.size="lg";this.orientation="vertical";this.label="";this.helpText=""}getAllCheckboxes(){return[...this.querySelectorAll("sd-checkbox")]}async syncCheckboxElements(){let i=this.getAllCheckboxes();await Promise.all(i.map(async l=>{await l.updateComplete,l.size=this.size}))}syncCheckboxes(){customElements.get("sd-checkbox")?this.syncCheckboxElements():customElements.whenDefined("sd-checkbox").then(()=>this.syncCheckboxes())}handleSizeChange(){this.syncCheckboxes()}handleInvalid(){this.syncCheckboxes()}render(){let i=this.hasSlotController.test("label"),l=this.label?!0:i,b=this.hasSlotController.test("help-text"),c=this.helpText?!0:b,x=s`<slot @slotchange="${this.syncCheckboxes}"></slot>`,h=this.hasSlotController.test("tooltip");return s`<fieldset part="form-control" class="${a("border-0 p-0 m-0",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}" role="group" aria-labelledby="label">${l||h?s`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${a("p-0 font-bold leading-normal text-black",l?"flex":"hidden")}" aria-hidden="${l?"false":"true"}"><slot name="label">${this.label}</slot></label> ${h?s`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${a({vertical:"flex flex-col",horizontal:"flex flex-row"}[this.orientation])}">${x}</div></fieldset><slot name="help-text" part="form-control-help-text" id="help-text" class="${a("text-sm text-neutral-700 mt-2",c?"block":"hidden")}" aria-hidden="${!c}">${this.helpText}</slot>`}};t.styles=[...n.styles,m`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as p}from"./chunk.CGQ2BPPZ.js";import{a}from"./chunk.YFQFOIEM.js";import{a as r}from"./chunk.NYKJXI3Q.js";import{a as d,b as o,h as n}from"./chunk.SORGILA2.js";import{b as m,e as s}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends n{constructor(){super(...arguments);this.hasSlotController=new p(this,"label","help-text");this.size="lg";this.orientation="vertical";this.label="";this.helpText=""}getAllCheckboxes(){return[...this.querySelectorAll("sd-checkbox")]}async syncCheckboxElements(){let i=this.getAllCheckboxes();await Promise.all(i.map(async l=>{await l.updateComplete,l.size=this.size}))}syncCheckboxes(){customElements.get("sd-checkbox")?this.syncCheckboxElements():customElements.whenDefined("sd-checkbox").then(()=>this.syncCheckboxes())}handleSizeChange(){this.syncCheckboxes()}handleInvalid(){this.syncCheckboxes()}render(){let i=this.hasSlotController.test("label"),l=this.label?!0:i,b=this.hasSlotController.test("help-text"),c=this.helpText?!0:b,x=s`<slot @slotchange="${this.syncCheckboxes}"></slot>`,h=this.hasSlotController.test("tooltip");return s`<fieldset part="form-control" class="${a("border-0 p-0 m-0",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}" role="group" aria-labelledby="label">${l||h?s`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${a("p-0 font-bold leading-normal text-black",l?"flex":"hidden")}" aria-hidden="${l?"false":"true"}"><slot name="label">${this.label}</slot></label> ${h?s`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${a({vertical:"flex flex-col",horizontal:"flex flex-row"}[this.orientation])}">${x}</div></fieldset><slot name="help-text" part="form-control-help-text" id="help-text" class="${a("text-sm text-neutral-700 mt-2",c?"block":"hidden")}" aria-hidden="${!c}">${this.helpText}</slot>`}};t.styles=[...n.styles,m`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{display:block}:host([orientation=vertical]) ::slotted(sd-checkbox){margin-bottom:var(--sd-spacing-2);display:flex}:host([orientation=vertical]) ::slotted(sd-checkbox:last-of-type){margin-bottom:calc(var(--sd-spacing-1) * 0)}:host([orientation=horizontal]) ::slotted(sd-checkbox){margin-right:var(--sd-spacing-6)}:host([orientation=horizontal]) ::slotted(sd-checkbox:last-of-type){margin-right:calc(var(--sd-spacing-1) * 0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-checkbox){margin-right:var(--sd-spacing-4)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-checkbox:last-of-type){margin-right:calc(var(--sd-spacing-1) * 0)}`],e([o({type:String,reflect:!0})],t.prototype,"size",2),e([o({type:String,reflect:!0})],t.prototype,"orientation",2),e([o({type:String,reflect:!0})],t.prototype,"label",2),e([o({type:String,attribute:"help-text",reflect:!0})],t.prototype,"helpText",2),e([r("size",{waitUntilFirstUpdate:!0})],t.prototype,"handleSizeChange",1),e([r("invalid",{waitUntilFirstUpdate:!0})],t.prototype,"handleInvalid",1),t=e([d("sd-checkbox-group")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as b}from"./chunk.CDP46OS4.js";import{a as d,b as u}from"./chunk.CGQ2BPPZ.js";import{a as l}from"./chunk.YFQFOIEM.js";import{a as o}from"./chunk.NYKJXI3Q.js";import{a as h,b as a,d as r,h as n}from"./chunk.77FHAJLL.js";import{b as c,e as i}from"./chunk.763RLJEK.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends n{constructor(){super(...arguments);this.type="normal";this.checked=!1;this.disabled=!1;this.value="";this.chevron=!1;this.hasSlotController=new d(this,"submenu");this.submenuController=new b(this,this.hasSlotController);this.handleHostClick=s=>{this.disabled&&(s.preventDefault(),s.stopImmediatePropagation())};this.handleMouseOver=s=>{this.focus(),s.stopPropagation()}}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleHostClick),this.addEventListener("mouseover",this.handleMouseOver)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleHostClick),this.removeEventListener("mouseover",this.handleMouseOver)}handleDefaultSlotChange(){let s=this.getTextLabel();if(typeof this.cachedTextLabel=="undefined"){this.cachedTextLabel=s;return}s!==this.cachedTextLabel&&(this.cachedTextLabel=s,this.emit("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}handleCheckedChange(){if(this.checked&&this.type!=="checkbox"){this.checked=!1,console.error('The checked attribute can only be used on menu items with type="checkbox"',this);return}this.type==="checkbox"?this.setAttribute("aria-checked",this.checked?"true":"false"):this.removeAttribute("aria-checked")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false"),this.setAttribute("tabindex",this.disabled?"-1":"0")}handleTypeChange(){this.type==="checkbox"?(this.setAttribute("role","menuitemcheckbox"),this.setAttribute("aria-checked",this.checked?"true":"false")):(this.setAttribute("role","menuitem"),this.removeAttribute("aria-checked"))}getTextLabel(){return u(this.defaultSlot)}isSubmenu(){return this.hasSlotController.test("submenu")}render(){let s=this.submenuController.isExpanded(),p={label:this.hasSlotController.test("[default]"),iconIndent:this.hasSlotController.test("icon-indent")};return 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 sd-menu--disabled-color-text hover:bg-transparent":"cursor-pointer sd-menu-color-text hover:bg-neutral-200",this.isSubmenu()&&s&&"submenu-expanded")}" .disabled="${this.disabled}" ?aria-haspopup="${this.isSubmenu()}" ?aria-expanded="${!!s}">${this.type==="checkbox"?i`<span part="checked-icon" class="${l("flex items-center justify-center grow-0 shrink-0 basis-auto",this.checked?"visible":"invisible")}"><sd-icon name="status-check" library="sd-status-assets" aria-hidden="true"></sd-icon></span>`:""} ${p.iconIndent?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-icon name="chevron-right" library="_internal" aria-hidden="true" class="h-6 w-6"></sd-icon></span>`:""} ${this.submenuController.renderSubmenu()}</div>`}};e.styles=[...n.styles,c`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
1
+ import{a as b}from"./chunk.CDP46OS4.js";import{a as d,b as u}from"./chunk.CGQ2BPPZ.js";import{a as l}from"./chunk.YFQFOIEM.js";import{a as o}from"./chunk.NYKJXI3Q.js";import{a as h,b as a,d as r,h as n}from"./chunk.SORGILA2.js";import{b as c,e as i}from"./chunk.763RLJEK.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends n{constructor(){super(...arguments);this.type="normal";this.checked=!1;this.disabled=!1;this.value="";this.chevron=!1;this.hasSlotController=new d(this,"submenu");this.submenuController=new b(this,this.hasSlotController);this.handleHostClick=s=>{this.disabled&&(s.preventDefault(),s.stopImmediatePropagation())};this.handleMouseOver=s=>{this.focus(),s.stopPropagation()}}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleHostClick),this.addEventListener("mouseover",this.handleMouseOver)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleHostClick),this.removeEventListener("mouseover",this.handleMouseOver)}handleDefaultSlotChange(){let s=this.getTextLabel();if(typeof this.cachedTextLabel=="undefined"){this.cachedTextLabel=s;return}s!==this.cachedTextLabel&&(this.cachedTextLabel=s,this.emit("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}handleCheckedChange(){if(this.checked&&this.type!=="checkbox"){this.checked=!1,console.error('The checked attribute can only be used on menu items with type="checkbox"',this);return}this.type==="checkbox"?this.setAttribute("aria-checked",this.checked?"true":"false"):this.removeAttribute("aria-checked")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false"),this.setAttribute("tabindex",this.disabled?"-1":"0")}handleTypeChange(){this.type==="checkbox"?(this.setAttribute("role","menuitemcheckbox"),this.setAttribute("aria-checked",this.checked?"true":"false")):(this.setAttribute("role","menuitem"),this.removeAttribute("aria-checked"))}getTextLabel(){return u(this.defaultSlot)}isSubmenu(){return this.hasSlotController.test("submenu")}render(){let s=this.submenuController.isExpanded(),p={label:this.hasSlotController.test("[default]"),iconIndent:this.hasSlotController.test("icon-indent")};return 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 sd-menu--disabled-color-text hover:bg-transparent":"cursor-pointer sd-menu-color-text hover:bg-neutral-200",this.isSubmenu()&&s&&"submenu-expanded")}" .disabled="${this.disabled}" ?aria-haspopup="${this.isSubmenu()}" ?aria-expanded="${!!s}">${this.type==="checkbox"?i`<span part="checked-icon" class="${l("flex items-center justify-center grow-0 shrink-0 basis-auto",this.checked?"visible":"invisible")}"><sd-icon name="status-check" library="sd-status-assets" aria-hidden="true"></sd-icon></span>`:""} ${p.iconIndent?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-icon name="chevron-right" library="_internal" aria-hidden="true" class="h-6 w-6"></sd-icon></span>`:""} ${this.submenuController.renderSubmenu()}</div>`}};e.styles=[...n.styles,c`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
2
  :host{--submenu-offset:-6px;display:block}:host(:focus-visible){--tw-outline-style:none;outline-style:none}::slotted(sd-icon){height:var(--sd-spacing-6);width:var(--sd-spacing-6)}[part=checked-icon]{margin-right:var(--sd-spacing-3)}.submenu-expanded::after{position:fixed;top: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:rgba(var(--outline-color-primary));outline-offset:-2px}:host(:hover) [part=base]{--tw-outline-style:none;outline-style:none}:host [part=checked-icon],:host [part=icon-indent],:host [part=submenu-icon]{color:rgba(var(--sd-menu-color-icon))}:host([aria-disabled=true]) [part=icon-indent]{color:rgba(var(--sd-menu--disabled-color-icon))}sd-popup::part(popup){z-index:var(--sd-z-index-dropdown,900);background-color:rgba(var(--sd-color-background-white));margin-left:var(--submenu-offset)}::slotted(sd-menu){max-width:var(--auto-size-available-width)!important;max-height:var(--auto-size-available-height)!important}@property --tw-content{syntax:"*";inherits:false;initial-value:""}`],t([r("slot:not([name])")],e.prototype,"defaultSlot",2),t([r('part="base"')],e.prototype,"menuItem",2),t([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([o("checked")],e.prototype,"handleCheckedChange",1),t([o("disabled")],e.prototype,"handleDisabledChange",1),t([o("type")],e.prototype,"handleTypeChange",1),e=t([h("sd-menu-item")],e);export{e as a};
@@ -1,2 +1,2 @@
1
- import{a as y,b as k}from"./chunk.I2H6CZK5.js";import{a as c,c as d}from"./chunk.B2NUKX6G.js";import{a as g}from"./chunk.KLRPP4NQ.js";import{a as H}from"./chunk.IQPMMUES.js";import{a as o}from"./chunk.YFQFOIEM.js";import{a as f}from"./chunk.NYKJXI3Q.js";import{a as T,b as s,d as p,h as w}from"./chunk.77FHAJLL.js";import{b as v,e as u}from"./chunk.763RLJEK.js";import{b as n,e as l,f as b}from"./chunk.W4QBFD6E.js";import{e}from"./chunk.6EV4YU6C.js";var m={"top-right":null,"bottom-center":null},$=()=>{Object.entries(m).forEach(([a])=>{let h=document.querySelector(`#sd-toast-stack--${a}`);if(h){h.setAttribute("role","region"),m[a]=h;return}m[a]=Object.assign(document.createElement("div"),{role:"region",id:`sd-toast-stack--${a}`,className:`sd-toast-stack sd-toast-stack--${a}`})})};$();var t=class extends w{constructor(){super(...arguments);this.localize=new H(this);this.variant="info";this.open=!1;this.closable=!1;this.duration=1/0;this.durationIndicator=!1;this.toastStack="top-right";this.remainingDuration=this.duration;this.startTime=Date.now()}get stack(){return m[this.toastStack]}connectedCallback(){super.connectedCallback(),this.stack.parentElement||(document.body.append(this.stack),this.stack.ariaLabel=this.localize.term("notifications"))}disconnectedCallback(){super.disconnectedCallback()}firstUpdated(){this.wrapper.hidden=!this.open}startAutoHide(){clearTimeout(this.autoHideTimeout),this.startTime=Date.now(),this.remainingDuration=this.duration,this.open&&this.duration<1/0&&(this.autoHideTimeout=window.setTimeout(()=>this.hide(),this.duration))}onHover(){clearTimeout(this.autoHideTimeout),this.duration<1/0&&(this.remainingDuration-=Date.now()-this.startTime)}onHoverEnd(){this.startTime=Date.now(),clearTimeout(this.autoHideTimeout),this.open&&this.duration<1/0&&(this.autoHideTimeout=window.setTimeout(()=>{this.hide()},this.remainingDuration))}handleCloseClick(){this.hide()}handleKeyDown(i){this.closable&&i.key==="Escape"&&this.hide()}async handleOpenChange(){if(this.open){this.emit("sd-show"),this.duration<1/0&&this.startAutoHide(),await Promise.all([l(this.base),l(this.wrapper)]),this.wrapper.hidden=!1;let i=d(this,"notification.show",{dir:this.localize.dir()}),r=d(this,`notification.wrapper.show${y(k(this.toastStack))}`,{dir:this.localize.dir()});await Promise.all([n(this.base,b(i.keyframes,this.base.scrollHeight),i.options),n(this.wrapper,r.keyframes,r.options)]),this.emit("sd-after-show")}else{this.emit("sd-hide"),clearTimeout(this.autoHideTimeout),await Promise.all([l(this.base),l(this.wrapper)]);let i=d(this,"notification.hide",{dir:this.localize.dir()}),r=d(this,`notification.wrapper.hide${y(k(this.toastStack))}`,{dir:this.localize.dir()});await Promise.all([n(this.base,b(i.keyframes,this.base.scrollHeight),i.options),n(this.wrapper,r.keyframes,r.options)]),this.wrapper.hidden=!0,this.emit("sd-after-hide")}}handleDurationChange(){this.startAutoHide()}async show(){if(!this.open)return this.open=!0,g(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,g(this,"sd-after-hide")}async toast(){return new Promise(i=>{this.stack.parentElement===null&&document.body.append(this.stack),this.stack.appendChild(this),requestAnimationFrame(()=>{this.clientWidth,this.show()}),this.addEventListener("sd-after-hide",()=>{this.stack.removeChild(this),i()},{once:!0})})}render(){return u`<div part="base" class="${o("w-full flex items-stretch m-2 focus-visible:focus-outline")}" id="notification" tabindex="0" role="alert" aria-labelledby="message" aria-hidden="${this.open?"false":"true"}" @mouseenter="${this.onHover}" @mouseleave="${this.onHoverEnd}" @keydown="${this.handleKeyDown}"><div part="wrapper" class="${o("w-full h-fit overflow-hidden flex items-stretch relative")}"><slot name="icon" part="icon" class="${o("min-w-min flex items-center px-3 justify-center",{info:"bg-info",success:"bg-success",warning:"bg-warning",error:"bg-error"}[this.variant])}"><sd-icon name="${{info:"info-circle",success:"confirm-circle",warning:"exclamation-circle",error:"warning"}[this.variant]||""}" library="_internal" class="h-6 w-6 text-white"></sd-icon></slot><div part="content" class="${o("h-full w-full p-1 gap-2 flex items-center justify-stretch bg-white","border-solid border-[1px] border-l-0 border-neutral-400",{info:"sd-notification--info-color-background",success:"sd-notification--success-color-background",warning:"sd-notification--warning-color-background",error:"sd-notification--error-color-background"}[this.variant])}"><slot id="message" part="message" class="block w-full pl-3 py-2"></slot>${this.closable?u`<sd-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" @click="${this.handleCloseClick}"><sd-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-icon></sd-button>`:""}</div>${this.durationIndicator?u`<div part="duration-indicator__elapsed" id="duration-indicator__elapsed" style="${`animation-duration: ${this.duration}ms`}" class="${o("absolute w-0 h-[2px] bottom-0 bg-primary z-10 animate-grow")}"></div><div part="duration-indicator__total" class="w-full h-[2px] bottom-0 absolute border border-neutral-400"></div>`:""}</div></div>`}};t.styles=[...w.styles,v`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as y,b as k}from"./chunk.I2H6CZK5.js";import{a as c,c as d}from"./chunk.B2NUKX6G.js";import{a as g}from"./chunk.KLRPP4NQ.js";import{a as H}from"./chunk.IQPMMUES.js";import{a as o}from"./chunk.YFQFOIEM.js";import{a as f}from"./chunk.NYKJXI3Q.js";import{a as T,b as s,d as p,h as w}from"./chunk.SORGILA2.js";import{b as v,e as u}from"./chunk.763RLJEK.js";import{b as n,e as l,f as b}from"./chunk.W4QBFD6E.js";import{e}from"./chunk.6EV4YU6C.js";var m={"top-right":null,"bottom-center":null},$=()=>{Object.entries(m).forEach(([a])=>{let h=document.querySelector(`#sd-toast-stack--${a}`);if(h){h.setAttribute("role","region"),m[a]=h;return}m[a]=Object.assign(document.createElement("div"),{role:"region",id:`sd-toast-stack--${a}`,className:`sd-toast-stack sd-toast-stack--${a}`})})};$();var t=class extends w{constructor(){super(...arguments);this.localize=new H(this);this.variant="info";this.open=!1;this.closable=!1;this.duration=1/0;this.durationIndicator=!1;this.toastStack="top-right";this.remainingDuration=this.duration;this.startTime=Date.now()}get stack(){return m[this.toastStack]}connectedCallback(){super.connectedCallback(),this.stack.parentElement||(document.body.append(this.stack),this.stack.ariaLabel=this.localize.term("notifications"))}disconnectedCallback(){super.disconnectedCallback()}firstUpdated(){this.wrapper.hidden=!this.open}startAutoHide(){clearTimeout(this.autoHideTimeout),this.startTime=Date.now(),this.remainingDuration=this.duration,this.open&&this.duration<1/0&&(this.autoHideTimeout=window.setTimeout(()=>this.hide(),this.duration))}onHover(){clearTimeout(this.autoHideTimeout),this.duration<1/0&&(this.remainingDuration-=Date.now()-this.startTime)}onHoverEnd(){this.startTime=Date.now(),clearTimeout(this.autoHideTimeout),this.open&&this.duration<1/0&&(this.autoHideTimeout=window.setTimeout(()=>{this.hide()},this.remainingDuration))}handleCloseClick(){this.hide()}handleKeyDown(i){this.closable&&i.key==="Escape"&&this.hide()}async handleOpenChange(){if(this.open){this.emit("sd-show"),this.duration<1/0&&this.startAutoHide(),await Promise.all([l(this.base),l(this.wrapper)]),this.wrapper.hidden=!1;let i=d(this,"notification.show",{dir:this.localize.dir()}),r=d(this,`notification.wrapper.show${y(k(this.toastStack))}`,{dir:this.localize.dir()});await Promise.all([n(this.base,b(i.keyframes,this.base.scrollHeight),i.options),n(this.wrapper,r.keyframes,r.options)]),this.emit("sd-after-show")}else{this.emit("sd-hide"),clearTimeout(this.autoHideTimeout),await Promise.all([l(this.base),l(this.wrapper)]);let i=d(this,"notification.hide",{dir:this.localize.dir()}),r=d(this,`notification.wrapper.hide${y(k(this.toastStack))}`,{dir:this.localize.dir()});await Promise.all([n(this.base,b(i.keyframes,this.base.scrollHeight),i.options),n(this.wrapper,r.keyframes,r.options)]),this.wrapper.hidden=!0,this.emit("sd-after-hide")}}handleDurationChange(){this.startAutoHide()}async show(){if(!this.open)return this.open=!0,g(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,g(this,"sd-after-hide")}async toast(){return new Promise(i=>{this.stack.parentElement===null&&document.body.append(this.stack),this.stack.appendChild(this),requestAnimationFrame(()=>{this.clientWidth,this.show()}),this.addEventListener("sd-after-hide",()=>{this.stack.removeChild(this),i()},{once:!0})})}render(){return u`<div part="base" class="${o("w-full flex items-stretch m-2 focus-visible:focus-outline")}" id="notification" tabindex="0" role="alert" aria-labelledby="message" aria-hidden="${this.open?"false":"true"}" @mouseenter="${this.onHover}" @mouseleave="${this.onHoverEnd}" @keydown="${this.handleKeyDown}"><div part="wrapper" class="${o("w-full h-fit overflow-hidden flex items-stretch relative")}"><slot name="icon" part="icon" class="${o("min-w-min flex items-center px-3 justify-center",{info:"bg-info",success:"bg-success",warning:"bg-warning",error:"bg-error"}[this.variant])}"><sd-icon name="${{info:"info-circle",success:"confirm-circle",warning:"exclamation-circle",error:"warning"}[this.variant]||""}" library="_internal" class="h-6 w-6 text-white"></sd-icon></slot><div part="content" class="${o("h-full w-full p-1 gap-2 flex items-center justify-stretch bg-white","border-solid border-[1px] border-l-0 border-neutral-400",{info:"sd-notification--info-color-background",success:"sd-notification--success-color-background",warning:"sd-notification--warning-color-background",error:"sd-notification--error-color-background"}[this.variant])}"><slot id="message" part="message" class="block w-full pl-3 py-2"></slot>${this.closable?u`<sd-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" @click="${this.handleCloseClick}"><sd-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-icon></sd-button>`:""}</div>${this.durationIndicator?u`<div part="duration-indicator__elapsed" id="duration-indicator__elapsed" style="${`animation-duration: ${this.duration}ms`}" class="${o("absolute w-0 h-[2px] bottom-0 bg-primary z-10 animate-grow")}"></div><div part="duration-indicator__total" class="w-full h-[2px] bottom-0 absolute border border-neutral-400"></div>`:""}</div></div>`}};t.styles=[...w.styles,v`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{display:contents}#notification:hover #duration-indicator__elapsed{animation-play-state:paused!important}`],e([p('[part~="base"]')],t.prototype,"base",2),e([p('[part~="wrapper"]')],t.prototype,"wrapper",2),e([p('[part~="close-button"]')],t.prototype,"close",2),e([s({type:String,reflect:!0})],t.prototype,"variant",2),e([s({type:Boolean,reflect:!0})],t.prototype,"open",2),e([s({type:Boolean,reflect:!0})],t.prototype,"closable",2),e([s({type:Number,reflect:!0})],t.prototype,"duration",2),e([s({type:Boolean,reflect:!0,attribute:"duration-indicator"})],t.prototype,"durationIndicator",2),e([s({type:String,reflect:!0,attribute:"toast-stack"})],t.prototype,"toastStack",2),e([f("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),e([f("duration")],t.prototype,"handleDurationChange",1),t=e([T("sd-notification")],t);c("notification.show",{keyframes:[{opacity:0,height:0},{opacity:1,height:"auto"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});c("notification.hide",{keyframes:[{opacity:1,height:"auto"},{opacity:0,height:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});c("notification.wrapper.showTopRight",{keyframes:[{bottom:"32px"},{bottom:"0"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});c("notification.wrapper.hideTopRight",{keyframes:[{bottom:"0"},{bottom:"32px"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as p}from"./chunk.PV6UYBMY.js";import{a as b}from"./chunk.CGQ2BPPZ.js";import{a as n}from"./chunk.YFQFOIEM.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.77FHAJLL.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 b(this,"[default]","icon");this.hasFocus=!1;this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.checked=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","presentation")}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleClick(e){if(this.disabled||this.visuallyDisabled){e.preventDefault(),e.stopPropagation();return}this.checked=!0}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleDisabledChange(){let e=this.disabled||this.visuallyDisabled;this.setAttribute("aria-disabled",e?"true":"false")}focus(e){this.input.focus(e)}blur(){this.input.blur()}render(){let e=this.hasSlotController.test("[default]"),l=this.hasSlotController.test("icon"),m=`${this.size}-${e?"label":"no-label"}`;return 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 sd-radio-button-border-radius 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-button--primary--default-color-background sd-button--primary--default-color-text hover:sd-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 sd-radio-button-color-text 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="${p(this.value)}" tabindex="${this.checked?"0":"-1"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @click="${this.handleClick}"><slot name="icon" part="icon" class="${n(l&&"inline-flex relative items-center",{sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size])}" ?hidden="${!l}"></slot>${e?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.17 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
1
+ import{a as p}from"./chunk.PV6UYBMY.js";import{a as b}from"./chunk.CGQ2BPPZ.js";import{a as n}from"./chunk.YFQFOIEM.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.SORGILA2.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 b(this,"[default]","icon");this.hasFocus=!1;this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.checked=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","presentation")}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleClick(e){if(this.disabled||this.visuallyDisabled){e.preventDefault(),e.stopPropagation();return}this.checked=!0}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleDisabledChange(){let e=this.disabled||this.visuallyDisabled;this.setAttribute("aria-disabled",e?"true":"false")}focus(e){this.input.focus(e)}blur(){this.input.blur()}render(){let e=this.hasSlotController.test("[default]"),l=this.hasSlotController.test("icon"),m=`${this.size}-${e?"label":"no-label"}`;return 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 sd-radio-button-border-radius 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-button--primary--default-color-background sd-button--primary--default-color-text hover:sd-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 sd-radio-button-color-text 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="${p(this.value)}" tabindex="${this.checked?"0":"-1"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @click="${this.handleClick}"><slot name="icon" part="icon" class="${n(l&&"inline-flex relative items-center",{sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size])}" ?hidden="${!l}"></slot>${e?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.17 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
2
  :host{display:block;width:-moz-min-content;width:min-content}.hidden-input{all:unset;position:absolute;inset: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-color-border-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-button-group__button:not(.sd-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-3) * -1)}:host([size=md].sd-button-group__button:not(.sd-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-2) * -1)}:host([size=sm].sd-button-group__button:not(.sd-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-1) * -1)}:host(.sd-button-group__button--hover){z-index:20}:host(.sd-button-group__button--focus),:host(.sd-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-radio-button")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{a}from"./chunk.IQPMMUES.js";import{a as m}from"./chunk.YFQFOIEM.js";import{a as i,b as s,h as t}from"./chunk.77FHAJLL.js";import{b as l,e as o}from"./chunk.763RLJEK.js";import{e as r}from"./chunk.6EV4YU6C.js";var e=class extends t{constructor(){super(...arguments);this.color="currentColor";this.localize=new a(this)}render(){return o`<svg role="progressbar" viewBox="0 0 24 24" class="${m("animate-spin",{primary:"text-primary",white:"text-white",currentColor:""}[this.color])}" aria-label="${this.localize.term("loading")}"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12Z" class="opacity-20" fill="currentColor"/><mask id="mask0_5273_25391" style="mask-type:alpha" maskUnits="userSpaceOnUse"><path d="M24 12C24 5.37258 18.6274 0 12 0V12H24Z" fill="currentColor"/></mask><g mask="url(#mask0_5273_25391)"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12Z" fill="currentColor"/></g></svg>`}};e.styles=[...t.styles,l`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a}from"./chunk.IQPMMUES.js";import{a as m}from"./chunk.YFQFOIEM.js";import{a as i,b as s,h as t}from"./chunk.SORGILA2.js";import{b as l,e as o}from"./chunk.763RLJEK.js";import{e as r}from"./chunk.6EV4YU6C.js";var e=class extends t{constructor(){super(...arguments);this.color="currentColor";this.localize=new a(this)}render(){return o`<svg role="progressbar" viewBox="0 0 24 24" class="${m("animate-spin",{primary:"text-primary",white:"text-white",currentColor:""}[this.color])}" aria-label="${this.localize.term("loading")}"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12Z" class="opacity-20" fill="currentColor"/><mask id="mask0_5273_25391" style="mask-type:alpha" maskUnits="userSpaceOnUse"><path d="M24 12C24 5.37258 18.6274 0 12 0V12H24Z" fill="currentColor"/></mask><g mask="url(#mask0_5273_25391)"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12Z" fill="currentColor"/></g></svg>`}};e.styles=[...t.styles,l`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{display:inline-block;width:1em;height:1em}`],r([s({type:String,reflect:!0})],e.prototype,"color",2),e=r([i("sd-spinner")],e);export{e as a};
@@ -0,0 +1,2 @@
1
+ import{a as s}from"./chunk.PV6UYBMY.js";import{a as o,b as n}from"./chunk.PJ7JCMQF.js";import{a as b}from"./chunk.IQPMMUES.js";import{a}from"./chunk.YFQFOIEM.js";import{a as u,b as i,d as h,h as l}from"./chunk.SORGILA2.js";import{b as c}from"./chunk.763RLJEK.js";import{e as r}from"./chunk.6EV4YU6C.js";var e=class extends l{constructor(){super(...arguments);this.localize=new b(this);this.size="lg";this.selected=!1;this.toggleable=!1;this.removable=!1;this.disabled=!1;this.href=""}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleRemove(){this.emit("sd-remove")}isLink(){return!!this.href}click(){this.tag.click()}focus(t){this.tag.focus(t)}blur(){this.tag.blur()}async hide(){this.emit("sd-hide"),this.style.opacity="0",await new Promise(t=>setTimeout(t,this.token("--sd-duration-fast",150))),this.hidden=!0,this.emit("sd-after-hide")}render(){let t=this.isLink(),d=t?o`a`:this.removable?o`div`:o`button`;return n`<${d} part="base" type="${s(t?void 0:"button")}" href="${s(t?this.href:void 0)}" rel="${s(t&&this.target?"noreferrer noopener":void 0)}" target="${s(t?this.target:void 0)}" download="${s(t?this.download:void 0)}" ?disabled="${s(t?void 0:this.disabled)}" aria-labelledby="content" aria-disabled="${this.disabled?"true":"false"}" aria-pressed="${s(this.toggleable?this.selected:void 0)}" tabindex="${this.disabled||this.removable?"-1":"0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" class="${a("inline-flex border box-border sd-tag-border-radius items-center leading-none whitespace-nowrap transition-colors duration-fast ease-in-out focus-visible:focus-outline",{lg:"h-8 sd-tag-font-weight sd-tag--size-lg-font-size gap-2",sm:"h-6 sd-tag-font-weight sd-tag--size-sm-font-size gap-1"}[this.size],{lg:this.removable?"pl-4 pr-3 py-2":"px-4 py-2",sm:this.removable?"pl-3 pr-2 py-2":"px-3 py-[5px]"}[this.size],this.selected?"sd-tag--selected-border-width sd-tag--selected--default-color-background sd-tag--selected--default-color-border sd-tag--selected--default-color-text hover:sd-tag--selected--hover-color-background hover:sd-tag--selected--hover-color-border hover:sd-tag--selected--hover-color-text disabled:bg-neutral-500 disabled:sd-tag--disabled-color-border":a("sd-tag--default-color-border sd-tag--default-color-text disabled:sd-tag--disabled-color-border disabled:text-neutral-500",this.removable?"sd-tag--default-color-background has-[button:hover]:border-primary-500 has-[button:hover]:text-primary-500":"sd-tag--default-color-background hover:border-primary-500 hover:text-primary-500 hover:sd-tag--default--hover-color-background"),this.disabled&&!t&&"cursor-not-allowed")}"><slot name="icon-left" class="${a("flex-shrink-0",this.size==="lg"?"text-base":"text-[0.75rem]")}"></slot><slot id="content" part="content"></slot>${this.removable&&!t?n`<button class="sd-interactive flex items-center" type="button" @click="${this.handleRemove}"><slot part="removable-indicator" name="removable-indicator"><sd-icon library="_internal" name="close" label="${this.localize.term("remove")}"></sd-icon></slot></button>`:""}</${d}>`}};e.styles=[...l.styles,c`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
+ :host{display:inline-block;transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,150ms));--tw-duration:var(--sd-duration-fast, 150ms);transition-duration:var(--sd-duration-fast,150ms);--tw-ease:var(--ease-in-out, cubic-bezier(0.4, 0, 0.2, 1));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}:host([size=lg])::part(removable-indicator){font-size:var(--sd-text-base);line-height:var(--tw-leading,var(--text-base--line-height,calc(1.5 / 1)))}:host([size=sm])::part(removable-indicator){font-size:.75rem}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}`],r([h("a, button, div")],e.prototype,"tag",2),r([i({type:String,reflect:!0})],e.prototype,"size",2),r([i({type:Boolean,reflect:!0})],e.prototype,"selected",2),r([i({type:Boolean,reflect:!0})],e.prototype,"toggleable",2),r([i({type:Boolean,reflect:!0})],e.prototype,"removable",2),r([i({type:Boolean,reflect:!0})],e.prototype,"disabled",2),r([i({type:String,reflect:!0})],e.prototype,"href",2),r([i({type:String,reflect:!0})],e.prototype,"target",2),r([i({reflect:!0})],e.prototype,"download",2),e=r([u("sd-tag")],e);export{e as a};
@@ -1,2 +1,2 @@
1
- import{a as n}from"./chunk.YFQFOIEM.js";import{a as i,b as a,h as r}from"./chunk.77FHAJLL.js";import{b as l,e as s}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends r{constructor(){super(...arguments);this.variant="rectangular"}render(){return s`<div part="base" aria-hidden="true" class="${n("bg-neutral-200 w-full h-full animate-pulse",{rectangular:"rounded-sm",circular:"rounded-full inline-block"}[this.variant])}"><slot></slot></div>`}};t.styles=[...r.styles,l`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as n}from"./chunk.YFQFOIEM.js";import{a as i,b as a,h as r}from"./chunk.SORGILA2.js";import{b as l,e as s}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends r{constructor(){super(...arguments);this.variant="rectangular"}render(){return s`<div part="base" aria-hidden="true" class="${n("bg-neutral-200 w-full h-full animate-pulse",{rectangular:"rounded-sm",circular:"rounded-full inline-block"}[this.variant])}"><slot></slot></div>`}};t.styles=[...r.styles,l`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{display:block}::slotted(*){visibility:hidden}`],e([a({type:String,reflect:!0})],t.prototype,"variant",2),t=e([i("sd-skeleton")],t);export{t as a};
@@ -1,4 +1,4 @@
1
- import{a as P}from"./chunk.N3WG3NAL.js";import{a as H}from"./chunk.X2GM34WQ.js";import{a as L,d as R,e as K,f as w}from"./chunk.W7A3TU2Z.js";import{c as A}from"./chunk.3L472FD4.js";import{b as z}from"./chunk.JS2HQ2N4.js";import{a as M}from"./chunk.PV6UYBMY.js";import{a as F}from"./chunk.CGQ2BPPZ.js";import{a as E,c as C}from"./chunk.B2NUKX6G.js";import{a as x}from"./chunk.KLRPP4NQ.js";import{a as $}from"./chunk.MP6XEXRW.js";import{a as V}from"./chunk.IQPMMUES.js";import{a as d}from"./chunk.YFQFOIEM.js";import{a as g}from"./chunk.NYKJXI3Q.js";import{a as k,b as r,c as u,d as c,h as T}from"./chunk.77FHAJLL.js";import{b as D,e as p}from"./chunk.763RLJEK.js";import{b as I,e as S}from"./chunk.W4QBFD6E.js";import{e as l}from"./chunk.6EV4YU6C.js";var s=class extends T{constructor(){super(...arguments);this.formControlController=new z(this,{assumeInteractionOn:["sd-blur","sd-input"]});this.hasSlotController=new F(this,"help-text","label");this.localize=new V(this);this.hasFocus=!1;this.displayInputValue="";this.selectedTextLabel="";this.selectedOptions=[];this.filteredOptions=[];this.allOptions=[];this.showValidStyle=!1;this.showInvalidStyle=!1;this.deletedTagLabel="";this.name="";this.value="";this.defaultValue="";this.size="lg";this.placeholder="";this.maxOptionsTagLabel="";this.disabled=!1;this.visuallyDisabled=!1;this.clearable=!1;this.open=!1;this.hoist=!1;this.label="";this.placement="bottom";this.helpText="";this.form="";this.required=!1;this.type="text";this.currentPlacement=this.placement;this.getOption=H;this.multiple=!1;this.useTags=!0;this.maxOptionsVisible=3;this.styleOnValid=!1;this.filter=(t,e)=>{let i=w(t.value),a=w(t.getTextLabel()),n=w(e);return i.includes(n)||a.includes(n)};this.getTag=t=>p`<sd-tag ?disabled="${this.disabled}" part="tag" exportparts="
1
+ import{a as P}from"./chunk.N3WG3NAL.js";import{a as H}from"./chunk.X2GM34WQ.js";import{a as L,d as R,e as K,f as w}from"./chunk.W7A3TU2Z.js";import{c as A}from"./chunk.3L472FD4.js";import{b as z}from"./chunk.JS2HQ2N4.js";import{a as M}from"./chunk.PV6UYBMY.js";import{a as F}from"./chunk.CGQ2BPPZ.js";import{a as E,c as C}from"./chunk.B2NUKX6G.js";import{a as x}from"./chunk.KLRPP4NQ.js";import{a as $}from"./chunk.MP6XEXRW.js";import{a as V}from"./chunk.IQPMMUES.js";import{a as d}from"./chunk.YFQFOIEM.js";import{a as g}from"./chunk.NYKJXI3Q.js";import{a as k,b as r,c as u,d as c,h as T}from"./chunk.SORGILA2.js";import{b as D,e as p}from"./chunk.763RLJEK.js";import{b as I,e as S}from"./chunk.W4QBFD6E.js";import{e as l}from"./chunk.6EV4YU6C.js";var s=class extends T{constructor(){super(...arguments);this.formControlController=new z(this,{assumeInteractionOn:["sd-blur","sd-input"]});this.hasSlotController=new F(this,"help-text","label");this.localize=new V(this);this.hasFocus=!1;this.displayInputValue="";this.selectedTextLabel="";this.selectedOptions=[];this.filteredOptions=[];this.allOptions=[];this.showValidStyle=!1;this.showInvalidStyle=!1;this.deletedTagLabel="";this.name="";this.value="";this.defaultValue="";this.size="lg";this.placeholder="";this.maxOptionsTagLabel="";this.disabled=!1;this.visuallyDisabled=!1;this.clearable=!1;this.open=!1;this.hoist=!1;this.label="";this.placement="bottom";this.helpText="";this.form="";this.required=!1;this.type="text";this.currentPlacement=this.placement;this.getOption=H;this.multiple=!1;this.useTags=!0;this.maxOptionsVisible=3;this.styleOnValid=!1;this.filter=(t,e)=>{let i=w(t.value),a=w(t.getTextLabel()),n=w(e);return i.includes(n)||a.includes(n)};this.getTag=t=>p`<sd-tag ?disabled="${this.disabled}" part="tag" exportparts="
2
2
  base:tag__base,
3
3
  content:tag__content,
4
4
  removable-indicator:tag__removable-indicator,
@@ -1,2 +1,2 @@
1
- import{a as n}from"./chunk.PV6UYBMY.js";import{a as p}from"./chunk.CGQ2BPPZ.js";import{a as h,b as s}from"./chunk.PJ7JCMQF.js";import{a as e}from"./chunk.YFQFOIEM.js";import{a as l}from"./chunk.NYKJXI3Q.js";import{a as m,b as r,h as d}from"./chunk.77FHAJLL.js";import{b}from"./chunk.763RLJEK.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends d{constructor(){super(...arguments);this.hasSlotController=new p(this,"label","[default]");this.size="lg";this.orientation="horizontal";this.horizontalInline=!1;this.waiting=!1;this.disabled=!1;this.current=!1;this.noTail=!1;this.notInteractive=!1;this.label="";this.description="";this.index=1;this.href=""}connectedCallback(){super.connectedCallback()}isLink(){return!!this.href}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleCurrentChange(){this.current&&(this.disabled=!1,this.waiting=!1)}handleDisabledChange(){this.disabled&&(this.current=!1,this.waiting=!1)}handleWaitingChange(){this.waiting&&(this.current=!1,this.disabled=!1)}handleInteractivityChange(){this.notInteractive&&(this.current=!1,this.disabled=!1,this.waiting=!1)}render(){let f=this.isLink(),u=this.notInteractive||this.waiting?h`div`:f?h`a`:h`button`,v=this.hasSlotController.test("label"),c=this.label?!0:v,g=this.hasSlotController.test("[default]"),a=this.description?!0:g,o=this.horizontalInline&&this.orientation==="horizontal",w=e("flex shrink-0 gap-2",this.noTail&&!o&&"w-max",this.orientation==="horizontal"?"flex-row":"flex-col items-stretch",o&&"items-start",this.orientation==="horizontal"&&!this.horizontalInline?this.size==="lg"?"translateLg":"translateSm":this.size==="lg"?"mt-1":"mt-3"),x=e("border sd-step__circle-border-width rounded-full aspect-square circle flex items-center justify-center shrink-0 font-bold select-none",this.disabled?"focus-visible:outline-none cursor-not-allowed":!this.notInteractive&&!this.waiting?"focus-visible:focus-outline hover:cursor-pointer":"",this.notInteractive?this.size==="lg"?"not-interactive-lg":"w-12":this.size==="lg"?"w-12":"w-8",this.disabled&&"border-neutral-500 text-neutral-500",this.waiting&&"border-neutral-400 text-neutral-700",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"border-primary hover:bg-primary-100 hover:border-primary-500",this.notInteractive&&"border-neutral-400",this.current&&"bg-accent border-none text-white");return s`<div role="listitem" part="base" class="${e("flex pt-1",this.orientation==="horizontal"?"flex-col w-full":"flex-row gap-4 items-stretch h-full w-full overflow-hidden",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"group")}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"><div part="circle-and-tail-container" class="${w}"><${u} part="circle" href="${n(f?this.href:void 0)}" aria-disabled="${n(this.disabled||this.waiting||void 0)}" aria-current="${this.current?"step":void 0}" aria-labelledby="${n(this.notInteractive||this.waiting||!c?void 0:"label")}" aria-describedby="${n(this.notInteractive||this.waiting||!a?void 0:"description")}" class="${x}"><slot name="circle-content" class="${e("text-lg",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"text-primary hover:text-primary-500 hover:fill-primary-500",this.notInteractive&&"text-primary")}">${!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting?s`<sd-icon name="status-check" library="_internal" class="${e(this.size==="sm"&&"text-sm")}"></sd-icon>`:s`${this.index}`}</slot></${u}>${o?s`<div class="${e(!this.noTail&&"flex-1","flex flex-col gap-1")}"><div class="${e("flex w-full",c&&"gap-2",this.size==="sm"&&!a?"mt-1":"mt-3")}">${c&&s`<div part="label" id="label" class="${e("font-bold whitespace-nowrap",this.disabled&&"text-neutral-500",this.waiting&&"text-neutral-700",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"text-black")}"><slot name="label">${this.label}</slot></div>`} ${this.noTail?"":s`<div part="tail" class="${e("border-t flex-1 mr-2 mt-3",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting?"border-primary":"border-neutral-500")}"></div>`}</div>${a?s`<div part="description" id="description" class="${e("sd-paragraph sd-paragraph--size-sm break-words",a?"flex-1":"w-0 h-0 overflow-hidden",a&&!this.noTail&&"pr-4",(this.disabled||this.waiting)&&"!text-neutral-700")}">${this.description||s`<slot></slot>`}</div>`:""}</div>`:this.noTail?"":s`<div part="tail" class="${e(this.orientation==="horizontal"?"border-t w-full my-auto mr-2":"border-l flex-grow flex-shrink-0 basis-auto h-full w-[1px] mx-auto",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting?"border-primary":"border-neutral-400")}"></div>`}</div>${o?"":s`<div part="text-container" class="${e("mt-4 break-words flex flex-col gap-2",this.orientation==="horizontal"?"text-center w-40":"text-left",this.disabled&&"text-neutral-500",this.waiting&&"text-neutral-700",this.notInteractive?"ml-2":"mr-4")}"><div part="label" id="label" class="${e("font-bold",this.disabled&&"text-neutral-500",this.waiting&&"text-neutral-700",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"text-black")}"><slot name="label">${this.label}</slot></div><div part="description" id="description" class="${e("sd-paragraph sd-paragraph--size-sm",(this.disabled||this.waiting)&&"text-neutral-700")}">${this.description||s`<slot></slot>`}</div></div>`}</div>`}};t.styles=[...d.styles,b`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as n}from"./chunk.PV6UYBMY.js";import{a as p}from"./chunk.CGQ2BPPZ.js";import{a as h,b as s}from"./chunk.PJ7JCMQF.js";import{a as e}from"./chunk.YFQFOIEM.js";import{a as l}from"./chunk.NYKJXI3Q.js";import{a as m,b as r,h as d}from"./chunk.SORGILA2.js";import{b}from"./chunk.763RLJEK.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends d{constructor(){super(...arguments);this.hasSlotController=new p(this,"label","[default]");this.size="lg";this.orientation="horizontal";this.horizontalInline=!1;this.waiting=!1;this.disabled=!1;this.current=!1;this.noTail=!1;this.notInteractive=!1;this.label="";this.description="";this.index=1;this.href=""}connectedCallback(){super.connectedCallback()}isLink(){return!!this.href}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleCurrentChange(){this.current&&(this.disabled=!1,this.waiting=!1)}handleDisabledChange(){this.disabled&&(this.current=!1,this.waiting=!1)}handleWaitingChange(){this.waiting&&(this.current=!1,this.disabled=!1)}handleInteractivityChange(){this.notInteractive&&(this.current=!1,this.disabled=!1,this.waiting=!1)}render(){let f=this.isLink(),u=this.notInteractive||this.waiting?h`div`:f?h`a`:h`button`,v=this.hasSlotController.test("label"),c=this.label?!0:v,g=this.hasSlotController.test("[default]"),a=this.description?!0:g,o=this.horizontalInline&&this.orientation==="horizontal",w=e("flex shrink-0 gap-2",this.noTail&&!o&&"w-max",this.orientation==="horizontal"?"flex-row":"flex-col items-stretch",o&&"items-start",this.orientation==="horizontal"&&!this.horizontalInline?this.size==="lg"?"translateLg":"translateSm":this.size==="lg"?"mt-1":"mt-3"),x=e("border sd-step__circle-border-width rounded-full aspect-square circle flex items-center justify-center shrink-0 font-bold select-none",this.disabled?"focus-visible:outline-none cursor-not-allowed":!this.notInteractive&&!this.waiting?"focus-visible:focus-outline hover:cursor-pointer":"",this.notInteractive?this.size==="lg"?"not-interactive-lg":"w-12":this.size==="lg"?"w-12":"w-8",this.disabled&&"border-neutral-500 text-neutral-500",this.waiting&&"border-neutral-400 text-neutral-700",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"border-primary hover:bg-primary-100 hover:border-primary-500",this.notInteractive&&"border-neutral-400",this.current&&"bg-accent border-none text-white");return s`<div role="listitem" part="base" class="${e("flex pt-1",this.orientation==="horizontal"?"flex-col w-full":"flex-row gap-4 items-stretch h-full w-full overflow-hidden",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"group")}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"><div part="circle-and-tail-container" class="${w}"><${u} part="circle" href="${n(f?this.href:void 0)}" aria-disabled="${n(this.disabled||this.waiting||void 0)}" aria-current="${this.current?"step":void 0}" aria-labelledby="${n(this.notInteractive||this.waiting||!c?void 0:"label")}" aria-describedby="${n(this.notInteractive||this.waiting||!a?void 0:"description")}" class="${x}"><slot name="circle-content" class="${e("text-lg",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"text-primary hover:text-primary-500 hover:fill-primary-500",this.notInteractive&&"text-primary")}">${!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting?s`<sd-icon name="status-check" library="_internal" class="${e(this.size==="sm"&&"text-sm")}"></sd-icon>`:s`${this.index}`}</slot></${u}>${o?s`<div class="${e(!this.noTail&&"flex-1","flex flex-col gap-1")}"><div class="${e("flex w-full",c&&"gap-2",this.size==="sm"&&!a?"mt-1":"mt-3")}">${c&&s`<div part="label" id="label" class="${e("font-bold whitespace-nowrap",this.disabled&&"text-neutral-500",this.waiting&&"text-neutral-700",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"text-black")}"><slot name="label">${this.label}</slot></div>`} ${this.noTail?"":s`<div part="tail" class="${e("border-t flex-1 mr-2 mt-3",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting?"border-primary":"border-neutral-500")}"></div>`}</div>${a?s`<div part="description" id="description" class="${e("sd-paragraph sd-paragraph--size-sm break-words",a?"flex-1":"w-0 h-0 overflow-hidden",a&&!this.noTail&&"pr-4",(this.disabled||this.waiting)&&"!text-neutral-700")}">${this.description||s`<slot></slot>`}</div>`:""}</div>`:this.noTail?"":s`<div part="tail" class="${e(this.orientation==="horizontal"?"border-t w-full my-auto mr-2":"border-l flex-grow flex-shrink-0 basis-auto h-full w-[1px] mx-auto",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting?"border-primary":"border-neutral-400")}"></div>`}</div>${o?"":s`<div part="text-container" class="${e("mt-4 break-words flex flex-col gap-2",this.orientation==="horizontal"?"text-center w-40":"text-left",this.disabled&&"text-neutral-500",this.waiting&&"text-neutral-700",this.notInteractive?"ml-2":"mr-4")}"><div part="label" id="label" class="${e("font-bold",this.disabled&&"text-neutral-500",this.waiting&&"text-neutral-700",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"text-black")}"><slot name="label">${this.label}</slot></div><div part="description" id="description" class="${e("sd-paragraph sd-paragraph--size-sm",(this.disabled||this.waiting)&&"text-neutral-700")}">${this.description||s`<slot></slot>`}</div></div>`}</div>`}};t.styles=[...d.styles,b`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{flex:1}:host([orientation=horizontal]) [part=tail]{border-top-width:var(--sd-step__tail-border-width)}:host([orientation=vertical]) [part=tail]{border-left-width:var(--sd-step__tail-border-width)}:host([no-tail]){flex-grow:0}:host(:not([current])) slot[name=circle-content]{color:rgba(var(--sd-color-text-neutral-700))}slot[name=circle-content] sd-icon,slot[name=circle-content]::slotted(sd-icon){color:rgba(var(--sd-color-icon-fill-primary))}:host([horizontal-inline]):has([part=description]){min-width:calc(var(--sd-spacing-1) * 0);flex:1}.translateLg{transform:translateX(3.438rem)}.translateSm{transform:translateX(4rem)}.not-interactive-lg{width:4.5rem}`],i([r({type:String,reflect:!0})],t.prototype,"size",2),i([r({type:String,reflect:!0})],t.prototype,"orientation",2),i([r({type:Boolean,reflect:!0,attribute:"horizontal-inline"})],t.prototype,"horizontalInline",2),i([r({type:Boolean,reflect:!0})],t.prototype,"waiting",2),i([r({type:Boolean,reflect:!0})],t.prototype,"disabled",2),i([r({type:Boolean,reflect:!0})],t.prototype,"current",2),i([r({reflect:!0,type:Boolean,attribute:"no-tail"})],t.prototype,"noTail",2),i([r({type:Boolean,reflect:!0,attribute:"not-interactive"})],t.prototype,"notInteractive",2),i([r({type:String,reflect:!0})],t.prototype,"label",2),i([r({type:String,reflect:!0})],t.prototype,"description",2),i([r({type:Number,reflect:!0,attribute:"index"})],t.prototype,"index",2),i([r({type:String,reflect:!0})],t.prototype,"href",2),i([l("current")],t.prototype,"handleCurrentChange",1),i([l("disabled")],t.prototype,"handleDisabledChange",1),i([l("waiting")],t.prototype,"handleWaitingChange",1),i([l("notInteractive")],t.prototype,"handleInteractivityChange",1),t=i([m("sd-step")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as n}from"./chunk.IQPMMUES.js";import{a as e}from"./chunk.YFQFOIEM.js";import{a,b as c,h as i}from"./chunk.77FHAJLL.js";import{b as l,e as o}from"./chunk.763RLJEK.js";import{e as t}from"./chunk.6EV4YU6C.js";var r=class extends i{constructor(){super(...arguments);this.color="currentColor";this.localize=new n(this)}render(){return o`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" role="progressbar" aria-label="${this.localize.term("loading")}"><circle class="${e("dot",{primary:"text-primary animate-loader-primary",white:"text-white animate-loader-white",currentColor:"animate-loader-current"}[this.color])}" cx="20" cy="12" r="2" fill="currentColor"/><circle class="${e("dot",{primary:"text-primary animate-loader-primary",white:"text-white animate-loader-white",currentColor:"animate-loader-current"}[this.color])}" cx="12" cy="12" r="2" fill="currentColor"/><circle class="${e("dot",{primary:"text-primary animate-loader-primary",white:"text-white animate-loader-white",currentColor:"animate-loader-current"}[this.color])}" cx="4" cy="12" r="2" fill="currentColor"/></svg>`}};r.styles=[...i.styles,l`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as n}from"./chunk.IQPMMUES.js";import{a as e}from"./chunk.YFQFOIEM.js";import{a,b as c,h as i}from"./chunk.SORGILA2.js";import{b as l,e as o}from"./chunk.763RLJEK.js";import{e as t}from"./chunk.6EV4YU6C.js";var r=class extends i{constructor(){super(...arguments);this.color="currentColor";this.localize=new n(this)}render(){return o`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" role="progressbar" aria-label="${this.localize.term("loading")}"><circle class="${e("dot",{primary:"text-primary animate-loader-primary",white:"text-white animate-loader-white",currentColor:"animate-loader-current"}[this.color])}" cx="20" cy="12" r="2" fill="currentColor"/><circle class="${e("dot",{primary:"text-primary animate-loader-primary",white:"text-white animate-loader-white",currentColor:"animate-loader-current"}[this.color])}" cx="12" cy="12" r="2" fill="currentColor"/><circle class="${e("dot",{primary:"text-primary animate-loader-primary",white:"text-white animate-loader-white",currentColor:"animate-loader-current"}[this.color])}" cx="4" cy="12" r="2" fill="currentColor"/></svg>`}};r.styles=[...i.styles,l`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{display:inline-block;width:1em;height:1em}.dot:nth-child(2){animation-delay:.1s}.dot:nth-child(1){animation-delay:.2s}`],t([c({type:String,reflect:!0})],r.prototype,"color",2),r=t([a("sd-loader")],r);export{r as a};
@@ -1,2 +1,2 @@
1
- import{a as h}from"./chunk.DUYZKPLZ.js";import{a as s}from"./chunk.PV6UYBMY.js";import{a as i}from"./chunk.B2NUKX6G.js";import{a,b as p}from"./chunk.PJ7JCMQF.js";import{a as e}from"./chunk.YFQFOIEM.js";import{a as d,b as m,h as c}from"./chunk.77FHAJLL.js";import{b as l}from"./chunk.763RLJEK.js";import{e as o}from"./chunk.6EV4YU6C.js";var t=class extends h{constructor(){super(...arguments);this.expandable=!1}render(){let n=this.expandable?a`details`:a`div`,r=this.expandable?a`summary`:a`div`;return p`<${n} part="base" class="sm:p-6"><${r} 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?"sd-quickfact--expandable-color-text":"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:mt-2",this.open&&"rotate-180",!this.expandable&&"hidden")}"><slot name="expand-icon" class="${e(this.open&&"hidden")}"><sd-icon library="_internal" name="chevron-down" class="group-hover:text-primary-500 transition-colors ease-in-out duration-medium"></sd-icon></slot><slot name="collapse-icon" class="${e(!this.open&&"hidden")}"><sd-icon library="_internal" name="chevron-down" class="group-hover:text-primary-500 transition-colors ease-in-out duration-medium"></sd-icon></slot></span></${r}><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></${n}>`}};t.styles=[...c.styles,l`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as h}from"./chunk.OPMJMN2L.js";import{a as s}from"./chunk.PV6UYBMY.js";import{a as i}from"./chunk.B2NUKX6G.js";import{a,b as p}from"./chunk.PJ7JCMQF.js";import{a as e}from"./chunk.YFQFOIEM.js";import{a as d,b as m,h as c}from"./chunk.SORGILA2.js";import{b as l}from"./chunk.763RLJEK.js";import{e as o}from"./chunk.6EV4YU6C.js";var t=class extends h{constructor(){super(...arguments);this.expandable=!1}render(){let n=this.expandable?a`details`:a`div`,r=this.expandable?a`summary`:a`div`;return p`<${n} part="base" class="sm:p-6"><${r} 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?"sd-quickfact--expandable-color-text":"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:mt-2",this.open&&"rotate-180",!this.expandable&&"hidden")}"><slot name="expand-icon" class="${e(this.open&&"hidden")}"><sd-icon library="_internal" name="chevron-down" class="group-hover:text-primary-500 transition-colors ease-in-out duration-medium"></sd-icon></slot><slot name="collapse-icon" class="${e(!this.open&&"hidden")}"><sd-icon library="_internal" name="chevron-down" class="group-hover:text-primary-500 transition-colors ease-in-out duration-medium"></sd-icon></slot></span></${r}><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></${n}>`}};t.styles=[...c.styles,l`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{display:block}[part=header]::-webkit-details-marker{display:none}[part=summary-icon]{color:var(--sd-accordion__chevron-color-text)}[part=icon]{font-size:var(--sd-spacing-12,3rem)}@media (min-width:640px){[part=icon]{font-size:var(--sd-spacing-24,6rem)}}`],o([m({type:Boolean,reflect:!0})],t.prototype,"expandable",2),t=o([d("sd-quickfact")],t);i("quickfact.show",{keyframes:[{height:"0"},{height:"auto"}],options:{duration:"var(--sd-duration-medium, 300ms)",easing:"ease-in-out"}});i("quickfact.hide",{keyframes:[{height:"auto"},{height:"0"}],options:{duration:"var(--sd-duration-medium, 300ms)",easing:"ease-in-out"}});export{t as a};