@solid-design-system/components 6.11.0 → 6.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (431) hide show
  1. package/cdn/chunks/{chunk.2ICCTLKT.js → chunk.2XY2M6QX.js} +1 -1
  2. package/cdn/chunks/{chunk.NVFRCOCT.js → chunk.4RPUAIQK.js} +1 -1
  3. package/cdn/chunks/{chunk.RPTI4GSL.js → chunk.5FYGQOXL.js} +1 -1
  4. package/cdn/chunks/{chunk.OYGLHUXD.js → chunk.5YHGT34K.js} +1 -1
  5. package/cdn/chunks/{chunk.TNETQ72P.js → chunk.6AEASXXL.js} +1 -1
  6. package/cdn/chunks/{chunk.HCHJ72XZ.js → chunk.AMWHBFTM.js} +1 -1
  7. package/cdn/chunks/{chunk.3XORZCSP.js → chunk.B46EHYIM.js} +1 -1
  8. package/cdn/chunks/{chunk.XEN3K6FZ.js → chunk.BAY7BKUC.js} +1 -1
  9. package/cdn/chunks/{chunk.X4DMLQMU.js → chunk.BOVFUPAB.js} +1 -1
  10. package/cdn/chunks/{chunk.H4OQH3RR.js → chunk.C7XYQGPF.js} +1 -1
  11. package/cdn/chunks/{chunk.ZFUFHPJ3.js → chunk.DS2YD552.js} +1 -1
  12. package/cdn/chunks/{chunk.4JSN5MRW.js → chunk.EMB5EOVL.js} +1 -1
  13. package/cdn/chunks/{chunk.XCRDBIHK.js → chunk.ENQH3ZMT.js} +1 -1
  14. package/cdn/chunks/{chunk.MO4FK3ME.js → chunk.ETAZT232.js} +1 -1
  15. package/cdn/chunks/{chunk.AEVTLWPH.js → chunk.F6Z7C6GC.js} +1 -1
  16. package/cdn/chunks/{chunk.TE3AUQ4S.js → chunk.FC5OZ6LQ.js} +1 -1
  17. package/cdn/chunks/{chunk.ALISVCEH.js → chunk.FIUQMO6Q.js} +1 -1
  18. package/cdn/chunks/{chunk.MUM37JWD.js → chunk.FJ4YRN4X.js} +1 -1
  19. package/cdn/chunks/{chunk.IVVASGQV.js → chunk.G5PT3ZUT.js} +1 -1
  20. package/cdn/chunks/{chunk.ASTVH7FL.js → chunk.H76VWBAF.js} +1 -1
  21. package/cdn/chunks/{chunk.GFQ37XZ3.js → chunk.HL52A333.js} +1 -1
  22. package/cdn/chunks/{chunk.HUJHFH6K.js → chunk.HR5FZLRC.js} +1 -1
  23. package/cdn/chunks/{chunk.LHO6UUG3.js → chunk.HUYURJ76.js} +1 -1
  24. package/cdn/chunks/{chunk.UEW3QMTK.js → chunk.HWUUJJP3.js} +1 -1
  25. package/cdn/chunks/{chunk.FHAH3D75.js → chunk.INALKJVG.js} +1 -1
  26. package/cdn/chunks/{chunk.6TGHIA5J.js → chunk.IXPIV7FA.js} +1 -1
  27. package/cdn/chunks/{chunk.B5QCBV2K.js → chunk.JZVRJWMV.js} +1 -1
  28. package/cdn/chunks/{chunk.C5DMBHWP.js → chunk.KS4OSR2A.js} +1 -1
  29. package/cdn/chunks/{chunk.GRA62HBK.js → chunk.NOXJ72G5.js} +1 -1
  30. package/cdn/chunks/{chunk.HAYWDZXJ.js → chunk.R3BQNXHR.js} +1 -1
  31. package/cdn/chunks/{chunk.NLMK6D5B.js → chunk.REOCLYOU.js} +1 -1
  32. package/cdn/chunks/chunk.SIVZ2S6B.js +2 -0
  33. package/cdn/chunks/{chunk.M6WOCWLF.js → chunk.TWQLXQ5K.js} +1 -1
  34. package/cdn/chunks/{chunk.XRVALG2X.js → chunk.TYKWEXBI.js} +1 -1
  35. package/cdn/chunks/{chunk.XFPHQRJQ.js → chunk.UYDZYQM5.js} +1 -1
  36. package/cdn/chunks/{chunk.CWVXYYIU.js → chunk.V3TGYVID.js} +1 -1
  37. package/cdn/chunks/{chunk.OR63DCBY.js → chunk.V4BUIKPF.js} +1 -1
  38. package/cdn/chunks/{chunk.KD273FPQ.js → chunk.VR5GAI7K.js} +1 -1
  39. package/cdn/chunks/{chunk.EZ3YRINW.js → chunk.WBIJL62F.js} +1 -1
  40. package/cdn/chunks/{chunk.6XBOSAGN.js → chunk.WNJTMU6J.js} +1 -1
  41. package/cdn/chunks/{chunk.JTN7RVTE.js → chunk.WTZQJFYM.js} +1 -1
  42. package/cdn/chunks/{chunk.2C7ZIVAR.js → chunk.WZAWV2ED.js} +1 -1
  43. package/cdn/chunks/chunk.XKUWNSWT.js +2 -0
  44. package/cdn/chunks/{chunk.ZGXH7QPY.js → chunk.Y3LTN4CF.js} +1 -1
  45. package/cdn/chunks/{chunk.HD6YL54O.js → chunk.Y4QI2OPY.js} +1 -1
  46. package/cdn/chunks/{chunk.YI6DG4H7.js → chunk.YF6TETRU.js} +1 -1
  47. package/cdn/chunks/{chunk.U3A5RX5B.js → chunk.YQOLB2PJ.js} +1 -1
  48. package/cdn/chunks/{chunk.NZWLQHP6.js → chunk.ZRNSYCFR.js} +1 -1
  49. package/cdn/chunks/{chunk.D4ALUFQN.js → chunk.ZSAXC4EQ.js} +1 -1
  50. package/cdn/components/accordion/accordion.js +1 -1
  51. package/cdn/components/accordion-group/accordion-group.js +1 -1
  52. package/cdn/components/audio/audio.js +1 -1
  53. package/cdn/components/badge/badge.js +1 -1
  54. package/cdn/components/brandshape/brandshape.js +1 -1
  55. package/cdn/components/breadcrumb/breadcrumb.js +1 -1
  56. package/cdn/components/breadcrumb-item/breadcrumb-item.js +1 -1
  57. package/cdn/components/button/button.js +1 -1
  58. package/cdn/components/carousel/carousel.js +1 -1
  59. package/cdn/components/checkbox/checkbox.js +1 -1
  60. package/cdn/components/checkbox-group/checkbox-group.js +1 -1
  61. package/cdn/components/combobox/combobox.js +1 -1
  62. package/cdn/components/datepicker/datepicker.js +1 -1
  63. package/cdn/components/dialog/dialog.js +1 -1
  64. package/cdn/components/divider/divider.js +1 -1
  65. package/cdn/components/drawer/drawer.js +1 -1
  66. package/cdn/components/dropdown/dropdown.js +1 -1
  67. package/cdn/components/expandable/expandable.js +1 -1
  68. package/cdn/components/flipcard/flipcard.js +1 -1
  69. package/cdn/components/input/input.js +1 -1
  70. package/cdn/components/link/link.js +1 -1
  71. package/cdn/components/loader/loader.js +1 -1
  72. package/cdn/components/map-marker/map-marker.js +1 -1
  73. package/cdn/components/menu-item/menu-item.js +1 -1
  74. package/cdn/components/navigation-item/navigation-item.js +1 -1
  75. package/cdn/components/notification/notification.js +1 -1
  76. package/cdn/components/optgroup/optgroup.js +1 -1
  77. package/cdn/components/option/option.js +1 -1
  78. package/cdn/components/popup/popup.js +1 -1
  79. package/cdn/components/quickfact/quickfact.js +1 -1
  80. package/cdn/components/radio/radio.js +1 -1
  81. package/cdn/components/radio-button/radio-button.js +1 -1
  82. package/cdn/components/radio-group/radio-group.js +1 -1
  83. package/cdn/components/range/range.js +1 -1
  84. package/cdn/components/range-tick/range-tick.js +1 -1
  85. package/cdn/components/scrollable/scrollable.js +1 -1
  86. package/cdn/components/select/select.js +1 -1
  87. package/cdn/components/skeleton/skeleton.js +1 -1
  88. package/cdn/components/spinner/spinner.js +1 -1
  89. package/cdn/components/step/step.js +1 -1
  90. package/cdn/components/step-group/step-group.d.ts +1 -0
  91. package/cdn/components/step-group/step-group.js +1 -1
  92. package/cdn/components/switch/switch.js +1 -1
  93. package/cdn/components/tab/tab.js +1 -1
  94. package/cdn/components/tab-group/tab-group.js +1 -1
  95. package/cdn/components/tab-panel/tab-panel.js +1 -1
  96. package/cdn/components/tag/tag.js +1 -1
  97. package/cdn/components/teaser/teaser.js +1 -1
  98. package/cdn/components/teaser-media/teaser-media.js +1 -1
  99. package/cdn/components/textarea/textarea.js +1 -1
  100. package/cdn/components/tooltip/tooltip.js +1 -1
  101. package/cdn/components/video/video.js +1 -1
  102. package/cdn/custom-elements.json +3 -3
  103. package/cdn/solid-components.bundle.js +56 -56
  104. package/cdn/solid-components.iife.js +57 -57
  105. package/cdn/solid-components.js +1 -1
  106. package/cdn/utilities/autocomplete-config.js +1 -1
  107. package/cdn/vscode.html-custom-data.json +1 -1
  108. package/cdn/web-types.json +3 -3
  109. package/cdn-versioned/chunks/chunk.2OSCB6XW.js +2 -2
  110. package/cdn-versioned/chunks/{chunk.2ICCTLKT.js → chunk.2XY2M6QX.js} +3 -3
  111. package/cdn-versioned/chunks/chunk.3RO5EKVU.js +1 -1
  112. package/cdn-versioned/chunks/chunk.4275NGRN.js +2 -2
  113. package/cdn-versioned/chunks/{chunk.NVFRCOCT.js → chunk.4RPUAIQK.js} +2 -2
  114. package/cdn-versioned/chunks/chunk.5DNOSYG7.js +1 -1
  115. package/cdn-versioned/chunks/{chunk.RPTI4GSL.js → chunk.5FYGQOXL.js} +2 -2
  116. package/cdn-versioned/chunks/chunk.5X4GK4PS.js +1 -1
  117. package/cdn-versioned/chunks/{chunk.OYGLHUXD.js → chunk.5YHGT34K.js} +2 -2
  118. package/cdn-versioned/chunks/{chunk.TNETQ72P.js → chunk.6AEASXXL.js} +2 -2
  119. package/cdn-versioned/chunks/{chunk.HCHJ72XZ.js → chunk.AMWHBFTM.js} +2 -2
  120. package/cdn-versioned/chunks/{chunk.3XORZCSP.js → chunk.B46EHYIM.js} +3 -3
  121. package/cdn-versioned/chunks/{chunk.XEN3K6FZ.js → chunk.BAY7BKUC.js} +2 -2
  122. package/cdn-versioned/chunks/{chunk.X4DMLQMU.js → chunk.BOVFUPAB.js} +2 -2
  123. package/cdn-versioned/chunks/{chunk.H4OQH3RR.js → chunk.C7XYQGPF.js} +2 -2
  124. package/cdn-versioned/chunks/{chunk.ZFUFHPJ3.js → chunk.DS2YD552.js} +2 -2
  125. package/cdn-versioned/chunks/{chunk.4JSN5MRW.js → chunk.EMB5EOVL.js} +2 -2
  126. package/cdn-versioned/chunks/{chunk.XCRDBIHK.js → chunk.ENQH3ZMT.js} +2 -2
  127. package/cdn-versioned/chunks/{chunk.MO4FK3ME.js → chunk.ETAZT232.js} +2 -2
  128. package/cdn-versioned/chunks/{chunk.AEVTLWPH.js → chunk.F6Z7C6GC.js} +2 -2
  129. package/cdn-versioned/chunks/{chunk.TE3AUQ4S.js → chunk.FC5OZ6LQ.js} +2 -2
  130. package/cdn-versioned/chunks/{chunk.ALISVCEH.js → chunk.FIUQMO6Q.js} +2 -2
  131. package/cdn-versioned/chunks/{chunk.MUM37JWD.js → chunk.FJ4YRN4X.js} +2 -2
  132. package/cdn-versioned/chunks/chunk.FTCO66N2.js +2 -2
  133. package/cdn-versioned/chunks/{chunk.IVVASGQV.js → chunk.G5PT3ZUT.js} +2 -2
  134. package/cdn-versioned/chunks/{chunk.ASTVH7FL.js → chunk.H76VWBAF.js} +2 -2
  135. package/cdn-versioned/chunks/{chunk.GFQ37XZ3.js → chunk.HL52A333.js} +2 -2
  136. package/cdn-versioned/chunks/{chunk.HUJHFH6K.js → chunk.HR5FZLRC.js} +2 -2
  137. package/cdn-versioned/chunks/{chunk.LHO6UUG3.js → chunk.HUYURJ76.js} +2 -2
  138. package/cdn-versioned/chunks/{chunk.UEW3QMTK.js → chunk.HWUUJJP3.js} +2 -2
  139. package/cdn-versioned/chunks/{chunk.FHAH3D75.js → chunk.INALKJVG.js} +5 -5
  140. package/cdn-versioned/chunks/{chunk.6TGHIA5J.js → chunk.IXPIV7FA.js} +2 -2
  141. package/cdn-versioned/chunks/chunk.JMZGGLJF.js +1 -1
  142. package/cdn-versioned/chunks/{chunk.B5QCBV2K.js → chunk.JZVRJWMV.js} +2 -2
  143. package/cdn-versioned/chunks/{chunk.C5DMBHWP.js → chunk.KS4OSR2A.js} +3 -3
  144. package/cdn-versioned/chunks/{chunk.GRA62HBK.js → chunk.NOXJ72G5.js} +5 -5
  145. package/cdn-versioned/chunks/{chunk.HAYWDZXJ.js → chunk.R3BQNXHR.js} +2 -2
  146. package/cdn-versioned/chunks/chunk.RAP66B6O.js +1 -1
  147. package/cdn-versioned/chunks/{chunk.NLMK6D5B.js → chunk.REOCLYOU.js} +2 -2
  148. package/cdn-versioned/chunks/chunk.SIVZ2S6B.js +2 -0
  149. package/cdn-versioned/chunks/chunk.TPSMY4DZ.js +1 -1
  150. package/cdn-versioned/chunks/{chunk.M6WOCWLF.js → chunk.TWQLXQ5K.js} +2 -2
  151. package/cdn-versioned/chunks/{chunk.XRVALG2X.js → chunk.TYKWEXBI.js} +2 -2
  152. package/cdn-versioned/chunks/{chunk.XFPHQRJQ.js → chunk.UYDZYQM5.js} +2 -2
  153. package/cdn-versioned/chunks/{chunk.CWVXYYIU.js → chunk.V3TGYVID.js} +2 -2
  154. package/cdn-versioned/chunks/{chunk.OR63DCBY.js → chunk.V4BUIKPF.js} +2 -2
  155. package/cdn-versioned/chunks/chunk.VNKXLA5X.js +2 -2
  156. package/cdn-versioned/chunks/{chunk.KD273FPQ.js → chunk.VR5GAI7K.js} +2 -2
  157. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  158. package/cdn-versioned/chunks/{chunk.EZ3YRINW.js → chunk.WBIJL62F.js} +2 -2
  159. package/cdn-versioned/chunks/{chunk.6XBOSAGN.js → chunk.WNJTMU6J.js} +2 -2
  160. package/cdn-versioned/chunks/{chunk.JTN7RVTE.js → chunk.WTZQJFYM.js} +2 -2
  161. package/cdn-versioned/chunks/{chunk.2C7ZIVAR.js → chunk.WZAWV2ED.js} +2 -2
  162. package/cdn-versioned/chunks/chunk.XG7G63I4.js +2 -2
  163. package/cdn-versioned/chunks/chunk.XKUWNSWT.js +2 -0
  164. package/cdn-versioned/chunks/{chunk.ZGXH7QPY.js → chunk.Y3LTN4CF.js} +2 -2
  165. package/cdn-versioned/chunks/{chunk.HD6YL54O.js → chunk.Y4QI2OPY.js} +2 -2
  166. package/cdn-versioned/chunks/{chunk.YI6DG4H7.js → chunk.YF6TETRU.js} +3 -3
  167. package/cdn-versioned/chunks/chunk.YPTZDABK.js +1 -1
  168. package/cdn-versioned/chunks/{chunk.U3A5RX5B.js → chunk.YQOLB2PJ.js} +10 -10
  169. package/cdn-versioned/chunks/chunk.YWOD5MYX.js +2 -2
  170. package/cdn-versioned/chunks/chunk.ZIVWE443.js +1 -1
  171. package/cdn-versioned/chunks/{chunk.NZWLQHP6.js → chunk.ZRNSYCFR.js} +2 -2
  172. package/cdn-versioned/chunks/{chunk.D4ALUFQN.js → chunk.ZSAXC4EQ.js} +2 -2
  173. package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
  174. package/cdn-versioned/components/accordion/accordion.js +1 -1
  175. package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  176. package/cdn-versioned/components/accordion-group/accordion-group.js +1 -1
  177. package/cdn-versioned/components/animation/animation.d.ts +1 -1
  178. package/cdn-versioned/components/audio/audio.d.ts +1 -1
  179. package/cdn-versioned/components/audio/audio.js +1 -1
  180. package/cdn-versioned/components/badge/badge.d.ts +1 -1
  181. package/cdn-versioned/components/badge/badge.js +1 -1
  182. package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
  183. package/cdn-versioned/components/brandshape/brandshape.js +1 -1
  184. package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  185. package/cdn-versioned/components/breadcrumb/breadcrumb.js +1 -1
  186. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  187. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.js +1 -1
  188. package/cdn-versioned/components/button/button.d.ts +1 -1
  189. package/cdn-versioned/components/button/button.js +1 -1
  190. package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
  191. package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
  192. package/cdn-versioned/components/carousel/carousel.js +1 -1
  193. package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  194. package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
  195. package/cdn-versioned/components/checkbox/checkbox.js +1 -1
  196. package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  197. package/cdn-versioned/components/checkbox-group/checkbox-group.js +1 -1
  198. package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
  199. package/cdn-versioned/components/combobox/combobox.js +1 -1
  200. package/cdn-versioned/components/datepicker/datepicker.d.ts +1 -1
  201. package/cdn-versioned/components/datepicker/datepicker.js +1 -1
  202. package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
  203. package/cdn-versioned/components/dialog/dialog.js +1 -1
  204. package/cdn-versioned/components/divider/divider.d.ts +1 -1
  205. package/cdn-versioned/components/divider/divider.js +1 -1
  206. package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
  207. package/cdn-versioned/components/drawer/drawer.js +1 -1
  208. package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
  209. package/cdn-versioned/components/dropdown/dropdown.js +1 -1
  210. package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
  211. package/cdn-versioned/components/expandable/expandable.js +1 -1
  212. package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
  213. package/cdn-versioned/components/flipcard/flipcard.js +1 -1
  214. package/cdn-versioned/components/header/header.d.ts +1 -1
  215. package/cdn-versioned/components/icon/icon.d.ts +1 -1
  216. package/cdn-versioned/components/include/include.d.ts +1 -1
  217. package/cdn-versioned/components/input/input.d.ts +1 -1
  218. package/cdn-versioned/components/input/input.js +1 -1
  219. package/cdn-versioned/components/link/link.d.ts +1 -1
  220. package/cdn-versioned/components/link/link.js +1 -1
  221. package/cdn-versioned/components/loader/loader.d.ts +1 -1
  222. package/cdn-versioned/components/loader/loader.js +1 -1
  223. package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
  224. package/cdn-versioned/components/map-marker/map-marker.js +1 -1
  225. package/cdn-versioned/components/menu/menu.d.ts +1 -1
  226. package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
  227. package/cdn-versioned/components/menu-item/menu-item.js +1 -1
  228. package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  229. package/cdn-versioned/components/navigation-item/navigation-item.js +1 -1
  230. package/cdn-versioned/components/notification/notification.d.ts +1 -1
  231. package/cdn-versioned/components/notification/notification.js +1 -1
  232. package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
  233. package/cdn-versioned/components/optgroup/optgroup.js +1 -1
  234. package/cdn-versioned/components/option/option.d.ts +1 -1
  235. package/cdn-versioned/components/option/option.js +1 -1
  236. package/cdn-versioned/components/popup/popup.d.ts +1 -1
  237. package/cdn-versioned/components/popup/popup.js +1 -1
  238. package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
  239. package/cdn-versioned/components/quickfact/quickfact.js +1 -1
  240. package/cdn-versioned/components/radio/radio.d.ts +1 -1
  241. package/cdn-versioned/components/radio/radio.js +1 -1
  242. package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
  243. package/cdn-versioned/components/radio-button/radio-button.js +1 -1
  244. package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
  245. package/cdn-versioned/components/radio-group/radio-group.js +1 -1
  246. package/cdn-versioned/components/range/range.d.ts +1 -1
  247. package/cdn-versioned/components/range/range.js +1 -1
  248. package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
  249. package/cdn-versioned/components/range-tick/range-tick.js +1 -1
  250. package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
  251. package/cdn-versioned/components/scrollable/scrollable.js +1 -1
  252. package/cdn-versioned/components/select/select.d.ts +1 -1
  253. package/cdn-versioned/components/select/select.js +1 -1
  254. package/cdn-versioned/components/skeleton/skeleton.d.ts +1 -1
  255. package/cdn-versioned/components/skeleton/skeleton.js +1 -1
  256. package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
  257. package/cdn-versioned/components/spinner/spinner.js +1 -1
  258. package/cdn-versioned/components/step/step.d.ts +1 -1
  259. package/cdn-versioned/components/step/step.js +1 -1
  260. package/cdn-versioned/components/step-group/step-group.d.ts +2 -1
  261. package/cdn-versioned/components/step-group/step-group.js +1 -1
  262. package/cdn-versioned/components/switch/switch.d.ts +1 -1
  263. package/cdn-versioned/components/switch/switch.js +1 -1
  264. package/cdn-versioned/components/tab/tab.d.ts +1 -1
  265. package/cdn-versioned/components/tab/tab.js +1 -1
  266. package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
  267. package/cdn-versioned/components/tab-group/tab-group.js +1 -1
  268. package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  269. package/cdn-versioned/components/tab-panel/tab-panel.js +1 -1
  270. package/cdn-versioned/components/tag/tag.d.ts +1 -1
  271. package/cdn-versioned/components/tag/tag.js +1 -1
  272. package/cdn-versioned/components/teaser/teaser.js +1 -1
  273. package/cdn-versioned/components/teaser-media/teaser-media.js +1 -1
  274. package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
  275. package/cdn-versioned/components/textarea/textarea.js +1 -1
  276. package/cdn-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  277. package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
  278. package/cdn-versioned/components/tooltip/tooltip.js +1 -1
  279. package/cdn-versioned/components/video/video.d.ts +1 -1
  280. package/cdn-versioned/components/video/video.js +1 -1
  281. package/cdn-versioned/custom-elements.json +248 -248
  282. package/cdn-versioned/internal/form.js +2 -2
  283. package/cdn-versioned/solid-components.bundle.js +88 -88
  284. package/cdn-versioned/solid-components.css +2 -2
  285. package/cdn-versioned/solid-components.iife.js +88 -88
  286. package/cdn-versioned/solid-components.js +1 -1
  287. package/cdn-versioned/utilities/autocomplete-config.js +1 -1
  288. package/cdn-versioned/vscode.html-custom-data.json +108 -108
  289. package/cdn-versioned/web-types.json +159 -159
  290. package/dist/chunks/{chunk.VLMJTCCB.js → chunk.SQKCQFZY.js} +13 -1
  291. package/dist/components/step-group/step-group.d.ts +1 -0
  292. package/dist/components/step-group/step-group.js +1 -1
  293. package/dist/custom-elements.json +3 -3
  294. package/dist/solid-components.js +1 -1
  295. package/dist/vscode.html-custom-data.json +1 -1
  296. package/dist/web-types.json +3 -3
  297. package/dist-versioned/chunks/chunk.2CU6QOL7.js +4 -4
  298. package/dist-versioned/chunks/chunk.35EQJ5SV.js +8 -8
  299. package/dist-versioned/chunks/chunk.4C33XKR5.js +4 -4
  300. package/dist-versioned/chunks/chunk.4GXGCVAT.js +4 -4
  301. package/dist-versioned/chunks/chunk.4TOOTTT7.js +3 -3
  302. package/dist-versioned/chunks/chunk.5IGIZXCC.js +12 -12
  303. package/dist-versioned/chunks/chunk.5V4ZLM46.js +2 -2
  304. package/dist-versioned/chunks/chunk.6ZTH3QOK.js +5 -5
  305. package/dist-versioned/chunks/chunk.77QMG2JK.js +1 -1
  306. package/dist-versioned/chunks/chunk.7NPVZGYG.js +10 -10
  307. package/dist-versioned/chunks/chunk.C3WIBDGG.js +2 -2
  308. package/dist-versioned/chunks/chunk.CGHNKRSG.js +2 -2
  309. package/dist-versioned/chunks/chunk.CPEBS32D.js +1 -1
  310. package/dist-versioned/chunks/chunk.CQPHP72G.js +5 -5
  311. package/dist-versioned/chunks/chunk.DVHTNKCQ.js +3 -3
  312. package/dist-versioned/chunks/chunk.DXOZDLN3.js +5 -5
  313. package/dist-versioned/chunks/chunk.EORDFUN5.js +8 -8
  314. package/dist-versioned/chunks/chunk.F733OTL5.js +2 -2
  315. package/dist-versioned/chunks/chunk.FN3QPQKW.js +6 -6
  316. package/dist-versioned/chunks/chunk.GUPU7Y4R.js +2 -2
  317. package/dist-versioned/chunks/chunk.HDB5VQ6T.js +3 -3
  318. package/dist-versioned/chunks/chunk.HMYRJJSA.js +1 -1
  319. package/dist-versioned/chunks/chunk.HSLR5EL7.js +2 -2
  320. package/dist-versioned/chunks/chunk.HWSQMDBV.js +2 -2
  321. package/dist-versioned/chunks/chunk.IYIDHG44.js +2 -2
  322. package/dist-versioned/chunks/chunk.J7P25XPS.js +1 -1
  323. package/dist-versioned/chunks/chunk.JBLVT4GJ.js +4 -4
  324. package/dist-versioned/chunks/chunk.JSHWJIQJ.js +5 -5
  325. package/dist-versioned/chunks/chunk.JVFY4KAV.js +4 -4
  326. package/dist-versioned/chunks/chunk.JZ4LAYZZ.js +1 -1
  327. package/dist-versioned/chunks/chunk.K33P42FK.js +1 -1
  328. package/dist-versioned/chunks/chunk.K5MFIQWD.js +12 -12
  329. package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
  330. package/dist-versioned/chunks/chunk.KH2LWYO6.js +1 -1
  331. package/dist-versioned/chunks/chunk.KMMZFIBW.js +3 -3
  332. package/dist-versioned/chunks/chunk.KNFZPKTF.js +3 -3
  333. package/dist-versioned/chunks/chunk.LRKBZ2PI.js +5 -5
  334. package/dist-versioned/chunks/chunk.MAECKDRE.js +9 -9
  335. package/dist-versioned/chunks/chunk.MJU6BUDN.js +4 -4
  336. package/dist-versioned/chunks/chunk.NDY2F6JA.js +14 -14
  337. package/dist-versioned/chunks/chunk.OA6QSAEX.js +28 -28
  338. package/dist-versioned/chunks/chunk.OWQ3YI2X.js +23 -23
  339. package/dist-versioned/chunks/chunk.OYSZH2PZ.js +25 -25
  340. package/dist-versioned/chunks/chunk.P4H32F7J.js +8 -8
  341. package/dist-versioned/chunks/chunk.PU6VCTT2.js +3 -3
  342. package/dist-versioned/chunks/chunk.PZZI7LIX.js +3 -3
  343. package/dist-versioned/chunks/chunk.Q2YJAMQO.js +6 -6
  344. package/dist-versioned/chunks/chunk.QMQD2SCQ.js +7 -7
  345. package/dist-versioned/chunks/chunk.REYEB3D7.js +11 -11
  346. package/dist-versioned/chunks/{chunk.VLMJTCCB.js → chunk.SQKCQFZY.js} +15 -3
  347. package/dist-versioned/chunks/chunk.TAR64H3A.js +4 -4
  348. package/dist-versioned/chunks/chunk.TEHZN5K4.js +1 -1
  349. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  350. package/dist-versioned/chunks/chunk.URTSQLC4.js +3 -3
  351. package/dist-versioned/chunks/chunk.UZPDIPPZ.js +2 -2
  352. package/dist-versioned/chunks/chunk.V5VJQQ73.js +2 -2
  353. package/dist-versioned/chunks/chunk.VFLTCSUA.js +5 -5
  354. package/dist-versioned/chunks/chunk.VJNVCYUG.js +4 -4
  355. package/dist-versioned/chunks/chunk.WIXKV24T.js +1 -1
  356. package/dist-versioned/chunks/chunk.XVLJVMWL.js +5 -5
  357. package/dist-versioned/chunks/chunk.Y3THGL6Z.js +3 -3
  358. package/dist-versioned/chunks/chunk.Z5DZQTVN.js +1 -1
  359. package/dist-versioned/chunks/chunk.ZRHUI65H.js +5 -5
  360. package/dist-versioned/chunks/chunk.ZXKZDONO.js +5 -5
  361. package/dist-versioned/components/accordion/accordion.d.ts +1 -1
  362. package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  363. package/dist-versioned/components/animation/animation.d.ts +1 -1
  364. package/dist-versioned/components/audio/audio.d.ts +1 -1
  365. package/dist-versioned/components/badge/badge.d.ts +1 -1
  366. package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
  367. package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  368. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  369. package/dist-versioned/components/button/button.d.ts +1 -1
  370. package/dist-versioned/components/button-group/button-group.d.ts +1 -1
  371. package/dist-versioned/components/carousel/carousel.d.ts +1 -1
  372. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  373. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  374. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  375. package/dist-versioned/components/combobox/combobox.d.ts +1 -1
  376. package/dist-versioned/components/datepicker/datepicker.d.ts +1 -1
  377. package/dist-versioned/components/dialog/dialog.d.ts +1 -1
  378. package/dist-versioned/components/divider/divider.d.ts +1 -1
  379. package/dist-versioned/components/drawer/drawer.d.ts +1 -1
  380. package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
  381. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  382. package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
  383. package/dist-versioned/components/header/header.d.ts +1 -1
  384. package/dist-versioned/components/icon/icon.d.ts +1 -1
  385. package/dist-versioned/components/include/include.d.ts +1 -1
  386. package/dist-versioned/components/input/input.d.ts +1 -1
  387. package/dist-versioned/components/link/link.d.ts +1 -1
  388. package/dist-versioned/components/loader/loader.d.ts +1 -1
  389. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  390. package/dist-versioned/components/menu/menu.d.ts +1 -1
  391. package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
  392. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  393. package/dist-versioned/components/notification/notification.d.ts +1 -1
  394. package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
  395. package/dist-versioned/components/option/option.d.ts +1 -1
  396. package/dist-versioned/components/popup/popup.d.ts +1 -1
  397. package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
  398. package/dist-versioned/components/radio/radio.d.ts +1 -1
  399. package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
  400. package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
  401. package/dist-versioned/components/range/range.d.ts +1 -1
  402. package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
  403. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  404. package/dist-versioned/components/select/select.d.ts +1 -1
  405. package/dist-versioned/components/skeleton/skeleton.d.ts +1 -1
  406. package/dist-versioned/components/spinner/spinner.d.ts +1 -1
  407. package/dist-versioned/components/step/step.d.ts +1 -1
  408. package/dist-versioned/components/step-group/step-group.d.ts +2 -1
  409. package/dist-versioned/components/step-group/step-group.js +1 -1
  410. package/dist-versioned/components/switch/switch.d.ts +1 -1
  411. package/dist-versioned/components/tab/tab.d.ts +1 -1
  412. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  413. package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  414. package/dist-versioned/components/tag/tag.d.ts +1 -1
  415. package/dist-versioned/components/textarea/textarea.d.ts +1 -1
  416. package/dist-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  417. package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
  418. package/dist-versioned/components/video/video.d.ts +1 -1
  419. package/dist-versioned/custom-elements.json +248 -248
  420. package/dist-versioned/internal/form.js +2 -2
  421. package/dist-versioned/solid-components.css +2 -2
  422. package/dist-versioned/solid-components.js +1 -1
  423. package/dist-versioned/vscode.html-custom-data.json +108 -108
  424. package/dist-versioned/web-types.json +159 -159
  425. package/package.json +10 -10
  426. package/cdn/chunks/chunk.B4YUOB5P.js +0 -2
  427. package/cdn/chunks/chunk.DSZLFWVG.js +0 -2
  428. package/cdn-versioned/chunks/chunk.B4YUOB5P.js +0 -2
  429. package/cdn-versioned/chunks/chunk.DSZLFWVG.js +0 -2
  430. /package/cdn/chunks/{chunk.ERQOYXLO.js → chunk.3XPSGHFS.js} +0 -0
  431. /package/cdn-versioned/chunks/{chunk.ERQOYXLO.js → chunk.3XPSGHFS.js} +0 -0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@solid-design-system/components",
