@solid-design-system/components 6.16.0 → 6.16.2

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 (657) hide show
  1. package/cdn/chunks/{chunk.EWMHJHWS.js → chunk.234GSBDZ.js} +1 -1
  2. package/cdn/chunks/{chunk.UHJGQKEY.js → chunk.25GHYAOD.js} +1 -1
  3. package/cdn/chunks/{chunk.EY5IPEJS.js → chunk.2LQ5VGSE.js} +1 -1
  4. package/cdn/chunks/{chunk.LZ3V4KEW.js → chunk.2XFGD6SJ.js} +1 -1
  5. package/cdn/chunks/{chunk.4FZ6I6UQ.js → chunk.3IUXZC5K.js} +1 -1
  6. package/cdn/chunks/{chunk.ATEIIJMN.js → chunk.4E7TKZEG.js} +1 -1
  7. package/cdn/chunks/{chunk.A26X4M2A.js → chunk.4ORVKWXE.js} +1 -1
  8. package/cdn/chunks/{chunk.DFK6W42J.js → chunk.5GV7K4H7.js} +1 -1
  9. package/cdn/chunks/{chunk.OB5SA2PR.js → chunk.5HOVVJNJ.js} +1 -1
  10. package/cdn/chunks/{chunk.3CLS3Q77.js → chunk.6FVOAJ2N.js} +1 -1
  11. package/cdn/chunks/{chunk.4VN3VZD3.js → chunk.6W2G2YK5.js} +1 -1
  12. package/cdn/chunks/{chunk.LUYHE3AN.js → chunk.7HTYCCB7.js} +1 -1
  13. package/cdn/chunks/{chunk.D7HCBQZI.js → chunk.7J4IMP5R.js} +1 -1
  14. package/cdn/chunks/{chunk.GSM2BLQT.js → chunk.7WJVA3FJ.js} +1 -1
  15. package/cdn/chunks/{chunk.QZSNTDMB.js → chunk.AGDZZKVF.js} +1 -1
  16. package/cdn/chunks/chunk.AMWQ5YE5.js +1 -0
  17. package/cdn/chunks/{chunk.K4IMODXA.js → chunk.ARTZIGCO.js} +1 -1
  18. package/cdn/chunks/{chunk.Z62KZREG.js → chunk.B2RWMOWV.js} +1 -1
  19. package/cdn/chunks/{chunk.CQAF35CP.js → chunk.BXARHGBN.js} +1 -1
  20. package/cdn/chunks/{chunk.5DK27TIR.js → chunk.CERTG5ZO.js} +1 -1
  21. package/cdn/chunks/{chunk.YEBMVWCO.js → chunk.D3CNVULF.js} +1 -1
  22. package/cdn/chunks/{chunk.UJYIZ6FI.js → chunk.DDZ7Z6DF.js} +1 -1
  23. package/cdn/chunks/{chunk.JNP7A56W.js → chunk.E35JN23S.js} +1 -1
  24. package/cdn/chunks/{chunk.G6JKQSEW.js → chunk.EZGCQ5W6.js} +1 -1
  25. package/cdn/chunks/{chunk.JI7OGVIM.js → chunk.FKPWU2TT.js} +1 -1
  26. package/cdn/chunks/{chunk.BDHPDHCE.js → chunk.GDQUJDHI.js} +1 -1
  27. package/cdn/chunks/{chunk.LHAC7HNW.js → chunk.GLTI3PD7.js} +1 -1
  28. package/cdn/chunks/{chunk.CGW35BM4.js → chunk.GRTRE3SX.js} +1 -1
  29. package/cdn/chunks/{chunk.MPR6UG5R.js → chunk.H26GUUEX.js} +1 -1
  30. package/cdn/chunks/{chunk.XAH2RQGI.js → chunk.HNZ5J4LN.js} +1 -1
  31. package/cdn/chunks/{chunk.HAAQAD3J.js → chunk.IBJNZTJ3.js} +1 -1
  32. package/cdn/chunks/{chunk.4HVH6KEX.js → chunk.ICEOEXLC.js} +1 -1
  33. package/cdn/chunks/{chunk.OWXAMMTH.js → chunk.IUNS6MA3.js} +1 -1
  34. package/cdn/chunks/{chunk.LYMIJSNL.js → chunk.JAJBOQTW.js} +1 -1
  35. package/cdn/chunks/{chunk.UCWSKJGS.js → chunk.KIQUZQMK.js} +1 -1
  36. package/cdn/chunks/{chunk.4KH3R72H.js → chunk.KUOHDCYC.js} +1 -1
  37. package/cdn/chunks/{chunk.OSR5AAH2.js → chunk.L5CEAKDW.js} +1 -1
  38. package/cdn/chunks/{chunk.Q53VDSGJ.js → chunk.LHK5BE4B.js} +1 -1
  39. package/cdn/chunks/{chunk.QVURGIPC.js → chunk.LO5HPN2A.js} +1 -1
  40. package/cdn/chunks/chunk.M6E2RMEB.js +26 -0
  41. package/cdn/chunks/{chunk.ZQQ27X6I.js → chunk.MA2NLPTA.js} +1 -1
  42. package/cdn/chunks/{chunk.BZ6LKCYP.js → chunk.MWGZF2ZF.js} +1 -1
  43. package/cdn/chunks/{chunk.6OZ2A44P.js → chunk.MYEKQQNL.js} +1 -1
  44. package/cdn/chunks/{chunk.UK47XFPM.js → chunk.N465LQG7.js} +1 -1
  45. package/cdn/chunks/{chunk.AIWXFV4A.js → chunk.N6ZAXIUN.js} +1 -1
  46. package/cdn/chunks/{chunk.QSVTAUHF.js → chunk.PK7WEESK.js} +1 -1
  47. package/cdn/chunks/{chunk.OU25KON5.js → chunk.RRSNPH6Q.js} +1 -1
  48. package/cdn/chunks/{chunk.66XXYOMG.js → chunk.S52JFJVB.js} +1 -1
  49. package/cdn/chunks/{chunk.XXL3WNLK.js → chunk.SWU6DQ7U.js} +1 -1
  50. package/cdn/chunks/{chunk.IDTGN2MF.js → chunk.SYD6YTIP.js} +1 -1
  51. package/cdn/chunks/{chunk.K5JR46ET.js → chunk.T46JRXVS.js} +1 -1
  52. package/cdn/chunks/{chunk.JY3DTFPL.js → chunk.USJRBZEH.js} +1 -1
  53. package/cdn/chunks/chunk.UZT7KTIL.js +12 -0
  54. package/cdn/chunks/{chunk.UCL7PTZ5.js → chunk.WEOX4LVS.js} +1 -1
  55. package/cdn/chunks/{chunk.Z3NSDZI4.js → chunk.WI2YI6CH.js} +1 -1
  56. package/cdn/chunks/{chunk.JJKBCUYJ.js → chunk.WKLMDETX.js} +1 -1
  57. package/cdn/chunks/{chunk.HHMT3GNH.js → chunk.XCWLIRV4.js} +1 -1
  58. package/cdn/chunks/{chunk.UPYENWW7.js → chunk.Y6DIA5Z3.js} +1 -1
  59. package/cdn/chunks/{chunk.HCOXA5X6.js → chunk.YBLDN3HT.js} +1 -1
  60. package/cdn/chunks/{chunk.BX67FEHE.js → chunk.YETXWF7L.js} +1 -1
  61. package/cdn/chunks/{chunk.DN2B6JRY.js → chunk.ZE6PJ3U3.js} +1 -1
  62. package/cdn/chunks/{chunk.KYRKOG2O.js → chunk.ZS5FPNF2.js} +1 -1
  63. package/cdn/components/accordion/accordion.js +1 -1
  64. package/cdn/components/accordion-group/accordion-group.js +1 -1
  65. package/cdn/components/animation/animation.js +1 -1
  66. package/cdn/components/audio/audio.js +1 -1
  67. package/cdn/components/badge/badge.js +1 -1
  68. package/cdn/components/brandshape/brandshape.js +1 -1
  69. package/cdn/components/breadcrumb/breadcrumb.js +1 -1
  70. package/cdn/components/breadcrumb-item/breadcrumb-item.js +1 -1
  71. package/cdn/components/button/button.js +1 -1
  72. package/cdn/components/button-group/button-group.js +1 -1
  73. package/cdn/components/carousel/carousel.js +1 -1
  74. package/cdn/components/carousel-item/carousel-item.js +1 -1
  75. package/cdn/components/checkbox/checkbox.js +1 -1
  76. package/cdn/components/checkbox-group/checkbox-group.js +1 -1
  77. package/cdn/components/combobox/combobox.js +1 -1
  78. package/cdn/components/datepicker/datepicker.js +1 -1
  79. package/cdn/components/dialog/dialog.js +1 -1
  80. package/cdn/components/divider/divider.js +1 -1
  81. package/cdn/components/drawer/drawer.js +1 -1
  82. package/cdn/components/dropdown/dropdown.js +1 -1
  83. package/cdn/components/expandable/expandable.js +1 -1
  84. package/cdn/components/flipcard/flipcard.js +1 -1
  85. package/cdn/components/header/header.js +1 -1
  86. package/cdn/components/icon/icon.js +1 -1
  87. package/cdn/components/include/include.js +1 -1
  88. package/cdn/components/input/input.js +1 -1
  89. package/cdn/components/link/link.js +1 -1
  90. package/cdn/components/loader/loader.js +1 -1
  91. package/cdn/components/map-marker/map-marker.js +1 -1
  92. package/cdn/components/menu/menu.js +1 -1
  93. package/cdn/components/menu-item/menu-item.js +1 -1
  94. package/cdn/components/navigation-item/navigation-item.js +1 -1
  95. package/cdn/components/notification/notification.js +1 -1
  96. package/cdn/components/optgroup/optgroup.js +1 -1
  97. package/cdn/components/option/option.js +1 -1
  98. package/cdn/components/popup/popup.js +1 -1
  99. package/cdn/components/quickfact/quickfact.js +1 -1
  100. package/cdn/components/radio/radio.js +1 -1
  101. package/cdn/components/radio-button/radio-button.js +1 -1
  102. package/cdn/components/radio-group/radio-group.js +1 -1
  103. package/cdn/components/range/range.js +1 -1
  104. package/cdn/components/range-tick/range-tick.js +1 -1
  105. package/cdn/components/scrollable/scrollable.js +1 -1
  106. package/cdn/components/select/select.js +1 -1
  107. package/cdn/components/skeleton/skeleton.js +1 -1
  108. package/cdn/components/spinner/spinner.js +1 -1
  109. package/cdn/components/step/step.js +1 -1
  110. package/cdn/components/step-group/step-group.js +1 -1
  111. package/cdn/components/switch/switch.js +1 -1
  112. package/cdn/components/tab/tab.js +1 -1
  113. package/cdn/components/tab-group/tab-group.js +1 -1
  114. package/cdn/components/tab-panel/tab-panel.js +1 -1
  115. package/cdn/components/tag/tag.js +1 -1
  116. package/cdn/components/teaser/teaser.js +1 -1
  117. package/cdn/components/teaser-media/teaser-media.js +1 -1
  118. package/cdn/components/textarea/textarea.js +1 -1
  119. package/cdn/components/theme-listener/theme-listener.js +1 -1
  120. package/cdn/components/tooltip/tooltip.js +1 -1
  121. package/cdn/components/video/video.js +1 -1
  122. package/cdn/custom-elements.json +1 -1
  123. package/cdn/solid-components.bundle.js +40 -40
  124. package/cdn/solid-components.iife.js +42 -42
  125. package/cdn/solid-components.js +1 -1
  126. package/cdn/translations/de.js +1 -1
  127. package/cdn/translations/en.js +1 -1
  128. package/cdn/utilities/autocomplete-config.js +1 -1
  129. package/cdn/utilities/localize.d.ts +2 -0
  130. package/cdn/utilities/localize.js +1 -1
  131. package/cdn/web-types.json +1 -1
  132. package/cdn-versioned/chunks/{chunk.EWMHJHWS.js → chunk.234GSBDZ.js} +2 -2
  133. package/cdn-versioned/chunks/{chunk.UHJGQKEY.js → chunk.25GHYAOD.js} +2 -2
  134. package/cdn-versioned/chunks/{chunk.EY5IPEJS.js → chunk.2LQ5VGSE.js} +2 -2
  135. package/cdn-versioned/chunks/{chunk.LZ3V4KEW.js → chunk.2XFGD6SJ.js} +3 -3
  136. package/cdn-versioned/chunks/{chunk.4FZ6I6UQ.js → chunk.3IUXZC5K.js} +2 -2
  137. package/cdn-versioned/chunks/{chunk.ATEIIJMN.js → chunk.4E7TKZEG.js} +5 -5
  138. package/cdn-versioned/chunks/{chunk.A26X4M2A.js → chunk.4ORVKWXE.js} +2 -2
  139. package/cdn-versioned/chunks/{chunk.DFK6W42J.js → chunk.5GV7K4H7.js} +2 -2
  140. package/cdn-versioned/chunks/{chunk.OB5SA2PR.js → chunk.5HOVVJNJ.js} +2 -2
  141. package/cdn-versioned/chunks/{chunk.3CLS3Q77.js → chunk.6FVOAJ2N.js} +2 -2
  142. package/cdn-versioned/chunks/{chunk.4VN3VZD3.js → chunk.6W2G2YK5.js} +2 -2
  143. package/cdn-versioned/chunks/{chunk.LUYHE3AN.js → chunk.7HTYCCB7.js} +2 -2
  144. package/cdn-versioned/chunks/{chunk.D7HCBQZI.js → chunk.7J4IMP5R.js} +2 -2
  145. package/cdn-versioned/chunks/{chunk.GSM2BLQT.js → chunk.7WJVA3FJ.js} +2 -2
  146. package/cdn-versioned/chunks/{chunk.QZSNTDMB.js → chunk.AGDZZKVF.js} +2 -2
  147. package/cdn-versioned/chunks/chunk.AMWQ5YE5.js +1 -0
  148. package/cdn-versioned/chunks/{chunk.K4IMODXA.js → chunk.ARTZIGCO.js} +2 -2
  149. package/cdn-versioned/chunks/{chunk.Z62KZREG.js → chunk.B2RWMOWV.js} +2 -2
  150. package/cdn-versioned/chunks/{chunk.CQAF35CP.js → chunk.BXARHGBN.js} +3 -3
  151. package/cdn-versioned/chunks/{chunk.5DK27TIR.js → chunk.CERTG5ZO.js} +2 -2
  152. package/cdn-versioned/chunks/{chunk.YEBMVWCO.js → chunk.D3CNVULF.js} +2 -2
  153. package/cdn-versioned/chunks/{chunk.UJYIZ6FI.js → chunk.DDZ7Z6DF.js} +2 -2
  154. package/cdn-versioned/chunks/{chunk.JNP7A56W.js → chunk.E35JN23S.js} +2 -2
  155. package/cdn-versioned/chunks/{chunk.G6JKQSEW.js → chunk.EZGCQ5W6.js} +2 -2
  156. package/cdn-versioned/chunks/{chunk.JI7OGVIM.js → chunk.FKPWU2TT.js} +2 -2
  157. package/cdn-versioned/chunks/{chunk.BDHPDHCE.js → chunk.GDQUJDHI.js} +2 -2
  158. package/cdn-versioned/chunks/{chunk.LHAC7HNW.js → chunk.GLTI3PD7.js} +2 -2
  159. package/cdn-versioned/chunks/{chunk.CGW35BM4.js → chunk.GRTRE3SX.js} +2 -2
  160. package/cdn-versioned/chunks/{chunk.MPR6UG5R.js → chunk.H26GUUEX.js} +2 -2
  161. package/cdn-versioned/chunks/{chunk.XAH2RQGI.js → chunk.HNZ5J4LN.js} +2 -2
  162. package/cdn-versioned/chunks/{chunk.HAAQAD3J.js → chunk.IBJNZTJ3.js} +2 -2
  163. package/cdn-versioned/chunks/{chunk.4HVH6KEX.js → chunk.ICEOEXLC.js} +2 -2
  164. package/cdn-versioned/chunks/{chunk.OWXAMMTH.js → chunk.IUNS6MA3.js} +2 -2
  165. package/cdn-versioned/chunks/{chunk.LYMIJSNL.js → chunk.JAJBOQTW.js} +2 -2
  166. package/cdn-versioned/chunks/{chunk.UCWSKJGS.js → chunk.KIQUZQMK.js} +2 -2
  167. package/cdn-versioned/chunks/{chunk.4KH3R72H.js → chunk.KUOHDCYC.js} +2 -2
  168. package/cdn-versioned/chunks/{chunk.OSR5AAH2.js → chunk.L5CEAKDW.js} +3 -3
  169. package/cdn-versioned/chunks/{chunk.Q53VDSGJ.js → chunk.LHK5BE4B.js} +2 -2
  170. package/cdn-versioned/chunks/{chunk.QVURGIPC.js → chunk.LO5HPN2A.js} +2 -2
  171. package/cdn-versioned/chunks/chunk.M6E2RMEB.js +26 -0
  172. package/cdn-versioned/chunks/{chunk.ZQQ27X6I.js → chunk.MA2NLPTA.js} +2 -2
  173. package/cdn-versioned/chunks/{chunk.BZ6LKCYP.js → chunk.MWGZF2ZF.js} +2 -2
  174. package/cdn-versioned/chunks/{chunk.6OZ2A44P.js → chunk.MYEKQQNL.js} +2 -2
  175. package/cdn-versioned/chunks/{chunk.UK47XFPM.js → chunk.N465LQG7.js} +2 -2
  176. package/cdn-versioned/chunks/{chunk.AIWXFV4A.js → chunk.N6ZAXIUN.js} +10 -10
  177. package/cdn-versioned/chunks/{chunk.QSVTAUHF.js → chunk.PK7WEESK.js} +2 -2
  178. package/cdn-versioned/chunks/chunk.RAP66B6O.js +1 -1
  179. package/cdn-versioned/chunks/{chunk.OU25KON5.js → chunk.RRSNPH6Q.js} +2 -2
  180. package/cdn-versioned/chunks/{chunk.66XXYOMG.js → chunk.S52JFJVB.js} +2 -2
  181. package/cdn-versioned/chunks/{chunk.XXL3WNLK.js → chunk.SWU6DQ7U.js} +2 -2
  182. package/cdn-versioned/chunks/{chunk.IDTGN2MF.js → chunk.SYD6YTIP.js} +3 -3
  183. package/cdn-versioned/chunks/{chunk.K5JR46ET.js → chunk.T46JRXVS.js} +5 -5
  184. package/cdn-versioned/chunks/{chunk.JY3DTFPL.js → chunk.USJRBZEH.js} +2 -2
  185. package/cdn-versioned/chunks/chunk.UZT7KTIL.js +12 -0
  186. package/cdn-versioned/chunks/chunk.VNKXLA5X.js +2 -2
  187. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  188. package/cdn-versioned/chunks/{chunk.UCL7PTZ5.js → chunk.WEOX4LVS.js} +1 -1
  189. package/cdn-versioned/chunks/{chunk.Z3NSDZI4.js → chunk.WI2YI6CH.js} +2 -2
  190. package/cdn-versioned/chunks/{chunk.JJKBCUYJ.js → chunk.WKLMDETX.js} +2 -2
  191. package/cdn-versioned/chunks/{chunk.HHMT3GNH.js → chunk.XCWLIRV4.js} +2 -2
  192. package/cdn-versioned/chunks/{chunk.UPYENWW7.js → chunk.Y6DIA5Z3.js} +2 -2
  193. package/cdn-versioned/chunks/{chunk.HCOXA5X6.js → chunk.YBLDN3HT.js} +2 -2
  194. package/cdn-versioned/chunks/{chunk.BX67FEHE.js → chunk.YETXWF7L.js} +2 -2
  195. package/cdn-versioned/chunks/chunk.YPTZDABK.js +1 -1
  196. package/cdn-versioned/chunks/{chunk.DN2B6JRY.js → chunk.ZE6PJ3U3.js} +2 -2
  197. package/cdn-versioned/chunks/{chunk.KYRKOG2O.js → chunk.ZS5FPNF2.js} +2 -2
  198. package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
  199. package/cdn-versioned/components/accordion/accordion.js +1 -1
  200. package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  201. package/cdn-versioned/components/accordion-group/accordion-group.js +1 -1
  202. package/cdn-versioned/components/animation/animation.d.ts +1 -1
  203. package/cdn-versioned/components/animation/animation.js +1 -1
  204. package/cdn-versioned/components/audio/audio.d.ts +1 -1
  205. package/cdn-versioned/components/audio/audio.js +1 -1
  206. package/cdn-versioned/components/badge/badge.d.ts +1 -1
  207. package/cdn-versioned/components/badge/badge.js +1 -1
  208. package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
  209. package/cdn-versioned/components/brandshape/brandshape.js +1 -1
  210. package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  211. package/cdn-versioned/components/breadcrumb/breadcrumb.js +1 -1
  212. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  213. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.js +1 -1
  214. package/cdn-versioned/components/button/button.d.ts +1 -1
  215. package/cdn-versioned/components/button/button.js +1 -1
  216. package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
  217. package/cdn-versioned/components/button-group/button-group.js +1 -1
  218. package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
  219. package/cdn-versioned/components/carousel/carousel.js +1 -1
  220. package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  221. package/cdn-versioned/components/carousel-item/carousel-item.js +1 -1
  222. package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
  223. package/cdn-versioned/components/checkbox/checkbox.js +1 -1
  224. package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  225. package/cdn-versioned/components/checkbox-group/checkbox-group.js +1 -1
  226. package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
  227. package/cdn-versioned/components/combobox/combobox.js +1 -1
  228. package/cdn-versioned/components/datepicker/datepicker.d.ts +1 -1
  229. package/cdn-versioned/components/datepicker/datepicker.js +1 -1
  230. package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
  231. package/cdn-versioned/components/dialog/dialog.js +1 -1
  232. package/cdn-versioned/components/divider/divider.d.ts +1 -1
  233. package/cdn-versioned/components/divider/divider.js +1 -1
  234. package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
  235. package/cdn-versioned/components/drawer/drawer.js +1 -1
  236. package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
  237. package/cdn-versioned/components/dropdown/dropdown.js +1 -1
  238. package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
  239. package/cdn-versioned/components/expandable/expandable.js +1 -1
  240. package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
  241. package/cdn-versioned/components/flipcard/flipcard.js +1 -1
  242. package/cdn-versioned/components/header/header.d.ts +1 -1
  243. package/cdn-versioned/components/header/header.js +1 -1
  244. package/cdn-versioned/components/icon/icon.d.ts +1 -1
  245. package/cdn-versioned/components/icon/icon.js +1 -1
  246. package/cdn-versioned/components/include/include.d.ts +1 -1
  247. package/cdn-versioned/components/include/include.js +1 -1
  248. package/cdn-versioned/components/input/input.d.ts +1 -1
  249. package/cdn-versioned/components/input/input.js +1 -1
  250. package/cdn-versioned/components/link/link.d.ts +1 -1
  251. package/cdn-versioned/components/link/link.js +1 -1
  252. package/cdn-versioned/components/loader/loader.d.ts +1 -1
  253. package/cdn-versioned/components/loader/loader.js +1 -1
  254. package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
  255. package/cdn-versioned/components/map-marker/map-marker.js +1 -1
  256. package/cdn-versioned/components/menu/menu.d.ts +1 -1
  257. package/cdn-versioned/components/menu/menu.js +1 -1
  258. package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
  259. package/cdn-versioned/components/menu-item/menu-item.js +1 -1
  260. package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  261. package/cdn-versioned/components/navigation-item/navigation-item.js +1 -1
  262. package/cdn-versioned/components/notification/notification.d.ts +1 -1
  263. package/cdn-versioned/components/notification/notification.js +1 -1
  264. package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
  265. package/cdn-versioned/components/optgroup/optgroup.js +1 -1
  266. package/cdn-versioned/components/option/option.d.ts +1 -1
  267. package/cdn-versioned/components/option/option.js +1 -1
  268. package/cdn-versioned/components/popup/popup.d.ts +1 -1
  269. package/cdn-versioned/components/popup/popup.js +1 -1
  270. package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
  271. package/cdn-versioned/components/quickfact/quickfact.js +1 -1
  272. package/cdn-versioned/components/radio/radio.d.ts +1 -1
  273. package/cdn-versioned/components/radio/radio.js +1 -1
  274. package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
  275. package/cdn-versioned/components/radio-button/radio-button.js +1 -1
  276. package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
  277. package/cdn-versioned/components/radio-group/radio-group.js +1 -1
  278. package/cdn-versioned/components/range/range.d.ts +1 -1
  279. package/cdn-versioned/components/range/range.js +1 -1
  280. package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
  281. package/cdn-versioned/components/range-tick/range-tick.js +1 -1
  282. package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
  283. package/cdn-versioned/components/scrollable/scrollable.js +1 -1
  284. package/cdn-versioned/components/select/select.d.ts +1 -1
  285. package/cdn-versioned/components/select/select.js +1 -1
  286. package/cdn-versioned/components/skeleton/skeleton.d.ts +1 -1
  287. package/cdn-versioned/components/skeleton/skeleton.js +1 -1
  288. package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
  289. package/cdn-versioned/components/spinner/spinner.js +1 -1
  290. package/cdn-versioned/components/step/step.d.ts +1 -1
  291. package/cdn-versioned/components/step/step.js +1 -1
  292. package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
  293. package/cdn-versioned/components/step-group/step-group.js +1 -1
  294. package/cdn-versioned/components/switch/switch.d.ts +1 -1
  295. package/cdn-versioned/components/switch/switch.js +1 -1
  296. package/cdn-versioned/components/tab/tab.d.ts +1 -1
  297. package/cdn-versioned/components/tab/tab.js +1 -1
  298. package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
  299. package/cdn-versioned/components/tab-group/tab-group.js +1 -1
  300. package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  301. package/cdn-versioned/components/tab-panel/tab-panel.js +1 -1
  302. package/cdn-versioned/components/tag/tag.d.ts +1 -1
  303. package/cdn-versioned/components/tag/tag.js +1 -1
  304. package/cdn-versioned/components/teaser/teaser.js +1 -1
  305. package/cdn-versioned/components/teaser-media/teaser-media.js +1 -1
  306. package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
  307. package/cdn-versioned/components/textarea/textarea.js +1 -1
  308. package/cdn-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  309. package/cdn-versioned/components/theme-listener/theme-listener.js +1 -1
  310. package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
  311. package/cdn-versioned/components/tooltip/tooltip.js +1 -1
  312. package/cdn-versioned/components/video/video.d.ts +1 -1
  313. package/cdn-versioned/components/video/video.js +1 -1
  314. package/cdn-versioned/custom-elements.json +246 -246
  315. package/cdn-versioned/internal/form.js +2 -2
  316. package/cdn-versioned/solid-components.bundle.js +85 -85
  317. package/cdn-versioned/solid-components.css +2 -2
  318. package/cdn-versioned/solid-components.iife.js +86 -86
  319. package/cdn-versioned/solid-components.js +1 -1
  320. package/cdn-versioned/translations/de.js +1 -1
  321. package/cdn-versioned/translations/en.js +1 -1
  322. package/cdn-versioned/utilities/autocomplete-config.js +1 -1
  323. package/cdn-versioned/utilities/localize.d.ts +2 -0
  324. package/cdn-versioned/utilities/localize.js +1 -1
  325. package/cdn-versioned/vscode.html-custom-data.json +107 -107
  326. package/cdn-versioned/web-types.json +157 -157
  327. package/dist/chunks/{chunk.4PVDPEDP.js → chunk.2CMDU7LE.js} +1 -1
  328. package/dist/chunks/{chunk.2FVZOVKD.js → chunk.3WEVFLW7.js} +1 -1
  329. package/dist/chunks/{chunk.BN5RGZ7X.js → chunk.4B5EGHWK.js} +1 -1
  330. package/dist/chunks/{chunk.M5DERDHH.js → chunk.4PFA6NBM.js} +1 -1
  331. package/dist/chunks/{chunk.ZZYYNAHQ.js → chunk.554TR2QJ.js} +2 -2
  332. package/dist/chunks/{chunk.ULAWTDWL.js → chunk.5R2FUL3M.js} +1 -1
  333. package/dist/chunks/{chunk.W5AX2LUX.js → chunk.66XUGEDR.js} +1 -1
  334. package/dist/chunks/{chunk.4DD46TI2.js → chunk.6SJJNBCP.js} +1 -1
  335. package/dist/chunks/{chunk.OYNQ7MZD.js → chunk.73T5OM3X.js} +1 -1
  336. package/dist/chunks/{chunk.2MAKCGJO.js → chunk.7BNWRUYC.js} +1 -1
  337. package/dist/chunks/{chunk.RKZHGP4C.js → chunk.7LH5KLUQ.js} +1 -1
  338. package/dist/chunks/{chunk.63RKU7YA.js → chunk.BIXTMKRG.js} +2 -2
  339. package/{dist-versioned/chunks/chunk.XWRZKAAC.js → dist/chunks/chunk.BT6SAX2H.js} +2 -0
  340. package/dist/chunks/{chunk.JTMX3R54.js → chunk.CEK6W53N.js} +1 -1
  341. package/dist/chunks/{chunk.36LQO3TW.js → chunk.DS6JCFE6.js} +1 -1
  342. package/dist/chunks/{chunk.FIJX3VUF.js → chunk.EGPCWSNS.js} +14 -17
  343. package/dist/chunks/{chunk.SEB7UTAG.js → chunk.FCH3EM35.js} +1 -1
  344. package/dist/chunks/{chunk.LVXSD6QO.js → chunk.FSPPHB6U.js} +1 -1
  345. package/dist/chunks/{chunk.NMCXKPQT.js → chunk.FZROG22H.js} +1 -1
  346. package/dist/chunks/{chunk.K35ZY362.js → chunk.GGHQ52NQ.js} +1 -1
  347. package/dist/chunks/{chunk.TKDGBDMS.js → chunk.GXIIWLC3.js} +1 -1
  348. package/dist/chunks/{chunk.UX4SNJ4S.js → chunk.HFOVEHX5.js} +1 -1
  349. package/dist/chunks/{chunk.2LQUJBN6.js → chunk.HLAAYYPN.js} +1 -1
  350. package/dist/chunks/{chunk.OYGPRSLI.js → chunk.JDFXEERS.js} +1 -1
  351. package/dist/chunks/{chunk.2EW7BYJZ.js → chunk.JDOBF6BR.js} +1 -1
  352. package/dist/chunks/{chunk.7MRFW5WU.js → chunk.JDXUSLDX.js} +1 -1
  353. package/dist/chunks/{chunk.LQFP4TQA.js → chunk.JID3PBFI.js} +1 -1
  354. package/dist/chunks/{chunk.F4SSJ3OK.js → chunk.JNI3S2KE.js} +1 -1
  355. package/dist/chunks/{chunk.7BBBC4LC.js → chunk.L5WQTPWN.js} +1 -1
  356. package/dist/chunks/{chunk.4UDWRELW.js → chunk.MU4ARXB6.js} +1 -1
  357. package/dist/chunks/{chunk.AFXQPWOT.js → chunk.N74J2PD2.js} +1 -1
  358. package/dist/chunks/{chunk.PBISMPN4.js → chunk.NAPTGGU6.js} +1 -1
  359. package/dist/chunks/{chunk.PIOYH3TM.js → chunk.NNLMYT4Y.js} +1 -1
  360. package/dist/chunks/{chunk.SP3UZWV2.js → chunk.NVSTD2DO.js} +1 -1
  361. package/dist/chunks/{chunk.VASBQKR7.js → chunk.O5LCY7TO.js} +1 -1
  362. package/dist/chunks/{chunk.R6MGPVBY.js → chunk.ONQ4DNCZ.js} +1 -1
  363. package/dist/chunks/{chunk.GYT2MOIG.js → chunk.PAAXLQEE.js} +1 -1
  364. package/dist/chunks/{chunk.SVQ4W63O.js → chunk.PDVDXT7L.js} +1 -1
  365. package/dist/chunks/{chunk.3IATPYUU.js → chunk.Q2LD7K7G.js} +1 -1
  366. package/dist/chunks/{chunk.GGTTE3O5.js → chunk.REB4VPRZ.js} +1 -1
  367. package/dist/chunks/{chunk.OXOO3KJR.js → chunk.RMCQYKQU.js} +1 -1
  368. package/dist/chunks/{chunk.UUWLJUQT.js → chunk.ROVOABKA.js} +1 -1
  369. package/dist/chunks/{chunk.UF32T6VG.js → chunk.RRKI42AI.js} +1 -1
  370. package/dist/chunks/{chunk.64ZBVBUO.js → chunk.S7LF3J2N.js} +1 -1
  371. package/dist/chunks/{chunk.ZXTVK4F6.js → chunk.SEYEP4X4.js} +1 -1
  372. package/dist/chunks/{chunk.YIT6KCWE.js → chunk.SFPE7RE4.js} +1 -1
  373. package/dist/chunks/{chunk.TEYSL3L7.js → chunk.SPIQLTTT.js} +1 -1
  374. package/dist/chunks/{chunk.3CHCXOIV.js → chunk.TRCABGDR.js} +1 -1
  375. package/dist/chunks/{chunk.XYVBMQYZ.js → chunk.U7HC4ENJ.js} +1 -1
  376. package/dist/chunks/{chunk.PZF3TKOL.js → chunk.UW4QZGI6.js} +1 -1
  377. package/dist/chunks/{chunk.W232H3IB.js → chunk.V2RTJVJM.js} +1 -1
  378. package/dist/chunks/chunk.V2SCLPWH.js +93 -0
  379. package/dist/chunks/{chunk.E6I6KKTK.js → chunk.W7ISDYXU.js} +1 -1
  380. package/dist/chunks/{chunk.UCXRXX5Z.js → chunk.WOWGU7GJ.js} +1 -1
  381. package/dist/chunks/{chunk.B3QOYMWK.js → chunk.WQAFDWYF.js} +1 -1
  382. package/{dist-versioned/chunks/chunk.GWKDETUD.js → dist/chunks/chunk.X4IYFUX6.js} +2 -0
  383. package/dist/chunks/{chunk.4OTHCSXL.js → chunk.XPYX76I7.js} +1 -1
  384. package/dist/chunks/{chunk.NJDWX5QK.js → chunk.XUAUAYS7.js} +1 -1
  385. package/dist/chunks/{chunk.MSAZP6MW.js → chunk.YETBDRJZ.js} +1 -1
  386. package/dist/chunks/{chunk.3EWWVPVW.js → chunk.Z4J2IINI.js} +1 -1
  387. package/dist/chunks/{chunk.2KAT6BIE.js → chunk.ZPQXUDJE.js} +1 -1
  388. package/dist/chunks/{chunk.QGQMA2DH.js → chunk.ZTDT5XR4.js} +1 -1
  389. package/dist/components/accordion/accordion.js +5 -5
  390. package/dist/components/accordion-group/accordion-group.js +6 -6
  391. package/dist/components/animation/animation.js +2 -2
  392. package/dist/components/audio/audio.js +8 -8
  393. package/dist/components/badge/badge.js +2 -2
  394. package/dist/components/brandshape/brandshape.js +2 -2
  395. package/dist/components/breadcrumb/breadcrumb.js +7 -7
  396. package/dist/components/breadcrumb-item/breadcrumb-item.js +5 -5
  397. package/dist/components/button/button.js +5 -5
  398. package/dist/components/button-group/button-group.js +2 -2
  399. package/dist/components/carousel/carousel.js +6 -6
  400. package/dist/components/carousel-item/carousel-item.js +2 -2
  401. package/dist/components/checkbox/checkbox.js +3 -3
  402. package/dist/components/checkbox-group/checkbox-group.js +3 -3
  403. package/dist/components/combobox/combobox.js +7 -7
  404. package/dist/components/datepicker/datepicker.js +7 -7
  405. package/dist/components/dialog/dialog.js +7 -7
  406. package/dist/components/divider/divider.js +2 -2
  407. package/dist/components/drawer/drawer.js +7 -7
  408. package/dist/components/dropdown/dropdown.js +5 -5
  409. package/dist/components/expandable/expandable.js +5 -5
  410. package/dist/components/flipcard/flipcard.js +7 -7
  411. package/dist/components/header/header.js +2 -2
  412. package/dist/components/icon/icon.js +2 -2
  413. package/dist/components/include/include.js +2 -2
  414. package/dist/components/input/input.js +5 -5
  415. package/dist/components/link/link.js +2 -2
  416. package/dist/components/loader/loader.js +4 -4
  417. package/dist/components/map-marker/map-marker.js +2 -2
  418. package/dist/components/menu/menu.js +4 -4
  419. package/dist/components/menu-item/menu-item.js +2 -2
  420. package/dist/components/navigation-item/navigation-item.js +6 -6
  421. package/dist/components/notification/notification.js +7 -7
  422. package/dist/components/optgroup/optgroup.js +5 -5
  423. package/dist/components/option/option.js +3 -3
  424. package/dist/components/popup/popup.js +2 -2
  425. package/dist/components/quickfact/quickfact.js +6 -6
  426. package/dist/components/radio/radio.js +2 -2
  427. package/dist/components/radio-button/radio-button.js +2 -2
  428. package/dist/components/radio-group/radio-group.js +4 -4
  429. package/dist/components/range/range.js +7 -7
  430. package/dist/components/range-tick/range-tick.js +4 -4
  431. package/dist/components/scrollable/scrollable.js +5 -5
  432. package/dist/components/select/select.js +7 -7
  433. package/dist/components/skeleton/skeleton.js +2 -2
  434. package/dist/components/spinner/spinner.js +4 -4
  435. package/dist/components/step/step.js +3 -3
  436. package/dist/components/step-group/step-group.js +2 -2
  437. package/dist/components/switch/switch.js +2 -2
  438. package/dist/components/tab/tab.js +4 -4
  439. package/dist/components/tab-group/tab-group.js +5 -5
  440. package/dist/components/tab-panel/tab-panel.js +2 -2
  441. package/dist/components/tag/tag.js +5 -5
  442. package/dist/components/teaser/teaser.js +2 -2
  443. package/dist/components/teaser-media/teaser-media.js +2 -2
  444. package/dist/components/textarea/textarea.js +3 -3
  445. package/dist/components/theme-listener/theme-listener.js +2 -2
  446. package/dist/components/tooltip/tooltip.js +6 -6
  447. package/dist/components/video/video.js +5 -5
  448. package/dist/custom-elements.json +1 -1
  449. package/dist/solid-components.js +62 -62
  450. package/dist/translations/de.js +1 -1
  451. package/dist/translations/en.js +1 -1
  452. package/dist/utilities/autocomplete-config.js +2 -2
  453. package/dist/utilities/localize.d.ts +2 -0
  454. package/dist/utilities/localize.js +2 -2
  455. package/dist/web-types.json +1 -1
  456. package/dist-versioned/chunks/{chunk.4PVDPEDP.js → chunk.2CMDU7LE.js} +2 -2
  457. package/dist-versioned/chunks/{chunk.2FVZOVKD.js → chunk.3WEVFLW7.js} +3 -3
  458. package/dist-versioned/chunks/{chunk.BN5RGZ7X.js → chunk.4B5EGHWK.js} +7 -7
  459. package/dist-versioned/chunks/{chunk.M5DERDHH.js → chunk.4PFA6NBM.js} +8 -8
  460. package/dist-versioned/chunks/{chunk.ZZYYNAHQ.js → chunk.554TR2QJ.js} +5 -5
  461. package/dist-versioned/chunks/{chunk.ULAWTDWL.js → chunk.5R2FUL3M.js} +12 -12
  462. package/dist-versioned/chunks/{chunk.W5AX2LUX.js → chunk.66XUGEDR.js} +3 -3
  463. package/dist-versioned/chunks/{chunk.4DD46TI2.js → chunk.6SJJNBCP.js} +6 -6
  464. package/dist-versioned/chunks/{chunk.OYNQ7MZD.js → chunk.73T5OM3X.js} +6 -6
  465. package/dist-versioned/chunks/{chunk.2MAKCGJO.js → chunk.7BNWRUYC.js} +5 -5
  466. package/dist-versioned/chunks/{chunk.RKZHGP4C.js → chunk.7LH5KLUQ.js} +11 -11
  467. package/dist-versioned/chunks/{chunk.63RKU7YA.js → chunk.BIXTMKRG.js} +14 -14
  468. package/{dist/chunks/chunk.XWRZKAAC.js → dist-versioned/chunks/chunk.BT6SAX2H.js} +2 -0
  469. package/dist-versioned/chunks/chunk.C3WIBDGG.js +2 -2
  470. package/dist-versioned/chunks/{chunk.JTMX3R54.js → chunk.CEK6W53N.js} +10 -10
  471. package/dist-versioned/chunks/{chunk.36LQO3TW.js → chunk.DS6JCFE6.js} +7 -7
  472. package/dist-versioned/chunks/{chunk.FIJX3VUF.js → chunk.EGPCWSNS.js} +22 -25
  473. package/dist-versioned/chunks/{chunk.SEB7UTAG.js → chunk.FCH3EM35.js} +5 -5
  474. package/dist-versioned/chunks/{chunk.LVXSD6QO.js → chunk.FSPPHB6U.js} +3 -3
  475. package/dist-versioned/chunks/{chunk.NMCXKPQT.js → chunk.FZROG22H.js} +4 -4
  476. package/dist-versioned/chunks/{chunk.K35ZY362.js → chunk.GGHQ52NQ.js} +2 -2
  477. package/dist-versioned/chunks/{chunk.TKDGBDMS.js → chunk.GXIIWLC3.js} +14 -14
  478. package/dist-versioned/chunks/{chunk.UX4SNJ4S.js → chunk.HFOVEHX5.js} +4 -4
  479. package/dist-versioned/chunks/{chunk.2LQUJBN6.js → chunk.HLAAYYPN.js} +4 -4
  480. package/dist-versioned/chunks/chunk.JBLVT4GJ.js +4 -4
  481. package/dist-versioned/chunks/{chunk.OYGPRSLI.js → chunk.JDFXEERS.js} +3 -3
  482. package/dist-versioned/chunks/{chunk.2EW7BYJZ.js → chunk.JDOBF6BR.js} +6 -6
  483. package/dist-versioned/chunks/{chunk.7MRFW5WU.js → chunk.JDXUSLDX.js} +6 -6
  484. package/dist-versioned/chunks/{chunk.LQFP4TQA.js → chunk.JID3PBFI.js} +5 -5
  485. package/dist-versioned/chunks/{chunk.F4SSJ3OK.js → chunk.JNI3S2KE.js} +3 -3
  486. package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
  487. package/dist-versioned/chunks/{chunk.7BBBC4LC.js → chunk.L5WQTPWN.js} +6 -6
  488. package/dist-versioned/chunks/{chunk.4UDWRELW.js → chunk.MU4ARXB6.js} +6 -6
  489. package/dist-versioned/chunks/{chunk.AFXQPWOT.js → chunk.N74J2PD2.js} +3 -3
  490. package/dist-versioned/chunks/{chunk.PBISMPN4.js → chunk.NAPTGGU6.js} +3 -3
  491. package/dist-versioned/chunks/{chunk.PIOYH3TM.js → chunk.NNLMYT4Y.js} +6 -6
  492. package/dist-versioned/chunks/{chunk.SP3UZWV2.js → chunk.NVSTD2DO.js} +2 -2
  493. package/dist-versioned/chunks/{chunk.VASBQKR7.js → chunk.O5LCY7TO.js} +2 -2
  494. package/dist-versioned/chunks/{chunk.R6MGPVBY.js → chunk.ONQ4DNCZ.js} +7 -7
  495. package/dist-versioned/chunks/{chunk.GYT2MOIG.js → chunk.PAAXLQEE.js} +5 -5
  496. package/dist-versioned/chunks/{chunk.SVQ4W63O.js → chunk.PDVDXT7L.js} +6 -6
  497. package/dist-versioned/chunks/{chunk.3IATPYUU.js → chunk.Q2LD7K7G.js} +3 -3
  498. package/dist-versioned/chunks/{chunk.GGTTE3O5.js → chunk.REB4VPRZ.js} +6 -6
  499. package/dist-versioned/chunks/{chunk.OXOO3KJR.js → chunk.RMCQYKQU.js} +4 -4
  500. package/dist-versioned/chunks/{chunk.UUWLJUQT.js → chunk.ROVOABKA.js} +2 -2
  501. package/dist-versioned/chunks/{chunk.UF32T6VG.js → chunk.RRKI42AI.js} +15 -15
  502. package/dist-versioned/chunks/{chunk.64ZBVBUO.js → chunk.S7LF3J2N.js} +26 -26
  503. package/dist-versioned/chunks/{chunk.ZXTVK4F6.js → chunk.SEYEP4X4.js} +5 -5
  504. package/dist-versioned/chunks/{chunk.YIT6KCWE.js → chunk.SFPE7RE4.js} +2 -2
  505. package/dist-versioned/chunks/{chunk.TEYSL3L7.js → chunk.SPIQLTTT.js} +12 -12
  506. package/dist-versioned/chunks/{chunk.3CHCXOIV.js → chunk.TRCABGDR.js} +12 -12
  507. package/dist-versioned/chunks/{chunk.XYVBMQYZ.js → chunk.U7HC4ENJ.js} +33 -33
  508. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  509. package/dist-versioned/chunks/{chunk.PZF3TKOL.js → chunk.UW4QZGI6.js} +11 -11
  510. package/dist-versioned/chunks/{chunk.W232H3IB.js → chunk.V2RTJVJM.js} +2 -2
  511. package/dist-versioned/chunks/chunk.V2SCLPWH.js +93 -0
  512. package/dist-versioned/chunks/{chunk.E6I6KKTK.js → chunk.W7ISDYXU.js} +9 -9
  513. package/dist-versioned/chunks/{chunk.UCXRXX5Z.js → chunk.WOWGU7GJ.js} +11 -11
  514. package/dist-versioned/chunks/{chunk.B3QOYMWK.js → chunk.WQAFDWYF.js} +3 -3
  515. package/{dist/chunks/chunk.GWKDETUD.js → dist-versioned/chunks/chunk.X4IYFUX6.js} +2 -0
  516. package/dist-versioned/chunks/{chunk.4OTHCSXL.js → chunk.XPYX76I7.js} +4 -4
  517. package/dist-versioned/chunks/{chunk.NJDWX5QK.js → chunk.XUAUAYS7.js} +26 -26
  518. package/dist-versioned/chunks/{chunk.MSAZP6MW.js → chunk.YETBDRJZ.js} +7 -7
  519. package/dist-versioned/chunks/{chunk.3EWWVPVW.js → chunk.Z4J2IINI.js} +3 -3
  520. package/dist-versioned/chunks/{chunk.2KAT6BIE.js → chunk.ZPQXUDJE.js} +7 -7
  521. package/dist-versioned/chunks/{chunk.QGQMA2DH.js → chunk.ZTDT5XR4.js} +3 -3
  522. package/dist-versioned/components/accordion/accordion.d.ts +1 -1
  523. package/dist-versioned/components/accordion/accordion.js +5 -5
  524. package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  525. package/dist-versioned/components/accordion-group/accordion-group.js +6 -6
  526. package/dist-versioned/components/animation/animation.d.ts +1 -1
  527. package/dist-versioned/components/animation/animation.js +2 -2
  528. package/dist-versioned/components/audio/audio.d.ts +1 -1
  529. package/dist-versioned/components/audio/audio.js +8 -8
  530. package/dist-versioned/components/badge/badge.d.ts +1 -1
  531. package/dist-versioned/components/badge/badge.js +2 -2
  532. package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
  533. package/dist-versioned/components/brandshape/brandshape.js +2 -2
  534. package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  535. package/dist-versioned/components/breadcrumb/breadcrumb.js +7 -7
  536. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  537. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.js +5 -5
  538. package/dist-versioned/components/button/button.d.ts +1 -1
  539. package/dist-versioned/components/button/button.js +5 -5
  540. package/dist-versioned/components/button-group/button-group.d.ts +1 -1
  541. package/dist-versioned/components/button-group/button-group.js +2 -2
  542. package/dist-versioned/components/carousel/carousel.d.ts +1 -1
  543. package/dist-versioned/components/carousel/carousel.js +6 -6
  544. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  545. package/dist-versioned/components/carousel-item/carousel-item.js +2 -2
  546. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  547. package/dist-versioned/components/checkbox/checkbox.js +3 -3
  548. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  549. package/dist-versioned/components/checkbox-group/checkbox-group.js +3 -3
  550. package/dist-versioned/components/combobox/combobox.d.ts +1 -1
  551. package/dist-versioned/components/combobox/combobox.js +7 -7
  552. package/dist-versioned/components/datepicker/datepicker.d.ts +1 -1
  553. package/dist-versioned/components/datepicker/datepicker.js +7 -7
  554. package/dist-versioned/components/dialog/dialog.d.ts +1 -1
  555. package/dist-versioned/components/dialog/dialog.js +7 -7
  556. package/dist-versioned/components/divider/divider.d.ts +1 -1
  557. package/dist-versioned/components/divider/divider.js +2 -2
  558. package/dist-versioned/components/drawer/drawer.d.ts +1 -1
  559. package/dist-versioned/components/drawer/drawer.js +7 -7
  560. package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
  561. package/dist-versioned/components/dropdown/dropdown.js +5 -5
  562. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  563. package/dist-versioned/components/expandable/expandable.js +5 -5
  564. package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
  565. package/dist-versioned/components/flipcard/flipcard.js +7 -7
  566. package/dist-versioned/components/header/header.d.ts +1 -1
  567. package/dist-versioned/components/header/header.js +2 -2
  568. package/dist-versioned/components/icon/icon.d.ts +1 -1
  569. package/dist-versioned/components/icon/icon.js +2 -2
  570. package/dist-versioned/components/include/include.d.ts +1 -1
  571. package/dist-versioned/components/include/include.js +2 -2
  572. package/dist-versioned/components/input/input.d.ts +1 -1
  573. package/dist-versioned/components/input/input.js +5 -5
  574. package/dist-versioned/components/link/link.d.ts +1 -1
  575. package/dist-versioned/components/link/link.js +2 -2
  576. package/dist-versioned/components/loader/loader.d.ts +1 -1
  577. package/dist-versioned/components/loader/loader.js +4 -4
  578. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  579. package/dist-versioned/components/map-marker/map-marker.js +2 -2
  580. package/dist-versioned/components/menu/menu.d.ts +1 -1
  581. package/dist-versioned/components/menu/menu.js +4 -4
  582. package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
  583. package/dist-versioned/components/menu-item/menu-item.js +2 -2
  584. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  585. package/dist-versioned/components/navigation-item/navigation-item.js +6 -6
  586. package/dist-versioned/components/notification/notification.d.ts +1 -1
  587. package/dist-versioned/components/notification/notification.js +7 -7
  588. package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
  589. package/dist-versioned/components/optgroup/optgroup.js +5 -5
  590. package/dist-versioned/components/option/option.d.ts +1 -1
  591. package/dist-versioned/components/option/option.js +3 -3
  592. package/dist-versioned/components/popup/popup.d.ts +1 -1
  593. package/dist-versioned/components/popup/popup.js +2 -2
  594. package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
  595. package/dist-versioned/components/quickfact/quickfact.js +6 -6
  596. package/dist-versioned/components/radio/radio.d.ts +1 -1
  597. package/dist-versioned/components/radio/radio.js +2 -2
  598. package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
  599. package/dist-versioned/components/radio-button/radio-button.js +2 -2
  600. package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
  601. package/dist-versioned/components/radio-group/radio-group.js +4 -4
  602. package/dist-versioned/components/range/range.d.ts +1 -1
  603. package/dist-versioned/components/range/range.js +7 -7
  604. package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
  605. package/dist-versioned/components/range-tick/range-tick.js +4 -4
  606. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  607. package/dist-versioned/components/scrollable/scrollable.js +5 -5
  608. package/dist-versioned/components/select/select.d.ts +1 -1
  609. package/dist-versioned/components/select/select.js +7 -7
  610. package/dist-versioned/components/skeleton/skeleton.d.ts +1 -1
  611. package/dist-versioned/components/skeleton/skeleton.js +2 -2
  612. package/dist-versioned/components/spinner/spinner.d.ts +1 -1
  613. package/dist-versioned/components/spinner/spinner.js +4 -4
  614. package/dist-versioned/components/step/step.d.ts +1 -1
  615. package/dist-versioned/components/step/step.js +3 -3
  616. package/dist-versioned/components/step-group/step-group.d.ts +1 -1
  617. package/dist-versioned/components/step-group/step-group.js +2 -2
  618. package/dist-versioned/components/switch/switch.d.ts +1 -1
  619. package/dist-versioned/components/switch/switch.js +2 -2
  620. package/dist-versioned/components/tab/tab.d.ts +1 -1
  621. package/dist-versioned/components/tab/tab.js +4 -4
  622. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  623. package/dist-versioned/components/tab-group/tab-group.js +5 -5
  624. package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  625. package/dist-versioned/components/tab-panel/tab-panel.js +2 -2
  626. package/dist-versioned/components/tag/tag.d.ts +1 -1
  627. package/dist-versioned/components/tag/tag.js +5 -5
  628. package/dist-versioned/components/teaser/teaser.js +2 -2
  629. package/dist-versioned/components/teaser-media/teaser-media.js +2 -2
  630. package/dist-versioned/components/textarea/textarea.d.ts +1 -1
  631. package/dist-versioned/components/textarea/textarea.js +3 -3
  632. package/dist-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  633. package/dist-versioned/components/theme-listener/theme-listener.js +2 -2
  634. package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
  635. package/dist-versioned/components/tooltip/tooltip.js +6 -6
  636. package/dist-versioned/components/video/video.d.ts +1 -1
  637. package/dist-versioned/components/video/video.js +5 -5
  638. package/dist-versioned/custom-elements.json +246 -246
  639. package/dist-versioned/internal/form.js +2 -2
  640. package/dist-versioned/solid-components.css +2 -2
  641. package/dist-versioned/solid-components.js +62 -62
  642. package/dist-versioned/translations/de.js +1 -1
  643. package/dist-versioned/translations/en.js +1 -1
  644. package/dist-versioned/utilities/autocomplete-config.js +2 -2
  645. package/dist-versioned/utilities/localize.d.ts +2 -0
  646. package/dist-versioned/utilities/localize.js +2 -2
  647. package/dist-versioned/vscode.html-custom-data.json +107 -107
  648. package/dist-versioned/web-types.json +157 -157
  649. package/package.json +1 -1
  650. package/cdn/chunks/chunk.B3QUTUIL.js +0 -1
  651. package/cdn/chunks/chunk.DX2U3PRB.js +0 -26
  652. package/cdn/chunks/chunk.UIPLDTDG.js +0 -12
  653. package/cdn-versioned/chunks/chunk.B3QUTUIL.js +0 -1
  654. package/cdn-versioned/chunks/chunk.DX2U3PRB.js +0 -26
  655. package/cdn-versioned/chunks/chunk.UIPLDTDG.js +0 -12
  656. package/dist/chunks/chunk.V7PNN6GB.js +0 -93
  657. package/dist-versioned/chunks/chunk.V7PNN6GB.js +0 -93
