@solid-design-system/components 4.0.0 → 4.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (531) hide show
  1. package/cdn/chunks/{chunk.JMR5LRM4.js → chunk.2MKIKDQY.js} +1 -1
  2. package/cdn/chunks/{chunk.ROPE253M.js → chunk.2RKC4PX2.js} +1 -1
  3. package/cdn/chunks/{chunk.M4RFSHFF.js → chunk.37AKROZQ.js} +1 -1
  4. package/cdn/chunks/{chunk.WZC3XCIR.js → chunk.3CMEDI5Q.js} +1 -1
  5. package/cdn/chunks/{chunk.U34WY52I.js → chunk.4LW22GLX.js} +1 -1
  6. package/cdn/chunks/{chunk.A4G6Y76O.js → chunk.5KCSOAA3.js} +1 -1
  7. package/cdn/chunks/{chunk.NZ5V2VSI.js → chunk.6BCGXAUV.js} +1 -1
  8. package/cdn/chunks/{chunk.27P4XVMA.js → chunk.6HMIEKMA.js} +1 -1
  9. package/cdn/chunks/{chunk.TU2SAF4G.js → chunk.ANSLHQOM.js} +1 -1
  10. package/cdn/chunks/{chunk.WEAE6ZBM.js → chunk.AQYKEDSK.js} +1 -1
  11. package/cdn/chunks/{chunk.QKDYT7VV.js → chunk.BSXRWVFJ.js} +1 -1
  12. package/cdn/chunks/{chunk.YMD2XYIC.js → chunk.C7B7IJTF.js} +1 -1
  13. package/cdn/chunks/{chunk.PDS5EJLY.js → chunk.ENXPYC3I.js} +1 -1
  14. package/cdn/chunks/{chunk.3BP4JKVA.js → chunk.ERIS2E6E.js} +1 -1
  15. package/cdn/chunks/{chunk.NLBGFAEL.js → chunk.F3I2ZAJZ.js} +1 -1
  16. package/cdn/chunks/{chunk.U7AQLAX6.js → chunk.FNE6AWAP.js} +1 -1
  17. package/cdn/chunks/{chunk.HWHDT555.js → chunk.FPDKP6PN.js} +1 -1
  18. package/cdn/chunks/{chunk.PY4OL3TM.js → chunk.FX3IWUZL.js} +1 -1
  19. package/cdn/chunks/{chunk.FZOGKJ6K.js → chunk.GI6GBMRK.js} +1 -1
  20. package/cdn/chunks/{chunk.TNLTS4Y3.js → chunk.I6KWEJL5.js} +1 -1
  21. package/cdn/chunks/{chunk.BURIKJWK.js → chunk.JE65MGDL.js} +1 -1
  22. package/cdn/chunks/{chunk.ADINOF7M.js → chunk.KHK74CJA.js} +1 -1
  23. package/cdn/chunks/{chunk.AET67HPL.js → chunk.KT6CS7MB.js} +1 -1
  24. package/cdn/chunks/{chunk.NHZ6UIWO.js → chunk.L5LJFTUA.js} +1 -1
  25. package/cdn/chunks/{chunk.3IPN77DT.js → chunk.LFTAVPYP.js} +1 -1
  26. package/cdn/chunks/{chunk.EY7SRDP7.js → chunk.LKHCEWG6.js} +1 -1
  27. package/cdn/chunks/{chunk.HZ4OPRVF.js → chunk.MD77BZE7.js} +1 -1
  28. package/cdn/chunks/{chunk.GU6YYER3.js → chunk.MVMJOYL7.js} +1 -1
  29. package/cdn/chunks/chunk.MX2AOQKK.js +1 -0
  30. package/cdn/chunks/{chunk.IDCOAEYV.js → chunk.N7DREP3X.js} +1 -1
  31. package/cdn/chunks/{chunk.XYADX7DL.js → chunk.NCSRAXCO.js} +1 -1
  32. package/cdn/chunks/{chunk.7VSDQRWQ.js → chunk.NJPQO7AM.js} +1 -1
  33. package/cdn/chunks/{chunk.V2TDTGPP.js → chunk.O657MMFX.js} +1 -1
  34. package/cdn/chunks/{chunk.2CYKFWL2.js → chunk.OJILWIHU.js} +1 -1
  35. package/cdn/chunks/{chunk.6BDCEAVF.js → chunk.OYVDI4G4.js} +1 -1
  36. package/cdn/chunks/{chunk.3SSIAAEU.js → chunk.QK2P72CA.js} +1 -1
  37. package/cdn/chunks/{chunk.U7T4LLPE.js → chunk.RNVF7IN5.js} +1 -1
  38. package/cdn/chunks/{chunk.EH4OGY33.js → chunk.RORUJY5E.js} +1 -1
  39. package/cdn/chunks/{chunk.PCWU4TKS.js → chunk.RWS4N2NC.js} +1 -1
  40. package/cdn/chunks/{chunk.NSYOAWT4.js → chunk.SH5F4YM4.js} +1 -1
  41. package/cdn/chunks/{chunk.MNUMMNDI.js → chunk.TTAYTI3M.js} +1 -1
  42. package/cdn/chunks/{chunk.647JLNTI.js → chunk.UCPHLOPM.js} +1 -1
  43. package/cdn/chunks/{chunk.5BMT34AY.js → chunk.VHSIUWDX.js} +1 -1
  44. package/cdn/chunks/{chunk.BKAM7ZYV.js → chunk.VVLFNR53.js} +1 -1
  45. package/cdn/chunks/{chunk.Z5YG3CRT.js → chunk.VWVU4BWU.js} +1 -1
  46. package/cdn/chunks/{chunk.DLTYLPXF.js → chunk.WDX7NMBB.js} +1 -1
  47. package/cdn/chunks/{chunk.GCJNU5BB.js → chunk.WRDPMPPA.js} +1 -1
  48. package/cdn/chunks/{chunk.OYCPNRQV.js → chunk.XTSUFBWJ.js} +1 -1
  49. package/cdn/chunks/{chunk.XODZQ2XV.js → chunk.YHWKY6MV.js} +1 -1
  50. package/cdn/chunks/{chunk.XHNPUCSF.js → chunk.ZAYOIELL.js} +1 -1
  51. package/cdn/components/accordion/accordion.js +1 -1
  52. package/cdn/components/accordion-group/accordion-group.js +1 -1
  53. package/cdn/components/animation/animation.js +1 -1
  54. package/cdn/components/audio/audio.js +1 -1
  55. package/cdn/components/badge/badge.js +1 -1
  56. package/cdn/components/brandshape/brandshape.js +1 -1
  57. package/cdn/components/button/button.js +1 -1
  58. package/cdn/components/button-group/button-group.js +1 -1
  59. package/cdn/components/carousel/carousel.js +1 -1
  60. package/cdn/components/carousel-item/carousel-item.js +1 -1
  61. package/cdn/components/checkbox/checkbox.js +1 -1
  62. package/cdn/components/checkbox-group/checkbox-group.js +1 -1
  63. package/cdn/components/combobox/combobox.js +1 -1
  64. package/cdn/components/dialog/dialog.js +1 -1
  65. package/cdn/components/divider/divider.js +1 -1
  66. package/cdn/components/drawer/drawer.js +1 -1
  67. package/cdn/components/dropdown/dropdown.js +1 -1
  68. package/cdn/components/expandable/expandable.js +1 -1
  69. package/cdn/components/flipcard/flipcard.js +1 -1
  70. package/cdn/components/header/header.js +1 -1
  71. package/cdn/components/icon/icon.js +1 -1
  72. package/cdn/components/include/include.js +1 -1
  73. package/cdn/components/input/input.js +1 -1
  74. package/cdn/components/link/link.js +1 -1
  75. package/cdn/components/map-marker/map-marker.js +1 -1
  76. package/cdn/components/navigation-item/navigation-item.js +1 -1
  77. package/cdn/components/notification/notification.js +1 -1
  78. package/cdn/components/optgroup/optgroup.js +1 -1
  79. package/cdn/components/option/option.js +1 -1
  80. package/cdn/components/popup/popup.js +1 -1
  81. package/cdn/components/quickfact/quickfact.js +1 -1
  82. package/cdn/components/radio/radio.js +1 -1
  83. package/cdn/components/radio-button/radio-button.js +1 -1
  84. package/cdn/components/radio-group/radio-group.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/spinner/spinner.js +1 -1
  88. package/cdn/components/step/step.js +1 -1
  89. package/cdn/components/step-group/step-group.js +1 -1
  90. package/cdn/components/switch/switch.js +1 -1
  91. package/cdn/components/tab/tab.js +1 -1
  92. package/cdn/components/tab-group/tab-group.js +1 -1
  93. package/cdn/components/tab-panel/tab-panel.js +1 -1
  94. package/cdn/components/tag/tag.js +1 -1
  95. package/cdn/components/teaser/teaser.js +1 -1
  96. package/cdn/components/teaser-media/teaser-media.js +1 -1
  97. package/cdn/components/textarea/textarea.js +1 -1
  98. package/cdn/components/tooltip/tooltip.js +1 -1
  99. package/cdn/components/video/video.js +1 -1
  100. package/cdn/custom-elements.json +1 -1
  101. package/cdn/solid-components.bundle.js +15 -15
  102. package/cdn/solid-components.iife.js +15 -15
  103. package/cdn/solid-components.js +1 -1
  104. package/cdn/utilities/autocomplete-config.js +1 -1
  105. package/cdn/web-types.json +1 -1
  106. package/cdn-versioned/_components/menu/menu.js +1 -1
  107. package/cdn-versioned/_components/menu/menu.styles.js +1 -1
  108. package/cdn-versioned/_components/menu-item/menu-item.js +2 -2
  109. package/cdn-versioned/chunks/{chunk.JMR5LRM4.js → chunk.2MKIKDQY.js} +1 -1
  110. package/cdn-versioned/chunks/{chunk.ROPE253M.js → chunk.2RKC4PX2.js} +1 -1
  111. package/cdn-versioned/chunks/{chunk.M4RFSHFF.js → chunk.37AKROZQ.js} +1 -1
  112. package/cdn-versioned/chunks/{chunk.WZC3XCIR.js → chunk.3CMEDI5Q.js} +2 -2
  113. package/cdn-versioned/chunks/{chunk.U34WY52I.js → chunk.4LW22GLX.js} +1 -1
  114. package/cdn-versioned/chunks/{chunk.A4G6Y76O.js → chunk.5KCSOAA3.js} +1 -1
  115. package/cdn-versioned/chunks/chunk.65NSSTJE.js +1 -1
  116. package/cdn-versioned/chunks/{chunk.NZ5V2VSI.js → chunk.6BCGXAUV.js} +1 -1
  117. package/cdn-versioned/chunks/{chunk.27P4XVMA.js → chunk.6HMIEKMA.js} +1 -1
  118. package/cdn-versioned/chunks/{chunk.TU2SAF4G.js → chunk.ANSLHQOM.js} +4 -4
  119. package/cdn-versioned/chunks/{chunk.WEAE6ZBM.js → chunk.AQYKEDSK.js} +1 -1
  120. package/cdn-versioned/chunks/{chunk.QKDYT7VV.js → chunk.BSXRWVFJ.js} +1 -1
  121. package/cdn-versioned/chunks/{chunk.YMD2XYIC.js → chunk.C7B7IJTF.js} +1 -1
  122. package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
  123. package/cdn-versioned/chunks/{chunk.PDS5EJLY.js → chunk.ENXPYC3I.js} +1 -1
  124. package/cdn-versioned/chunks/{chunk.3BP4JKVA.js → chunk.ERIS2E6E.js} +1 -1
  125. package/cdn-versioned/chunks/{chunk.NLBGFAEL.js → chunk.F3I2ZAJZ.js} +4 -4
  126. package/cdn-versioned/chunks/{chunk.U7AQLAX6.js → chunk.FNE6AWAP.js} +1 -1
  127. package/cdn-versioned/chunks/{chunk.HWHDT555.js → chunk.FPDKP6PN.js} +1 -1
  128. package/cdn-versioned/chunks/{chunk.PY4OL3TM.js → chunk.FX3IWUZL.js} +2 -2
  129. package/cdn-versioned/chunks/{chunk.FZOGKJ6K.js → chunk.GI6GBMRK.js} +1 -1
  130. package/cdn-versioned/chunks/{chunk.TNLTS4Y3.js → chunk.I6KWEJL5.js} +1 -1
  131. package/cdn-versioned/chunks/{chunk.BURIKJWK.js → chunk.JE65MGDL.js} +1 -1
  132. package/cdn-versioned/chunks/{chunk.ADINOF7M.js → chunk.KHK74CJA.js} +1 -1
  133. package/cdn-versioned/chunks/{chunk.AET67HPL.js → chunk.KT6CS7MB.js} +1 -1
  134. package/cdn-versioned/chunks/{chunk.NHZ6UIWO.js → chunk.L5LJFTUA.js} +1 -1
  135. package/cdn-versioned/chunks/{chunk.3IPN77DT.js → chunk.LFTAVPYP.js} +1 -1
  136. package/cdn-versioned/chunks/{chunk.EY7SRDP7.js → chunk.LKHCEWG6.js} +2 -2
  137. package/cdn-versioned/chunks/{chunk.HZ4OPRVF.js → chunk.MD77BZE7.js} +1 -1
  138. package/cdn-versioned/chunks/{chunk.GU6YYER3.js → chunk.MVMJOYL7.js} +1 -1
  139. package/cdn-versioned/chunks/chunk.MX2AOQKK.js +1 -0
  140. package/cdn-versioned/chunks/{chunk.IDCOAEYV.js → chunk.N7DREP3X.js} +1 -1
  141. package/cdn-versioned/chunks/{chunk.XYADX7DL.js → chunk.NCSRAXCO.js} +1 -1
  142. package/cdn-versioned/chunks/{chunk.7VSDQRWQ.js → chunk.NJPQO7AM.js} +1 -1
  143. package/cdn-versioned/chunks/{chunk.V2TDTGPP.js → chunk.O657MMFX.js} +1 -1
  144. package/cdn-versioned/chunks/{chunk.2CYKFWL2.js → chunk.OJILWIHU.js} +1 -1
  145. package/cdn-versioned/chunks/{chunk.6BDCEAVF.js → chunk.OYVDI4G4.js} +4 -4
  146. package/cdn-versioned/chunks/{chunk.3SSIAAEU.js → chunk.QK2P72CA.js} +1 -1
  147. package/cdn-versioned/chunks/{chunk.U7T4LLPE.js → chunk.RNVF7IN5.js} +1 -1
  148. package/cdn-versioned/chunks/{chunk.EH4OGY33.js → chunk.RORUJY5E.js} +2 -2
  149. package/cdn-versioned/chunks/{chunk.PCWU4TKS.js → chunk.RWS4N2NC.js} +1 -1
  150. package/cdn-versioned/chunks/{chunk.NSYOAWT4.js → chunk.SH5F4YM4.js} +1 -1
  151. package/cdn-versioned/chunks/{chunk.MNUMMNDI.js → chunk.TTAYTI3M.js} +2 -2
  152. package/cdn-versioned/chunks/{chunk.647JLNTI.js → chunk.UCPHLOPM.js} +1 -1
  153. package/cdn-versioned/chunks/{chunk.5BMT34AY.js → chunk.VHSIUWDX.js} +1 -1
  154. package/cdn-versioned/chunks/{chunk.BKAM7ZYV.js → chunk.VVLFNR53.js} +1 -1
  155. package/cdn-versioned/chunks/{chunk.Z5YG3CRT.js → chunk.VWVU4BWU.js} +1 -1
  156. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  157. package/cdn-versioned/chunks/{chunk.DLTYLPXF.js → chunk.WDX7NMBB.js} +1 -1
  158. package/cdn-versioned/chunks/{chunk.GCJNU5BB.js → chunk.WRDPMPPA.js} +1 -1
  159. package/cdn-versioned/chunks/{chunk.OYCPNRQV.js → chunk.XTSUFBWJ.js} +1 -1
  160. package/cdn-versioned/chunks/{chunk.XODZQ2XV.js → chunk.YHWKY6MV.js} +1 -1
  161. package/cdn-versioned/chunks/{chunk.XHNPUCSF.js → chunk.ZAYOIELL.js} +1 -1
  162. package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
  163. package/cdn-versioned/components/accordion/accordion.js +1 -1
  164. package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  165. package/cdn-versioned/components/accordion-group/accordion-group.js +1 -1
  166. package/cdn-versioned/components/animation/animation.d.ts +1 -1
  167. package/cdn-versioned/components/animation/animation.js +1 -1
  168. package/cdn-versioned/components/audio/audio.d.ts +1 -1
  169. package/cdn-versioned/components/audio/audio.js +1 -1
  170. package/cdn-versioned/components/badge/badge.d.ts +1 -1
  171. package/cdn-versioned/components/badge/badge.js +1 -1
  172. package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
  173. package/cdn-versioned/components/brandshape/brandshape.js +1 -1
  174. package/cdn-versioned/components/button/button.d.ts +1 -1
  175. package/cdn-versioned/components/button/button.js +1 -1
  176. package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
  177. package/cdn-versioned/components/button-group/button-group.js +1 -1
  178. package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
  179. package/cdn-versioned/components/carousel/carousel.js +1 -1
  180. package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  181. package/cdn-versioned/components/carousel-item/carousel-item.js +1 -1
  182. package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
  183. package/cdn-versioned/components/checkbox/checkbox.js +1 -1
  184. package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  185. package/cdn-versioned/components/checkbox-group/checkbox-group.js +1 -1
  186. package/cdn-versioned/components/combobox/combobox.d.ts +4 -4
  187. package/cdn-versioned/components/combobox/combobox.js +1 -1
  188. package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
  189. package/cdn-versioned/components/dialog/dialog.js +1 -1
  190. package/cdn-versioned/components/divider/divider.d.ts +1 -1
  191. package/cdn-versioned/components/divider/divider.js +1 -1
  192. package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
  193. package/cdn-versioned/components/drawer/drawer.js +1 -1
  194. package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
  195. package/cdn-versioned/components/dropdown/dropdown.js +1 -1
  196. package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
  197. package/cdn-versioned/components/expandable/expandable.js +1 -1
  198. package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
  199. package/cdn-versioned/components/flipcard/flipcard.js +1 -1
  200. package/cdn-versioned/components/header/header.d.ts +1 -1
  201. package/cdn-versioned/components/header/header.js +1 -1
  202. package/cdn-versioned/components/icon/icon.d.ts +1 -1
  203. package/cdn-versioned/components/icon/icon.js +1 -1
  204. package/cdn-versioned/components/include/include.d.ts +1 -1
  205. package/cdn-versioned/components/include/include.js +1 -1
  206. package/cdn-versioned/components/input/input.d.ts +1 -1
  207. package/cdn-versioned/components/input/input.js +1 -1
  208. package/cdn-versioned/components/link/link.d.ts +1 -1
  209. package/cdn-versioned/components/link/link.js +1 -1
  210. package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
  211. package/cdn-versioned/components/map-marker/map-marker.js +1 -1
  212. package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  213. package/cdn-versioned/components/navigation-item/navigation-item.js +1 -1
  214. package/cdn-versioned/components/notification/notification.d.ts +1 -1
  215. package/cdn-versioned/components/notification/notification.js +1 -1
  216. package/cdn-versioned/components/optgroup/optgroup.d.ts +2 -2
  217. package/cdn-versioned/components/optgroup/optgroup.js +1 -1
  218. package/cdn-versioned/components/option/option.d.ts +1 -1
  219. package/cdn-versioned/components/option/option.js +1 -1
  220. package/cdn-versioned/components/popup/popup.d.ts +1 -1
  221. package/cdn-versioned/components/popup/popup.js +1 -1
  222. package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
  223. package/cdn-versioned/components/quickfact/quickfact.js +1 -1
  224. package/cdn-versioned/components/radio/radio.d.ts +1 -1
  225. package/cdn-versioned/components/radio/radio.js +1 -1
  226. package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
  227. package/cdn-versioned/components/radio-button/radio-button.js +1 -1
  228. package/cdn-versioned/components/radio-group/radio-group.d.ts +2 -2
  229. package/cdn-versioned/components/radio-group/radio-group.js +1 -1
  230. package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
  231. package/cdn-versioned/components/scrollable/scrollable.js +1 -1
  232. package/cdn-versioned/components/select/select.d.ts +4 -4
  233. package/cdn-versioned/components/select/select.js +1 -1
  234. package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
  235. package/cdn-versioned/components/spinner/spinner.js +1 -1
  236. package/cdn-versioned/components/step/step.d.ts +1 -1
  237. package/cdn-versioned/components/step/step.js +1 -1
  238. package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
  239. package/cdn-versioned/components/step-group/step-group.js +1 -1
  240. package/cdn-versioned/components/switch/switch.d.ts +1 -1
  241. package/cdn-versioned/components/switch/switch.js +1 -1
  242. package/cdn-versioned/components/tab/tab.d.ts +1 -1
  243. package/cdn-versioned/components/tab/tab.js +1 -1
  244. package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
  245. package/cdn-versioned/components/tab-group/tab-group.js +1 -1
  246. package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  247. package/cdn-versioned/components/tab-panel/tab-panel.js +1 -1
  248. package/cdn-versioned/components/tag/tag.d.ts +1 -1
  249. package/cdn-versioned/components/tag/tag.js +1 -1
  250. package/cdn-versioned/components/teaser/teaser.js +1 -1
  251. package/cdn-versioned/components/teaser-media/teaser-media.js +1 -1
  252. package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
  253. package/cdn-versioned/components/textarea/textarea.js +1 -1
  254. package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
  255. package/cdn-versioned/components/tooltip/tooltip.js +1 -1
  256. package/cdn-versioned/components/video/video.d.ts +1 -1
  257. package/cdn-versioned/components/video/video.js +1 -1
  258. package/cdn-versioned/custom-elements.json +202 -202
  259. package/cdn-versioned/internal/form.js +3 -3
  260. package/cdn-versioned/solid-components.bundle.js +19 -19
  261. package/cdn-versioned/solid-components.css +2 -2
  262. package/cdn-versioned/solid-components.iife.js +19 -19
  263. package/cdn-versioned/solid-components.js +1 -1
  264. package/cdn-versioned/utilities/autocomplete-config.js +1 -1
  265. package/cdn-versioned/vscode.html-custom-data.json +80 -80
  266. package/cdn-versioned/web-types.json +137 -137
  267. package/dist/chunks/{chunk.VDF7KHYO.js → chunk.23WUCVW6.js} +1 -1
  268. package/dist/chunks/{chunk.MEYIIQQC.js → chunk.2FWAXOB3.js} +1 -1
  269. package/dist/chunks/{chunk.FXAD3J2G.js → chunk.336SOZQ7.js} +1 -1
  270. package/dist/chunks/{chunk.VA4H4TO6.js → chunk.3IIJI2YI.js} +1 -1
  271. package/dist/chunks/{chunk.N443KN6M.js → chunk.47Y6CRA6.js} +1 -1
  272. package/dist/chunks/{chunk.SX66NTJS.js → chunk.4LA6375U.js} +1 -1
  273. package/dist/chunks/{chunk.RJG7FDQN.js → chunk.4NORTB4T.js} +1 -1
  274. package/dist/chunks/{chunk.C3IVTPFT.js → chunk.5UXE3YAT.js} +1 -1
  275. package/dist/chunks/{chunk.DWIJB4FE.js → chunk.5ZWBIPBJ.js} +1 -1
  276. package/dist/chunks/{chunk.KARKPO6D.js → chunk.6US5BJNM.js} +1 -1
  277. package/dist/chunks/{chunk.ZYCCX6R7.js → chunk.7JO5FCU4.js} +1 -1
  278. package/dist/chunks/{chunk.YQ6ZGCYS.js → chunk.A7ETNRKR.js} +1 -1
  279. package/dist/chunks/{chunk.WSGE4KVS.js → chunk.AFZXA6KB.js} +3 -3
  280. package/dist/chunks/{chunk.FTPI46H7.js → chunk.B2FZCDD2.js} +1 -1
  281. package/dist/chunks/{chunk.SAHCI5Y5.js → chunk.BTN23KPO.js} +1 -1
  282. package/dist/chunks/{chunk.LOHV3SQ7.js → chunk.BZNIT6S5.js} +1 -1
  283. package/dist/chunks/{chunk.7TH6VN75.js → chunk.DHEEQPKB.js} +2 -2
  284. package/dist/chunks/{chunk.KXWPB4EA.js → chunk.DID2HIGU.js} +1 -1
  285. package/dist/chunks/{chunk.SWWBX77U.js → chunk.DQUOULN6.js} +1 -1
  286. package/dist/chunks/{chunk.ZY536C6C.js → chunk.EYDGWH4T.js} +1 -1
  287. package/dist/chunks/{chunk.VYFAJUCN.js → chunk.FAMYJDBN.js} +1 -1
  288. package/dist/chunks/{chunk.G4S2CHVG.js → chunk.G6LYMXKT.js} +4 -4
  289. package/dist/chunks/{chunk.MSBRGBZ3.js → chunk.GMOZ5YXA.js} +2 -2
  290. package/dist/chunks/{chunk.S5ODUYDD.js → chunk.GSDAOG7M.js} +1 -1
  291. package/dist/chunks/{chunk.7A4PCELQ.js → chunk.GWYRJFJU.js} +1 -1
  292. package/dist/chunks/{chunk.GC3PXZ6M.js → chunk.KGZ3GBGJ.js} +1 -1
  293. package/dist/chunks/{chunk.CWZMGP22.js → chunk.LBHA2DC4.js} +1 -1
  294. package/dist/chunks/{chunk.72RQXFUJ.js → chunk.MFJDLGGR.js} +1 -1
  295. package/dist/chunks/{chunk.I4JQIHL5.js → chunk.NEZVEG7K.js} +1 -1
  296. package/dist/chunks/{chunk.ZDM4363V.js → chunk.NU62KGCW.js} +1 -1
  297. package/dist/chunks/{chunk.IJKJEQKZ.js → chunk.OZXJCMQU.js} +1 -1
  298. package/dist/chunks/{chunk.XW5FWVSL.js → chunk.QDCDOA3O.js} +1 -1
  299. package/dist/chunks/{chunk.SNEFSXVE.js → chunk.QEMNNDQN.js} +1 -1
  300. package/dist/chunks/{chunk.ZXUJNQSP.js → chunk.QZF3GDJ6.js} +1 -1
  301. package/dist/chunks/{chunk.3MB5BULP.js → chunk.R3AKTB5D.js} +1 -1
  302. package/dist/chunks/{chunk.EOK7GTLB.js → chunk.REUL4QMO.js} +1 -1
  303. package/dist/chunks/{chunk.ASAXVCVJ.js → chunk.RGLEFOOR.js} +1 -1
  304. package/dist/chunks/{chunk.EZZY6RYW.js → chunk.SWDIWUUU.js} +1 -1
  305. package/dist/chunks/{chunk.EROZOZSD.js → chunk.THY5BDBS.js} +1 -1
  306. package/dist/chunks/{chunk.LIHVJG34.js → chunk.TPF3IUIC.js} +1 -1
  307. package/dist/chunks/{chunk.S4MVT4ZE.js → chunk.UJYVSZ25.js} +2 -2
  308. package/dist/chunks/{chunk.V542QHOM.js → chunk.V3JNM4K3.js} +1 -1
  309. package/dist/chunks/{chunk.GLFF67DA.js → chunk.VBMNECRY.js} +1 -1
  310. package/dist/chunks/{chunk.JN6UBBKL.js → chunk.VX3KGPNB.js} +1 -1
  311. package/dist/chunks/{chunk.JWJRZKES.js → chunk.WLPV5EZN.js} +1 -1
  312. package/dist/chunks/{chunk.YMMZA3LC.js → chunk.XVR2P4CC.js} +1 -1
  313. package/dist/chunks/{chunk.AFNKNM3P.js → chunk.XW3H7TX7.js} +4 -4
  314. package/dist/chunks/{chunk.E5RK2KNC.js → chunk.Y3F3Y4DX.js} +1 -1
  315. package/dist/chunks/{chunk.KCHA5X3N.js → chunk.YA3KZ3ZS.js} +1 -1
  316. package/dist/chunks/{chunk.BAKEFAQ3.js → chunk.YFF7OIOH.js} +1 -1
  317. package/dist/components/accordion/accordion.js +3 -3
  318. package/dist/components/accordion-group/accordion-group.js +4 -4
  319. package/dist/components/animation/animation.js +2 -2
  320. package/dist/components/audio/audio.js +2 -2
  321. package/dist/components/badge/badge.js +2 -2
  322. package/dist/components/brandshape/brandshape.js +2 -2
  323. package/dist/components/button/button.js +3 -3
  324. package/dist/components/button-group/button-group.js +2 -2
  325. package/dist/components/carousel/carousel.js +4 -4
  326. package/dist/components/carousel-item/carousel-item.js +2 -2
  327. package/dist/components/checkbox/checkbox.js +3 -3
  328. package/dist/components/checkbox-group/checkbox-group.js +3 -3
  329. package/dist/components/combobox/combobox.js +5 -5
  330. package/dist/components/dialog/dialog.js +5 -5
  331. package/dist/components/divider/divider.js +2 -2
  332. package/dist/components/drawer/drawer.js +5 -5
  333. package/dist/components/dropdown/dropdown.js +3 -3
  334. package/dist/components/expandable/expandable.js +2 -2
  335. package/dist/components/flipcard/flipcard.js +5 -5
  336. package/dist/components/header/header.js +2 -2
  337. package/dist/components/icon/icon.js +2 -2
  338. package/dist/components/include/include.js +2 -2
  339. package/dist/components/input/input.js +3 -3
  340. package/dist/components/link/link.js +2 -2
  341. package/dist/components/map-marker/map-marker.js +2 -2
  342. package/dist/components/navigation-item/navigation-item.js +2 -2
  343. package/dist/components/notification/notification.js +2 -2
  344. package/dist/components/optgroup/optgroup.js +3 -3
  345. package/dist/components/option/option.js +3 -3
  346. package/dist/components/popup/popup.js +2 -2
  347. package/dist/components/quickfact/quickfact.js +4 -4
  348. package/dist/components/radio/radio.js +3 -3
  349. package/dist/components/radio-button/radio-button.js +2 -2
  350. package/dist/components/radio-group/radio-group.js +5 -5
  351. package/dist/components/scrollable/scrollable.js +2 -2
  352. package/dist/components/select/select.js +5 -5
  353. package/dist/components/spinner/spinner.js +2 -2
  354. package/dist/components/step/step.js +2 -2
  355. package/dist/components/step-group/step-group.js +2 -2
  356. package/dist/components/switch/switch.js +2 -2
  357. package/dist/components/tab/tab.js +2 -2
  358. package/dist/components/tab-group/tab-group.js +2 -2
  359. package/dist/components/tab-panel/tab-panel.js +2 -2
  360. package/dist/components/tag/tag.js +2 -2
  361. package/dist/components/teaser/teaser.js +2 -2
  362. package/dist/components/teaser-media/teaser-media.js +2 -2
  363. package/dist/components/textarea/textarea.js +2 -2
  364. package/dist/components/tooltip/tooltip.js +3 -3
  365. package/dist/components/video/video.js +2 -2
  366. package/dist/custom-elements.json +1 -1
  367. package/dist/solid-components.js +52 -52
  368. package/dist/utilities/autocomplete-config.js +2 -2
  369. package/dist/web-types.json +1 -1
  370. package/dist-versioned/_components/menu/menu.js +1 -1
  371. package/dist-versioned/_components/menu/menu.styles.js +1 -1
  372. package/dist-versioned/_components/menu-item/menu-item.js +2 -2
  373. package/dist-versioned/chunks/{chunk.VDF7KHYO.js → chunk.23WUCVW6.js} +2 -2
  374. package/dist-versioned/chunks/{chunk.MEYIIQQC.js → chunk.2FWAXOB3.js} +14 -14
  375. package/dist-versioned/chunks/{chunk.FXAD3J2G.js → chunk.336SOZQ7.js} +3 -3
  376. package/dist-versioned/chunks/{chunk.VA4H4TO6.js → chunk.3IIJI2YI.js} +3 -3
  377. package/dist-versioned/chunks/{chunk.N443KN6M.js → chunk.47Y6CRA6.js} +2 -2
  378. package/dist-versioned/chunks/{chunk.SX66NTJS.js → chunk.4LA6375U.js} +6 -6
  379. package/dist-versioned/chunks/{chunk.RJG7FDQN.js → chunk.4NORTB4T.js} +3 -3
  380. package/dist-versioned/chunks/{chunk.C3IVTPFT.js → chunk.5UXE3YAT.js} +3 -3
  381. package/dist-versioned/chunks/{chunk.DWIJB4FE.js → chunk.5ZWBIPBJ.js} +3 -3
  382. package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
  383. package/dist-versioned/chunks/{chunk.KARKPO6D.js → chunk.6US5BJNM.js} +3 -3
  384. package/dist-versioned/chunks/{chunk.ZYCCX6R7.js → chunk.7JO5FCU4.js} +4 -4
  385. package/dist-versioned/chunks/{chunk.YQ6ZGCYS.js → chunk.A7ETNRKR.js} +3 -3
  386. package/dist-versioned/chunks/{chunk.WSGE4KVS.js → chunk.AFZXA6KB.js} +16 -16
  387. package/dist-versioned/chunks/{chunk.FTPI46H7.js → chunk.B2FZCDD2.js} +3 -3
  388. package/dist-versioned/chunks/{chunk.SAHCI5Y5.js → chunk.BTN23KPO.js} +2 -2
  389. package/dist-versioned/chunks/{chunk.LOHV3SQ7.js → chunk.BZNIT6S5.js} +2 -2
  390. package/dist-versioned/chunks/{chunk.7TH6VN75.js → chunk.DHEEQPKB.js} +5 -5
  391. package/dist-versioned/chunks/{chunk.KXWPB4EA.js → chunk.DID2HIGU.js} +10 -10
  392. package/dist-versioned/chunks/{chunk.SWWBX77U.js → chunk.DQUOULN6.js} +3 -3
  393. package/dist-versioned/chunks/{chunk.ZY536C6C.js → chunk.EYDGWH4T.js} +2 -2
  394. package/dist-versioned/chunks/{chunk.VYFAJUCN.js → chunk.FAMYJDBN.js} +3 -3
  395. package/dist-versioned/chunks/{chunk.G4S2CHVG.js → chunk.G6LYMXKT.js} +30 -30
  396. package/dist-versioned/chunks/{chunk.MSBRGBZ3.js → chunk.GMOZ5YXA.js} +8 -8
  397. package/dist-versioned/chunks/{chunk.S5ODUYDD.js → chunk.GSDAOG7M.js} +6 -6
  398. package/dist-versioned/chunks/{chunk.7A4PCELQ.js → chunk.GWYRJFJU.js} +2 -2
  399. package/dist-versioned/chunks/{chunk.GC3PXZ6M.js → chunk.KGZ3GBGJ.js} +1 -1
  400. package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
  401. package/dist-versioned/chunks/{chunk.CWZMGP22.js → chunk.LBHA2DC4.js} +3 -3
  402. package/dist-versioned/chunks/{chunk.72RQXFUJ.js → chunk.MFJDLGGR.js} +3 -3
  403. package/dist-versioned/chunks/{chunk.I4JQIHL5.js → chunk.NEZVEG7K.js} +7 -7
  404. package/dist-versioned/chunks/{chunk.ZDM4363V.js → chunk.NU62KGCW.js} +5 -5
  405. package/dist-versioned/chunks/{chunk.IJKJEQKZ.js → chunk.OZXJCMQU.js} +3 -3
  406. package/dist-versioned/chunks/{chunk.XW5FWVSL.js → chunk.QDCDOA3O.js} +2 -2
  407. package/dist-versioned/chunks/{chunk.SNEFSXVE.js → chunk.QEMNNDQN.js} +6 -6
  408. package/dist-versioned/chunks/{chunk.ZXUJNQSP.js → chunk.QZF3GDJ6.js} +2 -2
  409. package/dist-versioned/chunks/{chunk.3MB5BULP.js → chunk.R3AKTB5D.js} +2 -2
  410. package/dist-versioned/chunks/{chunk.EOK7GTLB.js → chunk.REUL4QMO.js} +2 -2
  411. package/dist-versioned/chunks/{chunk.ASAXVCVJ.js → chunk.RGLEFOOR.js} +4 -4
  412. package/dist-versioned/chunks/{chunk.EZZY6RYW.js → chunk.SWDIWUUU.js} +4 -4
  413. package/dist-versioned/chunks/{chunk.EROZOZSD.js → chunk.THY5BDBS.js} +2 -2
  414. package/dist-versioned/chunks/{chunk.LIHVJG34.js → chunk.TPF3IUIC.js} +2 -2
  415. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  416. package/dist-versioned/chunks/{chunk.S4MVT4ZE.js → chunk.UJYVSZ25.js} +7 -7
  417. package/dist-versioned/chunks/{chunk.V542QHOM.js → chunk.V3JNM4K3.js} +3 -3
  418. package/dist-versioned/chunks/{chunk.GLFF67DA.js → chunk.VBMNECRY.js} +6 -6
  419. package/dist-versioned/chunks/{chunk.JN6UBBKL.js → chunk.VX3KGPNB.js} +3 -3
  420. package/dist-versioned/chunks/{chunk.JWJRZKES.js → chunk.WLPV5EZN.js} +12 -12
  421. package/dist-versioned/chunks/{chunk.YMMZA3LC.js → chunk.XVR2P4CC.js} +4 -4
  422. package/dist-versioned/chunks/{chunk.AFNKNM3P.js → chunk.XW3H7TX7.js} +33 -33
  423. package/dist-versioned/chunks/{chunk.E5RK2KNC.js → chunk.Y3F3Y4DX.js} +3 -3
  424. package/dist-versioned/chunks/{chunk.KCHA5X3N.js → chunk.YA3KZ3ZS.js} +6 -6
  425. package/dist-versioned/chunks/{chunk.BAKEFAQ3.js → chunk.YFF7OIOH.js} +2 -2
  426. package/dist-versioned/components/accordion/accordion.d.ts +1 -1
  427. package/dist-versioned/components/accordion/accordion.js +3 -3
  428. package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  429. package/dist-versioned/components/accordion-group/accordion-group.js +4 -4
  430. package/dist-versioned/components/animation/animation.d.ts +1 -1
  431. package/dist-versioned/components/animation/animation.js +2 -2
  432. package/dist-versioned/components/audio/audio.d.ts +1 -1
  433. package/dist-versioned/components/audio/audio.js +2 -2
  434. package/dist-versioned/components/badge/badge.d.ts +1 -1
  435. package/dist-versioned/components/badge/badge.js +2 -2
  436. package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
  437. package/dist-versioned/components/brandshape/brandshape.js +2 -2
  438. package/dist-versioned/components/button/button.d.ts +1 -1
  439. package/dist-versioned/components/button/button.js +3 -3
  440. package/dist-versioned/components/button-group/button-group.d.ts +1 -1
  441. package/dist-versioned/components/button-group/button-group.js +2 -2
  442. package/dist-versioned/components/carousel/carousel.d.ts +1 -1
  443. package/dist-versioned/components/carousel/carousel.js +4 -4
  444. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  445. package/dist-versioned/components/carousel-item/carousel-item.js +2 -2
  446. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  447. package/dist-versioned/components/checkbox/checkbox.js +3 -3
  448. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  449. package/dist-versioned/components/checkbox-group/checkbox-group.js +3 -3
  450. package/dist-versioned/components/combobox/combobox.d.ts +4 -4
  451. package/dist-versioned/components/combobox/combobox.js +5 -5
  452. package/dist-versioned/components/dialog/dialog.d.ts +1 -1
  453. package/dist-versioned/components/dialog/dialog.js +5 -5
  454. package/dist-versioned/components/divider/divider.d.ts +1 -1
  455. package/dist-versioned/components/divider/divider.js +2 -2
  456. package/dist-versioned/components/drawer/drawer.d.ts +1 -1
  457. package/dist-versioned/components/drawer/drawer.js +5 -5
  458. package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
  459. package/dist-versioned/components/dropdown/dropdown.js +3 -3
  460. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  461. package/dist-versioned/components/expandable/expandable.js +2 -2
  462. package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
  463. package/dist-versioned/components/flipcard/flipcard.js +5 -5
  464. package/dist-versioned/components/header/header.d.ts +1 -1
  465. package/dist-versioned/components/header/header.js +2 -2
  466. package/dist-versioned/components/icon/icon.d.ts +1 -1
  467. package/dist-versioned/components/icon/icon.js +2 -2
  468. package/dist-versioned/components/include/include.d.ts +1 -1
  469. package/dist-versioned/components/include/include.js +2 -2
  470. package/dist-versioned/components/input/input.d.ts +1 -1
  471. package/dist-versioned/components/input/input.js +3 -3
  472. package/dist-versioned/components/link/link.d.ts +1 -1
  473. package/dist-versioned/components/link/link.js +2 -2
  474. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  475. package/dist-versioned/components/map-marker/map-marker.js +2 -2
  476. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  477. package/dist-versioned/components/navigation-item/navigation-item.js +2 -2
  478. package/dist-versioned/components/notification/notification.d.ts +1 -1
  479. package/dist-versioned/components/notification/notification.js +2 -2
  480. package/dist-versioned/components/optgroup/optgroup.d.ts +2 -2
  481. package/dist-versioned/components/optgroup/optgroup.js +3 -3
  482. package/dist-versioned/components/option/option.d.ts +1 -1
  483. package/dist-versioned/components/option/option.js +3 -3
  484. package/dist-versioned/components/popup/popup.d.ts +1 -1
  485. package/dist-versioned/components/popup/popup.js +2 -2
  486. package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
  487. package/dist-versioned/components/quickfact/quickfact.js +4 -4
  488. package/dist-versioned/components/radio/radio.d.ts +1 -1
  489. package/dist-versioned/components/radio/radio.js +3 -3
  490. package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
  491. package/dist-versioned/components/radio-button/radio-button.js +2 -2
  492. package/dist-versioned/components/radio-group/radio-group.d.ts +2 -2
  493. package/dist-versioned/components/radio-group/radio-group.js +5 -5
  494. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  495. package/dist-versioned/components/scrollable/scrollable.js +2 -2
  496. package/dist-versioned/components/select/select.d.ts +4 -4
  497. package/dist-versioned/components/select/select.js +5 -5
  498. package/dist-versioned/components/spinner/spinner.d.ts +1 -1
  499. package/dist-versioned/components/spinner/spinner.js +2 -2
  500. package/dist-versioned/components/step/step.d.ts +1 -1
  501. package/dist-versioned/components/step/step.js +2 -2
  502. package/dist-versioned/components/step-group/step-group.d.ts +1 -1
  503. package/dist-versioned/components/step-group/step-group.js +2 -2
  504. package/dist-versioned/components/switch/switch.d.ts +1 -1
  505. package/dist-versioned/components/switch/switch.js +2 -2
  506. package/dist-versioned/components/tab/tab.d.ts +1 -1
  507. package/dist-versioned/components/tab/tab.js +2 -2
  508. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  509. package/dist-versioned/components/tab-group/tab-group.js +2 -2
  510. package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  511. package/dist-versioned/components/tab-panel/tab-panel.js +2 -2
  512. package/dist-versioned/components/tag/tag.d.ts +1 -1
  513. package/dist-versioned/components/tag/tag.js +2 -2
  514. package/dist-versioned/components/teaser/teaser.js +2 -2
  515. package/dist-versioned/components/teaser-media/teaser-media.js +2 -2
  516. package/dist-versioned/components/textarea/textarea.d.ts +1 -1
  517. package/dist-versioned/components/textarea/textarea.js +2 -2
  518. package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
  519. package/dist-versioned/components/tooltip/tooltip.js +3 -3
  520. package/dist-versioned/components/video/video.d.ts +1 -1
  521. package/dist-versioned/components/video/video.js +2 -2
  522. package/dist-versioned/custom-elements.json +202 -202
  523. package/dist-versioned/internal/form.js +3 -3
  524. package/dist-versioned/solid-components.css +2 -2
  525. package/dist-versioned/solid-components.js +52 -52
  526. package/dist-versioned/utilities/autocomplete-config.js +2 -2
  527. package/dist-versioned/vscode.html-custom-data.json +80 -80
  528. package/dist-versioned/web-types.json +137 -137
  529. package/package.json +18 -15
  530. package/cdn/chunks/chunk.INQ5A3RT.js +0 -1
  531. package/cdn-versioned/chunks/chunk.INQ5A3RT.js +0 -1
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": "4.0.0",
4
+ "version": "4.0.1",
5
5
  "homepage": "https://solid-design-system.fe.union-investment.de/docs/",
