@solid-design-system/components 6.5.2 → 6.6.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 (637) hide show
  1. package/cdn/chunks/{chunk.S4II2NTI.js → chunk.27BNSTSL.js} +1 -1
  2. package/cdn/chunks/{chunk.U5N7L5RI.js → chunk.3FCPNAPX.js} +1 -1
  3. package/cdn/chunks/{chunk.QUGI3FMS.js → chunk.3I7YC7NE.js} +1 -1
  4. package/cdn/chunks/{chunk.HHASCDC2.js → chunk.3M57NNRR.js} +1 -1
  5. package/cdn/chunks/{chunk.JRSX44R6.js → chunk.3PIGM4DH.js} +1 -1
  6. package/cdn/chunks/{chunk.DEEJ4ON7.js → chunk.3SNTEMXZ.js} +1 -1
  7. package/cdn/chunks/{chunk.L6PAHLSN.js → chunk.3VCK7IJN.js} +1 -1
  8. package/cdn/chunks/{chunk.VMUNNUNV.js → chunk.4FGCLE54.js} +1 -1
  9. package/cdn/chunks/{chunk.GP2QVZP5.js → chunk.63QAWBWK.js} +1 -1
  10. package/cdn/chunks/{chunk.DXGVZ3KG.js → chunk.6F7WUNP6.js} +1 -1
  11. package/cdn/chunks/{chunk.4P5PT6MV.js → chunk.6KUT6H7M.js} +1 -1
  12. package/cdn/chunks/{chunk.XTRMRKZ6.js → chunk.6OAAJZNV.js} +1 -1
  13. package/cdn/chunks/{chunk.I234MSSB.js → chunk.6T3CEJIE.js} +1 -1
  14. package/cdn/chunks/{chunk.PPIS2HQ5.js → chunk.6VJK2JCU.js} +1 -1
  15. package/cdn/chunks/{chunk.PRGLNPUF.js → chunk.7SEA67ZW.js} +1 -1
  16. package/cdn/chunks/{chunk.Q6GEIXGA.js → chunk.AZ7N5EES.js} +1 -1
  17. package/cdn/chunks/{chunk.47H4SDKN.js → chunk.BXUMJEFI.js} +1 -1
  18. package/cdn/chunks/{chunk.OAVVKKBJ.js → chunk.CFUQI7E4.js} +1 -1
  19. package/cdn/chunks/chunk.CPBAZFMO.js +26 -0
  20. package/cdn/chunks/{chunk.XAPH6XNH.js → chunk.D6WODNNC.js} +1 -1
  21. package/cdn/chunks/{chunk.2KV3QDYA.js → chunk.DJSRSE4J.js} +1 -1
  22. package/cdn/chunks/{chunk.D5FVDNYV.js → chunk.EW3G6UEB.js} +1 -1
  23. package/cdn/chunks/{chunk.2DPSCPM4.js → chunk.FT5AMZOD.js} +1 -1
  24. package/cdn/chunks/{chunk.C44GZOLG.js → chunk.GHP2L3FF.js} +1 -1
  25. package/cdn/chunks/{chunk.MWO5B7BA.js → chunk.GRTT5NTG.js} +1 -1
  26. package/cdn/chunks/{chunk.C4QT4K6T.js → chunk.H6EZCUOP.js} +1 -1
  27. package/cdn/chunks/{chunk.5M2K2EXR.js → chunk.I2JUGY5Y.js} +1 -1
  28. package/cdn/chunks/{chunk.6GU6NFBF.js → chunk.I5MAO2P3.js} +1 -1
  29. package/cdn/chunks/{chunk.OG2BQH6T.js → chunk.IURKOMTD.js} +1 -1
  30. package/cdn/chunks/{chunk.2HJLVWCE.js → chunk.J5BRQS6A.js} +1 -1
  31. package/cdn/chunks/{chunk.IAEOXYGB.js → chunk.L7RTMKPA.js} +1 -1
  32. package/cdn/chunks/{chunk.KM5W4EDY.js → chunk.LAMBEBS2.js} +1 -1
  33. package/cdn/chunks/{chunk.E64WXH47.js → chunk.LEIURQME.js} +1 -1
  34. package/cdn/chunks/{chunk.XQWDDXL2.js → chunk.LFYIHTCS.js} +1 -1
  35. package/cdn/chunks/{chunk.TWTQHJPN.js → chunk.LGYLUWUI.js} +1 -1
  36. package/cdn/chunks/{chunk.PDHMAKVQ.js → chunk.LPBELRTR.js} +1 -1
  37. package/cdn/chunks/{chunk.QMKNC76J.js → chunk.LV7E4LYT.js} +1 -1
  38. package/cdn/chunks/{chunk.ZTELVJ34.js → chunk.NN6ZSSBZ.js} +1 -1
  39. package/cdn/chunks/chunk.NOHALVAA.js +5 -0
  40. package/cdn/chunks/{chunk.I6EGY7RT.js → chunk.NYF5NDKY.js} +1 -1
  41. package/cdn/chunks/{chunk.WOZKICWV.js → chunk.OA46B766.js} +1 -1
  42. package/cdn/chunks/{chunk.5OE2GCRH.js → chunk.OQRB6LXO.js} +1 -1
  43. package/cdn/chunks/{chunk.PT6G5HKE.js → chunk.PEEA7X7Q.js} +1 -1
  44. package/cdn/chunks/{chunk.TWNEU4H4.js → chunk.PIEEWCV4.js} +1 -1
  45. package/cdn/chunks/{chunk.ZVHLKL7F.js → chunk.R4PERCJM.js} +1 -1
  46. package/cdn/chunks/{chunk.H2DZMP6C.js → chunk.T7FBLCQN.js} +1 -1
  47. package/cdn/chunks/{chunk.Z6TAAGCD.js → chunk.TEMHRIFQ.js} +1 -1
  48. package/cdn/chunks/{chunk.4LGCXG7D.js → chunk.TKQQC4PE.js} +1 -1
  49. package/cdn/chunks/{chunk.VAUP57XZ.js → chunk.UIWV4I2N.js} +1 -1
  50. package/cdn/chunks/{chunk.U44PXBV2.js → chunk.VULEN3XT.js} +1 -1
  51. package/cdn/chunks/{chunk.G42N3VHE.js → chunk.W65PTDPU.js} +1 -1
  52. package/cdn/chunks/{chunk.H77CNSMK.js → chunk.WLVJVQ4O.js} +1 -1
  53. package/cdn/chunks/{chunk.I3TTTGLW.js → chunk.X4TZMLYO.js} +1 -1
  54. package/cdn/chunks/{chunk.3ETEQAPR.js → chunk.XILVWFFN.js} +1 -1
  55. package/cdn/chunks/{chunk.RBVWPWFK.js → chunk.XYG7MKW2.js} +1 -1
  56. package/cdn/chunks/{chunk.CMY3VPYA.js → chunk.YIQLW4GN.js} +1 -1
  57. package/cdn/chunks/{chunk.S7VIPIYX.js → chunk.Z5HXQMCO.js} +1 -1
  58. package/cdn/chunks/{chunk.2XOKLKTX.js → chunk.ZKGVFQ3U.js} +1 -1
  59. package/cdn/chunks/{chunk.UVRZTPOZ.js → chunk.ZNLCEIP2.js} +1 -1
  60. package/cdn/chunks/{chunk.745GDIND.js → chunk.ZZHWWEXU.js} +1 -1
  61. package/cdn/components/accordion/accordion.js +1 -1
  62. package/cdn/components/accordion-group/accordion-group.js +1 -1
  63. package/cdn/components/animation/animation.js +1 -1
  64. package/cdn/components/audio/audio.js +1 -1
  65. package/cdn/components/badge/badge.js +1 -1
  66. package/cdn/components/brandshape/brandshape.js +1 -1
  67. package/cdn/components/breadcrumb/breadcrumb.js +1 -1
  68. package/cdn/components/breadcrumb-item/breadcrumb-item.js +1 -1
  69. package/cdn/components/button/button.js +1 -1
  70. package/cdn/components/button-group/button-group.js +1 -1
  71. package/cdn/components/carousel/carousel.js +1 -1
  72. package/cdn/components/carousel-item/carousel-item.js +1 -1
  73. package/cdn/components/checkbox/checkbox.js +1 -1
  74. package/cdn/components/checkbox-group/checkbox-group.js +1 -1
  75. package/cdn/components/combobox/combobox.js +1 -1
  76. package/cdn/components/datepicker/datepicker.js +1 -1
  77. package/cdn/components/dialog/dialog.js +1 -1
  78. package/cdn/components/divider/divider.js +1 -1
  79. package/cdn/components/drawer/drawer.js +1 -1
  80. package/cdn/components/dropdown/dropdown.js +1 -1
  81. package/cdn/components/expandable/expandable.js +1 -1
  82. package/cdn/components/flipcard/flipcard.js +1 -1
  83. package/cdn/components/header/header.js +1 -1
  84. package/cdn/components/icon/icon.js +1 -1
  85. package/cdn/components/include/include.js +1 -1
  86. package/cdn/components/input/input.js +1 -1
  87. package/cdn/components/link/link.js +1 -1
  88. package/cdn/components/loader/loader.js +1 -1
  89. package/cdn/components/map-marker/map-marker.js +1 -1
  90. package/cdn/components/menu/menu.js +1 -1
  91. package/cdn/components/menu-item/menu-item.js +1 -1
  92. package/cdn/components/navigation-item/navigation-item.js +1 -1
  93. package/cdn/components/notification/notification.js +1 -1
  94. package/cdn/components/optgroup/optgroup.js +1 -1
  95. package/cdn/components/option/option.js +1 -1
  96. package/cdn/components/popup/popup.js +1 -1
  97. package/cdn/components/quickfact/quickfact.js +1 -1
  98. package/cdn/components/radio/radio.js +1 -1
  99. package/cdn/components/radio-button/radio-button.js +1 -1
  100. package/cdn/components/radio-group/radio-group.js +1 -1
  101. package/cdn/components/range/range.js +1 -1
  102. package/cdn/components/range-tick/range-tick.js +1 -1
  103. package/cdn/components/scrollable/scrollable.js +1 -1
  104. package/cdn/components/select/select.js +1 -1
  105. package/cdn/components/skeleton/skeleton.js +1 -1
  106. package/cdn/components/spinner/spinner.js +1 -1
  107. package/cdn/components/step/step.js +1 -1
  108. package/cdn/components/step-group/step-group.js +1 -1
  109. package/cdn/components/switch/switch.js +1 -1
  110. package/cdn/components/tab/tab.js +1 -1
  111. package/cdn/components/tab-group/tab-group.js +1 -1
  112. package/cdn/components/tab-panel/tab-panel.js +1 -1
  113. package/cdn/components/tag/tag.js +1 -1
  114. package/cdn/components/teaser/teaser.js +1 -1
  115. package/cdn/components/teaser-media/teaser-media.d.ts +2 -0
  116. package/cdn/components/teaser-media/teaser-media.js +1 -1
  117. package/cdn/components/textarea/textarea.js +1 -1
  118. package/cdn/components/theme-listener/theme-listener.js +1 -1
  119. package/cdn/components/tooltip/tooltip.js +1 -1
  120. package/cdn/components/video/video.js +1 -1
  121. package/cdn/custom-elements.json +25 -1
  122. package/cdn/solid-components.bundle.js +24 -24
  123. package/cdn/solid-components.iife.js +15 -15
  124. package/cdn/solid-components.js +1 -1
  125. package/cdn/utilities/autocomplete-config.js +1 -1
  126. package/cdn/vscode.html-custom-data.json +6 -1
  127. package/cdn/web-types.json +12 -2
  128. package/cdn-versioned/chunks/{chunk.S4II2NTI.js → chunk.27BNSTSL.js} +2 -2
  129. package/cdn-versioned/chunks/{chunk.U5N7L5RI.js → chunk.3FCPNAPX.js} +2 -2
  130. package/cdn-versioned/chunks/{chunk.QUGI3FMS.js → chunk.3I7YC7NE.js} +2 -2
  131. package/cdn-versioned/chunks/{chunk.HHASCDC2.js → chunk.3M57NNRR.js} +5 -5
  132. package/cdn-versioned/chunks/{chunk.JRSX44R6.js → chunk.3PIGM4DH.js} +2 -2
  133. package/cdn-versioned/chunks/{chunk.DEEJ4ON7.js → chunk.3SNTEMXZ.js} +2 -2
  134. package/cdn-versioned/chunks/{chunk.L6PAHLSN.js → chunk.3VCK7IJN.js} +2 -2
  135. package/cdn-versioned/chunks/{chunk.VMUNNUNV.js → chunk.4FGCLE54.js} +2 -2
  136. package/cdn-versioned/chunks/{chunk.GP2QVZP5.js → chunk.63QAWBWK.js} +2 -2
  137. package/cdn-versioned/chunks/{chunk.DXGVZ3KG.js → chunk.6F7WUNP6.js} +2 -2
  138. package/cdn-versioned/chunks/{chunk.4P5PT6MV.js → chunk.6KUT6H7M.js} +2 -2
  139. package/cdn-versioned/chunks/{chunk.XTRMRKZ6.js → chunk.6OAAJZNV.js} +2 -2
  140. package/cdn-versioned/chunks/{chunk.I234MSSB.js → chunk.6T3CEJIE.js} +2 -2
  141. package/cdn-versioned/chunks/{chunk.PPIS2HQ5.js → chunk.6VJK2JCU.js} +2 -2
  142. package/cdn-versioned/chunks/{chunk.PRGLNPUF.js → chunk.7SEA67ZW.js} +2 -2
  143. package/cdn-versioned/chunks/{chunk.Q6GEIXGA.js → chunk.AZ7N5EES.js} +2 -2
  144. package/cdn-versioned/chunks/{chunk.47H4SDKN.js → chunk.BXUMJEFI.js} +2 -2
  145. package/cdn-versioned/chunks/chunk.CDP46OS4.js +1 -1
  146. package/cdn-versioned/chunks/{chunk.OAVVKKBJ.js → chunk.CFUQI7E4.js} +2 -2
  147. package/cdn-versioned/chunks/chunk.CJ34NUTS.js +1 -1
  148. package/cdn-versioned/chunks/chunk.CPBAZFMO.js +26 -0
  149. package/cdn-versioned/chunks/{chunk.XAPH6XNH.js → chunk.D6WODNNC.js} +2 -2
  150. package/cdn-versioned/chunks/{chunk.2KV3QDYA.js → chunk.DJSRSE4J.js} +2 -2
  151. package/cdn-versioned/chunks/{chunk.D5FVDNYV.js → chunk.EW3G6UEB.js} +2 -2
  152. package/cdn-versioned/chunks/{chunk.2DPSCPM4.js → chunk.FT5AMZOD.js} +2 -2
  153. package/cdn-versioned/chunks/{chunk.C44GZOLG.js → chunk.GHP2L3FF.js} +10 -10
  154. package/cdn-versioned/chunks/{chunk.MWO5B7BA.js → chunk.GRTT5NTG.js} +3 -3
  155. package/cdn-versioned/chunks/{chunk.C4QT4K6T.js → chunk.H6EZCUOP.js} +3 -3
  156. package/cdn-versioned/chunks/{chunk.5M2K2EXR.js → chunk.I2JUGY5Y.js} +2 -2
  157. package/cdn-versioned/chunks/{chunk.6GU6NFBF.js → chunk.I5MAO2P3.js} +2 -2
  158. package/cdn-versioned/chunks/{chunk.OG2BQH6T.js → chunk.IURKOMTD.js} +2 -2
  159. package/cdn-versioned/chunks/{chunk.2HJLVWCE.js → chunk.J5BRQS6A.js} +2 -2
  160. package/cdn-versioned/chunks/{chunk.IAEOXYGB.js → chunk.L7RTMKPA.js} +2 -2
  161. package/cdn-versioned/chunks/{chunk.KM5W4EDY.js → chunk.LAMBEBS2.js} +2 -2
  162. package/cdn-versioned/chunks/{chunk.E64WXH47.js → chunk.LEIURQME.js} +2 -2
  163. package/cdn-versioned/chunks/{chunk.XQWDDXL2.js → chunk.LFYIHTCS.js} +2 -2
  164. package/cdn-versioned/chunks/{chunk.TWTQHJPN.js → chunk.LGYLUWUI.js} +2 -2
  165. package/cdn-versioned/chunks/{chunk.PDHMAKVQ.js → chunk.LPBELRTR.js} +2 -2
  166. package/cdn-versioned/chunks/{chunk.QMKNC76J.js → chunk.LV7E4LYT.js} +2 -2
  167. package/cdn-versioned/chunks/{chunk.ZTELVJ34.js → chunk.NN6ZSSBZ.js} +2 -2
  168. package/cdn-versioned/chunks/chunk.NOHALVAA.js +5 -0
  169. package/cdn-versioned/chunks/{chunk.I6EGY7RT.js → chunk.NYF5NDKY.js} +2 -2
  170. package/cdn-versioned/chunks/{chunk.WOZKICWV.js → chunk.OA46B766.js} +5 -5
  171. package/cdn-versioned/chunks/{chunk.5OE2GCRH.js → chunk.OQRB6LXO.js} +2 -2
  172. package/cdn-versioned/chunks/{chunk.PT6G5HKE.js → chunk.PEEA7X7Q.js} +2 -2
  173. package/cdn-versioned/chunks/{chunk.TWNEU4H4.js → chunk.PIEEWCV4.js} +3 -3
  174. package/cdn-versioned/chunks/{chunk.ZVHLKL7F.js → chunk.R4PERCJM.js} +2 -2
  175. package/cdn-versioned/chunks/{chunk.H2DZMP6C.js → chunk.T7FBLCQN.js} +2 -2
  176. package/cdn-versioned/chunks/{chunk.Z6TAAGCD.js → chunk.TEMHRIFQ.js} +2 -2
  177. package/cdn-versioned/chunks/{chunk.4LGCXG7D.js → chunk.TKQQC4PE.js} +2 -2
  178. package/cdn-versioned/chunks/{chunk.VAUP57XZ.js → chunk.UIWV4I2N.js} +2 -2
  179. package/cdn-versioned/chunks/chunk.VTDQOKJM.js +2 -2
  180. package/cdn-versioned/chunks/{chunk.U44PXBV2.js → chunk.VULEN3XT.js} +2 -2
  181. package/cdn-versioned/chunks/{chunk.G42N3VHE.js → chunk.W65PTDPU.js} +2 -2
  182. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  183. package/cdn-versioned/chunks/{chunk.H77CNSMK.js → chunk.WLVJVQ4O.js} +2 -2
  184. package/cdn-versioned/chunks/{chunk.I3TTTGLW.js → chunk.X4TZMLYO.js} +2 -2
  185. package/cdn-versioned/chunks/{chunk.3ETEQAPR.js → chunk.XILVWFFN.js} +2 -2
  186. package/cdn-versioned/chunks/{chunk.RBVWPWFK.js → chunk.XYG7MKW2.js} +2 -2
  187. package/cdn-versioned/chunks/{chunk.CMY3VPYA.js → chunk.YIQLW4GN.js} +2 -2
  188. package/cdn-versioned/chunks/{chunk.S7VIPIYX.js → chunk.Z5HXQMCO.js} +2 -2
  189. package/cdn-versioned/chunks/{chunk.2XOKLKTX.js → chunk.ZKGVFQ3U.js} +3 -3
  190. package/cdn-versioned/chunks/{chunk.UVRZTPOZ.js → chunk.ZNLCEIP2.js} +2 -2
  191. package/cdn-versioned/chunks/{chunk.745GDIND.js → chunk.ZZHWWEXU.js} +2 -2
  192. package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
  193. package/cdn-versioned/components/accordion/accordion.js +1 -1
  194. package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  195. package/cdn-versioned/components/accordion-group/accordion-group.js +1 -1
  196. package/cdn-versioned/components/animation/animation.d.ts +1 -1
  197. package/cdn-versioned/components/animation/animation.js +1 -1
  198. package/cdn-versioned/components/audio/audio.d.ts +1 -1
  199. package/cdn-versioned/components/audio/audio.js +1 -1
  200. package/cdn-versioned/components/badge/badge.d.ts +1 -1
  201. package/cdn-versioned/components/badge/badge.js +1 -1
  202. package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
  203. package/cdn-versioned/components/brandshape/brandshape.js +1 -1
  204. package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  205. package/cdn-versioned/components/breadcrumb/breadcrumb.js +1 -1
  206. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  207. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.js +1 -1
  208. package/cdn-versioned/components/button/button.d.ts +1 -1
  209. package/cdn-versioned/components/button/button.js +1 -1
  210. package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
  211. package/cdn-versioned/components/button-group/button-group.js +1 -1
  212. package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
  213. package/cdn-versioned/components/carousel/carousel.js +1 -1
  214. package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  215. package/cdn-versioned/components/carousel-item/carousel-item.js +1 -1
  216. package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
  217. package/cdn-versioned/components/checkbox/checkbox.js +1 -1
  218. package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  219. package/cdn-versioned/components/checkbox-group/checkbox-group.js +1 -1
  220. package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
  221. package/cdn-versioned/components/combobox/combobox.js +1 -1
  222. package/cdn-versioned/components/datepicker/datepicker.d.ts +1 -1
  223. package/cdn-versioned/components/datepicker/datepicker.js +1 -1
  224. package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
  225. package/cdn-versioned/components/dialog/dialog.js +1 -1
  226. package/cdn-versioned/components/divider/divider.d.ts +1 -1
  227. package/cdn-versioned/components/divider/divider.js +1 -1
  228. package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
  229. package/cdn-versioned/components/drawer/drawer.js +1 -1
  230. package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
  231. package/cdn-versioned/components/dropdown/dropdown.js +1 -1
  232. package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
  233. package/cdn-versioned/components/expandable/expandable.js +1 -1
  234. package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
  235. package/cdn-versioned/components/flipcard/flipcard.js +1 -1
  236. package/cdn-versioned/components/header/header.d.ts +1 -1
  237. package/cdn-versioned/components/header/header.js +1 -1
  238. package/cdn-versioned/components/icon/icon.d.ts +1 -1
  239. package/cdn-versioned/components/icon/icon.js +1 -1
  240. package/cdn-versioned/components/include/include.d.ts +1 -1
  241. package/cdn-versioned/components/include/include.js +1 -1
  242. package/cdn-versioned/components/input/input.d.ts +1 -1
  243. package/cdn-versioned/components/input/input.js +1 -1
  244. package/cdn-versioned/components/link/link.d.ts +1 -1
  245. package/cdn-versioned/components/link/link.js +1 -1
  246. package/cdn-versioned/components/loader/loader.d.ts +1 -1
  247. package/cdn-versioned/components/loader/loader.js +1 -1
  248. package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
  249. package/cdn-versioned/components/map-marker/map-marker.js +1 -1
  250. package/cdn-versioned/components/menu/menu.d.ts +1 -1
  251. package/cdn-versioned/components/menu/menu.js +1 -1
  252. package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
  253. package/cdn-versioned/components/menu-item/menu-item.js +1 -1
  254. package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  255. package/cdn-versioned/components/navigation-item/navigation-item.js +1 -1
  256. package/cdn-versioned/components/notification/notification.d.ts +1 -1
  257. package/cdn-versioned/components/notification/notification.js +1 -1
  258. package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
  259. package/cdn-versioned/components/optgroup/optgroup.js +1 -1
  260. package/cdn-versioned/components/option/option.d.ts +1 -1
  261. package/cdn-versioned/components/option/option.js +1 -1
  262. package/cdn-versioned/components/popup/popup.d.ts +1 -1
  263. package/cdn-versioned/components/popup/popup.js +1 -1
  264. package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
  265. package/cdn-versioned/components/quickfact/quickfact.js +1 -1
  266. package/cdn-versioned/components/radio/radio.d.ts +1 -1
  267. package/cdn-versioned/components/radio/radio.js +1 -1
  268. package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
  269. package/cdn-versioned/components/radio-button/radio-button.js +1 -1
  270. package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
  271. package/cdn-versioned/components/radio-group/radio-group.js +1 -1
  272. package/cdn-versioned/components/range/range.d.ts +1 -1
  273. package/cdn-versioned/components/range/range.js +1 -1
  274. package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
  275. package/cdn-versioned/components/range-tick/range-tick.js +1 -1
  276. package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
  277. package/cdn-versioned/components/scrollable/scrollable.js +1 -1
  278. package/cdn-versioned/components/select/select.d.ts +1 -1
  279. package/cdn-versioned/components/select/select.js +1 -1
  280. package/cdn-versioned/components/skeleton/skeleton.d.ts +1 -1
  281. package/cdn-versioned/components/skeleton/skeleton.js +1 -1
  282. package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
  283. package/cdn-versioned/components/spinner/spinner.js +1 -1
  284. package/cdn-versioned/components/step/step.d.ts +1 -1
  285. package/cdn-versioned/components/step/step.js +1 -1
  286. package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
  287. package/cdn-versioned/components/step-group/step-group.js +1 -1
  288. package/cdn-versioned/components/switch/switch.d.ts +1 -1
  289. package/cdn-versioned/components/switch/switch.js +1 -1
  290. package/cdn-versioned/components/tab/tab.d.ts +1 -1
  291. package/cdn-versioned/components/tab/tab.js +1 -1
  292. package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
  293. package/cdn-versioned/components/tab-group/tab-group.js +1 -1
  294. package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  295. package/cdn-versioned/components/tab-panel/tab-panel.js +1 -1
  296. package/cdn-versioned/components/tag/tag.d.ts +1 -1
  297. package/cdn-versioned/components/tag/tag.js +1 -1
  298. package/cdn-versioned/components/teaser/teaser.js +1 -1
  299. package/cdn-versioned/components/teaser-media/teaser-media.d.ts +2 -0
  300. package/cdn-versioned/components/teaser-media/teaser-media.js +1 -1
  301. package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
  302. package/cdn-versioned/components/textarea/textarea.js +1 -1
  303. package/cdn-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  304. package/cdn-versioned/components/theme-listener/theme-listener.js +1 -1
  305. package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
  306. package/cdn-versioned/components/tooltip/tooltip.js +1 -1
  307. package/cdn-versioned/components/video/video.d.ts +1 -1
  308. package/cdn-versioned/components/video/video.js +1 -1
  309. package/cdn-versioned/custom-elements.json +268 -244
  310. package/cdn-versioned/internal/form.js +3 -3
  311. package/cdn-versioned/solid-components.bundle.js +83 -83
  312. package/cdn-versioned/solid-components.css +2 -2
  313. package/cdn-versioned/solid-components.iife.js +83 -83
  314. package/cdn-versioned/solid-components.js +1 -1
  315. package/cdn-versioned/utilities/autocomplete-config.js +1 -1
  316. package/cdn-versioned/vscode.html-custom-data.json +100 -95
  317. package/cdn-versioned/web-types.json +168 -158
  318. package/dist/chunks/{chunk.BSP6J6R2.js → chunk.256VYGKN.js} +1 -1
  319. package/dist/chunks/{chunk.MLRNCOWA.js → chunk.3HV2NQJ3.js} +2 -2
  320. package/dist/chunks/{chunk.ZD2JI4OC.js → chunk.3LNRTSYE.js} +1 -1
  321. package/dist/chunks/{chunk.PBXAIJQ4.js → chunk.44LYHLUI.js} +1 -1
  322. package/dist/chunks/{chunk.LBDV5GNR.js → chunk.46MHMZOH.js} +1 -1
  323. package/dist/chunks/{chunk.5XWO3USG.js → chunk.4CYCSIZ7.js} +1 -1
  324. package/dist/chunks/{chunk.BTNS6ZNO.js → chunk.4NPZSBLP.js} +1 -1
  325. package/dist/chunks/{chunk.SCWR4Q4K.js → chunk.4VXMQMWC.js} +2 -2
  326. package/dist/chunks/{chunk.T46LX45D.js → chunk.5I2ACRVE.js} +1 -1
  327. package/dist/chunks/{chunk.UDPSGKZL.js → chunk.5LBSJHKM.js} +1 -1
  328. package/dist/chunks/{chunk.Q7ZMX7IB.js → chunk.7C7RLQJB.js} +1 -1
  329. package/dist/chunks/{chunk.IJIPMNT2.js → chunk.BGLTLTSP.js} +1 -1
  330. package/dist/chunks/{chunk.K66JHYHC.js → chunk.D75ECIYP.js} +1 -1
  331. package/dist/chunks/{chunk.D7CJJHHA.js → chunk.DI4IZD4F.js} +1 -1
  332. package/dist/chunks/{chunk.BBLAIT57.js → chunk.DKBXKPJ7.js} +1 -1
  333. package/dist/chunks/{chunk.D4UC3BVQ.js → chunk.DWMDIMDX.js} +1 -1
  334. package/dist/chunks/{chunk.CMGWC5BG.js → chunk.E74C7QLW.js} +1 -1
  335. package/dist/chunks/{chunk.4UT3FCHQ.js → chunk.EB36FLLO.js} +1 -1
  336. package/dist/chunks/{chunk.R56JDQAF.js → chunk.EKZ4IKWQ.js} +1 -1
  337. package/dist/chunks/{chunk.YATRFNET.js → chunk.EL6JYFUG.js} +1 -1
  338. package/dist/chunks/{chunk.2EWH2DC2.js → chunk.FO322RN2.js} +1 -1
  339. package/dist/chunks/{chunk.JGRI4R23.js → chunk.IJFGEG3C.js} +1 -1
  340. package/dist/chunks/{chunk.AUSBWPVD.js → chunk.IKPH3EVB.js} +1 -1
  341. package/dist/chunks/{chunk.RFDAZXJG.js → chunk.J5PIZAOV.js} +1 -1
  342. package/dist/chunks/{chunk.SQYISG5I.js → chunk.J6WPYLWZ.js} +1 -1
  343. package/dist/chunks/{chunk.22PWID5B.js → chunk.K33FWPNJ.js} +1 -1
  344. package/dist/chunks/{chunk.L2RS3IA6.js → chunk.KXZGO5K7.js} +1 -1
  345. package/dist/chunks/{chunk.DFHY67LW.js → chunk.LFFYGM3W.js} +1 -1
  346. package/dist/chunks/{chunk.FKFGVTXH.js → chunk.LVFKJ64O.js} +19 -7
  347. package/dist/chunks/{chunk.MH7JHBWP.js → chunk.M7LQVFXV.js} +1 -1
  348. package/dist/chunks/{chunk.TUMONDN4.js → chunk.MLVVHUCG.js} +1 -1
  349. package/dist/chunks/{chunk.FSUOT4WC.js → chunk.MTASL5NS.js} +2 -2
  350. package/dist/chunks/{chunk.DTTVI7KT.js → chunk.MWSEG3OK.js} +1 -1
  351. package/dist/chunks/{chunk.XV2UO6TF.js → chunk.MYGU5LET.js} +1 -1
  352. package/dist/chunks/{chunk.DCHRUIDY.js → chunk.MZTCEKQR.js} +1 -1
  353. package/dist/chunks/{chunk.NEUULRS7.js → chunk.N2MLXC5H.js} +1 -1
  354. package/dist/chunks/{chunk.UWQPJU3Q.js → chunk.NOSITZC5.js} +1 -1
  355. package/dist/chunks/{chunk.ASEJW6QN.js → chunk.NXCUTT56.js} +1 -1
  356. package/dist/chunks/{chunk.IYXPHPNO.js → chunk.OC6N6Y6S.js} +1 -1
  357. package/dist/chunks/{chunk.L3OEOSPQ.js → chunk.OQ44TM2I.js} +1 -1
  358. package/dist/chunks/{chunk.TVWV4PUH.js → chunk.OWOWLPY3.js} +1 -1
  359. package/dist/chunks/{chunk.M2D3WWF3.js → chunk.OZD4DCRF.js} +1 -1
  360. package/dist/chunks/{chunk.UPCVQSXM.js → chunk.PRG2N65Y.js} +1 -1
  361. package/dist/chunks/{chunk.YFRD2UEO.js → chunk.PU44LNTI.js} +1 -1
  362. package/dist/chunks/{chunk.LZVVDTSP.js → chunk.QDLM5BOC.js} +1 -1
  363. package/dist/chunks/{chunk.2HTII44Q.js → chunk.R2ZI2ECA.js} +1 -1
  364. package/dist/chunks/{chunk.P5FGSFP3.js → chunk.R7FGGH3S.js} +1 -1
  365. package/dist/chunks/{chunk.DXDDB6AB.js → chunk.RP4D2IUO.js} +1 -1
  366. package/dist/chunks/{chunk.YNBR5ZDU.js → chunk.RWMCPMRU.js} +1 -1
  367. package/dist/chunks/chunk.SP6LEQ4V.js +93 -0
  368. package/dist/chunks/{chunk.SVYFJMYF.js → chunk.SSGLMCAI.js} +1 -1
  369. package/dist/chunks/{chunk.ZMEUQIVY.js → chunk.UCEKNT3E.js} +1 -1
  370. package/dist/chunks/{chunk.L6ZE3RXX.js → chunk.UEJXUCEV.js} +1 -1
  371. package/dist/chunks/{chunk.3PTRIEGP.js → chunk.VVQ25AYN.js} +1 -1
  372. package/dist/chunks/{chunk.QFB3GZEP.js → chunk.WY3Y2CV4.js} +1 -1
  373. package/dist/chunks/{chunk.75WDCMIC.js → chunk.X7INVTDO.js} +1 -1
  374. package/dist/chunks/{chunk.AZPOFDJP.js → chunk.XFEMF3NW.js} +1 -1
  375. package/dist/chunks/{chunk.3EJL5IKL.js → chunk.XLJV6MDG.js} +1 -1
  376. package/dist/chunks/{chunk.DCOB6WLB.js → chunk.YBQGMOJ6.js} +1 -1
  377. package/dist/chunks/{chunk.XALPLS2Y.js → chunk.YZFABBQN.js} +1 -1
  378. package/dist/components/accordion/accordion.js +3 -3
  379. package/dist/components/accordion-group/accordion-group.js +4 -4
  380. package/dist/components/animation/animation.js +2 -2
  381. package/dist/components/audio/audio.js +6 -6
  382. package/dist/components/badge/badge.js +2 -2
  383. package/dist/components/brandshape/brandshape.js +2 -2
  384. package/dist/components/breadcrumb/breadcrumb.js +5 -5
  385. package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
  386. package/dist/components/button/button.js +3 -3
  387. package/dist/components/button-group/button-group.js +2 -2
  388. package/dist/components/carousel/carousel.js +4 -4
  389. package/dist/components/carousel-item/carousel-item.js +2 -2
  390. package/dist/components/checkbox/checkbox.js +3 -3
  391. package/dist/components/checkbox-group/checkbox-group.js +3 -3
  392. package/dist/components/combobox/combobox.js +5 -5
  393. package/dist/components/datepicker/datepicker.js +5 -5
  394. package/dist/components/dialog/dialog.js +5 -5
  395. package/dist/components/divider/divider.js +2 -2
  396. package/dist/components/drawer/drawer.js +5 -5
  397. package/dist/components/dropdown/dropdown.js +3 -3
  398. package/dist/components/expandable/expandable.js +3 -3
  399. package/dist/components/flipcard/flipcard.js +5 -5
  400. package/dist/components/header/header.js +2 -2
  401. package/dist/components/icon/icon.js +2 -2
  402. package/dist/components/include/include.js +2 -2
  403. package/dist/components/input/input.js +3 -3
  404. package/dist/components/link/link.js +2 -2
  405. package/dist/components/loader/loader.js +2 -2
  406. package/dist/components/map-marker/map-marker.js +2 -2
  407. package/dist/components/menu/menu.js +2 -2
  408. package/dist/components/menu-item/menu-item.js +2 -2
  409. package/dist/components/navigation-item/navigation-item.js +4 -4
  410. package/dist/components/notification/notification.js +5 -5
  411. package/dist/components/optgroup/optgroup.js +3 -3
  412. package/dist/components/option/option.js +3 -3
  413. package/dist/components/popup/popup.js +2 -2
  414. package/dist/components/quickfact/quickfact.js +4 -4
  415. package/dist/components/radio/radio.js +2 -2
  416. package/dist/components/radio-button/radio-button.js +2 -2
  417. package/dist/components/radio-group/radio-group.js +4 -4
  418. package/dist/components/range/range.js +2 -2
  419. package/dist/components/range-tick/range-tick.js +2 -2
  420. package/dist/components/scrollable/scrollable.js +3 -3
  421. package/dist/components/select/select.js +5 -5
  422. package/dist/components/skeleton/skeleton.js +2 -2
  423. package/dist/components/spinner/spinner.js +2 -2
  424. package/dist/components/step/step.js +3 -3
  425. package/dist/components/step-group/step-group.js +2 -2
  426. package/dist/components/switch/switch.js +2 -2
  427. package/dist/components/tab/tab.js +2 -2
  428. package/dist/components/tab-group/tab-group.js +3 -3
  429. package/dist/components/tab-panel/tab-panel.js +2 -2
  430. package/dist/components/tag/tag.js +3 -3
  431. package/dist/components/teaser/teaser.js +2 -2
  432. package/dist/components/teaser-media/teaser-media.d.ts +2 -0
  433. package/dist/components/teaser-media/teaser-media.js +2 -2
  434. package/dist/components/textarea/textarea.js +3 -3
  435. package/dist/components/theme-listener/theme-listener.js +2 -2
  436. package/dist/components/tooltip/tooltip.js +4 -4
  437. package/dist/components/video/video.js +3 -3
  438. package/dist/custom-elements.json +25 -1
  439. package/dist/solid-components.js +60 -60
  440. package/dist/utilities/autocomplete-config.js +2 -2
  441. package/dist/vscode.html-custom-data.json +6 -1
  442. package/dist/web-types.json +12 -2
  443. package/dist-versioned/chunks/{chunk.BSP6J6R2.js → chunk.256VYGKN.js} +3 -3
  444. package/dist-versioned/chunks/{chunk.MLRNCOWA.js → chunk.3HV2NQJ3.js} +5 -5
  445. package/dist-versioned/chunks/{chunk.ZD2JI4OC.js → chunk.3LNRTSYE.js} +6 -6
  446. package/dist-versioned/chunks/{chunk.PBXAIJQ4.js → chunk.44LYHLUI.js} +6 -6
  447. package/dist-versioned/chunks/{chunk.LBDV5GNR.js → chunk.46MHMZOH.js} +5 -5
  448. package/dist-versioned/chunks/{chunk.5XWO3USG.js → chunk.4CYCSIZ7.js} +4 -4
  449. package/dist-versioned/chunks/{chunk.BTNS6ZNO.js → chunk.4NPZSBLP.js} +5 -5
  450. package/dist-versioned/chunks/{chunk.SCWR4Q4K.js → chunk.4VXMQMWC.js} +12 -12
  451. package/dist-versioned/chunks/{chunk.T46LX45D.js → chunk.5I2ACRVE.js} +7 -7
  452. package/dist-versioned/chunks/{chunk.UDPSGKZL.js → chunk.5LBSJHKM.js} +5 -5
  453. package/dist-versioned/chunks/{chunk.Q7ZMX7IB.js → chunk.7C7RLQJB.js} +4 -4
  454. package/dist-versioned/chunks/{chunk.IJIPMNT2.js → chunk.BGLTLTSP.js} +4 -4
  455. package/dist-versioned/chunks/chunk.C3WIBDGG.js +3 -3
  456. package/dist-versioned/chunks/{chunk.K66JHYHC.js → chunk.D75ECIYP.js} +3 -3
  457. package/dist-versioned/chunks/{chunk.D7CJJHHA.js → chunk.DI4IZD4F.js} +2 -2
  458. package/dist-versioned/chunks/{chunk.BBLAIT57.js → chunk.DKBXKPJ7.js} +3 -3
  459. package/dist-versioned/chunks/{chunk.D4UC3BVQ.js → chunk.DWMDIMDX.js} +13 -13
  460. package/dist-versioned/chunks/{chunk.CMGWC5BG.js → chunk.E74C7QLW.js} +7 -7
  461. package/dist-versioned/chunks/{chunk.4UT3FCHQ.js → chunk.EB36FLLO.js} +3 -3
  462. package/dist-versioned/chunks/{chunk.R56JDQAF.js → chunk.EKZ4IKWQ.js} +3 -3
  463. package/dist-versioned/chunks/{chunk.YATRFNET.js → chunk.EL6JYFUG.js} +29 -29
  464. package/dist-versioned/chunks/{chunk.2EWH2DC2.js → chunk.FO322RN2.js} +2 -2
  465. package/dist-versioned/chunks/{chunk.JGRI4R23.js → chunk.IJFGEG3C.js} +2 -2
  466. package/dist-versioned/chunks/{chunk.AUSBWPVD.js → chunk.IKPH3EVB.js} +8 -8
  467. package/dist-versioned/chunks/{chunk.RFDAZXJG.js → chunk.J5PIZAOV.js} +4 -4
  468. package/dist-versioned/chunks/{chunk.SQYISG5I.js → chunk.J6WPYLWZ.js} +5 -5
  469. package/dist-versioned/chunks/{chunk.22PWID5B.js → chunk.K33FWPNJ.js} +3 -3
  470. package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
  471. package/dist-versioned/chunks/{chunk.L2RS3IA6.js → chunk.KXZGO5K7.js} +9 -9
  472. package/dist-versioned/chunks/{chunk.DFHY67LW.js → chunk.LFFYGM3W.js} +6 -6
  473. package/dist-versioned/chunks/{chunk.FKFGVTXH.js → chunk.LVFKJ64O.js} +22 -10
  474. package/dist-versioned/chunks/{chunk.MH7JHBWP.js → chunk.M7LQVFXV.js} +3 -3
  475. package/dist-versioned/chunks/{chunk.TUMONDN4.js → chunk.MLVVHUCG.js} +5 -5
  476. package/dist-versioned/chunks/{chunk.FSUOT4WC.js → chunk.MTASL5NS.js} +14 -14
  477. package/dist-versioned/chunks/{chunk.DTTVI7KT.js → chunk.MWSEG3OK.js} +12 -12
  478. package/dist-versioned/chunks/{chunk.XV2UO6TF.js → chunk.MYGU5LET.js} +3 -3
  479. package/dist-versioned/chunks/{chunk.DCHRUIDY.js → chunk.MZTCEKQR.js} +2 -2
  480. package/dist-versioned/chunks/{chunk.NEUULRS7.js → chunk.N2MLXC5H.js} +6 -6
  481. package/dist-versioned/chunks/{chunk.UWQPJU3Q.js → chunk.NOSITZC5.js} +4 -4
  482. package/dist-versioned/chunks/{chunk.ASEJW6QN.js → chunk.NXCUTT56.js} +6 -6
  483. package/dist-versioned/chunks/{chunk.IYXPHPNO.js → chunk.OC6N6Y6S.js} +2 -2
  484. package/dist-versioned/chunks/{chunk.L3OEOSPQ.js → chunk.OQ44TM2I.js} +2 -2
  485. package/dist-versioned/chunks/{chunk.TVWV4PUH.js → chunk.OWOWLPY3.js} +3 -3
  486. package/dist-versioned/chunks/{chunk.M2D3WWF3.js → chunk.OZD4DCRF.js} +9 -9
  487. package/dist-versioned/chunks/{chunk.UPCVQSXM.js → chunk.PRG2N65Y.js} +4 -4
  488. package/dist-versioned/chunks/{chunk.YFRD2UEO.js → chunk.PU44LNTI.js} +9 -9
  489. package/dist-versioned/chunks/{chunk.LZVVDTSP.js → chunk.QDLM5BOC.js} +27 -27
  490. package/dist-versioned/chunks/{chunk.2HTII44Q.js → chunk.R2ZI2ECA.js} +5 -5
  491. package/dist-versioned/chunks/{chunk.P5FGSFP3.js → chunk.R7FGGH3S.js} +2 -2
  492. package/dist-versioned/chunks/{chunk.DXDDB6AB.js → chunk.RP4D2IUO.js} +2 -2
  493. package/dist-versioned/chunks/{chunk.YNBR5ZDU.js → chunk.RWMCPMRU.js} +5 -5
  494. package/dist-versioned/chunks/chunk.SP6LEQ4V.js +93 -0
  495. package/dist-versioned/chunks/{chunk.SVYFJMYF.js → chunk.SSGLMCAI.js} +4 -4
  496. package/dist-versioned/chunks/chunk.U2BN2DBY.js +4 -4
  497. package/dist-versioned/chunks/{chunk.ZMEUQIVY.js → chunk.UCEKNT3E.js} +10 -10
  498. package/dist-versioned/chunks/{chunk.L6ZE3RXX.js → chunk.UEJXUCEV.js} +15 -15
  499. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  500. package/dist-versioned/chunks/{chunk.3PTRIEGP.js → chunk.VVQ25AYN.js} +3 -3
  501. package/dist-versioned/chunks/{chunk.QFB3GZEP.js → chunk.WY3Y2CV4.js} +5 -5
  502. package/dist-versioned/chunks/{chunk.75WDCMIC.js → chunk.X7INVTDO.js} +25 -25
  503. package/dist-versioned/chunks/{chunk.AZPOFDJP.js → chunk.XFEMF3NW.js} +5 -5
  504. package/dist-versioned/chunks/{chunk.3EJL5IKL.js → chunk.XLJV6MDG.js} +2 -2
  505. package/dist-versioned/chunks/{chunk.DCOB6WLB.js → chunk.YBQGMOJ6.js} +4 -4
  506. package/dist-versioned/chunks/{chunk.XALPLS2Y.js → chunk.YZFABBQN.js} +7 -7
  507. package/dist-versioned/components/accordion/accordion.d.ts +1 -1
  508. package/dist-versioned/components/accordion/accordion.js +3 -3
  509. package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  510. package/dist-versioned/components/accordion-group/accordion-group.js +4 -4
  511. package/dist-versioned/components/animation/animation.d.ts +1 -1
  512. package/dist-versioned/components/animation/animation.js +2 -2
  513. package/dist-versioned/components/audio/audio.d.ts +1 -1
  514. package/dist-versioned/components/audio/audio.js +6 -6
  515. package/dist-versioned/components/badge/badge.d.ts +1 -1
  516. package/dist-versioned/components/badge/badge.js +2 -2
  517. package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
  518. package/dist-versioned/components/brandshape/brandshape.js +2 -2
  519. package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  520. package/dist-versioned/components/breadcrumb/breadcrumb.js +5 -5
  521. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  522. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.js +3 -3
  523. package/dist-versioned/components/button/button.d.ts +1 -1
  524. package/dist-versioned/components/button/button.js +3 -3
  525. package/dist-versioned/components/button-group/button-group.d.ts +1 -1
  526. package/dist-versioned/components/button-group/button-group.js +2 -2
  527. package/dist-versioned/components/carousel/carousel.d.ts +1 -1
  528. package/dist-versioned/components/carousel/carousel.js +4 -4
  529. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  530. package/dist-versioned/components/carousel-item/carousel-item.js +2 -2
  531. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  532. package/dist-versioned/components/checkbox/checkbox.js +3 -3
  533. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  534. package/dist-versioned/components/checkbox-group/checkbox-group.js +3 -3
  535. package/dist-versioned/components/combobox/combobox.d.ts +1 -1
  536. package/dist-versioned/components/combobox/combobox.js +5 -5
  537. package/dist-versioned/components/datepicker/datepicker.d.ts +1 -1
  538. package/dist-versioned/components/datepicker/datepicker.js +5 -5
  539. package/dist-versioned/components/dialog/dialog.d.ts +1 -1
  540. package/dist-versioned/components/dialog/dialog.js +5 -5
  541. package/dist-versioned/components/divider/divider.d.ts +1 -1
  542. package/dist-versioned/components/divider/divider.js +2 -2
  543. package/dist-versioned/components/drawer/drawer.d.ts +1 -1
  544. package/dist-versioned/components/drawer/drawer.js +5 -5
  545. package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
  546. package/dist-versioned/components/dropdown/dropdown.js +3 -3
  547. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  548. package/dist-versioned/components/expandable/expandable.js +3 -3
  549. package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
  550. package/dist-versioned/components/flipcard/flipcard.js +5 -5
  551. package/dist-versioned/components/header/header.d.ts +1 -1
  552. package/dist-versioned/components/header/header.js +2 -2
  553. package/dist-versioned/components/icon/icon.d.ts +1 -1
  554. package/dist-versioned/components/icon/icon.js +2 -2
  555. package/dist-versioned/components/include/include.d.ts +1 -1
  556. package/dist-versioned/components/include/include.js +2 -2
  557. package/dist-versioned/components/input/input.d.ts +1 -1
  558. package/dist-versioned/components/input/input.js +3 -3
  559. package/dist-versioned/components/link/link.d.ts +1 -1
  560. package/dist-versioned/components/link/link.js +2 -2
  561. package/dist-versioned/components/loader/loader.d.ts +1 -1
  562. package/dist-versioned/components/loader/loader.js +2 -2
  563. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  564. package/dist-versioned/components/map-marker/map-marker.js +2 -2
  565. package/dist-versioned/components/menu/menu.d.ts +1 -1
  566. package/dist-versioned/components/menu/menu.js +2 -2
  567. package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
  568. package/dist-versioned/components/menu-item/menu-item.js +2 -2
  569. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  570. package/dist-versioned/components/navigation-item/navigation-item.js +4 -4
  571. package/dist-versioned/components/notification/notification.d.ts +1 -1
  572. package/dist-versioned/components/notification/notification.js +5 -5
  573. package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
  574. package/dist-versioned/components/optgroup/optgroup.js +3 -3
  575. package/dist-versioned/components/option/option.d.ts +1 -1
  576. package/dist-versioned/components/option/option.js +3 -3
  577. package/dist-versioned/components/popup/popup.d.ts +1 -1
  578. package/dist-versioned/components/popup/popup.js +2 -2
  579. package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
  580. package/dist-versioned/components/quickfact/quickfact.js +4 -4
  581. package/dist-versioned/components/radio/radio.d.ts +1 -1
  582. package/dist-versioned/components/radio/radio.js +2 -2
  583. package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
  584. package/dist-versioned/components/radio-button/radio-button.js +2 -2
  585. package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
  586. package/dist-versioned/components/radio-group/radio-group.js +4 -4
  587. package/dist-versioned/components/range/range.d.ts +1 -1
  588. package/dist-versioned/components/range/range.js +2 -2
  589. package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
  590. package/dist-versioned/components/range-tick/range-tick.js +2 -2
  591. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  592. package/dist-versioned/components/scrollable/scrollable.js +3 -3
  593. package/dist-versioned/components/select/select.d.ts +1 -1
  594. package/dist-versioned/components/select/select.js +5 -5
  595. package/dist-versioned/components/skeleton/skeleton.d.ts +1 -1
  596. package/dist-versioned/components/skeleton/skeleton.js +2 -2
  597. package/dist-versioned/components/spinner/spinner.d.ts +1 -1
  598. package/dist-versioned/components/spinner/spinner.js +2 -2
  599. package/dist-versioned/components/step/step.d.ts +1 -1
  600. package/dist-versioned/components/step/step.js +3 -3
  601. package/dist-versioned/components/step-group/step-group.d.ts +1 -1
  602. package/dist-versioned/components/step-group/step-group.js +2 -2
  603. package/dist-versioned/components/switch/switch.d.ts +1 -1
  604. package/dist-versioned/components/switch/switch.js +2 -2
  605. package/dist-versioned/components/tab/tab.d.ts +1 -1
  606. package/dist-versioned/components/tab/tab.js +2 -2
  607. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  608. package/dist-versioned/components/tab-group/tab-group.js +3 -3
  609. package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  610. package/dist-versioned/components/tab-panel/tab-panel.js +2 -2
  611. package/dist-versioned/components/tag/tag.d.ts +1 -1
  612. package/dist-versioned/components/tag/tag.js +3 -3
  613. package/dist-versioned/components/teaser/teaser.js +2 -2
  614. package/dist-versioned/components/teaser-media/teaser-media.d.ts +2 -0
  615. package/dist-versioned/components/teaser-media/teaser-media.js +2 -2
  616. package/dist-versioned/components/textarea/textarea.d.ts +1 -1
  617. package/dist-versioned/components/textarea/textarea.js +3 -3
  618. package/dist-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  619. package/dist-versioned/components/theme-listener/theme-listener.js +2 -2
  620. package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
  621. package/dist-versioned/components/tooltip/tooltip.js +4 -4
  622. package/dist-versioned/components/video/video.d.ts +1 -1
  623. package/dist-versioned/components/video/video.js +3 -3
  624. package/dist-versioned/custom-elements.json +268 -244
  625. package/dist-versioned/internal/form.js +3 -3
  626. package/dist-versioned/solid-components.css +2 -2
  627. package/dist-versioned/solid-components.js +60 -60
  628. package/dist-versioned/utilities/autocomplete-config.js +2 -2
  629. package/dist-versioned/vscode.html-custom-data.json +100 -95
  630. package/dist-versioned/web-types.json +168 -158
  631. package/package.json +1 -1
  632. package/cdn/chunks/chunk.ALCKOGA7.js +0 -26
  633. package/cdn/chunks/chunk.KKKGNXIR.js +0 -5
  634. package/cdn-versioned/chunks/chunk.ALCKOGA7.js +0 -26
  635. package/cdn-versioned/chunks/chunk.KKKGNXIR.js +0 -5
  636. package/dist/chunks/chunk.TNJNUASM.js +0 -93
  637. package/dist-versioned/chunks/chunk.TNJNUASM.js +0 -93
