@solid-design-system/components 6.16.5 → 6.17.0

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 (639) hide show
  1. package/cdn/chunks/{chunk.FEAXOG7O.js → chunk.2NFPITWL.js} +1 -1
  2. package/cdn/chunks/{chunk.A2RFNZUI.js → chunk.2VSOKOU7.js} +1 -1
  3. package/cdn/chunks/{chunk.HLHMPYHS.js → chunk.34KJWEAT.js} +1 -1
  4. package/cdn/chunks/{chunk.JHFM7KUH.js → chunk.3XF5CK52.js} +1 -1
  5. package/cdn/chunks/{chunk.VC6JNTW2.js → chunk.43NCTRGR.js} +1 -1
  6. package/cdn/chunks/{chunk.XDDAXBEN.js → chunk.4MDREN2Q.js} +1 -1
  7. package/cdn/chunks/{chunk.CX5IPEVT.js → chunk.52HC3R2A.js} +1 -1
  8. package/cdn/chunks/{chunk.CCNRQLG6.js → chunk.73EQQAX5.js} +1 -1
  9. package/cdn/chunks/{chunk.RZLPEVBG.js → chunk.7HCH5G2S.js} +1 -1
  10. package/cdn/chunks/{chunk.7X7C3TVK.js → chunk.AC5QQ4OU.js} +1 -1
  11. package/cdn/chunks/chunk.AWJGLIES.js +26 -0
  12. package/cdn/chunks/{chunk.YY4JMXTS.js → chunk.BAJVRYDX.js} +1 -1
  13. package/cdn/chunks/{chunk.ELZMOANU.js → chunk.BKFJJQT5.js} +1 -1
  14. package/cdn/chunks/{chunk.BURXWAXN.js → chunk.BPRWKCPD.js} +1 -1
  15. package/cdn/chunks/{chunk.3S7LCENC.js → chunk.CEZWUA55.js} +1 -1
  16. package/cdn/chunks/{chunk.GQTD57NE.js → chunk.CONM2MBL.js} +1 -1
  17. package/cdn/chunks/{chunk.CSVJ5WK2.js → chunk.CU36IOYF.js} +1 -1
  18. package/cdn/chunks/{chunk.ZBE6FUBE.js → chunk.CYDEZALR.js} +1 -1
  19. package/cdn/chunks/{chunk.BZ4RCXT2.js → chunk.DDIFOIPF.js} +1 -1
  20. package/cdn/chunks/{chunk.AMY757PV.js → chunk.DK7LXD4O.js} +1 -1
  21. package/cdn/chunks/{chunk.K6GLS6QL.js → chunk.EGODNGZX.js} +1 -1
  22. package/cdn/chunks/{chunk.WR5GB2RK.js → chunk.F2ZXRPTA.js} +1 -1
  23. package/cdn/chunks/{chunk.R2Q62L3N.js → chunk.F6GDTT5V.js} +1 -1
  24. package/cdn/chunks/{chunk.BZLEZINT.js → chunk.HIIBKOIQ.js} +1 -1
  25. package/cdn/chunks/{chunk.X6WPUO3U.js → chunk.IPISEWSC.js} +1 -1
  26. package/cdn/chunks/{chunk.4BTXQAGS.js → chunk.J3WCN3OW.js} +1 -1
  27. package/cdn/chunks/{chunk.I3AKT6BV.js → chunk.J4H3FNN2.js} +1 -1
  28. package/cdn/chunks/{chunk.YA5ZEOKP.js → chunk.JGEE2Y7Q.js} +1 -1
  29. package/cdn/chunks/{chunk.AWT6CEDB.js → chunk.KDQ7MMNF.js} +1 -1
  30. package/cdn/chunks/{chunk.OFLN42UZ.js → chunk.KVATZ42W.js} +1 -1
  31. package/cdn/chunks/{chunk.LMXWTQJ5.js → chunk.KX2KMM7G.js} +1 -1
  32. package/cdn/chunks/{chunk.WPSLP7SF.js → chunk.LCFZAFOA.js} +1 -1
  33. package/cdn/chunks/{chunk.ZFJ3T7TZ.js → chunk.LP5REFGB.js} +1 -1
  34. package/cdn/chunks/{chunk.JYLCWE5C.js → chunk.M3LARW7C.js} +1 -1
  35. package/cdn/chunks/{chunk.6KFFDNWZ.js → chunk.MAUMBI7S.js} +1 -1
  36. package/cdn/chunks/{chunk.3MGPNQP3.js → chunk.NQQE3723.js} +1 -1
  37. package/cdn/chunks/{chunk.QAY6EJHY.js → chunk.O3MJCVRH.js} +1 -1
  38. package/cdn/chunks/{chunk.VT4WT4Y5.js → chunk.OSIJGCSL.js} +1 -1
  39. package/cdn/chunks/{chunk.DJZKZO3Y.js → chunk.PUBA4OL2.js} +1 -1
  40. package/cdn/chunks/{chunk.IFICRO7C.js → chunk.QU2LMJKO.js} +1 -1
  41. package/cdn/chunks/{chunk.ODC5ODPF.js → chunk.RGNM3C6B.js} +1 -1
  42. package/cdn/chunks/{chunk.3JB5EY7E.js → chunk.RHKUQ6PG.js} +1 -1
  43. package/cdn/chunks/{chunk.4EDRKPMV.js → chunk.RUEPQ7JR.js} +1 -1
  44. package/cdn/chunks/{chunk.X4UWQNTP.js → chunk.SQJQVREY.js} +1 -1
  45. package/cdn/chunks/{chunk.FBXBQWU2.js → chunk.SY2PEN3P.js} +1 -1
  46. package/cdn/chunks/{chunk.EXWRCLBQ.js → chunk.TDZTDQZS.js} +1 -1
  47. package/cdn/chunks/chunk.UJLYQCPB.js +2 -0
  48. package/cdn/chunks/{chunk.2B2B5P3U.js → chunk.UXG7OXPX.js} +1 -1
  49. package/cdn/chunks/{chunk.GLO2H56S.js → chunk.UY6VLTLR.js} +1 -1
  50. package/cdn/chunks/{chunk.OXXPH6YP.js → chunk.VCGI4U7C.js} +1 -1
  51. package/cdn/chunks/{chunk.ZRHL55WX.js → chunk.VR6ZZ26O.js} +1 -1
  52. package/cdn/chunks/{chunk.BMADIO4C.js → chunk.W2PGHELN.js} +1 -1
  53. package/cdn/chunks/{chunk.EP63MBIC.js → chunk.WDVIRLIQ.js} +1 -1
  54. package/cdn/chunks/{chunk.FT2B3D2H.js → chunk.WMHFYQLW.js} +1 -1
  55. package/cdn/chunks/{chunk.GS5LOZLS.js → chunk.WXUAJPDY.js} +1 -1
  56. package/cdn/chunks/{chunk.7YCGT7U6.js → chunk.X5MVJJZR.js} +1 -1
  57. package/cdn/chunks/{chunk.5BES77F3.js → chunk.XH55HYAO.js} +1 -1
  58. package/cdn/chunks/{chunk.ZLJ4GRUR.js → chunk.XPMVJDAZ.js} +1 -1
  59. package/cdn/chunks/chunk.YHSSQHIS.js +2 -0
  60. package/cdn/chunks/{chunk.E4XIKDUB.js → chunk.ZR4MGCMK.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.d.ts +3 -2
  108. package/cdn/components/step/step.js +1 -1
  109. package/cdn/components/step-group/step-group.d.ts +3 -2
  110. package/cdn/components/step-group/step-group.js +1 -1
  111. package/cdn/components/switch/switch.js +1 -1
  112. package/cdn/components/tab/tab.js +1 -1
  113. package/cdn/components/tab-group/tab-group.js +1 -1
  114. package/cdn/components/tab-panel/tab-panel.js +1 -1
  115. package/cdn/components/tag/tag.js +1 -1
  116. package/cdn/components/teaser/teaser.js +1 -1
  117. package/cdn/components/teaser-media/teaser-media.js +1 -1
  118. package/cdn/components/textarea/textarea.js +1 -1
  119. package/cdn/components/theme-listener/theme-listener.js +1 -1
  120. package/cdn/components/tooltip/tooltip.js +1 -1
  121. package/cdn/components/video/video.js +1 -1
  122. package/cdn/custom-elements.json +5 -5
  123. package/cdn/solid-components.bundle.js +20 -20
  124. package/cdn/solid-components.iife.js +20 -20
  125. package/cdn/solid-components.js +1 -1
  126. package/cdn/utilities/autocomplete-config.js +1 -1
  127. package/cdn/vscode.html-custom-data.json +2 -2
  128. package/cdn/web-types.json +5 -5
  129. package/cdn-versioned/chunks/{chunk.FEAXOG7O.js → chunk.2NFPITWL.js} +2 -2
  130. package/cdn-versioned/chunks/{chunk.A2RFNZUI.js → chunk.2VSOKOU7.js} +2 -2
  131. package/cdn-versioned/chunks/{chunk.HLHMPYHS.js → chunk.34KJWEAT.js} +2 -2
  132. package/cdn-versioned/chunks/{chunk.JHFM7KUH.js → chunk.3XF5CK52.js} +2 -2
  133. package/cdn-versioned/chunks/{chunk.VC6JNTW2.js → chunk.43NCTRGR.js} +2 -2
  134. package/cdn-versioned/chunks/{chunk.XDDAXBEN.js → chunk.4MDREN2Q.js} +3 -3
  135. package/cdn-versioned/chunks/{chunk.CX5IPEVT.js → chunk.52HC3R2A.js} +2 -2
  136. package/cdn-versioned/chunks/chunk.52TRFRJK.js +2 -2
  137. package/cdn-versioned/chunks/{chunk.CCNRQLG6.js → chunk.73EQQAX5.js} +2 -2
  138. package/cdn-versioned/chunks/{chunk.RZLPEVBG.js → chunk.7HCH5G2S.js} +2 -2
  139. package/cdn-versioned/chunks/{chunk.7X7C3TVK.js → chunk.AC5QQ4OU.js} +5 -5
  140. package/cdn-versioned/chunks/chunk.AWJGLIES.js +26 -0
  141. package/cdn-versioned/chunks/{chunk.YY4JMXTS.js → chunk.BAJVRYDX.js} +2 -2
  142. package/cdn-versioned/chunks/{chunk.ELZMOANU.js → chunk.BKFJJQT5.js} +2 -2
  143. package/cdn-versioned/chunks/{chunk.BURXWAXN.js → chunk.BPRWKCPD.js} +2 -2
  144. package/cdn-versioned/chunks/{chunk.3S7LCENC.js → chunk.CEZWUA55.js} +2 -2
  145. package/cdn-versioned/chunks/{chunk.GQTD57NE.js → chunk.CONM2MBL.js} +2 -2
  146. package/cdn-versioned/chunks/{chunk.CSVJ5WK2.js → chunk.CU36IOYF.js} +2 -2
  147. package/cdn-versioned/chunks/{chunk.ZBE6FUBE.js → chunk.CYDEZALR.js} +2 -2
  148. package/cdn-versioned/chunks/{chunk.BZ4RCXT2.js → chunk.DDIFOIPF.js} +2 -2
  149. package/cdn-versioned/chunks/{chunk.AMY757PV.js → chunk.DK7LXD4O.js} +2 -2
  150. package/cdn-versioned/chunks/{chunk.K6GLS6QL.js → chunk.EGODNGZX.js} +2 -2
  151. package/cdn-versioned/chunks/{chunk.WR5GB2RK.js → chunk.F2ZXRPTA.js} +2 -2
  152. package/cdn-versioned/chunks/{chunk.R2Q62L3N.js → chunk.F6GDTT5V.js} +2 -2
  153. package/cdn-versioned/chunks/{chunk.BZLEZINT.js → chunk.HIIBKOIQ.js} +2 -2
  154. package/cdn-versioned/chunks/{chunk.X6WPUO3U.js → chunk.IPISEWSC.js} +2 -2
  155. package/cdn-versioned/chunks/{chunk.4BTXQAGS.js → chunk.J3WCN3OW.js} +2 -2
  156. package/cdn-versioned/chunks/{chunk.I3AKT6BV.js → chunk.J4H3FNN2.js} +2 -2
  157. package/cdn-versioned/chunks/{chunk.YA5ZEOKP.js → chunk.JGEE2Y7Q.js} +2 -2
  158. package/cdn-versioned/chunks/{chunk.AWT6CEDB.js → chunk.KDQ7MMNF.js} +2 -2
  159. package/cdn-versioned/chunks/{chunk.OFLN42UZ.js → chunk.KVATZ42W.js} +2 -2
  160. package/cdn-versioned/chunks/{chunk.LMXWTQJ5.js → chunk.KX2KMM7G.js} +2 -2
  161. package/cdn-versioned/chunks/{chunk.WPSLP7SF.js → chunk.LCFZAFOA.js} +2 -2
  162. package/cdn-versioned/chunks/{chunk.ZFJ3T7TZ.js → chunk.LP5REFGB.js} +10 -10
  163. package/cdn-versioned/chunks/{chunk.JYLCWE5C.js → chunk.M3LARW7C.js} +2 -2
  164. package/cdn-versioned/chunks/{chunk.6KFFDNWZ.js → chunk.MAUMBI7S.js} +3 -3
  165. package/cdn-versioned/chunks/{chunk.3MGPNQP3.js → chunk.NQQE3723.js} +2 -2
  166. package/cdn-versioned/chunks/{chunk.QAY6EJHY.js → chunk.O3MJCVRH.js} +2 -2
  167. package/cdn-versioned/chunks/{chunk.VT4WT4Y5.js → chunk.OSIJGCSL.js} +2 -2
  168. package/cdn-versioned/chunks/{chunk.DJZKZO3Y.js → chunk.PUBA4OL2.js} +2 -2
  169. package/cdn-versioned/chunks/{chunk.IFICRO7C.js → chunk.QU2LMJKO.js} +2 -2
  170. package/cdn-versioned/chunks/chunk.RAP66B6O.js +1 -1
  171. package/cdn-versioned/chunks/{chunk.ODC5ODPF.js → chunk.RGNM3C6B.js} +2 -2
  172. package/cdn-versioned/chunks/{chunk.3JB5EY7E.js → chunk.RHKUQ6PG.js} +2 -2
  173. package/cdn-versioned/chunks/{chunk.4EDRKPMV.js → chunk.RUEPQ7JR.js} +2 -2
  174. package/cdn-versioned/chunks/{chunk.X4UWQNTP.js → chunk.SQJQVREY.js} +5 -5
  175. package/cdn-versioned/chunks/{chunk.FBXBQWU2.js → chunk.SY2PEN3P.js} +2 -2
  176. package/cdn-versioned/chunks/{chunk.EXWRCLBQ.js → chunk.TDZTDQZS.js} +2 -2
  177. package/cdn-versioned/chunks/chunk.UJLYQCPB.js +2 -0
  178. package/cdn-versioned/chunks/{chunk.2B2B5P3U.js → chunk.UXG7OXPX.js} +2 -2
  179. package/cdn-versioned/chunks/{chunk.GLO2H56S.js → chunk.UY6VLTLR.js} +2 -2
  180. package/cdn-versioned/chunks/{chunk.OXXPH6YP.js → chunk.VCGI4U7C.js} +2 -2
  181. package/cdn-versioned/chunks/{chunk.ZRHL55WX.js → chunk.VR6ZZ26O.js} +2 -2
  182. package/cdn-versioned/chunks/{chunk.BMADIO4C.js → chunk.W2PGHELN.js} +2 -2
  183. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  184. package/cdn-versioned/chunks/{chunk.EP63MBIC.js → chunk.WDVIRLIQ.js} +2 -2
  185. package/cdn-versioned/chunks/{chunk.FT2B3D2H.js → chunk.WMHFYQLW.js} +3 -3
  186. package/cdn-versioned/chunks/{chunk.GS5LOZLS.js → chunk.WXUAJPDY.js} +3 -3
  187. package/cdn-versioned/chunks/{chunk.7YCGT7U6.js → chunk.X5MVJJZR.js} +2 -2
  188. package/cdn-versioned/chunks/{chunk.5BES77F3.js → chunk.XH55HYAO.js} +2 -2
  189. package/cdn-versioned/chunks/{chunk.ZLJ4GRUR.js → chunk.XPMVJDAZ.js} +2 -2
  190. package/cdn-versioned/chunks/chunk.YHSSQHIS.js +2 -0
  191. package/cdn-versioned/chunks/chunk.YPTZDABK.js +1 -1
  192. package/cdn-versioned/chunks/{chunk.E4XIKDUB.js → chunk.ZR4MGCMK.js} +2 -2
  193. package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
  194. package/cdn-versioned/components/accordion/accordion.js +1 -1
  195. package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  196. package/cdn-versioned/components/accordion-group/accordion-group.js +1 -1
  197. package/cdn-versioned/components/animation/animation.d.ts +1 -1
  198. package/cdn-versioned/components/animation/animation.js +1 -1
  199. package/cdn-versioned/components/audio/audio.d.ts +1 -1
  200. package/cdn-versioned/components/audio/audio.js +1 -1
  201. package/cdn-versioned/components/badge/badge.d.ts +1 -1
  202. package/cdn-versioned/components/badge/badge.js +1 -1
  203. package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
  204. package/cdn-versioned/components/brandshape/brandshape.js +1 -1
  205. package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  206. package/cdn-versioned/components/breadcrumb/breadcrumb.js +1 -1
  207. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  208. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.js +1 -1
  209. package/cdn-versioned/components/button/button.d.ts +1 -1
  210. package/cdn-versioned/components/button/button.js +1 -1
  211. package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
  212. package/cdn-versioned/components/button-group/button-group.js +1 -1
  213. package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
  214. package/cdn-versioned/components/carousel/carousel.js +1 -1
  215. package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  216. package/cdn-versioned/components/carousel-item/carousel-item.js +1 -1
  217. package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
  218. package/cdn-versioned/components/checkbox/checkbox.js +1 -1
  219. package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  220. package/cdn-versioned/components/checkbox-group/checkbox-group.js +1 -1
  221. package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
  222. package/cdn-versioned/components/combobox/combobox.js +1 -1
  223. package/cdn-versioned/components/datepicker/datepicker.d.ts +1 -1
  224. package/cdn-versioned/components/datepicker/datepicker.js +1 -1
  225. package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
  226. package/cdn-versioned/components/dialog/dialog.js +1 -1
  227. package/cdn-versioned/components/divider/divider.d.ts +1 -1
  228. package/cdn-versioned/components/divider/divider.js +1 -1
  229. package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
  230. package/cdn-versioned/components/drawer/drawer.js +1 -1
  231. package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
  232. package/cdn-versioned/components/dropdown/dropdown.js +1 -1
  233. package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
  234. package/cdn-versioned/components/expandable/expandable.js +1 -1
  235. package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
  236. package/cdn-versioned/components/flipcard/flipcard.js +1 -1
  237. package/cdn-versioned/components/header/header.d.ts +1 -1
  238. package/cdn-versioned/components/header/header.js +1 -1
  239. package/cdn-versioned/components/icon/icon.d.ts +1 -1
  240. package/cdn-versioned/components/icon/icon.js +1 -1
  241. package/cdn-versioned/components/include/include.d.ts +1 -1
  242. package/cdn-versioned/components/include/include.js +1 -1
  243. package/cdn-versioned/components/input/input.d.ts +1 -1
  244. package/cdn-versioned/components/input/input.js +1 -1
  245. package/cdn-versioned/components/link/link.d.ts +1 -1
  246. package/cdn-versioned/components/link/link.js +1 -1
  247. package/cdn-versioned/components/loader/loader.d.ts +1 -1
  248. package/cdn-versioned/components/loader/loader.js +1 -1
  249. package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
  250. package/cdn-versioned/components/map-marker/map-marker.js +1 -1
  251. package/cdn-versioned/components/menu/menu.d.ts +1 -1
  252. package/cdn-versioned/components/menu/menu.js +1 -1
  253. package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
  254. package/cdn-versioned/components/menu-item/menu-item.js +1 -1
  255. package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  256. package/cdn-versioned/components/navigation-item/navigation-item.js +1 -1
  257. package/cdn-versioned/components/notification/notification.d.ts +1 -1
  258. package/cdn-versioned/components/notification/notification.js +1 -1
  259. package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
  260. package/cdn-versioned/components/optgroup/optgroup.js +1 -1
  261. package/cdn-versioned/components/option/option.d.ts +1 -1
  262. package/cdn-versioned/components/option/option.js +1 -1
  263. package/cdn-versioned/components/popup/popup.d.ts +1 -1
  264. package/cdn-versioned/components/popup/popup.js +1 -1
  265. package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
  266. package/cdn-versioned/components/quickfact/quickfact.js +1 -1
  267. package/cdn-versioned/components/radio/radio.d.ts +1 -1
  268. package/cdn-versioned/components/radio/radio.js +1 -1
  269. package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
  270. package/cdn-versioned/components/radio-button/radio-button.js +1 -1
  271. package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
  272. package/cdn-versioned/components/radio-group/radio-group.js +1 -1
  273. package/cdn-versioned/components/range/range.d.ts +1 -1
  274. package/cdn-versioned/components/range/range.js +1 -1
  275. package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
  276. package/cdn-versioned/components/range-tick/range-tick.js +1 -1
  277. package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
  278. package/cdn-versioned/components/scrollable/scrollable.js +1 -1
  279. package/cdn-versioned/components/select/select.d.ts +1 -1
  280. package/cdn-versioned/components/select/select.js +1 -1
  281. package/cdn-versioned/components/skeleton/skeleton.d.ts +1 -1
  282. package/cdn-versioned/components/skeleton/skeleton.js +1 -1
  283. package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
  284. package/cdn-versioned/components/spinner/spinner.js +1 -1
  285. package/cdn-versioned/components/step/step.d.ts +4 -3
  286. package/cdn-versioned/components/step/step.js +1 -1
  287. package/cdn-versioned/components/step-group/step-group.d.ts +4 -3
  288. package/cdn-versioned/components/step-group/step-group.js +1 -1
  289. package/cdn-versioned/components/switch/switch.d.ts +1 -1
  290. package/cdn-versioned/components/switch/switch.js +1 -1
  291. package/cdn-versioned/components/tab/tab.d.ts +1 -1
  292. package/cdn-versioned/components/tab/tab.js +1 -1
  293. package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
  294. package/cdn-versioned/components/tab-group/tab-group.js +1 -1
  295. package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  296. package/cdn-versioned/components/tab-panel/tab-panel.js +1 -1
  297. package/cdn-versioned/components/tag/tag.d.ts +1 -1
  298. package/cdn-versioned/components/tag/tag.js +1 -1
  299. package/cdn-versioned/components/teaser/teaser.js +1 -1
  300. package/cdn-versioned/components/teaser-media/teaser-media.js +1 -1
  301. package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
  302. package/cdn-versioned/components/textarea/textarea.js +1 -1
  303. package/cdn-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  304. package/cdn-versioned/components/theme-listener/theme-listener.js +1 -1
  305. package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
  306. package/cdn-versioned/components/tooltip/tooltip.js +1 -1
  307. package/cdn-versioned/components/video/video.d.ts +1 -1
  308. package/cdn-versioned/components/video/video.js +1 -1
  309. package/cdn-versioned/custom-elements.json +249 -249
  310. package/cdn-versioned/internal/form.js +2 -2
  311. package/cdn-versioned/solid-components.bundle.js +82 -82
  312. package/cdn-versioned/solid-components.css +2 -2
  313. package/cdn-versioned/solid-components.iife.js +82 -82
  314. package/cdn-versioned/solid-components.js +1 -1
  315. package/cdn-versioned/utilities/autocomplete-config.js +1 -1
  316. package/cdn-versioned/vscode.html-custom-data.json +109 -109
  317. package/cdn-versioned/web-types.json +161 -161
  318. package/dist/chunks/{chunk.27CORLGD.js → chunk.2RT2QZ7M.js} +1 -1
  319. package/dist/chunks/{chunk.OQ5QEVJF.js → chunk.2YPLPBHV.js} +1 -1
  320. package/dist/chunks/{chunk.4YGFM4I2.js → chunk.36VZHNCQ.js} +1 -1
  321. package/dist/chunks/{chunk.6WM4R2DA.js → chunk.3PNN625M.js} +1 -1
  322. package/dist/chunks/{chunk.5DLSMYYF.js → chunk.3PUYQYK7.js} +1 -1
  323. package/dist/chunks/{chunk.IRPULK4T.js → chunk.4V4TM346.js} +1 -1
  324. package/dist/chunks/{chunk.ZN4E3BW3.js → chunk.5QJLPDI3.js} +1 -1
  325. package/dist/chunks/{chunk.P6YK6F7T.js → chunk.5UOC4OZ4.js} +1 -1
  326. package/dist/chunks/{chunk.CDI4YMFV.js → chunk.76V2ISKC.js} +1 -1
  327. package/dist/chunks/{chunk.4FQGHIRS.js → chunk.7DSIPKKV.js} +1 -1
  328. package/dist/chunks/{chunk.PJ4LG3IZ.js → chunk.7P2REW5V.js} +1 -1
  329. package/dist/chunks/{chunk.YC3R5M35.js → chunk.7VNN27TI.js} +1 -1
  330. package/dist/chunks/{chunk.PO2OMSAQ.js → chunk.A372DMSH.js} +1 -1
  331. package/dist/chunks/{chunk.WV4VZLSM.js → chunk.A5JVBPWO.js} +1 -1
  332. package/dist/chunks/{chunk.JCFYB72C.js → chunk.A65XKMJZ.js} +1 -1
  333. package/dist/chunks/{chunk.X7XDUKGF.js → chunk.B76GUA7Y.js} +1 -1
  334. package/dist/chunks/{chunk.J2WMB4UM.js → chunk.BW5FY6QJ.js} +1 -1
  335. package/dist/chunks/{chunk.V3RBONZ7.js → chunk.DMDLO5DL.js} +6 -2
  336. package/dist/chunks/{chunk.KJN55623.js → chunk.E5L6DQKL.js} +1 -1
  337. package/dist/chunks/{chunk.IXY6JRMU.js → chunk.EAWBAV6Q.js} +2 -2
  338. package/dist/chunks/{chunk.2EDPY2A5.js → chunk.GNUKJF4Y.js} +1 -1
  339. package/dist/chunks/{chunk.UE4MIFO2.js → chunk.GQV5M7HP.js} +1 -1
  340. package/dist/chunks/{chunk.Y226ELYU.js → chunk.HHE5BX7I.js} +1 -1
  341. package/dist/chunks/{chunk.K7OGNZLO.js → chunk.HKWXNTTJ.js} +1 -1
  342. package/dist/chunks/{chunk.JYR67QON.js → chunk.I52N7OPP.js} +1 -1
  343. package/dist/chunks/{chunk.BDGTWJIT.js → chunk.IGOXLOQF.js} +2 -2
  344. package/dist/chunks/{chunk.36OESV3O.js → chunk.KBYT7BIL.js} +1 -1
  345. package/dist/chunks/{chunk.S3AIPHMB.js → chunk.KCOZ2C4D.js} +1 -1
  346. package/dist/chunks/{chunk.4WJBOMWG.js → chunk.L3ZE5UCG.js} +1 -1
  347. package/dist/chunks/{chunk.MBVWPMPN.js → chunk.L4CIZQD4.js} +1 -1
  348. package/dist/chunks/{chunk.NAD637BO.js → chunk.LUSVOKAM.js} +1 -1
  349. package/dist/chunks/{chunk.7YOG7JGW.js → chunk.M4A7II5B.js} +1 -1
  350. package/dist/chunks/{chunk.6JXHY72O.js → chunk.MOYNIJPD.js} +1 -1
  351. package/dist/chunks/{chunk.RL7BJYL6.js → chunk.MUMBMCAB.js} +1 -1
  352. package/dist/chunks/{chunk.3PROMK3G.js → chunk.O72HG6IC.js} +1 -1
  353. package/dist/chunks/{chunk.RXD64SUC.js → chunk.OD4O32CW.js} +1 -1
  354. package/dist/chunks/{chunk.XDGNL4X6.js → chunk.OXT3AO6N.js} +1 -1
  355. package/dist/chunks/{chunk.JT57FH4I.js → chunk.PBRDBJM3.js} +1 -1
  356. package/dist/chunks/{chunk.6SZCCE7T.js → chunk.PQAMJV7M.js} +1 -1
  357. package/dist/chunks/{chunk.6GDF7RP6.js → chunk.PR5RDVMQ.js} +18 -11
  358. package/dist/chunks/{chunk.IXAGOL3L.js → chunk.PXW33DB7.js} +1 -1
  359. package/dist/chunks/{chunk.MMI44BVI.js → chunk.PZYTCHKW.js} +1 -1
  360. package/dist/chunks/{chunk.E2USZ7GU.js → chunk.QJYIVBDS.js} +1 -1
  361. package/dist/chunks/{chunk.FV63VR7F.js → chunk.QOEAT2YX.js} +1 -1
  362. package/dist/chunks/{chunk.AQU3K3QW.js → chunk.QT545FQY.js} +1 -1
  363. package/dist/chunks/{chunk.EGVMKWID.js → chunk.RYPEDJRA.js} +1 -1
  364. package/dist/chunks/{chunk.7OODH6S5.js → chunk.SVFMI2BT.js} +1 -1
  365. package/dist/chunks/{chunk.FQAUOX63.js → chunk.TKSVNGDB.js} +1 -1
  366. package/dist/chunks/{chunk.YGCCHEFS.js → chunk.TU6RYP2A.js} +1 -1
  367. package/dist/chunks/{chunk.FRVVZRCH.js → chunk.TWEYUZPD.js} +1 -1
  368. package/dist/chunks/{chunk.HMOYAY72.js → chunk.TYCEV44V.js} +1 -1
  369. package/dist/chunks/{chunk.4OJXQ3S3.js → chunk.TZWXMYO6.js} +1 -1
  370. package/dist/chunks/{chunk.KLN5272I.js → chunk.U4MFOSYC.js} +1 -1
  371. package/dist/chunks/{chunk.FXZL5TSR.js → chunk.U7I3JTSV.js} +1 -1
  372. package/dist/chunks/{chunk.ELS2J6VM.js → chunk.V4TRG2QV.js} +2 -2
  373. package/dist/chunks/chunk.VU4ZPVVA.js +93 -0
  374. package/dist/chunks/{chunk.AJJI7TJL.js → chunk.WKX63M7W.js} +1 -1
  375. package/dist/chunks/{chunk.ANNKBF6X.js → chunk.ZBAZXZGL.js} +1 -1
  376. package/dist/chunks/{chunk.FJM4XRBD.js → chunk.ZJQST7NT.js} +1 -1
  377. package/dist/chunks/{chunk.7LLWTMC3.js → chunk.ZWTZYBO7.js} +1 -1
  378. package/dist/components/accordion/accordion.js +3 -3
  379. package/dist/components/accordion-group/accordion-group.js +4 -4
  380. package/dist/components/animation/animation.js +2 -2
  381. package/dist/components/audio/audio.js +6 -6
  382. package/dist/components/badge/badge.js +2 -2
  383. package/dist/components/brandshape/brandshape.js +2 -2
  384. package/dist/components/breadcrumb/breadcrumb.js +5 -5
  385. package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
  386. package/dist/components/button/button.js +3 -3
  387. package/dist/components/button-group/button-group.js +2 -2
  388. package/dist/components/carousel/carousel.js +4 -4
  389. package/dist/components/carousel-item/carousel-item.js +2 -2
  390. package/dist/components/checkbox/checkbox.js +3 -3
  391. package/dist/components/checkbox-group/checkbox-group.js +3 -3
  392. package/dist/components/combobox/combobox.js +5 -5
  393. package/dist/components/datepicker/datepicker.js +5 -5
  394. package/dist/components/dialog/dialog.js +5 -5
  395. package/dist/components/divider/divider.js +2 -2
  396. package/dist/components/drawer/drawer.js +5 -5
  397. package/dist/components/dropdown/dropdown.js +3 -3
  398. package/dist/components/expandable/expandable.js +3 -3
  399. package/dist/components/flipcard/flipcard.js +5 -5
  400. package/dist/components/header/header.js +2 -2
  401. package/dist/components/icon/icon.js +2 -2
  402. package/dist/components/include/include.js +2 -2
  403. package/dist/components/input/input.js +3 -3
  404. package/dist/components/link/link.js +2 -2
  405. package/dist/components/loader/loader.js +2 -2
  406. package/dist/components/map-marker/map-marker.js +2 -2
  407. package/dist/components/menu/menu.js +2 -2
  408. package/dist/components/menu-item/menu-item.js +2 -2
  409. package/dist/components/navigation-item/navigation-item.js +4 -4
  410. package/dist/components/notification/notification.js +5 -5
  411. package/dist/components/optgroup/optgroup.js +3 -3
  412. package/dist/components/option/option.js +3 -3
  413. package/dist/components/popup/popup.js +2 -2
  414. package/dist/components/quickfact/quickfact.js +4 -4
  415. package/dist/components/radio/radio.js +2 -2
  416. package/dist/components/radio-button/radio-button.js +2 -2
  417. package/dist/components/radio-group/radio-group.js +4 -4
  418. package/dist/components/range/range.js +5 -5
  419. package/dist/components/range-tick/range-tick.js +2 -2
  420. package/dist/components/scrollable/scrollable.js +3 -3
  421. package/dist/components/select/select.js +5 -5
  422. package/dist/components/skeleton/skeleton.js +2 -2
  423. package/dist/components/spinner/spinner.js +2 -2
  424. package/dist/components/step/step.d.ts +3 -2
  425. package/dist/components/step/step.js +3 -3
  426. package/dist/components/step-group/step-group.d.ts +3 -2
  427. package/dist/components/step-group/step-group.js +2 -2
  428. package/dist/components/switch/switch.js +2 -2
  429. package/dist/components/tab/tab.js +2 -2
  430. package/dist/components/tab-group/tab-group.js +3 -3
  431. package/dist/components/tab-panel/tab-panel.js +2 -2
  432. package/dist/components/tag/tag.js +3 -3
  433. package/dist/components/teaser/teaser.js +2 -2
  434. package/dist/components/teaser-media/teaser-media.js +2 -2
  435. package/dist/components/textarea/textarea.js +3 -3
  436. package/dist/components/theme-listener/theme-listener.js +2 -2
  437. package/dist/components/tooltip/tooltip.js +4 -4
  438. package/dist/components/video/video.js +3 -3
  439. package/dist/custom-elements.json +5 -5
  440. package/dist/solid-components.js +60 -60
  441. package/dist/utilities/autocomplete-config.js +2 -2
  442. package/dist/vscode.html-custom-data.json +2 -2
  443. package/dist/web-types.json +5 -5
  444. package/dist-versioned/chunks/{chunk.27CORLGD.js → chunk.2RT2QZ7M.js} +3 -3
  445. package/dist-versioned/chunks/{chunk.OQ5QEVJF.js → chunk.2YPLPBHV.js} +7 -7
  446. package/dist-versioned/chunks/{chunk.4YGFM4I2.js → chunk.36VZHNCQ.js} +7 -7
  447. package/dist-versioned/chunks/{chunk.6WM4R2DA.js → chunk.3PNN625M.js} +4 -4
  448. package/dist-versioned/chunks/{chunk.5DLSMYYF.js → chunk.3PUYQYK7.js} +6 -6
  449. package/dist-versioned/chunks/{chunk.IRPULK4T.js → chunk.4V4TM346.js} +10 -10
  450. package/dist-versioned/chunks/{chunk.ZN4E3BW3.js → chunk.5QJLPDI3.js} +6 -6
  451. package/dist-versioned/chunks/{chunk.P6YK6F7T.js → chunk.5UOC4OZ4.js} +4 -4
  452. package/dist-versioned/chunks/{chunk.CDI4YMFV.js → chunk.76V2ISKC.js} +5 -5
  453. package/dist-versioned/chunks/{chunk.4FQGHIRS.js → chunk.7DSIPKKV.js} +4 -4
  454. package/dist-versioned/chunks/{chunk.PJ4LG3IZ.js → chunk.7P2REW5V.js} +11 -11
  455. package/dist-versioned/chunks/{chunk.YC3R5M35.js → chunk.7VNN27TI.js} +6 -6
  456. package/dist-versioned/chunks/{chunk.PO2OMSAQ.js → chunk.A372DMSH.js} +9 -9
  457. package/dist-versioned/chunks/{chunk.WV4VZLSM.js → chunk.A5JVBPWO.js} +8 -8
  458. package/dist-versioned/chunks/{chunk.JCFYB72C.js → chunk.A65XKMJZ.js} +4 -4
  459. package/dist-versioned/chunks/{chunk.X7XDUKGF.js → chunk.B76GUA7Y.js} +2 -2
  460. package/dist-versioned/chunks/{chunk.J2WMB4UM.js → chunk.BW5FY6QJ.js} +12 -12
  461. package/dist-versioned/chunks/chunk.C3WIBDGG.js +2 -2
  462. package/dist-versioned/chunks/{chunk.V3RBONZ7.js → chunk.DMDLO5DL.js} +8 -4
  463. package/dist-versioned/chunks/{chunk.KJN55623.js → chunk.E5L6DQKL.js} +12 -12
  464. package/dist-versioned/chunks/{chunk.IXY6JRMU.js → chunk.EAWBAV6Q.js} +5 -5
  465. package/dist-versioned/chunks/{chunk.2EDPY2A5.js → chunk.GNUKJF4Y.js} +3 -3
  466. package/dist-versioned/chunks/{chunk.UE4MIFO2.js → chunk.GQV5M7HP.js} +3 -3
  467. package/dist-versioned/chunks/{chunk.Y226ELYU.js → chunk.HHE5BX7I.js} +6 -6
  468. package/dist-versioned/chunks/{chunk.K7OGNZLO.js → chunk.HKWXNTTJ.js} +2 -2
  469. package/dist-versioned/chunks/{chunk.JYR67QON.js → chunk.I52N7OPP.js} +3 -3
  470. package/dist-versioned/chunks/{chunk.BDGTWJIT.js → chunk.IGOXLOQF.js} +14 -14
  471. package/dist-versioned/chunks/{chunk.36OESV3O.js → chunk.KBYT7BIL.js} +2 -2
  472. package/dist-versioned/chunks/{chunk.S3AIPHMB.js → chunk.KCOZ2C4D.js} +26 -26
  473. package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
  474. package/dist-versioned/chunks/{chunk.4WJBOMWG.js → chunk.L3ZE5UCG.js} +12 -12
  475. package/dist-versioned/chunks/{chunk.MBVWPMPN.js → chunk.L4CIZQD4.js} +5 -5
  476. package/dist-versioned/chunks/{chunk.NAD637BO.js → chunk.LUSVOKAM.js} +6 -6
  477. package/dist-versioned/chunks/{chunk.7YOG7JGW.js → chunk.M4A7II5B.js} +5 -5
  478. package/dist-versioned/chunks/{chunk.6JXHY72O.js → chunk.MOYNIJPD.js} +4 -4
  479. package/dist-versioned/chunks/chunk.MQG727Y4.js +4 -4
  480. package/dist-versioned/chunks/{chunk.RL7BJYL6.js → chunk.MUMBMCAB.js} +2 -2
  481. package/dist-versioned/chunks/{chunk.3PROMK3G.js → chunk.O72HG6IC.js} +11 -11
  482. package/dist-versioned/chunks/{chunk.RXD64SUC.js → chunk.OD4O32CW.js} +5 -5
  483. package/dist-versioned/chunks/{chunk.XDGNL4X6.js → chunk.OXT3AO6N.js} +11 -11
  484. package/dist-versioned/chunks/{chunk.JT57FH4I.js → chunk.PBRDBJM3.js} +26 -26
  485. package/dist-versioned/chunks/{chunk.6SZCCE7T.js → chunk.PQAMJV7M.js} +3 -3
  486. package/dist-versioned/chunks/{chunk.6GDF7RP6.js → chunk.PR5RDVMQ.js} +22 -15
  487. package/dist-versioned/chunks/{chunk.IXAGOL3L.js → chunk.PXW33DB7.js} +7 -7
  488. package/dist-versioned/chunks/{chunk.MMI44BVI.js → chunk.PZYTCHKW.js} +3 -3
  489. package/dist-versioned/chunks/{chunk.E2USZ7GU.js → chunk.QJYIVBDS.js} +7 -7
  490. package/dist-versioned/chunks/{chunk.FV63VR7F.js → chunk.QOEAT2YX.js} +14 -14
  491. package/dist-versioned/chunks/{chunk.AQU3K3QW.js → chunk.QT545FQY.js} +3 -3
  492. package/dist-versioned/chunks/{chunk.EGVMKWID.js → chunk.RYPEDJRA.js} +2 -2
  493. package/dist-versioned/chunks/{chunk.7OODH6S5.js → chunk.SVFMI2BT.js} +6 -6
  494. package/dist-versioned/chunks/{chunk.FQAUOX63.js → chunk.TKSVNGDB.js} +2 -2
  495. package/dist-versioned/chunks/{chunk.YGCCHEFS.js → chunk.TU6RYP2A.js} +7 -7
  496. package/dist-versioned/chunks/{chunk.FRVVZRCH.js → chunk.TWEYUZPD.js} +2 -2
  497. package/dist-versioned/chunks/{chunk.HMOYAY72.js → chunk.TYCEV44V.js} +6 -6
  498. package/dist-versioned/chunks/{chunk.4OJXQ3S3.js → chunk.TZWXMYO6.js} +5 -5
  499. package/dist-versioned/chunks/{chunk.KLN5272I.js → chunk.U4MFOSYC.js} +6 -6
  500. package/dist-versioned/chunks/{chunk.FXZL5TSR.js → chunk.U7I3JTSV.js} +3 -3
  501. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  502. package/dist-versioned/chunks/{chunk.ELS2J6VM.js → chunk.V4TRG2QV.js} +12 -12
  503. package/dist-versioned/chunks/chunk.VU4ZPVVA.js +93 -0
  504. package/dist-versioned/chunks/{chunk.AJJI7TJL.js → chunk.WKX63M7W.js} +3 -3
  505. package/dist-versioned/chunks/{chunk.ANNKBF6X.js → chunk.ZBAZXZGL.js} +33 -33
  506. package/dist-versioned/chunks/{chunk.FJM4XRBD.js → chunk.ZJQST7NT.js} +3 -3
  507. package/dist-versioned/chunks/{chunk.7LLWTMC3.js → chunk.ZWTZYBO7.js} +15 -15
  508. package/dist-versioned/components/accordion/accordion.d.ts +1 -1
  509. package/dist-versioned/components/accordion/accordion.js +3 -3
  510. package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  511. package/dist-versioned/components/accordion-group/accordion-group.js +4 -4
  512. package/dist-versioned/components/animation/animation.d.ts +1 -1
  513. package/dist-versioned/components/animation/animation.js +2 -2
  514. package/dist-versioned/components/audio/audio.d.ts +1 -1
  515. package/dist-versioned/components/audio/audio.js +6 -6
  516. package/dist-versioned/components/badge/badge.d.ts +1 -1
  517. package/dist-versioned/components/badge/badge.js +2 -2
  518. package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
  519. package/dist-versioned/components/brandshape/brandshape.js +2 -2
  520. package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  521. package/dist-versioned/components/breadcrumb/breadcrumb.js +5 -5
  522. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  523. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.js +3 -3
  524. package/dist-versioned/components/button/button.d.ts +1 -1
  525. package/dist-versioned/components/button/button.js +3 -3
  526. package/dist-versioned/components/button-group/button-group.d.ts +1 -1
  527. package/dist-versioned/components/button-group/button-group.js +2 -2
  528. package/dist-versioned/components/carousel/carousel.d.ts +1 -1
  529. package/dist-versioned/components/carousel/carousel.js +4 -4
  530. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  531. package/dist-versioned/components/carousel-item/carousel-item.js +2 -2
  532. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  533. package/dist-versioned/components/checkbox/checkbox.js +3 -3
  534. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  535. package/dist-versioned/components/checkbox-group/checkbox-group.js +3 -3
  536. package/dist-versioned/components/combobox/combobox.d.ts +1 -1
  537. package/dist-versioned/components/combobox/combobox.js +5 -5
  538. package/dist-versioned/components/datepicker/datepicker.d.ts +1 -1
  539. package/dist-versioned/components/datepicker/datepicker.js +5 -5
  540. package/dist-versioned/components/dialog/dialog.d.ts +1 -1
  541. package/dist-versioned/components/dialog/dialog.js +5 -5
  542. package/dist-versioned/components/divider/divider.d.ts +1 -1
  543. package/dist-versioned/components/divider/divider.js +2 -2
  544. package/dist-versioned/components/drawer/drawer.d.ts +1 -1
  545. package/dist-versioned/components/drawer/drawer.js +5 -5
  546. package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
  547. package/dist-versioned/components/dropdown/dropdown.js +3 -3
  548. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  549. package/dist-versioned/components/expandable/expandable.js +3 -3
  550. package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
  551. package/dist-versioned/components/flipcard/flipcard.js +5 -5
  552. package/dist-versioned/components/header/header.d.ts +1 -1
  553. package/dist-versioned/components/header/header.js +2 -2
  554. package/dist-versioned/components/icon/icon.d.ts +1 -1
  555. package/dist-versioned/components/icon/icon.js +2 -2
  556. package/dist-versioned/components/include/include.d.ts +1 -1
  557. package/dist-versioned/components/include/include.js +2 -2
  558. package/dist-versioned/components/input/input.d.ts +1 -1
  559. package/dist-versioned/components/input/input.js +3 -3
  560. package/dist-versioned/components/link/link.d.ts +1 -1
  561. package/dist-versioned/components/link/link.js +2 -2
  562. package/dist-versioned/components/loader/loader.d.ts +1 -1
  563. package/dist-versioned/components/loader/loader.js +2 -2
  564. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  565. package/dist-versioned/components/map-marker/map-marker.js +2 -2
  566. package/dist-versioned/components/menu/menu.d.ts +1 -1
  567. package/dist-versioned/components/menu/menu.js +2 -2
  568. package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
  569. package/dist-versioned/components/menu-item/menu-item.js +2 -2
  570. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  571. package/dist-versioned/components/navigation-item/navigation-item.js +4 -4
  572. package/dist-versioned/components/notification/notification.d.ts +1 -1
  573. package/dist-versioned/components/notification/notification.js +5 -5
  574. package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
  575. package/dist-versioned/components/optgroup/optgroup.js +3 -3
  576. package/dist-versioned/components/option/option.d.ts +1 -1
  577. package/dist-versioned/components/option/option.js +3 -3
  578. package/dist-versioned/components/popup/popup.d.ts +1 -1
  579. package/dist-versioned/components/popup/popup.js +2 -2
  580. package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
  581. package/dist-versioned/components/quickfact/quickfact.js +4 -4
  582. package/dist-versioned/components/radio/radio.d.ts +1 -1
  583. package/dist-versioned/components/radio/radio.js +2 -2
  584. package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
  585. package/dist-versioned/components/radio-button/radio-button.js +2 -2
  586. package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
  587. package/dist-versioned/components/radio-group/radio-group.js +4 -4
  588. package/dist-versioned/components/range/range.d.ts +1 -1
  589. package/dist-versioned/components/range/range.js +5 -5
  590. package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
  591. package/dist-versioned/components/range-tick/range-tick.js +2 -2
  592. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  593. package/dist-versioned/components/scrollable/scrollable.js +3 -3
  594. package/dist-versioned/components/select/select.d.ts +1 -1
  595. package/dist-versioned/components/select/select.js +5 -5
  596. package/dist-versioned/components/skeleton/skeleton.d.ts +1 -1
  597. package/dist-versioned/components/skeleton/skeleton.js +2 -2
  598. package/dist-versioned/components/spinner/spinner.d.ts +1 -1
  599. package/dist-versioned/components/spinner/spinner.js +2 -2
  600. package/dist-versioned/components/step/step.d.ts +4 -3
  601. package/dist-versioned/components/step/step.js +3 -3
  602. package/dist-versioned/components/step-group/step-group.d.ts +4 -3
  603. package/dist-versioned/components/step-group/step-group.js +2 -2
  604. package/dist-versioned/components/switch/switch.d.ts +1 -1
  605. package/dist-versioned/components/switch/switch.js +2 -2
  606. package/dist-versioned/components/tab/tab.d.ts +1 -1
  607. package/dist-versioned/components/tab/tab.js +2 -2
  608. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  609. package/dist-versioned/components/tab-group/tab-group.js +3 -3
  610. package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  611. package/dist-versioned/components/tab-panel/tab-panel.js +2 -2
  612. package/dist-versioned/components/tag/tag.d.ts +1 -1
  613. package/dist-versioned/components/tag/tag.js +3 -3
  614. package/dist-versioned/components/teaser/teaser.js +2 -2
  615. package/dist-versioned/components/teaser-media/teaser-media.js +2 -2
  616. package/dist-versioned/components/textarea/textarea.d.ts +1 -1
  617. package/dist-versioned/components/textarea/textarea.js +3 -3
  618. package/dist-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  619. package/dist-versioned/components/theme-listener/theme-listener.js +2 -2
  620. package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
  621. package/dist-versioned/components/tooltip/tooltip.js +4 -4
  622. package/dist-versioned/components/video/video.d.ts +1 -1
  623. package/dist-versioned/components/video/video.js +3 -3
  624. package/dist-versioned/custom-elements.json +249 -249
  625. package/dist-versioned/internal/form.js +2 -2
  626. package/dist-versioned/solid-components.css +2 -2
  627. package/dist-versioned/solid-components.js +60 -60
  628. package/dist-versioned/utilities/autocomplete-config.js +2 -2
  629. package/dist-versioned/vscode.html-custom-data.json +109 -109
  630. package/dist-versioned/web-types.json +161 -161
  631. package/package.json +3 -3
  632. package/cdn/chunks/chunk.6FABT2P2.js +0 -26
  633. package/cdn/chunks/chunk.6G62L252.js +0 -2
  634. package/cdn/chunks/chunk.LQ6VYVB5.js +0 -2
  635. package/cdn-versioned/chunks/chunk.6FABT2P2.js +0 -26
  636. package/cdn-versioned/chunks/chunk.6G62L252.js +0 -2
  637. package/cdn-versioned/chunks/chunk.LQ6VYVB5.js +0 -2
  638. package/dist/chunks/chunk.XNTGIC2L.js +0 -93
  639. package/dist-versioned/chunks/chunk.XNTGIC2L.js +0 -93
@@ -1,2 +1,2 @@
1
- import{a as C}from"./chunk.2AQOPKKH.js";import{a as M}from"./chunk.G7HKVXLR.js";import{a as y,b as v}from"./chunk.3L472FD4.js";import{a as f}from"./chunk.SLXPE3UU.js";import{a as k}from"./chunk.CGQ2BPPZ.js";import{a,c as s}from"./chunk.B2NUKX6G.js";import{a as m}from"./chunk.KLRPP4NQ.js";import{a as x}from"./chunk.IQPMMUES.js";import{a as p}from"./chunk.QIKBKQXB.js";import{a as b}from"./chunk.NYKJXI3Q.js";import{a as w,b as h,d as c,h as u}from"./chunk.6FABT2P2.js";import{b as g,e as l}from"./chunk.UOAG5PNU.js";import{b as n,e as d}from"./chunk.W4QBFD6E.js";import{e as o}from"./chunk.6EV4YU6C.js";var t=class extends u{constructor(){super(...arguments);this.hasSlotController=new k(this,"footer");this.localize=new x(this);this.open=!1;this.headline="";this.noCloseButton=!1}connectedCallback(){super.connectedCallback(),this.handleDocumentKeyDown=this.handleDocumentKeyDown.bind(this),this.modal=new C(this)}firstUpdated(){this.dialog.hidden=!this.open,this.open&&(this.addOpenListeners(),this.modal.activate(),y(this))}disconnectedCallback(){super.disconnectedCallback(),v(this)}get prefersReducedMotion(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}requestClose(e){if(this.emit("sd-request-close",{cancelable:!0,detail:{source:e}}).defaultPrevented){let i=s(this,"dialog.denyClose",{dir:this.localize.dir()});n(this.panel,i.keyframes,i.options);return}this.hide()}addOpenListeners(){document.addEventListener("keydown",this.handleDocumentKeyDown)}removeOpenListeners(){document.removeEventListener("keydown",this.handleDocumentKeyDown)}handleDocumentKeyDown(e){this.open&&e.key==="Escape"&&(e.stopPropagation(),this.requestClose("keyboard"))}async handleOpenChange(){if(this.open){this.emit("sd-show"),this.addOpenListeners(),this.originalTrigger=M(),this.modal.activate(),y(this);let e=this.querySelector("[autofocus]");e&&e.removeAttribute("autofocus"),await Promise.all([d(this.dialog),d(this.overlay)]),this.dialog.hidden=!1,requestAnimationFrame(()=>{this.emit("sd-initial-focus",{cancelable:!0}).defaultPrevented||(e?e.focus({preventScroll:!0}):this.panel.focus({preventScroll:!0})),e&&e.setAttribute("autofocus","")});let r=this.prefersReducedMotion?s(this,"dialog.showReducedMotion",{dir:this.localize.dir()}):s(this,"dialog.show",{dir:this.localize.dir()}),i=s(this,"dialog.overlay.show",{dir:this.localize.dir()});await Promise.all([n(this.panel,r.keyframes,r.options),n(this.overlay,i.keyframes,i.options)]),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),this.modal.deactivate(),await Promise.all([d(this.dialog),d(this.overlay)]);let e=this.prefersReducedMotion?s(this,"dialog.hideReducedMotion",{dir:this.localize.dir()}):s(this,"dialog.hide",{dir:this.localize.dir()}),r=s(this,"dialog.overlay.hide",{dir:this.localize.dir()});await Promise.all([n(this.overlay,r.keyframes,r.options).then(()=>{this.overlay.hidden=!0}),n(this.panel,e.keyframes,e.options).then(()=>{this.panel.hidden=!0})]),this.dialog.hidden=!0,this.overlay.hidden=!1,this.panel.hidden=!1,v(this);let i=this.originalTrigger;typeof(i==null?void 0:i.focus)=="function"&&i.isConnected&&setTimeout(()=>{try{i.focus({preventScroll:!0})}catch(L){i.focus()}this.originalTrigger=null}),this.emit("sd-after-hide")}}async show(){if(!this.open)return this.open=!0,m(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,m(this,"sd-after-hide")}render(){return l`<div part="base" class="${p("flex items-center justify-center fixed inset-0 z-dialog",this.hasSlotController.test("footer")&&"dialog--has-footer")}"><div part="overlay" class="fixed inset-0 overlay-color-background" @click="${()=>this.requestClose("overlay")}" tabindex="-1"></div><div part="panel" class="${p("panel-color-border border flex flex-col z-20 bg-white py-4 sm:py-8 relative gap-6 focus-visible:focus-outline-inverted overflow-y-auto",this.open&&"flex opacity-100")}" role="dialog" aria-modal="true" aria-hidden="${this.open?"false":"true"}" aria-label="${f(this.headline?this.headline:void 0)}" aria-labelledby="${f(this.headline?void 0:"title")}" tabindex="0"><header part="header" class="flex flex-grow-0 flex-shrink-0 basis-auto px-6 sm:px-10"><h2 part="title" class="flex-auto m-0" id="title">${this.headline.length>0?l`<span class="sd-headline sd-headline--size-3xl leading-tight">${this.headline}</span>`:l`<slot name="headline"></slot>`}</h2>${this.noCloseButton?"":l`<sd-button part="close-button" variant="tertiary" exportparts="base:close-button__base" class="${p("absolute top-2 right-2")}" name="x-lg" @click="${()=>this.requestClose("close-button")}" type="button"><sd-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-icon></sd-button>`}</header><main part="body" class="flex flex-auto overflow-auto w-full px-6 sm:px-10"><slot></slot></main><footer part="footer" class="flex flex-grow-0 flex-shrink-0 basis-auto ml-auto gap-4 px-6 sm:px-10"><slot name="footer"></slot></footer></div></div>`}};t.styles=[...u.styles,g`/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as C}from"./chunk.2AQOPKKH.js";import{a as M}from"./chunk.G7HKVXLR.js";import{a as y,b as v}from"./chunk.3L472FD4.js";import{a as f}from"./chunk.SLXPE3UU.js";import{a as k}from"./chunk.CGQ2BPPZ.js";import{a,c as s}from"./chunk.B2NUKX6G.js";import{a as m}from"./chunk.KLRPP4NQ.js";import{a as x}from"./chunk.IQPMMUES.js";import{a as p}from"./chunk.QIKBKQXB.js";import{a as b}from"./chunk.NYKJXI3Q.js";import{a as w,b as h,d as c,h as u}from"./chunk.AWJGLIES.js";import{b as g,e as l}from"./chunk.UOAG5PNU.js";import{b as n,e as d}from"./chunk.W4QBFD6E.js";import{e as o}from"./chunk.6EV4YU6C.js";var t=class extends u{constructor(){super(...arguments);this.hasSlotController=new k(this,"footer");this.localize=new x(this);this.open=!1;this.headline="";this.noCloseButton=!1}connectedCallback(){super.connectedCallback(),this.handleDocumentKeyDown=this.handleDocumentKeyDown.bind(this),this.modal=new C(this)}firstUpdated(){this.dialog.hidden=!this.open,this.open&&(this.addOpenListeners(),this.modal.activate(),y(this))}disconnectedCallback(){super.disconnectedCallback(),v(this)}get prefersReducedMotion(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}requestClose(e){if(this.emit("sd-request-close",{cancelable:!0,detail:{source:e}}).defaultPrevented){let i=s(this,"dialog.denyClose",{dir:this.localize.dir()});n(this.panel,i.keyframes,i.options);return}this.hide()}addOpenListeners(){document.addEventListener("keydown",this.handleDocumentKeyDown)}removeOpenListeners(){document.removeEventListener("keydown",this.handleDocumentKeyDown)}handleDocumentKeyDown(e){this.open&&e.key==="Escape"&&(e.stopPropagation(),this.requestClose("keyboard"))}async handleOpenChange(){if(this.open){this.emit("sd-show"),this.addOpenListeners(),this.originalTrigger=M(),this.modal.activate(),y(this);let e=this.querySelector("[autofocus]");e&&e.removeAttribute("autofocus"),await Promise.all([d(this.dialog),d(this.overlay)]),this.dialog.hidden=!1,requestAnimationFrame(()=>{this.emit("sd-initial-focus",{cancelable:!0}).defaultPrevented||(e?e.focus({preventScroll:!0}):this.panel.focus({preventScroll:!0})),e&&e.setAttribute("autofocus","")});let r=this.prefersReducedMotion?s(this,"dialog.showReducedMotion",{dir:this.localize.dir()}):s(this,"dialog.show",{dir:this.localize.dir()}),i=s(this,"dialog.overlay.show",{dir:this.localize.dir()});await Promise.all([n(this.panel,r.keyframes,r.options),n(this.overlay,i.keyframes,i.options)]),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),this.modal.deactivate(),await Promise.all([d(this.dialog),d(this.overlay)]);let e=this.prefersReducedMotion?s(this,"dialog.hideReducedMotion",{dir:this.localize.dir()}):s(this,"dialog.hide",{dir:this.localize.dir()}),r=s(this,"dialog.overlay.hide",{dir:this.localize.dir()});await Promise.all([n(this.overlay,r.keyframes,r.options).then(()=>{this.overlay.hidden=!0}),n(this.panel,e.keyframes,e.options).then(()=>{this.panel.hidden=!0})]),this.dialog.hidden=!0,this.overlay.hidden=!1,this.panel.hidden=!1,v(this);let i=this.originalTrigger;typeof(i==null?void 0:i.focus)=="function"&&i.isConnected&&setTimeout(()=>{try{i.focus({preventScroll:!0})}catch(L){i.focus()}this.originalTrigger=null}),this.emit("sd-after-hide")}}async show(){if(!this.open)return this.open=!0,m(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,m(this,"sd-after-hide")}render(){return l`<div part="base" class="${p("flex items-center justify-center fixed inset-0 z-dialog",this.hasSlotController.test("footer")&&"dialog--has-footer")}"><div part="overlay" class="fixed inset-0 overlay-color-background" @click="${()=>this.requestClose("overlay")}" tabindex="-1"></div><div part="panel" class="${p("panel-color-border border flex flex-col z-20 bg-white py-4 sm:py-8 relative gap-6 focus-visible:focus-outline-inverted overflow-y-auto",this.open&&"flex opacity-100")}" role="dialog" aria-modal="true" aria-hidden="${this.open?"false":"true"}" aria-label="${f(this.headline?this.headline:void 0)}" aria-labelledby="${f(this.headline?void 0:"title")}" tabindex="0"><header part="header" class="flex flex-grow-0 flex-shrink-0 basis-auto px-6 sm:px-10"><h2 part="title" class="flex-auto m-0" id="title">${this.headline.length>0?l`<span class="sd-headline sd-headline--size-3xl leading-tight">${this.headline}</span>`:l`<slot name="headline"></slot>`}</h2>${this.noCloseButton?"":l`<sd-button part="close-button" variant="tertiary" exportparts="base:close-button__base" class="${p("absolute top-2 right-2")}" name="x-lg" @click="${()=>this.requestClose("close-button")}" type="button"><sd-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-icon></sd-button>`}</header><main part="body" class="flex flex-auto overflow-auto w-full px-6 sm:px-10"><slot></slot></main><footer part="footer" class="flex flex-grow-0 flex-shrink-0 basis-auto ml-auto gap-4 px-6 sm:px-10"><slot name="footer"></slot></footer></div></div>`}};t.styles=[...u.styles,g`/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{--width:662px}[part=panel]{width:var(--width);max-height:80vh}[part=body]{-webkit-overflow-scrolling:touch}@media (max-width:414px){:host{--width:335px}[part=body]{min-height:50px}[part=footer]{width:100%}}`],o([c('[part="base"]')],t.prototype,"dialog",2),o([c('[part="panel"]')],t.prototype,"panel",2),o([c('[part="overlay"]')],t.prototype,"overlay",2),o([h({type:Boolean,reflect:!0})],t.prototype,"open",2),o([h({type:String,reflect:!0})],t.prototype,"headline",2),o([h({attribute:"no-close-button",type:Boolean,reflect:!0})],t.prototype,"noCloseButton",2),o([b("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),t=o([w("sd-dialog")],t);a("dialog.show",{keyframes:[{opacity:0,transform:"translate(-50%, 100%)"},{opacity:1,transform:"translate(0, 0)"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});a("dialog.showReducedMotion",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out",reducedMotion:"allow"}});a("dialog.hide",{keyframes:[{opacity:1,transform:"translate(0, 0)"},{opacity:0,transform:"translate(50%, -100%)"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});a("dialog.hideReducedMotion",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out",reducedMotion:"allow"}});a("dialog.denyClose",{keyframes:[{scale:1},{scale:1.02},{scale:1}],options:{duration:250}});a("dialog.overlay.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out",reducedMotion:"allow"}});a("dialog.overlay.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out",reducedMotion:"allow"}});export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as s}from"./chunk.SLXPE3UU.js";import{a as l,b as d}from"./chunk.SV6DES3E.js";import{a as b}from"./chunk.IQPMMUES.js";import{a}from"./chunk.QIKBKQXB.js";import{a as h,b as i,d as f,h as n}from"./chunk.6FABT2P2.js";import{b as u}from"./chunk.UOAG5PNU.js";import{e as r}from"./chunk.6EV4YU6C.js";var e=class extends n{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(),o=this.removable&&!this.selected&&!this.toggleable,c=t?l`a`:o?l`div`:l`button`;return d`<${c} 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||o?"-1":"0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" class="${a("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:o?"pl-4 pr-3 py-2":"px-4 py-2",sm:o?"pl-3 pr-2 py-2":"px-3 py-[5px]"}[this.size],this.disabled?a(!t&&"cursor-not-allowed",this.selected&&"bg-neutral-500 text-white","sd-tag--disabled-color-border sd-tag--disabled-color-text"):this.selected?"sd-tag--selected-border-width sd-tag--selected--default-color-background sd-tag--selected--default-color-border sd-tag--selected--default-color-text hover:sd-tag--selected--hover-color-background hover:sd-tag--selected--hover-color-border hover:sd-tag--selected--hover-color-text":a("sd-tag--default-color-border sd-tag--default-color-text",o?"sd-tag--default-color-background has-[button:hover]:border-primary-500 has-[button:hover]:text-primary-500":"sd-tag--default-color-background hover:border-primary-500 hover:text-primary-500 hover:sd-tag--default--hover-color-background"))}"><slot name="icon-left" class="${a("flex-shrink-0",this.size==="lg"?"text-base":"text-[0.75rem]")}"></slot><slot id="content" part="content"></slot>${o&&!t?d`<button class="sd-interactive flex items-center" type="button" @click="${this.handleRemove}" ?disabled="${s(t?void 0:this.disabled)}"><slot part="removable-indicator" name="removable-indicator"><sd-icon library="_internal" name="close" label="${this.localize.term("remove")}"></sd-icon></slot></button>`:""}</${c}>`}};e.styles=[...n.styles,u`/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
1
+ import{a as s}from"./chunk.SLXPE3UU.js";import{a as l,b as d}from"./chunk.SV6DES3E.js";import{a as b}from"./chunk.IQPMMUES.js";import{a}from"./chunk.QIKBKQXB.js";import{a as h,b as i,d as f,h as n}from"./chunk.AWJGLIES.js";import{b as u}from"./chunk.UOAG5PNU.js";import{e as r}from"./chunk.6EV4YU6C.js";var e=class extends n{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(),o=this.removable&&!this.selected&&!this.toggleable,c=t?l`a`:o?l`div`:l`button`;return d`<${c} 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||o?"-1":"0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" class="${a("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:o?"pl-4 pr-3 py-2":"px-4 py-2",sm:o?"pl-3 pr-2 py-2":"px-3 py-[5px]"}[this.size],this.disabled?a(!t&&"cursor-not-allowed",this.selected&&"bg-neutral-500 text-white","sd-tag--disabled-color-border sd-tag--disabled-color-text"):this.selected?"sd-tag--selected-border-width sd-tag--selected--default-color-background sd-tag--selected--default-color-border sd-tag--selected--default-color-text hover:sd-tag--selected--hover-color-background hover:sd-tag--selected--hover-color-border hover:sd-tag--selected--hover-color-text":a("sd-tag--default-color-border sd-tag--default-color-text",o?"sd-tag--default-color-background has-[button:hover]:border-primary-500 has-[button:hover]:text-primary-500":"sd-tag--default-color-background hover:border-primary-500 hover:text-primary-500 hover:sd-tag--default--hover-color-background"))}"><slot name="icon-left" class="${a("flex-shrink-0",this.size==="lg"?"text-base":"text-[0.75rem]")}"></slot><slot id="content" part="content"></slot>${o&&!t?d`<button class="sd-interactive flex items-center" type="button" @click="${this.handleRemove}" ?disabled="${s(t?void 0:this.disabled)}"><slot part="removable-indicator" name="removable-indicator"><sd-icon library="_internal" name="close" label="${this.localize.term("remove")}"></sd-icon></slot></button>`:""}</${c}>`}};e.styles=[...n.styles,u`/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
2
  :host{display:inline-block;transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,150ms));--tw-duration:var(--sd-duration-fast, 150ms);transition-duration:var(--sd-duration-fast,150ms);--tw-ease:var(--ease-in-out, cubic-bezier(0.4, 0, 0.2, 1));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}:host([size=lg])::part(removable-indicator){font-size:var(--sd-text-base);line-height:var(--tw-leading,var(--text-base--line-height,calc(1.5 / 1)))}:host([size=sm])::part(removable-indicator){font-size:.75rem}.sd-tag--disabled-color-border{border-color:rgb(var(--sd-tag--disabled-color-border))}.sd-tag-font-weight{font-weight:var(--sd-tag-font-weight)}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}`],r([f("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([h("sd-tag")],e);export{e as a};
@@ -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.QIKBKQXB.js";import{a as g,b as d,c as o,d as u,h as p}from"./chunk.6FABT2P2.js";import{b as v,e as a}from"./chunk.UOAG5PNU.js";import{a as h}from"./chunk.WNP2V63C.js";import{e as i}from"./chunk.6EV4YU6C.js";var e=class extends p{constructor(){super();this.localize=new y(this);this.hasSlotController=new 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=t=>this.localize.term("seconds",Number(t).toFixed(0)),this.animated&&this.initAnimation())}updated(t){if(t.has("animated")){let s=t.get("animated");!s&&this.animated?this.initAnimation():s&&!this.animated&&this.clear()}}get audioElement(){let t=this.shadowRoot.querySelector("slot");return(t==null?void 0:t.assignedElements().length)>0?t.assignedElements()[0]:null}updateCurrentTime(){if(!this.audioElement)return;let t=this.audioElement.currentTime;this.currentTime=this.formatTime(t),this.progress=t,this.progressSlider&&(this.progressSlider.value=this.progress.toString())}updateAudioDuration(){if(this.audioElement){if(isNaN(this.audioElement.duration)){setTimeout(()=>{this.updateAudioDuration()},100);return}this.duration=this.formatTime(this.audioElement.duration),this.progressSlider.max=this.audioElement.duration}}playAudio(){this.audioElement&&(this.isPlaying=!0,this.audioElement.play(),this.emit("sd-playback-start"),this.animated&&this.draw())}pauseAudio(){this.audioElement&&(this.isPlaying=!1,this.audioElement.pause(),this.emit("sd-playback-pause"),this.animated&&this.stopAnimation())}handleAudioEnd(){this.emit("sd-playback-end"),this.isPlaying=!1,this.progress=0,this.progressSlider.value="0",this.currentTime=this.formatTime(0),this.animated&&this.stopAnimation()}toggleMute(){this.audioElement&&(this.isMuted=!this.isMuted,this.isMuted?(this.emit("sd-playback-mute"),this.audioElement.muted=!0):(this.emit("sd-playback-unmute"),this.audioElement.muted=!1))}toggleMuteKeydown(t){t.key==="Enter"&&(t.preventDefault(),this.toggleMute())}togglePlaybackSpeed(){this.audioElement&&(this.emit("sd-playback-speed"),this.speed=this.speed===1.5?1:this.speed+.25,this.audioElement.playbackRate=this.speed)}togglePlaybackSpeedKeydown(t){t.key==="Enter"&&(t.preventDefault(),this.togglePlaybackSpeed())}formatTime(t){let s=Math.floor(t/60).toString().padStart(2,"0"),c=Math.floor(t%60).toString().padStart(2,"0");return`${s}:${c}`}handleAudioProgress(){if(!this.audioElement)return;let t=Number(this.progressSlider.value);this.audioElement.currentTime=t,this.progress=t,this.currentTime=this.formatTime(t)}handleAudioProgressKeydown(t){t.key==="ArrowRight"&&(this.progressSlider.value=(Number(this.progressSlider.value)+1).toString(),this.handleAudioProgress()),t.key==="ArrowLeft"&&(this.progressSlider.value=(Number(this.progressSlider.value)-1).toString(),this.handleAudioProgress())}handleTranscriptDrawerToggle(){this.isTranscriptOpen=!this.isTranscriptOpen}handleThumbGrab(){var t;(t=this.audioElement)==null||t.pause()}handleThumbRelease(){var t;this.isPlaying&&((t=this.audioElement)==null||t.play())}showTranscript(){this.emit("sd-transcript-click"),this.drawer.open=!0,this.handleTranscriptDrawerToggle()}showTranscriptKeydown(t){(t.key==="Enter"||t.key===" ")&&this.showTranscript()}rgbToHex(t){let s=t.match(/\d+/g);if((s==null?void 0:s.length)===3){let c=parseInt(s[0]),m=parseInt(s[1]),n=parseInt(s[2]),l=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 t=(l=this.canvas)==null?void 0:l.getContext("2d");if(!t)return;this.context=t;let s=this.audioPlayerContainer.querySelector(".playback-speed"),m=window.getComputedStyle(s).color,n=this.inverted?"#FFFFFF33":this.rgbToHex(m)+"33";this.waveList=[new h({canvas:this.canvas,color:n,phase:240,shift:1.5,amplitude:230,frequency:.012,damping:1}),new h({canvas:this.canvas,color:n,phase:180,shift:2.5,amplitude:250,frequency:.005,damping:1}),new h({canvas:this.canvas,color:n,phase:180,shift:-2.5,amplitude:250,frequency:.005,damping:1}),new h({canvas:this.canvas,color:n,phase:180,shift:-1,amplitude:200,frequency:.018,damping:1}),new h({canvas:this.canvas,color:n,phase:180,shift:1.5,amplitude:150,frequency:.01,damping:1})],this.animated&&this.drawStillWaves()}drawStillWaves(){this.waveList.forEach(t=>{t.redraw()})}stopAnimation(){this.isPlaying=!1}clear(){!this.context||!this.canvas||this.context.clearRect(0,0,this.canvas.width,this.canvas.height)}async draw(){!this.isPlaying||!this.animated||(this.clear(),this.waveList.forEach(t=>{t.redraw()}),await new Promise(t=>{setTimeout(t,1e3/30)}),await this.draw())}render(){let t=a`<div class="${r("controls grid grid-cols-3 justify-items-center items-center",this.reversedLayout?"mt-2":"mb-2",!this.animated&&"relative",this.animated&&!this.reversedLayout&&"absolute -top-4 left-0 w-full")}" part="audio-controls"><button class="${r("playback-speed justify-self-start text-base font-bold hover:cursor-pointer sd-interactive",this.inverted&&"sd-interactive--inverted")}" aria-label="${this.localize.term("playbackSpeed")} (${this.speed}x)" @click="${this.togglePlaybackSpeed}" @keydown="${this.togglePlaybackSpeedKeydown}" part="playback-speed">${this.speed}x</button><sd-button ?inverted="${!!this.inverted}" part="play-button" size="lg" @click="${this.isPlaying?this.pauseAudio:this.playAudio}" aria-label="${this.isPlaying?this.localize.term("pauseAudio"):this.localize.term("playAudio")}" title="${this.isPlaying?this.localize.term("pauseAudio"):this.localize.term("playAudio")}" class="mb-4">${this.isPlaying?a`<slot name="pause-icon"><sd-icon class="text-xl" name="pause" library="_internal"></sd-icon></slot>`:a`<slot name="play-icon"><sd-icon class="text-xl" name="start" library="_internal"></sd-icon></slot>`}</sd-button><div class="flex items-center gap-6 justify-self-end">${this.hasSlotController.test("transcript")?a`<button class="${r("w-6 h-6 hover:cursor-pointer sd-interactive",this.inverted&&"sd-interactive--inverted")}" aria-label="${this.isTranscriptOpen?this.localize.term("transcriptIsOpen"):this.localize.term("openTranscript")}" @click="${this.showTranscript}" @keydown="${this.showTranscriptKeydown}" part="transcript"><sd-icon class="w-6 h-6" name="transcript" library="_internal"></sd-icon></button>`:null} <button class="${r("w-6 h-6 hover:cursor-pointer sd-interactive",this.inverted&&"sd-interactive--inverted")}" part="volume" aria-label="${this.isMuted?this.localize.term("unmute"):this.localize.term("mute")}" @click="${this.toggleMute}" @keydown="${this.toggleMuteKeydown}"><sd-icon class="w-6 h-6" name="${this.isMuted?"mute":"volume"}" library="_internal"></sd-icon></button></div></div>`,s=a`<div class="${r("w-full flex justify-between",this.reversedLayout?"mb-0.5":"mt-0.5",this.animated&&this.reversedLayout&&"absolute bottom-0 left-0 !mb-4")}" part="timestamps"><div class="${r("current-time text-sm",this.inverted?"text-primary-400":"sd-audio__timestamp-color-text")}">${this.currentTime}</div><div class="${r("current-time text-sm",this.inverted?"text-primary-400":"sd-audio__timestamp-color-text")}">${this.duration}</div></div>`;return a`<div class="${r("w-full flex relative",this.reversedLayout?"flex-col-reverse":"flex-col")}" aria-label="${this.localize.term("audioPlayer")}" part="audio-player"><slot @slotchange="${this.updateAudioDuration}"></slot>${!this.animated||this.animated&&this.reversedLayout?t:null}<div class="relative">${this.animated&&!this.reversedLayout?a`${t}`:null} ${this.animated?a`<canvas class="w-full h-16 -mb-2"></canvas>`:null} ${!this.hideTimestamps&&this.animated&&this.reversedLayout?s:null}<sd-range part="progress-slider" tooltip="hidden" min="0" max="100" step="0.001" label="${this.localize.term("seekBar")}" @mousedown="${this.handleThumbGrab}" @touchstart="${this.handleThumbGrab}" @mouseup="${this.handleThumbRelease}" @touchend="${this.handleThumbRelease}" @sd-input="${this.handleAudioProgress}" @keydown="${this.handleAudioProgressKeydown}"></sd-range></div>${this.hasSlotController.test("transcript")?a`<sd-drawer><slot name="transcript"></slot></sd-drawer>`:null} ${!this.hideTimestamps&&(!this.animated||!this.reversedLayout)?s:null}</div><sd-theme-listener></sd-theme-listener>`}};e.styles=[...p.styles,v`/*! tailwindcss v4.2.2 | 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.QIKBKQXB.js";import{a as g,b as d,c as o,d as u,h as p}from"./chunk.AWJGLIES.js";import{b as v,e as a}from"./chunk.UOAG5PNU.js";import{a as h}from"./chunk.WNP2V63C.js";import{e as i}from"./chunk.6EV4YU6C.js";var e=class extends p{constructor(){super();this.localize=new y(this);this.hasSlotController=new 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=t=>this.localize.term("seconds",Number(t).toFixed(0)),this.animated&&this.initAnimation())}updated(t){if(t.has("animated")){let s=t.get("animated");!s&&this.animated?this.initAnimation():s&&!this.animated&&this.clear()}}get audioElement(){let t=this.shadowRoot.querySelector("slot");return(t==null?void 0:t.assignedElements().length)>0?t.assignedElements()[0]:null}updateCurrentTime(){if(!this.audioElement)return;let t=this.audioElement.currentTime;this.currentTime=this.formatTime(t),this.progress=t,this.progressSlider&&(this.progressSlider.value=this.progress.toString())}updateAudioDuration(){if(this.audioElement){if(isNaN(this.audioElement.duration)){setTimeout(()=>{this.updateAudioDuration()},100);return}this.duration=this.formatTime(this.audioElement.duration),this.progressSlider.max=this.audioElement.duration}}playAudio(){this.audioElement&&(this.isPlaying=!0,this.audioElement.play(),this.emit("sd-playback-start"),this.animated&&this.draw())}pauseAudio(){this.audioElement&&(this.isPlaying=!1,this.audioElement.pause(),this.emit("sd-playback-pause"),this.animated&&this.stopAnimation())}handleAudioEnd(){this.emit("sd-playback-end"),this.isPlaying=!1,this.progress=0,this.progressSlider.value="0",this.currentTime=this.formatTime(0),this.animated&&this.stopAnimation()}toggleMute(){this.audioElement&&(this.isMuted=!this.isMuted,this.isMuted?(this.emit("sd-playback-mute"),this.audioElement.muted=!0):(this.emit("sd-playback-unmute"),this.audioElement.muted=!1))}toggleMuteKeydown(t){t.key==="Enter"&&(t.preventDefault(),this.toggleMute())}togglePlaybackSpeed(){this.audioElement&&(this.emit("sd-playback-speed"),this.speed=this.speed===1.5?1:this.speed+.25,this.audioElement.playbackRate=this.speed)}togglePlaybackSpeedKeydown(t){t.key==="Enter"&&(t.preventDefault(),this.togglePlaybackSpeed())}formatTime(t){let s=Math.floor(t/60).toString().padStart(2,"0"),c=Math.floor(t%60).toString().padStart(2,"0");return`${s}:${c}`}handleAudioProgress(){if(!this.audioElement)return;let t=Number(this.progressSlider.value);this.audioElement.currentTime=t,this.progress=t,this.currentTime=this.formatTime(t)}handleAudioProgressKeydown(t){t.key==="ArrowRight"&&(this.progressSlider.value=(Number(this.progressSlider.value)+1).toString(),this.handleAudioProgress()),t.key==="ArrowLeft"&&(this.progressSlider.value=(Number(this.progressSlider.value)-1).toString(),this.handleAudioProgress())}handleTranscriptDrawerToggle(){this.isTranscriptOpen=!this.isTranscriptOpen}handleThumbGrab(){var t;(t=this.audioElement)==null||t.pause()}handleThumbRelease(){var t;this.isPlaying&&((t=this.audioElement)==null||t.play())}showTranscript(){this.emit("sd-transcript-click"),this.drawer.open=!0,this.handleTranscriptDrawerToggle()}showTranscriptKeydown(t){(t.key==="Enter"||t.key===" ")&&this.showTranscript()}rgbToHex(t){let s=t.match(/\d+/g);if((s==null?void 0:s.length)===3){let c=parseInt(s[0]),m=parseInt(s[1]),n=parseInt(s[2]),l=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 t=(l=this.canvas)==null?void 0:l.getContext("2d");if(!t)return;this.context=t;let s=this.audioPlayerContainer.querySelector(".playback-speed"),m=window.getComputedStyle(s).color,n=this.inverted?"#FFFFFF33":this.rgbToHex(m)+"33";this.waveList=[new h({canvas:this.canvas,color:n,phase:240,shift:1.5,amplitude:230,frequency:.012,damping:1}),new h({canvas:this.canvas,color:n,phase:180,shift:2.5,amplitude:250,frequency:.005,damping:1}),new h({canvas:this.canvas,color:n,phase:180,shift:-2.5,amplitude:250,frequency:.005,damping:1}),new h({canvas:this.canvas,color:n,phase:180,shift:-1,amplitude:200,frequency:.018,damping:1}),new h({canvas:this.canvas,color:n,phase:180,shift:1.5,amplitude:150,frequency:.01,damping:1})],this.animated&&this.drawStillWaves()}drawStillWaves(){this.waveList.forEach(t=>{t.redraw()})}stopAnimation(){this.isPlaying=!1}clear(){!this.context||!this.canvas||this.context.clearRect(0,0,this.canvas.width,this.canvas.height)}async draw(){!this.isPlaying||!this.animated||(this.clear(),this.waveList.forEach(t=>{t.redraw()}),await new Promise(t=>{setTimeout(t,1e3/30)}),await this.draw())}render(){let t=a`<div class="${r("controls grid grid-cols-3 justify-items-center items-center",this.reversedLayout?"mt-2":"mb-2",!this.animated&&"relative",this.animated&&!this.reversedLayout&&"absolute -top-4 left-0 w-full")}" part="audio-controls"><button class="${r("playback-speed justify-self-start text-base font-bold hover:cursor-pointer sd-interactive",this.inverted&&"sd-interactive--inverted")}" aria-label="${this.localize.term("playbackSpeed")} (${this.speed}x)" @click="${this.togglePlaybackSpeed}" @keydown="${this.togglePlaybackSpeedKeydown}" part="playback-speed">${this.speed}x</button><sd-button ?inverted="${!!this.inverted}" part="play-button" size="lg" @click="${this.isPlaying?this.pauseAudio:this.playAudio}" aria-label="${this.isPlaying?this.localize.term("pauseAudio"):this.localize.term("playAudio")}" title="${this.isPlaying?this.localize.term("pauseAudio"):this.localize.term("playAudio")}" class="mb-4">${this.isPlaying?a`<slot name="pause-icon"><sd-icon class="text-xl" name="pause" library="_internal"></sd-icon></slot>`:a`<slot name="play-icon"><sd-icon class="text-xl" name="start" library="_internal"></sd-icon></slot>`}</sd-button><div class="flex items-center gap-6 justify-self-end">${this.hasSlotController.test("transcript")?a`<button class="${r("w-6 h-6 hover:cursor-pointer sd-interactive",this.inverted&&"sd-interactive--inverted")}" aria-label="${this.isTranscriptOpen?this.localize.term("transcriptIsOpen"):this.localize.term("openTranscript")}" @click="${this.showTranscript}" @keydown="${this.showTranscriptKeydown}" part="transcript"><sd-icon class="w-6 h-6" name="transcript" library="_internal"></sd-icon></button>`:null} <button class="${r("w-6 h-6 hover:cursor-pointer sd-interactive",this.inverted&&"sd-interactive--inverted")}" part="volume" aria-label="${this.isMuted?this.localize.term("unmute"):this.localize.term("mute")}" @click="${this.toggleMute}" @keydown="${this.toggleMuteKeydown}"><sd-icon class="w-6 h-6" name="${this.isMuted?"mute":"volume"}" library="_internal"></sd-icon></button></div></div>`,s=a`<div class="${r("w-full flex justify-between",this.reversedLayout?"mb-0.5":"mt-0.5",this.animated&&this.reversedLayout&&"absolute bottom-0 left-0 !mb-4")}" part="timestamps"><div class="${r("current-time text-sm",this.inverted?"text-primary-400":"sd-audio__timestamp-color-text")}">${this.currentTime}</div><div class="${r("current-time text-sm",this.inverted?"text-primary-400":"sd-audio__timestamp-color-text")}">${this.duration}</div></div>`;return a`<div class="${r("w-full flex relative",this.reversedLayout?"flex-col-reverse":"flex-col")}" aria-label="${this.localize.term("audioPlayer")}" part="audio-player"><slot @slotchange="${this.updateAudioDuration}"></slot>${!this.animated||this.animated&&this.reversedLayout?t:null}<div class="relative">${this.animated&&!this.reversedLayout?a`${t}`:null} ${this.animated?a`<canvas class="w-full h-16 -mb-2"></canvas>`:null} ${!this.hideTimestamps&&this.animated&&this.reversedLayout?s:null}<sd-range part="progress-slider" tooltip="hidden" min="0" max="100" step="0.001" label="${this.localize.term("seekBar")}" @mousedown="${this.handleThumbGrab}" @touchstart="${this.handleThumbGrab}" @mouseup="${this.handleThumbRelease}" @touchend="${this.handleThumbRelease}" @sd-input="${this.handleAudioProgress}" @keydown="${this.handleAudioProgressKeydown}"></sd-range></div>${this.hasSlotController.test("transcript")?a`<sd-drawer><slot name="transcript"></slot></sd-drawer>`:null} ${!this.hideTimestamps&&(!this.animated||!this.reversedLayout)?s:null}</div><sd-theme-listener></sd-theme-listener>`}};e.styles=[...p.styles,v`/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  sd-button::part(base){display:flex;height:var(--sd-spacing-12);width:var(--sd-spacing-12);align-items:center;justify-content:center;border-radius:var(--sd-radius-full)}sd-button::part(motion-wrapper){border-radius:var(--sd-radius-full)}sd-button::part(label){display:flex;flex-grow:0;align-items:center}sd-range::part(form-control-label){display:none}:host([inverted]) sd-range::part(thumb){outline-color:var(--color-white,#fff);background-color:rgba(var(--sd-color-icon-fill-white,rgba(var(--sd-color-white))))}:host([animated]) sd-range::part(track){background-color:transparent}:host([inverted]:not([animated])) sd-range::part(track){background-color:rgba(var(--sd-audio__slide-bar--inverted-color-background,rgba(var(--sd-color-primary-400))))}:host([inverted]:not([animated])) sd-range::part(active-track){background-color:rgba(var(--sd-audio__track-bar--inverted-color-background,rgba(var(--sd-color-white))))}.sd-audio__timestamp-color-text{color:rgb(var(--sd-audio__timestamp-color-text,var(--sd-color-text-neutral-700)))}`],i([d({type:Boolean,reflect:!0,attribute:"reversed-layout"})],e.prototype,"reversedLayout",2),i([d({type:Boolean,reflect:!0,attribute:"hide-timestamps"})],e.prototype,"hideTimestamps",2),i([d({type:Boolean,reflect:!0})],e.prototype,"animated",2),i([d({type:Boolean,reflect:!0})],e.prototype,"inverted",2),i([d({type:Number,reflect:!0})],e.prototype,"speed",2),i([o()],e.prototype,"currentTime",2),i([o()],e.prototype,"duration",2),i([o()],e.prototype,"isPlaying",2),i([o()],e.prototype,"isMuted",2),i([o()],e.prototype,"isTranscriptOpen",2),i([o()],e.prototype,"progress",2),i([u('[part="progress-slider"]')],e.prototype,"progressSlider",2),i([u('[part="audio-player"]')],e.prototype,"audioPlayerContainer",2),i([u("sd-drawer")],e.prototype,"drawer",2),i([u("canvas")],e.prototype,"canvas",2),e=i([g("sd-audio")],e);export{e as a};
@@ -1,2 +1,2 @@
1
- import{a as f}from"./chunk.SLXPE3UU.js";import{a as h}from"./chunk.IQPMMUES.js";import{a as p}from"./chunk.NYKJXI3Q.js";import{a as o,b as r,d as c,h as i}from"./chunk.6FABT2P2.js";import{b as l,e as a}from"./chunk.UOAG5PNU.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends i{constructor(){super(...arguments);this.localize=new h(this);this.href="";this.current=!1}handleCurrentChange(){var s,n;!this.base||!this.current||(n=(s=this.base.shadowRoot)==null?void 0:s.querySelector("a"))==null||n.setAttribute("aria-current","page")}connectedCallback(){this.hasAttribute("role")||this.setAttribute("role","listitem"),super.connectedCallback()}firstUpdated(){requestAnimationFrame(()=>this.handleCurrentChange())}render(){return a`<sd-link part="base" href="${f(this.current?void 0:this.href)}" target="${this.target}" standalone class="text-nowrap"><slot></slot></sd-link>`}};t.styles=[...i.styles,l`/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as f}from"./chunk.SLXPE3UU.js";import{a as h}from"./chunk.IQPMMUES.js";import{a as p}from"./chunk.NYKJXI3Q.js";import{a as o,b as r,d as c,h as i}from"./chunk.AWJGLIES.js";import{b as l,e as a}from"./chunk.UOAG5PNU.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends i{constructor(){super(...arguments);this.localize=new h(this);this.href="";this.current=!1}handleCurrentChange(){var s,n;!this.base||!this.current||(n=(s=this.base.shadowRoot)==null?void 0:s.querySelector("a"))==null||n.setAttribute("aria-current","page")}connectedCallback(){this.hasAttribute("role")||this.setAttribute("role","listitem"),super.connectedCallback()}firstUpdated(){requestAnimationFrame(()=>this.handleCurrentChange())}render(){return a`<sd-link part="base" href="${f(this.current?void 0:this.href)}" target="${this.target}" standalone class="text-nowrap"><slot></slot></sd-link>`}};t.styles=[...i.styles,l`/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{display:inline-flex;align-items:center}sd-link::part(base){align-items:center}sd-link::part(icon-left){margin-right:calc(var(--sd-spacing-1) * 0);display:inline-flex}:host([current]) sd-link::part(base){color:rgba(var(--sd-color-text-neutral-700))}:host([current]) sd-link::part(label){text-decoration-line:none}`],e([c('[part="base"]')],t.prototype,"base",2),e([r({type:String,reflect:!0})],t.prototype,"href",2),e([r({type:String,reflect:!0})],t.prototype,"target",2),e([r({type:Boolean,reflect:!0})],t.prototype,"current",2),e([p("current")],t.prototype,"handleCurrentChange",1),t=e([o("sd-breadcrumb-item")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as N}from"./chunk.RMXFJHN6.js";import{a as B}from"./chunk.YQH4KNT6.js";import{a as A}from"./chunk.W4EADN3G.js";import{b as z}from"./chunk.RAP66B6O.js";import{a as n}from"./chunk.SLXPE3UU.js";import{a as M}from"./chunk.CGQ2BPPZ.js";import{a as P,b as V}from"./chunk.BSPQBW7U.js";import{a as T}from"./chunk.IQPMMUES.js";import{a}from"./chunk.QIKBKQXB.js";import{a as b}from"./chunk.NYKJXI3Q.js";import{a as E,b as s,c as m,d as w,h as $}from"./chunk.6FABT2P2.js";import{b as D,e as r,h as F,i as L}from"./chunk.UOAG5PNU.js";import{a as k,e as i}from"./chunk.6EV4YU6C.js";var x=class extends N{constructor(e){super(e);this.handlePointerDown=e=>{e.button!==0||this.host.disabled||this.spinOnLongPressCallback(e)};this.handlePointerUp=e=>{e==null||e.preventDefault(),e==null||e.stopPropagation(),this.timeout&&this.callbacks.start(),this.stopSpinningAndCleanUp(),this.callbacks.end(),document.removeEventListener("pointerup",this.handlePointerUp)};if(e.type!==P.ELEMENT||!(e.element instanceof HTMLButtonElement))throw new Error("The `longPress` directive must be used on an HTMLButtonElement.")}render(e){return L}update(e,[l]){return this.callbacks===void 0&&this.host===void 0&&(this.host=e.element,this.callbacks=k({},l),this.host.addEventListener("pointerdown",this.handlePointerDown)),F}disconnected(){this.stopSpinningAndCleanUp(),this.host.removeEventListener("pointerdown",this.handlePointerDown),document.removeEventListener("pointerup",this.handlePointerUp)}spinOnLongPressCallback(e){var l;e.preventDefault(),e.stopPropagation(),this.timeout=setTimeout(()=>{this.timeout=void 0,this.interval=setInterval(()=>{this.callbacks.start()},50)},500),document.addEventListener("pointerup",this.handlePointerUp),(l=this.observer)==null||l.disconnect(),this.observer=new MutationObserver(u=>{u.forEach(p=>{p.attributeName==="disabled"&&this.stopSpinningAndCleanUp()})}),this.observer.observe(this.host,{attributes:!0})}stopSpinningAndCleanUp(){var e;clearInterval(this.interval),clearTimeout(this.timeout),(e=this.observer)==null||e.disconnect()}},C=V(x);var _,R=(_=navigator.userAgentData)==null?void 0:_.brands.some(f=>f.brand.includes("Chromium")),J=R?!1:navigator.userAgent.includes("Firefox"),t=class extends ${constructor(){super(...arguments);this.formControlController=new z(this);this.hasSlotController=new M(this,"help-text","label","left","right","message","placeholder");this.localize=new T(this);this.hasFocus=!1;this.showValidStyle=!1;this.showInvalidStyle=!1;this.isClickableIconFocused=!1;this.type="text";this.size="lg";this.value="";this.defaultValue="";this.placeholder="";this.label="";this.helpText="";this.clearable=!1;this.disabled=!1;this.visuallyDisabled=!1;this.readonly=!1;this.passwordToggle=!1;this.passwordVisible=!1;this.spinButtons=!1;this.form="";this.name="";this.title="";this.required=!1;this.floatingLabel=!1;this.styleOnValid=!1;this.spellcheck=!0}get valueAsDate(){var e,l;return(l=(e=this.input)==null?void 0:e.valueAsDate)!=null?l:null}set valueAsDate(e){let l=document.createElement("input");l.type="date",l.valueAsDate=e,this.value=l.value}get valueAsNumber(){var e,l;return(l=(e=this.input)==null?void 0:e.valueAsNumber)!=null?l:parseFloat(this.value)}set valueAsNumber(e){let l=document.createElement("input");l.type="number",l.valueAsNumber=e,this.value=l.value}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleChange(){this.value=this.input.value,this.emit("sd-change")}handleClearClick(e){this.value="",this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change"),this.input.focus(),e.stopPropagation()}handleSearchClick(e){this.emit("sd-search"),e.stopPropagation()}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleInput(){if(this.visuallyDisabled){this.input.value=this.value;return}this.value=this.input.value,this.formControlController.updateValidity(),this.emit("sd-input")}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e),this.invalidMessage.textContent=e.target.validationMessage}handleKeyDown(e){let l=e.metaKey||e.ctrlKey||e.shiftKey||e.altKey;e.key==="Enter"&&!l&&setTimeout(()=>{!e.defaultPrevented&&!e.isComposing&&this.formControlController.submit()})}handlePasswordToggle(){this.passwordVisible=!this.passwordVisible}handleClickableIconFocusIn(){this.isClickableIconFocused=!0}handleClickableIconFocusOut(){this.isClickableIconFocused=!1}isDecrementDisabled(){if(this.disabled||this.readonly)return!0;if(this.min===void 0||this.min===null)return!1;let e=typeof this.min=="string"?parseFloat(this.min):this.min;return this.valueAsNumber<=e}isIncrementDisabled(){if(this.disabled||this.readonly)return!0;if(this.max===void 0||this.max===null)return!1;let e=typeof this.max=="string"?parseFloat(this.max):this.max;return this.valueAsNumber>=e}handleStep(){this.handleInput(),this.input.focus()}handleStepUp(){this.stepUp(),this.handleStep()}handleStepDown(){this.stepDown(),this.handleStep()}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleStepChange(){this.input.step=String(this.step),this.formControlController.updateValidity()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity()}handleSizeChange(){this.size=this.floatingLabel&&this.size==="sm"?"md":this.size}focus(e){this.input.focus(e)}blur(){this.input.blur()}select(){this.input.select()}setSelectionRange(e,l,u="none"){this.input.setSelectionRange(e,l,u)}setRangeText(e,l,u,p){this.input.setRangeText(e,l,u,p),this.value!==this.input.value&&(this.value=this.input.value)}showPicker(){"showPicker"in HTMLInputElement.prototype&&this.input.showPicker()}stepUp(){this.input.stepUp(),this.value!==this.input.value&&(this.value=this.input.value)}stepDown(){this.input.stepDown(),this.value!==this.input.value&&(this.value=this.input.value)}checkValidity(){var e;return(e=this.input)==null?void 0:e.checkValidity()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(e){this.input.setCustomValidity(e),this.formControlController.updateValidity()}render(){let e={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text"),description:this.hasSlotController.test("description"),left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right"),tooltip:this.hasSlotController.test("tooltip")},l=this.label?!0:!!e.label,u=this.helpText?!0:!!e.helpText,p=this.clearable&&!this.readonly&&(typeof this.value=="number"||this.value.length>0),O=!!e.tooltip,S=e.left,v=this.value!==null&&String(this.value).length>0,h=this.floatingLabel&&l&&(this.hasFocus||v||this.isClickableIconFocused),y=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",g=this.size==="sm"?"text-sm":"text-base",U={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"}[y],c=this.disabled||this.visuallyDisabled?"text-neutral-500":"icon-color",d={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],o={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size],K=this.size==="lg"?this.floatingLabel?h?"py-3":"py-4":"py-2":this.floatingLabel?h?"py-2":"py-3":"py-1",q={sm:"left-[36px]",md:"left-[44px]",lg:"left-12"}[this.size];return r`<div part="form-control" class="${a((this.disabled||this.visuallyDisabled)&&"cursor-not-allowed")}">${(l||O)&&!this.floatingLabel?r`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${a(l?"inline-block form-control-color-text":"hidden",g)}" for="input" aria-hidden="${l?"false":"true"}"><slot name="label">${this.label}</slot></label> ${e.tooltip?r`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${a("relative w-full",this.disabled&&"pointer-events-none",this.visuallyDisabled&&"cursor-not-allowed")}"><div part="border" class="${a("absolute w-full h-full pointer-events-none border form-control-border-radius transition-[border] ease-in-out duration-medium hover:duration-fast",U)}"></div><div part="base" class="${a("px-4 flex flex-row items-center form-control-border-radius transition-colors ease-in-out duration-medium hover:duration-fast",this.floatingLabel&&"has-floating-label",!this.disabled&&!this.readonly&&!this.visuallyDisabled?"hover:[@media(hover:hover)]:bg-neutral-200":"",this.readonly?"bg-neutral-100":"bg-white",["disabled","visuallyDisabled"].includes(y)?"text-neutral-500":"text-black",["invalid","activeInvalid"].includes(y)&&"form-control--invalid-color-background",K)}">${e.left?r`<slot name="left" part="left" class="${a("inline-flex",this.size==="sm"?"mr-1":"mr-2",c,o)}"></slot>`:""} <input part="input" id="input" class="${a("min-w-0 flex-grow focus:outline-none bg-transparent",this.visuallyDisabled||this.disabled?"placeholder:text-neutral-500 cursor-not-allowed":"placeholder:text-neutral-700",this.size==="sm"?h?"h-4":"h-6":h?"h-6":"h-8",g,h&&"leading-none mt-4")}" type="${this.type==="password"&&this.passwordVisible?"text":this.type}" title="${this.title}" name="${n(this.name)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" placeholder="${!this.floatingLabel||h?n(this.placeholder):""}" minlength="${n(this.minlength)}" maxlength="${n(this.maxlength)}" min="${n(this.min)}" max="${n(this.max)}" step="${n(this.step)}" .value="${B(this.value)}" autocapitalize="${n(this.type==="password"?"off":this.autocapitalize)}" autocomplete="${n(this.autocomplete)}" autocorrect="${n(this.type==="password"?"off":this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${n(this.pattern)}" enterkeyhint="${n(this.enterkeyhint)}" inputmode="${n(this.inputmode)}" aria-describedby="help-text invalid-message" aria-disabled="${this.visuallyDisabled||this.disabled?"true":"false"}" aria-invalid="${this.showInvalidStyle}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @keydown="${this.handleKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${l&&this.floatingLabel?r`<label part="form-control-floating-label" class="${a("pointer-events-none absolute",S?q:"left-4",!this.readonly&&"transition-all duration-medium ease-out",!h||!v&&(this.readonly||this.visuallyDisabled)?"top-1/2 -translate-y-1/2":this.size==="lg"?"top-2":"top-1")}" for="input" aria-hidden="${l?"false":"true"}"><span id="floating-label" class="${a("pointer-events-none leading-none",!this.readonly&&"transition-all duration-medium ease-out",!h||!v&&(this.readonly||this.visuallyDisabled)?g:"text-xs",(this.visuallyDisabled||this.disabled)&&"text-neutral-500",h&&!this.visuallyDisabled&&!this.disabled&&"form-control--filled__floating-label-color-text")}">${this.label}</span></label>`:null} ${p?r`<button part="clear-button" class="${a("flex justify-center",d)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-icon class="${a(this.disabled||this.visuallyDisabled?"text-neutral-500":"text-neutral-700",o)}" library="_internal" name="closing-round"></sd-icon></slot></button>`:""} ${this.passwordToggle&&this.type==="password"?r`<button aria-label="${this.localize.term(this.passwordVisible?"hidePassword":"showPassword")}" part="password-toggle-button" class="${a("flex items-center sd-interactive",d,this.floatingLabel&&!h&&"hide-password-toggle")}" type="button" @click="${this.handlePasswordToggle}" @mousedown="${this.handleClickableIconFocusIn}" @focus="${()=>this.handleClickableIconFocusIn()}" @blur="${this.handleClickableIconFocusOut}">${this.passwordVisible?r`<slot name="show-password-icon"><sd-icon class="${a(c,o)}" library="_internal" name="eye"></sd-icon></slot>`:r`<slot name="hide-password-icon"><sd-icon class="${a(c,o)}" library="_internal" name="eye-crossed-out"></sd-icon></slot>`}</button>`:""} ${(this.type==="date"||this.type==="datetime-local")&&!J?r`<sd-icon class="${a(c,d,o)}" library="_internal" name="calendar"></sd-icon>`:""} ${this.type==="time"?r`<sd-icon class="${a(c,d,o)}" library="_internal" name="clock"></sd-icon>`:""} ${this.type==="search"?r`<button class="${a("flex items-center sd-interactive",d)}" type="button" @click="${this.handleSearchClick}"><sd-icon class="${a(c,o)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-icon></button>`:""} ${this.showInvalidStyle?r`<sd-icon part="invalid-icon" class="${a("text-error",d,o)}" library="_internal" name="risk"></sd-icon>`:""} ${this.showValidStyle&&this.styleOnValid?r`<sd-icon class="${a("text-success flex-shrink-0",d,o)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-icon>`:""} ${e.right?r`<slot name="right" part="right" class="${a("inline-flex",c,d,o)}"></slot>`:""} ${this.type==="number"&&this.spinButtons?r`<div part="stepper" class="flex items-center"><button part="decrement-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isDecrementDisabled()}" aria-hidden="true" ${C({start:()=>this.handleStepDown(),end:()=>this.handleChange()})} tabindex="-1" @mousedown="${this.handleClickableIconFocusIn}" @focus="${()=>this.handleClickableIconFocusIn()}" @blur="${this.handleClickableIconFocusOut}"><slot name="decrement-number-stepper"><sd-icon library="_internal" name="minus-circle" label="Decrease value" class="${a(c,d,o)}"></sd-icon></slot></button> <button part="increment-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isIncrementDisabled()}" aria-hidden="true" ${C({start:()=>this.handleStepUp(),end:()=>this.handleChange()})} tabindex="-1"><slot name="increment-number-stepper"><sd-icon library="_internal" name="plus-circle" label="Decrease value" class="${a(c,d,o)}"></sd-icon></slot></button></div>`:""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${a("text-sm text-neutral-700 mt-1",u&&!this.showInvalidStyle?"block":"hidden")}" aria-hidden="${!u||this.showInvalidStyle}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage(this.size)}`}};t.styles=[...$.styles,D`/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as N}from"./chunk.RMXFJHN6.js";import{a as B}from"./chunk.YQH4KNT6.js";import{a as A}from"./chunk.W4EADN3G.js";import{b as z}from"./chunk.RAP66B6O.js";import{a as n}from"./chunk.SLXPE3UU.js";import{a as M}from"./chunk.CGQ2BPPZ.js";import{a as P,b as V}from"./chunk.BSPQBW7U.js";import{a as T}from"./chunk.IQPMMUES.js";import{a}from"./chunk.QIKBKQXB.js";import{a as b}from"./chunk.NYKJXI3Q.js";import{a as E,b as s,c as m,d as w,h as $}from"./chunk.AWJGLIES.js";import{b as D,e as r,h as F,i as L}from"./chunk.UOAG5PNU.js";import{a as k,e as i}from"./chunk.6EV4YU6C.js";var x=class extends N{constructor(e){super(e);this.handlePointerDown=e=>{e.button!==0||this.host.disabled||this.spinOnLongPressCallback(e)};this.handlePointerUp=e=>{e==null||e.preventDefault(),e==null||e.stopPropagation(),this.timeout&&this.callbacks.start(),this.stopSpinningAndCleanUp(),this.callbacks.end(),document.removeEventListener("pointerup",this.handlePointerUp)};if(e.type!==P.ELEMENT||!(e.element instanceof HTMLButtonElement))throw new Error("The `longPress` directive must be used on an HTMLButtonElement.")}render(e){return L}update(e,[l]){return this.callbacks===void 0&&this.host===void 0&&(this.host=e.element,this.callbacks=k({},l),this.host.addEventListener("pointerdown",this.handlePointerDown)),F}disconnected(){this.stopSpinningAndCleanUp(),this.host.removeEventListener("pointerdown",this.handlePointerDown),document.removeEventListener("pointerup",this.handlePointerUp)}spinOnLongPressCallback(e){var l;e.preventDefault(),e.stopPropagation(),this.timeout=setTimeout(()=>{this.timeout=void 0,this.interval=setInterval(()=>{this.callbacks.start()},50)},500),document.addEventListener("pointerup",this.handlePointerUp),(l=this.observer)==null||l.disconnect(),this.observer=new MutationObserver(u=>{u.forEach(p=>{p.attributeName==="disabled"&&this.stopSpinningAndCleanUp()})}),this.observer.observe(this.host,{attributes:!0})}stopSpinningAndCleanUp(){var e;clearInterval(this.interval),clearTimeout(this.timeout),(e=this.observer)==null||e.disconnect()}},C=V(x);var _,R=(_=navigator.userAgentData)==null?void 0:_.brands.some(f=>f.brand.includes("Chromium")),J=R?!1:navigator.userAgent.includes("Firefox"),t=class extends ${constructor(){super(...arguments);this.formControlController=new z(this);this.hasSlotController=new M(this,"help-text","label","left","right","message","placeholder");this.localize=new T(this);this.hasFocus=!1;this.showValidStyle=!1;this.showInvalidStyle=!1;this.isClickableIconFocused=!1;this.type="text";this.size="lg";this.value="";this.defaultValue="";this.placeholder="";this.label="";this.helpText="";this.clearable=!1;this.disabled=!1;this.visuallyDisabled=!1;this.readonly=!1;this.passwordToggle=!1;this.passwordVisible=!1;this.spinButtons=!1;this.form="";this.name="";this.title="";this.required=!1;this.floatingLabel=!1;this.styleOnValid=!1;this.spellcheck=!0}get valueAsDate(){var e,l;return(l=(e=this.input)==null?void 0:e.valueAsDate)!=null?l:null}set valueAsDate(e){let l=document.createElement("input");l.type="date",l.valueAsDate=e,this.value=l.value}get valueAsNumber(){var e,l;return(l=(e=this.input)==null?void 0:e.valueAsNumber)!=null?l:parseFloat(this.value)}set valueAsNumber(e){let l=document.createElement("input");l.type="number",l.valueAsNumber=e,this.value=l.value}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleChange(){this.value=this.input.value,this.emit("sd-change")}handleClearClick(e){this.value="",this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change"),this.input.focus(),e.stopPropagation()}handleSearchClick(e){this.emit("sd-search"),e.stopPropagation()}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleInput(){if(this.visuallyDisabled){this.input.value=this.value;return}this.value=this.input.value,this.formControlController.updateValidity(),this.emit("sd-input")}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e),this.invalidMessage.textContent=e.target.validationMessage}handleKeyDown(e){let l=e.metaKey||e.ctrlKey||e.shiftKey||e.altKey;e.key==="Enter"&&!l&&setTimeout(()=>{!e.defaultPrevented&&!e.isComposing&&this.formControlController.submit()})}handlePasswordToggle(){this.passwordVisible=!this.passwordVisible}handleClickableIconFocusIn(){this.isClickableIconFocused=!0}handleClickableIconFocusOut(){this.isClickableIconFocused=!1}isDecrementDisabled(){if(this.disabled||this.readonly)return!0;if(this.min===void 0||this.min===null)return!1;let e=typeof this.min=="string"?parseFloat(this.min):this.min;return this.valueAsNumber<=e}isIncrementDisabled(){if(this.disabled||this.readonly)return!0;if(this.max===void 0||this.max===null)return!1;let e=typeof this.max=="string"?parseFloat(this.max):this.max;return this.valueAsNumber>=e}handleStep(){this.handleInput(),this.input.focus()}handleStepUp(){this.stepUp(),this.handleStep()}handleStepDown(){this.stepDown(),this.handleStep()}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleStepChange(){this.input.step=String(this.step),this.formControlController.updateValidity()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity()}handleSizeChange(){this.size=this.floatingLabel&&this.size==="sm"?"md":this.size}focus(e){this.input.focus(e)}blur(){this.input.blur()}select(){this.input.select()}setSelectionRange(e,l,u="none"){this.input.setSelectionRange(e,l,u)}setRangeText(e,l,u,p){this.input.setRangeText(e,l,u,p),this.value!==this.input.value&&(this.value=this.input.value)}showPicker(){"showPicker"in HTMLInputElement.prototype&&this.input.showPicker()}stepUp(){this.input.stepUp(),this.value!==this.input.value&&(this.value=this.input.value)}stepDown(){this.input.stepDown(),this.value!==this.input.value&&(this.value=this.input.value)}checkValidity(){var e;return(e=this.input)==null?void 0:e.checkValidity()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(e){this.input.setCustomValidity(e),this.formControlController.updateValidity()}render(){let e={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text"),description:this.hasSlotController.test("description"),left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right"),tooltip:this.hasSlotController.test("tooltip")},l=this.label?!0:!!e.label,u=this.helpText?!0:!!e.helpText,p=this.clearable&&!this.readonly&&(typeof this.value=="number"||this.value.length>0),O=!!e.tooltip,S=e.left,v=this.value!==null&&String(this.value).length>0,h=this.floatingLabel&&l&&(this.hasFocus||v||this.isClickableIconFocused),y=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",g=this.size==="sm"?"text-sm":"text-base",U={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"}[y],c=this.disabled||this.visuallyDisabled?"text-neutral-500":"icon-color",d={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],o={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size],K=this.size==="lg"?this.floatingLabel?h?"py-3":"py-4":"py-2":this.floatingLabel?h?"py-2":"py-3":"py-1",q={sm:"left-[36px]",md:"left-[44px]",lg:"left-12"}[this.size];return r`<div part="form-control" class="${a((this.disabled||this.visuallyDisabled)&&"cursor-not-allowed")}">${(l||O)&&!this.floatingLabel?r`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${a(l?"inline-block form-control-color-text":"hidden",g)}" for="input" aria-hidden="${l?"false":"true"}"><slot name="label">${this.label}</slot></label> ${e.tooltip?r`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${a("relative w-full",this.disabled&&"pointer-events-none",this.visuallyDisabled&&"cursor-not-allowed")}"><div part="border" class="${a("absolute w-full h-full pointer-events-none border form-control-border-radius transition-[border] ease-in-out duration-medium hover:duration-fast",U)}"></div><div part="base" class="${a("px-4 flex flex-row items-center form-control-border-radius transition-colors ease-in-out duration-medium hover:duration-fast",this.floatingLabel&&"has-floating-label",!this.disabled&&!this.readonly&&!this.visuallyDisabled?"hover:[@media(hover:hover)]:bg-neutral-200":"",this.readonly?"bg-neutral-100":"bg-white",["disabled","visuallyDisabled"].includes(y)?"text-neutral-500":"text-black",["invalid","activeInvalid"].includes(y)&&"form-control--invalid-color-background",K)}">${e.left?r`<slot name="left" part="left" class="${a("inline-flex",this.size==="sm"?"mr-1":"mr-2",c,o)}"></slot>`:""} <input part="input" id="input" class="${a("min-w-0 flex-grow focus:outline-none bg-transparent",this.visuallyDisabled||this.disabled?"placeholder:text-neutral-500 cursor-not-allowed":"placeholder:text-neutral-700",this.size==="sm"?h?"h-4":"h-6":h?"h-6":"h-8",g,h&&"leading-none mt-4")}" type="${this.type==="password"&&this.passwordVisible?"text":this.type}" title="${this.title}" name="${n(this.name)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" placeholder="${!this.floatingLabel||h?n(this.placeholder):""}" minlength="${n(this.minlength)}" maxlength="${n(this.maxlength)}" min="${n(this.min)}" max="${n(this.max)}" step="${n(this.step)}" .value="${B(this.value)}" autocapitalize="${n(this.type==="password"?"off":this.autocapitalize)}" autocomplete="${n(this.autocomplete)}" autocorrect="${n(this.type==="password"?"off":this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${n(this.pattern)}" enterkeyhint="${n(this.enterkeyhint)}" inputmode="${n(this.inputmode)}" aria-describedby="help-text invalid-message" aria-disabled="${this.visuallyDisabled||this.disabled?"true":"false"}" aria-invalid="${this.showInvalidStyle}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @keydown="${this.handleKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${l&&this.floatingLabel?r`<label part="form-control-floating-label" class="${a("pointer-events-none absolute",S?q:"left-4",!this.readonly&&"transition-all duration-medium ease-out",!h||!v&&(this.readonly||this.visuallyDisabled)?"top-1/2 -translate-y-1/2":this.size==="lg"?"top-2":"top-1")}" for="input" aria-hidden="${l?"false":"true"}"><span id="floating-label" class="${a("pointer-events-none leading-none",!this.readonly&&"transition-all duration-medium ease-out",!h||!v&&(this.readonly||this.visuallyDisabled)?g:"text-xs",(this.visuallyDisabled||this.disabled)&&"text-neutral-500",h&&!this.visuallyDisabled&&!this.disabled&&"form-control--filled__floating-label-color-text")}">${this.label}</span></label>`:null} ${p?r`<button part="clear-button" class="${a("flex justify-center",d)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-icon class="${a(this.disabled||this.visuallyDisabled?"text-neutral-500":"text-neutral-700",o)}" library="_internal" name="closing-round"></sd-icon></slot></button>`:""} ${this.passwordToggle&&this.type==="password"?r`<button aria-label="${this.localize.term(this.passwordVisible?"hidePassword":"showPassword")}" part="password-toggle-button" class="${a("flex items-center sd-interactive",d,this.floatingLabel&&!h&&"hide-password-toggle")}" type="button" @click="${this.handlePasswordToggle}" @mousedown="${this.handleClickableIconFocusIn}" @focus="${()=>this.handleClickableIconFocusIn()}" @blur="${this.handleClickableIconFocusOut}">${this.passwordVisible?r`<slot name="show-password-icon"><sd-icon class="${a(c,o)}" library="_internal" name="eye"></sd-icon></slot>`:r`<slot name="hide-password-icon"><sd-icon class="${a(c,o)}" library="_internal" name="eye-crossed-out"></sd-icon></slot>`}</button>`:""} ${(this.type==="date"||this.type==="datetime-local")&&!J?r`<sd-icon class="${a(c,d,o)}" library="_internal" name="calendar"></sd-icon>`:""} ${this.type==="time"?r`<sd-icon class="${a(c,d,o)}" library="_internal" name="clock"></sd-icon>`:""} ${this.type==="search"?r`<button class="${a("flex items-center sd-interactive",d)}" type="button" @click="${this.handleSearchClick}"><sd-icon class="${a(c,o)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-icon></button>`:""} ${this.showInvalidStyle?r`<sd-icon part="invalid-icon" class="${a("text-error",d,o)}" library="_internal" name="risk"></sd-icon>`:""} ${this.showValidStyle&&this.styleOnValid?r`<sd-icon class="${a("text-success flex-shrink-0",d,o)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-icon>`:""} ${e.right?r`<slot name="right" part="right" class="${a("inline-flex",c,d,o)}"></slot>`:""} ${this.type==="number"&&this.spinButtons?r`<div part="stepper" class="flex items-center"><button part="decrement-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isDecrementDisabled()}" aria-hidden="true" ${C({start:()=>this.handleStepDown(),end:()=>this.handleChange()})} tabindex="-1" @mousedown="${this.handleClickableIconFocusIn}" @focus="${()=>this.handleClickableIconFocusIn()}" @blur="${this.handleClickableIconFocusOut}"><slot name="decrement-number-stepper"><sd-icon library="_internal" name="minus-circle" label="Decrease value" class="${a(c,d,o)}"></sd-icon></slot></button> <button part="increment-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isIncrementDisabled()}" aria-hidden="true" ${C({start:()=>this.handleStepUp(),end:()=>this.handleChange()})} tabindex="-1"><slot name="increment-number-stepper"><sd-icon library="_internal" name="plus-circle" label="Decrease value" class="${a(c,d,o)}"></sd-icon></slot></button></div>`:""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${a("text-sm text-neutral-700 mt-1",u&&!this.showInvalidStyle?"block":"hidden")}" aria-hidden="${!u||this.showInvalidStyle}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage(this.size)}`}};t.styles=[...$.styles,D`/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{position:relative;box-sizing:border-box;display:inline-block;width:100%;text-align:left}:host([vertical]){display:block}:host([required]) :is(#label,#floating-label)::after{content:' *'}:host([visually-disabled]) input{caret-color:transparent}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0;display:none;-webkit-appearance:none}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.stepper-button[disabled] sd-icon{color:rgba(var(--sd-color-text-neutral-500))}.hide-password-toggle{display:none}.has-floating-label input[type=date]:not(.has-value),.has-floating-label input[type=datetime-local]:not(.has-value),.has-floating-label input[type=time]:not(.has-value){color:transparent}.has-floating-label input[type=date]:focus,.has-floating-label input[type=datetime-local]:focus,.has-floating-label input[type=time]:focus{color:inherit}.icon-color{color:rgb(var(--sd-color-icon-fill-primary))}`],i([w("#input")],t.prototype,"input",2),i([w("#invalid-message")],t.prototype,"invalidMessage",2),i([m()],t.prototype,"hasFocus",2),i([m()],t.prototype,"showValidStyle",2),i([m()],t.prototype,"showInvalidStyle",2),i([m()],t.prototype,"isClickableIconFocused",2),i([s({type:String,reflect:!0})],t.prototype,"type",2),i([s({type:String,reflect:!0})],t.prototype,"size",2),i([s({type:String,reflect:!0})],t.prototype,"inputmode",2),i([s()],t.prototype,"value",2),i([A()],t.prototype,"defaultValue",2),i([s({type:String,reflect:!0})],t.prototype,"placeholder",2),i([s({type:String,reflect:!0})],t.prototype,"label",2),i([s({type:String,attribute:"help-text",reflect:!0})],t.prototype,"helpText",2),i([s({type:Boolean,reflect:!0})],t.prototype,"clearable",2),i([s({type:Boolean,reflect:!0})],t.prototype,"disabled",2),i([s({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),i([s({type:Boolean,reflect:!0})],t.prototype,"readonly",2),i([s({attribute:"password-toggle",type:Boolean,reflect:!0})],t.prototype,"passwordToggle",2),i([s({attribute:"password-visible",type:Boolean,reflect:!0})],t.prototype,"passwordVisible",2),i([s({attribute:"spin-buttons",type:Boolean,reflect:!0})],t.prototype,"spinButtons",2),i([s({type:Number,reflect:!0})],t.prototype,"minlength",2),i([s({type:Number,reflect:!0})],t.prototype,"maxlength",2),i([s({reflect:!0})],t.prototype,"min",2),i([s({reflect:!0})],t.prototype,"max",2),i([s({type:String,reflect:!0})],t.prototype,"form",2),i([s({type:String,reflect:!0})],t.prototype,"name",2),i([s({type:String,reflect:!0})],t.prototype,"title",2),i([s({type:Boolean,reflect:!0})],t.prototype,"required",2),i([s({attribute:"floating-label",type:Boolean,reflect:!0})],t.prototype,"floatingLabel",2),i([s()],t.prototype,"pattern",2),i([s({reflect:!0})],t.prototype,"step",2),i([s({type:String,reflect:!0})],t.prototype,"autocapitalize",2),i([s({type:String,reflect:!0})],t.prototype,"autocorrect",2),i([s({reflect:!0})],t.prototype,"autocomplete",2),i([s({type:Boolean,reflect:!0})],t.prototype,"autofocus",2),i([s({type:String,reflect:!0})],t.prototype,"enterkeyhint",2),i([s({type:Boolean,reflect:!0,attribute:"style-on-valid"})],t.prototype,"styleOnValid",2),i([s({type:Boolean,converter:{fromAttribute:e=>!(!e||e==="false"),toAttribute:e=>e?"true":"false"}})],t.prototype,"spellcheck",2),i([b("disabled",{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),i([b("step",{waitUntilFirstUpdate:!0})],t.prototype,"handleStepChange",1),i([b("value",{waitUntilFirstUpdate:!0})],t.prototype,"handleValueChange",1),i([b(["size","floatingLabel"])],t.prototype,"handleSizeChange",1),t=i([E("sd-input")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as w}from"./chunk.YQH4KNT6.js";import{a as $}from"./chunk.W4EADN3G.js";import{b as x}from"./chunk.RAP66B6O.js";import{a}from"./chunk.SLXPE3UU.js";import{a as C}from"./chunk.CGQ2BPPZ.js";import{a as s}from"./chunk.QIKBKQXB.js";import{a as d}from"./chunk.NYKJXI3Q.js";import{a as g,b as i,c,d as f,h as m}from"./chunk.6FABT2P2.js";import{b as y,e as o}from"./chunk.UOAG5PNU.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends m{constructor(){super(...arguments);this.formControlController=new x(this);this.hasSlotController=new C(this,"help-text","label");this.hasFocus=!1;this.showValidStyle=!1;this.showInvalidStyle=!1;this.title="";this.name="";this.value="";this.size="lg";this.label="";this.helpText="";this.placeholder="";this.rows=4;this.disabled=!1;this.visuallyDisabled=!1;this.readonly=!1;this.form="";this.required=!1;this.floatingLabel=!1;this.styleOnValid=!1;this.spellcheck=!0;this.defaultValue=""}get validity(){return this.textarea.validity}get validationMessage(){return this.textarea.validationMessage}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.setTextareaHeight()})}firstUpdated(){this.formControlController.updateValidity()}disconnectedCallback(){super.disconnectedCallback()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleChange(){this.value=this.textarea.value,this.setTextareaHeight(),this.emit("sd-change")}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleInput(){if(this.visuallyDisabled){this.textarea.value=this.value;return}this.value=this.textarea.value,this.formControlController.updateValidity(),this.emit("sd-input")}handleInvalid(l){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(l),this.invalidMessage.textContent=l.target.validationMessage}setTextareaHeight(){this.textarea.style.height=void 0}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleRowsChange(){this.setTextareaHeight()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity(),this.setTextareaHeight()}handleSizeChange(){this.size=this.floatingLabel&&this.size==="sm"?"md":this.size}focus(l){this.textarea.focus(l)}blur(){this.textarea.blur()}select(){this.textarea.select()}scrollPosition(l){if(l){typeof l.top=="number"&&(this.textarea.scrollTop=l.top),typeof l.left=="number"&&(this.textarea.scrollLeft=l.left);return}return{top:this.textarea.scrollTop,left:this.textarea.scrollTop}}setSelectionRange(l,r,n="none"){this.textarea.setSelectionRange(l,r,n)}setRangeText(l,r,n,p){this.textarea.setRangeText(l,r,n,p),this.value!==this.textarea.value&&(this.value=this.textarea.value),this.value!==this.textarea.value&&(this.value=this.textarea.value,this.setTextareaHeight())}checkValidity(){var l;return(l=this.textarea)==null?void 0:l.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.textarea.reportValidity()}setCustomValidity(l){this.textarea.setCustomValidity(l),this.formControlController.updateValidity()}render(){let l={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text"),tooltip:this.hasSlotController.test("tooltip")},r=this.label?!0:!!l.label,n=this.helpText?!0:!!l.helpText,p=!!l.tooltip,V=this.value!==null&&String(this.value).length>0,h=this.floatingLabel&&r&&(this.hasFocus&&!this.visuallyDisabled||V),u=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.readonly?"readonly":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",b=this.size==="sm"?"text-sm":"text-base",v={sm:"text-base top-1",md:"text-lg top-2",lg:"text-xl top-2"}[this.size];return o`<div part="form-control" class="flex flex-col h-full text-left">${r&&!this.floatingLabel||p?o`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${s(r?"inline-block form-control-color-text":"hidden",b)}" for="input" aria-hidden="${r?"false":"true"}"><slot name="label">${this.label}</slot></label> ${l.tooltip?o`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${s("relative h-full w-full",this.disabled&&"cursor-not-allowed")}">${r&&this.floatingLabel?o`<label id="label" part="form-control-floating-label" class="${s("absolute left-4 z-20 transition-all duration-200 cursor-text",b,h?"top-2 text-xs":"top-2.5")}" for="input"><span class="${s("leading-none",(this.visuallyDisabled||this.disabled)&&"text-neutral-500",h&&!this.visuallyDisabled&&!this.disabled&&"form-control--filled__floating-label-color-text")}">${this.label}</span></label>`:null}<div part="border" class="${s("absolute w-full h-full pointer-events-none border form-control-border-radius transition-[border] duration-medium ease-in-out",{disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",readonly:"form-control-color-border",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"form-control-color-border"}[u])}"></div><div part="base" class="${s("textarea h-full flex items-top form-control-border-radius group transition-colors duration-medium hover:duration-fast ease-in-out",this.floatingLabel&&"pt-6",{sm:"textarea-sm",md:"textarea-md",lg:"textarea-lg"}[this.size],!this.disabled&&!this.readonly&&!this.visuallyDisabled?"hover:[@media(hover:hover)]:bg-neutral-200":"",this.readonly?"bg-neutral-100":"bg-white",u==="disabled"||u==="visuallyDisabled"?"text-neutral-500":"text-black",["invalid","activeInvalid"].includes(u)&&"form-control--invalid-color-background")}"><textarea part="textarea" id="input" class="${s("ps-4 flex-grow focus:outline-none bg-transparent placeholder:text-neutral-700 resize-none group-has-[sd-icon]:pe-8",{sm:h?"pb-1":"py-2",md:h?"pb-1":"py-2",lg:h?"pb-2":"py-2"}[this.size],this.disabled&&"cursor-not-allowed",b)}" title="${this.title}" name="${a(this.name)}" .value="${w(this.value)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" ?visually-disabled="${this.visuallyDisabled}" placeholder="${!this.floatingLabel||h?a(this.placeholder):""}" minlength="${a(this.minlength)}" maxlength="${a(this.maxlength)}" rows="${a(this.rows)}" autocapitalize="${a(this.autocapitalize)}" autocorrect="${a(this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${a(this.spellcheck)}" enterkeyhint="${a(this.enterkeyhint)}" inputmode="${a(this.inputmode)}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" aria-disabled="${this.disabled||this.visuallyDisabled}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"></textarea> ${this.showInvalidStyle?o`<sd-icon class="${s("text-error absolute right-4 pointer-events-none",v)}" library="_internal" name="risk" part="invalid-icon"></sd-icon>`:""} ${this.styleOnValid&&this.showValidStyle?o`<sd-icon class="${s("text-success absolute right-4 pointer-events-none",v)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-icon>`:""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${s("text-sm text-neutral-700 mt-1",n&&!this.showInvalidStyle?"block":"hidden")}" aria-hidden="${!n||this.showInvalidStyle}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage(this.size)}`}};t.styles=[...m.styles,y`/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as w}from"./chunk.YQH4KNT6.js";import{a as $}from"./chunk.W4EADN3G.js";import{b as x}from"./chunk.RAP66B6O.js";import{a}from"./chunk.SLXPE3UU.js";import{a as C}from"./chunk.CGQ2BPPZ.js";import{a as s}from"./chunk.QIKBKQXB.js";import{a as d}from"./chunk.NYKJXI3Q.js";import{a as g,b as i,c,d as f,h as m}from"./chunk.AWJGLIES.js";import{b as y,e as o}from"./chunk.UOAG5PNU.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends m{constructor(){super(...arguments);this.formControlController=new x(this);this.hasSlotController=new C(this,"help-text","label");this.hasFocus=!1;this.showValidStyle=!1;this.showInvalidStyle=!1;this.title="";this.name="";this.value="";this.size="lg";this.label="";this.helpText="";this.placeholder="";this.rows=4;this.disabled=!1;this.visuallyDisabled=!1;this.readonly=!1;this.form="";this.required=!1;this.floatingLabel=!1;this.styleOnValid=!1;this.spellcheck=!0;this.defaultValue=""}get validity(){return this.textarea.validity}get validationMessage(){return this.textarea.validationMessage}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.setTextareaHeight()})}firstUpdated(){this.formControlController.updateValidity()}disconnectedCallback(){super.disconnectedCallback()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleChange(){this.value=this.textarea.value,this.setTextareaHeight(),this.emit("sd-change")}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleInput(){if(this.visuallyDisabled){this.textarea.value=this.value;return}this.value=this.textarea.value,this.formControlController.updateValidity(),this.emit("sd-input")}handleInvalid(l){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(l),this.invalidMessage.textContent=l.target.validationMessage}setTextareaHeight(){this.textarea.style.height=void 0}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleRowsChange(){this.setTextareaHeight()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity(),this.setTextareaHeight()}handleSizeChange(){this.size=this.floatingLabel&&this.size==="sm"?"md":this.size}focus(l){this.textarea.focus(l)}blur(){this.textarea.blur()}select(){this.textarea.select()}scrollPosition(l){if(l){typeof l.top=="number"&&(this.textarea.scrollTop=l.top),typeof l.left=="number"&&(this.textarea.scrollLeft=l.left);return}return{top:this.textarea.scrollTop,left:this.textarea.scrollTop}}setSelectionRange(l,r,n="none"){this.textarea.setSelectionRange(l,r,n)}setRangeText(l,r,n,p){this.textarea.setRangeText(l,r,n,p),this.value!==this.textarea.value&&(this.value=this.textarea.value),this.value!==this.textarea.value&&(this.value=this.textarea.value,this.setTextareaHeight())}checkValidity(){var l;return(l=this.textarea)==null?void 0:l.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.textarea.reportValidity()}setCustomValidity(l){this.textarea.setCustomValidity(l),this.formControlController.updateValidity()}render(){let l={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text"),tooltip:this.hasSlotController.test("tooltip")},r=this.label?!0:!!l.label,n=this.helpText?!0:!!l.helpText,p=!!l.tooltip,V=this.value!==null&&String(this.value).length>0,h=this.floatingLabel&&r&&(this.hasFocus&&!this.visuallyDisabled||V),u=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.readonly?"readonly":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",b=this.size==="sm"?"text-sm":"text-base",v={sm:"text-base top-1",md:"text-lg top-2",lg:"text-xl top-2"}[this.size];return o`<div part="form-control" class="flex flex-col h-full text-left">${r&&!this.floatingLabel||p?o`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${s(r?"inline-block form-control-color-text":"hidden",b)}" for="input" aria-hidden="${r?"false":"true"}"><slot name="label">${this.label}</slot></label> ${l.tooltip?o`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${s("relative h-full w-full",this.disabled&&"cursor-not-allowed")}">${r&&this.floatingLabel?o`<label id="label" part="form-control-floating-label" class="${s("absolute left-4 z-20 transition-all duration-200 cursor-text",b,h?"top-2 text-xs":"top-2.5")}" for="input"><span class="${s("leading-none",(this.visuallyDisabled||this.disabled)&&"text-neutral-500",h&&!this.visuallyDisabled&&!this.disabled&&"form-control--filled__floating-label-color-text")}">${this.label}</span></label>`:null}<div part="border" class="${s("absolute w-full h-full pointer-events-none border form-control-border-radius transition-[border] duration-medium ease-in-out",{disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",readonly:"form-control-color-border",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"form-control-color-border"}[u])}"></div><div part="base" class="${s("textarea h-full flex items-top form-control-border-radius group transition-colors duration-medium hover:duration-fast ease-in-out",this.floatingLabel&&"pt-6",{sm:"textarea-sm",md:"textarea-md",lg:"textarea-lg"}[this.size],!this.disabled&&!this.readonly&&!this.visuallyDisabled?"hover:[@media(hover:hover)]:bg-neutral-200":"",this.readonly?"bg-neutral-100":"bg-white",u==="disabled"||u==="visuallyDisabled"?"text-neutral-500":"text-black",["invalid","activeInvalid"].includes(u)&&"form-control--invalid-color-background")}"><textarea part="textarea" id="input" class="${s("ps-4 flex-grow focus:outline-none bg-transparent placeholder:text-neutral-700 resize-none group-has-[sd-icon]:pe-8",{sm:h?"pb-1":"py-2",md:h?"pb-1":"py-2",lg:h?"pb-2":"py-2"}[this.size],this.disabled&&"cursor-not-allowed",b)}" title="${this.title}" name="${a(this.name)}" .value="${w(this.value)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" ?visually-disabled="${this.visuallyDisabled}" placeholder="${!this.floatingLabel||h?a(this.placeholder):""}" minlength="${a(this.minlength)}" maxlength="${a(this.maxlength)}" rows="${a(this.rows)}" autocapitalize="${a(this.autocapitalize)}" autocorrect="${a(this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${a(this.spellcheck)}" enterkeyhint="${a(this.enterkeyhint)}" inputmode="${a(this.inputmode)}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" aria-disabled="${this.disabled||this.visuallyDisabled}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"></textarea> ${this.showInvalidStyle?o`<sd-icon class="${s("text-error absolute right-4 pointer-events-none",v)}" library="_internal" name="risk" part="invalid-icon"></sd-icon>`:""} ${this.styleOnValid&&this.showValidStyle?o`<sd-icon class="${s("text-success absolute right-4 pointer-events-none",v)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-icon>`:""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${s("text-sm text-neutral-700 mt-1",n&&!this.showInvalidStyle?"block":"hidden")}" aria-hidden="${!n||this.showInvalidStyle}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage(this.size)}`}};t.styles=[...m.styles,y`/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{display:block;height:100%}:host textarea{scrollbar-gutter:stable}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{color:rgba(var(--sd-color-text-neutral-500))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{color:rgba(var(--sd-color-text-neutral-500))}:host([required]) #label::after{content:' *'}:host([visually-disabled]) textarea{caret-color:transparent}.no-scrollbar::-webkit-scrollbar{display:none}`],e([f("#input")],t.prototype,"textarea",2),e([f("#invalid-message")],t.prototype,"invalidMessage",2),e([c()],t.prototype,"hasFocus",2),e([c()],t.prototype,"showValidStyle",2),e([c()],t.prototype,"showInvalidStyle",2),e([i({type:String,reflect:!0})],t.prototype,"title",2),e([i({type:String,reflect:!0})],t.prototype,"name",2),e([i()],t.prototype,"value",2),e([i({type:String,reflect:!0})],t.prototype,"size",2),e([i({type:String,reflect:!0})],t.prototype,"label",2),e([i({type:String,attribute:"help-text",reflect:!0})],t.prototype,"helpText",2),e([i({type:String,reflect:!0})],t.prototype,"placeholder",2),e([i({type:Number,reflect:!0})],t.prototype,"rows",2),e([i({type:Boolean,reflect:!0})],t.prototype,"disabled",2),e([i({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),e([i({type:Boolean,reflect:!0})],t.prototype,"readonly",2),e([i({type:String,reflect:!0})],t.prototype,"form",2),e([i({type:Boolean,reflect:!0})],t.prototype,"required",2),e([i({attribute:"floating-label",type:Boolean,reflect:!0})],t.prototype,"floatingLabel",2),e([i({type:Number,reflect:!0})],t.prototype,"minlength",2),e([i({type:Number,reflect:!0})],t.prototype,"maxlength",2),e([i({type:String,reflect:!0})],t.prototype,"autocapitalize",2),e([i({type: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([$()],t.prototype,"defaultValue",2),e([d("disabled",{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),e([d("rows",{waitUntilFirstUpdate:!0})],t.prototype,"handleRowsChange",1),e([d("value",{waitUntilFirstUpdate:!0})],t.prototype,"handleValueChange",1),e([d(["size","floatingLabel"])],t.prototype,"handleSizeChange",1),t=e([g("sd-textarea")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as l}from"./chunk.D4E5ZIRW.js";import{a as s}from"./chunk.NYKJXI3Q.js";import{a as y,b as a,f,h as r}from"./chunk.6FABT2P2.js";import{b as c,e as d}from"./chunk.UOAG5PNU.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends r{constructor(){super(...arguments);this.hasStarted=!1;this.name="none";this.play=!1;this.delay=0;this.direction="normal";this.duration=1e3;this.easing="linear";this.endDelay=0;this.fill="auto";this.iterations=1/0;this.iterationStart=0;this.playbackRate=1}get currentTime(){var i,n;return(n=(i=this.animation)==null?void 0:i.currentTime)!=null?n:0}set currentTime(i){this.animation&&(this.animation.currentTime=i)}connectedCallback(){super.connectedCallback(),this.createAnimation(),this.handleAnimationCancel=this.handleAnimationCancel.bind(this),this.handleAnimationFinish=this.handleAnimationFinish.bind(this)}disconnectedCallback(){super.disconnectedCallback(),this.destroyAnimation()}handleAnimationFinish(){this.play=!1,this.hasStarted=!1,this.emit("sd-finish")}handleAnimationCancel(){this.play=!1,this.hasStarted=!1,this.emit("sd-cancel")}handleSlotChange(){this.destroyAnimation(),this.createAnimation()}async createAnimation(){var o,m;let i=(o=l.easings[this.easing])!=null?o:this.easing,n=(m=this.keyframes)!=null?m:l[this.name],h=(await this.defaultSlot).assignedElements()[0];return!h||!n?!1:(this.destroyAnimation(),this.animation=h.animate(n,{delay:this.delay,direction:this.direction,duration:this.duration,easing:i,endDelay:this.endDelay,fill:this.fill,iterationStart:this.iterationStart,iterations:this.iterations}),this.animation.playbackRate=this.playbackRate,this.animation.addEventListener("cancel",this.handleAnimationCancel),this.animation.addEventListener("finish",this.handleAnimationFinish),this.play?(this.hasStarted=!0,this.emit("sd-start")):this.animation.pause(),!0)}destroyAnimation(){this.animation&&(this.animation.cancel(),this.animation.removeEventListener("cancel",this.handleAnimationCancel),this.animation.removeEventListener("finish",this.handleAnimationFinish),this.hasStarted=!1)}handleAnimationChange(){this.hasUpdated&&this.createAnimation()}handlePlayChange(){return this.animation?(this.play&&!this.hasStarted&&(this.hasStarted=!0,this.emit("sd-start")),this.play?this.animation.play():this.animation.pause(),!0):!1}handlePlaybackRateChange(){this.animation&&(this.animation.playbackRate=this.playbackRate)}cancel(){var i;(i=this.animation)==null||i.cancel()}finish(){var i;(i=this.animation)==null||i.finish()}render(){return d`<slot @slotchange="${this.handleSlotChange}"></slot>`}};t.styles=[...r.styles,c`/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as l}from"./chunk.D4E5ZIRW.js";import{a as s}from"./chunk.NYKJXI3Q.js";import{a as y,b as a,f,h as r}from"./chunk.AWJGLIES.js";import{b as c,e as d}from"./chunk.UOAG5PNU.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends r{constructor(){super(...arguments);this.hasStarted=!1;this.name="none";this.play=!1;this.delay=0;this.direction="normal";this.duration=1e3;this.easing="linear";this.endDelay=0;this.fill="auto";this.iterations=1/0;this.iterationStart=0;this.playbackRate=1}get currentTime(){var i,n;return(n=(i=this.animation)==null?void 0:i.currentTime)!=null?n:0}set currentTime(i){this.animation&&(this.animation.currentTime=i)}connectedCallback(){super.connectedCallback(),this.createAnimation(),this.handleAnimationCancel=this.handleAnimationCancel.bind(this),this.handleAnimationFinish=this.handleAnimationFinish.bind(this)}disconnectedCallback(){super.disconnectedCallback(),this.destroyAnimation()}handleAnimationFinish(){this.play=!1,this.hasStarted=!1,this.emit("sd-finish")}handleAnimationCancel(){this.play=!1,this.hasStarted=!1,this.emit("sd-cancel")}handleSlotChange(){this.destroyAnimation(),this.createAnimation()}async createAnimation(){var o,m;let i=(o=l.easings[this.easing])!=null?o:this.easing,n=(m=this.keyframes)!=null?m:l[this.name],h=(await this.defaultSlot).assignedElements()[0];return!h||!n?!1:(this.destroyAnimation(),this.animation=h.animate(n,{delay:this.delay,direction:this.direction,duration:this.duration,easing:i,endDelay:this.endDelay,fill:this.fill,iterationStart:this.iterationStart,iterations:this.iterations}),this.animation.playbackRate=this.playbackRate,this.animation.addEventListener("cancel",this.handleAnimationCancel),this.animation.addEventListener("finish",this.handleAnimationFinish),this.play?(this.hasStarted=!0,this.emit("sd-start")):this.animation.pause(),!0)}destroyAnimation(){this.animation&&(this.animation.cancel(),this.animation.removeEventListener("cancel",this.handleAnimationCancel),this.animation.removeEventListener("finish",this.handleAnimationFinish),this.hasStarted=!1)}handleAnimationChange(){this.hasUpdated&&this.createAnimation()}handlePlayChange(){return this.animation?(this.play&&!this.hasStarted&&(this.hasStarted=!0,this.emit("sd-start")),this.play?this.animation.play():this.animation.pause(),!0):!1}handlePlaybackRateChange(){this.animation&&(this.animation.playbackRate=this.playbackRate)}cancel(){var i;(i=this.animation)==null||i.cancel()}finish(){var i;(i=this.animation)==null||i.finish()}render(){return d`<slot @slotchange="${this.handleSlotChange}"></slot>`}};t.styles=[...r.styles,c`/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{display:contents}`],e([f("slot")],t.prototype,"defaultSlot",2),e([a()],t.prototype,"name",2),e([a({type:Boolean,reflect:!0})],t.prototype,"play",2),e([a({type:Number})],t.prototype,"delay",2),e([a()],t.prototype,"direction",2),e([a({type:Number})],t.prototype,"duration",2),e([a()],t.prototype,"easing",2),e([a({attribute:"end-delay",type:Number})],t.prototype,"endDelay",2),e([a()],t.prototype,"fill",2),e([a({type:Number})],t.prototype,"iterations",2),e([a({attribute:"iteration-start",type:Number})],t.prototype,"iterationStart",2),e([a({attribute:!1})],t.prototype,"keyframes",2),e([a({attribute:"playback-rate",type:Number})],t.prototype,"playbackRate",2),e([s(["name","delay","direction","duration","easing","endDelay","fill","iterations","iterationsStart","keyframes"])],t.prototype,"handleAnimationChange",1),e([s("play")],t.prototype,"handlePlayChange",1),e([s("playbackRate")],t.prototype,"handlePlaybackRateChange",1),t=e([y("sd-animation")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as o}from"./chunk.QIKBKQXB.js";import{a as i,b as a,h as r}from"./chunk.6FABT2P2.js";import{b as l,e as s}from"./chunk.UOAG5PNU.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="${o("sd-skeleton-color 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.2.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as o}from"./chunk.QIKBKQXB.js";import{a as i,b as a,h as r}from"./chunk.AWJGLIES.js";import{b as l,e as s}from"./chunk.UOAG5PNU.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="${o("sd-skeleton-color 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.2.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{display:block}::slotted(*){visibility:hidden}`],e([a({type:String,reflect:!0})],t.prototype,"variant",2),t=e([i("sd-skeleton")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as m}from"./chunk.MWDEA25W.js";import{a as p}from"./chunk.NYKJXI3Q.js";import{a as n,b as o,h as a}from"./chunk.6FABT2P2.js";import{b as c,e as l}from"./chunk.UOAG5PNU.js";import{e as s}from"./chunk.6EV4YU6C.js";var t=class extends a{constructor(){super(...arguments);this.mode="cors";this.allowScripts=!1}executeScript(e){let r=document.createElement("script");[...e.attributes].forEach(i=>r.setAttribute(i.name,i.value)),r.textContent=e.textContent,e.parentNode.replaceChild(r,e)}async handleSrcChange(){try{let e=this.src,r=await m(e,this.mode);if(e!==this.src)return;if(!r.ok){this.emit("sd-error",{detail:{status:r.status}});return}this.innerHTML=r.html,this.allowScripts&&[...this.querySelectorAll("script")].forEach(i=>this.executeScript(i)),this.emit("sd-load")}catch(e){this.emit("sd-error",{detail:{status:-1}})}}render(){return l`<slot></slot>`}};t.styles=[...a.styles,c`/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as m}from"./chunk.MWDEA25W.js";import{a as p}from"./chunk.NYKJXI3Q.js";import{a as n,b as o,h as a}from"./chunk.AWJGLIES.js";import{b as c,e as l}from"./chunk.UOAG5PNU.js";import{e as s}from"./chunk.6EV4YU6C.js";var t=class extends a{constructor(){super(...arguments);this.mode="cors";this.allowScripts=!1}executeScript(e){let r=document.createElement("script");[...e.attributes].forEach(i=>r.setAttribute(i.name,i.value)),r.textContent=e.textContent,e.parentNode.replaceChild(r,e)}async handleSrcChange(){try{let e=this.src,r=await m(e,this.mode);if(e!==this.src)return;if(!r.ok){this.emit("sd-error",{detail:{status:r.status}});return}this.innerHTML=r.html,this.allowScripts&&[...this.querySelectorAll("script")].forEach(i=>this.executeScript(i)),this.emit("sd-load")}catch(e){this.emit("sd-error",{detail:{status:-1}})}}render(){return l`<slot></slot>`}};t.styles=[...a.styles,c`/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{display:block}`],s([o({reflect:!0})],t.prototype,"src",2),s([o({type:String,reflect:!0})],t.prototype,"mode",2),s([o({attribute:"allow-scripts",type:Boolean,reflect:!0})],t.prototype,"allowScripts",2),s([p("src")],t.prototype,"handleSrcChange",1),t=s([n("sd-include")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as s}from"./chunk.QIKBKQXB.js";import{a as l}from"./chunk.NYKJXI3Q.js";import{a as c,b as i,c as r,h as a}from"./chunk.6FABT2P2.js";import{b as o,e as d}from"./chunk.UOAG5PNU.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends a{constructor(){super(...arguments);this.checked=!1;this.hasFocus=!1;this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.invalid=!1}connectedCallback(){super.connectedCallback(),this.handleBlur=this.handleBlur.bind(this),this.handleClick=this.handleClick.bind(this),this.handleFocus=this.handleFocus.bind(this),this.setInitialAttributes(),this.addEventListeners()}disconnectedCallback(){this.removeEventListeners()}addEventListeners(){this.addEventListener("blur",this.handleBlur),this.addEventListener("click",this.handleClick),this.addEventListener("focus",this.handleFocus)}removeEventListeners(){this.removeEventListener("blur",this.handleBlur),this.removeEventListener("click",this.handleClick),this.removeEventListener("focus",this.handleFocus)}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleClick(){!this.disabled&&!this.visuallyDisabled&&(this.checked=!0)}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}setInitialAttributes(){this.setAttribute("role","radio"),this.setAttribute("tabindex","-1"),this.setAttribute("aria-disabled",this.disabled||this.visuallyDisabled?"true":"false")}handleCheckedChange(){this.setAttribute("aria-checked",this.checked?"true":"false"),this.setAttribute("tabindex",this.checked?"0":"-1")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}render(){return d`<span part="base" class="${s("sd-radio group flex items-center text-base leading-normal text-black cursor-pointer",(this.disabled||this.visuallyDisabled)&&"hover:cursor-not-allowed",{sm:"small-size text-sm",md:"text-base",lg:"text-base"}[this.size])}"><span part="${`${this.checked?"control--checked":"control--unchecked"}`}" class="${s("flex-initial shrink-0 relative inline-flex items-center justify-center border sd-radio-border-width rounded-full bg-white h-4 w-4 duration-fast ease-in-out",this.disabled||this.visuallyDisabled?"border-neutral-500":this.invalid?s("border-error hover:border-error-400 group-hover:border-error-400",this.checked?"sd-radio--checked--invalid--default-color-background":"sd-radio--default--invalid-color-background"):this.checked?"sd-radio--checked--default-color-background hover:sd-radio--checked--hover-color-background group-hover:sd-radio--checked--hover-color-background border-accent hover:border-accent-550 group-hover:border-accent-550":"form-control-color-border hover:bg-neutral-200 group-hover:bg-neutral-200")}"><span part="checked" class="${s("rounded-full inline-flex text-white h-2.5 w-2.5 transition-[transform, colors] duration-medium ease-in-out",this.checked?"scale-100":"scale-0",this.disabled?"bg-neutral-500":this.visuallyDisabled?"bg-white":this.invalid?"sd-radio--checked--invalid--default__icon-color-background hover:sd-radio--checked--invalid--hover__icon-color-background group-hover:sd-radio--checked--invalid--hover__icon-color-background":this.checked?"sd-radio--checked--default__icon-color-background hover:sd-radio--checked--hover__icon-color-background group-hover:sd-radio--checked--hover__icon-color-background":"bg-neutral-800")}"></span></span><slot part="label" class="${s("ml-2 select-none inline-block",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-black")}"></slot></span>`}};e.styles=[...a.styles,o`/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
1
+ import{a as s}from"./chunk.QIKBKQXB.js";import{a as l}from"./chunk.NYKJXI3Q.js";import{a as c,b as i,c as r,h as a}from"./chunk.AWJGLIES.js";import{b as o,e as d}from"./chunk.UOAG5PNU.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends a{constructor(){super(...arguments);this.checked=!1;this.hasFocus=!1;this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.invalid=!1}connectedCallback(){super.connectedCallback(),this.handleBlur=this.handleBlur.bind(this),this.handleClick=this.handleClick.bind(this),this.handleFocus=this.handleFocus.bind(this),this.setInitialAttributes(),this.addEventListeners()}disconnectedCallback(){this.removeEventListeners()}addEventListeners(){this.addEventListener("blur",this.handleBlur),this.addEventListener("click",this.handleClick),this.addEventListener("focus",this.handleFocus)}removeEventListeners(){this.removeEventListener("blur",this.handleBlur),this.removeEventListener("click",this.handleClick),this.removeEventListener("focus",this.handleFocus)}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleClick(){!this.disabled&&!this.visuallyDisabled&&(this.checked=!0)}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}setInitialAttributes(){this.setAttribute("role","radio"),this.setAttribute("tabindex","-1"),this.setAttribute("aria-disabled",this.disabled||this.visuallyDisabled?"true":"false")}handleCheckedChange(){this.setAttribute("aria-checked",this.checked?"true":"false"),this.setAttribute("tabindex",this.checked?"0":"-1")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}render(){return d`<span part="base" class="${s("sd-radio group flex items-center text-base leading-normal text-black cursor-pointer",(this.disabled||this.visuallyDisabled)&&"hover:cursor-not-allowed",{sm:"small-size text-sm",md:"text-base",lg:"text-base"}[this.size])}"><span part="${`${this.checked?"control--checked":"control--unchecked"}`}" class="${s("flex-initial shrink-0 relative inline-flex items-center justify-center border sd-radio-border-width rounded-full bg-white h-4 w-4 duration-fast ease-in-out",this.disabled||this.visuallyDisabled?"border-neutral-500":this.invalid?s("border-error hover:border-error-400 group-hover:border-error-400",this.checked?"sd-radio--checked--invalid--default-color-background":"sd-radio--default--invalid-color-background"):this.checked?"sd-radio--checked--default-color-background hover:sd-radio--checked--hover-color-background group-hover:sd-radio--checked--hover-color-background border-accent hover:border-accent-550 group-hover:border-accent-550":"form-control-color-border hover:bg-neutral-200 group-hover:bg-neutral-200")}"><span part="checked" class="${s("rounded-full inline-flex text-white h-2.5 w-2.5 transition-[transform, colors] duration-medium ease-in-out",this.checked?"scale-100":"scale-0",this.disabled?"bg-neutral-500":this.visuallyDisabled?"bg-white":this.invalid?"sd-radio--checked--invalid--default__icon-color-background hover:sd-radio--checked--invalid--hover__icon-color-background group-hover:sd-radio--checked--invalid--hover__icon-color-background":this.checked?"sd-radio--checked--default__icon-color-background hover:sd-radio--checked--hover__icon-color-background group-hover:sd-radio--checked--hover__icon-color-background":"bg-neutral-800")}"></span></span><slot part="label" class="${s("ml-2 select-none inline-block",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-black")}"></slot></span>`}};e.styles=[...a.styles,o`/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
2
  :host{display:block;width:-moz-max-content;width:max-content}:host(:focus-visible){--tw-outline-style:none;outline-style:none}:host(:focus-visible) [part=control--checked],:host(:focus-visible) [part=control--unchecked]{outline-width:1px;outline-style:var(--tw-outline-style);outline-width:2px;outline-offset:2px;outline-color:var(--sd-color-border-primary,var(--sd-color-primary))}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}`],t([r()],e.prototype,"checked",2),t([r()],e.prototype,"hasFocus",2),t([i({type:String,reflect:!0})],e.prototype,"size",2),t([i({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([i({type:Boolean,reflect:!0,attribute:"visually-disabled"})],e.prototype,"visuallyDisabled",2),t([i()],e.prototype,"value",2),t([i({type:Boolean,reflect:!0})],e.prototype,"invalid",2),t([l("checked")],e.prototype,"handleCheckedChange",1),t([l(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],e.prototype,"handleDisabledChange",1),e=t([c("sd-radio")],e);export{e as a};
@@ -1,2 +1,2 @@
1
- import{a as p}from"./chunk.CGQ2BPPZ.js";import{a}from"./chunk.QIKBKQXB.js";import{a as r}from"./chunk.NYKJXI3Q.js";import{a as d,b as o,h as n}from"./chunk.6FABT2P2.js";import{b as m,e as s}from"./chunk.UOAG5PNU.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.2.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as p}from"./chunk.CGQ2BPPZ.js";import{a}from"./chunk.QIKBKQXB.js";import{a as r}from"./chunk.NYKJXI3Q.js";import{a as d,b as o,h as n}from"./chunk.AWJGLIES.js";import{b as m,e as s}from"./chunk.UOAG5PNU.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.2.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{display:block}:host([orientation=vertical]) ::slotted(sd-checkbox){margin-bottom:var(--sd-spacing-2);display:flex}:host([orientation=vertical]) ::slotted(sd-checkbox:last-of-type){margin-bottom: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 d}from"./chunk.CGQ2BPPZ.js";import{a as y}from"./chunk.IQPMMUES.js";import{a as s}from"./chunk.QIKBKQXB.js";import{a as c,b as o,d as u,h as l}from"./chunk.6FABT2P2.js";import{b as p,e as r}from"./chunk.UOAG5PNU.js";import{e as a}from"./chunk.6EV4YU6C.js";var e=class extends l{constructor(){super(...arguments);this.localize=new y(this);this.playing=!1;this.isBelowBreakpoint=!1;this.hasSlotController=new d(this,"[default]","play-icon","poster")}get poster(){let t=this.shadowRoot.querySelector("slot[name=poster]");return(t==null?void 0:t.assignedElements().length)>0?t.assignedElements()[0]:null}get video(){return this.querySelector("video")}async hidePoster(){this.poster instanceof HTMLImageElement&&(this.poster.style.opacity="0",await new Promise(t=>setTimeout(t,this.token("--sd-duration-medium",300))),this.poster.style.display="none")}setVideoInert(t){var i,n;t?(i=this.video)==null||i.setAttribute("inert",""):(n=this.video)==null||n.removeAttribute("inert")}play(){var t;this.emit("sd-play"),this.playing=!0,(t=this.video)==null||t.play(),this.hidePoster(),this.setVideoInert(!1)}handleKeydown(t){t instanceof KeyboardEvent&&(t.key==="Enter"||t.key===" ")&&(this.play(),setTimeout(()=>{var i;(i=this.video)==null||i.focus()}))}handleButtonResize(){this.hostEl.clientWidth<=414&&!this.isBelowBreakpoint&&(this.isBelowBreakpoint=!0),this.hostEl.clientWidth>414&&this.isBelowBreakpoint&&(this.isBelowBreakpoint=!1)}connectedCallback(){super.connectedCallback(),this.setVideoInert(!0),this.resizeObserver=new ResizeObserver(()=>this.handleButtonResize()),this.updateComplete.then(()=>{this.resizeObserver.observe(this.hostEl)})}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver.unobserve(this.hostEl)}render(){return r`<div part="base" class="cursor-pointer"><button part="play-button" aria-label="${this.localize.term("playVideo")}" tabindex="0" @click="${this.play}" @keydown="${this.handleKeydown}" class="${s(this.playing&&"pointer-events-none","group w-full h-full absolute top-0 left-0 z-30 sd-interactive outline-hidden focus-visible:focus-outline")}"><div part="play-button-bg" class="${s(this.playing?"opacity-0":"opacity-100",this.isBelowBreakpoint?"w-[48px] h-[48px]":"w-[96px] h-[96px]","absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 p-4 bg-white/75 rounded-full play-pause-transition group-focus-visible:outline-2 group-focus-visible:outline-offset-2")}"><slot name="play-icon" part="play-icon" class="${s(this.isBelowBreakpoint?"text-[2rem]":"text-[4rem]")}"><sd-icon id="default-play-icon" library="_internal" name="start"></sd-icon></slot></div></button> ${this.hasSlotController.test("poster")?r`<div part="poster-wrapper" class="absolute left-0 top-0 w-full z-10 overflow-hidden"><slot name="poster" role="presentation"></slot></div>`:null}<slot></slot></div>`}};e.styles=[...l.styles,p`/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
1
+ import{a as d}from"./chunk.CGQ2BPPZ.js";import{a as y}from"./chunk.IQPMMUES.js";import{a as s}from"./chunk.QIKBKQXB.js";import{a as c,b as o,d as u,h as l}from"./chunk.AWJGLIES.js";import{b as p,e as r}from"./chunk.UOAG5PNU.js";import{e as a}from"./chunk.6EV4YU6C.js";var e=class extends l{constructor(){super(...arguments);this.localize=new y(this);this.playing=!1;this.isBelowBreakpoint=!1;this.hasSlotController=new d(this,"[default]","play-icon","poster")}get poster(){let t=this.shadowRoot.querySelector("slot[name=poster]");return(t==null?void 0:t.assignedElements().length)>0?t.assignedElements()[0]:null}get video(){return this.querySelector("video")}async hidePoster(){this.poster instanceof HTMLImageElement&&(this.poster.style.opacity="0",await new Promise(t=>setTimeout(t,this.token("--sd-duration-medium",300))),this.poster.style.display="none")}setVideoInert(t){var i,n;t?(i=this.video)==null||i.setAttribute("inert",""):(n=this.video)==null||n.removeAttribute("inert")}play(){var t;this.emit("sd-play"),this.playing=!0,(t=this.video)==null||t.play(),this.hidePoster(),this.setVideoInert(!1)}handleKeydown(t){t instanceof KeyboardEvent&&(t.key==="Enter"||t.key===" ")&&(this.play(),setTimeout(()=>{var i;(i=this.video)==null||i.focus()}))}handleButtonResize(){this.hostEl.clientWidth<=414&&!this.isBelowBreakpoint&&(this.isBelowBreakpoint=!0),this.hostEl.clientWidth>414&&this.isBelowBreakpoint&&(this.isBelowBreakpoint=!1)}connectedCallback(){super.connectedCallback(),this.setVideoInert(!0),this.resizeObserver=new ResizeObserver(()=>this.handleButtonResize()),this.updateComplete.then(()=>{this.resizeObserver.observe(this.hostEl)})}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver.unobserve(this.hostEl)}render(){return r`<div part="base" class="cursor-pointer"><button part="play-button" aria-label="${this.localize.term("playVideo")}" tabindex="0" @click="${this.play}" @keydown="${this.handleKeydown}" class="${s(this.playing&&"pointer-events-none","group w-full h-full absolute top-0 left-0 z-30 sd-interactive outline-hidden focus-visible:focus-outline")}"><div part="play-button-bg" class="${s(this.playing?"opacity-0":"opacity-100",this.isBelowBreakpoint?"w-[48px] h-[48px]":"w-[96px] h-[96px]","absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 p-4 bg-white/75 rounded-full play-pause-transition group-focus-visible:outline-2 group-focus-visible:outline-offset-2")}"><slot name="play-icon" part="play-icon" class="${s(this.isBelowBreakpoint?"text-[2rem]":"text-[4rem]")}"><sd-icon id="default-play-icon" library="_internal" name="start"></sd-icon></slot></div></button> ${this.hasSlotController.test("poster")?r`<div part="poster-wrapper" class="absolute left-0 top-0 w-full z-10 overflow-hidden"><slot name="poster" role="presentation"></slot></div>`:null}<slot></slot></div>`}};e.styles=[...l.styles,p`/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
2
  :host{position:relative;display:inline-block;overflow:hidden}.play-pause-transition,::slotted([slot=poster]){--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y);transition-property:opacity,scale;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,150ms));--tw-duration:var(--sd-duration-medium, 300ms);transition-duration:var(--sd-duration-medium,300ms);--tw-ease:var(--ease-in-out, cubic-bezier(0.4, 0, 0.2, 1));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}#default-play-icon,::slotted([slot=play-icon]){position:absolute;top:calc(1 / 2 * 100%);left:calc(1 / 2 * 100%);--tw-translate-x:calc(calc(1 / 2 * 100%) * -1)!important;--tw-translate-y:calc(calc(1 / 2 * 100%) * -1)!important;translate:var(--tw-translate-x) var(--tw-translate-y)!important;transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}:has([part=play-button]:hover) ::slotted([slot=poster]){--tw-scale-x:110%!important;--tw-scale-y:110%!important;--tw-scale-z:110%!important;scale:var(--tw-scale-x) var(--tw-scale-y)!important}[part=play-button-bg]{color:rgba(var(--sd-video--play-button-color-icon-fill));background-color:rgba(var(--sd-video--play-button-color-background))}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}`],a([u("[part=base]")],e.prototype,"hostEl",2),a([o({type:Boolean,reflect:!0})],e.prototype,"playing",2),a([o({type:Boolean})],e.prototype,"isBelowBreakpoint",2),e=a([c("sd-video")],e);export{e as a};