6
6
  "author": "Union Investment",
7
7
  "license": "MIT",
@@ -59,14 +59,14 @@
59
59
  "directory": "packages/components"
60
60
  },
61
61
  "dependencies": {
62
- "@floating-ui/dom": "^1.6.12",
62
+ "@floating-ui/dom": "^1.6.13",
63
63
  "@shoelace-style/animations": "^1.2.0",
64
64
  "@shoelace-style/localize": "^3.2.1",
65
65
  "classix": "^2.2.0",
66
66
  "lit": "^3.2.1"
67
67
  },
68
68
  "devDependencies": {
69
- "@custom-elements-manifest/analyzer": "^0.10.3",
69
+ "@custom-elements-manifest/analyzer": "^0.10.4",
70
70
  "@mariohamann/tailwindcss-var": "github:mariohamann/tailwindcss-var",
71
71
  "@open-wc/testing": "^4.0.0",
72
72
  "@open-wc/testing-helpers": "^3.0.1",
@@ -78,30 +78,32 @@
78
78
  "@web/test-runner-commands": "^0.9.0",
79
79
  "@web/test-runner-playwright": "^0.11.0",
80
80
  "autoprefixer": "^10.4.20",
81
- "chalk": "^5.3.0",
81
+ "chalk": "^5.4.1",
82
82
  "change-case": "^5.4.4",
83
+ "chokidar": "^4.0.3",
83
84
  "command-line-args": "^6.0.1",
84
85
  "comment-parser": "^1.4.1",
86
+ "concurrently": "^9.1.2",
85
87
  "cssnano": "^7.0.6",
86
88
  "custom-element-jet-brains-integration": "^1.6.2",
87
89
  "custom-element-vs-code-integration": "^1.4.1",
88
90
  "del": "^8.0.0",
89
- "esbuild": "^0.24.0",
91
+ "esbuild": "^0.24.2",
90
92
  "esbuild-plugin-replace": "^1.4.0",
91
93
  "globby": "^14.0.2",
92
94
  "gzip-size": "^7.0.0",
93
- "jsonata": "^2.0.5",
95
+ "jsonata": "^2.0.6",
94
96
  "minify-html-literals": "^1.3.5",
95
97
  "ora": "^8.1.1",
96
- "playwright": "^1.49.0",
98
+ "playwright": "^1.49.1",
97
99
  "plop": "^4.0.1",
98
- "postcss": "^8.4.49",
100
+ "postcss": "^8.5.1",
99
101
  "postcss-import": "^16.1.0",
100
- "prettier": "^3.4.1",
102
+ "prettier": "^3.4.2",
101
103
  "recursive-copy": "^2.0.14",
102
104
  "sinon": "^19.0.2",
103
- "tailwindcss": "^3.4.15",
104
- "typescript": "5.7.2",
105
+ "tailwindcss": "^3.4.17",
106
+ "typescript": "5.7.3",
105
107
  "user-agent-data-types": "^0.4.2",
106
108
  "@solid-design-system/versioning": "^1.0.0"
107
109
  },
