@solid-design-system/components 6.16.0 → 6.16.2

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 (657) hide show
  1. package/cdn/chunks/{chunk.EWMHJHWS.js → chunk.234GSBDZ.js} +1 -1
  2. package/cdn/chunks/{chunk.UHJGQKEY.js → chunk.25GHYAOD.js} +1 -1
  3. package/cdn/chunks/{chunk.EY5IPEJS.js → chunk.2LQ5VGSE.js} +1 -1
  4. package/cdn/chunks/{chunk.LZ3V4KEW.js → chunk.2XFGD6SJ.js} +1 -1
  5. package/cdn/chunks/{chunk.4FZ6I6UQ.js → chunk.3IUXZC5K.js} +1 -1
  6. package/cdn/chunks/{chunk.ATEIIJMN.js → chunk.4E7TKZEG.js} +1 -1
  7. package/cdn/chunks/{chunk.A26X4M2A.js → chunk.4ORVKWXE.js} +1 -1
  8. package/cdn/chunks/{chunk.DFK6W42J.js → chunk.5GV7K4H7.js} +1 -1
  9. package/cdn/chunks/{chunk.OB5SA2PR.js → chunk.5HOVVJNJ.js} +1 -1
  10. package/cdn/chunks/{chunk.3CLS3Q77.js → chunk.6FVOAJ2N.js} +1 -1
  11. package/cdn/chunks/{chunk.4VN3VZD3.js → chunk.6W2G2YK5.js} +1 -1
  12. package/cdn/chunks/{chunk.LUYHE3AN.js → chunk.7HTYCCB7.js} +1 -1
  13. package/cdn/chunks/{chunk.D7HCBQZI.js → chunk.7J4IMP5R.js} +1 -1
  14. package/cdn/chunks/{chunk.GSM2BLQT.js → chunk.7WJVA3FJ.js} +1 -1
  15. package/cdn/chunks/{chunk.QZSNTDMB.js → chunk.AGDZZKVF.js} +1 -1
  16. package/cdn/chunks/chunk.AMWQ5YE5.js +1 -0
  17. package/cdn/chunks/{chunk.K4IMODXA.js → chunk.ARTZIGCO.js} +1 -1
  18. package/cdn/chunks/{chunk.Z62KZREG.js → chunk.B2RWMOWV.js} +1 -1
  19. package/cdn/chunks/{chunk.CQAF35CP.js → chunk.BXARHGBN.js} +1 -1
  20. package/cdn/chunks/{chunk.5DK27TIR.js → chunk.CERTG5ZO.js} +1 -1
  21. package/cdn/chunks/{chunk.YEBMVWCO.js → chunk.D3CNVULF.js} +1 -1
  22. package/cdn/chunks/{chunk.UJYIZ6FI.js → chunk.DDZ7Z6DF.js} +1 -1
  23. package/cdn/chunks/{chunk.JNP7A56W.js → chunk.E35JN23S.js} +1 -1
  24. package/cdn/chunks/{chunk.G6JKQSEW.js → chunk.EZGCQ5W6.js} +1 -1
  25. package/cdn/chunks/{chunk.JI7OGVIM.js → chunk.FKPWU2TT.js} +1 -1
  26. package/cdn/chunks/{chunk.BDHPDHCE.js → chunk.GDQUJDHI.js} +1 -1
  27. package/cdn/chunks/{chunk.LHAC7HNW.js → chunk.GLTI3PD7.js} +1 -1
  28. package/cdn/chunks/{chunk.CGW35BM4.js → chunk.GRTRE3SX.js} +1 -1
  29. package/cdn/chunks/{chunk.MPR6UG5R.js → chunk.H26GUUEX.js} +1 -1
  30. package/cdn/chunks/{chunk.XAH2RQGI.js → chunk.HNZ5J4LN.js} +1 -1
  31. package/cdn/chunks/{chunk.HAAQAD3J.js → chunk.IBJNZTJ3.js} +1 -1
  32. package/cdn/chunks/{chunk.4HVH6KEX.js → chunk.ICEOEXLC.js} +1 -1
  33. package/cdn/chunks/{chunk.OWXAMMTH.js → chunk.IUNS6MA3.js} +1 -1
  34. package/cdn/chunks/{chunk.LYMIJSNL.js → chunk.JAJBOQTW.js} +1 -1
  35. package/cdn/chunks/{chunk.UCWSKJGS.js → chunk.KIQUZQMK.js} +1 -1
  36. package/cdn/chunks/{chunk.4KH3R72H.js → chunk.KUOHDCYC.js} +1 -1
  37. package/cdn/chunks/{chunk.OSR5AAH2.js → chunk.L5CEAKDW.js} +1 -1
  38. package/cdn/chunks/{chunk.Q53VDSGJ.js → chunk.LHK5BE4B.js} +1 -1
  39. package/cdn/chunks/{chunk.QVURGIPC.js → chunk.LO5HPN2A.js} +1 -1
  40. package/cdn/chunks/chunk.M6E2RMEB.js +26 -0
  41. package/cdn/chunks/{chunk.ZQQ27X6I.js → chunk.MA2NLPTA.js} +1 -1
  42. package/cdn/chunks/{chunk.BZ6LKCYP.js → chunk.MWGZF2ZF.js} +1 -1
  43. package/cdn/chunks/{chunk.6OZ2A44P.js → chunk.MYEKQQNL.js} +1 -1
  44. package/cdn/chunks/{chunk.UK47XFPM.js → chunk.N465LQG7.js} +1 -1
  45. package/cdn/chunks/{chunk.AIWXFV4A.js → chunk.N6ZAXIUN.js} +1 -1
  46. package/cdn/chunks/{chunk.QSVTAUHF.js → chunk.PK7WEESK.js} +1 -1
  47. package/cdn/chunks/{chunk.OU25KON5.js → chunk.RRSNPH6Q.js} +1 -1
  48. package/cdn/chunks/{chunk.66XXYOMG.js → chunk.S52JFJVB.js} +1 -1
  49. package/cdn/chunks/{chunk.XXL3WNLK.js → chunk.SWU6DQ7U.js} +1 -1
  50. package/cdn/chunks/{chunk.IDTGN2MF.js → chunk.SYD6YTIP.js} +1 -1
  51. package/cdn/chunks/{chunk.K5JR46ET.js → chunk.T46JRXVS.js} +1 -1
  52. package/cdn/chunks/{chunk.JY3DTFPL.js → chunk.USJRBZEH.js} +1 -1
  53. package/cdn/chunks/chunk.UZT7KTIL.js +12 -0
  54. package/cdn/chunks/{chunk.UCL7PTZ5.js → chunk.WEOX4LVS.js} +1 -1
  55. package/cdn/chunks/{chunk.Z3NSDZI4.js → chunk.WI2YI6CH.js} +1 -1
  56. package/cdn/chunks/{chunk.JJKBCUYJ.js → chunk.WKLMDETX.js} +1 -1
  57. package/cdn/chunks/{chunk.HHMT3GNH.js → chunk.XCWLIRV4.js} +1 -1
  58. package/cdn/chunks/{chunk.UPYENWW7.js → chunk.Y6DIA5Z3.js} +1 -1
  59. package/cdn/chunks/{chunk.HCOXA5X6.js → chunk.YBLDN3HT.js} +1 -1
  60. package/cdn/chunks/{chunk.BX67FEHE.js → chunk.YETXWF7L.js} +1 -1
  61. package/cdn/chunks/{chunk.DN2B6JRY.js → chunk.ZE6PJ3U3.js} +1 -1
  62. package/cdn/chunks/{chunk.KYRKOG2O.js → chunk.ZS5FPNF2.js} +1 -1
  63. package/cdn/components/accordion/accordion.js +1 -1
  64. package/cdn/components/accordion-group/accordion-group.js +1 -1
  65. package/cdn/components/animation/animation.js +1 -1
  66. package/cdn/components/audio/audio.js +1 -1
  67. package/cdn/components/badge/badge.js +1 -1
  68. package/cdn/components/brandshape/brandshape.js +1 -1
  69. package/cdn/components/breadcrumb/breadcrumb.js +1 -1
  70. package/cdn/components/breadcrumb-item/breadcrumb-item.js +1 -1
  71. package/cdn/components/button/button.js +1 -1
  72. package/cdn/components/button-group/button-group.js +1 -1
  73. package/cdn/components/carousel/carousel.js +1 -1
  74. package/cdn/components/carousel-item/carousel-item.js +1 -1
  75. package/cdn/components/checkbox/checkbox.js +1 -1
  76. package/cdn/components/checkbox-group/checkbox-group.js +1 -1
  77. package/cdn/components/combobox/combobox.js +1 -1
  78. package/cdn/components/datepicker/datepicker.js +1 -1
  79. package/cdn/components/dialog/dialog.js +1 -1
  80. package/cdn/components/divider/divider.js +1 -1
  81. package/cdn/components/drawer/drawer.js +1 -1
  82. package/cdn/components/dropdown/dropdown.js +1 -1
  83. package/cdn/components/expandable/expandable.js +1 -1
  84. package/cdn/components/flipcard/flipcard.js +1 -1
  85. package/cdn/components/header/header.js +1 -1
  86. package/cdn/components/icon/icon.js +1 -1
  87. package/cdn/components/include/include.js +1 -1
  88. package/cdn/components/input/input.js +1 -1
  89. package/cdn/components/link/link.js +1 -1
  90. package/cdn/components/loader/loader.js +1 -1
  91. package/cdn/components/map-marker/map-marker.js +1 -1
  92. package/cdn/components/menu/menu.js +1 -1
  93. package/cdn/components/menu-item/menu-item.js +1 -1
  94. package/cdn/components/navigation-item/navigation-item.js +1 -1
  95. package/cdn/components/notification/notification.js +1 -1
  96. package/cdn/components/optgroup/optgroup.js +1 -1
  97. package/cdn/components/option/option.js +1 -1
  98. package/cdn/components/popup/popup.js +1 -1
  99. package/cdn/components/quickfact/quickfact.js +1 -1
  100. package/cdn/components/radio/radio.js +1 -1
  101. package/cdn/components/radio-button/radio-button.js +1 -1
  102. package/cdn/components/radio-group/radio-group.js +1 -1
  103. package/cdn/components/range/range.js +1 -1
  104. package/cdn/components/range-tick/range-tick.js +1 -1
  105. package/cdn/components/scrollable/scrollable.js +1 -1
  106. package/cdn/components/select/select.js +1 -1
  107. package/cdn/components/skeleton/skeleton.js +1 -1
  108. package/cdn/components/spinner/spinner.js +1 -1
  109. package/cdn/components/step/step.js +1 -1
  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 +1 -1
  123. package/cdn/solid-components.bundle.js +40 -40
  124. package/cdn/solid-components.iife.js +42 -42
  125. package/cdn/solid-components.js +1 -1
  126. package/cdn/translations/de.js +1 -1
  127. package/cdn/translations/en.js +1 -1
  128. package/cdn/utilities/autocomplete-config.js +1 -1
  129. package/cdn/utilities/localize.d.ts +2 -0
  130. package/cdn/utilities/localize.js +1 -1
  131. package/cdn/web-types.json +1 -1
  132. package/cdn-versioned/chunks/{chunk.EWMHJHWS.js → chunk.234GSBDZ.js} +2 -2
  133. package/cdn-versioned/chunks/{chunk.UHJGQKEY.js → chunk.25GHYAOD.js} +2 -2
  134. package/cdn-versioned/chunks/{chunk.EY5IPEJS.js → chunk.2LQ5VGSE.js} +2 -2
  135. package/cdn-versioned/chunks/{chunk.LZ3V4KEW.js → chunk.2XFGD6SJ.js} +3 -3
  136. package/cdn-versioned/chunks/{chunk.4FZ6I6UQ.js → chunk.3IUXZC5K.js} +2 -2
  137. package/cdn-versioned/chunks/{chunk.ATEIIJMN.js → chunk.4E7TKZEG.js} +5 -5
  138. package/cdn-versioned/chunks/{chunk.A26X4M2A.js → chunk.4ORVKWXE.js} +2 -2
  139. package/cdn-versioned/chunks/{chunk.DFK6W42J.js → chunk.5GV7K4H7.js} +2 -2
  140. package/cdn-versioned/chunks/{chunk.OB5SA2PR.js → chunk.5HOVVJNJ.js} +2 -2
  141. package/cdn-versioned/chunks/{chunk.3CLS3Q77.js → chunk.6FVOAJ2N.js} +2 -2
  142. package/cdn-versioned/chunks/{chunk.4VN3VZD3.js → chunk.6W2G2YK5.js} +2 -2
  143. package/cdn-versioned/chunks/{chunk.LUYHE3AN.js → chunk.7HTYCCB7.js} +2 -2
  144. package/cdn-versioned/chunks/{chunk.D7HCBQZI.js → chunk.7J4IMP5R.js} +2 -2
  145. package/cdn-versioned/chunks/{chunk.GSM2BLQT.js → chunk.7WJVA3FJ.js} +2 -2
  146. package/cdn-versioned/chunks/{chunk.QZSNTDMB.js → chunk.AGDZZKVF.js} +2 -2
  147. package/cdn-versioned/chunks/chunk.AMWQ5YE5.js +1 -0
  148. package/cdn-versioned/chunks/{chunk.K4IMODXA.js → chunk.ARTZIGCO.js} +2 -2
  149. package/cdn-versioned/chunks/{chunk.Z62KZREG.js → chunk.B2RWMOWV.js} +2 -2
  150. package/cdn-versioned/chunks/{chunk.CQAF35CP.js → chunk.BXARHGBN.js} +3 -3
  151. package/cdn-versioned/chunks/{chunk.5DK27TIR.js → chunk.CERTG5ZO.js} +2 -2
  152. package/cdn-versioned/chunks/{chunk.YEBMVWCO.js → chunk.D3CNVULF.js} +2 -2
  153. package/cdn-versioned/chunks/{chunk.UJYIZ6FI.js → chunk.DDZ7Z6DF.js} +2 -2
  154. package/cdn-versioned/chunks/{chunk.JNP7A56W.js → chunk.E35JN23S.js} +2 -2
  155. package/cdn-versioned/chunks/{chunk.G6JKQSEW.js → chunk.EZGCQ5W6.js} +2 -2
  156. package/cdn-versioned/chunks/{chunk.JI7OGVIM.js → chunk.FKPWU2TT.js} +2 -2
  157. package/cdn-versioned/chunks/{chunk.BDHPDHCE.js → chunk.GDQUJDHI.js} +2 -2
  158. package/cdn-versioned/chunks/{chunk.LHAC7HNW.js → chunk.GLTI3PD7.js} +2 -2
  159. package/cdn-versioned/chunks/{chunk.CGW35BM4.js → chunk.GRTRE3SX.js} +2 -2
  160. package/cdn-versioned/chunks/{chunk.MPR6UG5R.js → chunk.H26GUUEX.js} +2 -2
  161. package/cdn-versioned/chunks/{chunk.XAH2RQGI.js → chunk.HNZ5J4LN.js} +2 -2
  162. package/cdn-versioned/chunks/{chunk.HAAQAD3J.js → chunk.IBJNZTJ3.js} +2 -2
  163. package/cdn-versioned/chunks/{chunk.4HVH6KEX.js → chunk.ICEOEXLC.js} +2 -2
  164. package/cdn-versioned/chunks/{chunk.OWXAMMTH.js → chunk.IUNS6MA3.js} +2 -2
  165. package/cdn-versioned/chunks/{chunk.LYMIJSNL.js → chunk.JAJBOQTW.js} +2 -2
  166. package/cdn-versioned/chunks/{chunk.UCWSKJGS.js → chunk.KIQUZQMK.js} +2 -2
  167. package/cdn-versioned/chunks/{chunk.4KH3R72H.js → chunk.KUOHDCYC.js} +2 -2
  168. package/cdn-versioned/chunks/{chunk.OSR5AAH2.js → chunk.L5CEAKDW.js} +3 -3
  169. package/cdn-versioned/chunks/{chunk.Q53VDSGJ.js → chunk.LHK5BE4B.js} +2 -2
  170. package/cdn-versioned/chunks/{chunk.QVURGIPC.js → chunk.LO5HPN2A.js} +2 -2
  171. package/cdn-versioned/chunks/chunk.M6E2RMEB.js +26 -0
  172. package/cdn-versioned/chunks/{chunk.ZQQ27X6I.js → chunk.MA2NLPTA.js} +2 -2
  173. package/cdn-versioned/chunks/{chunk.BZ6LKCYP.js → chunk.MWGZF2ZF.js} +2 -2
  174. package/cdn-versioned/chunks/{chunk.6OZ2A44P.js → chunk.MYEKQQNL.js} +2 -2
  175. package/cdn-versioned/chunks/{chunk.UK47XFPM.js → chunk.N465LQG7.js} +2 -2
  176. package/cdn-versioned/chunks/{chunk.AIWXFV4A.js → chunk.N6ZAXIUN.js} +10 -10
  177. package/cdn-versioned/chunks/{chunk.QSVTAUHF.js → chunk.PK7WEESK.js} +2 -2
  178. package/cdn-versioned/chunks/chunk.RAP66B6O.js +1 -1
  179. package/cdn-versioned/chunks/{chunk.OU25KON5.js → chunk.RRSNPH6Q.js} +2 -2
  180. package/cdn-versioned/chunks/{chunk.66XXYOMG.js → chunk.S52JFJVB.js} +2 -2
  181. package/cdn-versioned/chunks/{chunk.XXL3WNLK.js → chunk.SWU6DQ7U.js} +2 -2
  182. package/cdn-versioned/chunks/{chunk.IDTGN2MF.js → chunk.SYD6YTIP.js} +3 -3
  183. package/cdn-versioned/chunks/{chunk.K5JR46ET.js → chunk.T46JRXVS.js} +5 -5
  184. package/cdn-versioned/chunks/{chunk.JY3DTFPL.js → chunk.USJRBZEH.js} +2 -2
  185. package/cdn-versioned/chunks/chunk.UZT7KTIL.js +12 -0
  186. package/cdn-versioned/chunks/chunk.VNKXLA5X.js +2 -2
  187. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  188. package/cdn-versioned/chunks/{chunk.UCL7PTZ5.js → chunk.WEOX4LVS.js} +1 -1
  189. package/cdn-versioned/chunks/{chunk.Z3NSDZI4.js → chunk.WI2YI6CH.js} +2 -2
  190. package/cdn-versioned/chunks/{chunk.JJKBCUYJ.js → chunk.WKLMDETX.js} +2 -2
  191. package/cdn-versioned/chunks/{chunk.HHMT3GNH.js → chunk.XCWLIRV4.js} +2 -2
  192. package/cdn-versioned/chunks/{chunk.UPYENWW7.js → chunk.Y6DIA5Z3.js} +2 -2
  193. package/cdn-versioned/chunks/{chunk.HCOXA5X6.js → chunk.YBLDN3HT.js} +2 -2
  194. package/cdn-versioned/chunks/{chunk.BX67FEHE.js → chunk.YETXWF7L.js} +2 -2
  195. package/cdn-versioned/chunks/chunk.YPTZDABK.js +1 -1
  196. package/cdn-versioned/chunks/{chunk.DN2B6JRY.js → chunk.ZE6PJ3U3.js} +2 -2
  197. package/cdn-versioned/chunks/{chunk.KYRKOG2O.js → chunk.ZS5FPNF2.js} +2 -2
  198. package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
  199. package/cdn-versioned/components/accordion/accordion.js +1 -1
  200. package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  201. package/cdn-versioned/components/accordion-group/accordion-group.js +1 -1
  202. package/cdn-versioned/components/animation/animation.d.ts +1 -1
  203. package/cdn-versioned/components/animation/animation.js +1 -1
  204. package/cdn-versioned/components/audio/audio.d.ts +1 -1
  205. package/cdn-versioned/components/audio/audio.js +1 -1
  206. package/cdn-versioned/components/badge/badge.d.ts +1 -1
  207. package/cdn-versioned/components/badge/badge.js +1 -1
  208. package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
  209. package/cdn-versioned/components/brandshape/brandshape.js +1 -1
  210. package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  211. package/cdn-versioned/components/breadcrumb/breadcrumb.js +1 -1
  212. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  213. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.js +1 -1
  214. package/cdn-versioned/components/button/button.d.ts +1 -1
  215. package/cdn-versioned/components/button/button.js +1 -1
  216. package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
  217. package/cdn-versioned/components/button-group/button-group.js +1 -1
  218. package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
  219. package/cdn-versioned/components/carousel/carousel.js +1 -1
  220. package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  221. package/cdn-versioned/components/carousel-item/carousel-item.js +1 -1
  222. package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
  223. package/cdn-versioned/components/checkbox/checkbox.js +1 -1
  224. package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  225. package/cdn-versioned/components/checkbox-group/checkbox-group.js +1 -1
  226. package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
  227. package/cdn-versioned/components/combobox/combobox.js +1 -1
  228. package/cdn-versioned/components/datepicker/datepicker.d.ts +1 -1
  229. package/cdn-versioned/components/datepicker/datepicker.js +1 -1
  230. package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
  231. package/cdn-versioned/components/dialog/dialog.js +1 -1
  232. package/cdn-versioned/components/divider/divider.d.ts +1 -1
  233. package/cdn-versioned/components/divider/divider.js +1 -1
  234. package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
  235. package/cdn-versioned/components/drawer/drawer.js +1 -1
  236. package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
  237. package/cdn-versioned/components/dropdown/dropdown.js +1 -1
  238. package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
  239. package/cdn-versioned/components/expandable/expandable.js +1 -1
  240. package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
  241. package/cdn-versioned/components/flipcard/flipcard.js +1 -1
  242. package/cdn-versioned/components/header/header.d.ts +1 -1
  243. package/cdn-versioned/components/header/header.js +1 -1
  244. package/cdn-versioned/components/icon/icon.d.ts +1 -1
  245. package/cdn-versioned/components/icon/icon.js +1 -1
  246. package/cdn-versioned/components/include/include.d.ts +1 -1
  247. package/cdn-versioned/components/include/include.js +1 -1
  248. package/cdn-versioned/components/input/input.d.ts +1 -1
  249. package/cdn-versioned/components/input/input.js +1 -1
  250. package/cdn-versioned/components/link/link.d.ts +1 -1
  251. package/cdn-versioned/components/link/link.js +1 -1
  252. package/cdn-versioned/components/loader/loader.d.ts +1 -1
  253. package/cdn-versioned/components/loader/loader.js +1 -1
  254. package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
  255. package/cdn-versioned/components/map-marker/map-marker.js +1 -1
  256. package/cdn-versioned/components/menu/menu.d.ts +1 -1
  257. package/cdn-versioned/components/menu/menu.js +1 -1
  258. package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
  259. package/cdn-versioned/components/menu-item/menu-item.js +1 -1
  260. package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  261. package/cdn-versioned/components/navigation-item/navigation-item.js +1 -1
  262. package/cdn-versioned/components/notification/notification.d.ts +1 -1
  263. package/cdn-versioned/components/notification/notification.js +1 -1
  264. package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
  265. package/cdn-versioned/components/optgroup/optgroup.js +1 -1
  266. package/cdn-versioned/components/option/option.d.ts +1 -1
  267. package/cdn-versioned/components/option/option.js +1 -1
  268. package/cdn-versioned/components/popup/popup.d.ts +1 -1
  269. package/cdn-versioned/components/popup/popup.js +1 -1
  270. package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
  271. package/cdn-versioned/components/quickfact/quickfact.js +1 -1
  272. package/cdn-versioned/components/radio/radio.d.ts +1 -1
  273. package/cdn-versioned/components/radio/radio.js +1 -1
  274. package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
  275. package/cdn-versioned/components/radio-button/radio-button.js +1 -1
  276. package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
  277. package/cdn-versioned/components/radio-group/radio-group.js +1 -1
  278. package/cdn-versioned/components/range/range.d.ts +1 -1
  279. package/cdn-versioned/components/range/range.js +1 -1
  280. package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
  281. package/cdn-versioned/components/range-tick/range-tick.js +1 -1
  282. package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
  283. package/cdn-versioned/components/scrollable/scrollable.js +1 -1
  284. package/cdn-versioned/components/select/select.d.ts +1 -1
  285. package/cdn-versioned/components/select/select.js +1 -1
  286. package/cdn-versioned/components/skeleton/skeleton.d.ts +1 -1
  287. package/cdn-versioned/components/skeleton/skeleton.js +1 -1
  288. package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
  289. package/cdn-versioned/components/spinner/spinner.js +1 -1
  290. package/cdn-versioned/components/step/step.d.ts +1 -1
  291. package/cdn-versioned/components/step/step.js +1 -1
  292. package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
  293. package/cdn-versioned/components/step-group/step-group.js +1 -1
  294. package/cdn-versioned/components/switch/switch.d.ts +1 -1
  295. package/cdn-versioned/components/switch/switch.js +1 -1
  296. package/cdn-versioned/components/tab/tab.d.ts +1 -1
  297. package/cdn-versioned/components/tab/tab.js +1 -1
  298. package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
  299. package/cdn-versioned/components/tab-group/tab-group.js +1 -1
  300. package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  301. package/cdn-versioned/components/tab-panel/tab-panel.js +1 -1
  302. package/cdn-versioned/components/tag/tag.d.ts +1 -1
  303. package/cdn-versioned/components/tag/tag.js +1 -1
  304. package/cdn-versioned/components/teaser/teaser.js +1 -1
  305. package/cdn-versioned/components/teaser-media/teaser-media.js +1 -1
  306. package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
  307. package/cdn-versioned/components/textarea/textarea.js +1 -1
  308. package/cdn-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  309. package/cdn-versioned/components/theme-listener/theme-listener.js +1 -1
  310. package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
  311. package/cdn-versioned/components/tooltip/tooltip.js +1 -1
  312. package/cdn-versioned/components/video/video.d.ts +1 -1
  313. package/cdn-versioned/components/video/video.js +1 -1
  314. package/cdn-versioned/custom-elements.json +246 -246
  315. package/cdn-versioned/internal/form.js +2 -2
  316. package/cdn-versioned/solid-components.bundle.js +85 -85
  317. package/cdn-versioned/solid-components.css +2 -2
  318. package/cdn-versioned/solid-components.iife.js +86 -86
  319. package/cdn-versioned/solid-components.js +1 -1
  320. package/cdn-versioned/translations/de.js +1 -1
  321. package/cdn-versioned/translations/en.js +1 -1
  322. package/cdn-versioned/utilities/autocomplete-config.js +1 -1
  323. package/cdn-versioned/utilities/localize.d.ts +2 -0
  324. package/cdn-versioned/utilities/localize.js +1 -1
  325. package/cdn-versioned/vscode.html-custom-data.json +107 -107
  326. package/cdn-versioned/web-types.json +157 -157
  327. package/dist/chunks/{chunk.4PVDPEDP.js → chunk.2CMDU7LE.js} +1 -1
  328. package/dist/chunks/{chunk.2FVZOVKD.js → chunk.3WEVFLW7.js} +1 -1
  329. package/dist/chunks/{chunk.BN5RGZ7X.js → chunk.4B5EGHWK.js} +1 -1
  330. package/dist/chunks/{chunk.M5DERDHH.js → chunk.4PFA6NBM.js} +1 -1
  331. package/dist/chunks/{chunk.ZZYYNAHQ.js → chunk.554TR2QJ.js} +2 -2
  332. package/dist/chunks/{chunk.ULAWTDWL.js → chunk.5R2FUL3M.js} +1 -1
  333. package/dist/chunks/{chunk.W5AX2LUX.js → chunk.66XUGEDR.js} +1 -1
  334. package/dist/chunks/{chunk.4DD46TI2.js → chunk.6SJJNBCP.js} +1 -1
  335. package/dist/chunks/{chunk.OYNQ7MZD.js → chunk.73T5OM3X.js} +1 -1
  336. package/dist/chunks/{chunk.2MAKCGJO.js → chunk.7BNWRUYC.js} +1 -1
  337. package/dist/chunks/{chunk.RKZHGP4C.js → chunk.7LH5KLUQ.js} +1 -1
  338. package/dist/chunks/{chunk.63RKU7YA.js → chunk.BIXTMKRG.js} +2 -2
  339. package/{dist-versioned/chunks/chunk.XWRZKAAC.js → dist/chunks/chunk.BT6SAX2H.js} +2 -0
  340. package/dist/chunks/{chunk.JTMX3R54.js → chunk.CEK6W53N.js} +1 -1
  341. package/dist/chunks/{chunk.36LQO3TW.js → chunk.DS6JCFE6.js} +1 -1
  342. package/dist/chunks/{chunk.FIJX3VUF.js → chunk.EGPCWSNS.js} +14 -17
  343. package/dist/chunks/{chunk.SEB7UTAG.js → chunk.FCH3EM35.js} +1 -1
  344. package/dist/chunks/{chunk.LVXSD6QO.js → chunk.FSPPHB6U.js} +1 -1
  345. package/dist/chunks/{chunk.NMCXKPQT.js → chunk.FZROG22H.js} +1 -1
  346. package/dist/chunks/{chunk.K35ZY362.js → chunk.GGHQ52NQ.js} +1 -1
  347. package/dist/chunks/{chunk.TKDGBDMS.js → chunk.GXIIWLC3.js} +1 -1
  348. package/dist/chunks/{chunk.UX4SNJ4S.js → chunk.HFOVEHX5.js} +1 -1
  349. package/dist/chunks/{chunk.2LQUJBN6.js → chunk.HLAAYYPN.js} +1 -1
  350. package/dist/chunks/{chunk.OYGPRSLI.js → chunk.JDFXEERS.js} +1 -1
  351. package/dist/chunks/{chunk.2EW7BYJZ.js → chunk.JDOBF6BR.js} +1 -1
  352. package/dist/chunks/{chunk.7MRFW5WU.js → chunk.JDXUSLDX.js} +1 -1
  353. package/dist/chunks/{chunk.LQFP4TQA.js → chunk.JID3PBFI.js} +1 -1
  354. package/dist/chunks/{chunk.F4SSJ3OK.js → chunk.JNI3S2KE.js} +1 -1
  355. package/dist/chunks/{chunk.7BBBC4LC.js → chunk.L5WQTPWN.js} +1 -1
  356. package/dist/chunks/{chunk.4UDWRELW.js → chunk.MU4ARXB6.js} +1 -1
  357. package/dist/chunks/{chunk.AFXQPWOT.js → chunk.N74J2PD2.js} +1 -1
  358. package/dist/chunks/{chunk.PBISMPN4.js → chunk.NAPTGGU6.js} +1 -1
  359. package/dist/chunks/{chunk.PIOYH3TM.js → chunk.NNLMYT4Y.js} +1 -1
  360. package/dist/chunks/{chunk.SP3UZWV2.js → chunk.NVSTD2DO.js} +1 -1
  361. package/dist/chunks/{chunk.VASBQKR7.js → chunk.O5LCY7TO.js} +1 -1
  362. package/dist/chunks/{chunk.R6MGPVBY.js → chunk.ONQ4DNCZ.js} +1 -1
  363. package/dist/chunks/{chunk.GYT2MOIG.js → chunk.PAAXLQEE.js} +1 -1
  364. package/dist/chunks/{chunk.SVQ4W63O.js → chunk.PDVDXT7L.js} +1 -1
  365. package/dist/chunks/{chunk.3IATPYUU.js → chunk.Q2LD7K7G.js} +1 -1
  366. package/dist/chunks/{chunk.GGTTE3O5.js → chunk.REB4VPRZ.js} +1 -1
  367. package/dist/chunks/{chunk.OXOO3KJR.js → chunk.RMCQYKQU.js} +1 -1
  368. package/dist/chunks/{chunk.UUWLJUQT.js → chunk.ROVOABKA.js} +1 -1
  369. package/dist/chunks/{chunk.UF32T6VG.js → chunk.RRKI42AI.js} +1 -1
  370. package/dist/chunks/{chunk.64ZBVBUO.js → chunk.S7LF3J2N.js} +1 -1
  371. package/dist/chunks/{chunk.ZXTVK4F6.js → chunk.SEYEP4X4.js} +1 -1
  372. package/dist/chunks/{chunk.YIT6KCWE.js → chunk.SFPE7RE4.js} +1 -1
  373. package/dist/chunks/{chunk.TEYSL3L7.js → chunk.SPIQLTTT.js} +1 -1
  374. package/dist/chunks/{chunk.3CHCXOIV.js → chunk.TRCABGDR.js} +1 -1
  375. package/dist/chunks/{chunk.XYVBMQYZ.js → chunk.U7HC4ENJ.js} +1 -1
  376. package/dist/chunks/{chunk.PZF3TKOL.js → chunk.UW4QZGI6.js} +1 -1
  377. package/dist/chunks/{chunk.W232H3IB.js → chunk.V2RTJVJM.js} +1 -1
  378. package/dist/chunks/chunk.V2SCLPWH.js +93 -0
  379. package/dist/chunks/{chunk.E6I6KKTK.js → chunk.W7ISDYXU.js} +1 -1
  380. package/dist/chunks/{chunk.UCXRXX5Z.js → chunk.WOWGU7GJ.js} +1 -1
  381. package/dist/chunks/{chunk.B3QOYMWK.js → chunk.WQAFDWYF.js} +1 -1
  382. package/{dist-versioned/chunks/chunk.GWKDETUD.js → dist/chunks/chunk.X4IYFUX6.js} +2 -0
  383. package/dist/chunks/{chunk.4OTHCSXL.js → chunk.XPYX76I7.js} +1 -1
  384. package/dist/chunks/{chunk.NJDWX5QK.js → chunk.XUAUAYS7.js} +1 -1
  385. package/dist/chunks/{chunk.MSAZP6MW.js → chunk.YETBDRJZ.js} +1 -1
  386. package/dist/chunks/{chunk.3EWWVPVW.js → chunk.Z4J2IINI.js} +1 -1
  387. package/dist/chunks/{chunk.2KAT6BIE.js → chunk.ZPQXUDJE.js} +1 -1
  388. package/dist/chunks/{chunk.QGQMA2DH.js → chunk.ZTDT5XR4.js} +1 -1
  389. package/dist/components/accordion/accordion.js +5 -5
  390. package/dist/components/accordion-group/accordion-group.js +6 -6
  391. package/dist/components/animation/animation.js +2 -2
  392. package/dist/components/audio/audio.js +8 -8
  393. package/dist/components/badge/badge.js +2 -2
  394. package/dist/components/brandshape/brandshape.js +2 -2
  395. package/dist/components/breadcrumb/breadcrumb.js +7 -7
  396. package/dist/components/breadcrumb-item/breadcrumb-item.js +5 -5
  397. package/dist/components/button/button.js +5 -5
  398. package/dist/components/button-group/button-group.js +2 -2
  399. package/dist/components/carousel/carousel.js +6 -6
  400. package/dist/components/carousel-item/carousel-item.js +2 -2
  401. package/dist/components/checkbox/checkbox.js +3 -3
  402. package/dist/components/checkbox-group/checkbox-group.js +3 -3
  403. package/dist/components/combobox/combobox.js +7 -7
  404. package/dist/components/datepicker/datepicker.js +7 -7
  405. package/dist/components/dialog/dialog.js +7 -7
  406. package/dist/components/divider/divider.js +2 -2
  407. package/dist/components/drawer/drawer.js +7 -7
  408. package/dist/components/dropdown/dropdown.js +5 -5
  409. package/dist/components/expandable/expandable.js +5 -5
  410. package/dist/components/flipcard/flipcard.js +7 -7
  411. package/dist/components/header/header.js +2 -2
  412. package/dist/components/icon/icon.js +2 -2
  413. package/dist/components/include/include.js +2 -2
  414. package/dist/components/input/input.js +5 -5
  415. package/dist/components/link/link.js +2 -2
  416. package/dist/components/loader/loader.js +4 -4
  417. package/dist/components/map-marker/map-marker.js +2 -2
  418. package/dist/components/menu/menu.js +4 -4
  419. package/dist/components/menu-item/menu-item.js +2 -2
  420. package/dist/components/navigation-item/navigation-item.js +6 -6
  421. package/dist/components/notification/notification.js +7 -7
  422. package/dist/components/optgroup/optgroup.js +5 -5
  423. package/dist/components/option/option.js +3 -3
  424. package/dist/components/popup/popup.js +2 -2
  425. package/dist/components/quickfact/quickfact.js +6 -6
  426. package/dist/components/radio/radio.js +2 -2
  427. package/dist/components/radio-button/radio-button.js +2 -2
  428. package/dist/components/radio-group/radio-group.js +4 -4
  429. package/dist/components/range/range.js +7 -7
  430. package/dist/components/range-tick/range-tick.js +4 -4
  431. package/dist/components/scrollable/scrollable.js +5 -5
  432. package/dist/components/select/select.js +7 -7
  433. package/dist/components/skeleton/skeleton.js +2 -2
  434. package/dist/components/spinner/spinner.js +4 -4
  435. package/dist/components/step/step.js +3 -3
  436. package/dist/components/step-group/step-group.js +2 -2
  437. package/dist/components/switch/switch.js +2 -2
  438. package/dist/components/tab/tab.js +4 -4
  439. package/dist/components/tab-group/tab-group.js +5 -5
  440. package/dist/components/tab-panel/tab-panel.js +2 -2
  441. package/dist/components/tag/tag.js +5 -5
  442. package/dist/components/teaser/teaser.js +2 -2
  443. package/dist/components/teaser-media/teaser-media.js +2 -2
  444. package/dist/components/textarea/textarea.js +3 -3
  445. package/dist/components/theme-listener/theme-listener.js +2 -2
  446. package/dist/components/tooltip/tooltip.js +6 -6
  447. package/dist/components/video/video.js +5 -5
  448. package/dist/custom-elements.json +1 -1
  449. package/dist/solid-components.js +62 -62
  450. package/dist/translations/de.js +1 -1
  451. package/dist/translations/en.js +1 -1
  452. package/dist/utilities/autocomplete-config.js +2 -2
  453. package/dist/utilities/localize.d.ts +2 -0
  454. package/dist/utilities/localize.js +2 -2
  455. package/dist/web-types.json +1 -1
  456. package/dist-versioned/chunks/{chunk.4PVDPEDP.js → chunk.2CMDU7LE.js} +2 -2
  457. package/dist-versioned/chunks/{chunk.2FVZOVKD.js → chunk.3WEVFLW7.js} +3 -3
  458. package/dist-versioned/chunks/{chunk.BN5RGZ7X.js → chunk.4B5EGHWK.js} +7 -7
  459. package/dist-versioned/chunks/{chunk.M5DERDHH.js → chunk.4PFA6NBM.js} +8 -8
  460. package/dist-versioned/chunks/{chunk.ZZYYNAHQ.js → chunk.554TR2QJ.js} +5 -5
  461. package/dist-versioned/chunks/{chunk.ULAWTDWL.js → chunk.5R2FUL3M.js} +12 -12
  462. package/dist-versioned/chunks/{chunk.W5AX2LUX.js → chunk.66XUGEDR.js} +3 -3
  463. package/dist-versioned/chunks/{chunk.4DD46TI2.js → chunk.6SJJNBCP.js} +6 -6
  464. package/dist-versioned/chunks/{chunk.OYNQ7MZD.js → chunk.73T5OM3X.js} +6 -6
  465. package/dist-versioned/chunks/{chunk.2MAKCGJO.js → chunk.7BNWRUYC.js} +5 -5
  466. package/dist-versioned/chunks/{chunk.RKZHGP4C.js → chunk.7LH5KLUQ.js} +11 -11
  467. package/dist-versioned/chunks/{chunk.63RKU7YA.js → chunk.BIXTMKRG.js} +14 -14
  468. package/{dist/chunks/chunk.XWRZKAAC.js → dist-versioned/chunks/chunk.BT6SAX2H.js} +2 -0
  469. package/dist-versioned/chunks/chunk.C3WIBDGG.js +2 -2
  470. package/dist-versioned/chunks/{chunk.JTMX3R54.js → chunk.CEK6W53N.js} +10 -10
  471. package/dist-versioned/chunks/{chunk.36LQO3TW.js → chunk.DS6JCFE6.js} +7 -7
  472. package/dist-versioned/chunks/{chunk.FIJX3VUF.js → chunk.EGPCWSNS.js} +22 -25
  473. package/dist-versioned/chunks/{chunk.SEB7UTAG.js → chunk.FCH3EM35.js} +5 -5
  474. package/dist-versioned/chunks/{chunk.LVXSD6QO.js → chunk.FSPPHB6U.js} +3 -3
  475. package/dist-versioned/chunks/{chunk.NMCXKPQT.js → chunk.FZROG22H.js} +4 -4
  476. package/dist-versioned/chunks/{chunk.K35ZY362.js → chunk.GGHQ52NQ.js} +2 -2
  477. package/dist-versioned/chunks/{chunk.TKDGBDMS.js → chunk.GXIIWLC3.js} +14 -14
  478. package/dist-versioned/chunks/{chunk.UX4SNJ4S.js → chunk.HFOVEHX5.js} +4 -4
  479. package/dist-versioned/chunks/{chunk.2LQUJBN6.js → chunk.HLAAYYPN.js} +4 -4
  480. package/dist-versioned/chunks/chunk.JBLVT4GJ.js +4 -4
  481. package/dist-versioned/chunks/{chunk.OYGPRSLI.js → chunk.JDFXEERS.js} +3 -3
  482. package/dist-versioned/chunks/{chunk.2EW7BYJZ.js → chunk.JDOBF6BR.js} +6 -6
  483. package/dist-versioned/chunks/{chunk.7MRFW5WU.js → chunk.JDXUSLDX.js} +6 -6
  484. package/dist-versioned/chunks/{chunk.LQFP4TQA.js → chunk.JID3PBFI.js} +5 -5
  485. package/dist-versioned/chunks/{chunk.F4SSJ3OK.js → chunk.JNI3S2KE.js} +3 -3
  486. package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
  487. package/dist-versioned/chunks/{chunk.7BBBC4LC.js → chunk.L5WQTPWN.js} +6 -6
  488. package/dist-versioned/chunks/{chunk.4UDWRELW.js → chunk.MU4ARXB6.js} +6 -6
  489. package/dist-versioned/chunks/{chunk.AFXQPWOT.js → chunk.N74J2PD2.js} +3 -3
  490. package/dist-versioned/chunks/{chunk.PBISMPN4.js → chunk.NAPTGGU6.js} +3 -3
  491. package/dist-versioned/chunks/{chunk.PIOYH3TM.js → chunk.NNLMYT4Y.js} +6 -6
  492. package/dist-versioned/chunks/{chunk.SP3UZWV2.js → chunk.NVSTD2DO.js} +2 -2
  493. package/dist-versioned/chunks/{chunk.VASBQKR7.js → chunk.O5LCY7TO.js} +2 -2
  494. package/dist-versioned/chunks/{chunk.R6MGPVBY.js → chunk.ONQ4DNCZ.js} +7 -7
  495. package/dist-versioned/chunks/{chunk.GYT2MOIG.js → chunk.PAAXLQEE.js} +5 -5
  496. package/dist-versioned/chunks/{chunk.SVQ4W63O.js → chunk.PDVDXT7L.js} +6 -6
  497. package/dist-versioned/chunks/{chunk.3IATPYUU.js → chunk.Q2LD7K7G.js} +3 -3
  498. package/dist-versioned/chunks/{chunk.GGTTE3O5.js → chunk.REB4VPRZ.js} +6 -6
  499. package/dist-versioned/chunks/{chunk.OXOO3KJR.js → chunk.RMCQYKQU.js} +4 -4
  500. package/dist-versioned/chunks/{chunk.UUWLJUQT.js → chunk.ROVOABKA.js} +2 -2
  501. package/dist-versioned/chunks/{chunk.UF32T6VG.js → chunk.RRKI42AI.js} +15 -15
  502. package/dist-versioned/chunks/{chunk.64ZBVBUO.js → chunk.S7LF3J2N.js} +26 -26
  503. package/dist-versioned/chunks/{chunk.ZXTVK4F6.js → chunk.SEYEP4X4.js} +5 -5
  504. package/dist-versioned/chunks/{chunk.YIT6KCWE.js → chunk.SFPE7RE4.js} +2 -2
  505. package/dist-versioned/chunks/{chunk.TEYSL3L7.js → chunk.SPIQLTTT.js} +12 -12
  506. package/dist-versioned/chunks/{chunk.3CHCXOIV.js → chunk.TRCABGDR.js} +12 -12
  507. package/dist-versioned/chunks/{chunk.XYVBMQYZ.js → chunk.U7HC4ENJ.js} +33 -33
  508. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  509. package/dist-versioned/chunks/{chunk.PZF3TKOL.js → chunk.UW4QZGI6.js} +11 -11
  510. package/dist-versioned/chunks/{chunk.W232H3IB.js → chunk.V2RTJVJM.js} +2 -2
  511. package/dist-versioned/chunks/chunk.V2SCLPWH.js +93 -0
  512. package/dist-versioned/chunks/{chunk.E6I6KKTK.js → chunk.W7ISDYXU.js} +9 -9
  513. package/dist-versioned/chunks/{chunk.UCXRXX5Z.js → chunk.WOWGU7GJ.js} +11 -11
  514. package/dist-versioned/chunks/{chunk.B3QOYMWK.js → chunk.WQAFDWYF.js} +3 -3
  515. package/{dist/chunks/chunk.GWKDETUD.js → dist-versioned/chunks/chunk.X4IYFUX6.js} +2 -0
  516. package/dist-versioned/chunks/{chunk.4OTHCSXL.js → chunk.XPYX76I7.js} +4 -4
  517. package/dist-versioned/chunks/{chunk.NJDWX5QK.js → chunk.XUAUAYS7.js} +26 -26
  518. package/dist-versioned/chunks/{chunk.MSAZP6MW.js → chunk.YETBDRJZ.js} +7 -7
  519. package/dist-versioned/chunks/{chunk.3EWWVPVW.js → chunk.Z4J2IINI.js} +3 -3
  520. package/dist-versioned/chunks/{chunk.2KAT6BIE.js → chunk.ZPQXUDJE.js} +7 -7
  521. package/dist-versioned/chunks/{chunk.QGQMA2DH.js → chunk.ZTDT5XR4.js} +3 -3
  522. package/dist-versioned/components/accordion/accordion.d.ts +1 -1
  523. package/dist-versioned/components/accordion/accordion.js +5 -5
  524. package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  525. package/dist-versioned/components/accordion-group/accordion-group.js +6 -6
  526. package/dist-versioned/components/animation/animation.d.ts +1 -1
  527. package/dist-versioned/components/animation/animation.js +2 -2
  528. package/dist-versioned/components/audio/audio.d.ts +1 -1
  529. package/dist-versioned/components/audio/audio.js +8 -8
  530. package/dist-versioned/components/badge/badge.d.ts +1 -1
  531. package/dist-versioned/components/badge/badge.js +2 -2
  532. package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
  533. package/dist-versioned/components/brandshape/brandshape.js +2 -2
  534. package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  535. package/dist-versioned/components/breadcrumb/breadcrumb.js +7 -7
  536. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  537. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.js +5 -5
  538. package/dist-versioned/components/button/button.d.ts +1 -1
  539. package/dist-versioned/components/button/button.js +5 -5
  540. package/dist-versioned/components/button-group/button-group.d.ts +1 -1
  541. package/dist-versioned/components/button-group/button-group.js +2 -2
  542. package/dist-versioned/components/carousel/carousel.d.ts +1 -1
  543. package/dist-versioned/components/carousel/carousel.js +6 -6
  544. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  545. package/dist-versioned/components/carousel-item/carousel-item.js +2 -2
  546. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  547. package/dist-versioned/components/checkbox/checkbox.js +3 -3
  548. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  549. package/dist-versioned/components/checkbox-group/checkbox-group.js +3 -3
  550. package/dist-versioned/components/combobox/combobox.d.ts +1 -1
  551. package/dist-versioned/components/combobox/combobox.js +7 -7
  552. package/dist-versioned/components/datepicker/datepicker.d.ts +1 -1
  553. package/dist-versioned/components/datepicker/datepicker.js +7 -7
  554. package/dist-versioned/components/dialog/dialog.d.ts +1 -1
  555. package/dist-versioned/components/dialog/dialog.js +7 -7
  556. package/dist-versioned/components/divider/divider.d.ts +1 -1
  557. package/dist-versioned/components/divider/divider.js +2 -2
  558. package/dist-versioned/components/drawer/drawer.d.ts +1 -1
  559. package/dist-versioned/components/drawer/drawer.js +7 -7
  560. package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
  561. package/dist-versioned/components/dropdown/dropdown.js +5 -5
  562. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  563. package/dist-versioned/components/expandable/expandable.js +5 -5
  564. package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
  565. package/dist-versioned/components/flipcard/flipcard.js +7 -7
  566. package/dist-versioned/components/header/header.d.ts +1 -1
  567. package/dist-versioned/components/header/header.js +2 -2
  568. package/dist-versioned/components/icon/icon.d.ts +1 -1
  569. package/dist-versioned/components/icon/icon.js +2 -2
  570. package/dist-versioned/components/include/include.d.ts +1 -1
  571. package/dist-versioned/components/include/include.js +2 -2
  572. package/dist-versioned/components/input/input.d.ts +1 -1
  573. package/dist-versioned/components/input/input.js +5 -5
  574. package/dist-versioned/components/link/link.d.ts +1 -1
  575. package/dist-versioned/components/link/link.js +2 -2
  576. package/dist-versioned/components/loader/loader.d.ts +1 -1
  577. package/dist-versioned/components/loader/loader.js +4 -4
  578. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  579. package/dist-versioned/components/map-marker/map-marker.js +2 -2
  580. package/dist-versioned/components/menu/menu.d.ts +1 -1
  581. package/dist-versioned/components/menu/menu.js +4 -4
  582. package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
  583. package/dist-versioned/components/menu-item/menu-item.js +2 -2
  584. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  585. package/dist-versioned/components/navigation-item/navigation-item.js +6 -6
  586. package/dist-versioned/components/notification/notification.d.ts +1 -1
  587. package/dist-versioned/components/notification/notification.js +7 -7
  588. package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
  589. package/dist-versioned/components/optgroup/optgroup.js +5 -5
  590. package/dist-versioned/components/option/option.d.ts +1 -1
  591. package/dist-versioned/components/option/option.js +3 -3
  592. package/dist-versioned/components/popup/popup.d.ts +1 -1
  593. package/dist-versioned/components/popup/popup.js +2 -2
  594. package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
  595. package/dist-versioned/components/quickfact/quickfact.js +6 -6
  596. package/dist-versioned/components/radio/radio.d.ts +1 -1
  597. package/dist-versioned/components/radio/radio.js +2 -2
  598. package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
  599. package/dist-versioned/components/radio-button/radio-button.js +2 -2
  600. package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
  601. package/dist-versioned/components/radio-group/radio-group.js +4 -4
  602. package/dist-versioned/components/range/range.d.ts +1 -1
  603. package/dist-versioned/components/range/range.js +7 -7
  604. package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
  605. package/dist-versioned/components/range-tick/range-tick.js +4 -4
  606. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  607. package/dist-versioned/components/scrollable/scrollable.js +5 -5
  608. package/dist-versioned/components/select/select.d.ts +1 -1
  609. package/dist-versioned/components/select/select.js +7 -7
  610. package/dist-versioned/components/skeleton/skeleton.d.ts +1 -1
  611. package/dist-versioned/components/skeleton/skeleton.js +2 -2
  612. package/dist-versioned/components/spinner/spinner.d.ts +1 -1
  613. package/dist-versioned/components/spinner/spinner.js +4 -4
  614. package/dist-versioned/components/step/step.d.ts +1 -1
  615. package/dist-versioned/components/step/step.js +3 -3
  616. package/dist-versioned/components/step-group/step-group.d.ts +1 -1
  617. package/dist-versioned/components/step-group/step-group.js +2 -2
  618. package/dist-versioned/components/switch/switch.d.ts +1 -1
  619. package/dist-versioned/components/switch/switch.js +2 -2
  620. package/dist-versioned/components/tab/tab.d.ts +1 -1
  621. package/dist-versioned/components/tab/tab.js +4 -4
  622. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  623. package/dist-versioned/components/tab-group/tab-group.js +5 -5
  624. package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  625. package/dist-versioned/components/tab-panel/tab-panel.js +2 -2
  626. package/dist-versioned/components/tag/tag.d.ts +1 -1
  627. package/dist-versioned/components/tag/tag.js +5 -5
  628. package/dist-versioned/components/teaser/teaser.js +2 -2
  629. package/dist-versioned/components/teaser-media/teaser-media.js +2 -2
  630. package/dist-versioned/components/textarea/textarea.d.ts +1 -1
  631. package/dist-versioned/components/textarea/textarea.js +3 -3
  632. package/dist-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  633. package/dist-versioned/components/theme-listener/theme-listener.js +2 -2
  634. package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
  635. package/dist-versioned/components/tooltip/tooltip.js +6 -6
  636. package/dist-versioned/components/video/video.d.ts +1 -1
  637. package/dist-versioned/components/video/video.js +5 -5
  638. package/dist-versioned/custom-elements.json +246 -246
  639. package/dist-versioned/internal/form.js +2 -2
  640. package/dist-versioned/solid-components.css +2 -2
  641. package/dist-versioned/solid-components.js +62 -62
  642. package/dist-versioned/translations/de.js +1 -1
  643. package/dist-versioned/translations/en.js +1 -1
  644. package/dist-versioned/utilities/autocomplete-config.js +2 -2
  645. package/dist-versioned/utilities/localize.d.ts +2 -0
  646. package/dist-versioned/utilities/localize.js +2 -2
  647. package/dist-versioned/vscode.html-custom-data.json +107 -107
  648. package/dist-versioned/web-types.json +157 -157
  649. package/package.json +1 -1
  650. package/cdn/chunks/chunk.B3QUTUIL.js +0 -1
  651. package/cdn/chunks/chunk.DX2U3PRB.js +0 -26
  652. package/cdn/chunks/chunk.UIPLDTDG.js +0 -12
  653. package/cdn-versioned/chunks/chunk.B3QUTUIL.js +0 -1
  654. package/cdn-versioned/chunks/chunk.DX2U3PRB.js +0 -26
  655. package/cdn-versioned/chunks/chunk.UIPLDTDG.js +0 -12
  656. package/dist/chunks/chunk.V7PNN6GB.js +0 -93
  657. package/dist-versioned/chunks/chunk.V7PNN6GB.js +0 -93
