@solid-design-system/components 7.0.0-next.3 → 7.0.0-next.5

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 (687) hide show
  1. package/cdn/chunks/{chunk.JI2XVLZH.js → chunk.2NMI4IMW.js} +1 -1
  2. package/cdn/chunks/chunk.2RZYE6WS.js +2 -0
  3. package/cdn/chunks/{chunk.XPALAZ3K.js → chunk.37LI5ZGF.js} +1 -1
  4. package/cdn/chunks/{chunk.MHW6ZP4T.js → chunk.4LTF6WSR.js} +1 -1
  5. package/cdn/chunks/{chunk.WZSNE2FO.js → chunk.527L2CZY.js} +1 -1
  6. package/cdn/chunks/{chunk.UY5TXYXC.js → chunk.56YJ2WAH.js} +1 -1
  7. package/cdn/chunks/{chunk.HBXGLINC.js → chunk.5VGZAFVH.js} +1 -1
  8. package/cdn/chunks/{chunk.XIIQ37KS.js → chunk.ABWY3UEV.js} +1 -1
  9. package/cdn/chunks/{chunk.XNB5UHRT.js → chunk.AOUISY5V.js} +1 -1
  10. package/cdn/chunks/{chunk.KOMME47J.js → chunk.ASLNOVWU.js} +1 -1
  11. package/cdn/chunks/{chunk.UBUSZ4VB.js → chunk.AWZRG352.js} +1 -1
  12. package/cdn/chunks/{chunk.V3PA35KW.js → chunk.BBYQCEVJ.js} +1 -1
  13. package/cdn/chunks/{chunk.64SUNU54.js → chunk.BU3WJEQO.js} +1 -1
  14. package/cdn/chunks/{chunk.6WQRLB7U.js → chunk.C3VAPTHQ.js} +1 -1
  15. package/cdn/chunks/{chunk.D7PE6JKX.js → chunk.CPADK7ID.js} +1 -1
  16. package/cdn/chunks/{chunk.7XY6DMAY.js → chunk.CZZALOJV.js} +1 -1
  17. package/cdn/chunks/{chunk.NATZPKHW.js → chunk.DES4F4O5.js} +1 -1
  18. package/cdn/chunks/{chunk.SWPN5WUJ.js → chunk.ED5F3LFQ.js} +1 -1
  19. package/cdn/chunks/{chunk.5F5NZQB2.js → chunk.EPCODACV.js} +1 -1
  20. package/cdn/chunks/{chunk.JURMXI5Y.js → chunk.F3NJ3MS2.js} +1 -1
  21. package/cdn/chunks/{chunk.LICVZSAH.js → chunk.F5VOMVKM.js} +1 -1
  22. package/cdn/chunks/{chunk.IWKYZ6J2.js → chunk.FAMQ3R5L.js} +1 -1
  23. package/cdn/chunks/{chunk.XY6LAPFB.js → chunk.FC5MDILE.js} +1 -1
  24. package/cdn/chunks/{chunk.U5LYN6TY.js → chunk.FFGGMC7L.js} +1 -1
  25. package/cdn/chunks/{chunk.KR27MICN.js → chunk.FHNI2ZHK.js} +1 -1
  26. package/cdn/chunks/{chunk.IZCKJLZR.js → chunk.FOZON5G3.js} +1 -1
  27. package/cdn/chunks/{chunk.YL7463TI.js → chunk.GX6VKWQR.js} +1 -1
  28. package/cdn/chunks/{chunk.ZAB7A5W7.js → chunk.GYJ2EUFX.js} +1 -1
  29. package/cdn/chunks/{chunk.SKS4G5SG.js → chunk.HAXNHIUM.js} +1 -1
  30. package/cdn/chunks/{chunk.NJ5CEN2R.js → chunk.HDVJJQ4J.js} +1 -1
  31. package/cdn/chunks/{chunk.UN7DL2MN.js → chunk.HNCFDHOB.js} +1 -1
  32. package/cdn/chunks/{chunk.3H5XUPF5.js → chunk.I5IRF4EC.js} +1 -1
  33. package/cdn/chunks/{chunk.NICDKFPS.js → chunk.IBK2BFUZ.js} +1 -1
  34. package/cdn/chunks/{chunk.RLTO5J3E.js → chunk.IJJNHG64.js} +1 -1
  35. package/cdn/chunks/{chunk.QTPFQGR7.js → chunk.IQYLPFSL.js} +1 -1
  36. package/cdn/chunks/{chunk.ZXQQJBCT.js → chunk.JALQ34YQ.js} +1 -1
  37. package/cdn/chunks/{chunk.2XJ2J3VL.js → chunk.KIXCTEKX.js} +1 -1
  38. package/cdn/chunks/{chunk.4QZMOBX3.js → chunk.KRIH5SXL.js} +2 -2
  39. package/cdn/chunks/{chunk.YG4OTB7M.js → chunk.LLP64RUU.js} +1 -1
  40. package/cdn/chunks/chunk.LWHAGM6K.js +2 -0
  41. package/cdn/chunks/{chunk.47KQZYJR.js → chunk.O5XCNWOS.js} +1 -1
  42. package/cdn/chunks/chunk.OKNJ5BPS.js +1 -0
  43. package/cdn/chunks/{chunk.ZXMU6GLZ.js → chunk.OPCPOTSZ.js} +1 -1
  44. package/cdn/chunks/{chunk.NFDBY4LL.js → chunk.QBHL5XJ4.js} +1 -1
  45. package/cdn/chunks/{chunk.7LHRDGWP.js → chunk.RNNHOTZ2.js} +1 -1
  46. package/cdn/chunks/{chunk.PJ4AHTMH.js → chunk.RX7YTMVI.js} +1 -1
  47. package/cdn/chunks/{chunk.X2QW55HD.js → chunk.SAMJ2274.js} +1 -1
  48. package/cdn/chunks/{chunk.36YZDWQH.js → chunk.SBZIHHZP.js} +1 -1
  49. package/cdn/chunks/{chunk.2MPVWXFB.js → chunk.STU5DDPP.js} +1 -1
  50. package/cdn/chunks/{chunk.PNRCMW5N.js → chunk.TZWZZ2KQ.js} +1 -1
  51. package/cdn/chunks/chunk.UJSGROB7.js +12 -0
  52. package/cdn/chunks/chunk.UO5AU7FY.js +26 -0
  53. package/cdn/chunks/{chunk.QW2U4ORE.js → chunk.VFUGKO7O.js} +1 -1
  54. package/cdn/chunks/{chunk.5ITG6KGD.js → chunk.W3CNA4YF.js} +1 -1
  55. package/cdn/chunks/{chunk.KZ5SFF6G.js → chunk.WFF4K3QT.js} +1 -1
  56. package/cdn/chunks/{chunk.K6TOCFIN.js → chunk.WMVQHRH3.js} +1 -1
  57. package/cdn/chunks/{chunk.UTBC4DI6.js → chunk.WSUEWML7.js} +1 -1
  58. package/cdn/chunks/{chunk.DIDMWRN3.js → chunk.WUC4PL54.js} +1 -1
  59. package/cdn/chunks/{chunk.LVATN3YW.js → chunk.XMVOXQO7.js} +1 -1
  60. package/cdn/chunks/{chunk.CWSVXPYD.js → chunk.XPQGRFFJ.js} +1 -1
  61. package/cdn/chunks/chunk.YI7K5DSK.js +4 -0
  62. package/cdn/components/accordion/accordion.js +1 -1
  63. package/cdn/components/accordion-group/accordion-group.js +1 -1
  64. package/cdn/components/animation/animation.js +1 -1
  65. package/cdn/components/audio/audio.js +1 -1
  66. package/cdn/components/badge/badge.js +1 -1
  67. package/cdn/components/brandshape/brandshape.js +1 -1
  68. package/cdn/components/breadcrumb/breadcrumb.js +1 -1
  69. package/cdn/components/breadcrumb-item/breadcrumb-item.js +1 -1
  70. package/cdn/components/button/button.d.ts +5 -0
  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.d.ts +6 -8
  80. package/cdn/components/dialog/dialog.js +1 -1
  81. package/cdn/components/divider/divider.js +1 -1
  82. package/cdn/components/drawer/drawer.d.ts +2 -10
  83. package/cdn/components/drawer/drawer.js +1 -1
  84. package/cdn/components/dropdown/dropdown.js +1 -1
  85. package/cdn/components/expandable/expandable.js +1 -1
  86. package/cdn/components/flipcard/flipcard.js +1 -1
  87. package/cdn/components/header/header.js +1 -1
  88. package/cdn/components/icon/icon.js +1 -1
  89. package/cdn/components/include/include.js +1 -1
  90. package/cdn/components/input/input.js +1 -1
  91. package/cdn/components/link/link.js +1 -1
  92. package/cdn/components/loader/loader.js +1 -1
  93. package/cdn/components/map-marker/map-marker.js +1 -1
  94. package/cdn/components/menu/menu.js +1 -1
  95. package/cdn/components/menu-item/menu-item.js +1 -1
  96. package/cdn/components/navigation-item/navigation-item.js +1 -1
  97. package/cdn/components/notification/notification.js +1 -1
  98. package/cdn/components/optgroup/optgroup.js +1 -1
  99. package/cdn/components/option/option.js +1 -1
  100. package/cdn/components/popup/popup.js +1 -1
  101. package/cdn/components/progress-bar/progress-bar.js +1 -1
  102. package/cdn/components/quickfact/quickfact.js +1 -1
  103. package/cdn/components/radio/radio.js +1 -1
  104. package/cdn/components/radio-button/radio-button.js +1 -1
  105. package/cdn/components/radio-group/radio-group.js +1 -1
  106. package/cdn/components/range/range.js +1 -1
  107. package/cdn/components/range-tick/range-tick.js +1 -1
  108. package/cdn/components/scrollable/scrollable.js +1 -1
  109. package/cdn/components/select/select.js +1 -1
  110. package/cdn/components/skeleton/skeleton.js +1 -1
  111. package/cdn/components/step/step.js +1 -1
  112. package/cdn/components/step-group/step-group.js +1 -1
  113. package/cdn/components/switch/switch.js +1 -1
  114. package/cdn/components/tab/tab.js +1 -1
  115. package/cdn/components/tab-group/tab-group.js +1 -1
  116. package/cdn/components/tab-panel/tab-panel.js +1 -1
  117. package/cdn/components/tag/tag.js +1 -1
  118. package/cdn/components/teaser/teaser.js +1 -1
  119. package/cdn/components/teaser-media/teaser-media.js +1 -1
  120. package/cdn/components/textarea/textarea.js +1 -1
  121. package/cdn/components/theme-listener/theme-listener.js +1 -1
  122. package/cdn/components/tooltip/tooltip.js +1 -1
  123. package/cdn/components/video/video.js +1 -1
  124. package/cdn/custom-elements.json +9 -198
  125. package/cdn/solid-components.bundle.js +92 -93
  126. package/cdn/solid-components.d.ts +0 -1
  127. package/cdn/solid-components.iife.js +91 -92
  128. package/cdn/solid-components.js +1 -1
  129. package/cdn/utilities/autocomplete-config.js +1 -1
  130. package/cdn/utilities/localize.js +1 -1
  131. package/cdn/vscode.html-custom-data.json +1 -37
  132. package/cdn/web-types.json +2 -59
  133. package/cdn-versioned/chunks/{chunk.JI2XVLZH.js → chunk.2NMI4IMW.js} +2 -2
  134. package/cdn-versioned/chunks/chunk.2RZYE6WS.js +2 -0
  135. package/cdn-versioned/chunks/{chunk.XPALAZ3K.js → chunk.37LI5ZGF.js} +3 -3
  136. package/cdn-versioned/chunks/{chunk.MHW6ZP4T.js → chunk.4LTF6WSR.js} +2 -2
  137. package/cdn-versioned/chunks/{chunk.WZSNE2FO.js → chunk.527L2CZY.js} +2 -2
  138. package/cdn-versioned/chunks/{chunk.UY5TXYXC.js → chunk.56YJ2WAH.js} +2 -2
  139. package/cdn-versioned/chunks/{chunk.HBXGLINC.js → chunk.5VGZAFVH.js} +2 -2
  140. package/cdn-versioned/chunks/{chunk.XIIQ37KS.js → chunk.ABWY3UEV.js} +2 -2
  141. package/cdn-versioned/chunks/{chunk.XNB5UHRT.js → chunk.AOUISY5V.js} +2 -2
  142. package/cdn-versioned/chunks/{chunk.KOMME47J.js → chunk.ASLNOVWU.js} +2 -2
  143. package/cdn-versioned/chunks/{chunk.UBUSZ4VB.js → chunk.AWZRG352.js} +2 -2
  144. package/cdn-versioned/chunks/{chunk.V3PA35KW.js → chunk.BBYQCEVJ.js} +2 -2
  145. package/cdn-versioned/chunks/{chunk.64SUNU54.js → chunk.BU3WJEQO.js} +2 -2
  146. package/cdn-versioned/chunks/{chunk.6WQRLB7U.js → chunk.C3VAPTHQ.js} +2 -2
  147. package/cdn-versioned/chunks/chunk.C45254AN.js +2 -2
  148. package/cdn-versioned/chunks/{chunk.D7PE6JKX.js → chunk.CPADK7ID.js} +2 -2
  149. package/cdn-versioned/chunks/{chunk.7XY6DMAY.js → chunk.CZZALOJV.js} +2 -2
  150. package/cdn-versioned/chunks/{chunk.NATZPKHW.js → chunk.DES4F4O5.js} +2 -2
  151. package/cdn-versioned/chunks/chunk.DSKB3SEU.js +1 -1
  152. package/cdn-versioned/chunks/{chunk.SWPN5WUJ.js → chunk.ED5F3LFQ.js} +2 -2
  153. package/cdn-versioned/chunks/{chunk.5F5NZQB2.js → chunk.EPCODACV.js} +2 -2
  154. package/cdn-versioned/chunks/{chunk.JURMXI5Y.js → chunk.F3NJ3MS2.js} +5 -5
  155. package/cdn-versioned/chunks/{chunk.LICVZSAH.js → chunk.F5VOMVKM.js} +3 -3
  156. package/cdn-versioned/chunks/{chunk.IWKYZ6J2.js → chunk.FAMQ3R5L.js} +2 -2
  157. package/cdn-versioned/chunks/{chunk.XY6LAPFB.js → chunk.FC5MDILE.js} +2 -2
  158. package/cdn-versioned/chunks/{chunk.U5LYN6TY.js → chunk.FFGGMC7L.js} +3 -3
  159. package/cdn-versioned/chunks/{chunk.KR27MICN.js → chunk.FHNI2ZHK.js} +2 -2
  160. package/cdn-versioned/chunks/{chunk.IZCKJLZR.js → chunk.FOZON5G3.js} +2 -2
  161. package/cdn-versioned/chunks/{chunk.YL7463TI.js → chunk.GX6VKWQR.js} +2 -2
  162. package/cdn-versioned/chunks/{chunk.ZAB7A5W7.js → chunk.GYJ2EUFX.js} +2 -2
  163. package/cdn-versioned/chunks/{chunk.SKS4G5SG.js → chunk.HAXNHIUM.js} +2 -2
  164. package/cdn-versioned/chunks/{chunk.NJ5CEN2R.js → chunk.HDVJJQ4J.js} +2 -2
  165. package/cdn-versioned/chunks/{chunk.UN7DL2MN.js → chunk.HNCFDHOB.js} +2 -2
  166. package/cdn-versioned/chunks/{chunk.3H5XUPF5.js → chunk.I5IRF4EC.js} +5 -5
  167. package/cdn-versioned/chunks/{chunk.NICDKFPS.js → chunk.IBK2BFUZ.js} +2 -2
  168. package/cdn-versioned/chunks/{chunk.RLTO5J3E.js → chunk.IJJNHG64.js} +2 -2
  169. package/cdn-versioned/chunks/{chunk.QTPFQGR7.js → chunk.IQYLPFSL.js} +2 -2
  170. package/cdn-versioned/chunks/{chunk.ZXQQJBCT.js → chunk.JALQ34YQ.js} +2 -2
  171. package/cdn-versioned/chunks/{chunk.2XJ2J3VL.js → chunk.KIXCTEKX.js} +2 -2
  172. package/cdn-versioned/chunks/{chunk.4QZMOBX3.js → chunk.KRIH5SXL.js} +2 -2
  173. package/cdn-versioned/chunks/{chunk.YG4OTB7M.js → chunk.LLP64RUU.js} +2 -2
  174. package/cdn-versioned/chunks/chunk.LWHAGM6K.js +2 -0
  175. package/cdn-versioned/chunks/chunk.LZRL7OLU.js +1 -1
  176. package/cdn-versioned/chunks/{chunk.47KQZYJR.js → chunk.O5XCNWOS.js} +2 -2
  177. package/cdn-versioned/chunks/chunk.OKNJ5BPS.js +1 -0
  178. package/cdn-versioned/chunks/{chunk.ZXMU6GLZ.js → chunk.OPCPOTSZ.js} +2 -2
  179. package/cdn-versioned/chunks/{chunk.NFDBY4LL.js → chunk.QBHL5XJ4.js} +2 -2
  180. package/cdn-versioned/chunks/{chunk.7LHRDGWP.js → chunk.RNNHOTZ2.js} +2 -2
  181. package/cdn-versioned/chunks/{chunk.PJ4AHTMH.js → chunk.RX7YTMVI.js} +2 -2
  182. package/cdn-versioned/chunks/{chunk.X2QW55HD.js → chunk.SAMJ2274.js} +2 -2
  183. package/cdn-versioned/chunks/{chunk.36YZDWQH.js → chunk.SBZIHHZP.js} +2 -2
  184. package/cdn-versioned/chunks/{chunk.2MPVWXFB.js → chunk.STU5DDPP.js} +2 -2
  185. package/cdn-versioned/chunks/{chunk.PNRCMW5N.js → chunk.TZWZZ2KQ.js} +2 -2
  186. package/cdn-versioned/chunks/chunk.UJSGROB7.js +12 -0
  187. package/cdn-versioned/chunks/chunk.UO5AU7FY.js +26 -0
  188. package/cdn-versioned/chunks/{chunk.QW2U4ORE.js → chunk.VFUGKO7O.js} +2 -2
  189. package/cdn-versioned/chunks/{chunk.5ITG6KGD.js → chunk.W3CNA4YF.js} +2 -2
  190. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  191. package/cdn-versioned/chunks/{chunk.KZ5SFF6G.js → chunk.WFF4K3QT.js} +2 -2
  192. package/cdn-versioned/chunks/{chunk.K6TOCFIN.js → chunk.WMVQHRH3.js} +2 -2
  193. package/cdn-versioned/chunks/{chunk.UTBC4DI6.js → chunk.WSUEWML7.js} +2 -2
  194. package/cdn-versioned/chunks/{chunk.DIDMWRN3.js → chunk.WUC4PL54.js} +2 -2
  195. package/cdn-versioned/chunks/{chunk.LVATN3YW.js → chunk.XMVOXQO7.js} +2 -2
  196. package/cdn-versioned/chunks/{chunk.CWSVXPYD.js → chunk.XPQGRFFJ.js} +2 -2
  197. package/cdn-versioned/chunks/chunk.YI7K5DSK.js +4 -0
  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 +6 -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 +7 -9
  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 +3 -11
  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/progress-bar/progress-bar.d.ts +1 -1
  271. package/cdn-versioned/components/progress-bar/progress-bar.js +1 -1
  272. package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
  273. package/cdn-versioned/components/quickfact/quickfact.js +1 -1
  274. package/cdn-versioned/components/radio/radio.d.ts +1 -1
  275. package/cdn-versioned/components/radio/radio.js +1 -1
  276. package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
  277. package/cdn-versioned/components/radio-button/radio-button.js +1 -1
  278. package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
  279. package/cdn-versioned/components/radio-group/radio-group.js +1 -1
  280. package/cdn-versioned/components/range/range.d.ts +1 -1
  281. package/cdn-versioned/components/range/range.js +1 -1
  282. package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
  283. package/cdn-versioned/components/range-tick/range-tick.js +1 -1
  284. package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
  285. package/cdn-versioned/components/scrollable/scrollable.js +1 -1
  286. package/cdn-versioned/components/select/select.d.ts +1 -1
  287. package/cdn-versioned/components/select/select.js +1 -1
  288. package/cdn-versioned/components/skeleton/skeleton.d.ts +1 -1
  289. package/cdn-versioned/components/skeleton/skeleton.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 +264 -453
  315. package/cdn-versioned/internal/form.js +2 -2
  316. package/cdn-versioned/solid-components.bundle.js +97 -98
  317. package/cdn-versioned/solid-components.css +2 -2
  318. package/cdn-versioned/solid-components.d.ts +0 -1
  319. package/cdn-versioned/solid-components.iife.js +97 -98
  320. package/cdn-versioned/solid-components.js +1 -1
  321. package/cdn-versioned/utilities/autocomplete-config.js +1 -1
  322. package/cdn-versioned/utilities/localize.js +1 -1
  323. package/cdn-versioned/vscode.html-custom-data.json +113 -149
  324. package/cdn-versioned/web-types.json +169 -226
  325. package/dist/chunks/{chunk.ICBYOTXZ.js → chunk.32OX3VGB.js} +1 -1
  326. package/dist/chunks/{chunk.HQZ5Y72U.js → chunk.3LN66WKN.js} +1 -1
  327. package/dist/chunks/{chunk.DJIFAD75.js → chunk.4NXRXHFJ.js} +63 -6
  328. package/dist/chunks/{chunk.4UWPPYNK.js → chunk.4RYOOAMJ.js} +1 -1
  329. package/dist/chunks/{chunk.JO4VO3DE.js → chunk.53FS6JNC.js} +2 -2
  330. package/dist/chunks/{chunk.PJELKFNY.js → chunk.5UMZRILA.js} +1 -1
  331. package/dist/chunks/{chunk.X6ZZWTS7.js → chunk.5UYXIS2U.js} +1 -1
  332. package/dist/chunks/{chunk.CFE22DL2.js → chunk.67R42AVH.js} +1 -1
  333. package/dist/chunks/{chunk.GWLYBCED.js → chunk.6CESNAQW.js} +1 -1
  334. package/dist/chunks/{chunk.K5UVAUSH.js → chunk.6VJCUBYA.js} +1 -1
  335. package/dist/chunks/{chunk.WJFZKOMO.js → chunk.7EWDTJLW.js} +1 -1
  336. package/dist/chunks/{chunk.ZINALM6Z.js → chunk.AH2NSGQE.js} +2 -2
  337. package/dist/chunks/{chunk.TACTLKX6.js → chunk.B6PFRZJR.js} +1 -1
  338. package/dist/chunks/{chunk.MLBOR3OA.js → chunk.B7QQBC4A.js} +1 -1
  339. package/dist/chunks/{chunk.IJQGWINY.js → chunk.BBE2NXFL.js} +1 -1
  340. package/dist/chunks/{chunk.ROTKRIJL.js → chunk.BNPZJWJE.js} +1 -1
  341. package/dist/chunks/{chunk.EI5PCGH6.js → chunk.BTR7H5XJ.js} +1 -1
  342. package/dist/chunks/{chunk.NHPAPNCA.js → chunk.D55CZ6ZH.js} +1 -1
  343. package/dist/chunks/{chunk.64V7RPJM.js → chunk.DLZAEQ2O.js} +1 -1
  344. package/dist/chunks/{chunk.BGHQYSC6.js → chunk.EAIVAETN.js} +1 -1
  345. package/dist/chunks/{chunk.FAQBBAJ3.js → chunk.EWMWCZTD.js} +2 -2
  346. package/dist/chunks/{chunk.H4N3X443.js → chunk.F4HCPBUG.js} +1 -1
  347. package/dist/chunks/{chunk.NDQTMQGH.js → chunk.FINTCURG.js} +1 -1
  348. package/dist/chunks/{chunk.KDPFXMT7.js → chunk.FQ4HNT4C.js} +1 -1
  349. package/dist/chunks/{chunk.POPOYCUO.js → chunk.GT7FZLGE.js} +1 -1
  350. package/dist/chunks/{chunk.YC54RFTI.js → chunk.HHEFJRDJ.js} +1 -1
  351. package/dist/chunks/{chunk.Y32GRFGF.js → chunk.HT4CXANK.js} +1 -1
  352. package/dist/chunks/{chunk.HVKZA5Q2.js → chunk.IPKJYONP.js} +1 -1
  353. package/dist/chunks/{chunk.YEAB2PEA.js → chunk.JA4XDN7F.js} +1 -1
  354. package/dist/chunks/{chunk.HXXLOMBL.js → chunk.JASUQLAD.js} +63 -67
  355. package/dist/chunks/{chunk.ZI4J2JI6.js → chunk.JTMMFUZB.js} +1 -1
  356. package/dist/chunks/{chunk.NEWIPIU5.js → chunk.JUTMQBRS.js} +1 -1
  357. package/dist/chunks/{chunk.EAM3NSOC.js → chunk.KAHMCI5G.js} +1 -1
  358. package/dist/chunks/{chunk.HX75WC4T.js → chunk.L2UTLZMO.js} +1 -1
  359. package/{dist-versioned/chunks/chunk.WDWV53JP.js → dist/chunks/chunk.LTZVVIB2.js} +0 -22
  360. package/dist/chunks/{chunk.L3TT74JB.js → chunk.MRILLKXL.js} +1 -1
  361. package/dist/chunks/{chunk.4KQSESLL.js → chunk.N4J4DBP3.js} +1 -1
  362. package/dist/chunks/{chunk.I5TVWNGY.js → chunk.NGQVZR65.js} +2 -2
  363. package/dist/chunks/{chunk.4ICMHKGL.js → chunk.NOJRZ6MM.js} +1 -1
  364. package/dist/chunks/chunk.NQYRZUCX.js +93 -0
  365. package/dist/chunks/{chunk.LM6MZUBT.js → chunk.OLFMBF36.js} +1 -1
  366. package/dist/chunks/{chunk.IU2IAYUW.js → chunk.OTLW445M.js} +1 -1
  367. package/dist/chunks/{chunk.U4QAR37W.js → chunk.OUQ5M3MT.js} +1 -1
  368. package/dist/chunks/{chunk.WD6OT624.js → chunk.P6YU4LMU.js} +1 -1
  369. package/dist/chunks/{chunk.DZ6FRKXI.js → chunk.PEL5LYB5.js} +1 -1
  370. package/dist/chunks/{chunk.WCTYTU3K.js → chunk.PJ6U5FXI.js} +1 -1
  371. package/dist/chunks/{chunk.EBLUHAPV.js → chunk.QQPQLZHK.js} +1 -1
  372. package/dist/chunks/{chunk.CEEZZN7A.js → chunk.R2BSLQAY.js} +24 -100
  373. package/dist/chunks/{chunk.TXBRN4WB.js → chunk.RSD5I5OR.js} +3 -3
  374. package/dist/chunks/{chunk.CBXPY7RV.js → chunk.S5SH4NHT.js} +1 -1
  375. package/dist/chunks/{chunk.XZHZDSPQ.js → chunk.SICWGHUQ.js} +1 -1
  376. package/dist/chunks/{chunk.ENPE3AO3.js → chunk.TIEOFZYQ.js} +4 -4
  377. package/dist/chunks/{chunk.QUNBU6CO.js → chunk.TKBGSMUY.js} +1 -1
  378. package/dist/chunks/{chunk.RH3RR3MN.js → chunk.TOYRWMA7.js} +1 -1
  379. package/dist/chunks/{chunk.XUYPFGE4.js → chunk.UH5VKHLA.js} +1 -1
  380. package/dist/chunks/{chunk.332BBYHT.js → chunk.UKTYKIVT.js} +1 -1
  381. package/dist/chunks/{chunk.TF2CAVQI.js → chunk.USNOEKSJ.js} +61 -23
  382. package/dist/chunks/{chunk.MZXDJ23T.js → chunk.VSYHG5GU.js} +1 -1
  383. package/dist/chunks/{chunk.LNZEJCES.js → chunk.WHUUNX46.js} +1 -1
  384. package/dist/chunks/{chunk.H6K6J6HB.js → chunk.Y43SJPR7.js} +2 -2
  385. package/dist/chunks/{chunk.FRTXHCPD.js → chunk.YDZWM7S4.js} +1 -1
  386. package/dist/components/accordion/accordion.js +4 -4
  387. package/dist/components/accordion-group/accordion-group.js +5 -5
  388. package/dist/components/animation/animation.js +2 -2
  389. package/dist/components/audio/audio.js +8 -10
  390. package/dist/components/badge/badge.js +2 -2
  391. package/dist/components/brandshape/brandshape.js +2 -2
  392. package/dist/components/breadcrumb/breadcrumb.js +7 -8
  393. package/dist/components/breadcrumb-item/breadcrumb-item.js +4 -4
  394. package/dist/components/button/button.d.ts +5 -0
  395. package/dist/components/button/button.js +5 -4
  396. package/dist/components/button-group/button-group.js +2 -2
  397. package/dist/components/carousel/carousel.js +5 -5
  398. package/dist/components/carousel-item/carousel-item.js +2 -2
  399. package/dist/components/checkbox/checkbox.js +3 -3
  400. package/dist/components/checkbox-group/checkbox-group.js +3 -3
  401. package/dist/components/combobox/combobox.js +7 -7
  402. package/dist/components/datepicker/datepicker.js +6 -6
  403. package/dist/components/dialog/dialog.d.ts +6 -8
  404. package/dist/components/dialog/dialog.js +7 -9
  405. package/dist/components/divider/divider.js +2 -2
  406. package/dist/components/drawer/drawer.d.ts +2 -10
  407. package/dist/components/drawer/drawer.js +7 -9
  408. package/dist/components/dropdown/dropdown.js +5 -6
  409. package/dist/components/expandable/expandable.js +4 -4
  410. package/dist/components/flipcard/flipcard.js +7 -6
  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 +4 -4
  415. package/dist/components/link/link.js +2 -2
  416. package/dist/components/loader/loader.js +3 -3
  417. package/dist/components/map-marker/map-marker.js +2 -2
  418. package/dist/components/menu/menu.js +3 -3
  419. package/dist/components/menu-item/menu-item.js +2 -2
  420. package/dist/components/navigation-item/navigation-item.js +5 -5
  421. package/dist/components/notification/notification.js +7 -6
  422. package/dist/components/optgroup/optgroup.js +4 -4
  423. package/dist/components/option/option.js +3 -3
  424. package/dist/components/popup/popup.js +2 -2
  425. package/dist/components/progress-bar/progress-bar.js +3 -3
  426. package/dist/components/quickfact/quickfact.js +5 -5
  427. package/dist/components/radio/radio.js +2 -2
  428. package/dist/components/radio-button/radio-button.js +2 -2
  429. package/dist/components/radio-group/radio-group.js +4 -4
  430. package/dist/components/range/range.js +6 -6
  431. package/dist/components/range-tick/range-tick.js +3 -3
  432. package/dist/components/scrollable/scrollable.js +4 -4
  433. package/dist/components/select/select.js +7 -7
  434. package/dist/components/skeleton/skeleton.js +2 -2
  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 +3 -3
  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 +4 -4
  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 +5 -5
  447. package/dist/components/video/video.js +4 -4
  448. package/dist/custom-elements.json +9 -198
  449. package/dist/solid-components.d.ts +0 -1
  450. package/dist/solid-components.js +64 -70
  451. package/dist/utilities/autocomplete-config.js +2 -2
  452. package/dist/utilities/localize.js +1 -1
  453. package/dist/vscode.html-custom-data.json +1 -37
  454. package/dist/web-types.json +2 -59
  455. package/dist-versioned/chunks/{chunk.ICBYOTXZ.js → chunk.32OX3VGB.js} +5 -5
  456. package/dist-versioned/chunks/{chunk.HQZ5Y72U.js → chunk.3LN66WKN.js} +6 -6
  457. package/dist-versioned/chunks/{chunk.DJIFAD75.js → chunk.4NXRXHFJ.js} +76 -19
  458. package/dist-versioned/chunks/{chunk.4UWPPYNK.js → chunk.4RYOOAMJ.js} +3 -3
  459. package/dist-versioned/chunks/{chunk.JO4VO3DE.js → chunk.53FS6JNC.js} +25 -25
  460. package/dist-versioned/chunks/{chunk.PJELKFNY.js → chunk.5UMZRILA.js} +2 -2
  461. package/dist-versioned/chunks/{chunk.X6ZZWTS7.js → chunk.5UYXIS2U.js} +3 -3
  462. package/dist-versioned/chunks/{chunk.CFE22DL2.js → chunk.67R42AVH.js} +9 -9
  463. package/dist-versioned/chunks/{chunk.GWLYBCED.js → chunk.6CESNAQW.js} +8 -8
  464. package/dist-versioned/chunks/{chunk.K5UVAUSH.js → chunk.6VJCUBYA.js} +2 -2
  465. package/dist-versioned/chunks/{chunk.WJFZKOMO.js → chunk.7EWDTJLW.js} +3 -3
  466. package/dist-versioned/chunks/{chunk.ZINALM6Z.js → chunk.AH2NSGQE.js} +14 -14
  467. package/dist-versioned/chunks/{chunk.TACTLKX6.js → chunk.B6PFRZJR.js} +7 -7
  468. package/dist-versioned/chunks/{chunk.MLBOR3OA.js → chunk.B7QQBC4A.js} +3 -3
  469. package/dist-versioned/chunks/{chunk.IJQGWINY.js → chunk.BBE2NXFL.js} +3 -3
  470. package/dist-versioned/chunks/{chunk.ROTKRIJL.js → chunk.BNPZJWJE.js} +5 -5
  471. package/dist-versioned/chunks/{chunk.EI5PCGH6.js → chunk.BTR7H5XJ.js} +6 -6
  472. package/dist-versioned/chunks/chunk.C3WIBDGG.js +2 -2
  473. package/dist-versioned/chunks/{chunk.NHPAPNCA.js → chunk.D55CZ6ZH.js} +12 -12
  474. package/dist-versioned/chunks/{chunk.64V7RPJM.js → chunk.DLZAEQ2O.js} +5 -5
  475. package/dist-versioned/chunks/{chunk.BGHQYSC6.js → chunk.EAIVAETN.js} +3 -3
  476. package/dist-versioned/chunks/{chunk.FAQBBAJ3.js → chunk.EWMWCZTD.js} +27 -27
  477. package/dist-versioned/chunks/{chunk.H4N3X443.js → chunk.F4HCPBUG.js} +7 -7
  478. package/dist-versioned/chunks/{chunk.NDQTMQGH.js → chunk.FINTCURG.js} +6 -6
  479. package/dist-versioned/chunks/{chunk.KDPFXMT7.js → chunk.FQ4HNT4C.js} +3 -3
  480. package/dist-versioned/chunks/{chunk.POPOYCUO.js → chunk.GT7FZLGE.js} +11 -11
  481. package/dist-versioned/chunks/{chunk.YC54RFTI.js → chunk.HHEFJRDJ.js} +12 -12
  482. package/dist-versioned/chunks/{chunk.Y32GRFGF.js → chunk.HT4CXANK.js} +3 -3
  483. package/dist-versioned/chunks/{chunk.HVKZA5Q2.js → chunk.IPKJYONP.js} +2 -2
  484. package/dist-versioned/chunks/{chunk.YEAB2PEA.js → chunk.JA4XDN7F.js} +2 -2
  485. package/dist-versioned/chunks/{chunk.HXXLOMBL.js → chunk.JASUQLAD.js} +64 -68
  486. package/dist-versioned/chunks/{chunk.ZI4J2JI6.js → chunk.JTMMFUZB.js} +3 -3
  487. package/dist-versioned/chunks/{chunk.NEWIPIU5.js → chunk.JUTMQBRS.js} +4 -4
  488. package/dist-versioned/chunks/{chunk.EAM3NSOC.js → chunk.KAHMCI5G.js} +5 -5
  489. package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
  490. package/dist-versioned/chunks/{chunk.HX75WC4T.js → chunk.L2UTLZMO.js} +11 -11
  491. package/{dist/chunks/chunk.WDWV53JP.js → dist-versioned/chunks/chunk.LTZVVIB2.js} +0 -22
  492. package/dist-versioned/chunks/{chunk.L3TT74JB.js → chunk.MRILLKXL.js} +4 -4
  493. package/dist-versioned/chunks/{chunk.4KQSESLL.js → chunk.N4J4DBP3.js} +11 -11
  494. package/dist-versioned/chunks/{chunk.I5TVWNGY.js → chunk.NGQVZR65.js} +5 -5
  495. package/dist-versioned/chunks/{chunk.4ICMHKGL.js → chunk.NOJRZ6MM.js} +8 -8
  496. package/dist-versioned/chunks/chunk.NQYRZUCX.js +93 -0
  497. package/dist-versioned/chunks/{chunk.LM6MZUBT.js → chunk.OLFMBF36.js} +8 -8
  498. package/dist-versioned/chunks/{chunk.IU2IAYUW.js → chunk.OTLW445M.js} +6 -6
  499. package/dist-versioned/chunks/{chunk.U4QAR37W.js → chunk.OUQ5M3MT.js} +2 -2
  500. package/dist-versioned/chunks/{chunk.WD6OT624.js → chunk.P6YU4LMU.js} +7 -7
  501. package/dist-versioned/chunks/{chunk.DZ6FRKXI.js → chunk.PEL5LYB5.js} +13 -13
  502. package/dist-versioned/chunks/{chunk.WCTYTU3K.js → chunk.PJ6U5FXI.js} +4 -4
  503. package/dist-versioned/chunks/chunk.QGERTGJH.js +4 -4
  504. package/dist-versioned/chunks/{chunk.EBLUHAPV.js → chunk.QQPQLZHK.js} +6 -6
  505. package/dist-versioned/chunks/{chunk.CEEZZN7A.js → chunk.R2BSLQAY.js} +25 -101
  506. package/dist-versioned/chunks/{chunk.TXBRN4WB.js → chunk.RSD5I5OR.js} +8 -8
  507. package/dist-versioned/chunks/{chunk.CBXPY7RV.js → chunk.S5SH4NHT.js} +6 -6
  508. package/dist-versioned/chunks/{chunk.XZHZDSPQ.js → chunk.SICWGHUQ.js} +2 -2
  509. package/dist-versioned/chunks/{chunk.ENPE3AO3.js → chunk.TIEOFZYQ.js} +18 -18
  510. package/dist-versioned/chunks/{chunk.QUNBU6CO.js → chunk.TKBGSMUY.js} +6 -6
  511. package/dist-versioned/chunks/{chunk.RH3RR3MN.js → chunk.TOYRWMA7.js} +7 -7
  512. package/dist-versioned/chunks/{chunk.XUYPFGE4.js → chunk.UH5VKHLA.js} +12 -12
  513. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  514. package/dist-versioned/chunks/{chunk.332BBYHT.js → chunk.UKTYKIVT.js} +4 -4
  515. package/dist-versioned/chunks/{chunk.TF2CAVQI.js → chunk.USNOEKSJ.js} +79 -41
  516. package/dist-versioned/chunks/{chunk.MZXDJ23T.js → chunk.VSYHG5GU.js} +6 -6
  517. package/dist-versioned/chunks/{chunk.LNZEJCES.js → chunk.WHUUNX46.js} +4 -4
  518. package/dist-versioned/chunks/{chunk.H6K6J6HB.js → chunk.Y43SJPR7.js} +12 -12
  519. package/dist-versioned/chunks/{chunk.FRTXHCPD.js → chunk.YDZWM7S4.js} +7 -7
  520. package/dist-versioned/components/accordion/accordion.d.ts +1 -1
  521. package/dist-versioned/components/accordion/accordion.js +4 -4
  522. package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  523. package/dist-versioned/components/accordion-group/accordion-group.js +5 -5
  524. package/dist-versioned/components/animation/animation.d.ts +1 -1
  525. package/dist-versioned/components/animation/animation.js +2 -2
  526. package/dist-versioned/components/audio/audio.d.ts +1 -1
  527. package/dist-versioned/components/audio/audio.js +8 -10
  528. package/dist-versioned/components/badge/badge.d.ts +1 -1
  529. package/dist-versioned/components/badge/badge.js +2 -2
  530. package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
  531. package/dist-versioned/components/brandshape/brandshape.js +2 -2
  532. package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  533. package/dist-versioned/components/breadcrumb/breadcrumb.js +7 -8
  534. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  535. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.js +4 -4
  536. package/dist-versioned/components/button/button.d.ts +6 -1
  537. package/dist-versioned/components/button/button.js +5 -4
  538. package/dist-versioned/components/button-group/button-group.d.ts +1 -1
  539. package/dist-versioned/components/button-group/button-group.js +2 -2
  540. package/dist-versioned/components/carousel/carousel.d.ts +1 -1
  541. package/dist-versioned/components/carousel/carousel.js +5 -5
  542. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  543. package/dist-versioned/components/carousel-item/carousel-item.js +2 -2
  544. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  545. package/dist-versioned/components/checkbox/checkbox.js +3 -3
  546. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  547. package/dist-versioned/components/checkbox-group/checkbox-group.js +3 -3
  548. package/dist-versioned/components/combobox/combobox.d.ts +1 -1
  549. package/dist-versioned/components/combobox/combobox.js +7 -7
  550. package/dist-versioned/components/datepicker/datepicker.d.ts +1 -1
  551. package/dist-versioned/components/datepicker/datepicker.js +6 -6
  552. package/dist-versioned/components/dialog/dialog.d.ts +7 -9
  553. package/dist-versioned/components/dialog/dialog.js +7 -9
  554. package/dist-versioned/components/divider/divider.d.ts +1 -1
  555. package/dist-versioned/components/divider/divider.js +2 -2
  556. package/dist-versioned/components/drawer/drawer.d.ts +3 -11
  557. package/dist-versioned/components/drawer/drawer.js +7 -9
  558. package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
  559. package/dist-versioned/components/dropdown/dropdown.js +5 -6
  560. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  561. package/dist-versioned/components/expandable/expandable.js +4 -4
  562. package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
  563. package/dist-versioned/components/flipcard/flipcard.js +7 -6
  564. package/dist-versioned/components/header/header.d.ts +1 -1
  565. package/dist-versioned/components/header/header.js +2 -2
  566. package/dist-versioned/components/icon/icon.d.ts +1 -1
  567. package/dist-versioned/components/icon/icon.js +2 -2
  568. package/dist-versioned/components/include/include.d.ts +1 -1
  569. package/dist-versioned/components/include/include.js +2 -2
  570. package/dist-versioned/components/input/input.d.ts +1 -1
  571. package/dist-versioned/components/input/input.js +4 -4
  572. package/dist-versioned/components/link/link.d.ts +1 -1
  573. package/dist-versioned/components/link/link.js +2 -2
  574. package/dist-versioned/components/loader/loader.d.ts +1 -1
  575. package/dist-versioned/components/loader/loader.js +3 -3
  576. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  577. package/dist-versioned/components/map-marker/map-marker.js +2 -2
  578. package/dist-versioned/components/menu/menu.d.ts +1 -1
  579. package/dist-versioned/components/menu/menu.js +3 -3
  580. package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
  581. package/dist-versioned/components/menu-item/menu-item.js +2 -2
  582. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  583. package/dist-versioned/components/navigation-item/navigation-item.js +5 -5
  584. package/dist-versioned/components/notification/notification.d.ts +1 -1
  585. package/dist-versioned/components/notification/notification.js +7 -6
  586. package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
  587. package/dist-versioned/components/optgroup/optgroup.js +4 -4
  588. package/dist-versioned/components/option/option.d.ts +1 -1
  589. package/dist-versioned/components/option/option.js +3 -3
  590. package/dist-versioned/components/popup/popup.d.ts +1 -1
  591. package/dist-versioned/components/popup/popup.js +2 -2
  592. package/dist-versioned/components/progress-bar/progress-bar.d.ts +1 -1
  593. package/dist-versioned/components/progress-bar/progress-bar.js +3 -3
  594. package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
  595. package/dist-versioned/components/quickfact/quickfact.js +5 -5
  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 +6 -6
  604. package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
  605. package/dist-versioned/components/range-tick/range-tick.js +3 -3
  606. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  607. package/dist-versioned/components/scrollable/scrollable.js +4 -4
  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/step/step.d.ts +1 -1
  613. package/dist-versioned/components/step/step.js +3 -3
  614. package/dist-versioned/components/step-group/step-group.d.ts +1 -1
  615. package/dist-versioned/components/step-group/step-group.js +2 -2
  616. package/dist-versioned/components/switch/switch.d.ts +1 -1
  617. package/dist-versioned/components/switch/switch.js +2 -2
  618. package/dist-versioned/components/tab/tab.d.ts +1 -1
  619. package/dist-versioned/components/tab/tab.js +3 -3
  620. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  621. package/dist-versioned/components/tab-group/tab-group.js +5 -5
  622. package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  623. package/dist-versioned/components/tab-panel/tab-panel.js +2 -2
  624. package/dist-versioned/components/tag/tag.d.ts +1 -1
  625. package/dist-versioned/components/tag/tag.js +4 -4
  626. package/dist-versioned/components/teaser/teaser.js +2 -2
  627. package/dist-versioned/components/teaser-media/teaser-media.js +2 -2
  628. package/dist-versioned/components/textarea/textarea.d.ts +1 -1
  629. package/dist-versioned/components/textarea/textarea.js +3 -3
  630. package/dist-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  631. package/dist-versioned/components/theme-listener/theme-listener.js +2 -2
  632. package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
  633. package/dist-versioned/components/tooltip/tooltip.js +5 -5
  634. package/dist-versioned/components/video/video.d.ts +1 -1
  635. package/dist-versioned/components/video/video.js +4 -4
  636. package/dist-versioned/custom-elements.json +264 -453
  637. package/dist-versioned/internal/form.js +2 -2
  638. package/dist-versioned/solid-components.css +2 -2
  639. package/dist-versioned/solid-components.d.ts +0 -1
  640. package/dist-versioned/solid-components.js +64 -70
  641. package/dist-versioned/utilities/autocomplete-config.js +2 -2
  642. package/dist-versioned/utilities/localize.js +1 -1
  643. package/dist-versioned/vscode.html-custom-data.json +113 -149
  644. package/dist-versioned/web-types.json +169 -226
  645. package/package.json +3 -3
  646. package/cdn/chunks/chunk.3L472FD4.js +0 -1
  647. package/cdn/chunks/chunk.4MY3PWSN.js +0 -2
  648. package/cdn/chunks/chunk.6GDQK5O5.js +0 -2
  649. package/cdn/chunks/chunk.GHSIC6MA.js +0 -2
  650. package/cdn/chunks/chunk.J5C22TF2.js +0 -4
  651. package/cdn/chunks/chunk.O7KFGYFO.js +0 -1
  652. package/cdn/chunks/chunk.ROU5X4FC.js +0 -12
  653. package/cdn/chunks/chunk.TXP36Z3M.js +0 -1
  654. package/cdn/chunks/chunk.YAUFTHOR.js +0 -26
  655. package/cdn/components/spinner/spinner.d.ts +0 -13
  656. package/cdn/components/spinner/spinner.js +0 -1
  657. package/cdn/internal/modal.d.ts +0 -12
  658. package/cdn/internal/modal.js +0 -49
  659. package/cdn-versioned/chunks/chunk.3L472FD4.js +0 -1
  660. package/cdn-versioned/chunks/chunk.4MY3PWSN.js +0 -2
  661. package/cdn-versioned/chunks/chunk.6GDQK5O5.js +0 -2
  662. package/cdn-versioned/chunks/chunk.GHSIC6MA.js +0 -2
  663. package/cdn-versioned/chunks/chunk.J5C22TF2.js +0 -4
  664. package/cdn-versioned/chunks/chunk.O7KFGYFO.js +0 -1
  665. package/cdn-versioned/chunks/chunk.ROU5X4FC.js +0 -12
  666. package/cdn-versioned/chunks/chunk.TXP36Z3M.js +0 -1
  667. package/cdn-versioned/chunks/chunk.YAUFTHOR.js +0 -26
  668. package/cdn-versioned/components/spinner/spinner.d.ts +0 -13
  669. package/cdn-versioned/components/spinner/spinner.js +0 -1
  670. package/cdn-versioned/internal/modal.d.ts +0 -12
  671. package/cdn-versioned/internal/modal.js +0 -49
  672. package/dist/chunks/chunk.EDMG7C5H.js +0 -57
  673. package/dist/chunks/chunk.NAAQDM44.js +0 -50
  674. package/dist/chunks/chunk.O6I23JYG.js +0 -93
  675. package/dist/chunks/chunk.UMIKFOMI.js +0 -65
  676. package/dist/components/spinner/spinner.d.ts +0 -13
  677. package/dist/components/spinner/spinner.js +0 -12
  678. package/dist/internal/modal.d.ts +0 -12
  679. package/dist/internal/modal.js +0 -49
  680. package/dist-versioned/chunks/chunk.EDMG7C5H.js +0 -57
  681. package/dist-versioned/chunks/chunk.NAAQDM44.js +0 -50
  682. package/dist-versioned/chunks/chunk.O6I23JYG.js +0 -93
  683. package/dist-versioned/chunks/chunk.UMIKFOMI.js +0 -65
  684. package/dist-versioned/components/spinner/spinner.d.ts +0 -13
  685. package/dist-versioned/components/spinner/spinner.js +0 -12
  686. package/dist-versioned/internal/modal.d.ts +0 -12
  687. package/dist-versioned/internal/modal.js +0 -49