@@ -114,13 +116,14 @@
114
116
  },
115
117
  "scripts": {
116
118
  "build": "node scripts/build.js",
119
+ "watch": "pnpm build --watch",
117
120
  "verify": "pnpm build && echo '✅ Build verified' && pnpm ts.verify && pnpm test.verify && echo '✅ Test verified'",
118
121
  "ts.verify": "tsc --noEmit --project ./tsconfig.json && echo '✅ TypeScript verified'",
119
122
  "plop": "plop --plopfile scripts/plop/plopfile.js",
120
- "test": "pnpm build && web-test-runner --group default",
121
- "test.verify": "web-test-runner --group default",
122
- "test.single": "web-test-runner -- --watch --group",
123
- "test.watch": "web-test-runner --watch --group default",
123
+ "test": "pnpm build --lite && web-test-runner --group default",
124
+ "test.verify": "pnpm build --lite && web-test-runner --group default",
125
+ "test.single": "concurrently -P --raw \"pnpm watch --lite\" \"web-test-runner --watch --group {1}\" --",
126
+ "test.watch": "pnpm test.single default",
124
127
  "postversion": "pnpm build && node scripts/node-write-sizes.mjs"
125
128
  }
126
129
  }
@@ -1 +0,0 @@
1
- import{a as Dt}from"./chunk.DCOFYPWX.js";import{a as Mt,b as E,d as Et,h as Rt}from"./chunk.3BP4JKVA.js";import{b as kt,e as Ot}from"./chunk.IRWHG2Q4.js";import{a as R,b as W,c as dt,e as b}from"./chunk.TJOCV4DC.js";var V=Math.min,C=Math.max,at=Math.round,ft=Math.floor,B=t=>({x:t,y:t}),fe={left:"right",right:"left",bottom:"top",top:"bottom"},ue={start:"end",end:"start"};function pt(t,e,n){return C(t,V(e,n))}function J(t,e){return typeof t=="function"?t(e):t}function I(t){return t.split("-")[0]}function Q(t){return t.split("-")[1]}function Ct(t){return t==="x"?"y":"x"}function gt(t){return t==="y"?"height":"width"}function G(t){return["top","bottom"].includes(I(t))?"y":"x"}function wt(t){return Ct(G(t))}function Bt(t,e,n){n===void 0&&(n=!1);let i=Q(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=ct(r)),[r,ct(r)]}function $t(t){let e=ct(t);return[mt(t),e,mt(e)]}function mt(t){return t.replace(/start|end/g,e=>ue[e])}function he(t,e,n){let i=["left","right"],o=["right","left"],s=["top","bottom"],r=["bottom","top"];switch(t){case"top":case"bottom":return n?e?o:i:e?i:o;case"left":case"right":return e?s:r;default:return[]}}function Ft(t,e,n,i){let o=Q(t),s=he(I(t),n==="start",i);return o&&(s=s.map(r=>r+"-"+o),e&&(s=s.concat(s.map(mt)))),s}function ct(t){return t.replace(/left|right|bottom|top/g,e=>fe[e])}function de(t){return R({top:0,right:0,bottom:0,left:0},t)}function Tt(t){return typeof t!="number"?de(t):{top:t,right:t,bottom:t,left:t}}function Z(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 Nt(t,e,n){let{reference:i,floating:o}=t,s=G(e),r=wt(e),l=gt(r),a=I(e),c=s==="y",f=i.x+i.width/2-o.width/2,u=i.y+i.height/2-o.height/2,m=i[l]/2-o[l]/2,h;switch(a){case"top":h={x:f,y:i.y-o.height};break;case"bottom":h={x:f,y:i.y+i.height};break;case"right":h={x:i.x+i.width,y:u};break;case"left":h={x:i.x-o.width,y:u};break;default:h={x:i.x,y:i.y}}switch(Q(e)){case"start":h[r]-=m*(n&&c?-1:1);break;case"end":h[r]+=m*(n&&c?-1:1);break}return h}var Ht=async(t,e,n)=>{let{placement:i="bottom",strategy:o="absolute",middleware:s=[],platform:r}=n,l=s.filter(Boolean),a=await(r.isRTL==null?void 0:r.isRTL(e)),c=await r.getElementRects({reference:t,floating:e,strategy:o}),{x:f,y:u}=Nt(c,i,a),m=i,h={},d=0;for(let p=0;p<l.length;p++){let{name:w,fn:g}=l[p],{x:y,y:v,data:A,reset:O}=await g({x:f,y:u,initialPlacement:i,placement:m,strategy:o,middlewareData:h,rects:c,platform:r,elements:{reference:t,floating:e}});f=y!=null?y:f,u=v!=null?v:u,h=W(R({},h),{[w]:R(R({},h[w]),A)}),O&&d<=50&&(d++,typeof O=="object"&&(O.placement&&(m=O.placement),O.rects&&(c=O.rects===!0?await r.getElementRects({reference:t,floating:e,strategy:o}):O.rects),{x:f,y:u}=Nt(c,m,a)),p=-1)}return{x:f,y:u,placement:m,strategy:o,middlewareData:h}};async function yt(t,e){var n;e===void 0&&(e={});let{x:i,y:o,platform:s,rects:r,elements:l,strategy:a}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:m=!1,padding:h=0}=J(e,t),d=Tt(h),w=l[m?u==="floating"?"reference":"floating":u],g=Z(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(w)))==null||n?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:c,rootBoundary:f,strategy:a})),y=u==="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)),A=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},O=Z(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:y,offsetParent:v,strategy:a}):y);return{top:(g.top-O.top+d.top)/A.y,bottom:(O.bottom-g.bottom+d.bottom)/A.y,left:(g.left-O.left+d.left)/A.x,right:(O.right-g.right+d.right)/A.x}}var Wt=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:i,placement:o,rects:s,platform:r,elements:l,middlewareData:a}=e,{element:c,padding:f=0}=J(t,e)||{};if(c==null)return{};let u=Tt(f),m={x:n,y:i},h=wt(o),d=gt(h),p=await r.getDimensions(c),w=h==="y",g=w?"top":"left",y=w?"bottom":"right",v=w?"clientHeight":"clientWidth",A=s.reference[d]+s.reference[h]-m[h]-s.floating[d],O=m[h]-s.reference[h],L=await(r.getOffsetParent==null?void 0:r.getOffsetParent(c)),k=L?L[v]:0;(!k||!await(r.isElement==null?void 0:r.isElement(L)))&&(k=l.floating[v]||s.floating[d]);let j=A/2-O/2,N=k/2-p[d]/2-1,M=V(u[g],N),X=V(u[y],N),H=M,q=k-p[d]-X,P=k/2-p[d]/2+j,D=pt(H,P,q),it=!a.arrow&&Q(o)!=null&&P!==D&&s.reference[d]/2-(P<H?M:X)-p[d]/2<0,_=it?P<H?P-H:P-q:0;return{[h]:m[h]+_,data:R({[h]:D,centerOffset:P-D-_},it&&{alignmentOffset:_}),reset:it}}});var Vt=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:a,elements:c}=e,P=J(t,e),{mainAxis:f=!0,crossAxis:u=!0,fallbackPlacements:m,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:d="none",flipAlignment:p=!0}=P,w=dt(P,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((n=s.arrow)!=null&&n.alignmentOffset)return{};let g=I(o),y=G(l),v=I(l)===l,A=await(a.isRTL==null?void 0:a.isRTL(c.floating)),O=m||(v||!p?[ct(l)]:$t(l)),L=d!=="none";!m&&L&&O.push(...Ft(l,p,d,A));let k=[l,...O],j=await yt(e,w),N=[],M=((i=s.flip)==null?void 0:i.overflows)||[];if(f&&N.push(j[g]),u){let D=Bt(o,r,A);N.push(j[D[0]],j[D[1]])}if(M=[...M,{placement:o,overflows:N}],!N.every(D=>D<=0)){var X,H;let D=(((X=s.flip)==null?void 0:X.index)||0)+1,it=k[D];if(it)return{data:{index:D,overflows:M},reset:{placement:it}};let _=(H=M.filter(ot=>ot.overflows[0]<=0).sort((ot,U)=>ot.overflows[1]-U.overflows[1])[0])==null?void 0:H.placement;if(!_)switch(h){case"bestFit":{var q;let ot=(q=M.filter(U=>{if(L){let K=G(U.placement);return K===y||K==="y"}return!0}).map(U=>[U.placement,U.overflows.filter(K=>K>0).reduce((K,ae)=>K+ae,0)]).sort((U,K)=>U[1]-K[1])[0])==null?void 0:q[0];ot&&(_=ot);break}case"initialPlacement":_=l;break}if(o!==_)return{reset:{placement:_}}}return{}}}};async function me(t,e){let{placement:n,platform:i,elements:o}=t,s=await(i.isRTL==null?void 0:i.isRTL(o.floating)),r=I(n),l=Q(n),a=G(n)==="y",c=["left","top"].includes(r)?-1:1,f=s&&a?-1:1,u=J(e,t),{mainAxis:m,crossAxis:h,alignmentAxis:d}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return l&&typeof d=="number"&&(h=l==="end"?d*-1:d),a?{x:h*f,y:m*c}:{x:m*c,y:h*f}}var jt=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,a=await me(e,t);return r===((n=l.offset)==null?void 0:n.placement)&&(i=l.arrow)!=null&&i.alignmentOffset?{}:{x:o+a.x,y:s+a.y,data:W(R({},a),{placement:r})}}}},_t=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:i,placement:o}=e,w=J(t,e),{mainAxis:s=!0,crossAxis:r=!1,limiter:l={fn:g=>{let{x:y,y:v}=g;return{x:y,y:v}}}}=w,a=dt(w,["mainAxis","crossAxis","limiter"]),c={x:n,y:i},f=await yt(e,a),u=G(I(o)),m=Ct(u),h=c[m],d=c[u];if(s){let g=m==="y"?"top":"left",y=m==="y"?"bottom":"right",v=h+f[g],A=h-f[y];h=pt(v,h,A)}if(r){let g=u==="y"?"top":"left",y=u==="y"?"bottom":"right",v=d+f[g],A=d-f[y];d=pt(v,d,A)}let p=l.fn(W(R({},e),{[m]:h,[u]:d}));return W(R({},p),{data:{x:p.x-n,y:p.y-i,enabled:{[m]:s,[u]:r}}})}}};var It=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,M=J(t,e),{apply:a=()=>{}}=M,c=dt(M,["apply"]),f=await yt(e,c),u=I(o),m=Q(o),h=G(o)==="y",{width:d,height:p}=s.floating,w,g;u==="top"||u==="bottom"?(w=u,g=m===(await(r.isRTL==null?void 0:r.isRTL(l.floating))?"start":"end")?"left":"right"):(g=u,w=m==="end"?"top":"bottom");let y=p-f.top-f.bottom,v=d-f.left-f.right,A=V(p-f[w],y),O=V(d-f[g],v),L=!e.middlewareData.shift,k=A,j=O;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(j=v),(i=e.middlewareData.shift)!=null&&i.enabled.y&&(k=y),L&&!m){let X=C(f.left,0),H=C(f.right,0),q=C(f.top,0),P=C(f.bottom,0);h?j=d-2*(X!==0||H!==0?X+H:C(f.left,f.right)):k=p-2*(q!==0||P!==0?q+P:C(f.top,f.bottom))}await a(W(R({},e),{availableWidth:j,availableHeight:k}));let N=await r.getDimensions(l.floating);return d!==N.width||p!==N.height?{reset:{rects:!0}}:{}}}};function xt(){return typeof window!="undefined"}function tt(t){return Xt(t)?(t.nodeName||"").toLowerCase():"#document"}function T(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function $(t){var e;return(e=(Xt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Xt(t){return xt()?t instanceof Node||t instanceof T(t).Node:!1}function z(t){return xt()?t instanceof Element||t instanceof T(t).Element:!1}function F(t){return xt()?t instanceof HTMLElement||t instanceof T(t).HTMLElement:!1}function Yt(t){return!xt()||typeof ShadowRoot=="undefined"?!1:t instanceof ShadowRoot||t instanceof T(t).ShadowRoot}function st(t){let{overflow:e,overflowX:n,overflowY:i,display:o}=S(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&!["inline","contents"].includes(o)}function qt(t){return["table","td","th"].includes(tt(t))}function ut(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch(n){return!1}})}function vt(t){let e=bt(),n=z(t)?S(t):t;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(n.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(n.contain||"").includes(i))}function Ut(t){let e=Y(t);for(;F(e)&&!et(e);){if(vt(e))return e;if(ut(e))return null;e=Y(e)}return null}function bt(){return typeof CSS=="undefined"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function et(t){return["html","body","#document"].includes(tt(t))}function S(t){return T(t).getComputedStyle(t)}function ht(t){return z(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Y(t){if(tt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Yt(t)&&t.host||$(t);return Yt(e)?e.host:e}function Kt(t){let e=Y(t);return et(e)?t.ownerDocument?t.ownerDocument.body:t.body:F(e)&&st(e)?e:Kt(e)}function rt(t,e,n){var i;e===void 0&&(e=[]),n===void 0&&(n=!0);let o=Kt(t),s=o===((i=t.ownerDocument)==null?void 0:i.body),r=T(o);if(s){let l=At(r);return e.concat(r,r.visualViewport||[],st(o)?o:[],l&&n?rt(l):[])}return e.concat(o,rt(o,[],n))}function At(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Qt(t){let e=S(t),n=parseFloat(e.width)||0,i=parseFloat(e.height)||0,o=F(t),s=o?t.offsetWidth:n,r=o?t.offsetHeight:i,l=at(n)!==s||at(i)!==r;return l&&(n=s,i=r),{width:n,height:i,$:l}}function Lt(t){return z(t)?t:t.contextElement}function lt(t){let e=Lt(t);if(!F(e))return B(1);let n=e.getBoundingClientRect(),{width:i,height:o,$:s}=Qt(e),r=(s?at(n.width):n.width)/i,l=(s?at(n.height):n.height)/o;return(!r||!Number.isFinite(r))&&(r=1),(!l||!Number.isFinite(l))&&(l=1),{x:r,y:l}}var pe=B(0);function Zt(t){let e=T(t);return!bt()||!e.visualViewport?pe:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function ge(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==T(t)?!1:e}function nt(t,e,n,i){e===void 0&&(e=!1),n===void 0&&(n=!1);let o=t.getBoundingClientRect(),s=Lt(t),r=B(1);e&&(i?z(i)&&(r=lt(i)):r=lt(t));let l=ge(s,n,i)?Zt(s):B(0),a=(o.left+l.x)/r.x,c=(o.top+l.y)/r.y,f=o.width/r.x,u=o.height/r.y;if(s){let m=T(s),h=i&&z(i)?T(i):i,d=m,p=At(d);for(;p&&i&&h!==d;){let w=lt(p),g=p.getBoundingClientRect(),y=S(p),v=g.left+(p.clientLeft+parseFloat(y.paddingLeft))*w.x,A=g.top+(p.clientTop+parseFloat(y.paddingTop))*w.y;a*=w.x,c*=w.y,f*=w.x,u*=w.y,a+=v,c+=A,d=T(p),p=At(d)}}return Z({width:f,height:u,x:a,y:c})}function zt(t,e){let n=ht(t).scrollLeft;return e?e.left+n:nt($(t)).left+n}function te(t,e,n){n===void 0&&(n=!1);let i=t.getBoundingClientRect(),o=i.left+e.scrollLeft-(n?0:zt(t,i)),s=i.top+e.scrollTop;return{x:o,y:s}}function we(t){let{elements:e,rect:n,offsetParent:i,strategy:o}=t,s=o==="fixed",r=$(i),l=e?ut(e.floating):!1;if(i===r||l&&s)return n;let a={scrollLeft:0,scrollTop:0},c=B(1),f=B(0),u=F(i);if((u||!u&&!s)&&((tt(i)!=="body"||st(r))&&(a=ht(i)),F(i))){let h=nt(i);c=lt(i),f.x=h.x+i.clientLeft,f.y=h.y+i.clientTop}let m=r&&!u&&!s?te(r,a,!0):B(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-a.scrollLeft*c.x+f.x+m.x,y:n.y*c.y-a.scrollTop*c.y+f.y+m.y}}function ye(t){return Array.from(t.getClientRects())}function xe(t){let e=$(t),n=ht(t),i=t.ownerDocument.body,o=C(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),s=C(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),r=-n.scrollLeft+zt(t),l=-n.scrollTop;return S(i).direction==="rtl"&&(r+=C(e.clientWidth,i.clientWidth)-o),{width:o,height:s,x:r,y:l}}function ve(t,e){let n=T(t),i=$(t),o=n.visualViewport,s=i.clientWidth,r=i.clientHeight,l=0,a=0;if(o){s=o.width,r=o.height;let c=bt();(!c||c&&e==="fixed")&&(l=o.offsetLeft,a=o.offsetTop)}return{width:s,height:r,x:l,y:a}}function be(t,e){let n=nt(t,!0,e==="fixed"),i=n.top+t.clientTop,o=n.left+t.clientLeft,s=F(t)?lt(t):B(1),r=t.clientWidth*s.x,l=t.clientHeight*s.y,a=o*s.x,c=i*s.y;return{width:r,height:l,x:a,y:c}}function Gt(t,e,n){let i;if(e==="viewport")i=ve(t,n);else if(e==="document")i=xe($(t));else if(z(e))i=be(e,n);else{let o=Zt(t);i={x:e.x-o.x,y:e.y-o.y,width:e.width,height:e.height}}return Z(i)}function ee(t,e){let n=Y(t);return n===e||!z(n)||et(n)?!1:S(n).position==="fixed"||ee(n,e)}function Ae(t,e){let n=e.get(t);if(n)return n;let i=rt(t,[],!1).filter(l=>z(l)&&tt(l)!=="body"),o=null,s=S(t).position==="fixed",r=s?Y(t):t;for(;z(r)&&!et(r);){let l=S(r),a=vt(r);!a&&l.position==="fixed"&&(o=null),(s?!a&&!o:!a&&l.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||st(r)&&!a&&ee(t,r))?i=i.filter(f=>f!==r):o=l,r=Y(r)}return e.set(t,i),i}function Oe(t){let{element:e,boundary:n,rootBoundary:i,strategy:o}=t,r=[...n==="clippingAncestors"?ut(e)?[]:Ae(e,this._c):[].concat(n),i],l=r[0],a=r.reduce((c,f)=>{let u=Gt(e,f,o);return c.top=C(u.top,c.top),c.right=V(u.right,c.right),c.bottom=V(u.bottom,c.bottom),c.left=C(u.left,c.left),c},Gt(e,l,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function Ee(t){let{width:e,height:n}=Qt(t);return{width:e,height:n}}function Re(t,e,n){let i=F(e),o=$(e),s=n==="fixed",r=nt(t,!0,s,e),l={scrollLeft:0,scrollTop:0},a=B(0);if(i||!i&&!s)if((tt(e)!=="body"||st(o))&&(l=ht(e)),i){let m=nt(e,!0,s,e);a.x=m.x+e.clientLeft,a.y=m.y+e.clientTop}else o&&(a.x=zt(o));let c=o&&!i&&!s?te(o,l):B(0),f=r.left+l.scrollLeft-a.x-c.x,u=r.top+l.scrollTop-a.y-c.y;return{x:f,y:u,width:r.width,height:r.height}}function Pt(t){return S(t).position==="static"}function Jt(t,e){if(!F(t)||S(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return $(t)===n&&(n=n.ownerDocument.body),n}function ne(t,e){let n=T(t);if(ut(t))return n;if(!F(t)){let o=Y(t);for(;o&&!et(o);){if(z(o)&&!Pt(o))return o;o=Y(o)}return n}let i=Jt(t,e);for(;i&&qt(i)&&Pt(i);)i=Jt(i,e);return i&&et(i)&&Pt(i)&&!vt(i)?n:i||Ut(t)||n}var Ce=async function(t){let e=this.getOffsetParent||ne,n=this.getDimensions,i=await n(t.floating);return{reference:Re(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function Te(t){return S(t).direction==="rtl"}var Pe={convertOffsetParentRelativeRectToViewportRelativeRect:we,getDocumentElement:$,getClippingRect:Oe,getOffsetParent:ne,getElementRects:Ce,getClientRects:ye,getDimensions:Ee,getScale:lt,isElement:z,isRTL:Te};function Le(t,e){let n=null,i,o=$(t);function s(){var l;clearTimeout(i),(l=n)==null||l.disconnect(),n=null}function r(l,a){l===void 0&&(l=!1),a===void 0&&(a=1),s();let{left:c,top:f,width:u,height:m}=t.getBoundingClientRect();if(l||e(),!u||!m)return;let h=ft(f),d=ft(o.clientWidth-(c+u)),p=ft(o.clientHeight-(f+m)),w=ft(c),y={rootMargin:-h+"px "+-d+"px "+-p+"px "+-w+"px",threshold:C(0,V(1,a))||1},v=!0;function A(O){let L=O[0].intersectionRatio;if(L!==a){if(!v)return r();L?r(!1,L):i=setTimeout(()=>{r(!1,1e-7)},1e3)}v=!1}try{n=new IntersectionObserver(A,W(R({},y),{root:o.ownerDocument}))}catch(O){n=new IntersectionObserver(A,y)}n.observe(t)}return r(!0),s}function ie(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:a=!1}=i,c=Lt(t),f=o||s?[...c?rt(c):[],...rt(e)]:[];f.forEach(g=>{o&&g.addEventListener("scroll",n,{passive:!0}),s&&g.addEventListener("resize",n)});let u=c&&l?Le(c,n):null,m=-1,h=null;r&&(h=new ResizeObserver(g=>{let[y]=g;y&&y.target===c&&h&&(h.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var v;(v=h)==null||v.observe(e)})),n()}),c&&!a&&h.observe(c),h.observe(e));let d,p=a?nt(t):null;a&&w();function w(){let g=nt(t);p&&(g.x!==p.x||g.y!==p.y||g.width!==p.width||g.height!==p.height)&&n(),p=g,d=requestAnimationFrame(w)}return n(),()=>{var g;f.forEach(y=>{o&&y.removeEventListener("scroll",n),s&&y.removeEventListener("resize",n)}),u==null||u(),(g=h)==null||g.disconnect(),h=null,a&&cancelAnimationFrame(d)}}var oe=jt;var re=_t,se=Vt,St=It;var le=Wt;var ce=(t,e,n)=>{let i=new Map,o=R({platform:Pe},n),s=W(R({},o.platform),{_c:i});return Ht(t,e,W(R({},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=ie(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=[oe({mainAxis:this.distance,crossAxis:this.skidding})];this.sync?n.push(St({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(se({boundary:this.flipBoundary,fallbackPlacements:this.flipFallbackPlacements,fallbackStrategy:this.flipFallbackStrategy==="best-fit"?"bestFit":"initialPlacement",padding:this.flipPadding})),this.shift&&n.push(re({boundary:this.shiftBoundary,padding:this.shiftPadding})),this.autoSize?n.push(St({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(le({element:this.arrowEl,padding:this.arrowPadding})),ce(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",a={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 c=s.arrow.x,f=s.arrow.y,u="",m="",h="",d="";if(this.arrowPlacement==="start"){let p=typeof c=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";u=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 c=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";m=l?"":p,d=l?p:"",h=typeof f=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:""}else this.arrowPlacement==="center"?(d=typeof c=="number"?"calc(50% - var(--arrow-size-diagonal))":"",u=typeof f=="number"?"calc(50% - var(--arrow-size-diagonal))":""):(d=typeof c=="number"?`${c}px`:"",u=typeof f=="number"?`${f}px`:"");Object.assign(this.arrowEl.style,{top:u,right:m,bottom:h,left:d,[a]:"calc(var(--arrow-size-diagonal) * -1)"})}}),this.emit("sd-reposition")}render(){return Ot`<slot name="anchor" @slotchange="${this.handleAnchorChange}"></slot><div part="popup" class="${Dt("isolate",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,kt`: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-height:var(--auto-size-available-height,none);max-width:var(--auto-size-available-width,none)}[part=arrow]{background:var(--arrow-color);height:calc(var(--arrow-size-diagonal)*2);width:calc(var(--arrow-size-diagonal)*2)}`],b([Et('[part="popup"]')],x.prototype,"popup",2),b([Et('[part="arrow"]')],x.prototype,"arrowEl",2),b([E()],x.prototype,"anchor",2),b([E({type:Boolean,reflect:!0})],x.prototype,"active",2),b([E({reflect:!0})],x.prototype,"placement",2),b([E({reflect:!0})],x.prototype,"strategy",2),b([E({type:Number})],x.prototype,"distance",2),b([E({type:Number})],x.prototype,"skidding",2),b([E({type:Boolean})],x.prototype,"arrow",2),b([E({attribute:"arrow-placement"})],x.prototype,"arrowPlacement",2),b([E({attribute:"arrow-padding",type:Number})],x.prototype,"arrowPadding",2),b([E({type:Boolean})],x.prototype,"flip",2),b([E({attribute:"flip-fallback-placements",converter:{fromAttribute:n=>n.split(" ").map(i=>i.trim()).filter(i=>i!==""),toAttribute:n=>n.join(" ")}})],x.prototype,"flipFallbackPlacements",2),b([E({attribute:"flip-fallback-strategy"})],x.prototype,"flipFallbackStrategy",2),b([E({type:Object})],x.prototype,"flipBoundary",2),b([E({attribute:"flip-padding",type:Number})],x.prototype,"flipPadding",2),b([E({type:Boolean})],x.prototype,"shift",2),b([E({type:Object})],x.prototype,"shiftBoundary",2),b([E({attribute:"shift-padding",type:Number})],x.prototype,"shiftPadding",2),b([E({attribute:"auto-size"})],x.prototype,"autoSize",2),b([E()],x.prototype,"sync",2),b([E({type:Object})],x.prototype,"autoSizeBoundary",2),b([E({attribute:"auto-size-padding",type:Number})],x.prototype,"autoSizePadding",2),x=b([Mt("sd-popup")],x);export{x as a};
@@ -1 +0,0 @@
1
- import{a as Dt}from"./chunk.DCOFYPWX.js";import{a as Mt,b as E,d as Et,h as Rt}from"./chunk.3BP4JKVA.js";import{b as kt,e as Ot}from"./chunk.IRWHG2Q4.js";import{a as R,b as W,c as dt,e as b}from"./chunk.TJOCV4DC.js";var V=Math.min,C=Math.max,at=Math.round,ft=Math.floor,B=t=>({x:t,y:t}),fe={left:"right",right:"left",bottom:"top",top:"bottom"},ue={start:"end",end:"start"};function pt(t,e,n){return C(t,V(e,n))}function J(t,e){return typeof t=="function"?t(e):t}function I(t){return t.split("-")[0]}function Q(t){return t.split("-")[1]}function Ct(t){return t==="x"?"y":"x"}function gt(t){return t==="y"?"height":"width"}function G(t){return["top","bottom"].includes(I(t))?"y":"x"}function wt(t){return Ct(G(t))}function Bt(t,e,n){n===void 0&&(n=!1);let i=Q(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=ct(r)),[r,ct(r)]}function $t(t){let e=ct(t);return[mt(t),e,mt(e)]}function mt(t){return t.replace(/start|end/g,e=>ue[e])}function he(t,e,n){let i=["left","right"],o=["right","left"],s=["top","bottom"],r=["bottom","top"];switch(t){case"top":case"bottom":return n?e?o:i:e?i:o;case"left":case"right":return e?s:r;default:return[]}}function Ft(t,e,n,i){let o=Q(t),s=he(I(t),n==="start",i);return o&&(s=s.map(r=>r+"-"+o),e&&(s=s.concat(s.map(mt)))),s}function ct(t){return t.replace(/left|right|bottom|top/g,e=>fe[e])}function de(t){return R({top:0,right:0,bottom:0,left:0},t)}function Tt(t){return typeof t!="number"?de(t):{top:t,right:t,bottom:t,left:t}}function Z(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 Nt(t,e,n){let{reference:i,floating:o}=t,s=G(e),r=wt(e),l=gt(r),a=I(e),c=s==="y",f=i.x+i.width/2-o.width/2,u=i.y+i.height/2-o.height/2,m=i[l]/2-o[l]/2,h;switch(a){case"top":h={x:f,y:i.y-o.height};break;case"bottom":h={x:f,y:i.y+i.height};break;case"right":h={x:i.x+i.width,y:u};break;case"left":h={x:i.x-o.width,y:u};break;default:h={x:i.x,y:i.y}}switch(Q(e)){case"start":h[r]-=m*(n&&c?-1:1);break;case"end":h[r]+=m*(n&&c?-1:1);break}return h}var Ht=async(t,e,n)=>{let{placement:i="bottom",strategy:o="absolute",middleware:s=[],platform:r}=n,l=s.filter(Boolean),a=await(r.isRTL==null?void 0:r.isRTL(e)),c=await r.getElementRects({reference:t,floating:e,strategy:o}),{x:f,y:u}=Nt(c,i,a),m=i,h={},d=0;for(let p=0;p<l.length;p++){let{name:w,fn:g}=l[p],{x:y,y:v,data:A,reset:O}=await g({x:f,y:u,initialPlacement:i,placement:m,strategy:o,middlewareData:h,rects:c,platform:r,elements:{reference:t,floating:e}});f=y!=null?y:f,u=v!=null?v:u,h=W(R({},h),{[w]:R(R({},h[w]),A)}),O&&d<=50&&(d++,typeof O=="object"&&(O.placement&&(m=O.placement),O.rects&&(c=O.rects===!0?await r.getElementRects({reference:t,floating:e,strategy:o}):O.rects),{x:f,y:u}=Nt(c,m,a)),p=-1)}return{x:f,y:u,placement:m,strategy:o,middlewareData:h}};async function yt(t,e){var n;e===void 0&&(e={});let{x:i,y:o,platform:s,rects:r,elements:l,strategy:a}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:m=!1,padding:h=0}=J(e,t),d=Tt(h),w=l[m?u==="floating"?"reference":"floating":u],g=Z(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(w)))==null||n?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:c,rootBoundary:f,strategy:a})),y=u==="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)),A=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},O=Z(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:y,offsetParent:v,strategy:a}):y);return{top:(g.top-O.top+d.top)/A.y,bottom:(O.bottom-g.bottom+d.bottom)/A.y,left:(g.left-O.left+d.left)/A.x,right:(O.right-g.right+d.right)/A.x}}var Wt=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:i,placement:o,rects:s,platform:r,elements:l,middlewareData:a}=e,{element:c,padding:f=0}=J(t,e)||{};if(c==null)return{};let u=Tt(f),m={x:n,y:i},h=wt(o),d=gt(h),p=await r.getDimensions(c),w=h==="y",g=w?"top":"left",y=w?"bottom":"right",v=w?"clientHeight":"clientWidth",A=s.reference[d]+s.reference[h]-m[h]-s.floating[d],O=m[h]-s.reference[h],L=await(r.getOffsetParent==null?void 0:r.getOffsetParent(c)),k=L?L[v]:0;(!k||!await(r.isElement==null?void 0:r.isElement(L)))&&(k=l.floating[v]||s.floating[d]);let j=A/2-O/2,N=k/2-p[d]/2-1,M=V(u[g],N),X=V(u[y],N),H=M,q=k-p[d]-X,P=k/2-p[d]/2+j,D=pt(H,P,q),it=!a.arrow&&Q(o)!=null&&P!==D&&s.reference[d]/2-(P<H?M:X)-p[d]/2<0,_=it?P<H?P-H:P-q:0;return{[h]:m[h]+_,data:R({[h]:D,centerOffset:P-D-_},it&&{alignmentOffset:_}),reset:it}}});var Vt=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:a,elements:c}=e,P=J(t,e),{mainAxis:f=!0,crossAxis:u=!0,fallbackPlacements:m,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:d="none",flipAlignment:p=!0}=P,w=dt(P,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((n=s.arrow)!=null&&n.alignmentOffset)return{};let g=I(o),y=G(l),v=I(l)===l,A=await(a.isRTL==null?void 0:a.isRTL(c.floating)),O=m||(v||!p?[ct(l)]:$t(l)),L=d!=="none";!m&&L&&O.push(...Ft(l,p,d,A));let k=[l,...O],j=await yt(e,w),N=[],M=((i=s.flip)==null?void 0:i.overflows)||[];if(f&&N.push(j[g]),u){let D=Bt(o,r,A);N.push(j[D[0]],j[D[1]])}if(M=[...M,{placement:o,overflows:N}],!N.every(D=>D<=0)){var X,H;let D=(((X=s.flip)==null?void 0:X.index)||0)+1,it=k[D];if(it)return{data:{index:D,overflows:M},reset:{placement:it}};let _=(H=M.filter(ot=>ot.overflows[0]<=0).sort((ot,U)=>ot.overflows[1]-U.overflows[1])[0])==null?void 0:H.placement;if(!_)switch(h){case"bestFit":{var q;let ot=(q=M.filter(U=>{if(L){let K=G(U.placement);return K===y||K==="y"}return!0}).map(U=>[U.placement,U.overflows.filter(K=>K>0).reduce((K,ae)=>K+ae,0)]).sort((U,K)=>U[1]-K[1])[0])==null?void 0:q[0];ot&&(_=ot);break}case"initialPlacement":_=l;break}if(o!==_)return{reset:{placement:_}}}return{}}}};async function me(t,e){let{placement:n,platform:i,elements:o}=t,s=await(i.isRTL==null?void 0:i.isRTL(o.floating)),r=I(n),l=Q(n),a=G(n)==="y",c=["left","top"].includes(r)?-1:1,f=s&&a?-1:1,u=J(e,t),{mainAxis:m,crossAxis:h,alignmentAxis:d}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return l&&typeof d=="number"&&(h=l==="end"?d*-1:d),a?{x:h*f,y:m*c}:{x:m*c,y:h*f}}var jt=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,a=await me(e,t);return r===((n=l.offset)==null?void 0:n.placement)&&(i=l.arrow)!=null&&i.alignmentOffset?{}:{x:o+a.x,y:s+a.y,data:W(R({},a),{placement:r})}}}},_t=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:i,placement:o}=e,w=J(t,e),{mainAxis:s=!0,crossAxis:r=!1,limiter:l={fn:g=>{let{x:y,y:v}=g;return{x:y,y:v}}}}=w,a=dt(w,["mainAxis","crossAxis","limiter"]),c={x:n,y:i},f=await yt(e,a),u=G(I(o)),m=Ct(u),h=c[m],d=c[u];if(s){let g=m==="y"?"top":"left",y=m==="y"?"bottom":"right",v=h+f[g],A=h-f[y];h=pt(v,h,A)}if(r){let g=u==="y"?"top":"left",y=u==="y"?"bottom":"right",v=d+f[g],A=d-f[y];d=pt(v,d,A)}let p=l.fn(W(R({},e),{[m]:h,[u]:d}));return W(R({},p),{data:{x:p.x-n,y:p.y-i,enabled:{[m]:s,[u]:r}}})}}};var It=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,M=J(t,e),{apply:a=()=>{}}=M,c=dt(M,["apply"]),f=await yt(e,c),u=I(o),m=Q(o),h=G(o)==="y",{width:d,height:p}=s.floating,w,g;u==="top"||u==="bottom"?(w=u,g=m===(await(r.isRTL==null?void 0:r.isRTL(l.floating))?"start":"end")?"left":"right"):(g=u,w=m==="end"?"top":"bottom");let y=p-f.top-f.bottom,v=d-f.left-f.right,A=V(p-f[w],y),O=V(d-f[g],v),L=!e.middlewareData.shift,k=A,j=O;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(j=v),(i=e.middlewareData.shift)!=null&&i.enabled.y&&(k=y),L&&!m){let X=C(f.left,0),H=C(f.right,0),q=C(f.top,0),P=C(f.bottom,0);h?j=d-2*(X!==0||H!==0?X+H:C(f.left,f.right)):k=p-2*(q!==0||P!==0?q+P:C(f.top,f.bottom))}await a(W(R({},e),{availableWidth:j,availableHeight:k}));let N=await r.getDimensions(l.floating);return d!==N.width||p!==N.height?{reset:{rects:!0}}:{}}}};function xt(){return typeof window!="undefined"}function tt(t){return Xt(t)?(t.nodeName||"").toLowerCase():"#document"}function T(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function $(t){var e;return(e=(Xt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Xt(t){return xt()?t instanceof Node||t instanceof T(t).Node:!1}function z(t){return xt()?t instanceof Element||t instanceof T(t).Element:!1}function F(t){return xt()?t instanceof HTMLElement||t instanceof T(t).HTMLElement:!1}function Yt(t){return!xt()||typeof ShadowRoot=="undefined"?!1:t instanceof ShadowRoot||t instanceof T(t).ShadowRoot}function st(t){let{overflow:e,overflowX:n,overflowY:i,display:o}=S(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&!["inline","contents"].includes(o)}function qt(t){return["table","td","th"].includes(tt(t))}function ut(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch(n){return!1}})}function vt(t){let e=bt(),n=z(t)?S(t):t;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(n.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(n.contain||"").includes(i))}function Ut(t){let e=Y(t);for(;F(e)&&!et(e);){if(vt(e))return e;if(ut(e))return null;e=Y(e)}return null}function bt(){return typeof CSS=="undefined"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function et(t){return["html","body","#document"].includes(tt(t))}function S(t){return T(t).getComputedStyle(t)}function ht(t){return z(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Y(t){if(tt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Yt(t)&&t.host||$(t);return Yt(e)?e.host:e}function Kt(t){let e=Y(t);return et(e)?t.ownerDocument?t.ownerDocument.body:t.body:F(e)&&st(e)?e:Kt(e)}function rt(t,e,n){var i;e===void 0&&(e=[]),n===void 0&&(n=!0);let o=Kt(t),s=o===((i=t.ownerDocument)==null?void 0:i.body),r=T(o);if(s){let l=At(r);return e.concat(r,r.visualViewport||[],st(o)?o:[],l&&n?rt(l):[])}return e.concat(o,rt(o,[],n))}function At(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Qt(t){let e=S(t),n=parseFloat(e.width)||0,i=parseFloat(e.height)||0,o=F(t),s=o?t.offsetWidth:n,r=o?t.offsetHeight:i,l=at(n)!==s||at(i)!==r;return l&&(n=s,i=r),{width:n,height:i,$:l}}function Lt(t){return z(t)?t:t.contextElement}function lt(t){let e=Lt(t);if(!F(e))return B(1);let n=e.getBoundingClientRect(),{width:i,height:o,$:s}=Qt(e),r=(s?at(n.width):n.width)/i,l=(s?at(n.height):n.height)/o;return(!r||!Number.isFinite(r))&&(r=1),(!l||!Number.isFinite(l))&&(l=1),{x:r,y:l}}var pe=B(0);function Zt(t){let e=T(t);return!bt()||!e.visualViewport?pe:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function ge(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==T(t)?!1:e}function nt(t,e,n,i){e===void 0&&(e=!1),n===void 0&&(n=!1);let o=t.getBoundingClientRect(),s=Lt(t),r=B(1);e&&(i?z(i)&&(r=lt(i)):r=lt(t));let l=ge(s,n,i)?Zt(s):B(0),a=(o.left+l.x)/r.x,c=(o.top+l.y)/r.y,f=o.width/r.x,u=o.height/r.y;if(s){let m=T(s),h=i&&z(i)?T(i):i,d=m,p=At(d);for(;p&&i&&h!==d;){let w=lt(p),g=p.getBoundingClientRect(),y=S(p),v=g.left+(p.clientLeft+parseFloat(y.paddingLeft))*w.x,A=g.top+(p.clientTop+parseFloat(y.paddingTop))*w.y;a*=w.x,c*=w.y,f*=w.x,u*=w.y,a+=v,c+=A,d=T(p),p=At(d)}}return Z({width:f,height:u,x:a,y:c})}function zt(t,e){let n=ht(t).scrollLeft;return e?e.left+n:nt($(t)).left+n}function te(t,e,n){n===void 0&&(n=!1);let i=t.getBoundingClientRect(),o=i.left+e.scrollLeft-(n?0:zt(t,i)),s=i.top+e.scrollTop;return{x:o,y:s}}function we(t){let{elements:e,rect:n,offsetParent:i,strategy:o}=t,s=o==="fixed",r=$(i),l=e?ut(e.floating):!1;if(i===r||l&&s)return n;let a={scrollLeft:0,scrollTop:0},c=B(1),f=B(0),u=F(i);if((u||!u&&!s)&&((tt(i)!=="body"||st(r))&&(a=ht(i)),F(i))){let h=nt(i);c=lt(i),f.x=h.x+i.clientLeft,f.y=h.y+i.clientTop}let m=r&&!u&&!s?te(r,a,!0):B(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-a.scrollLeft*c.x+f.x+m.x,y:n.y*c.y-a.scrollTop*c.y+f.y+m.y}}function ye(t){return Array.from(t.getClientRects())}function xe(t){let e=$(t),n=ht(t),i=t.ownerDocument.body,o=C(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),s=C(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),r=-n.scrollLeft+zt(t),l=-n.scrollTop;return S(i).direction==="rtl"&&(r+=C(e.clientWidth,i.clientWidth)-o),{width:o,height:s,x:r,y:l}}function ve(t,e){let n=T(t),i=$(t),o=n.visualViewport,s=i.clientWidth,r=i.clientHeight,l=0,a=0;if(o){s=o.width,r=o.height;let c=bt();(!c||c&&e==="fixed")&&(l=o.offsetLeft,a=o.offsetTop)}return{width:s,height:r,x:l,y:a}}function be(t,e){let n=nt(t,!0,e==="fixed"),i=n.top+t.clientTop,o=n.left+t.clientLeft,s=F(t)?lt(t):B(1),r=t.clientWidth*s.x,l=t.clientHeight*s.y,a=o*s.x,c=i*s.y;return{width:r,height:l,x:a,y:c}}function Gt(t,e,n){let i;if(e==="viewport")i=ve(t,n);else if(e==="document")i=xe($(t));else if(z(e))i=be(e,n);else{let o=Zt(t);i={x:e.x-o.x,y:e.y-o.y,width:e.width,height:e.height}}return Z(i)}function ee(t,e){let n=Y(t);return n===e||!z(n)||et(n)?!1:S(n).position==="fixed"||ee(n,e)}function Ae(t,e){let n=e.get(t);if(n)return n;let i=rt(t,[],!1).filter(l=>z(l)&&tt(l)!=="body"),o=null,s=S(t).position==="fixed",r=s?Y(t):t;for(;z(r)&&!et(r);){let l=S(r),a=vt(r);!a&&l.position==="fixed"&&(o=null),(s?!a&&!o:!a&&l.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||st(r)&&!a&&ee(t,r))?i=i.filter(f=>f!==r):o=l,r=Y(r)}return e.set(t,i),i}function Oe(t){let{element:e,boundary:n,rootBoundary:i,strategy:o}=t,r=[...n==="clippingAncestors"?ut(e)?[]:Ae(e,this._c):[].concat(n),i],l=r[0],a=r.reduce((c,f)=>{let u=Gt(e,f,o);return c.top=C(u.top,c.top),c.right=V(u.right,c.right),c.bottom=V(u.bottom,c.bottom),c.left=C(u.left,c.left),c},Gt(e,l,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function Ee(t){let{width:e,height:n}=Qt(t);return{width:e,height:n}}function Re(t,e,n){let i=F(e),o=$(e),s=n==="fixed",r=nt(t,!0,s,e),l={scrollLeft:0,scrollTop:0},a=B(0);if(i||!i&&!s)if((tt(e)!=="body"||st(o))&&(l=ht(e)),i){let m=nt(e,!0,s,e);a.x=m.x+e.clientLeft,a.y=m.y+e.clientTop}else o&&(a.x=zt(o));let c=o&&!i&&!s?te(o,l):B(0),f=r.left+l.scrollLeft-a.x-c.x,u=r.top+l.scrollTop-a.y-c.y;return{x:f,y:u,width:r.width,height:r.height}}function Pt(t){return S(t).position==="static"}function Jt(t,e){if(!F(t)||S(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return $(t)===n&&(n=n.ownerDocument.body),n}function ne(t,e){let n=T(t);if(ut(t))return n;if(!F(t)){let o=Y(t);for(;o&&!et(o);){if(z(o)&&!Pt(o))return o;o=Y(o)}return n}let i=Jt(t,e);for(;i&&qt(i)&&Pt(i);)i=Jt(i,e);return i&&et(i)&&Pt(i)&&!vt(i)?n:i||Ut(t)||n}var Ce=async function(t){let e=this.getOffsetParent||ne,n=this.getDimensions,i=await n(t.floating);return{reference:Re(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function Te(t){return S(t).direction==="rtl"}var Pe={convertOffsetParentRelativeRectToViewportRelativeRect:we,getDocumentElement:$,getClippingRect:Oe,getOffsetParent:ne,getElementRects:Ce,getClientRects:ye,getDimensions:Ee,getScale:lt,isElement:z,isRTL:Te};function Le(t,e){let n=null,i,o=$(t);function s(){var l;clearTimeout(i),(l=n)==null||l.disconnect(),n=null}function r(l,a){l===void 0&&(l=!1),a===void 0&&(a=1),s();let{left:c,top:f,width:u,height:m}=t.getBoundingClientRect();if(l||e(),!u||!m)return;let h=ft(f),d=ft(o.clientWidth-(c+u)),p=ft(o.clientHeight-(f+m)),w=ft(c),y={rootMargin:-h+"px "+-d+"px "+-p+"px "+-w+"px",threshold:C(0,V(1,a))||1},v=!0;function A(O){let L=O[0].intersectionRatio;if(L!==a){if(!v)return r();L?r(!1,L):i=setTimeout(()=>{r(!1,1e-7)},1e3)}v=!1}try{n=new IntersectionObserver(A,W(R({},y),{root:o.ownerDocument}))}catch(O){n=new IntersectionObserver(A,y)}n.observe(t)}return r(!0),s}function ie(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:a=!1}=i,c=Lt(t),f=o||s?[...c?rt(c):[],...rt(e)]:[];f.forEach(g=>{o&&g.addEventListener("scroll",n,{passive:!0}),s&&g.addEventListener("resize",n)});let u=c&&l?Le(c,n):null,m=-1,h=null;r&&(h=new ResizeObserver(g=>{let[y]=g;y&&y.target===c&&h&&(h.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var v;(v=h)==null||v.observe(e)})),n()}),c&&!a&&h.observe(c),h.observe(e));let d,p=a?nt(t):null;a&&w();function w(){let g=nt(t);p&&(g.x!==p.x||g.y!==p.y||g.width!==p.width||g.height!==p.height)&&n(),p=g,d=requestAnimationFrame(w)}return n(),()=>{var g;f.forEach(y=>{o&&y.removeEventListener("scroll",n),s&&y.removeEventListener("resize",n)}),u==null||u(),(g=h)==null||g.disconnect(),h=null,a&&cancelAnimationFrame(d)}}var oe=jt;var re=_t,se=Vt,St=It;var le=Wt;var ce=(t,e,n)=>{let i=new Map,o=R({platform:Pe},n),s=W(R({},o.platform),{_c:i});return Ht(t,e,W(R({},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=ie(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=[oe({mainAxis:this.distance,crossAxis:this.skidding})];this.sync?n.push(St({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(se({boundary:this.flipBoundary,fallbackPlacements:this.flipFallbackPlacements,fallbackStrategy:this.flipFallbackStrategy==="best-fit"?"bestFit":"initialPlacement",padding:this.flipPadding})),this.shift&&n.push(re({boundary:this.shiftBoundary,padding:this.shiftPadding})),this.autoSize?n.push(St({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(le({element:this.arrowEl,padding:this.arrowPadding})),ce(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",a={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 c=s.arrow.x,f=s.arrow.y,u="",m="",h="",d="";if(this.arrowPlacement==="start"){let p=typeof c=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";u=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 c=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";m=l?"":p,d=l?p:"",h=typeof f=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:""}else this.arrowPlacement==="center"?(d=typeof c=="number"?"calc(50% - var(--arrow-size-diagonal))":"",u=typeof f=="number"?"calc(50% - var(--arrow-size-diagonal))":""):(d=typeof c=="number"?`${c}px`:"",u=typeof f=="number"?`${f}px`:"");Object.assign(this.arrowEl.style,{top:u,right:m,bottom:h,left:d,[a]:"calc(var(--arrow-size-diagonal) * -1)"})}}),this.emit("sd-reposition")}render(){return Ot`<slot name="anchor" @slotchange="${this.handleAnchorChange}"></slot><div part="popup" class="${Dt("isolate",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,kt`: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-height:var(--auto-size-available-height,none);max-width:var(--auto-size-available-width,none)}[part=arrow]{background:var(--arrow-color);height:calc(var(--arrow-size-diagonal)*2);width:calc(var(--arrow-size-diagonal)*2)}`],b([Et('[part="popup"]')],x.prototype,"popup",2),b([Et('[part="arrow"]')],x.prototype,"arrowEl",2),b([E()],x.prototype,"anchor",2),b([E({type:Boolean,reflect:!0})],x.prototype,"active",2),b([E({reflect:!0})],x.prototype,"placement",2),b([E({reflect:!0})],x.prototype,"strategy",2),b([E({type:Number})],x.prototype,"distance",2),b([E({type:Number})],x.prototype,"skidding",2),b([E({type:Boolean})],x.prototype,"arrow",2),b([E({attribute:"arrow-placement"})],x.prototype,"arrowPlacement",2),b([E({attribute:"arrow-padding",type:Number})],x.prototype,"arrowPadding",2),b([E({type:Boolean})],x.prototype,"flip",2),b([E({attribute:"flip-fallback-placements",converter:{fromAttribute:n=>n.split(" ").map(i=>i.trim()).filter(i=>i!==""),toAttribute:n=>n.join(" ")}})],x.prototype,"flipFallbackPlacements",2),b([E({attribute:"flip-fallback-strategy"})],x.prototype,"flipFallbackStrategy",2),b([E({type:Object})],x.prototype,"flipBoundary",2),b([E({attribute:"flip-padding",type:Number})],x.prototype,"flipPadding",2),b([E({type:Boolean})],x.prototype,"shift",2),b([E({type:Object})],x.prototype,"shiftBoundary",2),b([E({attribute:"shift-padding",type:Number})],x.prototype,"shiftPadding",2),b([E({attribute:"auto-size"})],x.prototype,"autoSize",2),b([E()],x.prototype,"sync",2),b([E({type:Object})],x.prototype,"autoSizeBoundary",2),b([E({attribute:"auto-size-padding",type:Number})],x.prototype,"autoSizePadding",2),x=b([Mt("sd-4-0-0-popup")],x);export{x as a};