@solid-design-system/components 6.9.2 → 6.11.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 (654) hide show
  1. package/cdn/chunks/{chunk.AZILYRH5.js → chunk.2C7ZIVAR.js} +1 -1
  2. package/cdn/chunks/{chunk.CZH4RZUA.js → chunk.2ICCTLKT.js} +1 -1
  3. package/cdn/chunks/{chunk.GYLDD7OO.js → chunk.2OSCB6XW.js} +1 -1
  4. package/cdn/chunks/{chunk.6H45UF7X.js → chunk.3RO5EKVU.js} +1 -1
  5. package/cdn/chunks/{chunk.XQGK5AD7.js → chunk.3XORZCSP.js} +1 -1
  6. package/cdn/chunks/{chunk.LPAOJ3UT.js → chunk.4275NGRN.js} +1 -1
  7. package/cdn/chunks/{chunk.CSUL5FAA.js → chunk.4JSN5MRW.js} +1 -1
  8. package/cdn/chunks/{chunk.NK5ADMN2.js → chunk.5DNOSYG7.js} +1 -1
  9. package/cdn/chunks/{chunk.RHXXKUAP.js → chunk.5X4GK4PS.js} +1 -1
  10. package/cdn/chunks/{chunk.PO3YG7QM.js → chunk.6TGHIA5J.js} +1 -1
  11. package/cdn/chunks/{chunk.X7Z2PXUI.js → chunk.6XBOSAGN.js} +1 -1
  12. package/cdn/chunks/{chunk.M7IOABFW.js → chunk.AEVTLWPH.js} +1 -1
  13. package/cdn/chunks/{chunk.VBVSO7CX.js → chunk.ALISVCEH.js} +1 -1
  14. package/cdn/chunks/{chunk.ETYTBHYS.js → chunk.ASTVH7FL.js} +1 -1
  15. package/cdn/chunks/{chunk.CJIGOFUV.js → chunk.B4YUOB5P.js} +1 -1
  16. package/cdn/chunks/{chunk.VZU6YWNK.js → chunk.B5QCBV2K.js} +1 -1
  17. package/cdn/chunks/{chunk.ABEZTKXZ.js → chunk.C5DMBHWP.js} +1 -1
  18. package/cdn/chunks/{chunk.2PFSV4UH.js → chunk.CWVXYYIU.js} +1 -1
  19. package/cdn/chunks/{chunk.PBG7SX5G.js → chunk.D4ALUFQN.js} +1 -1
  20. package/cdn/chunks/{chunk.OVMB2HQ7.js → chunk.DSZLFWVG.js} +1 -1
  21. package/cdn/chunks/{chunk.UH6HUCWL.js → chunk.EZ3YRINW.js} +1 -1
  22. package/cdn/chunks/{chunk.VJWJIXNG.js → chunk.FHAH3D75.js} +1 -1
  23. package/cdn/chunks/{chunk.A6VWEUXI.js → chunk.FTCO66N2.js} +1 -1
  24. package/cdn/chunks/{chunk.FWVEGMDU.js → chunk.GFQ37XZ3.js} +1 -1
  25. package/cdn/chunks/{chunk.GB4BLTBN.js → chunk.GRA62HBK.js} +1 -1
  26. package/cdn/chunks/{chunk.LCRJHN7X.js → chunk.H4OQH3RR.js} +1 -1
  27. package/cdn/chunks/{chunk.DOFLMPNA.js → chunk.HAYWDZXJ.js} +1 -1
  28. package/cdn/chunks/{chunk.MND77BIP.js → chunk.HCHJ72XZ.js} +1 -1
  29. package/cdn/chunks/{chunk.LJUXIWVE.js → chunk.HD6YL54O.js} +1 -1
  30. package/cdn/chunks/{chunk.AK6QMGJL.js → chunk.HUJHFH6K.js} +1 -1
  31. package/cdn/chunks/chunk.IVVASGQV.js +2 -0
  32. package/cdn/chunks/{chunk.IHPCVJQP.js → chunk.JMZGGLJF.js} +1 -1
  33. package/cdn/chunks/{chunk.BJYMUYXU.js → chunk.JTN7RVTE.js} +1 -1
  34. package/cdn/chunks/{chunk.YBVSFGIY.js → chunk.KD273FPQ.js} +1 -1
  35. package/cdn/chunks/{chunk.2MIX3O75.js → chunk.LHO6UUG3.js} +1 -1
  36. package/cdn/chunks/{chunk.S6YZ73C6.js → chunk.M6WOCWLF.js} +1 -1
  37. package/cdn/chunks/{chunk.3JJMR6UW.js → chunk.MO4FK3ME.js} +1 -1
  38. package/cdn/chunks/{chunk.LCDK6JMB.js → chunk.MUM37JWD.js} +1 -1
  39. package/cdn/chunks/{chunk.SYKS2NVL.js → chunk.NLMK6D5B.js} +1 -1
  40. package/cdn/chunks/{chunk.LROVOQK7.js → chunk.NVFRCOCT.js} +1 -1
  41. package/cdn/chunks/{chunk.EE6DZSAZ.js → chunk.NZWLQHP6.js} +1 -1
  42. package/cdn/chunks/{chunk.MOVV5SGH.js → chunk.OR63DCBY.js} +1 -1
  43. package/cdn/chunks/{chunk.MBTTKYXS.js → chunk.OYGLHUXD.js} +1 -1
  44. package/cdn/chunks/{chunk.LJGKR57E.js → chunk.RPTI4GSL.js} +1 -1
  45. package/cdn/chunks/{chunk.MGVXL2HX.js → chunk.TE3AUQ4S.js} +1 -1
  46. package/cdn/chunks/{chunk.3QIJXAQA.js → chunk.TNETQ72P.js} +1 -1
  47. package/cdn/chunks/{chunk.LZ22HXBZ.js → chunk.TPSMY4DZ.js} +1 -1
  48. package/cdn/chunks/{chunk.JE443GSD.js → chunk.U3A5RX5B.js} +1 -1
  49. package/cdn/chunks/{chunk.5KUK2VJM.js → chunk.UEW3QMTK.js} +1 -1
  50. package/cdn/chunks/{chunk.2SMHQXPB.js → chunk.X4DMLQMU.js} +1 -1
  51. package/cdn/chunks/{chunk.23WHB4QP.js → chunk.XCRDBIHK.js} +1 -1
  52. package/cdn/chunks/{chunk.TIT73LW6.js → chunk.XEN3K6FZ.js} +1 -1
  53. package/cdn/chunks/{chunk.3R2FJ7GP.js → chunk.XFPHQRJQ.js} +1 -1
  54. package/cdn/chunks/{chunk.6RPVUY7L.js → chunk.XG7G63I4.js} +1 -1
  55. package/cdn/chunks/{chunk.F6GLDWSF.js → chunk.XRVALG2X.js} +1 -1
  56. package/cdn/chunks/{chunk.KU24TV3E.js → chunk.YI6DG4H7.js} +1 -1
  57. package/cdn/chunks/{chunk.RLMMTFRP.js → chunk.YWOD5MYX.js} +1 -1
  58. package/cdn/chunks/{chunk.SN3JKNRR.js → chunk.ZFUFHPJ3.js} +1 -1
  59. package/cdn/chunks/{chunk.JWST2JU2.js → chunk.ZGXH7QPY.js} +1 -1
  60. package/cdn/chunks/{chunk.6P7SZLGS.js → chunk.ZIVWE443.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.d.ts +3 -1
  77. package/cdn/components/datepicker/datepicker.js +1 -1
  78. package/cdn/components/dialog/dialog.js +1 -1
  79. package/cdn/components/divider/divider.js +1 -1
  80. package/cdn/components/drawer/drawer.js +1 -1
  81. package/cdn/components/dropdown/dropdown.js +1 -1
  82. package/cdn/components/expandable/expandable.js +1 -1
  83. package/cdn/components/flipcard/flipcard.js +1 -1
  84. package/cdn/components/header/header.js +1 -1
  85. package/cdn/components/icon/icon.js +1 -1
  86. package/cdn/components/include/include.js +1 -1
  87. package/cdn/components/input/input.js +1 -1
  88. package/cdn/components/link/link.js +1 -1
  89. package/cdn/components/loader/loader.js +1 -1
  90. package/cdn/components/map-marker/map-marker.js +1 -1
  91. package/cdn/components/menu/menu.js +1 -1
  92. package/cdn/components/menu-item/menu-item.js +1 -1
  93. package/cdn/components/navigation-item/navigation-item.js +1 -1
  94. package/cdn/components/notification/notification.js +1 -1
  95. package/cdn/components/optgroup/optgroup.js +1 -1
  96. package/cdn/components/option/option.js +1 -1
  97. package/cdn/components/popup/popup.js +1 -1
  98. package/cdn/components/quickfact/quickfact.js +1 -1
  99. package/cdn/components/radio/radio.js +1 -1
  100. package/cdn/components/radio-button/radio-button.js +1 -1
  101. package/cdn/components/radio-group/radio-group.js +1 -1
  102. package/cdn/components/range/range.js +1 -1
  103. package/cdn/components/range-tick/range-tick.js +1 -1
  104. package/cdn/components/scrollable/scrollable.js +1 -1
  105. package/cdn/components/select/select.js +1 -1
  106. package/cdn/components/skeleton/skeleton.js +1 -1
  107. package/cdn/components/spinner/spinner.js +1 -1
  108. package/cdn/components/step/step.js +1 -1
  109. package/cdn/components/step-group/step-group.js +1 -1
  110. package/cdn/components/switch/switch.js +1 -1
  111. package/cdn/components/tab/tab.js +1 -1
  112. package/cdn/components/tab-group/tab-group.js +1 -1
  113. package/cdn/components/tab-panel/tab-panel.js +1 -1
  114. package/cdn/components/tag/tag.js +1 -1
  115. package/cdn/components/teaser/teaser.js +1 -1
  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 +32 -13
  122. package/cdn/solid-components.bundle.js +77 -77
  123. package/cdn/solid-components.iife.js +77 -77
  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 +11 -6
  127. package/cdn/web-types.json +23 -13
  128. package/cdn-versioned/chunks/{chunk.AZILYRH5.js → chunk.2C7ZIVAR.js} +2 -2
  129. package/cdn-versioned/chunks/{chunk.CZH4RZUA.js → chunk.2ICCTLKT.js} +3 -3
  130. package/cdn-versioned/chunks/chunk.2OSCB6XW.js +2 -0
  131. package/cdn-versioned/chunks/{chunk.6H45UF7X.js → chunk.3RO5EKVU.js} +2 -2
  132. package/cdn-versioned/chunks/{chunk.XQGK5AD7.js → chunk.3XORZCSP.js} +3 -3
  133. package/cdn-versioned/chunks/{chunk.LPAOJ3UT.js → chunk.4275NGRN.js} +2 -2
  134. package/cdn-versioned/chunks/chunk.4JSN5MRW.js +12 -0
  135. package/cdn-versioned/chunks/{chunk.NK5ADMN2.js → chunk.5DNOSYG7.js} +2 -2
  136. package/cdn-versioned/chunks/{chunk.RHXXKUAP.js → chunk.5X4GK4PS.js} +2 -2
  137. package/cdn-versioned/chunks/chunk.6TGHIA5J.js +2 -0
  138. package/cdn-versioned/chunks/{chunk.X7Z2PXUI.js → chunk.6XBOSAGN.js} +2 -2
  139. package/cdn-versioned/chunks/chunk.AEVTLWPH.js +2 -0
  140. package/cdn-versioned/chunks/{chunk.VBVSO7CX.js → chunk.ALISVCEH.js} +2 -2
  141. package/cdn-versioned/chunks/{chunk.ETYTBHYS.js → chunk.ASTVH7FL.js} +2 -2
  142. package/cdn-versioned/chunks/{chunk.CJIGOFUV.js → chunk.B4YUOB5P.js} +2 -2
  143. package/cdn-versioned/chunks/{chunk.VZU6YWNK.js → chunk.B5QCBV2K.js} +2 -2
  144. package/cdn-versioned/chunks/chunk.C5DMBHWP.js +4 -0
  145. package/cdn-versioned/chunks/{chunk.2PFSV4UH.js → chunk.CWVXYYIU.js} +2 -2
  146. package/cdn-versioned/chunks/chunk.D4ALUFQN.js +2 -0
  147. package/cdn-versioned/chunks/{chunk.OVMB2HQ7.js → chunk.DSZLFWVG.js} +2 -2
  148. package/cdn-versioned/chunks/{chunk.UH6HUCWL.js → chunk.EZ3YRINW.js} +2 -2
  149. package/cdn-versioned/chunks/chunk.FHAH3D75.js +12 -0
  150. package/cdn-versioned/chunks/chunk.FTCO66N2.js +2 -0
  151. package/cdn-versioned/chunks/{chunk.FWVEGMDU.js → chunk.GFQ37XZ3.js} +2 -2
  152. package/cdn-versioned/chunks/chunk.GRA62HBK.js +12 -0
  153. package/cdn-versioned/chunks/chunk.H4OQH3RR.js +2 -0
  154. package/cdn-versioned/chunks/chunk.HAYWDZXJ.js +2 -0
  155. package/cdn-versioned/chunks/chunk.HCHJ72XZ.js +2 -0
  156. package/cdn-versioned/chunks/{chunk.LJUXIWVE.js → chunk.HD6YL54O.js} +2 -2
  157. package/cdn-versioned/chunks/{chunk.AK6QMGJL.js → chunk.HUJHFH6K.js} +2 -2
  158. package/cdn-versioned/chunks/chunk.IVVASGQV.js +2 -0
  159. package/cdn-versioned/chunks/chunk.JMZGGLJF.js +26 -0
  160. package/cdn-versioned/chunks/{chunk.BJYMUYXU.js → chunk.JTN7RVTE.js} +2 -2
  161. package/cdn-versioned/chunks/{chunk.YBVSFGIY.js → chunk.KD273FPQ.js} +2 -2
  162. package/cdn-versioned/chunks/{chunk.2MIX3O75.js → chunk.LHO6UUG3.js} +2 -2
  163. package/cdn-versioned/chunks/chunk.M6WOCWLF.js +2 -0
  164. package/cdn-versioned/chunks/{chunk.3JJMR6UW.js → chunk.MO4FK3ME.js} +2 -2
  165. package/cdn-versioned/chunks/chunk.MUM37JWD.js +2 -0
  166. package/cdn-versioned/chunks/chunk.NLMK6D5B.js +2 -0
  167. package/cdn-versioned/chunks/{chunk.LROVOQK7.js → chunk.NVFRCOCT.js} +2 -2
  168. package/cdn-versioned/chunks/{chunk.EE6DZSAZ.js → chunk.NZWLQHP6.js} +2 -2
  169. package/cdn-versioned/chunks/chunk.OR63DCBY.js +2 -0
  170. package/cdn-versioned/chunks/{chunk.MBTTKYXS.js → chunk.OYGLHUXD.js} +2 -2
  171. package/cdn-versioned/chunks/chunk.RAP66B6O.js +1 -1
  172. package/cdn-versioned/chunks/{chunk.LJGKR57E.js → chunk.RPTI4GSL.js} +2 -2
  173. package/cdn-versioned/chunks/{chunk.MGVXL2HX.js → chunk.TE3AUQ4S.js} +2 -2
  174. package/cdn-versioned/chunks/chunk.TNETQ72P.js +2 -0
  175. package/cdn-versioned/chunks/{chunk.LZ22HXBZ.js → chunk.TPSMY4DZ.js} +2 -2
  176. package/cdn-versioned/chunks/chunk.U3A5RX5B.js +12 -0
  177. package/cdn-versioned/chunks/{chunk.5KUK2VJM.js → chunk.UEW3QMTK.js} +2 -2
  178. package/cdn-versioned/chunks/chunk.VNKXLA5X.js +2 -2
  179. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  180. package/cdn-versioned/chunks/chunk.X4DMLQMU.js +2 -0
  181. package/cdn-versioned/chunks/chunk.XCRDBIHK.js +2 -0
  182. package/cdn-versioned/chunks/{chunk.TIT73LW6.js → chunk.XEN3K6FZ.js} +2 -2
  183. package/cdn-versioned/chunks/{chunk.3R2FJ7GP.js → chunk.XFPHQRJQ.js} +2 -2
  184. package/cdn-versioned/chunks/{chunk.6RPVUY7L.js → chunk.XG7G63I4.js} +2 -2
  185. package/cdn-versioned/chunks/{chunk.F6GLDWSF.js → chunk.XRVALG2X.js} +2 -2
  186. package/cdn-versioned/chunks/{chunk.KU24TV3E.js → chunk.YI6DG4H7.js} +3 -3
  187. package/cdn-versioned/chunks/chunk.YPTZDABK.js +1 -1
  188. package/cdn-versioned/chunks/{chunk.RLMMTFRP.js → chunk.YWOD5MYX.js} +2 -2
  189. package/cdn-versioned/chunks/chunk.ZFUFHPJ3.js +2 -0
  190. package/cdn-versioned/chunks/{chunk.JWST2JU2.js → chunk.ZGXH7QPY.js} +2 -2
  191. package/cdn-versioned/chunks/{chunk.6P7SZLGS.js → chunk.ZIVWE443.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 +4 -2
  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.js +1 -1
  300. package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
  301. package/cdn-versioned/components/textarea/textarea.js +1 -1
  302. package/cdn-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  303. package/cdn-versioned/components/theme-listener/theme-listener.js +1 -1
  304. package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
  305. package/cdn-versioned/components/tooltip/tooltip.js +1 -1
  306. package/cdn-versioned/components/video/video.d.ts +1 -1
  307. package/cdn-versioned/components/video/video.js +1 -1
  308. package/cdn-versioned/custom-elements.json +277 -258
  309. package/cdn-versioned/internal/form.js +2 -2
  310. package/cdn-versioned/solid-components.bundle.js +86 -86
  311. package/cdn-versioned/solid-components.css +2 -2
  312. package/cdn-versioned/solid-components.iife.js +85 -85
  313. package/cdn-versioned/solid-components.js +1 -1
  314. package/cdn-versioned/utilities/autocomplete-config.js +1 -1
  315. package/cdn-versioned/vscode.html-custom-data.json +118 -113
  316. package/cdn-versioned/web-types.json +179 -169
  317. package/dist/chunks/{chunk.AODPVXHS.js → chunk.2CU6QOL7.js} +1 -1
  318. package/dist/chunks/{chunk.K3XAZCMW.js → chunk.35EQJ5SV.js} +1 -1
  319. package/dist/chunks/{chunk.PMRFHLOS.js → chunk.4C33XKR5.js} +1 -1
  320. package/dist/chunks/{chunk.KU6IGPYI.js → chunk.4GXGCVAT.js} +1 -1
  321. package/dist/chunks/{chunk.E5PND36Z.js → chunk.4TOOTTT7.js} +1 -1
  322. package/dist/chunks/{chunk.W5R3Q2AL.js → chunk.5IGIZXCC.js} +2 -2
  323. package/dist/chunks/{chunk.AGALXK7Q.js → chunk.5V4ZLM46.js} +1 -1
  324. package/dist/chunks/{chunk.XWVML7WY.js → chunk.6ZTH3QOK.js} +1 -1
  325. package/dist/chunks/{chunk.KXDIIYXU.js → chunk.77QMG2JK.js} +1 -1
  326. package/dist/chunks/{chunk.BVDPZZWU.js → chunk.7NPVZGYG.js} +2 -2
  327. package/dist/chunks/{chunk.ZR5VFTTA.js → chunk.CGHNKRSG.js} +1 -1
  328. package/dist/chunks/{chunk.Z36ZVOCO.js → chunk.CPEBS32D.js} +1 -1
  329. package/dist/chunks/{chunk.TBWMHZMA.js → chunk.CQPHP72G.js} +1 -1
  330. package/dist/chunks/{chunk.3LJCVKT5.js → chunk.DVHTNKCQ.js} +1 -1
  331. package/dist/chunks/{chunk.FWFNUTMW.js → chunk.DXOZDLN3.js} +1 -1
  332. package/dist/chunks/{chunk.JGH47TIO.js → chunk.EORDFUN5.js} +1 -1
  333. package/dist/chunks/{chunk.EHRCG4D4.js → chunk.F733OTL5.js} +1 -1
  334. package/dist/chunks/{chunk.XIMHYPRX.js → chunk.FN3QPQKW.js} +1 -1
  335. package/dist/chunks/{chunk.BXKAF4FA.js → chunk.GUPU7Y4R.js} +1 -1
  336. package/dist/chunks/{chunk.LEHN7AAI.js → chunk.HDB5VQ6T.js} +1 -1
  337. package/dist/chunks/{chunk.VWA3OZPN.js → chunk.HMYRJJSA.js} +2 -2
  338. package/dist/chunks/{chunk.CCAOZTZT.js → chunk.HSLR5EL7.js} +1 -1
  339. package/dist/chunks/{chunk.V4YLR2QP.js → chunk.HWSQMDBV.js} +1 -1
  340. package/dist/chunks/{chunk.UPU7QMDY.js → chunk.IYIDHG44.js} +1 -1
  341. package/dist/chunks/{chunk.ENPYKZSE.js → chunk.J7P25XPS.js} +1 -1
  342. package/dist/chunks/{chunk.WXPUTX2S.js → chunk.JSHWJIQJ.js} +1 -1
  343. package/dist/chunks/{chunk.Q7RGLPOU.js → chunk.JVFY4KAV.js} +1 -1
  344. package/dist/chunks/{chunk.DQQZ3P2Q.js → chunk.JZ4LAYZZ.js} +1 -1
  345. package/dist/chunks/{chunk.EMTQ3SYF.js → chunk.K33P42FK.js} +1 -1
  346. package/dist/chunks/{chunk.2YKSAZET.js → chunk.K5MFIQWD.js} +1 -1
  347. package/dist/chunks/{chunk.YR42X3WU.js → chunk.KH2LWYO6.js} +1 -1
  348. package/dist/chunks/{chunk.VTOWPUO4.js → chunk.KMMZFIBW.js} +1 -1
  349. package/dist/chunks/{chunk.TNJNDHY7.js → chunk.KNFZPKTF.js} +1 -1
  350. package/dist/chunks/{chunk.W7QA5BDD.js → chunk.LRKBZ2PI.js} +1 -1
  351. package/dist/chunks/{chunk.S6R3YTS2.js → chunk.MAECKDRE.js} +1 -1
  352. package/dist/chunks/{chunk.7JJXTME6.js → chunk.MJU6BUDN.js} +1 -1
  353. package/dist/chunks/{chunk.5L6ITCDK.js → chunk.NDY2F6JA.js} +1 -1
  354. package/dist/chunks/{chunk.ALSMMO52.js → chunk.OA6QSAEX.js} +1 -1
  355. package/dist/chunks/{chunk.B2RTBZFX.js → chunk.OWQ3YI2X.js} +1 -1
  356. package/dist/chunks/{chunk.N5IXQ55P.js → chunk.OYSZH2PZ.js} +1 -1
  357. package/dist/chunks/{chunk.JSOT2AUN.js → chunk.P4H32F7J.js} +1 -1
  358. package/dist/chunks/{chunk.36CGUI4G.js → chunk.PU6VCTT2.js} +2 -2
  359. package/dist/chunks/{chunk.2NECRQLL.js → chunk.PZZI7LIX.js} +1 -1
  360. package/dist/chunks/{chunk.L4VSO6PJ.js → chunk.Q2YJAMQO.js} +1 -1
  361. package/dist/chunks/{chunk.X3ZIYVJC.js → chunk.QMQD2SCQ.js} +1 -1
  362. package/dist/chunks/{chunk.6VZHBOMA.js → chunk.REYEB3D7.js} +1 -1
  363. package/dist/chunks/{chunk.FBFFDE7W.js → chunk.TAR64H3A.js} +1 -1
  364. package/dist/chunks/{chunk.O5FDQ7G3.js → chunk.TEHZN5K4.js} +1 -1
  365. package/dist/chunks/{chunk.BNNE7OYM.js → chunk.URTSQLC4.js} +1 -1
  366. package/dist/chunks/{chunk.2VYY4TEV.js → chunk.UZPDIPPZ.js} +1 -1
  367. package/dist/chunks/{chunk.C7TYKE3H.js → chunk.V5VJQQ73.js} +1 -1
  368. package/dist/chunks/{chunk.6C4JDHQE.js → chunk.VFLTCSUA.js} +1 -1
  369. package/dist/chunks/{chunk.WPIZ42LA.js → chunk.VJNVCYUG.js} +1 -1
  370. package/dist/chunks/{chunk.RUNLTRYQ.js → chunk.VLMJTCCB.js} +1 -1
  371. package/dist/chunks/{chunk.J6URFAAT.js → chunk.WIXKV24T.js} +1 -1
  372. package/dist/chunks/{chunk.WYVFRQ5Z.js → chunk.XVLJVMWL.js} +101 -37
  373. package/dist/chunks/{chunk.OGTB6P4O.js → chunk.Y3THGL6Z.js} +1 -1
  374. package/dist/chunks/{chunk.Q3NYSE4V.js → chunk.Z5DZQTVN.js} +1 -1
  375. package/dist/chunks/{chunk.OS5UP6YI.js → chunk.ZRHUI65H.js} +1 -1
  376. package/dist/chunks/{chunk.Z7C6DHQC.js → chunk.ZXKZDONO.js} +1 -1
  377. package/dist/components/accordion/accordion.js +3 -3
  378. package/dist/components/accordion-group/accordion-group.js +4 -4
  379. package/dist/components/animation/animation.js +2 -2
  380. package/dist/components/audio/audio.js +6 -6
  381. package/dist/components/badge/badge.js +2 -2
  382. package/dist/components/brandshape/brandshape.js +2 -2
  383. package/dist/components/breadcrumb/breadcrumb.js +5 -5
  384. package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
  385. package/dist/components/button/button.js +3 -3
  386. package/dist/components/button-group/button-group.js +2 -2
  387. package/dist/components/carousel/carousel.js +4 -4
  388. package/dist/components/carousel-item/carousel-item.js +2 -2
  389. package/dist/components/checkbox/checkbox.js +3 -3
  390. package/dist/components/checkbox-group/checkbox-group.js +3 -3
  391. package/dist/components/combobox/combobox.js +5 -5
  392. package/dist/components/datepicker/datepicker.d.ts +3 -1
  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 +5 -5
  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.js +2 -2
  433. package/dist/components/textarea/textarea.js +3 -3
  434. package/dist/components/theme-listener/theme-listener.js +2 -2
  435. package/dist/components/tooltip/tooltip.js +4 -4
  436. package/dist/components/video/video.js +3 -3
  437. package/dist/custom-elements.json +32 -13
  438. package/dist/solid-components.js +60 -60
  439. package/dist/utilities/autocomplete-config.js +2 -2
  440. package/dist/vscode.html-custom-data.json +11 -6
  441. package/dist/web-types.json +23 -13
  442. package/dist-versioned/chunks/{chunk.AODPVXHS.js → chunk.2CU6QOL7.js} +5 -5
  443. package/dist-versioned/chunks/{chunk.K3XAZCMW.js → chunk.35EQJ5SV.js} +9 -9
  444. package/dist-versioned/chunks/{chunk.PMRFHLOS.js → chunk.4C33XKR5.js} +5 -5
  445. package/dist-versioned/chunks/{chunk.KU6IGPYI.js → chunk.4GXGCVAT.js} +5 -5
  446. package/dist-versioned/chunks/{chunk.E5PND36Z.js → chunk.4TOOTTT7.js} +4 -4
  447. package/dist-versioned/chunks/{chunk.W5R3Q2AL.js → chunk.5IGIZXCC.js} +14 -14
  448. package/dist-versioned/chunks/{chunk.AGALXK7Q.js → chunk.5V4ZLM46.js} +3 -3
  449. package/dist-versioned/chunks/{chunk.XWVML7WY.js → chunk.6ZTH3QOK.js} +6 -6
  450. package/dist-versioned/chunks/{chunk.KXDIIYXU.js → chunk.77QMG2JK.js} +2 -2
  451. package/dist-versioned/chunks/{chunk.BVDPZZWU.js → chunk.7NPVZGYG.js} +12 -12
  452. package/dist-versioned/chunks/chunk.C3WIBDGG.js +2 -2
  453. package/dist-versioned/chunks/{chunk.ZR5VFTTA.js → chunk.CGHNKRSG.js} +3 -3
  454. package/dist-versioned/chunks/{chunk.Z36ZVOCO.js → chunk.CPEBS32D.js} +2 -2
  455. package/dist-versioned/chunks/{chunk.TBWMHZMA.js → chunk.CQPHP72G.js} +6 -6
  456. package/dist-versioned/chunks/{chunk.3LJCVKT5.js → chunk.DVHTNKCQ.js} +4 -4
  457. package/dist-versioned/chunks/{chunk.FWFNUTMW.js → chunk.DXOZDLN3.js} +6 -6
  458. package/dist-versioned/chunks/{chunk.JGH47TIO.js → chunk.EORDFUN5.js} +9 -9
  459. package/dist-versioned/chunks/{chunk.EHRCG4D4.js → chunk.F733OTL5.js} +3 -3
  460. package/dist-versioned/chunks/{chunk.XIMHYPRX.js → chunk.FN3QPQKW.js} +7 -7
  461. package/dist-versioned/chunks/{chunk.BXKAF4FA.js → chunk.GUPU7Y4R.js} +3 -3
  462. package/dist-versioned/chunks/{chunk.LEHN7AAI.js → chunk.HDB5VQ6T.js} +4 -4
  463. package/dist-versioned/chunks/{chunk.VWA3OZPN.js → chunk.HMYRJJSA.js} +3 -3
  464. package/dist-versioned/chunks/{chunk.CCAOZTZT.js → chunk.HSLR5EL7.js} +3 -3
  465. package/dist-versioned/chunks/{chunk.V4YLR2QP.js → chunk.HWSQMDBV.js} +3 -3
  466. package/dist-versioned/chunks/{chunk.UPU7QMDY.js → chunk.IYIDHG44.js} +3 -3
  467. package/dist-versioned/chunks/{chunk.ENPYKZSE.js → chunk.J7P25XPS.js} +2 -2
  468. package/dist-versioned/chunks/chunk.JBLVT4GJ.js +4 -4
  469. package/dist-versioned/chunks/{chunk.WXPUTX2S.js → chunk.JSHWJIQJ.js} +6 -6
  470. package/dist-versioned/chunks/{chunk.Q7RGLPOU.js → chunk.JVFY4KAV.js} +5 -5
  471. package/dist-versioned/chunks/{chunk.DQQZ3P2Q.js → chunk.JZ4LAYZZ.js} +2 -2
  472. package/dist-versioned/chunks/{chunk.EMTQ3SYF.js → chunk.K33P42FK.js} +2 -2
  473. package/dist-versioned/chunks/{chunk.2YKSAZET.js → chunk.K5MFIQWD.js} +13 -13
  474. package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
  475. package/dist-versioned/chunks/chunk.KH2LWYO6.js +93 -0
  476. package/dist-versioned/chunks/{chunk.VTOWPUO4.js → chunk.KMMZFIBW.js} +4 -4
  477. package/dist-versioned/chunks/{chunk.TNJNDHY7.js → chunk.KNFZPKTF.js} +4 -4
  478. package/dist-versioned/chunks/{chunk.W7QA5BDD.js → chunk.LRKBZ2PI.js} +6 -6
  479. package/dist-versioned/chunks/{chunk.S6R3YTS2.js → chunk.MAECKDRE.js} +10 -10
  480. package/dist-versioned/chunks/{chunk.7JJXTME6.js → chunk.MJU6BUDN.js} +5 -5
  481. package/dist-versioned/chunks/{chunk.5L6ITCDK.js → chunk.NDY2F6JA.js} +15 -15
  482. package/dist-versioned/chunks/{chunk.ALSMMO52.js → chunk.OA6QSAEX.js} +29 -29
  483. package/dist-versioned/chunks/{chunk.B2RTBZFX.js → chunk.OWQ3YI2X.js} +24 -24
  484. package/dist-versioned/chunks/{chunk.N5IXQ55P.js → chunk.OYSZH2PZ.js} +26 -26
  485. package/dist-versioned/chunks/{chunk.JSOT2AUN.js → chunk.P4H32F7J.js} +9 -9
  486. package/dist-versioned/chunks/{chunk.36CGUI4G.js → chunk.PU6VCTT2.js} +5 -5
  487. package/dist-versioned/chunks/{chunk.2NECRQLL.js → chunk.PZZI7LIX.js} +4 -4
  488. package/dist-versioned/chunks/{chunk.L4VSO6PJ.js → chunk.Q2YJAMQO.js} +7 -7
  489. package/dist-versioned/chunks/{chunk.X3ZIYVJC.js → chunk.QMQD2SCQ.js} +8 -8
  490. package/dist-versioned/chunks/{chunk.6VZHBOMA.js → chunk.REYEB3D7.js} +12 -12
  491. package/dist-versioned/chunks/{chunk.FBFFDE7W.js → chunk.TAR64H3A.js} +5 -5
  492. package/dist-versioned/chunks/{chunk.O5FDQ7G3.js → chunk.TEHZN5K4.js} +2 -2
  493. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  494. package/dist-versioned/chunks/{chunk.BNNE7OYM.js → chunk.URTSQLC4.js} +4 -4
  495. package/dist-versioned/chunks/{chunk.2VYY4TEV.js → chunk.UZPDIPPZ.js} +3 -3
  496. package/dist-versioned/chunks/{chunk.C7TYKE3H.js → chunk.V5VJQQ73.js} +3 -3
  497. package/dist-versioned/chunks/{chunk.6C4JDHQE.js → chunk.VFLTCSUA.js} +6 -6
  498. package/dist-versioned/chunks/{chunk.WPIZ42LA.js → chunk.VJNVCYUG.js} +5 -5
  499. package/dist-versioned/chunks/{chunk.RUNLTRYQ.js → chunk.VLMJTCCB.js} +3 -3
  500. package/dist-versioned/chunks/{chunk.J6URFAAT.js → chunk.WIXKV24T.js} +2 -2
  501. package/dist-versioned/chunks/{chunk.WYVFRQ5Z.js → chunk.XVLJVMWL.js} +104 -40
  502. package/dist-versioned/chunks/{chunk.OGTB6P4O.js → chunk.Y3THGL6Z.js} +4 -4
  503. package/dist-versioned/chunks/{chunk.Q3NYSE4V.js → chunk.Z5DZQTVN.js} +2 -2
  504. package/dist-versioned/chunks/{chunk.OS5UP6YI.js → chunk.ZRHUI65H.js} +6 -6
  505. package/dist-versioned/chunks/{chunk.Z7C6DHQC.js → chunk.ZXKZDONO.js} +6 -6
  506. package/dist-versioned/components/accordion/accordion.d.ts +1 -1
  507. package/dist-versioned/components/accordion/accordion.js +3 -3
  508. package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  509. package/dist-versioned/components/accordion-group/accordion-group.js +4 -4
  510. package/dist-versioned/components/animation/animation.d.ts +1 -1
  511. package/dist-versioned/components/animation/animation.js +2 -2
  512. package/dist-versioned/components/audio/audio.d.ts +1 -1
  513. package/dist-versioned/components/audio/audio.js +6 -6
  514. package/dist-versioned/components/badge/badge.d.ts +1 -1
  515. package/dist-versioned/components/badge/badge.js +2 -2
  516. package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
  517. package/dist-versioned/components/brandshape/brandshape.js +2 -2
  518. package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  519. package/dist-versioned/components/breadcrumb/breadcrumb.js +5 -5
  520. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  521. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.js +3 -3
  522. package/dist-versioned/components/button/button.d.ts +1 -1
  523. package/dist-versioned/components/button/button.js +3 -3
  524. package/dist-versioned/components/button-group/button-group.d.ts +1 -1
  525. package/dist-versioned/components/button-group/button-group.js +2 -2
  526. package/dist-versioned/components/carousel/carousel.d.ts +1 -1
  527. package/dist-versioned/components/carousel/carousel.js +4 -4
  528. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  529. package/dist-versioned/components/carousel-item/carousel-item.js +2 -2
  530. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  531. package/dist-versioned/components/checkbox/checkbox.js +3 -3
  532. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  533. package/dist-versioned/components/checkbox-group/checkbox-group.js +3 -3
  534. package/dist-versioned/components/combobox/combobox.d.ts +1 -1
  535. package/dist-versioned/components/combobox/combobox.js +5 -5
  536. package/dist-versioned/components/datepicker/datepicker.d.ts +4 -2
  537. package/dist-versioned/components/datepicker/datepicker.js +5 -5
  538. package/dist-versioned/components/dialog/dialog.d.ts +1 -1
  539. package/dist-versioned/components/dialog/dialog.js +5 -5
  540. package/dist-versioned/components/divider/divider.d.ts +1 -1
  541. package/dist-versioned/components/divider/divider.js +2 -2
  542. package/dist-versioned/components/drawer/drawer.d.ts +1 -1
  543. package/dist-versioned/components/drawer/drawer.js +5 -5
  544. package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
  545. package/dist-versioned/components/dropdown/dropdown.js +3 -3
  546. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  547. package/dist-versioned/components/expandable/expandable.js +3 -3
  548. package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
  549. package/dist-versioned/components/flipcard/flipcard.js +5 -5
  550. package/dist-versioned/components/header/header.d.ts +1 -1
  551. package/dist-versioned/components/header/header.js +2 -2
  552. package/dist-versioned/components/icon/icon.d.ts +1 -1
  553. package/dist-versioned/components/icon/icon.js +2 -2
  554. package/dist-versioned/components/include/include.d.ts +1 -1
  555. package/dist-versioned/components/include/include.js +2 -2
  556. package/dist-versioned/components/input/input.d.ts +1 -1
  557. package/dist-versioned/components/input/input.js +3 -3
  558. package/dist-versioned/components/link/link.d.ts +1 -1
  559. package/dist-versioned/components/link/link.js +2 -2
  560. package/dist-versioned/components/loader/loader.d.ts +1 -1
  561. package/dist-versioned/components/loader/loader.js +2 -2
  562. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  563. package/dist-versioned/components/map-marker/map-marker.js +2 -2
  564. package/dist-versioned/components/menu/menu.d.ts +1 -1
  565. package/dist-versioned/components/menu/menu.js +2 -2
  566. package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
  567. package/dist-versioned/components/menu-item/menu-item.js +2 -2
  568. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  569. package/dist-versioned/components/navigation-item/navigation-item.js +4 -4
  570. package/dist-versioned/components/notification/notification.d.ts +1 -1
  571. package/dist-versioned/components/notification/notification.js +5 -5
  572. package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
  573. package/dist-versioned/components/optgroup/optgroup.js +3 -3
  574. package/dist-versioned/components/option/option.d.ts +1 -1
  575. package/dist-versioned/components/option/option.js +3 -3
  576. package/dist-versioned/components/popup/popup.d.ts +1 -1
  577. package/dist-versioned/components/popup/popup.js +2 -2
  578. package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
  579. package/dist-versioned/components/quickfact/quickfact.js +4 -4
  580. package/dist-versioned/components/radio/radio.d.ts +1 -1
  581. package/dist-versioned/components/radio/radio.js +2 -2
  582. package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
  583. package/dist-versioned/components/radio-button/radio-button.js +2 -2
  584. package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
  585. package/dist-versioned/components/radio-group/radio-group.js +4 -4
  586. package/dist-versioned/components/range/range.d.ts +1 -1
  587. package/dist-versioned/components/range/range.js +5 -5
  588. package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
  589. package/dist-versioned/components/range-tick/range-tick.js +2 -2
  590. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  591. package/dist-versioned/components/scrollable/scrollable.js +3 -3
  592. package/dist-versioned/components/select/select.d.ts +1 -1
  593. package/dist-versioned/components/select/select.js +5 -5
  594. package/dist-versioned/components/skeleton/skeleton.d.ts +1 -1
  595. package/dist-versioned/components/skeleton/skeleton.js +2 -2
  596. package/dist-versioned/components/spinner/spinner.d.ts +1 -1
  597. package/dist-versioned/components/spinner/spinner.js +2 -2
  598. package/dist-versioned/components/step/step.d.ts +1 -1
  599. package/dist-versioned/components/step/step.js +3 -3
  600. package/dist-versioned/components/step-group/step-group.d.ts +1 -1
  601. package/dist-versioned/components/step-group/step-group.js +2 -2
  602. package/dist-versioned/components/switch/switch.d.ts +1 -1
  603. package/dist-versioned/components/switch/switch.js +2 -2
  604. package/dist-versioned/components/tab/tab.d.ts +1 -1
  605. package/dist-versioned/components/tab/tab.js +2 -2
  606. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  607. package/dist-versioned/components/tab-group/tab-group.js +3 -3
  608. package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  609. package/dist-versioned/components/tab-panel/tab-panel.js +2 -2
  610. package/dist-versioned/components/tag/tag.d.ts +1 -1
  611. package/dist-versioned/components/tag/tag.js +3 -3
  612. package/dist-versioned/components/teaser/teaser.js +2 -2
  613. package/dist-versioned/components/teaser-media/teaser-media.js +2 -2
  614. package/dist-versioned/components/textarea/textarea.d.ts +1 -1
  615. package/dist-versioned/components/textarea/textarea.js +3 -3
  616. package/dist-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  617. package/dist-versioned/components/theme-listener/theme-listener.js +2 -2
  618. package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
  619. package/dist-versioned/components/tooltip/tooltip.js +4 -4
  620. package/dist-versioned/components/video/video.d.ts +1 -1
  621. package/dist-versioned/components/video/video.js +3 -3
  622. package/dist-versioned/custom-elements.json +277 -258
  623. package/dist-versioned/internal/form.js +2 -2
  624. package/dist-versioned/solid-components.css +2 -2
  625. package/dist-versioned/solid-components.js +60 -60
  626. package/dist-versioned/utilities/autocomplete-config.js +2 -2
  627. package/dist-versioned/vscode.html-custom-data.json +118 -113
  628. package/dist-versioned/web-types.json +179 -169
  629. package/package.json +3 -3
  630. package/cdn/chunks/chunk.W34AMMB5.js +0 -2
  631. package/cdn-versioned/chunks/chunk.23WHB4QP.js +0 -2
  632. package/cdn-versioned/chunks/chunk.2SMHQXPB.js +0 -2
  633. package/cdn-versioned/chunks/chunk.3QIJXAQA.js +0 -2
  634. package/cdn-versioned/chunks/chunk.A6VWEUXI.js +0 -2
  635. package/cdn-versioned/chunks/chunk.ABEZTKXZ.js +0 -4
  636. package/cdn-versioned/chunks/chunk.CSUL5FAA.js +0 -12
  637. package/cdn-versioned/chunks/chunk.DOFLMPNA.js +0 -2
  638. package/cdn-versioned/chunks/chunk.GB4BLTBN.js +0 -12
  639. package/cdn-versioned/chunks/chunk.GYLDD7OO.js +0 -2
  640. package/cdn-versioned/chunks/chunk.IHPCVJQP.js +0 -26
  641. package/cdn-versioned/chunks/chunk.JE443GSD.js +0 -12
  642. package/cdn-versioned/chunks/chunk.LCDK6JMB.js +0 -2
  643. package/cdn-versioned/chunks/chunk.LCRJHN7X.js +0 -2
  644. package/cdn-versioned/chunks/chunk.M7IOABFW.js +0 -2
  645. package/cdn-versioned/chunks/chunk.MND77BIP.js +0 -2
  646. package/cdn-versioned/chunks/chunk.MOVV5SGH.js +0 -2
  647. package/cdn-versioned/chunks/chunk.PBG7SX5G.js +0 -2
  648. package/cdn-versioned/chunks/chunk.PO3YG7QM.js +0 -2
  649. package/cdn-versioned/chunks/chunk.S6YZ73C6.js +0 -2
  650. package/cdn-versioned/chunks/chunk.SN3JKNRR.js +0 -2
  651. package/cdn-versioned/chunks/chunk.SYKS2NVL.js +0 -2
  652. package/cdn-versioned/chunks/chunk.VJWJIXNG.js +0 -12
  653. package/cdn-versioned/chunks/chunk.W34AMMB5.js +0 -2
  654. package/dist-versioned/chunks/chunk.YR42X3WU.js +0 -93
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@solid-design-system/components",
3
3
  "description": "Solid Design System: Components",
4
- "version": "6.9.2",
4
+ "version": "6.11.0",
5
5
  "homepage": "https://solid-design-system.fe.union-investment.de/docs/",
6
6
  "author": "Union Investment",
7
7
  "license": "MIT",
@@ -118,8 +118,8 @@
118
118
  "readme": "README.md",
119
119
  "meta": {
120
120
  "bundleSizeInKb": {
121
- "uncompressed": 593,
122
- "gzip": 134
121
+ "uncompressed": 595,
122
+ "gzip": 135
123
123
  }
124
124
  },
125
125
  "scripts": {
@@ -1,2 +0,0 @@
1
- import{a}from"./chunk.3MADQ6HK.js";import{b as K}from"./chunk.RAP66B6O.js";import{a as G}from"./chunk.CGQ2BPPZ.js";import{a as U}from"./chunk.IQPMMUES.js";import{a as $}from"./chunk.ERQOYXLO.js";import{a as k}from"./chunk.NYKJXI3Q.js";import{a as N,b as y,c as x,d as R,h as H}from"./chunk.IHPCVJQP.js";import{b as W,e as V,i as q}from"./chunk.UOAG5PNU.js";import{e as h}from"./chunk.6EV4YU6C.js";var B={fromAttribute(E){if(!E)return null;let t=E.trim().replace(/[./]/g,"-").match(/^(\d{4})-(\d{2})-(\d{2})$/);if(!t)return null;let e=`${t[1]}-${t[2]}-${t[3]}`,s=new Date(+t[1],+t[2]-1,+t[3]);return s.getFullYear()!==+t[1]||s.getMonth()!==+t[2]-1||s.getDate()!==+t[3]?null:e},toAttribute(E){return E!=null?E:""}},_={fromAttribute(E){if(!E)return[];let Y=[],t=E.trim();if(t.startsWith("["))try{let s=JSON.parse(t);Array.isArray(s)&&(Y=s.map(String))}catch(s){return[]}else Y=t.split(/[\s,]+/).map(s=>s.trim()).filter(Boolean);let e=[];for(let s of Y){let n=s.replace(/[-/]/g,".").split(".");if(n.length!==3)continue;let[l,u,f]=n.map(Number);if(!l||!u||!f)continue;let b=new Date(l,u-1,f);if(b.getFullYear()!==l||b.getMonth()!==u-1||b.getDate()!==f)continue;let p=`${l}-${String(u).padStart(2,"0")}-${String(f).padStart(2,"0")}`;e.push(p)}return e},toAttribute(E){return E?E.join(","):""}},r=class extends H{constructor(){super();this.localize=new U(this);this.hasSlotController=new G(this,"label","help-text","tooltip");this.formControlController=new K(this,{assumeInteractionOn:["sd-blur","sd-input"]});this.locale="en-US";this.value=null;this.range=!1;this.rangeStart=null;this.rangeEnd=null;this.allowSameDayRange=!1;this.min=void 0;this.max=void 0;this.firstDayOfWeek=null;this.disabledWeekends=!1;this.disabledDates=[];this.isDateDisabled=null;this.size="lg";this.alignment="left";this.label="";this.helpText="";this.floatingLabel=!1;this.disabled=!1;this.required=!1;this.visuallyDisabled=!1;this.styleOnValid=!1;this.readonly=!1;this.placement="bottom";this.placeholder="";this.name="";this.form="";this.open=!1;this.today=a.startOfDayLocal(new Date);this.disabledDatesSet=new Set;this.previewEnd=null;this.statusNavText="";this.statusSelectText="";this.hasFocus=!1;this.showValidStyle=!1;this.showInvalidStyle=!1;this.currentPlacement=this.placement;this.inputValue="";this.tabbingIntoGrid=!1;this.statusBumpCounter=0;this.onFocusOut=t=>{let e=t.relatedTarget;e&&this.contains(e)||(this.open&&(this.hide(),this.emit("sd-datepicker-close")),this.hasFocus=!1)};this.onFocusIn=t=>{if(this.disabled||this.visuallyDisabled)return;t.composedPath().some(i=>{var n,l;return i instanceof HTMLElement&&(((n=i.classList)==null?void 0:n.contains("nav"))||((l=i.classList)==null?void 0:l.contains("month-label")))})&&(this.tabbingIntoGrid=!0)};this.handleInput=t=>{var l,u,f,b,p;if(this.disabled||this.visuallyDisabled||this.readonly){(l=t.preventDefault)==null||l.call(t),(u=t.stopPropagation)==null||u.call(t);return}let e=t.target,s=e.value,i=(f=e.selectionStart)!=null?f:s.length,n=(b=t.inputType)==null?void 0:b.startsWith("delete");if(this.range){let o=s.replace(/\D/g,""),c=o.slice(0,8),d=o.slice(8,16),g=this.buildDmyFromDigits(c),I=this.buildDmyFromDigits(d),S;c.length===0?S="":c.length<8?S=g:d.length>0?S=`${g} - ${I}`:S=n?g:`${g} -`;let w=this.countDigitsBeforeCaret(s,i),D;if(w<=8){let m=this.digitIndexToDmyCaretPos(Math.min(w,8));D=Math.min(m,g.length)}else{let m=c.length<8?g.length:g.length+3,v=Math.min(w-8,8),M=this.digitIndexToDmyCaretPos(v);D=m+Math.min(M,I.length)}this.inputValue=S;let O=!1;if(/^\d{2}\.\d{2}\.\d{4}$/.test(g)){let m=this.dmyToIso(g),v=m?a.parseLocalISO(m):null;v&&!this.isDisabled(v)&&this.inMinMax(v)&&this.rangeStart!==m&&(this.rangeStart=m,this.previewEnd=null,this.viewMonth=new Date(v.getFullYear(),v.getMonth(),1),this.focusedDate=a.startOfDayLocal(v),O=!0)}else this.rangeStart&&(this.rangeStart=null,O=!0),this.rangeEnd&&(this.rangeEnd=null,O=!0);if(/^\d{2}\.\d{2}\.\d{4}$/.test(I)&&this.rangeStart){let m=a.parseLocalISO(this.rangeStart),v=this.dmyToIso(I),M=v?a.parseLocalISO(v):null;if(!!M&&!this.isDisabled(M)&&this.inMinMax(M)){let[F,T]=a.compareDates(m,M)<=0?[m,M]:[M,m],P=a.isSameDay(F,T);if((this.allowSameDayRange||!P)&&!this.wouldRangeContainDisabled(F,T)){let C=a.toLocalISODate(a.startOfDayLocal(F)),z=a.toLocalISODate(a.startOfDayLocal(T));(this.rangeStart!==C||this.rangeEnd!==z)&&(this.rangeStart=C,this.rangeEnd=z,this.viewMonth=new Date(T.getFullYear(),T.getMonth(),1),this.focusedDate=a.startOfDayLocal(T),O=!0)}}}else this.rangeEnd&&(this.rangeEnd=null,O=!0);this.showInvalidStyle=!1,this.showValidStyle=!!(this.rangeStart&&this.rangeEnd),O&&(this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}}),this.emit("sd-change",{detail:{value:this.value,rangeStart:this.rangeStart,rangeEnd:this.rangeEnd}})),Promise.resolve().then(()=>{requestAnimationFrame(()=>{var v;let m=(v=this.input)!=null?v:e;m&&(m.value=this.inputValue,m.setSelectionRange(D,D))})})}else{let o=e,c=o.value,d=(p=o.selectionStart)!=null?p:c.length,g=c.replace(/\D/g,"").slice(0,8),I=g.slice(0,2),S=g.slice(2,4),w=g.slice(4,8),D="";I.length>0&&(D+=I,I.length===2&&(D+=".")),S.length>0&&I.length===2&&(D+=S,S.length===2&&(D+=".")),w.length>0&&I.length===2&&S.length===2&&(D+=w),D=D.replace(/\.\.+/g,".");let O=this.inputValue||"";this.inputValue=D;let m=d,v=L=>{let C=[];for(let z=0;z<L.length;z++)L[z]==="."&&C.push(z);return C},M=v(O),A=v(D),F=M.filter(L=>L<d).length,P=A.filter(L=>L<d).length-F;if(P>0?m+=P:!M.includes(d)&&A.includes(d)&&(m+=1),m=Math.min(Math.max(0,m),D.length),requestAnimationFrame(()=>{var C;let L=(C=this.input)!=null?C:o;L&&(L.value=this.inputValue,L.setSelectionRange(m,m))}),/^\d{2}\.\d{2}\.\d{4}$/.test(D)){let L=this.parseInputText(D);this.applyParsedInput(L)}else this.showInvalidStyle=!1,this.showValidStyle=!1;return}if(!this.open&&this.hasFocus&&!this.disabled&&!this.visuallyDisabled&&this.show(),this.range){let o=this.rangeStart?a.parseLocalISO(this.rangeStart):null,c=this.rangeEnd?a.parseLocalISO(this.rangeEnd):null;o&&!c?this.setNavStatus(`${this.termStartSelected()}: ${this.formatSelectionLabel(o)}`):o&&c&&this.setNavStatus(`${this.termStartSelected()}: ${this.formatSelectionLabel(o)}; ${this.termEndSelected()}: ${this.formatSelectionLabel(c)}`)}else if(this.value){let o=a.parseLocalISO(this.value);this.setNavStatus(`${this.formatSelectionLabel(o)}`)}};this.handleInputBlur=()=>{if(this.disabled||this.visuallyDisabled){this.handleBlur();return}let t=this.parseInputText(this.inputValue);t.valid?this.applyParsedInput(t):(this.inputValue=this.formatInputValue(),this.showInvalidStyle=!!this.inputValue&&!this.value&&!this.rangeStart),this.handleBlur()};this.handleCurrentPlacement=t=>{let e=t.detail;e&&(this.currentPlacement=e)};this.handleHeaderKeyDown=(t,e,s,i)=>{if(!(this.disabled||this.visuallyDisabled||this.readonly)){if(t.key==="Tab"&&!t.shiftKey){i&&(t.preventDefault(),t.stopPropagation(),this.tabbingIntoGrid=!0,this.focusInitialGridDay());return}(t.key==="Enter"||t.key===" ")&&(t.preventDefault(),t.stopPropagation(),e==="month"?this.setMonth(s):this.setYear(s))}};this.onKeyDown=t=>{var n;if(this.disabled||this.visuallyDisabled||this.readonly){t.preventDefault(),t.stopPropagation();return}let e=t.key,s=!0,i=new Date(this.focusedDate);switch(e){case"ArrowLeft":i.setDate(i.getDate()-1);break;case"ArrowRight":i.setDate(i.getDate()+1);break;case"ArrowUp":i.setDate(i.getDate()-7);break;case"ArrowDown":i.setDate(i.getDate()+7);break;case"Escape":{this.previewEnd?(this.previewEnd=null,this.setNavStatus(this.localize.term("selectionCleared"))):this.range&&this.rangeStart&&!this.rangeEnd&&(this.rangeStart=null,this.setNavStatus(this.localize.term("selectionCleared")),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}})),this.open&&(this.hide(),this.emit("sd-datepicker-close"));break}case"Enter":case" ":this.selectDate(this.focusedDate);break;default:s=!1}if(s){if(t.preventDefault(),i.getMonth()!==this.viewMonth.getMonth()||i.getFullYear()!==this.viewMonth.getFullYear()){this.viewMonth=new Date(i.getFullYear(),i.getMonth(),1);let b=this.formatMonthYear(this.viewMonth);this.setNavStatus(b)}let u=a.startOfDayLocal(i);u.getTime()!==((n=this.focusedDate)==null?void 0:n.getTime())&&(this.focusedDate=u);let f=u.toLocaleDateString(this.locale,{weekday:"long",day:"numeric",month:"long",year:"numeric"});this.setNavStatus(f),this.requestUpdate(),requestAnimationFrame(()=>{let b=this.shadowRoot,p=b==null?void 0:b.querySelector("button.day.focused");p==null||p.focus({preventScroll:!0})})}};this.handleInputKeyDown=t=>{if((this.disabled||this.visuallyDisabled||this.readonly)&&t.key!=="Tab"){t.preventDefault(),t.stopPropagation();return}if(!(t.key==="ArrowLeft"||t.key==="ArrowRight"||t.key==="ArrowUp"||t.key==="ArrowDown"||t.key==="Home"||t.key==="End"||t.key==="PageUp"||t.key==="PageDown")){if(t.key==="Escape"&&this.open){t.preventDefault(),this.hide(),this.emit("sd-datepicker-close");return}t.key==="Enter"&&!this.open&&!this.disabled&&!this.visuallyDisabled&&!this.readonly&&(t.preventDefault(),this.show())}};this.handleOutsideClick=this.handleOutsideClick.bind(this)}connectedCallback(){super.connectedCallback(),this.syncDisabledDatesSet(),document.addEventListener("click",this.handleOutsideClick),this.addEventListener("focusout",this.onFocusOut),this.updateComplete.then(()=>{this.formControlController.updateValidity()});let t=this.value?a.parseLocalISO(this.value):null,e=this.rangeStart?a.parseLocalISO(this.rangeStart):null,s=this.range&&e?e:t!=null?t:a.startOfDayLocal(new Date);this.viewMonth=new Date(s.getFullYear(),s.getMonth(),1),this.focusedDate=a.clampDateToMonth(s,this.viewMonth),(this.firstDayOfWeek===null||this.firstDayOfWeek===void 0)&&(this.firstDayOfWeek=1),this.inputValue=this.formatInputValue(),this.setAttribute("role","group"),this.setAttribute("aria-label",this.range?this.localize.term("datePickerRange"):this.localize.term("datePicker")),this.addEventListener("focusin",this.onFocusIn)}firstUpdated(){this.formControlController.updateValidity()}handleOpenChange(){this.popup&&(this.popup.active=this.open&&!this.disabled&&!this.visuallyDisabled)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focusin",this.onFocusIn),this.removeEventListener("focusout",this.onFocusOut),document.removeEventListener("click",this.handleOutsideClick)}handleLocaleChange(){this.firstDayOfWeek===null&&(this.firstDayOfWeek=1),this.requestUpdate()}handleDisabledDatesChange(){this.syncDisabledDatesSet(),this.requestUpdate()}handleValueChange(){let t=this.value?a.parseLocalISO(this.value):null;t&&(this.viewMonth=new Date(t.getFullYear(),t.getMonth(),1),this.focusedDate=a.startOfDayLocal(t)),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var s;let e=this.input;if(e){e.value=(s=this.inputValue)!=null?s:"";let i=e.value.length;e.setSelectionRange(i,i)}this.formControlController.updateValidity()}),this.emit("sd-change",{detail:{value:this.value,rangeStart:this.rangeStart,rangeEnd:this.rangeEnd}})}handleRangeChange(){let t=this.rangeStart?a.parseLocalISO(this.rangeStart):null,e=this.rangeEnd?a.parseLocalISO(this.rangeEnd):null,s=t!=null?t:e;s&&(this.viewMonth=new Date(s.getFullYear(),s.getMonth(),1),this.focusedDate=a.startOfDayLocal(s)),this.previewEnd!==null&&(this.previewEnd=null),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var n;let i=this.input;if(i){i.value=(n=this.inputValue)!=null?n:"";let l=i.value.length;i.setSelectionRange(l,l)}this.formControlController.updateValidity()}),this.emit("sd-change",{detail:{value:this.value,rangeStart:this.rangeStart,rangeEnd:this.rangeEnd}})}handleDisabledChange(){this.formControlController.setValidity(this.disabled),(this.disabled||this.visuallyDisabled)&&(this.open=!1)}handleSizeChange(){this.size=this.floatingLabel&&this.size==="sm"?"md":this.size}get validity(){let t={valid:!0};return this.input instanceof HTMLInputElement?this.input.validity:t}get validationMessage(){return(this.input instanceof HTMLInputElement?this.input.validationMessage:"")||""}checkValidity(){return this.input instanceof HTMLInputElement?this.input.checkValidity():!0}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input instanceof HTMLInputElement?this.input.reportValidity():!0}setCustomValidity(t){var e;(e=this.input)==null||e.setCustomValidity(t),this.formControlController.updateValidity()}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}parseISO(t){return a.parseLocalISO(t)}inMinMax(t){let e=this.min===null?null:this.parseISO(String(this.min)),s=this.max===null?null:this.parseISO(String(this.max));return!(e&&t<e||s&&t>s)}isInDisabledDates(t){if(!this.disabledDatesSet||this.disabledDatesSet.size===0)return!1;let e=t.getFullYear(),s=String(t.getMonth()+1).padStart(2,"0"),i=String(t.getDate()).padStart(2,"0"),n=`${e}-${s}-${i}`;return this.disabledDatesSet.has(n)}isWeekend(t){let e=t.getDay();return e===0||e===6}isDisabled(t){var e;return!!(!this.inMinMax(t)||this.disabledWeekends&&this.isWeekend(t)||this.isInDisabledDates(t)||(e=this.isDateDisabled)!=null&&e.call(this,t))}setNavStatus(t){this.statusNavText=t}announceSelect(t,e=40){setTimeout(()=>{this.statusBumpCounter++;let s="\u200B".repeat(this.statusBumpCounter%3);this.statusSelectText=t+s},e)}formatSelectionLabel(t){if(this.locale==="de-DE")return t.toLocaleDateString("de-DE",{day:"numeric",month:"long",year:"numeric"});let e=t.getDate(),s=this.ordinal(e),i=t.toLocaleDateString("en-US",{month:"long"}),n=t.getFullYear();return`${s} of ${i} ${n}`}ordinal(t){let e=["th","st","nd","rd"],s=t%100,i=e[(s-20)%10]||e[s]||e[0];return t+i}syncDisabledDatesSet(){let t=[];if(Array.isArray(this.disabledDates))t=this.disabledDates;else if(typeof this.disabledDates=="string"){let e=this.disabledDates.trim();if(e.startsWith("["))try{let s=JSON.parse(e);Array.isArray(s)&&(t=s)}catch(s){t=[]}else e.length>0&&(t=e.split(",").map(s=>s.trim()).filter(Boolean))}this.disabledDatesSet=new Set(t)}wouldRangeContainDisabled(t,e){let s=a.compareDates(t,e)<=0?a.startOfDayLocal(t):a.startOfDayLocal(e),i=a.compareDates(t,e)<=0?a.startOfDayLocal(e):a.startOfDayLocal(t),n=new Date(s);for(;a.compareDates(n,i)<=0;){if(this.isDisabled(n))return!0;n.setDate(n.getDate()+1)}return!1}termStartSelected(){var t,e;return(e=(t=this.localize)==null?void 0:t.term)==null?void 0:e.call(t,"startDateSelected")}termEndSelected(){var t,e;return(e=(t=this.localize)==null?void 0:t.term)==null?void 0:e.call(t,"endDateSelected")}isoToDmy(t){if(!t)return"";let e=a.parseLocalISO(t);if(e||(e=a.parseLocalISO(t.replace(/-/g,"."))),!e)return"";let s=String(e.getDate()).padStart(2,"0"),i=String(e.getMonth()+1).padStart(2,"0"),n=String(e.getFullYear());return`${s}.${i}.${n}`}dmyToIso(t){if(!t)return null;let e=t.match(/^(\d{2})\.(\d{2})\.(\d{4})$/);if(!e)return null;let s=Number(e[1]),i=Number(e[2]),n=Number(e[3]),l=new Date(n,i-1,s);if(l.getFullYear()!==n||l.getMonth()!==i-1||l.getDate()!==s)return null;let u=a.startOfDayLocal(l);return a.toLocalISODate(u)}formatInputValue(){let t=(this.locale||"").toLowerCase(),e=(this.getAttribute("lang")||"").toLowerCase(),i=t.startsWith("de")||e.startsWith("de")?"\u2013":"-";if(!this.range)return this.isoToDmy(this.value);let n=this.isoToDmy(this.rangeStart),l=this.isoToDmy(this.rangeEnd);return n&&l?`${n} ${i} ${l}`:n&&!l?`${n} ${i}`:""}parseInputText(t){var i,n;let e=t.trim();if(this.range){let l=e.split(/\s*-\s*/);if(l.length===1){let u=l[0];if(!u)return{start:null,end:null,valid:!0};let f=this.dmyToIso(u);return f?{start:f,end:null,valid:!0}:{start:null,end:null,valid:!1}}else if(l.length>=2){let u=(i=l[0])!=null?i:"",f=(n=l[1])!=null?n:"",b=u?this.dmyToIso(u):null,p=f?this.dmyToIso(f):null;return u&&!b?{start:null,end:null,valid:!1}:f&&!p?{start:null,end:null,valid:!1}:{start:b,end:p,valid:!0}}return{start:null,end:null,valid:!1}}if(!e)return{single:null,valid:!0};let s=this.dmyToIso(e);return s?{single:s,valid:!0}:{single:null,valid:!1}}applyParsedInput(t){var u,f,b,p;if(!t.valid)return this.showInvalidStyle=!0,this.showValidStyle=!1,this.formControlController.setValidity(!1),!1;let e=o=>{if(!o)return!0;let c=a.parseLocalISO(o);return!(!this.inMinMax(c)||this.isDisabled(c))},s=!1;if(this.range){let o=(u=t.start)!=null?u:null,c=(f=t.end)!=null?f:null;if(!e(o)||c&&!e(c))return this.showInvalidStyle=!0,this.showValidStyle=!1,!1;let d=o?a.parseLocalISO(o):null,g=c?a.parseLocalISO(c):null;if(d&&g){if(a.compareDates(d,g)>0){let w=d;d=g,g=w}if(!this.allowSameDayRange&&a.isSameDay(d,g))return this.showInvalidStyle=!0,this.showValidStyle=!1,!1;if(this.wouldRangeContainDisabled(d,g))return this.showInvalidStyle=!0,this.showValidStyle=!1,!1}let I=d?a.toLocalISODate(a.startOfDayLocal(d)):null,S=g?a.toLocalISODate(a.startOfDayLocal(g)):null;if(this.rangeStart!==I||this.rangeEnd!==S){this.rangeStart=I,this.rangeEnd=S,this.previewEnd=null,s=!0;let w=(b=d!=null?d:g)!=null?b:this.today;this.viewMonth=new Date(w.getFullYear(),w.getMonth(),1),this.focusedDate=a.startOfDayLocal(w),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}})}return this.showInvalidStyle=!1,this.range?this.showValidStyle=!!(this.rangeStart&&this.rangeEnd&&this.styleOnValid):this.showValidStyle=!!(this.value&&this.styleOnValid),this.formControlController.setValidity(!0),this.updateComplete.then(()=>{this.formControlController.updateValidity()}),!0}let i=(p=t.single)!=null?p:null;if(!e(i))return this.input.setCustomValidity(this.localize.term("datePickerRange")),this.formControlController.setValidity(!1),this.showInvalidStyle=!0,this.showValidStyle=!1,!1;let n=i?a.parseLocalISO(i):null,l=n?a.toLocalISODate(a.startOfDayLocal(n)):null;return this.value!==l&&(this.value=l,s=!0,n&&(this.viewMonth=new Date(n.getFullYear(),n.getMonth(),1),this.focusedDate=a.startOfDayLocal(n)),this.emit("sd-select",{detail:{value:this.value,date:n!=null?n:null}})),this.showInvalidStyle=!1,this.showValidStyle=!!this.value,this.inputValue=this.formatInputValue(),s}buildDmyFromDigits(t){let e=t.slice(0,8),s=e.slice(0,2),i=e.slice(2,4),n=e.slice(4,8),l=s;return i.length&&(l+="."+i),n.length&&(l+="."+n),l}digitIndexToDmyCaretPos(t){return t<=2?t:t<=4?3+(t-2):6+(t-4)}countDigitsBeforeCaret(t,e){return t.slice(0,e).replace(/\D/g,"").length}handleOutsideClick(t){var s,i;((i=(s=t.composedPath)==null?void 0:s.call(t))!=null?i:[]).includes(this)||(this.hide(),this.hasFocus=!1,this.emit("sd-datepicker-close"))}show(){if(this.open||this.disabled||this.visuallyDisabled||this.readonly){this.open=!1;return}this.open=!0}hide(){if(!this.open||this.disabled){this.open=!1;return}this.open=!1}handleMouseDown(t){if(this.visuallyDisabled||this.disabled||this.readonly){t.preventDefault(),t.stopPropagation();return}t.preventDefault(),this.open||this.show()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleFocus(){this.hasFocus=!0,!this.open&&!this.disabled&&!this.visuallyDisabled&&!this.readonly&&this.show(),this.emit("sd-focus")}setMonth(t){let e=new Date(this.viewMonth.getFullYear(),this.viewMonth.getMonth()+t,1);if(e.getMonth()===this.viewMonth.getMonth()&&e.getFullYear()===this.viewMonth.getFullYear())return;this.viewMonth=e;let s=this.formatMonthYear(this.viewMonth);this.setNavStatus(s),this.emit("sd-month-change",{detail:{month:this.viewMonth}})}setYear(t){let e=new Date(this.viewMonth.getFullYear()+t,this.viewMonth.getMonth(),1);if(e.getFullYear()===this.viewMonth.getFullYear()&&e.getMonth()===this.viewMonth.getMonth())return;this.viewMonth=e;let s=this.formatMonthYear(this.viewMonth);this.setNavStatus(s),this.emit("sd-month-year",{detail:{month:this.viewMonth}})}focusInitialGridDay(){let t=null;if(!this.range&&this.value){let s=a.parseLocalISO(this.value);s&&(t=a.startOfDayLocal(s))}if(this.range){let s=this.rangeStart?a.parseLocalISO(this.rangeStart):null,i=this.rangeEnd?a.parseLocalISO(this.rangeEnd):null;i?t=a.startOfDayLocal(i):s&&(t=a.startOfDayLocal(s))}if(!(s=>s?s.getFullYear()===this.viewMonth.getFullYear()&&s.getMonth()===this.viewMonth.getMonth()&&!this.isDisabled(s):!1)(t)){let{weeks:s}=this.getMonthMatrix(this.viewMonth),i=s.flat().find(n=>n.getMonth()===this.viewMonth.getMonth()&&a.isSameDay(n,this.today)&&!this.isDisabled(n));if(i)t=a.startOfDayLocal(i);else{let n=s.flat().find(l=>l.getMonth()===this.viewMonth.getMonth()&&!this.isDisabled(l));t=n?a.startOfDayLocal(n):null}}t&&(this.focusedDate=t),this.requestUpdate(),requestAnimationFrame(()=>{let s=this.shadowRoot,i=(s==null?void 0:s.querySelector("button.day.selected"))||(s==null?void 0:s.querySelector("button.day.focused"))||(s==null?void 0:s.querySelector('button.day[tabindex="0"]'))||(s==null?void 0:s.querySelector("button.day"));i==null||i.focus({preventScroll:!0})})}selectSingleDate(t){if(this.readonly||this.isDisabled(t))return;let e=a.startOfDayLocal(t),s=a.toLocalISODate(e);if(this.value===s)return;this.value=s;let i=`${this.formatSelectionLabel(e)}, ${this.localize.term("selected")}`;this.announceSelect(i),this.emit("sd-select",{detail:{value:this.value,date:e}}),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var l;let n=this.input;n&&(n.value=(l=this.inputValue)!=null?l:"",Promise.resolve().then(()=>{requestAnimationFrame(()=>{let u=n.value.length;n.setSelectionRange(u,u)})}))})}selectRangeDate(t){if(this.readonly)return;let e=a.startOfDayLocal(t),s=this.rangeStart?a.parseLocalISO(this.rangeStart):null,i=this.rangeEnd?a.parseLocalISO(this.rangeEnd):null;if(!s&&!i){if(this.isDisabled(e))return;this.rangeStart=a.toLocalISODate(e),this.rangeEnd=null,this.previewEnd=null;let n=this.formatSelectionLabel(e);this.announceSelect(`${this.termStartSelected()}: ${n}`,40),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}}),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var u;let l=this.input;l&&(l.value=(u=this.inputValue)!=null?u:"",Promise.resolve().then(()=>{requestAnimationFrame(()=>{let f=l.value.length;l.setSelectionRange(f,f)})}))});return}if(s&&!i){if(this.isDisabled(e))return;if(a.isSameDay(s,e)){if(!this.allowSameDayRange){this.rangeStart=a.toLocalISODate(e),this.rangeEnd=null,this.previewEnd=null;let o=this.formatSelectionLabel(e);this.announceSelect(`${this.termStartSelected()}: ${o}`,40),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}}),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var d;let c=this.input;c&&(c.value=(d=this.inputValue)!=null?d:"",Promise.resolve().then(()=>{requestAnimationFrame(()=>{let g=c.value.length;c.setSelectionRange(g,g)})}))});return}this.rangeStart=a.toLocalISODate(e),this.rangeEnd=a.toLocalISODate(e),this.previewEnd=null;let p=this.formatSelectionLabel(e);this.announceSelect(`${this.termStartSelected()}: ${p}`,40),this.announceSelect(`${this.termEndSelected()}: ${p}`,140),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}}),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var c;let o=this.input;o&&(o.value=(c=this.inputValue)!=null?c:"",Promise.resolve().then(()=>{requestAnimationFrame(()=>{let d=o.value.length;o.setSelectionRange(d,d)})}))});return}let n=a.parseLocalISO(this.rangeStart);if(this.wouldRangeContainDisabled(n,e))return;let[l,u]=a.compareDates(n,e)<=0?[n,e]:[e,n];this.rangeStart=a.toLocalISODate(l),this.rangeEnd=a.toLocalISODate(u),this.previewEnd=null;let f=this.formatSelectionLabel(l),b=this.formatSelectionLabel(u);this.announceSelect(`${this.termStartSelected()}: ${f}`,40),this.announceSelect(`${this.termEndSelected()}: ${b}`,140),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}}),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var o;let p=this.input;p&&(p.value=(o=this.inputValue)!=null?o:"",Promise.resolve().then(()=>{requestAnimationFrame(()=>{let c=p.value.length;p.setSelectionRange(c,c)})}))});return}if(s&&i){if(this.isDisabled(e))return;this.rangeStart=a.toLocalISODate(e),this.rangeEnd=null,this.previewEnd=null;let n=this.formatSelectionLabel(e);this.announceSelect(`${this.termStartSelected()}: ${n}`,40),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}}),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var u;let l=this.input;l&&(l.value=(u=this.inputValue)!=null?u:"",Promise.resolve().then(()=>{requestAnimationFrame(()=>{let f=l.value.length;l.setSelectionRange(f,f)})}))})}}selectDate(t){this.readonly||(this.range?this.selectRangeDate(t):this.selectSingleDate(t))}getMonthMatrix(t){var b;let e=(b=this.firstDayOfWeek)!=null?b:1,s=new Date(t.getFullYear(),t.getMonth(),1),i=new Date(s),n=(s.getDay()-e+7)%7;i.setDate(s.getDate()-n);let l=[],u=i;for(let p=0;p<6;p++){let o=[];for(let c=0;c<7;c++)o.push(new Date(u)),u.setDate(u.getDate()+1);l.push(o)}let f=p=>p.every(o=>o.getMonth()!==t.getMonth());for(;l.length>0&&f(l[l.length-1]);)l.pop();return{weeks:l}}formatMonthYear(t){try{return new Intl.DateTimeFormat(this.locale,{month:"long",year:"numeric"}).format(t)}catch(e){return`${t.toLocaleString(void 0,{month:"long"})} ${t.getFullYear()}`}}weekdayLabels(){var i;let t=(i=this.firstDayOfWeek)!=null?i:1,e=new Date(2021,7,1),s=[];for(let n=0;n<7;n++){let l=new Date(e);l.setDate(e.getDate()+(t+n)%7);try{s.push(new Intl.DateTimeFormat(this.locale,{weekday:"short"}).format(l))}catch(u){s.push(l.toLocaleDateString(void 0,{weekday:"short"}))}}return s}getTabTargetDayForCurrentView(t){let e=t.flat().find(i=>i.getMonth()===this.viewMonth.getMonth()&&a.isSameDay(i,this.today)&&!this.isDisabled(i));if(e)return a.startOfDayLocal(e);let s=t.flat().find(i=>i.getMonth()===this.viewMonth.getMonth()&&!this.isDisabled(i));return s?a.startOfDayLocal(s):null}onDayMouseEnter(t){if(!this.range||this.readonly)return;let e=this.rangeStart?a.parseLocalISO(this.rangeStart):null,s=this.rangeEnd?a.parseLocalISO(this.rangeEnd):null;if(e&&!s){let i=a.startOfDayLocal(t);this.previewEnd=this.isDisabled(i)?null:i,this.requestUpdate()}}onGridMouseLeave(){this.previewEnd!==null&&(this.previewEnd=null,this.requestUpdate())}renderCalendar(){var p;let{weeks:t}=this.getMonthMatrix(this.viewMonth),e=this.formatMonthYear(this.viewMonth),s=this.weekdayLabels(),i=this.value?this.parseISO(this.value):null,n=this.rangeStart?this.parseISO(this.rangeStart):null,l=this.rangeEnd?this.parseISO(this.rangeEnd):null,u=this.previewEnd,f=o=>!this.range||!n||l||!u?!1:a.isBetweenInclusive(o,n,u),b=this.getTabTargetDayForCurrentView(t);return V`<div part="datepicker" class="${$("w-[284px] z-50 bg-white py-3 px-4",this.open?"block":"hidden",(p=this.currentPlacement)!=null&&p.startsWith("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","border-primary")}"><div class="flex flex-row items-center w-full justify-between mb-3" part="header"><div class="flex items-center"><button type="button" tabindex="0" class="nav prev w-6 h-6 hover:cursor-pointer sd-interactive" part="prev-year-button" @click="${()=>this.setYear(-1)}" @keydown="${o=>this.handleHeaderKeyDown(o,"year",-1,!1)}" aria-label="${this.localize.term("previousYear")}"><sd-icon library="_internal" name="chevrons-sm-left" class="h-6 w-6"></sd-icon></button> <button type="button" tabindex="0" class="nav prev w-6 h-6 hover:cursor-pointer sd-interactive" part="prev-month-button" @click="${()=>this.setMonth(-1)}" @keydown="${o=>this.handleHeaderKeyDown(o,"month",-1,!1)}" aria-label="${this.localize.term("previousMonth")}"><sd-icon library="_internal" name="chevron-sm-left" class="h-6 w-6"></sd-icon></button></div><div tabindex="-1" class="month-label flex justify-center sd-headline sd-headline--size-base !text-primary" part="month-label" aria-live="polite">${e}</div><div class="flex items-center"><button type="button" tabindex="0" class="nav next w-6 h-6 hover:cursor-pointer sd-interactive" part="next-month-button" @click="${()=>this.setMonth(1)}" @keydown="${o=>this.handleHeaderKeyDown(o,"month",1,!1)}" aria-label="${this.localize.term("nextMonth")}"><sd-icon library="_internal" name="chevron-sm-right" class="h-6 w-6"></sd-icon></button> <button type="button" tabindex="0" class="nav next w-6 h-6 hover:cursor-pointer sd-interactive" part="next-year-button" @click="${()=>this.setYear(1)}" @keydown="${o=>this.handleHeaderKeyDown(o,"year",1,!0)}" aria-label="${this.localize.term("nextYear")}"><sd-icon library="_internal" name="chevrons-sm-right" class="h-6 w-6"></sd-icon></button></div></div><sd-divider></sd-divider><div class="sr-only" aria-live="polite" aria-atomic="true">${this.statusNavText}</div><div class="sr-only" aria-live="assertive" aria-atomic="true">${this.statusSelectText}</div><div class="sr-only" id="keyboard-hint">${this.localize.term("datePickerInfo")}</div><div class="grid mt-2" role="grid" aria-describedby="keyboard-hint" aria-label="${e}" part="grid" @mouseleave="${this.onGridMouseLeave}" @focusin="${()=>{this.tabbingIntoGrid=!1}}"><div class="grid-row grid-head grid grid-cols-7 gap-y-[1px]" role="row">${s.map((o,c)=>V`<div role="columnheader" aria-colindex="${c+1}" part="weekday" class="cell head flex items-center justify-center font-bold text-black text-sm leading-none h-8" aria-label="${o}" title="${o}" id="${"col-"+(c+1)}">${o}</div>`)}</div>${t.map((o,c)=>V`<div class="grid-row grid grid-cols-7 ${c===0?"mt-2":""}" role="row" aria-rowindex="${c+2}">${o.map((d,g)=>{let I=d.getMonth()===this.viewMonth.getMonth(),S=this.isDisabled(d)||!this.inMinMax(d),w=a.isSameDay(d,this.focusedDate),D=a.isSameDay(d,this.today),O=!this.range&&i?a.isSameDay(d,i):!1,m=this.range&&n?a.isSameDay(d,n):!1,v=this.range&&l?a.isSameDay(d,l):!1,M=this.range&&n&&l?a.isBetweenInclusive(d,n,l):!1,A=f(d)&&!S,F=-1,T=b&&a.isSameDay(d,b);(this.tabbingIntoGrid&&T||!this.tabbingIntoGrid&&w)&&(F=0);let P=this.isWeekend(d),L=d.toLocaleDateString(this.locale,{weekday:"long",day:"numeric",month:"long",year:"numeric"}),C=m?this.localize.term("startDateSelected"):v?this.localize.term("endDateSelected"):void 0;return V`<button type="button" part="day" class="${$("cell day flex items-center justify-center focus-visible:outline focus:outline-2 focus:outline-primary -outline-offset-2 rounded-md w-[36px]",this.size==="sm"?"text-sm h-6":"text-base h-8",m||v?"hover:bg-primary-500":"hover:bg-primary-100 hover:text-primary-500",I?this.isInDisabledDates(d)||!this.inMinMax(d)?"out-month text-neutral-500":this.disabledWeekends&&P?"weekend-day text-neutral-500":"in-month text-primary":this.disabledWeekends&&P?"out-month weekend-day text-neutral-500":P?"out-month weekend-day text-neutral-700":"out-month text-neutral-700",O?"selected border-primary bg-primary text-white hover:bg-primary-500 hover:text-white":"",m?"bg-primary text-white rounded-l-md rounded-r-none":"",v?"bg-primary text-white range-end rounded-r-md rounded-l-none":"",M&&!m&&!v?"in-range selected bg-primary-100 text-primary-500 rounded-none hover:bg-primary-500 hover:text-white":"",!M&&A&&!m&&!v?"in-preview-range bg-primary-100 text-primary-500 rounded-none":"",D&&!O&&!m&&!v&&w?"today border-[1px] border-primary font-bold":"",S?"disabled cursor-not-allowed hover:bg-transparent":"cursor-pointer",w&&!D?"focused outline outline-2 outline-primary":"")}" role="gridcell" aria-colindex="${g+1}" aria-labelledby="${"col-"+(g+1)}" .tabIndex="${F}" ?disabled="${S||this.disabled||this.readonly}" aria-disabled="${S||this.visuallyDisabled||this.disabled||this.readonly?"true":"false"}" aria-selected="${O||M||m||v?"true":"false"}" aria-current="${D?"date":q}" aria-label="${L}" aria-roledescription="${C!=null?C:q}" @focus="${()=>this.focusedDate=a.startOfDayLocal(d)}" @mouseenter="${()=>this.onDayMouseEnter(d)}" @keydown="${this.onKeyDown}" @click="${()=>{this.focusedDate=a.startOfDayLocal(d),this.selectDate(d)}}">${d.getDate()}</button>`})}</div>`)}</div></div>`}render(){var d,g;let t={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text"),tooltip:this.hasSlotController.test("tooltip")},e=this.label?!0:!!t.label,s=this.helpText?!0:!!t.helpText,i=!!t.tooltip,n=this.value!==null&&String(this.value).length>0||this.range&&this.rangeStart!==null||this.rangeEnd!==null,l=this.floatingLabel&&e&&(this.hasFocus||this.open||n)&&!this.disabled&&!this.visuallyDisabled,u=this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary",f={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],b={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size],p=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.readonly?"readonly":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus||this.open?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",o={disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",readonly:"border-neutral-800",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"border-neutral-800"}[p],c=this.size==="sm"?"text-sm":"text-base";return V`<div part="form-control" class="${$("min-w-[284px]",this.open&&"z-50",(this.disabled||this.visuallyDisabled)&&"cursor-not-allowed")}">${e&&!this.floatingLabel||i?V`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${$(e?"inline-block form-control-color-text":"hidden",c)}" for="input" aria-hidden="${e?"false":"true"}"><slot name="label">${this.label}</slot></label> ${t.tooltip?V`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${$("relative w-full",this.disabled&&"pointer-events-none",this.visuallyDisabled&&"cursor-not-allowed")}">${e&&this.floatingLabel?V`<label id="label" part="form-control-floating-label" class="${$("absolute left-4 z-20 pointer-events-none transition-all duration-200",l?this.size==="lg"?"top-2 text-xs":"top-1 text-xs":"top-1/2 -translate-y-1/2",l&&"mt-1")}" for="input"><span class="${$("leading-none",(this.visuallyDisabled||this.disabled)&&"text-neutral-500",l&&!this.visuallyDisabled&&!this.disabled&&"form-control--filled__floating-label-color-text")}">${this.label}</span></label>`:null}<div part="border" class="${$("absolute top-0 w-full h-full pointer-events-none border rounded-default z-10 transition-[border] duration-medium ease-in-out",o,this.open&&this.alignment==="left"?"rounded-bl-none":"",this.open&&this.alignment==="right"?"rounded-br-none":"",this.open&&((d=this.currentPlacement)!=null&&d.startsWith("bottom")?"rounded-bl-none rounded-br-none":"rounded-tl-none rounded-tr-none"))}"></div><sd-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${$("inline-flex relative w-full",(g=this.currentPlacement)!=null&&g.startsWith("bottom")?"origin-top":"origin-bottom")}" placement="${this.alignment==="left"?`${this.placement}-start`:`${this.placement}-end`}" flip shift auto-size="vertical" auto-size-padding="10" exportparts="popup:popup__content,"><div part="base" class="${$("px-4 flex flex-row items-center rounded-default transition-colors ease-in-out duration-medium hover:duration-fast w-full",!this.disabled&&!this.readonly&&!this.visuallyDisabled?"hover:bg-neutral-200":"",this.readonly?"bg-neutral-100":"bg-white",p==="disabled"||p==="visuallyDisabled"?"text-neutral-500":"text-black")}" slot="anchor"><input id="input" type="text" role="combobox" aria-expanded="${this.open?"true":"false"}" aria-haspopup="dialog" aria-controls="calendar-grid" aria-describedby="${s?"help-text":void 0}" aria-invalid="${this.showInvalidStyle?"true":"false"}" aria-label="${this.range?"Select date range":"Select a date"}" class="${$("min-w-0 flex-grow focus:outline-none bg-transparent hover:cursor-pointer form-control-color-text",this.visuallyDisabled||this.disabled?"placeholder:text-neutral-500 cursor-not-allowed":"placeholder:text-neutral-700",{sm:"h-8",md:"h-10",lg:"h-12"}[this.size],c,this.floatingLabel&&"mt-4")}" autocomplete="off" spellcheck="false" placeholder="${!this.floatingLabel||l?this.placeholder||this.localize.term(this.range?"dateRangePlaceholder":"datePlaceholder"):""}" ?disabled="${this.disabled}" ?required="${this.required}" ?readonly="${this.readonly||this.visuallyDisabled}" @input="${this.handleInput}" @click="${this.handleMouseDown}" @keydown="${this.handleInputKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleInputBlur}" @invalid="${this.handleInvalid}"> ${this.showInvalidStyle?V`<sd-icon part="invalid-icon" class="${$("text-error",f,b)}" library="_internal" name="risk"></sd-icon>`:""} ${this.showValidStyle&&this.styleOnValid?V`<sd-icon class="${$("text-success flex-shrink-0",f,b)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-icon>`:""}<sd-icon class="${$(u,f,b,"hover:cursor-pointer")}" library="_internal" name="calendar" @click="${this.show}"></sd-icon></div>${this.renderCalendar()}</sd-popup></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${$("text-sm text-neutral-700 mt-1",s?"block":"hidden")}" aria-hidden="${!s}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage(this.size)}`}};r.styles=[...H.styles,W`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{position:relative;display:inline-block;width:100%;--tw-outline-style:none;outline-style:none}:host([required]) #label::after{content:' *'}:host([visually-disabled]) input{caret-color:transparent}`],h([y({type:String,reflect:!0})],r.prototype,"locale",2),h([y({type:String,converter:B,reflect:!0})],r.prototype,"value",2),h([y({type:Boolean,reflect:!0})],r.prototype,"range",2),h([y({attribute:"range-start",converter:B,reflect:!0})],r.prototype,"rangeStart",2),h([y({attribute:"range-end",converter:B,reflect:!0})],r.prototype,"rangeEnd",2),h([y({type:Boolean})],r.prototype,"allowSameDayRange",2),h([y({type:String,converter:B,reflect:!0})],r.prototype,"min",2),h([y({type:String,converter:B,reflect:!0})],r.prototype,"max",2),h([y({type:Number})],r.prototype,"firstDayOfWeek",2),h([y({type:Boolean,reflect:!0,attribute:"disabled-weekends"})],r.prototype,"disabledWeekends",2),h([y({attribute:"disabled-dates",converter:_})],r.prototype,"disabledDates",2),h([y({attribute:!1})],r.prototype,"isDateDisabled",2),h([y({type:String,reflect:!0})],r.prototype,"size",2),h([y({type:String})],r.prototype,"alignment",2),h([y({type:String,reflect:!0})],r.prototype,"label",2),h([y({type:String,attribute:"help-text",reflect:!0})],r.prototype,"helpText",2),h([y({attribute:"floating-label",type:Boolean,reflect:!0})],r.prototype,"floatingLabel",2),h([y({type:Boolean,reflect:!0})],r.prototype,"disabled",2),h([y({type:Boolean,reflect:!0})],r.prototype,"required",2),h([y({type:Boolean,attribute:"visually-disabled"})],r.prototype,"visuallyDisabled",2),h([y({type:Boolean,reflect:!0,attribute:"style-on-valid"})],r.prototype,"styleOnValid",2),h([y({type:Boolean,reflect:!0})],r.prototype,"readonly",2),h([y({type:String,reflect:!0})],r.prototype,"placement",2),h([y({type:String,reflect:!0})],r.prototype,"placeholder",2),h([y({reflect:!0})],r.prototype,"name",2),h([y({type:String,reflect:!0})],r.prototype,"form",2),h([x()],r.prototype,"open",2),h([x()],r.prototype,"viewMonth",2),h([x()],r.prototype,"focusedDate",2),h([x()],r.prototype,"today",2),h([x()],r.prototype,"disabledDatesSet",2),h([x()],r.prototype,"previewEnd",2),h([x()],r.prototype,"statusNavText",2),h([x()],r.prototype,"statusSelectText",2),h([x()],r.prototype,"hasFocus",2),h([x()],r.prototype,"showValidStyle",2),h([x()],r.prototype,"showInvalidStyle",2),h([x()],r.prototype,"currentPlacement",2),h([x()],r.prototype,"inputValue",2),h([R("sd-popup")],r.prototype,"popup",2),h([R("#invalid-message")],r.prototype,"invalidMessage",2),h([R("#input")],r.prototype,"input",2),h([k("open",{waitUntilFirstUpdate:!0})],r.prototype,"handleOpenChange",1),h([k("locale")],r.prototype,"handleLocaleChange",1),h([k("disabledDates")],r.prototype,"handleDisabledDatesChange",1),h([k("value")],r.prototype,"handleValueChange",1),h([k("rangeStart"),k("rangeEnd")],r.prototype,"handleRangeChange",1),h([k(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],r.prototype,"handleDisabledChange",1),h([k(["size","floatingLabel"])],r.prototype,"handleSizeChange",1),r=h([N("sd-datepicker")],r);export{r as a};
@@ -1,2 +0,0 @@
1
- import{a as p}from"./chunk.SLXPE3UU.js";import{a as b}from"./chunk.CGQ2BPPZ.js";import{a as n}from"./chunk.ERQOYXLO.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.IHPCVJQP.js";import{b as c,e as a}from"./chunk.UOAG5PNU.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-9-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-9-2-button--primary--default-color-background sd-6-9-2-button--primary--default-color-text hover:sd-6-9-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-9-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.2.1 | 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-9-2-button-group__button:not(.sd-6-9-2-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-3) * -1)}:host([size=md].sd-6-9-2-button-group__button:not(.sd-6-9-2-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-2) * -1)}:host([size=sm].sd-6-9-2-button-group__button:not(.sd-6-9-2-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-1) * -1)}:host(.sd-6-9-2-button-group__button--hover){z-index:20}:host(.sd-6-9-2-button-group__button--focus),:host(.sd-6-9-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-9-2-radio-button")],t);export{t as a};
@@ -1,2 +0,0 @@
1
- import{a as T}from"./chunk.MHWW3RZB.js";import{c as b}from"./chunk.3L472FD4.js";import{a as f}from"./chunk.SLXPE3UU.js";import{a as y}from"./chunk.IQPMMUES.js";import{a as c}from"./chunk.ERQOYXLO.js";import{a as g,b as w,c as v,d as h,h as u}from"./chunk.IHPCVJQP.js";import{b as m,e as d}from"./chunk.UOAG5PNU.js";import{a as p,e as l}from"./chunk.6EV4YU6C.js";var a=class extends u{constructor(){super(...arguments);this.localize=new y(this);this.tabs=[];this.panels=[];this.hasScrollControls=!1;this.variant="default";this.canScroll={left:!1,right:!1};this.activation="auto"}connectedCallback(){let t=Promise.all([customElements.whenDefined("sd-6-9-2-tab"),customElements.whenDefined("sd-6-9-2-tab-panel")]);super.connectedCallback(),this.resizeObserver=new ResizeObserver(()=>{this.updateScrollControls(),this.repositionIndicator()}),this.mutationObserver=new MutationObserver(i=>{i.some(e=>!["aria-labelledby","aria-controls"].includes(e.attributeName))&&setTimeout(()=>this.setAriaLabels()),i.some(e=>e.attributeName==="disabled")&&this.syncTabsAndPanels()}),this.updateComplete.then(()=>{this.syncTabsAndPanels(),this.mutationObserver.observe(this,{attributes:!0,childList:!0,subtree:!0}),this.resizeObserver.observe(this.nav),this.nav.addEventListener("scroll",()=>this.handleScroll()),t.then(()=>{new IntersectionObserver((e,o)=>{var s;e[0].intersectionRatio>0&&(this.setAriaLabels(),this.setActiveTab((s=this.activeTab)!=null?s:this.tabs[0],{emitEvents:!1}),o.unobserve(e[0].target))}).observe(this.tabGroup)})})}updated(t){!t.get("canScroll")&&this.canScroll&&this.handleScroll()}disconnectedCallback(){var t;this.mutationObserver.disconnect(),this.nav&&((t=this.resizeObserver)==null||t.unobserve(this.nav))}getAllTabs(t={includeDisabled:!0}){let i=this.shadowRoot.querySelector('slot[name="nav"]');return Array.from(i.assignedElements()).map(e=>e.tagName.toLocaleLowerCase()==="sd-6-9-2-tab"?e:e.querySelector("sd-6-9-2-tab")).filter(e=>e&&t.includeDisabled?e.tagName.toLowerCase()==="sd-6-9-2-tab":e.tagName.toLowerCase()==="sd-6-9-2-tab"&&!e.disabled)}getAllPanels(){return[...this.body.assignedElements()].filter(t=>t.tagName.toLowerCase()==="sd-6-9-2-tab-panel")}getActiveTab(){return this.tabs.find(t=>t.matches(":focus"))}handleClick(t){let e=t.target.closest("sd-6-9-2-tab");(e==null?void 0:e.closest("sd-6-9-2-tab-group"))===this&&e!==null&&this.setActiveTab(e,{scrollBehavior:"smooth"})}handleKeyDown(t){let e=t.target.closest("sd-6-9-2-tab");if((e==null?void 0:e.closest("sd-6-9-2-tab-group"))===this){if(["Enter"," "].includes(t.key)&&e!==null&&(this.setActiveTab(e,{scrollBehavior:"smooth"}),t.preventDefault()),["Tab"].includes(t.key)){let s=this.tabs.indexOf(this.getActiveTab()),n=this.tabs[s+1];e!==null&&n&&b(n,this.nav,"horizontal")}if(["Shift","Tab"].includes(t.key)){let s=this.tabs.indexOf(this.getActiveTab()),n=this.tabs[s-1];e!==null&&n&&b(n,this.nav,"horizontal")}if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(t.key)){let s=this.tabs.find(r=>r.matches(":focus")),n=this.localize.dir()==="rtl";if((s==null?void 0:s.tagName.toLowerCase())==="sd-6-9-2-tab"){let r=this.tabs.indexOf(s);t.key==="Home"?r=0:t.key==="End"?r=this.tabs.length-1:t.key===(n?"ArrowRight":"ArrowLeft")||t.key==="ArrowUp"?r--:(t.key===(n?"ArrowLeft":"ArrowRight")||t.key==="ArrowDown")&&r++,r<0&&(r=this.tabs.length-1),r>this.tabs.length-1&&(r=0),this.tabs[r].focus({preventScroll:!0}),this.activation==="auto"&&this.setActiveTab(this.tabs[r],{scrollBehavior:"smooth"}),b(this.tabs[r],this.nav,"horizontal"),t.preventDefault()}}}}handleScroll(){this.canScroll={left:this.nav.scrollLeft>0,right:this.nav.scrollLeft+this.nav.clientWidth<this.nav.scrollWidth-1}}handleScrollToStart(){this.nav.scroll({left:this.localize.dir()==="rtl"?this.nav.scrollLeft+this.nav.clientWidth:this.nav.scrollLeft-this.nav.clientWidth,behavior:"smooth"})}handleScrollToEnd(){this.nav.scroll({left:this.localize.dir()==="rtl"?this.nav.scrollLeft-this.nav.clientWidth:this.nav.scrollLeft+this.nav.clientWidth,behavior:"smooth"})}setActiveTab(t,i){if(i=p({emitEvents:!0,scrollBehavior:"auto"},i),t!==this.activeTab&&!t.disabled&&!t.visuallyDisabled){let e=this.activeTab;this.activeTab=t,this.tabs.map(o=>o.active=o===this.activeTab),this.panels.map(o=>{var s;return o.active=o.name===((s=this.activeTab)==null?void 0:s.panel)}),this.repositionIndicator(),b(this.activeTab,this.nav,"horizontal",i.scrollBehavior),i.emitEvents&&(e&&this.emit("sd-tab-hide",{detail:{name:e.panel}}),this.emit("sd-tab-show",{detail:{name:this.activeTab.panel}}))}}setAriaLabels(){this.tabs.forEach(t=>{let i=this.panels.find(e=>e.name===t.panel);i&&t.setAttribute("aria-controls",i.getAttribute("id"))})}syncTabsAndPanels(){this.tabs=this.getAllTabs({includeDisabled:!1}),this.panels=this.getAllPanels(),this.repositionIndicator(),this.panels.forEach(t=>{t.tabIndex=0}),this.updateComplete.then(()=>this.updateScrollControls()),this.tabs.length!==0&&this.tabs[0].variant==="container"&&(this.variant="container")}updateScrollControls(){this.hasScrollControls=this.nav.scrollWidth>this.nav.clientWidth}async repositionIndicator(){await this.updateComplete;let t=this.activeTab,i=this.indicator,e=this.tabsContainer;if(!t||!i||!e||t.variant==="container")return;let o=t.getBoundingClientRect(),s=e.getBoundingClientRect(),n=getComputedStyle(e).justifyContent==="center",r=s.left+s.width/2,A=o.left+o.width/2,x=t.offsetWidth,C=n?A-r:o.left-s.left;i.style.width=`${x}px`,i.style.transform=`translateX(${C}px)`}show(t){let i=this.tabs.find(e=>e.panel===t);i&&this.setActiveTab(i,{scrollBehavior:"smooth"})}render(){var i;let t=this.localize.dir()==="rtl";return d`<div part="base" class="${c("flex flex-col rounded-none")}" @click="${this.handleClick}" @keydown="${this.handleKeyDown}"><div part="nav" class="${c(this.hasScrollControls&&"relative py-0 px-12")}">${this.hasScrollControls?d`<button part="scroll-button--start" exportparts="base:scroll-button__base" tabindex="-1" aria-hidden="true" disabled="${f(!this.canScroll.left||void 0)}" class="${c("sd-interactive flex items-center justify-center absolute top-0 bottom-0 left-0 !outline-offset-0 border-b border-neutral-400 z-10",this.localize.dir()==="rtl"&&"left-auto right-0")}" @click="${this.handleScrollToStart}"><sd-6-9-2-icon library="_internal" name="${t?"chevron-up":"chevron-down"}" label="previous" class="${c("h-6 w-12 rotate-90 grid place-items-center")}"></sd-6-9-2-icon></button>`:""}<div part="scroll-container" class="flex overflow-x-auto focus-visible:focus-outline !outline-offset-0"><div part="tabs" class="${c("flex flex-auto relative flex-row")}" role="tablist">${((i=this.activeTab)==null?void 0:i.variant)!=="container"?d`<div part="active-tab-indicator" id="indicator" class="absolute h-1 bg-accent bottom-0 transition-[transform,width] duration-medium ease-in-out z-30 navigable__current-indicator-height navigable__current-indicator-border-radius"></div>`:""}<div part="separation" class="border-neutral-400 absolute w-full h-0.25 bottom-0 border-b z-10"></div><slot name="nav" @slotchange="${this.syncTabsAndPanels}"></slot></div></div>${this.hasScrollControls?d`<button part="scroll-button--end" exportparts="base:scroll-button__base" tabindex="-1" aria-hidden="true" disabled="${f(!this.canScroll.right||void 0)}" class="${c("sd-interactive flex items-center justify-center absolute top-0 bottom-0 right-0 !outline-offset-0 border-b border-neutral-400 z-10",this.localize.dir()==="rtl"&&"right-auto left-0")}" @click="${this.handleScrollToEnd}"><sd-6-9-2-icon library="_internal" name="${t?"chevron-down":"chevron-up"}" label="next" class="${c("h-6 w-12 rotate-90 grid place-items-center")}"></sd-6-9-2-icon></button>`:""}</div><slot part="body" class="${c("block auto py-8 px-6",this.variant==="container"&&"border border-neutral-400 border-t-0")}" @slotchange="${this.syncTabsAndPanels}"></slot></div>`}};a.styles=[...u.styles,m`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{box-sizing:border-box;display:block}[part=scroll-container]{scrollbar-width:none}[part=scroll-container]::-webkit-scrollbar{height:calc(var(--sd-spacing-1) * 0);width:calc(var(--sd-spacing-1) * 0)}::slotted(sd-6-9-2-tab-panel){--padding:1rem 0}::slotted(sd-6-9-2-tab-panel:focus-visible){outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:rgba(var(--outline-color-primary))}`],l([h("[part=base]")],a.prototype,"tabGroup",2),l([h("[part=body]")],a.prototype,"body",2),l([h("[part=scroll-container]")],a.prototype,"nav",2),l([h("[part=active-tab-indicator]")],a.prototype,"indicator",2),l([h('[part="tabs"]')],a.prototype,"tabsContainer",2),l([v()],a.prototype,"hasScrollControls",2),l([v()],a.prototype,"variant",2),l([v()],a.prototype,"canScroll",2),l([w({type:String,reflect:!0})],a.prototype,"activation",2),l([T(20)],a.prototype,"handleScroll",1),a=l([g("sd-6-9-2-tab-group")],a);export{a};
@@ -1,2 +0,0 @@
1
- import{b as m}from"./chunk.SV6DES3E.js";import{a as b}from"./chunk.IQPMMUES.js";import{a as o}from"./chunk.ERQOYXLO.js";import{a as p}from"./chunk.NYKJXI3Q.js";import{a as d,b as a,d as n,h as s}from"./chunk.IHPCVJQP.js";import{b as r}from"./chunk.UOAG5PNU.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends s{constructor(){super(...arguments);this.localize=new b(this);this.disabled=!1;this.label=""}handleDisableOptions(){let{disabled:i}=this;this.defaultSlot.assignedElements().filter(l=>l.tagName.toLowerCase()==="sd-6-9-2-option").forEach(l=>{l.disabled=i})}handleDisabledChange(){this.handleDisableOptions()}render(){let{disabled:i}=this;return m`<div role="${i?"presentation":"group"}" class="${o(this.disabled?"text-neutral-500":"")}" part="base" aria-labelledby="group-label"><sd-6-9-2-divider id="divider" class="pt-2 pb-4" part="divider"></sd-6-9-2-divider><div part="label-container" class="${o(this.disabled?"text-neutral-500":"text-black")} px-4 font-bold text-left" role="presentation" id="group-label"><slot name="label"><span>${this.label}</span></slot></div><div role="listbox" part="options" aria-label="${this.localize.term("optionGroup")}"><slot @slotchange="${this.handleDisableOptions}"></slot></div></div>`}};e.styles=[...s.styles,r`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{--display-divider:block}#divider{display:var(--display-divider)}`],t([n("slot:not([name])")],e.prototype,"defaultSlot",2),t([a({reflect:!0,type:Boolean})],e.prototype,"disabled",2),t([a({type:String,reflect:!0})],e.prototype,"label",2),t([p("disabled",{waitUntilFirstUpdate:!0})],e.prototype,"handleDisabledChange",1),e=t([d("sd-6-9-2-optgroup")],e);export{e as a};
@@ -1,2 +0,0 @@
1
- import{a as m,b as g,c as b,d as h,h as u}from"./chunk.IHPCVJQP.js";import{b as d,e as c}from"./chunk.UOAG5PNU.js";import{e as l}from"./chunk.6EV4YU6C.js";var s=class extends u{constructor(){super(...arguments);this.disableRole=!1;this.label=""}handleFocus(e){let t=a(e.target);t==null||t.classList.add("sd-6-9-2-button-group__button--focus")}handleBlur(e){let t=a(e.target);t==null||t.classList.remove("sd-6-9-2-button-group__button--focus")}handleMouseOver(e){let t=a(e.target);t==null||t.classList.add("sd-6-9-2-button-group__button--hover")}handleMouseOut(e){let t=a(e.target);t==null||t.classList.remove("sd-6-9-2-button-group__button--hover")}handleSlotChange(){let e=[...this.defaultSlot.assignedElements({flatten:!0})];e.forEach(t=>{let n=e.indexOf(t),o=a(t);o!==null&&(o.classList.add("sd-6-9-2-button-group__button"),o.classList.toggle("sd-6-9-2-button-group__button--first",n===0),o.classList.toggle("sd-6-9-2-button-group__button--inner",n>0&&n<e.length-1),o.classList.toggle("sd-6-9-2-button-group__button--last",n===e.length-1),o.classList.toggle("sd-6-9-2-button-group__button--radio",o.tagName.toLowerCase()==="sd-6-9-2-radio-button"))})}render(){return c`<slot part="base" role="${this.disableRole?"presentation":"group"}" aria-label="${this.label}" @focusout="${this.handleBlur}" @focusin="${this.handleFocus}" @mouseover="${this.handleMouseOver}" @mouseout="${this.handleMouseOut}" @slotchange="${this.handleSlotChange}"></slot>`}};s.styles=[...u.styles,d`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{display:inline-block}[part=base]{display:flex;flex-wrap:nowrap}`],l([h("slot")],s.prototype,"defaultSlot",2),l([b()],s.prototype,"disableRole",2),l([g({type:String,reflect:!0})],s.prototype,"label",2),s=l([m("sd-6-9-2-button-group")],s);function a(r){var e;let i="sd-6-9-2-button, sd-6-9-2-radio-button";return(e=r.closest(i))!=null?e:r.querySelector(i)}export{s as a};
@@ -1,4 +0,0 @@
1
- import{a as T,b as M}from"./chunk.G7HKVXLR.js";import{c as L}from"./chunk.3L472FD4.js";import{a as u,c as m}from"./chunk.B2NUKX6G.js";import{a as c}from"./chunk.KLRPP4NQ.js";import{a as v}from"./chunk.IQPMMUES.js";import{a as k}from"./chunk.ERQOYXLO.js";import{a as E}from"./chunk.NYKJXI3Q.js";import{a as w,b as o,d as r,h}from"./chunk.IHPCVJQP.js";import{b as y,e as b}from"./chunk.UOAG5PNU.js";import{b as p,e as d}from"./chunk.W4QBFD6E.js";import{e as i}from"./chunk.6EV4YU6C.js";function C(f,g){let e=f;for(;e;){if(e.matches(g))return e;if(e.parentElement)e=e.parentElement;else if(e.parentNode instanceof ShadowRoot)e=e.parentNode.host;else break}return null}var n=class extends h{constructor(){super(...arguments);this.localize=new v(this);this.open=!1;this.rounded=!1;this.placement="bottom-start";this.disabled=!1;this.stayOpenOnSelect=!1;this.distance=0;this.skidding=0;this.noAutoSize=!1;this.noFlip=!1;this.hoist=!1}connectedCallback(){super.connectedCallback(),this.handleMenuItemActivate=this.handleMenuItemActivate.bind(this),this.handlePanelSelect=this.handlePanelSelect.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleDocumentKeyDown=this.handleDocumentKeyDown.bind(this),this.handleDocumentMouseDown=this.handleDocumentMouseDown.bind(this),this.containingElement||(this.containingElement=this)}firstUpdated(){this.panel.hidden=!this.open,this.open&&(this.addOpenListeners(),this.popup.active=!0)}disconnectedCallback(){super.disconnectedCallback(),this.removeOpenListeners(),this.hide()}getAccessibleTrigger(){let t=this.trigger.assignedElements({flatten:!0}).find(a=>M(a).start),s=null;if(t)switch(t.tagName.toLowerCase()){case"sd-6-9-2-button":case"sd-6-9-2-icon-button":s=t.button;break;case"sd-6-9-2-navigation-item":s=t.button;break;default:s=t}return s}updateAccessibleTrigger(){let e=this.getAccessibleTrigger();e&&(e.setAttribute("aria-haspopup","true"),e.setAttribute("aria-expanded",this.open?"true":"false"))}focusOnTrigger(){let e=this.getAccessibleTrigger();typeof(e==null?void 0:e.focus)=="function"&&e.focus()}getMenu(){return this.panel.assignedElements({flatten:!0}).find(e=>e.tagName.toLowerCase()==="sd-6-9-2-menu")}handleKeyDown(e){this.open&&e.key==="Escape"&&(e.stopPropagation(),this.hide(),this.focusOnTrigger())}handleDocumentKeyDown(e){var t;if(e.key==="Tab"){if(this.open&&((t=document.activeElement)==null?void 0:t.tagName.toLowerCase())==="sd-6-9-2-menu-item"){e.preventDefault(),this.hide(),this.focusOnTrigger();return}setTimeout(()=>{let s=T();(!s||!this.containingElement||C(s,this.containingElement.tagName.toLowerCase())!==this.containingElement)&&this.hide()})}}handleDocumentMouseDown(e){let t=e.composedPath();this.containingElement&&!t.includes(this.containingElement)&&this.hide()}handleMenuItemActivate(e){let t=e.target;L(t,this.panel)}handlePanelSelect(e){let t=e.target;!this.stayOpenOnSelect&&t.tagName.toLowerCase()==="sd-6-9-2-menu"&&(this.hide(),this.focusOnTrigger())}handleTriggerClick(){if(this.open){let e=this.getMenu();if(e){let t=e.getCurrentItem();t==null||t.classList.remove("menu-item-focus")}this.hide()}else this.show()}handleTriggerKeyDown(e){if(e.key==="Escape"&&this.open){e.stopPropagation(),this.focusOnTrigger(),this.handleTriggerClick();return}if([" ","Enter"].includes(e.key)){e.preventDefault(),this.handleTriggerClick();return}let t=this.getMenu();if(t){let s=t.defaultSlot.assignedElements({flatten:!0}),a=s.find(A=>!A.disabled)||s[0],l=s[s.length-1];["ArrowDown","ArrowUp","Home","End"].includes(e.key)&&(e.preventDefault(),this.open||this.show(),s.length>0&&requestAnimationFrame(()=>{(e.key==="ArrowDown"||e.key==="Home")&&(t.setCurrentItem(a),a.focus(),a.classList.add("menu-item-focus")),(e.key==="ArrowUp"||e.key==="End")&&(t.setCurrentItem(l),l.focus(),l.classList.add("menu-item-focus"))}))}}handleTriggerKeyUp(e){e.key===" "&&e.preventDefault()}handleTriggerSlotChange(){this.updateAccessibleTrigger()}async show(){if(!this.open)return this.open=!0,c(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,c(this,"sd-after-hide")}reposition(){this.popup.reposition()}addOpenListeners(){this.panel.addEventListener("sd-activate",this.handleMenuItemActivate),this.panel.addEventListener("sd-6-9-2-select",this.handlePanelSelect),this.panel.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keydown",this.handleDocumentKeyDown),document.addEventListener("mousedown",this.handleDocumentMouseDown)}removeOpenListeners(){this.panel&&(this.panel.removeEventListener("sd-activate",this.handleMenuItemActivate),this.panel.removeEventListener("sd-6-9-2-select",this.handlePanelSelect),this.panel.removeEventListener("keydown",this.handleKeyDown)),document.removeEventListener("keydown",this.handleDocumentKeyDown),document.removeEventListener("mousedown",this.handleDocumentMouseDown)}async handleOpenChange(){if(this.disabled){this.open=!1;return}if(this.updateAccessibleTrigger(),this.open){this.emit("sd-show"),this.addOpenListeners(),await d(this),this.panel.hidden=!1,this.popup.active=!0;let{keyframes:e,options:t}=m(this,"dropdown.show",{dir:this.localize.dir()});await p(this.popup.popup,e,t),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),await d(this);let{keyframes:e,options:t}=m(this,"dropdown.hide",{dir:this.localize.dir()});await p(this.popup.popup,e,t),this.panel.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}}render(){return b`<sd-6-9-2-popup part="base" id="dropdown" exportparts="
2
- popup:base__popup,
3
- " placement="${this.placement}" distance="${this.rounded&&this.distance<1?1:this.distance}" skidding="${this.skidding}" strategy="${this.hoist?"fixed":"absolute"}" ?flip="${!this.noFlip}" shift auto-size="vertical" auto-size-padding="10"><slot name="trigger" slot="anchor" part="trigger" class="block" @click="${this.handleTriggerClick}" @keydown="${this.handleTriggerKeyDown}" @keyup="${this.handleTriggerKeyUp}" @slotchange="${this.handleTriggerSlotChange}"></slot><slot part="panel" class="${k("panel-color-border border shadow bg-white block",this.open?"pointer-events-auto":"pointer-events-none",this.rounded&&"rounded-md")}" aria-hidden="${this.open?"false":"true"}" aria-labelledby="dropdown"></slot></sd-6-9-2-popup>`}};n.styles=[...h.styles,y`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
4
- :host{display:inline-block}#dropdown::part(popup){z-index:var(--sd-z-index-dropdown,900)}#dropdown[data-current-placement^=top]::part(popup){transform-origin:bottom}#dropdown[data-current-placement^=bottom]::part(popup){transform-origin:top}#dropdown[data-current-placement^=left]::part(popup){transform-origin:100%}#dropdown[data-current-placement^=right]::part(popup){transform-origin:0}:host(:not([no-auto-size])) ::slotted(:not([slot=trigger])){overflow:auto;max-width:var(--auto-size-available-width)!important;max-height:var(--auto-size-available-height)!important}`],i([r("#dropdown")],n.prototype,"popup",2),i([r("[part=trigger]")],n.prototype,"trigger",2),i([r("[part=panel]")],n.prototype,"panel",2),i([o({type:Boolean,reflect:!0})],n.prototype,"open",2),i([o({type:Boolean,reflect:!0})],n.prototype,"rounded",2),i([o({type:String,reflect:!0})],n.prototype,"placement",2),i([o({type:Boolean,reflect:!0})],n.prototype,"disabled",2),i([o({attribute:"stay-open-on-select",type:Boolean,reflect:!0})],n.prototype,"stayOpenOnSelect",2),i([o({type:Object})],n.prototype,"containingElement",2),i([o({type:Number,reflect:!0})],n.prototype,"distance",2),i([o({type:Number,reflect:!0})],n.prototype,"skidding",2),i([o({type:Boolean,reflect:!0,attribute:"no-auto-size"})],n.prototype,"noAutoSize",2),i([o({type:Boolean,reflect:!0,attribute:"no-flip"})],n.prototype,"noFlip",2),i([o({type:Boolean,reflect:!0})],n.prototype,"hoist",2),i([E("open",{waitUntilFirstUpdate:!0})],n.prototype,"handleOpenChange",1),n=i([w("sd-6-9-2-dropdown")],n);u("dropdown.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});u("dropdown.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{n as a};
@@ -1,12 +0,0 @@
1
- import{a as C}from"./chunk.BJBQEPZV.js";import{a as k}from"./chunk.EOXYPQZI.js";import{a as T}from"./chunk.6H45UF7X.js";import{a as M}from"./chunk.CBQWVOOS.js";import{a as A}from"./chunk.IQPMMUES.js";import{a as n}from"./chunk.ERQOYXLO.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.IHPCVJQP.js";import{b as P,e as b}from"./chunk.UOAG5PNU.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-9-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-9-2-icon class="${n("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${c?"chevron-down":"chevron-up"}"></sd-6-9-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-9-2-carousel__pager-dot-border-width rounded-full transition-colors duration-slow hover:duration-fast ease-in-out",this.inverted?"sd-6-9-2-carousel__pager-dot--inverted-border hover:border-primary-200":"border-primary hover:border-primary-500",g&&"border-none",g?this.inverted?"sd-6-9-2-carousel__pager-dot--inverted-background hover:sd-6-9-2-carousel__pager-dot--inverted--hovered-background":"sd-6-9-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-9-2-carousel--active--inverted-color-border":"text-black sd-6-9-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-9-2-icon class="${n("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${c?"chevron-up":"chevron-down"}"></sd-6-9-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-9-2-icon class="h-6 w-6 grid place-items-center" library="_internal" name="start"></sd-6-9-2-icon></slot><slot name="autoplay-pause" class="${n(this.pausedAutoplay?"hidden":"")}"><sd-6-9-2-icon class="h-6 w-6 grid place-items-center" library="_internal" name="pause"></sd-6-9-2-icon></slot></button></div></div>`}};r.styles=[...w.styles,P`/*! tailwindcss v4.2.1 | 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-9-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-9-2-carousel")],r);export{r as a};
3
- /*! Bundled license information:
4
-
5
- lit-html/directives/map.js:
6
- lit-html/directives/range.js:
7
- (**
8
- * @license
9
- * Copyright 2021 Google LLC
10
- * SPDX-License-Identifier: BSD-3-Clause
11
- *)
12
- */
@@ -1,2 +0,0 @@
1
- import{a as n}from"./chunk.SLXPE3UU.js";import{a as p}from"./chunk.CGQ2BPPZ.js";import{a as h,b as s}from"./chunk.SV6DES3E.js";import{a as e}from"./chunk.ERQOYXLO.js";import{a as l}from"./chunk.NYKJXI3Q.js";import{a as m,b as r,h as d}from"./chunk.IHPCVJQP.js";import{b}from"./chunk.UOAG5PNU.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends d{constructor(){super(...arguments);this.hasSlotController=new p(this,"label","[default]");this.size="lg";this.orientation="horizontal";this.horizontalInline=!1;this.waiting=!1;this.disabled=!1;this.current=!1;this.noTail=!1;this.notInteractive=!1;this.label="";this.description="";this.index=1;this.href=""}connectedCallback(){super.connectedCallback()}isLink(){return!!this.href}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleCurrentChange(){this.current&&(this.disabled=!1,this.waiting=!1)}handleDisabledChange(){this.disabled&&(this.current=!1,this.waiting=!1)}handleWaitingChange(){this.waiting&&(this.current=!1,this.disabled=!1)}handleInteractivityChange(){this.notInteractive&&(this.current=!1,this.disabled=!1,this.waiting=!1)}render(){let f=this.isLink(),u=this.notInteractive||this.waiting?h`div`:f?h`a`:h`button`,v=this.hasSlotController.test("label"),c=this.label?!0:v,g=this.hasSlotController.test("[default]"),a=this.description?!0:g,o=this.horizontalInline&&this.orientation==="horizontal",w=e("flex shrink-0 gap-2",this.noTail&&!o&&"w-max",this.orientation==="horizontal"?"flex-row":"flex-col items-stretch",o&&"items-start",this.orientation==="horizontal"&&!this.horizontalInline?this.size==="lg"?"translateLg":"translateSm":this.size==="lg"?"mt-1":"mt-3"),x=e("border sd-6-9-2-step__circle-border-width rounded-full aspect-square circle flex items-center justify-center shrink-0 font-bold select-none",this.disabled?"focus-visible:outline-none cursor-not-allowed":!this.notInteractive&&!this.waiting?"focus-visible:focus-outline hover:cursor-pointer":"",this.notInteractive?this.size==="lg"?"not-interactive-lg":"w-12":this.size==="lg"?"w-12":"w-8",this.disabled&&"border-neutral-500 text-neutral-500",this.waiting&&"border-neutral-400 text-neutral-700",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"border-primary hover:bg-primary-100 hover:border-primary-500",this.notInteractive&&"border-neutral-400",this.current&&"bg-accent border-none text-white");return s`<div role="listitem" part="base" class="${e("flex pt-1",this.orientation==="horizontal"?"flex-col w-full":"flex-row gap-4 items-stretch h-full w-full overflow-hidden",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"group")}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"><div part="circle-and-tail-container" class="${w}"><${u} part="circle" href="${n(f?this.href:void 0)}" aria-disabled="${n(this.disabled||this.waiting||void 0)}" aria-current="${this.current?"step":void 0}" aria-labelledby="${n(this.notInteractive||this.waiting||!c?void 0:"label")}" aria-describedby="${n(this.notInteractive||this.waiting||!a?void 0:"description")}" class="${x}"><slot name="circle-content" class="${e("text-lg",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"text-primary hover:text-primary-500 hover:fill-primary-500",this.notInteractive&&"text-primary")}">${!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting?s`<sd-6-9-2-icon name="status-check" library="_internal" class="${e(this.size==="sm"&&"text-sm")}"></sd-6-9-2-icon>`:s`${this.index}`}</slot></${u}>${o?s`<div class="${e(!this.noTail&&"flex-1","flex flex-col gap-1")}"><div class="${e("flex w-full",c&&"gap-2",this.size==="sm"&&!a?"mt-1":"mt-3")}">${c&&s`<div part="label" id="label" class="${e("font-bold whitespace-nowrap",this.disabled&&"text-neutral-500",this.waiting&&"text-neutral-700",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"text-black")}"><slot name="label">${this.label}</slot></div>`} ${this.noTail?"":s`<div part="tail" class="${e("border-t flex-1 mr-2 mt-3",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting?"border-primary":"border-neutral-500")}"></div>`}</div>${a?s`<div part="description" id="description" class="${e("sd-paragraph sd-paragraph--size-sm break-words",a?"flex-1":"w-0 h-0 overflow-hidden",a&&!this.noTail&&"pr-4",(this.disabled||this.waiting)&&"!text-neutral-700")}">${this.description||s`<slot></slot>`}</div>`:""}</div>`:this.noTail?"":s`<div part="tail" class="${e(this.orientation==="horizontal"?"border-t w-full my-auto mr-2":"border-l flex-grow flex-shrink-0 basis-auto h-full w-[1px] mx-auto",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting?"border-primary":"border-neutral-400")}"></div>`}</div>${o?"":s`<div part="text-container" class="${e("mt-4 break-words flex flex-col gap-2",this.orientation==="horizontal"?"text-center w-40":"text-left",this.disabled&&"text-neutral-500",this.waiting&&"text-neutral-700",this.notInteractive?"ml-2":"mr-4")}"><div part="label" id="label" class="${e("font-bold",this.disabled&&"text-neutral-500",this.waiting&&"text-neutral-700",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"text-black")}"><slot name="label">${this.label}</slot></div><div part="description" id="description" class="${e("sd-paragraph sd-paragraph--size-sm",(this.disabled||this.waiting)&&"text-neutral-700")}">${this.description||s`<slot></slot>`}</div></div>`}</div>`}};t.styles=[...d.styles,b`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{flex:1}:host([orientation=horizontal]) [part=tail]{border-top-width:var(--sd-step__tail-border-width)}:host([orientation=vertical]) [part=tail]{border-left-width:var(--sd-step__tail-border-width)}:host([no-tail]){flex-grow:0}:host(:not([current])) slot[name=circle-content]{color:rgba(var(--sd-color-text-neutral-700))}slot[name=circle-content] sd-6-9-2-icon,slot[name=circle-content]::slotted(sd-6-9-2-icon){color:rgba(var(--sd-color-icon-fill-primary))}:host([horizontal-inline]):has([part=description]){min-width:calc(var(--sd-spacing-1) * 0);flex:1}.translateLg{transform:translateX(3.438rem)}.translateSm{transform:translateX(4rem)}.not-interactive-lg{width:4.5rem}`],i([r({type:String,reflect:!0})],t.prototype,"size",2),i([r({type:String,reflect:!0})],t.prototype,"orientation",2),i([r({type:Boolean,reflect:!0,attribute:"horizontal-inline"})],t.prototype,"horizontalInline",2),i([r({type:Boolean,reflect:!0})],t.prototype,"waiting",2),i([r({type:Boolean,reflect:!0})],t.prototype,"disabled",2),i([r({type:Boolean,reflect:!0})],t.prototype,"current",2),i([r({reflect:!0,type:Boolean,attribute:"no-tail"})],t.prototype,"noTail",2),i([r({type:Boolean,reflect:!0,attribute:"not-interactive"})],t.prototype,"notInteractive",2),i([r({type:String,reflect:!0})],t.prototype,"label",2),i([r({type:String,reflect:!0})],t.prototype,"description",2),i([r({type:Number,reflect:!0,attribute:"index"})],t.prototype,"index",2),i([r({type:String,reflect:!0})],t.prototype,"href",2),i([l("current")],t.prototype,"handleCurrentChange",1),i([l("disabled")],t.prototype,"handleDisabledChange",1),i([l("waiting")],t.prototype,"handleWaitingChange",1),i([l("notInteractive")],t.prototype,"handleInteractivityChange",1),t=i([m("sd-6-9-2-step")],t);export{t as a};
@@ -1,12 +0,0 @@
1
- import{a as R}from"./chunk.W4EADN3G.js";import{a as K}from"./chunk.X2GM34WQ.js";import{a as D,d as _,e as U,f as $}from"./chunk.W7A3TU2Z.js";import{c as B}from"./chunk.3L472FD4.js";import{b as A}from"./chunk.RAP66B6O.js";import{a as H}from"./chunk.SLXPE3UU.js";import{a as P}from"./chunk.CGQ2BPPZ.js";import{a as C,c as k}from"./chunk.B2NUKX6G.js";import{a as w}from"./chunk.KLRPP4NQ.js";import{a as I}from"./chunk.HLDWO3HP.js";import{a as M}from"./chunk.IQPMMUES.js";import{a as d}from"./chunk.ERQOYXLO.js";import{a as f}from"./chunk.NYKJXI3Q.js";import{a as F,b as r,c as u,d as m,h as E}from"./chunk.IHPCVJQP.js";import{b as V,e as p}from"./chunk.UOAG5PNU.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-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-9-2-tag ?disabled="${this.disabled}" part="tag" exportparts="
2
- base:tag__base,
3
- content:tag__content,
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-9-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(!this.multiple&&(t.key==="Backspace"||t.key==="Delete")){this.clearCombobox();return}if(t.key==="Enter"){let o=this.getCurrentOption(),g=t.metaKey||t.ctrlKey||t.shiftKey||t.altKey;if(!this.open&&!g){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-9-2-optgroup"?(Array.from(e.children).forEach(i=>{i.tagName.toLowerCase()==="sd-6-9-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-9-2-tag ?disabled="${this.disabled}" part="tag" exportparts="
6
- base:tag__base,
7
- content:tag__content,
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-9-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-9-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")),B(this.getCurrentOption(),this.listbox,"vertical","auto")}getAllFilteredOptions(){return[...this.filteredWrapper.querySelectorAll("sd-6-9-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-9-2-optgroup"))return a;let o=i.parentElement,g=(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),g&&(c==null||c.appendChild(g));return}let h=o.cloneNode();return h.appendChild(a),g&&h.appendChild(g),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-9-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}=k(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}=k(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")}handleSizeChange(){this.size=this.floatingLabel&&this.size==="sm"?"md":this.size}async show(){if(this.open||this.disabled||this.visuallyDisabled){this.open=!1;return}return this.open=!0,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 _(D(this.defaultSlot)).flat()}getSlottedOptGroups(){return U(D(this.defaultSlot))}async handleDefaultSlotChange(){if(!customElements.get("sd-6-9-2-option")){customElements.whenDefined("sd-6-9-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-9-2-combobox-option-${n}`}),e.forEach((a,n)=>{a.id=a.id||`sd-6-9-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,g=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",g?q:"left-4",h?this.size==="lg"?"top-2 text-xs":"top-1 text-xs":"top-1/2 -translate-y-1/2",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-9-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="
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-9-2-icon class="${d("text-neutral-700",y)}" name="closing-round" library="_internal"></sd-6-9-2-icon></slot></button>`:""} ${this.showInvalidStyle?p`<sd-6-9-2-icon part="invalid-icon" class="${d(b,y,"text-error")}" library="_internal" name="risk"></sd-6-9-2-icon>`:""} ${this.styleOnValid&&this.showValidStyle?p`<sd-6-9-2-icon part="valid-icon" class="${d("flex-shrink-0 text-success",b,y)}" library="_internal" name="confirm-circle"></sd-6-9-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-9-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-9-2-icon>`:""}</slot>${this.type==="search"?p`<button class="${d("flex items-center sd-interactive",b)}" type="button"><sd-6-9-2-icon class="${d(x,y)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-6-9-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-9-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.2.1 | 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-9-2-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-6-9-2-tag::part(base){border-radius:var(--sd-radius);padding-inline:var(--sd-spacing-1)}sd-6-9-2-tag::part(content){display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:var(--tag-max-width,15ch)}sd-6-9-2-tag[size=lg]::part(base){padding-inline:var(--sd-spacing-2)}sd-6-9-2-tag[disabled=false]::part(base):hover{background-color:rgba(var(--sd-color-background-primary-100))}[part=filtered-listbox] sd-6-9-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-9-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([R()],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([f("filter",{waitUntilFirstUpdate:!0})],s.prototype,"handleFilterChange",1),l([f("useTags",{waitUntilFirstUpdate:!0})],s.prototype,"handleUseTagsChange",1),l([f("size",{waitUntilFirstUpdate:!0})],s.prototype,"applySizeToOptions",1),l([f(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],s.prototype,"handleDisabledChange",1),l([f("value",{waitUntilFirstUpdate:!0})],s.prototype,"handleValueChange",1),l([f("displayInputValue",{waitUntilFirstUpdate:!0})],s.prototype,"handleDisplayInputValueChange",1),l([f("open",{waitUntilFirstUpdate:!0})],s.prototype,"handleOpenChange",1),l([f(["size","floatingLabel"])],s.prototype,"handleSizeChange",1),s=l([F("sd-6-9-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};
@@ -1,2 +0,0 @@
1
- import{a as f}from"./chunk.SLXPE3UU.js";import{a as h}from"./chunk.IQPMMUES.js";import{a as p}from"./chunk.NYKJXI3Q.js";import{a as o,b as r,d as c,h as i}from"./chunk.IHPCVJQP.js";import{b as l,e as a}from"./chunk.UOAG5PNU.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends i{constructor(){super(...arguments);this.localize=new h(this);this.href="";this.current=!1}handleCurrentChange(){var s,n;!this.base||!this.current||(n=(s=this.base.shadowRoot)==null?void 0:s.querySelector("a"))==null||n.setAttribute("aria-current","page")}connectedCallback(){this.hasAttribute("role")||this.setAttribute("role","listitem"),super.connectedCallback()}firstUpdated(){requestAnimationFrame(()=>this.handleCurrentChange())}render(){return a`<sd-6-9-2-link part="base" href="${f(this.current?void 0:this.href)}" target="${this.target}" standalone class="text-nowrap"><slot></slot></sd-6-9-2-link>`}};t.styles=[...i.styles,l`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{display:inline-flex;align-items:center}sd-6-9-2-link::part(base){align-items:center}sd-6-9-2-link::part(icon-left){margin-right:calc(var(--sd-spacing-1) * 0);display:inline-flex}:host([current]) sd-6-9-2-link::part(base){color:rgba(var(--sd-color-text-neutral-700))}:host([current]) sd-6-9-2-link::part(label){text-decoration-line:none}`],e([c('[part="base"]')],t.prototype,"base",2),e([r({type:String,reflect:!0})],t.prototype,"href",2),e([r({type:String,reflect:!0})],t.prototype,"target",2),e([r({type:Boolean,reflect:!0})],t.prototype,"current",2),e([p("current")],t.prototype,"handleCurrentChange",1),t=e([o("sd-6-9-2-breadcrumb-item")],t);export{t as a};