@@ -1 +1 @@
1
- import{a as pe}from"./chunks/chunk.VTDQOKJM.js";import"./chunks/chunk.HAL7R4WT.js";import{a as ee}from"./chunks/chunk.3ETEQAPR.js";import{a as re}from"./chunks/chunk.I3TTTGLW.js";import{a as oe}from"./chunks/chunk.2XOKLKTX.js";import{a as ae}from"./chunks/chunk.VAUP57XZ.js";import{a as U}from"./chunks/chunk.ZVHLKL7F.js";import{a as W}from"./chunks/chunk.MWO5B7BA.js";import{a as X}from"./chunks/chunk.2DPSCPM4.js";import{a as Y}from"./chunks/chunk.UVRZTPOZ.js";import{a as Z}from"./chunks/chunk.KM5W4EDY.js";import{a as _}from"./chunks/chunk.47H4SDKN.js";import{a as $}from"./chunks/chunk.KKKGNXIR.js";import{a as V}from"./chunks/chunk.H2DZMP6C.js";import"./chunks/chunk.IVHEBGOY.js";import{a as j}from"./chunks/chunk.JRSX44R6.js";import{a as q}from"./chunks/chunk.XAPH6XNH.js";import{a as y}from"./chunks/chunk.WOZKICWV.js";import{a as z}from"./chunks/chunk.6GU6NFBF.js";import{a as J}from"./chunks/chunk.ZTELVJ34.js";import{a as K}from"./chunks/chunk.QMKNC76J.js";import{a as N}from"./chunks/chunk.4LGCXG7D.js";import{a as O}from"./chunks/chunk.RBVWPWFK.js";import{a as P}from"./chunks/chunk.S7VIPIYX.js";import{a as E}from"./chunks/chunk.OG2BQH6T.js";import{a as H}from"./chunks/chunk.S4II2NTI.js";import{a as Q}from"./chunks/chunk.Z6TAAGCD.js";import{a as F}from"./chunks/chunk.QUGI3FMS.js";import{a as R}from"./chunks/chunk.D5FVDNYV.js";import{a as A}from"./chunks/chunk.C4QT4K6T.js";import{a as w}from"./chunks/chunk.Q6GEIXGA.js";import{a as L}from"./chunks/chunk.PDHMAKVQ.js";import"./chunks/chunk.CDP46OS4.js";import"./chunks/chunk.CSLPZKLY.js";import{a as v}from"./chunks/chunk.DEEJ4ON7.js";import{a as M}from"./chunks/chunk.VMUNNUNV.js";import{a as B}from"./chunks/chunk.I6EGY7RT.js";import"./chunks/chunk.3MADQ6HK.js";import{a as h}from"./chunks/chunk.745GDIND.js";import{a as I}from"./chunks/chunk.2KV3QDYA.js";import{a as C}from"./chunks/chunk.CMY3VPYA.js";import{a as D}from"./chunks/chunk.G42N3VHE.js";import{a as G}from"./chunks/chunk.TWTQHJPN.js";import{a as b}from"./chunks/chunk.XTRMRKZ6.js";import"./chunks/chunk.VYBQ3X2B.js";import"./chunks/chunk.SIY4LRPB.js";import{a as T}from"./chunks/chunk.U5N7L5RI.js";import{a as g}from"./chunks/chunk.HHASCDC2.js";import"./chunks/chunk.US3OB3XU.js";import{a as k}from"./chunks/chunk.XQWDDXL2.js";import"./chunks/chunk.N3WG3NAL.js";import"./chunks/chunk.X2GM34WQ.js";import"./chunks/chunk.W7A3TU2Z.js";import{a as u}from"./chunks/chunk.H77CNSMK.js";import{a as l}from"./chunks/chunk.PT6G5HKE.js";import{a as S}from"./chunks/chunk.5M2K2EXR.js";import{a as x}from"./chunks/chunk.TWNEU4H4.js";import{a as m}from"./chunks/chunk.E64WXH47.js";import{a as i}from"./chunks/chunk.OAVVKKBJ.js";import{a as s}from"./chunks/chunk.DXGVZ3KG.js";import"./chunks/chunk.5OE2GCRH.js";import{a as c}from"./chunks/chunk.L6PAHLSN.js";import"./chunks/chunk.BJBQEPZV.js";import"./chunks/chunk.EOXYPQZI.js";import"./chunks/chunk.MHWW3RZB.js";import{a as n}from"./chunks/chunk.GP2QVZP5.js";import"./chunks/chunk.CBQWVOOS.js";import{a}from"./chunks/chunk.IAEOXYGB.js";import{a as o}from"./chunks/chunk.2HJLVWCE.js";import{a as r}from"./chunks/chunk.PRGLNPUF.js";import"./chunks/chunk.D4E5ZIRW.js";import{a as p}from"./chunks/chunk.4P5PT6MV.js";import{a as f}from"./chunks/chunk.I234MSSB.js";import"./chunks/chunk.I2H6CZK5.js";import"./chunks/chunk.2AQOPKKH.js";import"./chunks/chunk.G7HKVXLR.js";import"./chunks/chunk.3L472FD4.js";import{a as d}from"./chunks/chunk.C44GZOLG.js";import{a as t}from"./chunks/chunk.PPIS2HQ5.js";import"./chunks/chunk.CJ34NUTS.js";import"./chunks/chunk.PV6UYBMY.js";import"./chunks/chunk.CGQ2BPPZ.js";import"./chunks/chunk.B2NUKX6G.js";import"./chunks/chunk.PJ7JCMQF.js";import"./chunks/chunk.KLRPP4NQ.js";import{a as e}from"./chunks/chunk.U44PXBV2.js";import"./chunks/chunk.MP6XEXRW.js";import"./chunks/chunk.D6LAH53B.js";import{d as te,e as de}from"./chunks/chunk.54UVKIZB.js";import"./chunks/chunk.3FMN7C5N.js";import"./chunks/chunk.MB7SWCJ2.js";import"./chunks/chunk.PYHYYOBE.js";import"./chunks/chunk.TWZDCIM2.js";import"./chunks/chunk.MWDEA25W.js";import{a as fe}from"./chunks/chunk.IQPMMUES.js";import"./chunks/chunk.B3QUTUIL.js";import"./chunks/chunk.3TJM745S.js";import"./chunks/chunk.HJGLYEWV.js";import"./chunks/chunk.YFQFOIEM.js";import"./chunks/chunk.NYKJXI3Q.js";import"./chunks/chunk.ALCKOGA7.js";import"./chunks/chunk.763RLJEK.js";import"./chunks/chunk.W4QBFD6E.js";import"./chunks/chunk.WNP2V63C.js";import"./chunks/chunk.6EV4YU6C.js";export{fe as LocalizeController,o as SdAccordion,a as SdAccordionGroup,r as SdAnimation,p as SdAudio,u as SdBadge,l as SdBrandshape,S as SdBreadcrumb,i as SdBreadcrumbItem,d as SdButton,c as SdCarousel,n as SdCarouselItem,b as SdCheckbox,T as SdCheckboxGroup,g as SdCombobox,B as SdDatepicker,h as SdDialog,I as SdDivider,f as SdDrawer,x as SdDropdown,C as SdExpandable,D as SdFlipcard,G as SdHeader,e as SdIcon,M as SdInclude,R as SdInput,s as SdLink,t as SdLoader,A as SdMapMarker,w as SdMenu,L as SdMenuItem,v as SdNavigationItem,N as SdNotification,O as SdOptgroup,P as SdOption,m as SdPopup,E as SdQuickfact,F as SdRadio,H as SdRadioButton,Q as SdRadioGroup,V as SdRange,j as SdRangeTick,q as SdScrollable,y as SdSelect,z as SdSkeleton,J as SdSpinner,K as SdStep,U as SdStepGroup,W as SdSwitch,X as SdTab,Y as SdTabGroup,Z as SdTabPanel,k as SdTag,_ as SdTeaser,$ as SdTeaserMedia,ee as SdTextarea,re as SdThemeListener,oe as SdTooltip,ae as SdVideo,te as registerIconLibrary,pe as setupAutocomplete,de as unregisterIconLibrary};
1
+ import{a as pe}from"./chunks/chunk.VTDQOKJM.js";import"./chunks/chunk.HAL7R4WT.js";import{a as ee}from"./chunks/chunk.XILVWFFN.js";import{a as re}from"./chunks/chunk.X4TZMLYO.js";import{a as oe}from"./chunks/chunk.ZKGVFQ3U.js";import{a as ae}from"./chunks/chunk.UIWV4I2N.js";import{a as U}from"./chunks/chunk.R4PERCJM.js";import{a as W}from"./chunks/chunk.GRTT5NTG.js";import{a as X}from"./chunks/chunk.FT5AMZOD.js";import{a as Y}from"./chunks/chunk.ZNLCEIP2.js";import{a as Z}from"./chunks/chunk.LAMBEBS2.js";import{a as _}from"./chunks/chunk.BXUMJEFI.js";import{a as $}from"./chunks/chunk.NOHALVAA.js";import{a as V}from"./chunks/chunk.T7FBLCQN.js";import"./chunks/chunk.IVHEBGOY.js";import{a as j}from"./chunks/chunk.3PIGM4DH.js";import{a as q}from"./chunks/chunk.D6WODNNC.js";import{a as y}from"./chunks/chunk.OA46B766.js";import{a as z}from"./chunks/chunk.I5MAO2P3.js";import{a as J}from"./chunks/chunk.NN6ZSSBZ.js";import{a as K}from"./chunks/chunk.LV7E4LYT.js";import{a as N}from"./chunks/chunk.TKQQC4PE.js";import{a as O}from"./chunks/chunk.XYG7MKW2.js";import{a as P}from"./chunks/chunk.Z5HXQMCO.js";import{a as E}from"./chunks/chunk.IURKOMTD.js";import{a as H}from"./chunks/chunk.27BNSTSL.js";import{a as Q}from"./chunks/chunk.TEMHRIFQ.js";import{a as F}from"./chunks/chunk.3I7YC7NE.js";import{a as R}from"./chunks/chunk.EW3G6UEB.js";import{a as A}from"./chunks/chunk.H6EZCUOP.js";import{a as w}from"./chunks/chunk.AZ7N5EES.js";import{a as L}from"./chunks/chunk.LPBELRTR.js";import"./chunks/chunk.CDP46OS4.js";import"./chunks/chunk.CSLPZKLY.js";import{a as v}from"./chunks/chunk.3SNTEMXZ.js";import{a as M}from"./chunks/chunk.4FGCLE54.js";import{a as B}from"./chunks/chunk.NYF5NDKY.js";import"./chunks/chunk.3MADQ6HK.js";import{a as h}from"./chunks/chunk.ZZHWWEXU.js";import{a as I}from"./chunks/chunk.DJSRSE4J.js";import{a as C}from"./chunks/chunk.YIQLW4GN.js";import{a as D}from"./chunks/chunk.W65PTDPU.js";import{a as G}from"./chunks/chunk.LGYLUWUI.js";import{a as b}from"./chunks/chunk.6OAAJZNV.js";import"./chunks/chunk.VYBQ3X2B.js";import"./chunks/chunk.SIY4LRPB.js";import{a as T}from"./chunks/chunk.3FCPNAPX.js";import{a as g}from"./chunks/chunk.3M57NNRR.js";import"./chunks/chunk.US3OB3XU.js";import{a as k}from"./chunks/chunk.LFYIHTCS.js";import"./chunks/chunk.N3WG3NAL.js";import"./chunks/chunk.X2GM34WQ.js";import"./chunks/chunk.W7A3TU2Z.js";import{a as u}from"./chunks/chunk.WLVJVQ4O.js";import{a as l}from"./chunks/chunk.PEEA7X7Q.js";import{a as S}from"./chunks/chunk.I2JUGY5Y.js";import{a as x}from"./chunks/chunk.PIEEWCV4.js";import{a as m}from"./chunks/chunk.LEIURQME.js";import{a as i}from"./chunks/chunk.CFUQI7E4.js";import{a as s}from"./chunks/chunk.6F7WUNP6.js";import"./chunks/chunk.OQRB6LXO.js";import{a as c}from"./chunks/chunk.3VCK7IJN.js";import"./chunks/chunk.BJBQEPZV.js";import"./chunks/chunk.EOXYPQZI.js";import"./chunks/chunk.MHWW3RZB.js";import{a as n}from"./chunks/chunk.63QAWBWK.js";import"./chunks/chunk.CBQWVOOS.js";import{a}from"./chunks/chunk.L7RTMKPA.js";import{a as o}from"./chunks/chunk.J5BRQS6A.js";import{a as r}from"./chunks/chunk.7SEA67ZW.js";import"./chunks/chunk.D4E5ZIRW.js";import{a as p}from"./chunks/chunk.6KUT6H7M.js";import{a as f}from"./chunks/chunk.6T3CEJIE.js";import"./chunks/chunk.I2H6CZK5.js";import"./chunks/chunk.2AQOPKKH.js";import"./chunks/chunk.G7HKVXLR.js";import"./chunks/chunk.3L472FD4.js";import{a as d}from"./chunks/chunk.GHP2L3FF.js";import{a as t}from"./chunks/chunk.6VJK2JCU.js";import"./chunks/chunk.CJ34NUTS.js";import"./chunks/chunk.PV6UYBMY.js";import"./chunks/chunk.CGQ2BPPZ.js";import"./chunks/chunk.B2NUKX6G.js";import"./chunks/chunk.PJ7JCMQF.js";import"./chunks/chunk.KLRPP4NQ.js";import{a as e}from"./chunks/chunk.VULEN3XT.js";import"./chunks/chunk.MP6XEXRW.js";import"./chunks/chunk.D6LAH53B.js";import{d as te,e as de}from"./chunks/chunk.54UVKIZB.js";import"./chunks/chunk.3FMN7C5N.js";import"./chunks/chunk.MB7SWCJ2.js";import"./chunks/chunk.PYHYYOBE.js";import"./chunks/chunk.TWZDCIM2.js";import"./chunks/chunk.MWDEA25W.js";import{a as fe}from"./chunks/chunk.IQPMMUES.js";import"./chunks/chunk.B3QUTUIL.js";import"./chunks/chunk.3TJM745S.js";import"./chunks/chunk.HJGLYEWV.js";import"./chunks/chunk.YFQFOIEM.js";import"./chunks/chunk.NYKJXI3Q.js";import"./chunks/chunk.CPBAZFMO.js";import"./chunks/chunk.763RLJEK.js";import"./chunks/chunk.W4QBFD6E.js";import"./chunks/chunk.WNP2V63C.js";import"./chunks/chunk.6EV4YU6C.js";export{fe as LocalizeController,o as SdAccordion,a as SdAccordionGroup,r as SdAnimation,p as SdAudio,u as SdBadge,l as SdBrandshape,S as SdBreadcrumb,i as SdBreadcrumbItem,d as SdButton,c as SdCarousel,n as SdCarouselItem,b as SdCheckbox,T as SdCheckboxGroup,g as SdCombobox,B as SdDatepicker,h as SdDialog,I as SdDivider,f as SdDrawer,x as SdDropdown,C as SdExpandable,D as SdFlipcard,G as SdHeader,e as SdIcon,M as SdInclude,R as SdInput,s as SdLink,t as SdLoader,A as SdMapMarker,w as SdMenu,L as SdMenuItem,v as SdNavigationItem,N as SdNotification,O as SdOptgroup,P as SdOption,m as SdPopup,E as SdQuickfact,F as SdRadio,H as SdRadioButton,Q as SdRadioGroup,V as SdRange,j as SdRangeTick,q as SdScrollable,y as SdSelect,z as SdSkeleton,J as SdSpinner,K as SdStep,U as SdStepGroup,W as SdSwitch,X as SdTab,Y as SdTabGroup,Z as SdTabPanel,k as SdTag,_ as SdTeaser,$ as SdTeaserMedia,ee as SdTextarea,re as SdThemeListener,oe as SdTooltip,ae as SdVideo,te as registerIconLibrary,pe as setupAutocomplete,de as unregisterIconLibrary};
@@ -1 +1 @@
1
- import{a}from"../chunks/chunk.VTDQOKJM.js";import"../chunks/chunk.E64WXH47.js";import"../chunks/chunk.YFQFOIEM.js";import"../chunks/chunk.ALCKOGA7.js";import"../chunks/chunk.763RLJEK.js";import"../chunks/chunk.W4QBFD6E.js";import"../chunks/chunk.6EV4YU6C.js";export{a as setupAutocomplete};
1
+ import{a}from"../chunks/chunk.VTDQOKJM.js";import"../chunks/chunk.LEIURQME.js";import"../chunks/chunk.YFQFOIEM.js";import"../chunks/chunk.CPBAZFMO.js";import"../chunks/chunk.763RLJEK.js";import"../chunks/chunk.W4QBFD6E.js";import"../chunks/chunk.6EV4YU6C.js";export{a as setupAutocomplete};
@@ -3169,7 +3169,7 @@
3169
3169
  },