@@ -1,12 +1,12 @@
1
- import{a as R}from"./chunk.W4EADN3G.js";import{a as B}from"./chunk.X2GM34WQ.js";import{a as D,d as K,e as U,f as $}from"./chunk.W7A3TU2Z.js";import{c as H}from"./chunk.3L472FD4.js";import{b as A}from"./chunk.RAP66B6O.js";import{a as P}from"./chunk.SLXPE3UU.js";import{a as _}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.3XPSGHFS.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.DX2U3PRB.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 _(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=B;this.multiple=!1;this.useTags=!0;this.maxOptionsVisible=3;this.styleOnValid=!1;this.filter=(t,e)=>{let i=$(t.value),a=$(t.getTextLabel()),o=$(e);return i.includes(o)||a.includes(o)};this.getTag=t=>p`<sd-6-16-0-tag class="min-w-0 max-w-full" ?disabled="${this.disabled}" part="tag" exportparts="
1
+ import{a as R}from"./chunk.W4EADN3G.js";import{a as B}from"./chunk.X2GM34WQ.js";import{a as D,d as K,e as U,f as $}from"./chunk.W7A3TU2Z.js";import{c as H}from"./chunk.3L472FD4.js";import{b as A}from"./chunk.RAP66B6O.js";import{a as P}from"./chunk.SLXPE3UU.js";import{a as _}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.3XPSGHFS.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.M6E2RMEB.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 _(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=B;this.multiple=!1;this.useTags=!0;this.maxOptionsVisible=3;this.styleOnValid=!1;this.filter=(t,e)=>{let i=$(t.value),a=$(t.getTextLabel()),o=$(e);return i.includes(o)||a.includes(o)};this.getTag=t=>p`<sd-6-16-2-tag class="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-16-0-tag>`;this.handleDocumentFocusIn=t=>{let e=t.composedPath();this&&!e.includes(this)&&this.hide()};this.handleDocumentKeyDown=t=>{let i=t.composedPath().some(n=>n instanceof HTMLButtonElement&&n.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 n=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||n!=null&&n.disabled)return;if(n&&!n.disabled){let c=this.value;this.multiple?(this.toggleOptionSelection(n),this.lastOption=n,this.setOrderedSelectedOptions(n),this.updateComplete.then(()=>{this.selectionChanged()})):(this.setOrderedSelectedOptions(n),this.setSelectedOptions(n)),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-16-0-optgroup"?(Array.from(e.children).forEach(i=>{i.tagName.toLowerCase()==="sd-6-16-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-16-0-tag class="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-16-2-tag>`;this.handleDocumentFocusIn=t=>{let e=t.composedPath();this&&!e.includes(this)&&this.hide()};this.handleDocumentKeyDown=t=>{let i=t.composedPath().some(n=>n instanceof HTMLButtonElement&&n.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 n=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||n!=null&&n.disabled)return;if(n&&!n.disabled){let c=this.value;this.multiple?(this.toggleOptionSelection(n),this.lastOption=n,this.setOrderedSelectedOptions(n),this.updateComplete.then(()=>{this.selectionChanged()})):(this.setOrderedSelectedOptions(n),this.setSelectedOptions(n)),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-16-2-optgroup"?(Array.from(e.children).forEach(i=>{i.tagName.toLowerCase()==="sd-6-16-2-option"&&t(i)}),e):t(e))}get tags(){return this.selectedOptions.length<=this.maxOptionsVisible?this.selectedOptions.map((t,e)=>{if(e<this.maxOptionsVisible||this.maxOptionsVisible<=0){let i=this.getTag(t,e);return p`<div @sd-remove="${a=>this.handleTagRemove(a,t)}">${typeof i=="string"?I(i):i}</div>`}return[p``]}):[p`<sd-6-16-2-tag class="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-16-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(o=>o instanceof HTMLSlotElement&&o.name==="removable-indicator");if(this.disabled||i)return;(this.open?this.hide():this.show()).then(()=>{setTimeout(()=>this.displayInput.focus({preventScroll:!0}))})}async handleComboboxKeyDown(t){var e;if(t.key==="Tab"){if(this.displayInputValue="",this.displayInput.value="",this.open&&((e=this.shadowRoot)==null?void 0:e.activeElement)===this.displayInput){t.preventDefault(),this.open=!1,await this.updateComplete,this.displayInput.focus();return}return}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-16-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),o=Math.max(0,a);if(t){let n=a+1;o=n>e.length-1?0:n}else{let n=a-1;o=n<0?e.length-1:n}this.setCurrentOption(e[o],new KeyboardEvent("keydown")),H(this.getCurrentOption(),this.listbox,"vertical","auto")}getAllFilteredOptions(){return[...this.filteredWrapper.querySelectorAll("sd-6-16-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(o=>o.value&&t.value?o.value===t.value:o.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(o=>o?this.isOptionSelected(o):!1);this.multiple?(!t&&this.selectedOptions.length>0?this.value=[...this.value,...this.selectedOptions.map(o=>o.value||o.getTextLabel())]:this.value=this.selectedOptions.map(o=>(o==null?void 0:o.value)||(o==null?void 0:o.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-16-0-optgroup"))return a;let n=i.parentElement,g=(x=n.querySelector('[slot="label"]'))==null?void 0:x.cloneNode(!0),c=e.find(b=>b.id===n.id);if(c){c==null||c.appendChild(a),g&&(c==null||c.appendChild(g));return}let h=n.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-16-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 K(D(this.defaultSlot)).flat()}getSlottedOptGroups(){return U(D(this.defaultSlot))}async handleDefaultSlotChange(){if(!customElements.get("sd-6-16-0-option")){customElements.whenDefined("sd-6-16-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,o)=>{this.multiple&&(a.checkbox=!0),a.id=a.id||`sd-6-16-0-combobox-option-${o}`}),e.forEach((a,o)=>{a.id=a.id||`sd-6-16-0-combobox-optgroup-${o}`}),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,o=this.helpText?!0:!!i,n=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":"sd-6-16-0-icon-fill-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 form-control-border-radius 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-16-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-16-2-tag>`]}addOpenListeners(){document.addEventListener("focusin",this.handleDocumentFocusIn),document.addEventListener("mousedown",this.handleDocumentMouseDown),this.getRootNode()!==document&&this.getRootNode().addEventListener("focusin",this.handleDocumentFocusIn)}removeOpenListeners(){document.removeEventListener("focusin",this.handleDocumentFocusIn),document.removeEventListener("mousedown",this.handleDocumentMouseDown),this.getRootNode()!==document&&this.getRootNode().removeEventListener("focusin",this.handleDocumentFocusIn)}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleTagKeyDown(t,e){(t.key==="Backspace"||t.key==="Enter"||t.key===" ")&&this.multiple&&(t.preventDefault(),t.stopPropagation(),this.handleTagRemove(new CustomEvent("sd-remove"),e),this.updateComplete.then(()=>this.displayInput.focus({preventScroll:!0})))}handleTagMaxOptionsKeyDown(t){(t.key==="Backspace"||t.key==="Enter"||t.key===" ")&&this.multiple&&(t.preventDefault(),t.stopPropagation(),this.handleTagRemove(new CustomEvent("sd-remove"),this.selectedOptions[this.selectedOptions.length-1]),this.updateComplete.then(()=>this.displayInput.focus({preventScroll:!0})))}handleLabelClick(){this.visuallyDisabled||this.displayInput.focus()}handleTagRemove(t,e){t.stopPropagation(),e||this.clearCombobox(),e&&!this.disabled&&(this.toggleOptionSelection(e,!1),this.setOrderedSelectedOptions(e),this.deletedTagLabel="",this.deletedTagLabel=this.localize.term("removed",e.textContent),this.updateComplete.then(()=>{this.selectionChanged(),this.emit("sd-input"),this.emit("sd-change")}))}handleComboboxMouseDown(t){if(this.visuallyDisabled){t.preventDefault(),t.stopPropagation();return}let i=t.composedPath().some(o=>o instanceof HTMLSlotElement&&o.name==="removable-indicator");if(this.disabled||i)return;(this.open?this.hide():this.show()).then(()=>{setTimeout(()=>this.displayInput.focus({preventScroll:!0}))})}async handleComboboxKeyDown(t){var e;if(t.key==="Tab"){if(this.displayInputValue="",this.displayInput.value="",this.open&&((e=this.shadowRoot)==null?void 0:e.activeElement)===this.displayInput){t.preventDefault(),this.open=!1,await this.updateComplete,this.displayInput.focus();return}return}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-16-2-option"),a=this.value;i&&!i.disabled&&(this.multiple?(this.toggleOptionSelection(i),this.lastOption=i,this.setOrderedSelectedOptions(i),this.updateComplete.then(()=>{this.selectionChanged()})):(this.setOrderedSelectedOptions(i),this.setSelectedOptions(i)),this.updateComplete.then(()=>{this.displayInput.focus({preventScroll:!0}),this.value!==a&&(this.emit("sd-input"),this.emit("sd-change"))}),this.multiple||(this.hide(),this.displayInput.focus({preventScroll:!0})))}selectNextOption(t){let e=this.getAllFilteredOptions();if(e.length===0)return;let i=this.getCurrentOption(),a=e.indexOf(i),o=Math.max(0,a);if(t){let n=a+1;o=n>e.length-1?0:n}else{let n=a-1;o=n<0?e.length-1:n}this.setCurrentOption(e[o],new KeyboardEvent("keydown")),H(this.getCurrentOption(),this.listbox,"vertical","auto")}getAllFilteredOptions(){return[...this.filteredWrapper.querySelectorAll("sd-6-16-2-option")]}getCurrentOption(){return this.getAllFilteredOptions().find(t=>t.current)}setCurrentOption(t,e){let i=this.getAllFilteredOptions();this.displayInput.removeAttribute("aria-activedescendant"),i.forEach(a=>{a.current=!1,a.setAttribute("aria-selected","false"),a.isKeyboardFocus=!1}),t&&(t.current=!0,t.setAttribute("aria-selected","true"),this.displayInput.setAttribute("aria-activedescendant",t.id)),t&&(e==null?void 0:e.type)==="keydown"&&(t.isKeyboardFocus=!0)}toggleOptionSelection(t,e){let a=this.getSlottedOptions().find(o=>o.value&&t.value?o.value===t.value:o.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(o=>o?this.isOptionSelected(o):!1);this.multiple?(!t&&this.selectedOptions.length>0?this.value=[...this.value,...this.selectedOptions.map(o=>o.value||o.getTextLabel())]:this.value=this.selectedOptions.map(o=>(o==null?void 0:o.value)||(o==null?void 0:o.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-16-2-optgroup"))return a;let n=i.parentElement,g=(x=n.querySelector('[slot="label"]'))==null?void 0:x.cloneNode(!0),c=e.find(b=>b.id===n.id);if(c){c==null||c.appendChild(a),g&&(c==null||c.appendChild(g));return}let h=n.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-16-2-option")&&t.forEach(e=>{e.checkbox=this.multiple})}applySizeToOptions(){this.getSlottedOptions().forEach(t=>{t.size=this.size})}handleDisabledChange(){this.formControlController.setValidity(this.disabled),(this.disabled||this.visuallyDisabled)&&(this.open=!1,this.handleOpenChange())}handleValueChange(){this.syncSelectedOptionsAndValue(),this.multiple?this.createComboboxOptionsFromQuery(this.displayInput.value):this.createComboboxOptionsFromQuery("")}handleDisplayInputValueChange(){this.createComboboxOptionsFromQuery(this.displayInputValue)}async handleOpenChange(){if(this.open&&(!this.disabled||!this.visuallyDisabled)){this.emit("sd-show"),this.addOpenListeners(),await T(this),this.listbox.hidden=!1,this.popup.active=!0;let{keyframes:i,options:a}=k(this,"combobox.show",{dir:this.localize.dir()});await S(this.popup.popup,i,a),this.emit("sd-after-show"),this.filteredOptions.length===0&&this.emit("sd-error");return}this.setCurrentOption(null),this.displayInput.removeAttribute("aria-activedescendant"),this.emit("sd-hide"),this.removeOpenListeners(),await T(this);let{keyframes:t,options:e}=k(this,"combobox.hide",{dir:this.localize.dir()});await S(this.popup.popup,t,e),this.listbox.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}handleSizeChange(){this.size=this.floatingLabel&&this.size==="sm"?"md":this.size}async show(){if(this.open||this.disabled||this.visuallyDisabled){this.open=!1;return}return this.open=!0,Promise.race([w(this,"sd-after-show"),w(this,"sd-error")])}async hide(){if(!this.open||this.disabled){this.open=!1;return}return this.displayInputValue="",this.open=!1,w(this,"sd-after-hide")}checkValidity(){return this.valueInput.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.valueInput.reportValidity()}setCustomValidity(t){this.valueInput.setCustomValidity(t),this.formControlController.updateValidity()}focus(t){this.displayInput.focus(t)}blur(){this.displayInput.blur()}async handleInput(){let t=this.displayInput.value;this.displayInputValue=t,await this.updateComplete,this.open=this.filteredWrapper.children.length>0,this.formControlController.updateValidity(),this.emit("sd-input")}handleChange(){(!this.selectedOptions||!this.multiple)&&(this.selectedTextLabel=this.displayInput.value,this.updateComplete.then(()=>{this.formControlController.updateValidity()}),this.emit("sd-change"))}getSlottedOptions(){return K(D(this.defaultSlot)).flat()}getSlottedOptGroups(){return U(D(this.defaultSlot))}async handleDefaultSlotChange(){if(!customElements.get("sd-6-16-2-option")){customElements.whenDefined("sd-6-16-2-option").then(()=>this.handleDefaultSlotChange());return}let t=this.getSlottedOptions(),e=this.getSlottedOptGroups();this.applySizeToOptions();let i=this.findOptionByValue(t,this.value);this.selectedTextLabel=(i==null?void 0:i.getTextLabel())||"",t.forEach((a,o)=>{this.multiple&&(a.checkbox=!0),a.id=a.id||`sd-6-16-2-combobox-option-${o}`}),e.forEach((a,o)=>{a.id=a.id||`sd-6-16-2-combobox-optgroup-${o}`}),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,o=this.helpText?!0:!!i,n=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":"sd-6-16-2-icon-fill-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 form-control-border-radius 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-16-2-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${d("inline-flex relative w-full",this.currentPlacement==="bottom"?"origin-top":"origin-bottom")}" placement="${this.placement}" strategy="${this.hoist?"fixed":"absolute"}" flip shift sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
10
10
  popup:popup__content,
11
- "><div part="combobox" class="${d("relative w-full px-4 flex flex-row items-center form-control-border-radius transition-colors hover:duration-fast ease-in-out",this.visuallyDisabled||this.disabled?"hover:bg-transparent":"hover:[@media(hover: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>`:""}<div class="${d("flex flex-wrap items-center gap-1 w-full min-w-0 relative",this.floatingLabel&&"mt-4")}">${this.multiple&&this.useTags&&this.tags&&this.tags.length>0?p`<div part="tags" class="${d("flex flex-wrap items-center gap-1 min-w-0",z)}">${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:text-black":"placeholder:text-neutral-700",this.size==="sm"?h?"h-4":"h-6":h?"h-6":"h-8")}" 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><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}"> ${n?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-16-0-icon class="${d("text-neutral-700",y)}" name="closing-round" library="_internal"></sd-6-16-0-icon></slot></button>`:""} ${this.showInvalidStyle?p`<sd-6-16-0-icon part="invalid-icon" class="${d(b,y,"text-error")}" library="_internal" name="risk"></sd-6-16-0-icon>`:""} ${this.styleOnValid&&this.showValidStyle?p`<sd-6-16-0-icon part="valid-icon" class="${d("flex-shrink-0 text-success",b,y)}" library="_internal" name="confirm-circle"></sd-6-16-0-icon>`:""}<slot name="right" part="right" class="${d("inline-flex ml-2 leading-[0]",this.disabled||this.visuallyDisabled?"text-neutral-500":"sd-6-16-0-icon-fill-primary",y)}">${this.type!=="search"?p`<sd-6-16-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-16-0-icon>`:""}</slot>${this.type==="search"?p`<button class="${d("flex items-center sd-interactive",b)}" type="button"><sd-6-16-0-icon class="${d(x,y)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-6-16-0-icon></button>`:p`<button class="sd-interactive combobox-button absolute top-2 sd-color-icon-fill-primary" tabindex="-1" aria-hidden="true" @keydown="${this.handleComboboxMouseDown}" type="button"><span class="sr-only">${this.localize.term("open")}</span></button>`}</div><div id="listbox" role="${P(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-listbox transition-shadow duration-medium ease-in-out",this.currentPlacement==="bottom"?"border-r-2 border-b-2 border-l-2 form-control__listbox-border-bottom-right-radius form-control__listbox-border-bottom-left-radius":"border-r-2 border-t-2 border-l-2 form-control__listbox-border-top-right-radius form-control__listbox-border-top-left-radius")}" 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-16-0-popup></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${d("text-sm text-neutral-700 mt-1",o?"block":"hidden")}" aria-hidden="${!o}">${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-16-0-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-6-16-0-tag::part(base){border-radius:var(--sd-radius);border-width:var(--sd-combobox__tag-border-width,var(--sd-spacing-0\\.25));padding-inline:var(--sd-spacing-1)}sd-6-16-0-tag::part(content){display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:var(--tag-max-width,15ch)}sd-6-16-0-tag[size=lg]::part(base){padding-inline:var(--sd-spacing-2)}sd-6-16-0-tag[disabled=false]::part(base):hover{background-color:rgba(var(--sd-color-background-primary-100))}[part=filtered-listbox] sd-6-16-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}[part=chevron]{color:rgb(var(--sd-color-icon-fill-primary))}:host([disabled])::part(chevron),:host([visually-disabled])::part(chevron){color:rgba(var(--sd-color-icon-fill-neutral-500,--sd-color-neutral-500))}@property --tw-font-weight{syntax:"*";inherits:false}`],l([m("sd-6-16-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-16-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 form-control-border-radius transition-colors hover:duration-fast ease-in-out",this.visuallyDisabled||this.disabled?"hover:bg-transparent":"hover:[@media(hover: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>`:""}<div class="${d("flex flex-wrap items-center gap-1 w-full min-w-0 relative",this.floatingLabel&&"mt-4")}">${this.multiple&&this.useTags&&this.tags&&this.tags.length>0?p`<div part="tags" class="${d("flex flex-wrap items-center gap-1 min-w-0",z)}">${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:text-black":"placeholder:text-neutral-700",this.size==="sm"?h?"h-4":"h-6":h?"h-6":"h-8")}" 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><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}"> ${n?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-16-2-icon class="${d("text-neutral-700",y)}" name="closing-round" library="_internal"></sd-6-16-2-icon></slot></button>`:""} ${this.showInvalidStyle?p`<sd-6-16-2-icon part="invalid-icon" class="${d(b,y,"text-error")}" library="_internal" name="risk"></sd-6-16-2-icon>`:""} ${this.styleOnValid&&this.showValidStyle?p`<sd-6-16-2-icon part="valid-icon" class="${d("flex-shrink-0 text-success",b,y)}" library="_internal" name="confirm-circle"></sd-6-16-2-icon>`:""}<slot name="right" part="right" class="${d("inline-flex ml-2 leading-[0]",this.disabled||this.visuallyDisabled?"text-neutral-500":"sd-6-16-2-icon-fill-primary",y)}">${this.type!=="search"?p`<sd-6-16-2-icon class="${d("transition-transform duration-medium ease-in-out",this.open?"rotate-180":"rotate-0")}" name="chevron-down" part="chevron" library="_internal" color="currentColor" label="${this.localize.term("open")}"></sd-6-16-2-icon>`:""}</slot>${this.type==="search"?p`<button class="${d("flex items-center sd-interactive",b)}" type="button"><sd-6-16-2-icon class="${d(x,y)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-6-16-2-icon></button>`:p`<button class="sd-interactive combobox-button absolute top-2 sd-color-icon-fill-primary" tabindex="-1" aria-hidden="true" @keydown="${this.handleComboboxMouseDown}" type="button"><span class="sr-only">${this.localize.term("open")}</span></button>`}</div><div id="listbox" role="${P(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-listbox transition-shadow duration-medium ease-in-out",this.currentPlacement==="bottom"?"border-r-2 border-b-2 border-l-2 form-control__listbox-border-bottom-right-radius form-control__listbox-border-bottom-left-radius":"border-r-2 border-t-2 border-l-2 form-control__listbox-border-top-right-radius form-control__listbox-border-top-left-radius")}" 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-16-2-popup></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${d("text-sm text-neutral-700 mt-1",o?"block":"hidden")}" aria-hidden="${!o}">${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-16-2-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-6-16-2-tag::part(base){border-radius:var(--sd-radius);border-width:var(--sd-combobox__tag-border-width,var(--sd-spacing-0\\.25));padding-inline:var(--sd-spacing-1)}sd-6-16-2-tag::part(content){display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:var(--tag-max-width,15ch)}sd-6-16-2-tag[size=lg]::part(base){padding-inline:var(--sd-spacing-2)}sd-6-16-2-tag[disabled=false]::part(base):hover{background-color:rgba(var(--sd-color-background-primary-100))}[part=filtered-listbox] sd-6-16-2-optgroup:first-of-type{--display-divider:none}mark{background-color:transparent;--tw-font-weight:var(--sd-font-weight-bold);font-weight:var(--sd-font-weight-bold);color:inherit}[part=chevron]{color:rgb(var(--sd-color-icon-fill-primary))}:host([disabled])::part(chevron),:host([visually-disabled])::part(chevron){color:rgba(var(--sd-color-icon-fill-neutral-500,--sd-color-neutral-500))}@property --tw-font-weight{syntax:"*";inherits:false}`],l([m("sd-6-16-2-popup")],s.prototype,"popup",2),l([m('[part="combobox"]')],s.prototype,"combobox",2),l([m('[part="display-input"]')],s.prototype,"displayInput",2),l([m(".value-input")],s.prototype,"valueInput",2),l([m('[part="listbox"]')],s.prototype,"listbox",2),l([m('[part="tags"]')],s.prototype,"tagWrapper",2),l([m('[part="filtered-listbox"]')],s.prototype,"filteredWrapper",2),l([m("slot:not([name])")],s.prototype,"defaultSlot",2),l([m("#invalid-message")],s.prototype,"invalidMessage",2),l([u()],s.prototype,"hasFocus",2),l([u()],s.prototype,"displayInputValue",2),l([u()],s.prototype,"selectedTextLabel",2),l([u()],s.prototype,"selectedOptions",2),l([u()],s.prototype,"filteredOptions",2),l([u()],s.prototype,"allOptions",2),l([u()],s.prototype,"lastOption",2),l([u()],s.prototype,"showValidStyle",2),l([u()],s.prototype,"showInvalidStyle",2),l([u()],s.prototype,"deletedTagLabel",2),l([r({reflect:!0})],s.prototype,"name",2),l([r({converter:{fromAttribute:t=>t.split(" "),toAttribute:t=>t.join(" ")}})],s.prototype,"value",2),l([R()],s.prototype,"defaultValue",2),l([r({type:String,reflect:!0})],s.prototype,"size",2),l([r({type:String,reflect:!0})],s.prototype,"placeholder",2),l([r({type:String,attribute:"max-options-tag-label",reflect:!0})],s.prototype,"maxOptionsTagLabel",2),l([r({type:Boolean,reflect:!0})],s.prototype,"disabled",2),l([r({type:Boolean,reflect:!0,attribute:"visually-disabled"})],s.prototype,"visuallyDisabled",2),l([r({type:Boolean,reflect:!0})],s.prototype,"clearable",2),l([r({type:Boolean,reflect:!0})],s.prototype,"open",2),l([r({type:Boolean,reflect:!0})],s.prototype,"hoist",2),l([r({type:String,reflect:!0})],s.prototype,"label",2),l([r({type:String,reflect:!0})],s.prototype,"placement",2),l([r({type:String,attribute:"help-text",reflect:!0})],s.prototype,"helpText",2),l([r({type:String,reflect:!0})],s.prototype,"form",2),l([r({type:Boolean,reflect:!0})],s.prototype,"required",2),l([r({attribute:"floating-label",type:Boolean,reflect:!0})],s.prototype,"floatingLabel",2),l([r({type:String,reflect:!0})],s.prototype,"type",2),l([u()],s.prototype,"currentPlacement",2),l([r()],s.prototype,"getOption",2),l([r({type:Boolean,reflect:!0})],s.prototype,"multiple",2),l([r({type:Boolean,reflect:!0})],s.prototype,"useTags",2),l([r({type:Number,reflect:!0,attribute:"max-options-visible"})],s.prototype,"maxOptionsVisible",2),l([r({type:Boolean,reflect:!0,attribute:"style-on-valid"})],s.prototype,"styleOnValid",2),l([r()],s.prototype,"filter",2),l([r()],s.prototype,"getTag",2),l([f("filter",{waitUntilFirstUpdate:!0})],s.prototype,"handleFilterChange",1),l([f("useTags",{waitUntilFirstUpdate:!0})],s.prototype,"handleUseTagsChange",1),l([f("size",{waitUntilFirstUpdate:!0})],s.prototype,"applySizeToOptions",1),l([f(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],s.prototype,"handleDisabledChange",1),l([f("value",{waitUntilFirstUpdate:!0})],s.prototype,"handleValueChange",1),l([f("displayInputValue",{waitUntilFirstUpdate:!0})],s.prototype,"handleDisplayInputValueChange",1),l([f("open",{waitUntilFirstUpdate:!0})],s.prototype,"handleOpenChange",1),l([f(["size","floatingLabel"])],s.prototype,"handleSizeChange",1),s=l([F("sd-6-16-2-combobox")],s);C("combobox.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});C("combobox.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{s as a};
@@ -1,2 +1,2 @@
1
- import{a as p,c as m}from"./chunk.B2NUKX6G.js";import{b as w}from"./chunk.SV6DES3E.js";import{a as u}from"./chunk.KLRPP4NQ.js";import{a as g}from"./chunk.IQPMMUES.js";import{a as s}from"./chunk.3XPSGHFS.js";import{a as b}from"./chunk.NYKJXI3Q.js";import{a as y,b as n,d as r,h as c}from"./chunk.DX2U3PRB.js";import{b as f}from"./chunk.UOAG5PNU.js";import{b as l,e as d,f as h}from"./chunk.W4QBFD6E.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends c{constructor(){super(...arguments);this.localize=new g(this);this.open=!1}firstUpdated(){this.body.hidden=!this.open,this.body.style.height=this.open?"auto":"0",this.open&&(this.accordion.open=!0),this.accordionObserver=new MutationObserver(e=>{for(let o of e)o.type==="attributes"&&o.attributeName==="open"&&(this.accordion.open?this.show():this.hide())}),this.accordionObserver.observe(this.accordion,{attributes:!0})}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.accordionObserver)==null||e.disconnect()}handleSummaryClick(e){e.preventDefault(),this.open?this.hide():this.show()}handleSummaryKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.open?this.hide():this.show()),(e.key==="ArrowUp"||e.key==="ArrowLeft")&&(e.preventDefault(),this.hide()),(e.key==="ArrowDown"||e.key==="ArrowRight")&&(e.preventDefault(),this.show())}async handleOpenChange(){if(this.open){if(this.accordion.open=!0,this.emit("sd-show",{cancelable:!0}).defaultPrevented){this.open=!1,this.accordion.open=!1;return}await d(this.body),this.body.hidden=!1;let{keyframes:o,options:a}=m(this,"accordion.show",{dir:this.localize.dir()});await l(this.body,h(o,this.body.scrollHeight),a),this.body.style.height="auto",this.emit("sd-after-show")}else{if(this.emit("sd-hide",{cancelable:!0}).defaultPrevented){this.accordion.open=!0,this.open=!0;return}await d(this.body);let{keyframes:o,options:a}=m(this,"accordion.hide",{dir:this.localize.dir()});await l(this.body,h(o,this.body.scrollHeight),a),this.body.hidden=!0,this.body.style.height="auto",this.accordion.open=!1,this.emit("sd-after-hide")}}async show(){if(!this.open)return this.open=!0,u(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,u(this,"sd-after-hide")}render(){return w`<details part="base" class="border-neutral-400"><summary part="header" id="header" class="${s("flex text-base gap-4 font-bold items-center cursor-pointer select-none px-4 sd-6-16-0-accordion-padding-block focus-visible:focus-outline focus-visible:z-10 relative group transition-colors ease-in-out duration-fast hover:bg-neutral-200")}" aria-expanded="${this.open?"true":"false"}" aria-controls="content" tabindex="0" @click="${this.handleSummaryClick}" @keydown="${this.handleSummaryKeyDown}"><div part="summary-border" class="${s(!this.open&&"opacity-0","w-1 sd-6-16-0-accordion__indicator-color absolute left-0 transition-height duration-fast ease-in-out h-[calc(100%-16px)] group-hover:h-full")}"></div><slot name="summary" part="summary" class="flex flex-auto items-center text-left sd-6-16-0-accordion-color-text">${this.summary}</slot><span part="summary-icon" class="${s("flex flex-grow-0 flex-shrink-0 flex-auto items-center transition-all ease-in-out duration-medium text-xl",this.open&&"rotate-180")}"><slot name="expand-icon" class="${s(this.open&&"hidden")}"><sd-6-16-0-icon library="_internal" name="chevron-down"></sd-6-16-0-icon></slot><slot name="collapse-icon" class="${s(!this.open&&"hidden")}"><sd-6-16-0-icon library="_internal" name="chevron-down"></sd-6-16-0-icon></slot></span></summary><div part="content" id="content" class="overflow-hidden"><slot part="content__slot" class="block px-4 py-6" role="region" aria-labelledby="header"></slot></div></details>`}};t.styles=[...c.styles,f`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{display:block}[part=header]::-webkit-details-marker{display:none}[part=base]{border-block-width:var(--sd-accordion-border-width)}[part=summary-icon] sd-6-16-0-icon{color:rgb(var(--sd-accordion__chevron-color-text,var(--sd-accordion-color-icon-fill)))}`],i([r('[part="base"]')],t.prototype,"accordion",2),i([r('[part="header"]')],t.prototype,"header",2),i([r('[part="content"]')],t.prototype,"body",2),i([n({type:Boolean,reflect:!0})],t.prototype,"open",2),i([n({reflect:!0})],t.prototype,"summary",2),i([b("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),t=i([y("sd-6-16-0-accordion")],t);p("accordion.show",{keyframes:[{height:"0",opacity:"0"},{height:"auto",opacity:"1"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});p("accordion.hide",{keyframes:[{height:"auto",opacity:"1"},{height:"0",opacity:"0"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{t as a};
1
+ import{a as p,c as m}from"./chunk.B2NUKX6G.js";import{b as w}from"./chunk.SV6DES3E.js";import{a as u}from"./chunk.KLRPP4NQ.js";import{a as g}from"./chunk.IQPMMUES.js";import{a as s}from"./chunk.3XPSGHFS.js";import{a as b}from"./chunk.NYKJXI3Q.js";import{a as y,b as n,d as r,h as c}from"./chunk.M6E2RMEB.js";import{b as f}from"./chunk.UOAG5PNU.js";import{b as l,e as d,f as h}from"./chunk.W4QBFD6E.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends c{constructor(){super(...arguments);this.localize=new g(this);this.open=!1}firstUpdated(){this.body.hidden=!this.open,this.body.style.height=this.open?"auto":"0",this.open&&(this.accordion.open=!0),this.accordionObserver=new MutationObserver(e=>{for(let o of e)o.type==="attributes"&&o.attributeName==="open"&&(this.accordion.open?this.show():this.hide())}),this.accordionObserver.observe(this.accordion,{attributes:!0})}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.accordionObserver)==null||e.disconnect()}handleSummaryClick(e){e.preventDefault(),this.open?this.hide():this.show()}handleSummaryKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.open?this.hide():this.show()),(e.key==="ArrowUp"||e.key==="ArrowLeft")&&(e.preventDefault(),this.hide()),(e.key==="ArrowDown"||e.key==="ArrowRight")&&(e.preventDefault(),this.show())}async handleOpenChange(){if(this.open){if(this.accordion.open=!0,this.emit("sd-show",{cancelable:!0}).defaultPrevented){this.open=!1,this.accordion.open=!1;return}await d(this.body),this.body.hidden=!1;let{keyframes:o,options:a}=m(this,"accordion.show",{dir:this.localize.dir()});await l(this.body,h(o,this.body.scrollHeight),a),this.body.style.height="auto",this.emit("sd-after-show")}else{if(this.emit("sd-hide",{cancelable:!0}).defaultPrevented){this.accordion.open=!0,this.open=!0;return}await d(this.body);let{keyframes:o,options:a}=m(this,"accordion.hide",{dir:this.localize.dir()});await l(this.body,h(o,this.body.scrollHeight),a),this.body.hidden=!0,this.body.style.height="auto",this.accordion.open=!1,this.emit("sd-after-hide")}}async show(){if(!this.open)return this.open=!0,u(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,u(this,"sd-after-hide")}render(){return w`<details part="base" class="border-neutral-400"><summary part="header" id="header" class="${s("flex text-base gap-4 font-bold items-center cursor-pointer select-none px-4 sd-6-16-2-accordion-padding-block focus-visible:focus-outline focus-visible:z-10 relative group transition-colors ease-in-out duration-fast hover:bg-neutral-200")}" aria-expanded="${this.open?"true":"false"}" aria-controls="content" tabindex="0" @click="${this.handleSummaryClick}" @keydown="${this.handleSummaryKeyDown}"><div part="summary-border" class="${s(!this.open&&"opacity-0","w-1 sd-6-16-2-accordion__indicator-color absolute left-0 transition-height duration-fast ease-in-out h-[calc(100%-16px)] group-hover:h-full")}"></div><slot name="summary" part="summary" class="flex flex-auto items-center text-left sd-6-16-2-accordion-color-text">${this.summary}</slot><span part="summary-icon" class="${s("flex flex-grow-0 flex-shrink-0 flex-auto items-center transition-all ease-in-out duration-medium text-xl",this.open&&"rotate-180")}"><slot name="expand-icon" class="${s(this.open&&"hidden")}"><sd-6-16-2-icon library="_internal" name="chevron-down"></sd-6-16-2-icon></slot><slot name="collapse-icon" class="${s(!this.open&&"hidden")}"><sd-6-16-2-icon library="_internal" name="chevron-down"></sd-6-16-2-icon></slot></span></summary><div part="content" id="content" class="overflow-hidden"><slot part="content__slot" class="block px-4 py-6" role="region" aria-labelledby="header"></slot></div></details>`}};t.styles=[...c.styles,f`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{display:block}[part=header]::-webkit-details-marker{display:none}[part=base]{border-block-width:var(--sd-accordion-border-width)}[part=summary-icon] sd-6-16-2-icon{color:rgb(var(--sd-accordion__chevron-color-text,var(--sd-accordion-color-icon-fill)))}`],i([r('[part="base"]')],t.prototype,"accordion",2),i([r('[part="header"]')],t.prototype,"header",2),i([r('[part="content"]')],t.prototype,"body",2),i([n({type:Boolean,reflect:!0})],t.prototype,"open",2),i([n({reflect:!0})],t.prototype,"summary",2),i([b("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),t=i([y("sd-6-16-2-accordion")],t);p("accordion.show",{keyframes:[{height:"0",opacity:"0"},{height:"auto",opacity:"1"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});p("accordion.hide",{keyframes:[{height:"auto",opacity:"1"},{height:"0",opacity:"0"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{t as a};
@@ -0,0 +1,12 @@
1
+ import{a as $}from"./chunk.BJBQEPZV.js";import{a as k}from"./chunk.EOXYPQZI.js";import{a as L}from"./chunk.IUNS6MA3.js";import{a as T}from"./chunk.CBQWVOOS.js";import{a as M}from"./chunk.IQPMMUES.js";import{a as l}from"./chunk.3XPSGHFS.js";import{a as g}from"./chunk.NYKJXI3Q.js";import{a as P,b as p,c as b,d as v,e as E,h as S}from"./chunk.M6E2RMEB.js";import{b as _,e as m}from"./chunk.UOAG5PNU.js";import{d as A}from"./chunk.W4QBFD6E.js";import{e as r}from"./chunk.6EV4YU6C.js";function C(u,h,e){let i=t=>Object.is(t,-0)?0:t;return u<h?i(h):u>e?i(e):i(u)}function*I(u,h){if(u!==void 0){let e=0;for(let i of u)yield h(i,e++)}}function*O(u,h,e=1){let i=h===void 0?0:u;h!=null||(h=u);for(let t=i;e>0?t<h:h<t;t+=e)yield t}var o=class extends S{constructor(){super(...arguments);this.variant="number";this.inverted=!1;this.loop=!1;this.autoplay=!1;this.fade=!1;this.slidesPerPage=1;this.slidesPerMove=1;this.activeSlide=0;this.currentPage=1;this.pausedAutoplay=!1;this.isFocused=!1;this.autoplayController=new T(this,()=>{this.isFocused||this.next()});this.scrollController=new k(this);this.slides=this.getElementsByTagName("sd-6-16-2-carousel-item");this.intersectionObserverEntries=new Map;this.localize=new M(this);this.userInteracted=!1;this.fadeController=new $(this);this.handleUserInteraction=()=>{this.userInteracted=!0};this.handleSlotChange=e=>{e.some(t=>[...t.addedNodes,...t.removedNodes].some(s=>L.isCarouselItem(s)&&!s.hasAttribute("data-clone")))&&this.initializeSlides(),this.requestUpdate()};this.unblockAutoplay=(e,i)=>{e.detail&&i.blur()}}connectedCallback(){super.connectedCallback(),["click","keydown"].forEach(i=>this.addEventListener(i,this.handleUserInteraction)),this.addEventListener("focusin",this.handleFocus),this.addEventListener("focusout",this.handleBlur),this.addEventListener("keydown",this.handleKeyDown);let e=new IntersectionObserver(i=>{i.forEach(t=>{this.intersectionObserverEntries.set(t.target,t);let s=t.target;s.toggleAttribute("inert",!t.isIntersecting),s.classList.toggle("--in-view",t.isIntersecting),s.setAttribute("aria-hidden",t.isIntersecting?"false":"true")})},{root:this,threshold:.6});this.intersectionObserver=e,e.takeRecords().forEach(i=>{this.intersectionObserverEntries.set(i.target,i)})}disconnectedCallback(){super.disconnectedCallback(),this.intersectionObserver.disconnect(),this.mutationObserver.disconnect(),["click","keydown"].forEach(e=>this.removeEventListener(e,this.handleUserInteraction)),this.removeEventListener("focusin",this.handleFocus),this.removeEventListener("focusout",this.handleBlur),this.removeEventListener("keydown",this.handleKeyDown),this.fade&&this.fadeController.disable()}async firstUpdated(){if((()=>{let i=this.getSlides({excludeClones:!1});return i.length>0&&i[0].getBoundingClientRect().width>0})())this.initializeSlides();else{let i=new IntersectionObserver(t=>{t.forEach(s=>{s.isIntersecting&&s.target.getBoundingClientRect().width>0&&(this.initializeSlides(),i.disconnect())})});i.observe(this)}this.mutationObserver=new MutationObserver(this.handleSlotChange),this.mutationObserver.observe(this,{childList:!0,subtree:!1}),this.fade&&(await this.updateComplete,this.fadeController.enable())}getPageCount(e,i,t){return Math.ceil((e-i)/t)+1>0?Math.ceil((e-i)/t)+1:1}getCurrentPage(e,i,t,s){return Math.ceil((e-t)/s)-Math.ceil((e-t-i)/s)+1}getSlides({excludeClones:e=!0}={}){return[...this.slides].filter(i=>!e||!i.hasAttribute("data-clone"))}handleKeyDown(e){if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(e.key)){let i=e.target,t=this.localize.dir()==="rtl",s=i.closest('[part~="pagination-item"]')!==null,a=e.key==="ArrowDown"||!t&&e.key==="ArrowRight"||t&&e.key==="ArrowLeft",c=e.key==="ArrowUp"||!t&&e.key==="ArrowLeft"||t&&e.key==="ArrowRight";e.preventDefault(),c&&this.previous(),a&&this.next(),e.key==="Home"&&this.goToSlide(0),e.key==="End"&&this.goToSlide(this.getSlides().length-1),s&&this.updateComplete.then(()=>{var n;let d=(n=this.shadowRoot)==null?void 0:n.querySelector('[part~="pagination-item--active"]');d&&d.focus()})}}handleScrollEnd(){if(this.fade)return;let e=this.getSlides(),t=[...this.intersectionObserverEntries.values()].find(s=>s.isIntersecting);if(this.loop&&(t!=null&&t.target.hasAttribute("data-clone"))){let s=Number(t.target.getAttribute("data-clone"));this.goToSlide(s,"auto");return}t&&(this.activeSlide=e.indexOf(t.target))}handleFocus(){this.isFocused=!0}handleBlur(){this.isFocused=!1}getSlideText(e){var a;let i=[],t=document.createTreeWalker(e,NodeFilter.SHOW_ALL),s=t.nextNode();for(;s;){if(s.nodeType===Node.TEXT_NODE){let c=(a=s.textContent)==null?void 0:a.trim();c&&i.push(c)}else s instanceof HTMLImageElement&&s.alt&&i.push(s.alt);s=t.nextNode()}return i.join(" ")}pause(){this.pausedAutoplay=!0}resume(){this.pausedAutoplay=!1}handlePausedAutoplay(){this.pausedAutoplay?this.autoplayController.stop():this.autoplay&&this.autoplayController.start(3e3)}handleFadeChange(){this.fade?this.fadeController.enable():this.fadeController.disable()}initializeSlides(){let e=this.getSlides(),i=this.intersectionObserver;if(this.intersectionObserverEntries.clear(),this.getSlides({excludeClones:!1}).forEach((t,s)=>{i.unobserve(t),t.classList.remove("--in-view"),t.classList.remove("--is-active"),t.setAttribute("aria-label",this.localize.term("slideNum",s+1,e.length)),t.hasAttribute("data-clone")&&t.remove()}),this.loop&&!this.fade){let t=this.slidesPerPage,s=e.slice(-t),a=e.slice(0,t);s.reverse().forEach((c,d)=>{let n=c.cloneNode(!0);n.setAttribute("data-clone",String(e.length-d-1)),this.prepend(n)}),a.forEach((c,d)=>{let n=c.cloneNode(!0);n.setAttribute("data-clone",String(d)),this.append(n)})}this.getSlides({excludeClones:!1}).forEach(t=>{i.observe(t)}),this.fade&&this.updateComplete.then(()=>{this.fadeController.enable()}),this.fade||this.goToSlide(this.activeSlide,"auto")}handleSlideChange(){let e=this.getSlides();e.forEach((s,a)=>{s.classList.toggle("--is-active",a===this.activeSlide)}),this.fade&&this.fadeController.updateActiveSlide(this.activeSlide);let i=this.getCurrentPage(e.length,this.activeSlide,this.slidesPerPage,this.slidesPerMove);if(this.currentPage!==i&&(this.currentPage=i),this.hasUpdated&&(this.emit("sd-slide-change",{detail:{index:this.activeSlide,slide:e[this.activeSlide]}}),this.announcementRegion)){let s=this.getSlideText(e[this.activeSlide]),a=this.localize.term("slideNum",this.activeSlide+1,e.length);requestAnimationFrame(()=>{this.announcementRegion.textContent=s?`${s} ${a}`:a})}let t=this.getPageCount(e.length,this.slidesPerPage,this.slidesPerMove);this.currentPage>t&&requestAnimationFrame(()=>{this.nextTillFirst()})}handleSlidesPerMoveChange(){if(this.fade)return;let e=this.getSlides({excludeClones:!1}),i=this.slidesPerMove;e.forEach((t,s)=>{Math.abs(s-i)%i===0?t.style.removeProperty("scroll-snap-align"):t.style.setProperty("scroll-snap-align","none")})}handleAutoplayChange(){this.autoplayController.stop(),this.autoplay&&!this.pausedAutoplay&&this.autoplayController.start(3e3)}previous(e="smooth"){if(this.fade){let s=this.loop?(this.activeSlide-1+this.getSlides().length)%this.getSlides().length:Math.max(0,this.activeSlide-1);this.goToSlide(s);return}let i=this.activeSlide||this.activeSlide-this.slidesPerMove,t=!1;for(;!t&&i>0;)i-=1,t=Math.abs(i-this.slidesPerMove)%this.slidesPerMove===0;this.currentPage-1===0&&this.loop?this.goToSlide(this.activeSlide-this.slidesPerPage,e):this.goToSlide(i,e)}next(e="smooth"){if(this.fade){let i=this.loop?(this.activeSlide+1)%this.getSlides().length:Math.min(this.getSlides().length-1,this.activeSlide+1);this.goToSlide(i);return}this.currentPage+1<=this.getPageCount(this.getSlides().length,this.slidesPerPage,this.slidesPerMove)?this.goToSlide(this.activeSlide+this.slidesPerMove,e):this.loop&&this.nextTillFirst(e)}nextTillFirst(e="smooth"){if(this.fade){this.goToSlide(0);return}for(;this.activeSlide!==0;)this.goToSlide(this.activeSlide+1,e);this.currentPage=this.getCurrentPage(this.getSlides().length,this.activeSlide,this.slidesPerPage,this.slidesPerMove)}goToSlide(e,i="smooth"){let{slidesPerPage:t,loop:s,scrollContainer:a,fade:c}=this,d=this.getSlides(),n=this.getSlides({excludeClones:!1}),f=(e+d.length)%d.length;if(this.activeSlide=f,c)return;let y=C(e+(s?t:0),0,n.length+1),B=n[y],w=a.getBoundingClientRect(),x=B.getBoundingClientRect();if(a.scrollTo({left:x.left-w.left+a.scrollLeft,top:x.top-w.top+a.scrollTop,behavior:A()?"auto":i}),this.userInteracted&&!this.loop){let z=this.activeSlide===d.length-1||this.activeSlide===this.slides.length-this.slidesPerPage,F=this.activeSlide===0;z?this.previousButton.focus({preventScroll:!0}):F&&this.nextButton.focus({preventScroll:!0})}}render(){let{scrollController:e,slidesPerMove:i}=this,t=this.getPageCount(this.getSlides().length,this.slidesPerPage,this.slidesPerMove),s=this.getCurrentPage(this.getSlides().length,this.activeSlide,this.slidesPerPage,this.slidesPerMove),a=this.loop||s>1,c=this.loop||s<t,d=this.localize.dir()==="ltr";return m`<div part="base" class="${l("carousel h-full w-full relative")}"><button class="${l("ml-6 !rounded-sm","!absolute !bottom-0 !right-0 sd-interactive",this.inverted?"sd-interactive--inverted":"sd-interactive--reset",!this.autoplay&&"!hidden")}" part="autoplay-controls" aria-label="${this.pausedAutoplay?this.localize.term("startAutoplay"):this.localize.term("stopAutoplay")}" aria-pressed="true" @click="${n=>{this.pausedAutoplay=!this.pausedAutoplay,n.detail&&this.autoplayControls.blur()}}"><slot name="autoplay-start" class="${l(this.pausedAutoplay?"":"hidden")}"><sd-6-16-2-icon class="h-6 w-6 grid place-items-center" library="_internal" name="start"></sd-6-16-2-icon></slot><slot name="autoplay-pause" class="${l(this.pausedAutoplay?"hidden":"")}"><sd-6-16-2-icon class="h-6 w-6 grid place-items-center" library="_internal" name="pause"></sd-6-16-2-icon></slot></button><div class="carousel__announcement sr-only" aria-live="${!this.autoplay||this.pausedAutoplay||this.isFocused?"polite":"off"}" aria-atomic="true"></div><div id="scroll-container" part="scroll-container" class="${l("carousel__slides mb-6 max-h-full w-full items-center justify-items-center",this.inverted?"focus-visible:focus-outline-inverted":"focus-visible:focus-outline",this.fade?"relative overflow-hidden":"grid overflow-auto overscroll-x-contain grid-flow-col auto-rows-[100%] snap-x snap-mandatory overflow-y-hidden")}" style="--slides-per-page:${this.slidesPerPage}" aria-busy="${e.scrolling?"true":"false"}" aria-label="${this.localize.term("carouselContainer",Array.from(this.slides).filter(n=>!n.hasAttribute("data-clone")).length)}" tabindex="0" @scrollend="${this.handleScrollEnd}"><slot></slot></div><div part="controls" class="${l("w-full flex items-center justify-center relative")}"><div part="navigation" class="${l("carousel__navigation flex items-center justify-center")}"><button part="navigation-button navigation-button--previous" id="carousel__navigation-button--previous" ?disabled="${!a}" class="${l("!mr-6 !rounded-sm sd-interactive transition-colors duration-fast ease-in-out",!a&&"sd-interactive--disabled",this.inverted?"sd-interactive--inverted":"sd-interactive--reset")}" aria-label="${this.localize.term("previousSlide")}" aria-controls="scroll-container" aria-disabled="${a?"false":"true"}" @click="${a?n=>{this.previous(),this.unblockAutoplay(n,this.previousButton)}:null}"><slot name="previous-icon"><sd-6-16-2-icon class="${l("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${d?"chevron-down":"chevron-up"}"></sd-6-16-2-icon></slot></button> ${this.variant==="dot"?m`<div part="pagination-dot" role="tablist" class="${l("carousel__pagination dot flex wrap items-center gap-2")}" aria-controls="scroll-container">${I(O(t),n=>{let f=n+1===s;return m`<button part="pagination-item ${f?"pagination-item--active":""}" class="${l("carousel__pagination-item","block cursor-pointer bg-none border-0 rounded-full",f?"bg-accent":"",this.inverted?"focus-within:focus-outline-inverted":"focus-within:focus-outline")}" role="tab" tabindex="0" aria-selected="${f?"true":"false"}" aria-label="${this.localize.term("goToSlide",n+1,t)}" @click="${y=>{this.goToSlide(n*i),this.unblockAutoplay(y,this.paginationItems[n])}}"><span class="${l("h-4 w-4 block border sd-6-16-2-carousel__pager-dot-border-width rounded-full transition-colors duration-slow hover:duration-fast ease-in-out",this.inverted?"sd-6-16-2-carousel__pager-dot--inverted-border hover:border-primary-200":"border-primary hover:border-primary-500",f&&"border-none",f?this.inverted?"sd-6-16-2-carousel__pager-dot--inverted-background hover:sd-6-16-2-carousel__pager-dot--inverted--hovered-background":"sd-6-16-2-carousel__pager-dot-background hover:bg-accent-550":"")}"></span></button>`})}</div>`:m`<span part="pagination-number" class="carousel__pagination number flex gap-0.5 cursor-default select-none" aria-controls="scroll-container"><span part="pagination-item" class="${l("w-5 text-center border-b-2",this.inverted?"text-white sd-6-16-2-carousel--active--inverted-color-border":"text-black sd-6-16-2-carousel--active-color-border")}">${s}</span> <span part="pagination-divider" class="${l("scale-y-[1.5]","text-center",this.inverted?"text-white":"text-black")}">/</span> <span part="pagination-item" class="${l("w-5 text-center",this.inverted?"text-white":"text-black")}">${t}</span></span>`} <button part="navigation-button navigation-button--next" id="carousel__navigation-button--next" ?disabled="${!c}" class="${l("!ml-6 !rounded-sm sd-interactive transition-colors duration-fast ease-in-out",!c&&"sd-interactive--disabled",this.inverted?"sd-interactive--inverted":"sd-interactive--reset")}" aria-label="${this.localize.term("nextSlide")}" aria-controls="scroll-container" aria-disabled="${c?"false":"true"}" @click="${c?n=>{this.next(),this.unblockAutoplay(n,this.nextButton)}:null}"><slot name="next-icon"><sd-6-16-2-icon class="${l("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${d?"chevron-up":"chevron-down"}"></sd-6-16-2-icon></slot></button></div></div></div>`}};o.styles=[...S.styles,_`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{--slide-gap:var(--sl-spacing-medium, 1rem);--scroll-hint:0px;display:flex}.carousel{grid-template-areas:'. slides .' '. pagination .'}.carousel__pagination{grid-area:pagination}.carousel__slides{grid-area:slides;scrollbar-width:none;--slide-size:calc((100% - (var(--slides-per-page) - 1) * var(--slide-gap)) / var(--slides-per-page));grid-auto-columns:var(--slide-size);-moz-column-gap:var(--slide-gap);column-gap:var(--slide-gap);scroll-padding-inline:var(--scroll-hint);padding-inline:var(--scroll-hint)}.carousel__slides::-webkit-scrollbar{display:none}:host([fade]){--carousel-height:auto}:host([fade]) .carousel__slides{position:relative;display:block;overflow:hidden;height:var(--carousel-height)}@media (prefers-reduced-motion){:where(.carousel__slides){scroll-behavior:auto}}.carousel__navigation{grid-area:navigation}sd-6-16-2-button::part(label){pointer-events:none;display:flex;flex:auto;align-items:center}#carousel__navigation-button--next,#carousel__navigation-button--previous{color:rgba(var(--sd-color-icon-fill-primary))}#carousel__navigation-button--next:disabled,#carousel__navigation-button--previous:disabled{color:rgba(var(--sd-color-icon-fill-neutral-500))}:host([inverted]) #carousel__navigation-button--next,:host([inverted]) #carousel__navigation-button--previous{color:rgba(var(--sd-color-icon-fill-white))}:host([inverted]) #carousel__navigation-button--next:disabled,:host([inverted]) #carousel__navigation-button--previous:disabled{color:rgba(var(--sd-color-icon-fill-neutral-600))}`],r([v('[part~="autoplay-controls"]')],o.prototype,"autoplayControls",2),r([v('[part~="navigation-button--previous"]')],o.prototype,"previousButton",2),r([v('[part~="navigation-button--next"]')],o.prototype,"nextButton",2),r([E('[part~="pagination-item"]')],o.prototype,"paginationItems",2),r([p({type:String,reflect:!0})],o.prototype,"variant",2),r([p({type:Boolean,reflect:!0})],o.prototype,"inverted",2),r([p({type:Boolean,reflect:!0})],o.prototype,"loop",2),r([p({type:Boolean,reflect:!0})],o.prototype,"autoplay",2),r([p({type:Boolean,reflect:!0})],o.prototype,"fade",2),r([p({type:Number,attribute:"slides-per-page",reflect:!0})],o.prototype,"slidesPerPage",2),r([p({type:Number,attribute:"slides-per-move",reflect:!0})],o.prototype,"slidesPerMove",2),r([v("slot:not([name])")],o.prototype,"defaultSlot",2),r([v(".carousel__slides")],o.prototype,"scrollContainer",2),r([v(".carousel__pagination")],o.prototype,"paginationContainer",2),r([v(".carousel__announcement")],o.prototype,"announcementRegion",2),r([b()],o.prototype,"activeSlide",2),r([b()],o.prototype,"currentPage",2),r([b()],o.prototype,"pausedAutoplay",2),r([b()],o.prototype,"isFocused",2),r([g("pausedAutoplay")],o.prototype,"handlePausedAutoplay",1),r([g("fade",{waitUntilFirstUpdate:!0})],o.prototype,"handleFadeChange",1),r([g("loop",{waitUntilFirstUpdate:!0}),g("slidesPerPage",{waitUntilFirstUpdate:!0})],o.prototype,"initializeSlides",1),r([g("activeSlide")],o.prototype,"handleSlideChange",1),r([g("slidesPerMove")],o.prototype,"handleSlidesPerMoveChange",1),r([g("autoplay")],o.prototype,"handleAutoplayChange",1),o=r([P("sd-6-16-2-carousel")],o);export{o as a};
3
+ /*! Bundled license information:
4
+
5
+ lit-html/directives/map.js:
6
+ lit-html/directives/range.js:
7
+ (**
8
+ * @license
9
+ * Copyright 2021 Google LLC
10
+ * SPDX-License-Identifier: BSD-3-Clause
11
+ *)
12
+ */
@@ -1,2 +1,2 @@
1
- function h(d,{setValueOnSelection:l,scrollSelectionIntoView:p}={setValueOnSelection:!0,scrollSelectionIntoView:!0}){let r=d?typeof d=="string"?document.querySelector(d):d:document.querySelector("#autoComplete"),n=r.shadowRoot.querySelector("input"),c=e=>e[0];return n.addEventListener("init",()=>{var a,s;let e=(a=r.shadowRoot)==null?void 0:a.querySelector("ul");e==null||e.setAttribute("part","listbox");let t=document.createElement("sd-6-16-0-popup");t.appendChild(e),(s=r.shadowRoot)==null||s.appendChild(t),t==null||t.setAttribute("exportparts","popup__content"),t&&(t.active=!1,t.autoSize="vertical",t.autoSizePadding=16,t.placement="bottom-start",t.anchor=r,t.sync="width");let i=c`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
- sd-6-16-0-popup::part(popup){z-index:var(--sd-z-index-dropdown,900);overflow-y:scroll;border-bottom-right-radius:var(--sd-radius);border-bottom-left-radius:var(--sd-radius);border-style:var(--tw-border-style);border-width:var(--sd-border-width-2);border-top-style:var(--tw-border-style);border-top-width:0;border-color:rgba(var(--sd-color-border-primary));background-color:rgba(var(--sd-color-background-white));padding-inline:var(--sd-spacing-2);padding-block:var(--sd-spacing-3);--tw-shadow:var(--sd-shadow);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}sd-6-16-0-popup li{transition-property:all;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))}sd-6-16-0-popup li:hover:not([disabled]){background-color:rgba(var(--sd-color-background-neutral-100))}sd-6-16-0-popup li{list-style-type:''}sd-6-16-0-popup li mark{background-color:transparent;--tw-font-weight:var(--sd-font-weight-bold);font-weight:var(--sd-font-weight-bold)}sd-6-16-0-popup li:not(:has(sd-6-16-0-option)){cursor:pointer;padding-inline:var(--sd-spacing-4);padding-block:var(--sd-spacing-3);font-size:var(--sd-text-base);line-height:var(--tw-leading,var(--text-base--line-height,calc(1.5 / 1)));color:rgba(var(--sd-color-text-black))}sd-6-16-0-popup li:not(:has(sd-6-16-0-option)):hover{background-color:rgba(var(--sd-color-background-neutral-200))}sd-6-16-0-popup li[aria-selected=true]{background-color:rgba(var(--sd-color-background-neutral-200))}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-font-weight{syntax:"*";inherits:false}`,o=new CSSStyleSheet;o.replaceSync(i),r.shadowRoot.adoptedStyleSheets=[...r.shadowRoot.adoptedStyleSheets,o]}),l&&n.addEventListener("selection",e=>{var t;r.value=(t=e==null?void 0:e.detail)==null?void 0:t.selection.value}),n.addEventListener("open",()=>{var e,t,i,o,a,s;(t=(e=r.shadowRoot)==null?void 0:e.querySelector("sd-6-16-0-popup"))==null||t.setAttribute("active","true"),(o=(i=r.shadowRoot)==null?void 0:i.querySelector('[part="border"]'))==null||o.classList.add("rounded-b-none"),(s=(a=r.shadowRoot)==null?void 0:a.querySelector('[part="form-control"]'))==null||s.classList.add("z-50")}),n.addEventListener("close",()=>{var e,t,i,o,a,s;(t=(e=r.shadowRoot)==null?void 0:e.querySelector("sd-6-16-0-popup"))==null||t.removeAttribute("active"),(o=(i=r.shadowRoot)==null?void 0:i.querySelector('[part="border"]'))==null||o.classList.remove("rounded-b-none"),(s=(a=r.shadowRoot)==null?void 0:a.querySelector('[part="form-control"]'))==null||s.classList.remove("z-50")}),p&&n.addEventListener("navigate",()=>{let e=r.shadowRoot.querySelector('[aria-selected="true"]');e==null||e.scrollIntoView({block:"nearest"})}),{config:{selector:()=>n,resultsList:{tag:"ul"},wrapper:!1}}}export{h as a};
1
+ function h(d,{setValueOnSelection:l,scrollSelectionIntoView:p}={setValueOnSelection:!0,scrollSelectionIntoView:!0}){let r=d?typeof d=="string"?document.querySelector(d):d:document.querySelector("#autoComplete"),n=r.shadowRoot.querySelector("input"),c=e=>e[0];return n.addEventListener("init",()=>{var a,s;let e=(a=r.shadowRoot)==null?void 0:a.querySelector("ul");e==null||e.setAttribute("part","listbox");let t=document.createElement("sd-6-16-2-popup");t.appendChild(e),(s=r.shadowRoot)==null||s.appendChild(t),t==null||t.setAttribute("exportparts","popup__content"),t&&(t.active=!1,t.autoSize="vertical",t.autoSizePadding=16,t.placement="bottom-start",t.anchor=r,t.sync="width");let i=c`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
+ sd-6-16-2-popup::part(popup){z-index:var(--sd-z-index-dropdown,900);overflow-y:scroll;border-bottom-right-radius:var(--sd-radius);border-bottom-left-radius:var(--sd-radius);border-style:var(--tw-border-style);border-width:var(--sd-border-width-2);border-top-style:var(--tw-border-style);border-top-width:0;border-color:rgba(var(--sd-color-border-primary));background-color:rgba(var(--sd-color-background-white));padding-inline:var(--sd-spacing-2);padding-block:var(--sd-spacing-3);--tw-shadow:var(--sd-shadow);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}sd-6-16-2-popup li{transition-property:all;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))}sd-6-16-2-popup li:hover:not([disabled]){background-color:rgba(var(--sd-color-background-neutral-100))}sd-6-16-2-popup li{list-style-type:''}sd-6-16-2-popup li mark{background-color:transparent;--tw-font-weight:var(--sd-font-weight-bold);font-weight:var(--sd-font-weight-bold)}sd-6-16-2-popup li:not(:has(sd-6-16-2-option)){cursor:pointer;padding-inline:var(--sd-spacing-4);padding-block:var(--sd-spacing-3);font-size:var(--sd-text-base);line-height:var(--tw-leading,var(--text-base--line-height,calc(1.5 / 1)));color:rgba(var(--sd-color-text-black))}sd-6-16-2-popup li:not(:has(sd-6-16-2-option)):hover{background-color:rgba(var(--sd-color-background-neutral-200))}sd-6-16-2-popup li[aria-selected=true]{background-color:rgba(var(--sd-color-background-neutral-200))}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-font-weight{syntax:"*";inherits:false}`,o=new CSSStyleSheet;o.replaceSync(i),r.shadowRoot.adoptedStyleSheets=[...r.shadowRoot.adoptedStyleSheets,o]}),l&&n.addEventListener("selection",e=>{var t;r.value=(t=e==null?void 0:e.detail)==null?void 0:t.selection.value}),n.addEventListener("open",()=>{var e,t,i,o,a,s;(t=(e=r.shadowRoot)==null?void 0:e.querySelector("sd-6-16-2-popup"))==null||t.setAttribute("active","true"),(o=(i=r.shadowRoot)==null?void 0:i.querySelector('[part="border"]'))==null||o.classList.add("rounded-b-none"),(s=(a=r.shadowRoot)==null?void 0:a.querySelector('[part="form-control"]'))==null||s.classList.add("z-50")}),n.addEventListener("close",()=>{var e,t,i,o,a,s;(t=(e=r.shadowRoot)==null?void 0:e.querySelector("sd-6-16-2-popup"))==null||t.removeAttribute("active"),(o=(i=r.shadowRoot)==null?void 0:i.querySelector('[part="border"]'))==null||o.classList.remove("rounded-b-none"),(s=(a=r.shadowRoot)==null?void 0:a.querySelector('[part="form-control"]'))==null||s.classList.remove("z-50")}),p&&n.addEventListener("navigate",()=>{let e=r.shadowRoot.querySelector('[aria-selected="true"]');e==null||e.scrollIntoView({block:"nearest"})}),{config:{selector:()=>n,resultsList:{tag:"ul"},wrapper:!1}}}export{h as a};
@@ -1 +1 @@
1
- var p=t=>Array.from(t.assignedElements({flatten:!0})),o=t=>t.tagName.toLocaleLowerCase()==="sd-6-16-0-option"?t:Array.from(t.querySelectorAll(":scope > sd-6-16-0-option")),e=t=>t.tagName.toLocaleLowerCase()==="sd-6-16-0-optgroup",r=t=>t.map(o),n=t=>t.filter(e),s=t=>t.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase();export{p as a,o as b,e as c,r as d,n as e,s as f};
1
+ var p=t=>Array.from(t.assignedElements({flatten:!0})),o=t=>t.tagName.toLocaleLowerCase()==="sd-6-16-2-option"?t:Array.from(t.querySelectorAll(":scope > sd-6-16-2-option")),e=t=>t.tagName.toLocaleLowerCase()==="sd-6-16-2-optgroup",r=t=>t.map(o),n=t=>t.filter(e),s=t=>t.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase();export{p as a,o as b,e as c,r as d,n as e,s as f};
@@ -1 +1 @@
1
- import{a as t}from"./chunk.HJGLYEWV.js";var a={$code:"en",$name:"English",$dir:"ltr",audioPlayer:"Audio Player",autoplay:"Autoplay",carousel:"Carousel",carouselContainer:e=>`Carousel has ${e} slides`,clearEntry:"Clear entry",close:"Close",collapseNavigationItem:"Collapse navigation item",comboboxDefaultPlaceholder:"Please search and select",copy:"Copy",currentValue:"Current value",datePicker:"Date picker",datePickerInfo:"Use arrow keys to navigate, Enter to select. Page Up/Down changes month. Shift+Page Up/Down changes year",datePickerRange:"Date range picker",datePlaceholder:"Select date",dateRangePlaceholder:"Select date range",endDateSelected:"End date selected",expandNavigationItem:"Expand navigation item",goToSlide:(e,o)=>`Go to slide ${e} of ${o}`,hidePassword:"Hide password",invalidDate:"Invalid date",loading:"Loading",maximum:"Maximum",minimum:"Minimum",mute:"Mute",nextMonth:"Next month",nextSlide:"Next slide",nextYear:"Next year",noResults:"No results found",notifications:"Notifications",numOptionsSelected:e=>e===0?"":`Options selected (${e})`,open:"Open",openTranscript:"Open transcript",optionGroup:"Option Group",pauseAudio:"Pause Audio",playAudio:"Play Audio",playbackSpeed:"Playback Speed",playVideo:"Play Video",previousMonth:"Previous month",previousSlide:"Previous slide",previousYear:"Previous year",progress:"Progress",remove:"Remove",removed:e=>`${e} removed`,resize:"Resize",scrolled:"Scrolled",scrollToEnd:"Scroll to end",scrollToStart:"Scroll to start",search:"Search",seconds:e=>`${e} seconds`,seekBar:"Seek bar",selectAColorFromTheScreen:"Select a color from the screen",selectDefaultPlaceholder:"Please select",selected:"Selected",selectionCleared:"Selection cleared",showLess:"Show less",showMore:"Show more",showPassword:"Show password",slideNum:(e,o)=>`Slide ${e} of ${o}`,startDateSelected:"Start date selected",tagsSelected:"Options selected",toggleColorFormat:"Toggle color format",transcriptIsOpen:"Transcript is open",truncatedBreadcrumbs:"Truncated breadcrumbs",unmute:"Unmute"};t(a);var l=a;export{l as a};
1
+ import{a as t}from"./chunk.HJGLYEWV.js";var a={$code:"en",$name:"English",$dir:"ltr",audioPlayer:"Audio Player",autoplay:"Autoplay",carousel:"Carousel",carouselContainer:e=>`Carousel has ${e} slides`,clearEntry:"Clear entry",close:"Close",collapseNavigationItem:"Collapse navigation item",comboboxDefaultPlaceholder:"Please search and select",copy:"Copy",currentValue:"Current value",datePicker:"Date picker",datePickerInfo:"Use arrow keys to navigate, Enter to select. Page Up/Down changes month. Shift+Page Up/Down changes year",datePickerRange:"Date range picker",datePlaceholder:"Select date",dateRangePlaceholder:"Select date range",endDateSelected:"End date selected",expandNavigationItem:"Expand navigation item",goToSlide:(e,o)=>`Go to slide ${e} of ${o}`,hidePassword:"Hide password",invalidDate:"Invalid date",loading:"Loading",maximum:"Maximum",minimum:"Minimum",mute:"Mute",nextMonth:"Next month",nextSlide:"Next slide",nextYear:"Next year",noResults:"No results found",notifications:"Notifications",numOptionsSelected:e=>e===0?"":`Options selected (${e})`,open:"Open",openTranscript:"Open transcript",optionGroup:"Option Group",pauseAudio:"Pause Audio",playAudio:"Play Audio",playbackSpeed:"Playback Speed",playVideo:"Play Video",previousMonth:"Previous month",previousSlide:"Previous slide",previousYear:"Previous year",progress:"Progress",remove:"Remove",removed:e=>`${e} removed`,resize:"Resize",scrolled:"Scrolled",scrollToEnd:"Scroll to end",scrollToStart:"Scroll to start",search:"Search",seconds:e=>`${e} seconds`,seekBar:"Seek bar",selectAColorFromTheScreen:"Select a color from the screen",selectDefaultPlaceholder:"Please select",selected:"Selected",selectionCleared:"Selection cleared",showLess:"Show less",showMore:"Show more",showPassword:"Show password",slideNum:(e,o)=>`Slide ${e} of ${o}`,startAutoplay:"Start Automatic Playback",startDateSelected:"Start date selected",stopAutoplay:"Stop Automatic Playback",tagsSelected:"Options selected",toggleColorFormat:"Toggle color format",transcriptIsOpen:"Transcript is open",truncatedBreadcrumbs:"Truncated breadcrumbs",unmute:"Unmute"};t(a);var l=a;export{l as a};
@@ -1,2 +1,2 @@
1
- import{a as c}from"./chunk.3XPSGHFS.js";import{a as l}from"./chunk.NYKJXI3Q.js";import{a as o,b as i,h as a}from"./chunk.DX2U3PRB.js";import{b as s,e as r}from"./chunk.UOAG5PNU.js";import{e}from"./chunk.6EV4YU6C.js";var n=0,t=class extends a{constructor(){super(...arguments);this.attrId=++n;this.componentId=`sd-6-16-0-tab-panel-${this.attrId}`;this.name="";this.active=!1}connectedCallback(){super.connectedCallback(),this.id=this.id.length>0?this.id:this.componentId,this.setAttribute("role","tabpanel")}handleActiveChange(){this.setAttribute("aria-hidden",this.active?"false":"true")}render(){return r`<slot part="base" class="${c("block",this.active&&"tab-panel--active")}"></slot>`}};t.styles=[...a.styles,s`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{--padding:0;display:none}:host([active]){display:block}::part(base){padding:var(--padding)}`],e([i({type:String,reflect:!0})],t.prototype,"name",2),e([i({type:Boolean,reflect:!0})],t.prototype,"active",2),e([l("active")],t.prototype,"handleActiveChange",1),t=e([o("sd-6-16-0-tab-panel")],t);export{t as a};
1
+ import{a as c}from"./chunk.3XPSGHFS.js";import{a as l}from"./chunk.NYKJXI3Q.js";import{a as o,b as i,h as a}from"./chunk.M6E2RMEB.js";import{b as s,e as r}from"./chunk.UOAG5PNU.js";import{e}from"./chunk.6EV4YU6C.js";var n=0,t=class extends a{constructor(){super(...arguments);this.attrId=++n;this.componentId=`sd-6-16-2-tab-panel-${this.attrId}`;this.name="";this.active=!1}connectedCallback(){super.connectedCallback(),this.id=this.id.length>0?this.id:this.componentId,this.setAttribute("role","tabpanel")}handleActiveChange(){this.setAttribute("aria-hidden",this.active?"false":"true")}render(){return r`<slot part="base" class="${c("block",this.active&&"tab-panel--active")}"></slot>`}};t.styles=[...a.styles,s`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{--padding:0;display:none}:host([active]){display:block}::part(base){padding:var(--padding)}`],e([i({type:String,reflect:!0})],t.prototype,"name",2),e([i({type:Boolean,reflect:!0})],t.prototype,"active",2),e([l("active")],t.prototype,"handleActiveChange",1),t=e([o("sd-6-16-2-tab-panel")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as v}from"./chunk.IQPMMUES.js";import{a as g}from"./chunk.3XPSGHFS.js";import{a as b,b as f,c,d as o,h}from"./chunk.DX2U3PRB.js";import{b as m,e as u}from"./chunk.UOAG5PNU.js";import{e as s}from"./chunk.6EV4YU6C.js";var e=class extends h{constructor(){super(...arguments);this.localize=new v(this);this.label="";this.itemPositionsCached=!1;this.isTruncated=!1}get items(){return this.querySelectorAll("sd-6-16-0-breadcrumb-item")}cacheItemPositions(){this.items.forEach(t=>{let{width:r}=t.getBoundingClientRect();t.dataset.size=`${r}`}),this.itemPositionsCached=!0}handleTruncation(){var a;if(document.documentElement.clientWidth<=1024)return;let{width:t}=this.base.getBoundingClientRect(),{width:r}=this.truncated.getBoundingClientRect();this.itemPositionsCached||this.cacheItemPositions(),this.dropdown.innerHTML="",this.isTruncated=!1;let n=0;for(let[p,i]of Array.from(this.items).reverse().entries()){let l=parseFloat(`${(a=i.dataset.size)!=null?a:i.getBoundingClientRect().width}`);if(i.hidden=!1,this.isTruncated){let d=i.cloneNode(!0);this.dropdown.prepend(d),i.hidden=!0;continue}if(p===0||p===1){n+=l;continue}if(this.isTruncated=n+l+r>t,this.isTruncated){let d=i.cloneNode(!0);this.dropdown.prepend(d),i.hidden=!0}else n+=l}}handleMobileChevron(){var r,n,a;let t=document.createElement("sd-6-16-0-icon");t.setAttribute("slot","icon-left"),t.setAttribute("library","_internal"),t.setAttribute("name","chevron-left"),t.setAttribute("class","text-base me-1 lg:hidden"),(a=(n=(r=Array.from(this.items).at(-2))==null?void 0:r.shadowRoot)==null?void 0:n.querySelector("sd-6-16-0-link"))==null||a.appendChild(t)}handleSlotChange(){this.handleMobileChevron()}connectedCallback(){super.connectedCallback(),this.resizeObserver=new ResizeObserver(()=>this.handleTruncation()),this.resizeObserver.observe(this)}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver.unobserve(this)}render(){return u`<nav part="base" class="flex items-center pb-1" aria-label="${this.label}"><sd-6-16-0-dropdown part="truncated" class="${g(!this.isTruncated&&"absolute opacity-0 pointer-events-none")}"><button slot="trigger" tabindex="${this.isTruncated?"0":"-1"}" aria-label="${this.localize.term("truncatedBreadcrumbs")}" aria-expanded="false" aria-haspopup="true" class="flex sd-interactive">[...]</button><ol part="truncated-dropdown" class="flex flex-col gap-4 px-2 py-3 min-w-40"></ol></sd-6-16-0-dropdown><ol part="list" class="flex items-center"><slot @slotchange="${this.handleSlotChange}"></slot></ol></nav>`}};e.styles=[...h.styles,m`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
- :host{position:relative;display:block}::slotted(sd-6-16-0-breadcrumb-item:not(:last-of-type))::after,sd-6-16-0-dropdown::after{margin-inline:var(--sd-spacing-2);display:none;height:var(--sd-spacing-1);width:var(--sd-spacing-1);border-radius:var(--sd-radius-full);background-color:rgba(var(--sd-breadcrumb__separator-color,rgba(var(--sd-color-neutral-400))));--tw-content:'';content:var(--tw-content)}@media (width >= 64rem){::slotted(sd-6-16-0-breadcrumb-item:not(:last-of-type))::after,sd-6-16-0-dropdown::after{display:inline-block}}::slotted(sd-6-16-0-breadcrumb-item:nth-last-child(2)){display:flex}@media (width >= 64rem){::slotted(sd-6-16-0-breadcrumb-item:nth-last-child(2))::after{background-color:rgba(var(--sd-breadcrumb__separator--current-color,rgba(var(--sd-color-accent))))}}::slotted(sd-6-16-0-breadcrumb-item),sd-6-16-0-dropdown{display:none;align-items:center;font-size:var(--sd-text-sm);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25 / .875)))}@media (width >= 64rem){::slotted(sd-6-16-0-breadcrumb-item),sd-6-16-0-dropdown{display:flex}}@property --tw-content{syntax:"*";inherits:false;initial-value:""}`],s([o('[part="base"]')],e.prototype,"base",2),s([o('[part="truncated"]')],e.prototype,"truncated",2),s([o('[part="truncated-dropdown"]')],e.prototype,"dropdown",2),s([o("slot")],e.prototype,"defaultSlot",2),s([f({type:String,reflect:!0})],e.prototype,"label",2),s([c()],e.prototype,"itemPositionsCached",2),s([c()],e.prototype,"isTruncated",2),e=s([b("sd-6-16-0-breadcrumb")],e);export{e as a};
1
+ import{a as v}from"./chunk.IQPMMUES.js";import{a as g}from"./chunk.3XPSGHFS.js";import{a as b,b as f,c,d as o,h}from"./chunk.M6E2RMEB.js";import{b as m,e as u}from"./chunk.UOAG5PNU.js";import{e as s}from"./chunk.6EV4YU6C.js";var e=class extends h{constructor(){super(...arguments);this.localize=new v(this);this.label="";this.itemPositionsCached=!1;this.isTruncated=!1}get items(){return this.querySelectorAll("sd-6-16-2-breadcrumb-item")}cacheItemPositions(){this.items.forEach(t=>{let{width:r}=t.getBoundingClientRect();t.dataset.size=`${r}`}),this.itemPositionsCached=!0}handleTruncation(){var a;if(document.documentElement.clientWidth<=1024)return;let{width:t}=this.base.getBoundingClientRect(),{width:r}=this.truncated.getBoundingClientRect();this.itemPositionsCached||this.cacheItemPositions(),this.dropdown.innerHTML="",this.isTruncated=!1;let n=0;for(let[p,i]of Array.from(this.items).reverse().entries()){let l=parseFloat(`${(a=i.dataset.size)!=null?a:i.getBoundingClientRect().width}`);if(i.hidden=!1,this.isTruncated){let d=i.cloneNode(!0);this.dropdown.prepend(d),i.hidden=!0;continue}if(p===0||p===1){n+=l;continue}if(this.isTruncated=n+l+r>t,this.isTruncated){let d=i.cloneNode(!0);this.dropdown.prepend(d),i.hidden=!0}else n+=l}}handleMobileChevron(){var r,n,a;let t=document.createElement("sd-6-16-2-icon");t.setAttribute("slot","icon-left"),t.setAttribute("library","_internal"),t.setAttribute("name","chevron-left"),t.setAttribute("class","text-base me-1 lg:hidden"),(a=(n=(r=Array.from(this.items).at(-2))==null?void 0:r.shadowRoot)==null?void 0:n.querySelector("sd-6-16-2-link"))==null||a.appendChild(t)}handleSlotChange(){this.handleMobileChevron()}connectedCallback(){super.connectedCallback(),this.resizeObserver=new ResizeObserver(()=>this.handleTruncation()),this.resizeObserver.observe(this)}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver.unobserve(this)}render(){return u`<nav part="base" class="flex items-center pb-1" aria-label="${this.label}"><sd-6-16-2-dropdown part="truncated" class="${g(!this.isTruncated&&"absolute opacity-0 pointer-events-none")}"><button slot="trigger" tabindex="${this.isTruncated?"0":"-1"}" aria-label="${this.localize.term("truncatedBreadcrumbs")}" aria-expanded="false" aria-haspopup="true" class="flex sd-interactive">[...]</button><ol part="truncated-dropdown" class="flex flex-col gap-4 px-2 py-3 min-w-40"></ol></sd-6-16-2-dropdown><ol part="list" class="flex items-center"><slot @slotchange="${this.handleSlotChange}"></slot></ol></nav>`}};e.styles=[...h.styles,m`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
+ :host{position:relative;display:block}::slotted(sd-6-16-2-breadcrumb-item:not(:last-of-type))::after,sd-6-16-2-dropdown::after{margin-inline:var(--sd-spacing-2);display:none;height:var(--sd-spacing-1);width:var(--sd-spacing-1);border-radius:var(--sd-radius-full);background-color:rgba(var(--sd-breadcrumb__separator-color,rgba(var(--sd-color-neutral-400))));--tw-content:'';content:var(--tw-content)}@media (width >= 64rem){::slotted(sd-6-16-2-breadcrumb-item:not(:last-of-type))::after,sd-6-16-2-dropdown::after{display:inline-block}}::slotted(sd-6-16-2-breadcrumb-item:nth-last-child(2)){display:flex}@media (width >= 64rem){::slotted(sd-6-16-2-breadcrumb-item:nth-last-child(2))::after{background-color:rgba(var(--sd-breadcrumb__separator--current-color,rgba(var(--sd-color-accent))))}}::slotted(sd-6-16-2-breadcrumb-item),sd-6-16-2-dropdown{display:none;align-items:center;font-size:var(--sd-text-sm);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25 / .875)))}@media (width >= 64rem){::slotted(sd-6-16-2-breadcrumb-item),sd-6-16-2-dropdown{display:flex}}@property --tw-content{syntax:"*";inherits:false;initial-value:""}`],s([o('[part="base"]')],e.prototype,"base",2),s([o('[part="truncated"]')],e.prototype,"truncated",2),s([o('[part="truncated-dropdown"]')],e.prototype,"dropdown",2),s([o("slot")],e.prototype,"defaultSlot",2),s([f({type:String,reflect:!0})],e.prototype,"label",2),s([c()],e.prototype,"itemPositionsCached",2),s([c()],e.prototype,"isTruncated",2),e=s([b("sd-6-16-2-breadcrumb")],e);export{e as a};
@@ -1,2 +1,2 @@
1
- import{a as l}from"./chunk.MHWW3RZB.js";import{a as n,b as o,d,h as a}from"./chunk.DX2U3PRB.js";import{b as r,e as s}from"./chunk.UOAG5PNU.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends a{constructor(){super(...arguments);this.fixed=!1}connectedCallback(){super.connectedCallback(),this.updateCalculatedHeight=this.updateCalculatedHeight.bind(this),this.addResizeObserver=this.addResizeObserver.bind(this),window.addEventListener("resize",this.updateCalculatedHeight)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("resize",this.updateCalculatedHeight)}firstUpdated(){this.updateCalculatedHeight(),this.addResizeObserver()}updated(i){super.updated(i),i.has("fixed")&&this.updateCalculatedHeight()}addResizeObserver(){this.resizeObserver=new ResizeObserver(this.updateCalculatedHeight),this.header&&this.resizeObserver.observe(this.header)}updateCalculatedHeight(){let i=parseFloat(getComputedStyle(document.documentElement).fontSize),p=window.innerHeight/i;this.header&&this.fixed&&p>=32?document.documentElement.style.setProperty("--sd-header-calculated-height",`${this.header.clientHeight}px`):document.documentElement.style.removeProperty("--sd-header-calculated-height")}render(){return s`<header class="w-full sd-6-16-0-header-color-background sd-6-16-0-header-padding-bottom relative" role="banner"><div part="main" class="relative mx-auto my-0 box-border"><slot></slot></div></header>`}};e.styles=[...a.styles,r`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
- :host{position:relative;z-index:var(--sd-z-index-header,600);display:block}@media (min-height:32rem){:host([fixed]){padding-bottom:var(--sd-header-calculated-height)!important}:host([fixed]) header{position:fixed;top:calc(var(--sd-spacing-1) * 0);left:calc(var(--sd-spacing-1) * 0);width:100%}:host([fixed]) header::after{position:absolute;top:100%;right:calc(var(--sd-spacing-1) * 0);left:calc(var(--sd-spacing-1) * 0);height:var(--sd-header__shadow-height,var(--sd-spacing-1));--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops));--tw-gradient-from:color-mix(in oklab, var(--color-black, #000) 40%, transparent);--tw-gradient-to:color-mix(in oklab, var(--color-black, #000) var(--sd-opacity-0), transparent);--tw-gradient-stops:var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));--tw-content:'';content:var(--tw-content)}}[part=main]{width:var(--sd-header-inner-width);max-width:var(--sd-header-inner-max-width);padding:var(--sd-header-padding,12px 16px)}header::before{position:absolute;bottom:calc(var(--sd-spacing-1) * 0);left:calc(var(--sd-spacing-1) * 0);display:block;width:100%;--tw-content:'';content:var(--tw-content);background-color:rgb(var(--sd-header__underline-color-background));height:var(--sd-header__underline-height,var(--sd-spacing-2))}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-content{syntax:"*";inherits:false;initial-value:""}`],t([o({reflect:!0,type:Boolean})],e.prototype,"fixed",2),t([d("header")],e.prototype,"header",2),t([l(100)],e.prototype,"updateCalculatedHeight",1),e=t([n("sd-6-16-0-header")],e);export{e as a};
1
+ import{a as l}from"./chunk.MHWW3RZB.js";import{a as n,b as o,d,h as a}from"./chunk.M6E2RMEB.js";import{b as r,e as s}from"./chunk.UOAG5PNU.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends a{constructor(){super(...arguments);this.fixed=!1}connectedCallback(){super.connectedCallback(),this.updateCalculatedHeight=this.updateCalculatedHeight.bind(this),this.addResizeObserver=this.addResizeObserver.bind(this),window.addEventListener("resize",this.updateCalculatedHeight)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("resize",this.updateCalculatedHeight)}firstUpdated(){this.updateCalculatedHeight(),this.addResizeObserver()}updated(i){super.updated(i),i.has("fixed")&&this.updateCalculatedHeight()}addResizeObserver(){this.resizeObserver=new ResizeObserver(this.updateCalculatedHeight),this.header&&this.resizeObserver.observe(this.header)}updateCalculatedHeight(){let i=parseFloat(getComputedStyle(document.documentElement).fontSize),p=window.innerHeight/i;this.header&&this.fixed&&p>=32?document.documentElement.style.setProperty("--sd-header-calculated-height",`${this.header.clientHeight}px`):document.documentElement.style.removeProperty("--sd-header-calculated-height")}render(){return s`<header class="w-full sd-6-16-2-header-color-background sd-6-16-2-header-padding-bottom relative" role="banner"><div part="main" class="relative mx-auto my-0 box-border"><slot></slot></div></header>`}};e.styles=[...a.styles,r`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
+ :host{position:relative;z-index:var(--sd-z-index-header,600);display:block}@media (min-height:32rem){:host([fixed]){padding-bottom:var(--sd-header-calculated-height)!important}:host([fixed]) header{position:fixed;top:calc(var(--sd-spacing-1) * 0);left:calc(var(--sd-spacing-1) * 0);width:100%}:host([fixed]) header::after{position:absolute;top:100%;right:calc(var(--sd-spacing-1) * 0);left:calc(var(--sd-spacing-1) * 0);height:var(--sd-header__shadow-height,var(--sd-spacing-1));--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops));--tw-gradient-from:color-mix(in oklab, var(--color-black, #000) 40%, transparent);--tw-gradient-to:color-mix(in oklab, var(--color-black, #000) var(--sd-opacity-0), transparent);--tw-gradient-stops:var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));--tw-content:'';content:var(--tw-content)}}[part=main]{width:var(--sd-header-inner-width);max-width:var(--sd-header-inner-max-width);padding:var(--sd-header-padding,12px 16px)}header::before{position:absolute;bottom:calc(var(--sd-spacing-1) * 0);left:calc(var(--sd-spacing-1) * 0);display:block;width:100%;--tw-content:'';content:var(--tw-content);background-color:rgb(var(--sd-header__underline-color-background));height:var(--sd-header__underline-height,var(--sd-spacing-2))}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-content{syntax:"*";inherits:false;initial-value:""}`],t([o({reflect:!0,type:Boolean})],e.prototype,"fixed",2),t([d("header")],e.prototype,"header",2),t([l(100)],e.prototype,"updateCalculatedHeight",1),e=t([n("sd-6-16-2-header")],e);export{e as a};
@@ -1,2 +1,2 @@
1
- import{a as w}from"./chunk.IQPMMUES.js";import{a as p,d as f,h as m}from"./chunk.DX2U3PRB.js";import{b as u,e as h}from"./chunk.UOAG5PNU.js";import{e as c}from"./chunk.6EV4YU6C.js";var a=class extends m{constructor(){super(...arguments);this.localize=new w(this);this.handleOutsideClick=t=>{this.contains(t.target)||this.getAllItems().forEach(e=>e.classList.remove("menu-item-focus"))}}connectedCallback(){super.connectedCallback(),this.setAttribute("role","menu"),document.addEventListener("click",this.handleOutsideClick)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.handleOutsideClick)}handleClick(t){let e=["menuitem","menuitemcheckbox"],n=t.composedPath(),i=n.find(s=>{var l;return e.includes(((l=s==null?void 0:s.getAttribute)==null?void 0:l.call(s,"role"))||"")});if(!i||n.find(s=>{var l;return((l=s==null?void 0:s.getAttribute)==null?void 0:l.call(s,"role"))==="menu"})!==this)return;let o=i;o.type==="checkbox"&&(o.checked=!o.checked),this.emit("sd-select",{detail:{item:o}})}handleKeyDown(t){if(t.key==="Escape"){let e=this.getCurrentItem();e==null||e.classList.remove("menu-item-focus")}else if(t.key==="Enter"||t.key===" "){let e=this.getCurrentItem();t.preventDefault(),t.stopPropagation(),e==null||e.classList.remove("menu-item-focus"),e==null||e.click()}else if(["ArrowDown","ArrowUp","Home","End"].includes(t.key)){let e=this.getAllItems(),n=this.getCurrentItem(),i=n?e.indexOf(n):0;if(n==null||n.classList.remove("menu-item-focus"),e.length>0){t.preventDefault(),t.stopPropagation();let d=(r,o)=>{let s=r;for(let l of e)if(s=(s+o+e.length)%e.length,!e[s].disabled)return s;return r};if(t.key==="ArrowDown")i=d(i,1);else if(t.key==="ArrowUp")i=d(i,-1);else if(t.key==="Home")i=e.findIndex(r=>!r.disabled),i===-1&&(i=0);else if(t.key==="End"){i=e.length-1;for(let r=e.length-1;r>=0;r--)if(!e[r].disabled){i=r;break}}this.setCurrentItem(e[i]),e[i].focus(),e[i].classList.add("menu-item-focus")}}}handleMouseDown(t){let e=t.target;this.isMenuItem(e)&&this.setCurrentItem(e)}handleSlotChange(){let t=this.getAllItems();t.length>0&&this.setCurrentItem(t[0])}isMenuItem(t){var e;return t.tagName.toLowerCase()==="sd-6-16-0-menu-item"||["menuitem","menuitemcheckbox","menuitemradio"].includes((e=t.getAttribute("role"))!=null?e:"")}getAllItems(){return[...this.defaultSlot.assignedElements({flatten:!0})].filter(t=>!!this.isMenuItem(t))}getCurrentItem(){return this.getAllItems().find(t=>t.getAttribute("tabindex")==="0")}setCurrentItem(t){this.getAllItems().forEach(n=>{n.setAttribute("tabindex",n===t?"0":"-1")})}render(){return h`<slot @slotchange="${this.handleSlotChange}" @click="${this.handleClick}" @keydown="${this.handleKeyDown}" @mousedown="${this.handleMouseDown}"></slot>`}};a.styles=[...m.styles,u`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
- :host{position:relative;display:block;overflow:auto;overscroll-behavior:auto;border-radius:var(--sd-radius-md);padding-inline:var(--sd-spacing-2);padding-block:var(--sd-spacing-3);--tw-shadow:var(--sd-shadow)!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}::slotted(sd-6-16-0-divider){padding-block:var(--sd-spacing-3)}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}`],c([f("slot")],a.prototype,"defaultSlot",2),a=c([p("sd-6-16-0-menu")],a);export{a};
1
+ import{a as w}from"./chunk.IQPMMUES.js";import{a as p,d as f,h as m}from"./chunk.M6E2RMEB.js";import{b as u,e as h}from"./chunk.UOAG5PNU.js";import{e as c}from"./chunk.6EV4YU6C.js";var a=class extends m{constructor(){super(...arguments);this.localize=new w(this);this.handleOutsideClick=t=>{this.contains(t.target)||this.getAllItems().forEach(e=>e.classList.remove("menu-item-focus"))}}connectedCallback(){super.connectedCallback(),this.setAttribute("role","menu"),document.addEventListener("click",this.handleOutsideClick)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.handleOutsideClick)}handleClick(t){let e=["menuitem","menuitemcheckbox"],n=t.composedPath(),i=n.find(s=>{var l;return e.includes(((l=s==null?void 0:s.getAttribute)==null?void 0:l.call(s,"role"))||"")});if(!i||n.find(s=>{var l;return((l=s==null?void 0:s.getAttribute)==null?void 0:l.call(s,"role"))==="menu"})!==this)return;let o=i;o.type==="checkbox"&&(o.checked=!o.checked),this.emit("sd-select",{detail:{item:o}})}handleKeyDown(t){if(t.key==="Escape"){let e=this.getCurrentItem();e==null||e.classList.remove("menu-item-focus")}else if(t.key==="Enter"||t.key===" "){let e=this.getCurrentItem();t.preventDefault(),t.stopPropagation(),e==null||e.classList.remove("menu-item-focus"),e==null||e.click()}else if(["ArrowDown","ArrowUp","Home","End"].includes(t.key)){let e=this.getAllItems(),n=this.getCurrentItem(),i=n?e.indexOf(n):0;if(n==null||n.classList.remove("menu-item-focus"),e.length>0){t.preventDefault(),t.stopPropagation();let d=(r,o)=>{let s=r;for(let l of e)if(s=(s+o+e.length)%e.length,!e[s].disabled)return s;return r};if(t.key==="ArrowDown")i=d(i,1);else if(t.key==="ArrowUp")i=d(i,-1);else if(t.key==="Home")i=e.findIndex(r=>!r.disabled),i===-1&&(i=0);else if(t.key==="End"){i=e.length-1;for(let r=e.length-1;r>=0;r--)if(!e[r].disabled){i=r;break}}this.setCurrentItem(e[i]),e[i].focus(),e[i].classList.add("menu-item-focus")}}}handleMouseDown(t){let e=t.target;this.isMenuItem(e)&&this.setCurrentItem(e)}handleSlotChange(){let t=this.getAllItems();t.length>0&&this.setCurrentItem(t[0])}isMenuItem(t){var e;return t.tagName.toLowerCase()==="sd-6-16-2-menu-item"||["menuitem","menuitemcheckbox","menuitemradio"].includes((e=t.getAttribute("role"))!=null?e:"")}getAllItems(){return[...this.defaultSlot.assignedElements({flatten:!0})].filter(t=>!!this.isMenuItem(t))}getCurrentItem(){return this.getAllItems().find(t=>t.getAttribute("tabindex")==="0")}setCurrentItem(t){this.getAllItems().forEach(n=>{n.setAttribute("tabindex",n===t?"0":"-1")})}render(){return h`<slot @slotchange="${this.handleSlotChange}" @click="${this.handleClick}" @keydown="${this.handleKeyDown}" @mousedown="${this.handleMouseDown}"></slot>`}};a.styles=[...m.styles,u`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
+ :host{position:relative;display:block;overflow:auto;overscroll-behavior:auto;border-radius:var(--sd-radius-md);padding-inline:var(--sd-spacing-2);padding-block:var(--sd-spacing-3);--tw-shadow:var(--sd-shadow)!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}::slotted(sd-6-16-2-divider){padding-block:var(--sd-spacing-3)}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}`],c([f("slot")],a.prototype,"defaultSlot",2),a=c([p("sd-6-16-2-menu")],a);export{a};
@@ -1,2 +1,2 @@
1
- import{a as l,b as i,g as c,h as o}from"./chunk.DX2U3PRB.js";import{b as a,e as n}from"./chunk.UOAG5PNU.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends o{constructor(){super(...arguments);this.closeOthers=!1;this.handleAccordionShow=r=>{this.closeOthers&&this._accordionsInDefaultSlot.forEach(s=>{s!==r.target&&s.parentNode===r.target.parentNode&&s.removeAttribute("open")})}}connectedCallback(){super.connectedCallback(),this.addEventListener("sd-show",this.handleAccordionShow)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("sd-show",this.handleAccordionShow)}render(){return n`<div part="base"><slot></slot></div>`}};e.styles=[...o.styles,a`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{display:block}::slotted(sd-6-16-0-accordion:not(:first-of-type)){margin-top:calc(-1 * var(--sd-accordion-border-width))!important}`],t([c({selector:"sd-6-16-0-accordion"})],e.prototype,"_accordionsInDefaultSlot",2),t([i({attribute:"close-others",type:Boolean,reflect:!0})],e.prototype,"closeOthers",2),e=t([l("sd-6-16-0-accordion-group")],e);export{e as a};
1
+ import{a as l,b as i,g as c,h as o}from"./chunk.M6E2RMEB.js";import{b as a,e as n}from"./chunk.UOAG5PNU.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends o{constructor(){super(...arguments);this.closeOthers=!1;this.handleAccordionShow=r=>{this.closeOthers&&this._accordionsInDefaultSlot.forEach(s=>{s!==r.target&&s.parentNode===r.target.parentNode&&s.removeAttribute("open")})}}connectedCallback(){super.connectedCallback(),this.addEventListener("sd-show",this.handleAccordionShow)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("sd-show",this.handleAccordionShow)}render(){return n`<div part="base"><slot></slot></div>`}};e.styles=[...o.styles,a`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{display:block}::slotted(sd-6-16-2-accordion:not(:first-of-type)){margin-top:calc(-1 * var(--sd-accordion-border-width))!important}`],t([c({selector:"sd-6-16-2-accordion"})],e.prototype,"_accordionsInDefaultSlot",2),t([i({attribute:"close-others",type:Boolean,reflect:!0})],e.prototype,"closeOthers",2),e=t([l("sd-6-16-2-accordion-group")],e);export{e as a};
@@ -1,2 +1,2 @@
1
- import{a as n}from"./chunk.3XPSGHFS.js";import{a as l,b as r,h as o}from"./chunk.DX2U3PRB.js";import{b as i,e as a}from"./chunk.UOAG5PNU.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends o{constructor(){super(...arguments);this.orientation="horizontal";this.inverted=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","separator")}render(){return a`<hr part="main" aria-orientation="${this.orientation}" class="${n(this.inverted?"sd-6-16-0-divider--inverted-color-border":"border-neutral-400",this.orientation==="horizontal"?"border-t w-full":" border-l h-full")}">`}};t.styles=[...o.styles,i`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{margin:calc(var(--sd-spacing-1) * 0)}:host(sd-6-16-0-divider[orientation=horizontal]){display:block}:host(sd-6-16-0-divider[orientation=vertical]){display:inline-block}`],e([r({type:String,reflect:!0})],t.prototype,"orientation",2),e([r({type:Boolean,reflect:!0})],t.prototype,"inverted",2),t=e([l("sd-6-16-0-divider")],t);export{t as a};
1
+ import{a as n}from"./chunk.3XPSGHFS.js";import{a as l,b as r,h as o}from"./chunk.M6E2RMEB.js";import{b as i,e as a}from"./chunk.UOAG5PNU.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends o{constructor(){super(...arguments);this.orientation="horizontal";this.inverted=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","separator")}render(){return a`<hr part="main" aria-orientation="${this.orientation}" class="${n(this.inverted?"sd-6-16-2-divider--inverted-color-border":"border-neutral-400",this.orientation==="horizontal"?"border-t w-full":" border-l h-full")}">`}};t.styles=[...o.styles,i`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{margin:calc(var(--sd-spacing-1) * 0)}:host(sd-6-16-2-divider[orientation=horizontal]){display:block}:host(sd-6-16-2-divider[orientation=vertical]){display:inline-block}`],e([r({type:String,reflect:!0})],t.prototype,"orientation",2),e([r({type:Boolean,reflect:!0})],t.prototype,"inverted",2),t=e([l("sd-6-16-2-divider")],t);export{t as a};
@@ -1,4 +1,4 @@
1
- import{a as f}from"./chunk.RMXFJHN6.js";import{b as c}from"./chunk.BSPQBW7U.js";import{e as l,i as u}from"./chunk.UOAG5PNU.js";var v=()=>new p,p=class{},h=new WeakMap,b=c(class extends f{render(i){return u}update(i,[e]){var t;let s=e!==this.G;return s&&this.G!==void 0&&this.rt(void 0),(s||this.lt!==this.ct)&&(this.G=e,this.ht=(t=i.options)==null?void 0:t.host,this.rt(this.ct=i.element)),u}rt(i){var e;if(this.isConnected||(i=void 0),typeof this.G=="function"){let s=(e=this.ht)!=null?e:globalThis,t=h.get(s);t===void 0&&(t=new WeakMap,h.set(s,t)),t.get(this.G)!==void 0&&this.G.call(this.ht,void 0),t.set(this.G,i),i!==void 0&&this.G.call(this.ht,i)}else this.G.value=i}get lt(){var i,e,s;return typeof this.G=="function"?(e=h.get((i=this.ht)!=null?i:globalThis))==null?void 0:e.get(this.G):(s=this.G)==null?void 0:s.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var g=class{constructor(e,s){this.popupRef=v();this.enableSubmenuTimer=-1;this.isConnected=!1;this.isPopupConnected=!1;this.skidding=0;this.submenuOpenDelay=100;this.handleMouseMove=e=>{this.host.style.setProperty("--safe-triangle-cursor-x",`${e.clientX}px`),this.host.style.setProperty("--safe-triangle-cursor-y",`${e.clientY}px`)};this.handleMouseOver=()=>{this.hasSlotController.test("submenu")&&this.enableSubmenu()};this.handleKeyDown=e=>{switch(e.key){case"Escape":case"Tab":this.disableSubmenu();break;case"ArrowLeft":e.target!==this.host&&(e.preventDefault(),e.stopPropagation(),this.host.focus(),this.disableSubmenu());break;case"ArrowRight":case"Enter":case" ":this.handleSubmenuEntry(e);break;default:break}};this.handleClick=e=>{var s;e.target===this.host?(e.preventDefault(),e.stopPropagation()):e.target instanceof Element&&(e.target.tagName==="sd-6-16-0-menu-item"||(s=e.target.role)!=null&&s.startsWith("menuitem"))&&e.target.getAttribute("type")!=="checkbox"&&this.disableSubmenu()};this.handleFocusOut=e=>{e.relatedTarget&&e.relatedTarget instanceof Element&&this.host.contains(e.relatedTarget)||this.disableSubmenu()};this.handlePopupMouseover=e=>{e.stopPropagation()};this.handlePopupReposition=()=>{let e=this.host.renderRoot.querySelector("slot[name='submenu']"),s=e==null?void 0:e.assignedElements({flatten:!0}).filter(d=>d.localName==="sd-6-16-0-menu")[0],t=getComputedStyle(this.host).direction==="rtl";if(!s)return;let{left:o,top:n,width:r,height:a}=s.getBoundingClientRect();this.host.style.setProperty("--safe-triangle-submenu-start-x",`${t?o+r:o}px`),this.host.style.setProperty("--safe-triangle-submenu-start-y",`${n}px`),this.host.style.setProperty("--safe-triangle-submenu-end-x",`${t?o+r:o}px`),this.host.style.setProperty("--safe-triangle-submenu-end-y",`${n+a}px`)};(this.host=e).addController(this),this.hasSlotController=s}hostConnected(){this.hasSlotController.test("submenu")&&!this.host.disabled&&this.addListeners()}hostDisconnected(){this.removeListeners()}hostUpdated(){this.hasSlotController.test("submenu")&&!this.host.disabled?(this.addListeners(),this.updateSkidding()):this.removeListeners()}addListeners(){this.isConnected||(this.host.addEventListener("mousemove",this.handleMouseMove),this.host.addEventListener("mouseover",this.handleMouseOver),this.host.addEventListener("keydown",this.handleKeyDown),this.host.addEventListener("click",this.handleClick),this.host.addEventListener("focusout",this.handleFocusOut),this.isConnected=!0),this.isPopupConnected||this.popupRef.value&&(this.popupRef.value.addEventListener("mouseover",this.handlePopupMouseover),this.popupRef.value.addEventListener("sd-reposition",this.handlePopupReposition),this.isPopupConnected=!0)}removeListeners(){this.isConnected&&(this.host.removeEventListener("mousemove",this.handleMouseMove),this.host.removeEventListener("mouseover",this.handleMouseOver),this.host.removeEventListener("keydown",this.handleKeyDown),this.host.removeEventListener("click",this.handleClick),this.host.removeEventListener("focusout",this.handleFocusOut),this.isConnected=!1),this.isPopupConnected&&this.popupRef.value&&(this.popupRef.value.removeEventListener("mouseover",this.handlePopupMouseover),this.popupRef.value.removeEventListener("sd-reposition",this.handlePopupReposition),this.isPopupConnected=!1)}handleSubmenuEntry(e){let s=this.host.renderRoot.querySelector("slot[name='submenu']");if(!s){console.error("Cannot activate a submenu if no corresponding menuitem can be found.",this);return}let t=null;for(let o of s.assignedElements())if(t=o.querySelectorAll("sd-6-16-0-menu-item, [role^='menuitem']"),t.length!==0)break;if(!(!t||t.length===0)){t[0].setAttribute("tabindex","0");for(let o=1;o!==t.length;++o)t[o].setAttribute("tabindex","-1");this.popupRef.value&&(e.preventDefault(),e.stopPropagation(),this.popupRef.value.active?t[0]instanceof HTMLElement&&t[0].focus():(this.enableSubmenu(!1),this.host.updateComplete.then(()=>{t[0]instanceof HTMLElement&&t[0].focus()}),this.host.requestUpdate()))}}setSubmenuState(e){this.popupRef.value&&this.popupRef.value.active!==e&&(this.popupRef.value.active=e,this.host.requestUpdate())}enableSubmenu(e=!0){e?(window.clearTimeout(this.enableSubmenuTimer),this.enableSubmenuTimer=window.setTimeout(()=>{this.setSubmenuState(!0)},this.submenuOpenDelay)):this.setSubmenuState(!0)}disableSubmenu(){window.clearTimeout(this.enableSubmenuTimer),this.setSubmenuState(!1)}updateSkidding(){var o;if(!((o=this.host.parentElement)!=null&&o.computedStyleMap))return;let e=this.host.parentElement.computedStyleMap(),t=["padding-top","border-top-width","margin-top"].reduce((n,r)=>{var m;let a=(m=e.get(r))!=null?m:new CSSUnitValue(0,"px"),S=(a instanceof CSSUnitValue?a:new CSSUnitValue(0,"px")).to("px");return n-S.value},0);this.skidding=t}isExpanded(){return this.popupRef.value?this.popupRef.value.active:!1}renderSubmenu(){let e=getComputedStyle(this.host).direction==="rtl";return this.isConnected?l`<sd-6-16-0-popup ${b(this.popupRef)} placement="${e?"left-start":"right-start"}" anchor="anchor" flip flip-fallback-strategy="best-fit" skidding="${this.skidding}" strategy="fixed" auto-size="vertical" auto-size-padding="10"><slot name="submenu"></slot></sd-6-16-0-popup>`:l`<slot name="submenu" hidden></slot>`}};export{g as a};
1
+ import{a as f}from"./chunk.RMXFJHN6.js";import{b as c}from"./chunk.BSPQBW7U.js";import{e as l,i as u}from"./chunk.UOAG5PNU.js";var v=()=>new p,p=class{},h=new WeakMap,b=c(class extends f{render(i){return u}update(i,[e]){var t;let s=e!==this.G;return s&&this.G!==void 0&&this.rt(void 0),(s||this.lt!==this.ct)&&(this.G=e,this.ht=(t=i.options)==null?void 0:t.host,this.rt(this.ct=i.element)),u}rt(i){var e;if(this.isConnected||(i=void 0),typeof this.G=="function"){let s=(e=this.ht)!=null?e:globalThis,t=h.get(s);t===void 0&&(t=new WeakMap,h.set(s,t)),t.get(this.G)!==void 0&&this.G.call(this.ht,void 0),t.set(this.G,i),i!==void 0&&this.G.call(this.ht,i)}else this.G.value=i}get lt(){var i,e,s;return typeof this.G=="function"?(e=h.get((i=this.ht)!=null?i:globalThis))==null?void 0:e.get(this.G):(s=this.G)==null?void 0:s.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var g=class{constructor(e,s){this.popupRef=v();this.enableSubmenuTimer=-1;this.isConnected=!1;this.isPopupConnected=!1;this.skidding=0;this.submenuOpenDelay=100;this.handleMouseMove=e=>{this.host.style.setProperty("--safe-triangle-cursor-x",`${e.clientX}px`),this.host.style.setProperty("--safe-triangle-cursor-y",`${e.clientY}px`)};this.handleMouseOver=()=>{this.hasSlotController.test("submenu")&&this.enableSubmenu()};this.handleKeyDown=e=>{switch(e.key){case"Escape":case"Tab":this.disableSubmenu();break;case"ArrowLeft":e.target!==this.host&&(e.preventDefault(),e.stopPropagation(),this.host.focus(),this.disableSubmenu());break;case"ArrowRight":case"Enter":case" ":this.handleSubmenuEntry(e);break;default:break}};this.handleClick=e=>{var s;e.target===this.host?(e.preventDefault(),e.stopPropagation()):e.target instanceof Element&&(e.target.tagName==="sd-6-16-2-menu-item"||(s=e.target.role)!=null&&s.startsWith("menuitem"))&&e.target.getAttribute("type")!=="checkbox"&&this.disableSubmenu()};this.handleFocusOut=e=>{e.relatedTarget&&e.relatedTarget instanceof Element&&this.host.contains(e.relatedTarget)||this.disableSubmenu()};this.handlePopupMouseover=e=>{e.stopPropagation()};this.handlePopupReposition=()=>{let e=this.host.renderRoot.querySelector("slot[name='submenu']"),s=e==null?void 0:e.assignedElements({flatten:!0}).filter(d=>d.localName==="sd-6-16-2-menu")[0],t=getComputedStyle(this.host).direction==="rtl";if(!s)return;let{left:o,top:n,width:r,height:a}=s.getBoundingClientRect();this.host.style.setProperty("--safe-triangle-submenu-start-x",`${t?o+r:o}px`),this.host.style.setProperty("--safe-triangle-submenu-start-y",`${n}px`),this.host.style.setProperty("--safe-triangle-submenu-end-x",`${t?o+r:o}px`),this.host.style.setProperty("--safe-triangle-submenu-end-y",`${n+a}px`)};(this.host=e).addController(this),this.hasSlotController=s}hostConnected(){this.hasSlotController.test("submenu")&&!this.host.disabled&&this.addListeners()}hostDisconnected(){this.removeListeners()}hostUpdated(){this.hasSlotController.test("submenu")&&!this.host.disabled?(this.addListeners(),this.updateSkidding()):this.removeListeners()}addListeners(){this.isConnected||(this.host.addEventListener("mousemove",this.handleMouseMove),this.host.addEventListener("mouseover",this.handleMouseOver),this.host.addEventListener("keydown",this.handleKeyDown),this.host.addEventListener("click",this.handleClick),this.host.addEventListener("focusout",this.handleFocusOut),this.isConnected=!0),this.isPopupConnected||this.popupRef.value&&(this.popupRef.value.addEventListener("mouseover",this.handlePopupMouseover),this.popupRef.value.addEventListener("sd-reposition",this.handlePopupReposition),this.isPopupConnected=!0)}removeListeners(){this.isConnected&&(this.host.removeEventListener("mousemove",this.handleMouseMove),this.host.removeEventListener("mouseover",this.handleMouseOver),this.host.removeEventListener("keydown",this.handleKeyDown),this.host.removeEventListener("click",this.handleClick),this.host.removeEventListener("focusout",this.handleFocusOut),this.isConnected=!1),this.isPopupConnected&&this.popupRef.value&&(this.popupRef.value.removeEventListener("mouseover",this.handlePopupMouseover),this.popupRef.value.removeEventListener("sd-reposition",this.handlePopupReposition),this.isPopupConnected=!1)}handleSubmenuEntry(e){let s=this.host.renderRoot.querySelector("slot[name='submenu']");if(!s){console.error("Cannot activate a submenu if no corresponding menuitem can be found.",this);return}let t=null;for(let o of s.assignedElements())if(t=o.querySelectorAll("sd-6-16-2-menu-item, [role^='menuitem']"),t.length!==0)break;if(!(!t||t.length===0)){t[0].setAttribute("tabindex","0");for(let o=1;o!==t.length;++o)t[o].setAttribute("tabindex","-1");this.popupRef.value&&(e.preventDefault(),e.stopPropagation(),this.popupRef.value.active?t[0]instanceof HTMLElement&&t[0].focus():(this.enableSubmenu(!1),this.host.updateComplete.then(()=>{t[0]instanceof HTMLElement&&t[0].focus()}),this.host.requestUpdate()))}}setSubmenuState(e){this.popupRef.value&&this.popupRef.value.active!==e&&(this.popupRef.value.active=e,this.host.requestUpdate())}enableSubmenu(e=!0){e?(window.clearTimeout(this.enableSubmenuTimer),this.enableSubmenuTimer=window.setTimeout(()=>{this.setSubmenuState(!0)},this.submenuOpenDelay)):this.setSubmenuState(!0)}disableSubmenu(){window.clearTimeout(this.enableSubmenuTimer),this.setSubmenuState(!1)}updateSkidding(){var o;if(!((o=this.host.parentElement)!=null&&o.computedStyleMap))return;let e=this.host.parentElement.computedStyleMap(),t=["padding-top","border-top-width","margin-top"].reduce((n,r)=>{var m;let a=(m=e.get(r))!=null?m:new CSSUnitValue(0,"px"),S=(a instanceof CSSUnitValue?a:new CSSUnitValue(0,"px")).to("px");return n-S.value},0);this.skidding=t}isExpanded(){return this.popupRef.value?this.popupRef.value.active:!1}renderSubmenu(){let e=getComputedStyle(this.host).direction==="rtl";return this.isConnected?l`<sd-6-16-2-popup ${b(this.popupRef)} placement="${e?"left-start":"right-start"}" anchor="anchor" flip flip-fallback-strategy="best-fit" skidding="${this.skidding}" strategy="fixed" auto-size="vertical" auto-size-padding="10"><slot name="submenu"></slot></sd-6-16-2-popup>`:l`<slot name="submenu" hidden></slot>`}};export{g as a};
2
2
  /*! Bundled license information:
3
3
 
4
4
  lit-html/directives/ref.js:
@@ -1,2 +1,2 @@
1
- import{a as C}from"./chunk.2AQOPKKH.js";import{a as M}from"./chunk.G7HKVXLR.js";import{a as y,b as v}from"./chunk.3L472FD4.js";import{a as f}from"./chunk.SLXPE3UU.js";import{a as k}from"./chunk.CGQ2BPPZ.js";import{a,c as s}from"./chunk.B2NUKX6G.js";import{a as m}from"./chunk.KLRPP4NQ.js";import{a as x}from"./chunk.IQPMMUES.js";import{a as p}from"./chunk.3XPSGHFS.js";import{a as b}from"./chunk.NYKJXI3Q.js";import{a as w,b as h,d as c,h as u}from"./chunk.DX2U3PRB.js";import{b as g,e as l}from"./chunk.UOAG5PNU.js";import{b as n,e as d}from"./chunk.W4QBFD6E.js";import{e as o}from"./chunk.6EV4YU6C.js";var t=class extends u{constructor(){super(...arguments);this.hasSlotController=new k(this,"footer");this.localize=new x(this);this.open=!1;this.headline="";this.noCloseButton=!1}connectedCallback(){super.connectedCallback(),this.handleDocumentKeyDown=this.handleDocumentKeyDown.bind(this),this.modal=new C(this)}firstUpdated(){this.dialog.hidden=!this.open,this.open&&(this.addOpenListeners(),this.modal.activate(),y(this))}disconnectedCallback(){super.disconnectedCallback(),v(this)}get prefersReducedMotion(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}requestClose(e){if(this.emit("sd-request-close",{cancelable:!0,detail:{source:e}}).defaultPrevented){let i=s(this,"dialog.denyClose",{dir:this.localize.dir()});n(this.panel,i.keyframes,i.options);return}this.hide()}addOpenListeners(){document.addEventListener("keydown",this.handleDocumentKeyDown)}removeOpenListeners(){document.removeEventListener("keydown",this.handleDocumentKeyDown)}handleDocumentKeyDown(e){this.open&&e.key==="Escape"&&(e.stopPropagation(),this.requestClose("keyboard"))}async handleOpenChange(){if(this.open){this.emit("sd-show"),this.addOpenListeners(),this.originalTrigger=M(),this.modal.activate(),y(this);let e=this.querySelector("[autofocus]");e&&e.removeAttribute("autofocus"),await Promise.all([d(this.dialog),d(this.overlay)]),this.dialog.hidden=!1,requestAnimationFrame(()=>{this.emit("sd-initial-focus",{cancelable:!0}).defaultPrevented||(e?e.focus({preventScroll:!0}):this.panel.focus({preventScroll:!0})),e&&e.setAttribute("autofocus","")});let r=this.prefersReducedMotion?s(this,"dialog.showReducedMotion",{dir:this.localize.dir()}):s(this,"dialog.show",{dir:this.localize.dir()}),i=s(this,"dialog.overlay.show",{dir:this.localize.dir()});await Promise.all([n(this.panel,r.keyframes,r.options),n(this.overlay,i.keyframes,i.options)]),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),this.modal.deactivate(),await Promise.all([d(this.dialog),d(this.overlay)]);let e=this.prefersReducedMotion?s(this,"dialog.hideReducedMotion",{dir:this.localize.dir()}):s(this,"dialog.hide",{dir:this.localize.dir()}),r=s(this,"dialog.overlay.hide",{dir:this.localize.dir()});await Promise.all([n(this.overlay,r.keyframes,r.options).then(()=>{this.overlay.hidden=!0}),n(this.panel,e.keyframes,e.options).then(()=>{this.panel.hidden=!0})]),this.dialog.hidden=!0,this.overlay.hidden=!1,this.panel.hidden=!1,v(this);let i=this.originalTrigger;typeof(i==null?void 0:i.focus)=="function"&&i.isConnected&&setTimeout(()=>{try{i.focus({preventScroll:!0})}catch(L){i.focus()}this.originalTrigger=null}),this.emit("sd-after-hide")}}async show(){if(!this.open)return this.open=!0,m(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,m(this,"sd-after-hide")}render(){return l`<div part="base" class="${p("flex items-center justify-center fixed inset-0 z-dialog",this.hasSlotController.test("footer")&&"dialog--has-footer")}"><div part="overlay" class="fixed inset-0 overlay-color-background" @click="${()=>this.requestClose("overlay")}" tabindex="-1"></div><div part="panel" class="${p("panel-color-border border flex flex-col z-20 bg-white py-4 sm:py-8 relative gap-6 focus-visible:focus-outline-inverted overflow-y-auto",this.open&&"flex opacity-100")}" role="dialog" aria-modal="true" aria-hidden="${this.open?"false":"true"}" aria-label="${f(this.headline?this.headline:void 0)}" aria-labelledby="${f(this.headline?void 0:"title")}" tabindex="0"><header part="header" class="flex flex-grow-0 flex-shrink-0 basis-auto px-6 sm:px-10"><h2 part="title" class="flex-auto m-0" id="title">${this.headline.length>0?l`<span class="sd-headline sd-headline--size-3xl leading-tight">${this.headline}</span>`:l`<slot name="headline"></slot>`}</h2>${this.noCloseButton?"":l`<sd-6-16-0-button part="close-button" variant="tertiary" exportparts="base:close-button__base" class="${p("absolute top-2 right-2")}" name="x-lg" @click="${()=>this.requestClose("close-button")}" type="button"><sd-6-16-0-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-6-16-0-icon></sd-6-16-0-button>`}</header><main part="body" class="flex flex-auto overflow-auto w-full px-6 sm:px-10"><slot></slot></main><footer part="footer" class="flex flex-grow-0 flex-shrink-0 basis-auto ml-auto gap-4 px-6 sm:px-10"><slot name="footer"></slot></footer></div></div>`}};t.styles=[...u.styles,g`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{--width:662px}[part=panel]{width:var(--width);max-height:80vh}[part=body]{-webkit-overflow-scrolling:touch}@media (max-width:414px){:host{--width:335px}[part=body]{min-height:50px}[part=footer]{width:100%}}`],o([c('[part="base"]')],t.prototype,"dialog",2),o([c('[part="panel"]')],t.prototype,"panel",2),o([c('[part="overlay"]')],t.prototype,"overlay",2),o([h({type:Boolean,reflect:!0})],t.prototype,"open",2),o([h({type:String,reflect:!0})],t.prototype,"headline",2),o([h({attribute:"no-close-button",type:Boolean,reflect:!0})],t.prototype,"noCloseButton",2),o([b("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),t=o([w("sd-6-16-0-dialog")],t);a("dialog.show",{keyframes:[{opacity:0,transform:"translate(-50%, 100%)"},{opacity:1,transform:"translate(0, 0)"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});a("dialog.showReducedMotion",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out",reducedMotion:"allow"}});a("dialog.hide",{keyframes:[{opacity:1,transform:"translate(0, 0)"},{opacity:0,transform:"translate(50%, -100%)"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});a("dialog.hideReducedMotion",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out",reducedMotion:"allow"}});a("dialog.denyClose",{keyframes:[{scale:1},{scale:1.02},{scale:1}],options:{duration:250}});a("dialog.overlay.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out",reducedMotion:"allow"}});a("dialog.overlay.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out",reducedMotion:"allow"}});export{t as a};
1
+ import{a as C}from"./chunk.2AQOPKKH.js";import{a as M}from"./chunk.G7HKVXLR.js";import{a as y,b as v}from"./chunk.3L472FD4.js";import{a as f}from"./chunk.SLXPE3UU.js";import{a as k}from"./chunk.CGQ2BPPZ.js";import{a,c as s}from"./chunk.B2NUKX6G.js";import{a as m}from"./chunk.KLRPP4NQ.js";import{a as x}from"./chunk.IQPMMUES.js";import{a as p}from"./chunk.3XPSGHFS.js";import{a as b}from"./chunk.NYKJXI3Q.js";import{a as w,b as h,d as c,h as u}from"./chunk.M6E2RMEB.js";import{b as g,e as l}from"./chunk.UOAG5PNU.js";import{b as n,e as d}from"./chunk.W4QBFD6E.js";import{e as o}from"./chunk.6EV4YU6C.js";var t=class extends u{constructor(){super(...arguments);this.hasSlotController=new k(this,"footer");this.localize=new x(this);this.open=!1;this.headline="";this.noCloseButton=!1}connectedCallback(){super.connectedCallback(),this.handleDocumentKeyDown=this.handleDocumentKeyDown.bind(this),this.modal=new C(this)}firstUpdated(){this.dialog.hidden=!this.open,this.open&&(this.addOpenListeners(),this.modal.activate(),y(this))}disconnectedCallback(){super.disconnectedCallback(),v(this)}get prefersReducedMotion(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}requestClose(e){if(this.emit("sd-request-close",{cancelable:!0,detail:{source:e}}).defaultPrevented){let i=s(this,"dialog.denyClose",{dir:this.localize.dir()});n(this.panel,i.keyframes,i.options);return}this.hide()}addOpenListeners(){document.addEventListener("keydown",this.handleDocumentKeyDown)}removeOpenListeners(){document.removeEventListener("keydown",this.handleDocumentKeyDown)}handleDocumentKeyDown(e){this.open&&e.key==="Escape"&&(e.stopPropagation(),this.requestClose("keyboard"))}async handleOpenChange(){if(this.open){this.emit("sd-show"),this.addOpenListeners(),this.originalTrigger=M(),this.modal.activate(),y(this);let e=this.querySelector("[autofocus]");e&&e.removeAttribute("autofocus"),await Promise.all([d(this.dialog),d(this.overlay)]),this.dialog.hidden=!1,requestAnimationFrame(()=>{this.emit("sd-initial-focus",{cancelable:!0}).defaultPrevented||(e?e.focus({preventScroll:!0}):this.panel.focus({preventScroll:!0})),e&&e.setAttribute("autofocus","")});let r=this.prefersReducedMotion?s(this,"dialog.showReducedMotion",{dir:this.localize.dir()}):s(this,"dialog.show",{dir:this.localize.dir()}),i=s(this,"dialog.overlay.show",{dir:this.localize.dir()});await Promise.all([n(this.panel,r.keyframes,r.options),n(this.overlay,i.keyframes,i.options)]),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),this.modal.deactivate(),await Promise.all([d(this.dialog),d(this.overlay)]);let e=this.prefersReducedMotion?s(this,"dialog.hideReducedMotion",{dir:this.localize.dir()}):s(this,"dialog.hide",{dir:this.localize.dir()}),r=s(this,"dialog.overlay.hide",{dir:this.localize.dir()});await Promise.all([n(this.overlay,r.keyframes,r.options).then(()=>{this.overlay.hidden=!0}),n(this.panel,e.keyframes,e.options).then(()=>{this.panel.hidden=!0})]),this.dialog.hidden=!0,this.overlay.hidden=!1,this.panel.hidden=!1,v(this);let i=this.originalTrigger;typeof(i==null?void 0:i.focus)=="function"&&i.isConnected&&setTimeout(()=>{try{i.focus({preventScroll:!0})}catch(L){i.focus()}this.originalTrigger=null}),this.emit("sd-after-hide")}}async show(){if(!this.open)return this.open=!0,m(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,m(this,"sd-after-hide")}render(){return l`<div part="base" class="${p("flex items-center justify-center fixed inset-0 z-dialog",this.hasSlotController.test("footer")&&"dialog--has-footer")}"><div part="overlay" class="fixed inset-0 overlay-color-background" @click="${()=>this.requestClose("overlay")}" tabindex="-1"></div><div part="panel" class="${p("panel-color-border border flex flex-col z-20 bg-white py-4 sm:py-8 relative gap-6 focus-visible:focus-outline-inverted overflow-y-auto",this.open&&"flex opacity-100")}" role="dialog" aria-modal="true" aria-hidden="${this.open?"false":"true"}" aria-label="${f(this.headline?this.headline:void 0)}" aria-labelledby="${f(this.headline?void 0:"title")}" tabindex="0"><header part="header" class="flex flex-grow-0 flex-shrink-0 basis-auto px-6 sm:px-10"><h2 part="title" class="flex-auto m-0" id="title">${this.headline.length>0?l`<span class="sd-headline sd-headline--size-3xl leading-tight">${this.headline}</span>`:l`<slot name="headline"></slot>`}</h2>${this.noCloseButton?"":l`<sd-6-16-2-button part="close-button" variant="tertiary" exportparts="base:close-button__base" class="${p("absolute top-2 right-2")}" name="x-lg" @click="${()=>this.requestClose("close-button")}" type="button"><sd-6-16-2-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-6-16-2-icon></sd-6-16-2-button>`}</header><main part="body" class="flex flex-auto overflow-auto w-full px-6 sm:px-10"><slot></slot></main><footer part="footer" class="flex flex-grow-0 flex-shrink-0 basis-auto ml-auto gap-4 px-6 sm:px-10"><slot name="footer"></slot></footer></div></div>`}};t.styles=[...u.styles,g`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{--width:662px}[part=panel]{width:var(--width);max-height:80vh}[part=body]{-webkit-overflow-scrolling:touch}@media (max-width:414px){:host{--width:335px}[part=body]{min-height:50px}[part=footer]{width:100%}}`],o([c('[part="base"]')],t.prototype,"dialog",2),o([c('[part="panel"]')],t.prototype,"panel",2),o([c('[part="overlay"]')],t.prototype,"overlay",2),o([h({type:Boolean,reflect:!0})],t.prototype,"open",2),o([h({type:String,reflect:!0})],t.prototype,"headline",2),o([h({attribute:"no-close-button",type:Boolean,reflect:!0})],t.prototype,"noCloseButton",2),o([b("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),t=o([w("sd-6-16-2-dialog")],t);a("dialog.show",{keyframes:[{opacity:0,transform:"translate(-50%, 100%)"},{opacity:1,transform:"translate(0, 0)"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});a("dialog.showReducedMotion",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out",reducedMotion:"allow"}});a("dialog.hide",{keyframes:[{opacity:1,transform:"translate(0, 0)"},{opacity:0,transform:"translate(50%, -100%)"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});a("dialog.hideReducedMotion",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out",reducedMotion:"allow"}});a("dialog.denyClose",{keyframes:[{scale:1},{scale:1.02},{scale:1}],options:{duration:250}});a("dialog.overlay.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out",reducedMotion:"allow"}});a("dialog.overlay.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out",reducedMotion:"allow"}});export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as s}from"./chunk.SLXPE3UU.js";import{a as l,b as d}from"./chunk.SV6DES3E.js";import{a as b}from"./chunk.IQPMMUES.js";import{a}from"./chunk.3XPSGHFS.js";import{a as h,b as i,d as f,h as n}from"./chunk.DX2U3PRB.js";import{b as u}from"./chunk.UOAG5PNU.js";import{e as r}from"./chunk.6EV4YU6C.js";var e=class extends n{constructor(){super(...arguments);this.localize=new b(this);this.size="lg";this.selected=!1;this.toggleable=!1;this.removable=!1;this.disabled=!1;this.href=""}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleRemove(){this.emit("sd-remove")}isLink(){return!!this.href}click(){this.tag.click()}focus(t){this.tag.focus(t)}blur(){this.tag.blur()}async hide(){this.emit("sd-hide"),this.style.opacity="0",await new Promise(t=>setTimeout(t,this.token("--sd-duration-fast",150))),this.hidden=!0,this.emit("sd-after-hide")}render(){let t=this.isLink(),o=this.removable&&!this.selected&&!this.toggleable,c=t?l`a`:o?l`div`:l`button`;return d`<${c} part="base" type="${s(t?void 0:"button")}" href="${s(t?this.href:void 0)}" rel="${s(t&&this.target?"noreferrer noopener":void 0)}" target="${s(t?this.target:void 0)}" download="${s(t?this.download:void 0)}" ?disabled="${s(t?void 0:this.disabled)}" aria-labelledby="content" aria-disabled="${this.disabled?"true":"false"}" aria-pressed="${s(this.toggleable?this.selected:void 0)}" tabindex="${this.disabled||o?"-1":"0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" class="${a("flex border box-border sd-6-16-0-tag-border-radius items-center leading-none whitespace-nowrap transition-colors duration-fast ease-in-out focus-visible:focus-outline",{lg:"h-8 sd-6-16-0-tag-font-weight sd-6-16-0-tag--size-lg-font-size gap-2",sm:"h-6 sd-6-16-0-tag-font-weight sd-6-16-0-tag--size-sm-font-size gap-1"}[this.size],{lg:o?"pl-4 pr-3 py-2":"px-4 py-2",sm:o?"pl-3 pr-2 py-2":"px-3 py-[5px]"}[this.size],this.disabled?a(!t&&"cursor-not-allowed",this.selected&&"bg-neutral-500 text-white","sd-6-16-0-tag--disabled-color-border sd-6-16-0-tag--disabled-color-text"):this.selected?"sd-6-16-0-tag--selected-border-width sd-6-16-0-tag--selected--default-color-background sd-6-16-0-tag--selected--default-color-border sd-6-16-0-tag--selected--default-color-text hover:sd-6-16-0-tag--selected--hover-color-background hover:sd-6-16-0-tag--selected--hover-color-border hover:sd-6-16-0-tag--selected--hover-color-text":a("sd-6-16-0-tag--default-color-border sd-6-16-0-tag--default-color-text",o?"sd-6-16-0-tag--default-color-background has-[button:hover]:border-primary-500 has-[button:hover]:text-primary-500":"sd-6-16-0-tag--default-color-background hover:border-primary-500 hover:text-primary-500 hover:sd-6-16-0-tag--default--hover-color-background"))}"><slot name="icon-left" class="${a("flex-shrink-0",this.size==="lg"?"text-base":"text-[0.75rem]")}"></slot><slot id="content" part="content"></slot>${o&&!t?d`<button class="sd-interactive flex items-center" type="button" @click="${this.handleRemove}" ?disabled="${s(t?void 0:this.disabled)}"><slot part="removable-indicator" name="removable-indicator"><sd-6-16-0-icon library="_internal" name="close" label="${this.localize.term("remove")}"></sd-6-16-0-icon></slot></button>`:""}</${c}>`}};e.styles=[...n.styles,u`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
- :host{display:inline-block;transition-property:opacity;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-fast, 150ms);transition-duration:var(--sd-duration-fast,150ms);--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))}:host([size=lg])::part(removable-indicator){font-size:var(--sd-text-base);line-height:var(--tw-leading,var(--text-base--line-height,calc(1.5 / 1)))}:host([size=sm])::part(removable-indicator){font-size:.75rem}.sd-6-16-0-tag--disabled-color-border{border-color:rgb(var(--sd-tag--disabled-color-border))}.sd-6-16-0-tag-font-weight{font-weight:var(--sd-tag-font-weight)}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}`],r([f("a, button, div")],e.prototype,"tag",2),r([i({type:String,reflect:!0})],e.prototype,"size",2),r([i({type:Boolean,reflect:!0})],e.prototype,"selected",2),r([i({type:Boolean,reflect:!0})],e.prototype,"toggleable",2),r([i({type:Boolean,reflect:!0})],e.prototype,"removable",2),r([i({type:Boolean,reflect:!0})],e.prototype,"disabled",2),r([i({type:String,reflect:!0})],e.prototype,"href",2),r([i({type:String,reflect:!0})],e.prototype,"target",2),r([i({reflect:!0})],e.prototype,"download",2),e=r([h("sd-6-16-0-tag")],e);export{e as a};
1
+ import{a as s}from"./chunk.SLXPE3UU.js";import{a as l,b as d}from"./chunk.SV6DES3E.js";import{a as b}from"./chunk.IQPMMUES.js";import{a}from"./chunk.3XPSGHFS.js";import{a as h,b as i,d as f,h as n}from"./chunk.M6E2RMEB.js";import{b as u}from"./chunk.UOAG5PNU.js";import{e as r}from"./chunk.6EV4YU6C.js";var e=class extends n{constructor(){super(...arguments);this.localize=new b(this);this.size="lg";this.selected=!1;this.toggleable=!1;this.removable=!1;this.disabled=!1;this.href=""}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleRemove(){this.emit("sd-remove")}isLink(){return!!this.href}click(){this.tag.click()}focus(t){this.tag.focus(t)}blur(){this.tag.blur()}async hide(){this.emit("sd-hide"),this.style.opacity="0",await new Promise(t=>setTimeout(t,this.token("--sd-duration-fast",150))),this.hidden=!0,this.emit("sd-after-hide")}render(){let t=this.isLink(),o=this.removable&&!this.selected&&!this.toggleable,c=t?l`a`:o?l`div`:l`button`;return d`<${c} part="base" type="${s(t?void 0:"button")}" href="${s(t?this.href:void 0)}" rel="${s(t&&this.target?"noreferrer noopener":void 0)}" target="${s(t?this.target:void 0)}" download="${s(t?this.download:void 0)}" ?disabled="${s(t?void 0:this.disabled)}" aria-labelledby="content" aria-disabled="${this.disabled?"true":"false"}" aria-pressed="${s(this.toggleable?this.selected:void 0)}" tabindex="${this.disabled||o?"-1":"0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" class="${a("flex border box-border sd-6-16-2-tag-border-radius items-center leading-none whitespace-nowrap transition-colors duration-fast ease-in-out focus-visible:focus-outline",{lg:"h-8 sd-6-16-2-tag-font-weight sd-6-16-2-tag--size-lg-font-size gap-2",sm:"h-6 sd-6-16-2-tag-font-weight sd-6-16-2-tag--size-sm-font-size gap-1"}[this.size],{lg:o?"pl-4 pr-3 py-2":"px-4 py-2",sm:o?"pl-3 pr-2 py-2":"px-3 py-[5px]"}[this.size],this.disabled?a(!t&&"cursor-not-allowed",this.selected&&"bg-neutral-500 text-white","sd-6-16-2-tag--disabled-color-border sd-6-16-2-tag--disabled-color-text"):this.selected?"sd-6-16-2-tag--selected-border-width sd-6-16-2-tag--selected--default-color-background sd-6-16-2-tag--selected--default-color-border sd-6-16-2-tag--selected--default-color-text hover:sd-6-16-2-tag--selected--hover-color-background hover:sd-6-16-2-tag--selected--hover-color-border hover:sd-6-16-2-tag--selected--hover-color-text":a("sd-6-16-2-tag--default-color-border sd-6-16-2-tag--default-color-text",o?"sd-6-16-2-tag--default-color-background has-[button:hover]:border-primary-500 has-[button:hover]:text-primary-500":"sd-6-16-2-tag--default-color-background hover:border-primary-500 hover:text-primary-500 hover:sd-6-16-2-tag--default--hover-color-background"))}"><slot name="icon-left" class="${a("flex-shrink-0",this.size==="lg"?"text-base":"text-[0.75rem]")}"></slot><slot id="content" part="content"></slot>${o&&!t?d`<button class="sd-interactive flex items-center" type="button" @click="${this.handleRemove}" ?disabled="${s(t?void 0:this.disabled)}"><slot part="removable-indicator" name="removable-indicator"><sd-6-16-2-icon library="_internal" name="close" label="${this.localize.term("remove")}"></sd-6-16-2-icon></slot></button>`:""}</${c}>`}};e.styles=[...n.styles,u`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
+ :host{display:inline-block;transition-property:opacity;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-fast, 150ms);transition-duration:var(--sd-duration-fast,150ms);--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))}:host([size=lg])::part(removable-indicator){font-size:var(--sd-text-base);line-height:var(--tw-leading,var(--text-base--line-height,calc(1.5 / 1)))}:host([size=sm])::part(removable-indicator){font-size:.75rem}.sd-6-16-2-tag--disabled-color-border{border-color:rgb(var(--sd-tag--disabled-color-border))}.sd-6-16-2-tag-font-weight{font-weight:var(--sd-tag-font-weight)}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}`],r([f("a, button, div")],e.prototype,"tag",2),r([i({type:String,reflect:!0})],e.prototype,"size",2),r([i({type:Boolean,reflect:!0})],e.prototype,"selected",2),r([i({type:Boolean,reflect:!0})],e.prototype,"toggleable",2),r([i({type:Boolean,reflect:!0})],e.prototype,"removable",2),r([i({type:Boolean,reflect:!0})],e.prototype,"disabled",2),r([i({type:String,reflect:!0})],e.prototype,"href",2),r([i({type:String,reflect:!0})],e.prototype,"target",2),r([i({reflect:!0})],e.prototype,"download",2),e=r([h("sd-6-16-2-tag")],e);export{e as a};
@@ -21,6 +21,6 @@ export default class SdAccordion extends SolidElement {
21
21
  }
22
22
  declare global {
23
23
  interface HTMLElementTagNameMap {
24
- 'sd-6-16-0-accordion': SdAccordion;
24
+ 'sd-6-16-2-accordion': SdAccordion;
25
25
  }
26
26
  }