3
3
  "description": "Solid Design System: Components",
4
- "version": "6.11.0",
4
+ "version": "6.12.0",
5
5
  "homepage": "https://solid-design-system.fe.union-investment.de/docs/",
6
6
  "author": "Union Investment",
7
7
  "license": "MIT",
@@ -59,10 +59,10 @@
59
59
  "directory": "packages/components"
60
60
  },
61
61
  "dependencies": {
62
- "@floating-ui/dom": "^1.7.5",
62
+ "@floating-ui/dom": "^1.7.6",
63
63
  "@shoelace-style/animations": "^1.2.0",
64
64
  "@shoelace-style/localize": "^3.2.1",
65
- "classix": "^2.2.8",
65
+ "classix": "^2.2.10",
66
66
  "lit": "^3.3.2",
67
67
  "style-observer": "^0.1.2"
68
68
  },
@@ -81,35 +81,35 @@
81
81
  "@web/test-runner": "^0.20.2",
82
82
  "@web/test-runner-commands": "^0.9.0",
83
83
  "@web/test-runner-playwright": "^0.11.1",
84
- "autoprefixer": "^10.4.24",
84
+ "autoprefixer": "^10.4.27",
85
85
  "change-case": "^5.4.4",
86
86
  "chokidar": "^5.0.0",
