@solid-design-system/components 6.10.0 → 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 (631) 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.6SXKCQA5.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.GYLDD7OO.js → chunk.2OSCB6XW.js} +2 -2
  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.CSUL5FAA.js → chunk.4JSN5MRW.js} +2 -2
  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.PO3YG7QM.js → chunk.6TGHIA5J.js} +2 -2
  138. package/cdn-versioned/chunks/{chunk.X7Z2PXUI.js → chunk.6XBOSAGN.js} +2 -2
  139. package/cdn-versioned/chunks/{chunk.M7IOABFW.js → chunk.AEVTLWPH.js} +2 -2
  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.6SXKCQA5.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.ABEZTKXZ.js → chunk.C5DMBHWP.js} +3 -3
  145. package/cdn-versioned/chunks/{chunk.2PFSV4UH.js → chunk.CWVXYYIU.js} +2 -2
  146. package/cdn-versioned/chunks/{chunk.PBG7SX5G.js → chunk.D4ALUFQN.js} +2 -2
  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.VJWJIXNG.js → chunk.FHAH3D75.js} +5 -5
  150. package/cdn-versioned/chunks/{chunk.A6VWEUXI.js → chunk.FTCO66N2.js} +2 -2
  151. package/cdn-versioned/chunks/{chunk.FWVEGMDU.js → chunk.GFQ37XZ3.js} +2 -2
  152. package/cdn-versioned/chunks/{chunk.GB4BLTBN.js → chunk.GRA62HBK.js} +5 -5
  153. package/cdn-versioned/chunks/{chunk.LCRJHN7X.js → chunk.H4OQH3RR.js} +2 -2
  154. package/cdn-versioned/chunks/{chunk.DOFLMPNA.js → chunk.HAYWDZXJ.js} +2 -2
  155. package/cdn-versioned/chunks/{chunk.MND77BIP.js → chunk.HCHJ72XZ.js} +2 -2
  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.IHPCVJQP.js → chunk.JMZGGLJF.js} +1 -1
  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.S6YZ73C6.js → chunk.M6WOCWLF.js} +2 -2
  164. package/cdn-versioned/chunks/{chunk.3JJMR6UW.js → chunk.MO4FK3ME.js} +2 -2
  165. package/cdn-versioned/chunks/{chunk.LCDK6JMB.js → chunk.MUM37JWD.js} +2 -2
  166. package/cdn-versioned/chunks/{chunk.SYKS2NVL.js → chunk.NLMK6D5B.js} +2 -2
  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.MOVV5SGH.js → chunk.OR63DCBY.js} +2 -2
  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.3QIJXAQA.js → chunk.TNETQ72P.js} +2 -2
  175. package/cdn-versioned/chunks/{chunk.LZ22HXBZ.js → chunk.TPSMY4DZ.js} +2 -2
  176. package/cdn-versioned/chunks/{chunk.JE443GSD.js → chunk.U3A5RX5B.js} +10 -10
  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.2SMHQXPB.js → chunk.X4DMLQMU.js} +2 -2
  181. package/cdn-versioned/chunks/{chunk.23WHB4QP.js → chunk.XCRDBIHK.js} +2 -2
  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.SN3JKNRR.js → chunk.ZFUFHPJ3.js} +2 -2
  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.KXWU6HY5.js → chunk.HMYRJJSA.js} +1 -1
  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.EV6PNOJR.js → chunk.XVLJVMWL.js} +100 -36
  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.KXWU6HY5.js → chunk.HMYRJJSA.js} +2 -2
  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.YR42X3WU.js → chunk.KH2LWYO6.js} +1 -1
  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.EV6PNOJR.js → chunk.XVLJVMWL.js} +103 -39
  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.62QW3E3X.js +0 -2
  631. package/cdn-versioned/chunks/chunk.62QW3E3X.js +0 -2