@@ -1,12 +1,12 @@
1
- import{a as F}from"./chunk.ERP45OHF.js";import{c as A}from"./chunk.3L472FD4.js";import{b as I}from"./chunk.LZRL7OLU.js";import{a as M}from"./chunk.CGQ2BPPZ.js";import{a as C,c as $}from"./chunk.B2NUKX6G.js";import{a as T}from"./chunk.KLRPP4NQ.js";import{a as L}from"./chunk.W5O4FM6B.js";import{a as z}from"./chunk.VAM5SM3O.js";import{a as h}from"./chunk.4ZZFYCXX.js";import{a as m}from"./chunk.NYKJXI3Q.js";import{a as D,b as n,c as u,d as c,g as k,h as O}from"./chunk.YAUFTHOR.js";import{b as E,e as p}from"./chunk.OBAEIKIV.js";import{b as x,e as w}from"./chunk.W4QBFD6E.js";import{e as s}from"./chunk.6EV4YU6C.js";var i=class extends O{constructor(){super(...arguments);this.formControlController=new I(this,{assumeInteractionOn:["sd-blur","sd-input"]});this.hasSlotController=new M(this,"help-text","label");this.localize=new z(this);this.typeToSelectString="";this.deletedTagLabel="";this.hasFocus=!1;this.selectedOptions=[];this.showValidStyle=!1;this.showInvalidStyle=!1;this.defaultValue="";this.open=!1;this.size="lg";this.placement="bottom";this.label="";this.placeholder="";this.maxOptionsTagLabel="";this.disabled=!1;this.visuallyDisabled=!1;this.helpText="";this.currentPlacement=this.placement;this.clearable=!1;this.multiple=!1;this.useTags=!1;this.maxOptionsVisible=3;this.form="";this.name="";this.value="";this.required=!1;this.floatingLabel=!1;this.styleOnValid=!1;this.hoist=!1;this.getTag=t=>p`<sd-7-0-0-next-3-tag class="relative z-10 min-w-0 max-w-full" ?disabled="${this.disabled}" part="tag" exportparts="
1
+ import{a as F}from"./chunk.ERP45OHF.js";import{a as A}from"./chunk.OKNJ5BPS.js";import{b as I}from"./chunk.LZRL7OLU.js";import{a as M}from"./chunk.CGQ2BPPZ.js";import{a as C,c as $}from"./chunk.B2NUKX6G.js";import{a as T}from"./chunk.KLRPP4NQ.js";import{a as L}from"./chunk.W5O4FM6B.js";import{a as z}from"./chunk.VAM5SM3O.js";import{a as h}from"./chunk.4ZZFYCXX.js";import{a as m}from"./chunk.NYKJXI3Q.js";import{a as D,b as n,c as u,d as c,g as k,h as O}from"./chunk.UO5AU7FY.js";import{b as E,e as p}from"./chunk.OBAEIKIV.js";import{b as x,e as w}from"./chunk.W4QBFD6E.js";import{e as s}from"./chunk.6EV4YU6C.js";var i=class extends O{constructor(){super(...arguments);this.formControlController=new I(this,{assumeInteractionOn:["sd-blur","sd-input"]});this.hasSlotController=new M(this,"help-text","label");this.localize=new z(this);this.typeToSelectString="";this.deletedTagLabel="";this.hasFocus=!1;this.selectedOptions=[];this.showValidStyle=!1;this.showInvalidStyle=!1;this.defaultValue="";this.open=!1;this.size="lg";this.placement="bottom";this.label="";this.placeholder="";this.maxOptionsTagLabel="";this.disabled=!1;this.visuallyDisabled=!1;this.helpText="";this.currentPlacement=this.placement;this.clearable=!1;this.multiple=!1;this.useTags=!1;this.maxOptionsVisible=3;this.form="";this.name="";this.value="";this.required=!1;this.floatingLabel=!1;this.styleOnValid=!1;this.hoist=!1;this.getTag=t=>p`<sd-7-0-0-next-5-tag class="relative z-10 min-w-0 max-w-full" ?disabled="${this.disabled}" part="tag" exportparts="
2
2
  base:tag__base,
3
3
  content:tag__content,
4
4
  removable-indicator:tag__removable-indicator,
5
- " size="${this.size==="sm"?"sm":"lg"}" removable @keydown="${e=>this.handleTagKeyDown(e,t)}" @sd-remove="${e=>this.handleTagRemove(e,t)}">${t.getTextLabel()}</sd-7-0-0-next-3-tag>`;this.handleDocumentFocusIn=t=>{let e=t.composedPath();this&&!e.includes(this)&&this.hide()};this.handleDocumentKeyDown=t=>{let e=t.target,o=e.closest(".select__clear")!==null,l=e.closest("sd-7-0-0-next-3-icon-button")!==null;if(!(o||l)){if(t.key==="Escape"&&this.open&&(t.preventDefault(),t.stopPropagation(),this.hide(),this.combobox.focus({preventScroll:!0})),t.key==="Enter"||t.key===" "&&this.typeToSelectString===""){if(t.preventDefault(),t.stopImmediatePropagation(),!this.open){this.show(),this.setCurrentOption(this.currentOption||this.getFirstOption(),t);return}this.currentOption&&!this.currentOption.disabled&&(this.multiple?this.toggleOptionSelection(this.currentOption):this.setSelectedOptions(this.currentOption),this.updateComplete.then(()=>{this.emit("sd-input"),this.emit("sd-change")}),this.multiple||(this.hide(),this.combobox.focus({preventScroll:!0})));return}if(["ArrowUp","ArrowDown","Home","End"].includes(t.key)){let d=this.getAllOptions(),r=d.indexOf(this.currentOption),a=Math.max(0,r);if(t.preventDefault(),!this.open&&(this.show(),this.currentOption))return;t.key==="ArrowDown"?(a=r+1,a>d.length-1&&(a=0)):t.key==="ArrowUp"?(a=r-1,a<0&&(a=d.length-1)):t.key==="Home"?a=0:t.key==="End"&&(a=d.length-1),this.setCurrentOption(d[a],t)}if(t.key.length===1||t.key==="Backspace"){let d=this.getAllOptions();if(t.metaKey||t.ctrlKey||t.altKey)return;if(!this.open){if(t.key==="Backspace")return;this.show()}t.stopPropagation(),t.preventDefault(),clearTimeout(this.typeToSelectTimeout),this.typeToSelectTimeout=window.setTimeout(()=>this.typeToSelectString="",1e3),t.key==="Backspace"?this.typeToSelectString=this.typeToSelectString.slice(0,-1):this.typeToSelectString+=t.key.toLowerCase();for(let r of d)if(r.getTextLabel().toLowerCase().startsWith(this.typeToSelectString)){this.setCurrentOption(r);break}}}};this.handleDocumentMouseDown=t=>{let e=t.composedPath();this&&!e.includes(this)&&this.hide()}}get validity(){return this.valueInput.validity}get validationMessage(){return this.valueInput.validationMessage}connectedCallback(){super.connectedCallback(),this.open=!1}firstUpdated(){this.applySizeToOptions()}addOpenListeners(){document.addEventListener("focusin",this.handleDocumentFocusIn),document.addEventListener("keydown",this.handleDocumentKeyDown),document.addEventListener("mousedown",this.handleDocumentMouseDown)}removeOpenListeners(){document.removeEventListener("focusin",this.handleDocumentFocusIn),document.removeEventListener("keydown",this.handleDocumentKeyDown),document.removeEventListener("mousedown",this.handleDocumentMouseDown)}handleFocus(){this.hasFocus=!0,this.displayInput.setSelectionRange(0,0),this.emit("sd-focus")}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleTagKeyDown(t,e){var o,l,d;if((t.key==="Backspace"||t.key==="Enter"||t.key===" ")&&this.multiple){t.preventDefault(),t.stopPropagation();let r=(o=t.currentTarget)==null?void 0:o.parentElement,a=(l=r==null?void 0:r.previousElementSibling)==null?void 0:l.querySelector("sd-7-0-0-next-3-tag"),b=(d=r==null?void 0:r.nextElementSibling)==null?void 0:d.querySelector("sd-7-0-0-next-3-tag");this.handleTagRemove(new CustomEvent("sd-remove"),e),this.updateComplete.then(()=>{b?b.focus():a?a.focus():this.focus({preventScroll:!0})})}}handleTagMaxOptionsKeyDown(t){(t.key==="Backspace"||t.key==="Enter")&&this.multiple&&(t.preventDefault(),t.stopPropagation(),this.handleTagRemove(new CustomEvent("sd-remove"),this.selectedOptions[this.selectedOptions.length-1]),this.updateComplete.then(()=>{var o;let e=(o=this.shadowRoot)==null?void 0:o.querySelectorAll("sd-7-0-0-next-3-tag");e&&e.length>0?e==null||e[(e==null?void 0:e.length)-1].focus():this.focus({preventScroll:!0})}))}handleLabelClick(){this.combobox.focus()}handleComboboxMouseDown(t){let o=t.composedPath().some(l=>l instanceof HTMLSlotElement&&l.name==="removable-indicator");this.disabled||o||this.visuallyDisabled||(t.preventDefault(),this.combobox.focus({preventScroll:!0}),this.open=!this.open,this.setCurrentOption(this.currentOption||this.getFirstOption(),t))}handleComboboxKeyDown(t){t.stopPropagation(),this.handleDocumentKeyDown(t)}handleClearClick(t){t.stopPropagation(),this.clearSelect()}clearSelect(){this.setSelectedOptions([]),this.combobox.focus({preventScroll:!0}),this.updateComplete.then(()=>{this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change")})}handleClearMouseDown(t){t.stopPropagation(),t.preventDefault()}handleOptionClick(t){let o=t.target.closest("sd-7-0-0-next-3-option"),l=this.value;o&&!o.disabled&&(this.multiple?this.toggleOptionSelection(o):this.setSelectedOptions(o),this.updateComplete.then(()=>this.combobox.focus({preventScroll:!0})),this.value!==l&&this.updateComplete.then(()=>{this.emit("sd-input"),this.emit("sd-change")}),this.multiple||(this.hide(),this.combobox.focus({preventScroll:!0})))}handleDefaultSlotChange(){let t=this.getAllOptions(),e=Array.isArray(this.value)?this.value:[this.value],o=[];customElements.get("sd-7-0-0-next-3-option")?(t.forEach(l=>{this.multiple&&(l.checkbox=!0),o.push(l.value)}),this.setSelectedOptions(t.filter(l=>e.includes(l.value)))):customElements.whenDefined("sd-7-0-0-next-3-option").then(()=>this.handleDefaultSlotChange())}handleTagRemove(t,e){t.stopPropagation(),e||this.clearSelect(),e&&!this.disabled&&(this.toggleOptionSelection(e,!1),this.deletedTagLabel=this.localize.term("removed",e.textContent),this.updateComplete.then(()=>{this.emit("sd-input"),this.emit("sd-change")}))}getAllOptions(){return[...this.querySelectorAll("sd-7-0-0-next-3-option")]}getFirstOption(){return this.querySelector("sd-7-0-0-next-3-option")}setCurrentOption(t,e){this.getAllOptions().forEach(l=>{l.current=!1,l.tabIndex=-1,((e==null?void 0:e.type)==="keydown"||(e==null?void 0:e.type)==="mousedown")&&(l.isKeyboardFocus=!1)}),t&&(this.currentOption=t,t.current=!0,t.tabIndex=0,t.focus()),t&&(e==null?void 0:e.type)==="keydown"&&(t.isKeyboardFocus=!0)}setSelectedOptions(t){let e=this.getAllOptions(),o=Array.isArray(t)?t:[t];e.forEach(l=>l.selected=!1),o.length&&o.forEach(l=>l.selected=!0),Array.isArray(t)?this.selectionChanged():this.selectionChanged(t)}toggleOptionSelection(t,e){e===!0||e===!1?t.selected=e:t.selected=!t.selected,Array.isArray(t)?this.selectionChanged():this.selectionChanged(t)}get displayLabel(){var t,e;return this.multiple?this.useTags||this.value.length===0?"":this.localize.term("numOptionsSelected",this.selectedOptions.length):(e=(t=this.selectedOptions[0])==null?void 0:t.getTextLabel())!=null?e:""}selectionChanged(t){var e,o;t&&this.multiple?this.selectedOptions.find(l=>l.value===t.value)?this.selectedOptions=this.selectedOptions.filter(l=>l.value!==t.value):this.selectedOptions=[...this.selectedOptions,t]:this.selectedOptions=this.getAllOptions().filter(l=>l.selected),this.multiple?this.value=this.selectedOptions.map(l=>l.value):this.value=(o=(e=this.selectedOptions[0])==null?void 0:e.value)!=null?o:"",this.updateComplete.then(()=>{this.formControlController.updateValidity()})}get tags(){return this.selectedOptions.length<=this.maxOptionsVisible?this.selectedOptions.map((t,e)=>{if(e<this.maxOptionsVisible||this.maxOptionsVisible<=0){let o=this.getTag(t,e);return p`<div @sd-remove="${l=>this.handleTagRemove(l,t)}" class="max-w-full">${typeof o=="string"?L(o):o}</div>`}return[p``]}):[p`<sd-7-0-0-next-3-tag class="z-10 min-w-0 max-w-full" ?disabled="${this.disabled}" part="tag" exportparts="
5
+ " size="${this.size==="sm"?"sm":"lg"}" removable @keydown="${e=>this.handleTagKeyDown(e,t)}" @sd-remove="${e=>this.handleTagRemove(e,t)}">${t.getTextLabel()}</sd-7-0-0-next-5-tag>`;this.handleDocumentFocusIn=t=>{let e=t.composedPath();this&&!e.includes(this)&&this.hide()};this.handleDocumentKeyDown=t=>{let e=t.target,o=e.closest(".select__clear")!==null,l=e.closest("sd-7-0-0-next-5-icon-button")!==null;if(!(o||l)){if(t.key==="Escape"&&this.open&&(t.preventDefault(),t.stopPropagation(),this.hide(),this.combobox.focus({preventScroll:!0})),t.key==="Enter"||t.key===" "&&this.typeToSelectString===""){if(t.preventDefault(),t.stopImmediatePropagation(),!this.open){this.show(),this.setCurrentOption(this.currentOption||this.getFirstOption(),t);return}this.currentOption&&!this.currentOption.disabled&&(this.multiple?this.toggleOptionSelection(this.currentOption):this.setSelectedOptions(this.currentOption),this.updateComplete.then(()=>{this.emit("sd-input"),this.emit("sd-change")}),this.multiple||(this.hide(),this.combobox.focus({preventScroll:!0})));return}if(["ArrowUp","ArrowDown","Home","End"].includes(t.key)){let d=this.getAllOptions(),r=d.indexOf(this.currentOption),a=Math.max(0,r);if(t.preventDefault(),!this.open&&(this.show(),this.currentOption))return;t.key==="ArrowDown"?(a=r+1,a>d.length-1&&(a=0)):t.key==="ArrowUp"?(a=r-1,a<0&&(a=d.length-1)):t.key==="Home"?a=0:t.key==="End"&&(a=d.length-1),this.setCurrentOption(d[a],t)}if(t.key.length===1||t.key==="Backspace"){let d=this.getAllOptions();if(t.metaKey||t.ctrlKey||t.altKey)return;if(!this.open){if(t.key==="Backspace")return;this.show()}t.stopPropagation(),t.preventDefault(),clearTimeout(this.typeToSelectTimeout),this.typeToSelectTimeout=window.setTimeout(()=>this.typeToSelectString="",1e3),t.key==="Backspace"?this.typeToSelectString=this.typeToSelectString.slice(0,-1):this.typeToSelectString+=t.key.toLowerCase();for(let r of d)if(r.getTextLabel().toLowerCase().startsWith(this.typeToSelectString)){this.setCurrentOption(r);break}}}};this.handleDocumentMouseDown=t=>{let e=t.composedPath();this&&!e.includes(this)&&this.hide()}}get validity(){return this.valueInput.validity}get validationMessage(){return this.valueInput.validationMessage}connectedCallback(){super.connectedCallback(),this.open=!1}firstUpdated(){this.applySizeToOptions()}addOpenListeners(){document.addEventListener("focusin",this.handleDocumentFocusIn),document.addEventListener("keydown",this.handleDocumentKeyDown),document.addEventListener("mousedown",this.handleDocumentMouseDown)}removeOpenListeners(){document.removeEventListener("focusin",this.handleDocumentFocusIn),document.removeEventListener("keydown",this.handleDocumentKeyDown),document.removeEventListener("mousedown",this.handleDocumentMouseDown)}handleFocus(){this.hasFocus=!0,this.displayInput.setSelectionRange(0,0),this.emit("sd-focus")}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleTagKeyDown(t,e){var o,l,d;if((t.key==="Backspace"||t.key==="Enter"||t.key===" ")&&this.multiple){t.preventDefault(),t.stopPropagation();let r=(o=t.currentTarget)==null?void 0:o.parentElement,a=(l=r==null?void 0:r.previousElementSibling)==null?void 0:l.querySelector("sd-7-0-0-next-5-tag"),b=(d=r==null?void 0:r.nextElementSibling)==null?void 0:d.querySelector("sd-7-0-0-next-5-tag");this.handleTagRemove(new CustomEvent("sd-remove"),e),this.updateComplete.then(()=>{b?b.focus():a?a.focus():this.focus({preventScroll:!0})})}}handleTagMaxOptionsKeyDown(t){(t.key==="Backspace"||t.key==="Enter")&&this.multiple&&(t.preventDefault(),t.stopPropagation(),this.handleTagRemove(new CustomEvent("sd-remove"),this.selectedOptions[this.selectedOptions.length-1]),this.updateComplete.then(()=>{var o;let e=(o=this.shadowRoot)==null?void 0:o.querySelectorAll("sd-7-0-0-next-5-tag");e&&e.length>0?e==null||e[(e==null?void 0:e.length)-1].focus():this.focus({preventScroll:!0})}))}handleLabelClick(){this.combobox.focus()}handleComboboxMouseDown(t){let o=t.composedPath().some(l=>l instanceof HTMLSlotElement&&l.name==="removable-indicator");this.disabled||o||this.visuallyDisabled||(t.preventDefault(),this.combobox.focus({preventScroll:!0}),this.open=!this.open,this.setCurrentOption(this.currentOption||this.getFirstOption(),t))}handleComboboxKeyDown(t){t.stopPropagation(),this.handleDocumentKeyDown(t)}handleClearClick(t){t.stopPropagation(),this.clearSelect()}clearSelect(){this.setSelectedOptions([]),this.combobox.focus({preventScroll:!0}),this.updateComplete.then(()=>{this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change")})}handleClearMouseDown(t){t.stopPropagation(),t.preventDefault()}handleOptionClick(t){let o=t.target.closest("sd-7-0-0-next-5-option"),l=this.value;o&&!o.disabled&&(this.multiple?this.toggleOptionSelection(o):this.setSelectedOptions(o),this.updateComplete.then(()=>this.combobox.focus({preventScroll:!0})),this.value!==l&&this.updateComplete.then(()=>{this.emit("sd-input"),this.emit("sd-change")}),this.multiple||(this.hide(),this.combobox.focus({preventScroll:!0})))}handleDefaultSlotChange(){let t=this.getAllOptions(),e=Array.isArray(this.value)?this.value:[this.value],o=[];customElements.get("sd-7-0-0-next-5-option")?(t.forEach(l=>{this.multiple&&(l.checkbox=!0),o.push(l.value)}),this.setSelectedOptions(t.filter(l=>e.includes(l.value)))):customElements.whenDefined("sd-7-0-0-next-5-option").then(()=>this.handleDefaultSlotChange())}handleTagRemove(t,e){t.stopPropagation(),e||this.clearSelect(),e&&!this.disabled&&(this.toggleOptionSelection(e,!1),this.deletedTagLabel=this.localize.term("removed",e.textContent),this.updateComplete.then(()=>{this.emit("sd-input"),this.emit("sd-change")}))}getAllOptions(){return[...this.querySelectorAll("sd-7-0-0-next-5-option")]}getFirstOption(){return this.querySelector("sd-7-0-0-next-5-option")}setCurrentOption(t,e){this.getAllOptions().forEach(l=>{l.current=!1,l.tabIndex=-1,((e==null?void 0:e.type)==="keydown"||(e==null?void 0:e.type)==="mousedown")&&(l.isKeyboardFocus=!1)}),t&&(this.currentOption=t,t.current=!0,t.tabIndex=0,t.focus()),t&&(e==null?void 0:e.type)==="keydown"&&(t.isKeyboardFocus=!0)}setSelectedOptions(t){let e=this.getAllOptions(),o=Array.isArray(t)?t:[t];e.forEach(l=>l.selected=!1),o.length&&o.forEach(l=>l.selected=!0),Array.isArray(t)?this.selectionChanged():this.selectionChanged(t)}toggleOptionSelection(t,e){e===!0||e===!1?t.selected=e:t.selected=!t.selected,Array.isArray(t)?this.selectionChanged():this.selectionChanged(t)}get displayLabel(){var t,e;return this.multiple?this.useTags||this.value.length===0?"":this.localize.term("numOptionsSelected",this.selectedOptions.length):(e=(t=this.selectedOptions[0])==null?void 0:t.getTextLabel())!=null?e:""}selectionChanged(t){var e,o;t&&this.multiple?this.selectedOptions.find(l=>l.value===t.value)?this.selectedOptions=this.selectedOptions.filter(l=>l.value!==t.value):this.selectedOptions=[...this.selectedOptions,t]:this.selectedOptions=this.getAllOptions().filter(l=>l.selected),this.multiple?this.value=this.selectedOptions.map(l=>l.value):this.value=(o=(e=this.selectedOptions[0])==null?void 0:e.value)!=null?o:"",this.updateComplete.then(()=>{this.formControlController.updateValidity()})}get tags(){return this.selectedOptions.length<=this.maxOptionsVisible?this.selectedOptions.map((t,e)=>{if(e<this.maxOptionsVisible||this.maxOptionsVisible<=0){let o=this.getTag(t,e);return p`<div @sd-remove="${l=>this.handleTagRemove(l,t)}" class="max-w-full">${typeof o=="string"?L(o):o}</div>`}return[p``]}):[p`<sd-7-0-0-next-5-tag class="z-10 min-w-0 max-w-full" ?disabled="${this.disabled}" part="tag" exportparts="
6
6
  base:tag__base,
7
7
  content:tag__content,
8
8
  removable-indicator:tag__removable-indicator,
9
- " size="${this.size==="sm"?"sm":"lg"}" removable @keydown="${t=>this.handleTagMaxOptionsKeyDown(t)}" @sd-remove="${t=>this.handleTagRemove(t)}">${this.selectedOptions.length} ${this.localize.term("tagsSelected")}</sd-7-0-0-next-3-tag>`]}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}handleCurrentPlacement(t){let e=t.detail;e&&(this.currentPlacement=e)}handleUseTagsChange(){let t=this.getAllOptions();customElements.get("sd-7-0-0-next-3-option")&&t.forEach(e=>{e.checkbox=this.multiple})}handleDisabledChange(){(this.disabled||this.visuallyDisabled)&&(this.open=!1,this.handleOpenChange())}async handleOpenChange(){if(this.open&&(!this.disabled||!this.visuallyDisabled)){this.setCurrentOption(this.selectedOptions[0]||this.getFirstOption()),this.emit("sd-show"),this.addOpenListeners(),await w(this),this.listbox.hidden=!1,this.popup.active=!0,requestAnimationFrame(()=>{this.setCurrentOption(this.currentOption)});let{keyframes:t,options:e}=$(this,"select.show",{dir:this.localize.dir()});await x(this.popup.popup,t,e),this.currentOption&&A(this.currentOption,this.listbox,"vertical","auto"),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),await w(this);let{keyframes:t,options:e}=$(this,"select.hide",{dir:this.localize.dir()});await x(this.popup.popup,t,e),this.listbox.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}}applySizeToOptions(){this._optionsInDefaultSlot.forEach(t=>{t.size=this.size})}handleValueChange(){let t=this.value,e=Array.isArray(t)?t:[t],o=this.selectedOptions.map(r=>r.value);if(e.length===o.length&&e.every(r=>o.includes(r)))return;let l=this.getAllOptions(),d=Array.isArray(this.value)?this.value:[this.value];this.setSelectedOptions(l.filter(r=>d.includes(r.value))),this.value=t}handleSizeChange(){this.size=this.floatingLabel&&this.size==="sm"?"md":this.size}async show(){if(this.open||this.disabled||this.visuallyDisabled){this.open=!1;return}return this.open=!0,T(this,"sd-after-show")}async hide(){if(!this.open||this.disabled){this.open=!1;return}return this.open=!1,T(this,"sd-after-hide")}checkValidity(){var t;return(t=this.valueInput)==null?void 0:t.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.valueInput.reportValidity()}setCustomValidity(t){this.valueInput.setCustomValidity(t),this.formControlController.updateValidity()}focus(t){this.combobox.focus(t)}blur(){this.combobox.blur()}render(){let t={default:this.hasSlotController.test("[default]"),label:this.hasSlotController.test("label"),clearIcon:this.hasSlotController.test("clear-icon"),expandIcon:this.hasSlotController.test("expand-icon"),helpText:this.hasSlotController.test("help-text"),tooltip:this.hasSlotController.test("tooltip")},e=this.label?!0:!!t.label,o=this.helpText?!0:!!t.helpText,l=this.clearable&&!this.disabled,d=!!t.tooltip,r=this.value!==null&&String(this.value).length>0,a=this.floatingLabel&&e&&(this.hasFocus&&!this.visuallyDisabled||this.open||r)&&!(this.disabled&&!r),b=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus||this.open?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",f=this.disabled||this.visuallyDisabled?"cursor-not-allowed":"cursor-pointer",v={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],g={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size],_=this.size==="lg"?this.floatingLabel?a?"py-3":"py-4":"py-2":this.floatingLabel?a?"py-2":"py-3":"py-1";return p`<div part="form-control" class="${h("relative text-left",f,this.size==="sm"?"text-sm":"text-base",this.open&&"z-50")}"><span class="sr-only" aria-live="polite">${this.deletedTagLabel}</span> ${e&&!this.floatingLabel||d?p`<div class="flex items-center gap-1 mb-2"><label id="label" part="form-control-label" class="${h(e&&"inline-block",this.visuallyDisabled||this.disabled?"text-neutral-500":" form-control-color-text")}" aria-hidden="${e?"false":"true"}" @click="${this.handleLabelClick}"><slot name="label">${this.label}</slot></label> ${t.tooltip?p`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${h("relative w-full bg-white",b==="disabled"?"text-neutral-500":"text-black")}">${e&&this.floatingLabel?p`<label id="label" part="form-control-floating-label" class="${h("absolute left-4 z-20 pointer-events-none transition-all duration-200",a?this.size==="lg"?"top-2 text-xs":"top-1 text-xs":"top-1/2 -translate-y-1/2 form-control-color-text",a&&"mt-1")}" for="input"><span class="${h("leading-none",a&&!this.visuallyDisabled&&!this.disabled&&"form-control--filled__floating-label-color-text")}">${this.label}</span></label>`:null}<div part="border" class="${h("absolute top-0 w-full h-full pointer-events-none border form-control-border-radius z-10 transition-[border] duration-medium ease-in-out",{disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",readonly:"form-control-color-border",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"form-control-color-border"}[b],this.open&&(this.currentPlacement==="bottom"?"rounded-bl-none rounded-br-none":"rounded-tl-none rounded-tr-none"))}"></div><sd-7-0-0-next-3-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${h("inline-flex relative w-full",this.currentPlacement==="bottom"?"origin-top":"origin-bottom")}" placement="${this.placement}" strategy="${this.hoist?"fixed":"absolute"}" flip sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
9
+ " size="${this.size==="sm"?"sm":"lg"}" removable @keydown="${t=>this.handleTagMaxOptionsKeyDown(t)}" @sd-remove="${t=>this.handleTagRemove(t)}">${this.selectedOptions.length} ${this.localize.term("tagsSelected")}</sd-7-0-0-next-5-tag>`]}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}handleCurrentPlacement(t){let e=t.detail;e&&(this.currentPlacement=e)}handleUseTagsChange(){let t=this.getAllOptions();customElements.get("sd-7-0-0-next-5-option")&&t.forEach(e=>{e.checkbox=this.multiple})}handleDisabledChange(){(this.disabled||this.visuallyDisabled)&&(this.open=!1,this.handleOpenChange())}async handleOpenChange(){if(this.open&&(!this.disabled||!this.visuallyDisabled)){this.setCurrentOption(this.selectedOptions[0]||this.getFirstOption()),this.emit("sd-show"),this.addOpenListeners(),await w(this),this.listbox.hidden=!1,this.popup.active=!0,requestAnimationFrame(()=>{this.setCurrentOption(this.currentOption)});let{keyframes:t,options:e}=$(this,"select.show",{dir:this.localize.dir()});await x(this.popup.popup,t,e),this.currentOption&&A(this.currentOption,this.listbox,"vertical","auto"),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),await w(this);let{keyframes:t,options:e}=$(this,"select.hide",{dir:this.localize.dir()});await x(this.popup.popup,t,e),this.listbox.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}}applySizeToOptions(){this._optionsInDefaultSlot.forEach(t=>{t.size=this.size})}handleValueChange(){let t=this.value,e=Array.isArray(t)?t:[t],o=this.selectedOptions.map(r=>r.value);if(e.length===o.length&&e.every(r=>o.includes(r)))return;let l=this.getAllOptions(),d=Array.isArray(this.value)?this.value:[this.value];this.setSelectedOptions(l.filter(r=>d.includes(r.value))),this.value=t}handleSizeChange(){this.size=this.floatingLabel&&this.size==="sm"?"md":this.size}async show(){if(this.open||this.disabled||this.visuallyDisabled){this.open=!1;return}return this.open=!0,T(this,"sd-after-show")}async hide(){if(!this.open||this.disabled){this.open=!1;return}return this.open=!1,T(this,"sd-after-hide")}checkValidity(){var t;return(t=this.valueInput)==null?void 0:t.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.valueInput.reportValidity()}setCustomValidity(t){this.valueInput.setCustomValidity(t),this.formControlController.updateValidity()}focus(t){this.combobox.focus(t)}blur(){this.combobox.blur()}render(){let t={default:this.hasSlotController.test("[default]"),label:this.hasSlotController.test("label"),clearIcon:this.hasSlotController.test("clear-icon"),expandIcon:this.hasSlotController.test("expand-icon"),helpText:this.hasSlotController.test("help-text"),tooltip:this.hasSlotController.test("tooltip")},e=this.label?!0:!!t.label,o=this.helpText?!0:!!t.helpText,l=this.clearable&&!this.disabled,d=!!t.tooltip,r=this.value!==null&&String(this.value).length>0,a=this.floatingLabel&&e&&(this.hasFocus&&!this.visuallyDisabled||this.open||r)&&!(this.disabled&&!r),b=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus||this.open?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",f=this.disabled||this.visuallyDisabled?"cursor-not-allowed":"cursor-pointer",v={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],g={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size],_=this.size==="lg"?this.floatingLabel?a?"py-3":"py-4":"py-2":this.floatingLabel?a?"py-2":"py-3":"py-1";return p`<div part="form-control" class="${h("relative text-left",f,this.size==="sm"?"text-sm":"text-base",this.open&&"z-50")}"><span class="sr-only" aria-live="polite">${this.deletedTagLabel}</span> ${e&&!this.floatingLabel||d?p`<div class="flex items-center gap-1 mb-2"><label id="label" part="form-control-label" class="${h(e&&"inline-block",this.visuallyDisabled||this.disabled?"text-neutral-500":" form-control-color-text")}" aria-hidden="${e?"false":"true"}" @click="${this.handleLabelClick}"><slot name="label">${this.label}</slot></label> ${t.tooltip?p`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${h("relative w-full bg-white",b==="disabled"?"text-neutral-500":"text-black")}">${e&&this.floatingLabel?p`<label id="label" part="form-control-floating-label" class="${h("absolute left-4 z-20 pointer-events-none transition-all duration-200",a?this.size==="lg"?"top-2 text-xs":"top-1 text-xs":"top-1/2 -translate-y-1/2 form-control-color-text",a&&"mt-1")}" for="input"><span class="${h("leading-none",a&&!this.visuallyDisabled&&!this.disabled&&"form-control--filled__floating-label-color-text")}">${this.label}</span></label>`:null}<div part="border" class="${h("absolute top-0 w-full h-full pointer-events-none border form-control-border-radius z-10 transition-[border] duration-medium ease-in-out",{disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",readonly:"form-control-color-border",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"form-control-color-border"}[b],this.open&&(this.currentPlacement==="bottom"?"rounded-bl-none rounded-br-none":"rounded-tl-none rounded-tr-none"))}"></div><sd-7-0-0-next-5-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${h("inline-flex relative w-full",this.currentPlacement==="bottom"?"origin-top":"origin-bottom")}" placement="${this.placement}" strategy="${this.hoist?"fixed":"absolute"}" flip sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
10
10
  popup:popup__content,