87
87
  "command-line-args": "^6.0.1",
88
88
  "comment-parser": "^1.4.5",
89
89
  "concurrently": "^9.2.1",
90
- "cssnano": "^7.1.1",
90
+ "cssnano": "^7.1.3",
91
91
  "custom-element-jet-brains-integration": "^1.7.0",
92
92
  "custom-element-vs-code-integration": "^1.5.0",
93
93
  "del": "^8.0.1",
94
- "esbuild": "^0.27.3",
94
+ "esbuild": "^0.27.4",
95
95
  "esbuild-plugin-replace": "^1.4.0",
96
- "esbuild-plugin-tailwindcss": "^2.0.1",
96
+ "esbuild-plugin-tailwindcss": "^2.2.0",
97
97
  "globby": "^16.1.1",
98
98
  "gzip-size": "^7.0.0",
99
99
  "jsonata": "^2.1.0",
100
- "lightningcss": "^1.31.1",
100
+ "lightningcss": "^1.32.0",
101
101
  "lit-html": "^3.3.1",
102
102
  "minify-html-literals": "^1.3.5",
103
103
  "ora": "^9.3.0",
104
104
  "picocolors": "^1.1.1",
105
105
  "playwright": "^1.58.2",
106
106
  "plop": "^4.0.5",