@@ -1,12 +1,12 @@
1
- import{a as F}from"./chunk.W4EADN3G.js";import{c as A}from"./chunk.3L472FD4.js";import{b as I}from"./chunk.RAP66B6O.js";import{a as M}from"./chunk.CGQ2BPPZ.js";import{a as C,c as $}from"./chunk.B2NUKX6G.js";import{a as T}from"./chunk.KLRPP4NQ.js";import{a as L}from"./chunk.HLDWO3HP.js";import{a as z}from"./chunk.IQPMMUES.js";import{a as h}from"./chunk.ERQOYXLO.js";import{a as m}from"./chunk.NYKJXI3Q.js";import{a as D,b as r,c as u,d as c,g as k,h as O}from"./chunk.IHPCVJQP.js";import{b as E,e as p}from"./chunk.UOAG5PNU.js";import{b as x,e as w}from"./chunk.W4QBFD6E.js";import{e as s}from"./chunk.6EV4YU6C.js";var i=class extends O{constructor(){super(...arguments);this.formControlController=new I(this,{assumeInteractionOn:["sd-blur","sd-input"]});this.hasSlotController=new M(this,"help-text","label");this.localize=new z(this);this.typeToSelectString="";this.deletedTagLabel="";this.hasFocus=!1;this.selectedOptions=[];this.showValidStyle=!1;this.showInvalidStyle=!1;this.defaultValue="";this.open=!1;this.size="lg";this.placement="bottom";this.label="";this.placeholder="";this.maxOptionsTagLabel="";this.disabled=!1;this.visuallyDisabled=!1;this.helpText="";this.currentPlacement=this.placement;this.clearable=!1;this.multiple=!1;this.useTags=!1;this.maxOptionsVisible=3;this.form="";this.name="";this.value="";this.required=!1;this.floatingLabel=!1;this.styleOnValid=!1;this.hoist=!1;this.getTag=t=>p`<sd-6-10-0-tag class="relative z-10 min-w-0 max-w-full" ?disabled="${this.disabled}" part="tag" exportparts="
1
+ import{a as F}from"./chunk.W4EADN3G.js";import{c as A}from"./chunk.3L472FD4.js";import{b as I}from"./chunk.RAP66B6O.js";import{a as M}from"./chunk.CGQ2BPPZ.js";import{a as C,c as $}from"./chunk.B2NUKX6G.js";import{a as T}from"./chunk.KLRPP4NQ.js";import{a as L}from"./chunk.HLDWO3HP.js";import{a as z}from"./chunk.IQPMMUES.js";import{a as h}from"./chunk.ERQOYXLO.js";import{a as m}from"./chunk.NYKJXI3Q.js";import{a as D,b as r,c as u,d as c,g as k,h as O}from"./chunk.JMZGGLJF.js";import{b as E,e as p}from"./chunk.UOAG5PNU.js";import{b as x,e as w}from"./chunk.W4QBFD6E.js";import{e as s}from"./chunk.6EV4YU6C.js";var i=class extends O{constructor(){super(...arguments);this.formControlController=new I(this,{assumeInteractionOn:["sd-blur","sd-input"]});this.hasSlotController=new M(this,"help-text","label");this.localize=new z(this);this.typeToSelectString="";this.deletedTagLabel="";this.hasFocus=!1;this.selectedOptions=[];this.showValidStyle=!1;this.showInvalidStyle=!1;this.defaultValue="";this.open=!1;this.size="lg";this.placement="bottom";this.label="";this.placeholder="";this.maxOptionsTagLabel="";this.disabled=!1;this.visuallyDisabled=!1;this.helpText="";this.currentPlacement=this.placement;this.clearable=!1;this.multiple=!1;this.useTags=!1;this.maxOptionsVisible=3;this.form="";this.name="";this.value="";this.required=!1;this.floatingLabel=!1;this.styleOnValid=!1;this.hoist=!1;this.getTag=t=>p`<sd-6-11-0-tag class="relative z-10 min-w-0 max-w-full" ?disabled="${this.disabled}" part="tag" exportparts="
2
2
  base:tag__base,
3
3
  content:tag__content,
4
4
  removable-indicator:tag__removable-indicator,
5
- " size="${this.size==="sm"?"sm":"lg"}" removable @keydown="${e=>this.handleTagKeyDown(e,t)}" @sd-remove="${e=>this.handleTagRemove(e,t)}">${t.getTextLabel()}</sd-6-10-0-tag>`;this.handleDocumentFocusIn=t=>{let e=t.composedPath();this&&!e.includes(this)&&this.hide()};this.handleDocumentKeyDown=t=>{let e=t.target,o=e.closest(".select__clear")!==null,l=e.closest("sd-6-10-0-icon-button")!==null;if(!(o||l)){if(t.key==="Escape"&&this.open&&(t.preventDefault(),t.stopPropagation(),this.hide(),this.combobox.focus({preventScroll:!0})),t.key==="Enter"||t.key===" "&&this.typeToSelectString===""){if(t.preventDefault(),t.stopImmediatePropagation(),!this.open){this.show(),this.setCurrentOption(this.currentOption||this.getFirstOption(),t);return}this.currentOption&&!this.currentOption.disabled&&(this.multiple?this.toggleOptionSelection(this.currentOption):this.setSelectedOptions(this.currentOption),this.updateComplete.then(()=>{this.emit("sd-input"),this.emit("sd-change")}),this.multiple||(this.hide(),this.combobox.focus({preventScroll:!0})));return}if(["ArrowUp","ArrowDown","Home","End"].includes(t.key)){let d=this.getAllOptions(),n=d.indexOf(this.currentOption),a=Math.max(0,n);if(t.preventDefault(),!this.open&&(this.show(),this.currentOption))return;t.key==="ArrowDown"?(a=n+1,a>d.length-1&&(a=0)):t.key==="ArrowUp"?(a=n-1,a<0&&(a=d.length-1)):t.key==="Home"?a=0:t.key==="End"&&(a=d.length-1),this.setCurrentOption(d[a],t)}if(t.key.length===1||t.key==="Backspace"){let d=this.getAllOptions();if(t.metaKey||t.ctrlKey||t.altKey)return;if(!this.open){if(t.key==="Backspace")return;this.show()}t.stopPropagation(),t.preventDefault(),clearTimeout(this.typeToSelectTimeout),this.typeToSelectTimeout=window.setTimeout(()=>this.typeToSelectString="",1e3),t.key==="Backspace"?this.typeToSelectString=this.typeToSelectString.slice(0,-1):this.typeToSelectString+=t.key.toLowerCase();for(let n of d)if(n.getTextLabel().toLowerCase().startsWith(this.typeToSelectString)){this.setCurrentOption(n);break}}}};this.handleDocumentMouseDown=t=>{let e=t.composedPath();this&&!e.includes(this)&&this.hide()}}get validity(){return this.valueInput.validity}get validationMessage(){return this.valueInput.validationMessage}connectedCallback(){super.connectedCallback(),this.open=!1}firstUpdated(){this.applySizeToOptions()}addOpenListeners(){document.addEventListener("focusin",this.handleDocumentFocusIn),document.addEventListener("keydown",this.handleDocumentKeyDown),document.addEventListener("mousedown",this.handleDocumentMouseDown)}removeOpenListeners(){document.removeEventListener("focusin",this.handleDocumentFocusIn),document.removeEventListener("keydown",this.handleDocumentKeyDown),document.removeEventListener("mousedown",this.handleDocumentMouseDown)}handleFocus(){this.hasFocus=!0,this.displayInput.setSelectionRange(0,0),this.emit("sd-focus")}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleTagKeyDown(t,e){var o,l,d;if((t.key==="Backspace"||t.key==="Enter"||t.key===" ")&&this.multiple){t.preventDefault(),t.stopPropagation();let n=(o=t.currentTarget)==null?void 0:o.parentElement,a=(l=n==null?void 0:n.previousElementSibling)==null?void 0:l.querySelector("sd-6-10-0-tag"),f=(d=n==null?void 0:n.nextElementSibling)==null?void 0:d.querySelector("sd-6-10-0-tag");this.handleTagRemove(new CustomEvent("sd-remove"),e),this.updateComplete.then(()=>{f?f.focus():a?a.focus():this.focus({preventScroll:!0})})}}handleTagMaxOptionsKeyDown(t){(t.key==="Backspace"||t.key==="Enter")&&this.multiple&&(t.preventDefault(),t.stopPropagation(),this.handleTagRemove(new CustomEvent("sd-remove"),this.selectedOptions[this.selectedOptions.length-1]),this.updateComplete.then(()=>{var o;let e=(o=this.shadowRoot)==null?void 0:o.querySelectorAll("sd-6-10-0-tag");e&&e.length>0?e==null||e[(e==null?void 0:e.length)-1].focus():this.focus({preventScroll:!0})}))}handleLabelClick(){this.combobox.focus()}handleComboboxMouseDown(t){let o=t.composedPath().some(l=>l instanceof HTMLSlotElement&&l.name==="removable-indicator");this.disabled||o||this.visuallyDisabled||(t.preventDefault(),this.combobox.focus({preventScroll:!0}),this.open=!this.open,this.setCurrentOption(this.currentOption||this.getFirstOption(),t))}handleComboboxKeyDown(t){t.stopPropagation(),this.handleDocumentKeyDown(t)}handleClearClick(t){t.stopPropagation(),this.clearSelect()}clearSelect(){this.setSelectedOptions([]),this.combobox.focus({preventScroll:!0}),this.updateComplete.then(()=>{this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change")})}handleClearMouseDown(t){t.stopPropagation(),t.preventDefault()}handleOptionClick(t){let o=t.target.closest("sd-6-10-0-option"),l=this.value;o&&!o.disabled&&(this.multiple?this.toggleOptionSelection(o):this.setSelectedOptions(o),this.updateComplete.then(()=>this.combobox.focus({preventScroll:!0})),this.value!==l&&this.updateComplete.then(()=>{this.emit("sd-input"),this.emit("sd-change")}),this.multiple||(this.hide(),this.combobox.focus({preventScroll:!0})))}handleDefaultSlotChange(){let t=this.getAllOptions(),e=Array.isArray(this.value)?this.value:[this.value],o=[];customElements.get("sd-6-10-0-option")?(t.forEach(l=>{this.multiple&&(l.checkbox=!0),o.push(l.value)}),this.setSelectedOptions(t.filter(l=>e.includes(l.value)))):customElements.whenDefined("sd-6-10-0-option").then(()=>this.handleDefaultSlotChange())}handleTagRemove(t,e){t.stopPropagation(),e||this.clearSelect(),e&&!this.disabled&&(this.toggleOptionSelection(e,!1),this.deletedTagLabel=this.localize.term("removed",e.textContent),this.updateComplete.then(()=>{this.emit("sd-input"),this.emit("sd-change")}))}getAllOptions(){return[...this.querySelectorAll("sd-6-10-0-option")]}getFirstOption(){return this.querySelector("sd-6-10-0-option")}setCurrentOption(t,e){this.getAllOptions().forEach(l=>{l.current=!1,l.tabIndex=-1,((e==null?void 0:e.type)==="keydown"||(e==null?void 0:e.type)==="mousedown")&&(l.isKeyboardFocus=!1)}),t&&(this.currentOption=t,t.current=!0,t.tabIndex=0,t.focus()),t&&(e==null?void 0:e.type)==="keydown"&&(t.isKeyboardFocus=!0)}setSelectedOptions(t){let e=this.getAllOptions(),o=Array.isArray(t)?t:[t];e.forEach(l=>l.selected=!1),o.length&&o.forEach(l=>l.selected=!0),Array.isArray(t)?this.selectionChanged():this.selectionChanged(t)}toggleOptionSelection(t,e){e===!0||e===!1?t.selected=e:t.selected=!t.selected,Array.isArray(t)?this.selectionChanged():this.selectionChanged(t)}get displayLabel(){var t,e;return this.multiple?this.useTags||this.value.length===0?"":this.localize.term("numOptionsSelected",this.selectedOptions.length):(e=(t=this.selectedOptions[0])==null?void 0:t.getTextLabel())!=null?e:""}selectionChanged(t){var e,o;t&&this.multiple?this.selectedOptions.find(l=>l.value===t.value)?this.selectedOptions=this.selectedOptions.filter(l=>l.value!==t.value):this.selectedOptions=[...this.selectedOptions,t]:this.selectedOptions=this.getAllOptions().filter(l=>l.selected),this.multiple?this.value=this.selectedOptions.map(l=>l.value):this.value=(o=(e=this.selectedOptions[0])==null?void 0:e.value)!=null?o:"",this.updateComplete.then(()=>{this.formControlController.updateValidity()})}get tags(){return this.selectedOptions.length<=this.maxOptionsVisible?this.selectedOptions.map((t,e)=>{if(e<this.maxOptionsVisible||this.maxOptionsVisible<=0){let o=this.getTag(t,e);return p`<div @sd-remove="${l=>this.handleTagRemove(l,t)}" class="max-w-full">${typeof o=="string"?L(o):o}</div>`}return[p``]}):[p`<sd-6-10-0-tag class="z-10 min-w-0 max-w-full" ?disabled="${this.disabled}" part="tag" exportparts="
5
+ " size="${this.size==="sm"?"sm":"lg"}" removable @keydown="${e=>this.handleTagKeyDown(e,t)}" @sd-remove="${e=>this.handleTagRemove(e,t)}">${t.getTextLabel()}</sd-6-11-0-tag>`;this.handleDocumentFocusIn=t=>{let e=t.composedPath();this&&!e.includes(this)&&this.hide()};this.handleDocumentKeyDown=t=>{let e=t.target,o=e.closest(".select__clear")!==null,l=e.closest("sd-6-11-0-icon-button")!==null;if(!(o||l)){if(t.key==="Escape"&&this.open&&(t.preventDefault(),t.stopPropagation(),this.hide(),this.combobox.focus({preventScroll:!0})),t.key==="Enter"||t.key===" "&&this.typeToSelectString===""){if(t.preventDefault(),t.stopImmediatePropagation(),!this.open){this.show(),this.setCurrentOption(this.currentOption||this.getFirstOption(),t);return}this.currentOption&&!this.currentOption.disabled&&(this.multiple?this.toggleOptionSelection(this.currentOption):this.setSelectedOptions(this.currentOption),this.updateComplete.then(()=>{this.emit("sd-input"),this.emit("sd-change")}),this.multiple||(this.hide(),this.combobox.focus({preventScroll:!0})));return}if(["ArrowUp","ArrowDown","Home","End"].includes(t.key)){let d=this.getAllOptions(),n=d.indexOf(this.currentOption),a=Math.max(0,n);if(t.preventDefault(),!this.open&&(this.show(),this.currentOption))return;t.key==="ArrowDown"?(a=n+1,a>d.length-1&&(a=0)):t.key==="ArrowUp"?(a=n-1,a<0&&(a=d.length-1)):t.key==="Home"?a=0:t.key==="End"&&(a=d.length-1),this.setCurrentOption(d[a],t)}if(t.key.length===1||t.key==="Backspace"){let d=this.getAllOptions();if(t.metaKey||t.ctrlKey||t.altKey)return;if(!this.open){if(t.key==="Backspace")return;this.show()}t.stopPropagation(),t.preventDefault(),clearTimeout(this.typeToSelectTimeout),this.typeToSelectTimeout=window.setTimeout(()=>this.typeToSelectString="",1e3),t.key==="Backspace"?this.typeToSelectString=this.typeToSelectString.slice(0,-1):this.typeToSelectString+=t.key.toLowerCase();for(let n of d)if(n.getTextLabel().toLowerCase().startsWith(this.typeToSelectString)){this.setCurrentOption(n);break}}}};this.handleDocumentMouseDown=t=>{let e=t.composedPath();this&&!e.includes(this)&&this.hide()}}get validity(){return this.valueInput.validity}get validationMessage(){return this.valueInput.validationMessage}connectedCallback(){super.connectedCallback(),this.open=!1}firstUpdated(){this.applySizeToOptions()}addOpenListeners(){document.addEventListener("focusin",this.handleDocumentFocusIn),document.addEventListener("keydown",this.handleDocumentKeyDown),document.addEventListener("mousedown",this.handleDocumentMouseDown)}removeOpenListeners(){document.removeEventListener("focusin",this.handleDocumentFocusIn),document.removeEventListener("keydown",this.handleDocumentKeyDown),document.removeEventListener("mousedown",this.handleDocumentMouseDown)}handleFocus(){this.hasFocus=!0,this.displayInput.setSelectionRange(0,0),this.emit("sd-focus")}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleTagKeyDown(t,e){var o,l,d;if((t.key==="Backspace"||t.key==="Enter"||t.key===" ")&&this.multiple){t.preventDefault(),t.stopPropagation();let n=(o=t.currentTarget)==null?void 0:o.parentElement,a=(l=n==null?void 0:n.previousElementSibling)==null?void 0:l.querySelector("sd-6-11-0-tag"),f=(d=n==null?void 0:n.nextElementSibling)==null?void 0:d.querySelector("sd-6-11-0-tag");this.handleTagRemove(new CustomEvent("sd-remove"),e),this.updateComplete.then(()=>{f?f.focus():a?a.focus():this.focus({preventScroll:!0})})}}handleTagMaxOptionsKeyDown(t){(t.key==="Backspace"||t.key==="Enter")&&this.multiple&&(t.preventDefault(),t.stopPropagation(),this.handleTagRemove(new CustomEvent("sd-remove"),this.selectedOptions[this.selectedOptions.length-1]),this.updateComplete.then(()=>{var o;let e=(o=this.shadowRoot)==null?void 0:o.querySelectorAll("sd-6-11-0-tag");e&&e.length>0?e==null||e[(e==null?void 0:e.length)-1].focus():this.focus({preventScroll:!0})}))}handleLabelClick(){this.combobox.focus()}handleComboboxMouseDown(t){let o=t.composedPath().some(l=>l instanceof HTMLSlotElement&&l.name==="removable-indicator");this.disabled||o||this.visuallyDisabled||(t.preventDefault(),this.combobox.focus({preventScroll:!0}),this.open=!this.open,this.setCurrentOption(this.currentOption||this.getFirstOption(),t))}handleComboboxKeyDown(t){t.stopPropagation(),this.handleDocumentKeyDown(t)}handleClearClick(t){t.stopPropagation(),this.clearSelect()}clearSelect(){this.setSelectedOptions([]),this.combobox.focus({preventScroll:!0}),this.updateComplete.then(()=>{this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change")})}handleClearMouseDown(t){t.stopPropagation(),t.preventDefault()}handleOptionClick(t){let o=t.target.closest("sd-6-11-0-option"),l=this.value;o&&!o.disabled&&(this.multiple?this.toggleOptionSelection(o):this.setSelectedOptions(o),this.updateComplete.then(()=>this.combobox.focus({preventScroll:!0})),this.value!==l&&this.updateComplete.then(()=>{this.emit("sd-input"),this.emit("sd-change")}),this.multiple||(this.hide(),this.combobox.focus({preventScroll:!0})))}handleDefaultSlotChange(){let t=this.getAllOptions(),e=Array.isArray(this.value)?this.value:[this.value],o=[];customElements.get("sd-6-11-0-option")?(t.forEach(l=>{this.multiple&&(l.checkbox=!0),o.push(l.value)}),this.setSelectedOptions(t.filter(l=>e.includes(l.value)))):customElements.whenDefined("sd-6-11-0-option").then(()=>this.handleDefaultSlotChange())}handleTagRemove(t,e){t.stopPropagation(),e||this.clearSelect(),e&&!this.disabled&&(this.toggleOptionSelection(e,!1),this.deletedTagLabel=this.localize.term("removed",e.textContent),this.updateComplete.then(()=>{this.emit("sd-input"),this.emit("sd-change")}))}getAllOptions(){return[...this.querySelectorAll("sd-6-11-0-option")]}getFirstOption(){return this.querySelector("sd-6-11-0-option")}setCurrentOption(t,e){this.getAllOptions().forEach(l=>{l.current=!1,l.tabIndex=-1,((e==null?void 0:e.type)==="keydown"||(e==null?void 0:e.type)==="mousedown")&&(l.isKeyboardFocus=!1)}),t&&(this.currentOption=t,t.current=!0,t.tabIndex=0,t.focus()),t&&(e==null?void 0:e.type)==="keydown"&&(t.isKeyboardFocus=!0)}setSelectedOptions(t){let e=this.getAllOptions(),o=Array.isArray(t)?t:[t];e.forEach(l=>l.selected=!1),o.length&&o.forEach(l=>l.selected=!0),Array.isArray(t)?this.selectionChanged():this.selectionChanged(t)}toggleOptionSelection(t,e){e===!0||e===!1?t.selected=e:t.selected=!t.selected,Array.isArray(t)?this.selectionChanged():this.selectionChanged(t)}get displayLabel(){var t,e;return this.multiple?this.useTags||this.value.length===0?"":this.localize.term("numOptionsSelected",this.selectedOptions.length):(e=(t=this.selectedOptions[0])==null?void 0:t.getTextLabel())!=null?e:""}selectionChanged(t){var e,o;t&&this.multiple?this.selectedOptions.find(l=>l.value===t.value)?this.selectedOptions=this.selectedOptions.filter(l=>l.value!==t.value):this.selectedOptions=[...this.selectedOptions,t]:this.selectedOptions=this.getAllOptions().filter(l=>l.selected),this.multiple?this.value=this.selectedOptions.map(l=>l.value):this.value=(o=(e=this.selectedOptions[0])==null?void 0:e.value)!=null?o:"",this.updateComplete.then(()=>{this.formControlController.updateValidity()})}get tags(){return this.selectedOptions.length<=this.maxOptionsVisible?this.selectedOptions.map((t,e)=>{if(e<this.maxOptionsVisible||this.maxOptionsVisible<=0){let o=this.getTag(t,e);return p`<div @sd-remove="${l=>this.handleTagRemove(l,t)}" class="max-w-full">${typeof o=="string"?L(o):o}</div>`}return[p``]}):[p`<sd-6-11-0-tag class="z-10 min-w-0 max-w-full" ?disabled="${this.disabled}" part="tag" exportparts="
6
6
  base:tag__base,
7
7
  content:tag__content,
8
8
  removable-indicator:tag__removable-indicator,
9
- " size="${this.size==="sm"?"sm":"lg"}" removable @keydown="${t=>this.handleTagMaxOptionsKeyDown(t)}" @sd-remove="${t=>this.handleTagRemove(t)}">${this.selectedOptions.length} ${this.localize.term("tagsSelected")}</sd-6-10-0-tag>`]}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}handleCurrentPlacement(t){let e=t.detail;e&&(this.currentPlacement=e)}handleUseTagsChange(){let t=this.getAllOptions();customElements.get("sd-6-10-0-option")&&t.forEach(e=>{e.checkbox=this.multiple})}handleDisabledChange(){(this.disabled||this.visuallyDisabled)&&(this.open=!1,this.handleOpenChange())}async handleOpenChange(){if(this.open&&(!this.disabled||!this.visuallyDisabled)){this.setCurrentOption(this.selectedOptions[0]||this.getFirstOption()),this.emit("sd-show"),this.addOpenListeners(),await w(this),this.listbox.hidden=!1,this.popup.active=!0,requestAnimationFrame(()=>{this.setCurrentOption(this.currentOption)});let{keyframes:t,options:e}=$(this,"select.show",{dir:this.localize.dir()});await x(this.popup.popup,t,e),this.currentOption&&A(this.currentOption,this.listbox,"vertical","auto"),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),await w(this);let{keyframes:t,options:e}=$(this,"select.hide",{dir:this.localize.dir()});await x(this.popup.popup,t,e),this.listbox.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}}applySizeToOptions(){this._optionsInDefaultSlot.forEach(t=>{t.size=this.size})}handleValueChange(){let t=this.value,e=Array.isArray(t)?t:[t],o=this.selectedOptions.map(n=>n.value);if(e.length===o.length&&e.every(n=>o.includes(n)))return;let l=this.getAllOptions(),d=Array.isArray(this.value)?this.value:[this.value];this.setSelectedOptions(l.filter(n=>d.includes(n.value))),this.value=t}handleSizeChange(){this.size=this.floatingLabel&&this.size==="sm"?"md":this.size}async show(){if(this.open||this.disabled||this.visuallyDisabled){this.open=!1;return}return this.open=!0,T(this,"sd-after-show")}async hide(){if(!this.open||this.disabled){this.open=!1;return}return this.open=!1,T(this,"sd-after-hide")}checkValidity(){var t;return(t=this.valueInput)==null?void 0:t.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.valueInput.reportValidity()}setCustomValidity(t){this.valueInput.setCustomValidity(t),this.formControlController.updateValidity()}focus(t){this.combobox.focus(t)}blur(){this.combobox.blur()}render(){let t={default:this.hasSlotController.test("[default]"),label:this.hasSlotController.test("label"),clearIcon:this.hasSlotController.test("clear-icon"),expandIcon:this.hasSlotController.test("expand-icon"),helpText:this.hasSlotController.test("help-text"),tooltip:this.hasSlotController.test("tooltip")},e=this.label?!0:!!t.label,o=this.helpText?!0:!!t.helpText,l=this.clearable&&!this.disabled,d=!!t.tooltip,n=this.value!==null&&String(this.value).length>0,a=this.floatingLabel&&e&&(this.hasFocus&&!this.visuallyDisabled||this.open||n)&&!(this.disabled&&!n),f=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",b=this.disabled||this.visuallyDisabled?"cursor-not-allowed":"cursor-pointer",v={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],g={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size],V=this.size==="lg"?this.floatingLabel?a?"py-3":"py-4":"py-2":this.floatingLabel?a?"py-2":"py-3":"py-1";return p`<div part="form-control" class="${h("relative text-left",b,this.size==="sm"?"text-sm":"text-base",this.open&&"z-50")}"><span class="sr-only" aria-live="polite">${this.deletedTagLabel}</span> ${e&&!this.floatingLabel||d?p`<div class="flex items-center gap-1 mb-2"><label id="label" part="form-control-label" class="${e&&"inline-block form-control-color-text"}" aria-hidden="${e?"false":"true"}" @click="${this.handleLabelClick}"><slot name="label">${this.label}</slot></label> ${t.tooltip?p`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${h("relative w-full bg-white",f==="disabled"?"text-neutral-500":"form-control-color-text")}">${e&&this.floatingLabel?p`<label id="label" part="form-control-floating-label" class="${h("absolute left-4 z-20 pointer-events-none transition-all duration-200",a?this.size==="lg"?"top-2 text-xs":"top-1 text-xs":"top-1/2 -translate-y-1/2",a&&"mt-1")}" for="input"><span class="${h("leading-none",a&&!this.visuallyDisabled&&!this.disabled&&"form-control--filled__floating-label-color-text")}">${this.label}</span></label>`:null}<div part="border" class="${h("absolute top-0 w-full h-full pointer-events-none border 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"}[f],this.open&&(this.currentPlacement==="bottom"?"rounded-bl-none rounded-br-none":"rounded-tl-none rounded-tr-none"))}"></div><sd-6-10-0-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${h("inline-flex relative w-full",this.currentPlacement==="bottom"?"origin-top":"origin-bottom")}" placement="${this.placement}" strategy="${this.hoist?"fixed":"absolute"}" flip sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
9
+ " size="${this.size==="sm"?"sm":"lg"}" removable @keydown="${t=>this.handleTagMaxOptionsKeyDown(t)}" @sd-remove="${t=>this.handleTagRemove(t)}">${this.selectedOptions.length} ${this.localize.term("tagsSelected")}</sd-6-11-0-tag>`]}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}handleCurrentPlacement(t){let e=t.detail;e&&(this.currentPlacement=e)}handleUseTagsChange(){let t=this.getAllOptions();customElements.get("sd-6-11-0-option")&&t.forEach(e=>{e.checkbox=this.multiple})}handleDisabledChange(){(this.disabled||this.visuallyDisabled)&&(this.open=!1,this.handleOpenChange())}async handleOpenChange(){if(this.open&&(!this.disabled||!this.visuallyDisabled)){this.setCurrentOption(this.selectedOptions[0]||this.getFirstOption()),this.emit("sd-show"),this.addOpenListeners(),await w(this),this.listbox.hidden=!1,this.popup.active=!0,requestAnimationFrame(()=>{this.setCurrentOption(this.currentOption)});let{keyframes:t,options:e}=$(this,"select.show",{dir:this.localize.dir()});await x(this.popup.popup,t,e),this.currentOption&&A(this.currentOption,this.listbox,"vertical","auto"),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),await w(this);let{keyframes:t,options:e}=$(this,"select.hide",{dir:this.localize.dir()});await x(this.popup.popup,t,e),this.listbox.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}}applySizeToOptions(){this._optionsInDefaultSlot.forEach(t=>{t.size=this.size})}handleValueChange(){let t=this.value,e=Array.isArray(t)?t:[t],o=this.selectedOptions.map(n=>n.value);if(e.length===o.length&&e.every(n=>o.includes(n)))return;let l=this.getAllOptions(),d=Array.isArray(this.value)?this.value:[this.value];this.setSelectedOptions(l.filter(n=>d.includes(n.value))),this.value=t}handleSizeChange(){this.size=this.floatingLabel&&this.size==="sm"?"md":this.size}async show(){if(this.open||this.disabled||this.visuallyDisabled){this.open=!1;return}return this.open=!0,T(this,"sd-after-show")}async hide(){if(!this.open||this.disabled){this.open=!1;return}return this.open=!1,T(this,"sd-after-hide")}checkValidity(){var t;return(t=this.valueInput)==null?void 0:t.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.valueInput.reportValidity()}setCustomValidity(t){this.valueInput.setCustomValidity(t),this.formControlController.updateValidity()}focus(t){this.combobox.focus(t)}blur(){this.combobox.blur()}render(){let t={default:this.hasSlotController.test("[default]"),label:this.hasSlotController.test("label"),clearIcon:this.hasSlotController.test("clear-icon"),expandIcon:this.hasSlotController.test("expand-icon"),helpText:this.hasSlotController.test("help-text"),tooltip:this.hasSlotController.test("tooltip")},e=this.label?!0:!!t.label,o=this.helpText?!0:!!t.helpText,l=this.clearable&&!this.disabled,d=!!t.tooltip,n=this.value!==null&&String(this.value).length>0,a=this.floatingLabel&&e&&(this.hasFocus&&!this.visuallyDisabled||this.open||n)&&!(this.disabled&&!n),f=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",b=this.disabled||this.visuallyDisabled?"cursor-not-allowed":"cursor-pointer",v={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],g={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size],V=this.size==="lg"?this.floatingLabel?a?"py-3":"py-4":"py-2":this.floatingLabel?a?"py-2":"py-3":"py-1";return p`<div part="form-control" class="${h("relative text-left",b,this.size==="sm"?"text-sm":"text-base",this.open&&"z-50")}"><span class="sr-only" aria-live="polite">${this.deletedTagLabel}</span> ${e&&!this.floatingLabel||d?p`<div class="flex items-center gap-1 mb-2"><label id="label" part="form-control-label" class="${e&&"inline-block form-control-color-text"}" aria-hidden="${e?"false":"true"}" @click="${this.handleLabelClick}"><slot name="label">${this.label}</slot></label> ${t.tooltip?p`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${h("relative w-full bg-white",f==="disabled"?"text-neutral-500":"form-control-color-text")}">${e&&this.floatingLabel?p`<label id="label" part="form-control-floating-label" class="${h("absolute left-4 z-20 pointer-events-none transition-all duration-200",a?this.size==="lg"?"top-2 text-xs":"top-1 text-xs":"top-1/2 -translate-y-1/2",a&&"mt-1")}" for="input"><span class="${h("leading-none",a&&!this.visuallyDisabled&&!this.disabled&&"form-control--filled__floating-label-color-text")}">${this.label}</span></label>`:null}<div part="border" class="${h("absolute top-0 w-full h-full pointer-events-none border 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"}[f],this.open&&(this.currentPlacement==="bottom"?"rounded-bl-none rounded-br-none":"rounded-tl-none rounded-tr-none"))}"></div><sd-6-11-0-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${h("inline-flex relative w-full",this.currentPlacement==="bottom"?"origin-top":"origin-bottom")}" placement="${this.placement}" strategy="${this.hoist?"fixed":"absolute"}" flip sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
10
10
  popup:popup__content,
11
- "><div class="${h("relative w-full h-full grid rounded-default transition-colors hover:duration-fast ease-in-out",this.visuallyDisabled||this.disabled?"hover:bg-transparent":"hover:bg-neutral-200",["invalid","activeInvalid"].includes(f)&&"form-control--invalid-color-background")}" slot="anchor"><div class="${h("input-container items-center w-full h-full px-4 flex min-w-0",{sm:"py-1",md:"py-1",lg:"py-2"}[this.size],V)}"><input name="${this.name}" form="${this.form}" part="display-input" class="${h("top-0 left-0 appearance-none outline-none flex-grow bg-transparent flex-1 placeholder:text-neutral-700 min-w-0",b,this.multiple&&this.useTags&&this.value.length>0?"hidden":"",this.size==="sm"?a?"h-4":"h-6":a?"h-6":"h-8",a&&"leading-none mt-4")}" type="text" .disabled="${this.disabled}" placeholder="${!this.floatingLabel||a?this.placeholder||this.localize.term("selectDefaultPlaceholder"):""}" .value="${this.displayLabel}" autocomplete="off" spellcheck="false" autocapitalize="off" readonly="readonly" aria-controls="listbox" aria-expanded="${this.open?"true":"false"}" aria-haspopup="listbox" aria-labelledby="label" aria-disabled="${this.disabled||this.visuallyDisabled?"true":"false"}" aria-invalid="${this.showInvalidStyle}" aria-describedby="help-text invalid-message" role="combobox" tabindex="-1"> ${this.multiple&&this.useTags&&this.tags&&this.tags.length>0?p`<div part="tags" class="${h("flex-grow flex flex-wrap items-center gap-1 min-w-0",this.floatingLabel&&"pt-4")}">${this.tags}</div>`:""}<div aria-live="polite" id="control-value" class="absolute top-0 left-0 opacity-0 -z-10">${this.selectedOptions.map(y=>y==null?void 0:y.getTextLabel()).join(", ")}</div><input class="${h("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10",b)}" type="text" ?disabled="${this.disabled}" ?required="${this.required}" .value="${Array.isArray(this.value)?this.value.join(", "):this.value}" tabindex="-1" aria-controls="control-value" aria-hidden="true" @focus="${()=>this.focus()}" @invalid="${this.handleInvalid}"> ${l?p`<button part="clear-button" class="${h("select__clear flex justify-center",v,this.value.length>0?"visible":"hidden")}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-6-10-0-icon class="${h("text-neutral-700 z-10",g)}" library="_internal" name="closing-round"></sd-6-10-0-icon></slot></button>`:""} ${this.showInvalidStyle?p`<sd-6-10-0-icon part="invalid-icon" class="${h(v,g,"text-error")}" library="_internal" name="risk"></sd-6-10-0-icon>`:""} ${this.styleOnValid&&this.showValidStyle?p`<sd-6-10-0-icon part="valid-icon" class="${h("flex-shrink-0 text-success",v,g)}" library="_internal" name="confirm-circle"></sd-6-10-0-icon>`:""}<slot name="expand-icon" part="expand-icon" class="${h("inline-flex ml-2 items-center transition-transform duration-medium ease-in-out",this.open?"rotate-180":"rotate-0",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary",g)}"><sd-6-10-0-icon name="chevron-down" part="chevron" library="_internal" color="currentColor"></sd-6-10-0-icon></slot></div><button part="combobox" class="${h("relative w-full px-4 flex flex-row items-center rounded-default focus-visible:outline-none",b,this.open&&"shadow transition-shadow duration-medium ease-in-out",{sm:"min-h-[32px]",md:"min-h-[40px]",lg:"min-h-[48px]"}[this.size])}" type="button" @keydown="${this.handleComboboxKeyDown}" @mousedown="${this.handleComboboxMouseDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" aria-labelledby="label"></button></div><div id="listbox" role="listbox" aria-expanded="${this.open?"true":"false"}" aria-multiselectable="${this.multiple?"true":"false"}" aria-labelledby="label" part="listbox" class="${h("bg-white px-2 py-3 relative border-primary overflow-y-auto",this.open&&"shadow 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" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-6-10-0-popup></div><div class="text-sm text-neutral-700 mt-1" part="form-control-help-text" id="help-text" aria-hidden="${o?"false":"true"}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage(this.size)}`}};i.styles=[...O.styles,E`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
12
- :host{position:relative;display:block;width:auto}:host([required]) #label::after{content:' *'}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{color:rgba(var(--sd-color-text-neutral-500))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{color:rgba(var(--sd-color-text-neutral-500))}[part=listbox]{max-height:var(--auto-size-available-height,auto)}.input-container,[part=combobox]{grid-column:1/1;grid-row:1/1}sd-6-10-0-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-6-10-0-tag::part(base){border-radius:var(--sd-radius);padding-inline:var(--sd-spacing-1)}sd-6-10-0-tag::part(content){display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:var(--tag-max-width,15ch)}sd-6-10-0-tag[size=lg]::part(base){padding-inline:var(--sd-spacing-2)}sd-6-10-0-tag[disabled=false]::part(base):hover{background-color:rgba(var(--sd-color-background-primary-100))}`],s([k({selector:"sd-6-10-0-option"})],i.prototype,"_optionsInDefaultSlot",2),s([c("sd-6-10-0-popup")],i.prototype,"popup",2),s([c('[part="combobox"]')],i.prototype,"combobox",2),s([c('[part="display-input"]')],i.prototype,"displayInput",2),s([c(".value-input")],i.prototype,"valueInput",2),s([c('[part="listbox"]')],i.prototype,"listbox",2),s([c("#invalid-message")],i.prototype,"invalidMessage",2),s([u()],i.prototype,"deletedTagLabel",2),s([u()],i.prototype,"hasFocus",2),s([u()],i.prototype,"currentOption",2),s([u()],i.prototype,"selectedOptions",2),s([u()],i.prototype,"showValidStyle",2),s([u()],i.prototype,"showInvalidStyle",2),s([F()],i.prototype,"defaultValue",2),s([r({type:Boolean,reflect:!0})],i.prototype,"open",2),s([r({type:String,reflect:!0})],i.prototype,"size",2),s([r({type:String,reflect:!0})],i.prototype,"placement",2),s([r({type:String,reflect:!0})],i.prototype,"label",2),s([r({type:String,reflect:!0})],i.prototype,"placeholder",2),s([r({type:String,attribute:"max-options-tag-label",reflect:!0})],i.prototype,"maxOptionsTagLabel",2),s([r({type:Boolean,reflect:!0})],i.prototype,"disabled",2),s([r({type:Boolean,reflect:!0,attribute:"visually-disabled"})],i.prototype,"visuallyDisabled",2),s([r({type:String,attribute:"help-text",reflect:!0})],i.prototype,"helpText",2),s([u()],i.prototype,"currentPlacement",2),s([r({type:Boolean,reflect:!0})],i.prototype,"clearable",2),s([r({type:Boolean,reflect:!0})],i.prototype,"multiple",2),s([r({type:Boolean,reflect:!0})],i.prototype,"useTags",2),s([r({attribute:"max-options-visible",type:Number,reflect:!0})],i.prototype,"maxOptionsVisible",2),s([r({reflect:!0})],i.prototype,"form",2),s([r({reflect:!0})],i.prototype,"name",2),s([r({converter:{fromAttribute:t=>t.split(" "),toAttribute:t=>t.join(" ")}})],i.prototype,"value",2),s([r({type:Boolean,reflect:!0})],i.prototype,"required",2),s([r({attribute:"floating-label",type:Boolean,reflect:!0})],i.prototype,"floatingLabel",2),s([r({type:Boolean,reflect:!0,attribute:"style-on-valid"})],i.prototype,"styleOnValid",2),s([r({type:Boolean,reflect:!0})],i.prototype,"hoist",2),s([r()],i.prototype,"getTag",2),s([m("useTags",{waitUntilFirstUpdate:!0})],i.prototype,"handleUseTagsChange",1),s([m(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],i.prototype,"handleDisabledChange",1),s([m("open",{waitUntilFirstUpdate:!0})],i.prototype,"handleOpenChange",1),s([m("size",{waitUntilFirstUpdate:!0})],i.prototype,"applySizeToOptions",1),s([m("value",{waitUntilFirstUpdate:!0})],i.prototype,"handleValueChange",1),s([m(["size","floatingLabel"])],i.prototype,"handleSizeChange",1),i=s([D("sd-6-10-0-select")],i);C("select.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});C("select.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{i as a};
11
+ "><div class="${h("relative w-full h-full grid rounded-default transition-colors hover:duration-fast ease-in-out",this.visuallyDisabled||this.disabled?"hover:bg-transparent":"hover:bg-neutral-200",["invalid","activeInvalid"].includes(f)&&"form-control--invalid-color-background")}" slot="anchor"><div class="${h("input-container items-center w-full h-full px-4 flex min-w-0",{sm:"py-1",md:"py-1",lg:"py-2"}[this.size],V)}"><input name="${this.name}" form="${this.form}" part="display-input" class="${h("top-0 left-0 appearance-none outline-none flex-grow bg-transparent flex-1 placeholder:text-neutral-700 min-w-0",b,this.multiple&&this.useTags&&this.value.length>0?"hidden":"",this.size==="sm"?a?"h-4":"h-6":a?"h-6":"h-8",a&&"leading-none mt-4")}" type="text" .disabled="${this.disabled}" placeholder="${!this.floatingLabel||a?this.placeholder||this.localize.term("selectDefaultPlaceholder"):""}" .value="${this.displayLabel}" autocomplete="off" spellcheck="false" autocapitalize="off" readonly="readonly" aria-controls="listbox" aria-expanded="${this.open?"true":"false"}" aria-haspopup="listbox" aria-labelledby="label" aria-disabled="${this.disabled||this.visuallyDisabled?"true":"false"}" aria-invalid="${this.showInvalidStyle}" aria-describedby="help-text invalid-message" role="combobox" tabindex="-1"> ${this.multiple&&this.useTags&&this.tags&&this.tags.length>0?p`<div part="tags" class="${h("flex-grow flex flex-wrap items-center gap-1 min-w-0",this.floatingLabel&&"pt-4")}">${this.tags}</div>`:""}<div aria-live="polite" id="control-value" class="absolute top-0 left-0 opacity-0 -z-10">${this.selectedOptions.map(y=>y==null?void 0:y.getTextLabel()).join(", ")}</div><input class="${h("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10",b)}" type="text" ?disabled="${this.disabled}" ?required="${this.required}" .value="${Array.isArray(this.value)?this.value.join(", "):this.value}" tabindex="-1" aria-controls="control-value" aria-hidden="true" @focus="${()=>this.focus()}" @invalid="${this.handleInvalid}"> ${l?p`<button part="clear-button" class="${h("select__clear flex justify-center",v,this.value.length>0?"visible":"hidden")}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-6-11-0-icon class="${h("text-neutral-700 z-10",g)}" library="_internal" name="closing-round"></sd-6-11-0-icon></slot></button>`:""} ${this.showInvalidStyle?p`<sd-6-11-0-icon part="invalid-icon" class="${h(v,g,"text-error")}" library="_internal" name="risk"></sd-6-11-0-icon>`:""} ${this.styleOnValid&&this.showValidStyle?p`<sd-6-11-0-icon part="valid-icon" class="${h("flex-shrink-0 text-success",v,g)}" library="_internal" name="confirm-circle"></sd-6-11-0-icon>`:""}<slot name="expand-icon" part="expand-icon" class="${h("inline-flex ml-2 items-center transition-transform duration-medium ease-in-out",this.open?"rotate-180":"rotate-0",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary",g)}"><sd-6-11-0-icon name="chevron-down" part="chevron" library="_internal" color="currentColor"></sd-6-11-0-icon></slot></div><button part="combobox" class="${h("relative w-full px-4 flex flex-row items-center rounded-default focus-visible:outline-none",b,this.open&&"shadow transition-shadow duration-medium ease-in-out",{sm:"min-h-[32px]",md:"min-h-[40px]",lg:"min-h-[48px]"}[this.size])}" type="button" @keydown="${this.handleComboboxKeyDown}" @mousedown="${this.handleComboboxMouseDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" aria-labelledby="label"></button></div><div id="listbox" role="listbox" aria-expanded="${this.open?"true":"false"}" aria-multiselectable="${this.multiple?"true":"false"}" aria-labelledby="label" part="listbox" class="${h("bg-white px-2 py-3 relative border-primary overflow-y-auto",this.open&&"shadow 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" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-6-11-0-popup></div><div class="text-sm text-neutral-700 mt-1" part="form-control-help-text" id="help-text" aria-hidden="${o?"false":"true"}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage(this.size)}`}};i.styles=[...O.styles,E`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
12
+ :host{position:relative;display:block;width:auto}:host([required]) #label::after{content:' *'}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{color:rgba(var(--sd-color-text-neutral-500))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{color:rgba(var(--sd-color-text-neutral-500))}[part=listbox]{max-height:var(--auto-size-available-height,auto)}.input-container,[part=combobox]{grid-column:1/1;grid-row:1/1}sd-6-11-0-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-6-11-0-tag::part(base){border-radius:var(--sd-radius);padding-inline:var(--sd-spacing-1)}sd-6-11-0-tag::part(content){display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:var(--tag-max-width,15ch)}sd-6-11-0-tag[size=lg]::part(base){padding-inline:var(--sd-spacing-2)}sd-6-11-0-tag[disabled=false]::part(base):hover{background-color:rgba(var(--sd-color-background-primary-100))}`],s([k({selector:"sd-6-11-0-option"})],i.prototype,"_optionsInDefaultSlot",2),s([c("sd-6-11-0-popup")],i.prototype,"popup",2),s([c('[part="combobox"]')],i.prototype,"combobox",2),s([c('[part="display-input"]')],i.prototype,"displayInput",2),s([c(".value-input")],i.prototype,"valueInput",2),s([c('[part="listbox"]')],i.prototype,"listbox",2),s([c("#invalid-message")],i.prototype,"invalidMessage",2),s([u()],i.prototype,"deletedTagLabel",2),s([u()],i.prototype,"hasFocus",2),s([u()],i.prototype,"currentOption",2),s([u()],i.prototype,"selectedOptions",2),s([u()],i.prototype,"showValidStyle",2),s([u()],i.prototype,"showInvalidStyle",2),s([F()],i.prototype,"defaultValue",2),s([r({type:Boolean,reflect:!0})],i.prototype,"open",2),s([r({type:String,reflect:!0})],i.prototype,"size",2),s([r({type:String,reflect:!0})],i.prototype,"placement",2),s([r({type:String,reflect:!0})],i.prototype,"label",2),s([r({type:String,reflect:!0})],i.prototype,"placeholder",2),s([r({type:String,attribute:"max-options-tag-label",reflect:!0})],i.prototype,"maxOptionsTagLabel",2),s([r({type:Boolean,reflect:!0})],i.prototype,"disabled",2),s([r({type:Boolean,reflect:!0,attribute:"visually-disabled"})],i.prototype,"visuallyDisabled",2),s([r({type:String,attribute:"help-text",reflect:!0})],i.prototype,"helpText",2),s([u()],i.prototype,"currentPlacement",2),s([r({type:Boolean,reflect:!0})],i.prototype,"clearable",2),s([r({type:Boolean,reflect:!0})],i.prototype,"multiple",2),s([r({type:Boolean,reflect:!0})],i.prototype,"useTags",2),s([r({attribute:"max-options-visible",type:Number,reflect:!0})],i.prototype,"maxOptionsVisible",2),s([r({reflect:!0})],i.prototype,"form",2),s([r({reflect:!0})],i.prototype,"name",2),s([r({converter:{fromAttribute:t=>t.split(" "),toAttribute:t=>t.join(" ")}})],i.prototype,"value",2),s([r({type:Boolean,reflect:!0})],i.prototype,"required",2),s([r({attribute:"floating-label",type:Boolean,reflect:!0})],i.prototype,"floatingLabel",2),s([r({type:Boolean,reflect:!0,attribute:"style-on-valid"})],i.prototype,"styleOnValid",2),s([r({type:Boolean,reflect:!0})],i.prototype,"hoist",2),s([r()],i.prototype,"getTag",2),s([m("useTags",{waitUntilFirstUpdate:!0})],i.prototype,"handleUseTagsChange",1),s([m(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],i.prototype,"handleDisabledChange",1),s([m("open",{waitUntilFirstUpdate:!0})],i.prototype,"handleOpenChange",1),s([m("size",{waitUntilFirstUpdate:!0})],i.prototype,"applySizeToOptions",1),s([m("value",{waitUntilFirstUpdate:!0})],i.prototype,"handleValueChange",1),s([m(["size","floatingLabel"])],i.prototype,"handleSizeChange",1),i=s([D("sd-6-11-0-select")],i);C("select.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});C("select.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{i as a};
@@ -1,2 +1,2 @@
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-10-0-button-group__button--focus")}handleBlur(e){let t=a(e.target);t==null||t.classList.remove("sd-6-10-0-button-group__button--focus")}handleMouseOver(e){let t=a(e.target);t==null||t.classList.add("sd-6-10-0-button-group__button--hover")}handleMouseOut(e){let t=a(e.target);t==null||t.classList.remove("sd-6-10-0-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-10-0-button-group__button"),o.classList.toggle("sd-6-10-0-button-group__button--first",n===0),o.classList.toggle("sd-6-10-0-button-group__button--inner",n>0&&n<e.length-1),o.classList.toggle("sd-6-10-0-button-group__button--last",n===e.length-1),o.classList.toggle("sd-6-10-0-button-group__button--radio",o.tagName.toLowerCase()==="sd-6-10-0-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-10-0-button-group")],s);function a(r){var e;let i="sd-6-10-0-button, sd-6-10-0-radio-button";return(e=r.closest(i))!=null?e:r.querySelector(i)}export{s as a};
1
+ import{a as m,b as g,c as b,d as h,h as u}from"./chunk.JMZGGLJF.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-11-0-button-group__button--focus")}handleBlur(e){let t=a(e.target);t==null||t.classList.remove("sd-6-11-0-button-group__button--focus")}handleMouseOver(e){let t=a(e.target);t==null||t.classList.add("sd-6-11-0-button-group__button--hover")}handleMouseOut(e){let t=a(e.target);t==null||t.classList.remove("sd-6-11-0-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-11-0-button-group__button"),o.classList.toggle("sd-6-11-0-button-group__button--first",n===0),o.classList.toggle("sd-6-11-0-button-group__button--inner",n>0&&n<e.length-1),o.classList.toggle("sd-6-11-0-button-group__button--last",n===e.length-1),o.classList.toggle("sd-6-11-0-button-group__button--radio",o.tagName.toLowerCase()==="sd-6-11-0-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-11-0-button-group")],s);function a(r){var e;let i="sd-6-11-0-button, sd-6-11-0-radio-button";return(e=r.closest(i))!=null?e:r.querySelector(i)}export{s as a};
@@ -1,6 +1,6 @@
1
- import{a as s}from"./chunk.SLXPE3UU.js";import{a as t}from"./chunk.ERQOYXLO.js";import{a as c,b as e,c as m,d as o,h as n}from"./chunk.IHPCVJQP.js";import{b as l,e as d}from"./chunk.UOAG5PNU.js";import{e as a}from"./chunk.6EV4YU6C.js";var r=class extends n{constructor(){super(...arguments);this.flipDirection="horizontal";this.placement="top";this.frontVariant="primary";this.backVariant="primary";this.activeSide="front"}connectedCallback(){super.connectedCallback()}flipFront(){this.activeSide="back",this.front.classList.add("clicked--front"),this.back.classList.add("clicked--back"),this.emit("sd-flip-front"),setTimeout(()=>{this.back.focus()})}flipBack(){this.activeSide="front",this.front.classList.remove("clicked--front"),this.back.classList.remove("clicked--back"),this.emit("sd-flip-back"),setTimeout(()=>{this.front.focus()})}handleFrontKeydown(i){i.code==="Enter"&&this.front===i.target&&this.flipFront()}handleBackKeydown(i){i.code==="Enter"&&this.back===i.target&&this.flipBack()}render(){return d`<div part="base" class="${t("flip-card relative h-full w-full")}"><div part="front" tabindex="0" aria-hidden="${this.activeSide==="back"}" inert="${s(this.activeSide==="back"||void 0)}" class="${t("flip-card__side flip-card__side--front overflow-hidden transition-transform duration-1000 ease-in-out","flex focus-visible:focus-outline","absolute top-0 left-0 w-full h-full justify-end text-left",this.frontVariant==="primary"&&"bg-primary",this.frontVariant==="primary-100"&&"bg-primary-100",this.placement==="top"?"flex-col":"flex-col-reverse",this.flipDirection==="vertical"&&"vertical")}"><div part="media-front" class="${t("absolute h-full w-full -z-20",(this.frontVariant==="primary"||this.frontVariant==="primary-100")&&"hidden")}"><slot name="media-front"></slot></div><div part="front-slot-container" class="${t("flex relative",{primary:"text-white","primary-100":"text-black","gradient-light":"text-black","gradient-dark":"text-white"}[this.frontVariant])}"><div class="${t("absolute inset-0",{primary:"","primary-100":"","gradient-light":this.placement==="top"?"bg-gradient-to-b from-white/75 to-white/60":"bg-gradient-to-t from-white/75 to-white/60","gradient-dark":this.placement==="bottom"?"bg-gradient-to-t from-primary-800/75 to-primary-800/60":"bg-gradient-to-b from-primary-800/75 to-primary-800/60"}[this.frontVariant])}"></div><slot name="front"></slot></div><div part="front-secondary-gradient" class="${t("flip-card__gradient",{primary:"mb-auto","primary-100":"mb-auto","gradient-light":this.placement==="top"?"bg-gradient-to-b from-white/60 to-white/0 mb-auto":"bg-gradient-to-t from-white/60 to-white/0 mt-auto","gradient-dark":this.placement==="bottom"?"bg-gradient-to-t from-primary-800/60 to-primary-800/0 mt-auto":"bg-gradient-to-b from-primary-800/60 to-primary-800/0 mb-auto"}[this.frontVariant])}"></div><sd-6-10-0-button part="front-button" size="md" variant="${{primary:"tertiary","primary-100":"tertiary","gradient-light":"primary","gradient-dark":"primary"}[this.frontVariant]}" ?inverted="${{primary:!0,"primary-100":!1,"gradient-light":!0,"gradient-dark":!0}[this.frontVariant]}" class="${t("absolute right-0 p-2 flex-shrink-0",this.placement==="top"?"bottom-0":"top-0")}" @click="${this.flipFront}" @keydown="${this.handleFrontKeydown}"><sd-6-10-0-icon library="_internal" name="reload" label="Flip to Back"></sd-6-10-0-icon></sd-6-10-0-button></div><div part="back" tabindex="0" aria-hidden="${this.activeSide==="front"}" inert="${s(this.activeSide==="front"||void 0)}" class="${t("flip-card__side flip-card__side--back overflow-hidden transition-transform duration-1000 ease-in-out","flex focus-visible:focus-outline","absolute top-0 left-0 w-full h-full justify-end text-left",this.backVariant==="primary"&&"bg-primary",this.backVariant==="primary-100"&&"bg-primary-100",this.placement==="top"?"flex-col":"flex-col-reverse",this.flipDirection==="vertical"&&"vertical")}"><div part="media-back" class="${t("absolute h-full w-full -z-20",(this.backVariant==="primary"||this.backVariant==="primary-100")&&"hidden")}"><slot name="media-back"></slot></div><div part="back-slot-container" class="${t("flex",{primary:"text-white","primary-100":"text-black","gradient-light":"text-black","gradient-dark":"text-white"}[this.backVariant],{primary:"","primary-100":"","gradient-light":this.placement==="top"?"bg-gradient-to-b from-white/75 to-white/60":"bg-gradient-to-t from-white/75 to-white/60","gradient-dark":this.placement==="bottom"?"bg-gradient-to-t from-primary-800/75 to-primary-800/60":"bg-gradient-to-b from-primary-800/75 to-primary-800/60"}[this.backVariant])}"><slot name="back"></slot></div><div part="back-secondary-gradient" class="${t("flip-card__gradient",{primary:"mb-auto","primary-100":"mb-auto","gradient-light":this.placement==="top"?"bg-gradient-to-b from-white/60 to-white/0 mb-auto":"bg-gradient-to-t from-white/60 to-white/0 mt-auto","gradient-dark":this.placement==="bottom"?"bg-gradient-to-t from-primary-800/60 to-primary-800/0 mt-auto":"bg-gradient-to-b from-primary-800/60 to-primary-800/0 mb-auto"}[this.backVariant])}"></div><sd-6-10-0-button size="md" part="back-button" variant="${{primary:"tertiary","primary-100":"tertiary","gradient-light":"primary","gradient-dark":"primary"}[this.backVariant]}" ?inverted="${{primary:!0,"primary-100":!1,"gradient-light":!0,"gradient-dark":!0}[this.backVariant]}" class="${t("absolute right-0 p-2 flex-shrink-0",this.placement==="top"?"bottom-0":"top-0")}" @click="${this.flipBack}" @keydown="${this.handleBackKeydown}"><sd-6-10-0-icon library="_internal" name="reload" label="Flip to Front"></sd-6-10-0-icon></sd-6-10-0-button></div></div>`}};r.styles=[...n.styles,l`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as s}from"./chunk.SLXPE3UU.js";import{a as t}from"./chunk.ERQOYXLO.js";import{a as c,b as e,c as m,d as o,h as n}from"./chunk.JMZGGLJF.js";import{b as l,e as d}from"./chunk.UOAG5PNU.js";import{e as a}from"./chunk.6EV4YU6C.js";var r=class extends n{constructor(){super(...arguments);this.flipDirection="horizontal";this.placement="top";this.frontVariant="primary";this.backVariant="primary";this.activeSide="front"}connectedCallback(){super.connectedCallback()}flipFront(){this.activeSide="back",this.front.classList.add("clicked--front"),this.back.classList.add("clicked--back"),this.emit("sd-flip-front"),setTimeout(()=>{this.back.focus()})}flipBack(){this.activeSide="front",this.front.classList.remove("clicked--front"),this.back.classList.remove("clicked--back"),this.emit("sd-flip-back"),setTimeout(()=>{this.front.focus()})}handleFrontKeydown(i){i.code==="Enter"&&this.front===i.target&&this.flipFront()}handleBackKeydown(i){i.code==="Enter"&&this.back===i.target&&this.flipBack()}render(){return d`<div part="base" class="${t("flip-card relative h-full w-full")}"><div part="front" tabindex="0" aria-hidden="${this.activeSide==="back"}" inert="${s(this.activeSide==="back"||void 0)}" class="${t("flip-card__side flip-card__side--front overflow-hidden transition-transform duration-1000 ease-in-out","flex focus-visible:focus-outline","absolute top-0 left-0 w-full h-full justify-end text-left",this.frontVariant==="primary"&&"bg-primary",this.frontVariant==="primary-100"&&"bg-primary-100",this.placement==="top"?"flex-col":"flex-col-reverse",this.flipDirection==="vertical"&&"vertical")}"><div part="media-front" class="${t("absolute h-full w-full -z-20",(this.frontVariant==="primary"||this.frontVariant==="primary-100")&&"hidden")}"><slot name="media-front"></slot></div><div part="front-slot-container" class="${t("flex relative",{primary:"text-white","primary-100":"text-black","gradient-light":"text-black","gradient-dark":"text-white"}[this.frontVariant])}"><div class="${t("absolute inset-0",{primary:"","primary-100":"","gradient-light":this.placement==="top"?"bg-gradient-to-b from-white/75 to-white/60":"bg-gradient-to-t from-white/75 to-white/60","gradient-dark":this.placement==="bottom"?"bg-gradient-to-t from-primary-800/75 to-primary-800/60":"bg-gradient-to-b from-primary-800/75 to-primary-800/60"}[this.frontVariant])}"></div><slot name="front"></slot></div><div part="front-secondary-gradient" class="${t("flip-card__gradient",{primary:"mb-auto","primary-100":"mb-auto","gradient-light":this.placement==="top"?"bg-gradient-to-b from-white/60 to-white/0 mb-auto":"bg-gradient-to-t from-white/60 to-white/0 mt-auto","gradient-dark":this.placement==="bottom"?"bg-gradient-to-t from-primary-800/60 to-primary-800/0 mt-auto":"bg-gradient-to-b from-primary-800/60 to-primary-800/0 mb-auto"}[this.frontVariant])}"></div><sd-6-11-0-button part="front-button" size="md" variant="${{primary:"tertiary","primary-100":"tertiary","gradient-light":"primary","gradient-dark":"primary"}[this.frontVariant]}" ?inverted="${{primary:!0,"primary-100":!1,"gradient-light":!0,"gradient-dark":!0}[this.frontVariant]}" class="${t("absolute right-0 p-2 flex-shrink-0",this.placement==="top"?"bottom-0":"top-0")}" @click="${this.flipFront}" @keydown="${this.handleFrontKeydown}"><sd-6-11-0-icon library="_internal" name="reload" label="Flip to Back"></sd-6-11-0-icon></sd-6-11-0-button></div><div part="back" tabindex="0" aria-hidden="${this.activeSide==="front"}" inert="${s(this.activeSide==="front"||void 0)}" class="${t("flip-card__side flip-card__side--back overflow-hidden transition-transform duration-1000 ease-in-out","flex focus-visible:focus-outline","absolute top-0 left-0 w-full h-full justify-end text-left",this.backVariant==="primary"&&"bg-primary",this.backVariant==="primary-100"&&"bg-primary-100",this.placement==="top"?"flex-col":"flex-col-reverse",this.flipDirection==="vertical"&&"vertical")}"><div part="media-back" class="${t("absolute h-full w-full -z-20",(this.backVariant==="primary"||this.backVariant==="primary-100")&&"hidden")}"><slot name="media-back"></slot></div><div part="back-slot-container" class="${t("flex",{primary:"text-white","primary-100":"text-black","gradient-light":"text-black","gradient-dark":"text-white"}[this.backVariant],{primary:"","primary-100":"","gradient-light":this.placement==="top"?"bg-gradient-to-b from-white/75 to-white/60":"bg-gradient-to-t from-white/75 to-white/60","gradient-dark":this.placement==="bottom"?"bg-gradient-to-t from-primary-800/75 to-primary-800/60":"bg-gradient-to-b from-primary-800/75 to-primary-800/60"}[this.backVariant])}"><slot name="back"></slot></div><div part="back-secondary-gradient" class="${t("flip-card__gradient",{primary:"mb-auto","primary-100":"mb-auto","gradient-light":this.placement==="top"?"bg-gradient-to-b from-white/60 to-white/0 mb-auto":"bg-gradient-to-t from-white/60 to-white/0 mt-auto","gradient-dark":this.placement==="bottom"?"bg-gradient-to-t from-primary-800/60 to-primary-800/0 mt-auto":"bg-gradient-to-b from-primary-800/60 to-primary-800/0 mb-auto"}[this.backVariant])}"></div><sd-6-11-0-button size="md" part="back-button" variant="${{primary:"tertiary","primary-100":"tertiary","gradient-light":"primary","gradient-dark":"primary"}[this.backVariant]}" ?inverted="${{primary:!0,"primary-100":!1,"gradient-light":!0,"gradient-dark":!0}[this.backVariant]}" class="${t("absolute right-0 p-2 flex-shrink-0",this.placement==="top"?"bottom-0":"top-0")}" @click="${this.flipBack}" @keydown="${this.handleBackKeydown}"><sd-6-11-0-icon library="_internal" name="reload" label="Flip to Front"></sd-6-11-0-icon></sd-6-11-0-button></div></div>`}};r.styles=[...n.styles,l`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{display:block;aspect-ratio:var(--sd-aspect-3\\/4);--name:'';--height:480px;height:var(--height)}.flip-card{perspective:100rem}.flip-card__side{backface-visibility:hidden}.flip-card__side--back{transform:rotateY(180deg)}.clicked--front{transform:rotateY(-180deg)}.clicked--back{transform:rotateY(0)}.flip-card__side--back.vertical{transform:rotateX(180deg)}.clicked--front.vertical{transform:rotateX(-180deg)}.clicked--back.vertical{transform:rotateX(0)}.flip-card__gradient{flex:.4 1 0}:host([front-variant=gradient-light]) [part=front-secondary-gradient],:host([front-variant=gradient-light]) [part=front-slot-container] .bg-gradient-to-b{--sd-color-background-white:rgba(
3
3
  var(--sd-informational-gradient--white-color-background, rgba(var(--sd-color-white)))
4
4
  )}:host([front-variant=gradient-dark]) [part=front-secondary-gradient],:host([front-variant=gradient-dark]) [part=front-slot-container] .bg-gradient-to-b{--sd-color-background-primary-800:rgba(
5
5
  var(--sd-informational-gradient--primary-800-color-background, rgba(var(--sd-color-primary-800)))
6
- )}`],a([o('[part="front"]')],r.prototype,"front",2),a([o('[part="back"]')],r.prototype,"back",2),a([e({reflect:!0,attribute:"flip-direction"})],r.prototype,"flipDirection",2),a([e({reflect:!0})],r.prototype,"placement",2),a([e({type:String,reflect:!0,attribute:"front-variant"})],r.prototype,"frontVariant",2),a([e({type:String,reflect:!0,attribute:"back-variant"})],r.prototype,"backVariant",2),a([m()],r.prototype,"activeSide",2),r=a([c("sd-6-10-0-flipcard")],r);export{r as a};
6
+ )}`],a([o('[part="front"]')],r.prototype,"front",2),a([o('[part="back"]')],r.prototype,"back",2),a([e({reflect:!0,attribute:"flip-direction"})],r.prototype,"flipDirection",2),a([e({reflect:!0})],r.prototype,"placement",2),a([e({type:String,reflect:!0,attribute:"front-variant"})],r.prototype,"frontVariant",2),a([e({type:String,reflect:!0,attribute:"back-variant"})],r.prototype,"backVariant",2),a([m()],r.prototype,"activeSide",2),r=a([c("sd-6-11-0-flipcard")],r);export{r as a};
@@ -1,12 +1,12 @@
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-10-0-tag ?disabled="${this.disabled}" part="tag" exportparts="
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.JMZGGLJF.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-11-0-tag ?disabled="${this.disabled}" part="tag" exportparts="
2
2
  base:tag__base,