11
- "><div class="${h("relative w-full h-full grid rounded-default transition-colors hover:duration-fast ease-in-out",this.visuallyDisabled||this.disabled?"hover:bg-transparent":"hover:[@media(hover:hover)]:form-control--hover-color-background",["invalid","activeInvalid"].includes(b)&&"form-control--invalid-color-background")}" slot="anchor"><div class="${h("input-container items-center w-full h-full px-4 flex min-w-0",{sm:"py-1",md:"py-1",lg:"py-2"}[this.size],_)}"><input name="${this.name}" form="${this.form}" part="display-input" class="${h("top-0 left-0 appearance-none outline-none flex-grow bg-transparent flex-1 placeholder:text-neutral-700 min-w-0",f,this.multiple&&this.useTags&&this.value.length>0?"hidden":"",this.size==="sm"?a?"h-4":"h-6":a?"h-6":"h-8",a&&"leading-none mt-4")}" type="text" .disabled="${this.disabled}" placeholder="${!this.floatingLabel||a?this.placeholder||this.localize.term("selectDefaultPlaceholder"):""}" .value="${this.displayLabel}" autocomplete="off" spellcheck="false" autocapitalize="off" readonly="readonly" aria-controls="listbox" aria-expanded="${this.open?"true":"false"}" aria-haspopup="listbox" aria-labelledby="label" aria-disabled="${this.disabled||this.visuallyDisabled?"true":"false"}" aria-invalid="${this.showInvalidStyle}" aria-describedby="help-text invalid-message" role="combobox" tabindex="-1"> ${this.multiple&&this.useTags&&this.tags&&this.tags.length>0?p`<div part="tags" class="${h("flex-grow flex flex-wrap items-center gap-1 min-w-0",this.floatingLabel&&"pt-4")}">${this.tags}</div>`:""}<div aria-live="polite" id="control-value" class="absolute top-0 left-0 opacity-0 -z-10">${this.selectedOptions.map(y=>y==null?void 0:y.getTextLabel()).join(", ")}</div><input class="${h("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10",f)}" type="text" ?disabled="${this.disabled}" ?required="${this.required}" .value="${Array.isArray(this.value)?this.value.join(", "):this.value}" tabindex="-1" aria-controls="control-value" aria-hidden="true" @focus="${()=>this.focus()}" @invalid="${this.handleInvalid}"> ${l?p`<button part="clear-button" class="${h("select__clear flex justify-center",v,this.value.length>0?"visible":"hidden")}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-7-0-0-next-3-icon class="${h("text-neutral-700 z-10",g)}" library="_internal" name="closing-round"></sd-7-0-0-next-3-icon></slot></button>`:""} ${this.showInvalidStyle?p`<sd-7-0-0-next-3-icon part="invalid-icon" class="${h(v,g)}" library="_internal" name="risk"></sd-7-0-0-next-3-icon>`:""} ${this.styleOnValid&&this.showValidStyle?p`<sd-7-0-0-next-3-icon part="valid-icon" class="${h("flex-shrink-0 text-success",v,g)}" library="_internal" name="confirm-circle"></sd-7-0-0-next-3-icon>`:""}<slot name="expand-icon" part="expand-icon" class="${h("inline-flex ml-2 items-center transition-transform duration-medium ease-in-out",this.open?"rotate-180":"rotate-0",this.disabled||this.visuallyDisabled?"text-neutral-500":"icon-color",g)}"><sd-7-0-0-next-3-icon name="chevron-down" part="chevron" library="_internal" color="currentColor"></sd-7-0-0-next-3-icon></slot></div><button part="combobox" class="${h("relative w-full px-4 flex flex-row items-center rounded-default focus-visible:outline-none",f,this.open&&"shadow transition-shadow duration-medium ease-in-out",{sm:"min-h-[32px]",md:"min-h-[40px]",lg:"min-h-[48px]"}[this.size])}" type="button" @keydown="${this.handleComboboxKeyDown}" @mousedown="${this.handleComboboxMouseDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" aria-labelledby="label"></button></div><div id="listbox" role="listbox" aria-expanded="${this.open?"true":"false"}" aria-multiselectable="${this.multiple?"true":"false"}" aria-labelledby="label" part="listbox" class="${h("bg-white px-2 py-3 relative border-primary overflow-y-auto",this.open&&"shadow-listbox transition-shadow duration-medium ease-in-out",this.currentPlacement==="bottom"?"border-r-2 border-b-2 border-l-2 form-control__listbox-border-bottom-right-radius form-control__listbox-border-bottom-left-radius":"border-r-2 border-t-2 border-l-2 form-control__listbox-border-top-right-radius form-control__listbox-border-top-left-radius")}" tabindex="-1" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-7-0-0-next-3-popup></div><div class="${h("text-sm mt-1",this.visuallyDisabled||this.disabled?"text-neutral-500":"text-neutral-700")}" part="form-control-help-text" id="help-text" aria-hidden="${o?"false":"true"}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage(this.size)}`}};i.styles=[...O.styles,E`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
12
- :host{position:relative;display:block;width:auto}[part=invalid-icon]{color:rgb(var(--sd-color-icon-fill-error,--sd-color-error))}:host([required]) #label::after{content:' *'}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{color:rgba(var(--sd-color-text-neutral-500))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{color:rgba(var(--sd-color-text-neutral-500))}[part=listbox]{max-height:var(--auto-size-available-height,auto)}.input-container,[part=combobox]{grid-column:1/1;grid-row:1/1}sd-7-0-0-next-3-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-7-0-0-next-3-tag::part(base){border-radius:var(--sd-radius);padding-inline:var(--sd-spacing-1)}sd-7-0-0-next-3-tag::part(content){display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:var(--tag-max-width,15ch)}sd-7-0-0-next-3-tag[size=lg]::part(base){padding-inline:var(--sd-spacing-2)}sd-7-0-0-next-3-tag[disabled=false]::part(base):hover{background-color:rgba(var(--sd-color-background-primary-100))}.icon-color{color:rgb(var(--sd-form-control-color-icon-fill))}`],s([k({selector:"sd-7-0-0-next-3-option"})],i.prototype,"_optionsInDefaultSlot",2),s([c("sd-7-0-0-next-3-popup")],i.prototype,"popup",2),s([c('[part="combobox"]')],i.prototype,"combobox",2),s([c('[part="display-input"]')],i.prototype,"displayInput",2),s([c(".value-input")],i.prototype,"valueInput",2),s([c('[part="listbox"]')],i.prototype,"listbox",2),s([c("#invalid-message")],i.prototype,"invalidMessage",2),s([u()],i.prototype,"deletedTagLabel",2),s([u()],i.prototype,"hasFocus",2),s([u()],i.prototype,"currentOption",2),s([u()],i.prototype,"selectedOptions",2),s([u()],i.prototype,"showValidStyle",2),s([u()],i.prototype,"showInvalidStyle",2),s([F()],i.prototype,"defaultValue",2),s([n({type:Boolean,reflect:!0})],i.prototype,"open",2),s([n({type:String,reflect:!0})],i.prototype,"size",2),s([n({type:String,reflect:!0})],i.prototype,"placement",2),s([n({type:String,reflect:!0})],i.prototype,"label",2),s([n({type:String,reflect:!0})],i.prototype,"placeholder",2),s([n({type:String,attribute:"max-options-tag-label",reflect:!0})],i.prototype,"maxOptionsTagLabel",2),s([n({type:Boolean,reflect:!0})],i.prototype,"disabled",2),s([n({type:Boolean,reflect:!0,attribute:"visually-disabled"})],i.prototype,"visuallyDisabled",2),s([n({type:String,attribute:"help-text",reflect:!0})],i.prototype,"helpText",2),s([u()],i.prototype,"currentPlacement",2),s([n({type:Boolean,reflect:!0})],i.prototype,"clearable",2),s([n({type:Boolean,reflect:!0})],i.prototype,"multiple",2),s([n({type:Boolean,reflect:!0})],i.prototype,"useTags",2),s([n({attribute:"max-options-visible",type:Number,reflect:!0})],i.prototype,"maxOptionsVisible",2),s([n({reflect:!0})],i.prototype,"form",2),s([n({reflect:!0})],i.prototype,"name",2),s([n({converter:{fromAttribute:t=>t.split(" "),toAttribute:t=>t.join(" ")}})],i.prototype,"value",2),s([n({type:Boolean,reflect:!0})],i.prototype,"required",2),s([n({attribute:"floating-label",type:Boolean,reflect:!0})],i.prototype,"floatingLabel",2),s([n({type:Boolean,reflect:!0,attribute:"style-on-valid"})],i.prototype,"styleOnValid",2),s([n({type:Boolean,reflect:!0})],i.prototype,"hoist",2),s([n()],i.prototype,"getTag",2),s([m("useTags",{waitUntilFirstUpdate:!0})],i.prototype,"handleUseTagsChange",1),s([m(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],i.prototype,"handleDisabledChange",1),s([m("open",{waitUntilFirstUpdate:!0})],i.prototype,"handleOpenChange",1),s([m("size",{waitUntilFirstUpdate:!0})],i.prototype,"applySizeToOptions",1),s([m("value",{waitUntilFirstUpdate:!0})],i.prototype,"handleValueChange",1),s([m(["size","floatingLabel"])],i.prototype,"handleSizeChange",1),i=s([D("sd-7-0-0-next-3-select")],i);C("select.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});C("select.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{i as a};
11
+ "><div class="${h("relative w-full h-full grid rounded-default transition-colors hover:duration-fast ease-in-out",this.visuallyDisabled||this.disabled?"hover:bg-transparent":"hover:[@media(hover:hover)]:form-control--hover-color-background",["invalid","activeInvalid"].includes(b)&&"form-control--invalid-color-background")}" slot="anchor"><div class="${h("input-container items-center w-full h-full px-4 flex min-w-0",{sm:"py-1",md:"py-1",lg:"py-2"}[this.size],_)}"><input name="${this.name}" form="${this.form}" part="display-input" class="${h("top-0 left-0 appearance-none outline-none flex-grow bg-transparent flex-1 placeholder:text-neutral-700 min-w-0",f,this.multiple&&this.useTags&&this.value.length>0?"hidden":"",this.size==="sm"?a?"h-4":"h-6":a?"h-6":"h-8",a&&"leading-none mt-4")}" type="text" .disabled="${this.disabled}" placeholder="${!this.floatingLabel||a?this.placeholder||this.localize.term("selectDefaultPlaceholder"):""}" .value="${this.displayLabel}" autocomplete="off" spellcheck="false" autocapitalize="off" readonly="readonly" aria-controls="listbox" aria-expanded="${this.open?"true":"false"}" aria-haspopup="listbox" aria-labelledby="label" aria-disabled="${this.disabled||this.visuallyDisabled?"true":"false"}" aria-invalid="${this.showInvalidStyle}" aria-describedby="help-text invalid-message" role="combobox" tabindex="-1"> ${this.multiple&&this.useTags&&this.tags&&this.tags.length>0?p`<div part="tags" class="${h("flex-grow flex flex-wrap items-center gap-1 min-w-0",this.floatingLabel&&"pt-4")}">${this.tags}</div>`:""}<div aria-live="polite" id="control-value" class="absolute top-0 left-0 opacity-0 -z-10">${this.selectedOptions.map(y=>y==null?void 0:y.getTextLabel()).join(", ")}</div><input class="${h("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10",f)}" type="text" ?disabled="${this.disabled}" ?required="${this.required}" .value="${Array.isArray(this.value)?this.value.join(", "):this.value}" tabindex="-1" aria-controls="control-value" aria-hidden="true" @focus="${()=>this.focus()}" @invalid="${this.handleInvalid}"> ${l?p`<button part="clear-button" class="${h("select__clear flex justify-center",v,this.value.length>0?"visible":"hidden")}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-7-0-0-next-5-icon class="${h("text-neutral-700 z-10",g)}" library="_internal" name="closing-round"></sd-7-0-0-next-5-icon></slot></button>`:""} ${this.showInvalidStyle?p`<sd-7-0-0-next-5-icon part="invalid-icon" class="${h(v,g)}" library="_internal" name="risk"></sd-7-0-0-next-5-icon>`:""} ${this.styleOnValid&&this.showValidStyle?p`<sd-7-0-0-next-5-icon part="valid-icon" class="${h("flex-shrink-0 text-success",v,g)}" library="_internal" name="confirm-circle"></sd-7-0-0-next-5-icon>`:""}<slot name="expand-icon" part="expand-icon" class="${h("inline-flex ml-2 items-center transition-transform duration-medium ease-in-out",this.open?"rotate-180":"rotate-0",this.disabled||this.visuallyDisabled?"text-neutral-500":"icon-color",g)}"><sd-7-0-0-next-5-icon name="chevron-down" part="chevron" library="_internal" color="currentColor"></sd-7-0-0-next-5-icon></slot></div><button part="combobox" class="${h("relative w-full px-4 flex flex-row items-center rounded-default focus-visible:outline-none",f,this.open&&"shadow transition-shadow duration-medium ease-in-out",{sm:"min-h-[32px]",md:"min-h-[40px]",lg:"min-h-[48px]"}[this.size])}" type="button" @keydown="${this.handleComboboxKeyDown}" @mousedown="${this.handleComboboxMouseDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" aria-labelledby="label"></button></div><div id="listbox" role="listbox" aria-expanded="${this.open?"true":"false"}" aria-multiselectable="${this.multiple?"true":"false"}" aria-labelledby="label" part="listbox" class="${h("bg-white px-2 py-3 relative border-primary overflow-y-auto",this.open&&"shadow-listbox transition-shadow duration-medium ease-in-out",this.currentPlacement==="bottom"?"border-r-2 border-b-2 border-l-2 form-control__listbox-border-bottom-right-radius form-control__listbox-border-bottom-left-radius":"border-r-2 border-t-2 border-l-2 form-control__listbox-border-top-right-radius form-control__listbox-border-top-left-radius")}" tabindex="-1" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-7-0-0-next-5-popup></div><div class="${h("text-sm mt-1",this.visuallyDisabled||this.disabled?"text-neutral-500":"text-neutral-700")}" part="form-control-help-text" id="help-text" aria-hidden="${o?"false":"true"}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage(this.size)}`}};i.styles=[...O.styles,E`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
12
+ :host{position:relative;display:block;width:auto}[part=invalid-icon]{color:rgb(var(--sd-color-icon-fill-error,--sd-color-error))}:host([required]) #label::after{content:' *'}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{color:rgba(var(--sd-color-text-neutral-500))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{color:rgba(var(--sd-color-text-neutral-500))}[part=listbox]{max-height:var(--auto-size-available-height,auto)}.input-container,[part=combobox]{grid-column:1/1;grid-row:1/1}sd-7-0-0-next-5-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-7-0-0-next-5-tag::part(base){border-radius:var(--sd-radius);padding-inline:var(--sd-spacing-1)}sd-7-0-0-next-5-tag::part(content){display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:var(--tag-max-width,15ch)}sd-7-0-0-next-5-tag[size=lg]::part(base){padding-inline:var(--sd-spacing-2)}sd-7-0-0-next-5-tag[disabled=false]::part(base):hover{background-color:rgba(var(--sd-color-background-primary-100))}.icon-color{color:rgb(var(--sd-form-control-color-icon-fill))}`],s([k({selector:"sd-7-0-0-next-5-option"})],i.prototype,"_optionsInDefaultSlot",2),s([c("sd-7-0-0-next-5-popup")],i.prototype,"popup",2),s([c('[part="combobox"]')],i.prototype,"combobox",2),s([c('[part="display-input"]')],i.prototype,"displayInput",2),s([c(".value-input")],i.prototype,"valueInput",2),s([c('[part="listbox"]')],i.prototype,"listbox",2),s([c("#invalid-message")],i.prototype,"invalidMessage",2),s([u()],i.prototype,"deletedTagLabel",2),s([u()],i.prototype,"hasFocus",2),s([u()],i.prototype,"currentOption",2),s([u()],i.prototype,"selectedOptions",2),s([u()],i.prototype,"showValidStyle",2),s([u()],i.prototype,"showInvalidStyle",2),s([F()],i.prototype,"defaultValue",2),s([n({type:Boolean,reflect:!0})],i.prototype,"open",2),s([n({type:String,reflect:!0})],i.prototype,"size",2),s([n({type:String,reflect:!0})],i.prototype,"placement",2),s([n({type:String,reflect:!0})],i.prototype,"label",2),s([n({type:String,reflect:!0})],i.prototype,"placeholder",2),s([n({type:String,attribute:"max-options-tag-label",reflect:!0})],i.prototype,"maxOptionsTagLabel",2),s([n({type:Boolean,reflect:!0})],i.prototype,"disabled",2),s([n({type:Boolean,reflect:!0,attribute:"visually-disabled"})],i.prototype,"visuallyDisabled",2),s([n({type:String,attribute:"help-text",reflect:!0})],i.prototype,"helpText",2),s([u()],i.prototype,"currentPlacement",2),s([n({type:Boolean,reflect:!0})],i.prototype,"clearable",2),s([n({type:Boolean,reflect:!0})],i.prototype,"multiple",2),s([n({type:Boolean,reflect:!0})],i.prototype,"useTags",2),s([n({attribute:"max-options-visible",type:Number,reflect:!0})],i.prototype,"maxOptionsVisible",2),s([n({reflect:!0})],i.prototype,"form",2),s([n({reflect:!0})],i.prototype,"name",2),s([n({converter:{fromAttribute:t=>t.split(" "),toAttribute:t=>t.join(" ")}})],i.prototype,"value",2),s([n({type:Boolean,reflect:!0})],i.prototype,"required",2),s([n({attribute:"floating-label",type:Boolean,reflect:!0})],i.prototype,"floatingLabel",2),s([n({type:Boolean,reflect:!0,attribute:"style-on-valid"})],i.prototype,"styleOnValid",2),s([n({type:Boolean,reflect:!0})],i.prototype,"hoist",2),s([n()],i.prototype,"getTag",2),s([m("useTags",{waitUntilFirstUpdate:!0})],i.prototype,"handleUseTagsChange",1),s([m(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],i.prototype,"handleDisabledChange",1),s([m("open",{waitUntilFirstUpdate:!0})],i.prototype,"handleOpenChange",1),s([m("size",{waitUntilFirstUpdate:!0})],i.prototype,"applySizeToOptions",1),s([m("value",{waitUntilFirstUpdate:!0})],i.prototype,"handleValueChange",1),s([m(["size","floatingLabel"])],i.prototype,"handleSizeChange",1),i=s([D("sd-7-0-0-next-5-select")],i);C("select.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});C("select.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{i as a};
@@ -1,4 +1,4 @@
1
- import{a as v}from"./chunk.SAEYIL5V.js";import{a as b}from"./chunk.ERP45OHF.js";import{b as u}from"./chunk.LZRL7OLU.js";import{a as m}from"./chunk.LHSR56PH.js";import{a as p}from"./chunk.CGQ2BPPZ.js";import{a as i}from"./chunk.4ZZFYCXX.js";import{a}from"./chunk.NYKJXI3Q.js";import{a as c,b as o,c as h,d as s,h as n}from"./chunk.YAUFTHOR.js";import{b as d,e as l}from"./chunk.OBAEIKIV.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends n{constructor(){super(...arguments);this.hasSlotController=new p(this,"tooltip");this.formControlController=new u(this,{value:r=>r.checked?r.value||"on":void 0,defaultValue:r=>r.defaultChecked,setValue:(r,f)=>r.checked=f});this.showInvalidStyle=!1;this.title="";this.name="";this.disabled=!1;this.checked=!1;this.defaultChecked=!1;this.form="";this.required=!1}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleClick(){this.checked=!this.checked,this.emit("sd-change")}handleBlur(){this.emit("sd-blur")}handleInput(){this.emit("sd-input")}handleInvalid(r){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(r),this.invalidMessage.textContent=r.target.validationMessage}handleFocus(){this.emit("sd-focus")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false"),this.formControlController.setValidity(this.disabled)}handleStateChange(){this.input.checked=this.checked,this.formControlController.updateValidity()}click(){this.input.click()}focus(r){this.input.focus(r)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(r){this.input.setCustomValidity(r),this.formControlController.updateValidity()}render(){return l`<div class="flex flex-row items-center gap-2"><label part="base" class="${i("group flex items-center text-base leading-normal text-black cursor-pointer",this.disabled&&"hover:cursor-not-allowed")}"><input id="input" class="peer absolute opacity-0 p-0 m-0 pointer-events-none" type="checkbox" role="switch" title="${this.title}" name="${this.name}" value="${m(this.value)}" .checked="${v(this.checked)}" .disabled="${this.disabled}" .required="${this.required}" aria-checked="${this.checked?"true":"false"}" aria-invalid="${this.showInvalidStyle}" aria-describedby="invalid-message" @click="${this.handleClick}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @blur="${this.handleBlur}" @focus="${this.handleFocus}"> <span id="control" part="control ${this.checked?" control--checked":"control--unchecked"}" class="${i(`relative flex flex-initial items-center justify-center sd-7-0-0-next-3-switch-border-width rounded-full h-4 w-8 transition-colors ease duration-100
1
+ import{a as v}from"./chunk.SAEYIL5V.js";import{a as b}from"./chunk.ERP45OHF.js";import{b as u}from"./chunk.LZRL7OLU.js";import{a as m}from"./chunk.LHSR56PH.js";import{a as p}from"./chunk.CGQ2BPPZ.js";import{a as i}from"./chunk.4ZZFYCXX.js";import{a}from"./chunk.NYKJXI3Q.js";import{a as c,b as o,c as h,d as s,h as n}from"./chunk.UO5AU7FY.js";import{b as d,e as l}from"./chunk.OBAEIKIV.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends n{constructor(){super(...arguments);this.hasSlotController=new p(this,"tooltip");this.formControlController=new u(this,{value:r=>r.checked?r.value||"on":void 0,defaultValue:r=>r.defaultChecked,setValue:(r,f)=>r.checked=f});this.showInvalidStyle=!1;this.title="";this.name="";this.disabled=!1;this.checked=!1;this.defaultChecked=!1;this.form="";this.required=!1}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleClick(){this.checked=!this.checked,this.emit("sd-change")}handleBlur(){this.emit("sd-blur")}handleInput(){this.emit("sd-input")}handleInvalid(r){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(r),this.invalidMessage.textContent=r.target.validationMessage}handleFocus(){this.emit("sd-focus")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false"),this.formControlController.setValidity(this.disabled)}handleStateChange(){this.input.checked=this.checked,this.formControlController.updateValidity()}click(){this.input.click()}focus(r){this.input.focus(r)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(r){this.input.setCustomValidity(r),this.formControlController.updateValidity()}render(){return l`<div class="flex flex-row items-center gap-2"><label part="base" class="${i("group flex items-center text-base leading-normal text-black cursor-pointer",this.disabled&&"hover:cursor-not-allowed")}"><input id="input" class="peer absolute opacity-0 p-0 m-0 pointer-events-none" type="checkbox" role="switch" title="${this.title}" name="${this.name}" value="${m(this.value)}" .checked="${v(this.checked)}" .disabled="${this.disabled}" .required="${this.required}" aria-checked="${this.checked?"true":"false"}" aria-invalid="${this.showInvalidStyle}" aria-describedby="invalid-message" @click="${this.handleClick}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @blur="${this.handleBlur}" @focus="${this.handleFocus}"> <span id="control" part="control ${this.checked?" control--checked":"control--unchecked"}" class="${i(`relative flex flex-initial items-center justify-center sd-7-0-0-next-5-switch-border-width rounded-full h-4 w-8 transition-colors ease duration-100
2
2
  peer-focus-visible:outline peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2
3
- peer-focus-visible:outline-primary outline-transparent transition-colors ease-in-out duration-medium hover:duration-fast`,this.disabled&&this.checked?"bg-neutral-500":this.disabled?"border-neutral-500":this.showInvalidStyle?this.checked?"border-error bg-error hover:bg-error-400 hover:border-error-400 group-hover:border-error-400 group-hover:bg-error-400":"border-error bg-white hover:border-error-400 hover:bg-white group-hover:border-error-400 group-hover:bg-white":this.checked?"border-accent hover:sd-7-0-0-next-3-switch--checked--hover-color-background bg-accent hover:border-accent-550 group-hover:border-accent-550 group-hover:sd-7-0-0-next-3-switch--checked--hover-color-background":"sd-7-0-0-next-3-switch--unchecked-color-border bg-white hover:sd-7-0-0-next-3-switch--unchecked--hover-color-background group-hover:sd-7-0-0-next-3-switch--unchecked--hover-color-background")}"><span id="thumb" part="thumb" class="${i("w-2.5 h-2.5 rounded-full transition[transform,colors] ease-in-out duration-medium",this.disabled&&this.checked?"translate-x-2":this.disabled?"-translate-x-2":this.showInvalidStyle?this.checked?"translate-x-2":"bg-error -translate-x-2 hover:bg-error-400 hover:border-error-400 group-hover:border-error-400 group-hover:bg-error-400":this.checked?"translate-x-2":"-translate-x-2 sd-7-0-0-next-3-switch--unchecked__icon-color-background")}"></span> </span><span part="label" id="label" class="${i("select-none inline-block ml-2",this.disabled?"text-neutral-500":"sd-7-0-0-next-3-switch-color-text")}"><slot></slot></span></label> ${this.hasSlotController.test("tooltip")?l`<slot name="tooltip"></slot>`:null}</div><div part="invalid-icon-message" class="flex items-center gap-2 mt-2">${this.showInvalidStyle?l`<sd-7-0-0-next-3-icon part="invalid-icon" class="${i("text-error")}" library="_internal" name="risk"></sd-7-0-0-next-3-icon>`:""} ${this.formControlController.renderInvalidMessage("lg")}</div>`}};e.styles=[...n.styles,d`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
4
- :host{display:block;width:-moz-max-content;width:max-content}:host(:focus-visible){--tw-outline-style:none;outline-style:none}:host([required]) #label::after{content:' *'}:host([disabled][checked]) #control{border-color:rgba(var(--sd-color-background-neutral-500,rgba(var(--sd-color-neutral-500))))}:host([checked]) [part=thumb]{background-color:rgba(var(--sd-color-icon-fill-white,rgba(var(--sd-color-white))))}:host([disabled]:not([checked])) [part=thumb]{background-color:rgba(var(--sd-color-icon-fill-neutral-500,rgba(var(--sd-color-neutral-500))))}`],t([s("input")],e.prototype,"input",2),t([s("#invalid-message")],e.prototype,"invalidMessage",2),t([h()],e.prototype,"showInvalidStyle",2),t([o({type:String,reflect:!0})],e.prototype,"title",2),t([o({type:String,reflect:!0})],e.prototype,"name",2),t([o()],e.prototype,"value",2),t([o({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([o({type:Boolean,reflect:!0})],e.prototype,"checked",2),t([b("checked")],e.prototype,"defaultChecked",2),t([o({reflect:!0})],e.prototype,"form",2),t([o({type:Boolean,reflect:!0})],e.prototype,"required",2),t([a("disabled",{waitUntilFirstUpdate:!0})],e.prototype,"handleDisabledChange",1),t([a(["checked"],{waitUntilFirstUpdate:!0})],e.prototype,"handleStateChange",1),e=t([c("sd-7-0-0-next-3-switch")],e);export{e as a};
3
+ peer-focus-visible:outline-primary outline-transparent transition-colors ease-in-out duration-medium hover:duration-fast`,this.disabled&&this.checked?"bg-neutral-500":this.disabled?"border-neutral-500":this.showInvalidStyle?this.checked?"border-error bg-error hover:bg-error-400 hover:border-error-400 group-hover:border-error-400 group-hover:bg-error-400":"border-error bg-white hover:border-error-400 hover:bg-white group-hover:border-error-400 group-hover:bg-white":this.checked?"border-accent hover:sd-7-0-0-next-5-switch--checked--hover-color-background bg-accent hover:border-accent-550 group-hover:border-accent-550 group-hover:sd-7-0-0-next-5-switch--checked--hover-color-background":"sd-7-0-0-next-5-switch--unchecked-color-border bg-white hover:sd-7-0-0-next-5-switch--unchecked--hover-color-background group-hover:sd-7-0-0-next-5-switch--unchecked--hover-color-background")}"><span id="thumb" part="thumb" class="${i("w-2.5 h-2.5 rounded-full transition[transform,colors] ease-in-out duration-medium",this.disabled&&this.checked?"translate-x-2":this.disabled?"-translate-x-2":this.showInvalidStyle?this.checked?"translate-x-2":"bg-error -translate-x-2 hover:bg-error-400 hover:border-error-400 group-hover:border-error-400 group-hover:bg-error-400":this.checked?"translate-x-2":"-translate-x-2 sd-7-0-0-next-5-switch--unchecked__icon-color-background")}"></span> </span><span part="label" id="label" class="${i("select-none inline-block ml-2",this.disabled?"text-neutral-500":"sd-7-0-0-next-5-switch-color-text")}"><slot></slot></span></label> ${this.hasSlotController.test("tooltip")?l`<slot name="tooltip"></slot>`:null}</div><div part="invalid-icon-message" class="flex items-center gap-2 mt-2">${this.showInvalidStyle?l`<sd-7-0-0-next-5-icon part="invalid-icon" class="${i("text-error")}" library="_internal" name="risk"></sd-7-0-0-next-5-icon>`:""} ${this.formControlController.renderInvalidMessage("lg")}</div>`}};e.styles=[...n.styles,d`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
4
+ :host{display:block;width:-moz-max-content;width:max-content}:host(:focus-visible){--tw-outline-style:none;outline-style:none}:host([required]) #label::after{content:' *'}:host([disabled][checked]) #control{border-color:rgba(var(--sd-color-background-neutral-500,rgba(var(--sd-color-neutral-500))))}:host([checked]) [part=thumb]{background-color:rgba(var(--sd-color-icon-fill-white,rgba(var(--sd-color-white))))}:host([disabled]:not([checked])) [part=thumb]{background-color:rgba(var(--sd-color-icon-fill-neutral-500,rgba(var(--sd-color-neutral-500))))}`],t([s("input")],e.prototype,"input",2),t([s("#invalid-message")],e.prototype,"invalidMessage",2),t([h()],e.prototype,"showInvalidStyle",2),t([o({type:String,reflect:!0})],e.prototype,"title",2),t([o({type:String,reflect:!0})],e.prototype,"name",2),t([o()],e.prototype,"value",2),t([o({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([o({type:Boolean,reflect:!0})],e.prototype,"checked",2),t([b("checked")],e.prototype,"defaultChecked",2),t([o({reflect:!0})],e.prototype,"form",2),t([o({type:Boolean,reflect:!0})],e.prototype,"required",2),t([a("disabled",{waitUntilFirstUpdate:!0})],e.prototype,"handleDisabledChange",1),t([a(["checked"],{waitUntilFirstUpdate:!0})],e.prototype,"handleStateChange",1),e=t([c("sd-7-0-0-next-5-switch")],e);export{e as a};
@@ -1,6 +1,6 @@
1
- import{a as b}from"./chunk.LHSR56PH.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.VAM5SM3O.js";import{a as o}from"./chunk.4ZZFYCXX.js";import{a as f}from"./chunk.NYKJXI3Q.js";import{a as v,b as a,d as s,h as c}from"./chunk.YAUFTHOR.js";import{b as u,e as g}from"./chunk.OBAEIKIV.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 g`<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-7-0-0-next-3-icon library="_internal" name="chevron-down" class="text-xl"></sd-7-0-0-next-3-icon></slot><slot name="collapse-icon" class="${o(!this.open&&"hidden")}"><sd-7-0-0-next-3-icon library="_internal" name="chevron-down" class="text-xl"></sd-7-0-0-next-3-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,u`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
1
+ import{a as b}from"./chunk.LHSR56PH.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.VAM5SM3O.js";import{a as o}from"./chunk.4ZZFYCXX.js";import{a as f}from"./chunk.NYKJXI3Q.js";import{a as v,b as a,d as s,h as c}from"./chunk.UO5AU7FY.js";import{b as u,e as g}from"./chunk.OBAEIKIV.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 g`<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-7-0-0-next-5-icon library="_internal" name="chevron-down" class="text-xl"></sd-7-0-0-next-5-icon></slot><slot name="collapse-icon" class="${o(!this.open&&"hidden")}"><sd-7-0-0-next-5-icon library="_internal" name="chevron-down" class="text-xl"></sd-7-0-0-next-5-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,u`/*! tailwindcss v4.3.2 | 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: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:0;left: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-7-0-0-next-3-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: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:0;left: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-7-0-0-next-5-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 kt}from"./chunk.4ZZFYCXX.js";import{a as Dt,b as O,d as Rt,h as Et}from"./chunk.YAUFTHOR.js";import{b as $t,e as Ot}from"./chunk.OBAEIKIV.js";import{a as P,b as N,c as mt,e as A}from"./chunk.6EV4YU6C.js";var H=Math.min,D=Math.max,at=Math.round,ft=Math.floor,W=t=>({x:t,y:t}),me={left:"right",right:"left",bottom:"top",top:"bottom"};function Ct(t,e,n){return D(t,H(e,n))}function K(t,e){return typeof t=="function"?t(e):t}function X(t){return t.split("-")[0]}function G(t){return t.split("-")[1]}function Tt(t){return t==="x"?"y":"x"}function pt(t){return t==="y"?"height":"width"}function _(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function wt(t){return Tt(_(t))}function Nt(t,e,n){n===void 0&&(n=!1);let i=G(t),o=wt(t),r=pt(o),s=o==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=ct(s)),[s,ct(s)]}function Ht(t){let e=ct(t);return[gt(t),e,gt(e)]}function gt(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}var Ft=["left","right"],Bt=["right","left"],ge=["top","bottom"],pe=["bottom","top"];function we(t,e,n){switch(t){case"top":case"bottom":return n?e?Bt:Ft:e?Ft:Bt;case"left":case"right":return e?ge:pe;default:return[]}}function Wt(t,e,n,i){let o=G(t),r=we(X(t),n==="start",i);return o&&(r=r.map(s=>s+"-"+o),e&&(r=r.concat(r.map(gt)))),r}function ct(t){let e=X(t);return me[e]+t.slice(e.length)}function ye(t){var e,n,i,o;return{top:(e=t.top)!=null?e:0,right:(n=t.right)!=null?n:0,bottom:(i=t.bottom)!=null?i:0,left:(o=t.left)!=null?o:0}}function Lt(t){return typeof t!="number"?ye(t):{top:t,right:t,bottom:t,left:t}}function J(t){let{x:e,y:n,width:i,height:o}=t;return{width:i,height:o,top:n,left:e,right:e+i,bottom:n+o,x:e,y:n}}function _t(t,e,n){let{reference:i,floating:o}=t,r=_(e),s=wt(e),l=pt(s),c=X(e),a=r==="y",u=i.x+i.width/2-o.width/2,h=i.y+i.height/2-o.height/2,d=i[l]/2-o[l]/2,f;switch(c){case"top":f={x:u,y:i.y-o.height};break;case"bottom":f={x:u,y:i.y+i.height};break;case"right":f={x:i.x+i.width,y:h};break;case"left":f={x:i.x-o.width,y:h};break;default:f={x:i.x,y:i.y}}let m=G(e);return m&&(f[s]+=d*(m==="end"?1:-1)*(n&&a?-1:1)),f}async function Vt(t,e){var n;e===void 0&&(e={});let{x:i,y:o,platform:r,rects:s,elements:l,strategy:c}=t,{boundary:a="clippingAncestors",rootBoundary:u="viewport",elementContext:h="floating",altBoundary:d=!1,padding:f=0}=K(e,t),m=Lt(f),w=l[d?h==="floating"?"reference":"floating":h],p=J(await r.getClippingRect({element:(n=await(r.isElement==null?void 0:r.isElement(w)))==null||n?w:w.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(l.floating)),boundary:a,rootBoundary:u,strategy:c})),x=h==="floating"?{x:i,y:o,width:s.floating.width,height:s.floating.height}:s.reference,b=await(r.getOffsetParent==null?void 0:r.getOffsetParent(l.floating)),v=await(r.isElement==null?void 0:r.isElement(b))&&await(r.getScale==null?void 0:r.getScale(b))||{x:1,y:1},E=J(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:x,offsetParent:b,strategy:c}):x);return{top:(p.top-E.top+m.top)/v.y,bottom:(E.bottom-p.bottom+m.bottom)/v.y,left:(p.left-E.left+m.left)/v.x,right:(E.right-p.right+m.right)/v.x}}var ve=50,jt=async(t,e,n)=>{let{placement:i="bottom",strategy:o="absolute",middleware:r=[],platform:s}=n,l=s.detectOverflow?s:N(P({},s),{detectOverflow:Vt}),c=await(s.isRTL==null?void 0:s.isRTL(e)),a=await s.getElementRects({reference:t,floating:e,strategy:o}),{x:u,y:h}=_t(a,i,c),d=i,f=0,m={};for(let g=0;g<r.length;g++){let w=r[g];if(!w)continue;let{name:p,fn:x}=w,{x:b,y:v,data:E,reset:R}=await x({x:u,y:h,initialPlacement:i,placement:d,strategy:o,middlewareData:m,rects:a,platform:l,elements:{reference:t,floating:e}});u=b!=null?b:u,h=v!=null?v:h,m[p]=P(P({},m[p]),E),R&&f<ve&&(f++,typeof R=="object"&&(R.placement&&(d=R.placement),R.rects&&(a=R.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:o}):R.rects),{x:u,y:h}=_t(a,d,c)),g=-1)}return{x:u,y:h,placement:d,strategy:o,middlewareData:m}},It=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:i,placement:o,rects:r,platform:s,elements:l,middlewareData:c}=e,{element:a,padding:u=0}=K(t,e)||{};if(a==null)return{};let h=Lt(u),d={x:n,y:i},f=wt(o),m=pt(f),g=await s.getDimensions(a),w=f==="y",p=w?"top":"left",x=w?"bottom":"right",b=w?"clientHeight":"clientWidth",v=r.reference[m]+r.reference[f]-d[f]-r.floating[m],E=d[f]-r.reference[f],R=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a)),L=R?R[b]:0;(!L||!await(s.isElement==null?void 0:s.isElement(R)))&&(L=l.floating[b]||r.floating[m]);let z=v/2-E/2,S=L/2-g[m]/2-1,C=H(h[p],S),rt=H(h[x],S),st=L-g[m]-rt,B=L/2-g[m]/2+z,et=Ct(C,B,st),M=!c.arrow&&G(o)!=null&&B!==et&&r.reference[m]/2-(B<C?C:rt)-g[m]/2<0,q=M?B<C?B-C:B-st:0;return{[f]:d[f]+q,data:P({[f]:et,centerOffset:B-et-q},M&&{alignmentOffset:q}),reset:M}}});var Xt=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,i;let{placement:o,middlewareData:r,rects:s,initialPlacement:l,platform:c,elements:a}=e,et=K(t,e),{mainAxis:u=!0,crossAxis:h=!0,fallbackPlacements:d,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:g=!0}=et,w=mt(et,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((n=r.arrow)!=null&&n.alignmentOffset)return{};let p=X(o),x=_(l),b=X(l)===l,v=await(c.isRTL==null?void 0:c.isRTL(a.floating)),E=d||(b||!g?[ct(l)]:Ht(l)),R=m!=="none";!d&&R&&E.push(...Wt(l,g,m,v));let L=[l,...E],z=await c.detectOverflow(e,w),S=[],C=((i=r.flip)==null?void 0:i.overflows)||[];if(u&&S.push(z[p]),h){let M=Nt(o,s,v);S.push(z[M[0]],z[M[1]])}if(C=[...C,{placement:o,overflows:S}],!S.every(M=>M<=0)){var rt,st;let M=(((rt=r.flip)==null?void 0:rt.index)||0)+1,q=L[M];if(q&&(!(h==="alignment"?x!==_(q):!1)||C.every($=>_($.placement)===x?$.overflows[0]>0:!0)))return{data:{index:M,overflows:C},reset:{placement:q}};let lt=(st=C.filter(U=>U.overflows[0]<=0).sort((U,$)=>U.overflows[1]-$.overflows[1])[0])==null?void 0:st.placement;if(!lt)switch(f){case"bestFit":{var B;let U=(B=C.filter($=>{if(R){let I=_($.placement);return I===x||I==="y"}return!0}).map($=>[$.placement,$.overflows.filter(I=>I>0).reduce((I,de)=>I+de,0)]).sort(($,I)=>$[1]-I[1])[0])==null?void 0:B[0];U&&(lt=U);break}case"initialPlacement":lt=l;break}if(o!==lt)return{reset:{placement:lt}}}return{}}}};var xe=new Set(["left","top"]);async function be(t,e){let{placement:n,platform:i,elements:o}=t,r=await(i.isRTL==null?void 0:i.isRTL(o.floating)),s=X(n),l=G(n),c=_(n)==="y",a=xe.has(s)?-1:1,u=r&&c?-1:1,h=K(e,t),{mainAxis:d,crossAxis:f,alignmentAxis:m}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return l&&typeof m=="number"&&(f=l==="end"?m*-1:m),c?{x:f*u,y:d*a}:{x:d*a,y:f*u}}var Yt=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,i;let{x:o,y:r,placement:s,middlewareData:l}=e,c=await be(e,t);return s===((n=l.offset)==null?void 0:n.placement)&&(i=l.arrow)!=null&&i.alignmentOffset?{}:{x:o+c.x,y:r+c.y,data:N(P({},c),{placement:s})}}}},qt=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:i,placement:o,platform:r}=e,x=K(t,e),{mainAxis:s=!0,crossAxis:l=!1,limiter:c={fn:b=>{let{x:v,y:E}=b;return{x:v,y:E}}}}=x,a=mt(x,["mainAxis","crossAxis","limiter"]),u={x:n,y:i},h=await r.detectOverflow(e,a),d=_(o),f=Tt(d),m=u[f],g=u[d],w=(b,v)=>Ct(v+h[b==="y"?"top":"left"],v,v-h[b==="y"?"bottom":"right"]);s&&(m=w(f,m)),l&&(g=w(d,g));let p=c.fn(N(P({},e),{[f]:m,[d]:g}));return N(P({},p),{data:{x:p.x-n,y:p.y-i,enabled:{[f]:s,[d]:l}}})}}};var Ut=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){let{placement:n,rects:i,platform:o,elements:r}=e,S=K(t,e),{apply:s=()=>{}}=S,l=mt(S,["apply"]),c=await o.detectOverflow(e,l),a=X(n),u=G(n),h=_(n)==="y",{width:d,height:f}=i.floating,m,g;a==="top"||a==="bottom"?(m=a,g=u===(await(o.isRTL==null?void 0:o.isRTL(r.floating))?"start":"end")?"left":"right"):(g=a,m=u==="end"?"top":"bottom");let w=f-c.top-c.bottom,p=d-c.left-c.right,x=H(f-c[m],w),b=H(d-c[g],p),v=e.middlewareData.shift,E=!v,R=x,L=b;v!=null&&v.enabled.x&&(L=p),v!=null&&v.enabled.y&&(R=w),E&&!u&&(h?L=d-2*D(c.left,c.right):R=f-2*D(c.top,c.bottom)),await s(N(P({},e),{availableWidth:L,availableHeight:R}));let z=await o.getDimensions(r.floating);return d!==z.width||f!==z.height?{reset:{rects:!0}}:{}}}};function yt(){return typeof window!="undefined"}function Z(t){return Gt(t)?(t.nodeName||"").toLowerCase():"#document"}function T(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function V(t){var e;return(e=(Gt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Gt(t){return yt()?t instanceof Node||t instanceof T(t).Node:!1}function k(t){return yt()?t instanceof Element||t instanceof T(t).Element:!1}function j(t){return yt()?t instanceof HTMLElement||t instanceof T(t).HTMLElement:!1}function Kt(t){return!yt()||typeof ShadowRoot=="undefined"?!1:t instanceof ShadowRoot||t instanceof T(t).ShadowRoot}function ut(t){let{overflow:e,overflowX:n,overflowY:i,display:o}=F(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&o!=="inline"&&o!=="contents"}function Jt(t){return/^(table|td|th)$/.test(Z(t))}function ht(t){try{if(t.matches(":popover-open"))return!0}catch(e){}try{return t.matches(":modal")}catch(e){return!1}}var Ae=/transform|translate|scale|rotate|perspective|filter/,Oe=/paint|layout|strict|content/,Q=t=>!!t&&t!=="none",Pt;function vt(t){let e=k(t)?F(t):t;return Q(e.transform)||Q(e.translate)||Q(e.scale)||Q(e.rotate)||Q(e.perspective)||!xt()&&(Q(e.backdropFilter)||Q(e.filter))||Ae.test(e.willChange||"")||Oe.test(e.contain||"")}function Qt(t){let e=Y(t);for(;j(e)&&!it(e);){if(vt(e))return e;if(ht(e))return null;e=Y(e)}return null}function xt(){return Pt==null&&(Pt=typeof CSS!="undefined"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Pt}function it(t){return/^(html|body|#document)$/.test(Z(t))}function F(t){return T(t).getComputedStyle(t)}function dt(t){return k(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Y(t){if(Z(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Kt(t)&&t.host||V(t);return Kt(e)?e.host:e}function Zt(t){let e=Y(t);return it(e)?(t.ownerDocument||t).body:j(e)&&ut(e)?e:Zt(e)}function nt(t,e,n){var i;e===void 0&&(e=[]),n===void 0&&(n=!0);let o=Zt(t),r=o===((i=t.ownerDocument)==null?void 0:i.body),s=T(o);if(r){let l=bt(s);return e.concat(s,s.visualViewport||[],ut(o)?o:[],l&&n?nt(l):[])}else return e.concat(o,nt(o,[],n))}function bt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function ne(t){let e=F(t),n=parseFloat(e.width)||0,i=parseFloat(e.height)||0,o=j(t),r=o?t.offsetWidth:n,s=o?t.offsetHeight:i,l=at(n)!==r||at(i)!==s;return l&&(n=r,i=s),{width:n,height:i,$:l}}function zt(t){return k(t)?t:t.contextElement}function ot(t){let e=zt(t);if(!j(e))return W(1);let n=e.getBoundingClientRect(),{width:i,height:o,$:r}=ne(e),s=(r?at(n.width):n.width)/i,l=(r?at(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Re=W(0);function ie(t){let e=T(t);return!xt()||!e.visualViewport?Re:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Ee(t,e,n){return e===void 0&&(e=!1),!!n&&e&&n===T(t)}function tt(t,e,n,i){e===void 0&&(e=!1),n===void 0&&(n=!1);let o=t.getBoundingClientRect(),r=zt(t),s=W(1);e&&(i?k(i)&&(s=ot(i)):s=ot(t));let l=Ee(r,n,i)?ie(r):W(0),c=(o.left+l.x)/s.x,a=(o.top+l.y)/s.y,u=o.width/s.x,h=o.height/s.y;if(r&&i){let d=T(r),f=k(i)?T(i):i,m=d,g=bt(m);for(;g&&f!==m;){let w=ot(g),p=g.getBoundingClientRect(),x=F(g),b=p.left+(g.clientLeft+parseFloat(x.paddingLeft))*w.x,v=p.top+(g.clientTop+parseFloat(x.paddingTop))*w.y;c*=w.x,a*=w.y,u*=w.x,h*=w.y,c+=b,a+=v,m=T(g),g=bt(m)}}return J({width:u,height:h,x:c,y:a})}function At(t,e){let n=dt(t).scrollLeft;return e?e.left+n:tt(V(t)).left+n}function oe(t,e){let n=t.getBoundingClientRect(),i=n.left+e.scrollLeft-At(t,n),o=n.top+e.scrollTop;return{x:i,y:o}}function Ce(t){let{elements:e,rect:n,offsetParent:i,strategy:o}=t,r=o==="fixed",s=V(i),l=e?ht(e.floating):!1;if(i===s||l&&r)return n;let c={scrollLeft:0,scrollTop:0},a=W(1),u=W(0),h=j(i);if((h||!r)&&((Z(i)!=="body"||ut(s))&&(c=dt(i)),h)){let f=tt(i);a=ot(i),u.x=f.x+i.clientLeft,u.y=f.y+i.clientTop}let d=s&&!h&&!r?oe(s,c):W(0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-c.scrollLeft*a.x+u.x+d.x,y:n.y*a.y-c.scrollTop*a.y+u.y+d.y}}function Te(t){return t.getClientRects?Array.from(t.getClientRects()):[]}function Le(t){let e=dt(t),n=t.ownerDocument.body,i=D(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),o=D(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),r=-e.scrollLeft+At(t),s=-e.scrollTop;return F(n).direction==="rtl"&&(r+=D(t.clientWidth,n.clientWidth)-i),{width:i,height:o,x:r,y:s}}var Pe=25;function Se(t,e,n){n===void 0&&(n="viewport");let i=n==="layoutViewport",o=T(t),r=V(t),s=o.visualViewport,l=r.clientWidth,c=r.clientHeight,a=0,u=0;if(s){let d=!xt()||e==="fixed";i?d||(a=-s.offsetLeft,u=-s.offsetTop):(l=s.width,c=s.height,d&&(a=s.offsetLeft,u=s.offsetTop))}if(At(r)<=0){let d=r.ownerDocument,f=d.body,m=getComputedStyle(f),g=d.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,w=Math.abs(r.clientWidth-f.clientWidth-g),p=getComputedStyle(r).scrollbarGutter==="stable both-edges"?w/2:w;p<=Pe&&(l-=p)}return{width:l,height:c,x:a,y:u}}function ze(t,e){let n=tt(t,!0,e==="fixed"),i=n.top+t.clientTop,o=n.left+t.clientLeft,r=ot(t),s=t.clientWidth*r.x,l=t.clientHeight*r.y,c=o*r.x,a=i*r.y;return{width:s,height:l,x:c,y:a}}function te(t,e,n){let i;if(e==="viewport"||e==="layoutViewport")i=Se(t,n,e);else if(e==="document")i=Le(V(t));else if(k(e))i=ze(e,n);else{let o=ie(t);i={x:e.x-o.x,y:e.y-o.y,width:e.width,height:e.height}}return J(i)}function Me(t,e){let n=e.get(t);if(n)return n;let i=nt(t,[],!1).filter(l=>k(l)&&Z(l)!=="body"),o=null,r=F(t).position==="fixed",s=r?Y(t):t;for(;k(s)&&!it(s);){let l=F(s),c=vt(s),a=o?o.position:r?"fixed":"";!c&&(a==="fixed"||a==="absolute"&&l.position==="static")?i=i.filter(h=>h!==s):o=l,s=Y(s)}return e.set(t,i),i}function $e(t){let{element:e,boundary:n,rootBoundary:i,strategy:o}=t,s=[...n==="clippingAncestors"?ht(e)?[]:Me(e,this._c):[].concat(n),i],l=te(e,s[0],o),c=l.top,a=l.right,u=l.bottom,h=l.left;for(let d=1;d<s.length;d++){let f=te(e,s[d],o);c=D(f.top,c),a=H(f.right,a),u=H(f.bottom,u),h=D(f.left,h)}return{width:a-h,height:u-c,x:h,y:c}}function De(t){let{width:e,height:n}=ne(t);return{width:e,height:n}}function ke(t,e,n){let i=j(e),o=V(e),r=n==="fixed",s=tt(t,!0,r,e),l={scrollLeft:0,scrollTop:0},c=W(0);if((i||!r)&&((Z(e)!=="body"||ut(o))&&(l=dt(e)),i)){let d=tt(e,!0,r,e);c.x=d.x+e.clientLeft,c.y=d.y+e.clientTop}!i&&o&&(c.x=At(o));let a=o&&!i&&!r?oe(o,l):W(0),u=s.left+l.scrollLeft-c.x-a.x,h=s.top+l.scrollTop-c.y-a.y;return{x:u,y:h,width:s.width,height:s.height}}function St(t){return F(t).position==="static"}function ee(t,e){if(!j(t)||F(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return V(t)===n&&(n=n.ownerDocument.body),n}function re(t,e){let n=T(t);if(ht(t))return n;if(!j(t)){let o=Y(t);for(;o&&!it(o);){if(k(o)&&!St(o))return o;o=Y(o)}return n}let i=ee(t,e);for(;i&&Jt(i)&&St(i);)i=ee(i,e);return i&&it(i)&&St(i)&&!vt(i)?n:i||Qt(t)||n}var Fe=async function(t){let e=this.getOffsetParent||re,n=this.getDimensions,i=await n(t.floating);return{reference:ke(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function Be(t){return F(t).direction==="rtl"}var Ne={convertOffsetParentRelativeRectToViewportRelativeRect:Ce,getDocumentElement:V,getClippingRect:$e,getOffsetParent:re,getElementRects:Fe,getClientRects:Te,getDimensions:De,getScale:ot,isElement:k,isRTL:Be};function se(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function He(t,e,n){let i=null,o,r=V(t);function s(){var u;clearTimeout(o),(u=i)==null||u.disconnect(),i=null}function l(u,h){u===void 0&&(u=!1),h===void 0&&(h=1),s();let d=t.getBoundingClientRect(),{left:f,top:m,width:g,height:w}=d;if(u||e(),!g||!w)return;let p=ft(m),x=ft(r.clientWidth-(f+g)),b=ft(r.clientHeight-(m+w)),v=ft(f),R={rootMargin:-p+"px "+-x+"px "+-b+"px "+-v+"px",threshold:D(0,H(1,h))||1},L=!0;function z(S){let C=S[0].intersectionRatio;if(!se(d,t.getBoundingClientRect()))return l();if(C!==h){if(!L)return l();C?l(!1,C):o=setTimeout(()=>{l(!1,1e-7)},1e3)}L=!1}try{i=new IntersectionObserver(z,N(P({},R),{root:r.ownerDocument}))}catch(S){i=new IntersectionObserver(z,R)}i.observe(t)}let c=T(t),a=()=>l(n);return c.addEventListener("resize",a),l(!0),()=>{c.removeEventListener("resize",a),s()}}function le(t,e,n,i){i===void 0&&(i={});let{ancestorScroll:o=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=i,a=zt(t),u=o||r?[...a?nt(a):[],...e?nt(e):[]]:[];u.forEach(p=>{o&&p.addEventListener("scroll",n),r&&p.addEventListener("resize",n)});let h=a&&l?He(a,n,r):null,d=-1,f=null;s&&(f=new ResizeObserver(p=>{let[x]=p;x&&x.target===a&&f&&e&&(f.unobserve(e),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var b;(b=f)==null||b.observe(e)})),n()}),a&&!c&&f.observe(a),e&&f.observe(e));let m,g=c?tt(t):null;c&&w();function w(){let p=tt(t);g&&!se(g,p)&&n(),g=p,m=requestAnimationFrame(w)}return n(),()=>{var p;u.forEach(x=>{o&&x.removeEventListener("scroll",n),r&&x.removeEventListener("resize",n)}),h==null||h(),(p=f)==null||p.disconnect(),f=null,c&&cancelAnimationFrame(m)}}var ce=Yt;var ae=qt,fe=Xt,Mt=Ut;var ue=It;var he=(t,e,n)=>{let i=new Map,o=n!=null?n:{},r=N(P(P({},Ne),o.platform),{_c:i});return jt(t,e,N(P({},o),{platform:r}))};var y=class extends Et{constructor(){super(...arguments);this.active=!1;this.placement="top";this.strategy="absolute";this.distance=0;this.skidding=0;this.arrow=!1;this.arrowPlacement="anchor";this.arrowPadding=10;this.flip=!1;this.flipFallbackPlacements="";this.flipFallbackStrategy="best-fit";this.flipPadding=0;this.shift=!1;this.shiftPadding=0;this.autoSizePadding=0}async connectedCallback(){super.connectedCallback(),await this.updateComplete,this.start(),this.setupMutationObserver()}disconnectedCallback(){this.stop(),this.mutationObserver&&this.mutationObserver.disconnect()}async updated(n){super.updated(n),n.has("active")&&(this.active?this.start():this.stop()),n.has("anchor")&&this.handleAnchorChange(),this.active&&(await this.updateComplete,this.reposition())}setupMutationObserver(){this.mutationObserver=new MutationObserver(i=>this.handleCurrentPlacementChange(i));let n={attributes:!0};this.mutationObserver.observe(this,n)}handleCurrentPlacementChange(n){return n.forEach(i=>{if(i.attributeName==="data-current-placement"){let o=this.getAttribute("data-current-placement");this.emit("sd-current-placement",{detail:o})}})}async handleAnchorChange(){if(await this.stop(),this.anchor&&typeof this.anchor=="string"){let n=this.getRootNode();this.anchorEl=n.getElementById(this.anchor)}else this.anchor instanceof HTMLElement?this.anchorEl=this.anchor:this.anchorEl=this.querySelector('[slot="anchor"]');if(this.anchorEl instanceof HTMLSlotElement&&(this.anchorEl=this.anchorEl.assignedElements({flatten:!0})[0]),!this.anchorEl)throw new Error("Invalid anchor element: no anchor could be found using the anchor slot or the anchor attribute.");this.start()}start(){this.anchorEl&&(this.cleanup=le(this.anchorEl,this.popup,()=>{this.reposition()}))}async stop(){return new Promise(n=>{this.cleanup?(this.cleanup(),this.cleanup=void 0,this.removeAttribute("data-current-placement"),this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height"),requestAnimationFrame(()=>n())):n()})}reposition(){if(!this.active||!this.anchorEl)return;let n=[ce({mainAxis:this.distance,crossAxis:this.skidding})];this.sync?n.push(Mt({apply:({rects:i})=>{let o=this.sync==="width"||this.sync==="both",r=this.sync==="height"||this.sync==="both";this.popup.style.width=o?`${i.reference.width}px`:"",this.popup.style.height=r?`${i.reference.height}px`:""}})):(this.popup.style.width="",this.popup.style.height=""),this.flip&&n.push(fe({boundary:this.flipBoundary,fallbackPlacements:this.flipFallbackPlacements,fallbackStrategy:this.flipFallbackStrategy==="best-fit"?"bestFit":"initialPlacement",padding:this.flipPadding})),this.shift&&n.push(ae({boundary:this.shiftBoundary,padding:this.shiftPadding})),this.autoSize?n.push(Mt({boundary:this.autoSizeBoundary,padding:this.autoSizePadding,apply:({availableWidth:i,availableHeight:o})=>{this.autoSize==="vertical"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-height",`${o}px`):this.style.removeProperty("--auto-size-available-height"),this.autoSize==="horizontal"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-width",`${i}px`):this.style.removeProperty("--auto-size-available-width")}})):(this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height")),this.arrow&&n.push(ue({element:this.arrowEl,padding:this.arrowPadding})),he(this.anchorEl,this.popup,{placement:this.placement,middleware:n,strategy:this.strategy}).then(({x:i,y:o,middlewareData:r,placement:s})=>{let l=getComputedStyle(this).direction==="rtl",c={top:"bottom",right:"left",bottom:"top",left:"right"}[s.split("-")[0]];if(this.setAttribute("data-current-placement",s),Object.assign(this.popup.style,{left:`${i}px`,top:`${o}px`}),this.arrow){let a=r.arrow.x,u=r.arrow.y,h="",d="",f="",m="";if(this.arrowPlacement==="start"){let g=typeof a=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";h=typeof u=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"",d=l?g:"",m=l?"":g}else if(this.arrowPlacement==="end"){let g=typeof a=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";d=l?"":g,m=l?g:"",f=typeof u=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:""}else this.arrowPlacement==="center"?(m=typeof a=="number"?"calc(50% - var(--arrow-size-diagonal))":"",h=typeof u=="number"?"calc(50% - var(--arrow-size-diagonal))":""):(m=typeof a=="number"?`${a}px`:"",h=typeof u=="number"?`${u}px`:"");Object.assign(this.arrowEl.style,{top:h,right:d,bottom:f,left:m,[c]:"calc(var(--arrow-size-diagonal) * -1)"})}}),this.emit("sd-reposition")}render(){return Ot`<slot name="anchor" @slotchange="${this.handleAnchorChange}"></slot><div part="popup" class="${kt("isolate z-20",this.strategy!=="fixed"?"absolute":"fixed",!this.active&&"hidden")}"><slot></slot>${this.arrow?Ot`<div part="arrow" class="absolute rotate-45 -z-10" role="presentation"></div>`:""}</div>`}};y.styles=[...Et.styles,$t`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{--arrow-color:var(--sd-color-neutral-1000);--arrow-size:6px;--arrow-size-diagonal:calc(var(--arrow-size) * 0.7071);--arrow-padding-offset:calc(var(--arrow-size-diagonal) - var(--arrow-size));display:contents}[part=popup]{max-width:var(--auto-size-available-width,none);max-height:var(--auto-size-available-height,none)}[part=arrow]{width:calc(var(--arrow-size-diagonal) * 2);height:calc(var(--arrow-size-diagonal) * 2);background:var(--arrow-color)}`],A([Rt('[part="popup"]')],y.prototype,"popup",2),A([Rt('[part="arrow"]')],y.prototype,"arrowEl",2),A([O({reflect:!0})],y.prototype,"anchor",2),A([O({type:Boolean,reflect:!0})],y.prototype,"active",2),A([O({type:String,reflect:!0})],y.prototype,"placement",2),A([O({type:String,reflect:!0})],y.prototype,"strategy",2),A([O({type:Number,reflect:!0})],y.prototype,"distance",2),A([O({type:Number,reflect:!0})],y.prototype,"skidding",2),A([O({type:Boolean,reflect:!0})],y.prototype,"arrow",2),A([O({type:String,attribute:"arrow-placement",reflect:!0})],y.prototype,"arrowPlacement",2),A([O({attribute:"arrow-padding",type:Number,reflect:!0})],y.prototype,"arrowPadding",2),A([O({type:Boolean,reflect:!0})],y.prototype,"flip",2),A([O({attribute:"flip-fallback-placements",converter:{fromAttribute:n=>n.split(" ").map(i=>i.trim()).filter(i=>i!==""),toAttribute:n=>n.join(" ")}})],y.prototype,"flipFallbackPlacements",2),A([O({type:String,attribute:"flip-fallback-strategy"})],y.prototype,"flipFallbackStrategy",2),A([O({type:Object})],y.prototype,"flipBoundary",2),A([O({attribute:"flip-padding",type:Number})],y.prototype,"flipPadding",2),A([O({type:Boolean})],y.prototype,"shift",2),A([O({type:Object})],y.prototype,"shiftBoundary",2),A([O({attribute:"shift-padding",type:Number})],y.prototype,"shiftPadding",2),A([O({type:String,attribute:"auto-size"})],y.prototype,"autoSize",2),A([O()],y.prototype,"sync",2),A([O({type:Object})],y.prototype,"autoSizeBoundary",2),A([O({attribute:"auto-size-padding",type:Number})],y.prototype,"autoSizePadding",2),y=A([Dt("sd-7-0-0-next-3-popup")],y);export{y as a};
1
+ import{a as kt}from"./chunk.4ZZFYCXX.js";import{a as Dt,b as O,d as Rt,h as Et}from"./chunk.UO5AU7FY.js";import{b as $t,e as Ot}from"./chunk.OBAEIKIV.js";import{a as P,b as N,c as mt,e as A}from"./chunk.6EV4YU6C.js";var H=Math.min,D=Math.max,at=Math.round,ft=Math.floor,W=t=>({x:t,y:t}),me={left:"right",right:"left",bottom:"top",top:"bottom"};function Ct(t,e,n){return D(t,H(e,n))}function K(t,e){return typeof t=="function"?t(e):t}function X(t){return t.split("-")[0]}function G(t){return t.split("-")[1]}function Tt(t){return t==="x"?"y":"x"}function pt(t){return t==="y"?"height":"width"}function _(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function wt(t){return Tt(_(t))}function Nt(t,e,n){n===void 0&&(n=!1);let i=G(t),o=wt(t),r=pt(o),s=o==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=ct(s)),[s,ct(s)]}function Ht(t){let e=ct(t);return[gt(t),e,gt(e)]}function gt(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}var Ft=["left","right"],Bt=["right","left"],ge=["top","bottom"],pe=["bottom","top"];function we(t,e,n){switch(t){case"top":case"bottom":return n?e?Bt:Ft:e?Ft:Bt;case"left":case"right":return e?ge:pe;default:return[]}}function Wt(t,e,n,i){let o=G(t),r=we(X(t),n==="start",i);return o&&(r=r.map(s=>s+"-"+o),e&&(r=r.concat(r.map(gt)))),r}function ct(t){let e=X(t);return me[e]+t.slice(e.length)}function ye(t){var e,n,i,o;return{top:(e=t.top)!=null?e:0,right:(n=t.right)!=null?n:0,bottom:(i=t.bottom)!=null?i:0,left:(o=t.left)!=null?o:0}}function Lt(t){return typeof t!="number"?ye(t):{top:t,right:t,bottom:t,left:t}}function J(t){let{x:e,y:n,width:i,height:o}=t;return{width:i,height:o,top:n,left:e,right:e+i,bottom:n+o,x:e,y:n}}function _t(t,e,n){let{reference:i,floating:o}=t,r=_(e),s=wt(e),l=pt(s),c=X(e),a=r==="y",u=i.x+i.width/2-o.width/2,h=i.y+i.height/2-o.height/2,d=i[l]/2-o[l]/2,f;switch(c){case"top":f={x:u,y:i.y-o.height};break;case"bottom":f={x:u,y:i.y+i.height};break;case"right":f={x:i.x+i.width,y:h};break;case"left":f={x:i.x-o.width,y:h};break;default:f={x:i.x,y:i.y}}let m=G(e);return m&&(f[s]+=d*(m==="end"?1:-1)*(n&&a?-1:1)),f}async function Vt(t,e){var n;e===void 0&&(e={});let{x:i,y:o,platform:r,rects:s,elements:l,strategy:c}=t,{boundary:a="clippingAncestors",rootBoundary:u="viewport",elementContext:h="floating",altBoundary:d=!1,padding:f=0}=K(e,t),m=Lt(f),w=l[d?h==="floating"?"reference":"floating":h],p=J(await r.getClippingRect({element:(n=await(r.isElement==null?void 0:r.isElement(w)))==null||n?w:w.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(l.floating)),boundary:a,rootBoundary:u,strategy:c})),x=h==="floating"?{x:i,y:o,width:s.floating.width,height:s.floating.height}:s.reference,b=await(r.getOffsetParent==null?void 0:r.getOffsetParent(l.floating)),v=await(r.isElement==null?void 0:r.isElement(b))&&await(r.getScale==null?void 0:r.getScale(b))||{x:1,y:1},E=J(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:x,offsetParent:b,strategy:c}):x);return{top:(p.top-E.top+m.top)/v.y,bottom:(E.bottom-p.bottom+m.bottom)/v.y,left:(p.left-E.left+m.left)/v.x,right:(E.right-p.right+m.right)/v.x}}var ve=50,jt=async(t,e,n)=>{let{placement:i="bottom",strategy:o="absolute",middleware:r=[],platform:s}=n,l=s.detectOverflow?s:N(P({},s),{detectOverflow:Vt}),c=await(s.isRTL==null?void 0:s.isRTL(e)),a=await s.getElementRects({reference:t,floating:e,strategy:o}),{x:u,y:h}=_t(a,i,c),d=i,f=0,m={};for(let g=0;g<r.length;g++){let w=r[g];if(!w)continue;let{name:p,fn:x}=w,{x:b,y:v,data:E,reset:R}=await x({x:u,y:h,initialPlacement:i,placement:d,strategy:o,middlewareData:m,rects:a,platform:l,elements:{reference:t,floating:e}});u=b!=null?b:u,h=v!=null?v:h,m[p]=P(P({},m[p]),E),R&&f<ve&&(f++,typeof R=="object"&&(R.placement&&(d=R.placement),R.rects&&(a=R.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:o}):R.rects),{x:u,y:h}=_t(a,d,c)),g=-1)}return{x:u,y:h,placement:d,strategy:o,middlewareData:m}},It=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:i,placement:o,rects:r,platform:s,elements:l,middlewareData:c}=e,{element:a,padding:u=0}=K(t,e)||{};if(a==null)return{};let h=Lt(u),d={x:n,y:i},f=wt(o),m=pt(f),g=await s.getDimensions(a),w=f==="y",p=w?"top":"left",x=w?"bottom":"right",b=w?"clientHeight":"clientWidth",v=r.reference[m]+r.reference[f]-d[f]-r.floating[m],E=d[f]-r.reference[f],R=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a)),L=R?R[b]:0;(!L||!await(s.isElement==null?void 0:s.isElement(R)))&&(L=l.floating[b]||r.floating[m]);let z=v/2-E/2,S=L/2-g[m]/2-1,C=H(h[p],S),rt=H(h[x],S),st=L-g[m]-rt,B=L/2-g[m]/2+z,et=Ct(C,B,st),M=!c.arrow&&G(o)!=null&&B!==et&&r.reference[m]/2-(B<C?C:rt)-g[m]/2<0,q=M?B<C?B-C:B-st:0;return{[f]:d[f]+q,data:P({[f]:et,centerOffset:B-et-q},M&&{alignmentOffset:q}),reset:M}}});var Xt=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,i;let{placement:o,middlewareData:r,rects:s,initialPlacement:l,platform:c,elements:a}=e,et=K(t,e),{mainAxis:u=!0,crossAxis:h=!0,fallbackPlacements:d,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:g=!0}=et,w=mt(et,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((n=r.arrow)!=null&&n.alignmentOffset)return{};let p=X(o),x=_(l),b=X(l)===l,v=await(c.isRTL==null?void 0:c.isRTL(a.floating)),E=d||(b||!g?[ct(l)]:Ht(l)),R=m!=="none";!d&&R&&E.push(...Wt(l,g,m,v));let L=[l,...E],z=await c.detectOverflow(e,w),S=[],C=((i=r.flip)==null?void 0:i.overflows)||[];if(u&&S.push(z[p]),h){let M=Nt(o,s,v);S.push(z[M[0]],z[M[1]])}if(C=[...C,{placement:o,overflows:S}],!S.every(M=>M<=0)){var rt,st;let M=(((rt=r.flip)==null?void 0:rt.index)||0)+1,q=L[M];if(q&&(!(h==="alignment"?x!==_(q):!1)||C.every($=>_($.placement)===x?$.overflows[0]>0:!0)))return{data:{index:M,overflows:C},reset:{placement:q}};let lt=(st=C.filter(U=>U.overflows[0]<=0).sort((U,$)=>U.overflows[1]-$.overflows[1])[0])==null?void 0:st.placement;if(!lt)switch(f){case"bestFit":{var B;let U=(B=C.filter($=>{if(R){let I=_($.placement);return I===x||I==="y"}return!0}).map($=>[$.placement,$.overflows.filter(I=>I>0).reduce((I,de)=>I+de,0)]).sort(($,I)=>$[1]-I[1])[0])==null?void 0:B[0];U&&(lt=U);break}case"initialPlacement":lt=l;break}if(o!==lt)return{reset:{placement:lt}}}return{}}}};var xe=new Set(["left","top"]);async function be(t,e){let{placement:n,platform:i,elements:o}=t,r=await(i.isRTL==null?void 0:i.isRTL(o.floating)),s=X(n),l=G(n),c=_(n)==="y",a=xe.has(s)?-1:1,u=r&&c?-1:1,h=K(e,t),{mainAxis:d,crossAxis:f,alignmentAxis:m}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return l&&typeof m=="number"&&(f=l==="end"?m*-1:m),c?{x:f*u,y:d*a}:{x:d*a,y:f*u}}var Yt=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,i;let{x:o,y:r,placement:s,middlewareData:l}=e,c=await be(e,t);return s===((n=l.offset)==null?void 0:n.placement)&&(i=l.arrow)!=null&&i.alignmentOffset?{}:{x:o+c.x,y:r+c.y,data:N(P({},c),{placement:s})}}}},qt=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:i,placement:o,platform:r}=e,x=K(t,e),{mainAxis:s=!0,crossAxis:l=!1,limiter:c={fn:b=>{let{x:v,y:E}=b;return{x:v,y:E}}}}=x,a=mt(x,["mainAxis","crossAxis","limiter"]),u={x:n,y:i},h=await r.detectOverflow(e,a),d=_(o),f=Tt(d),m=u[f],g=u[d],w=(b,v)=>Ct(v+h[b==="y"?"top":"left"],v,v-h[b==="y"?"bottom":"right"]);s&&(m=w(f,m)),l&&(g=w(d,g));let p=c.fn(N(P({},e),{[f]:m,[d]:g}));return N(P({},p),{data:{x:p.x-n,y:p.y-i,enabled:{[f]:s,[d]:l}}})}}};var Ut=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){let{placement:n,rects:i,platform:o,elements:r}=e,S=K(t,e),{apply:s=()=>{}}=S,l=mt(S,["apply"]),c=await o.detectOverflow(e,l),a=X(n),u=G(n),h=_(n)==="y",{width:d,height:f}=i.floating,m,g;a==="top"||a==="bottom"?(m=a,g=u===(await(o.isRTL==null?void 0:o.isRTL(r.floating))?"start":"end")?"left":"right"):(g=a,m=u==="end"?"top":"bottom");let w=f-c.top-c.bottom,p=d-c.left-c.right,x=H(f-c[m],w),b=H(d-c[g],p),v=e.middlewareData.shift,E=!v,R=x,L=b;v!=null&&v.enabled.x&&(L=p),v!=null&&v.enabled.y&&(R=w),E&&!u&&(h?L=d-2*D(c.left,c.right):R=f-2*D(c.top,c.bottom)),await s(N(P({},e),{availableWidth:L,availableHeight:R}));let z=await o.getDimensions(r.floating);return d!==z.width||f!==z.height?{reset:{rects:!0}}:{}}}};function yt(){return typeof window!="undefined"}function Z(t){return Gt(t)?(t.nodeName||"").toLowerCase():"#document"}function T(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function V(t){var e;return(e=(Gt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Gt(t){return yt()?t instanceof Node||t instanceof T(t).Node:!1}function k(t){return yt()?t instanceof Element||t instanceof T(t).Element:!1}function j(t){return yt()?t instanceof HTMLElement||t instanceof T(t).HTMLElement:!1}function Kt(t){return!yt()||typeof ShadowRoot=="undefined"?!1:t instanceof ShadowRoot||t instanceof T(t).ShadowRoot}function ut(t){let{overflow:e,overflowX:n,overflowY:i,display:o}=F(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&o!=="inline"&&o!=="contents"}function Jt(t){return/^(table|td|th)$/.test(Z(t))}function ht(t){try{if(t.matches(":popover-open"))return!0}catch(e){}try{return t.matches(":modal")}catch(e){return!1}}var Ae=/transform|translate|scale|rotate|perspective|filter/,Oe=/paint|layout|strict|content/,Q=t=>!!t&&t!=="none",Pt;function vt(t){let e=k(t)?F(t):t;return Q(e.transform)||Q(e.translate)||Q(e.scale)||Q(e.rotate)||Q(e.perspective)||!xt()&&(Q(e.backdropFilter)||Q(e.filter))||Ae.test(e.willChange||"")||Oe.test(e.contain||"")}function Qt(t){let e=Y(t);for(;j(e)&&!it(e);){if(vt(e))return e;if(ht(e))return null;e=Y(e)}return null}function xt(){return Pt==null&&(Pt=typeof CSS!="undefined"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Pt}function it(t){return/^(html|body|#document)$/.test(Z(t))}function F(t){return T(t).getComputedStyle(t)}function dt(t){return k(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Y(t){if(Z(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Kt(t)&&t.host||V(t);return Kt(e)?e.host:e}function Zt(t){let e=Y(t);return it(e)?(t.ownerDocument||t).body:j(e)&&ut(e)?e:Zt(e)}function nt(t,e,n){var i;e===void 0&&(e=[]),n===void 0&&(n=!0);let o=Zt(t),r=o===((i=t.ownerDocument)==null?void 0:i.body),s=T(o);if(r){let l=bt(s);return e.concat(s,s.visualViewport||[],ut(o)?o:[],l&&n?nt(l):[])}else return e.concat(o,nt(o,[],n))}function bt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function ne(t){let e=F(t),n=parseFloat(e.width)||0,i=parseFloat(e.height)||0,o=j(t),r=o?t.offsetWidth:n,s=o?t.offsetHeight:i,l=at(n)!==r||at(i)!==s;return l&&(n=r,i=s),{width:n,height:i,$:l}}function zt(t){return k(t)?t:t.contextElement}function ot(t){let e=zt(t);if(!j(e))return W(1);let n=e.getBoundingClientRect(),{width:i,height:o,$:r}=ne(e),s=(r?at(n.width):n.width)/i,l=(r?at(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Re=W(0);function ie(t){let e=T(t);return!xt()||!e.visualViewport?Re:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Ee(t,e,n){return e===void 0&&(e=!1),!!n&&e&&n===T(t)}function tt(t,e,n,i){e===void 0&&(e=!1),n===void 0&&(n=!1);let o=t.getBoundingClientRect(),r=zt(t),s=W(1);e&&(i?k(i)&&(s=ot(i)):s=ot(t));let l=Ee(r,n,i)?ie(r):W(0),c=(o.left+l.x)/s.x,a=(o.top+l.y)/s.y,u=o.width/s.x,h=o.height/s.y;if(r&&i){let d=T(r),f=k(i)?T(i):i,m=d,g=bt(m);for(;g&&f!==m;){let w=ot(g),p=g.getBoundingClientRect(),x=F(g),b=p.left+(g.clientLeft+parseFloat(x.paddingLeft))*w.x,v=p.top+(g.clientTop+parseFloat(x.paddingTop))*w.y;c*=w.x,a*=w.y,u*=w.x,h*=w.y,c+=b,a+=v,m=T(g),g=bt(m)}}return J({width:u,height:h,x:c,y:a})}function At(t,e){let n=dt(t).scrollLeft;return e?e.left+n:tt(V(t)).left+n}function oe(t,e){let n=t.getBoundingClientRect(),i=n.left+e.scrollLeft-At(t,n),o=n.top+e.scrollTop;return{x:i,y:o}}function Ce(t){let{elements:e,rect:n,offsetParent:i,strategy:o}=t,r=o==="fixed",s=V(i),l=e?ht(e.floating):!1;if(i===s||l&&r)return n;let c={scrollLeft:0,scrollTop:0},a=W(1),u=W(0),h=j(i);if((h||!r)&&((Z(i)!=="body"||ut(s))&&(c=dt(i)),h)){let f=tt(i);a=ot(i),u.x=f.x+i.clientLeft,u.y=f.y+i.clientTop}let d=s&&!h&&!r?oe(s,c):W(0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-c.scrollLeft*a.x+u.x+d.x,y:n.y*a.y-c.scrollTop*a.y+u.y+d.y}}function Te(t){return t.getClientRects?Array.from(t.getClientRects()):[]}function Le(t){let e=dt(t),n=t.ownerDocument.body,i=D(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),o=D(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),r=-e.scrollLeft+At(t),s=-e.scrollTop;return F(n).direction==="rtl"&&(r+=D(t.clientWidth,n.clientWidth)-i),{width:i,height:o,x:r,y:s}}var Pe=25;function Se(t,e,n){n===void 0&&(n="viewport");let i=n==="layoutViewport",o=T(t),r=V(t),s=o.visualViewport,l=r.clientWidth,c=r.clientHeight,a=0,u=0;if(s){let d=!xt()||e==="fixed";i?d||(a=-s.offsetLeft,u=-s.offsetTop):(l=s.width,c=s.height,d&&(a=s.offsetLeft,u=s.offsetTop))}if(At(r)<=0){let d=r.ownerDocument,f=d.body,m=getComputedStyle(f),g=d.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,w=Math.abs(r.clientWidth-f.clientWidth-g),p=getComputedStyle(r).scrollbarGutter==="stable both-edges"?w/2:w;p<=Pe&&(l-=p)}return{width:l,height:c,x:a,y:u}}function ze(t,e){let n=tt(t,!0,e==="fixed"),i=n.top+t.clientTop,o=n.left+t.clientLeft,r=ot(t),s=t.clientWidth*r.x,l=t.clientHeight*r.y,c=o*r.x,a=i*r.y;return{width:s,height:l,x:c,y:a}}function te(t,e,n){let i;if(e==="viewport"||e==="layoutViewport")i=Se(t,n,e);else if(e==="document")i=Le(V(t));else if(k(e))i=ze(e,n);else{let o=ie(t);i={x:e.x-o.x,y:e.y-o.y,width:e.width,height:e.height}}return J(i)}function Me(t,e){let n=e.get(t);if(n)return n;let i=nt(t,[],!1).filter(l=>k(l)&&Z(l)!=="body"),o=null,r=F(t).position==="fixed",s=r?Y(t):t;for(;k(s)&&!it(s);){let l=F(s),c=vt(s),a=o?o.position:r?"fixed":"";!c&&(a==="fixed"||a==="absolute"&&l.position==="static")?i=i.filter(h=>h!==s):o=l,s=Y(s)}return e.set(t,i),i}function $e(t){let{element:e,boundary:n,rootBoundary:i,strategy:o}=t,s=[...n==="clippingAncestors"?ht(e)?[]:Me(e,this._c):[].concat(n),i],l=te(e,s[0],o),c=l.top,a=l.right,u=l.bottom,h=l.left;for(let d=1;d<s.length;d++){let f=te(e,s[d],o);c=D(f.top,c),a=H(f.right,a),u=H(f.bottom,u),h=D(f.left,h)}return{width:a-h,height:u-c,x:h,y:c}}function De(t){let{width:e,height:n}=ne(t);return{width:e,height:n}}function ke(t,e,n){let i=j(e),o=V(e),r=n==="fixed",s=tt(t,!0,r,e),l={scrollLeft:0,scrollTop:0},c=W(0);if((i||!r)&&((Z(e)!=="body"||ut(o))&&(l=dt(e)),i)){let d=tt(e,!0,r,e);c.x=d.x+e.clientLeft,c.y=d.y+e.clientTop}!i&&o&&(c.x=At(o));let a=o&&!i&&!r?oe(o,l):W(0),u=s.left+l.scrollLeft-c.x-a.x,h=s.top+l.scrollTop-c.y-a.y;return{x:u,y:h,width:s.width,height:s.height}}function St(t){return F(t).position==="static"}function ee(t,e){if(!j(t)||F(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return V(t)===n&&(n=n.ownerDocument.body),n}function re(t,e){let n=T(t);if(ht(t))return n;if(!j(t)){let o=Y(t);for(;o&&!it(o);){if(k(o)&&!St(o))return o;o=Y(o)}return n}let i=ee(t,e);for(;i&&Jt(i)&&St(i);)i=ee(i,e);return i&&it(i)&&St(i)&&!vt(i)?n:i||Qt(t)||n}var Fe=async function(t){let e=this.getOffsetParent||re,n=this.getDimensions,i=await n(t.floating);return{reference:ke(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function Be(t){return F(t).direction==="rtl"}var Ne={convertOffsetParentRelativeRectToViewportRelativeRect:Ce,getDocumentElement:V,getClippingRect:$e,getOffsetParent:re,getElementRects:Fe,getClientRects:Te,getDimensions:De,getScale:ot,isElement:k,isRTL:Be};function se(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function He(t,e,n){let i=null,o,r=V(t);function s(){var u;clearTimeout(o),(u=i)==null||u.disconnect(),i=null}function l(u,h){u===void 0&&(u=!1),h===void 0&&(h=1),s();let d=t.getBoundingClientRect(),{left:f,top:m,width:g,height:w}=d;if(u||e(),!g||!w)return;let p=ft(m),x=ft(r.clientWidth-(f+g)),b=ft(r.clientHeight-(m+w)),v=ft(f),R={rootMargin:-p+"px "+-x+"px "+-b+"px "+-v+"px",threshold:D(0,H(1,h))||1},L=!0;function z(S){let C=S[0].intersectionRatio;if(!se(d,t.getBoundingClientRect()))return l();if(C!==h){if(!L)return l();C?l(!1,C):o=setTimeout(()=>{l(!1,1e-7)},1e3)}L=!1}try{i=new IntersectionObserver(z,N(P({},R),{root:r.ownerDocument}))}catch(S){i=new IntersectionObserver(z,R)}i.observe(t)}let c=T(t),a=()=>l(n);return c.addEventListener("resize",a),l(!0),()=>{c.removeEventListener("resize",a),s()}}function le(t,e,n,i){i===void 0&&(i={});let{ancestorScroll:o=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=i,a=zt(t),u=o||r?[...a?nt(a):[],...e?nt(e):[]]:[];u.forEach(p=>{o&&p.addEventListener("scroll",n),r&&p.addEventListener("resize",n)});let h=a&&l?He(a,n,r):null,d=-1,f=null;s&&(f=new ResizeObserver(p=>{let[x]=p;x&&x.target===a&&f&&e&&(f.unobserve(e),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var b;(b=f)==null||b.observe(e)})),n()}),a&&!c&&f.observe(a),e&&f.observe(e));let m,g=c?tt(t):null;c&&w();function w(){let p=tt(t);g&&!se(g,p)&&n(),g=p,m=requestAnimationFrame(w)}return n(),()=>{var p;u.forEach(x=>{o&&x.removeEventListener("scroll",n),r&&x.removeEventListener("resize",n)}),h==null||h(),(p=f)==null||p.disconnect(),f=null,c&&cancelAnimationFrame(m)}}var ce=Yt;var ae=qt,fe=Xt,Mt=Ut;var ue=It;var he=(t,e,n)=>{let i=new Map,o=n!=null?n:{},r=N(P(P({},Ne),o.platform),{_c:i});return jt(t,e,N(P({},o),{platform:r}))};var y=class extends Et{constructor(){super(...arguments);this.active=!1;this.placement="top";this.strategy="absolute";this.distance=0;this.skidding=0;this.arrow=!1;this.arrowPlacement="anchor";this.arrowPadding=10;this.flip=!1;this.flipFallbackPlacements="";this.flipFallbackStrategy="best-fit";this.flipPadding=0;this.shift=!1;this.shiftPadding=0;this.autoSizePadding=0}async connectedCallback(){super.connectedCallback(),await this.updateComplete,this.start(),this.setupMutationObserver()}disconnectedCallback(){this.stop(),this.mutationObserver&&this.mutationObserver.disconnect()}async updated(n){super.updated(n),n.has("active")&&(this.active?this.start():this.stop()),n.has("anchor")&&this.handleAnchorChange(),this.active&&(await this.updateComplete,this.reposition())}setupMutationObserver(){this.mutationObserver=new MutationObserver(i=>this.handleCurrentPlacementChange(i));let n={attributes:!0};this.mutationObserver.observe(this,n)}handleCurrentPlacementChange(n){return n.forEach(i=>{if(i.attributeName==="data-current-placement"){let o=this.getAttribute("data-current-placement");this.emit("sd-current-placement",{detail:o})}})}async handleAnchorChange(){if(await this.stop(),this.anchor&&typeof this.anchor=="string"){let n=this.getRootNode();this.anchorEl=n.getElementById(this.anchor)}else this.anchor instanceof HTMLElement?this.anchorEl=this.anchor:this.anchorEl=this.querySelector('[slot="anchor"]');if(this.anchorEl instanceof HTMLSlotElement&&(this.anchorEl=this.anchorEl.assignedElements({flatten:!0})[0]),!this.anchorEl)throw new Error("Invalid anchor element: no anchor could be found using the anchor slot or the anchor attribute.");this.start()}start(){this.anchorEl&&(this.cleanup=le(this.anchorEl,this.popup,()=>{this.reposition()}))}async stop(){return new Promise(n=>{this.cleanup?(this.cleanup(),this.cleanup=void 0,this.removeAttribute("data-current-placement"),this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height"),requestAnimationFrame(()=>n())):n()})}reposition(){if(!this.active||!this.anchorEl)return;let n=[ce({mainAxis:this.distance,crossAxis:this.skidding})];this.sync?n.push(Mt({apply:({rects:i})=>{let o=this.sync==="width"||this.sync==="both",r=this.sync==="height"||this.sync==="both";this.popup.style.width=o?`${i.reference.width}px`:"",this.popup.style.height=r?`${i.reference.height}px`:""}})):(this.popup.style.width="",this.popup.style.height=""),this.flip&&n.push(fe({boundary:this.flipBoundary,fallbackPlacements:this.flipFallbackPlacements,fallbackStrategy:this.flipFallbackStrategy==="best-fit"?"bestFit":"initialPlacement",padding:this.flipPadding})),this.shift&&n.push(ae({boundary:this.shiftBoundary,padding:this.shiftPadding})),this.autoSize?n.push(Mt({boundary:this.autoSizeBoundary,padding:this.autoSizePadding,apply:({availableWidth:i,availableHeight:o})=>{this.autoSize==="vertical"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-height",`${o}px`):this.style.removeProperty("--auto-size-available-height"),this.autoSize==="horizontal"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-width",`${i}px`):this.style.removeProperty("--auto-size-available-width")}})):(this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height")),this.arrow&&n.push(ue({element:this.arrowEl,padding:this.arrowPadding})),he(this.anchorEl,this.popup,{placement:this.placement,middleware:n,strategy:this.strategy}).then(({x:i,y:o,middlewareData:r,placement:s})=>{let l=getComputedStyle(this).direction==="rtl",c={top:"bottom",right:"left",bottom:"top",left:"right"}[s.split("-")[0]];if(this.setAttribute("data-current-placement",s),Object.assign(this.popup.style,{left:`${i}px`,top:`${o}px`}),this.arrow){let a=r.arrow.x,u=r.arrow.y,h="",d="",f="",m="";if(this.arrowPlacement==="start"){let g=typeof a=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";h=typeof u=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"",d=l?g:"",m=l?"":g}else if(this.arrowPlacement==="end"){let g=typeof a=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";d=l?"":g,m=l?g:"",f=typeof u=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:""}else this.arrowPlacement==="center"?(m=typeof a=="number"?"calc(50% - var(--arrow-size-diagonal))":"",h=typeof u=="number"?"calc(50% - var(--arrow-size-diagonal))":""):(m=typeof a=="number"?`${a}px`:"",h=typeof u=="number"?`${u}px`:"");Object.assign(this.arrowEl.style,{top:h,right:d,bottom:f,left:m,[c]:"calc(var(--arrow-size-diagonal) * -1)"})}}),this.emit("sd-reposition")}render(){return Ot`<slot name="anchor" @slotchange="${this.handleAnchorChange}"></slot><div part="popup" class="${kt("isolate z-20",this.strategy!=="fixed"?"absolute":"fixed",!this.active&&"hidden")}"><slot></slot>${this.arrow?Ot`<div part="arrow" class="absolute rotate-45 -z-10" role="presentation"></div>`:""}</div>`}};y.styles=[...Et.styles,$t`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{--arrow-color:var(--sd-color-neutral-1000);--arrow-size:6px;--arrow-size-diagonal:calc(var(--arrow-size) * 0.7071);--arrow-padding-offset:calc(var(--arrow-size-diagonal) - var(--arrow-size));display:contents}[part=popup]{max-width:var(--auto-size-available-width,none);max-height:var(--auto-size-available-height,none)}[part=arrow]{width:calc(var(--arrow-size-diagonal) * 2);height:calc(var(--arrow-size-diagonal) * 2);background:var(--arrow-color)}`],A([Rt('[part="popup"]')],y.prototype,"popup",2),A([Rt('[part="arrow"]')],y.prototype,"arrowEl",2),A([O({reflect:!0})],y.prototype,"anchor",2),A([O({type:Boolean,reflect:!0})],y.prototype,"active",2),A([O({type:String,reflect:!0})],y.prototype,"placement",2),A([O({type:String,reflect:!0})],y.prototype,"strategy",2),A([O({type:Number,reflect:!0})],y.prototype,"distance",2),A([O({type:Number,reflect:!0})],y.prototype,"skidding",2),A([O({type:Boolean,reflect:!0})],y.prototype,"arrow",2),A([O({type:String,attribute:"arrow-placement",reflect:!0})],y.prototype,"arrowPlacement",2),A([O({attribute:"arrow-padding",type:Number,reflect:!0})],y.prototype,"arrowPadding",2),A([O({type:Boolean,reflect:!0})],y.prototype,"flip",2),A([O({attribute:"flip-fallback-placements",converter:{fromAttribute:n=>n.split(" ").map(i=>i.trim()).filter(i=>i!==""),toAttribute:n=>n.join(" ")}})],y.prototype,"flipFallbackPlacements",2),A([O({type:String,attribute:"flip-fallback-strategy"})],y.prototype,"flipFallbackStrategy",2),A([O({type:Object})],y.prototype,"flipBoundary",2),A([O({attribute:"flip-padding",type:Number})],y.prototype,"flipPadding",2),A([O({type:Boolean})],y.prototype,"shift",2),A([O({type:Object})],y.prototype,"shiftBoundary",2),A([O({attribute:"shift-padding",type:Number})],y.prototype,"shiftPadding",2),A([O({type:String,attribute:"auto-size"})],y.prototype,"autoSize",2),A([O()],y.prototype,"sync",2),A([O({type:Object})],y.prototype,"autoSizeBoundary",2),A([O({attribute:"auto-size-padding",type:Number})],y.prototype,"autoSizePadding",2),y=A([Dt("sd-7-0-0-next-5-popup")],y);export{y as a};
@@ -1,4 +1,4 @@
1
- import{a as s}from"./chunk.LHSR56PH.js";import{a as n,b as o}from"./chunk.NL7YFV4O.js";import{b as d}from"./chunk.W5O4FM6B.js";import{a as r}from"./chunk.4ZZFYCXX.js";import{a as v,b as a,h as l}from"./chunk.YAUFTHOR.js";import{b as m}from"./chunk.OBAEIKIV.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends l{constructor(){super(...arguments);this.variant="main";this.state="default";this.animated=!1;this.notInteractive=!1;this.href="";this.label="";this.marker={cluster:`
1
+ import{a as s}from"./chunk.LHSR56PH.js";import{a as n,b as o}from"./chunk.NL7YFV4O.js";import{b as d}from"./chunk.W5O4FM6B.js";import{a as r}from"./chunk.4ZZFYCXX.js";import{a as v,b as a,h as l}from"./chunk.UO5AU7FY.js";import{b as m}from"./chunk.OBAEIKIV.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends l{constructor(){super(...arguments);this.variant="main";this.state="default";this.animated=!1;this.notInteractive=!1;this.href="";this.label="";this.marker={cluster:`
2
2
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50">
3
3
  <circle cx="25" cy="25" opacity="1" r="20" />
4
4
  </svg>`,main:`
@@ -7,5 +7,5 @@ import{a as s}from"./chunk.LHSR56PH.js";import{a as n,b as o}from"./chunk.NL7YFV
7
7
  </svg> `,place:`
8
8
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 75">
9
9
  <path fill-rule="evenodd" d="M51 49A29 29 0 0 0 30 0 29 29 0 0 0 9 49l21 22 21-22Z" clip-rule="evenodd" />
10
- </svg>`}}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}isLink(){return!!this.href}render(){let i=this.isLink(),c=this.notInteractive?n`div`:i?n`a`:n`button`,h=d(this.marker[this.variant]),p=`url("data:image/svg+xml;utf8,${encodeURIComponent(this.marker[this.variant]).replace(/#/g,"%23")}")`;return o`<${c} part="base" class="${r("relative flex justify-center",!this.notInteractive&&"group focus-visible:focus-outline")}" href="${s(i?this.href:void 0)}" target="${s(i?this.target:void 0)}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" role="${s(this.notInteractive||i?void 0:"button")}" aria-label="${s(!this.notInteractive&&this.label?this.label:void 0)}" aria-labelledby="${s(!this.notInteractive&&!this.label?"content":void 0)}"><div part="marker" class="${r("relative inline-flex",this.animated&&(this.variant==="main"||this.variant==="place")&&"animate-bounce-once",this.variant==="cluster"&&this.state==="hover"&&"scale-110",this.variant==="cluster"&&!this.notInteractive&&"transition-transform duration-fast ease-in-out hover:scale-110",{cluster:"sd-7-0-0-next-3-map-marker--cluster-color-text",main:"sd-color-fill-accent",place:"sd-7-0-0-next-3-map-marker--pin-color-text"}[this.variant])}"><div id="motion-wrapper" part="motion-wrapper" class="${r("absolute inset-0 overflow-hidden pointer-events-none",{cluster:"sd-7-0-0-next-3-map-marker--cluster--default-color-background group-hover:sd-7-0-0-next-3-map-marker--cluster--hover-color-background",main:"sd-7-0-0-next-3-map-marker--main-color-background",place:"sd-7-0-0-next-3-map-marker--pin--default-color-background"}[this.variant])}" style="mask-image:${p};-webkit-mask-image:${p}"><div class="${r("absolute inset-0 transition-transform ease-in-out duration-fast translate-y-full group-hover:translate-y-0 group-active:translate-y-0",["hover","active"].includes(this.state)&&"!translate-y-0")}"><div class="${r("min-w-full min-h-full skew-y-[-11deg]",{cluster:"",main:this.state==="active"?"bg-accent-700":this.state==="hover"?"bg-accent-550":"group-hover:bg-accent-550 group-active:bg-accent-700",place:this.state==="active"||this.state==="hover"?"sd-7-0-0-next-3-map-marker--pin--hover-color-background":"group-active:bg-primary-200"}[this.variant])}"></div></div>${this.variant==="main"?o`<div id="marker-circle" class="absolute rounded-full"></div>`:""}</div>${h} ${this.variant==="cluster"?o`<div id="cluster-border" class="${r("absolute inset-0 sd-7-0-0-next-3-map-marker--cluster--default-color-background rounded-full opacity-30 hover:sd-7-0-0-next-3-map-marker--cluster--hover-color-background",this.state==="hover"&&"sd-7-0-0-next-3-map-marker--cluster--hover-color-background")}"></div>`:""}</div><div id="content" part="content" class="${r("absolute self-center pointer-events-none",this.variant==="cluster"&&"font-bold sd-7-0-0-next-3-map-marker--cluster-color-text",this.variant==="place"&&"font-bold sd-7-0-0-next-3-map-marker--pin-color-text")}"><slot></slot></div></${c}>`}};t.styles=[...l.styles,m`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
11
- :host{display:block}#motion-wrapper{mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-position:center;-webkit-mask-position:center;mask-size:contain;-webkit-mask-size:contain}:host([variant=cluster]) [part=base],svg{width:calc(var(--sd-spacing-12,3rem) * var(--map-marker-scaling,1))}:host([variant=cluster]) [part=base]{height:calc(var(--sd-spacing-12,3rem) * var(--map-marker-scaling,1))}:host(:not([variant=cluster])) [part=base]{height:calc(var(--sd-spacing-16,4rem) * var(--map-marker-scaling,1))}:host([variant=cluster]) [part=content]{font-size:calc(var(--sd-font-size-sm,.875rem) * var(--map-marker-scaling,1))}:host([variant=place]) [part=content]{margin-top:calc(var(--sd-spacing-2) * -1);font-size:calc(var(--sd-font-size-3xl,2rem) * var(--map-marker-scaling,1))}:host([variant=cluster]) [part=motion-wrapper]>div>div{background-color:rgba(var(--sd-map-marker--cluster--hover-color-background))}:host([variant=main]) [part=marker],:host([variant=place]) [part=marker]{--tw-drop-shadow-size:drop-shadow(var(--sd-drop-shadow));--tw-drop-shadow:drop-shadow(var(--sd-drop-shadow));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}:host([variant=main]) #marker-circle{width:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1));height:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1));left:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1));right:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1));top:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1))}#marker-circle{background-color:rgba(var(--sd-color-icon-fill-white,rgba(var(--sd-color-white))))}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}`],e([a({type:String,reflect:!0})],t.prototype,"variant",2),e([a({type:String,reflect:!0})],t.prototype,"state",2),e([a({type:Boolean,reflect:!0})],t.prototype,"animated",2),e([a({type:Boolean,reflect:!0,attribute:"not-interactive"})],t.prototype,"notInteractive",2),e([a({type:String,reflect:!0})],t.prototype,"href",2),e([a({type:String,reflect:!0})],t.prototype,"target",2),e([a({reflect:!0})],t.prototype,"label",2),t=e([v("sd-7-0-0-next-3-map-marker")],t);export{t as a};
10
+ </svg>`}}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}isLink(){return!!this.href}render(){let i=this.isLink(),c=this.notInteractive?n`div`:i?n`a`:n`button`,h=d(this.marker[this.variant]),p=`url("data:image/svg+xml;utf8,${encodeURIComponent(this.marker[this.variant]).replace(/#/g,"%23")}")`;return o`<${c} part="base" class="${r("relative flex justify-center",!this.notInteractive&&"group focus-visible:focus-outline")}" href="${s(i?this.href:void 0)}" target="${s(i?this.target:void 0)}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" role="${s(this.notInteractive||i?void 0:"button")}" aria-label="${s(!this.notInteractive&&this.label?this.label:void 0)}" aria-labelledby="${s(!this.notInteractive&&!this.label?"content":void 0)}"><div part="marker" class="${r("relative inline-flex",this.animated&&(this.variant==="main"||this.variant==="place")&&"animate-bounce-once",this.variant==="cluster"&&this.state==="hover"&&"scale-110",this.variant==="cluster"&&!this.notInteractive&&"transition-transform duration-fast ease-in-out hover:scale-110",{cluster:"sd-7-0-0-next-5-map-marker--cluster-color-text",main:"sd-color-fill-accent",place:"sd-7-0-0-next-5-map-marker--pin-color-text"}[this.variant])}"><div id="motion-wrapper" part="motion-wrapper" class="${r("absolute inset-0 overflow-hidden pointer-events-none",{cluster:"sd-7-0-0-next-5-map-marker--cluster--default-color-background group-hover:sd-7-0-0-next-5-map-marker--cluster--hover-color-background",main:"sd-7-0-0-next-5-map-marker--main-color-background",place:"sd-7-0-0-next-5-map-marker--pin--default-color-background"}[this.variant])}" style="mask-image:${p};-webkit-mask-image:${p}"><div class="${r("absolute inset-0 transition-transform ease-in-out duration-fast translate-y-full group-hover:translate-y-0 group-active:translate-y-0",["hover","active"].includes(this.state)&&"!translate-y-0")}"><div class="${r("min-w-full min-h-full skew-y-[-11deg]",{cluster:"",main:this.state==="active"?"bg-accent-700":this.state==="hover"?"bg-accent-550":"group-hover:bg-accent-550 group-active:bg-accent-700",place:this.state==="active"||this.state==="hover"?"sd-7-0-0-next-5-map-marker--pin--hover-color-background":"group-active:bg-primary-200"}[this.variant])}"></div></div>${this.variant==="main"?o`<div id="marker-circle" class="absolute rounded-full"></div>`:""}</div>${h} ${this.variant==="cluster"?o`<div id="cluster-border" class="${r("absolute inset-0 sd-7-0-0-next-5-map-marker--cluster--default-color-background rounded-full opacity-30 hover:sd-7-0-0-next-5-map-marker--cluster--hover-color-background",this.state==="hover"&&"sd-7-0-0-next-5-map-marker--cluster--hover-color-background")}"></div>`:""}</div><div id="content" part="content" class="${r("absolute self-center pointer-events-none",this.variant==="cluster"&&"font-bold sd-7-0-0-next-5-map-marker--cluster-color-text",this.variant==="place"&&"font-bold sd-7-0-0-next-5-map-marker--pin-color-text")}"><slot></slot></div></${c}>`}};t.styles=[...l.styles,m`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
11
+ :host{display:block}#motion-wrapper{mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-position:center;-webkit-mask-position:center;mask-size:contain;-webkit-mask-size:contain}:host([variant=cluster]) [part=base],svg{width:calc(var(--sd-spacing-12,3rem) * var(--map-marker-scaling,1))}:host([variant=cluster]) [part=base]{height:calc(var(--sd-spacing-12,3rem) * var(--map-marker-scaling,1))}:host(:not([variant=cluster])) [part=base]{height:calc(var(--sd-spacing-16,4rem) * var(--map-marker-scaling,1))}:host([variant=cluster]) [part=content]{font-size:calc(var(--sd-font-size-sm,.875rem) * var(--map-marker-scaling,1))}:host([variant=place]) [part=content]{margin-top:calc(var(--sd-spacing-2) * -1);font-size:calc(var(--sd-font-size-3xl,2rem) * var(--map-marker-scaling,1))}:host([variant=cluster]) [part=motion-wrapper]>div>div{background-color:rgba(var(--sd-map-marker--cluster--hover-color-background))}:host([variant=main]) [part=marker],:host([variant=place]) [part=marker]{--tw-drop-shadow-size:drop-shadow(var(--sd-drop-shadow));--tw-drop-shadow:drop-shadow(var(--sd-drop-shadow));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}:host([variant=main]) #marker-circle{width:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1));height:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1));left:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1));right:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1));top:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1))}#marker-circle{background-color:rgba(var(--sd-color-icon-fill-white,rgba(var(--sd-color-white))))}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}`],e([a({type:String,reflect:!0})],t.prototype,"variant",2),e([a({type:String,reflect:!0})],t.prototype,"state",2),e([a({type:Boolean,reflect:!0})],t.prototype,"animated",2),e([a({type:Boolean,reflect:!0,attribute:"not-interactive"})],t.prototype,"notInteractive",2),e([a({type:String,reflect:!0})],t.prototype,"href",2),e([a({type:String,reflect:!0})],t.prototype,"target",2),e([a({reflect:!0})],t.prototype,"label",2),t=e([v("sd-7-0-0-next-5-map-marker")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as d}from"./chunk.CGQ2BPPZ.js";import{a as y}from"./chunk.VAM5SM3O.js";import{a as s}from"./chunk.4ZZFYCXX.js";import{a as c,b as o,d as u,h as l}from"./chunk.YAUFTHOR.js";import{b as p,e as r}from"./chunk.OBAEIKIV.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-7-0-0-next-3-icon id="default-play-icon" library="_internal" name="start"></sd-7-0-0-next-3-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.3.2 | 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-7-0-0-next-3-video")],e);export{e as a};
1
+ import{a as d}from"./chunk.CGQ2BPPZ.js";import{a as y}from"./chunk.VAM5SM3O.js";import{a as s}from"./chunk.4ZZFYCXX.js";import{a as c,b as o,d as u,h as l}from"./chunk.UO5AU7FY.js";import{b as p,e as r}from"./chunk.OBAEIKIV.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-7-0-0-next-5-icon id="default-play-icon" library="_internal" name="start"></sd-7-0-0-next-5-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.3.2 | 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-7-0-0-next-5-video")],e);export{e as a};
@@ -1,2 +1,2 @@
1
- import{a as n}from"./chunk.LHSR56PH.js";import{a as g}from"./chunk.CGQ2BPPZ.js";import{a as h,b as s}from"./chunk.NL7YFV4O.js";import{a as e}from"./chunk.4ZZFYCXX.js";import{a as l}from"./chunk.NYKJXI3Q.js";import{a as v,b as r,h as d}from"./chunk.YAUFTHOR.js";import{b as m,i as p}from"./chunk.OBAEIKIV.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends d{constructor(){super(...arguments);this.hasSlotController=new g(this,"label","[default]");this.size="lg";this.orientation="horizontal";this.horizontalInline=!1;this.waiting=!1;this.disabled=!1;this.current=!1;this.noTail=!1;this.notInteractive=!1;this.label="";this.description="";this.index=1;this.href=""}connectedCallback(){super.connectedCallback()}isLink(){return!!this.href}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleCurrentChange(){this.current&&(this.disabled=!1,this.waiting=!1)}handleDisabledChange(){this.disabled&&(this.current=!1,this.waiting=!1)}handleWaitingChange(){this.waiting&&(this.current=!1,this.disabled=!1)}handleInteractivityChange(){this.notInteractive&&(this.current=!1,this.disabled=!1,this.waiting=!1)}render(){if(this.size==="xs"&&this.orientation!=="vertical")return console.warn('Size "xs" is only supported when orientation is "vertical". The element will not be rendered.'),p;let u=this.isLink(),f=this.notInteractive||this.waiting?h`div`:u?h`a`:h`button`,w=this.hasSlotController.test("label"),c=this.label?!0:w,x=this.hasSlotController.test("[default]"),a=this.description?!0:x,o=this.horizontalInline&&this.orientation==="horizontal",y=e("flex shrink-0 gap-2 group",this.noTail&&!o&&"w-max",this.orientation==="horizontal"?"flex-row":"flex-col items-stretch",o&&"items-start",this.orientation==="horizontal"&&!this.horizontalInline?this.size==="lg"?"translateLg":"translateSm":this.size==="lg"||this.size==="xs"?"mt-1":"mt-3"),z=e("border sd-7-0-0-next-3-step__circle-border-width rounded-full aspect-square circle flex items-center justify-center shrink-0 font-bold select-none",this.disabled?"focus-visible:outline-none cursor-not-allowed":!this.notInteractive&&!this.waiting?"focus-visible:focus-outline hover:cursor-pointer":"",this.notInteractive?this.size==="lg"?"not-interactive-lg":this.size==="xs"?"w-2":"w-12":this.size==="lg"?"w-12":this.size==="xs"?"w-2":"w-8 h-8",this.disabled&&"border-neutral-500 text-neutral-500",this.waiting&&"border-neutral-400 text-neutral-700",this.waiting&&this.size==="xs"&&"border-neutral-700",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"border-primary hover:bg-primary-100 hover:border-primary-500",this.notInteractive&&(this.size==="xs"?"border-primary":"border-neutral-400"),this.current&&"bg-accent border-none text-white"),b="flex-row items-stretch h-full w-full overflow-hidden";return s`<div role="listitem" part="base" class="${e("flex pt-1",this.orientation==="horizontal"?"flex-col w-full":this.size==="xs"?`${b} gap-2`:`${b} gap-4`,!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"group")}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"><div part="circle-and-tail-container" class="${y}"><${f} part="circle" href="${n(u?this.href:void 0)}" aria-disabled="${n(this.disabled||this.waiting||void 0)}" aria-current="${this.current?"step":void 0}" aria-labelledby="${n(this.notInteractive||this.waiting||!c?void 0:"label")}" aria-describedby="${n(this.notInteractive||this.waiting||!a?void 0:"description")}" class="${z}"><slot name="circle-content" class="${e("text-lg",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"text-primary hover:text-primary-500 hover:fill-primary-500",this.notInteractive&&"sd-7-0-0-next-3-step-color-text")}">${!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&this.size!=="xs"?s`<sd-7-0-0-next-3-icon name="status-check" library="_internal" class="${e(this.size==="sm"&&"text-sm")}"></sd-7-0-0-next-3-icon>`:this.size==="xs"?"":s`${this.index}`}</slot></${f}>${o?s`<div class="${e(!this.noTail&&"flex-1","flex flex-col gap-1")}"><div class="${e("flex w-full",c&&"gap-2",this.size==="sm"&&!a?"mt-1":"mt-3")}">${c&&s`<div part="label" id="label" class="${e("font-bold whitespace-nowrap",this.disabled&&"text-neutral-500",this.waiting&&"text-neutral-700",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"text-black")}"><slot name="label">${this.label}</slot></div>`} ${this.noTail?"":s`<div part="tail" class="${e("border-t flex-1 mr-2 mt-3",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting?"border-primary group-hover:border-primary-500":"border-neutral-400")}"></div>`}</div>${a?s`<div part="description" id="description" class="${e("sd-paragraph sd-paragraph--size-sm wrap-break-word",a?"flex-1":"w-0 h-0 overflow-hidden",a&&!this.noTail&&"pr-4",(this.disabled||this.waiting)&&"!text-neutral-700")}">${this.description||s`<slot></slot>`}</div>`:""}</div>`:this.noTail?"":s`<div part="tail" class="${e(this.orientation==="horizontal"?"border-t w-full my-auto mr-2":"border-l grow shrink-0 basis-auto h-full w-[1px] mx-auto",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting?"border-primary group-hover:border-primary-500":"border-neutral-400")}"></div>`}</div>${o?"":s`<div part="text-container" class="${e("wrap-break-word flex flex-col gap-2",this.size==="xs"?"-mt-1 mb-4":"mt-4",this.orientation==="horizontal"?"text-center w-40":"text-left",this.disabled&&"text-neutral-500",this.waiting&&"text-neutral-700",this.notInteractive?this.size==="xs"?"ml-0":"ml-2":"mr-4")}"><div part="label" id="label" class="${e("font-bold",this.disabled&&"text-neutral-500",this.waiting&&"text-neutral-700",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"text-black")}"><slot name="label">${this.label}</slot></div><div part="description" id="description" class="${e("sd-paragraph sd-paragraph--size-sm",(this.disabled||this.waiting)&&"text-neutral-700")}">${this.description||s`<slot></slot>`}</div></div>`}</div>`}};t.styles=[...d.styles,m`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{flex:1}:host([orientation=horizontal]) [part=tail]{border-top-width:var(--sd-step__tail-border-width)}:host([orientation=vertical]) [part=tail]{border-left-width:var(--sd-step__tail-border-width)}:host([no-tail]){flex-grow:0}:host(:not([current])) (:not([notInteractive])) slot[name=circle-content]{color:rgba(var(--sd-color-text-neutral-700))}slot[name=circle-content] sd-7-0-0-next-3-icon,slot[name=circle-content]::slotted(sd-7-0-0-next-3-icon){color:rgba(var(--sd-color-icon-fill-primary))}[part=circle]:hover slot[name=circle-content] sd-7-0-0-next-3-icon,[part=circle]:hover slot[name=circle-content]::slotted(sd-7-0-0-next-3-icon){color:rgba(var(--sd-color-icon-fill-primary-500))}:host([horizontal-inline]):has([part=description]){min-width:0;flex:1}.translateLg{transform:translateX(3.438rem)}.translateSm{transform:translateX(4rem)}.not-interactive-lg{width:4.5rem}`],i([r({type:String,reflect:!0})],t.prototype,"size",2),i([r({type:String,reflect:!0})],t.prototype,"orientation",2),i([r({type:Boolean,reflect:!0,attribute:"horizontal-inline"})],t.prototype,"horizontalInline",2),i([r({type:Boolean,reflect:!0})],t.prototype,"waiting",2),i([r({type:Boolean,reflect:!0})],t.prototype,"disabled",2),i([r({type:Boolean,reflect:!0})],t.prototype,"current",2),i([r({reflect:!0,type:Boolean,attribute:"no-tail"})],t.prototype,"noTail",2),i([r({type:Boolean,reflect:!0,attribute:"not-interactive"})],t.prototype,"notInteractive",2),i([r({type:String,reflect:!0})],t.prototype,"label",2),i([r({type:String,reflect:!0})],t.prototype,"description",2),i([r({type:Number,reflect:!0,attribute:"index"})],t.prototype,"index",2),i([r({type:String,reflect:!0})],t.prototype,"href",2),i([l("current")],t.prototype,"handleCurrentChange",1),i([l("disabled")],t.prototype,"handleDisabledChange",1),i([l("waiting")],t.prototype,"handleWaitingChange",1),i([l("notInteractive")],t.prototype,"handleInteractivityChange",1),t=i([v("sd-7-0-0-next-3-step")],t);export{t as a};
1
+ import{a as n}from"./chunk.LHSR56PH.js";import{a as g}from"./chunk.CGQ2BPPZ.js";import{a as h,b as s}from"./chunk.NL7YFV4O.js";import{a as e}from"./chunk.4ZZFYCXX.js";import{a as l}from"./chunk.NYKJXI3Q.js";import{a as v,b as r,h as d}from"./chunk.UO5AU7FY.js";import{b as m,i as p}from"./chunk.OBAEIKIV.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends d{constructor(){super(...arguments);this.hasSlotController=new g(this,"label","[default]");this.size="lg";this.orientation="horizontal";this.horizontalInline=!1;this.waiting=!1;this.disabled=!1;this.current=!1;this.noTail=!1;this.notInteractive=!1;this.label="";this.description="";this.index=1;this.href=""}connectedCallback(){super.connectedCallback()}isLink(){return!!this.href}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleCurrentChange(){this.current&&(this.disabled=!1,this.waiting=!1)}handleDisabledChange(){this.disabled&&(this.current=!1,this.waiting=!1)}handleWaitingChange(){this.waiting&&(this.current=!1,this.disabled=!1)}handleInteractivityChange(){this.notInteractive&&(this.current=!1,this.disabled=!1,this.waiting=!1)}render(){if(this.size==="xs"&&this.orientation!=="vertical")return console.warn('Size "xs" is only supported when orientation is "vertical". The element will not be rendered.'),p;let u=this.isLink(),f=this.notInteractive||this.waiting?h`div`:u?h`a`:h`button`,w=this.hasSlotController.test("label"),c=this.label?!0:w,x=this.hasSlotController.test("[default]"),a=this.description?!0:x,o=this.horizontalInline&&this.orientation==="horizontal",y=e("flex shrink-0 gap-2 group",this.noTail&&!o&&"w-max",this.orientation==="horizontal"?"flex-row":"flex-col items-stretch",o&&"items-start",this.orientation==="horizontal"&&!this.horizontalInline?this.size==="lg"?"translateLg":"translateSm":this.size==="lg"||this.size==="xs"?"mt-1":"mt-3"),z=e("border sd-7-0-0-next-5-step__circle-border-width rounded-full aspect-square circle flex items-center justify-center shrink-0 font-bold select-none",this.disabled?"focus-visible:outline-none cursor-not-allowed":!this.notInteractive&&!this.waiting?"focus-visible:focus-outline hover:cursor-pointer":"",this.notInteractive?this.size==="lg"?"not-interactive-lg":this.size==="xs"?"w-2":"w-12":this.size==="lg"?"w-12":this.size==="xs"?"w-2":"w-8 h-8",this.disabled&&"border-neutral-500 text-neutral-500",this.waiting&&"border-neutral-400 text-neutral-700",this.waiting&&this.size==="xs"&&"border-neutral-700",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"border-primary hover:bg-primary-100 hover:border-primary-500",this.notInteractive&&(this.size==="xs"?"border-primary":"border-neutral-400"),this.current&&"bg-accent border-none text-white"),b="flex-row items-stretch h-full w-full overflow-hidden";return s`<div role="listitem" part="base" class="${e("flex pt-1",this.orientation==="horizontal"?"flex-col w-full":this.size==="xs"?`${b} gap-2`:`${b} gap-4`,!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"group")}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"><div part="circle-and-tail-container" class="${y}"><${f} part="circle" href="${n(u?this.href:void 0)}" aria-disabled="${n(this.disabled||this.waiting||void 0)}" aria-current="${this.current?"step":void 0}" aria-labelledby="${n(this.notInteractive||this.waiting||!c?void 0:"label")}" aria-describedby="${n(this.notInteractive||this.waiting||!a?void 0:"description")}" class="${z}"><slot name="circle-content" class="${e("text-lg",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"text-primary hover:text-primary-500 hover:fill-primary-500",this.notInteractive&&"sd-7-0-0-next-5-step-color-text")}">${!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&this.size!=="xs"?s`<sd-7-0-0-next-5-icon name="status-check" library="_internal" class="${e(this.size==="sm"&&"text-sm")}"></sd-7-0-0-next-5-icon>`:this.size==="xs"?"":s`${this.index}`}</slot></${f}>${o?s`<div class="${e(!this.noTail&&"flex-1","flex flex-col gap-1")}"><div class="${e("flex w-full",c&&"gap-2",this.size==="sm"&&!a?"mt-1":"mt-3")}">${c&&s`<div part="label" id="label" class="${e("font-bold whitespace-nowrap",this.disabled&&"text-neutral-500",this.waiting&&"text-neutral-700",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"text-black")}"><slot name="label">${this.label}</slot></div>`} ${this.noTail?"":s`<div part="tail" class="${e("border-t flex-1 mr-2 mt-3",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting?"border-primary group-hover:border-primary-500":"border-neutral-400")}"></div>`}</div>${a?s`<div part="description" id="description" class="${e("sd-paragraph sd-paragraph--size-sm wrap-break-word",a?"flex-1":"w-0 h-0 overflow-hidden",a&&!this.noTail&&"pr-4",(this.disabled||this.waiting)&&"!text-neutral-700")}">${this.description||s`<slot></slot>`}</div>`:""}</div>`:this.noTail?"":s`<div part="tail" class="${e(this.orientation==="horizontal"?"border-t w-full my-auto mr-2":"border-l grow shrink-0 basis-auto h-full w-[1px] mx-auto",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting?"border-primary group-hover:border-primary-500":"border-neutral-400")}"></div>`}</div>${o?"":s`<div part="text-container" class="${e("wrap-break-word flex flex-col gap-2",this.size==="xs"?"-mt-1 mb-4":"mt-4",this.orientation==="horizontal"?"text-center w-40":"text-left",this.disabled&&"text-neutral-500",this.waiting&&"text-neutral-700",this.notInteractive?this.size==="xs"?"ml-0":"ml-2":"mr-4")}"><div part="label" id="label" class="${e("font-bold",this.disabled&&"text-neutral-500",this.waiting&&"text-neutral-700",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"text-black")}"><slot name="label">${this.label}</slot></div><div part="description" id="description" class="${e("sd-paragraph sd-paragraph--size-sm",(this.disabled||this.waiting)&&"text-neutral-700")}">${this.description||s`<slot></slot>`}</div></div>`}</div>`}};t.styles=[...d.styles,m`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{flex:1}:host([orientation=horizontal]) [part=tail]{border-top-width:var(--sd-step__tail-border-width)}:host([orientation=vertical]) [part=tail]{border-left-width:var(--sd-step__tail-border-width)}:host([no-tail]){flex-grow:0}:host(:not([current])) (:not([notInteractive])) slot[name=circle-content]{color:rgba(var(--sd-color-text-neutral-700))}slot[name=circle-content] sd-7-0-0-next-5-icon,slot[name=circle-content]::slotted(sd-7-0-0-next-5-icon){color:rgba(var(--sd-color-icon-fill-primary))}[part=circle]:hover slot[name=circle-content] sd-7-0-0-next-5-icon,[part=circle]:hover slot[name=circle-content]::slotted(sd-7-0-0-next-5-icon){color:rgba(var(--sd-color-icon-fill-primary-500))}:host([horizontal-inline]):has([part=description]){min-width:0;flex:1}.translateLg{transform:translateX(3.438rem)}.translateSm{transform:translateX(4rem)}.not-interactive-lg{width:4.5rem}`],i([r({type:String,reflect:!0})],t.prototype,"size",2),i([r({type:String,reflect:!0})],t.prototype,"orientation",2),i([r({type:Boolean,reflect:!0,attribute:"horizontal-inline"})],t.prototype,"horizontalInline",2),i([r({type:Boolean,reflect:!0})],t.prototype,"waiting",2),i([r({type:Boolean,reflect:!0})],t.prototype,"disabled",2),i([r({type:Boolean,reflect:!0})],t.prototype,"current",2),i([r({reflect:!0,type:Boolean,attribute:"no-tail"})],t.prototype,"noTail",2),i([r({type:Boolean,reflect:!0,attribute:"not-interactive"})],t.prototype,"notInteractive",2),i([r({type:String,reflect:!0})],t.prototype,"label",2),i([r({type:String,reflect:!0})],t.prototype,"description",2),i([r({type:Number,reflect:!0,attribute:"index"})],t.prototype,"index",2),i([r({type:String,reflect:!0})],t.prototype,"href",2),i([l("current")],t.prototype,"handleCurrentChange",1),i([l("disabled")],t.prototype,"handleDisabledChange",1),i([l("waiting")],t.prototype,"handleWaitingChange",1),i([l("notInteractive")],t.prototype,"handleInteractivityChange",1),t=i([v("sd-7-0-0-next-5-step")],t);export{t as a};