107
- "postcss": "^8.5.6",
107
+ "postcss": "^8.5.8",
108
108
  "postcss-import": "^16.1.1",
109
109
  "postcss-nested": "^7.0.2",
110
110
  "prettier": "^3.8.1",
111
111
  "recursive-copy": "^2.0.14",
112
- "sinon": "^21.0.1",
112
+ "sinon": "^21.0.2",
113
113
  "tailwindcss": "^4.2.1",
114
114
  "typescript": "5.8.3",
115
115
  "user-agent-data-types": "^0.4.2",
@@ -1,2 +0,0 @@
1
- import{a as kt}from"./chunk.ERQOYXLO.js";import{a as Mt,b as O,d as Et,h as Rt}from"./chunk.JMZGGLJF.js";import{b as zt,e as Ot}from"./chunk.UOAG5PNU.js";import{a as C,b as F,c as dt,e as A}from"./chunk.6EV4YU6C.js";var _=Math.min,T=Math.max,ct=Math.round,ft=Math.floor,$=t=>({x:t,y:t}),me={left:"right",right:"left",bottom:"top",top:"bottom"},pe={start:"end",end:"start"};function pt(t,e,n){return T(t,_(e,n))}function Z(t,e){return typeof t=="function"?t(e):t}function Y(t){return t.split("-")[0]}function tt(t){return t.split("-")[1]}function Ct(t){return t==="x"?"y":"x"}function gt(t){return t==="y"?"height":"width"}var ge=new Set(["top","bottom"]);function j(t){return ge.has(Y(t))?"y":"x"}function wt(t){return Ct(j(t))}function Ft(t,e,n){n===void 0&&(n=!1);let i=tt(t),o=wt(t),s=gt(o),r=o==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(r=at(r)),[r,at(r)]}function $t(t){let e=at(t);return[mt(t),e,mt(e)]}function mt(t){return t.replace(/start|end/g,e=>pe[e])}var Dt=["left","right"],Bt=["right","left"],we=["top","bottom"],ye=["bottom","top"];function xe(t,e,n){switch(t){case"top":case"bottom":return n?e?Bt:Dt:e?Dt:Bt;case"left":case"right":return e?we:ye;default:return[]}}function Nt(t,e,n,i){let o=tt(t),s=xe(Y(t),n==="start",i);return o&&(s=s.map(r=>r+"-"+o),e&&(s=s.concat(s.map(mt)))),s}function at(t){return t.replace(/left|right|bottom|top/g,e=>me[e])}function ve(t){return C({top:0,right:0,bottom:0,left:0},t)}function St(t){return typeof t!="number"?ve(t):{top:t,right:t,bottom:t,left:t}}function et(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 Ht(t,e,n){let{reference:i,floating:o}=t,s=j(e),r=wt(e),l=gt(r),c=Y(e),a=s==="y",f=i.x+i.width/2-o.width/2,h=i.y+i.height/2-o.height/2,m=i[l]/2-o[l]/2,u;switch(c){case"top":u={x:f,y:i.y-o.height};break;case"bottom":u={x:f,y:i.y+i.height};break;case"right":u={x:i.x+i.width,y:h};break;case"left":u={x:i.x-o.width,y:h};break;default:u={x:i.x,y:i.y}}switch(tt(e)){case"start":u[r]-=m*(n&&a?-1:1);break;case"end":u[r]+=m*(n&&a?-1:1);break}return u}async function Wt(t,e){var n;e===void 0&&(e={});let{x:i,y:o,platform:s,rects:r,elements:l,strategy:c}=t,{boundary:a="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:m=!1,padding:u=0}=Z(e,t),d=St(u),g=l[m?h==="floating"?"reference":"floating":h],w=et(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(g)))==null||n?g:g.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:a,rootBoundary:f,strategy:c})),y=h==="floating"?{x:i,y:o,width:r.floating.width,height:r.floating.height}:r.reference,v=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),b=await(s.isElement==null?void 0:s.isElement(v))?await(s.getScale==null?void 0:s.getScale(v))||{x:1,y:1}:{x:1,y:1},E=et(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:y,offsetParent:v,strategy:c}):y);return{top:(w.top-E.top+d.top)/b.y,bottom:(E.bottom-w.bottom+d.bottom)/b.y,left:(w.left-E.left+d.left)/b.x,right:(E.right-w.right+d.right)/b.x}}var Vt=async(t,e,n)=>{let{placement:i="bottom",strategy:o="absolute",middleware:s=[],platform:r}=n,l=s.filter(Boolean),c=await(r.isRTL==null?void 0:r.isRTL(e)),a=await r.getElementRects({reference:t,floating:e,strategy:o}),{x:f,y:h}=Ht(a,i,c),m=i,u={},d=0;for(let g=0;g<l.length;g++){var p;let{name:w,fn:y}=l[g],{x:v,y:b,data:E,reset:R}=await y({x:f,y:h,initialPlacement:i,placement:m,strategy:o,middlewareData:u,rects:a,platform:F(C({},r),{detectOverflow:(p=r.detectOverflow)!=null?p:Wt}),elements:{reference:t,floating:e}});f=v!=null?v:f,h=b!=null?b:h,u=F(C({},u),{[w]:C(C({},u[w]),E)}),R&&d<=50&&(d++,typeof R=="object"&&(R.placement&&(m=R.placement),R.rects&&(a=R.rects===!0?await r.getElementRects({reference:t,floating:e,strategy:o}):R.rects),{x:f,y:h}=Ht(a,m,c)),g=-1)}return{x:f,y:h,placement:m,strategy:o,middlewareData:u}},_t=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:i,placement:o,rects:s,platform:r,elements:l,middlewareData:c}=e,{element:a,padding:f=0}=Z(t,e)||{};if(a==null)return{};let h=St(f),m={x:n,y:i},u=wt(o),d=gt(u),p=await r.getDimensions(a),g=u==="y",w=g?"top":"left",y=g?"bottom":"right",v=g?"clientHeight":"clientWidth",b=s.reference[d]+s.reference[u]-m[u]-s.floating[d],E=m[u]-s.reference[u],R=await(r.getOffsetParent==null?void 0:r.getOffsetParent(a)),S=R?R[v]:0;(!S||!await(r.isElement==null?void 0:r.isElement(R)))&&(S=l.floating[v]||s.floating[d]);let I=b/2-E/2,W=S/2-p[d]/2-1,z=_(h[w],W),U=_(h[y],W),V=z,K=S-p[d]-U,P=S/2-p[d]/2+I,D=pt(V,P,K),J=!c.arrow&&tt(o)!=null&&P!==D&&s.reference[d]/2-(P<V?z:U)-p[d]/2<0,X=J?P<V?P-V:P-K:0;return{[u]:m[u]+X,data:C({[u]:D,centerOffset:P-D-X},J&&{alignmentOffset:X}),reset:J}}});var jt=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,i;let{placement:o,middlewareData:s,rects:r,initialPlacement:l,platform:c,elements:a}=e,P=Z(t,e),{mainAxis:f=!0,crossAxis:h=!0,fallbackPlacements:m,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:d="none",flipAlignment:p=!0}=P,g=dt(P,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((n=s.arrow)!=null&&n.alignmentOffset)return{};let w=Y(o),y=j(l),v=Y(l)===l,b=await(c.isRTL==null?void 0:c.isRTL(a.floating)),E=m||(v||!p?[at(l)]:$t(l)),R=d!=="none";!m&&R&&E.push(...Nt(l,p,d,b));let S=[l,...E],I=await c.detectOverflow(e,g),W=[],z=((i=s.flip)==null?void 0:i.overflows)||[];if(f&&W.push(I[w]),h){let D=Ft(o,r,b);W.push(I[D[0]],I[D[1]])}if(z=[...z,{placement:o,overflows:W}],!W.every(D=>D<=0)){var U,V;let D=(((U=s.flip)==null?void 0:U.index)||0)+1,J=S[D];if(J&&(!(h==="alignment"?y!==j(J):!1)||z.every(B=>j(B.placement)===y?B.overflows[0]>0:!0)))return{data:{index:D,overflows:z},reset:{placement:J}};let X=(V=z.filter(Q=>Q.overflows[0]<=0).sort((Q,B)=>Q.overflows[1]-B.overflows[1])[0])==null?void 0:V.placement;if(!X)switch(u){case"bestFit":{var K;let Q=(K=z.filter(B=>{if(R){let G=j(B.placement);return G===y||G==="y"}return!0}).map(B=>[B.placement,B.overflows.filter(G=>G>0).reduce((G,de)=>G+de,0)]).sort((B,G)=>B[1]-G[1])[0])==null?void 0:K[0];Q&&(X=Q);break}case"initialPlacement":X=l;break}if(o!==X)return{reset:{placement:X}}}return{}}}};var be=new Set(["left","top"]);async function Ae(t,e){let{placement:n,platform:i,elements:o}=t,s=await(i.isRTL==null?void 0:i.isRTL(o.floating)),r=Y(n),l=tt(n),c=j(n)==="y",a=be.has(r)?-1:1,f=s&&c?-1:1,h=Z(e,t),{mainAxis:m,crossAxis:u,alignmentAxis:d}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return l&&typeof d=="number"&&(u=l==="end"?d*-1:d),c?{x:u*f,y:m*a}:{x:m*a,y:u*f}}var It=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,i;let{x:o,y:s,placement:r,middlewareData:l}=e,c=await Ae(e,t);return r===((n=l.offset)==null?void 0:n.placement)&&(i=l.arrow)!=null&&i.alignmentOffset?{}:{x:o+c.x,y:s+c.y,data:F(C({},c),{placement:r})}}}},Xt=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:i,placement:o,platform:s}=e,w=Z(t,e),{mainAxis:r=!0,crossAxis:l=!1,limiter:c={fn:y=>{let{x:v,y:b}=y;return{x:v,y:b}}}}=w,a=dt(w,["mainAxis","crossAxis","limiter"]),f={x:n,y:i},h=await s.detectOverflow(e,a),m=j(Y(o)),u=Ct(m),d=f[u],p=f[m];if(r){let y=u==="y"?"top":"left",v=u==="y"?"bottom":"right",b=d+h[y],E=d-h[v];d=pt(b,d,E)}if(l){let y=m==="y"?"top":"left",v=m==="y"?"bottom":"right",b=p+h[y],E=p-h[v];p=pt(b,p,E)}let g=c.fn(F(C({},e),{[u]:d,[m]:p}));return F(C({},g),{data:{x:g.x-n,y:g.y-i,enabled:{[u]:r,[m]:l}}})}}};var Yt=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,i;let{placement:o,rects:s,platform:r,elements:l}=e,z=Z(t,e),{apply:c=()=>{}}=z,a=dt(z,["apply"]),f=await r.detectOverflow(e,a),h=Y(o),m=tt(o),u=j(o)==="y",{width:d,height:p}=s.floating,g,w;h==="top"||h==="bottom"?(g=h,w=m===(await(r.isRTL==null?void 0:r.isRTL(l.floating))?"start":"end")?"left":"right"):(w=h,g=m==="end"?"top":"bottom");let y=p-f.top-f.bottom,v=d-f.left-f.right,b=_(p-f[g],y),E=_(d-f[w],v),R=!e.middlewareData.shift,S=b,I=E;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(I=v),(i=e.middlewareData.shift)!=null&&i.enabled.y&&(S=y),R&&!m){let U=T(f.left,0),V=T(f.right,0),K=T(f.top,0),P=T(f.bottom,0);u?I=d-2*(U!==0||V!==0?U+V:T(f.left,f.right)):S=p-2*(K!==0||P!==0?K+P:T(f.top,f.bottom))}await c(F(C({},e),{availableWidth:I,availableHeight:S}));let W=await r.getDimensions(l.floating);return d!==W.width||p!==W.height?{reset:{rects:!0}}:{}}}};function yt(){return typeof window!="undefined"}function nt(t){return Ut(t)?(t.nodeName||"").toLowerCase():"#document"}function L(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function N(t){var e;return(e=(Ut(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ut(t){return yt()?t instanceof Node||t instanceof L(t).Node:!1}function M(t){return yt()?t instanceof Element||t instanceof L(t).Element:!1}function H(t){return yt()?t instanceof HTMLElement||t instanceof L(t).HTMLElement:!1}function qt(t){return!yt()||typeof ShadowRoot=="undefined"?!1:t instanceof ShadowRoot||t instanceof L(t).ShadowRoot}var Oe=new Set(["inline","contents"]);function st(t){let{overflow:e,overflowX:n,overflowY:i,display:o}=k(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&!Oe.has(o)}var Ee=new Set(["table","td","th"]);function Kt(t){return Ee.has(nt(t))}var Re=[":popover-open",":modal"];function ut(t){return Re.some(e=>{try{return t.matches(e)}catch(n){return!1}})}var Ce=["transform","translate","scale","rotate","perspective"],Se=["transform","translate","scale","rotate","perspective","filter"],Te=["paint","layout","strict","content"];function xt(t){let e=vt(),n=M(t)?k(t):t;return Ce.some(i=>n[i]?n[i]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||Se.some(i=>(n.willChange||"").includes(i))||Te.some(i=>(n.contain||"").includes(i))}function Gt(t){let e=q(t);for(;H(e)&&!it(e);){if(xt(e))return e;if(ut(e))return null;e=q(e)}return null}function vt(){return typeof CSS=="undefined"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}var Le=new Set(["html","body","#document"]);function it(t){return Le.has(nt(t))}function k(t){return L(t).getComputedStyle(t)}function ht(t){return M(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function q(t){if(nt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||qt(t)&&t.host||N(t);return qt(e)?e.host:e}function Jt(t){let e=q(t);return it(e)?t.ownerDocument?t.ownerDocument.body:t.body:H(e)&&st(e)?e:Jt(e)}function rt(t,e,n){var i;e===void 0&&(e=[]),n===void 0&&(n=!0);let o=Jt(t),s=o===((i=t.ownerDocument)==null?void 0:i.body),r=L(o);if(s){let l=bt(r);return e.concat(r,r.visualViewport||[],st(o)?o:[],l&&n?rt(l):[])}return e.concat(o,rt(o,[],n))}function bt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function ee(t){let e=k(t),n=parseFloat(e.width)||0,i=parseFloat(e.height)||0,o=H(t),s=o?t.offsetWidth:n,r=o?t.offsetHeight:i,l=ct(n)!==s||ct(i)!==r;return l&&(n=s,i=r),{width:n,height:i,$:l}}function Lt(t){return M(t)?t:t.contextElement}function lt(t){let e=Lt(t);if(!H(e))return $(1);let n=e.getBoundingClientRect(),{width:i,height:o,$:s}=ee(e),r=(s?ct(n.width):n.width)/i,l=(s?ct(n.height):n.height)/o;return(!r||!Number.isFinite(r))&&(r=1),(!l||!Number.isFinite(l))&&(l=1),{x:r,y:l}}var Pe=$(0);function ne(t){let e=L(t);return!vt()||!e.visualViewport?Pe:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function ze(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==L(t)?!1:e}function ot(t,e,n,i){e===void 0&&(e=!1),n===void 0&&(n=!1);let o=t.getBoundingClientRect(),s=Lt(t),r=$(1);e&&(i?M(i)&&(r=lt(i)):r=lt(t));let l=ze(s,n,i)?ne(s):$(0),c=(o.left+l.x)/r.x,a=(o.top+l.y)/r.y,f=o.width/r.x,h=o.height/r.y;if(s){let m=L(s),u=i&&M(i)?L(i):i,d=m,p=bt(d);for(;p&&i&&u!==d;){let g=lt(p),w=p.getBoundingClientRect(),y=k(p),v=w.left+(p.clientLeft+parseFloat(y.paddingLeft))*g.x,b=w.top+(p.clientTop+parseFloat(y.paddingTop))*g.y;c*=g.x,a*=g.y,f*=g.x,h*=g.y,c+=v,a+=b,d=L(p),p=bt(d)}}return et({width:f,height:h,x:c,y:a})}function At(t,e){let n=ht(t).scrollLeft;return e?e.left+n:ot(N(t)).left+n}function ie(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 Me(t){let{elements:e,rect:n,offsetParent:i,strategy:o}=t,s=o==="fixed",r=N(i),l=e?ut(e.floating):!1;if(i===r||l&&s)return n;let c={scrollLeft:0,scrollTop:0},a=$(1),f=$(0),h=H(i);if((h||!h&&!s)&&((nt(i)!=="body"||st(r))&&(c=ht(i)),H(i))){let u=ot(i);a=lt(i),f.x=u.x+i.clientLeft,f.y=u.y+i.clientTop}let m=r&&!h&&!s?ie(r,c):$(0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-c.scrollLeft*a.x+f.x+m.x,y:n.y*a.y-c.scrollTop*a.y+f.y+m.y}}function ke(t){return Array.from(t.getClientRects())}function De(t){let e=N(t),n=ht(t),i=t.ownerDocument.body,o=T(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),s=T(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),r=-n.scrollLeft+At(t),l=-n.scrollTop;return k(i).direction==="rtl"&&(r+=T(e.clientWidth,i.clientWidth)-o),{width:o,height:s,x:r,y:l}}var Qt=25;function Be(t,e){let n=L(t),i=N(t),o=n.visualViewport,s=i.clientWidth,r=i.clientHeight,l=0,c=0;if(o){s=o.width,r=o.height;let f=vt();(!f||f&&e==="fixed")&&(l=o.offsetLeft,c=o.offsetTop)}let a=At(i);if(a<=0){let f=i.ownerDocument,h=f.body,m=getComputedStyle(h),u=f.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,d=Math.abs(i.clientWidth-h.clientWidth-u);d<=Qt&&(s-=d)}else a<=Qt&&(s+=a);return{width:s,height:r,x:l,y:c}}var Fe=new Set(["absolute","fixed"]);function $e(t,e){let n=ot(t,!0,e==="fixed"),i=n.top+t.clientTop,o=n.left+t.clientLeft,s=H(t)?lt(t):$(1),r=t.clientWidth*s.x,l=t.clientHeight*s.y,c=o*s.x,a=i*s.y;return{width:r,height:l,x:c,y:a}}function Zt(t,e,n){let i;if(e==="viewport")i=Be(t,n);else if(e==="document")i=De(N(t));else if(M(e))i=$e(e,n);else{let o=ne(t);i={x:e.x-o.x,y:e.y-o.y,width:e.width,height:e.height}}return et(i)}function oe(t,e){let n=q(t);return n===e||!M(n)||it(n)?!1:k(n).position==="fixed"||oe(n,e)}function Ne(t,e){let n=e.get(t);if(n)return n;let i=rt(t,[],!1).filter(l=>M(l)&&nt(l)!=="body"),o=null,s=k(t).position==="fixed",r=s?q(t):t;for(;M(r)&&!it(r);){let l=k(r),c=xt(r);!c&&l.position==="fixed"&&(o=null),(s?!c&&!o:!c&&l.position==="static"&&!!o&&Fe.has(o.position)||st(r)&&!c&&oe(t,r))?i=i.filter(f=>f!==r):o=l,r=q(r)}return e.set(t,i),i}function He(t){let{element:e,boundary:n,rootBoundary:i,strategy:o}=t,r=[...n==="clippingAncestors"?ut(e)?[]:Ne(e,this._c):[].concat(n),i],l=r[0],c=r.reduce((a,f)=>{let h=Zt(e,f,o);return a.top=T(h.top,a.top),a.right=_(h.right,a.right),a.bottom=_(h.bottom,a.bottom),a.left=T(h.left,a.left),a},Zt(e,l,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function We(t){let{width:e,height:n}=ee(t);return{width:e,height:n}}function Ve(t,e,n){let i=H(e),o=N(e),s=n==="fixed",r=ot(t,!0,s,e),l={scrollLeft:0,scrollTop:0},c=$(0);function a(){c.x=At(o)}if(i||!i&&!s)if((nt(e)!=="body"||st(o))&&(l=ht(e)),i){let u=ot(e,!0,s,e);c.x=u.x+e.clientLeft,c.y=u.y+e.clientTop}else o&&a();s&&!i&&o&&a();let f=o&&!i&&!s?ie(o,l):$(0),h=r.left+l.scrollLeft-c.x-f.x,m=r.top+l.scrollTop-c.y-f.y;return{x:h,y:m,width:r.width,height:r.height}}function Tt(t){return k(t).position==="static"}function te(t,e){if(!H(t)||k(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return N(t)===n&&(n=n.ownerDocument.body),n}function re(t,e){let n=L(t);if(ut(t))return n;if(!H(t)){let o=q(t);for(;o&&!it(o);){if(M(o)&&!Tt(o))return o;o=q(o)}return n}let i=te(t,e);for(;i&&Kt(i)&&Tt(i);)i=te(i,e);return i&&it(i)&&Tt(i)&&!xt(i)?n:i||Gt(t)||n}var _e=async function(t){let e=this.getOffsetParent||re,n=this.getDimensions,i=await n(t.floating);return{reference:Ve(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function je(t){return k(t).direction==="rtl"}var Ie={convertOffsetParentRelativeRectToViewportRelativeRect:Me,getDocumentElement:N,getClippingRect:He,getOffsetParent:re,getElementRects:_e,getClientRects:ke,getDimensions:We,getScale:lt,isElement:M,isRTL:je};function se(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Xe(t,e){let n=null,i,o=N(t);function s(){var l;clearTimeout(i),(l=n)==null||l.disconnect(),n=null}function r(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),s();let a=t.getBoundingClientRect(),{left:f,top:h,width:m,height:u}=a;if(l||e(),!m||!u)return;let d=ft(h),p=ft(o.clientWidth-(f+m)),g=ft(o.clientHeight-(h+u)),w=ft(f),v={rootMargin:-d+"px "+-p+"px "+-g+"px "+-w+"px",threshold:T(0,_(1,c))||1},b=!0;function E(R){let S=R[0].intersectionRatio;if(S!==c){if(!b)return r();S?r(!1,S):i=setTimeout(()=>{r(!1,1e-7)},1e3)}S===1&&!se(a,t.getBoundingClientRect())&&r(),b=!1}try{n=new IntersectionObserver(E,F(C({},v),{root:o.ownerDocument}))}catch(R){n=new IntersectionObserver(E,v)}n.observe(t)}return r(!0),s}function le(t,e,n,i){i===void 0&&(i={});let{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=i,a=Lt(t),f=o||s?[...a?rt(a):[],...rt(e)]:[];f.forEach(w=>{o&&w.addEventListener("scroll",n,{passive:!0}),s&&w.addEventListener("resize",n)});let h=a&&l?Xe(a,n):null,m=-1,u=null;r&&(u=new ResizeObserver(w=>{let[y]=w;y&&y.target===a&&u&&(u.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var v;(v=u)==null||v.observe(e)})),n()}),a&&!c&&u.observe(a),u.observe(e));let d,p=c?ot(t):null;c&&g();function g(){let w=ot(t);p&&!se(p,w)&&n(),p=w,d=requestAnimationFrame(g)}return n(),()=>{var w;f.forEach(y=>{o&&y.removeEventListener("scroll",n),s&&y.removeEventListener("resize",n)}),h==null||h(),(w=u)==null||w.disconnect(),u=null,c&&cancelAnimationFrame(d)}}var ae=It;var ce=Xt,fe=jt,Pt=Yt;var ue=_t;var he=(t,e,n)=>{let i=new Map,o=C({platform:Ie},n),s=F(C({},o.platform),{_c:i});return Vt(t,e,F(C({},o),{platform:s}))};var x=class extends Rt{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=[ae({mainAxis:this.distance,crossAxis:this.skidding})];this.sync?n.push(Pt({apply:({rects:i})=>{let o=this.sync==="width"||this.sync==="both",s=this.sync==="height"||this.sync==="both";this.popup.style.width=o?`${i.reference.width}px`:"",this.popup.style.height=s?`${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(ce({boundary:this.shiftBoundary,padding:this.shiftPadding})),this.autoSize?n.push(Pt({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:s,placement:r})=>{let l=getComputedStyle(this).direction==="rtl",c={top:"bottom",right:"left",bottom:"top",left:"right"}[r.split("-")[0]];if(this.setAttribute("data-current-placement",r),Object.assign(this.popup.style,{left:`${i}px`,top:`${o}px`}),this.arrow){let a=s.arrow.x,f=s.arrow.y,h="",m="",u="",d="";if(this.arrowPlacement==="start"){let p=typeof a=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";h=typeof f=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"",m=l?p:"",d=l?"":p}else if(this.arrowPlacement==="end"){let p=typeof a=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";m=l?"":p,d=l?p:"",u=typeof f=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:""}else this.arrowPlacement==="center"?(d=typeof a=="number"?"calc(50% - var(--arrow-size-diagonal))":"",h=typeof f=="number"?"calc(50% - var(--arrow-size-diagonal))":""):(d=typeof a=="number"?`${a}px`:"",h=typeof f=="number"?`${f}px`:"");Object.assign(this.arrowEl.style,{top:h,right:m,bottom:u,left:d,[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>`}};x.styles=[...Rt.styles,zt`/*! tailwindcss v4.2.1 | 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([Et('[part="popup"]')],x.prototype,"popup",2),A([Et('[part="arrow"]')],x.prototype,"arrowEl",2),A([O({reflect:!0})],x.prototype,"anchor",2),A([O({type:Boolean,reflect:!0})],x.prototype,"active",2),A([O({type:String,reflect:!0})],x.prototype,"placement",2),A([O({type:String,reflect:!0})],x.prototype,"strategy",2),A([O({type:Number,reflect:!0})],x.prototype,"distance",2),A([O({type:Number,reflect:!0})],x.prototype,"skidding",2),A([O({type:Boolean,reflect:!0})],x.prototype,"arrow",2),A([O({type:String,attribute:"arrow-placement",reflect:!0})],x.prototype,"arrowPlacement",2),A([O({attribute:"arrow-padding",type:Number,reflect:!0})],x.prototype,"arrowPadding",2),A([O({type:Boolean,reflect:!0})],x.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(" ")}})],x.prototype,"flipFallbackPlacements",2),A([O({type:String,attribute:"flip-fallback-strategy"})],x.prototype,"flipFallbackStrategy",2),A([O({type:Object})],x.prototype,"flipBoundary",2),A([O({attribute:"flip-padding",type:Number})],x.prototype,"flipPadding",2),A([O({type:Boolean})],x.prototype,"shift",2),A([O({type:Object})],x.prototype,"shiftBoundary",2),A([O({attribute:"shift-padding",type:Number})],x.prototype,"shiftPadding",2),A([O({type:String,attribute:"auto-size"})],x.prototype,"autoSize",2),A([O()],x.prototype,"sync",2),A([O({type:Object})],x.prototype,"autoSizeBoundary",2),A([O({attribute:"auto-size-padding",type:Number})],x.prototype,"autoSizePadding",2),x=A([Mt("sd-popup")],x);export{x as a};
@@ -1,2 +0,0 @@
1
- import{a as m}from"./chunk.ERQOYXLO.js";import{a as l}from"./chunk.NYKJXI3Q.js";import{a as h,b as a,d as f,h as n}from"./chunk.JMZGGLJF.js";import{b as o,e as c}from"./chunk.UOAG5PNU.js";import{e as s}from"./chunk.6EV4YU6C.js";var e=class extends n{constructor(){super(...arguments);this.steps=[];this.size="lg";this.orientation="horizontal";this.activeStep=0;this.notInteractive=!1;this.label=""}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.steps=this.getAllSteps(),this.steps[this.steps.length-1].noTail=!0;let t;this.steps.forEach((i,r)=>{i.index=r+1,i.size=this.size,i.orientation=this.orientation,this.notInteractive?(i.current=!1,i.disabled=!1,i.notInteractive=!0):i.current&&(t=r)}),this.setActiveStep(t||this.activeStep)})}updateSize(){this.steps.forEach(t=>{t.size=this.size})}updateOrientation(){this.steps.forEach(t=>{t.orientation=this.orientation})}getAllSteps(){return[...this.body.assignedElements()].filter(t=>t.tagName.toLowerCase()==="sd-step")}setActiveStep(t){t>=0&&t<this.steps.length&&!this.notInteractive&&(this.activeStep=t,this.steps.forEach((i,r)=>{r===t?i.current=!0:r>t?i.waiting=!0:i.current=!1}))}handleInteractivityChange(){this.notInteractive&&this.steps.forEach(t=>{t.current=!1,t.disabled=!1,t.notInteractive=!0})}render(){return c`<div role="${this.notInteractive?"group":"navigation"}" class="h-full" aria-label="${this.label}"><div role="list" part="base" class="${m("flex",this.orientation==="vertical"&&"flex-col h-full")}"><slot part="body"></slot></div></div>`}};e.styles=[...n.styles,o`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{width:-moz-max-content;width:max-content}`],s([f("[part=body]")],e.prototype,"body",2),s([a({type:String,reflect:!0})],e.prototype,"size",2),s([a({type:String,reflect:!0})],e.prototype,"orientation",2),s([a({type:Number,reflect:!0,attribute:"active-step"})],e.prototype,"activeStep",2),s([a({type:Boolean,reflect:!0,attribute:"not-interactive"})],e.prototype,"notInteractive",2),s([a({type:String,reflect:!0})],e.prototype,"label",2),s([l("size",{waitUntilFirstUpdate:!0})],e.prototype,"updateSize",1),s([l("orientation",{waitUntilFirstUpdate:!0})],e.prototype,"updateOrientation",1),s([l("notInteractive")],e.prototype,"handleInteractivityChange",1),e=s([h("sd-step-group")],e);export{e as a};
@@ -1,2 +0,0 @@
1
- import{a as kt}from"./chunk.ERQOYXLO.js";import{a as Mt,b as O,d as Et,h as Rt}from"./chunk.JMZGGLJF.js";import{b as zt,e as Ot}from"./chunk.UOAG5PNU.js";import{a as C,b as F,c as dt,e as A}from"./chunk.6EV4YU6C.js";var _=Math.min,T=Math.max,ct=Math.round,ft=Math.floor,$=t=>({x:t,y:t}),me={left:"right",right:"left",bottom:"top",top:"bottom"},pe={start:"end",end:"start"};function pt(t,e,n){return T(t,_(e,n))}function Z(t,e){return typeof t=="function"?t(e):t}function Y(t){return t.split("-")[0]}function tt(t){return t.split("-")[1]}function Ct(t){return t==="x"?"y":"x"}function gt(t){return t==="y"?"height":"width"}var ge=new Set(["top","bottom"]);function j(t){return ge.has(Y(t))?"y":"x"}function wt(t){return Ct(j(t))}function Ft(t,e,n){n===void 0&&(n=!1);let i=tt(t),o=wt(t),s=gt(o),r=o==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(r=at(r)),[r,at(r)]}function $t(t){let e=at(t);return[mt(t),e,mt(e)]}function mt(t){return t.replace(/start|end/g,e=>pe[e])}var Dt=["left","right"],Bt=["right","left"],we=["top","bottom"],ye=["bottom","top"];function xe(t,e,n){switch(t){case"top":case"bottom":return n?e?Bt:Dt:e?Dt:Bt;case"left":case"right":return e?we:ye;default:return[]}}function Nt(t,e,n,i){let o=tt(t),s=xe(Y(t),n==="start",i);return o&&(s=s.map(r=>r+"-"+o),e&&(s=s.concat(s.map(mt)))),s}function at(t){return t.replace(/left|right|bottom|top/g,e=>me[e])}function ve(t){return C({top:0,right:0,bottom:0,left:0},t)}function St(t){return typeof t!="number"?ve(t):{top:t,right:t,bottom:t,left:t}}function et(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 Ht(t,e,n){let{reference:i,floating:o}=t,s=j(e),r=wt(e),l=gt(r),c=Y(e),a=s==="y",f=i.x+i.width/2-o.width/2,h=i.y+i.height/2-o.height/2,m=i[l]/2-o[l]/2,u;switch(c){case"top":u={x:f,y:i.y-o.height};break;case"bottom":u={x:f,y:i.y+i.height};break;case"right":u={x:i.x+i.width,y:h};break;case"left":u={x:i.x-o.width,y:h};break;default:u={x:i.x,y:i.y}}switch(tt(e)){case"start":u[r]-=m*(n&&a?-1:1);break;case"end":u[r]+=m*(n&&a?-1:1);break}return u}async function Wt(t,e){var n;e===void 0&&(e={});let{x:i,y:o,platform:s,rects:r,elements:l,strategy:c}=t,{boundary:a="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:m=!1,padding:u=0}=Z(e,t),d=St(u),g=l[m?h==="floating"?"reference":"floating":h],w=et(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(g)))==null||n?g:g.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:a,rootBoundary:f,strategy:c})),y=h==="floating"?{x:i,y:o,width:r.floating.width,height:r.floating.height}:r.reference,v=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),b=await(s.isElement==null?void 0:s.isElement(v))?await(s.getScale==null?void 0:s.getScale(v))||{x:1,y:1}:{x:1,y:1},E=et(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:y,offsetParent:v,strategy:c}):y);return{top:(w.top-E.top+d.top)/b.y,bottom:(E.bottom-w.bottom+d.bottom)/b.y,left:(w.left-E.left+d.left)/b.x,right:(E.right-w.right+d.right)/b.x}}var Vt=async(t,e,n)=>{let{placement:i="bottom",strategy:o="absolute",middleware:s=[],platform:r}=n,l=s.filter(Boolean),c=await(r.isRTL==null?void 0:r.isRTL(e)),a=await r.getElementRects({reference:t,floating:e,strategy:o}),{x:f,y:h}=Ht(a,i,c),m=i,u={},d=0;for(let g=0;g<l.length;g++){var p;let{name:w,fn:y}=l[g],{x:v,y:b,data:E,reset:R}=await y({x:f,y:h,initialPlacement:i,placement:m,strategy:o,middlewareData:u,rects:a,platform:F(C({},r),{detectOverflow:(p=r.detectOverflow)!=null?p:Wt}),elements:{reference:t,floating:e}});f=v!=null?v:f,h=b!=null?b:h,u=F(C({},u),{[w]:C(C({},u[w]),E)}),R&&d<=50&&(d++,typeof R=="object"&&(R.placement&&(m=R.placement),R.rects&&(a=R.rects===!0?await r.getElementRects({reference:t,floating:e,strategy:o}):R.rects),{x:f,y:h}=Ht(a,m,c)),g=-1)}return{x:f,y:h,placement:m,strategy:o,middlewareData:u}},_t=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:i,placement:o,rects:s,platform:r,elements:l,middlewareData:c}=e,{element:a,padding:f=0}=Z(t,e)||{};if(a==null)return{};let h=St(f),m={x:n,y:i},u=wt(o),d=gt(u),p=await r.getDimensions(a),g=u==="y",w=g?"top":"left",y=g?"bottom":"right",v=g?"clientHeight":"clientWidth",b=s.reference[d]+s.reference[u]-m[u]-s.floating[d],E=m[u]-s.reference[u],R=await(r.getOffsetParent==null?void 0:r.getOffsetParent(a)),S=R?R[v]:0;(!S||!await(r.isElement==null?void 0:r.isElement(R)))&&(S=l.floating[v]||s.floating[d]);let I=b/2-E/2,W=S/2-p[d]/2-1,z=_(h[w],W),U=_(h[y],W),V=z,K=S-p[d]-U,P=S/2-p[d]/2+I,D=pt(V,P,K),J=!c.arrow&&tt(o)!=null&&P!==D&&s.reference[d]/2-(P<V?z:U)-p[d]/2<0,X=J?P<V?P-V:P-K:0;return{[u]:m[u]+X,data:C({[u]:D,centerOffset:P-D-X},J&&{alignmentOffset:X}),reset:J}}});var jt=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,i;let{placement:o,middlewareData:s,rects:r,initialPlacement:l,platform:c,elements:a}=e,P=Z(t,e),{mainAxis:f=!0,crossAxis:h=!0,fallbackPlacements:m,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:d="none",flipAlignment:p=!0}=P,g=dt(P,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((n=s.arrow)!=null&&n.alignmentOffset)return{};let w=Y(o),y=j(l),v=Y(l)===l,b=await(c.isRTL==null?void 0:c.isRTL(a.floating)),E=m||(v||!p?[at(l)]:$t(l)),R=d!=="none";!m&&R&&E.push(...Nt(l,p,d,b));let S=[l,...E],I=await c.detectOverflow(e,g),W=[],z=((i=s.flip)==null?void 0:i.overflows)||[];if(f&&W.push(I[w]),h){let D=Ft(o,r,b);W.push(I[D[0]],I[D[1]])}if(z=[...z,{placement:o,overflows:W}],!W.every(D=>D<=0)){var U,V;let D=(((U=s.flip)==null?void 0:U.index)||0)+1,J=S[D];if(J&&(!(h==="alignment"?y!==j(J):!1)||z.every(B=>j(B.placement)===y?B.overflows[0]>0:!0)))return{data:{index:D,overflows:z},reset:{placement:J}};let X=(V=z.filter(Q=>Q.overflows[0]<=0).sort((Q,B)=>Q.overflows[1]-B.overflows[1])[0])==null?void 0:V.placement;if(!X)switch(u){case"bestFit":{var K;let Q=(K=z.filter(B=>{if(R){let G=j(B.placement);return G===y||G==="y"}return!0}).map(B=>[B.placement,B.overflows.filter(G=>G>0).reduce((G,de)=>G+de,0)]).sort((B,G)=>B[1]-G[1])[0])==null?void 0:K[0];Q&&(X=Q);break}case"initialPlacement":X=l;break}if(o!==X)return{reset:{placement:X}}}return{}}}};var be=new Set(["left","top"]);async function Ae(t,e){let{placement:n,platform:i,elements:o}=t,s=await(i.isRTL==null?void 0:i.isRTL(o.floating)),r=Y(n),l=tt(n),c=j(n)==="y",a=be.has(r)?-1:1,f=s&&c?-1:1,h=Z(e,t),{mainAxis:m,crossAxis:u,alignmentAxis:d}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return l&&typeof d=="number"&&(u=l==="end"?d*-1:d),c?{x:u*f,y:m*a}:{x:m*a,y:u*f}}var It=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,i;let{x:o,y:s,placement:r,middlewareData:l}=e,c=await Ae(e,t);return r===((n=l.offset)==null?void 0:n.placement)&&(i=l.arrow)!=null&&i.alignmentOffset?{}:{x:o+c.x,y:s+c.y,data:F(C({},c),{placement:r})}}}},Xt=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:i,placement:o,platform:s}=e,w=Z(t,e),{mainAxis:r=!0,crossAxis:l=!1,limiter:c={fn:y=>{let{x:v,y:b}=y;return{x:v,y:b}}}}=w,a=dt(w,["mainAxis","crossAxis","limiter"]),f={x:n,y:i},h=await s.detectOverflow(e,a),m=j(Y(o)),u=Ct(m),d=f[u],p=f[m];if(r){let y=u==="y"?"top":"left",v=u==="y"?"bottom":"right",b=d+h[y],E=d-h[v];d=pt(b,d,E)}if(l){let y=m==="y"?"top":"left",v=m==="y"?"bottom":"right",b=p+h[y],E=p-h[v];p=pt(b,p,E)}let g=c.fn(F(C({},e),{[u]:d,[m]:p}));return F(C({},g),{data:{x:g.x-n,y:g.y-i,enabled:{[u]:r,[m]:l}}})}}};var Yt=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,i;let{placement:o,rects:s,platform:r,elements:l}=e,z=Z(t,e),{apply:c=()=>{}}=z,a=dt(z,["apply"]),f=await r.detectOverflow(e,a),h=Y(o),m=tt(o),u=j(o)==="y",{width:d,height:p}=s.floating,g,w;h==="top"||h==="bottom"?(g=h,w=m===(await(r.isRTL==null?void 0:r.isRTL(l.floating))?"start":"end")?"left":"right"):(w=h,g=m==="end"?"top":"bottom");let y=p-f.top-f.bottom,v=d-f.left-f.right,b=_(p-f[g],y),E=_(d-f[w],v),R=!e.middlewareData.shift,S=b,I=E;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(I=v),(i=e.middlewareData.shift)!=null&&i.enabled.y&&(S=y),R&&!m){let U=T(f.left,0),V=T(f.right,0),K=T(f.top,0),P=T(f.bottom,0);u?I=d-2*(U!==0||V!==0?U+V:T(f.left,f.right)):S=p-2*(K!==0||P!==0?K+P:T(f.top,f.bottom))}await c(F(C({},e),{availableWidth:I,availableHeight:S}));let W=await r.getDimensions(l.floating);return d!==W.width||p!==W.height?{reset:{rects:!0}}:{}}}};function yt(){return typeof window!="undefined"}function nt(t){return Ut(t)?(t.nodeName||"").toLowerCase():"#document"}function L(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function N(t){var e;return(e=(Ut(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ut(t){return yt()?t instanceof Node||t instanceof L(t).Node:!1}function M(t){return yt()?t instanceof Element||t instanceof L(t).Element:!1}function H(t){return yt()?t instanceof HTMLElement||t instanceof L(t).HTMLElement:!1}function qt(t){return!yt()||typeof ShadowRoot=="undefined"?!1:t instanceof ShadowRoot||t instanceof L(t).ShadowRoot}var Oe=new Set(["inline","contents"]);function st(t){let{overflow:e,overflowX:n,overflowY:i,display:o}=k(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&!Oe.has(o)}var Ee=new Set(["table","td","th"]);function Kt(t){return Ee.has(nt(t))}var Re=[":popover-open",":modal"];function ut(t){return Re.some(e=>{try{return t.matches(e)}catch(n){return!1}})}var Ce=["transform","translate","scale","rotate","perspective"],Se=["transform","translate","scale","rotate","perspective","filter"],Te=["paint","layout","strict","content"];function xt(t){let e=vt(),n=M(t)?k(t):t;return Ce.some(i=>n[i]?n[i]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||Se.some(i=>(n.willChange||"").includes(i))||Te.some(i=>(n.contain||"").includes(i))}function Gt(t){let e=q(t);for(;H(e)&&!it(e);){if(xt(e))return e;if(ut(e))return null;e=q(e)}return null}function vt(){return typeof CSS=="undefined"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}var Le=new Set(["html","body","#document"]);function it(t){return Le.has(nt(t))}function k(t){return L(t).getComputedStyle(t)}function ht(t){return M(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function q(t){if(nt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||qt(t)&&t.host||N(t);return qt(e)?e.host:e}function Jt(t){let e=q(t);return it(e)?t.ownerDocument?t.ownerDocument.body:t.body:H(e)&&st(e)?e:Jt(e)}function rt(t,e,n){var i;e===void 0&&(e=[]),n===void 0&&(n=!0);let o=Jt(t),s=o===((i=t.ownerDocument)==null?void 0:i.body),r=L(o);if(s){let l=bt(r);return e.concat(r,r.visualViewport||[],st(o)?o:[],l&&n?rt(l):[])}return e.concat(o,rt(o,[],n))}function bt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function ee(t){let e=k(t),n=parseFloat(e.width)||0,i=parseFloat(e.height)||0,o=H(t),s=o?t.offsetWidth:n,r=o?t.offsetHeight:i,l=ct(n)!==s||ct(i)!==r;return l&&(n=s,i=r),{width:n,height:i,$:l}}function Lt(t){return M(t)?t:t.contextElement}function lt(t){let e=Lt(t);if(!H(e))return $(1);let n=e.getBoundingClientRect(),{width:i,height:o,$:s}=ee(e),r=(s?ct(n.width):n.width)/i,l=(s?ct(n.height):n.height)/o;return(!r||!Number.isFinite(r))&&(r=1),(!l||!Number.isFinite(l))&&(l=1),{x:r,y:l}}var Pe=$(0);function ne(t){let e=L(t);return!vt()||!e.visualViewport?Pe:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function ze(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==L(t)?!1:e}function ot(t,e,n,i){e===void 0&&(e=!1),n===void 0&&(n=!1);let o=t.getBoundingClientRect(),s=Lt(t),r=$(1);e&&(i?M(i)&&(r=lt(i)):r=lt(t));let l=ze(s,n,i)?ne(s):$(0),c=(o.left+l.x)/r.x,a=(o.top+l.y)/r.y,f=o.width/r.x,h=o.height/r.y;if(s){let m=L(s),u=i&&M(i)?L(i):i,d=m,p=bt(d);for(;p&&i&&u!==d;){let g=lt(p),w=p.getBoundingClientRect(),y=k(p),v=w.left+(p.clientLeft+parseFloat(y.paddingLeft))*g.x,b=w.top+(p.clientTop+parseFloat(y.paddingTop))*g.y;c*=g.x,a*=g.y,f*=g.x,h*=g.y,c+=v,a+=b,d=L(p),p=bt(d)}}return et({width:f,height:h,x:c,y:a})}function At(t,e){let n=ht(t).scrollLeft;return e?e.left+n:ot(N(t)).left+n}function ie(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 Me(t){let{elements:e,rect:n,offsetParent:i,strategy:o}=t,s=o==="fixed",r=N(i),l=e?ut(e.floating):!1;if(i===r||l&&s)return n;let c={scrollLeft:0,scrollTop:0},a=$(1),f=$(0),h=H(i);if((h||!h&&!s)&&((nt(i)!=="body"||st(r))&&(c=ht(i)),H(i))){let u=ot(i);a=lt(i),f.x=u.x+i.clientLeft,f.y=u.y+i.clientTop}let m=r&&!h&&!s?ie(r,c):$(0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-c.scrollLeft*a.x+f.x+m.x,y:n.y*a.y-c.scrollTop*a.y+f.y+m.y}}function ke(t){return Array.from(t.getClientRects())}function De(t){let e=N(t),n=ht(t),i=t.ownerDocument.body,o=T(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),s=T(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),r=-n.scrollLeft+At(t),l=-n.scrollTop;return k(i).direction==="rtl"&&(r+=T(e.clientWidth,i.clientWidth)-o),{width:o,height:s,x:r,y:l}}var Qt=25;function Be(t,e){let n=L(t),i=N(t),o=n.visualViewport,s=i.clientWidth,r=i.clientHeight,l=0,c=0;if(o){s=o.width,r=o.height;let f=vt();(!f||f&&e==="fixed")&&(l=o.offsetLeft,c=o.offsetTop)}let a=At(i);if(a<=0){let f=i.ownerDocument,h=f.body,m=getComputedStyle(h),u=f.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,d=Math.abs(i.clientWidth-h.clientWidth-u);d<=Qt&&(s-=d)}else a<=Qt&&(s+=a);return{width:s,height:r,x:l,y:c}}var Fe=new Set(["absolute","fixed"]);function $e(t,e){let n=ot(t,!0,e==="fixed"),i=n.top+t.clientTop,o=n.left+t.clientLeft,s=H(t)?lt(t):$(1),r=t.clientWidth*s.x,l=t.clientHeight*s.y,c=o*s.x,a=i*s.y;return{width:r,height:l,x:c,y:a}}function Zt(t,e,n){let i;if(e==="viewport")i=Be(t,n);else if(e==="document")i=De(N(t));else if(M(e))i=$e(e,n);else{let o=ne(t);i={x:e.x-o.x,y:e.y-o.y,width:e.width,height:e.height}}return et(i)}function oe(t,e){let n=q(t);return n===e||!M(n)||it(n)?!1:k(n).position==="fixed"||oe(n,e)}function Ne(t,e){let n=e.get(t);if(n)return n;let i=rt(t,[],!1).filter(l=>M(l)&&nt(l)!=="body"),o=null,s=k(t).position==="fixed",r=s?q(t):t;for(;M(r)&&!it(r);){let l=k(r),c=xt(r);!c&&l.position==="fixed"&&(o=null),(s?!c&&!o:!c&&l.position==="static"&&!!o&&Fe.has(o.position)||st(r)&&!c&&oe(t,r))?i=i.filter(f=>f!==r):o=l,r=q(r)}return e.set(t,i),i}function He(t){let{element:e,boundary:n,rootBoundary:i,strategy:o}=t,r=[...n==="clippingAncestors"?ut(e)?[]:Ne(e,this._c):[].concat(n),i],l=r[0],c=r.reduce((a,f)=>{let h=Zt(e,f,o);return a.top=T(h.top,a.top),a.right=_(h.right,a.right),a.bottom=_(h.bottom,a.bottom),a.left=T(h.left,a.left),a},Zt(e,l,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function We(t){let{width:e,height:n}=ee(t);return{width:e,height:n}}function Ve(t,e,n){let i=H(e),o=N(e),s=n==="fixed",r=ot(t,!0,s,e),l={scrollLeft:0,scrollTop:0},c=$(0);function a(){c.x=At(o)}if(i||!i&&!s)if((nt(e)!=="body"||st(o))&&(l=ht(e)),i){let u=ot(e,!0,s,e);c.x=u.x+e.clientLeft,c.y=u.y+e.clientTop}else o&&a();s&&!i&&o&&a();let f=o&&!i&&!s?ie(o,l):$(0),h=r.left+l.scrollLeft-c.x-f.x,m=r.top+l.scrollTop-c.y-f.y;return{x:h,y:m,width:r.width,height:r.height}}function Tt(t){return k(t).position==="static"}function te(t,e){if(!H(t)||k(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return N(t)===n&&(n=n.ownerDocument.body),n}function re(t,e){let n=L(t);if(ut(t))return n;if(!H(t)){let o=q(t);for(;o&&!it(o);){if(M(o)&&!Tt(o))return o;o=q(o)}return n}let i=te(t,e);for(;i&&Kt(i)&&Tt(i);)i=te(i,e);return i&&it(i)&&Tt(i)&&!xt(i)?n:i||Gt(t)||n}var _e=async function(t){let e=this.getOffsetParent||re,n=this.getDimensions,i=await n(t.floating);return{reference:Ve(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function je(t){return k(t).direction==="rtl"}var Ie={convertOffsetParentRelativeRectToViewportRelativeRect:Me,getDocumentElement:N,getClippingRect:He,getOffsetParent:re,getElementRects:_e,getClientRects:ke,getDimensions:We,getScale:lt,isElement:M,isRTL:je};function se(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Xe(t,e){let n=null,i,o=N(t);function s(){var l;clearTimeout(i),(l=n)==null||l.disconnect(),n=null}function r(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),s();let a=t.getBoundingClientRect(),{left:f,top:h,width:m,height:u}=a;if(l||e(),!m||!u)return;let d=ft(h),p=ft(o.clientWidth-(f+m)),g=ft(o.clientHeight-(h+u)),w=ft(f),v={rootMargin:-d+"px "+-p+"px "+-g+"px "+-w+"px",threshold:T(0,_(1,c))||1},b=!0;function E(R){let S=R[0].intersectionRatio;if(S!==c){if(!b)return r();S?r(!1,S):i=setTimeout(()=>{r(!1,1e-7)},1e3)}S===1&&!se(a,t.getBoundingClientRect())&&r(),b=!1}try{n=new IntersectionObserver(E,F(C({},v),{root:o.ownerDocument}))}catch(R){n=new IntersectionObserver(E,v)}n.observe(t)}return r(!0),s}function le(t,e,n,i){i===void 0&&(i={});let{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=i,a=Lt(t),f=o||s?[...a?rt(a):[],...rt(e)]:[];f.forEach(w=>{o&&w.addEventListener("scroll",n,{passive:!0}),s&&w.addEventListener("resize",n)});let h=a&&l?Xe(a,n):null,m=-1,u=null;r&&(u=new ResizeObserver(w=>{let[y]=w;y&&y.target===a&&u&&(u.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var v;(v=u)==null||v.observe(e)})),n()}),a&&!c&&u.observe(a),u.observe(e));let d,p=c?ot(t):null;c&&g();function g(){let w=ot(t);p&&!se(p,w)&&n(),p=w,d=requestAnimationFrame(g)}return n(),()=>{var w;f.forEach(y=>{o&&y.removeEventListener("scroll",n),s&&y.removeEventListener("resize",n)}),h==null||h(),(w=u)==null||w.disconnect(),u=null,c&&cancelAnimationFrame(d)}}var ae=It;var ce=Xt,fe=jt,Pt=Yt;var ue=_t;var he=(t,e,n)=>{let i=new Map,o=C({platform:Ie},n),s=F(C({},o.platform),{_c:i});return Vt(t,e,F(C({},o),{platform:s}))};var x=class extends Rt{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=[ae({mainAxis:this.distance,crossAxis:this.skidding})];this.sync?n.push(Pt({apply:({rects:i})=>{let o=this.sync==="width"||this.sync==="both",s=this.sync==="height"||this.sync==="both";this.popup.style.width=o?`${i.reference.width}px`:"",this.popup.style.height=s?`${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(ce({boundary:this.shiftBoundary,padding:this.shiftPadding})),this.autoSize?n.push(Pt({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:s,placement:r})=>{let l=getComputedStyle(this).direction==="rtl",c={top:"bottom",right:"left",bottom:"top",left:"right"}[r.split("-")[0]];if(this.setAttribute("data-current-placement",r),Object.assign(this.popup.style,{left:`${i}px`,top:`${o}px`}),this.arrow){let a=s.arrow.x,f=s.arrow.y,h="",m="",u="",d="";if(this.arrowPlacement==="start"){let p=typeof a=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";h=typeof f=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"",m=l?p:"",d=l?"":p}else if(this.arrowPlacement==="end"){let p=typeof a=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";m=l?"":p,d=l?p:"",u=typeof f=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:""}else this.arrowPlacement==="center"?(d=typeof a=="number"?"calc(50% - var(--arrow-size-diagonal))":"",h=typeof f=="number"?"calc(50% - var(--arrow-size-diagonal))":""):(d=typeof a=="number"?`${a}px`:"",h=typeof f=="number"?`${f}px`:"");Object.assign(this.arrowEl.style,{top:h,right:m,bottom:u,left:d,[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>`}};x.styles=[...Rt.styles,zt`/*! tailwindcss v4.2.1 | 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([Et('[part="popup"]')],x.prototype,"popup",2),A([Et('[part="arrow"]')],x.prototype,"arrowEl",2),A([O({reflect:!0})],x.prototype,"anchor",2),A([O({type:Boolean,reflect:!0})],x.prototype,"active",2),A([O({type:String,reflect:!0})],x.prototype,"placement",2),A([O({type:String,reflect:!0})],x.prototype,"strategy",2),A([O({type:Number,reflect:!0})],x.prototype,"distance",2),A([O({type:Number,reflect:!0})],x.prototype,"skidding",2),A([O({type:Boolean,reflect:!0})],x.prototype,"arrow",2),A([O({type:String,attribute:"arrow-placement",reflect:!0})],x.prototype,"arrowPlacement",2),A([O({attribute:"arrow-padding",type:Number,reflect:!0})],x.prototype,"arrowPadding",2),A([O({type:Boolean,reflect:!0})],x.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(" ")}})],x.prototype,"flipFallbackPlacements",2),A([O({type:String,attribute:"flip-fallback-strategy"})],x.prototype,"flipFallbackStrategy",2),A([O({type:Object})],x.prototype,"flipBoundary",2),A([O({attribute:"flip-padding",type:Number})],x.prototype,"flipPadding",2),A([O({type:Boolean})],x.prototype,"shift",2),A([O({type:Object})],x.prototype,"shiftBoundary",2),A([O({attribute:"shift-padding",type:Number})],x.prototype,"shiftPadding",2),A([O({type:String,attribute:"auto-size"})],x.prototype,"autoSize",2),A([O()],x.prototype,"sync",2),A([O({type:Object})],x.prototype,"autoSizeBoundary",2),A([O({attribute:"auto-size-padding",type:Number})],x.prototype,"autoSizePadding",2),x=A([Mt("sd-6-11-0-popup")],x);export{x as a};
@@ -1,2 +0,0 @@
1
- import{a as m}from"./chunk.ERQOYXLO.js";import{a as l}from"./chunk.NYKJXI3Q.js";import{a as h,b as a,d as f,h as n}from"./chunk.JMZGGLJF.js";import{b as o,e as c}from"./chunk.UOAG5PNU.js";import{e as s}from"./chunk.6EV4YU6C.js";var e=class extends n{constructor(){super(...arguments);this.steps=[];this.size="lg";this.orientation="horizontal";this.activeStep=0;this.notInteractive=!1;this.label=""}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.steps=this.getAllSteps(),this.steps[this.steps.length-1].noTail=!0;let t;this.steps.forEach((i,r)=>{i.index=r+1,i.size=this.size,i.orientation=this.orientation,this.notInteractive?(i.current=!1,i.disabled=!1,i.notInteractive=!0):i.current&&(t=r)}),this.setActiveStep(t||this.activeStep)})}updateSize(){this.steps.forEach(t=>{t.size=this.size})}updateOrientation(){this.steps.forEach(t=>{t.orientation=this.orientation})}getAllSteps(){return[...this.body.assignedElements()].filter(t=>t.tagName.toLowerCase()==="sd-6-11-0-step")}setActiveStep(t){t>=0&&t<this.steps.length&&!this.notInteractive&&(this.activeStep=t,this.steps.forEach((i,r)=>{r===t?i.current=!0:r>t?i.waiting=!0:i.current=!1}))}handleInteractivityChange(){this.notInteractive&&this.steps.forEach(t=>{t.current=!1,t.disabled=!1,t.notInteractive=!0})}render(){return c`<div role="${this.notInteractive?"group":"navigation"}" class="h-full" aria-label="${this.label}"><div role="list" part="base" class="${m("flex",this.orientation==="vertical"&&"flex-col h-full")}"><slot part="body"></slot></div></div>`}};e.styles=[...n.styles,o`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{width:-moz-max-content;width:max-content}`],s([f("[part=body]")],e.prototype,"body",2),s([a({type:String,reflect:!0})],e.prototype,"size",2),s([a({type:String,reflect:!0})],e.prototype,"orientation",2),s([a({type:Number,reflect:!0,attribute:"active-step"})],e.prototype,"activeStep",2),s([a({type:Boolean,reflect:!0,attribute:"not-interactive"})],e.prototype,"notInteractive",2),s([a({type:String,reflect:!0})],e.prototype,"label",2),s([l("size",{waitUntilFirstUpdate:!0})],e.prototype,"updateSize",1),s([l("orientation",{waitUntilFirstUpdate:!0})],e.prototype,"updateOrientation",1),s([l("notInteractive")],e.prototype,"handleInteractivityChange",1),e=s([h("sd-6-11-0-step-group")],e);export{e as a};