3
3
  content:tag__content,
4
4
  removable-indicator:tag__removable-indicator,
5
- " size="${this.size==="sm"?"sm":"lg"}" removable @keydown="${e=>this.handleTagKeyDown(e,t)}" @sd-remove="${e=>this.handleTagRemove(e,t)}">${t.getTextLabel()}</sd-6-10-0-tag>`;this.handleDocumentFocusIn=t=>{let e=t.composedPath();this&&!e.includes(this)&&this.hide()};this.handleDocumentKeyDown=t=>{let i=t.composedPath().some(o=>o instanceof HTMLButtonElement&&o.classList.contains("combobox-button"));if(this.visuallyDisabled){t.preventDefault(),t.stopPropagation();return}if(!(i||t.target.closest(".combobox__clear")!==null)){if(t.key==="Escape"&&(this.open?(t.preventDefault(),t.stopPropagation(),this.hide(),this.displayInput.focus({preventScroll:!0})):this.displayInputValue=""),t.key==="Backspace"&&this.multiple&&this.displayInput.value===""){this.handleTagRemove(new CustomEvent("sd-remove"),this.selectedOptions[this.selectedOptions.length-1]),this.updateComplete.then(()=>this.displayInput.focus({preventScroll:!0}));return}if(!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-10-0-optgroup"?(Array.from(e.children).forEach(i=>{i.tagName.toLowerCase()==="sd-6-10-0-option"&&t(i)}),e):t(e))}get tags(){return this.selectedOptions.length<=this.maxOptionsVisible?this.selectedOptions.map((t,e)=>{if(e<this.maxOptionsVisible||this.maxOptionsVisible<=0){let i=this.getTag(t,e);return p`<div @sd-remove="${a=>this.handleTagRemove(a,t)}">${typeof i=="string"?I(i):i}</div>`}return[p``]}):[p`<sd-6-10-0-tag ?disabled="${this.disabled}" part="tag" exportparts="
5
+ " size="${this.size==="sm"?"sm":"lg"}" removable @keydown="${e=>this.handleTagKeyDown(e,t)}" @sd-remove="${e=>this.handleTagRemove(e,t)}">${t.getTextLabel()}</sd-6-11-0-tag>`;this.handleDocumentFocusIn=t=>{let e=t.composedPath();this&&!e.includes(this)&&this.hide()};this.handleDocumentKeyDown=t=>{let i=t.composedPath().some(o=>o instanceof HTMLButtonElement&&o.classList.contains("combobox-button"));if(this.visuallyDisabled){t.preventDefault(),t.stopPropagation();return}if(!(i||t.target.closest(".combobox__clear")!==null)){if(t.key==="Escape"&&(this.open?(t.preventDefault(),t.stopPropagation(),this.hide(),this.displayInput.focus({preventScroll:!0})):this.displayInputValue=""),t.key==="Backspace"&&this.multiple&&this.displayInput.value===""){this.handleTagRemove(new CustomEvent("sd-remove"),this.selectedOptions[this.selectedOptions.length-1]),this.updateComplete.then(()=>this.displayInput.focus({preventScroll:!0}));return}if(!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-11-0-optgroup"?(Array.from(e.children).forEach(i=>{i.tagName.toLowerCase()==="sd-6-11-0-option"&&t(i)}),e):t(e))}get tags(){return this.selectedOptions.length<=this.maxOptionsVisible?this.selectedOptions.map((t,e)=>{if(e<this.maxOptionsVisible||this.maxOptionsVisible<=0){let i=this.getTag(t,e);return p`<div @sd-remove="${a=>this.handleTagRemove(a,t)}">${typeof i=="string"?I(i):i}</div>`}return[p``]}):[p`<sd-6-11-0-tag ?disabled="${this.disabled}" part="tag" exportparts="
6
6
  base:tag__base,
7
7
  content:tag__content,
8
8
  removable-indicator:tag__removable-indicator,
9
- " size="${this.size==="sm"?"sm":"lg"}" removable @keydown="${t=>this.handleTagMaxOptionsKeyDown(t)}" @sd-remove="${t=>this.handleTagRemove(t)}">${this.selectedOptions.length} ${this.localize.term("tagsSelected")}</sd-6-10-0-tag>`]}addOpenListeners(){document.addEventListener("focusin",this.handleDocumentFocusIn),document.addEventListener("mousedown",this.handleDocumentMouseDown),this.getRootNode()!==document&&this.getRootNode().addEventListener("focusin",this.handleDocumentFocusIn)}removeOpenListeners(){document.removeEventListener("focusin",this.handleDocumentFocusIn),document.removeEventListener("mousedown",this.handleDocumentMouseDown),this.getRootNode()!==document&&this.getRootNode().removeEventListener("focusin",this.handleDocumentFocusIn)}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleTagKeyDown(t,e){(t.key==="Backspace"||t.key==="Enter"||t.key===" ")&&this.multiple&&(t.preventDefault(),t.stopPropagation(),this.handleTagRemove(new CustomEvent("sd-remove"),e),this.updateComplete.then(()=>this.displayInput.focus({preventScroll:!0})))}handleTagMaxOptionsKeyDown(t){(t.key==="Backspace"||t.key==="Enter"||t.key===" ")&&this.multiple&&(t.preventDefault(),t.stopPropagation(),this.handleTagRemove(new CustomEvent("sd-remove"),this.selectedOptions[this.selectedOptions.length-1]),this.updateComplete.then(()=>this.displayInput.focus({preventScroll:!0})))}handleLabelClick(){this.visuallyDisabled||this.displayInput.focus()}handleTagRemove(t,e){t.stopPropagation(),e||this.clearCombobox(),e&&!this.disabled&&(this.toggleOptionSelection(e,!1),this.setOrderedSelectedOptions(e),this.deletedTagLabel="",this.deletedTagLabel=this.localize.term("removed",e.textContent),this.updateComplete.then(()=>{this.selectionChanged(),this.emit("sd-input"),this.emit("sd-change")}))}handleComboboxMouseDown(t){if(this.visuallyDisabled){t.preventDefault(),t.stopPropagation();return}let i=t.composedPath().some(n=>n instanceof HTMLSlotElement&&n.name==="removable-indicator");if(this.disabled||i)return;(this.open?this.hide():this.show()).then(()=>{setTimeout(()=>this.displayInput.focus({preventScroll:!0}))})}handleComboboxKeyDown(t){t.key!=="Tab"&&this.handleDocumentKeyDown(t)}handleClearClick(t){t.stopPropagation(),this.clearCombobox()}handleNoResultsClick(t){t.preventDefault(),this.hide()}clearCombobox(){this.value!==""&&(this.value="",this.displayInputValue="",this.selectedTextLabel="",this.lastOption=void 0,this.selectedOptions=[],this.getSlottedOptions().forEach(t=>{t.selected=!1}),this.displayInput.focus({preventScroll:!0}),this.updateComplete.then(()=>{this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change")}))}preventLoosingFocus(t){t.stopPropagation(),t.preventDefault()}handleOptionClick(t){let i=t.target.closest("sd-6-10-0-option"),a=this.value;i&&!i.disabled&&(this.multiple?(this.toggleOptionSelection(i),this.lastOption=i,this.setOrderedSelectedOptions(i),this.updateComplete.then(()=>{this.selectionChanged()})):(this.setOrderedSelectedOptions(i),this.setSelectedOptions(i)),this.updateComplete.then(()=>{this.displayInput.focus({preventScroll:!0}),this.value!==a&&(this.emit("sd-input"),this.emit("sd-change"))}),this.multiple||(this.hide(),this.displayInput.focus({preventScroll:!0})))}selectNextOption(t){let e=this.getAllFilteredOptions();if(e.length===0)return;let i=this.getCurrentOption(),a=e.indexOf(i),n=Math.max(0,a);if(t){let o=a+1;n=o>e.length-1?0:o}else{let o=a-1;n=o<0?e.length-1:o}this.setCurrentOption(e[n],new KeyboardEvent("keydown")),B(this.getCurrentOption(),this.listbox,"vertical","auto")}getAllFilteredOptions(){return[...this.filteredWrapper.querySelectorAll("sd-6-10-0-option")]}getCurrentOption(){return this.getAllFilteredOptions().find(t=>t.current)}setCurrentOption(t,e){let i=this.getAllFilteredOptions();this.displayInput.removeAttribute("aria-activedescendant"),i.forEach(a=>{a.current=!1,a.setAttribute("aria-selected","false"),a.isKeyboardFocus=!1}),t&&(t.current=!0,t.setAttribute("aria-selected","true"),this.displayInput.setAttribute("aria-activedescendant",t.id)),t&&(e==null?void 0:e.type)==="keydown"&&(t.isKeyboardFocus=!0)}toggleOptionSelection(t,e){let a=this.getSlottedOptions().find(n=>n.value&&t.value?n.value===t.value:n.getTextLabel()===t.getTextLabel());a&&(a.selected=e!=null?e:!a.selected)}findOptionByValue(t,e){if(e)return Array.isArray(e)?t.find(i=>e.includes(i.value)):t.find(i=>i.value===e)}selectedOptionsAndValueSynced(){var t;return!this.value&&this.selectedOptions.length===0?!0:Array.isArray(this.value)?this.value.length===this.selectedOptions.length:this.value===((t=this.selectedOptions[0])==null?void 0:t.value)}isOptionSelected(t){return t.value?this.value.includes(t.value):this.value.includes(t.getTextLabel())}syncSelectedOptionsAndValue(){return this.selectedOptionsAndValueSynced()?void 0:(this.getSlottedOptions().forEach(e=>{e.selected=!1}),this.selectedOptions=this.getSlottedOptions().filter(e=>this.isOptionSelected(e)),this.selectedOptions.forEach(e=>{e&&(e.selected=!0)}),Promise.resolve())}compareOptions(t,e){return t.value&&e.value?t.value===e.value:t.getTextLabel()===e.getTextLabel()}setSelectedOptions(t){this.getSlottedOptions().forEach(i=>{i.selected=this.compareOptions(i,t)}),this.selectionChanged()}setOrderedSelectedOptions(t){let e=this.getSlottedOptions().find(i=>this.compareOptions(i,t));this.multiple?this.selectedOptions.length>0&&e&&this.selectedOptions.find(i=>this.compareOptions(i,e))?this.selectedOptions=this.selectedOptions.filter(i=>!this.compareOptions(i,e)):this.selectedOptions=[...this.selectedOptions,e]:this.selectedOptions=[e]}selectionChanged(){var e,i,a;let t=this.selectedOptions.some(n=>n?this.isOptionSelected(n):!1);this.multiple?(!t&&this.selectedOptions.length>0?this.value=[...this.value,...this.selectedOptions.map(n=>n.value||n.getTextLabel())]:this.value=this.selectedOptions.map(n=>(n==null?void 0:n.value)||(n==null?void 0:n.getTextLabel())||""),this.displayInputValue=""):(this.value=((e=this.selectedOptions[0])==null?void 0:e.value)||((i=this.selectedOptions[0])==null?void 0:i.getTextLabel())||"",this.selectedTextLabel=((a=this.selectedOptions[0])==null?void 0:a.getTextLabel())||"",this.displayInputValue=""),this.updateComplete.then(()=>{this.formControlController.updateValidity()})}createComboboxOptionsFromQuery(t){let e=[];this.filteredOptions=this.getSlottedOptions().filter(i=>this.filter(i,t)||t==="").map(i=>{var O,v,x;let a=i.cloneNode(!0);if(a.current=a.value===((O=this.lastOption)==null?void 0:O.value),a.selected=i.selected,a.checkbox=i.checkbox,a.size=i.size,!(((v=i.parentElement)==null?void 0:v.tagName.toLowerCase())==="sd-6-10-0-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-10-0-option")&&t.forEach(e=>{e.checkbox=this.multiple})}applySizeToOptions(){this.getSlottedOptions().forEach(t=>{t.size=this.size})}handleDisabledChange(){this.formControlController.setValidity(this.disabled),(this.disabled||this.visuallyDisabled)&&(this.open=!1,this.handleOpenChange())}handleValueChange(){this.syncSelectedOptionsAndValue(),this.multiple?this.createComboboxOptionsFromQuery(this.displayInput.value):this.createComboboxOptionsFromQuery("")}handleDisplayInputValueChange(){this.createComboboxOptionsFromQuery(this.displayInputValue)}async handleOpenChange(){if(this.open&&(!this.disabled||!this.visuallyDisabled)){this.emit("sd-show"),this.addOpenListeners(),await T(this),this.listbox.hidden=!1,this.popup.active=!0;let{keyframes:i,options:a}=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-10-0-option")){customElements.whenDefined("sd-6-10-0-option").then(()=>this.handleDefaultSlotChange());return}let t=this.getSlottedOptions(),e=this.getSlottedOptGroups();this.applySizeToOptions();let i=this.findOptionByValue(t,this.value);this.selectedTextLabel=(i==null?void 0:i.getTextLabel())||"",t.forEach((a,n)=>{this.multiple&&(a.checkbox=!0),a.id=a.id||`sd-6-10-0-combobox-option-${n}`}),e.forEach((a,n)=>{a.id=a.id||`sd-6-10-0-combobox-optgroup-${n}`}),await this.syncSelectedOptionsAndValue(),this.multiple?this.createComboboxOptionsFromQuery(this.displayInputValue):this.createComboboxOptionsFromQuery("")}render(){let t={left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right")},e=this.hasSlotController.test("label"),i=this.hasSlotController.test("help-text"),a=this.label?!0:!!e,n=this.helpText?!0:!!i,o=this.clearable&&!this.disabled&&!this.visuallyDisabled,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-10-0-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${d("inline-flex relative w-full",this.currentPlacement==="bottom"?"origin-top":"origin-bottom")}" placement="${this.placement}" strategy="${this.hoist?"fixed":"absolute"}" flip shift sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
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-11-0-tag>`]}addOpenListeners(){document.addEventListener("focusin",this.handleDocumentFocusIn),document.addEventListener("mousedown",this.handleDocumentMouseDown),this.getRootNode()!==document&&this.getRootNode().addEventListener("focusin",this.handleDocumentFocusIn)}removeOpenListeners(){document.removeEventListener("focusin",this.handleDocumentFocusIn),document.removeEventListener("mousedown",this.handleDocumentMouseDown),this.getRootNode()!==document&&this.getRootNode().removeEventListener("focusin",this.handleDocumentFocusIn)}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleTagKeyDown(t,e){(t.key==="Backspace"||t.key==="Enter"||t.key===" ")&&this.multiple&&(t.preventDefault(),t.stopPropagation(),this.handleTagRemove(new CustomEvent("sd-remove"),e),this.updateComplete.then(()=>this.displayInput.focus({preventScroll:!0})))}handleTagMaxOptionsKeyDown(t){(t.key==="Backspace"||t.key==="Enter"||t.key===" ")&&this.multiple&&(t.preventDefault(),t.stopPropagation(),this.handleTagRemove(new CustomEvent("sd-remove"),this.selectedOptions[this.selectedOptions.length-1]),this.updateComplete.then(()=>this.displayInput.focus({preventScroll:!0})))}handleLabelClick(){this.visuallyDisabled||this.displayInput.focus()}handleTagRemove(t,e){t.stopPropagation(),e||this.clearCombobox(),e&&!this.disabled&&(this.toggleOptionSelection(e,!1),this.setOrderedSelectedOptions(e),this.deletedTagLabel="",this.deletedTagLabel=this.localize.term("removed",e.textContent),this.updateComplete.then(()=>{this.selectionChanged(),this.emit("sd-input"),this.emit("sd-change")}))}handleComboboxMouseDown(t){if(this.visuallyDisabled){t.preventDefault(),t.stopPropagation();return}let i=t.composedPath().some(n=>n instanceof HTMLSlotElement&&n.name==="removable-indicator");if(this.disabled||i)return;(this.open?this.hide():this.show()).then(()=>{setTimeout(()=>this.displayInput.focus({preventScroll:!0}))})}handleComboboxKeyDown(t){t.key!=="Tab"&&this.handleDocumentKeyDown(t)}handleClearClick(t){t.stopPropagation(),this.clearCombobox()}handleNoResultsClick(t){t.preventDefault(),this.hide()}clearCombobox(){this.value!==""&&(this.value="",this.displayInputValue="",this.selectedTextLabel="",this.lastOption=void 0,this.selectedOptions=[],this.getSlottedOptions().forEach(t=>{t.selected=!1}),this.displayInput.focus({preventScroll:!0}),this.updateComplete.then(()=>{this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change")}))}preventLoosingFocus(t){t.stopPropagation(),t.preventDefault()}handleOptionClick(t){let i=t.target.closest("sd-6-11-0-option"),a=this.value;i&&!i.disabled&&(this.multiple?(this.toggleOptionSelection(i),this.lastOption=i,this.setOrderedSelectedOptions(i),this.updateComplete.then(()=>{this.selectionChanged()})):(this.setOrderedSelectedOptions(i),this.setSelectedOptions(i)),this.updateComplete.then(()=>{this.displayInput.focus({preventScroll:!0}),this.value!==a&&(this.emit("sd-input"),this.emit("sd-change"))}),this.multiple||(this.hide(),this.displayInput.focus({preventScroll:!0})))}selectNextOption(t){let e=this.getAllFilteredOptions();if(e.length===0)return;let i=this.getCurrentOption(),a=e.indexOf(i),n=Math.max(0,a);if(t){let o=a+1;n=o>e.length-1?0:o}else{let o=a-1;n=o<0?e.length-1:o}this.setCurrentOption(e[n],new KeyboardEvent("keydown")),B(this.getCurrentOption(),this.listbox,"vertical","auto")}getAllFilteredOptions(){return[...this.filteredWrapper.querySelectorAll("sd-6-11-0-option")]}getCurrentOption(){return this.getAllFilteredOptions().find(t=>t.current)}setCurrentOption(t,e){let i=this.getAllFilteredOptions();this.displayInput.removeAttribute("aria-activedescendant"),i.forEach(a=>{a.current=!1,a.setAttribute("aria-selected","false"),a.isKeyboardFocus=!1}),t&&(t.current=!0,t.setAttribute("aria-selected","true"),this.displayInput.setAttribute("aria-activedescendant",t.id)),t&&(e==null?void 0:e.type)==="keydown"&&(t.isKeyboardFocus=!0)}toggleOptionSelection(t,e){let a=this.getSlottedOptions().find(n=>n.value&&t.value?n.value===t.value:n.getTextLabel()===t.getTextLabel());a&&(a.selected=e!=null?e:!a.selected)}findOptionByValue(t,e){if(e)return Array.isArray(e)?t.find(i=>e.includes(i.value)):t.find(i=>i.value===e)}selectedOptionsAndValueSynced(){var t;return!this.value&&this.selectedOptions.length===0?!0:Array.isArray(this.value)?this.value.length===this.selectedOptions.length:this.value===((t=this.selectedOptions[0])==null?void 0:t.value)}isOptionSelected(t){return t.value?this.value.includes(t.value):this.value.includes(t.getTextLabel())}syncSelectedOptionsAndValue(){return this.selectedOptionsAndValueSynced()?void 0:(this.getSlottedOptions().forEach(e=>{e.selected=!1}),this.selectedOptions=this.getSlottedOptions().filter(e=>this.isOptionSelected(e)),this.selectedOptions.forEach(e=>{e&&(e.selected=!0)}),Promise.resolve())}compareOptions(t,e){return t.value&&e.value?t.value===e.value:t.getTextLabel()===e.getTextLabel()}setSelectedOptions(t){this.getSlottedOptions().forEach(i=>{i.selected=this.compareOptions(i,t)}),this.selectionChanged()}setOrderedSelectedOptions(t){let e=this.getSlottedOptions().find(i=>this.compareOptions(i,t));this.multiple?this.selectedOptions.length>0&&e&&this.selectedOptions.find(i=>this.compareOptions(i,e))?this.selectedOptions=this.selectedOptions.filter(i=>!this.compareOptions(i,e)):this.selectedOptions=[...this.selectedOptions,e]:this.selectedOptions=[e]}selectionChanged(){var e,i,a;let t=this.selectedOptions.some(n=>n?this.isOptionSelected(n):!1);this.multiple?(!t&&this.selectedOptions.length>0?this.value=[...this.value,...this.selectedOptions.map(n=>n.value||n.getTextLabel())]:this.value=this.selectedOptions.map(n=>(n==null?void 0:n.value)||(n==null?void 0:n.getTextLabel())||""),this.displayInputValue=""):(this.value=((e=this.selectedOptions[0])==null?void 0:e.value)||((i=this.selectedOptions[0])==null?void 0:i.getTextLabel())||"",this.selectedTextLabel=((a=this.selectedOptions[0])==null?void 0:a.getTextLabel())||"",this.displayInputValue=""),this.updateComplete.then(()=>{this.formControlController.updateValidity()})}createComboboxOptionsFromQuery(t){let e=[];this.filteredOptions=this.getSlottedOptions().filter(i=>this.filter(i,t)||t==="").map(i=>{var O,v,x;let a=i.cloneNode(!0);if(a.current=a.value===((O=this.lastOption)==null?void 0:O.value),a.selected=i.selected,a.checkbox=i.checkbox,a.size=i.size,!(((v=i.parentElement)==null?void 0:v.tagName.toLowerCase())==="sd-6-11-0-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-11-0-option")&&t.forEach(e=>{e.checkbox=this.multiple})}applySizeToOptions(){this.getSlottedOptions().forEach(t=>{t.size=this.size})}handleDisabledChange(){this.formControlController.setValidity(this.disabled),(this.disabled||this.visuallyDisabled)&&(this.open=!1,this.handleOpenChange())}handleValueChange(){this.syncSelectedOptionsAndValue(),this.multiple?this.createComboboxOptionsFromQuery(this.displayInput.value):this.createComboboxOptionsFromQuery("")}handleDisplayInputValueChange(){this.createComboboxOptionsFromQuery(this.displayInputValue)}async handleOpenChange(){if(this.open&&(!this.disabled||!this.visuallyDisabled)){this.emit("sd-show"),this.addOpenListeners(),await T(this),this.listbox.hidden=!1,this.popup.active=!0;let{keyframes:i,options:a}=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-11-0-option")){customElements.whenDefined("sd-6-11-0-option").then(()=>this.handleDefaultSlotChange());return}let t=this.getSlottedOptions(),e=this.getSlottedOptGroups();this.applySizeToOptions();let i=this.findOptionByValue(t,this.value);this.selectedTextLabel=(i==null?void 0:i.getTextLabel())||"",t.forEach((a,n)=>{this.multiple&&(a.checkbox=!0),a.id=a.id||`sd-6-11-0-combobox-option-${n}`}),e.forEach((a,n)=>{a.id=a.id||`sd-6-11-0-combobox-optgroup-${n}`}),await this.syncSelectedOptionsAndValue(),this.multiple?this.createComboboxOptionsFromQuery(this.displayInputValue):this.createComboboxOptionsFromQuery("")}render(){let t={left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right")},e=this.hasSlotController.test("label"),i=this.hasSlotController.test("help-text"),a=this.label?!0:!!e,n=this.helpText?!0:!!i,o=this.clearable&&!this.disabled&&!this.visuallyDisabled,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-11-0-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${d("inline-flex relative w-full",this.currentPlacement==="bottom"?"origin-top":"origin-bottom")}" placement="${this.placement}" strategy="${this.hoist?"fixed":"absolute"}" flip shift sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
10
10
  popup:popup__content,
11
- "><div part="combobox" class="${d("relative w-full px-4 flex flex-row items-center rounded-default transition-colors hover:duration-fast ease-in-out",this.visuallyDisabled||this.disabled?"hover:bg-transparent":"hover:bg-neutral-200",this.open&&"shadow transition-shadow duration-medium ease-in-out",["invalid","activeInvalid"].includes(O)&&"form-control--invalid-color-background",{sm:"py-1 min-h-[32px]",md:"py-1 min-h-[40px]",lg:"py-2 min-h-[48px]"}[this.size],N)}" slot="anchor" @keydown="${this.handleComboboxKeyDown}" @mousedown="${this.handleComboboxMouseDown}">${t.left?p`<slot part="left" name="left" class="${d("inline-flex",z,x,y)}"></slot>`:""} ${this.multiple&&this.useTags&&this.tags.length>0?p`<div part="tags" class="${d("flex items-center gap-1",z,this.floatingLabel&&"mt-4")}">${this.tags}</div>`:null} <input id="display-input" name="${this.name}" form="${this.form}" part="display-input" class="${d("appearance-none outline-none bg-transparent flex-auto min-w-0",v,this.selectedTextLabel&&!this.multiple?"placeholder:form-control-color-text":"placeholder:text-neutral-700",this.size==="sm"?h?"h-4":"h-6":h?"h-6":"h-8",h&&"leading-none mt-4")}" type="text" placeholder="${!this.floatingLabel||h?this.selectedTextLabel&&!this.multiple?this.selectedTextLabel:this.placeholder||this.localize.term("comboboxDefaultPlaceholder"):""}" .disabled="${this.disabled}" .value="${this.displayInputValue}" autocomplete="off" spellcheck="false" autocapitalize="off" aria-controls="listbox" aria-expanded="${this.open}" aria-haspopup="listbox" aria-labelledby="label" aria-disabled="${this.disabled||this.visuallyDisabled}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" role="combobox" tabindex="0" @focus="${this.handleFocus}" @blur="${this.handleBlur}" aria-autocomplete="list" aria-owns="listbox" @input="${this.handleInput}" @change="${this.handleChange}"><div aria-live="polite" id="control-value" class="absolute top-0 left-0 opacity-0 -z-10">${this.selectedOptions.map(L=>L==null?void 0:L.getTextLabel()).join(", ")}</div><input class="${d("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10",v)}" type="text" ?disabled="${this.disabled}" ?required="${this.required}" .value="${Array.isArray(this.value)?this.value.join(", "):this.value}" tabindex="-1" aria-controls="control-value" aria-hidden="true" @focus="${()=>this.focus()}" @invalid="${this.handleInvalid}"> ${o?p`<button part="clear-button" class="${d("flex justify-center",b,this.value.length>0?"visible":"invisible")}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.preventLoosingFocus}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-6-10-0-icon class="${d("text-neutral-700",y)}" name="closing-round" library="_internal"></sd-6-10-0-icon></slot></button>`:""} ${this.showInvalidStyle?p`<sd-6-10-0-icon part="invalid-icon" class="${d(b,y,"text-error")}" library="_internal" name="risk"></sd-6-10-0-icon>`:""} ${this.styleOnValid&&this.showValidStyle?p`<sd-6-10-0-icon part="valid-icon" class="${d("flex-shrink-0 text-success",b,y)}" library="_internal" name="confirm-circle"></sd-6-10-0-icon>`:""}<slot name="right" part="right" class="${d("inline-flex ml-2 leading-[0]",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary",y)}">${this.type!=="search"?p`<sd-6-10-0-icon class="${d("transition-transform duration-medium ease-in-out",this.open?"rotate-180":"rotate-0")}" name="chevron-down" part="chevron" library="_internal" color="currentColor" label="${this.localize.term("open")}"></sd-6-10-0-icon>`:""}</slot>${this.type==="search"?p`<button class="${d("flex items-center sd-interactive",b)}" type="button"><sd-6-10-0-icon class="${d(x,y)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-6-10-0-icon></button>`:p`<button class="sd-interactive combobox-button absolute top-2" @keydown="${this.handleComboboxMouseDown}" type="button"><span class="sr-only">${this.localize.term("open")}</span></button>`}</div><div id="listbox" role="${H(this.multiple?void 0:"listbox")}" aria-expanded="${this.open}" aria-multiselectable="${this.multiple}" aria-labelledby="label" part="listbox" class="${d("bg-white px-2 py-3 relative border-primary overflow-y-auto",this.open&&"shadow transition-shadow duration-medium ease-in-out",this.currentPlacement==="bottom"?"border-r-2 border-b-2 border-l-2 rounded-br-default rounded-bl-default":"border-r-2 border-t-2 border-l-2 rounded-tr-default rounded-tl-default")}" tabindex="-1" @mousedown="${this.preventLoosingFocus}" @mouseup="${this.handleOptionClick}"><div part="filtered-listbox">${this.filteredOptions.length===0?p`<span id="noResults" class="px-4 flex items-center w-full transition-all text-left text-base relative text-black py-3" aria-hidden="true" @click="${this.handleNoResultsClick}">${this.localize.term("noResults")}</span>`:this.options}</div><slot id="defaultOptionsSlot" class="hidden" @slotchange="${this.handleDefaultSlotChange}"></slot></div></sd-6-10-0-popup></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${d("text-sm text-neutral-700 mt-1",n?"block":"hidden")}" aria-hidden="${!n}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage(this.size)}`}};s.styles=[...E.styles,V`/*! tailwindcss v4.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-10-0-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-6-10-0-tag::part(base){border-radius:var(--sd-radius);padding-inline:var(--sd-spacing-1)}sd-6-10-0-tag::part(content){display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:var(--tag-max-width,15ch)}sd-6-10-0-tag[size=lg]::part(base){padding-inline:var(--sd-spacing-2)}sd-6-10-0-tag[disabled=false]::part(base):hover{background-color:rgba(var(--sd-color-background-primary-100))}[part=filtered-listbox] sd-6-10-0-optgroup:first-of-type{--display-divider:none}mark{background-color:transparent;--tw-font-weight:var(--sd-font-weight-bold);font-weight:var(--sd-font-weight-bold);color:inherit}@property --tw-font-weight{syntax:"*";inherits:false}`],l([m("sd-6-10-0-popup")],s.prototype,"popup",2),l([m('[part="combobox"]')],s.prototype,"combobox",2),l([m('[part="display-input"]')],s.prototype,"displayInput",2),l([m(".value-input")],s.prototype,"valueInput",2),l([m('[part="listbox"]')],s.prototype,"listbox",2),l([m('[part="tags"]')],s.prototype,"tagWrapper",2),l([m('[part="filtered-listbox"]')],s.prototype,"filteredWrapper",2),l([m("slot:not([name])")],s.prototype,"defaultSlot",2),l([m("#invalid-message")],s.prototype,"invalidMessage",2),l([u()],s.prototype,"hasFocus",2),l([u()],s.prototype,"displayInputValue",2),l([u()],s.prototype,"selectedTextLabel",2),l([u()],s.prototype,"selectedOptions",2),l([u()],s.prototype,"filteredOptions",2),l([u()],s.prototype,"allOptions",2),l([u()],s.prototype,"lastOption",2),l([u()],s.prototype,"showValidStyle",2),l([u()],s.prototype,"showInvalidStyle",2),l([u()],s.prototype,"deletedTagLabel",2),l([r({reflect:!0})],s.prototype,"name",2),l([r({converter:{fromAttribute:t=>t.split(" "),toAttribute:t=>t.join(" ")}})],s.prototype,"value",2),l([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-10-0-combobox")],s);C("combobox.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});C("combobox.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{s as a};
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-11-0-icon class="${d("text-neutral-700",y)}" name="closing-round" library="_internal"></sd-6-11-0-icon></slot></button>`:""} ${this.showInvalidStyle?p`<sd-6-11-0-icon part="invalid-icon" class="${d(b,y,"text-error")}" library="_internal" name="risk"></sd-6-11-0-icon>`:""} ${this.styleOnValid&&this.showValidStyle?p`<sd-6-11-0-icon part="valid-icon" class="${d("flex-shrink-0 text-success",b,y)}" library="_internal" name="confirm-circle"></sd-6-11-0-icon>`:""}<slot name="right" part="right" class="${d("inline-flex ml-2 leading-[0]",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary",y)}">${this.type!=="search"?p`<sd-6-11-0-icon class="${d("transition-transform duration-medium ease-in-out",this.open?"rotate-180":"rotate-0")}" name="chevron-down" part="chevron" library="_internal" color="currentColor" label="${this.localize.term("open")}"></sd-6-11-0-icon>`:""}</slot>${this.type==="search"?p`<button class="${d("flex items-center sd-interactive",b)}" type="button"><sd-6-11-0-icon class="${d(x,y)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-6-11-0-icon></button>`:p`<button class="sd-interactive combobox-button absolute top-2" @keydown="${this.handleComboboxMouseDown}" type="button"><span class="sr-only">${this.localize.term("open")}</span></button>`}</div><div id="listbox" role="${H(this.multiple?void 0:"listbox")}" aria-expanded="${this.open}" aria-multiselectable="${this.multiple}" aria-labelledby="label" part="listbox" class="${d("bg-white px-2 py-3 relative border-primary overflow-y-auto",this.open&&"shadow transition-shadow duration-medium ease-in-out",this.currentPlacement==="bottom"?"border-r-2 border-b-2 border-l-2 rounded-br-default rounded-bl-default":"border-r-2 border-t-2 border-l-2 rounded-tr-default rounded-tl-default")}" tabindex="-1" @mousedown="${this.preventLoosingFocus}" @mouseup="${this.handleOptionClick}"><div part="filtered-listbox">${this.filteredOptions.length===0?p`<span id="noResults" class="px-4 flex items-center w-full transition-all text-left text-base relative text-black py-3" aria-hidden="true" @click="${this.handleNoResultsClick}">${this.localize.term("noResults")}</span>`:this.options}</div><slot id="defaultOptionsSlot" class="hidden" @slotchange="${this.handleDefaultSlotChange}"></slot></div></sd-6-11-0-popup></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${d("text-sm text-neutral-700 mt-1",n?"block":"hidden")}" aria-hidden="${!n}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage(this.size)}`}};s.styles=[...E.styles,V`/*! tailwindcss v4.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-11-0-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-6-11-0-tag::part(base){border-radius:var(--sd-radius);padding-inline:var(--sd-spacing-1)}sd-6-11-0-tag::part(content){display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:var(--tag-max-width,15ch)}sd-6-11-0-tag[size=lg]::part(base){padding-inline:var(--sd-spacing-2)}sd-6-11-0-tag[disabled=false]::part(base):hover{background-color:rgba(var(--sd-color-background-primary-100))}[part=filtered-listbox] sd-6-11-0-optgroup:first-of-type{--display-divider:none}mark{background-color:transparent;--tw-font-weight:var(--sd-font-weight-bold);font-weight:var(--sd-font-weight-bold);color:inherit}@property --tw-font-weight{syntax:"*";inherits:false}`],l([m("sd-6-11-0-popup")],s.prototype,"popup",2),l([m('[part="combobox"]')],s.prototype,"combobox",2),l([m('[part="display-input"]')],s.prototype,"displayInput",2),l([m(".value-input")],s.prototype,"valueInput",2),l([m('[part="listbox"]')],s.prototype,"listbox",2),l([m('[part="tags"]')],s.prototype,"tagWrapper",2),l([m('[part="filtered-listbox"]')],s.prototype,"filteredWrapper",2),l([m("slot:not([name])")],s.prototype,"defaultSlot",2),l([m("#invalid-message")],s.prototype,"invalidMessage",2),l([u()],s.prototype,"hasFocus",2),l([u()],s.prototype,"displayInputValue",2),l([u()],s.prototype,"selectedTextLabel",2),l([u()],s.prototype,"selectedOptions",2),l([u()],s.prototype,"filteredOptions",2),l([u()],s.prototype,"allOptions",2),l([u()],s.prototype,"lastOption",2),l([u()],s.prototype,"showValidStyle",2),l([u()],s.prototype,"showInvalidStyle",2),l([u()],s.prototype,"deletedTagLabel",2),l([r({reflect:!0})],s.prototype,"name",2),l([r({converter:{fromAttribute:t=>t.split(" "),toAttribute:t=>t.join(" ")}})],s.prototype,"value",2),l([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-11-0-combobox")],s);C("combobox.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});C("combobox.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{s as a};
@@ -1,2 +1,2 @@
1
- import{a as p}from"./chunk.YPTZDABK.js";import{a as d,b as u}from"./chunk.CGQ2BPPZ.js";import{a as l}from"./chunk.ERQOYXLO.js";import{a as o}from"./chunk.NYKJXI3Q.js";import{a as h,b as a,d as r,h as n}from"./chunk.IHPCVJQP.js";import{b as c,e as i}from"./chunk.UOAG5PNU.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends n{constructor(){super(...arguments);this.type="normal";this.checked=!1;this.disabled=!1;this.value="";this.chevron=!1;this.hasSlotController=new d(this,"submenu");this.submenuController=new p(this,this.hasSlotController);this.handleHostClick=s=>{this.disabled&&(s.preventDefault(),s.stopImmediatePropagation())};this.handleMouseOver=s=>{this.focus(),s.stopPropagation()}}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleHostClick),this.addEventListener("mouseover",this.handleMouseOver)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleHostClick),this.removeEventListener("mouseover",this.handleMouseOver)}handleDefaultSlotChange(){let s=this.getTextLabel();if(typeof this.cachedTextLabel=="undefined"){this.cachedTextLabel=s;return}s!==this.cachedTextLabel&&(this.cachedTextLabel=s,this.emit("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}handleCheckedChange(){if(this.checked&&this.type!=="checkbox"){this.checked=!1,console.error('The checked attribute can only be used on menu items with type="checkbox"',this);return}this.type==="checkbox"?this.setAttribute("aria-checked",this.checked?"true":"false"):this.removeAttribute("aria-checked")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false"),this.setAttribute("tabindex",this.disabled?"-1":"0")}handleTypeChange(){this.type==="checkbox"?(this.setAttribute("role","menuitemcheckbox"),this.setAttribute("aria-checked",this.checked?"true":"false")):(this.setAttribute("role","menuitem"),this.removeAttribute("aria-checked"))}getTextLabel(){return u(this.defaultSlot)}isSubmenu(){return this.hasSlotController.test("submenu")}render(){let s=this.submenuController.isExpanded(),b={label:this.hasSlotController.test("[default]"),iconIndent:this.hasSlotController.test("icon-indent")};return i`<div id="anchor" part="base" class="${l("relative flex items-stretch whitespace-nowrap py-3 px-4 no-wrap !navigable-border-radius",this.disabled?"outline-none cursor-not-allowed sd-6-10-0-menu--disabled-color-text hover:bg-transparent":"cursor-pointer sd-6-10-0-menu-color-text hover:bg-neutral-200",this.isSubmenu()&&s&&"submenu-expanded")}" .disabled="${this.disabled}" ?aria-haspopup="${this.isSubmenu()}" ?aria-expanded="${!!s}">${this.type==="checkbox"?i`<span part="checked-icon" class="${l("flex items-center justify-center grow-0 shrink-0 basis-auto",this.checked?"visible":"invisible")}"><sd-6-10-0-icon name="status-check" library="sd-status-assets" aria-hidden="true"></sd-6-10-0-icon></span>`:""} ${b.iconIndent?i`<slot name="icon-indent" part="icon-indent" class="flex items-center grow-0 shrink-0 basis-auto mr-2"></slot>`:""}<slot part="label" class="inline-flex grow shrink basis-auto text-ellipsis overflow-hidden" @slotchange="${this.handleDefaultSlotChange}"></slot>${this.chevron||this.isSubmenu()?i`<span part="submenu-icon" class="flex items-center justify-center grow-0 shrink-0 basis-auto ml-3"><sd-6-10-0-icon name="chevron-right" library="_internal" aria-hidden="true" class="h-6 w-6"></sd-6-10-0-icon></span>`:""} ${this.submenuController.renderSubmenu()}</div>`}};e.styles=[...n.styles,c`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
- :host{--submenu-offset:-6px;display:block}:host(:focus-visible){--tw-outline-style:none;outline-style:none}::slotted(sd-6-10-0-icon){height:var(--sd-spacing-6);width:var(--sd-spacing-6)}[part=checked-icon]{margin-right:var(--sd-spacing-3)}.submenu-expanded::after{position:fixed;top:calc(var(--sd-spacing-1) * 0);right:calc(var(--sd-spacing-1) * 0);bottom:calc(var(--sd-spacing-1) * 0);left:calc(var(--sd-spacing-1) * 0);z-index:calc(var(z-dropdown) - 1);--tw-content:'';content:var(--tw-content);clip-path:polygon(var(--safe-triangle-cursor-x,0) var(--safe-triangle-cursor-y,0),var(--safe-triangle-submenu-start-x,0) var(--safe-triangle-submenu-start-y,0),var(--safe-triangle-submenu-end-x,0) var(--safe-triangle-submenu-end-y,0))}:host(:hover:not([aria-disabled=true],:focus-visible)) [part=base]{background-color:rgba(var(--sd-color-background-neutral-200));--tw-outline-style:none;outline-style:none}:host(:focus-visible:not([aria-disabled=true])) [part=base]{outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:rgba(var(--outline-color-primary));outline-offset:-2px}:host(.menu-item-focus) [part=base]{outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:rgba(var(--outline-color-primary));outline-offset:-2px}:host(:hover) [part=base]{--tw-outline-style:none;outline-style:none}:host [part=checked-icon],:host [part=icon-indent],:host [part=submenu-icon]{color:rgba(var(--sd-menu-color-icon))}:host([aria-disabled=true]) [part=icon-indent]{color:rgba(var(--sd-menu--disabled-color-icon))}sd-6-10-0-popup::part(popup){z-index:var(--sd-z-index-dropdown,900);background-color:rgba(var(--sd-color-background-white));margin-left:var(--submenu-offset)}::slotted(sd-6-10-0-menu){max-width:var(--auto-size-available-width)!important;max-height:var(--auto-size-available-height)!important}@property --tw-content{syntax:"*";inherits:false;initial-value:""}`],t([r("slot:not([name])")],e.prototype,"defaultSlot",2),t([r('part="base"')],e.prototype,"menuItem",2),t([a()],e.prototype,"type",2),t([a({type:Boolean,reflect:!0})],e.prototype,"checked",2),t([a({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([a()],e.prototype,"value",2),t([a({type:Boolean,reflect:!0})],e.prototype,"chevron",2),t([o("checked")],e.prototype,"handleCheckedChange",1),t([o("disabled")],e.prototype,"handleDisabledChange",1),t([o("type")],e.prototype,"handleTypeChange",1),e=t([h("sd-6-10-0-menu-item")],e);export{e as a};
1
+ import{a as p}from"./chunk.YPTZDABK.js";import{a as d,b as u}from"./chunk.CGQ2BPPZ.js";import{a as l}from"./chunk.ERQOYXLO.js";import{a as o}from"./chunk.NYKJXI3Q.js";import{a as h,b as a,d as r,h as n}from"./chunk.JMZGGLJF.js";import{b as c,e as i}from"./chunk.UOAG5PNU.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends n{constructor(){super(...arguments);this.type="normal";this.checked=!1;this.disabled=!1;this.value="";this.chevron=!1;this.hasSlotController=new d(this,"submenu");this.submenuController=new p(this,this.hasSlotController);this.handleHostClick=s=>{this.disabled&&(s.preventDefault(),s.stopImmediatePropagation())};this.handleMouseOver=s=>{this.focus(),s.stopPropagation()}}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleHostClick),this.addEventListener("mouseover",this.handleMouseOver)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleHostClick),this.removeEventListener("mouseover",this.handleMouseOver)}handleDefaultSlotChange(){let s=this.getTextLabel();if(typeof this.cachedTextLabel=="undefined"){this.cachedTextLabel=s;return}s!==this.cachedTextLabel&&(this.cachedTextLabel=s,this.emit("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}handleCheckedChange(){if(this.checked&&this.type!=="checkbox"){this.checked=!1,console.error('The checked attribute can only be used on menu items with type="checkbox"',this);return}this.type==="checkbox"?this.setAttribute("aria-checked",this.checked?"true":"false"):this.removeAttribute("aria-checked")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false"),this.setAttribute("tabindex",this.disabled?"-1":"0")}handleTypeChange(){this.type==="checkbox"?(this.setAttribute("role","menuitemcheckbox"),this.setAttribute("aria-checked",this.checked?"true":"false")):(this.setAttribute("role","menuitem"),this.removeAttribute("aria-checked"))}getTextLabel(){return u(this.defaultSlot)}isSubmenu(){return this.hasSlotController.test("submenu")}render(){let s=this.submenuController.isExpanded(),b={label:this.hasSlotController.test("[default]"),iconIndent:this.hasSlotController.test("icon-indent")};return i`<div id="anchor" part="base" class="${l("relative flex items-stretch whitespace-nowrap py-3 px-4 no-wrap !navigable-border-radius",this.disabled?"outline-none cursor-not-allowed sd-6-11-0-menu--disabled-color-text hover:bg-transparent":"cursor-pointer sd-6-11-0-menu-color-text hover:bg-neutral-200",this.isSubmenu()&&s&&"submenu-expanded")}" .disabled="${this.disabled}" ?aria-haspopup="${this.isSubmenu()}" ?aria-expanded="${!!s}">${this.type==="checkbox"?i`<span part="checked-icon" class="${l("flex items-center justify-center grow-0 shrink-0 basis-auto",this.checked?"visible":"invisible")}"><sd-6-11-0-icon name="status-check" library="sd-status-assets" aria-hidden="true"></sd-6-11-0-icon></span>`:""} ${b.iconIndent?i`<slot name="icon-indent" part="icon-indent" class="flex items-center grow-0 shrink-0 basis-auto mr-2"></slot>`:""}<slot part="label" class="inline-flex grow shrink basis-auto text-ellipsis overflow-hidden" @slotchange="${this.handleDefaultSlotChange}"></slot>${this.chevron||this.isSubmenu()?i`<span part="submenu-icon" class="flex items-center justify-center grow-0 shrink-0 basis-auto ml-3"><sd-6-11-0-icon name="chevron-right" library="_internal" aria-hidden="true" class="h-6 w-6"></sd-6-11-0-icon></span>`:""} ${this.submenuController.renderSubmenu()}</div>`}};e.styles=[...n.styles,c`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
+ :host{--submenu-offset:-6px;display:block}:host(:focus-visible){--tw-outline-style:none;outline-style:none}::slotted(sd-6-11-0-icon){height:var(--sd-spacing-6);width:var(--sd-spacing-6)}[part=checked-icon]{margin-right:var(--sd-spacing-3)}.submenu-expanded::after{position:fixed;top:calc(var(--sd-spacing-1) * 0);right:calc(var(--sd-spacing-1) * 0);bottom:calc(var(--sd-spacing-1) * 0);left:calc(var(--sd-spacing-1) * 0);z-index:calc(var(z-dropdown) - 1);--tw-content:'';content:var(--tw-content);clip-path:polygon(var(--safe-triangle-cursor-x,0) var(--safe-triangle-cursor-y,0),var(--safe-triangle-submenu-start-x,0) var(--safe-triangle-submenu-start-y,0),var(--safe-triangle-submenu-end-x,0) var(--safe-triangle-submenu-end-y,0))}:host(:hover:not([aria-disabled=true],:focus-visible)) [part=base]{background-color:rgba(var(--sd-color-background-neutral-200));--tw-outline-style:none;outline-style:none}:host(:focus-visible:not([aria-disabled=true])) [part=base]{outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:rgba(var(--outline-color-primary));outline-offset:-2px}:host(.menu-item-focus) [part=base]{outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:rgba(var(--outline-color-primary));outline-offset:-2px}:host(:hover) [part=base]{--tw-outline-style:none;outline-style:none}:host [part=checked-icon],:host [part=icon-indent],:host [part=submenu-icon]{color:rgba(var(--sd-menu-color-icon))}:host([aria-disabled=true]) [part=icon-indent]{color:rgba(var(--sd-menu--disabled-color-icon))}sd-6-11-0-popup::part(popup){z-index:var(--sd-z-index-dropdown,900);background-color:rgba(var(--sd-color-background-white));margin-left:var(--submenu-offset)}::slotted(sd-6-11-0-menu){max-width:var(--auto-size-available-width)!important;max-height:var(--auto-size-available-height)!important}@property --tw-content{syntax:"*";inherits:false;initial-value:""}`],t([r("slot:not([name])")],e.prototype,"defaultSlot",2),t([r('part="base"')],e.prototype,"menuItem",2),t([a()],e.prototype,"type",2),t([a({type:Boolean,reflect:!0})],e.prototype,"checked",2),t([a({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([a()],e.prototype,"value",2),t([a({type:Boolean,reflect:!0})],e.prototype,"chevron",2),t([o("checked")],e.prototype,"handleCheckedChange",1),t([o("disabled")],e.prototype,"handleDisabledChange",1),t([o("type")],e.prototype,"handleTypeChange",1),e=t([h("sd-6-11-0-menu-item")],e);export{e as a};
@@ -1,2 +1,2 @@
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-10-0-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-10-0-icon name="status-check" library="_internal" class="${e(this.size==="sm"&&"text-sm")}"></sd-6-10-0-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-10-0-icon,slot[name=circle-content]::slotted(sd-6-10-0-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-10-0-step")],t);export{t as a};
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.JMZGGLJF.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-11-0-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-11-0-icon name="status-check" library="_internal" class="${e(this.size==="sm"&&"text-sm")}"></sd-6-11-0-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-11-0-icon,slot[name=circle-content]::slotted(sd-6-11-0-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-11-0-step")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as o}from"./chunk.SLXPE3UU.js";import{a as y}from"./chunk.CGQ2BPPZ.js";import{a as u,b as s}from"./chunk.SV6DES3E.js";import{a as b}from"./chunk.IQPMMUES.js";import{a as l}from"./chunk.ERQOYXLO.js";import{a as m,b as r,d as p,h as f}from"./chunk.IHPCVJQP.js";import{b as v}from"./chunk.UOAG5PNU.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends f{constructor(){super(...arguments);this.hasSlotController=new y(this,"[default]","description","children");this.localize=new b(this);this.vertical=!1;this.size="md";this.current=!1;this.disabled=!1;this.chevron=!1;this.relaxed=!1;this.divider=!1;this.indented=!1;this.open=!1;this.separated=!1}get isButton(){return!this.href&&!this.hasSlotController.test("children")}get isLink(){return!!this.href}get isAccordion(){return!this.separated&&!this.href&&this.hasSlotController.test("children")}get isIconOnly(){if(!this.defaultSlot)return!1;let e=this.defaultSlot.assignedNodes({flatten:!0});return e.length>0&&e.every(a=>{var d;return a.nodeType===Node.TEXT_NODE?!((d=a.textContent)!=null&&d.trim()):a.nodeType===Node.ELEMENT_NODE?a.tagName.toLowerCase()==="sd-6-10-0-icon":!1})}handleClickButton(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}handleClickSummary(e){e.preventDefault(),e.stopPropagation(),this.disabled||(this.open?this.hideDetails():this.showDetails())}hideDetails(){this.open=!1,this.emit("sd-hide",{cancelable:!0})}showDetails(){this.open=!0,this.emit("sd-show",{cancelable:!0})}get calculatePaddingX(){return this.relaxed&&this.indented?"pl-8 pr-4":this.relaxed?"px-4":this.indented?"pl-4":""}get tag(){return this.separated&&!this.isLink?u`div`:this.isAccordion&&!this.isLink?u`summary`:this.isLink?u`a`:u`button`}focus(){var e;this.disabled||(e=this.button)==null||e.focus()}blur(){var e;(e=this.button)==null||e.blur()}render(){let e=this.tag,a=this.isLink,d=this.isButton,n=this.isAccordion,g=this.isIconOnly,c={label:this.hasSlotController.test("[default]"),main:this.hasSlotController.test("main"),description:this.hasSlotController.test("description"),children:this.hasSlotController.test("children")},x=this.vertical?"py-3":"py-2",h=s`<${e} part="base" class="${l("flex items-center cursor-pointer relative focus-visible:focus-outline group hover:bg-neutral-200 transition-colors duration-fast ease-in-out min-h-[48px] navigable-border-radius",{md:"navigable-font-size",lg:"text-lg",sm:"text-[14px]"}[this.size],this.disabled?"text-neutral-500 pointer-events-none":"sd-6-10-0-navigation-item-color-text",this.current&&"font-bold sd-6-10-0-navigation-item--current-color-text",!n&&"w-full",this.divider&&this.vertical&&"mt-0.25",!this.vertical&&"inline-flex items-center",!this.separated&&"hover:bg-neutral-200 group transition-colors duration-fast ease-in-out min-h-[48px]",g?"justify-center aspect-square p-3":"px-4")}" aria-current="${o(this.current?"page":void 0)}" aria-disabled="${this.disabled}" aria-labelledby="content" aria-describedby="description" ?disabled="${o(d?this.disabled:void 0)}" href="${o(a?this.href:void 0)}" target="${o(a?this.target:void 0)}" download="${o(a?this.download:void 0)}" rel="${o(a&&this.target?"noreferrer noopener":void 0)}" tabindex="${this.disabled?"-1":"0"}" @click="${this.separated?void 0:n?this.handleClickSummary:d?this.handleClickButton:void 0}"><div part="current-indicator" class="${l("absolute bg-accent left-0 pointer-events-none navigable__current-indicator-border-radius",this.vertical?"navigable__current-indicator-width h-[calc(100%-16px)] top-2 group-hover:h-full group-hover:top-0":"navigable__current-indicator-height w-[calc(100%-16px)] bottom-0 left-2 group-hover:w-full group-hover:left-0 transition-all",this.disabled&&"bg-neutral-500")}"></div><div class="inline-flex flex-col justify-center gap-1 w-full h-full"><span part="content-area" class="${l("relative inline-flex justify-between items-center",n?"grow":"w-full",c.description&&"pt-3",!c.description&&!this.separated&&x,this.calculatePaddingX)}">${this.divider&&this.vertical?s`<sd-6-10-0-divider part="divider" class="${l("w-full transition-all absolute -top-0.25 left-0",this.calculatePaddingX)}"></sd-6-10-0-divider>`:""} <span id="content" part="content-container" class="inline-flex items-center flex-auto"><slot part="content" class="inline-flex text-start"></slot></span>${this.chevron||c.children&&this.vertical&&!this.separated?s`<sd-6-10-0-icon name="chevron-down" part="chevron" library="_internal" color="currentColor" class="${l("h-6 w-6 ml-2 transition-all",n?this.open?"rotate-180":"rotate-0":"rotate-[270deg]")}"></sd-6-10-0-icon>`:""} </span>${c.description&&this.vertical?s`<slot id="description" name="description" part="description" class="${l("inline-block text-sm text-left font-normal text-black pb-3",n||this.separated?"grow":"w-full",this.calculatePaddingX)}"></slot>`:""}</div></${e}>`;return this.separated?s`<div part="details" id="navigation-item-details" class="relative flex flex-col"><div class="flex items-start">${h} ${c.children&&this.vertical?s`<button type="button" title="${this.open?this.localize.term("collapseNavigationItem"):this.localize.term("expandNavigationItem")}" class="sd-interactive sd-interactive--reset -mt-1" @click="${this.handleClickSummary}"><sd-6-10-0-icon name="chevron-down" part="chevron" library="_internal" color="currentColor" class="${l("m-4 h-6 w-6 transition-all",n||this.separated?this.open?"rotate-180":"rotate-0":"rotate-[270deg]")}"></sd-6-10-0-icon></button>`:""}</div>${this.open?s`<slot name="children"></slot>`:""}</div>`:n?s`<details aria-expanded="${this.open}" part="details" id="navigation-item-details" ?open="${this.open}" class="relative">${h}<slot name="children"></slot></details>`:s`${h}`}};t.styles=[...f.styles,v`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
- :host{position:relative;box-sizing:border-box;display:inline-block}:host([vertical]){display:block}details summary::-webkit-details-marker{display:none}[part=current-indicator]{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:var(--sd-opacity-0);--tw-duration:var(--sd-duration-fast, 150ms);transition-duration:var(--sd-duration-fast,150ms);transition:width var(--sd-duration-fast) ease-in-out,height var(--sd-duration-fast) ease-in-out,left var(--sd-duration-fast) ease-in-out,top var(--sd-duration-fast) ease-in-out,opacity var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out var(--sd-duration-fast)}:host([current]) [part=current-indicator]{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:var(--sd-opacity-100);transition:width var(--sd-duration-fast) ease-in-out,height var(--sd-duration-fast) ease-in-out,left var(--sd-duration-fast) ease-in-out,top var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-duration{syntax:"*";inherits:false}`],i([p('[part="base"]')],t.prototype,"button",2),i([p("slot:not([name])")],t.prototype,"defaultSlot",2),i([r({type:Boolean,reflect:!0})],t.prototype,"vertical",2),i([r({type:String,reflect:!0})],t.prototype,"size",2),i([r({reflect:!0})],t.prototype,"href",2),i([r({type:String,reflect:!0})],t.prototype,"target",2),i([r({reflect:!0})],t.prototype,"download",2),i([r({type:Boolean,reflect:!0})],t.prototype,"current",2),i([r({type:Boolean,reflect:!0})],t.prototype,"disabled",2),i([r({type:Boolean,reflect:!0})],t.prototype,"chevron",2),i([r({type:Boolean,reflect:!0})],t.prototype,"relaxed",2),i([r({type:Boolean,reflect:!0})],t.prototype,"divider",2),i([r({type:Boolean,reflect:!0})],t.prototype,"indented",2),i([r({type:Boolean,reflect:!0})],t.prototype,"open",2),i([r({type:Boolean,reflect:!0})],t.prototype,"separated",2),t=i([m("sd-6-10-0-navigation-item")],t);export{t as a};
1
+ import{a as o}from"./chunk.SLXPE3UU.js";import{a as y}from"./chunk.CGQ2BPPZ.js";import{a as u,b as s}from"./chunk.SV6DES3E.js";import{a as b}from"./chunk.IQPMMUES.js";import{a as l}from"./chunk.ERQOYXLO.js";import{a as m,b as r,d as p,h as f}from"./chunk.JMZGGLJF.js";import{b as v}from"./chunk.UOAG5PNU.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends f{constructor(){super(...arguments);this.hasSlotController=new y(this,"[default]","description","children");this.localize=new b(this);this.vertical=!1;this.size="md";this.current=!1;this.disabled=!1;this.chevron=!1;this.relaxed=!1;this.divider=!1;this.indented=!1;this.open=!1;this.separated=!1}get isButton(){return!this.href&&!this.hasSlotController.test("children")}get isLink(){return!!this.href}get isAccordion(){return!this.separated&&!this.href&&this.hasSlotController.test("children")}get isIconOnly(){if(!this.defaultSlot)return!1;let e=this.defaultSlot.assignedNodes({flatten:!0});return e.length>0&&e.every(a=>{var d;return a.nodeType===Node.TEXT_NODE?!((d=a.textContent)!=null&&d.trim()):a.nodeType===Node.ELEMENT_NODE?a.tagName.toLowerCase()==="sd-6-11-0-icon":!1})}handleClickButton(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}handleClickSummary(e){e.preventDefault(),e.stopPropagation(),this.disabled||(this.open?this.hideDetails():this.showDetails())}hideDetails(){this.open=!1,this.emit("sd-hide",{cancelable:!0})}showDetails(){this.open=!0,this.emit("sd-show",{cancelable:!0})}get calculatePaddingX(){return this.relaxed&&this.indented?"pl-8 pr-4":this.relaxed?"px-4":this.indented?"pl-4":""}get tag(){return this.separated&&!this.isLink?u`div`:this.isAccordion&&!this.isLink?u`summary`:this.isLink?u`a`:u`button`}focus(){var e;this.disabled||(e=this.button)==null||e.focus()}blur(){var e;(e=this.button)==null||e.blur()}render(){let e=this.tag,a=this.isLink,d=this.isButton,n=this.isAccordion,g=this.isIconOnly,c={label:this.hasSlotController.test("[default]"),main:this.hasSlotController.test("main"),description:this.hasSlotController.test("description"),children:this.hasSlotController.test("children")},x=this.vertical?"py-3":"py-2",h=s`<${e} part="base" class="${l("flex items-center cursor-pointer relative focus-visible:focus-outline group hover:bg-neutral-200 transition-colors duration-fast ease-in-out min-h-[48px] navigable-border-radius",{md:"navigable-font-size",lg:"text-lg",sm:"text-[14px]"}[this.size],this.disabled?"text-neutral-500 pointer-events-none":"sd-6-11-0-navigation-item-color-text",this.current&&"font-bold sd-6-11-0-navigation-item--current-color-text",!n&&"w-full",this.divider&&this.vertical&&"mt-0.25",!this.vertical&&"inline-flex items-center",!this.separated&&"hover:bg-neutral-200 group transition-colors duration-fast ease-in-out min-h-[48px]",g?"justify-center aspect-square p-3":"px-4")}" aria-current="${o(this.current?"page":void 0)}" aria-disabled="${this.disabled}" aria-labelledby="content" aria-describedby="description" ?disabled="${o(d?this.disabled:void 0)}" href="${o(a?this.href:void 0)}" target="${o(a?this.target:void 0)}" download="${o(a?this.download:void 0)}" rel="${o(a&&this.target?"noreferrer noopener":void 0)}" tabindex="${this.disabled?"-1":"0"}" @click="${this.separated?void 0:n?this.handleClickSummary:d?this.handleClickButton:void 0}"><div part="current-indicator" class="${l("absolute bg-accent left-0 pointer-events-none navigable__current-indicator-border-radius",this.vertical?"navigable__current-indicator-width h-[calc(100%-16px)] top-2 group-hover:h-full group-hover:top-0":"navigable__current-indicator-height w-[calc(100%-16px)] bottom-0 left-2 group-hover:w-full group-hover:left-0 transition-all",this.disabled&&"bg-neutral-500")}"></div><div class="inline-flex flex-col justify-center gap-1 w-full h-full"><span part="content-area" class="${l("relative inline-flex justify-between items-center",n?"grow":"w-full",c.description&&"pt-3",!c.description&&!this.separated&&x,this.calculatePaddingX)}">${this.divider&&this.vertical?s`<sd-6-11-0-divider part="divider" class="${l("w-full transition-all absolute -top-0.25 left-0",this.calculatePaddingX)}"></sd-6-11-0-divider>`:""} <span id="content" part="content-container" class="inline-flex items-center flex-auto"><slot part="content" class="inline-flex text-start"></slot></span>${this.chevron||c.children&&this.vertical&&!this.separated?s`<sd-6-11-0-icon name="chevron-down" part="chevron" library="_internal" color="currentColor" class="${l("h-6 w-6 ml-2 transition-all",n?this.open?"rotate-180":"rotate-0":"rotate-[270deg]")}"></sd-6-11-0-icon>`:""} </span>${c.description&&this.vertical?s`<slot id="description" name="description" part="description" class="${l("inline-block text-sm text-left font-normal text-black pb-3",n||this.separated?"grow":"w-full",this.calculatePaddingX)}"></slot>`:""}</div></${e}>`;return this.separated?s`<div part="details" id="navigation-item-details" class="relative flex flex-col"><div class="flex items-start">${h} ${c.children&&this.vertical?s`<button type="button" title="${this.open?this.localize.term("collapseNavigationItem"):this.localize.term("expandNavigationItem")}" class="sd-interactive sd-interactive--reset -mt-1" @click="${this.handleClickSummary}"><sd-6-11-0-icon name="chevron-down" part="chevron" library="_internal" color="currentColor" class="${l("m-4 h-6 w-6 transition-all",n||this.separated?this.open?"rotate-180":"rotate-0":"rotate-[270deg]")}"></sd-6-11-0-icon></button>`:""}</div>${this.open?s`<slot name="children"></slot>`:""}</div>`:n?s`<details aria-expanded="${this.open}" part="details" id="navigation-item-details" ?open="${this.open}" class="relative">${h}<slot name="children"></slot></details>`:s`${h}`}};t.styles=[...f.styles,v`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
+ :host{position:relative;box-sizing:border-box;display:inline-block}:host([vertical]){display:block}details summary::-webkit-details-marker{display:none}[part=current-indicator]{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:var(--sd-opacity-0);--tw-duration:var(--sd-duration-fast, 150ms);transition-duration:var(--sd-duration-fast,150ms);transition:width var(--sd-duration-fast) ease-in-out,height var(--sd-duration-fast) ease-in-out,left var(--sd-duration-fast) ease-in-out,top var(--sd-duration-fast) ease-in-out,opacity var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out var(--sd-duration-fast)}:host([current]) [part=current-indicator]{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:var(--sd-opacity-100);transition:width var(--sd-duration-fast) ease-in-out,height var(--sd-duration-fast) ease-in-out,left var(--sd-duration-fast) ease-in-out,top var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-duration{syntax:"*";inherits:false}`],i([p('[part="base"]')],t.prototype,"button",2),i([p("slot:not([name])")],t.prototype,"defaultSlot",2),i([r({type:Boolean,reflect:!0})],t.prototype,"vertical",2),i([r({type:String,reflect:!0})],t.prototype,"size",2),i([r({reflect:!0})],t.prototype,"href",2),i([r({type:String,reflect:!0})],t.prototype,"target",2),i([r({reflect:!0})],t.prototype,"download",2),i([r({type:Boolean,reflect:!0})],t.prototype,"current",2),i([r({type:Boolean,reflect:!0})],t.prototype,"disabled",2),i([r({type:Boolean,reflect:!0})],t.prototype,"chevron",2),i([r({type:Boolean,reflect:!0})],t.prototype,"relaxed",2),i([r({type:Boolean,reflect:!0})],t.prototype,"divider",2),i([r({type:Boolean,reflect:!0})],t.prototype,"indented",2),i([r({type:Boolean,reflect:!0})],t.prototype,"open",2),i([r({type:Boolean,reflect:!0})],t.prototype,"separated",2),t=i([m("sd-6-11-0-navigation-item")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as b}from"./chunk.CGQ2BPPZ.js";import{a as u}from"./chunk.IQPMMUES.js";import{a}from"./chunk.ERQOYXLO.js";import{a as n}from"./chunk.NYKJXI3Q.js";import{a as c,b as i,d as o,h as l}from"./chunk.IHPCVJQP.js";import{b as d,e as s}from"./chunk.UOAG5PNU.js";import{e}from"./chunk.6EV4YU6C.js";var v=0,t=class extends l{constructor(){super(...arguments);this.attrId=++v;this.componentId=`sd-6-10-0-tab-${this.attrId}`;this.hasSlotController=new b(this,"left");this.localize=new u(this);this.variant="default";this.active=!1;this.disabled=!1;this.visuallyDisabled=!1;this.panel=""}connectedCallback(){super.connectedCallback(),this.setAttribute("role","tab")}handleActiveChange(){this.setAttribute("aria-selected",this.active?"true":"false")}handleDisabledChange(){let r=this.disabled||this.visuallyDisabled;this.setAttribute("aria-disabled",r?"true":"false")}focus(r){this.tab.focus(r)}blur(){this.tab.blur()}render(){this.id=this.id.length>0?this.id:this.componentId;let r={left:this.hasSlotController.test("left")};return s`<div part="base" class="${a("inline-flex justify-center min-w-max items-center h-12 px-3 leading-none select-none cursor-pointer group relative","outline-hidden focus-visible:focus-outline outline-2 !-outline-offset-2 transition-all duration-fast ease-in-out",this.variant==="container"?"tab-container-border bg-white rounded-[4px_4px_0_0]":"navigable-border-radius",this.variant==="container"&&this.active&&"tab--active-container-border bg-white",this.disabled||this.visuallyDisabled?"!cursor-not-allowed":"hover:color-background",this.active&&"z-20")}" tabindex="${!this.active||this.disabled?"-1":"0"}"><div class="${a("flex h-full items-center justify-center whitespace-nowrap",this.disabled||this.visuallyDisabled&&"opacity-50 ")}"><slot name="left" class="${a(r.left&&"block pr-2",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary")}"></slot><slot class="${a(this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary")}"></slot>${this.variant==="container"?s`<div part="active-tab-indicator" class="${a("absolute bottom-0 h-1 bg-accent w-3/4 bottom-0 group-hover:w-[calc(100%-2px)] navigable__current-indicator-height navigable__current-indicator-border-radius")}"></div>`:""}<div part="hover-bottom-border" class="${a(!this.active&&!this.disabled&&"absolute bottom-0 left-0 w-full h-0.25 border-b sd-6-10-0-tab-color-border")}"></div></div></div>`}};t.styles=[...l.styles,d`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
- :host{box-sizing:border-box;display:inline-block}:host(:hover)::part(hover-bottom-border){border-bottom-color:rgba(var(--sd-color-border-neutral-400))}.tab-container-border::after{position:absolute;height:100%;width:100%;border-style:var(--tw-border-style);border-width:1px;border-color:transparent;--tw-content:'';content:var(--tw-content)}.tab--active-container-border::after{position:absolute;height:100%;width:100%;border-style:var(--tw-border-style);border-width:1px;border-color:rgba(var(--sd-color-border-neutral-400));transition-property:border;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,150ms));--tw-duration:var(--sd-duration-medium, 300ms);transition-duration:var(--sd-duration-medium,300ms);--tw-ease:var(--ease-in-out, cubic-bezier(0.4, 0, 0.2, 1));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));--tw-content:'';content:var(--tw-content);border-bottom:none;border-radius:4px 4px 0 0}[part=active-tab-indicator]{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:var(--sd-opacity-0);--tw-duration:var(--sd-duration-fast, 150ms);transition-duration:var(--sd-duration-fast,150ms);transition:width var(--sd-duration-fast) ease-in-out,opacity var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out var(--sd-duration-fast)}:host([active]) [part=active-tab-indicator]{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:var(--sd-opacity-100);transition:width var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}`],e([o("[part=base]")],t.prototype,"tab",2),e([o("[part=active-tab-indicator]")],t.prototype,"currentIndicator",2),e([i({type:String,reflect:!0})],t.prototype,"variant",2),e([i({type:Boolean,reflect:!0})],t.prototype,"active",2),e([i({type:Boolean,reflect:!0})],t.prototype,"disabled",2),e([i({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),e([i({type:String,reflect:!0})],t.prototype,"panel",2),e([n("active")],t.prototype,"handleActiveChange",1),e([n(["disabled","visually-disabled"])],t.prototype,"handleDisabledChange",1),t=e([c("sd-6-10-0-tab")],t);export{t as a};
1
+ import{a as b}from"./chunk.CGQ2BPPZ.js";import{a as u}from"./chunk.IQPMMUES.js";import{a}from"./chunk.ERQOYXLO.js";import{a as n}from"./chunk.NYKJXI3Q.js";import{a as c,b as i,d as o,h as l}from"./chunk.JMZGGLJF.js";import{b as d,e as s}from"./chunk.UOAG5PNU.js";import{e}from"./chunk.6EV4YU6C.js";var v=0,t=class extends l{constructor(){super(...arguments);this.attrId=++v;this.componentId=`sd-6-11-0-tab-${this.attrId}`;this.hasSlotController=new b(this,"left");this.localize=new u(this);this.variant="default";this.active=!1;this.disabled=!1;this.visuallyDisabled=!1;this.panel=""}connectedCallback(){super.connectedCallback(),this.setAttribute("role","tab")}handleActiveChange(){this.setAttribute("aria-selected",this.active?"true":"false")}handleDisabledChange(){let r=this.disabled||this.visuallyDisabled;this.setAttribute("aria-disabled",r?"true":"false")}focus(r){this.tab.focus(r)}blur(){this.tab.blur()}render(){this.id=this.id.length>0?this.id:this.componentId;let r={left:this.hasSlotController.test("left")};return s`<div part="base" class="${a("inline-flex justify-center min-w-max items-center h-12 px-3 leading-none select-none cursor-pointer group relative","outline-hidden focus-visible:focus-outline outline-2 !-outline-offset-2 transition-all duration-fast ease-in-out",this.variant==="container"?"tab-container-border bg-white rounded-[4px_4px_0_0]":"navigable-border-radius",this.variant==="container"&&this.active&&"tab--active-container-border bg-white",this.disabled||this.visuallyDisabled?"!cursor-not-allowed":"hover:color-background",this.active&&"z-20")}" tabindex="${!this.active||this.disabled?"-1":"0"}"><div class="${a("flex h-full items-center justify-center whitespace-nowrap",this.disabled||this.visuallyDisabled&&"opacity-50 ")}"><slot name="left" class="${a(r.left&&"block pr-2",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary")}"></slot><slot class="${a(this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary")}"></slot>${this.variant==="container"?s`<div part="active-tab-indicator" class="${a("absolute bottom-0 h-1 bg-accent w-3/4 bottom-0 group-hover:w-[calc(100%-2px)] navigable__current-indicator-height navigable__current-indicator-border-radius")}"></div>`:""}<div part="hover-bottom-border" class="${a(!this.active&&!this.disabled&&"absolute bottom-0 left-0 w-full h-0.25 border-b sd-6-11-0-tab-color-border")}"></div></div></div>`}};t.styles=[...l.styles,d`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
+ :host{box-sizing:border-box;display:inline-block}:host(:hover)::part(hover-bottom-border){border-bottom-color:rgba(var(--sd-color-border-neutral-400))}.tab-container-border::after{position:absolute;height:100%;width:100%;border-style:var(--tw-border-style);border-width:1px;border-color:transparent;--tw-content:'';content:var(--tw-content)}.tab--active-container-border::after{position:absolute;height:100%;width:100%;border-style:var(--tw-border-style);border-width:1px;border-color:rgba(var(--sd-color-border-neutral-400));transition-property:border;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,150ms));--tw-duration:var(--sd-duration-medium, 300ms);transition-duration:var(--sd-duration-medium,300ms);--tw-ease:var(--ease-in-out, cubic-bezier(0.4, 0, 0.2, 1));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));--tw-content:'';content:var(--tw-content);border-bottom:none;border-radius:4px 4px 0 0}[part=active-tab-indicator]{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:var(--sd-opacity-0);--tw-duration:var(--sd-duration-fast, 150ms);transition-duration:var(--sd-duration-fast,150ms);transition:width var(--sd-duration-fast) ease-in-out,opacity var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out var(--sd-duration-fast)}:host([active]) [part=active-tab-indicator]{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:var(--sd-opacity-100);transition:width var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}`],e([o("[part=base]")],t.prototype,"tab",2),e([o("[part=active-tab-indicator]")],t.prototype,"currentIndicator",2),e([i({type:String,reflect:!0})],t.prototype,"variant",2),e([i({type:Boolean,reflect:!0})],t.prototype,"active",2),e([i({type:Boolean,reflect:!0})],t.prototype,"disabled",2),e([i({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),e([i({type:String,reflect:!0})],t.prototype,"panel",2),e([n("active")],t.prototype,"handleActiveChange",1),e([n(["disabled","visually-disabled"])],t.prototype,"handleDisabledChange",1),t=e([c("sd-6-11-0-tab")],t);export{t as a};