3170
3170
  {
3171
3171
  "name": "sd-teaser-media",
3172
- "description": "Teasers group information into flexible containers so users can browse a collection of related items and actions.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - An optional main content slot.\n- **media** - An optional media slot.\n- **meta** - An optional meta slot.\n- **expandable** - An optional expandable slot, <strong>not</strong> shown on small devices.\n- **headline** - headline slot.\n\n### **CSS Properties:**\n - **--sd-teaser-media--neutral-100--hover-color-background** - The background color for neutral‑100 teaser media in hover state. _(default: undefined)_\n- **--sd-teaser-media--neutral-100-color-background** - The default background color for neutral‑100 teaser media. _(default: undefined)_\n- **--sd-teaser-media--primary-100--hover-color-background** - The background color for primary‑100 teaser media in hover state. _(default: undefined)_\n- **--sd-teaser-media--primary-100-color-background** - The default background color for primary‑100 teaser media. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **media** - The container that wraps the media.\n- **content** - The container that wraps the content.\n- **meta** - The container that wraps the meta.\n- **headline** - The container that wraps the headline.\n- **expandable** - The container that wraps the expandable.\n- **main** - The container that wraps the main content.",
3172
+ "description": "Teasers group information into flexible containers so users can browse a collection of related items and actions.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - An optional main content slot.\n- **media** - An optional media slot.\n- **meta** - An optional meta slot.\n- **expandable** - An optional expandable slot, <strong>not</strong> shown on small devices.\n- **headline** - headline slot.\n\n### **CSS Properties:**\n - **--sd-teaser-media--neutral-100--hover-color-background** - The background color for neutral‑100 teaser media in hover state. _(default: undefined)_\n- **--sd-teaser-media--neutral-100-color-background** - The default background color for neutral‑100 teaser media. _(default: undefined)_\n- **--sd-teaser-media--primary-100--hover-color-background** - The background color for primary‑100 teaser media in hover state. _(default: undefined)_\n- **--sd-teaser-media--primary-100-color-background** - The default background color for primary‑100 teaser media. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **media** - The container that wraps the media.\n- **content** - The container that wraps the content.\n- **meta** - The container that wraps the meta.\n- **headline** - The container that wraps the headline.\n- **expandable** - The container that wraps the expandable.\n- **main** - The container that wraps the main content.\n- **toggle** - The button that toggles the expandable content.",
3173
3173
  "attributes": [
3174
3174
  {
3175
3175
  "name": "variant",
@@ -3184,6 +3184,11 @@
3184
3184
  { "name": "gradient-dark" }
3185
3185
  ]
3186
3186
  },
3187
+ {
3188
+ "name": "open",
3189
+ "description": "Controls whether the expandable content is visible",
3190
+ "values": []
3191
+ },
3187
3192
  {
3188
3193
  "name": "dir",
3189
3194
  "description": "The element's directionality.",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@solid-design-system/components",
4
- "version": "6.5.2",
4
+ "version": "6.6.0",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -7173,7 +7173,7 @@
7173
7173
  },
7174
7174
  {
7175
7175
  "name": "sd-teaser-media",
7176
- "description": "Teasers group information into flexible containers so users can browse a collection of related items and actions.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - An optional main content slot.\n- **media** - An optional media slot.\n- **meta** - An optional meta slot.\n- **expandable** - An optional expandable slot, <strong>not</strong> shown on small devices.\n- **headline** - headline slot.\n\n### **CSS Properties:**\n - **--sd-teaser-media--neutral-100--hover-color-background** - The background color for neutral‑100 teaser media in hover state. _(default: undefined)_\n- **--sd-teaser-media--neutral-100-color-background** - The default background color for neutral‑100 teaser media. _(default: undefined)_\n- **--sd-teaser-media--primary-100--hover-color-background** - The background color for primary‑100 teaser media in hover state. _(default: undefined)_\n- **--sd-teaser-media--primary-100-color-background** - The default background color for primary‑100 teaser media. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **media** - The container that wraps the media.\n- **content** - The container that wraps the content.\n- **meta** - The container that wraps the meta.\n- **headline** - The container that wraps the headline.\n- **expandable** - The container that wraps the expandable.\n- **main** - The container that wraps the main content.",
7176
+ "description": "Teasers group information into flexible containers so users can browse a collection of related items and actions.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - An optional main content slot.\n- **media** - An optional media slot.\n- **meta** - An optional meta slot.\n- **expandable** - An optional expandable slot, <strong>not</strong> shown on small devices.\n- **headline** - headline slot.\n\n### **CSS Properties:**\n - **--sd-teaser-media--neutral-100--hover-color-background** - The background color for neutral‑100 teaser media in hover state. _(default: undefined)_\n- **--sd-teaser-media--neutral-100-color-background** - The default background color for neutral‑100 teaser media. _(default: undefined)_\n- **--sd-teaser-media--primary-100--hover-color-background** - The background color for primary‑100 teaser media in hover state. _(default: undefined)_\n- **--sd-teaser-media--primary-100-color-background** - The default background color for primary‑100 teaser media. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **media** - The container that wraps the media.\n- **content** - The container that wraps the content.\n- **meta** - The container that wraps the meta.\n- **headline** - The container that wraps the headline.\n- **expandable** - The container that wraps the expandable.\n- **main** - The container that wraps the main content.\n- **toggle** - The button that toggles the expandable content.",
7177
7177
  "doc-url": "",
7178
7178
  "attributes": [
7179
7179
  {
@@ -7184,6 +7184,11 @@
7184
7184
  "default": "'white'"
7185
7185
  }
7186
7186
  },
7187
+ {
7188
+ "name": "open",
7189
+ "description": "Controls whether the expandable content is visible",
7190
+ "value": { "type": "boolean", "default": "false" }
7191
+ },
7187
7192
  {
7188
7193
  "name": "dir",
7189
7194
  "description": "The element's directionality.",
@@ -7213,6 +7218,11 @@
7213
7218
  "description": "Variant of the teaser",
7214
7219
  "type": "| 'white'\n | 'neutral-100'\n | 'primary'\n | 'primary-100'\n | 'gradient-light'\n | 'gradient-dark'"
7215
7220
  },
7221
+ {
7222
+ "name": "open",
7223
+ "description": "Controls whether the expandable content is visible",
7224
+ "type": "boolean"
7225
+ },
7216
7226
  {
7217
7227
  "name": "dir",
7218
7228
  "description": "The element's directionality.",
@@ -1,2 +1,2 @@
1
- import{a as p}from"./chunk.PV6UYBMY.js";import{a as b}from"./chunk.CGQ2BPPZ.js";import{a as n}from"./chunk.YFQFOIEM.js";import{a as h}from"./chunk.NYKJXI3Q.js";import{a as d,b as i,c as u,d as r,h as o}from"./chunk.ALCKOGA7.js";import{b as c,e as a}from"./chunk.763RLJEK.js";import{e as s}from"./chunk.6EV4YU6C.js";var t=class extends o{constructor(){super(...arguments);this.hasSlotController=new b(this,"[default]","icon");this.hasFocus=!1;this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.checked=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","presentation")}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleClick(e){if(this.disabled||this.visuallyDisabled){e.preventDefault(),e.stopPropagation();return}this.checked=!0}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleDisabledChange(){let e=this.disabled||this.visuallyDisabled;this.setAttribute("aria-disabled",e?"true":"false")}focus(e){this.input.focus(e)}blur(){this.input.blur()}render(){let e=this.hasSlotController.test("[default]"),l=this.hasSlotController.test("icon"),m=`${this.size}-${e?"label":"no-label"}`;return a`<div part="base" role="presentation" class="relative"><button part="${`button${this.checked?" button--checked":""}`}" role="radio" aria-checked="${this.checked}" class="${n("relative text-center sd-6-5-2-radio-button-border-radius transition-all ease-in-out duration-100 items-center justify-center focus-visible:focus-outline",this.size==="sm"?"text-sm":"text-base",this.checked&&!this.disabled&&!this.visuallyDisabled?"sd-6-5-2-button--primary--default-color-background sd-6-5-2-button--primary--default-color-text hover:sd-6-5-2-button--primary--hover-color-background":!this.checked&&(this.disabled||this.visuallyDisabled)?"text-neutral-500 hover:cursor-not-allowed":this.checked&&(this.disabled||this.visuallyDisabled)?"bg-neutral-400 text-white hover:cursor-not-allowed ":"bg-transparent sd-6-5-2-radio-button-color-text border-primary hover:text-primary-500 cursor-pointer",e&&{sm:"px-3",md:"px-4",lg:"px-5"}[this.size],this.hasFocus&&"focused-class",e&&"button--has-label",l&&"button--has-icon flex gap-2",m)}" aria-disabled="${this.disabled||this.visuallyDisabled}" type="button" value="${p(this.value)}" tabindex="${this.checked?"0":"-1"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @click="${this.handleClick}"><slot name="icon" part="icon" class="${n(l&&"inline-flex relative items-center",{sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size])}" ?hidden="${!l}"></slot>${e?a`<slot part="label" class="button__label inline-flex relative items-center whitespace-nowrap"></slot>`:null}</button></div>`}};t.styles=[...o.styles,c`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
- :host{display:block;width:-moz-min-content;width:min-content}.hidden-input{all:unset;position:absolute;inset:calc(var(--sd-spacing-1) * 0);z-index:calc(10 * -1);opacity:var(--sd-opacity-0);outline-style:var(--tw-outline-style);outline-width:1px;outline-color:var(--sd-color-border-error,var(--sd-color-error));--tw-outline-style:dotted;outline-style:dotted}.lg-label{height:var(--sd-spacing-12)}.lg-no-label{height:var(--sd-spacing-12);padding-inline:calc(var(--sd-spacing-1) * 5)}.md-label{height:var(--sd-spacing-10)}.md-no-label{height:var(--sd-spacing-10);padding-inline:var(--sd-spacing-4)}.sm-label{height:var(--sd-spacing-8)}.sm-no-label{height:var(--sd-spacing-8);padding-inline:var(--sd-spacing-3)}:host([size=lg].sd-6-5-2-button-group__button:not(.sd-6-5-2-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-3) * -1)}:host([size=md].sd-6-5-2-button-group__button:not(.sd-6-5-2-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-2) * -1)}:host([size=sm].sd-6-5-2-button-group__button:not(.sd-6-5-2-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-1) * -1)}:host(.sd-6-5-2-button-group__button--hover){z-index:20}:host(.sd-6-5-2-button-group__button--focus),:host(.sd-6-5-2-button-group__button[checked]){z-index:10}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}`],s([r(".button")],t.prototype,"input",2),s([r(".hidden-input")],t.prototype,"hiddenInput",2),s([u()],t.prototype,"hasFocus",2),s([i({type:String,reflect:!0})],t.prototype,"size",2),s([i({type:Boolean,reflect:!0})],t.prototype,"disabled",2),s([i({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),s([i({type:Boolean,reflect:!0})],t.prototype,"checked",2),s([i()],t.prototype,"value",2),s([h(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),t=s([d("sd-6-5-2-radio-button")],t);export{t as a};
1
+ import{a as p}from"./chunk.PV6UYBMY.js";import{a as b}from"./chunk.CGQ2BPPZ.js";import{a as n}from"./chunk.YFQFOIEM.js";import{a as h}from"./chunk.NYKJXI3Q.js";import{a as d,b as i,c as u,d as r,h as o}from"./chunk.CPBAZFMO.js";import{b as c,e as a}from"./chunk.763RLJEK.js";import{e as s}from"./chunk.6EV4YU6C.js";var t=class extends o{constructor(){super(...arguments);this.hasSlotController=new b(this,"[default]","icon");this.hasFocus=!1;this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.checked=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","presentation")}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleClick(e){if(this.disabled||this.visuallyDisabled){e.preventDefault(),e.stopPropagation();return}this.checked=!0}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleDisabledChange(){let e=this.disabled||this.visuallyDisabled;this.setAttribute("aria-disabled",e?"true":"false")}focus(e){this.input.focus(e)}blur(){this.input.blur()}render(){let e=this.hasSlotController.test("[default]"),l=this.hasSlotController.test("icon"),m=`${this.size}-${e?"label":"no-label"}`;return a`<div part="base" role="presentation" class="relative"><button part="${`button${this.checked?" button--checked":""}`}" role="radio" aria-checked="${this.checked}" class="${n("relative text-center sd-6-6-0-radio-button-border-radius transition-all ease-in-out duration-100 items-center justify-center focus-visible:focus-outline",this.size==="sm"?"text-sm":"text-base",this.checked&&!this.disabled&&!this.visuallyDisabled?"sd-6-6-0-button--primary--default-color-background sd-6-6-0-button--primary--default-color-text hover:sd-6-6-0-button--primary--hover-color-background":!this.checked&&(this.disabled||this.visuallyDisabled)?"text-neutral-500 hover:cursor-not-allowed":this.checked&&(this.disabled||this.visuallyDisabled)?"bg-neutral-400 text-white hover:cursor-not-allowed ":"bg-transparent sd-6-6-0-radio-button-color-text border-primary hover:text-primary-500 cursor-pointer",e&&{sm:"px-3",md:"px-4",lg:"px-5"}[this.size],this.hasFocus&&"focused-class",e&&"button--has-label",l&&"button--has-icon flex gap-2",m)}" aria-disabled="${this.disabled||this.visuallyDisabled}" type="button" value="${p(this.value)}" tabindex="${this.checked?"0":"-1"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @click="${this.handleClick}"><slot name="icon" part="icon" class="${n(l&&"inline-flex relative items-center",{sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size])}" ?hidden="${!l}"></slot>${e?a`<slot part="label" class="button__label inline-flex relative items-center whitespace-nowrap"></slot>`:null}</button></div>`}};t.styles=[...o.styles,c`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
+ :host{display:block;width:-moz-min-content;width:min-content}.hidden-input{all:unset;position:absolute;inset:calc(var(--sd-spacing-1) * 0);z-index:calc(10 * -1);opacity:var(--sd-opacity-0);outline-style:var(--tw-outline-style);outline-width:1px;outline-color:var(--sd-color-border-error,var(--sd-color-error));--tw-outline-style:dotted;outline-style:dotted}.lg-label{height:var(--sd-spacing-12)}.lg-no-label{height:var(--sd-spacing-12);padding-inline:calc(var(--sd-spacing-1) * 5)}.md-label{height:var(--sd-spacing-10)}.md-no-label{height:var(--sd-spacing-10);padding-inline:var(--sd-spacing-4)}.sm-label{height:var(--sd-spacing-8)}.sm-no-label{height:var(--sd-spacing-8);padding-inline:var(--sd-spacing-3)}:host([size=lg].sd-6-6-0-button-group__button:not(.sd-6-6-0-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-3) * -1)}:host([size=md].sd-6-6-0-button-group__button:not(.sd-6-6-0-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-2) * -1)}:host([size=sm].sd-6-6-0-button-group__button:not(.sd-6-6-0-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-1) * -1)}:host(.sd-6-6-0-button-group__button--hover){z-index:20}:host(.sd-6-6-0-button-group__button--focus),:host(.sd-6-6-0-button-group__button[checked]){z-index:10}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}`],s([r(".button")],t.prototype,"input",2),s([r(".hidden-input")],t.prototype,"hiddenInput",2),s([u()],t.prototype,"hasFocus",2),s([i({type:String,reflect:!0})],t.prototype,"size",2),s([i({type:Boolean,reflect:!0})],t.prototype,"disabled",2),s([i({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),s([i({type:Boolean,reflect:!0})],t.prototype,"checked",2),s([i()],t.prototype,"value",2),s([h(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),t=s([d("sd-6-6-0-radio-button")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as p}from"./chunk.CGQ2BPPZ.js";import{a}from"./chunk.YFQFOIEM.js";import{a as r}from"./chunk.NYKJXI3Q.js";import{a as d,b as o,h as n}from"./chunk.ALCKOGA7.js";import{b as m,e as s}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends n{constructor(){super(...arguments);this.hasSlotController=new p(this,"label","help-text");this.size="lg";this.orientation="vertical";this.label="";this.helpText=""}getAllCheckboxes(){return[...this.querySelectorAll("sd-6-5-2-checkbox")]}async syncCheckboxElements(){let i=this.getAllCheckboxes();await Promise.all(i.map(async l=>{await l.updateComplete,l.size=this.size}))}syncCheckboxes(){customElements.get("sd-6-5-2-checkbox")?this.syncCheckboxElements():customElements.whenDefined("sd-6-5-2-checkbox").then(()=>this.syncCheckboxes())}handleSizeChange(){this.syncCheckboxes()}handleInvalid(){this.syncCheckboxes()}render(){let i=this.hasSlotController.test("label"),l=this.label?!0:i,b=this.hasSlotController.test("help-text"),c=this.helpText?!0:b,x=s`<slot @slotchange="${this.syncCheckboxes}"></slot>`,h=this.hasSlotController.test("tooltip");return s`<fieldset part="form-control" class="${a("border-0 p-0 m-0",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}" role="group" aria-labelledby="label">${l||h?s`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${a("p-0 font-bold leading-normal text-black",l?"flex":"hidden")}" aria-hidden="${l?"false":"true"}"><slot name="label">${this.label}</slot></label> ${h?s`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${a({vertical:"flex flex-col",horizontal:"flex flex-row"}[this.orientation])}">${x}</div></fieldset><slot name="help-text" part="form-control-help-text" id="help-text" class="${a("text-sm text-neutral-700 mt-2",c?"block":"hidden")}" aria-hidden="${!c}">${this.helpText}</slot>`}};t.styles=[...n.styles,m`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{display:block}:host([orientation=vertical]) ::slotted(sd-6-5-2-checkbox){margin-bottom:var(--sd-spacing-2);display:flex}:host([orientation=vertical]) ::slotted(sd-6-5-2-checkbox:last-of-type){margin-bottom:calc(var(--sd-spacing-1) * 0)}:host([orientation=horizontal]) ::slotted(sd-6-5-2-checkbox){margin-right:var(--sd-spacing-6)}:host([orientation=horizontal]) ::slotted(sd-6-5-2-checkbox:last-of-type){margin-right:calc(var(--sd-spacing-1) * 0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-6-5-2-checkbox){margin-right:var(--sd-spacing-4)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-6-5-2-checkbox:last-of-type){margin-right:calc(var(--sd-spacing-1) * 0)}`],e([o({type:String,reflect:!0})],t.prototype,"size",2),e([o({type:String,reflect:!0})],t.prototype,"orientation",2),e([o({type:String,reflect:!0})],t.prototype,"label",2),e([o({type:String,attribute:"help-text",reflect:!0})],t.prototype,"helpText",2),e([r("size",{waitUntilFirstUpdate:!0})],t.prototype,"handleSizeChange",1),e([r("invalid",{waitUntilFirstUpdate:!0})],t.prototype,"handleInvalid",1),t=e([d("sd-6-5-2-checkbox-group")],t);export{t as a};
1
+ import{a as p}from"./chunk.CGQ2BPPZ.js";import{a}from"./chunk.YFQFOIEM.js";import{a as r}from"./chunk.NYKJXI3Q.js";import{a as d,b as o,h as n}from"./chunk.CPBAZFMO.js";import{b as m,e as s}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends n{constructor(){super(...arguments);this.hasSlotController=new p(this,"label","help-text");this.size="lg";this.orientation="vertical";this.label="";this.helpText=""}getAllCheckboxes(){return[...this.querySelectorAll("sd-6-6-0-checkbox")]}async syncCheckboxElements(){let i=this.getAllCheckboxes();await Promise.all(i.map(async l=>{await l.updateComplete,l.size=this.size}))}syncCheckboxes(){customElements.get("sd-6-6-0-checkbox")?this.syncCheckboxElements():customElements.whenDefined("sd-6-6-0-checkbox").then(()=>this.syncCheckboxes())}handleSizeChange(){this.syncCheckboxes()}handleInvalid(){this.syncCheckboxes()}render(){let i=this.hasSlotController.test("label"),l=this.label?!0:i,b=this.hasSlotController.test("help-text"),c=this.helpText?!0:b,x=s`<slot @slotchange="${this.syncCheckboxes}"></slot>`,h=this.hasSlotController.test("tooltip");return s`<fieldset part="form-control" class="${a("border-0 p-0 m-0",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}" role="group" aria-labelledby="label">${l||h?s`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${a("p-0 font-bold leading-normal text-black",l?"flex":"hidden")}" aria-hidden="${l?"false":"true"}"><slot name="label">${this.label}</slot></label> ${h?s`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${a({vertical:"flex flex-col",horizontal:"flex flex-row"}[this.orientation])}">${x}</div></fieldset><slot name="help-text" part="form-control-help-text" id="help-text" class="${a("text-sm text-neutral-700 mt-2",c?"block":"hidden")}" aria-hidden="${!c}">${this.helpText}</slot>`}};t.styles=[...n.styles,m`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{display:block}:host([orientation=vertical]) ::slotted(sd-6-6-0-checkbox){margin-bottom:var(--sd-spacing-2);display:flex}:host([orientation=vertical]) ::slotted(sd-6-6-0-checkbox:last-of-type){margin-bottom:calc(var(--sd-spacing-1) * 0)}:host([orientation=horizontal]) ::slotted(sd-6-6-0-checkbox){margin-right:var(--sd-spacing-6)}:host([orientation=horizontal]) ::slotted(sd-6-6-0-checkbox:last-of-type){margin-right:calc(var(--sd-spacing-1) * 0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-6-6-0-checkbox){margin-right:var(--sd-spacing-4)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-6-6-0-checkbox:last-of-type){margin-right:calc(var(--sd-spacing-1) * 0)}`],e([o({type:String,reflect:!0})],t.prototype,"size",2),e([o({type:String,reflect:!0})],t.prototype,"orientation",2),e([o({type:String,reflect:!0})],t.prototype,"label",2),e([o({type:String,attribute:"help-text",reflect:!0})],t.prototype,"helpText",2),e([r("size",{waitUntilFirstUpdate:!0})],t.prototype,"handleSizeChange",1),e([r("invalid",{waitUntilFirstUpdate:!0})],t.prototype,"handleInvalid",1),t=e([d("sd-6-6-0-checkbox-group")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as s}from"./chunk.YFQFOIEM.js";import{a as l}from"./chunk.NYKJXI3Q.js";import{a as c,b as i,c as r,h as a}from"./chunk.ALCKOGA7.js";import{b as o,e as d}from"./chunk.763RLJEK.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends a{constructor(){super(...arguments);this.checked=!1;this.hasFocus=!1;this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.invalid=!1}connectedCallback(){super.connectedCallback(),this.handleBlur=this.handleBlur.bind(this),this.handleClick=this.handleClick.bind(this),this.handleFocus=this.handleFocus.bind(this),this.setInitialAttributes(),this.addEventListeners()}disconnectedCallback(){this.removeEventListeners()}addEventListeners(){this.addEventListener("blur",this.handleBlur),this.addEventListener("click",this.handleClick),this.addEventListener("focus",this.handleFocus)}removeEventListeners(){this.removeEventListener("blur",this.handleBlur),this.removeEventListener("click",this.handleClick),this.removeEventListener("focus",this.handleFocus)}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleClick(){!this.disabled&&!this.visuallyDisabled&&(this.checked=!0)}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}setInitialAttributes(){this.setAttribute("role","radio"),this.setAttribute("tabindex","-1"),this.setAttribute("aria-disabled",this.disabled||this.visuallyDisabled?"true":"false")}handleCheckedChange(){this.setAttribute("aria-checked",this.checked?"true":"false"),this.setAttribute("tabindex",this.checked?"0":"-1")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}render(){return d`<span part="base" class="${s("sd-6-5-2-radio group flex items-center text-base leading-normal text-black cursor-pointer",(this.disabled||this.visuallyDisabled)&&"hover:cursor-not-allowed",{sm:"small-size text-sm",md:"text-base",lg:"text-base"}[this.size])}"><span part="${`${this.checked?"control--checked":"control--unchecked"}`}" class="${s("flex-initial shrink-0 relative inline-flex items-center justify-center border sd-6-5-2-radio-border-width rounded-full bg-white h-4 w-4 duration-fast ease-in-out",this.disabled||this.visuallyDisabled?"border-neutral-500":this.invalid?s("border-error hover:border-error-400 group-hover:border-error-400",this.checked?"sd-6-5-2-radio--checked--invalid--default-color-background":"sd-6-5-2-radio--default--invalid-color-background"):this.checked?"sd-6-5-2-radio--checked--default-color-background hover:sd-6-5-2-radio--checked--hover-color-background group-hover:sd-6-5-2-radio--checked--hover-color-background border-accent hover:border-accent-550 group-hover:border-accent-550":"form-control-color-border hover:bg-neutral-200 group-hover:bg-neutral-200")}"><span part="checked" class="${s("rounded-full inline-flex text-white sd-6-5-2-radio--checked--default__icon-color-background h-2.5 w-2.5 transition-[transform, colors] duration-medium ease-in-out",this.checked?"scale-100":"scale-0",this.disabled?"bg-neutral-500":this.visuallyDisabled?"bg-white":this.invalid?"sd-6-5-2-radio--checked--invalid--default__icon-color-background hover:sd-6-5-2-radio--checked--invalid--hover__icon-color-background group-hover:sd-6-5-2-radio--checked--invalid--hover__icon-color-background":this.checked?"sd-6-5-2-radio--checked--default__icon-color-background hover:sd-6-5-2-radio--checked--hover__icon-color-background group-hover:sd-6-5-2-radio--checked--hover__icon-color-background":"bg-neutral-800")}"></span></span><slot part="label" class="${s("ml-2 select-none inline-block",this.disabled||this.visuallyDisabled?"text-neutral-500":this.invalid?"text-error":"text-black")}"></slot></span>`}};e.styles=[...a.styles,o`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
- :host{display:block;width:-moz-max-content;width:max-content}:host(:focus-visible){--tw-outline-style:none;outline-style:none}:host(:focus-visible) [part=control--checked],:host(:focus-visible) [part=control--unchecked]{outline-width:1px;outline-style:var(--tw-outline-style);outline-width:2px;outline-offset:2px;outline-color:var(--sd-color-border-primary,var(--sd-color-primary))}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}`],t([r()],e.prototype,"checked",2),t([r()],e.prototype,"hasFocus",2),t([i({type:String,reflect:!0})],e.prototype,"size",2),t([i({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([i({type:Boolean,reflect:!0,attribute:"visually-disabled"})],e.prototype,"visuallyDisabled",2),t([i()],e.prototype,"value",2),t([i({type:Boolean,reflect:!0})],e.prototype,"invalid",2),t([l("checked")],e.prototype,"handleCheckedChange",1),t([l(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],e.prototype,"handleDisabledChange",1),e=t([c("sd-6-5-2-radio")],e);export{e as a};
1
+ import{a as s}from"./chunk.YFQFOIEM.js";import{a as l}from"./chunk.NYKJXI3Q.js";import{a as c,b as i,c as r,h as a}from"./chunk.CPBAZFMO.js";import{b as o,e as d}from"./chunk.763RLJEK.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends a{constructor(){super(...arguments);this.checked=!1;this.hasFocus=!1;this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.invalid=!1}connectedCallback(){super.connectedCallback(),this.handleBlur=this.handleBlur.bind(this),this.handleClick=this.handleClick.bind(this),this.handleFocus=this.handleFocus.bind(this),this.setInitialAttributes(),this.addEventListeners()}disconnectedCallback(){this.removeEventListeners()}addEventListeners(){this.addEventListener("blur",this.handleBlur),this.addEventListener("click",this.handleClick),this.addEventListener("focus",this.handleFocus)}removeEventListeners(){this.removeEventListener("blur",this.handleBlur),this.removeEventListener("click",this.handleClick),this.removeEventListener("focus",this.handleFocus)}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleClick(){!this.disabled&&!this.visuallyDisabled&&(this.checked=!0)}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}setInitialAttributes(){this.setAttribute("role","radio"),this.setAttribute("tabindex","-1"),this.setAttribute("aria-disabled",this.disabled||this.visuallyDisabled?"true":"false")}handleCheckedChange(){this.setAttribute("aria-checked",this.checked?"true":"false"),this.setAttribute("tabindex",this.checked?"0":"-1")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}render(){return d`<span part="base" class="${s("sd-6-6-0-radio group flex items-center text-base leading-normal text-black cursor-pointer",(this.disabled||this.visuallyDisabled)&&"hover:cursor-not-allowed",{sm:"small-size text-sm",md:"text-base",lg:"text-base"}[this.size])}"><span part="${`${this.checked?"control--checked":"control--unchecked"}`}" class="${s("flex-initial shrink-0 relative inline-flex items-center justify-center border sd-6-6-0-radio-border-width rounded-full bg-white h-4 w-4 duration-fast ease-in-out",this.disabled||this.visuallyDisabled?"border-neutral-500":this.invalid?s("border-error hover:border-error-400 group-hover:border-error-400",this.checked?"sd-6-6-0-radio--checked--invalid--default-color-background":"sd-6-6-0-radio--default--invalid-color-background"):this.checked?"sd-6-6-0-radio--checked--default-color-background hover:sd-6-6-0-radio--checked--hover-color-background group-hover:sd-6-6-0-radio--checked--hover-color-background border-accent hover:border-accent-550 group-hover:border-accent-550":"form-control-color-border hover:bg-neutral-200 group-hover:bg-neutral-200")}"><span part="checked" class="${s("rounded-full inline-flex text-white sd-6-6-0-radio--checked--default__icon-color-background h-2.5 w-2.5 transition-[transform, colors] duration-medium ease-in-out",this.checked?"scale-100":"scale-0",this.disabled?"bg-neutral-500":this.visuallyDisabled?"bg-white":this.invalid?"sd-6-6-0-radio--checked--invalid--default__icon-color-background hover:sd-6-6-0-radio--checked--invalid--hover__icon-color-background group-hover:sd-6-6-0-radio--checked--invalid--hover__icon-color-background":this.checked?"sd-6-6-0-radio--checked--default__icon-color-background hover:sd-6-6-0-radio--checked--hover__icon-color-background group-hover:sd-6-6-0-radio--checked--hover__icon-color-background":"bg-neutral-800")}"></span></span><slot part="label" class="${s("ml-2 select-none inline-block",this.disabled||this.visuallyDisabled?"text-neutral-500":this.invalid?"text-error":"text-black")}"></slot></span>`}};e.styles=[...a.styles,o`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
+ :host{display:block;width:-moz-max-content;width:max-content}:host(:focus-visible){--tw-outline-style:none;outline-style:none}:host(:focus-visible) [part=control--checked],:host(:focus-visible) [part=control--unchecked]{outline-width:1px;outline-style:var(--tw-outline-style);outline-width:2px;outline-offset:2px;outline-color:var(--sd-color-border-primary,var(--sd-color-primary))}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}`],t([r()],e.prototype,"checked",2),t([r()],e.prototype,"hasFocus",2),t([i({type:String,reflect:!0})],e.prototype,"size",2),t([i({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([i({type:Boolean,reflect:!0,attribute:"visually-disabled"})],e.prototype,"visuallyDisabled",2),t([i()],e.prototype,"value",2),t([i({type:Boolean,reflect:!0})],e.prototype,"invalid",2),t([l("checked")],e.prototype,"handleCheckedChange",1),t([l(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],e.prototype,"handleDisabledChange",1),e=t([c("sd-6-6-0-radio")],e);export{e as a};
@@ -1,12 +1,12 @@
1
- import{a as B}from"./chunk.N3WG3NAL.js";import{a as K}from"./chunk.X2GM34WQ.js";import{a as k,d as _,e as U,f as $}from"./chunk.W7A3TU2Z.js";import{c as R}from"./chunk.3L472FD4.js";import{b as A}from"./chunk.CJ34NUTS.js";import{a as H}from"./chunk.PV6UYBMY.js";import{a as P}from"./chunk.CGQ2BPPZ.js";import{a as C,c as D}from"./chunk.B2NUKX6G.js";import{a as w}from"./chunk.KLRPP4NQ.js";import{a as I}from"./chunk.MP6XEXRW.js";import{a as M}from"./chunk.IQPMMUES.js";import{a as d}from"./chunk.YFQFOIEM.js";import{a as g}from"./chunk.NYKJXI3Q.js";import{a as F,b as r,c as u,d as m,h as E}from"./chunk.ALCKOGA7.js";import{b as V,e as p}from"./chunk.763RLJEK.js";import{b as S,e as T}from"./chunk.W4QBFD6E.js";import{e as l}from"./chunk.6EV4YU6C.js";var s=class extends E{constructor(){super(...arguments);this.formControlController=new A(this,{assumeInteractionOn:["sd-blur","sd-6-5-2-input"]});this.hasSlotController=new P(this,"help-text","label");this.localize=new M(this);this.hasFocus=!1;this.displayInputValue="";this.selectedTextLabel="";this.selectedOptions=[];this.filteredOptions=[];this.allOptions=[];this.showValidStyle=!1;this.showInvalidStyle=!1;this.deletedTagLabel="";this.name="";this.value="";this.defaultValue="";this.size="lg";this.placeholder="";this.maxOptionsTagLabel="";this.disabled=!1;this.visuallyDisabled=!1;this.clearable=!1;this.open=!1;this.hoist=!1;this.label="";this.placement="bottom";this.helpText="";this.form="";this.required=!1;this.floatingLabel=!1;this.type="text";this.currentPlacement=this.placement;this.getOption=K;this.multiple=!1;this.useTags=!0;this.maxOptionsVisible=3;this.styleOnValid=!1;this.filter=(t,e)=>{let i=$(t.value),a=$(t.getTextLabel()),n=$(e);return i.includes(n)||a.includes(n)};this.getTag=t=>p`<sd-6-5-2-tag ?disabled="${this.disabled}" part="tag" exportparts="
1
+ import{a as B}from"./chunk.N3WG3NAL.js";import{a as K}from"./chunk.X2GM34WQ.js";import{a as k,d as _,e as U,f as $}from"./chunk.W7A3TU2Z.js";import{c as R}from"./chunk.3L472FD4.js";import{b as A}from"./chunk.CJ34NUTS.js";import{a as H}from"./chunk.PV6UYBMY.js";import{a as P}from"./chunk.CGQ2BPPZ.js";import{a as C,c as D}from"./chunk.B2NUKX6G.js";import{a as w}from"./chunk.KLRPP4NQ.js";import{a as I}from"./chunk.MP6XEXRW.js";import{a as M}from"./chunk.IQPMMUES.js";import{a as d}from"./chunk.YFQFOIEM.js";import{a as g}from"./chunk.NYKJXI3Q.js";import{a as F,b as r,c as u,d as m,h as E}from"./chunk.CPBAZFMO.js";import{b as V,e as p}from"./chunk.763RLJEK.js";import{b as S,e as T}from"./chunk.W4QBFD6E.js";import{e as l}from"./chunk.6EV4YU6C.js";var s=class extends E{constructor(){super(...arguments);this.formControlController=new A(this,{assumeInteractionOn:["sd-blur","sd-6-6-0-input"]});this.hasSlotController=new P(this,"help-text","label");this.localize=new M(this);this.hasFocus=!1;this.displayInputValue="";this.selectedTextLabel="";this.selectedOptions=[];this.filteredOptions=[];this.allOptions=[];this.showValidStyle=!1;this.showInvalidStyle=!1;this.deletedTagLabel="";this.name="";this.value="";this.defaultValue="";this.size="lg";this.placeholder="";this.maxOptionsTagLabel="";this.disabled=!1;this.visuallyDisabled=!1;this.clearable=!1;this.open=!1;this.hoist=!1;this.label="";this.placement="bottom";this.helpText="";this.form="";this.required=!1;this.floatingLabel=!1;this.type="text";this.currentPlacement=this.placement;this.getOption=K;this.multiple=!1;this.useTags=!0;this.maxOptionsVisible=3;this.styleOnValid=!1;this.filter=(t,e)=>{let i=$(t.value),a=$(t.getTextLabel()),n=$(e);return i.includes(n)||a.includes(n)};this.getTag=t=>p`<sd-6-6-0-tag ?disabled="${this.disabled}" part="tag" exportparts="
2
2
  base:tag__base,
3
3
  content:tag__content,
4
4
  removable-indicator:tag__removable-indicator,
5
- " size="${this.size==="sm"?"sm":"lg"}" removable @keydown="${e=>this.handleTagKeyDown(e,t)}" @sd-remove="${e=>this.handleTagRemove(e,t)}">${t.getTextLabel()}</sd-6-5-2-tag>`;this.handleDocumentFocusIn=t=>{let e=t.composedPath();this&&!e.includes(this)&&this.hide()};this.handleDocumentKeyDown=t=>{let i=t.composedPath().some(o=>o instanceof HTMLButtonElement&&o.classList.contains("combobox-button"));if(this.visuallyDisabled){t.preventDefault(),t.stopPropagation();return}if(!(i||t.target.closest(".combobox__clear")!==null)){if(t.key==="Escape"&&(this.open?(t.preventDefault(),t.stopPropagation(),this.hide(),this.displayInput.focus({preventScroll:!0})):this.displayInputValue=""),t.key==="Backspace"&&this.multiple&&this.displayInput.value===""){this.handleTagRemove(new CustomEvent("sd-remove"),this.selectedOptions[this.selectedOptions.length-1]),this.updateComplete.then(()=>this.displayInput.focus({preventScroll:!0}));return}if(t.key==="Enter"){let o=this.getCurrentOption(),f=t.metaKey||t.ctrlKey||t.shiftKey||t.altKey;if(!this.open&&!f){setTimeout(()=>{t.defaultPrevented||this.formControlController.submit()});return}if(!this.open||o!=null&&o.disabled)return;if(o&&!o.disabled){let c=this.value;this.multiple?(this.toggleOptionSelection(o),this.lastOption=o,this.setOrderedSelectedOptions(o),this.updateComplete.then(()=>{this.selectionChanged()})):(this.setOrderedSelectedOptions(o),this.setSelectedOptions(o)),this.updateComplete.then(()=>{this.displayInput.focus({preventScroll:!0}),this.value!==c&&(this.emit("sd-input"),this.emit("sd-change"))})}this.displayInput.focus({preventScroll:!0}),this.multiple||(this.hide(),this.displayInput.focus({preventScroll:!0}));return}["ArrowUp","ArrowDown"].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),this.open||this.show(),this.selectNextOption(t.key==="ArrowDown")),["Home","End"].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),t.key==="Home"?this.displayInput.setSelectionRange(0,0):t.key==="End"&&this.displayInput.setSelectionRange(this.displayInput.value.length,this.displayInput.value.length))}};this.handleDocumentMouseDown=t=>{let e=t.composedPath();this&&!e.includes(this)&&this.hide()}}connectedCallback(){super.connectedCallback(),this.open=!1}firstUpdated(){if(!this.multiple){let t=this.findOptionByValue(this.getSlottedOptions(),this.value);this.selectedTextLabel=(t==null?void 0:t.getTextLabel())||""}this.formControlController.updateValidity()}get validity(){return this.valueInput.validity}get validationMessage(){return this.valueInput.validationMessage}get options(){let t=e=>{let i=this.displayInput.value,a=this.getOption(e,i);return e.tabIndex=0,p`${typeof a=="string"?I(a):a}`};return this.filteredOptions.map(e=>e.tagName.toLowerCase()==="sd-6-5-2-optgroup"?(Array.from(e.children).forEach(i=>{i.tagName.toLowerCase()==="sd-6-5-2-option"&&t(i)}),e):t(e))}get tags(){return this.selectedOptions.length<=this.maxOptionsVisible?this.selectedOptions.map((t,e)=>{if(e<this.maxOptionsVisible||this.maxOptionsVisible<=0){let i=this.getTag(t,e);return p`<div @sd-remove="${a=>this.handleTagRemove(a,t)}">${typeof i=="string"?I(i):i}</div>`}return[p``]}):[p`<sd-6-5-2-tag ?disabled="${this.disabled}" part="tag" exportparts="
5
+ " size="${this.size==="sm"?"sm":"lg"}" removable @keydown="${e=>this.handleTagKeyDown(e,t)}" @sd-remove="${e=>this.handleTagRemove(e,t)}">${t.getTextLabel()}</sd-6-6-0-tag>`;this.handleDocumentFocusIn=t=>{let e=t.composedPath();this&&!e.includes(this)&&this.hide()};this.handleDocumentKeyDown=t=>{let i=t.composedPath().some(o=>o instanceof HTMLButtonElement&&o.classList.contains("combobox-button"));if(this.visuallyDisabled){t.preventDefault(),t.stopPropagation();return}if(!(i||t.target.closest(".combobox__clear")!==null)){if(t.key==="Escape"&&(this.open?(t.preventDefault(),t.stopPropagation(),this.hide(),this.displayInput.focus({preventScroll:!0})):this.displayInputValue=""),t.key==="Backspace"&&this.multiple&&this.displayInput.value===""){this.handleTagRemove(new CustomEvent("sd-remove"),this.selectedOptions[this.selectedOptions.length-1]),this.updateComplete.then(()=>this.displayInput.focus({preventScroll:!0}));return}if(t.key==="Enter"){let o=this.getCurrentOption(),f=t.metaKey||t.ctrlKey||t.shiftKey||t.altKey;if(!this.open&&!f){setTimeout(()=>{t.defaultPrevented||this.formControlController.submit()});return}if(!this.open||o!=null&&o.disabled)return;if(o&&!o.disabled){let c=this.value;this.multiple?(this.toggleOptionSelection(o),this.lastOption=o,this.setOrderedSelectedOptions(o),this.updateComplete.then(()=>{this.selectionChanged()})):(this.setOrderedSelectedOptions(o),this.setSelectedOptions(o)),this.updateComplete.then(()=>{this.displayInput.focus({preventScroll:!0}),this.value!==c&&(this.emit("sd-input"),this.emit("sd-change"))})}this.displayInput.focus({preventScroll:!0}),this.multiple||(this.hide(),this.displayInput.focus({preventScroll:!0}));return}["ArrowUp","ArrowDown"].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),this.open||this.show(),this.selectNextOption(t.key==="ArrowDown")),["Home","End"].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),t.key==="Home"?this.displayInput.setSelectionRange(0,0):t.key==="End"&&this.displayInput.setSelectionRange(this.displayInput.value.length,this.displayInput.value.length))}};this.handleDocumentMouseDown=t=>{let e=t.composedPath();this&&!e.includes(this)&&this.hide()}}connectedCallback(){super.connectedCallback(),this.open=!1}firstUpdated(){if(!this.multiple){let t=this.findOptionByValue(this.getSlottedOptions(),this.value);this.selectedTextLabel=(t==null?void 0:t.getTextLabel())||""}this.formControlController.updateValidity()}get validity(){return this.valueInput.validity}get validationMessage(){return this.valueInput.validationMessage}get options(){let t=e=>{let i=this.displayInput.value,a=this.getOption(e,i);return e.tabIndex=0,p`${typeof a=="string"?I(a):a}`};return this.filteredOptions.map(e=>e.tagName.toLowerCase()==="sd-6-6-0-optgroup"?(Array.from(e.children).forEach(i=>{i.tagName.toLowerCase()==="sd-6-6-0-option"&&t(i)}),e):t(e))}get tags(){return this.selectedOptions.length<=this.maxOptionsVisible?this.selectedOptions.map((t,e)=>{if(e<this.maxOptionsVisible||this.maxOptionsVisible<=0){let i=this.getTag(t,e);return p`<div @sd-remove="${a=>this.handleTagRemove(a,t)}">${typeof i=="string"?I(i):i}</div>`}return[p``]}):[p`<sd-6-6-0-tag ?disabled="${this.disabled}" part="tag" exportparts="
6
6
  base:tag__base,
7
7
  content:tag__content,
8
8
  removable-indicator:tag__removable-indicator,
9
- " size="${this.size==="sm"?"sm":"lg"}" removable @keydown="${t=>this.handleTagMaxOptionsKeyDown(t)}" @sd-remove="${t=>this.handleTagRemove(t)}">${this.selectedOptions.length} ${this.localize.term("tagsSelected")}</sd-6-5-2-tag>`]}addOpenListeners(){document.addEventListener("focusin",this.handleDocumentFocusIn),document.addEventListener("mousedown",this.handleDocumentMouseDown),this.getRootNode()!==document&&this.getRootNode().addEventListener("focusin",this.handleDocumentFocusIn)}removeOpenListeners(){document.removeEventListener("focusin",this.handleDocumentFocusIn),document.removeEventListener("mousedown",this.handleDocumentMouseDown),this.getRootNode()!==document&&this.getRootNode().removeEventListener("focusin",this.handleDocumentFocusIn)}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleTagKeyDown(t,e){(t.key==="Backspace"||t.key==="Enter"||t.key===" ")&&this.multiple&&(t.preventDefault(),t.stopPropagation(),this.handleTagRemove(new CustomEvent("sd-remove"),e),this.updateComplete.then(()=>this.displayInput.focus({preventScroll:!0})))}handleTagMaxOptionsKeyDown(t){(t.key==="Backspace"||t.key==="Enter"||t.key===" ")&&this.multiple&&(t.preventDefault(),t.stopPropagation(),this.handleTagRemove(new CustomEvent("sd-remove"),this.selectedOptions[this.selectedOptions.length-1]),this.updateComplete.then(()=>this.displayInput.focus({preventScroll:!0})))}handleLabelClick(){this.visuallyDisabled||this.displayInput.focus()}handleTagRemove(t,e){t.stopPropagation(),e||this.clearCombobox(),e&&!this.disabled&&(this.toggleOptionSelection(e,!1),this.setOrderedSelectedOptions(e),this.deletedTagLabel="",this.deletedTagLabel=this.localize.term("removed",e.textContent),this.updateComplete.then(()=>{this.selectionChanged(),this.emit("sd-input"),this.emit("sd-change")}))}handleComboboxMouseDown(t){if(this.visuallyDisabled){t.preventDefault(),t.stopPropagation();return}let i=t.composedPath().some(n=>n instanceof HTMLSlotElement&&n.name==="removable-indicator");if(this.disabled||i)return;(this.open?this.hide():this.show()).then(()=>{setTimeout(()=>this.displayInput.focus({preventScroll:!0}))})}handleComboboxKeyDown(t){t.key!=="Tab"&&this.handleDocumentKeyDown(t)}handleClearClick(t){t.stopPropagation(),this.clearCombobox()}handleNoResultsClick(t){t.preventDefault(),this.hide()}clearCombobox(){this.value!==""&&(this.value="",this.displayInputValue="",this.selectedTextLabel="",this.lastOption=void 0,this.selectedOptions=[],this.getSlottedOptions().forEach(t=>{t.selected=!1}),this.displayInput.focus({preventScroll:!0}),this.updateComplete.then(()=>{this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change")}))}preventLoosingFocus(t){t.stopPropagation(),t.preventDefault()}handleOptionClick(t){let i=t.target.closest("sd-6-5-2-option"),a=this.value;i&&!i.disabled&&(this.multiple?(this.toggleOptionSelection(i),this.lastOption=i,this.setOrderedSelectedOptions(i),this.updateComplete.then(()=>{this.selectionChanged()})):(this.setOrderedSelectedOptions(i),this.setSelectedOptions(i)),this.updateComplete.then(()=>{this.displayInput.focus({preventScroll:!0}),this.value!==a&&(this.emit("sd-input"),this.emit("sd-change"))}),this.multiple||(this.hide(),this.displayInput.focus({preventScroll:!0})))}selectNextOption(t){let e=this.getAllFilteredOptions();if(e.length===0)return;let i=this.getCurrentOption(),a=e.indexOf(i),n=Math.max(0,a);if(t){let o=a+1;n=o>e.length-1?0:o}else{let o=a-1;n=o<0?e.length-1:o}this.setCurrentOption(e[n],new KeyboardEvent("keydown")),R(this.getCurrentOption(),this.listbox,"vertical","auto")}getAllFilteredOptions(){return[...this.filteredWrapper.querySelectorAll("sd-6-5-2-option")]}getCurrentOption(){return this.getAllFilteredOptions().find(t=>t.current)}setCurrentOption(t,e){let i=this.getAllFilteredOptions();this.displayInput.removeAttribute("aria-activedescendant"),i.forEach(a=>{a.current=!1,a.setAttribute("aria-selected","false"),a.isKeyboardFocus=!1}),t&&(t.current=!0,t.setAttribute("aria-selected","true"),this.displayInput.setAttribute("aria-activedescendant",t.id)),t&&(e==null?void 0:e.type)==="keydown"&&(t.isKeyboardFocus=!0)}toggleOptionSelection(t,e){let a=this.getSlottedOptions().find(n=>n.value&&t.value?n.value===t.value:n.getTextLabel()===t.getTextLabel());a&&(a.selected=e!=null?e:!a.selected)}findOptionByValue(t,e){if(e)return Array.isArray(e)?t.find(i=>e.includes(i.value)):t.find(i=>i.value===e)}selectedOptionsAndValueSynced(){var t;return!this.value&&this.selectedOptions.length===0?!0:Array.isArray(this.value)?this.value.length===this.selectedOptions.length:this.value===((t=this.selectedOptions[0])==null?void 0:t.value)}isOptionSelected(t){return t.value?this.value.includes(t.value):this.value.includes(t.getTextLabel())}syncSelectedOptionsAndValue(){return this.selectedOptionsAndValueSynced()?void 0:(this.getSlottedOptions().forEach(e=>{e.selected=!1}),this.selectedOptions=this.getSlottedOptions().filter(e=>this.isOptionSelected(e)),this.selectedOptions.forEach(e=>{e&&(e.selected=!0)}),Promise.resolve())}compareOptions(t,e){return t.value&&e.value?t.value===e.value:t.getTextLabel()===e.getTextLabel()}setSelectedOptions(t){this.getSlottedOptions().forEach(i=>{i.selected=this.compareOptions(i,t)}),this.selectionChanged()}setOrderedSelectedOptions(t){let e=this.getSlottedOptions().find(i=>this.compareOptions(i,t));this.multiple?this.selectedOptions.length>0&&e&&this.selectedOptions.find(i=>this.compareOptions(i,e))?this.selectedOptions=this.selectedOptions.filter(i=>!this.compareOptions(i,e)):this.selectedOptions=[...this.selectedOptions,e]:this.selectedOptions=[e]}selectionChanged(){var e,i,a;let t=this.selectedOptions.some(n=>n?this.isOptionSelected(n):!1);this.multiple?(!t&&this.selectedOptions.length>0?this.value=[...this.value,...this.selectedOptions.map(n=>n.value||n.getTextLabel())]:this.value=this.selectedOptions.map(n=>(n==null?void 0:n.value)||(n==null?void 0:n.getTextLabel())||""),this.displayInputValue=""):(this.value=((e=this.selectedOptions[0])==null?void 0:e.value)||((i=this.selectedOptions[0])==null?void 0:i.getTextLabel())||"",this.selectedTextLabel=((a=this.selectedOptions[0])==null?void 0:a.getTextLabel())||"",this.displayInputValue=""),this.updateComplete.then(()=>{this.formControlController.updateValidity()})}createComboboxOptionsFromQuery(t){let e=[];this.filteredOptions=this.getSlottedOptions().filter(i=>this.filter(i,t)||t==="").map(i=>{var O,v,x;let a=i.cloneNode(!0);if(a.current=a.value===((O=this.lastOption)==null?void 0:O.value),a.selected=i.selected,a.checkbox=i.checkbox,a.size=i.size,!(((v=i.parentElement)==null?void 0:v.tagName.toLowerCase())==="sd-6-5-2-optgroup"))return a;let o=i.parentElement,f=(x=o.querySelector('[slot="label"]'))==null?void 0:x.cloneNode(!0),c=e.find(b=>b.id===o.id);if(c){c==null||c.appendChild(a),f&&(c==null||c.appendChild(f));return}let h=o.cloneNode();return h.appendChild(a),f&&h.appendChild(f),e.push(h),h}).filter(Boolean)}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}handleCurrentPlacement(t){let e=t.detail;e&&(this.currentPlacement=e)}handleFilterChange(){this.createComboboxOptionsFromQuery(this.displayInputValue)}handleUseTagsChange(){let t=this.getAllFilteredOptions();customElements.get("sd-6-5-2-option")&&t.forEach(e=>{e.checkbox=this.multiple})}applySizeToOptions(){this.getSlottedOptions().forEach(t=>{t.size=this.size})}handleDisabledChange(){this.formControlController.setValidity(this.disabled),(this.disabled||this.visuallyDisabled)&&(this.open=!1,this.handleOpenChange())}handleValueChange(){this.syncSelectedOptionsAndValue(),this.multiple?this.createComboboxOptionsFromQuery(this.displayInput.value):this.createComboboxOptionsFromQuery("")}handleDisplayInputValueChange(){this.createComboboxOptionsFromQuery(this.displayInputValue)}async handleOpenChange(){if(this.open&&(!this.disabled||!this.visuallyDisabled)){this.emit("sd-show"),this.addOpenListeners(),await T(this),this.listbox.hidden=!1,this.popup.active=!0;let{keyframes:i,options:a}=D(this,"combobox.show",{dir:this.localize.dir()});await S(this.popup.popup,i,a),this.emit("sd-after-show"),this.filteredOptions.length===0&&this.emit("sd-error");return}this.setCurrentOption(null),this.displayInput.removeAttribute("aria-activedescendant"),this.emit("sd-hide"),this.removeOpenListeners(),await T(this);let{keyframes:t,options:e}=D(this,"combobox.hide",{dir:this.localize.dir()});await S(this.popup.popup,t,e),this.listbox.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}async show(){if(this.open||this.disabled||this.visuallyDisabled){this.open=!1;return}return this.open=!0,Promise.race([w(this,"sd-after-show"),w(this,"sd-error")])}async hide(){if(!this.open||this.disabled){this.open=!1;return}return this.displayInputValue="",this.open=!1,w(this,"sd-after-hide")}checkValidity(){return this.valueInput.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.valueInput.reportValidity()}setCustomValidity(t){this.valueInput.setCustomValidity(t),this.formControlController.updateValidity()}focus(t){this.displayInput.focus(t)}blur(){this.displayInput.blur()}async handleInput(){let t=this.displayInput.value;this.displayInputValue=t,await this.updateComplete,this.open=this.filteredWrapper.children.length>0,this.formControlController.updateValidity(),this.emit("sd-input")}handleChange(){(!this.selectedOptions||!this.multiple)&&(this.selectedTextLabel=this.displayInput.value,this.updateComplete.then(()=>{this.formControlController.updateValidity()}),this.emit("sd-change"))}getSlottedOptions(){return _(k(this.defaultSlot)).flat()}getSlottedOptGroups(){return U(k(this.defaultSlot))}async handleDefaultSlotChange(){if(!customElements.get("sd-6-5-2-option")){customElements.whenDefined("sd-6-5-2-option").then(()=>this.handleDefaultSlotChange());return}let t=this.getSlottedOptions(),e=this.getSlottedOptGroups();this.applySizeToOptions();let i=this.findOptionByValue(t,this.value);this.selectedTextLabel=(i==null?void 0:i.getTextLabel())||"",t.forEach((a,n)=>{this.multiple&&(a.checkbox=!0),a.id=a.id||`sd-6-5-2-combobox-option-${n}`}),e.forEach((a,n)=>{a.id=a.id||`sd-6-5-2-combobox-optgroup-${n}`}),await this.syncSelectedOptionsAndValue(),this.multiple?this.createComboboxOptionsFromQuery(this.displayInputValue):this.createComboboxOptionsFromQuery("")}render(){let t={left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right")},e=this.hasSlotController.test("label"),i=this.hasSlotController.test("help-text"),a=this.label?!0:!!e,n=this.helpText?!0:!!i,o=this.clearable&&!this.disabled&&!this.visuallyDisabled,f=t.left,c=this.value!==null&&String(this.value).length>0,h=this.floatingLabel&&a&&(this.hasFocus||c),O=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus||this.open?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",v=this.disabled||this.visuallyDisabled?"cursor-not-allowed":"cursor-pointer",x=this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary",b={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],z={sm:"mr-1",md:"mr-2",lg:"mr-2"}[this.size],y={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size],N=this.size==="lg"?this.floatingLabel?h?"py-3":"py-4":"py-2":this.floatingLabel?h?"py-2":"py-3":"py-1",q={sm:"left-[36px]",md:"left-[44px]",lg:"left-12"}[this.size];return p`<div part="form-control" class="${d("relative text-left",v,this.size==="sm"?"text-sm":"text-base",this.open&&"z-50")}">${a&&!this.floatingLabel?p`<div class="flex items-center gap-1 mb-2"><label id="label" part="form-control-label" class="${a&&"inline-block form-control-color-text"}" aria-hidden="${a?"false":"true"}" @click="${this.handleLabelClick}"><slot name="label">${this.label}</slot></label></div>`:null} <span aria-live="polite" class="sr-only">${this.deletedTagLabel}</span><div part="form-control-input" class="relative w-full bg-white text-black">${a&&this.floatingLabel?p`<label id="label" part="form-control-floating-label" class="${d("absolute left-4 z-20 pointer-events-none transition-all duration-200",f?q:"left-4",h?this.size==="lg"?"top-2 text-xs":"top-1 text-xs":"top-1/2 -translate-y-1/2 text-base",h&&"mt-1")}" for="input"><span class="${d("leading-none",(this.visuallyDisabled||this.disabled)&&"text-neutral-500",h&&!this.visuallyDisabled&&!this.disabled&&"form-control--filled__floating-label-color-text")}">${this.label}</span></label>`:null}<div part="border" class="${d("absolute top-0 w-full h-full pointer-events-none border rounded-default z-10 transition-[border] duration-medium ease-in-out",{disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",readonly:"form-control-color-border",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"form-control-color-border"}[O],this.open&&(this.currentPlacement==="bottom"?"rounded-bl-none rounded-br-none":"rounded-tl-none rounded-tr-none"))}"></div><sd-6-5-2-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${d("inline-flex relative w-full",this.currentPlacement==="bottom"?"origin-top":"origin-bottom")}" placement="${this.placement}" strategy="${this.hoist?"fixed":"absolute"}" flip shift sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
9
+ " size="${this.size==="sm"?"sm":"lg"}" removable @keydown="${t=>this.handleTagMaxOptionsKeyDown(t)}" @sd-remove="${t=>this.handleTagRemove(t)}">${this.selectedOptions.length} ${this.localize.term("tagsSelected")}</sd-6-6-0-tag>`]}addOpenListeners(){document.addEventListener("focusin",this.handleDocumentFocusIn),document.addEventListener("mousedown",this.handleDocumentMouseDown),this.getRootNode()!==document&&this.getRootNode().addEventListener("focusin",this.handleDocumentFocusIn)}removeOpenListeners(){document.removeEventListener("focusin",this.handleDocumentFocusIn),document.removeEventListener("mousedown",this.handleDocumentMouseDown),this.getRootNode()!==document&&this.getRootNode().removeEventListener("focusin",this.handleDocumentFocusIn)}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleTagKeyDown(t,e){(t.key==="Backspace"||t.key==="Enter"||t.key===" ")&&this.multiple&&(t.preventDefault(),t.stopPropagation(),this.handleTagRemove(new CustomEvent("sd-remove"),e),this.updateComplete.then(()=>this.displayInput.focus({preventScroll:!0})))}handleTagMaxOptionsKeyDown(t){(t.key==="Backspace"||t.key==="Enter"||t.key===" ")&&this.multiple&&(t.preventDefault(),t.stopPropagation(),this.handleTagRemove(new CustomEvent("sd-remove"),this.selectedOptions[this.selectedOptions.length-1]),this.updateComplete.then(()=>this.displayInput.focus({preventScroll:!0})))}handleLabelClick(){this.visuallyDisabled||this.displayInput.focus()}handleTagRemove(t,e){t.stopPropagation(),e||this.clearCombobox(),e&&!this.disabled&&(this.toggleOptionSelection(e,!1),this.setOrderedSelectedOptions(e),this.deletedTagLabel="",this.deletedTagLabel=this.localize.term("removed",e.textContent),this.updateComplete.then(()=>{this.selectionChanged(),this.emit("sd-input"),this.emit("sd-change")}))}handleComboboxMouseDown(t){if(this.visuallyDisabled){t.preventDefault(),t.stopPropagation();return}let i=t.composedPath().some(n=>n instanceof HTMLSlotElement&&n.name==="removable-indicator");if(this.disabled||i)return;(this.open?this.hide():this.show()).then(()=>{setTimeout(()=>this.displayInput.focus({preventScroll:!0}))})}handleComboboxKeyDown(t){t.key!=="Tab"&&this.handleDocumentKeyDown(t)}handleClearClick(t){t.stopPropagation(),this.clearCombobox()}handleNoResultsClick(t){t.preventDefault(),this.hide()}clearCombobox(){this.value!==""&&(this.value="",this.displayInputValue="",this.selectedTextLabel="",this.lastOption=void 0,this.selectedOptions=[],this.getSlottedOptions().forEach(t=>{t.selected=!1}),this.displayInput.focus({preventScroll:!0}),this.updateComplete.then(()=>{this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change")}))}preventLoosingFocus(t){t.stopPropagation(),t.preventDefault()}handleOptionClick(t){let i=t.target.closest("sd-6-6-0-option"),a=this.value;i&&!i.disabled&&(this.multiple?(this.toggleOptionSelection(i),this.lastOption=i,this.setOrderedSelectedOptions(i),this.updateComplete.then(()=>{this.selectionChanged()})):(this.setOrderedSelectedOptions(i),this.setSelectedOptions(i)),this.updateComplete.then(()=>{this.displayInput.focus({preventScroll:!0}),this.value!==a&&(this.emit("sd-input"),this.emit("sd-change"))}),this.multiple||(this.hide(),this.displayInput.focus({preventScroll:!0})))}selectNextOption(t){let e=this.getAllFilteredOptions();if(e.length===0)return;let i=this.getCurrentOption(),a=e.indexOf(i),n=Math.max(0,a);if(t){let o=a+1;n=o>e.length-1?0:o}else{let o=a-1;n=o<0?e.length-1:o}this.setCurrentOption(e[n],new KeyboardEvent("keydown")),R(this.getCurrentOption(),this.listbox,"vertical","auto")}getAllFilteredOptions(){return[...this.filteredWrapper.querySelectorAll("sd-6-6-0-option")]}getCurrentOption(){return this.getAllFilteredOptions().find(t=>t.current)}setCurrentOption(t,e){let i=this.getAllFilteredOptions();this.displayInput.removeAttribute("aria-activedescendant"),i.forEach(a=>{a.current=!1,a.setAttribute("aria-selected","false"),a.isKeyboardFocus=!1}),t&&(t.current=!0,t.setAttribute("aria-selected","true"),this.displayInput.setAttribute("aria-activedescendant",t.id)),t&&(e==null?void 0:e.type)==="keydown"&&(t.isKeyboardFocus=!0)}toggleOptionSelection(t,e){let a=this.getSlottedOptions().find(n=>n.value&&t.value?n.value===t.value:n.getTextLabel()===t.getTextLabel());a&&(a.selected=e!=null?e:!a.selected)}findOptionByValue(t,e){if(e)return Array.isArray(e)?t.find(i=>e.includes(i.value)):t.find(i=>i.value===e)}selectedOptionsAndValueSynced(){var t;return!this.value&&this.selectedOptions.length===0?!0:Array.isArray(this.value)?this.value.length===this.selectedOptions.length:this.value===((t=this.selectedOptions[0])==null?void 0:t.value)}isOptionSelected(t){return t.value?this.value.includes(t.value):this.value.includes(t.getTextLabel())}syncSelectedOptionsAndValue(){return this.selectedOptionsAndValueSynced()?void 0:(this.getSlottedOptions().forEach(e=>{e.selected=!1}),this.selectedOptions=this.getSlottedOptions().filter(e=>this.isOptionSelected(e)),this.selectedOptions.forEach(e=>{e&&(e.selected=!0)}),Promise.resolve())}compareOptions(t,e){return t.value&&e.value?t.value===e.value:t.getTextLabel()===e.getTextLabel()}setSelectedOptions(t){this.getSlottedOptions().forEach(i=>{i.selected=this.compareOptions(i,t)}),this.selectionChanged()}setOrderedSelectedOptions(t){let e=this.getSlottedOptions().find(i=>this.compareOptions(i,t));this.multiple?this.selectedOptions.length>0&&e&&this.selectedOptions.find(i=>this.compareOptions(i,e))?this.selectedOptions=this.selectedOptions.filter(i=>!this.compareOptions(i,e)):this.selectedOptions=[...this.selectedOptions,e]:this.selectedOptions=[e]}selectionChanged(){var e,i,a;let t=this.selectedOptions.some(n=>n?this.isOptionSelected(n):!1);this.multiple?(!t&&this.selectedOptions.length>0?this.value=[...this.value,...this.selectedOptions.map(n=>n.value||n.getTextLabel())]:this.value=this.selectedOptions.map(n=>(n==null?void 0:n.value)||(n==null?void 0:n.getTextLabel())||""),this.displayInputValue=""):(this.value=((e=this.selectedOptions[0])==null?void 0:e.value)||((i=this.selectedOptions[0])==null?void 0:i.getTextLabel())||"",this.selectedTextLabel=((a=this.selectedOptions[0])==null?void 0:a.getTextLabel())||"",this.displayInputValue=""),this.updateComplete.then(()=>{this.formControlController.updateValidity()})}createComboboxOptionsFromQuery(t){let e=[];this.filteredOptions=this.getSlottedOptions().filter(i=>this.filter(i,t)||t==="").map(i=>{var O,v,x;let a=i.cloneNode(!0);if(a.current=a.value===((O=this.lastOption)==null?void 0:O.value),a.selected=i.selected,a.checkbox=i.checkbox,a.size=i.size,!(((v=i.parentElement)==null?void 0:v.tagName.toLowerCase())==="sd-6-6-0-optgroup"))return a;let o=i.parentElement,f=(x=o.querySelector('[slot="label"]'))==null?void 0:x.cloneNode(!0),c=e.find(b=>b.id===o.id);if(c){c==null||c.appendChild(a),f&&(c==null||c.appendChild(f));return}let h=o.cloneNode();return h.appendChild(a),f&&h.appendChild(f),e.push(h),h}).filter(Boolean)}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}handleCurrentPlacement(t){let e=t.detail;e&&(this.currentPlacement=e)}handleFilterChange(){this.createComboboxOptionsFromQuery(this.displayInputValue)}handleUseTagsChange(){let t=this.getAllFilteredOptions();customElements.get("sd-6-6-0-option")&&t.forEach(e=>{e.checkbox=this.multiple})}applySizeToOptions(){this.getSlottedOptions().forEach(t=>{t.size=this.size})}handleDisabledChange(){this.formControlController.setValidity(this.disabled),(this.disabled||this.visuallyDisabled)&&(this.open=!1,this.handleOpenChange())}handleValueChange(){this.syncSelectedOptionsAndValue(),this.multiple?this.createComboboxOptionsFromQuery(this.displayInput.value):this.createComboboxOptionsFromQuery("")}handleDisplayInputValueChange(){this.createComboboxOptionsFromQuery(this.displayInputValue)}async handleOpenChange(){if(this.open&&(!this.disabled||!this.visuallyDisabled)){this.emit("sd-show"),this.addOpenListeners(),await T(this),this.listbox.hidden=!1,this.popup.active=!0;let{keyframes:i,options:a}=D(this,"combobox.show",{dir:this.localize.dir()});await S(this.popup.popup,i,a),this.emit("sd-after-show"),this.filteredOptions.length===0&&this.emit("sd-error");return}this.setCurrentOption(null),this.displayInput.removeAttribute("aria-activedescendant"),this.emit("sd-hide"),this.removeOpenListeners(),await T(this);let{keyframes:t,options:e}=D(this,"combobox.hide",{dir:this.localize.dir()});await S(this.popup.popup,t,e),this.listbox.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}async show(){if(this.open||this.disabled||this.visuallyDisabled){this.open=!1;return}return this.open=!0,Promise.race([w(this,"sd-after-show"),w(this,"sd-error")])}async hide(){if(!this.open||this.disabled){this.open=!1;return}return this.displayInputValue="",this.open=!1,w(this,"sd-after-hide")}checkValidity(){return this.valueInput.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.valueInput.reportValidity()}setCustomValidity(t){this.valueInput.setCustomValidity(t),this.formControlController.updateValidity()}focus(t){this.displayInput.focus(t)}blur(){this.displayInput.blur()}async handleInput(){let t=this.displayInput.value;this.displayInputValue=t,await this.updateComplete,this.open=this.filteredWrapper.children.length>0,this.formControlController.updateValidity(),this.emit("sd-input")}handleChange(){(!this.selectedOptions||!this.multiple)&&(this.selectedTextLabel=this.displayInput.value,this.updateComplete.then(()=>{this.formControlController.updateValidity()}),this.emit("sd-change"))}getSlottedOptions(){return _(k(this.defaultSlot)).flat()}getSlottedOptGroups(){return U(k(this.defaultSlot))}async handleDefaultSlotChange(){if(!customElements.get("sd-6-6-0-option")){customElements.whenDefined("sd-6-6-0-option").then(()=>this.handleDefaultSlotChange());return}let t=this.getSlottedOptions(),e=this.getSlottedOptGroups();this.applySizeToOptions();let i=this.findOptionByValue(t,this.value);this.selectedTextLabel=(i==null?void 0:i.getTextLabel())||"",t.forEach((a,n)=>{this.multiple&&(a.checkbox=!0),a.id=a.id||`sd-6-6-0-combobox-option-${n}`}),e.forEach((a,n)=>{a.id=a.id||`sd-6-6-0-combobox-optgroup-${n}`}),await this.syncSelectedOptionsAndValue(),this.multiple?this.createComboboxOptionsFromQuery(this.displayInputValue):this.createComboboxOptionsFromQuery("")}render(){let t={left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right")},e=this.hasSlotController.test("label"),i=this.hasSlotController.test("help-text"),a=this.label?!0:!!e,n=this.helpText?!0:!!i,o=this.clearable&&!this.disabled&&!this.visuallyDisabled,f=t.left,c=this.value!==null&&String(this.value).length>0,h=this.floatingLabel&&a&&(this.hasFocus||c),O=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus||this.open?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",v=this.disabled||this.visuallyDisabled?"cursor-not-allowed":"cursor-pointer",x=this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary",b={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],z={sm:"mr-1",md:"mr-2",lg:"mr-2"}[this.size],y={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size],N=this.size==="lg"?this.floatingLabel?h?"py-3":"py-4":"py-2":this.floatingLabel?h?"py-2":"py-3":"py-1",q={sm:"left-[36px]",md:"left-[44px]",lg:"left-12"}[this.size];return p`<div part="form-control" class="${d("relative text-left",v,this.size==="sm"?"text-sm":"text-base",this.open&&"z-50")}">${a&&!this.floatingLabel?p`<div class="flex items-center gap-1 mb-2"><label id="label" part="form-control-label" class="${a&&"inline-block form-control-color-text"}" aria-hidden="${a?"false":"true"}" @click="${this.handleLabelClick}"><slot name="label">${this.label}</slot></label></div>`:null} <span aria-live="polite" class="sr-only">${this.deletedTagLabel}</span><div part="form-control-input" class="relative w-full bg-white text-black">${a&&this.floatingLabel?p`<label id="label" part="form-control-floating-label" class="${d("absolute left-4 z-20 pointer-events-none transition-all duration-200",f?q:"left-4",h?this.size==="lg"?"top-2 text-xs":"top-1 text-xs":"top-1/2 -translate-y-1/2 text-base",h&&"mt-1")}" for="input"><span class="${d("leading-none",(this.visuallyDisabled||this.disabled)&&"text-neutral-500",h&&!this.visuallyDisabled&&!this.disabled&&"form-control--filled__floating-label-color-text")}">${this.label}</span></label>`:null}<div part="border" class="${d("absolute top-0 w-full h-full pointer-events-none border rounded-default z-10 transition-[border] duration-medium ease-in-out",{disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",readonly:"form-control-color-border",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"form-control-color-border"}[O],this.open&&(this.currentPlacement==="bottom"?"rounded-bl-none rounded-br-none":"rounded-tl-none rounded-tr-none"))}"></div><sd-6-6-0-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${d("inline-flex relative w-full",this.currentPlacement==="bottom"?"origin-top":"origin-bottom")}" placement="${this.placement}" strategy="${this.hoist?"fixed":"absolute"}" flip shift sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
10
10
  popup:popup__content,
11
- "><div part="combobox" class="${d("relative w-full px-4 flex flex-row items-center rounded-default transition-colors hover:duration-fast ease-in-out",this.visuallyDisabled||this.disabled?"hover:bg-transparent":"hover:bg-neutral-200",this.open&&"shadow transition-shadow duration-medium ease-in-out",["invalid","activeInvalid"].includes(O)&&"form-control--invalid-color-background",{sm:"py-1 min-h-[32px]",md:"py-1 min-h-[40px]",lg:"py-2 min-h-[48px]"}[this.size],N)}" slot="anchor" @keydown="${this.handleComboboxKeyDown}" @mousedown="${this.handleComboboxMouseDown}">${t.left?p`<slot part="left" name="left" class="${d("inline-flex",z,x,y)}"></slot>`:""} ${this.multiple&&this.useTags&&this.tags.length>0?p`<div part="tags" class="${d("flex items-center gap-1",z,this.floatingLabel&&"mt-4")}">${this.tags}</div>`:null} <input id="display-input" name="${this.name}" form="${this.form}" part="display-input" class="${d("appearance-none outline-none bg-transparent flex-auto min-w-0",v,this.selectedTextLabel&&!this.multiple?"placeholder:form-control-color-text":"placeholder:text-neutral-700",this.size==="sm"?h?"h-4":"h-6":h?"h-6":"h-8",h&&"leading-none mt-4")}" type="text" placeholder="${!this.floatingLabel||h?this.selectedTextLabel&&!this.multiple?this.selectedTextLabel:this.placeholder||this.localize.term("comboboxDefaultPlaceholder"):""}" .disabled="${this.disabled}" .value="${this.displayInputValue}" autocomplete="off" spellcheck="false" autocapitalize="off" aria-controls="listbox" aria-expanded="${this.open}" aria-haspopup="listbox" aria-labelledby="label" aria-disabled="${this.disabled||this.visuallyDisabled}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" role="combobox" tabindex="0" @focus="${this.handleFocus}" @blur="${this.handleBlur}" aria-autocomplete="list" aria-owns="listbox" @input="${this.handleInput}" @change="${this.handleChange}"><div aria-live="polite" id="control-value" class="absolute top-0 left-0 opacity-0 -z-10">${this.selectedOptions.map(L=>L==null?void 0:L.getTextLabel()).join(", ")}</div><input class="${d("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10",v)}" type="text" ?disabled="${this.disabled}" ?required="${this.required}" .value="${Array.isArray(this.value)?this.value.join(", "):this.value}" tabindex="-1" aria-controls="control-value" aria-hidden="true" @focus="${()=>this.focus()}" @invalid="${this.handleInvalid}"> ${o?p`<button part="clear-button" class="${d("flex justify-center",b,this.value.length>0?"visible":"invisible")}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.preventLoosingFocus}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-6-5-2-icon class="${d("text-neutral-700",y)}" name="closing-round" library="_internal"></sd-6-5-2-icon></slot></button>`:""} ${this.showInvalidStyle?p`<sd-6-5-2-icon part="invalid-icon" class="${d(b,y,"text-error")}" library="_internal" name="risk"></sd-6-5-2-icon>`:""} ${this.styleOnValid&&this.showValidStyle?p`<sd-6-5-2-icon part="valid-icon" class="${d("flex-shrink-0 text-success",b,y)}" library="_internal" name="confirm-circle"></sd-6-5-2-icon>`:""}<slot name="right" part="right" class="${d("inline-flex ml-2 leading-[0]",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary",y)}">${this.type!=="search"?p`<sd-6-5-2-icon class="${d("transition-transform duration-medium ease-in-out",this.open?"rotate-180":"rotate-0")}" name="chevron-down" part="chevron" library="_internal" color="currentColor" label="${this.localize.term("open")}"></sd-6-5-2-icon>`:""}</slot>${this.type==="search"?p`<button class="${d("flex items-center sd-interactive",b)}" type="button"><sd-6-5-2-icon class="${d(x,y)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-6-5-2-icon></button>`:p`<button class="sd-interactive combobox-button absolute top-2" @keydown="${this.handleComboboxMouseDown}" type="button"><span class="sr-only">${this.localize.term("open")}</span></button>`}</div><div id="listbox" role="${H(this.multiple?void 0:"listbox")}" aria-expanded="${this.open}" aria-multiselectable="${this.multiple}" aria-labelledby="label" part="listbox" class="${d("bg-white px-2 py-3 relative border-primary overflow-y-auto",this.open&&"shadow transition-shadow duration-medium ease-in-out",this.currentPlacement==="bottom"?"border-r-2 border-b-2 border-l-2 rounded-br-default rounded-bl-default":"border-r-2 border-t-2 border-l-2 rounded-tr-default rounded-tl-default")}" tabindex="-1" @mousedown="${this.preventLoosingFocus}" @mouseup="${this.handleOptionClick}"><div part="filtered-listbox">${this.filteredOptions.length===0?p`<span id="noResults" class="px-4 flex items-center w-full transition-all text-left text-base relative text-black py-3" aria-hidden="true" @click="${this.handleNoResultsClick}">${this.localize.term("noResults")}</span>`:this.options}</div><slot id="defaultOptionsSlot" class="hidden" @slotchange="${this.handleDefaultSlotChange}"></slot></div></sd-6-5-2-popup></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${d("text-sm text-neutral-700 mt-1",n?"block":"hidden")}" aria-hidden="${!n}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage(this.size)}`}};s.styles=[...E.styles,V`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
12
- :host{position:relative;display:block;width:100%}:host([required]) #label::after{content:' *'}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{color:rgba(var(--sd-color-text-neutral-500))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{color:rgba(var(--sd-color-text-neutral-500))}:host([visually-disabled]) input{caret-color:transparent}:host([size=sm]) .combobox-button{right:var(--sd-spacing-4);height:var(--sd-spacing-4);width:var(--sd-spacing-4)}:host([size=md]) .combobox-button{right:.85rem;height:var(--sd-spacing-6);width:var(--sd-spacing-6)}:host([size=lg]) .combobox-button{right:var(--sd-spacing-3);height:var(--sd-spacing-8);width:var(--sd-spacing-8)}[part=listbox]{max-height:var(--auto-size-available-height,auto)}sd-6-5-2-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-6-5-2-tag::part(base){border-radius:var(--sd-radius);padding-inline:var(--sd-spacing-1)}sd-6-5-2-tag::part(content){display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:var(--tag-max-width,15ch)}sd-6-5-2-tag[size=lg]::part(base){padding-inline:var(--sd-spacing-2)}sd-6-5-2-tag[disabled=false]::part(base):hover{background-color:rgba(var(--sd-color-background-primary-100))}[part=filtered-listbox] sd-6-5-2-optgroup:first-of-type{--display-divider:none}mark{background-color:transparent;--tw-font-weight:var(--sd-font-weight-bold);font-weight:var(--sd-font-weight-bold);color:inherit}@property --tw-font-weight{syntax:"*";inherits:false}`],l([m("sd-6-5-2-popup")],s.prototype,"popup",2),l([m('[part="combobox"]')],s.prototype,"combobox",2),l([m('[part="display-input"]')],s.prototype,"displayInput",2),l([m(".value-input")],s.prototype,"valueInput",2),l([m('[part="listbox"]')],s.prototype,"listbox",2),l([m('[part="tags"]')],s.prototype,"tagWrapper",2),l([m('[part="filtered-listbox"]')],s.prototype,"filteredWrapper",2),l([m("slot:not([name])")],s.prototype,"defaultSlot",2),l([m("#invalid-message")],s.prototype,"invalidMessage",2),l([u()],s.prototype,"hasFocus",2),l([u()],s.prototype,"displayInputValue",2),l([u()],s.prototype,"selectedTextLabel",2),l([u()],s.prototype,"selectedOptions",2),l([u()],s.prototype,"filteredOptions",2),l([u()],s.prototype,"allOptions",2),l([u()],s.prototype,"lastOption",2),l([u()],s.prototype,"showValidStyle",2),l([u()],s.prototype,"showInvalidStyle",2),l([u()],s.prototype,"deletedTagLabel",2),l([r({reflect:!0})],s.prototype,"name",2),l([r({converter:{fromAttribute:t=>t.split(" "),toAttribute:t=>t.join(" ")}})],s.prototype,"value",2),l([B()],s.prototype,"defaultValue",2),l([r({type:String,reflect:!0})],s.prototype,"size",2),l([r({type:String,reflect:!0})],s.prototype,"placeholder",2),l([r({type:String,attribute:"max-options-tag-label",reflect:!0})],s.prototype,"maxOptionsTagLabel",2),l([r({type:Boolean,reflect:!0})],s.prototype,"disabled",2),l([r({type:Boolean,reflect:!0,attribute:"visually-disabled"})],s.prototype,"visuallyDisabled",2),l([r({type:Boolean,reflect:!0})],s.prototype,"clearable",2),l([r({type:Boolean,reflect:!0})],s.prototype,"open",2),l([r({type:Boolean,reflect:!0})],s.prototype,"hoist",2),l([r({type:String,reflect:!0})],s.prototype,"label",2),l([r({type:String,reflect:!0})],s.prototype,"placement",2),l([r({type:String,attribute:"help-text",reflect:!0})],s.prototype,"helpText",2),l([r({type:String,reflect:!0})],s.prototype,"form",2),l([r({type:Boolean,reflect:!0})],s.prototype,"required",2),l([r({attribute:"floating-label",type:Boolean,reflect:!0})],s.prototype,"floatingLabel",2),l([r({type:String,reflect:!0})],s.prototype,"type",2),l([u()],s.prototype,"currentPlacement",2),l([r()],s.prototype,"getOption",2),l([r({type:Boolean,reflect:!0})],s.prototype,"multiple",2),l([r({type:Boolean,reflect:!0})],s.prototype,"useTags",2),l([r({type:Number,reflect:!0,attribute:"max-options-visible"})],s.prototype,"maxOptionsVisible",2),l([r({type:Boolean,reflect:!0,attribute:"style-on-valid"})],s.prototype,"styleOnValid",2),l([r()],s.prototype,"filter",2),l([r()],s.prototype,"getTag",2),l([g("filter",{waitUntilFirstUpdate:!0})],s.prototype,"handleFilterChange",1),l([g("useTags",{waitUntilFirstUpdate:!0})],s.prototype,"handleUseTagsChange",1),l([g("size",{waitUntilFirstUpdate:!0})],s.prototype,"applySizeToOptions",1),l([g(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],s.prototype,"handleDisabledChange",1),l([g("value",{waitUntilFirstUpdate:!0})],s.prototype,"handleValueChange",1),l([g("displayInputValue",{waitUntilFirstUpdate:!0})],s.prototype,"handleDisplayInputValueChange",1),l([g("open",{waitUntilFirstUpdate:!0})],s.prototype,"handleOpenChange",1),s=l([F("sd-6-5-2-combobox")],s);C("combobox.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});C("combobox.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{s as a};
11
+ "><div part="combobox" class="${d("relative w-full px-4 flex flex-row items-center rounded-default transition-colors hover:duration-fast ease-in-out",this.visuallyDisabled||this.disabled?"hover:bg-transparent":"hover:bg-neutral-200",this.open&&"shadow transition-shadow duration-medium ease-in-out",["invalid","activeInvalid"].includes(O)&&"form-control--invalid-color-background",{sm:"py-1 min-h-[32px]",md:"py-1 min-h-[40px]",lg:"py-2 min-h-[48px]"}[this.size],N)}" slot="anchor" @keydown="${this.handleComboboxKeyDown}" @mousedown="${this.handleComboboxMouseDown}">${t.left?p`<slot part="left" name="left" class="${d("inline-flex",z,x,y)}"></slot>`:""} ${this.multiple&&this.useTags&&this.tags.length>0?p`<div part="tags" class="${d("flex items-center gap-1",z,this.floatingLabel&&"mt-4")}">${this.tags}</div>`:null} <input id="display-input" name="${this.name}" form="${this.form}" part="display-input" class="${d("appearance-none outline-none bg-transparent flex-auto min-w-0",v,this.selectedTextLabel&&!this.multiple?"placeholder:form-control-color-text":"placeholder:text-neutral-700",this.size==="sm"?h?"h-4":"h-6":h?"h-6":"h-8",h&&"leading-none mt-4")}" type="text" placeholder="${!this.floatingLabel||h?this.selectedTextLabel&&!this.multiple?this.selectedTextLabel:this.placeholder||this.localize.term("comboboxDefaultPlaceholder"):""}" .disabled="${this.disabled}" .value="${this.displayInputValue}" autocomplete="off" spellcheck="false" autocapitalize="off" aria-controls="listbox" aria-expanded="${this.open}" aria-haspopup="listbox" aria-labelledby="label" aria-disabled="${this.disabled||this.visuallyDisabled}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" role="combobox" tabindex="0" @focus="${this.handleFocus}" @blur="${this.handleBlur}" aria-autocomplete="list" aria-owns="listbox" @input="${this.handleInput}" @change="${this.handleChange}"><div aria-live="polite" id="control-value" class="absolute top-0 left-0 opacity-0 -z-10">${this.selectedOptions.map(L=>L==null?void 0:L.getTextLabel()).join(", ")}</div><input class="${d("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10",v)}" type="text" ?disabled="${this.disabled}" ?required="${this.required}" .value="${Array.isArray(this.value)?this.value.join(", "):this.value}" tabindex="-1" aria-controls="control-value" aria-hidden="true" @focus="${()=>this.focus()}" @invalid="${this.handleInvalid}"> ${o?p`<button part="clear-button" class="${d("flex justify-center",b,this.value.length>0?"visible":"invisible")}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.preventLoosingFocus}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-6-6-0-icon class="${d("text-neutral-700",y)}" name="closing-round" library="_internal"></sd-6-6-0-icon></slot></button>`:""} ${this.showInvalidStyle?p`<sd-6-6-0-icon part="invalid-icon" class="${d(b,y,"text-error")}" library="_internal" name="risk"></sd-6-6-0-icon>`:""} ${this.styleOnValid&&this.showValidStyle?p`<sd-6-6-0-icon part="valid-icon" class="${d("flex-shrink-0 text-success",b,y)}" library="_internal" name="confirm-circle"></sd-6-6-0-icon>`:""}<slot name="right" part="right" class="${d("inline-flex ml-2 leading-[0]",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary",y)}">${this.type!=="search"?p`<sd-6-6-0-icon class="${d("transition-transform duration-medium ease-in-out",this.open?"rotate-180":"rotate-0")}" name="chevron-down" part="chevron" library="_internal" color="currentColor" label="${this.localize.term("open")}"></sd-6-6-0-icon>`:""}</slot>${this.type==="search"?p`<button class="${d("flex items-center sd-interactive",b)}" type="button"><sd-6-6-0-icon class="${d(x,y)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-6-6-0-icon></button>`:p`<button class="sd-interactive combobox-button absolute top-2" @keydown="${this.handleComboboxMouseDown}" type="button"><span class="sr-only">${this.localize.term("open")}</span></button>`}</div><div id="listbox" role="${H(this.multiple?void 0:"listbox")}" aria-expanded="${this.open}" aria-multiselectable="${this.multiple}" aria-labelledby="label" part="listbox" class="${d("bg-white px-2 py-3 relative border-primary overflow-y-auto",this.open&&"shadow transition-shadow duration-medium ease-in-out",this.currentPlacement==="bottom"?"border-r-2 border-b-2 border-l-2 rounded-br-default rounded-bl-default":"border-r-2 border-t-2 border-l-2 rounded-tr-default rounded-tl-default")}" tabindex="-1" @mousedown="${this.preventLoosingFocus}" @mouseup="${this.handleOptionClick}"><div part="filtered-listbox">${this.filteredOptions.length===0?p`<span id="noResults" class="px-4 flex items-center w-full transition-all text-left text-base relative text-black py-3" aria-hidden="true" @click="${this.handleNoResultsClick}">${this.localize.term("noResults")}</span>`:this.options}</div><slot id="defaultOptionsSlot" class="hidden" @slotchange="${this.handleDefaultSlotChange}"></slot></div></sd-6-6-0-popup></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${d("text-sm text-neutral-700 mt-1",n?"block":"hidden")}" aria-hidden="${!n}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage(this.size)}`}};s.styles=[...E.styles,V`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
12
+ :host{position:relative;display:block;width:100%}:host([required]) #label::after{content:' *'}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{color:rgba(var(--sd-color-text-neutral-500))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{color:rgba(var(--sd-color-text-neutral-500))}:host([visually-disabled]) input{caret-color:transparent}:host([size=sm]) .combobox-button{right:var(--sd-spacing-4);height:var(--sd-spacing-4);width:var(--sd-spacing-4)}:host([size=md]) .combobox-button{right:.85rem;height:var(--sd-spacing-6);width:var(--sd-spacing-6)}:host([size=lg]) .combobox-button{right:var(--sd-spacing-3);height:var(--sd-spacing-8);width:var(--sd-spacing-8)}[part=listbox]{max-height:var(--auto-size-available-height,auto)}sd-6-6-0-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-6-6-0-tag::part(base){border-radius:var(--sd-radius);padding-inline:var(--sd-spacing-1)}sd-6-6-0-tag::part(content){display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:var(--tag-max-width,15ch)}sd-6-6-0-tag[size=lg]::part(base){padding-inline:var(--sd-spacing-2)}sd-6-6-0-tag[disabled=false]::part(base):hover{background-color:rgba(var(--sd-color-background-primary-100))}[part=filtered-listbox] sd-6-6-0-optgroup:first-of-type{--display-divider:none}mark{background-color:transparent;--tw-font-weight:var(--sd-font-weight-bold);font-weight:var(--sd-font-weight-bold);color:inherit}@property --tw-font-weight{syntax:"*";inherits:false}`],l([m("sd-6-6-0-popup")],s.prototype,"popup",2),l([m('[part="combobox"]')],s.prototype,"combobox",2),l([m('[part="display-input"]')],s.prototype,"displayInput",2),l([m(".value-input")],s.prototype,"valueInput",2),l([m('[part="listbox"]')],s.prototype,"listbox",2),l([m('[part="tags"]')],s.prototype,"tagWrapper",2),l([m('[part="filtered-listbox"]')],s.prototype,"filteredWrapper",2),l([m("slot:not([name])")],s.prototype,"defaultSlot",2),l([m("#invalid-message")],s.prototype,"invalidMessage",2),l([u()],s.prototype,"hasFocus",2),l([u()],s.prototype,"displayInputValue",2),l([u()],s.prototype,"selectedTextLabel",2),l([u()],s.prototype,"selectedOptions",2),l([u()],s.prototype,"filteredOptions",2),l([u()],s.prototype,"allOptions",2),l([u()],s.prototype,"lastOption",2),l([u()],s.prototype,"showValidStyle",2),l([u()],s.prototype,"showInvalidStyle",2),l([u()],s.prototype,"deletedTagLabel",2),l([r({reflect:!0})],s.prototype,"name",2),l([r({converter:{fromAttribute:t=>t.split(" "),toAttribute:t=>t.join(" ")}})],s.prototype,"value",2),l([B()],s.prototype,"defaultValue",2),l([r({type:String,reflect:!0})],s.prototype,"size",2),l([r({type:String,reflect:!0})],s.prototype,"placeholder",2),l([r({type:String,attribute:"max-options-tag-label",reflect:!0})],s.prototype,"maxOptionsTagLabel",2),l([r({type:Boolean,reflect:!0})],s.prototype,"disabled",2),l([r({type:Boolean,reflect:!0,attribute:"visually-disabled"})],s.prototype,"visuallyDisabled",2),l([r({type:Boolean,reflect:!0})],s.prototype,"clearable",2),l([r({type:Boolean,reflect:!0})],s.prototype,"open",2),l([r({type:Boolean,reflect:!0})],s.prototype,"hoist",2),l([r({type:String,reflect:!0})],s.prototype,"label",2),l([r({type:String,reflect:!0})],s.prototype,"placement",2),l([r({type:String,attribute:"help-text",reflect:!0})],s.prototype,"helpText",2),l([r({type:String,reflect:!0})],s.prototype,"form",2),l([r({type:Boolean,reflect:!0})],s.prototype,"required",2),l([r({attribute:"floating-label",type:Boolean,reflect:!0})],s.prototype,"floatingLabel",2),l([r({type:String,reflect:!0})],s.prototype,"type",2),l([u()],s.prototype,"currentPlacement",2),l([r()],s.prototype,"getOption",2),l([r({type:Boolean,reflect:!0})],s.prototype,"multiple",2),l([r({type:Boolean,reflect:!0})],s.prototype,"useTags",2),l([r({type:Number,reflect:!0,attribute:"max-options-visible"})],s.prototype,"maxOptionsVisible",2),l([r({type:Boolean,reflect:!0,attribute:"style-on-valid"})],s.prototype,"styleOnValid",2),l([r()],s.prototype,"filter",2),l([r()],s.prototype,"getTag",2),l([g("filter",{waitUntilFirstUpdate:!0})],s.prototype,"handleFilterChange",1),l([g("useTags",{waitUntilFirstUpdate:!0})],s.prototype,"handleUseTagsChange",1),l([g("size",{waitUntilFirstUpdate:!0})],s.prototype,"applySizeToOptions",1),l([g(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],s.prototype,"handleDisabledChange",1),l([g("value",{waitUntilFirstUpdate:!0})],s.prototype,"handleValueChange",1),l([g("displayInputValue",{waitUntilFirstUpdate:!0})],s.prototype,"handleDisplayInputValueChange",1),l([g("open",{waitUntilFirstUpdate:!0})],s.prototype,"handleOpenChange",1),s=l([F("sd-6-6-0-combobox")],s);C("combobox.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});C("combobox.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{s as a};
@@ -1,2 +1,2 @@
1
- import{a as c}from"./chunk.IQPMMUES.js";import{a as s}from"./chunk.YFQFOIEM.js";import{a as i,b as a,h as r}from"./chunk.ALCKOGA7.js";import{b as l,e as o}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends r{constructor(){super(...arguments);this.localize=new c(this);this.subtick=!1}render(){return o`<div part="base" class="${s(this.subtick?"w-0.25":"w-0.5")}"><div part="line" class="${s(this.subtick?"h-2":"h-[10px]")}"></div><div part="label" class="flex items-center justify-center text-center text-nowrap text-sm sd-6-5-2-range-scale-ticks-color-text"><slot></slot></div></div>`}};t.styles=[...r.styles,l`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- [part='line']{background-color:rgba(var(--sd-color-border-neutral-400,rgba(var(--sd-color-neutral-400))))}`],e([a({type:Boolean,reflect:!0})],t.prototype,"subtick",2),t=e([i("sd-6-5-2-range-tick")],t);export{t as a};
1
+ import{a as c}from"./chunk.IQPMMUES.js";import{a as s}from"./chunk.YFQFOIEM.js";import{a as i,b as a,h as r}from"./chunk.CPBAZFMO.js";import{b as l,e as o}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends r{constructor(){super(...arguments);this.localize=new c(this);this.subtick=!1}render(){return o`<div part="base" class="${s(this.subtick?"w-0.25":"w-0.5")}"><div part="line" class="${s(this.subtick?"h-2":"h-[10px]")}"></div><div part="label" class="flex items-center justify-center text-center text-nowrap text-sm sd-6-6-0-range-scale-ticks-color-text"><slot></slot></div></div>`}};t.styles=[...r.styles,l`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ [part='line']{background-color:rgba(var(--sd-color-border-neutral-400,rgba(var(--sd-color-neutral-400))))}`],e([a({type:Boolean,reflect:!0})],t.prototype,"subtick",2),t=e([i("sd-6-6-0-range-tick")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as o}from"./chunk.PV6UYBMY.js";import{a as y}from"./chunk.CGQ2BPPZ.js";import{a as u,b as s}from"./chunk.PJ7JCMQF.js";import{a as b}from"./chunk.IQPMMUES.js";import{a as l}from"./chunk.YFQFOIEM.js";import{a as m,b as r,d as p,h as f}from"./chunk.ALCKOGA7.js";import{b as v}from"./chunk.763RLJEK.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends f{constructor(){super(...arguments);this.hasSlotController=new y(this,"[default]","description","children");this.localize=new b(this);this.vertical=!1;this.size="md";this.current=!1;this.disabled=!1;this.chevron=!1;this.relaxed=!1;this.divider=!1;this.indented=!1;this.open=!1;this.separated=!1}get isButton(){return!this.href&&!this.hasSlotController.test("children")}get isLink(){return!!this.href}get isAccordion(){return!this.separated&&!this.href&&this.hasSlotController.test("children")}get isIconOnly(){if(!this.defaultSlot)return!1;let e=this.defaultSlot.assignedNodes({flatten:!0});return e.length>0&&e.every(a=>{var d;return a.nodeType===Node.TEXT_NODE?!((d=a.textContent)!=null&&d.trim()):a.nodeType===Node.ELEMENT_NODE?a.tagName.toLowerCase()==="sd-6-5-2-icon":!1})}handleClickButton(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}handleClickSummary(e){e.preventDefault(),e.stopPropagation(),this.disabled||(this.open?this.hideDetails():this.showDetails())}hideDetails(){this.open=!1,this.emit("sd-hide",{cancelable:!0})}showDetails(){this.open=!0,this.emit("sd-show",{cancelable:!0})}get calculatePaddingX(){return this.relaxed&&this.indented?"pl-8 pr-4":this.relaxed?"px-4":this.indented?"pl-4":""}get tag(){return this.separated&&!this.isLink?u`div`:this.isAccordion&&!this.isLink?u`summary`:this.isLink?u`a`:u`button`}focus(){var e;this.disabled||(e=this.button)==null||e.focus()}blur(){var e;(e=this.button)==null||e.blur()}render(){let e=this.tag,a=this.isLink,d=this.isButton,n=this.isAccordion,g=this.isIconOnly,c={label:this.hasSlotController.test("[default]"),main:this.hasSlotController.test("main"),description:this.hasSlotController.test("description"),children:this.hasSlotController.test("children")},x=this.vertical?"py-3":"py-2",h=s`<${e} part="base" class="${l("flex items-center cursor-pointer relative focus-visible:focus-outline group hover:bg-neutral-200 transition-colors duration-fast ease-in-out min-h-[48px] navigable-border-radius",{md:"navigable-font-size",lg:"text-lg",sm:"text-[14px]"}[this.size],this.disabled?"text-neutral-500 pointer-events-none":"sd-6-5-2-navigation-item-color-text",this.current&&"font-bold sd-6-5-2-navigation-item--current-color-text",!n&&"w-full",this.divider&&this.vertical&&"mt-0.25",!this.vertical&&"inline-flex items-center",!this.separated&&"hover:bg-neutral-200 group transition-colors duration-fast ease-in-out min-h-[48px]",g?"justify-center aspect-square p-3":"px-4")}" aria-current="${o(this.current?"page":void 0)}" aria-disabled="${this.disabled}" aria-labelledby="content" aria-describedby="description" ?disabled="${o(d?this.disabled:void 0)}" href="${o(a?this.href:void 0)}" target="${o(a?this.target:void 0)}" download="${o(a?this.download:void 0)}" rel="${o(a&&this.target?"noreferrer noopener":void 0)}" tabindex="${this.disabled?"-1":"0"}" @click="${this.separated?void 0:n?this.handleClickSummary:d?this.handleClickButton:void 0}"><div part="current-indicator" class="${l("absolute bg-accent left-0 pointer-events-none navigable__current-indicator-border-radius",this.vertical?"navigable__current-indicator-width h-[calc(100%-16px)] top-2 group-hover:h-full group-hover:top-0":"navigable__current-indicator-height w-[calc(100%-16px)] bottom-0 left-2 group-hover:w-full group-hover:left-0 transition-all",this.disabled&&"bg-neutral-500")}"></div><div class="inline-flex flex-col justify-center gap-1 w-full h-full"><span part="content-area" class="${l("relative inline-flex justify-between items-center",n?"grow":"w-full",c.description&&"pt-3",!c.description&&!this.separated&&x,this.calculatePaddingX)}">${this.divider&&this.vertical?s`<sd-6-5-2-divider part="divider" class="${l("w-full transition-all absolute -top-0.25 left-0",this.calculatePaddingX)}"></sd-6-5-2-divider>`:""} <span id="content" part="content-container" class="inline-flex items-center flex-auto"><slot part="content" class="inline-flex text-start"></slot></span>${this.chevron||c.children&&this.vertical&&!this.separated?s`<sd-6-5-2-icon name="chevron-down" part="chevron" library="_internal" color="currentColor" class="${l("h-6 w-6 ml-2 transition-all",n?this.open?"rotate-180":"rotate-0":"rotate-[270deg]")}"></sd-6-5-2-icon>`:""} </span>${c.description&&this.vertical?s`<slot id="description" name="description" part="description" class="${l("inline-block text-sm text-left font-normal text-black pb-3",n||this.separated?"grow":"w-full",this.calculatePaddingX)}"></slot>`:""}</div></${e}>`;return this.separated?s`<div part="details" id="navigation-item-details" class="relative flex flex-col"><div class="flex items-start">${h} ${c.children&&this.vertical?s`<button type="button" title="${this.open?this.localize.term("collapseNavigationItem"):this.localize.term("expandNavigationItem")}" class="sd-interactive sd-interactive--reset -mt-1" @click="${this.handleClickSummary}"><sd-6-5-2-icon name="chevron-down" part="chevron" library="_internal" color="currentColor" class="${l("m-4 h-6 w-6 transition-all",n||this.separated?this.open?"rotate-180":"rotate-0":"rotate-[270deg]")}"></sd-6-5-2-icon></button>`:""}</div>${this.open?s`<slot name="children"></slot>`:""}</div>`:n?s`<details aria-expanded="${this.open}" part="details" id="navigation-item-details" ?open="${this.open}" class="relative">${h}<slot name="children"></slot></details>`:s`${h}`}};t.styles=[...f.styles,v`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
- :host{position:relative;box-sizing:border-box;display:inline-block}:host([vertical]){display:block}details summary::-webkit-details-marker{display:none}[part=current-indicator]{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:var(--sd-opacity-0);--tw-duration:var(--sd-duration-fast, 150ms);transition-duration:var(--sd-duration-fast,150ms);transition:width var(--sd-duration-fast) ease-in-out,height var(--sd-duration-fast) ease-in-out,left var(--sd-duration-fast) ease-in-out,top var(--sd-duration-fast) ease-in-out,opacity var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out var(--sd-duration-fast)}:host([current]) [part=current-indicator]{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:var(--sd-opacity-100);transition:width var(--sd-duration-fast) ease-in-out,height var(--sd-duration-fast) ease-in-out,left var(--sd-duration-fast) ease-in-out,top var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-duration{syntax:"*";inherits:false}`],i([p('[part="base"]')],t.prototype,"button",2),i([p("slot:not([name])")],t.prototype,"defaultSlot",2),i([r({type:Boolean,reflect:!0})],t.prototype,"vertical",2),i([r({type:String,reflect:!0})],t.prototype,"size",2),i([r({reflect:!0})],t.prototype,"href",2),i([r({type:String,reflect:!0})],t.prototype,"target",2),i([r({reflect:!0})],t.prototype,"download",2),i([r({type:Boolean,reflect:!0})],t.prototype,"current",2),i([r({type:Boolean,reflect:!0})],t.prototype,"disabled",2),i([r({type:Boolean,reflect:!0})],t.prototype,"chevron",2),i([r({type:Boolean,reflect:!0})],t.prototype,"relaxed",2),i([r({type:Boolean,reflect:!0})],t.prototype,"divider",2),i([r({type:Boolean,reflect:!0})],t.prototype,"indented",2),i([r({type:Boolean,reflect:!0})],t.prototype,"open",2),i([r({type:Boolean,reflect:!0})],t.prototype,"separated",2),t=i([m("sd-6-5-2-navigation-item")],t);export{t as a};
1
+ import{a as o}from"./chunk.PV6UYBMY.js";import{a as y}from"./chunk.CGQ2BPPZ.js";import{a as u,b as s}from"./chunk.PJ7JCMQF.js";import{a as b}from"./chunk.IQPMMUES.js";import{a as l}from"./chunk.YFQFOIEM.js";import{a as m,b as r,d as p,h as f}from"./chunk.CPBAZFMO.js";import{b as v}from"./chunk.763RLJEK.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends f{constructor(){super(...arguments);this.hasSlotController=new y(this,"[default]","description","children");this.localize=new b(this);this.vertical=!1;this.size="md";this.current=!1;this.disabled=!1;this.chevron=!1;this.relaxed=!1;this.divider=!1;this.indented=!1;this.open=!1;this.separated=!1}get isButton(){return!this.href&&!this.hasSlotController.test("children")}get isLink(){return!!this.href}get isAccordion(){return!this.separated&&!this.href&&this.hasSlotController.test("children")}get isIconOnly(){if(!this.defaultSlot)return!1;let e=this.defaultSlot.assignedNodes({flatten:!0});return e.length>0&&e.every(a=>{var d;return a.nodeType===Node.TEXT_NODE?!((d=a.textContent)!=null&&d.trim()):a.nodeType===Node.ELEMENT_NODE?a.tagName.toLowerCase()==="sd-6-6-0-icon":!1})}handleClickButton(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}handleClickSummary(e){e.preventDefault(),e.stopPropagation(),this.disabled||(this.open?this.hideDetails():this.showDetails())}hideDetails(){this.open=!1,this.emit("sd-hide",{cancelable:!0})}showDetails(){this.open=!0,this.emit("sd-show",{cancelable:!0})}get calculatePaddingX(){return this.relaxed&&this.indented?"pl-8 pr-4":this.relaxed?"px-4":this.indented?"pl-4":""}get tag(){return this.separated&&!this.isLink?u`div`:this.isAccordion&&!this.isLink?u`summary`:this.isLink?u`a`:u`button`}focus(){var e;this.disabled||(e=this.button)==null||e.focus()}blur(){var e;(e=this.button)==null||e.blur()}render(){let e=this.tag,a=this.isLink,d=this.isButton,n=this.isAccordion,g=this.isIconOnly,c={label:this.hasSlotController.test("[default]"),main:this.hasSlotController.test("main"),description:this.hasSlotController.test("description"),children:this.hasSlotController.test("children")},x=this.vertical?"py-3":"py-2",h=s`<${e} part="base" class="${l("flex items-center cursor-pointer relative focus-visible:focus-outline group hover:bg-neutral-200 transition-colors duration-fast ease-in-out min-h-[48px] navigable-border-radius",{md:"navigable-font-size",lg:"text-lg",sm:"text-[14px]"}[this.size],this.disabled?"text-neutral-500 pointer-events-none":"sd-6-6-0-navigation-item-color-text",this.current&&"font-bold sd-6-6-0-navigation-item--current-color-text",!n&&"w-full",this.divider&&this.vertical&&"mt-0.25",!this.vertical&&"inline-flex items-center",!this.separated&&"hover:bg-neutral-200 group transition-colors duration-fast ease-in-out min-h-[48px]",g?"justify-center aspect-square p-3":"px-4")}" aria-current="${o(this.current?"page":void 0)}" aria-disabled="${this.disabled}" aria-labelledby="content" aria-describedby="description" ?disabled="${o(d?this.disabled:void 0)}" href="${o(a?this.href:void 0)}" target="${o(a?this.target:void 0)}" download="${o(a?this.download:void 0)}" rel="${o(a&&this.target?"noreferrer noopener":void 0)}" tabindex="${this.disabled?"-1":"0"}" @click="${this.separated?void 0:n?this.handleClickSummary:d?this.handleClickButton:void 0}"><div part="current-indicator" class="${l("absolute bg-accent left-0 pointer-events-none navigable__current-indicator-border-radius",this.vertical?"navigable__current-indicator-width h-[calc(100%-16px)] top-2 group-hover:h-full group-hover:top-0":"navigable__current-indicator-height w-[calc(100%-16px)] bottom-0 left-2 group-hover:w-full group-hover:left-0 transition-all",this.disabled&&"bg-neutral-500")}"></div><div class="inline-flex flex-col justify-center gap-1 w-full h-full"><span part="content-area" class="${l("relative inline-flex justify-between items-center",n?"grow":"w-full",c.description&&"pt-3",!c.description&&!this.separated&&x,this.calculatePaddingX)}">${this.divider&&this.vertical?s`<sd-6-6-0-divider part="divider" class="${l("w-full transition-all absolute -top-0.25 left-0",this.calculatePaddingX)}"></sd-6-6-0-divider>`:""} <span id="content" part="content-container" class="inline-flex items-center flex-auto"><slot part="content" class="inline-flex text-start"></slot></span>${this.chevron||c.children&&this.vertical&&!this.separated?s`<sd-6-6-0-icon name="chevron-down" part="chevron" library="_internal" color="currentColor" class="${l("h-6 w-6 ml-2 transition-all",n?this.open?"rotate-180":"rotate-0":"rotate-[270deg]")}"></sd-6-6-0-icon>`:""} </span>${c.description&&this.vertical?s`<slot id="description" name="description" part="description" class="${l("inline-block text-sm text-left font-normal text-black pb-3",n||this.separated?"grow":"w-full",this.calculatePaddingX)}"></slot>`:""}</div></${e}>`;return this.separated?s`<div part="details" id="navigation-item-details" class="relative flex flex-col"><div class="flex items-start">${h} ${c.children&&this.vertical?s`<button type="button" title="${this.open?this.localize.term("collapseNavigationItem"):this.localize.term("expandNavigationItem")}" class="sd-interactive sd-interactive--reset -mt-1" @click="${this.handleClickSummary}"><sd-6-6-0-icon name="chevron-down" part="chevron" library="_internal" color="currentColor" class="${l("m-4 h-6 w-6 transition-all",n||this.separated?this.open?"rotate-180":"rotate-0":"rotate-[270deg]")}"></sd-6-6-0-icon></button>`:""}</div>${this.open?s`<slot name="children"></slot>`:""}</div>`:n?s`<details aria-expanded="${this.open}" part="details" id="navigation-item-details" ?open="${this.open}" class="relative">${h}<slot name="children"></slot></details>`:s`${h}`}};t.styles=[...f.styles,v`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
+ :host{position:relative;box-sizing:border-box;display:inline-block}:host([vertical]){display:block}details summary::-webkit-details-marker{display:none}[part=current-indicator]{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:var(--sd-opacity-0);--tw-duration:var(--sd-duration-fast, 150ms);transition-duration:var(--sd-duration-fast,150ms);transition:width var(--sd-duration-fast) ease-in-out,height var(--sd-duration-fast) ease-in-out,left var(--sd-duration-fast) ease-in-out,top var(--sd-duration-fast) ease-in-out,opacity var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out var(--sd-duration-fast)}:host([current]) [part=current-indicator]{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:var(--sd-opacity-100);transition:width var(--sd-duration-fast) ease-in-out,height var(--sd-duration-fast) ease-in-out,left var(--sd-duration-fast) ease-in-out,top var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-duration{syntax:"*";inherits:false}`],i([p('[part="base"]')],t.prototype,"button",2),i([p("slot:not([name])")],t.prototype,"defaultSlot",2),i([r({type:Boolean,reflect:!0})],t.prototype,"vertical",2),i([r({type:String,reflect:!0})],t.prototype,"size",2),i([r({reflect:!0})],t.prototype,"href",2),i([r({type:String,reflect:!0})],t.prototype,"target",2),i([r({reflect:!0})],t.prototype,"download",2),i([r({type:Boolean,reflect:!0})],t.prototype,"current",2),i([r({type:Boolean,reflect:!0})],t.prototype,"disabled",2),i([r({type:Boolean,reflect:!0})],t.prototype,"chevron",2),i([r({type:Boolean,reflect:!0})],t.prototype,"relaxed",2),i([r({type:Boolean,reflect:!0})],t.prototype,"divider",2),i([r({type:Boolean,reflect:!0})],t.prototype,"indented",2),i([r({type:Boolean,reflect:!0})],t.prototype,"open",2),i([r({type:Boolean,reflect:!0})],t.prototype,"separated",2),t=i([m("sd-6-6-0-navigation-item")],t);export{t as a};
@@ -1,5 +1,5 @@
1
- import{a as C}from"./chunk.BJBQEPZV.js";import{a as k}from"./chunk.EOXYPQZI.js";import{a as T}from"./chunk.GP2QVZP5.js";import{a as M}from"./chunk.CBQWVOOS.js";import{a as A}from"./chunk.IQPMMUES.js";import{a as n}from"./chunk.YFQFOIEM.js";import{a as v}from"./chunk.NYKJXI3Q.js";import{a as _,b as p,c as m,d as f,e as E,h as w}from"./chunk.ALCKOGA7.js";import{b as P,e as b}from"./chunk.763RLJEK.js";import{d as $}from"./chunk.W4QBFD6E.js";import{e as o}from"./chunk.6EV4YU6C.js";function I(u,d,e){let i=t=>Object.is(t,-0)?0:t;return u<d?i(d):u>e?i(e):i(u)}function*L(u,d){if(u!==void 0){let e=0;for(let i of u)yield d(i,e++)}}function*B(u,d,e=1){let i=d===void 0?0:u;d!=null||(d=u);for(let t=i;e>0?t<d:d<t;t+=e)yield t}var r=class extends w{constructor(){super(...arguments);this.variant="number";this.inverted=!1;this.loop=!1;this.autoplay=!1;this.fade=!1;this.slidesPerPage=1;this.slidesPerMove=1;this.activeSlide=0;this.currentPage=1;this.pausedAutoplay=!1;this.autoplayController=new M(this,()=>this.next());this.scrollController=new k(this);this.slides=this.getElementsByTagName("sd-6-5-2-carousel-item");this.intersectionObserverEntries=new Map;this.localize=new A(this);this.userInteracted=!1;this.fadeController=new C(this);this.handleUserInteraction=()=>{this.userInteracted=!0};this.handleSlotChange=e=>{e.some(t=>[...t.addedNodes,...t.removedNodes].some(s=>T.isCarouselItem(s)&&!s.hasAttribute("data-clone")))&&this.initializeSlides(),this.requestUpdate()};this.unblockAutoplay=(e,i)=>{e.detail&&i.blur()}}connectedCallback(){super.connectedCallback(),["click","keydown"].forEach(i=>this.addEventListener(i,this.handleUserInteraction));let e=new IntersectionObserver(i=>{i.forEach(t=>{this.intersectionObserverEntries.set(t.target,t);let s=t.target;s.toggleAttribute("inert",!t.isIntersecting),s.classList.toggle("--in-view",t.isIntersecting),s.setAttribute("aria-hidden",t.isIntersecting?"false":"true")})},{root:this,threshold:.6});this.intersectionObserver=e,e.takeRecords().forEach(i=>{this.intersectionObserverEntries.set(i.target,i)})}disconnectedCallback(){super.disconnectedCallback(),this.intersectionObserver.disconnect(),this.mutationObserver.disconnect(),["click","keydown"].forEach(e=>this.removeEventListener(e,this.handleUserInteraction)),this.fade&&this.fadeController.disable()}async firstUpdated(){if((()=>{let i=this.getSlides({excludeClones:!1});return i.length>0&&i[0].getBoundingClientRect().width>0})())this.initializeSlides();else{let i=new IntersectionObserver(t=>{t.forEach(s=>{s.isIntersecting&&s.target.getBoundingClientRect().width>0&&(this.initializeSlides(),i.disconnect())})});i.observe(this)}this.mutationObserver=new MutationObserver(this.handleSlotChange),this.mutationObserver.observe(this,{childList:!0,subtree:!1}),this.fade&&(await this.updateComplete,this.fadeController.enable())}getPageCount(e,i,t){return Math.ceil((e-i)/t)+1>0?Math.ceil((e-i)/t)+1:1}getCurrentPage(e,i,t,s){return Math.ceil((e-t)/s)-Math.ceil((e-t-i)/s)+1}getSlides({excludeClones:e=!0}={}){return[...this.slides].filter(i=>!e||!i.hasAttribute("data-clone"))}handleKeyDown(e){if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(e.key)){let i=e.target,t=this.localize.dir()==="rtl",s=i.closest('[part~="pagination-item"]')!==null,l=e.key==="ArrowDown"||!t&&e.key==="ArrowRight"||t&&e.key==="ArrowLeft",h=e.key==="ArrowUp"||!t&&e.key==="ArrowLeft"||t&&e.key==="ArrowRight";e.preventDefault(),h&&this.previous(),l&&this.next(),e.key==="Home"&&this.goToSlide(0),e.key==="End"&&this.goToSlide(this.getSlides().length-1),s&&this.updateComplete.then(()=>{var a;let c=(a=this.shadowRoot)==null?void 0:a.querySelector('[part~="pagination-item--active"]');c&&c.focus()})}}handleScrollEnd(){if(this.fade)return;let e=this.getSlides(),t=[...this.intersectionObserverEntries.values()].find(s=>s.isIntersecting);if(this.loop&&(t!=null&&t.target.hasAttribute("data-clone"))){let s=Number(t.target.getAttribute("data-clone"));this.goToSlide(s,"auto");return}t&&(this.activeSlide=e.indexOf(t.target))}handleFocus(){this.autoplay&&this.scrollContainer.setAttribute("aria-live","polite")}handleBlur(){this.autoplay&&this.scrollContainer.setAttribute("aria-live","off")}pause(){this.pausedAutoplay=!0}resume(){this.pausedAutoplay=!1}handlePausedAutoplay(){var e,i;this.pausedAutoplay?(this.autoplayController.stop(),(e=this.autoplayControls)==null||e.setAttribute("aria-pressed","false")):this.autoplay&&(this.autoplayController.start(3e3),(i=this.autoplayControls)==null||i.setAttribute("aria-pressed","true"))}handleFadeChange(){this.fade?this.fadeController.enable():this.fadeController.disable()}initializeSlides(){let e=this.getSlides(),i=this.intersectionObserver;if(this.intersectionObserverEntries.clear(),this.getSlides({excludeClones:!1}).forEach((t,s)=>{i.unobserve(t),t.classList.remove("--in-view"),t.classList.remove("--is-active"),t.setAttribute("aria-label",this.localize.term("slideNum",s+1,e.length)),t.hasAttribute("data-clone")&&t.remove()}),this.loop&&!this.fade){let t=this.slidesPerPage,s=e.slice(-t),l=e.slice(0,t);s.reverse().forEach((h,c)=>{let a=h.cloneNode(!0);a.setAttribute("data-clone",String(e.length-c-1)),this.prepend(a)}),l.forEach((h,c)=>{let a=h.cloneNode(!0);a.setAttribute("data-clone",String(c)),this.append(a)})}this.getSlides({excludeClones:!1}).forEach(t=>{i.observe(t)}),this.fade&&this.updateComplete.then(()=>{this.fadeController.enable()}),this.fade||this.goToSlide(this.activeSlide,"auto")}handleSlideChange(){let e=this.getSlides();e.forEach((s,l)=>{s.classList.toggle("--is-active",l===this.activeSlide)}),this.fade&&this.fadeController.updateActiveSlide(this.activeSlide);let i=this.getCurrentPage(e.length,this.activeSlide,this.slidesPerPage,this.slidesPerMove);this.currentPage!==i&&(this.currentPage=i),this.hasUpdated&&this.emit("sd-slide-change",{detail:{index:this.activeSlide,slide:e[this.activeSlide]}});let t=this.getPageCount(e.length,this.slidesPerPage,this.slidesPerMove);this.currentPage>t&&requestAnimationFrame(()=>{this.nextTillFirst()})}handleSlidesPerMoveChange(){if(this.fade)return;let e=this.getSlides({excludeClones:!1}),i=this.slidesPerMove;e.forEach((t,s)=>{Math.abs(s-i)%i===0?t.style.removeProperty("scroll-snap-align"):t.style.setProperty("scroll-snap-align","none")})}handleAutoplayChange(){this.autoplayController.stop(),this.autoplay&&!this.pausedAutoplay&&this.autoplayController.start(3e3)}previous(e="smooth"){if(this.fade){let s=this.loop?(this.activeSlide-1+this.getSlides().length)%this.getSlides().length:Math.max(0,this.activeSlide-1);this.goToSlide(s);return}let i=this.activeSlide||this.activeSlide-this.slidesPerMove,t=!1;for(;!t&&i>0;)i-=1,t=Math.abs(i-this.slidesPerMove)%this.slidesPerMove===0;this.currentPage-1===0&&this.loop?this.goToSlide(this.activeSlide-this.slidesPerPage,e):this.goToSlide(i,e)}next(e="smooth"){if(this.fade){let i=this.loop?(this.activeSlide+1)%this.getSlides().length:Math.min(this.getSlides().length-1,this.activeSlide+1);this.goToSlide(i);return}this.currentPage+1<=this.getPageCount(this.getSlides().length,this.slidesPerPage,this.slidesPerMove)?this.goToSlide(this.activeSlide+this.slidesPerMove,e):this.loop&&this.nextTillFirst(e)}nextTillFirst(e="smooth"){if(this.fade){this.goToSlide(0);return}for(;this.activeSlide!==0;)this.goToSlide(this.activeSlide+1,e);this.currentPage=this.getCurrentPage(this.getSlides().length,this.activeSlide,this.slidesPerPage,this.slidesPerMove)}goToSlide(e,i="smooth"){let{slidesPerPage:t,loop:s,scrollContainer:l,fade:h}=this,c=this.getSlides(),a=this.getSlides({excludeClones:!1}),g=(e+c.length)%c.length;if(this.activeSlide=g,h)return;let y=I(e+(s?t:0),0,a.length+1),O=a[y],S=l.getBoundingClientRect(),x=O.getBoundingClientRect();if(l.scrollTo({left:x.left-S.left+l.scrollLeft,top:x.top-S.top+l.scrollTop,behavior:$()?"auto":i}),this.userInteracted&&!this.loop){let z=this.activeSlide===c.length-1||this.activeSlide===this.slides.length-this.slidesPerPage,H=this.activeSlide===0;z?this.previousButton.focus({preventScroll:!0}):H&&this.nextButton.focus({preventScroll:!0})}}render(){let{scrollController:e,slidesPerMove:i}=this,t=this.getPageCount(this.getSlides().length,this.slidesPerPage,this.slidesPerMove),s=this.getCurrentPage(this.getSlides().length,this.activeSlide,this.slidesPerPage,this.slidesPerMove),l=this.loop||s>1,h=this.loop||s<t,c=this.localize.dir()==="ltr";return b`<div part="base" class="${n("carousel h-full w-full")}"><div id="scroll-container" part="scroll-container" class="${n("carousel__slides mb-6 max-h-full w-full items-center justify-items-center",this.inverted?"focus-visible:focus-outline-inverted":"focus-visible:focus-outline",this.fade?"relative overflow-hidden":"grid overflow-auto overscroll-x-contain grid-flow-col auto-rows-[100%] snap-x snap-mandatory overflow-y-hidden")}" style="--slides-per-page:${this.slidesPerPage}" aria-busy="${e.scrolling?"true":"false"}" aria-label="${this.localize.term("carouselContainer",Array.from(this.slides).filter(a=>!a.hasAttribute("data-clone")).length)}" aria-live="${this.autoplay?"off":"polite"}" tabindex="0" @keydown="${this.handleKeyDown}" @scrollend="${this.handleScrollEnd}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"><slot></slot></div><div part="controls" class="${n("w-full flex items-center justify-center relative")}"><div part="navigation" class="${n("carousel__navigation flex items-center justify-center")}"><button part="navigation-button navigation-button--previous" id="carousel__navigation-button--previous" ?disabled="${!l}" class="${n("!mr-6 !rounded-sm sd-interactive transition-colors duration-fast ease-in-out",!l&&"sd-interactive--disabled",this.inverted?"sd-interactive--inverted":"sd-interactive--reset")}" aria-label="${this.localize.term("previousSlide")}" aria-controls="scroll-container" aria-disabled="${l?"false":"true"}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" @click="${l?a=>{this.previous(),this.unblockAutoplay(a,this.previousButton)}:null}"><slot name="previous-icon"><sd-6-5-2-icon class="${n("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${c?"chevron-down":"chevron-up"}"></sd-6-5-2-icon></slot></button> ${this.variant==="dot"?b`<div part="pagination-dot" role="tablist" class="${n("carousel__pagination dot flex wrap items-center gap-2")}" aria-controls="scroll-container">${L(B(t),a=>{let g=a+1===s;return b`<button part="pagination-item ${g?"pagination-item--active":""}" class="${n("carousel__pagination-item","block cursor-pointer bg-none border-0 rounded-full",g?"bg-accent":"",this.inverted?"focus-within:focus-outline-inverted":"focus-within:focus-outline")}" role="tab" tabindex="0" aria-selected="${g?"true":"false"}" aria-label="${this.localize.term("goToSlide",a+1,t)}" @click="${y=>{this.goToSlide(a*i),this.unblockAutoplay(y,this.paginationItems[a])}}" @keydown="${this.handleKeyDown}"><span class="${n("h-4 w-4 block border sd-6-5-2-carousel__pager-dot-border-width rounded-full transition-colors duration-slow hover:duration-fast ease-in-out",this.inverted?"sd-6-5-2-carousel__pager-dot--inverted-border hover:border-primary-200":"border-primary hover:border-primary-500",g&&"border-none",g?this.inverted?"sd-6-5-2-carousel__pager-dot--inverted-background hover:sd-6-5-2-carousel__pager-dot--inverted--hovered-background":"sd-6-5-2-carousel__pager-dot-background hover:bg-accent-550":"")}"></span></button>`})}</div>`:b`<span part="pagination-number" class="carousel__pagination number flex gap-0.5 cursor-default select-none" aria-controls="scroll-container"><span part="pagination-item" class="${n("w-5 text-center border-b-2",this.inverted?"text-white sd-6-5-2-carousel--active--inverted-color-border":"text-black sd-6-5-2-carousel--active-color-border")}">${s}</span> <span part="pagination-divider" class="${n("scale-y-[1.5]","text-center",this.inverted?"text-white":"text-black")}">/</span> <span part="pagination-item" class="${n("w-5 text-center",this.inverted?"text-white":"text-black")}">${t}</span></span>`} <button part="navigation-button navigation-button--next" id="carousel__navigation-button--next" ?disabled="${!h}" class="${n("!ml-6 !rounded-sm sd-interactive transition-colors duration-fast ease-in-out",!h&&"sd-interactive--disabled",this.inverted?"sd-interactive--inverted":"sd-interactive--reset")}" aria-label="${this.localize.term("nextSlide")}" aria-controls="scroll-container" aria-disabled="${h?"false":"true"}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" @click="${h?a=>{this.next(),this.unblockAutoplay(a,this.nextButton)}:null}"><slot name="next-icon"><sd-6-5-2-icon class="${n("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${c?"chevron-up":"chevron-down"}"></sd-6-5-2-icon></slot></button></div><button class="${n("ml-6 !rounded-sm","!absolute !right-0 sd-interactive",this.inverted?"sd-interactive--inverted":"sd-interactive--reset",!this.autoplay&&"!hidden")}" part="autoplay-controls" aria-label="${this.localize.term("autoplay")}" aria-pressed="true" @click="${a=>{this.pausedAutoplay=!this.pausedAutoplay,a.detail&&this.autoplayControls.blur()}}"><slot name="autoplay-start" class="${n(this.pausedAutoplay?"":"hidden")}"><sd-6-5-2-icon class="h-6 w-6 grid place-items-center" library="_internal" name="start"></sd-6-5-2-icon></slot><slot name="autoplay-pause" class="${n(this.pausedAutoplay?"hidden":"")}"><sd-6-5-2-icon class="h-6 w-6 grid place-items-center" library="_internal" name="pause"></sd-6-5-2-icon></slot></button></div></div>`}};r.styles=[...w.styles,P`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{--slide-gap:var(--sl-spacing-medium, 1rem);--scroll-hint:0px;display:flex}.carousel{grid-template-areas:'. slides .' '. pagination .'}.carousel__pagination{grid-area:pagination}.carousel__slides{grid-area:slides;scrollbar-width:none;--slide-size:calc((100% - (var(--slides-per-page) - 1) * var(--slide-gap)) / var(--slides-per-page));grid-auto-columns:var(--slide-size);-moz-column-gap:var(--slide-gap);column-gap:var(--slide-gap);scroll-padding-inline:var(--scroll-hint);padding-inline:var(--scroll-hint)}.carousel__slides::-webkit-scrollbar{display:none}:host([fade]){--carousel-height:auto}:host([fade]) .carousel__slides{position:relative;display:block;overflow:hidden;height:var(--carousel-height)}@media (prefers-reduced-motion){:where(.carousel__slides){scroll-behavior:auto}}.carousel__navigation{grid-area:navigation}sd-6-5-2-button::part(label){pointer-events:none;display:flex;flex:auto;align-items:center}#carousel__navigation-button--next,#carousel__navigation-button--previous{color:rgba(var(--sd-color-icon-fill-primary))}#carousel__navigation-button--next:disabled,#carousel__navigation-button--previous:disabled{color:rgba(var(--sd-color-icon-fill-neutral-500))}:host([inverted]) #carousel__navigation-button--next,:host([inverted]) #carousel__navigation-button--previous{color:rgba(var(--sd-color-icon-fill-white))}:host([inverted]) #carousel__navigation-button--next:disabled,:host([inverted]) #carousel__navigation-button--previous:disabled{color:rgba(var(--sd-color-icon-fill-neutral-600))}`],o([f('[part~="autoplay-controls"]')],r.prototype,"autoplayControls",2),o([f('[part~="navigation-button--previous"]')],r.prototype,"previousButton",2),o([f('[part~="navigation-button--next"]')],r.prototype,"nextButton",2),o([E('[part~="pagination-item"]')],r.prototype,"paginationItems",2),o([p({type:String,reflect:!0})],r.prototype,"variant",2),o([p({type:Boolean,reflect:!0})],r.prototype,"inverted",2),o([p({type:Boolean,reflect:!0})],r.prototype,"loop",2),o([p({type:Boolean,reflect:!0})],r.prototype,"autoplay",2),o([p({type:Boolean,reflect:!0})],r.prototype,"fade",2),o([p({type:Number,attribute:"slides-per-page",reflect:!0})],r.prototype,"slidesPerPage",2),o([p({type:Number,attribute:"slides-per-move",reflect:!0})],r.prototype,"slidesPerMove",2),o([f("slot:not([name])")],r.prototype,"defaultSlot",2),o([f(".carousel__slides")],r.prototype,"scrollContainer",2),o([f(".carousel__pagination")],r.prototype,"paginationContainer",2),o([m()],r.prototype,"activeSlide",2),o([m()],r.prototype,"currentPage",2),o([m()],r.prototype,"pausedAutoplay",2),o([v("pausedAutoplay")],r.prototype,"handlePausedAutoplay",1),o([v("fade",{waitUntilFirstUpdate:!0})],r.prototype,"handleFadeChange",1),o([v("loop",{waitUntilFirstUpdate:!0}),v("slidesPerPage",{waitUntilFirstUpdate:!0})],r.prototype,"initializeSlides",1),o([v("activeSlide")],r.prototype,"handleSlideChange",1),o([v("slidesPerMove")],r.prototype,"handleSlidesPerMoveChange",1),o([v("autoplay")],r.prototype,"handleAutoplayChange",1),r=o([_("sd-6-5-2-carousel")],r);export{r as a};
1
+ import{a as C}from"./chunk.BJBQEPZV.js";import{a as k}from"./chunk.EOXYPQZI.js";import{a as T}from"./chunk.63QAWBWK.js";import{a as M}from"./chunk.CBQWVOOS.js";import{a as A}from"./chunk.IQPMMUES.js";import{a as n}from"./chunk.YFQFOIEM.js";import{a as v}from"./chunk.NYKJXI3Q.js";import{a as _,b as p,c as m,d as f,e as E,h as w}from"./chunk.CPBAZFMO.js";import{b as P,e as b}from"./chunk.763RLJEK.js";import{d as $}from"./chunk.W4QBFD6E.js";import{e as o}from"./chunk.6EV4YU6C.js";function I(u,d,e){let i=t=>Object.is(t,-0)?0:t;return u<d?i(d):u>e?i(e):i(u)}function*L(u,d){if(u!==void 0){let e=0;for(let i of u)yield d(i,e++)}}function*B(u,d,e=1){let i=d===void 0?0:u;d!=null||(d=u);for(let t=i;e>0?t<d:d<t;t+=e)yield t}var r=class extends w{constructor(){super(...arguments);this.variant="number";this.inverted=!1;this.loop=!1;this.autoplay=!1;this.fade=!1;this.slidesPerPage=1;this.slidesPerMove=1;this.activeSlide=0;this.currentPage=1;this.pausedAutoplay=!1;this.autoplayController=new M(this,()=>this.next());this.scrollController=new k(this);this.slides=this.getElementsByTagName("sd-6-6-0-carousel-item");this.intersectionObserverEntries=new Map;this.localize=new A(this);this.userInteracted=!1;this.fadeController=new C(this);this.handleUserInteraction=()=>{this.userInteracted=!0};this.handleSlotChange=e=>{e.some(t=>[...t.addedNodes,...t.removedNodes].some(s=>T.isCarouselItem(s)&&!s.hasAttribute("data-clone")))&&this.initializeSlides(),this.requestUpdate()};this.unblockAutoplay=(e,i)=>{e.detail&&i.blur()}}connectedCallback(){super.connectedCallback(),["click","keydown"].forEach(i=>this.addEventListener(i,this.handleUserInteraction));let e=new IntersectionObserver(i=>{i.forEach(t=>{this.intersectionObserverEntries.set(t.target,t);let s=t.target;s.toggleAttribute("inert",!t.isIntersecting),s.classList.toggle("--in-view",t.isIntersecting),s.setAttribute("aria-hidden",t.isIntersecting?"false":"true")})},{root:this,threshold:.6});this.intersectionObserver=e,e.takeRecords().forEach(i=>{this.intersectionObserverEntries.set(i.target,i)})}disconnectedCallback(){super.disconnectedCallback(),this.intersectionObserver.disconnect(),this.mutationObserver.disconnect(),["click","keydown"].forEach(e=>this.removeEventListener(e,this.handleUserInteraction)),this.fade&&this.fadeController.disable()}async firstUpdated(){if((()=>{let i=this.getSlides({excludeClones:!1});return i.length>0&&i[0].getBoundingClientRect().width>0})())this.initializeSlides();else{let i=new IntersectionObserver(t=>{t.forEach(s=>{s.isIntersecting&&s.target.getBoundingClientRect().width>0&&(this.initializeSlides(),i.disconnect())})});i.observe(this)}this.mutationObserver=new MutationObserver(this.handleSlotChange),this.mutationObserver.observe(this,{childList:!0,subtree:!1}),this.fade&&(await this.updateComplete,this.fadeController.enable())}getPageCount(e,i,t){return Math.ceil((e-i)/t)+1>0?Math.ceil((e-i)/t)+1:1}getCurrentPage(e,i,t,s){return Math.ceil((e-t)/s)-Math.ceil((e-t-i)/s)+1}getSlides({excludeClones:e=!0}={}){return[...this.slides].filter(i=>!e||!i.hasAttribute("data-clone"))}handleKeyDown(e){if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(e.key)){let i=e.target,t=this.localize.dir()==="rtl",s=i.closest('[part~="pagination-item"]')!==null,l=e.key==="ArrowDown"||!t&&e.key==="ArrowRight"||t&&e.key==="ArrowLeft",h=e.key==="ArrowUp"||!t&&e.key==="ArrowLeft"||t&&e.key==="ArrowRight";e.preventDefault(),h&&this.previous(),l&&this.next(),e.key==="Home"&&this.goToSlide(0),e.key==="End"&&this.goToSlide(this.getSlides().length-1),s&&this.updateComplete.then(()=>{var a;let c=(a=this.shadowRoot)==null?void 0:a.querySelector('[part~="pagination-item--active"]');c&&c.focus()})}}handleScrollEnd(){if(this.fade)return;let e=this.getSlides(),t=[...this.intersectionObserverEntries.values()].find(s=>s.isIntersecting);if(this.loop&&(t!=null&&t.target.hasAttribute("data-clone"))){let s=Number(t.target.getAttribute("data-clone"));this.goToSlide(s,"auto");return}t&&(this.activeSlide=e.indexOf(t.target))}handleFocus(){this.autoplay&&this.scrollContainer.setAttribute("aria-live","polite")}handleBlur(){this.autoplay&&this.scrollContainer.setAttribute("aria-live","off")}pause(){this.pausedAutoplay=!0}resume(){this.pausedAutoplay=!1}handlePausedAutoplay(){var e,i;this.pausedAutoplay?(this.autoplayController.stop(),(e=this.autoplayControls)==null||e.setAttribute("aria-pressed","false")):this.autoplay&&(this.autoplayController.start(3e3),(i=this.autoplayControls)==null||i.setAttribute("aria-pressed","true"))}handleFadeChange(){this.fade?this.fadeController.enable():this.fadeController.disable()}initializeSlides(){let e=this.getSlides(),i=this.intersectionObserver;if(this.intersectionObserverEntries.clear(),this.getSlides({excludeClones:!1}).forEach((t,s)=>{i.unobserve(t),t.classList.remove("--in-view"),t.classList.remove("--is-active"),t.setAttribute("aria-label",this.localize.term("slideNum",s+1,e.length)),t.hasAttribute("data-clone")&&t.remove()}),this.loop&&!this.fade){let t=this.slidesPerPage,s=e.slice(-t),l=e.slice(0,t);s.reverse().forEach((h,c)=>{let a=h.cloneNode(!0);a.setAttribute("data-clone",String(e.length-c-1)),this.prepend(a)}),l.forEach((h,c)=>{let a=h.cloneNode(!0);a.setAttribute("data-clone",String(c)),this.append(a)})}this.getSlides({excludeClones:!1}).forEach(t=>{i.observe(t)}),this.fade&&this.updateComplete.then(()=>{this.fadeController.enable()}),this.fade||this.goToSlide(this.activeSlide,"auto")}handleSlideChange(){let e=this.getSlides();e.forEach((s,l)=>{s.classList.toggle("--is-active",l===this.activeSlide)}),this.fade&&this.fadeController.updateActiveSlide(this.activeSlide);let i=this.getCurrentPage(e.length,this.activeSlide,this.slidesPerPage,this.slidesPerMove);this.currentPage!==i&&(this.currentPage=i),this.hasUpdated&&this.emit("sd-slide-change",{detail:{index:this.activeSlide,slide:e[this.activeSlide]}});let t=this.getPageCount(e.length,this.slidesPerPage,this.slidesPerMove);this.currentPage>t&&requestAnimationFrame(()=>{this.nextTillFirst()})}handleSlidesPerMoveChange(){if(this.fade)return;let e=this.getSlides({excludeClones:!1}),i=this.slidesPerMove;e.forEach((t,s)=>{Math.abs(s-i)%i===0?t.style.removeProperty("scroll-snap-align"):t.style.setProperty("scroll-snap-align","none")})}handleAutoplayChange(){this.autoplayController.stop(),this.autoplay&&!this.pausedAutoplay&&this.autoplayController.start(3e3)}previous(e="smooth"){if(this.fade){let s=this.loop?(this.activeSlide-1+this.getSlides().length)%this.getSlides().length:Math.max(0,this.activeSlide-1);this.goToSlide(s);return}let i=this.activeSlide||this.activeSlide-this.slidesPerMove,t=!1;for(;!t&&i>0;)i-=1,t=Math.abs(i-this.slidesPerMove)%this.slidesPerMove===0;this.currentPage-1===0&&this.loop?this.goToSlide(this.activeSlide-this.slidesPerPage,e):this.goToSlide(i,e)}next(e="smooth"){if(this.fade){let i=this.loop?(this.activeSlide+1)%this.getSlides().length:Math.min(this.getSlides().length-1,this.activeSlide+1);this.goToSlide(i);return}this.currentPage+1<=this.getPageCount(this.getSlides().length,this.slidesPerPage,this.slidesPerMove)?this.goToSlide(this.activeSlide+this.slidesPerMove,e):this.loop&&this.nextTillFirst(e)}nextTillFirst(e="smooth"){if(this.fade){this.goToSlide(0);return}for(;this.activeSlide!==0;)this.goToSlide(this.activeSlide+1,e);this.currentPage=this.getCurrentPage(this.getSlides().length,this.activeSlide,this.slidesPerPage,this.slidesPerMove)}goToSlide(e,i="smooth"){let{slidesPerPage:t,loop:s,scrollContainer:l,fade:h}=this,c=this.getSlides(),a=this.getSlides({excludeClones:!1}),g=(e+c.length)%c.length;if(this.activeSlide=g,h)return;let y=I(e+(s?t:0),0,a.length+1),O=a[y],S=l.getBoundingClientRect(),x=O.getBoundingClientRect();if(l.scrollTo({left:x.left-S.left+l.scrollLeft,top:x.top-S.top+l.scrollTop,behavior:$()?"auto":i}),this.userInteracted&&!this.loop){let z=this.activeSlide===c.length-1||this.activeSlide===this.slides.length-this.slidesPerPage,H=this.activeSlide===0;z?this.previousButton.focus({preventScroll:!0}):H&&this.nextButton.focus({preventScroll:!0})}}render(){let{scrollController:e,slidesPerMove:i}=this,t=this.getPageCount(this.getSlides().length,this.slidesPerPage,this.slidesPerMove),s=this.getCurrentPage(this.getSlides().length,this.activeSlide,this.slidesPerPage,this.slidesPerMove),l=this.loop||s>1,h=this.loop||s<t,c=this.localize.dir()==="ltr";return b`<div part="base" class="${n("carousel h-full w-full")}"><div id="scroll-container" part="scroll-container" class="${n("carousel__slides mb-6 max-h-full w-full items-center justify-items-center",this.inverted?"focus-visible:focus-outline-inverted":"focus-visible:focus-outline",this.fade?"relative overflow-hidden":"grid overflow-auto overscroll-x-contain grid-flow-col auto-rows-[100%] snap-x snap-mandatory overflow-y-hidden")}" style="--slides-per-page:${this.slidesPerPage}" aria-busy="${e.scrolling?"true":"false"}" aria-label="${this.localize.term("carouselContainer",Array.from(this.slides).filter(a=>!a.hasAttribute("data-clone")).length)}" aria-live="${this.autoplay?"off":"polite"}" tabindex="0" @keydown="${this.handleKeyDown}" @scrollend="${this.handleScrollEnd}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"><slot></slot></div><div part="controls" class="${n("w-full flex items-center justify-center relative")}"><div part="navigation" class="${n("carousel__navigation flex items-center justify-center")}"><button part="navigation-button navigation-button--previous" id="carousel__navigation-button--previous" ?disabled="${!l}" class="${n("!mr-6 !rounded-sm sd-interactive transition-colors duration-fast ease-in-out",!l&&"sd-interactive--disabled",this.inverted?"sd-interactive--inverted":"sd-interactive--reset")}" aria-label="${this.localize.term("previousSlide")}" aria-controls="scroll-container" aria-disabled="${l?"false":"true"}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" @click="${l?a=>{this.previous(),this.unblockAutoplay(a,this.previousButton)}:null}"><slot name="previous-icon"><sd-6-6-0-icon class="${n("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${c?"chevron-down":"chevron-up"}"></sd-6-6-0-icon></slot></button> ${this.variant==="dot"?b`<div part="pagination-dot" role="tablist" class="${n("carousel__pagination dot flex wrap items-center gap-2")}" aria-controls="scroll-container">${L(B(t),a=>{let g=a+1===s;return b`<button part="pagination-item ${g?"pagination-item--active":""}" class="${n("carousel__pagination-item","block cursor-pointer bg-none border-0 rounded-full",g?"bg-accent":"",this.inverted?"focus-within:focus-outline-inverted":"focus-within:focus-outline")}" role="tab" tabindex="0" aria-selected="${g?"true":"false"}" aria-label="${this.localize.term("goToSlide",a+1,t)}" @click="${y=>{this.goToSlide(a*i),this.unblockAutoplay(y,this.paginationItems[a])}}" @keydown="${this.handleKeyDown}"><span class="${n("h-4 w-4 block border sd-6-6-0-carousel__pager-dot-border-width rounded-full transition-colors duration-slow hover:duration-fast ease-in-out",this.inverted?"sd-6-6-0-carousel__pager-dot--inverted-border hover:border-primary-200":"border-primary hover:border-primary-500",g&&"border-none",g?this.inverted?"sd-6-6-0-carousel__pager-dot--inverted-background hover:sd-6-6-0-carousel__pager-dot--inverted--hovered-background":"sd-6-6-0-carousel__pager-dot-background hover:bg-accent-550":"")}"></span></button>`})}</div>`:b`<span part="pagination-number" class="carousel__pagination number flex gap-0.5 cursor-default select-none" aria-controls="scroll-container"><span part="pagination-item" class="${n("w-5 text-center border-b-2",this.inverted?"text-white sd-6-6-0-carousel--active--inverted-color-border":"text-black sd-6-6-0-carousel--active-color-border")}">${s}</span> <span part="pagination-divider" class="${n("scale-y-[1.5]","text-center",this.inverted?"text-white":"text-black")}">/</span> <span part="pagination-item" class="${n("w-5 text-center",this.inverted?"text-white":"text-black")}">${t}</span></span>`} <button part="navigation-button navigation-button--next" id="carousel__navigation-button--next" ?disabled="${!h}" class="${n("!ml-6 !rounded-sm sd-interactive transition-colors duration-fast ease-in-out",!h&&"sd-interactive--disabled",this.inverted?"sd-interactive--inverted":"sd-interactive--reset")}" aria-label="${this.localize.term("nextSlide")}" aria-controls="scroll-container" aria-disabled="${h?"false":"true"}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" @click="${h?a=>{this.next(),this.unblockAutoplay(a,this.nextButton)}:null}"><slot name="next-icon"><sd-6-6-0-icon class="${n("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${c?"chevron-up":"chevron-down"}"></sd-6-6-0-icon></slot></button></div><button class="${n("ml-6 !rounded-sm","!absolute !right-0 sd-interactive",this.inverted?"sd-interactive--inverted":"sd-interactive--reset",!this.autoplay&&"!hidden")}" part="autoplay-controls" aria-label="${this.localize.term("autoplay")}" aria-pressed="true" @click="${a=>{this.pausedAutoplay=!this.pausedAutoplay,a.detail&&this.autoplayControls.blur()}}"><slot name="autoplay-start" class="${n(this.pausedAutoplay?"":"hidden")}"><sd-6-6-0-icon class="h-6 w-6 grid place-items-center" library="_internal" name="start"></sd-6-6-0-icon></slot><slot name="autoplay-pause" class="${n(this.pausedAutoplay?"hidden":"")}"><sd-6-6-0-icon class="h-6 w-6 grid place-items-center" library="_internal" name="pause"></sd-6-6-0-icon></slot></button></div></div>`}};r.styles=[...w.styles,P`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{--slide-gap:var(--sl-spacing-medium, 1rem);--scroll-hint:0px;display:flex}.carousel{grid-template-areas:'. slides .' '. pagination .'}.carousel__pagination{grid-area:pagination}.carousel__slides{grid-area:slides;scrollbar-width:none;--slide-size:calc((100% - (var(--slides-per-page) - 1) * var(--slide-gap)) / var(--slides-per-page));grid-auto-columns:var(--slide-size);-moz-column-gap:var(--slide-gap);column-gap:var(--slide-gap);scroll-padding-inline:var(--scroll-hint);padding-inline:var(--scroll-hint)}.carousel__slides::-webkit-scrollbar{display:none}:host([fade]){--carousel-height:auto}:host([fade]) .carousel__slides{position:relative;display:block;overflow:hidden;height:var(--carousel-height)}@media (prefers-reduced-motion){:where(.carousel__slides){scroll-behavior:auto}}.carousel__navigation{grid-area:navigation}sd-6-6-0-button::part(label){pointer-events:none;display:flex;flex:auto;align-items:center}#carousel__navigation-button--next,#carousel__navigation-button--previous{color:rgba(var(--sd-color-icon-fill-primary))}#carousel__navigation-button--next:disabled,#carousel__navigation-button--previous:disabled{color:rgba(var(--sd-color-icon-fill-neutral-500))}:host([inverted]) #carousel__navigation-button--next,:host([inverted]) #carousel__navigation-button--previous{color:rgba(var(--sd-color-icon-fill-white))}:host([inverted]) #carousel__navigation-button--next:disabled,:host([inverted]) #carousel__navigation-button--previous:disabled{color:rgba(var(--sd-color-icon-fill-neutral-600))}`],o([f('[part~="autoplay-controls"]')],r.prototype,"autoplayControls",2),o([f('[part~="navigation-button--previous"]')],r.prototype,"previousButton",2),o([f('[part~="navigation-button--next"]')],r.prototype,"nextButton",2),o([E('[part~="pagination-item"]')],r.prototype,"paginationItems",2),o([p({type:String,reflect:!0})],r.prototype,"variant",2),o([p({type:Boolean,reflect:!0})],r.prototype,"inverted",2),o([p({type:Boolean,reflect:!0})],r.prototype,"loop",2),o([p({type:Boolean,reflect:!0})],r.prototype,"autoplay",2),o([p({type:Boolean,reflect:!0})],r.prototype,"fade",2),o([p({type:Number,attribute:"slides-per-page",reflect:!0})],r.prototype,"slidesPerPage",2),o([p({type:Number,attribute:"slides-per-move",reflect:!0})],r.prototype,"slidesPerMove",2),o([f("slot:not([name])")],r.prototype,"defaultSlot",2),o([f(".carousel__slides")],r.prototype,"scrollContainer",2),o([f(".carousel__pagination")],r.prototype,"paginationContainer",2),o([m()],r.prototype,"activeSlide",2),o([m()],r.prototype,"currentPage",2),o([m()],r.prototype,"pausedAutoplay",2),o([v("pausedAutoplay")],r.prototype,"handlePausedAutoplay",1),o([v("fade",{waitUntilFirstUpdate:!0})],r.prototype,"handleFadeChange",1),o([v("loop",{waitUntilFirstUpdate:!0}),v("slidesPerPage",{waitUntilFirstUpdate:!0})],r.prototype,"initializeSlides",1),o([v("activeSlide")],r.prototype,"handleSlideChange",1),o([v("slidesPerMove")],r.prototype,"handleSlidesPerMoveChange",1),o([v("autoplay")],r.prototype,"handleAutoplayChange",1),r=o([_("sd-6-6-0-carousel")],r);export{r as a};
3
3
  /*! Bundled license information:
4
4
 
5
5
  lit-html/directives/map.js:
@@ -1,2 +1,2 @@
1
- import{a as m}from"./chunk.MWDEA25W.js";import{a as p}from"./chunk.NYKJXI3Q.js";import{a as n,b as o,h as a}from"./chunk.ALCKOGA7.js";import{b as c,e as l}from"./chunk.763RLJEK.js";import{e as s}from"./chunk.6EV4YU6C.js";var t=class extends a{constructor(){super(...arguments);this.mode="cors";this.allowScripts=!1}executeScript(e){let r=document.createElement("script");[...e.attributes].forEach(i=>r.setAttribute(i.name,i.value)),r.textContent=e.textContent,e.parentNode.replaceChild(r,e)}async handleSrcChange(){try{let e=this.src,r=await m(e,this.mode);if(e!==this.src)return;if(!r.ok){this.emit("sd-error",{detail:{status:r.status}});return}this.innerHTML=r.html,this.allowScripts&&[...this.querySelectorAll("script")].forEach(i=>this.executeScript(i)),this.emit("sd-load")}catch(e){this.emit("sd-error",{detail:{status:-1}})}}render(){return l`<slot></slot>`}};t.styles=[...a.styles,c`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{display:block}`],s([o({reflect:!0})],t.prototype,"src",2),s([o({type:String,reflect:!0})],t.prototype,"mode",2),s([o({attribute:"allow-scripts",type:Boolean,reflect:!0})],t.prototype,"allowScripts",2),s([p("src")],t.prototype,"handleSrcChange",1),t=s([n("sd-6-5-2-include")],t);export{t as a};
1
+ import{a as m}from"./chunk.MWDEA25W.js";import{a as p}from"./chunk.NYKJXI3Q.js";import{a as n,b as o,h as a}from"./chunk.CPBAZFMO.js";import{b as c,e as l}from"./chunk.763RLJEK.js";import{e as s}from"./chunk.6EV4YU6C.js";var t=class extends a{constructor(){super(...arguments);this.mode="cors";this.allowScripts=!1}executeScript(e){let r=document.createElement("script");[...e.attributes].forEach(i=>r.setAttribute(i.name,i.value)),r.textContent=e.textContent,e.parentNode.replaceChild(r,e)}async handleSrcChange(){try{let e=this.src,r=await m(e,this.mode);if(e!==this.src)return;if(!r.ok){this.emit("sd-error",{detail:{status:r.status}});return}this.innerHTML=r.html,this.allowScripts&&[...this.querySelectorAll("script")].forEach(i=>this.executeScript(i)),this.emit("sd-load")}catch(e){this.emit("sd-error",{detail:{status:-1}})}}render(){return l`<slot></slot>`}};t.styles=[...a.styles,c`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{display:block}`],s([o({reflect:!0})],t.prototype,"src",2),s([o({type:String,reflect:!0})],t.prototype,"mode",2),s([o({attribute:"allow-scripts",type:Boolean,reflect:!0})],t.prototype,"allowScripts",2),s([p("src")],t.prototype,"handleSrcChange",1),t=s([n("sd-6-6-0-include")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as c,h as e}from"./chunk.ALCKOGA7.js";import{b as l,e as o}from"./chunk.763RLJEK.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends e{static isCarouselItem(s){return s instanceof Element&&s.getAttribute("aria-roledescription")==="slide"}connectedCallback(){super.connectedCallback(),this.setAttribute("role","group")}render(){return o`<slot></slot>`}};t.styles=[...e.styles,l`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{aspect-ratio:var(--aspect-ratio);scroll-snap-align:start;scroll-snap-stop:always;display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:center}::slotted(img){height:100%;width:100%;-o-object-fit:cover;object-fit:cover}`],t=i([c("sd-6-5-2-carousel-item")],t);export{t as a};
1
+ import{a as c,h as e}from"./chunk.CPBAZFMO.js";import{b as l,e as o}from"./chunk.763RLJEK.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends e{static isCarouselItem(s){return s instanceof Element&&s.getAttribute("aria-roledescription")==="slide"}connectedCallback(){super.connectedCallback(),this.setAttribute("role","group")}render(){return o`<slot></slot>`}};t.styles=[...e.styles,l`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{aspect-ratio:var(--aspect-ratio);scroll-snap-align:start;scroll-snap-stop:always;display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:center}::slotted(img){height:100%;width:100%;-o-object-fit:cover;object-fit:cover}`],t=i([c("sd-6-6-0-carousel-item")],t);export{t as a};