@@ -1,6 +1,6 @@
1
- import{a as b}from"./chunk.SLXPE3UU.js";import{a as h,c as p}from"./chunk.B2NUKX6G.js";import{a as m}from"./chunk.KLRPP4NQ.js";import{a as y}from"./chunk.IQPMMUES.js";import{a as o}from"./chunk.3XPSGHFS.js";import{a as f}from"./chunk.NYKJXI3Q.js";import{a as v,b as a,d as s,h as c}from"./chunk.DX2U3PRB.js";import{b as g,e as u}from"./chunk.UOAG5PNU.js";import{b as r,e as l,f as d}from"./chunk.W4QBFD6E.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends c{constructor(){super(...arguments);this.open=!1;this.inverted=!1;this.localize=new y(this)}updateMaxHeight(){var n;let e=(n=this.contentPreview)==null?void 0:n.scrollHeight.toString();this.style.setProperty("--max-height-pixel",`${e}px`),this.style.setProperty("--max-height",e)}onToggleClick(){this.updateMaxHeight(),this.open=!this.open}async onOpenChange(){if(this.body.classList.add("transitioning"),this.open){this.emit("sd-show"),await l(this.body);let{keyframes:e,options:n}=p(this,"expandable.show",{dir:this.localize.dir()});await r(this.body,d(e,this.body.scrollHeight),n),this.body.style.height="auto",this.updateComplete.then(()=>{this.emit("sd-after-show")})}else{this.emit("sd-hide"),await l(this.body);let{keyframes:e,options:n}=p(this,"expandable.hide",{dir:this.localize.dir()});await r(this.body,d(e,this.body.scrollHeight),n),this.body.style.height="auto",this.updateComplete.then(()=>{this.emit("sd-after-hide")})}this.details.setAttribute("open",this.open.toString()),this.body.classList.remove("transitioning")}async show(){if(!this.open)return this.onToggleClick(),m(this,"sd-after-show")}async hide(){if(this.open)return this.onToggleClick(),m(this,"sd-after-hide")}render(){return u`<div part="base" class="flex flex-col-reverse gap-4"><button part="toggle" class="${o("sd-interactive sd-interactive--reset",this.inverted&&"sd-interactive--inverted",this.inverted?"!focus-visible:focus-outline-inverted":"!focus-visible:focus-outline")}" @click="${this.onToggleClick}" aria-expanded="${this.open}"><div class="${o("h-full justify-center w-full text-base flex items-center toggle")}"><span part="toggle-icon" class="${o("flex items-center mr-2 transition-transform duration-medium ease-in-out",this.open&&"rotate-180")}"><slot name="expand-icon" class="${o(this.open&&"hidden")}"><sd-6-16-0-icon library="_internal" name="chevron-down" class="text-xl"></sd-6-16-0-icon></slot><slot name="collapse-icon" class="${o(!this.open&&"hidden")}"><sd-6-16-0-icon library="_internal" name="chevron-down" class="text-xl"></sd-6-16-0-icon></slot></span><slot name="toggle-closed" class="${o(this.open&&"hidden")}">${this.localize.term("showMore")}</slot><slot name="toggle-open" class="${o(!this.open&&"hidden")}">${this.localize.term("showLess")}</slot></div></button><details part="details" ?inert="${b(!this.open)}"><summary part="summary" aria-hidden="true" class="cursor-pointer overflow-hidden list-none"><slot name="clone"></slot></summary><div part="content" class="content content-preview overflow-hidden relative"><slot></slot></div></details></div>`}firstUpdated(){this.cloneContentToLightDOM(),this.details.setAttribute("open",this.open.toString())}cloneContentToLightDOM(){let e=document.createElement("div");e.setAttribute("slot","clone"),Array.from(this.childNodes).forEach(w=>{let x=w.cloneNode(!0);e.appendChild(x)}),this.appendChild(e)}};t.styles=[...c.styles,g`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
1
+ import{a as b}from"./chunk.SLXPE3UU.js";import{a as h,c as p}from"./chunk.B2NUKX6G.js";import{a as m}from"./chunk.KLRPP4NQ.js";import{a as y}from"./chunk.IQPMMUES.js";import{a as o}from"./chunk.3XPSGHFS.js";import{a as f}from"./chunk.NYKJXI3Q.js";import{a as v,b as a,d as s,h as c}from"./chunk.M6E2RMEB.js";import{b as g,e as u}from"./chunk.UOAG5PNU.js";import{b as r,e as l,f as d}from"./chunk.W4QBFD6E.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends c{constructor(){super(...arguments);this.open=!1;this.inverted=!1;this.localize=new y(this)}updateMaxHeight(){var n;let e=(n=this.contentPreview)==null?void 0:n.scrollHeight.toString();this.style.setProperty("--max-height-pixel",`${e}px`),this.style.setProperty("--max-height",e)}onToggleClick(){this.updateMaxHeight(),this.open=!this.open}async onOpenChange(){if(this.body.classList.add("transitioning"),this.open){this.emit("sd-show"),await l(this.body);let{keyframes:e,options:n}=p(this,"expandable.show",{dir:this.localize.dir()});await r(this.body,d(e,this.body.scrollHeight),n),this.body.style.height="auto",this.updateComplete.then(()=>{this.emit("sd-after-show")})}else{this.emit("sd-hide"),await l(this.body);let{keyframes:e,options:n}=p(this,"expandable.hide",{dir:this.localize.dir()});await r(this.body,d(e,this.body.scrollHeight),n),this.body.style.height="auto",this.updateComplete.then(()=>{this.emit("sd-after-hide")})}this.details.setAttribute("open",this.open.toString()),this.body.classList.remove("transitioning")}async show(){if(!this.open)return this.onToggleClick(),m(this,"sd-after-show")}async hide(){if(this.open)return this.onToggleClick(),m(this,"sd-after-hide")}render(){return u`<div part="base" class="flex flex-col-reverse gap-4"><button part="toggle" class="${o("sd-interactive sd-interactive--reset",this.inverted&&"sd-interactive--inverted",this.inverted?"!focus-visible:focus-outline-inverted":"!focus-visible:focus-outline")}" @click="${this.onToggleClick}" aria-expanded="${this.open}"><div class="${o("h-full justify-center w-full text-base flex items-center toggle")}"><span part="toggle-icon" class="${o("flex items-center mr-2 transition-transform duration-medium ease-in-out",this.open&&"rotate-180")}"><slot name="expand-icon" class="${o(this.open&&"hidden")}"><sd-6-16-2-icon library="_internal" name="chevron-down" class="text-xl"></sd-6-16-2-icon></slot><slot name="collapse-icon" class="${o(!this.open&&"hidden")}"><sd-6-16-2-icon library="_internal" name="chevron-down" class="text-xl"></sd-6-16-2-icon></slot></span><slot name="toggle-closed" class="${o(this.open&&"hidden")}">${this.localize.term("showMore")}</slot><slot name="toggle-open" class="${o(!this.open&&"hidden")}">${this.localize.term("showLess")}</slot></div></button><details part="details" ?inert="${b(!this.open)}"><summary part="summary" aria-hidden="true" class="cursor-pointer overflow-hidden list-none"><slot name="clone"></slot></summary><div part="content" class="content content-preview overflow-hidden relative"><slot></slot></div></details></div>`}firstUpdated(){this.cloneContentToLightDOM(),this.details.setAttribute("open",this.open.toString())}cloneContentToLightDOM(){let e=document.createElement("div");e.setAttribute("slot","clone"),Array.from(this.childNodes).forEach(w=>{let x=w.cloneNode(!0);e.appendChild(x)}),this.appendChild(e)}};t.styles=[...c.styles,g`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
2
  :host{--component-expandable-max-block-size:90px;--gradient-height:24px;--gradient:var(
3
3
  --gradient-color-start,
4
4
  transparent,
5
5
  var(--gradient-color-end, rgba(var(--sd-color-background-white, rgba(var(--sd-color-white)))))
6
- ) 80%,var(--gradient-color-end, rgba(var(--sd-color-background-white, rgba(var(--sd-color-white))))) 100%;position:relative;display:inline-block;width:100%}.toggle::-moz-focus-inner{--tw-border-style:none;border-style:none;padding:calc(var(--sd-spacing-1) * 0)}details>summary::-webkit-details-marker,details[open] summary{display:none}summary{max-block-size:var(--component-expandable-max-block-size)}:host([open]) summary{max-block-size:var(--max-height-pixel,1000vh)}.content{max-block-size:var(--component-expandable-max-block-size)}:host([open]) .content,:host:has(.transitioning) .content{max-block-size:var(--max-height-pixel,1000vh)}.content::after{position:absolute;bottom:calc(var(--sd-spacing-1) * 0);left:calc(var(--sd-spacing-1) * 0);display:block;width:100%;opacity:var(--sd-opacity-0);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-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));content:' ';height:var(--gradient-height);background:linear-gradient(180deg,var(--gradient));pointer-events:none}:host([inverted]){--gradient-color-start:transparent;--gradient-color-end:rgba(var(--sd-color-background-primary) / 1)}:host([inverted]) .content::after{background:var(--gradient-vertical-transparent-primary,linear-gradient(180deg,var(--gradient)))}:host(:not([open])) .content::after{opacity:var(--sd-opacity-100)}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}`],i([s(".content-preview")],t.prototype,"contentPreview",2),i([s("details")],t.prototype,"details",2),i([s('[part="content"]')],t.prototype,"body",2),i([a({type:Boolean,reflect:!0})],t.prototype,"open",2),i([a({type:Boolean,reflect:!0})],t.prototype,"inverted",2),i([f("open",{waitUntilFirstUpdate:!0})],t.prototype,"onOpenChange",1),t=i([v("sd-6-16-0-expandable")],t);h("expandable.show",{keyframes:[{height:"var(--component-expandable-max-block-size, 90px)"},{height:"auto"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});h("expandable.hide",{keyframes:[{height:"auto"},{height:"var(--component-expandable-max-block-size, 90px)"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{t as a};
6
+ ) 80%,var(--gradient-color-end, rgba(var(--sd-color-background-white, rgba(var(--sd-color-white))))) 100%;position:relative;display:inline-block;width:100%}.toggle::-moz-focus-inner{--tw-border-style:none;border-style:none;padding:calc(var(--sd-spacing-1) * 0)}details>summary::-webkit-details-marker,details[open] summary{display:none}summary{max-block-size:var(--component-expandable-max-block-size)}:host([open]) summary{max-block-size:var(--max-height-pixel,1000vh)}.content{max-block-size:var(--component-expandable-max-block-size)}:host([open]) .content,:host:has(.transitioning) .content{max-block-size:var(--max-height-pixel,1000vh)}.content::after{position:absolute;bottom:calc(var(--sd-spacing-1) * 0);left:calc(var(--sd-spacing-1) * 0);display:block;width:100%;opacity:var(--sd-opacity-0);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-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));content:' ';height:var(--gradient-height);background:linear-gradient(180deg,var(--gradient));pointer-events:none}:host([inverted]){--gradient-color-start:transparent;--gradient-color-end:rgba(var(--sd-color-background-primary) / 1)}:host([inverted]) .content::after{background:var(--gradient-vertical-transparent-primary,linear-gradient(180deg,var(--gradient)))}:host(:not([open])) .content::after{opacity:var(--sd-opacity-100)}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}`],i([s(".content-preview")],t.prototype,"contentPreview",2),i([s("details")],t.prototype,"details",2),i([s('[part="content"]')],t.prototype,"body",2),i([a({type:Boolean,reflect:!0})],t.prototype,"open",2),i([a({type:Boolean,reflect:!0})],t.prototype,"inverted",2),i([f("open",{waitUntilFirstUpdate:!0})],t.prototype,"onOpenChange",1),t=i([v("sd-6-16-2-expandable")],t);h("expandable.show",{keyframes:[{height:"var(--component-expandable-max-block-size, 90px)"},{height:"auto"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});h("expandable.hide",{keyframes:[{height:"auto"},{height:"var(--component-expandable-max-block-size, 90px)"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as d}from"./chunk.CGQ2BPPZ.js";import{a as y}from"./chunk.IQPMMUES.js";import{a as s}from"./chunk.3XPSGHFS.js";import{a as c,b as o,d as u,h as l}from"./chunk.DX2U3PRB.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-6-16-0-icon id="default-play-icon" library="_internal" name="start"></sd-6-16-0-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.1 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
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-6-16-0-video")],e);export{e as a};
1
+ import{a as d}from"./chunk.CGQ2BPPZ.js";import{a as y}from"./chunk.IQPMMUES.js";import{a as s}from"./chunk.3XPSGHFS.js";import{a as c,b as o,d as u,h as l}from"./chunk.M6E2RMEB.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-6-16-2-icon id="default-play-icon" library="_internal" name="start"></sd-6-16-2-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.1 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
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-6-16-2-video")],e);export{e as a};
@@ -1,12 +1,12 @@
1
- import{b as y,c as f}from"./chunk.RAP66B6O.js";import{a as i}from"./chunk.SLXPE3UU.js";import{a as x}from"./chunk.CGQ2BPPZ.js";import{a as c,b as u}from"./chunk.SV6DES3E.js";import{a}from"./chunk.3XPSGHFS.js";import{a as p}from"./chunk.NYKJXI3Q.js";import{a as v,b as o,c as h,d as m,g,h as l}from"./chunk.DX2U3PRB.js";import{b}from"./chunk.UOAG5PNU.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends l{constructor(){super(...arguments);this.formControlController=new y(this,{form:r=>{if(r.hasAttribute("form")){let s=r.getRootNode(),n=r.getAttribute("form");return s.getElementById(n)}return r.closest("form")}});this.hasSlotController=new x(this,"[default]","icon-left","icon-right");this.invalid=!1;this.title="";this.variant="primary";this.inverted=!1;this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.loading=!1;this.type="button";this.name="";this.value="";this.href=""}get validity(){return this.isButton()?this.button.validity:f}get validationMessage(){return this.isButton()?this.button.validationMessage:""}firstUpdated(){this.isButton()&&this.formControlController.updateValidity()}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleClick(r){if(this.disabled||this.loading||this.visuallyDisabled){r.preventDefault(),r.stopPropagation();return}this.type==="submit"&&this.formControlController.submit(this),this.type==="reset"&&this.formControlController.reset(this)}handleInvalid(r){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(r)}isButton(){return!this.href}isLink(){return!!this.href}handleDisabledChange(){this.isButton()&&this.formControlController.setValidity(this.disabled)}click(){this.button.click()}focus(r){this.button.focus(r)}blur(){this.button.blur()}checkValidity(){return this.isButton()?this.button.checkValidity():!0}getForm(){return this.formControlController.getForm()}reportValidity(){return this.isButton()?this.button.reportValidity():!0}setCustomValidity(r){this.isButton()&&(this.button.setCustomValidity(r),this.formControlController.updateValidity())}render(){let r=this.isLink(),s=r?c`a`:c`button`,n={label:this.hasSlotController.test("[default]"),"icon-left":this.hasSlotController.test("icon-left"),"icon-right":this.hasSlotController.test("icon-right"),"icon-only":this._iconsInDefaultSlot.length>0},d=this.variant==="secondary";return u`<${s} part="base" class="${a(`group relative z-10 font-md no-underline
1
+ import{b as y,c as f}from"./chunk.RAP66B6O.js";import{a as i}from"./chunk.SLXPE3UU.js";import{a as x}from"./chunk.CGQ2BPPZ.js";import{a as c,b as u}from"./chunk.SV6DES3E.js";import{a}from"./chunk.3XPSGHFS.js";import{a as p}from"./chunk.NYKJXI3Q.js";import{a as v,b as o,c as h,d as m,g,h as l}from"./chunk.M6E2RMEB.js";import{b}from"./chunk.UOAG5PNU.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends l{constructor(){super(...arguments);this.formControlController=new y(this,{form:r=>{if(r.hasAttribute("form")){let s=r.getRootNode(),n=r.getAttribute("form");return s.getElementById(n)}return r.closest("form")}});this.hasSlotController=new x(this,"[default]","icon-left","icon-right");this.invalid=!1;this.title="";this.variant="primary";this.inverted=!1;this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.loading=!1;this.type="button";this.name="";this.value="";this.href=""}get validity(){return this.isButton()?this.button.validity:f}get validationMessage(){return this.isButton()?this.button.validationMessage:""}firstUpdated(){this.isButton()&&this.formControlController.updateValidity()}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleClick(r){if(this.disabled||this.loading||this.visuallyDisabled){r.preventDefault(),r.stopPropagation();return}this.type==="submit"&&this.formControlController.submit(this),this.type==="reset"&&this.formControlController.reset(this)}handleInvalid(r){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(r)}isButton(){return!this.href}isLink(){return!!this.href}handleDisabledChange(){this.isButton()&&this.formControlController.setValidity(this.disabled)}click(){this.button.click()}focus(r){this.button.focus(r)}blur(){this.button.blur()}checkValidity(){return this.isButton()?this.button.checkValidity():!0}getForm(){return this.formControlController.getForm()}reportValidity(){return this.isButton()?this.button.reportValidity():!0}setCustomValidity(r){this.isButton()&&(this.button.setCustomValidity(r),this.formControlController.updateValidity())}render(){let r=this.isLink(),s=r?c`a`:c`button`,n={label:this.hasSlotController.test("[default]"),"icon-left":this.hasSlotController.test("icon-left"),"icon-right":this.hasSlotController.test("icon-right"),"icon-only":this._iconsInDefaultSlot.length>0},d=this.variant==="secondary";return u`<${s} part="base" class="${a(`group relative z-10 font-md no-underline
2
2
  w-full align-middle inline-flex items-stretch justify-center
3
3
  transition-colors duration-fast ease-in-out
4
- select-none cursor-[inherit]`,this.inverted?"focus-visible:focus-outline-inverted":"focus-visible:focus-outline",this.loading&&"relative cursor-wait",(this.disabled||this.visuallyDisabled)&&"cursor-not-allowed",{sm:"varspacing-8 min-h-8 sd-6-16-0-button--size-sm-font-size sd-6-16-0-button-font-weight sd-6-16-0-button--secondary--size-sm-padding-block sd-6-16-0-button--size-sm-border-radius",md:"varspacing-10 sd-6-16-0-button--size-md-height sd-6-16-0-button--size-md-font-size sd-6-16-0-button--secondary--size-md-padding-block sd-6-16-0-button-font-weight sd-6-16-0-button--size-md-border-radius",lg:"varspacing-12 sd-6-16-0-button--size-lg-height sd-6-16-0-button--size-lg-font-size sd-6-16-0-button--secondary--size-lg-padding-block sd-6-16-0-button-font-weight sd-6-16-0-button--size-lg-border-radius"}[this.size],!n["icon-only"]&&{sm:`${d?"sd-6-16-0-button--secondary-padding-inline":"sd-6-16-0-button--size-sm-padding-block sd-6-16-0-button-padding-inline"}`,md:`${d?"sd-6-16-0-button--secondary-padding-inline":"sd-6-16-0-button--size-md-padding-block sd-6-16-0-button-padding-inline"}`,lg:`${d?"sd-6-16-0-button--secondary-padding-inline":"sd-6-16-0-button--size-lg-padding-block sd-6-16-0-button-padding-inline"}`}[this.size],n["icon-only"]&&{sm:"px-1 aspect-square",md:"sd-6-16-0-button--size-md--icon-only-padding-inline aspect-square",lg:"px-[12px] aspect-square"}[this.size],{primary:this.inverted?`${this.visuallyDisabled?"bg-neutral-500 text-white border-neutral-500 hover:bg-neutral-500 active:bg-neutral-500":"sd-6-16-0-button--primary--inverted--default-color-text sd-6-16-0-button--primary--inverted--default-color-background border-white hover:sd-6-16-0-button--primary--inverted--hover-color-text active:sd-6-16-0-button--primary--inverted--active-color-text active:sd-6-16-0-button--primary--inverted--active-color-background"}
5
- disabled:sd-6-16-0-button--inverted--disabled-color-background disabled:text-white`:`${this.visuallyDisabled?"bg-neutral-500 border-neutral-500 hover:bg-neutral-500 text-white":"sd-6-16-0-button--primary--default-color-background border-transparent sd-6-16-0-button--primary--default-color-text hover:sd-6-16-0-button--primary--hover-color-text active:sd-6-16-0-button--primary--active-color-text"}
6
- disabled:bg-neutral-500 disabled:text-white`,secondary:this.inverted?`border sd-6-16-0-button-border-width ${this.visuallyDisabled?"text-neutral-600 border-neutral-600 hover:text-neutral-600 hover:border-neutral-600 active:text-neutral-600 active:border-neutral-600":"sd-6-16-0-button--secondary--inverted-color-text sd-6-16-0-button--secondary--inverted-color-border hover:sd-6-16-0-button--secondary--inverted-color-border hover:sd-6-16-0-button--secondary--inverted--hover-color-text hover:sd-6-16-0-button--secondary--inverted--hover-color-background active:sd-6-16-0-button--secondary--inverted--active-color-text active:border-primary-200 active:sd-6-16-0-button--secondary--inverted--active-color-background"}
7
- disabled:sd-6-16-0-button--inverted--disabled-color-border disabled:sd-6-16-0-button--inverted--disabled-color-text`:`border sd-6-16-0-button-border-width ${this.visuallyDisabled?"sd-6-16-0-button--secondary--disabled-color-text border-neutral-500 hover:text-neutral-500 hover:border-neutral-500 active:text-neutral-500 active:border-neutral-500":"sd-6-16-0-button--secondary--default-color-text border-primary hover:text-primary-500 hover:border-primary-500 active:sd-6-16-0-button--secondary--active-color-text active:border-primary-800"}
8
- disabled:sd-6-16-0-button--secondary--disabled-color-text disabled:border-neutral-500`,tertiary:this.inverted?`border-transparent ${this.visuallyDisabled?"text-neutral-600 hover:text-neutral-600 active:text-neutral-600":"sd-6-16-0-button--tertiary--inverted-color-text hover:sd-6-16-0-button--tertiary--inverted--hover-color-text hover:sd-6-16-0-button--tertiary--inverted--hover-color-background active:sd-6-16-0-button--tertiary--inverted--active-color-background active:sd-6-16-0-button--tertiary--inverted--active-color-text"}
9
- disabled:sd-6-16-0-button--inverted--disabled-color-text`:`border-transparent ${this.visuallyDisabled?"sd-6-16-0-button--tertiary--disabled-color-text hover:text-neutral-500 active:text-neutral-500":"sd-6-16-0-button--tertiary--default-color-text hover:text-primary-500 active:sd-6-16-0-button--tertiary--active-color-text"}
10
- disabled:sd-6-16-0-button--tertiary--disabled-color-text`,cta:`${this.visuallyDisabled?"bg-neutral-500 border-neutral-500 hover:bg-neutral-500 active:bg-neutral-500":"bg-accent border-transparent hover:bg-accent-500"}
11
- ${this.inverted?"sd-6-16-0-button--cta--inverted--default-color-background sd-6-16-0-button--cta--inverted--default-color-text hover:sd-6-16-0-button--cta--inverted--hover-color-text active:sd-6-16-0-button--cta--inverted--active-color-text disabled:sd-6-16-0-button--inverted--disabled-color-background disabled:text-white":"text-white bg-accent disabled:bg-neutral-500 hover:bg-accent-500 disabled:border-neutral-500 disabled:text-white"}`}[this.variant])}" ?disabled="${i(r?void 0:this.disabled)}" type="${i(r?void 0:this.type)}" title="${this.title}" name="${i(r?void 0:this.name)}" value="${i(r?void 0:this.value)}" href="${i(r?this.href:void 0)}" target="${i(r?this.target:void 0)}" download="${i(r?this.download:void 0)}" rel="${i(r&&this.target?"noreferrer noopener":void 0)}" role="${i(r?void 0:"button")}" aria-disabled="${this.disabled||this.visuallyDisabled?"true":"false"}" aria-labelledby="content" tabindex="${this.disabled?"-1":"0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @invalid="${this.isButton()?this.handleInvalid:null}" @click="${this.handleClick}"><div part="motion-wrapper" class="${a("absolute inset-0 -z-10 overflow-hidden pointer-events-none ",(this.disabled||this.visuallyDisabled)&&"hidden",{sm:"sd-6-16-0-button-border-radius",md:"sd-6-16-0-button-border-radius",lg:"sd-6-16-0-button-border-radius"}[this.size])}"><div class="absolute inset-0 w-full h-full transition-all duration-fast translate-y-full group-hover:translate-y-0 group-hover:mt-[-22%] mt-[11%]"><div class="${a("absolute right-0 min-w-full min-h-full aspect-square skew-y-[-11deg] mt-[11%]",{primary:this.inverted?"sd-6-16-0-button--primary--inverted--hover-color-background group-active:sd-6-16-0-button--primary--inverted--active-color-background":"sd-6-16-0-button--primary--hover-color-background group-active:bg-primary-800",secondary:this.inverted?"sd-6-16-0-button--secondary--inverted--hover-color-background group-active:sd-6-16-0-button--secondary--inverted--active-color-background group-active:sd-6-16-0-button--secondary--inverted--active-color-text":"sd-6-16-0-button--secondary--hover-color-background group-active:sd-6-16-0-button--secondary--active-color-background",tertiary:this.inverted?"sd-6-16-0-button--tertiary--inverted--hover-color-background group-active:sd-6-16-0-button--tertiary--inverted--active-color-background group-active:sd-6-16-0-button--tertiary--inverted--active-color-text":"sd-6-16-0-button--tertiary--hover-color-background group-active:sd-6-16-0-button--tertiary--active-color-background",cta:this.inverted?"sd-6-16-0-button--cta--inverted--hover-color-background group-active:sd-6-16-0-button--cta--inverted--active-color-background":"bg-accent-500 group-active:bg-accent-700"}[this.variant])}"></div><div class="${a("absolute w-full h-full mt-[22%]",{primary:this.inverted?"sd-6-16-0-button--primary--inverted--hover-color-background group-active:sd-6-16-0-button--primary--inverted--active-color-background":"sd-6-16-0-button--primary--hover-color-background group-active:bg-primary-800",secondary:this.inverted?"sd-6-16-0-button--secondary--inverted--hover-color-background group-active:sd-6-16-0-button--secondary--inverted--active-color-background group-active:sd-6-16-0-button--secondary--inverted--active-color-text":"sd-6-16-0-button--secondary--hover-color-background group-active:sd-6-16-0-button--secondary--active-color-background",tertiary:this.inverted?"sd-6-16-0-button--tertiary--inverted--hover-color-background group-active:sd-6-16-0-button--tertiary--inverted--active-color-background group-active:sd-6-16-0-button--tertiary--inverted--active-color-text":"sd-6-16-0-button--tertiary--hover-color-background group-active:sd-6-16-0-button--tertiary--active-color-background",cta:this.inverted?"sd-6-16-0-button--cta--inverted--hover-color-background group-active:sd-6-16-0-button--cta--inverted--active-color-background":"bg-accent-500 group-active:bg-accent-700"}[this.variant])}"></div></div></div><slot name="icon-left" part="icon-left" class="${a("flex flex-auto items-center justify-end pointer-events-none",n["icon-only"]&&"hidden",this.loading&&"invisible",n["icon-left"]&&{sm:"mr-1",md:"mr-2",lg:"mr-2"}[this.size])}"></slot><slot part="label" id="content" class="${a("inline-flex items-center justify-center",{sm:"leading-5",md:"leading-6",lg:"leading-6"}[this.size],n["icon-only"]&&"pointer-events-none",this.loading&&"invisible")}"></slot><slot name="icon-right" part="icon-right" class="${a("flex flex-auto items-center pointer-events-none",this.loading&&"invisible",n["icon-only"]&&"hidden",n["icon-right"]&&{sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size])}"></slot>${this.loading?u`<sd-6-16-0-loader class="${a("absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2")}"></sd-6-16-0-loader>`:""}</${s}>`}};t.styles=[...l.styles,b`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
12
- :host{position:relative;z-index:0;display:inline-block;width:auto;cursor:pointer}::slotted(sd-6-16-0-badge){pointer-events:none;position:absolute;top:calc(var(--sd-spacing-1) * 0);right:calc(var(--sd-spacing-1) * 0);--tw-translate-x:calc(1 / 2 * 100%)!important;--tw-translate-y:calc(calc(1 / 2 * 100%) * -1)!important;translate:var(--tw-translate-x) var(--tw-translate-y)!important}::slotted(sd-6-16-0-icon),sd-6-16-0-loader{font-size:calc(var(--tw-varspacing)/ 2)}:host([size=lg]) ::slotted(sd-6-16-0-icon){font-size:var(--sd-button--size-lg-icon-height,var(--sd-spacing-6))}:host([size=sm]) .sd-6-16-0-button--size-sm-border-radius{border-radius:var(--sd-button--size-sm-border-radius,var(--sd-button-border-radius))}:host([size=md]) .sd-6-16-0-button--size-md-border-radius{border-radius:var(--sd-button--size-md-border-radius,var(--sd-button-border-radius))}:host([size=lg]) .sd-6-16-0-button--size-lg-border-radius{border-radius:var(--sd-button--size-lg-border-radius,var(--sd-button-border-radius))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}`],e([m("a, button")],t.prototype,"button",2),e([g({selector:"sd-6-16-0-icon"})],t.prototype,"_iconsInDefaultSlot",2),e([h()],t.prototype,"invalid",2),e([o({type:String,reflect:!0})],t.prototype,"title",2),e([o({type:String,reflect:!0})],t.prototype,"variant",2),e([o({type:Boolean,reflect:!0})],t.prototype,"inverted",2),e([o({type:String,reflect:!0})],t.prototype,"size",2),e([o({type:Boolean,reflect:!0})],t.prototype,"disabled",2),e([o({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),e([o({type:Boolean,reflect:!0})],t.prototype,"loading",2),e([o({type:String,reflect:!0})],t.prototype,"type",2),e([o({type:String,reflect:!0})],t.prototype,"name",2),e([o()],t.prototype,"value",2),e([o({type:String,reflect:!0})],t.prototype,"href",2),e([o({type:String,reflect:!0})],t.prototype,"target",2),e([o({reflect:!0})],t.prototype,"download",2),e([o({reflect:!0})],t.prototype,"form",2),e([o({attribute:"formaction"})],t.prototype,"formAction",2),e([o({attribute:"formenctype"})],t.prototype,"formEnctype",2),e([o({attribute:"formmethod"})],t.prototype,"formMethod",2),e([o({attribute:"formnovalidate",type:Boolean})],t.prototype,"formNoValidate",2),e([o({attribute:"formtarget"})],t.prototype,"formTarget",2),e([p("disabled",{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),t=e([v("sd-6-16-0-button")],t);export{t as a};
4
+ select-none cursor-[inherit]`,this.inverted?"focus-visible:focus-outline-inverted":"focus-visible:focus-outline",this.loading&&"relative cursor-wait",(this.disabled||this.visuallyDisabled)&&"cursor-not-allowed",{sm:"varspacing-8 min-h-8 sd-6-16-2-button--size-sm-font-size sd-6-16-2-button-font-weight sd-6-16-2-button--secondary--size-sm-padding-block sd-6-16-2-button--size-sm-border-radius",md:"varspacing-10 sd-6-16-2-button--size-md-height sd-6-16-2-button--size-md-font-size sd-6-16-2-button--secondary--size-md-padding-block sd-6-16-2-button-font-weight sd-6-16-2-button--size-md-border-radius",lg:"varspacing-12 sd-6-16-2-button--size-lg-height sd-6-16-2-button--size-lg-font-size sd-6-16-2-button--secondary--size-lg-padding-block sd-6-16-2-button-font-weight sd-6-16-2-button--size-lg-border-radius"}[this.size],!n["icon-only"]&&{sm:`${d?"sd-6-16-2-button--secondary-padding-inline":"sd-6-16-2-button--size-sm-padding-block sd-6-16-2-button-padding-inline"}`,md:`${d?"sd-6-16-2-button--secondary-padding-inline":"sd-6-16-2-button--size-md-padding-block sd-6-16-2-button-padding-inline"}`,lg:`${d?"sd-6-16-2-button--secondary-padding-inline":"sd-6-16-2-button--size-lg-padding-block sd-6-16-2-button-padding-inline"}`}[this.size],n["icon-only"]&&{sm:"px-1 aspect-square",md:"sd-6-16-2-button--size-md--icon-only-padding-inline aspect-square",lg:"px-[12px] aspect-square"}[this.size],{primary:this.inverted?`${this.visuallyDisabled?"bg-neutral-500 text-white border-neutral-500 hover:bg-neutral-500 active:bg-neutral-500":"sd-6-16-2-button--primary--inverted--default-color-text sd-6-16-2-button--primary--inverted--default-color-background border-white hover:sd-6-16-2-button--primary--inverted--hover-color-text active:sd-6-16-2-button--primary--inverted--active-color-text active:sd-6-16-2-button--primary--inverted--active-color-background"}
5
+ disabled:sd-6-16-2-button--inverted--disabled-color-background disabled:text-white`:`${this.visuallyDisabled?"bg-neutral-500 border-neutral-500 hover:bg-neutral-500 text-white":"sd-6-16-2-button--primary--default-color-background border-transparent sd-6-16-2-button--primary--default-color-text hover:sd-6-16-2-button--primary--hover-color-text active:sd-6-16-2-button--primary--active-color-text"}
6
+ disabled:bg-neutral-500 disabled:text-white`,secondary:this.inverted?`border sd-6-16-2-button-border-width ${this.visuallyDisabled?"text-neutral-600 border-neutral-600 hover:text-neutral-600 hover:border-neutral-600 active:text-neutral-600 active:border-neutral-600":"sd-6-16-2-button--secondary--inverted-color-text sd-6-16-2-button--secondary--inverted-color-border hover:sd-6-16-2-button--secondary--inverted-color-border hover:sd-6-16-2-button--secondary--inverted--hover-color-text hover:sd-6-16-2-button--secondary--inverted--hover-color-background active:sd-6-16-2-button--secondary--inverted--active-color-text active:border-primary-200 active:sd-6-16-2-button--secondary--inverted--active-color-background"}
7
+ disabled:sd-6-16-2-button--inverted--disabled-color-border disabled:sd-6-16-2-button--inverted--disabled-color-text`:`border sd-6-16-2-button-border-width ${this.visuallyDisabled?"sd-6-16-2-button--secondary--disabled-color-text border-neutral-500 hover:text-neutral-500 hover:border-neutral-500 active:text-neutral-500 active:border-neutral-500":"sd-6-16-2-button--secondary--default-color-text border-primary hover:text-primary-500 hover:border-primary-500 active:sd-6-16-2-button--secondary--active-color-text active:border-primary-800"}
8
+ disabled:sd-6-16-2-button--secondary--disabled-color-text disabled:border-neutral-500`,tertiary:this.inverted?`border-transparent ${this.visuallyDisabled?"text-neutral-600 hover:text-neutral-600 active:text-neutral-600":"sd-6-16-2-button--tertiary--inverted-color-text hover:sd-6-16-2-button--tertiary--inverted--hover-color-text hover:sd-6-16-2-button--tertiary--inverted--hover-color-background active:sd-6-16-2-button--tertiary--inverted--active-color-background active:sd-6-16-2-button--tertiary--inverted--active-color-text"}
9
+ disabled:sd-6-16-2-button--inverted--disabled-color-text`:`border-transparent ${this.visuallyDisabled?"sd-6-16-2-button--tertiary--disabled-color-text hover:text-neutral-500 active:text-neutral-500":"sd-6-16-2-button--tertiary--default-color-text hover:text-primary-500 active:sd-6-16-2-button--tertiary--active-color-text"}
10
+ disabled:sd-6-16-2-button--tertiary--disabled-color-text`,cta:`${this.visuallyDisabled?"bg-neutral-500 border-neutral-500 hover:bg-neutral-500 active:bg-neutral-500":"bg-accent border-transparent hover:bg-accent-500"}
11
+ ${this.inverted?"sd-6-16-2-button--cta--inverted--default-color-background sd-6-16-2-button--cta--inverted--default-color-text hover:sd-6-16-2-button--cta--inverted--hover-color-text active:sd-6-16-2-button--cta--inverted--active-color-text disabled:sd-6-16-2-button--inverted--disabled-color-background disabled:text-white":"text-white bg-accent disabled:bg-neutral-500 hover:bg-accent-500 disabled:border-neutral-500 disabled:text-white"}`}[this.variant])}" ?disabled="${i(r?void 0:this.disabled)}" type="${i(r?void 0:this.type)}" title="${this.title}" name="${i(r?void 0:this.name)}" value="${i(r?void 0:this.value)}" href="${i(r?this.href:void 0)}" target="${i(r?this.target:void 0)}" download="${i(r?this.download:void 0)}" rel="${i(r&&this.target?"noreferrer noopener":void 0)}" role="${i(r?void 0:"button")}" aria-disabled="${this.disabled||this.visuallyDisabled?"true":"false"}" aria-labelledby="content" tabindex="${this.disabled?"-1":"0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @invalid="${this.isButton()?this.handleInvalid:null}" @click="${this.handleClick}"><div part="motion-wrapper" class="${a("absolute inset-0 -z-10 overflow-hidden pointer-events-none ",(this.disabled||this.visuallyDisabled)&&"hidden",{sm:"sd-6-16-2-button-border-radius",md:"sd-6-16-2-button-border-radius",lg:"sd-6-16-2-button-border-radius"}[this.size])}"><div class="absolute inset-0 w-full h-full transition-all duration-fast translate-y-full group-hover:translate-y-0 group-hover:mt-[-22%] mt-[11%]"><div class="${a("absolute right-0 min-w-full min-h-full aspect-square skew-y-[-11deg] mt-[11%]",{primary:this.inverted?"sd-6-16-2-button--primary--inverted--hover-color-background group-active:sd-6-16-2-button--primary--inverted--active-color-background":"sd-6-16-2-button--primary--hover-color-background group-active:bg-primary-800",secondary:this.inverted?"sd-6-16-2-button--secondary--inverted--hover-color-background group-active:sd-6-16-2-button--secondary--inverted--active-color-background group-active:sd-6-16-2-button--secondary--inverted--active-color-text":"sd-6-16-2-button--secondary--hover-color-background group-active:sd-6-16-2-button--secondary--active-color-background",tertiary:this.inverted?"sd-6-16-2-button--tertiary--inverted--hover-color-background group-active:sd-6-16-2-button--tertiary--inverted--active-color-background group-active:sd-6-16-2-button--tertiary--inverted--active-color-text":"sd-6-16-2-button--tertiary--hover-color-background group-active:sd-6-16-2-button--tertiary--active-color-background",cta:this.inverted?"sd-6-16-2-button--cta--inverted--hover-color-background group-active:sd-6-16-2-button--cta--inverted--active-color-background":"bg-accent-500 group-active:bg-accent-700"}[this.variant])}"></div><div class="${a("absolute w-full h-full mt-[22%]",{primary:this.inverted?"sd-6-16-2-button--primary--inverted--hover-color-background group-active:sd-6-16-2-button--primary--inverted--active-color-background":"sd-6-16-2-button--primary--hover-color-background group-active:bg-primary-800",secondary:this.inverted?"sd-6-16-2-button--secondary--inverted--hover-color-background group-active:sd-6-16-2-button--secondary--inverted--active-color-background group-active:sd-6-16-2-button--secondary--inverted--active-color-text":"sd-6-16-2-button--secondary--hover-color-background group-active:sd-6-16-2-button--secondary--active-color-background",tertiary:this.inverted?"sd-6-16-2-button--tertiary--inverted--hover-color-background group-active:sd-6-16-2-button--tertiary--inverted--active-color-background group-active:sd-6-16-2-button--tertiary--inverted--active-color-text":"sd-6-16-2-button--tertiary--hover-color-background group-active:sd-6-16-2-button--tertiary--active-color-background",cta:this.inverted?"sd-6-16-2-button--cta--inverted--hover-color-background group-active:sd-6-16-2-button--cta--inverted--active-color-background":"bg-accent-500 group-active:bg-accent-700"}[this.variant])}"></div></div></div><slot name="icon-left" part="icon-left" class="${a("flex flex-auto items-center justify-end pointer-events-none",n["icon-only"]&&"hidden",this.loading&&"invisible",n["icon-left"]&&{sm:"mr-1",md:"mr-2",lg:"mr-2"}[this.size])}"></slot><slot part="label" id="content" class="${a("inline-flex items-center justify-center",{sm:"leading-5",md:"leading-6",lg:"leading-6"}[this.size],n["icon-only"]&&"pointer-events-none",this.loading&&"invisible")}"></slot><slot name="icon-right" part="icon-right" class="${a("flex flex-auto items-center pointer-events-none",this.loading&&"invisible",n["icon-only"]&&"hidden",n["icon-right"]&&{sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size])}"></slot>${this.loading?u`<sd-6-16-2-loader class="${a("absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2")}"></sd-6-16-2-loader>`:""}</${s}>`}};t.styles=[...l.styles,b`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
12
+ :host{position:relative;z-index:0;display:inline-block;width:auto;cursor:pointer}::slotted(sd-6-16-2-badge){pointer-events:none;position:absolute;top:calc(var(--sd-spacing-1) * 0);right:calc(var(--sd-spacing-1) * 0);--tw-translate-x:calc(1 / 2 * 100%)!important;--tw-translate-y:calc(calc(1 / 2 * 100%) * -1)!important;translate:var(--tw-translate-x) var(--tw-translate-y)!important}::slotted(sd-6-16-2-icon),sd-6-16-2-loader{font-size:calc(var(--tw-varspacing)/ 2)}:host([size=lg]) ::slotted(sd-6-16-2-icon){font-size:var(--sd-button--size-lg-icon-height,var(--sd-spacing-6))}:host([size=sm]) .sd-6-16-2-button--size-sm-border-radius{border-radius:var(--sd-button--size-sm-border-radius,var(--sd-button-border-radius))}:host([size=md]) .sd-6-16-2-button--size-md-border-radius{border-radius:var(--sd-button--size-md-border-radius,var(--sd-button-border-radius))}:host([size=lg]) .sd-6-16-2-button--size-lg-border-radius{border-radius:var(--sd-button--size-lg-border-radius,var(--sd-button-border-radius))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}`],e([m("a, button")],t.prototype,"button",2),e([g({selector:"sd-6-16-2-icon"})],t.prototype,"_iconsInDefaultSlot",2),e([h()],t.prototype,"invalid",2),e([o({type:String,reflect:!0})],t.prototype,"title",2),e([o({type:String,reflect:!0})],t.prototype,"variant",2),e([o({type:Boolean,reflect:!0})],t.prototype,"inverted",2),e([o({type:String,reflect:!0})],t.prototype,"size",2),e([o({type:Boolean,reflect:!0})],t.prototype,"disabled",2),e([o({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),e([o({type:Boolean,reflect:!0})],t.prototype,"loading",2),e([o({type:String,reflect:!0})],t.prototype,"type",2),e([o({type:String,reflect:!0})],t.prototype,"name",2),e([o()],t.prototype,"value",2),e([o({type:String,reflect:!0})],t.prototype,"href",2),e([o({type:String,reflect:!0})],t.prototype,"target",2),e([o({reflect:!0})],t.prototype,"download",2),e([o({reflect:!0})],t.prototype,"form",2),e([o({attribute:"formaction"})],t.prototype,"formAction",2),e([o({attribute:"formenctype"})],t.prototype,"formEnctype",2),e([o({attribute:"formmethod"})],t.prototype,"formMethod",2),e([o({attribute:"formnovalidate",type:Boolean})],t.prototype,"formNoValidate",2),e([o({attribute:"formtarget"})],t.prototype,"formTarget",2),e([p("disabled",{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),t=e([v("sd-6-16-2-button")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as y,b as k}from"./chunk.I2H6CZK5.js";import{a as $}from"./chunk.SLXPE3UU.js";import{a as c,c as d}from"./chunk.B2NUKX6G.js";import{a as g}from"./chunk.KLRPP4NQ.js";import{a as H}from"./chunk.IQPMMUES.js";import{a as o}from"./chunk.3XPSGHFS.js";import{a as f}from"./chunk.NYKJXI3Q.js";import{a as T,b as s,d as p,h as w}from"./chunk.DX2U3PRB.js";import{b as v,e as u}from"./chunk.UOAG5PNU.js";import{b as n,e as l,f as b}from"./chunk.W4QBFD6E.js";import{e}from"./chunk.6EV4YU6C.js";var m={"top-right":null,"bottom-center":null},E=()=>{Object.entries(m).forEach(([a])=>{let h=document.querySelector(`#sd-toast-stack--${a}`);if(h){h.setAttribute("role","region"),m[a]=h;return}m[a]=Object.assign(document.createElement("div"),{role:"region",id:`sd-toast-stack--${a}`,className:`sd-toast-stack sd-toast-stack--${a}`})})};E();var t=class extends w{constructor(){super(...arguments);this.localize=new H(this);this.variant="info";this.open=!1;this.closable=!1;this.duration=1/0;this.durationIndicator=!1;this.toastStack="top-right";this.remainingDuration=this.duration;this.startTime=Date.now()}get stack(){return m[this.toastStack]}connectedCallback(){super.connectedCallback(),this.stack.parentElement||(document.body.append(this.stack),this.stack.ariaLabel=this.localize.term("notifications"))}disconnectedCallback(){super.disconnectedCallback()}firstUpdated(){this.wrapper.hidden=!this.open}startAutoHide(){clearTimeout(this.autoHideTimeout),this.startTime=Date.now(),this.remainingDuration=this.duration,this.open&&this.duration<1/0&&(this.autoHideTimeout=window.setTimeout(()=>this.hide(),this.duration))}onHover(){clearTimeout(this.autoHideTimeout),this.duration<1/0&&(this.remainingDuration-=Date.now()-this.startTime)}onHoverEnd(){this.startTime=Date.now(),clearTimeout(this.autoHideTimeout),this.open&&this.duration<1/0&&(this.autoHideTimeout=window.setTimeout(()=>{this.hide()},this.remainingDuration))}handleCloseClick(){this.hide()}handleKeyDown(i){this.closable&&i.key==="Escape"&&this.hide()}async handleOpenChange(){if(this.open){this.emit("sd-show"),this.duration<1/0&&this.startAutoHide(),await Promise.all([l(this.base),l(this.wrapper)]),this.wrapper.hidden=!1;let i=d(this,"notification.show",{dir:this.localize.dir()}),r=d(this,`notification.wrapper.show${y(k(this.toastStack))}`,{dir:this.localize.dir()});await Promise.all([n(this.base,b(i.keyframes,this.base.scrollHeight),i.options),n(this.wrapper,r.keyframes,r.options)]),this.emit("sd-after-show")}else{this.emit("sd-hide"),clearTimeout(this.autoHideTimeout),await Promise.all([l(this.base),l(this.wrapper)]);let i=d(this,"notification.hide",{dir:this.localize.dir()}),r=d(this,`notification.wrapper.hide${y(k(this.toastStack))}`,{dir:this.localize.dir()});await Promise.all([n(this.base,b(i.keyframes,this.base.scrollHeight),i.options),n(this.wrapper,r.keyframes,r.options)]),this.wrapper.hidden=!0,this.emit("sd-after-hide")}}handleDurationChange(){this.startAutoHide()}async show(){if(!this.open)return this.open=!0,g(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,g(this,"sd-after-hide")}async toast(){return new Promise(i=>{this.stack.parentElement===null&&document.body.append(this.stack),this.stack.appendChild(this),requestAnimationFrame(()=>{this.clientWidth,this.show()}),this.addEventListener("sd-after-hide",()=>{this.stack.removeChild(this),i()},{once:!0})})}render(){return u`<div part="base" class="${o("w-full flex items-stretch m-2 focus-visible:focus-outline")}" id="notification" tabindex="${$(this.closable?"0":void 0)}" role="alert" aria-labelledby="message" aria-hidden="${this.open?"false":"true"}" @mouseenter="${this.onHover}" @mouseleave="${this.onHoverEnd}" @keydown="${this.handleKeyDown}"><div part="wrapper" class="${o("w-full h-fit overflow-hidden flex items-stretch relative")}"><slot name="icon" part="icon" class="${o("min-w-min flex items-center px-3 justify-center",{info:"bg-info",success:"bg-success",warning:"bg-warning",error:"bg-error"}[this.variant])}"><sd-6-16-0-icon name="${{info:"info-circle",success:"confirm-circle",warning:"exclamation-circle",error:"warning"}[this.variant]||""}" library="_internal" class="h-6 w-6 text-white"></sd-6-16-0-icon></slot><div part="content" class="${o("h-full w-full p-1 gap-2 flex items-center justify-stretch bg-white","border-solid border-[1px] border-l-0 sd-6-16-0-notification-color-border",{info:"sd-6-16-0-notification--info-color-background",success:"sd-6-16-0-notification--success-color-background",warning:"sd-6-16-0-notification--warning-color-background",error:"sd-6-16-0-notification--error-color-background"}[this.variant])}"><slot id="message" part="message" class="block w-full pl-3 py-2"></slot>${this.closable?u`<sd-6-16-0-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" @click="${this.handleCloseClick}"><sd-6-16-0-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-6-16-0-icon></sd-6-16-0-button>`:""}</div>${this.durationIndicator?u`<div part="duration-indicator__elapsed" id="duration-indicator__elapsed" style="${`animation-duration: ${this.duration}ms`}" class="${o("absolute w-0 h-[2px] bottom-0 sd-6-16-0-notification__duration-indicator-color-background z-10 animate-grow")}"></div><div part="duration-indicator__total" class="w-full h-[2px] bottom-0 absolute border border-neutral-400"></div>`:""}</div></div>`}};t.styles=[...w.styles,v`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{display:contents}#notification:hover #duration-indicator__elapsed{animation-play-state:paused!important}`],e([p('[part~="base"]')],t.prototype,"base",2),e([p('[part~="wrapper"]')],t.prototype,"wrapper",2),e([p('[part~="close-button"]')],t.prototype,"close",2),e([s({type:String,reflect:!0})],t.prototype,"variant",2),e([s({type:Boolean,reflect:!0})],t.prototype,"open",2),e([s({type:Boolean,reflect:!0})],t.prototype,"closable",2),e([s({type:Number,reflect:!0})],t.prototype,"duration",2),e([s({type:Boolean,reflect:!0,attribute:"duration-indicator"})],t.prototype,"durationIndicator",2),e([s({type:String,reflect:!0,attribute:"toast-stack"})],t.prototype,"toastStack",2),e([f("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),e([f("duration")],t.prototype,"handleDurationChange",1),t=e([T("sd-6-16-0-notification")],t);c("notification.show",{keyframes:[{opacity:0,height:0},{opacity:1,height:"auto"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});c("notification.hide",{keyframes:[{opacity:1,height:"auto"},{opacity:0,height:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});c("notification.wrapper.showTopRight",{keyframes:[{bottom:"32px"},{bottom:"0"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});c("notification.wrapper.hideTopRight",{keyframes:[{bottom:"0"},{bottom:"32px"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{t as a};
1
+ import{a as y,b as k}from"./chunk.I2H6CZK5.js";import{a as $}from"./chunk.SLXPE3UU.js";import{a as c,c as d}from"./chunk.B2NUKX6G.js";import{a as g}from"./chunk.KLRPP4NQ.js";import{a as H}from"./chunk.IQPMMUES.js";import{a as o}from"./chunk.3XPSGHFS.js";import{a as f}from"./chunk.NYKJXI3Q.js";import{a as T,b as s,d as p,h as w}from"./chunk.M6E2RMEB.js";import{b as v,e as u}from"./chunk.UOAG5PNU.js";import{b as n,e as l,f as b}from"./chunk.W4QBFD6E.js";import{e}from"./chunk.6EV4YU6C.js";var m={"top-right":null,"bottom-center":null},E=()=>{Object.entries(m).forEach(([a])=>{let h=document.querySelector(`#sd-toast-stack--${a}`);if(h){h.setAttribute("role","region"),m[a]=h;return}m[a]=Object.assign(document.createElement("div"),{role:"region",id:`sd-toast-stack--${a}`,className:`sd-toast-stack sd-toast-stack--${a}`})})};E();var t=class extends w{constructor(){super(...arguments);this.localize=new H(this);this.variant="info";this.open=!1;this.closable=!1;this.duration=1/0;this.durationIndicator=!1;this.toastStack="top-right";this.remainingDuration=this.duration;this.startTime=Date.now()}get stack(){return m[this.toastStack]}connectedCallback(){super.connectedCallback(),this.stack.parentElement||(document.body.append(this.stack),this.stack.ariaLabel=this.localize.term("notifications"))}disconnectedCallback(){super.disconnectedCallback()}firstUpdated(){this.wrapper.hidden=!this.open}startAutoHide(){clearTimeout(this.autoHideTimeout),this.startTime=Date.now(),this.remainingDuration=this.duration,this.open&&this.duration<1/0&&(this.autoHideTimeout=window.setTimeout(()=>this.hide(),this.duration))}onHover(){clearTimeout(this.autoHideTimeout),this.duration<1/0&&(this.remainingDuration-=Date.now()-this.startTime)}onHoverEnd(){this.startTime=Date.now(),clearTimeout(this.autoHideTimeout),this.open&&this.duration<1/0&&(this.autoHideTimeout=window.setTimeout(()=>{this.hide()},this.remainingDuration))}handleCloseClick(){this.hide()}handleKeyDown(i){this.closable&&i.key==="Escape"&&this.hide()}async handleOpenChange(){if(this.open){this.emit("sd-show"),this.duration<1/0&&this.startAutoHide(),await Promise.all([l(this.base),l(this.wrapper)]),this.wrapper.hidden=!1;let i=d(this,"notification.show",{dir:this.localize.dir()}),r=d(this,`notification.wrapper.show${y(k(this.toastStack))}`,{dir:this.localize.dir()});await Promise.all([n(this.base,b(i.keyframes,this.base.scrollHeight),i.options),n(this.wrapper,r.keyframes,r.options)]),this.emit("sd-after-show")}else{this.emit("sd-hide"),clearTimeout(this.autoHideTimeout),await Promise.all([l(this.base),l(this.wrapper)]);let i=d(this,"notification.hide",{dir:this.localize.dir()}),r=d(this,`notification.wrapper.hide${y(k(this.toastStack))}`,{dir:this.localize.dir()});await Promise.all([n(this.base,b(i.keyframes,this.base.scrollHeight),i.options),n(this.wrapper,r.keyframes,r.options)]),this.wrapper.hidden=!0,this.emit("sd-after-hide")}}handleDurationChange(){this.startAutoHide()}async show(){if(!this.open)return this.open=!0,g(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,g(this,"sd-after-hide")}async toast(){return new Promise(i=>{this.stack.parentElement===null&&document.body.append(this.stack),this.stack.appendChild(this),requestAnimationFrame(()=>{this.clientWidth,this.show()}),this.addEventListener("sd-after-hide",()=>{this.stack.removeChild(this),i()},{once:!0})})}render(){return u`<div part="base" class="${o("w-full flex items-stretch m-2 focus-visible:focus-outline")}" id="notification" tabindex="${$(this.closable?"0":void 0)}" role="alert" aria-labelledby="message" aria-hidden="${this.open?"false":"true"}" @mouseenter="${this.onHover}" @mouseleave="${this.onHoverEnd}" @keydown="${this.handleKeyDown}"><div part="wrapper" class="${o("w-full h-fit overflow-hidden flex items-stretch relative")}"><slot name="icon" part="icon" class="${o("min-w-min flex items-center px-3 justify-center",{info:"bg-info",success:"bg-success",warning:"bg-warning",error:"bg-error"}[this.variant])}"><sd-6-16-2-icon name="${{info:"info-circle",success:"confirm-circle",warning:"exclamation-circle",error:"warning"}[this.variant]||""}" library="_internal" class="h-6 w-6 text-white"></sd-6-16-2-icon></slot><div part="content" class="${o("h-full w-full p-1 gap-2 flex items-center justify-stretch bg-white","border-solid border-[1px] border-l-0 sd-6-16-2-notification-color-border",{info:"sd-6-16-2-notification--info-color-background",success:"sd-6-16-2-notification--success-color-background",warning:"sd-6-16-2-notification--warning-color-background",error:"sd-6-16-2-notification--error-color-background"}[this.variant])}"><slot id="message" part="message" class="block w-full pl-3 py-2"></slot>${this.closable?u`<sd-6-16-2-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" @click="${this.handleCloseClick}"><sd-6-16-2-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-6-16-2-icon></sd-6-16-2-button>`:""}</div>${this.durationIndicator?u`<div part="duration-indicator__elapsed" id="duration-indicator__elapsed" style="${`animation-duration: ${this.duration}ms`}" class="${o("absolute w-0 h-[2px] bottom-0 sd-6-16-2-notification__duration-indicator-color-background z-10 animate-grow")}"></div><div part="duration-indicator__total" class="w-full h-[2px] bottom-0 absolute border border-neutral-400"></div>`:""}</div></div>`}};t.styles=[...w.styles,v`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{display:contents}#notification:hover #duration-indicator__elapsed{animation-play-state:paused!important}`],e([p('[part~="base"]')],t.prototype,"base",2),e([p('[part~="wrapper"]')],t.prototype,"wrapper",2),e([p('[part~="close-button"]')],t.prototype,"close",2),e([s({type:String,reflect:!0})],t.prototype,"variant",2),e([s({type:Boolean,reflect:!0})],t.prototype,"open",2),e([s({type:Boolean,reflect:!0})],t.prototype,"closable",2),e([s({type:Number,reflect:!0})],t.prototype,"duration",2),e([s({type:Boolean,reflect:!0,attribute:"duration-indicator"})],t.prototype,"durationIndicator",2),e([s({type:String,reflect:!0,attribute:"toast-stack"})],t.prototype,"toastStack",2),e([f("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),e([f("duration")],t.prototype,"handleDurationChange",1),t=e([T("sd-6-16-2-notification")],t);c("notification.show",{keyframes:[{opacity:0,height:0},{opacity:1,height:"auto"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});c("notification.hide",{keyframes:[{opacity:1,height:"auto"},{opacity:0,height:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});c("notification.wrapper.showTopRight",{keyframes:[{bottom:"32px"},{bottom:"0"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});c("notification.wrapper.hideTopRight",{keyframes:[{bottom:"0"},{bottom:"32px"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{t as a};
@@ -1 +1 @@
1
- import{e as p}from"./chunk.UOAG5PNU.js";import{a as l,b as m}from"./chunk.6EV4YU6C.js";var a=new WeakMap,n=new WeakMap,c=new WeakMap,d=new WeakMap,v=class{constructor(t,e){this.handleFormData=t=>{let e=this.options.disabled(this.host),o=this.options.name(this.host),i=this.options.value(this.host),s=this.host.tagName.toLowerCase()==="sd-6-16-0-button";!e&&!s&&typeof o=="string"&&o.length>0&&typeof i!="undefined"&&(Array.isArray(i)?i.forEach(r=>{t.formData.append(o,r.toString())}):t.formData.append(o,i.toString()))};this.handleFormSubmit=t=>{var i,s;let e=this.options.disabled(this.host),o=this.options.reportValidity;if(this.form&&!this.form.noValidate&&((i=a.get(this.form))==null||i.forEach(r=>{this.setUserInteracted(r,!0)})),this.form&&!this.form.noValidate&&!e&&!o(this.host)){t.preventDefault(),t.stopImmediatePropagation();let r=(s=this.form)==null?void 0:s.querySelectorAll("[data-invalid]");Array.from(r).filter(h=>h.tagName.toLowerCase()==="sd-6-16-0-radio-group").forEach(h=>{var f,u;(u=(f=h.shadowRoot)==null?void 0:f.querySelector("input"))==null||u.dispatchEvent(new Event("invalid"))}),r!=null&&r.length&&r[0].focus()}};this.handleFormReset=()=>{this.options.setValue(this.host,this.options.defaultValue(this.host)),this.setUserInteracted(this.host,!1),d.set(this.host,[])};this.handleInteraction=t=>{let e=d.get(this.host);e.includes(t.type)||e.push(t.type),e.length===this.options.assumeInteractionOn.length&&this.setUserInteracted(this.host,!0)};this.fakeUserInteraction=()=>{this.setUserInteracted(this.host,!0)};(this.host=t).addController(this),this.options=l({form:o=>{if(o.hasAttribute("form")&&o.getAttribute("form")!==""){let i=o.getRootNode(),s=o.getAttribute("form");if(s)return i.getElementById(s)}return o.closest("form")},name:o=>o.name,value:o=>o.value,defaultValue:o=>o.defaultValue,disabled:o=>{var i;return(i=o.disabled)!=null?i:!1},reportValidity:o=>typeof o.reportValidity=="function"?o.reportValidity():!0,setValue:(o,i)=>o.value=i,assumeInteractionOn:["sd-input"]},e)}hostConnected(){let t=this.options.form(this.host);t&&this.attachForm(t),d.set(this.host,[]),this.options.assumeInteractionOn.forEach(e=>{this.host.addEventListener(e,this.handleInteraction)})}hostDisconnected(){this.detachForm(),d.delete(this.host),this.options.assumeInteractionOn.forEach(t=>{this.host.removeEventListener(t,this.handleInteraction)})}hostUpdated(){var e;let t=this.options.form(this.host);t||this.detachForm(),t&&this.form!==t&&(this.detachForm(),this.attachForm(t)),this.host.hasUpdated&&(this.setValidity((e=this.host)==null?void 0:e.validity.valid),this.updateValidityStyle())}attachForm(t){t?(this.form=t,a.has(this.form)?a.get(this.form).add(this.host):a.set(this.form,new Set([this.host])),this.form.addEventListener("formdata",this.handleFormData),this.form.addEventListener("submit",this.handleFormSubmit),this.form.addEventListener("reset",this.handleFormReset),n.has(this.form)||(n.set(this.form,this.form.reportValidity),this.form.reportValidity=()=>this.reportFormValidity())):this.form=void 0}detachForm(){var t;this.form&&((t=a.get(this.form))==null||t.delete(this.host),this.form.removeEventListener("formdata",this.handleFormData),this.form.removeEventListener("submit",this.handleFormSubmit),this.form.removeEventListener("reset",this.handleFormReset),n.has(this.form)&&(this.form.reportValidity=n.get(this.form),n.delete(this.form))),this.form=void 0}reportFormValidity(){if(this.form&&!this.form.noValidate){let t=this.form.querySelectorAll("*");for(let e of t)if(typeof e.reportValidity=="function"&&!e.reportValidity())return!1}return!0}setUserInteracted(t,e){c.set(t,e),t.requestUpdate()}doAction(t,e){if(this.form){let o=document.createElement("button");o.type=t,o.style.position="absolute",o.style.width="0",o.style.height="0",o.style.clipPath="inset(50%)",o.style.overflow="hidden",o.style.whiteSpace="nowrap",e&&(o.name=e.name,o.value=e.value,["formaction","formenctype","formmethod","formnovalidate","formtarget"].forEach(i=>{e.hasAttribute(i)&&o.setAttribute(i,e.getAttribute(i))})),this.form.append(o),o.click(),o.remove()}}updateValidityStyle(){this.host.hasAttribute("data-user-valid")&&this.host.checkValidity()?(this.host.showValidStyle!==void 0&&(this.host.showValidStyle=!0),this.host.showInvalidStyle=!1):this.host.hasAttribute("data-user-invalid")&&!this.host.checkValidity()?(this.host.showValidStyle!==void 0&&(this.host.showValidStyle=!1),this.host.showInvalidStyle=!0):(this.host.showValidStyle!==void 0&&(this.host.showValidStyle=!1),this.host.showInvalidStyle=!1)}getForm(){var t;return(t=this.form)!=null?t:null}renderInvalidMessage(t){let e={sm:"text-sm",md:"text-base",lg:"text-base"}[t];return p`<div id="invalid-message" class="text-error text-left ${e}" part="invalid-message" aria-live="polite" ?hidden="${!this.host.showInvalidStyle}"></div>`}reset(t){this.doAction("reset",t)}submit(t){this.doAction("submit",t)}setValidity(t){var s;let e=this.host,o=!!c.get(e),i=!!e.required;(s=this.form)!=null&&s.noValidate?(e.removeAttribute("data-required"),e.removeAttribute("data-optional"),e.removeAttribute("data-invalid"),e.removeAttribute("data-valid"),e.removeAttribute("data-user-invalid"),e.removeAttribute("data-user-valid"),e.removeAttribute("aria-invalid")):(e.toggleAttribute("data-required",i),e.toggleAttribute("data-optional",!i),e.toggleAttribute("data-invalid",!t),e.toggleAttribute("data-valid",t),e.toggleAttribute("data-user-invalid",!t&&o),e.toggleAttribute("data-user-valid",t&&o),e.setAttribute("aria-invalid",(!t).toString()))}updateValidity(){let t=this.host;this.setValidity(t==null?void 0:t.validity.valid)}emitInvalidEvent(t){t==null||t.preventDefault();let e=new CustomEvent("sd-invalid",{bubbles:!1,composed:!1,cancelable:!0,detail:{}});t||e.preventDefault()}},y=Object.freeze({badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:!0,valueMissing:!1}),F=Object.freeze(m(l({},y),{valid:!1,valueMissing:!0})),V=Object.freeze(m(l({},y),{valid:!1,customError:!0}));export{a,v as b,y as c,F as d,V as e};
1
+ import{e as p}from"./chunk.UOAG5PNU.js";import{a as l,b as m}from"./chunk.6EV4YU6C.js";var a=new WeakMap,n=new WeakMap,c=new WeakMap,d=new WeakMap,v=class{constructor(t,e){this.handleFormData=t=>{let e=this.options.disabled(this.host),o=this.options.name(this.host),i=this.options.value(this.host),s=this.host.tagName.toLowerCase()==="sd-6-16-2-button";!e&&!s&&typeof o=="string"&&o.length>0&&typeof i!="undefined"&&(Array.isArray(i)?i.forEach(r=>{t.formData.append(o,r.toString())}):t.formData.append(o,i.toString()))};this.handleFormSubmit=t=>{var i,s;let e=this.options.disabled(this.host),o=this.options.reportValidity;if(this.form&&!this.form.noValidate&&((i=a.get(this.form))==null||i.forEach(r=>{this.setUserInteracted(r,!0)})),this.form&&!this.form.noValidate&&!e&&!o(this.host)){t.preventDefault(),t.stopImmediatePropagation();let r=(s=this.form)==null?void 0:s.querySelectorAll("[data-invalid]");Array.from(r).filter(h=>h.tagName.toLowerCase()==="sd-6-16-2-radio-group").forEach(h=>{var f,u;(u=(f=h.shadowRoot)==null?void 0:f.querySelector("input"))==null||u.dispatchEvent(new Event("invalid"))}),r!=null&&r.length&&r[0].focus()}};this.handleFormReset=()=>{this.options.setValue(this.host,this.options.defaultValue(this.host)),this.setUserInteracted(this.host,!1),d.set(this.host,[])};this.handleInteraction=t=>{let e=d.get(this.host);e.includes(t.type)||e.push(t.type),e.length===this.options.assumeInteractionOn.length&&this.setUserInteracted(this.host,!0)};this.fakeUserInteraction=()=>{this.setUserInteracted(this.host,!0)};(this.host=t).addController(this),this.options=l({form:o=>{if(o.hasAttribute("form")&&o.getAttribute("form")!==""){let i=o.getRootNode(),s=o.getAttribute("form");if(s)return i.getElementById(s)}return o.closest("form")},name:o=>o.name,value:o=>o.value,defaultValue:o=>o.defaultValue,disabled:o=>{var i;return(i=o.disabled)!=null?i:!1},reportValidity:o=>typeof o.reportValidity=="function"?o.reportValidity():!0,setValue:(o,i)=>o.value=i,assumeInteractionOn:["sd-input"]},e)}hostConnected(){let t=this.options.form(this.host);t&&this.attachForm(t),d.set(this.host,[]),this.options.assumeInteractionOn.forEach(e=>{this.host.addEventListener(e,this.handleInteraction)})}hostDisconnected(){this.detachForm(),d.delete(this.host),this.options.assumeInteractionOn.forEach(t=>{this.host.removeEventListener(t,this.handleInteraction)})}hostUpdated(){var e;let t=this.options.form(this.host);t||this.detachForm(),t&&this.form!==t&&(this.detachForm(),this.attachForm(t)),this.host.hasUpdated&&(this.setValidity((e=this.host)==null?void 0:e.validity.valid),this.updateValidityStyle())}attachForm(t){t?(this.form=t,a.has(this.form)?a.get(this.form).add(this.host):a.set(this.form,new Set([this.host])),this.form.addEventListener("formdata",this.handleFormData),this.form.addEventListener("submit",this.handleFormSubmit),this.form.addEventListener("reset",this.handleFormReset),n.has(this.form)||(n.set(this.form,this.form.reportValidity),this.form.reportValidity=()=>this.reportFormValidity())):this.form=void 0}detachForm(){var t;this.form&&((t=a.get(this.form))==null||t.delete(this.host),this.form.removeEventListener("formdata",this.handleFormData),this.form.removeEventListener("submit",this.handleFormSubmit),this.form.removeEventListener("reset",this.handleFormReset),n.has(this.form)&&(this.form.reportValidity=n.get(this.form),n.delete(this.form))),this.form=void 0}reportFormValidity(){if(this.form&&!this.form.noValidate){let t=this.form.querySelectorAll("*");for(let e of t)if(typeof e.reportValidity=="function"&&!e.reportValidity())return!1}return!0}setUserInteracted(t,e){c.set(t,e),t.requestUpdate()}doAction(t,e){if(this.form){let o=document.createElement("button");o.type=t,o.style.position="absolute",o.style.width="0",o.style.height="0",o.style.clipPath="inset(50%)",o.style.overflow="hidden",o.style.whiteSpace="nowrap",e&&(o.name=e.name,o.value=e.value,["formaction","formenctype","formmethod","formnovalidate","formtarget"].forEach(i=>{e.hasAttribute(i)&&o.setAttribute(i,e.getAttribute(i))})),this.form.append(o),o.click(),o.remove()}}updateValidityStyle(){this.host.hasAttribute("data-user-valid")&&this.host.checkValidity()?(this.host.showValidStyle!==void 0&&(this.host.showValidStyle=!0),this.host.showInvalidStyle=!1):this.host.hasAttribute("data-user-invalid")&&!this.host.checkValidity()?(this.host.showValidStyle!==void 0&&(this.host.showValidStyle=!1),this.host.showInvalidStyle=!0):(this.host.showValidStyle!==void 0&&(this.host.showValidStyle=!1),this.host.showInvalidStyle=!1)}getForm(){var t;return(t=this.form)!=null?t:null}renderInvalidMessage(t){let e={sm:"text-sm",md:"text-base",lg:"text-base"}[t];return p`<div id="invalid-message" class="text-error text-left ${e}" part="invalid-message" aria-live="polite" ?hidden="${!this.host.showInvalidStyle}"></div>`}reset(t){this.doAction("reset",t)}submit(t){this.doAction("submit",t)}setValidity(t){var s;let e=this.host,o=!!c.get(e),i=!!e.required;(s=this.form)!=null&&s.noValidate?(e.removeAttribute("data-required"),e.removeAttribute("data-optional"),e.removeAttribute("data-invalid"),e.removeAttribute("data-valid"),e.removeAttribute("data-user-invalid"),e.removeAttribute("data-user-valid"),e.removeAttribute("aria-invalid")):(e.toggleAttribute("data-required",i),e.toggleAttribute("data-optional",!i),e.toggleAttribute("data-invalid",!t),e.toggleAttribute("data-valid",t),e.toggleAttribute("data-user-invalid",!t&&o),e.toggleAttribute("data-user-valid",t&&o),e.setAttribute("aria-invalid",(!t).toString()))}updateValidity(){let t=this.host;this.setValidity(t==null?void 0:t.validity.valid)}emitInvalidEvent(t){t==null||t.preventDefault();let e=new CustomEvent("sd-invalid",{bubbles:!1,composed:!1,cancelable:!0,detail:{}});t||e.preventDefault()}},y=Object.freeze({badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:!0,valueMissing:!1}),F=Object.freeze(m(l({},y),{valid:!1,valueMissing:!0})),V=Object.freeze(m(l({},y),{valid:!1,customError:!0}));export{a,v as b,y as c,F as d,V as e};
@@ -1,2 +1,2 @@
1
- import{a as m,b as g,c as b,d as h,h as u}from"./chunk.DX2U3PRB.js";import{b as d,e as c}from"./chunk.UOAG5PNU.js";import{e as l}from"./chunk.6EV4YU6C.js";var s=class extends u{constructor(){super(...arguments);this.disableRole=!1;this.label=""}handleFocus(e){let t=a(e.target);t==null||t.classList.add("sd-6-16-0-button-group__button--focus")}handleBlur(e){let t=a(e.target);t==null||t.classList.remove("sd-6-16-0-button-group__button--focus")}handleMouseOver(e){let t=a(e.target);t==null||t.classList.add("sd-6-16-0-button-group__button--hover")}handleMouseOut(e){let t=a(e.target);t==null||t.classList.remove("sd-6-16-0-button-group__button--hover")}handleSlotChange(){let e=[...this.defaultSlot.assignedElements({flatten:!0})];e.forEach(t=>{let n=e.indexOf(t),o=a(t);o!==null&&(o.classList.add("sd-6-16-0-button-group__button"),o.classList.toggle("sd-6-16-0-button-group__button--first",n===0),o.classList.toggle("sd-6-16-0-button-group__button--inner",n>0&&n<e.length-1),o.classList.toggle("sd-6-16-0-button-group__button--last",n===e.length-1),o.classList.toggle("sd-6-16-0-button-group__button--radio",o.tagName.toLowerCase()==="sd-6-16-0-radio-button"))})}render(){return c`<slot part="base" role="${this.disableRole?"presentation":"group"}" aria-label="${this.label}" @focusout="${this.handleBlur}" @focusin="${this.handleFocus}" @mouseover="${this.handleMouseOver}" @mouseout="${this.handleMouseOut}" @slotchange="${this.handleSlotChange}"></slot>`}};s.styles=[...u.styles,d`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{display:inline-block}[part=base]{display:flex;flex-wrap:nowrap}`],l([h("slot")],s.prototype,"defaultSlot",2),l([b()],s.prototype,"disableRole",2),l([g({type:String,reflect:!0})],s.prototype,"label",2),s=l([m("sd-6-16-0-button-group")],s);function a(r){var e;let i="sd-6-16-0-button, sd-6-16-0-radio-button";return(e=r.closest(i))!=null?e:r.querySelector(i)}export{s as a};
1
+ import{a as m,b as g,c as b,d as h,h as u}from"./chunk.M6E2RMEB.js";import{b as d,e as c}from"./chunk.UOAG5PNU.js";import{e as l}from"./chunk.6EV4YU6C.js";var s=class extends u{constructor(){super(...arguments);this.disableRole=!1;this.label=""}handleFocus(e){let t=a(e.target);t==null||t.classList.add("sd-6-16-2-button-group__button--focus")}handleBlur(e){let t=a(e.target);t==null||t.classList.remove("sd-6-16-2-button-group__button--focus")}handleMouseOver(e){let t=a(e.target);t==null||t.classList.add("sd-6-16-2-button-group__button--hover")}handleMouseOut(e){let t=a(e.target);t==null||t.classList.remove("sd-6-16-2-button-group__button--hover")}handleSlotChange(){let e=[...this.defaultSlot.assignedElements({flatten:!0})];e.forEach(t=>{let n=e.indexOf(t),o=a(t);o!==null&&(o.classList.add("sd-6-16-2-button-group__button"),o.classList.toggle("sd-6-16-2-button-group__button--first",n===0),o.classList.toggle("sd-6-16-2-button-group__button--inner",n>0&&n<e.length-1),o.classList.toggle("sd-6-16-2-button-group__button--last",n===e.length-1),o.classList.toggle("sd-6-16-2-button-group__button--radio",o.tagName.toLowerCase()==="sd-6-16-2-radio-button"))})}render(){return c`<slot part="base" role="${this.disableRole?"presentation":"group"}" aria-label="${this.label}" @focusout="${this.handleBlur}" @focusin="${this.handleFocus}" @mouseover="${this.handleMouseOver}" @mouseout="${this.handleMouseOut}" @slotchange="${this.handleSlotChange}"></slot>`}};s.styles=[...u.styles,d`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{display:inline-block}[part=base]{display:flex;flex-wrap:nowrap}`],l([h("slot")],s.prototype,"defaultSlot",2),l([b()],s.prototype,"disableRole",2),l([g({type:String,reflect:!0})],s.prototype,"label",2),s=l([m("sd-6-16-2-button-group")],s);function a(r){var e;let i="sd-6-16-2-button, sd-6-16-2-radio-button";return(e=r.closest(i))!=null?e:r.querySelector(i)}export{s 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.3XPSGHFS.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.DX2U3PRB.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-6-16-0-icon class="${a(this.disabled||this.visuallyDisabled?"text-neutral-500":"text-neutral-700",o)}" library="_internal" name="closing-round"></sd-6-16-0-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-6-16-0-icon class="${a(c,o)}" library="_internal" name="eye"></sd-6-16-0-icon></slot>`:r`<slot name="hide-password-icon"><sd-6-16-0-icon class="${a(c,o)}" library="_internal" name="eye-crossed-out"></sd-6-16-0-icon></slot>`}</button>`:""} ${(this.type==="date"||this.type==="datetime-local")&&!J?r`<sd-6-16-0-icon class="${a(c,d,o)}" library="_internal" name="calendar"></sd-6-16-0-icon>`:""} ${this.type==="time"?r`<sd-6-16-0-icon class="${a(c,d,o)}" library="_internal" name="clock"></sd-6-16-0-icon>`:""} ${this.type==="search"?r`<button class="${a("flex items-center sd-interactive",d)}" type="button" @click="${this.handleSearchClick}"><sd-6-16-0-icon class="${a(c,o)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-6-16-0-icon></button>`:""} ${this.showInvalidStyle?r`<sd-6-16-0-icon part="invalid-icon" class="${a("text-error",d,o)}" library="_internal" name="risk"></sd-6-16-0-icon>`:""} ${this.showValidStyle&&this.styleOnValid?r`<sd-6-16-0-icon class="${a("text-success flex-shrink-0",d,o)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-6-16-0-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-6-16-0-icon library="_internal" name="minus-circle" label="Decrease value" class="${a(c,d,o)}"></sd-6-16-0-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-6-16-0-icon library="_internal" name="plus-circle" label="Decrease value" class="${a(c,d,o)}"></sd-6-16-0-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.1 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
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-6-16-0-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-6-16-0-input")],t);export{t as a};
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.3XPSGHFS.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.M6E2RMEB.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-6-16-2-icon class="${a(this.disabled||this.visuallyDisabled?"text-neutral-500":"text-neutral-700",o)}" library="_internal" name="closing-round"></sd-6-16-2-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-6-16-2-icon class="${a(c,o)}" library="_internal" name="eye"></sd-6-16-2-icon></slot>`:r`<slot name="hide-password-icon"><sd-6-16-2-icon class="${a(c,o)}" library="_internal" name="eye-crossed-out"></sd-6-16-2-icon></slot>`}</button>`:""} ${(this.type==="date"||this.type==="datetime-local")&&!J?r`<sd-6-16-2-icon class="${a(c,d,o)}" library="_internal" name="calendar"></sd-6-16-2-icon>`:""} ${this.type==="time"?r`<sd-6-16-2-icon class="${a(c,d,o)}" library="_internal" name="clock"></sd-6-16-2-icon>`:""} ${this.type==="search"?r`<button class="${a("flex items-center sd-interactive",d)}" type="button" @click="${this.handleSearchClick}"><sd-6-16-2-icon class="${a(c,o)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-6-16-2-icon></button>`:""} ${this.showInvalidStyle?r`<sd-6-16-2-icon part="invalid-icon" class="${a("text-error",d,o)}" library="_internal" name="risk"></sd-6-16-2-icon>`:""} ${this.showValidStyle&&this.styleOnValid?r`<sd-6-16-2-icon class="${a("text-success flex-shrink-0",d,o)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-6-16-2-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-6-16-2-icon library="_internal" name="minus-circle" label="Decrease value" class="${a(c,d,o)}"></sd-6-16-2-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-6-16-2-icon library="_internal" name="plus-circle" label="Decrease value" class="${a(c,d,o)}"></sd-6-16-2-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.1 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
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-6-16-2-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-6-16-2-input")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{b as y}from"./chunk.HLDWO3HP.js";import{a as u,b as p,c as a}from"./chunk.54UVKIZB.js";import{a as v}from"./chunk.TWZDCIM2.js";import{a as h}from"./chunk.NYKJXI3Q.js";import{a as d,b as s,c as f,h as n}from"./chunk.DX2U3PRB.js";import{b as g,e as b}from"./chunk.UOAG5PNU.js";import{e as r}from"./chunk.6EV4YU6C.js";var c,t=class extends n{constructor(){super(...arguments);this.svg="";this.label="";this.library="default";this.color="currentColor"}connectedCallback(){super.connectedCallback(),u(this)}firstUpdated(){this.setIcon()}disconnectedCallback(){super.disconnectedCallback(),p(this)}onThemeChange(){this.setIcon()}getUrl(){let e=a(this.library);return this.name&&e?e.name==="_internal"?e.resolver(this.name,this):e.resolver(this.name):this.src}handleLabelChange(){typeof this.label=="string"&&this.label.length>0?(this.setAttribute("role","img"),this.setAttribute("aria-label",this.label),this.removeAttribute("aria-hidden")):(this.removeAttribute("role"),this.removeAttribute("aria-label"),this.setAttribute("aria-hidden","true"))}async setIcon(){var m;let e=a(this.library),i=this.getUrl();if(c||(c=new DOMParser),i)try{let l=await v(i);if(i===this.getUrl())if(l.ok){let o=c.parseFromString(l.svg,"text/html").body.querySelector("svg");o!==null?((m=e==null?void 0:e.mutator)==null||m.call(e,o),this.svg=o.outerHTML,this.emit("sd-load")):(this.svg="",this.emit("sd-error"))}else this.svg="",this.emit("sd-error")}catch(l){this.emit("sd-error")}else this.svg.length>0&&(this.svg="")}render(){return b`<sd-6-16-0-theme-listener></sd-6-16-0-theme-listener>${y(this.svg)}`}};t.styles=[...n.styles,g`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{width:1em;height:1em;box-sizing:content-box!important;display:inline-block}svg{display:block;height:100%;width:100%}:host([color=primary]) svg{color:rgba(var(--sd-color-icon-fill-primary,var(--sd-color-primary)))}:host([color=white]) svg{color:rgba(var(--sd-color-text-white))}`],r([f()],t.prototype,"svg",2),r([s({reflect:!0})],t.prototype,"name",2),r([s()],t.prototype,"src",2),r([s()],t.prototype,"label",2),r([s({reflect:!0})],t.prototype,"library",2),r([s({reflect:!0})],t.prototype,"color",2),r([h("label")],t.prototype,"handleLabelChange",1),r([h(["name","src","library"])],t.prototype,"setIcon",1),t=r([d("sd-6-16-0-icon")],t);export{t as a};
1
+ import{b as y}from"./chunk.HLDWO3HP.js";import{a as u,b as p,c as a}from"./chunk.54UVKIZB.js";import{a as v}from"./chunk.TWZDCIM2.js";import{a as h}from"./chunk.NYKJXI3Q.js";import{a as d,b as s,c as f,h as n}from"./chunk.M6E2RMEB.js";import{b as g,e as b}from"./chunk.UOAG5PNU.js";import{e as r}from"./chunk.6EV4YU6C.js";var c,t=class extends n{constructor(){super(...arguments);this.svg="";this.label="";this.library="default";this.color="currentColor"}connectedCallback(){super.connectedCallback(),u(this)}firstUpdated(){this.setIcon()}disconnectedCallback(){super.disconnectedCallback(),p(this)}onThemeChange(){this.setIcon()}getUrl(){let e=a(this.library);return this.name&&e?e.name==="_internal"?e.resolver(this.name,this):e.resolver(this.name):this.src}handleLabelChange(){typeof this.label=="string"&&this.label.length>0?(this.setAttribute("role","img"),this.setAttribute("aria-label",this.label),this.removeAttribute("aria-hidden")):(this.removeAttribute("role"),this.removeAttribute("aria-label"),this.setAttribute("aria-hidden","true"))}async setIcon(){var m;let e=a(this.library),i=this.getUrl();if(c||(c=new DOMParser),i)try{let l=await v(i);if(i===this.getUrl())if(l.ok){let o=c.parseFromString(l.svg,"text/html").body.querySelector("svg");o!==null?((m=e==null?void 0:e.mutator)==null||m.call(e,o),this.svg=o.outerHTML,this.emit("sd-load")):(this.svg="",this.emit("sd-error"))}else this.svg="",this.emit("sd-error")}catch(l){this.emit("sd-error")}else this.svg.length>0&&(this.svg="")}render(){return b`<sd-6-16-2-theme-listener></sd-6-16-2-theme-listener>${y(this.svg)}`}};t.styles=[...n.styles,g`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{width:1em;height:1em;box-sizing:content-box!important;display:inline-block}svg{display:block;height:100%;width:100%}:host([color=primary]) svg{color:rgba(var(--sd-color-icon-fill-primary,var(--sd-color-primary)))}:host([color=white]) svg{color:rgba(var(--sd-color-text-white))}`],r([f()],t.prototype,"svg",2),r([s({reflect:!0})],t.prototype,"name",2),r([s()],t.prototype,"src",2),r([s()],t.prototype,"label",2),r([s({reflect:!0})],t.prototype,"library",2),r([s({reflect:!0})],t.prototype,"color",2),r([h("label")],t.prototype,"handleLabelChange",1),r([h(["name","src","library"])],t.prototype,"setIcon",1),t=r([d("sd-6-16-2-icon")],t);export{t as a};
@@ -1,4 +1,4 @@
1
- import{a as T,b as M}from"./chunk.G7HKVXLR.js";import{c as L}from"./chunk.3L472FD4.js";import{a as u,c as m}from"./chunk.B2NUKX6G.js";import{a as c}from"./chunk.KLRPP4NQ.js";import{a as v}from"./chunk.IQPMMUES.js";import{a as k}from"./chunk.3XPSGHFS.js";import{a as E}from"./chunk.NYKJXI3Q.js";import{a as w,b as o,d as r,h}from"./chunk.DX2U3PRB.js";import{b as y,e as b}from"./chunk.UOAG5PNU.js";import{b as d,e as p}from"./chunk.W4QBFD6E.js";import{e as i}from"./chunk.6EV4YU6C.js";function C(f,g){let e=f;for(;e;){if(e.matches(g))return e;if(e.parentElement)e=e.parentElement;else if(e.parentNode instanceof ShadowRoot)e=e.parentNode.host;else break}return null}var n=class extends h{constructor(){super(...arguments);this.localize=new v(this);this.open=!1;this.rounded=!1;this.placement="bottom-start";this.disabled=!1;this.stayOpenOnSelect=!1;this.distance=0;this.skidding=0;this.noAutoSize=!1;this.noFlip=!1;this.hoist=!1}connectedCallback(){super.connectedCallback(),this.handleMenuItemActivate=this.handleMenuItemActivate.bind(this),this.handlePanelSelect=this.handlePanelSelect.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleDocumentKeyDown=this.handleDocumentKeyDown.bind(this),this.handleDocumentMouseDown=this.handleDocumentMouseDown.bind(this),this.containingElement||(this.containingElement=this)}firstUpdated(){this.panel.hidden=!this.open,this.open&&(this.addOpenListeners(),this.popup.active=!0)}disconnectedCallback(){super.disconnectedCallback(),this.removeOpenListeners(),this.hide()}getAccessibleTrigger(){let t=this.trigger.assignedElements({flatten:!0}).find(a=>M(a).start),s=null;if(t)switch(t.tagName.toLowerCase()){case"sd-6-16-0-button":case"sd-6-16-0-icon-button":s=t.button;break;case"sd-6-16-0-navigation-item":s=t.button;break;default:s=t}return s}updateAccessibleTrigger(){let e=this.getAccessibleTrigger();e&&(e.setAttribute("aria-haspopup","true"),e.setAttribute("aria-expanded",this.open?"true":"false"))}focusOnTrigger(){let e=this.getAccessibleTrigger();typeof(e==null?void 0:e.focus)=="function"&&e.focus()}getMenu(){return this.panel.assignedElements({flatten:!0}).find(e=>e.tagName.toLowerCase()==="sd-6-16-0-menu")}handleKeyDown(e){this.open&&e.key==="Escape"&&(e.stopPropagation(),this.hide(),this.focusOnTrigger())}handleDocumentKeyDown(e){var t;if(e.key==="Tab"){if(this.open&&((t=document.activeElement)==null?void 0:t.tagName.toLowerCase())==="sd-6-16-0-menu-item"){e.preventDefault(),this.hide(),this.focusOnTrigger();return}setTimeout(()=>{let s=T();(!s||!this.containingElement||C(s,this.containingElement.tagName.toLowerCase())!==this.containingElement)&&this.hide()})}}handleDocumentMouseDown(e){let t=e.composedPath();this.containingElement&&!t.includes(this.containingElement)&&this.hide()}handleMenuItemActivate(e){let t=e.target;L(t,this.panel)}handlePanelSelect(e){let t=e.target;!this.stayOpenOnSelect&&t.tagName.toLowerCase()==="sd-6-16-0-menu"&&(this.hide(),this.focusOnTrigger())}handleTriggerClick(){if(this.open){let e=this.getMenu();if(e){let t=e.getCurrentItem();t==null||t.classList.remove("menu-item-focus")}this.hide()}else this.show()}handleTriggerKeyDown(e){if(e.key==="Escape"&&this.open){e.stopPropagation(),this.focusOnTrigger(),this.handleTriggerClick();return}if([" ","Enter"].includes(e.key)){e.preventDefault(),this.handleTriggerClick();return}let t=this.getMenu();if(t){let s=t.defaultSlot.assignedElements({flatten:!0}),a=s.find(A=>!A.disabled)||s[0],l=s[s.length-1];["ArrowDown","ArrowUp","Home","End"].includes(e.key)&&(e.preventDefault(),this.open||this.show(),s.length>0&&requestAnimationFrame(()=>{(e.key==="ArrowDown"||e.key==="Home")&&(t.setCurrentItem(a),a.focus(),a.classList.add("menu-item-focus")),(e.key==="ArrowUp"||e.key==="End")&&(t.setCurrentItem(l),l.focus(),l.classList.add("menu-item-focus"))}))}}handleTriggerKeyUp(e){e.key===" "&&e.preventDefault()}handleTriggerSlotChange(){this.updateAccessibleTrigger()}async show(){if(!this.open)return this.open=!0,c(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,c(this,"sd-after-hide")}reposition(){this.popup.reposition()}addOpenListeners(){this.panel.addEventListener("sd-activate",this.handleMenuItemActivate),this.panel.addEventListener("sd-6-16-0-select",this.handlePanelSelect),this.panel.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keydown",this.handleDocumentKeyDown),document.addEventListener("mousedown",this.handleDocumentMouseDown)}removeOpenListeners(){this.panel&&(this.panel.removeEventListener("sd-activate",this.handleMenuItemActivate),this.panel.removeEventListener("sd-6-16-0-select",this.handlePanelSelect),this.panel.removeEventListener("keydown",this.handleKeyDown)),document.removeEventListener("keydown",this.handleDocumentKeyDown),document.removeEventListener("mousedown",this.handleDocumentMouseDown)}async handleOpenChange(){if(this.disabled){this.open=!1;return}if(this.updateAccessibleTrigger(),this.open){this.emit("sd-show"),this.addOpenListeners(),await p(this),this.panel.hidden=!1,this.popup.active=!0;let{keyframes:e,options:t}=m(this,"dropdown.show",{dir:this.localize.dir()});await d(this.popup.popup,e,t),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),await p(this);let{keyframes:e,options:t}=m(this,"dropdown.hide",{dir:this.localize.dir()});await d(this.popup.popup,e,t),this.panel.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}}render(){return b`<sd-6-16-0-popup part="base" id="dropdown" exportparts="
1
+ import{a as T,b as M}from"./chunk.G7HKVXLR.js";import{c as L}from"./chunk.3L472FD4.js";import{a as u,c as m}from"./chunk.B2NUKX6G.js";import{a as c}from"./chunk.KLRPP4NQ.js";import{a as v}from"./chunk.IQPMMUES.js";import{a as k}from"./chunk.3XPSGHFS.js";import{a as E}from"./chunk.NYKJXI3Q.js";import{a as w,b as o,d as r,h}from"./chunk.M6E2RMEB.js";import{b as y,e as b}from"./chunk.UOAG5PNU.js";import{b as d,e as p}from"./chunk.W4QBFD6E.js";import{e as i}from"./chunk.6EV4YU6C.js";function C(f,g){let e=f;for(;e;){if(e.matches(g))return e;if(e.parentElement)e=e.parentElement;else if(e.parentNode instanceof ShadowRoot)e=e.parentNode.host;else break}return null}var n=class extends h{constructor(){super(...arguments);this.localize=new v(this);this.open=!1;this.rounded=!1;this.placement="bottom-start";this.disabled=!1;this.stayOpenOnSelect=!1;this.distance=0;this.skidding=0;this.noAutoSize=!1;this.noFlip=!1;this.hoist=!1}connectedCallback(){super.connectedCallback(),this.handleMenuItemActivate=this.handleMenuItemActivate.bind(this),this.handlePanelSelect=this.handlePanelSelect.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleDocumentKeyDown=this.handleDocumentKeyDown.bind(this),this.handleDocumentMouseDown=this.handleDocumentMouseDown.bind(this),this.containingElement||(this.containingElement=this)}firstUpdated(){this.panel.hidden=!this.open,this.open&&(this.addOpenListeners(),this.popup.active=!0)}disconnectedCallback(){super.disconnectedCallback(),this.removeOpenListeners(),this.hide()}getAccessibleTrigger(){let t=this.trigger.assignedElements({flatten:!0}).find(a=>M(a).start),s=null;if(t)switch(t.tagName.toLowerCase()){case"sd-6-16-2-button":case"sd-6-16-2-icon-button":s=t.button;break;case"sd-6-16-2-navigation-item":s=t.button;break;default:s=t}return s}updateAccessibleTrigger(){let e=this.getAccessibleTrigger();e&&(e.setAttribute("aria-haspopup","true"),e.setAttribute("aria-expanded",this.open?"true":"false"))}focusOnTrigger(){let e=this.getAccessibleTrigger();typeof(e==null?void 0:e.focus)=="function"&&e.focus()}getMenu(){return this.panel.assignedElements({flatten:!0}).find(e=>e.tagName.toLowerCase()==="sd-6-16-2-menu")}handleKeyDown(e){this.open&&e.key==="Escape"&&(e.stopPropagation(),this.hide(),this.focusOnTrigger())}handleDocumentKeyDown(e){var t;if(e.key==="Tab"){if(this.open&&((t=document.activeElement)==null?void 0:t.tagName.toLowerCase())==="sd-6-16-2-menu-item"){e.preventDefault(),this.hide(),this.focusOnTrigger();return}setTimeout(()=>{let s=T();(!s||!this.containingElement||C(s,this.containingElement.tagName.toLowerCase())!==this.containingElement)&&this.hide()})}}handleDocumentMouseDown(e){let t=e.composedPath();this.containingElement&&!t.includes(this.containingElement)&&this.hide()}handleMenuItemActivate(e){let t=e.target;L(t,this.panel)}handlePanelSelect(e){let t=e.target;!this.stayOpenOnSelect&&t.tagName.toLowerCase()==="sd-6-16-2-menu"&&(this.hide(),this.focusOnTrigger())}handleTriggerClick(){if(this.open){let e=this.getMenu();if(e){let t=e.getCurrentItem();t==null||t.classList.remove("menu-item-focus")}this.hide()}else this.show()}handleTriggerKeyDown(e){if(e.key==="Escape"&&this.open){e.stopPropagation(),this.focusOnTrigger(),this.handleTriggerClick();return}if([" ","Enter"].includes(e.key)){e.preventDefault(),this.handleTriggerClick();return}let t=this.getMenu();if(t){let s=t.defaultSlot.assignedElements({flatten:!0}),a=s.find(A=>!A.disabled)||s[0],l=s[s.length-1];["ArrowDown","ArrowUp","Home","End"].includes(e.key)&&(e.preventDefault(),this.open||this.show(),s.length>0&&requestAnimationFrame(()=>{(e.key==="ArrowDown"||e.key==="Home")&&(t.setCurrentItem(a),a.focus(),a.classList.add("menu-item-focus")),(e.key==="ArrowUp"||e.key==="End")&&(t.setCurrentItem(l),l.focus(),l.classList.add("menu-item-focus"))}))}}handleTriggerKeyUp(e){e.key===" "&&e.preventDefault()}handleTriggerSlotChange(){this.updateAccessibleTrigger()}async show(){if(!this.open)return this.open=!0,c(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,c(this,"sd-after-hide")}reposition(){this.popup.reposition()}addOpenListeners(){this.panel.addEventListener("sd-activate",this.handleMenuItemActivate),this.panel.addEventListener("sd-6-16-2-select",this.handlePanelSelect),this.panel.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keydown",this.handleDocumentKeyDown),document.addEventListener("mousedown",this.handleDocumentMouseDown)}removeOpenListeners(){this.panel&&(this.panel.removeEventListener("sd-activate",this.handleMenuItemActivate),this.panel.removeEventListener("sd-6-16-2-select",this.handlePanelSelect),this.panel.removeEventListener("keydown",this.handleKeyDown)),document.removeEventListener("keydown",this.handleDocumentKeyDown),document.removeEventListener("mousedown",this.handleDocumentMouseDown)}async handleOpenChange(){if(this.disabled){this.open=!1;return}if(this.updateAccessibleTrigger(),this.open){this.emit("sd-show"),this.addOpenListeners(),await p(this),this.panel.hidden=!1,this.popup.active=!0;let{keyframes:e,options:t}=m(this,"dropdown.show",{dir:this.localize.dir()});await d(this.popup.popup,e,t),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),await p(this);let{keyframes:e,options:t}=m(this,"dropdown.hide",{dir:this.localize.dir()});await d(this.popup.popup,e,t),this.panel.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}}render(){return b`<sd-6-16-2-popup part="base" id="dropdown" exportparts="
2
2
  popup:base__popup,
3
- " placement="${this.placement}" distance="${this.rounded&&this.distance<1?1:this.distance}" skidding="${this.skidding}" strategy="${this.hoist?"fixed":"absolute"}" ?flip="${!this.noFlip}" shift auto-size="vertical" auto-size-padding="10"><slot name="trigger" slot="anchor" part="trigger" class="block" @click="${this.handleTriggerClick}" @keydown="${this.handleTriggerKeyDown}" @keyup="${this.handleTriggerKeyUp}" @slotchange="${this.handleTriggerSlotChange}"></slot><slot part="panel" class="${k("panel-color-border border shadow sd-6-16-0-dropdown-color-background block",this.open?"pointer-events-auto":"pointer-events-none",this.rounded&&"rounded-md")}" aria-hidden="${this.open?"false":"true"}" aria-labelledby="dropdown"></slot></sd-6-16-0-popup>`}};n.styles=[...h.styles,y`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
4
- :host{display:inline-block}#dropdown::part(popup){z-index:var(--sd-z-index-dropdown,900)}#dropdown[data-current-placement^=top]::part(popup){transform-origin:bottom}#dropdown[data-current-placement^=bottom]::part(popup){transform-origin:top}#dropdown[data-current-placement^=left]::part(popup){transform-origin:100%}#dropdown[data-current-placement^=right]::part(popup){transform-origin:0}:host(:not([no-auto-size])) ::slotted(:not([slot=trigger])){overflow:auto;max-width:var(--auto-size-available-width)!important;max-height:var(--auto-size-available-height)!important}`],i([r("#dropdown")],n.prototype,"popup",2),i([r("[part=trigger]")],n.prototype,"trigger",2),i([r("[part=panel]")],n.prototype,"panel",2),i([o({type:Boolean,reflect:!0})],n.prototype,"open",2),i([o({type:Boolean,reflect:!0})],n.prototype,"rounded",2),i([o({type:String,reflect:!0})],n.prototype,"placement",2),i([o({type:Boolean,reflect:!0})],n.prototype,"disabled",2),i([o({attribute:"stay-open-on-select",type:Boolean,reflect:!0})],n.prototype,"stayOpenOnSelect",2),i([o({type:Object})],n.prototype,"containingElement",2),i([o({type:Number,reflect:!0})],n.prototype,"distance",2),i([o({type:Number,reflect:!0})],n.prototype,"skidding",2),i([o({type:Boolean,reflect:!0,attribute:"no-auto-size"})],n.prototype,"noAutoSize",2),i([o({type:Boolean,reflect:!0,attribute:"no-flip"})],n.prototype,"noFlip",2),i([o({type:Boolean,reflect:!0})],n.prototype,"hoist",2),i([E("open",{waitUntilFirstUpdate:!0})],n.prototype,"handleOpenChange",1),n=i([w("sd-6-16-0-dropdown")],n);u("dropdown.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});u("dropdown.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{n as a};
3
+ " placement="${this.placement}" distance="${this.rounded&&this.distance<1?1:this.distance}" skidding="${this.skidding}" strategy="${this.hoist?"fixed":"absolute"}" ?flip="${!this.noFlip}" shift auto-size="vertical" auto-size-padding="10"><slot name="trigger" slot="anchor" part="trigger" class="block" @click="${this.handleTriggerClick}" @keydown="${this.handleTriggerKeyDown}" @keyup="${this.handleTriggerKeyUp}" @slotchange="${this.handleTriggerSlotChange}"></slot><slot part="panel" class="${k("panel-color-border border shadow sd-6-16-2-dropdown-color-background block",this.open?"pointer-events-auto":"pointer-events-none",this.rounded&&"rounded-md")}" aria-hidden="${this.open?"false":"true"}" aria-labelledby="dropdown"></slot></sd-6-16-2-popup>`}};n.styles=[...h.styles,y`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
4
+ :host{display:inline-block}#dropdown::part(popup){z-index:var(--sd-z-index-dropdown,900)}#dropdown[data-current-placement^=top]::part(popup){transform-origin:bottom}#dropdown[data-current-placement^=bottom]::part(popup){transform-origin:top}#dropdown[data-current-placement^=left]::part(popup){transform-origin:100%}#dropdown[data-current-placement^=right]::part(popup){transform-origin:0}:host(:not([no-auto-size])) ::slotted(:not([slot=trigger])){overflow:auto;max-width:var(--auto-size-available-width)!important;max-height:var(--auto-size-available-height)!important}`],i([r("#dropdown")],n.prototype,"popup",2),i([r("[part=trigger]")],n.prototype,"trigger",2),i([r("[part=panel]")],n.prototype,"panel",2),i([o({type:Boolean,reflect:!0})],n.prototype,"open",2),i([o({type:Boolean,reflect:!0})],n.prototype,"rounded",2),i([o({type:String,reflect:!0})],n.prototype,"placement",2),i([o({type:Boolean,reflect:!0})],n.prototype,"disabled",2),i([o({attribute:"stay-open-on-select",type:Boolean,reflect:!0})],n.prototype,"stayOpenOnSelect",2),i([o({type:Object})],n.prototype,"containingElement",2),i([o({type:Number,reflect:!0})],n.prototype,"distance",2),i([o({type:Number,reflect:!0})],n.prototype,"skidding",2),i([o({type:Boolean,reflect:!0,attribute:"no-auto-size"})],n.prototype,"noAutoSize",2),i([o({type:Boolean,reflect:!0,attribute:"no-flip"})],n.prototype,"noFlip",2),i([o({type:Boolean,reflect:!0})],n.prototype,"hoist",2),i([E("open",{waitUntilFirstUpdate:!0})],n.prototype,"handleOpenChange",1),n=i([w("sd-6-16-2-dropdown")],n);u("dropdown.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});u("dropdown.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{n as a};