@solid-design-system/components 6.0.0-next.13 → 6.0.0-next.15

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 (651) hide show
  1. package/cdn/chunks/{chunk.CMUYA4JA.js → chunk.32JAD3N5.js} +1 -1
  2. package/cdn/chunks/{chunk.FZDWRR4M.js → chunk.44RRNK77.js} +1 -1
  3. package/cdn/chunks/{chunk.FGIDTNRY.js → chunk.4BUVZCCC.js} +1 -1
  4. package/cdn/chunks/{chunk.XVIS3URC.js → chunk.57FDDP4B.js} +2 -2
  5. package/cdn/chunks/{chunk.HW2XROMU.js → chunk.5MOHAGBA.js} +1 -1
  6. package/cdn/chunks/chunk.73MAKMB5.js +2 -0
  7. package/cdn/chunks/{chunk.WDWBQF3Q.js → chunk.AD4FWVRS.js} +1 -1
  8. package/cdn/chunks/{chunk.4YIPRD2R.js → chunk.ANRDMBND.js} +1 -1
  9. package/cdn/chunks/{chunk.BNUZ66HV.js → chunk.AULEHSRU.js} +1 -1
  10. package/cdn/chunks/{chunk.YYVAO5XU.js → chunk.B3D7APQH.js} +1 -1
  11. package/cdn/chunks/{chunk.AJWY5KT4.js → chunk.C235TETP.js} +1 -1
  12. package/cdn/chunks/{chunk.4BA5ZOGJ.js → chunk.D2WU4Q2U.js} +1 -1
  13. package/cdn/chunks/{chunk.JLPSMSYV.js → chunk.D5PJ2ZRQ.js} +1 -1
  14. package/cdn/chunks/{chunk.H5OTIIDM.js → chunk.DPTWH6T5.js} +1 -1
  15. package/cdn/chunks/{chunk.2YVFFSZ2.js → chunk.FVJ66Z3G.js} +1 -1
  16. package/cdn/chunks/{chunk.6NT553UW.js → chunk.GP7Z2TWH.js} +2 -2
  17. package/cdn/chunks/{chunk.JV3CZSIV.js → chunk.GTBBNBIR.js} +1 -1
  18. package/cdn/chunks/{chunk.YFRDMK6W.js → chunk.HHOD3MAL.js} +1 -1
  19. package/cdn/chunks/{chunk.KOCOMSSL.js → chunk.J2HKJLFT.js} +1 -1
  20. package/cdn/chunks/{chunk.ZRYG64PN.js → chunk.J3HTJIQW.js} +1 -1
  21. package/cdn/chunks/{chunk.BM3H7EWP.js → chunk.K7ESFZ3Q.js} +1 -1
  22. package/cdn/chunks/{chunk.47MRK77Q.js → chunk.KI5EVSVJ.js} +1 -1
  23. package/cdn/chunks/chunk.KKNY4QDI.js +2 -0
  24. package/cdn/chunks/{chunk.K647VAIN.js → chunk.KLVDG7KO.js} +1 -1
  25. package/cdn/chunks/{chunk.7FOCBEJX.js → chunk.KTDJM7XR.js} +1 -1
  26. package/cdn/chunks/{chunk.N2D2FFWH.js → chunk.MLIWN7ES.js} +1 -1
  27. package/cdn/chunks/{chunk.AQPYT3YS.js → chunk.N2QR7LPT.js} +1 -1
  28. package/cdn/chunks/{chunk.CCBHAIEN.js → chunk.PPXI3VOA.js} +1 -1
  29. package/cdn/chunks/{chunk.UHDNXYVU.js → chunk.PXVVCUPI.js} +1 -1
  30. package/cdn/chunks/chunk.PXZ5R75M.js +2 -0
  31. package/cdn/chunks/{chunk.4XOGRPML.js → chunk.S2SU7ER6.js} +1 -1
  32. package/cdn/chunks/{chunk.K4PQBCFA.js → chunk.S75JJP63.js} +1 -1
  33. package/cdn/chunks/{chunk.KMYA4EDE.js → chunk.SMSAVZ2K.js} +1 -1
  34. package/cdn/chunks/{chunk.44VVOUNS.js → chunk.SUGBEGER.js} +1 -1
  35. package/cdn/chunks/{chunk.VRBKTE6L.js → chunk.SYNBUJAR.js} +1 -1
  36. package/cdn/chunks/{chunk.V2RD6VHQ.js → chunk.SZSE6YYB.js} +2 -2
  37. package/cdn/chunks/{chunk.TNXNTP3E.js → chunk.T4SU32CA.js} +2 -2
  38. package/cdn/chunks/{chunk.VVX7QSXX.js → chunk.TGPUPG5E.js} +1 -1
  39. package/cdn/chunks/{chunk.6K6UAUJB.js → chunk.TSOKG5F2.js} +1 -1
  40. package/cdn/chunks/{chunk.FUFYA576.js → chunk.TSOQMRJO.js} +2 -2
  41. package/cdn/chunks/{chunk.RY2KL7E3.js → chunk.UCPXJ4GN.js} +1 -1
  42. package/cdn/chunks/{chunk.T527FME4.js → chunk.UF4KJ3DV.js} +2 -2
  43. package/cdn/chunks/{chunk.XM7DA5LT.js → chunk.V4V7E4UZ.js} +2 -2
  44. package/cdn/chunks/{chunk.TQKGKW36.js → chunk.VD6SD25N.js} +1 -1
  45. package/cdn/chunks/{chunk.4B2UGI4Q.js → chunk.VGT7HHRZ.js} +1 -1
  46. package/cdn/chunks/{chunk.XUSHLNK2.js → chunk.VTDQOKJM.js} +1 -1
  47. package/cdn/chunks/{chunk.EPZHTJOD.js → chunk.W7W6IW3J.js} +1 -1
  48. package/cdn/chunks/{chunk.CUX2GVLG.js → chunk.WONXPU7C.js} +1 -1
  49. package/cdn/chunks/{chunk.SPW5M7X6.js → chunk.WVVS4BKV.js} +1 -1
  50. package/cdn/chunks/{chunk.SOZMBJQS.js → chunk.WY5XXMYD.js} +2 -2
  51. package/cdn/chunks/{chunk.FDIETORH.js → chunk.XCLLVX53.js} +1 -1
  52. package/cdn/chunks/{chunk.HXH2R7SD.js → chunk.XJC6EFPF.js} +1 -1
  53. package/cdn/chunks/{chunk.7CPADVOB.js → chunk.XVP5PHEN.js} +2 -2
  54. package/cdn/chunks/{chunk.V6OZYBBZ.js → chunk.Y6CTKTQU.js} +1 -1
  55. package/cdn/chunks/{chunk.YH3VRHVM.js → chunk.YMNRQNUH.js} +2 -2
  56. package/cdn/chunks/{chunk.56CEBIDO.js → chunk.YNT24EUA.js} +1 -1
  57. package/cdn/chunks/{chunk.PQLUBSLH.js → chunk.YR4YE3P7.js} +1 -1
  58. package/cdn/chunks/{chunk.K5JMQ4UD.js → chunk.YYHOXDC7.js} +1 -1
  59. package/cdn/chunks/{chunk.SQ7Q6ATD.js → chunk.Z74CS2MD.js} +1 -1
  60. package/cdn/chunks/chunk.ZDDBOQSP.js +26 -0
  61. package/cdn/chunks/{chunk.6YG52QHB.js → chunk.ZEQ44IQB.js} +1 -1
  62. package/cdn/components/accordion/accordion.js +1 -1
  63. package/cdn/components/accordion-group/accordion-group.js +1 -1
  64. package/cdn/components/animation/animation.js +1 -1
  65. package/cdn/components/audio/audio.js +1 -1
  66. package/cdn/components/badge/badge.js +1 -1
  67. package/cdn/components/brandshape/brandshape.js +1 -1
  68. package/cdn/components/breadcrumb/breadcrumb.js +1 -1
  69. package/cdn/components/breadcrumb-item/breadcrumb-item.js +1 -1
  70. package/cdn/components/button/button.js +1 -1
  71. package/cdn/components/button-group/button-group.js +1 -1
  72. package/cdn/components/carousel/carousel.js +1 -1
  73. package/cdn/components/carousel-item/carousel-item.js +1 -1
  74. package/cdn/components/checkbox/checkbox.js +1 -1
  75. package/cdn/components/checkbox-group/checkbox-group.js +1 -1
  76. package/cdn/components/combobox/combobox.js +1 -1
  77. package/cdn/components/datepicker/datepicker.d.ts +5 -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.d.ts +1 -0
  89. package/cdn/components/input/input.js +1 -1
  90. package/cdn/components/link/link.js +1 -1
  91. package/cdn/components/loader/loader.js +1 -1
  92. package/cdn/components/map-marker/map-marker.js +1 -1
  93. package/cdn/components/menu/menu.js +1 -1
  94. package/cdn/components/menu-item/menu-item.js +1 -1
  95. package/cdn/components/navigation-item/navigation-item.js +1 -1
  96. package/cdn/components/notification/notification.js +1 -1
  97. package/cdn/components/optgroup/optgroup.js +1 -1
  98. package/cdn/components/option/option.js +1 -1
  99. package/cdn/components/popup/popup.js +1 -1
  100. package/cdn/components/quickfact/quickfact.js +1 -1
  101. package/cdn/components/radio/radio.js +1 -1
  102. package/cdn/components/radio-button/radio-button.js +1 -1
  103. package/cdn/components/radio-group/radio-group.js +1 -1
  104. package/cdn/components/range/range.js +1 -1
  105. package/cdn/components/range-tick/range-tick.js +1 -1
  106. package/cdn/components/scrollable/scrollable.js +1 -1
  107. package/cdn/components/select/select.js +1 -1
  108. package/cdn/components/skeleton/skeleton.d.ts +11 -0
  109. package/cdn/components/skeleton/skeleton.js +1 -0
  110. package/cdn/components/spinner/spinner.js +1 -1
  111. package/cdn/components/step/step.js +1 -1
  112. package/cdn/components/step-group/step-group.js +1 -1
  113. package/cdn/components/switch/switch.js +1 -1
  114. package/cdn/components/tab/tab.js +1 -1
  115. package/cdn/components/tab-group/tab-group.js +1 -1
  116. package/cdn/components/tab-panel/tab-panel.js +1 -1
  117. package/cdn/components/tag/tag.js +1 -1
  118. package/cdn/components/teaser/teaser.js +1 -1
  119. package/cdn/components/teaser-media/teaser-media.js +1 -1
  120. package/cdn/components/textarea/textarea.js +1 -1
  121. package/cdn/components/theme-listener/theme-listener.js +1 -1
  122. package/cdn/components/tooltip/tooltip.js +1 -1
  123. package/cdn/components/video/video.js +1 -1
  124. package/cdn/custom-elements.json +202 -1
  125. package/cdn/solid-components.bundle.js +85 -84
  126. package/cdn/solid-components.css +1 -1
  127. package/cdn/solid-components.d.ts +1 -0
  128. package/cdn/solid-components.iife.js +85 -84
  129. package/cdn/solid-components.js +1 -1
  130. package/cdn/utilities/autocomplete-config.js +1 -1
  131. package/cdn/vscode.html-custom-data.json +33 -1
  132. package/cdn/web-types.json +64 -2
  133. package/cdn-versioned/chunks/{chunk.CMUYA4JA.js → chunk.32JAD3N5.js} +2 -2
  134. package/cdn-versioned/chunks/{chunk.FZDWRR4M.js → chunk.44RRNK77.js} +2 -2
  135. package/cdn-versioned/chunks/{chunk.FGIDTNRY.js → chunk.4BUVZCCC.js} +2 -2
  136. package/cdn-versioned/chunks/{chunk.XVIS3URC.js → chunk.57FDDP4B.js} +5 -5
  137. package/cdn-versioned/chunks/{chunk.HW2XROMU.js → chunk.5MOHAGBA.js} +2 -2
  138. package/cdn-versioned/chunks/chunk.73MAKMB5.js +2 -0
  139. package/cdn-versioned/chunks/{chunk.WDWBQF3Q.js → chunk.AD4FWVRS.js} +2 -2
  140. package/cdn-versioned/chunks/{chunk.4YIPRD2R.js → chunk.ANRDMBND.js} +2 -2
  141. package/cdn-versioned/chunks/{chunk.BNUZ66HV.js → chunk.AULEHSRU.js} +2 -2
  142. package/cdn-versioned/chunks/{chunk.YYVAO5XU.js → chunk.B3D7APQH.js} +2 -2
  143. package/cdn-versioned/chunks/{chunk.AJWY5KT4.js → chunk.C235TETP.js} +2 -2
  144. package/cdn-versioned/chunks/chunk.CDP46OS4.js +1 -1
  145. package/cdn-versioned/chunks/{chunk.4BA5ZOGJ.js → chunk.D2WU4Q2U.js} +2 -2
  146. package/cdn-versioned/chunks/{chunk.JLPSMSYV.js → chunk.D5PJ2ZRQ.js} +2 -2
  147. package/cdn-versioned/chunks/{chunk.H5OTIIDM.js → chunk.DPTWH6T5.js} +2 -2
  148. package/cdn-versioned/chunks/{chunk.2YVFFSZ2.js → chunk.FVJ66Z3G.js} +2 -2
  149. package/cdn-versioned/chunks/{chunk.6NT553UW.js → chunk.GP7Z2TWH.js} +3 -3
  150. package/cdn-versioned/chunks/{chunk.JV3CZSIV.js → chunk.GTBBNBIR.js} +2 -2
  151. package/cdn-versioned/chunks/{chunk.YFRDMK6W.js → chunk.HHOD3MAL.js} +2 -2
  152. package/cdn-versioned/chunks/{chunk.KOCOMSSL.js → chunk.J2HKJLFT.js} +2 -2
  153. package/cdn-versioned/chunks/{chunk.ZRYG64PN.js → chunk.J3HTJIQW.js} +2 -2
  154. package/cdn-versioned/chunks/chunk.JS2HQ2N4.js +1 -1
  155. package/cdn-versioned/chunks/{chunk.BM3H7EWP.js → chunk.K7ESFZ3Q.js} +2 -2
  156. package/cdn-versioned/chunks/{chunk.47MRK77Q.js → chunk.KI5EVSVJ.js} +2 -2
  157. package/cdn-versioned/chunks/chunk.KKNY4QDI.js +2 -0
  158. package/cdn-versioned/chunks/{chunk.K647VAIN.js → chunk.KLVDG7KO.js} +2 -2
  159. package/cdn-versioned/chunks/{chunk.7FOCBEJX.js → chunk.KTDJM7XR.js} +2 -2
  160. package/cdn-versioned/chunks/{chunk.N2D2FFWH.js → chunk.MLIWN7ES.js} +2 -2
  161. package/cdn-versioned/chunks/{chunk.AQPYT3YS.js → chunk.N2QR7LPT.js} +2 -2
  162. package/cdn-versioned/chunks/{chunk.CCBHAIEN.js → chunk.PPXI3VOA.js} +2 -2
  163. package/cdn-versioned/chunks/{chunk.UHDNXYVU.js → chunk.PXVVCUPI.js} +2 -2
  164. package/cdn-versioned/chunks/chunk.PXZ5R75M.js +2 -0
  165. package/cdn-versioned/chunks/{chunk.4XOGRPML.js → chunk.S2SU7ER6.js} +2 -2
  166. package/cdn-versioned/chunks/{chunk.K4PQBCFA.js → chunk.S75JJP63.js} +2 -2
  167. package/cdn-versioned/chunks/{chunk.KMYA4EDE.js → chunk.SMSAVZ2K.js} +2 -2
  168. package/cdn-versioned/chunks/{chunk.44VVOUNS.js → chunk.SUGBEGER.js} +2 -2
  169. package/cdn-versioned/chunks/{chunk.VRBKTE6L.js → chunk.SYNBUJAR.js} +2 -2
  170. package/cdn-versioned/chunks/{chunk.V2RD6VHQ.js → chunk.SZSE6YYB.js} +3 -3
  171. package/cdn-versioned/chunks/{chunk.TNXNTP3E.js → chunk.T4SU32CA.js} +3 -3
  172. package/cdn-versioned/chunks/{chunk.VVX7QSXX.js → chunk.TGPUPG5E.js} +2 -2
  173. package/cdn-versioned/chunks/{chunk.6K6UAUJB.js → chunk.TSOKG5F2.js} +2 -2
  174. package/cdn-versioned/chunks/{chunk.FUFYA576.js → chunk.TSOQMRJO.js} +3 -3
  175. package/cdn-versioned/chunks/{chunk.RY2KL7E3.js → chunk.UCPXJ4GN.js} +2 -2
  176. package/cdn-versioned/chunks/{chunk.T527FME4.js → chunk.UF4KJ3DV.js} +2 -2
  177. package/cdn-versioned/chunks/{chunk.XM7DA5LT.js → chunk.V4V7E4UZ.js} +5 -5
  178. package/cdn-versioned/chunks/{chunk.TQKGKW36.js → chunk.VD6SD25N.js} +2 -2
  179. package/cdn-versioned/chunks/{chunk.4B2UGI4Q.js → chunk.VGT7HHRZ.js} +2 -2
  180. package/cdn-versioned/chunks/{chunk.XUSHLNK2.js → chunk.VTDQOKJM.js} +2 -2
  181. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  182. package/cdn-versioned/chunks/{chunk.EPZHTJOD.js → chunk.W7W6IW3J.js} +2 -2
  183. package/cdn-versioned/chunks/{chunk.CUX2GVLG.js → chunk.WONXPU7C.js} +2 -2
  184. package/cdn-versioned/chunks/{chunk.SPW5M7X6.js → chunk.WVVS4BKV.js} +2 -2
  185. package/cdn-versioned/chunks/{chunk.SOZMBJQS.js → chunk.WY5XXMYD.js} +2 -2
  186. package/cdn-versioned/chunks/{chunk.FDIETORH.js → chunk.XCLLVX53.js} +2 -2
  187. package/cdn-versioned/chunks/{chunk.HXH2R7SD.js → chunk.XJC6EFPF.js} +2 -2
  188. package/cdn-versioned/chunks/{chunk.7CPADVOB.js → chunk.XVP5PHEN.js} +9 -9
  189. package/cdn-versioned/chunks/{chunk.V6OZYBBZ.js → chunk.Y6CTKTQU.js} +2 -2
  190. package/cdn-versioned/chunks/{chunk.YH3VRHVM.js → chunk.YMNRQNUH.js} +3 -3
  191. package/cdn-versioned/chunks/{chunk.56CEBIDO.js → chunk.YNT24EUA.js} +2 -2
  192. package/cdn-versioned/chunks/{chunk.PQLUBSLH.js → chunk.YR4YE3P7.js} +2 -2
  193. package/cdn-versioned/chunks/{chunk.K5JMQ4UD.js → chunk.YYHOXDC7.js} +2 -2
  194. package/cdn-versioned/chunks/{chunk.SQ7Q6ATD.js → chunk.Z74CS2MD.js} +2 -2
  195. package/cdn-versioned/chunks/chunk.ZDDBOQSP.js +26 -0
  196. package/cdn-versioned/chunks/{chunk.6YG52QHB.js → chunk.ZEQ44IQB.js} +2 -2
  197. package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
  198. package/cdn-versioned/components/accordion/accordion.js +1 -1
  199. package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  200. package/cdn-versioned/components/accordion-group/accordion-group.js +1 -1
  201. package/cdn-versioned/components/animation/animation.d.ts +1 -1
  202. package/cdn-versioned/components/animation/animation.js +1 -1
  203. package/cdn-versioned/components/audio/audio.d.ts +1 -1
  204. package/cdn-versioned/components/audio/audio.js +1 -1
  205. package/cdn-versioned/components/badge/badge.d.ts +1 -1
  206. package/cdn-versioned/components/badge/badge.js +1 -1
  207. package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
  208. package/cdn-versioned/components/brandshape/brandshape.js +1 -1
  209. package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  210. package/cdn-versioned/components/breadcrumb/breadcrumb.js +1 -1
  211. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  212. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.js +1 -1
  213. package/cdn-versioned/components/button/button.d.ts +1 -1
  214. package/cdn-versioned/components/button/button.js +1 -1
  215. package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
  216. package/cdn-versioned/components/button-group/button-group.js +1 -1
  217. package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
  218. package/cdn-versioned/components/carousel/carousel.js +1 -1
  219. package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  220. package/cdn-versioned/components/carousel-item/carousel-item.js +1 -1
  221. package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
  222. package/cdn-versioned/components/checkbox/checkbox.js +1 -1
  223. package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  224. package/cdn-versioned/components/checkbox-group/checkbox-group.js +1 -1
  225. package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
  226. package/cdn-versioned/components/combobox/combobox.js +1 -1
  227. package/cdn-versioned/components/datepicker/datepicker.d.ts +6 -2
  228. package/cdn-versioned/components/datepicker/datepicker.js +1 -1
  229. package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
  230. package/cdn-versioned/components/dialog/dialog.js +1 -1
  231. package/cdn-versioned/components/divider/divider.d.ts +1 -1
  232. package/cdn-versioned/components/divider/divider.js +1 -1
  233. package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
  234. package/cdn-versioned/components/drawer/drawer.js +1 -1
  235. package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
  236. package/cdn-versioned/components/dropdown/dropdown.js +1 -1
  237. package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
  238. package/cdn-versioned/components/expandable/expandable.js +1 -1
  239. package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
  240. package/cdn-versioned/components/flipcard/flipcard.js +1 -1
  241. package/cdn-versioned/components/header/header.d.ts +1 -1
  242. package/cdn-versioned/components/header/header.js +1 -1
  243. package/cdn-versioned/components/icon/icon.d.ts +1 -1
  244. package/cdn-versioned/components/icon/icon.js +1 -1
  245. package/cdn-versioned/components/include/include.d.ts +1 -1
  246. package/cdn-versioned/components/include/include.js +1 -1
  247. package/cdn-versioned/components/input/input.d.ts +2 -1
  248. package/cdn-versioned/components/input/input.js +1 -1
  249. package/cdn-versioned/components/link/link.d.ts +1 -1
  250. package/cdn-versioned/components/link/link.js +1 -1
  251. package/cdn-versioned/components/loader/loader.d.ts +1 -1
  252. package/cdn-versioned/components/loader/loader.js +1 -1
  253. package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
  254. package/cdn-versioned/components/map-marker/map-marker.js +1 -1
  255. package/cdn-versioned/components/menu/menu.d.ts +1 -1
  256. package/cdn-versioned/components/menu/menu.js +1 -1
  257. package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
  258. package/cdn-versioned/components/menu-item/menu-item.js +1 -1
  259. package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  260. package/cdn-versioned/components/navigation-item/navigation-item.js +1 -1
  261. package/cdn-versioned/components/notification/notification.d.ts +1 -1
  262. package/cdn-versioned/components/notification/notification.js +1 -1
  263. package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
  264. package/cdn-versioned/components/optgroup/optgroup.js +1 -1
  265. package/cdn-versioned/components/option/option.d.ts +1 -1
  266. package/cdn-versioned/components/option/option.js +1 -1
  267. package/cdn-versioned/components/popup/popup.d.ts +1 -1
  268. package/cdn-versioned/components/popup/popup.js +1 -1
  269. package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
  270. package/cdn-versioned/components/quickfact/quickfact.js +1 -1
  271. package/cdn-versioned/components/radio/radio.d.ts +1 -1
  272. package/cdn-versioned/components/radio/radio.js +1 -1
  273. package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
  274. package/cdn-versioned/components/radio-button/radio-button.js +1 -1
  275. package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
  276. package/cdn-versioned/components/radio-group/radio-group.js +1 -1
  277. package/cdn-versioned/components/range/range.d.ts +1 -1
  278. package/cdn-versioned/components/range/range.js +1 -1
  279. package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
  280. package/cdn-versioned/components/range-tick/range-tick.js +1 -1
  281. package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
  282. package/cdn-versioned/components/scrollable/scrollable.js +1 -1
  283. package/cdn-versioned/components/select/select.d.ts +1 -1
  284. package/cdn-versioned/components/select/select.js +1 -1
  285. package/cdn-versioned/components/skeleton/skeleton.d.ts +11 -0
  286. package/cdn-versioned/components/skeleton/skeleton.js +1 -0
  287. package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
  288. package/cdn-versioned/components/spinner/spinner.js +1 -1
  289. package/cdn-versioned/components/step/step.d.ts +1 -1
  290. package/cdn-versioned/components/step/step.js +1 -1
  291. package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
  292. package/cdn-versioned/components/step-group/step-group.js +1 -1
  293. package/cdn-versioned/components/switch/switch.d.ts +1 -1
  294. package/cdn-versioned/components/switch/switch.js +1 -1
  295. package/cdn-versioned/components/tab/tab.d.ts +1 -1
  296. package/cdn-versioned/components/tab/tab.js +1 -1
  297. package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
  298. package/cdn-versioned/components/tab-group/tab-group.js +1 -1
  299. package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  300. package/cdn-versioned/components/tab-panel/tab-panel.js +1 -1
  301. package/cdn-versioned/components/tag/tag.d.ts +1 -1
  302. package/cdn-versioned/components/tag/tag.js +1 -1
  303. package/cdn-versioned/components/teaser/teaser.js +1 -1
  304. package/cdn-versioned/components/teaser-media/teaser-media.js +1 -1
  305. package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
  306. package/cdn-versioned/components/textarea/textarea.js +1 -1
  307. package/cdn-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  308. package/cdn-versioned/components/theme-listener/theme-listener.js +1 -1
  309. package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
  310. package/cdn-versioned/components/tooltip/tooltip.js +1 -1
  311. package/cdn-versioned/components/video/video.d.ts +1 -1
  312. package/cdn-versioned/components/video/video.js +1 -1
  313. package/cdn-versioned/custom-elements.json +449 -248
  314. package/cdn-versioned/internal/form.js +3 -3
  315. package/cdn-versioned/solid-components.bundle.js +90 -89
  316. package/cdn-versioned/solid-components.css +3 -3
  317. package/cdn-versioned/solid-components.d.ts +1 -0
  318. package/cdn-versioned/solid-components.iife.js +90 -89
  319. package/cdn-versioned/solid-components.js +1 -1
  320. package/cdn-versioned/utilities/autocomplete-config.js +1 -1
  321. package/cdn-versioned/vscode.html-custom-data.json +126 -94
  322. package/cdn-versioned/web-types.json +225 -163
  323. package/dist/chunks/{chunk.QYZE4ARE.js → chunk.2MEI4QVQ.js} +2 -2
  324. package/dist/chunks/{chunk.U2RRRJY3.js → chunk.34JYXSX4.js} +3 -3
  325. package/dist/chunks/{chunk.HHTYBBNM.js → chunk.3UHAKB7V.js} +2 -2
  326. package/dist/chunks/{chunk.GDO3P6PZ.js → chunk.4OSLD2DR.js} +2 -2
  327. package/dist/chunks/{chunk.VBJNVPBU.js → chunk.5LXOEJTB.js} +2 -2
  328. package/dist/chunks/{chunk.KR3X7M5B.js → chunk.5OAHSYHP.js} +2 -2
  329. package/dist/chunks/{chunk.SWXSBRRQ.js → chunk.5QWPMU4N.js} +2 -2
  330. package/dist/chunks/{chunk.OILA72IM.js → chunk.5RB5WONZ.js} +2 -2
  331. package/dist/chunks/{chunk.QH2KLXTB.js → chunk.6MIWPZ4F.js} +2 -2
  332. package/dist/chunks/{chunk.2NCOG3MU.js → chunk.7HZ4PM73.js} +2 -2
  333. package/dist/chunks/{chunk.LOVLLOYE.js → chunk.AARSESWB.js} +3 -3
  334. package/dist/chunks/{chunk.ISASQGOE.js → chunk.AT6C4LIJ.js} +2 -2
  335. package/dist/chunks/{chunk.342A5SCB.js → chunk.AZOJCOU5.js} +2 -2
  336. package/dist/chunks/{chunk.3FNTXOOI.js → chunk.B2W6OSHP.js} +2 -2
  337. package/dist/chunks/{chunk.IUD4JFEG.js → chunk.B6EDHKSG.js} +2 -2
  338. package/dist/chunks/{chunk.CSQ6UNT7.js → chunk.BAMGSVKY.js} +2 -2
  339. package/dist/chunks/{chunk.IXLKTULT.js → chunk.BCMYZZXB.js} +3 -3
  340. package/dist/chunks/{chunk.DZS26LXZ.js → chunk.BPGVWGLN.js} +2 -2
  341. package/dist/chunks/{chunk.723WXRZK.js → chunk.BS6SRKE5.js} +2 -2
  342. package/dist/chunks/{chunk.QQX5RCHL.js → chunk.CQS4J6JA.js} +2 -2
  343. package/dist/chunks/{chunk.HEU4LDJX.js → chunk.D4HQZ6S2.js} +2 -2
  344. package/dist/chunks/{chunk.36MFTGER.js → chunk.DG364HYS.js} +2 -2
  345. package/dist/chunks/{chunk.OC76JBYD.js → chunk.E66NVJMW.js} +2 -2
  346. package/dist/chunks/{chunk.EMU4ZNFB.js → chunk.ESGIRCK5.js} +2 -2
  347. package/dist/chunks/{chunk.6E6VJJCZ.js → chunk.FOT3TENQ.js} +2 -2
  348. package/dist/chunks/{chunk.6AAIPQYI.js → chunk.G2DXPAAC.js} +2 -2
  349. package/dist/chunks/{chunk.YIIMAPVO.js → chunk.G3Y44TCK.js} +2 -2
  350. package/dist/chunks/{chunk.WTA5BTJL.js → chunk.GFAGYOHP.js} +52 -23
  351. package/dist/chunks/{chunk.CSMEO2UQ.js → chunk.HNOGXPZ4.js} +2 -2
  352. package/dist/chunks/{chunk.HSMUS45Y.js → chunk.IPGDILFE.js} +2 -2
  353. package/dist/chunks/{chunk.CCVS6SCT.js → chunk.ISI7OM7J.js} +2 -2
  354. package/dist/chunks/chunk.J3IAHW3W.js +42 -0
  355. package/dist/chunks/{chunk.SYXN6E4T.js → chunk.J45NCA37.js} +2 -2
  356. package/dist/chunks/{chunk.EERHCK7O.js → chunk.J7YGVFJG.js} +2 -2
  357. package/dist/chunks/{chunk.52VGL2RV.js → chunk.JLI2RQGA.js} +2 -2
  358. package/dist/chunks/{chunk.LGBFWOCJ.js → chunk.KGCSNER3.js} +2 -2
  359. package/dist/chunks/{chunk.Z32LVC6A.js → chunk.KQ3PWMZX.js} +2 -2
  360. package/dist/chunks/{chunk.WLZ64OXQ.js → chunk.L6PWWNMI.js} +2 -2
  361. package/dist/chunks/{chunk.ECSSDS7T.js → chunk.MEGYBUWF.js} +2 -2
  362. package/dist/chunks/{chunk.MASJX3XP.js → chunk.NJZJL4CE.js} +2 -2
  363. package/dist/chunks/{chunk.264U7CMA.js → chunk.ODHB3BDR.js} +3 -3
  364. package/dist/chunks/{chunk.VLIPMAVX.js → chunk.PA6GPOLQ.js} +2 -2
  365. package/dist/chunks/{chunk.HYD6CWKB.js → chunk.PX4QPF33.js} +2 -2
  366. package/dist/chunks/{chunk.SGCOHQSI.js → chunk.Q3VMYLNB.js} +2 -2
  367. package/dist/chunks/{chunk.7PCENRTO.js → chunk.QO5XTCCI.js} +3 -3
  368. package/dist/chunks/{chunk.XTNHNEFI.js → chunk.RIQOSJ57.js} +2 -2
  369. package/dist/chunks/{chunk.Q57H4HOI.js → chunk.RKXNBQEM.js} +2 -2
  370. package/dist/chunks/{chunk.KS4PRECL.js → chunk.SPIQ4AOE.js} +2 -2
  371. package/dist/chunks/{chunk.YHJOW7S3.js → chunk.TO2IYKEG.js} +2 -2
  372. package/dist/chunks/{chunk.WN5EV4N3.js → chunk.U2BN2DBY.js} +1 -1
  373. package/dist/chunks/{chunk.XTHUPXCS.js → chunk.UGHPELXE.js} +2 -2
  374. package/dist/chunks/{chunk.SF447PE7.js → chunk.UIQY2XNX.js} +2 -2
  375. package/dist/chunks/chunk.WFW6OFNN.js +93 -0
  376. package/dist/chunks/{chunk.A7UPZVBX.js → chunk.XJ534BEB.js} +2 -2
  377. package/dist/chunks/{chunk.CREFZXWR.js → chunk.Y66SRIWS.js} +2 -2
  378. package/dist/chunks/{chunk.SZ7IRQY4.js → chunk.Y67IPESQ.js} +2 -2
  379. package/dist/chunks/{chunk.GP6R4ZF6.js → chunk.Z7K2VOWN.js} +2 -2
  380. package/dist/chunks/{chunk.ZHEFFMES.js → chunk.ZDANKHUB.js} +33 -10
  381. package/dist/chunks/{chunk.YSE5ZECP.js → chunk.ZKPYFGAB.js} +2 -2
  382. package/dist/chunks/{chunk.BPFUHSE6.js → chunk.ZMWI5CNZ.js} +2 -2
  383. package/dist/chunks/{chunk.DXTBP2P6.js → chunk.ZZXI4CL2.js} +2 -2
  384. package/dist/components/accordion/accordion.js +3 -3
  385. package/dist/components/accordion-group/accordion-group.js +4 -4
  386. package/dist/components/animation/animation.js +2 -2
  387. package/dist/components/audio/audio.js +6 -6
  388. package/dist/components/badge/badge.js +2 -2
  389. package/dist/components/brandshape/brandshape.js +2 -2
  390. package/dist/components/breadcrumb/breadcrumb.js +2 -2
  391. package/dist/components/breadcrumb-item/breadcrumb-item.js +2 -2
  392. package/dist/components/button/button.js +3 -3
  393. package/dist/components/button-group/button-group.js +2 -2
  394. package/dist/components/carousel/carousel.js +4 -4
  395. package/dist/components/carousel-item/carousel-item.js +2 -2
  396. package/dist/components/checkbox/checkbox.js +3 -3
  397. package/dist/components/checkbox-group/checkbox-group.js +3 -3
  398. package/dist/components/combobox/combobox.js +5 -5
  399. package/dist/components/datepicker/datepicker.d.ts +5 -1
  400. package/dist/components/datepicker/datepicker.js +11 -2
  401. package/dist/components/dialog/dialog.js +5 -5
  402. package/dist/components/divider/divider.js +2 -2
  403. package/dist/components/drawer/drawer.js +5 -5
  404. package/dist/components/dropdown/dropdown.js +3 -3
  405. package/dist/components/expandable/expandable.js +3 -3
  406. package/dist/components/flipcard/flipcard.js +5 -5
  407. package/dist/components/header/header.js +2 -2
  408. package/dist/components/icon/icon.js +2 -2
  409. package/dist/components/include/include.js +2 -2
  410. package/dist/components/input/input.d.ts +1 -0
  411. package/dist/components/input/input.js +3 -3
  412. package/dist/components/link/link.js +2 -2
  413. package/dist/components/loader/loader.js +2 -2
  414. package/dist/components/map-marker/map-marker.js +2 -2
  415. package/dist/components/menu/menu.js +2 -2
  416. package/dist/components/menu-item/menu-item.js +2 -2
  417. package/dist/components/navigation-item/navigation-item.js +4 -4
  418. package/dist/components/notification/notification.js +5 -5
  419. package/dist/components/optgroup/optgroup.js +3 -3
  420. package/dist/components/option/option.js +3 -3
  421. package/dist/components/popup/popup.js +2 -2
  422. package/dist/components/quickfact/quickfact.js +4 -4
  423. package/dist/components/radio/radio.js +2 -2
  424. package/dist/components/radio-button/radio-button.js +2 -2
  425. package/dist/components/radio-group/radio-group.js +4 -4
  426. package/dist/components/range/range.js +2 -2
  427. package/dist/components/range-tick/range-tick.js +2 -2
  428. package/dist/components/scrollable/scrollable.js +3 -3
  429. package/dist/components/select/select.js +5 -5
  430. package/dist/components/skeleton/skeleton.d.ts +11 -0
  431. package/dist/components/skeleton/skeleton.js +9 -0
  432. package/dist/components/spinner/spinner.js +2 -2
  433. package/dist/components/step/step.js +3 -3
  434. package/dist/components/step-group/step-group.js +2 -2
  435. package/dist/components/switch/switch.js +2 -2
  436. package/dist/components/tab/tab.js +2 -2
  437. package/dist/components/tab-group/tab-group.js +3 -3
  438. package/dist/components/tab-panel/tab-panel.js +2 -2
  439. package/dist/components/tag/tag.js +3 -3
  440. package/dist/components/teaser/teaser.js +2 -2
  441. package/dist/components/teaser-media/teaser-media.js +2 -2
  442. package/dist/components/textarea/textarea.js +3 -3
  443. package/dist/components/theme-listener/theme-listener.js +2 -2
  444. package/dist/components/tooltip/tooltip.js +4 -4
  445. package/dist/components/video/video.js +3 -3
  446. package/dist/custom-elements.json +202 -1
  447. package/dist/solid-components.css +1 -1
  448. package/dist/solid-components.d.ts +1 -0
  449. package/dist/solid-components.js +69 -65
  450. package/dist/utilities/autocomplete-config.js +3 -3
  451. package/dist/vscode.html-custom-data.json +33 -1
  452. package/dist/web-types.json +64 -2
  453. package/dist-versioned/chunks/{chunk.QYZE4ARE.js → chunk.2MEI4QVQ.js} +5 -5
  454. package/dist-versioned/chunks/{chunk.U2RRRJY3.js → chunk.34JYXSX4.js} +6 -6
  455. package/dist-versioned/chunks/{chunk.HHTYBBNM.js → chunk.3UHAKB7V.js} +4 -4
  456. package/dist-versioned/chunks/{chunk.GDO3P6PZ.js → chunk.4OSLD2DR.js} +3 -3
  457. package/dist-versioned/chunks/{chunk.VBJNVPBU.js → chunk.5LXOEJTB.js} +3 -3
  458. package/dist-versioned/chunks/{chunk.KR3X7M5B.js → chunk.5OAHSYHP.js} +7 -7
  459. package/dist-versioned/chunks/{chunk.SWXSBRRQ.js → chunk.5QWPMU4N.js} +4 -4
  460. package/dist-versioned/chunks/{chunk.OILA72IM.js → chunk.5RB5WONZ.js} +3 -3
  461. package/dist-versioned/chunks/{chunk.QH2KLXTB.js → chunk.6MIWPZ4F.js} +5 -5
  462. package/dist-versioned/chunks/{chunk.2NCOG3MU.js → chunk.7HZ4PM73.js} +4 -4
  463. package/dist-versioned/chunks/{chunk.LOVLLOYE.js → chunk.AARSESWB.js} +10 -10
  464. package/dist-versioned/chunks/{chunk.ISASQGOE.js → chunk.AT6C4LIJ.js} +13 -13
  465. package/dist-versioned/chunks/{chunk.342A5SCB.js → chunk.AZOJCOU5.js} +3 -3
  466. package/dist-versioned/chunks/{chunk.3FNTXOOI.js → chunk.B2W6OSHP.js} +6 -6
  467. package/dist-versioned/chunks/{chunk.IUD4JFEG.js → chunk.B6EDHKSG.js} +26 -26
  468. package/dist-versioned/chunks/{chunk.CSQ6UNT7.js → chunk.BAMGSVKY.js} +4 -4
  469. package/dist-versioned/chunks/{chunk.IXLKTULT.js → chunk.BCMYZZXB.js} +6 -6
  470. package/dist-versioned/chunks/{chunk.DZS26LXZ.js → chunk.BPGVWGLN.js} +5 -5
  471. package/dist-versioned/chunks/{chunk.723WXRZK.js → chunk.BS6SRKE5.js} +14 -14
  472. package/dist-versioned/chunks/{chunk.QQX5RCHL.js → chunk.CQS4J6JA.js} +10 -10
  473. package/dist-versioned/chunks/{chunk.HEU4LDJX.js → chunk.D4HQZ6S2.js} +5 -5
  474. package/dist-versioned/chunks/{chunk.36MFTGER.js → chunk.DG364HYS.js} +5 -5
  475. package/dist-versioned/chunks/{chunk.OC76JBYD.js → chunk.E66NVJMW.js} +4 -4
  476. package/dist-versioned/chunks/{chunk.EMU4ZNFB.js → chunk.ESGIRCK5.js} +7 -7
  477. package/dist-versioned/chunks/{chunk.6E6VJJCZ.js → chunk.FOT3TENQ.js} +6 -6
  478. package/dist-versioned/chunks/{chunk.6AAIPQYI.js → chunk.G2DXPAAC.js} +5 -5
  479. package/dist-versioned/chunks/{chunk.YIIMAPVO.js → chunk.G3Y44TCK.js} +4 -4
  480. package/dist-versioned/chunks/{chunk.WTA5BTJL.js → chunk.GFAGYOHP.js} +56 -27
  481. package/dist-versioned/chunks/{chunk.CSMEO2UQ.js → chunk.HNOGXPZ4.js} +10 -10
  482. package/dist-versioned/chunks/{chunk.HSMUS45Y.js → chunk.IPGDILFE.js} +26 -26
  483. package/dist-versioned/chunks/{chunk.CCVS6SCT.js → chunk.ISI7OM7J.js} +6 -6
  484. package/dist-versioned/chunks/chunk.J3IAHW3W.js +42 -0
  485. package/dist-versioned/chunks/{chunk.SYXN6E4T.js → chunk.J45NCA37.js} +3 -3
  486. package/dist-versioned/chunks/{chunk.EERHCK7O.js → chunk.J7YGVFJG.js} +8 -8
  487. package/dist-versioned/chunks/{chunk.52VGL2RV.js → chunk.JLI2RQGA.js} +4 -4
  488. package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
  489. package/dist-versioned/chunks/{chunk.LGBFWOCJ.js → chunk.KGCSNER3.js} +6 -6
  490. package/dist-versioned/chunks/{chunk.Z32LVC6A.js → chunk.KQ3PWMZX.js} +7 -7
  491. package/dist-versioned/chunks/{chunk.WLZ64OXQ.js → chunk.L6PWWNMI.js} +8 -8
  492. package/dist-versioned/chunks/{chunk.ECSSDS7T.js → chunk.MEGYBUWF.js} +16 -16
  493. package/dist-versioned/chunks/{chunk.MASJX3XP.js → chunk.NJZJL4CE.js} +3 -3
  494. package/dist-versioned/chunks/{chunk.264U7CMA.js → chunk.ODHB3BDR.js} +6 -6
  495. package/dist-versioned/chunks/{chunk.VLIPMAVX.js → chunk.PA6GPOLQ.js} +8 -8
  496. package/dist-versioned/chunks/{chunk.HYD6CWKB.js → chunk.PX4QPF33.js} +5 -5
  497. package/dist-versioned/chunks/{chunk.SGCOHQSI.js → chunk.Q3VMYLNB.js} +28 -28
  498. package/dist-versioned/chunks/{chunk.7PCENRTO.js → chunk.QO5XTCCI.js} +15 -15
  499. package/dist-versioned/chunks/{chunk.XTNHNEFI.js → chunk.RIQOSJ57.js} +4 -4
  500. package/dist-versioned/chunks/{chunk.Q57H4HOI.js → chunk.RKXNBQEM.js} +9 -9
  501. package/dist-versioned/chunks/{chunk.KS4PRECL.js → chunk.SPIQ4AOE.js} +6 -6
  502. package/dist-versioned/chunks/{chunk.YHJOW7S3.js → chunk.TO2IYKEG.js} +4 -4
  503. package/dist-versioned/chunks/{chunk.WN5EV4N3.js → chunk.U2BN2DBY.js} +5 -5
  504. package/dist-versioned/chunks/{chunk.XTHUPXCS.js → chunk.UGHPELXE.js} +10 -10
  505. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  506. package/dist-versioned/chunks/{chunk.SF447PE7.js → chunk.UIQY2XNX.js} +4 -4
  507. package/dist-versioned/chunks/chunk.WFW6OFNN.js +93 -0
  508. package/dist-versioned/chunks/chunk.XCQC3F3H.js +3 -3
  509. package/dist-versioned/chunks/{chunk.A7UPZVBX.js → chunk.XJ534BEB.js} +6 -6
  510. package/dist-versioned/chunks/{chunk.CREFZXWR.js → chunk.Y66SRIWS.js} +7 -7
  511. package/dist-versioned/chunks/{chunk.SZ7IRQY4.js → chunk.Y67IPESQ.js} +5 -5
  512. package/dist-versioned/chunks/{chunk.GP6R4ZF6.js → chunk.Z7K2VOWN.js} +3 -3
  513. package/dist-versioned/chunks/{chunk.ZHEFFMES.js → chunk.ZDANKHUB.js} +34 -11
  514. package/dist-versioned/chunks/{chunk.YSE5ZECP.js → chunk.ZKPYFGAB.js} +3 -3
  515. package/dist-versioned/chunks/{chunk.BPFUHSE6.js → chunk.ZMWI5CNZ.js} +6 -6
  516. package/dist-versioned/chunks/{chunk.DXTBP2P6.js → chunk.ZZXI4CL2.js} +4 -4
  517. package/dist-versioned/components/accordion/accordion.d.ts +1 -1
  518. package/dist-versioned/components/accordion/accordion.js +3 -3
  519. package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  520. package/dist-versioned/components/accordion-group/accordion-group.js +4 -4
  521. package/dist-versioned/components/animation/animation.d.ts +1 -1
  522. package/dist-versioned/components/animation/animation.js +2 -2
  523. package/dist-versioned/components/audio/audio.d.ts +1 -1
  524. package/dist-versioned/components/audio/audio.js +6 -6
  525. package/dist-versioned/components/badge/badge.d.ts +1 -1
  526. package/dist-versioned/components/badge/badge.js +2 -2
  527. package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
  528. package/dist-versioned/components/brandshape/brandshape.js +2 -2
  529. package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  530. package/dist-versioned/components/breadcrumb/breadcrumb.js +2 -2
  531. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  532. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.js +2 -2
  533. package/dist-versioned/components/button/button.d.ts +1 -1
  534. package/dist-versioned/components/button/button.js +3 -3
  535. package/dist-versioned/components/button-group/button-group.d.ts +1 -1
  536. package/dist-versioned/components/button-group/button-group.js +2 -2
  537. package/dist-versioned/components/carousel/carousel.d.ts +1 -1
  538. package/dist-versioned/components/carousel/carousel.js +4 -4
  539. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  540. package/dist-versioned/components/carousel-item/carousel-item.js +2 -2
  541. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  542. package/dist-versioned/components/checkbox/checkbox.js +3 -3
  543. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  544. package/dist-versioned/components/checkbox-group/checkbox-group.js +3 -3
  545. package/dist-versioned/components/combobox/combobox.d.ts +1 -1
  546. package/dist-versioned/components/combobox/combobox.js +5 -5
  547. package/dist-versioned/components/datepicker/datepicker.d.ts +6 -2
  548. package/dist-versioned/components/datepicker/datepicker.js +11 -2
  549. package/dist-versioned/components/dialog/dialog.d.ts +1 -1
  550. package/dist-versioned/components/dialog/dialog.js +5 -5
  551. package/dist-versioned/components/divider/divider.d.ts +1 -1
  552. package/dist-versioned/components/divider/divider.js +2 -2
  553. package/dist-versioned/components/drawer/drawer.d.ts +1 -1
  554. package/dist-versioned/components/drawer/drawer.js +5 -5
  555. package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
  556. package/dist-versioned/components/dropdown/dropdown.js +3 -3
  557. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  558. package/dist-versioned/components/expandable/expandable.js +3 -3
  559. package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
  560. package/dist-versioned/components/flipcard/flipcard.js +5 -5
  561. package/dist-versioned/components/header/header.d.ts +1 -1
  562. package/dist-versioned/components/header/header.js +2 -2
  563. package/dist-versioned/components/icon/icon.d.ts +1 -1
  564. package/dist-versioned/components/icon/icon.js +2 -2
  565. package/dist-versioned/components/include/include.d.ts +1 -1
  566. package/dist-versioned/components/include/include.js +2 -2
  567. package/dist-versioned/components/input/input.d.ts +2 -1
  568. package/dist-versioned/components/input/input.js +3 -3
  569. package/dist-versioned/components/link/link.d.ts +1 -1
  570. package/dist-versioned/components/link/link.js +2 -2
  571. package/dist-versioned/components/loader/loader.d.ts +1 -1
  572. package/dist-versioned/components/loader/loader.js +2 -2
  573. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  574. package/dist-versioned/components/map-marker/map-marker.js +2 -2
  575. package/dist-versioned/components/menu/menu.d.ts +1 -1
  576. package/dist-versioned/components/menu/menu.js +2 -2
  577. package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
  578. package/dist-versioned/components/menu-item/menu-item.js +2 -2
  579. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  580. package/dist-versioned/components/navigation-item/navigation-item.js +4 -4
  581. package/dist-versioned/components/notification/notification.d.ts +1 -1
  582. package/dist-versioned/components/notification/notification.js +5 -5
  583. package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
  584. package/dist-versioned/components/optgroup/optgroup.js +3 -3
  585. package/dist-versioned/components/option/option.d.ts +1 -1
  586. package/dist-versioned/components/option/option.js +3 -3
  587. package/dist-versioned/components/popup/popup.d.ts +1 -1
  588. package/dist-versioned/components/popup/popup.js +2 -2
  589. package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
  590. package/dist-versioned/components/quickfact/quickfact.js +4 -4
  591. package/dist-versioned/components/radio/radio.d.ts +1 -1
  592. package/dist-versioned/components/radio/radio.js +2 -2
  593. package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
  594. package/dist-versioned/components/radio-button/radio-button.js +2 -2
  595. package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
  596. package/dist-versioned/components/radio-group/radio-group.js +4 -4
  597. package/dist-versioned/components/range/range.d.ts +1 -1
  598. package/dist-versioned/components/range/range.js +2 -2
  599. package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
  600. package/dist-versioned/components/range-tick/range-tick.js +2 -2
  601. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  602. package/dist-versioned/components/scrollable/scrollable.js +3 -3
  603. package/dist-versioned/components/select/select.d.ts +1 -1
  604. package/dist-versioned/components/select/select.js +5 -5
  605. package/dist-versioned/components/skeleton/skeleton.d.ts +11 -0
  606. package/dist-versioned/components/skeleton/skeleton.js +9 -0
  607. package/dist-versioned/components/spinner/spinner.d.ts +1 -1
  608. package/dist-versioned/components/spinner/spinner.js +2 -2
  609. package/dist-versioned/components/step/step.d.ts +1 -1
  610. package/dist-versioned/components/step/step.js +3 -3
  611. package/dist-versioned/components/step-group/step-group.d.ts +1 -1
  612. package/dist-versioned/components/step-group/step-group.js +2 -2
  613. package/dist-versioned/components/switch/switch.d.ts +1 -1
  614. package/dist-versioned/components/switch/switch.js +2 -2
  615. package/dist-versioned/components/tab/tab.d.ts +1 -1
  616. package/dist-versioned/components/tab/tab.js +2 -2
  617. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  618. package/dist-versioned/components/tab-group/tab-group.js +3 -3
  619. package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  620. package/dist-versioned/components/tab-panel/tab-panel.js +2 -2
  621. package/dist-versioned/components/tag/tag.d.ts +1 -1
  622. package/dist-versioned/components/tag/tag.js +3 -3
  623. package/dist-versioned/components/teaser/teaser.js +2 -2
  624. package/dist-versioned/components/teaser-media/teaser-media.js +2 -2
  625. package/dist-versioned/components/textarea/textarea.d.ts +1 -1
  626. package/dist-versioned/components/textarea/textarea.js +3 -3
  627. package/dist-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  628. package/dist-versioned/components/theme-listener/theme-listener.js +2 -2
  629. package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
  630. package/dist-versioned/components/tooltip/tooltip.js +4 -4
  631. package/dist-versioned/components/video/video.d.ts +1 -1
  632. package/dist-versioned/components/video/video.js +3 -3
  633. package/dist-versioned/custom-elements.json +449 -248
  634. package/dist-versioned/internal/form.js +3 -3
  635. package/dist-versioned/solid-components.css +3 -3
  636. package/dist-versioned/solid-components.d.ts +1 -0
  637. package/dist-versioned/solid-components.js +69 -65
  638. package/dist-versioned/utilities/autocomplete-config.js +3 -3
  639. package/dist-versioned/vscode.html-custom-data.json +126 -94
  640. package/dist-versioned/web-types.json +225 -163
  641. package/package.json +3 -3
  642. package/cdn/chunks/chunk.E2IHOEZ2.js +0 -2
  643. package/cdn/chunks/chunk.ZSTABGTZ.js +0 -2
  644. package/cdn/chunks/chunk.ZT3DQGPM.js +0 -26
  645. package/cdn-versioned/chunks/chunk.E2IHOEZ2.js +0 -2
  646. package/cdn-versioned/chunks/chunk.ZSTABGTZ.js +0 -2
  647. package/cdn-versioned/chunks/chunk.ZT3DQGPM.js +0 -26
  648. package/dist/chunks/chunk.LJIVAP6V.js +0 -93
  649. package/dist-versioned/chunks/chunk.LJIVAP6V.js +0 -93
  650. /package/cdn/chunks/{chunk.YEDQWNIV.js → chunk.YFQFOIEM.js} +0 -0
  651. /package/cdn-versioned/chunks/{chunk.YEDQWNIV.js → chunk.YFQFOIEM.js} +0 -0
@@ -1,2 +1,2 @@
1
- import{a as f}from"./chunk.PV6UYBMY.js";import{a as h}from"./chunk.7BPPDSHY.js";import{a as p}from"./chunk.NYKJXI3Q.js";import{a as o,b as r,d as c,h as i}from"./chunk.ZT3DQGPM.js";import{b as l,e as a}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends i{constructor(){super(...arguments);this.localize=new h(this);this.href="";this.current=!1}handleCurrentChange(){var s,n;!this.base||!this.current||(n=(s=this.base.shadowRoot)==null?void 0:s.querySelector("a"))==null||n.setAttribute("aria-current","page")}connectedCallback(){this.hasAttribute("role")||this.setAttribute("role","listitem"),super.connectedCallback()}firstUpdated(){requestAnimationFrame(()=>this.handleCurrentChange())}render(){return a`<sd-link part="base" href="${f(this.current?void 0:this.href)}" target="${this.target}" standalone class="text-nowrap"><slot></slot></sd-link>`}};t.styles=[...i.styles,l`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as f}from"./chunk.PV6UYBMY.js";import{a as h}from"./chunk.7BPPDSHY.js";import{a as p}from"./chunk.NYKJXI3Q.js";import{a as o,b as r,d as c,h as i}from"./chunk.ZDDBOQSP.js";import{b as l,e as a}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends i{constructor(){super(...arguments);this.localize=new h(this);this.href="";this.current=!1}handleCurrentChange(){var s,n;!this.base||!this.current||(n=(s=this.base.shadowRoot)==null?void 0:s.querySelector("a"))==null||n.setAttribute("aria-current","page")}connectedCallback(){this.hasAttribute("role")||this.setAttribute("role","listitem"),super.connectedCallback()}firstUpdated(){requestAnimationFrame(()=>this.handleCurrentChange())}render(){return a`<sd-link part="base" href="${f(this.current?void 0:this.href)}" target="${this.target}" standalone class="text-nowrap"><slot></slot></sd-link>`}};t.styles=[...i.styles,l`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{display:inline-flex;align-items:center}sd-link::part(base){align-items:center}sd-link::part(icon-left){margin-right:calc(var(--sd-spacing-1) * 0);display:inline-flex}:host([current]) sd-link::part(base){color:rgba(var(--sd-color-text-neutral-700))}:host([current]) sd-link::part(label){text-decoration-line:none}`],e([c('[part="base"]')],t.prototype,"base",2),e([r({type:String,reflect:!0})],t.prototype,"href",2),e([r({type:String,reflect:!0})],t.prototype,"target",2),e([r({type:Boolean,reflect:!0})],t.prototype,"current",2),e([p("current")],t.prototype,"handleCurrentChange",1),t=e([o("sd-breadcrumb-item")],t);export{t as a};
@@ -1,4 +1,4 @@
1
- import{a as c}from"./chunk.CGQ2BPPZ.js";import{a as r}from"./chunk.YEDQWNIV.js";import{a as s,b as n,d,h as e}from"./chunk.ZT3DQGPM.js";import{b as i,e as l}from"./chunk.763RLJEK.js";import{e as o}from"./chunk.6EV4YU6C.js";var a=class extends e{constructor(){super(...arguments);this.variant="white";this.hasSlotController=new c(this,"[default]","media","meta","headline","expandable")}render(){let t={"teaser-has-default":this.hasSlotController.test("[default]"),"teaser-has-media":this.hasSlotController.test("media"),"teaser-has-meta":this.hasSlotController.test("meta"),"teaser-has-headline":this.hasSlotController.test("headline"),"teaser-has-expandable":this.hasSlotController.test("expandable")};return l`<div class="relative flex flex-col group" part="base"><div class="absolute flex flex-col justify-end h-full w-full pb-4"><div class="${r("flex-1",this.variant==="gradient-light"&&"bg-gradient-to-t from-white/[.8] to-60%",this.variant==="gradient-dark"&&"bg-gradient-to-t from-primary-800/[.8] to-60%")}"></div><div class="${r("relative",["primary","gradient-dark"].includes(this.variant)&&"text-white")}"><div class="${r("absolute inset-0",{white:"bg-white/[.8] group-hover:bg-white/90","neutral-100":"sd-teaser-media--neutral-100-color-background group-hover:sd-teaser-media--neutral-100--hover-color-background",primary:"bg-primary/[.8] text-white group-hover:bg-primary/90","primary-100":"sd-teaser-media--primary-100-color-background group-hover:sd-teaser-media--primary-100--hover-color-background","gradient-light":"bg-gradient-to-t from-white/90 to-white/[.8]","gradient-dark":"bg-gradient-to-t from-primary-800/90 to-primary-800/[.8]"}[this.variant])}"></div><div class="relative flex-col text-left p-4" part="content"><div class="flex flex-col"><div part="headline" class="text-lg font-bold m-0 order-2"><slot name="headline">Always insert one semantically correct heading element here (e. g. &lt;h2>)</slot></div><div part="meta" class="${r("gap-2 mb-4 order-1",!t["teaser-has-meta"]&&"hidden")}"><slot name="meta"></slot></div></div><div class="${r("hidden",t["teaser-has-expandable"]&&"h-[0px] invisible opacity-0 md:[transition:_height_0.2s_linear,opacity_0.1s_linear_0.1s] md:block md:group-hover:h-auto md:group-hover:my-4 md:group-hover:opacity-[100%] md:group-hover:visible")}" part="expandable" aria-hidden="true"><slot name="expandable"></slot></div><div part="main" class="${r(!t["teaser-has-default"]&&"hidden")}"><slot></slot></div></div></div></div><div class="${r("mb-4 -z-10",!t["teaser-has-media"]&&"hidden")}" part="media"><slot name="media"></slot></div></div>`}};a.styles=[...e.styles,i`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as c}from"./chunk.CGQ2BPPZ.js";import{a as r}from"./chunk.YFQFOIEM.js";import{a as s,b as n,d,h as e}from"./chunk.ZDDBOQSP.js";import{b as i,e as l}from"./chunk.763RLJEK.js";import{e as o}from"./chunk.6EV4YU6C.js";var a=class extends e{constructor(){super(...arguments);this.variant="white";this.hasSlotController=new c(this,"[default]","media","meta","headline","expandable")}render(){let t={"teaser-has-default":this.hasSlotController.test("[default]"),"teaser-has-media":this.hasSlotController.test("media"),"teaser-has-meta":this.hasSlotController.test("meta"),"teaser-has-headline":this.hasSlotController.test("headline"),"teaser-has-expandable":this.hasSlotController.test("expandable")};return l`<div class="relative flex flex-col group" part="base"><div class="absolute flex flex-col justify-end h-full w-full pb-4"><div class="${r("flex-1",this.variant==="gradient-light"&&"bg-gradient-to-t from-white/[.8] to-60%",this.variant==="gradient-dark"&&"bg-gradient-to-t from-primary-800/[.8] to-60%")}"></div><div class="${r("relative",["primary","gradient-dark"].includes(this.variant)&&"text-white")}"><div class="${r("absolute inset-0",{white:"bg-white/[.8] group-hover:bg-white/90","neutral-100":"sd-teaser-media--neutral-100-color-background group-hover:sd-teaser-media--neutral-100--hover-color-background",primary:"bg-primary/[.8] text-white group-hover:bg-primary/90","primary-100":"sd-teaser-media--primary-100-color-background group-hover:sd-teaser-media--primary-100--hover-color-background","gradient-light":"bg-gradient-to-t from-white/90 to-white/[.8]","gradient-dark":"bg-gradient-to-t from-primary-800/90 to-primary-800/[.8]"}[this.variant])}"></div><div class="relative flex-col text-left p-4" part="content"><div class="flex flex-col"><div part="headline" class="text-lg font-bold m-0 order-2"><slot name="headline">Always insert one semantically correct heading element here (e. g. &lt;h2>)</slot></div><div part="meta" class="${r("gap-2 mb-4 order-1",!t["teaser-has-meta"]&&"hidden")}"><slot name="meta"></slot></div></div><div class="${r("hidden",t["teaser-has-expandable"]&&"h-[0px] invisible opacity-0 md:[transition:_height_0.2s_linear,opacity_0.1s_linear_0.1s] md:block md:group-hover:h-auto md:group-hover:my-4 md:group-hover:opacity-[100%] md:group-hover:visible")}" part="expandable" aria-hidden="true"><slot name="expandable"></slot></div><div part="main" class="${r(!t["teaser-has-default"]&&"hidden")}"><slot></slot></div></div></div></div><div class="${r("mb-4 -z-10",!t["teaser-has-media"]&&"hidden")}" part="media"><slot name="media"></slot></div></div>`}};a.styles=[...e.styles,i`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{display:block}::slotted(*){margin:calc(var(--sd-spacing-1) * 0)}:host([variant=white]) .background:focus-within{background-color:rgba(var(--sd-color-background-white))}@supports (color:color-mix(in lab,red,red)){:host([variant=white]) .background:focus-within{background-color:color-mix(in oklab,rgba(var(--sd-color-background-white)) var(--sd-opacity-90),transparent)}}:host([variant=neutral-100]) .background:focus-within{background-color:rgba(var(--sd-color-background-neutral-100))}@supports (color:color-mix(in lab,red,red)){:host([variant=neutral-100]) .background:focus-within{background-color:color-mix(in oklab,rgba(var(--sd-color-background-neutral-100)) var(--sd-opacity-90),transparent)}}:host([variant=primary]) .background:focus-within{background-color:rgba(var(--sd-color-background-primary))}@supports (color:color-mix(in lab,red,red)){:host([variant=primary]) .background:focus-within{background-color:color-mix(in oklab,rgba(var(--sd-color-background-primary)) var(--sd-opacity-90),transparent)}}:host([variant=primary-100]) .background:focus-within{background-color:rgba(var(--sd-color-background-primary-100))}@supports (color:color-mix(in lab,red,red)){:host([variant=primary-100]) .background:focus-within{background-color:color-mix(in oklab,rgba(var(--sd-color-background-primary-100)) var(--sd-opacity-90),transparent)}}:host([variant=gradient-light]) .bg-gradient-to-t{--sd-color-background-white:var(--sd-informational-gradient--white-color-background, var(--sd-color-white))}:host([variant=gradient-dark]) .bg-gradient-to-t{--sd-color-background-primary-800:var(
3
3
  --sd-informational-gradient--primary-800-color-background,
4
4
  var(--sd-color-primary-800)
@@ -1,2 +1,2 @@
1
- import{a as b}from"./chunk.CGQ2BPPZ.js";import{a as p}from"./chunk.PV6UYBMY.js";import{a as n}from"./chunk.YEDQWNIV.js";import{a as h}from"./chunk.NYKJXI3Q.js";import{a as d,b as i,c as u,d as r,h as o}from"./chunk.ZT3DQGPM.js";import{b as c,e as a}from"./chunk.763RLJEK.js";import{e as s}from"./chunk.6EV4YU6C.js";var t=class extends o{constructor(){super(...arguments);this.hasSlotController=new b(this,"[default]","icon");this.hasFocus=!1;this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.checked=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","presentation")}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleClick(e){if(this.disabled||this.visuallyDisabled){e.preventDefault(),e.stopPropagation();return}this.checked=!0}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleDisabledChange(){let e=this.disabled||this.visuallyDisabled;this.setAttribute("aria-disabled",e?"true":"false")}focus(e){this.input.focus(e)}blur(){this.input.blur()}render(){let e=this.hasSlotController.test("[default]"),l=this.hasSlotController.test("icon"),m=`${this.size}-${e?"label":"no-label"}`;return a`<div part="base" role="presentation" class="relative"><button part="${`button${this.checked?" button--checked":""}`}" role="radio" aria-checked="${this.checked}" class="${n("relative text-center sd-radio-button-border-radius transition-all ease-in-out duration-100 items-center justify-center focus-visible:focus-outline",this.size==="sm"?"text-sm":"text-base",this.checked&&!this.disabled&&!this.visuallyDisabled?"sd-button--primary--default-color-background sd-button--primary--default-color-text hover:sd-button--primary--hover-color-background":!this.checked&&(this.disabled||this.visuallyDisabled)?"text-neutral-500 hover:cursor-not-allowed":this.checked&&(this.disabled||this.visuallyDisabled)?"bg-neutral-400 text-white hover:cursor-not-allowed ":"bg-transparent sd-radio-button-color-text border-primary hover:text-primary-500 cursor-pointer",e&&{sm:"px-3",md:"px-4",lg:"px-5"}[this.size],this.hasFocus&&"focused-class",e&&"button--has-label",l&&"button--has-icon flex gap-2",m)}" aria-disabled="${this.disabled||this.visuallyDisabled}" type="button" value="${p(this.value)}" tabindex="${this.checked?"0":"-1"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @click="${this.handleClick}"><slot name="icon" part="icon" class="${n(l&&"inline-flex relative items-center",{sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size])}" ?hidden="${!l}"></slot>${e?a`<slot part="label" class="button__label inline-flex relative items-center whitespace-nowrap"></slot>`:null}</button></div>`}};t.styles=[...o.styles,c`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
1
+ import{a as b}from"./chunk.CGQ2BPPZ.js";import{a as p}from"./chunk.PV6UYBMY.js";import{a as n}from"./chunk.YFQFOIEM.js";import{a as h}from"./chunk.NYKJXI3Q.js";import{a as d,b as i,c as u,d as r,h as o}from"./chunk.ZDDBOQSP.js";import{b as c,e as a}from"./chunk.763RLJEK.js";import{e as s}from"./chunk.6EV4YU6C.js";var t=class extends o{constructor(){super(...arguments);this.hasSlotController=new b(this,"[default]","icon");this.hasFocus=!1;this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.checked=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","presentation")}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleClick(e){if(this.disabled||this.visuallyDisabled){e.preventDefault(),e.stopPropagation();return}this.checked=!0}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleDisabledChange(){let e=this.disabled||this.visuallyDisabled;this.setAttribute("aria-disabled",e?"true":"false")}focus(e){this.input.focus(e)}blur(){this.input.blur()}render(){let e=this.hasSlotController.test("[default]"),l=this.hasSlotController.test("icon"),m=`${this.size}-${e?"label":"no-label"}`;return a`<div part="base" role="presentation" class="relative"><button part="${`button${this.checked?" button--checked":""}`}" role="radio" aria-checked="${this.checked}" class="${n("relative text-center sd-radio-button-border-radius transition-all ease-in-out duration-100 items-center justify-center focus-visible:focus-outline",this.size==="sm"?"text-sm":"text-base",this.checked&&!this.disabled&&!this.visuallyDisabled?"sd-button--primary--default-color-background sd-button--primary--default-color-text hover:sd-button--primary--hover-color-background":!this.checked&&(this.disabled||this.visuallyDisabled)?"text-neutral-500 hover:cursor-not-allowed":this.checked&&(this.disabled||this.visuallyDisabled)?"bg-neutral-400 text-white hover:cursor-not-allowed ":"bg-transparent sd-radio-button-color-text border-primary hover:text-primary-500 cursor-pointer",e&&{sm:"px-3",md:"px-4",lg:"px-5"}[this.size],this.hasFocus&&"focused-class",e&&"button--has-label",l&&"button--has-icon flex gap-2",m)}" aria-disabled="${this.disabled||this.visuallyDisabled}" type="button" value="${p(this.value)}" tabindex="${this.checked?"0":"-1"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @click="${this.handleClick}"><slot name="icon" part="icon" class="${n(l&&"inline-flex relative items-center",{sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size])}" ?hidden="${!l}"></slot>${e?a`<slot part="label" class="button__label inline-flex relative items-center whitespace-nowrap"></slot>`:null}</button></div>`}};t.styles=[...o.styles,c`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
2
  :host{display:block;width:-moz-min-content;width:min-content}.hidden-input{all:unset;position:absolute;inset:calc(var(--sd-spacing-1) * 0);z-index:calc(10 * -1);opacity:var(--sd-opacity-0);outline-style:var(--tw-outline-style);outline-width:1px;outline-color:var(--sd-color-border-error,var(--sd-color-error));--tw-outline-style:dotted;outline-style:dotted}.lg-label{height:var(--sd-spacing-12)}.lg-no-label{height:var(--sd-spacing-12);padding-inline:calc(var(--sd-spacing-1) * 5)}.md-label{height:var(--sd-spacing-10)}.md-no-label{height:var(--sd-spacing-10);padding-inline:var(--sd-spacing-4)}.sm-label{height:var(--sd-spacing-8)}.sm-no-label{height:var(--sd-spacing-8);padding-inline:var(--sd-spacing-3)}:host([size=lg].sd-button-group__button:not(.sd-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-3) * -1)}:host([size=md].sd-button-group__button:not(.sd-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-2) * -1)}:host([size=sm].sd-button-group__button:not(.sd-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-1) * -1)}:host(.sd-button-group__button--hover){z-index:20}:host(.sd-button-group__button--focus),:host(.sd-button-group__button[checked]){z-index:10}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}`],s([r(".button")],t.prototype,"input",2),s([r(".hidden-input")],t.prototype,"hiddenInput",2),s([u()],t.prototype,"hasFocus",2),s([i({type:String,reflect:!0})],t.prototype,"size",2),s([i({type:Boolean,reflect:!0})],t.prototype,"disabled",2),s([i({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),s([i({type:Boolean,reflect:!0})],t.prototype,"checked",2),s([i()],t.prototype,"value",2),s([h(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),t=s([d("sd-radio-button")],t);export{t as a};
@@ -1,4 +1,4 @@
1
- import{a as P}from"./chunk.N3WG3NAL.js";import{a as H}from"./chunk.X2GM34WQ.js";import{a as L,d as R,e as K,f as w}from"./chunk.W7A3TU2Z.js";import{c as A}from"./chunk.3L472FD4.js";import{b as z}from"./chunk.JS2HQ2N4.js";import{a as F}from"./chunk.CGQ2BPPZ.js";import{a as M}from"./chunk.PV6UYBMY.js";import{a as E,c as C}from"./chunk.B2NUKX6G.js";import{a as x}from"./chunk.KLRPP4NQ.js";import{a as $}from"./chunk.MP6XEXRW.js";import{a as d}from"./chunk.YEDQWNIV.js";import{a as V}from"./chunk.7BPPDSHY.js";import{a as g}from"./chunk.NYKJXI3Q.js";import{a as k,b as r,c as u,d as c,h as T}from"./chunk.ZT3DQGPM.js";import{b as D,e as p}from"./chunk.763RLJEK.js";import{b as I,e as S}from"./chunk.W4QBFD6E.js";import{e as l}from"./chunk.6EV4YU6C.js";var s=class extends T{constructor(){super(...arguments);this.formControlController=new z(this,{assumeInteractionOn:["sd-blur","sd-input"]});this.hasSlotController=new F(this,"help-text","label");this.localize=new V(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.type="text";this.currentPlacement=this.placement;this.getOption=H;this.multiple=!1;this.useTags=!0;this.maxOptionsVisible=3;this.styleOnValid=!1;this.filter=(t,e)=>{let i=w(t.value),a=w(t.getTextLabel()),n=w(e);return i.includes(n)||a.includes(n)};this.getTag=t=>p`<sd-tag ?disabled="${this.disabled}" part="tag" exportparts="
1
+ import{a as P}from"./chunk.N3WG3NAL.js";import{a as H}from"./chunk.X2GM34WQ.js";import{a as L,d as R,e as K,f as w}from"./chunk.W7A3TU2Z.js";import{c as A}from"./chunk.3L472FD4.js";import{b as z}from"./chunk.JS2HQ2N4.js";import{a as F}from"./chunk.CGQ2BPPZ.js";import{a as M}from"./chunk.PV6UYBMY.js";import{a as E,c as C}from"./chunk.B2NUKX6G.js";import{a as x}from"./chunk.KLRPP4NQ.js";import{a as $}from"./chunk.MP6XEXRW.js";import{a as d}from"./chunk.YFQFOIEM.js";import{a as V}from"./chunk.7BPPDSHY.js";import{a as g}from"./chunk.NYKJXI3Q.js";import{a as k,b as r,c as u,d as c,h as T}from"./chunk.ZDDBOQSP.js";import{b as D,e as p}from"./chunk.763RLJEK.js";import{b as I,e as S}from"./chunk.W4QBFD6E.js";import{e as l}from"./chunk.6EV4YU6C.js";var s=class extends T{constructor(){super(...arguments);this.formControlController=new z(this,{assumeInteractionOn:["sd-blur","sd-input"]});this.hasSlotController=new F(this,"help-text","label");this.localize=new V(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.type="text";this.currentPlacement=this.placement;this.getOption=H;this.multiple=!1;this.useTags=!0;this.maxOptionsVisible=3;this.styleOnValid=!1;this.filter=(t,e)=>{let i=w(t.value),a=w(t.getTextLabel()),n=w(e);return i.includes(n)||a.includes(n)};this.getTag=t=>p`<sd-tag ?disabled="${this.disabled}" part="tag" exportparts="
2
2
  base:tag__base,
3
3
  content:tag__content,
4
4
  removable-indicator:tag__removable-indicator,
@@ -8,5 +8,5 @@ import{a as P}from"./chunk.N3WG3NAL.js";import{a as H}from"./chunk.X2GM34WQ.js";
8
8
  removable-indicator:tag__removable-indicator,
9
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-tag>`]}addOpenListeners(){document.addEventListener("focusin",this.handleDocumentFocusIn),document.addEventListener("mousedown",this.handleDocumentMouseDown),this.getRootNode()!==document&&this.getRootNode().addEventListener("focusin",this.handleDocumentFocusIn)}removeOpenListeners(){document.removeEventListener("focusin",this.handleDocumentFocusIn),document.removeEventListener("mousedown",this.handleDocumentMouseDown),this.getRootNode()!==document&&this.getRootNode().removeEventListener("focusin",this.handleDocumentFocusIn)}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleTagKeyDown(t,e){(t.key==="Backspace"||t.key==="Enter"||t.key===" ")&&this.multiple&&(t.preventDefault(),t.stopPropagation(),this.handleTagRemove(new CustomEvent("sd-remove"),e),this.updateComplete.then(()=>this.displayInput.focus({preventScroll:!0})))}handleTagMaxOptionsKeyDown(t){(t.key==="Backspace"||t.key==="Enter"||t.key===" ")&&this.multiple&&(t.preventDefault(),t.stopPropagation(),this.handleTagRemove(new CustomEvent("sd-remove"),this.selectedOptions[this.selectedOptions.length-1]),this.updateComplete.then(()=>this.displayInput.focus({preventScroll:!0})))}handleLabelClick(){this.visuallyDisabled||this.displayInput.focus()}handleTagRemove(t,e){t.stopPropagation(),e||this.clearCombobox(),e&&!this.disabled&&(this.toggleOptionSelection(e,!1),this.setOrderedSelectedOptions(e),this.deletedTagLabel="",this.deletedTagLabel=this.localize.term("removed",e.textContent),this.updateComplete.then(()=>{this.selectionChanged(),this.emit("sd-input"),this.emit("sd-change")}))}handleComboboxMouseDown(t){if(this.visuallyDisabled){t.preventDefault(),t.stopPropagation();return}let i=t.composedPath().some(n=>n instanceof HTMLSlotElement&&n.name==="removable-indicator");if(this.disabled||i)return;(this.open?this.hide():this.show()).then(()=>{setTimeout(()=>this.displayInput.focus({preventScroll:!0}))})}handleComboboxKeyDown(t){t.key!=="Tab"&&this.handleDocumentKeyDown(t)}handleClearClick(t){t.stopPropagation(),this.clearCombobox()}handleNoResultsClick(t){t.preventDefault(),this.hide()}clearCombobox(){this.value!==""&&(this.value="",this.displayInputValue="",this.selectedTextLabel="",this.lastOption=void 0,this.selectedOptions=[],this.getSlottedOptions().forEach(t=>{t.selected=!1}),this.displayInput.focus({preventScroll:!0}),this.updateComplete.then(()=>{this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change")}))}preventLoosingFocus(t){t.stopPropagation(),t.preventDefault()}handleOptionClick(t){let i=t.target.closest("sd-option"),a=this.value;i&&!i.disabled&&(this.multiple?(this.toggleOptionSelection(i),this.lastOption=i,this.setOrderedSelectedOptions(i),this.updateComplete.then(()=>{this.selectionChanged()})):(this.setOrderedSelectedOptions(i),this.setSelectedOptions(i)),this.updateComplete.then(()=>{this.displayInput.focus({preventScroll:!0}),this.value!==a&&(this.emit("sd-input"),this.emit("sd-change"))}),this.multiple||(this.hide(),this.displayInput.focus({preventScroll:!0})))}selectNextOption(t){let e=this.getAllFilteredOptions();if(e.length===0)return;let i=this.getCurrentOption(),a=e.indexOf(i),n=Math.max(0,a);if(t){let o=a+1;n=o>e.length-1?0:o}else{let o=a-1;n=o<0?e.length-1:o}this.setCurrentOption(e[n],new KeyboardEvent("keydown")),A(this.getCurrentOption(),this.listbox,"vertical","auto")}getAllFilteredOptions(){return[...this.filteredWrapper.querySelectorAll("sd-option")]}getCurrentOption(){return this.getAllFilteredOptions().find(t=>t.current)}setCurrentOption(t,e){let i=this.getAllFilteredOptions();this.displayInput.removeAttribute("aria-activedescendant"),i.forEach(a=>{a.current=!1,a.setAttribute("aria-selected","false"),a.isKeyboardFocus=!1}),t&&(t.current=!0,t.setAttribute("aria-selected","true"),this.displayInput.setAttribute("aria-activedescendant",t.id)),t&&(e==null?void 0:e.type)==="keydown"&&(t.isKeyboardFocus=!0)}toggleOptionSelection(t,e){let a=this.getSlottedOptions().find(n=>n.value&&t.value?n.value===t.value:n.getTextLabel()===t.getTextLabel());a&&(a.selected=e!=null?e:!a.selected)}findOptionByValue(t,e){if(e)return Array.isArray(e)?t.find(i=>e.includes(i.value)):t.find(i=>i.value===e)}selectedOptionsAndValueSynced(){var t;return!this.value&&this.selectedOptions.length===0?!0:Array.isArray(this.value)?this.value.length===this.selectedOptions.length:this.value===((t=this.selectedOptions[0])==null?void 0:t.value)}isOptionSelected(t){return t.value?this.value.includes(t.value):this.value.includes(t.getTextLabel())}syncSelectedOptionsAndValue(){return this.selectedOptionsAndValueSynced()?void 0:(this.getSlottedOptions().forEach(e=>{e.selected=!1}),this.selectedOptions=this.getSlottedOptions().filter(e=>this.isOptionSelected(e)),this.selectedOptions.forEach(e=>{e&&(e.selected=!0)}),Promise.resolve())}compareOptions(t,e){return t.value&&e.value?t.value===e.value:t.getTextLabel()===e.getTextLabel()}setSelectedOptions(t){this.getSlottedOptions().forEach(i=>{i.selected=this.compareOptions(i,t)}),this.selectionChanged()}setOrderedSelectedOptions(t){let e=this.getSlottedOptions().find(i=>this.compareOptions(i,t));this.multiple?this.selectedOptions.length>0&&e&&this.selectedOptions.find(i=>this.compareOptions(i,e))?this.selectedOptions=this.selectedOptions.filter(i=>!this.compareOptions(i,e)):this.selectedOptions=[...this.selectedOptions,e]:this.selectedOptions=[e]}selectionChanged(){var e,i,a;let t=this.selectedOptions.some(n=>n?this.isOptionSelected(n):!1);this.multiple?(!t&&this.selectedOptions.length>0?this.value=[...this.value,...this.selectedOptions.map(n=>n.value||n.getTextLabel())]:this.value=this.selectedOptions.map(n=>(n==null?void 0:n.value)||(n==null?void 0:n.getTextLabel())||""),this.displayInputValue=""):(this.value=((e=this.selectedOptions[0])==null?void 0:e.value)||((i=this.selectedOptions[0])==null?void 0:i.getTextLabel())||"",this.selectedTextLabel=((a=this.selectedOptions[0])==null?void 0:a.getTextLabel())||"",this.displayInputValue=""),this.updateComplete.then(()=>{this.formControlController.updateValidity()})}createComboboxOptionsFromQuery(t){let e=[];this.filteredOptions=this.getSlottedOptions().filter(i=>this.filter(i,t)||t==="").map(i=>{var y,b,f;let a=i.cloneNode(!0);if(a.current=a.value===((y=this.lastOption)==null?void 0:y.value),a.selected=i.selected,a.checkbox=i.checkbox,a.size=i.size,!(((b=i.parentElement)==null?void 0:b.tagName.toLowerCase())==="sd-optgroup"))return a;let o=i.parentElement,m=(f=o.querySelector('[slot="label"]'))==null?void 0:f.cloneNode(!0),h=e.find(O=>O.id===o.id);if(h){h==null||h.appendChild(a),m&&(h==null||h.appendChild(m));return}let v=o.cloneNode();return v.appendChild(a),m&&v.appendChild(m),e.push(v),v}).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-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 S(this),this.listbox.hidden=!1,this.popup.active=!0;let{keyframes:i,options:a}=C(this,"combobox.show",{dir:this.localize.dir()});await I(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 S(this);let{keyframes:t,options:e}=C(this,"combobox.hide",{dir:this.localize.dir()});await I(this.popup.popup,t,e),this.listbox.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}async show(){if(this.open||this.disabled||this.visuallyDisabled){this.open=!1;return}return this.open=!0,Promise.race([x(this,"sd-after-show"),x(this,"sd-error")])}async hide(){if(!this.open||this.disabled){this.open=!1;return}return this.displayInputValue="",this.open=!1,x(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 R(L(this.defaultSlot)).flat()}getSlottedOptGroups(){return K(L(this.defaultSlot))}async handleDefaultSlotChange(){if(!customElements.get("sd-option")){customElements.whenDefined("sd-option").then(()=>this.handleDefaultSlotChange());return}let t=this.getSlottedOptions(),e=this.getSlottedOptGroups();this.applySizeToOptions();let i=this.findOptionByValue(t,this.value);this.selectedTextLabel=(i==null?void 0:i.getTextLabel())||"",t.forEach((a,n)=>{this.multiple&&(a.checkbox=!0),a.id=a.id||`sd-combobox-option-${n}`}),e.forEach((a,n)=>{a.id=a.id||`sd-combobox-optgroup-${n}`}),await this.syncSelectedOptionsAndValue(),this.multiple?this.createComboboxOptionsFromQuery(this.displayInputValue):this.createComboboxOptionsFromQuery("")}render(){let t={left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right")},e=this.hasSlotController.test("label"),i=this.hasSlotController.test("help-text"),a=this.label?!0:!!e,n=this.helpText?!0:!!i,o=this.clearable&&!this.disabled&&!this.visuallyDisabled,m=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",h=this.disabled||this.visuallyDisabled?"cursor-not-allowed":"cursor-pointer",v=this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary",y={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],b={sm:"mr-1",md:"mr-2",lg:"mr-2"}[this.size],f={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size];return p`<div part="form-control" class="${d("relative text-left",h,this.size==="sm"?"text-sm":"text-base",this.open&&"z-50")}"><label id="label" part="form-control-label" class="${a&&"inline-block mb-2 form-control-color-text"}" aria-hidden="${!a}" @click="${this.handleLabelClick}"><slot name="label">${this.label}</slot></label> <span aria-live="polite" class="sr-only">${this.deletedTagLabel}</span><div part="form-control-input" class="relative w-full bg-white text-black"><div part="border" class="${d("absolute top-0 w-full h-full pointer-events-none border rounded-default z-10 transition-[border] duration-medium ease-in-out",{disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",readonly:"form-control-color-border",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"form-control-color-border"}[m],this.open&&(this.currentPlacement==="bottom"?"rounded-bl-none rounded-br-none":"rounded-tl-none rounded-tr-none"))}"></div><sd-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${d("inline-flex relative w-full",this.currentPlacement==="bottom"?"origin-top":"origin-bottom")}" placement="${this.placement}" strategy="${this.hoist?"fixed":"absolute"}" flip shift sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
10
10
  popup:popup__content,
11
- "><div part="combobox" class="${d("relative w-full px-4 flex flex-row items-center rounded-default transition-colors hover:duration-fast ease-in-out",this.visuallyDisabled||this.disabled?"hover:bg-transparent":"hover:bg-neutral-200",this.open&&"shadow transition-shadow duration-medium ease-in-out",["invalid","activeInvalid"].includes(m)&&"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])}" slot="anchor" @keydown="${this.handleComboboxKeyDown}" @mousedown="${this.handleComboboxMouseDown}">${t.left?p`<slot part="left" name="left" class="${d("inline-flex",b,v,f)}"></slot>`:""} ${this.multiple&&this.useTags&&this.tags.length>0?p`<div part="tags" class="${d("flex items-center gap-1",b)}">${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",h,this.selectedTextLabel&&!this.multiple?"placeholder:form-control-color-text":"placeholder:text-neutral-700")}" type="text" placeholder="${this.selectedTextLabel&&!this.multiple?this.selectedTextLabel:this.placeholder||this.localize.term("comboboxDefaultPlaceholder")}" .disabled="${this.disabled}" .value="${this.displayInputValue}" autocomplete="off" spellcheck="false" autocapitalize="off" aria-controls="listbox" aria-expanded="${this.open}" aria-haspopup="listbox" aria-labelledby="label" aria-disabled="${this.disabled||this.visuallyDisabled}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" role="combobox" tabindex="0" @focus="${this.handleFocus}" @blur="${this.handleBlur}" aria-autocomplete="list" aria-owns="listbox" @input="${this.handleInput}" @change="${this.handleChange}"><div aria-live="polite" id="control-value" class="absolute top-0 left-0 opacity-0 -z-10">${this.selectedOptions.map(O=>O==null?void 0:O.getTextLabel()).join(", ")}</div><input class="${d("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10",h)}" type="text" ?disabled="${this.disabled}" ?required="${this.required}" .value="${Array.isArray(this.value)?this.value.join(", "):this.value}" tabindex="-1" aria-controls="control-value" aria-hidden="true" @focus="${()=>this.focus()}" @invalid="${this.handleInvalid}"> ${o?p`<button part="clear-button" class="${d("flex justify-center",y,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-icon class="${d("text-neutral-700",f)}" name="closing-round" library="_internal"></sd-icon></slot></button>`:""} ${this.showInvalidStyle?p`<sd-icon part="invalid-icon" class="${d(y,f,"text-error")}" library="_internal" name="risk"></sd-icon>`:""} ${this.styleOnValid&&this.showValidStyle?p`<sd-icon part="valid-icon" class="${d("flex-shrink-0 text-success",y,f)}" library="_internal" name="confirm-circle"></sd-icon>`:""}<slot name="right" part="right" class="${d("inline-flex ml-2 leading-[0]",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary",f)}">${this.type!=="search"?p`<sd-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-icon>`:""}</slot>${this.type==="search"?p`<button class="${d("flex items-center sd-interactive",y)}" type="button"><sd-icon class="${d(v,f)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-icon></button>`:p`<button class="sd-interactive combobox-button absolute top-2" @keydown="${this.handleComboboxMouseDown}" type="button"><span class="sr-only">${this.localize.term("open")}</span></button>`}</div><div id="listbox" role="${M(this.multiple?void 0:"listbox")}" aria-expanded="${this.open}" aria-multiselectable="${this.multiple}" aria-labelledby="label" part="listbox" class="${d("bg-white px-2 py-3 relative border-primary overflow-y-auto",this.open&&"shadow transition-shadow duration-medium ease-in-out",this.currentPlacement==="bottom"?"border-r-2 border-b-2 border-l-2 rounded-br-default rounded-bl-default":"border-r-2 border-t-2 border-l-2 rounded-tr-default rounded-tl-default")}" tabindex="-1" @mousedown="${this.preventLoosingFocus}" @mouseup="${this.handleOptionClick}"><div part="filtered-listbox">${this.filteredOptions.length===0?p`<span id="noResults" class="px-4 flex items-center w-full transition-all text-left text-base relative text-black py-3" aria-hidden="true" @click="${this.handleNoResultsClick}">${this.localize.term("noResults")}</span>`:this.options}</div><slot id="defaultOptionsSlot" class="hidden" @slotchange="${this.handleDefaultSlotChange}"></slot></div></sd-popup></div><div part="form-control-help-text" id="help-text" class="text-sm text-neutral-700 mt-1" aria-hidden="${!n}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage()}`}};s.styles=[...T.styles,D`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
11
+ "><div part="combobox" class="${d("relative w-full px-4 flex flex-row items-center rounded-default transition-colors hover:duration-fast ease-in-out",this.visuallyDisabled||this.disabled?"hover:bg-transparent":"hover:bg-neutral-200",this.open&&"shadow transition-shadow duration-medium ease-in-out",["invalid","activeInvalid"].includes(m)&&"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])}" slot="anchor" @keydown="${this.handleComboboxKeyDown}" @mousedown="${this.handleComboboxMouseDown}">${t.left?p`<slot part="left" name="left" class="${d("inline-flex",b,v,f)}"></slot>`:""} ${this.multiple&&this.useTags&&this.tags.length>0?p`<div part="tags" class="${d("flex items-center gap-1",b)}">${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",h,this.selectedTextLabel&&!this.multiple?"placeholder:form-control-color-text":"placeholder:text-neutral-700")}" type="text" placeholder="${this.selectedTextLabel&&!this.multiple?this.selectedTextLabel:this.placeholder||this.localize.term("comboboxDefaultPlaceholder")}" .disabled="${this.disabled}" .value="${this.displayInputValue}" autocomplete="off" spellcheck="false" autocapitalize="off" aria-controls="listbox" aria-expanded="${this.open}" aria-haspopup="listbox" aria-labelledby="label" aria-disabled="${this.disabled||this.visuallyDisabled}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" role="combobox" tabindex="0" @focus="${this.handleFocus}" @blur="${this.handleBlur}" aria-autocomplete="list" aria-owns="listbox" @input="${this.handleInput}" @change="${this.handleChange}"><div aria-live="polite" id="control-value" class="absolute top-0 left-0 opacity-0 -z-10">${this.selectedOptions.map(O=>O==null?void 0:O.getTextLabel()).join(", ")}</div><input class="${d("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10",h)}" type="text" ?disabled="${this.disabled}" ?required="${this.required}" .value="${Array.isArray(this.value)?this.value.join(", "):this.value}" tabindex="-1" aria-controls="control-value" aria-hidden="true" @focus="${()=>this.focus()}" @invalid="${this.handleInvalid}"> ${o?p`<button part="clear-button" class="${d("flex justify-center",y,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-icon class="${d("text-neutral-700",f)}" name="closing-round" library="_internal"></sd-icon></slot></button>`:""} ${this.showInvalidStyle?p`<sd-icon part="invalid-icon" class="${d(y,f,"text-error")}" library="_internal" name="risk"></sd-icon>`:""} ${this.styleOnValid&&this.showValidStyle?p`<sd-icon part="valid-icon" class="${d("flex-shrink-0 text-success",y,f)}" library="_internal" name="confirm-circle"></sd-icon>`:""}<slot name="right" part="right" class="${d("inline-flex ml-2 leading-[0]",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary",f)}">${this.type!=="search"?p`<sd-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-icon>`:""}</slot>${this.type==="search"?p`<button class="${d("flex items-center sd-interactive",y)}" type="button"><sd-icon class="${d(v,f)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-icon></button>`:p`<button class="sd-interactive combobox-button absolute top-2" @keydown="${this.handleComboboxMouseDown}" type="button"><span class="sr-only">${this.localize.term("open")}</span></button>`}</div><div id="listbox" role="${M(this.multiple?void 0:"listbox")}" aria-expanded="${this.open}" aria-multiselectable="${this.multiple}" aria-labelledby="label" part="listbox" class="${d("bg-white px-2 py-3 relative border-primary overflow-y-auto",this.open&&"shadow transition-shadow duration-medium ease-in-out",this.currentPlacement==="bottom"?"border-r-2 border-b-2 border-l-2 rounded-br-default rounded-bl-default":"border-r-2 border-t-2 border-l-2 rounded-tr-default rounded-tl-default")}" tabindex="-1" @mousedown="${this.preventLoosingFocus}" @mouseup="${this.handleOptionClick}"><div part="filtered-listbox">${this.filteredOptions.length===0?p`<span id="noResults" class="px-4 flex items-center w-full transition-all text-left text-base relative text-black py-3" aria-hidden="true" @click="${this.handleNoResultsClick}">${this.localize.term("noResults")}</span>`:this.options}</div><slot id="defaultOptionsSlot" class="hidden" @slotchange="${this.handleDefaultSlotChange}"></slot></div></sd-popup></div><div part="form-control-help-text" id="help-text" class="text-sm text-neutral-700 mt-1" aria-hidden="${!n}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage()}`}};s.styles=[...T.styles,D`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
12
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-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-tag::part(base){border-radius:var(--sd-radius);padding-inline:var(--sd-spacing-1)}sd-tag::part(content){display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:var(--tag-max-width,15ch)}sd-tag[size=lg]::part(base){padding-inline:var(--sd-spacing-2)}sd-tag[disabled=false]::part(base):hover{background-color:rgba(var(--sd-color-background-primary-100))}[part=filtered-listbox] sd-optgroup:first-of-type{--display-divider:none}mark{background-color:transparent;--tw-font-weight:var(--sd-font-weight-bold);font-weight:var(--sd-font-weight-bold);color:inherit}@property --tw-font-weight{syntax:"*";inherits:false}`],l([c("sd-popup")],s.prototype,"popup",2),l([c('[part="combobox"]')],s.prototype,"combobox",2),l([c('[part="display-input"]')],s.prototype,"displayInput",2),l([c(".value-input")],s.prototype,"valueInput",2),l([c('[part="listbox"]')],s.prototype,"listbox",2),l([c('[part="tags"]')],s.prototype,"tagWrapper",2),l([c('[part="filtered-listbox"]')],s.prototype,"filteredWrapper",2),l([c("slot:not([name])")],s.prototype,"defaultSlot",2),l([c("#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([P()],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({type:String,reflect:!0})],s.prototype,"type",2),l([u()],s.prototype,"currentPlacement",2),l([r()],s.prototype,"getOption",2),l([r({type:Boolean,reflect:!0})],s.prototype,"multiple",2),l([r({type:Boolean,reflect:!0})],s.prototype,"useTags",2),l([r({type:Number,reflect:!0,attribute:"max-options-visible"})],s.prototype,"maxOptionsVisible",2),l([r({type:Boolean,reflect:!0,attribute:"style-on-valid"})],s.prototype,"styleOnValid",2),l([r()],s.prototype,"filter",2),l([r()],s.prototype,"getTag",2),l([g("filter",{waitUntilFirstUpdate:!0})],s.prototype,"handleFilterChange",1),l([g("useTags",{waitUntilFirstUpdate:!0})],s.prototype,"handleUseTagsChange",1),l([g("size",{waitUntilFirstUpdate:!0})],s.prototype,"applySizeToOptions",1),l([g(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],s.prototype,"handleDisabledChange",1),l([g("value",{waitUntilFirstUpdate:!0})],s.prototype,"handleValueChange",1),l([g("displayInputValue",{waitUntilFirstUpdate:!0})],s.prototype,"handleDisplayInputValueChange",1),l([g("open",{waitUntilFirstUpdate:!0})],s.prototype,"handleOpenChange",1),s=l([k("sd-combobox")],s);E("combobox.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});E("combobox.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{s as a};
@@ -1,4 +1,4 @@
1
- import{a}from"./chunk.YEDQWNIV.js";import{a as p,b as o,c as d,d as v,h as n}from"./chunk.ZT3DQGPM.js";import{b as l,e as t}from"./chunk.763RLJEK.js";import{e as i}from"./chunk.6EV4YU6C.js";var r=class extends n{constructor(){super(...arguments);this.variant="primary";this.shapes=["top","middle","bottom"];this.componentBreakpoint=0}getSvg(e,s){return{0:this.smallSvg(s),414:this.mediumSvg(s),640:this.largeSvg(s)}[e]}largeSvg(e){return e==="top"?t`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 121"><path d="M610.777 1.393.001 120.146 0 123h700.001V74.79c0-4.797-.462-9.585-1.381-14.294-7.909-40.537-47.237-66.998-87.843-59.103Z"/></svg>`:t`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 123"><path d="M89.224 121.607 700 2.854 700.001 0h-700L0 48.21c0 4.797.463 9.584 1.381 14.294 7.909 40.537 47.237 66.998 87.843 59.103Z"/></svg>`}mediumSvg(e){return e==="top"?t`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 119"><path d="M597.75 1.6 0 118.046V121h700V85.872c0-5.509-.53-11.006-1.583-16.413-9.063-46.543-54.133-76.924-100.667-67.86Z"/></svg>`:t`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 121"><path d="M102.25 119.4 700 2.954V0H0v35.128c0 5.509.53 11.006 1.583 16.413 9.063 46.543 54.134 76.924 100.667 67.859Z"/></svg>`}smallSvg(e){return e==="top"?t`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 113"><path d="M566.951 2.08 0 112.466v2.934h700v-3.672c0-7.166-.689-14.314-2.059-21.348-11.789-60.557-70.436-100.09-130.99-88.3Z"/></svg>`:t`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 116"><path d="M133.049 113.32 700 2.934V0H0v3.672c0 7.165.69 14.314 2.059 21.348 11.79 60.557 70.436 100.09 130.99 88.3Z"/></svg>`}setBreakpoint(){switch(!0){case this.containerElem.clientWidth<=414:this.componentBreakpoint=0;break;case this.containerElem.clientWidth<640:this.componentBreakpoint=414;break;default:this.componentBreakpoint=640}}connectedCallback(){super.connectedCallback(),this.resizeObserver=new ResizeObserver(()=>this.setBreakpoint()),this.updateComplete.then(()=>{this.setBreakpoint(),this.resizeObserver.observe(this.containerElem)})}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver.unobserve(this.containerElem)}renderTopBrandshape(){return t`<div class="relative" part="shape-top">${this.getSvg(this.componentBreakpoint,"top")} ${this.renderWhitespaceFix("top")}</div>`}renderMiddleBrandshape(){return t`<div class="${a({0:"px-6 py-4",414:"px-10 py-8",640:"px-10 py-8"}[this.componentBreakpoint],"w-full block relative")}"><div part="shape-middle" class="${a({"neutral-100":"bg-neutral-100",primary:"bg-primary",white:"bg-white","border-white":"bg-transparent","border-primary":"bg-transparent",image:"bg-transparent"}[this.variant],"w-full block absolute h-full top-0 left-0 z-0")}"></div><div class="${a("z-10 relative",this.variant==="image"&&"invisible opacity-0")}" part="content"><slot>${this.variant==="image"?"":t`<div class="h-8"></div>`}</slot></div></div>`}renderBottomBrandshape(){return t`<div class="relative" part="shape-bottom">${this.getSvg(this.componentBreakpoint,"bottom")}${this.renderWhitespaceFix("bottom")}</div>`}renderWhitespaceFix(e){return t`<div class="${a({"neutral-100":"bg-neutral-100",primary:"bg-primary",white:"bg-white","border-white":"bg-transparent","border-primary":"bg-transparent",image:"bg-transparent"}[this.variant],{top:"bottom-0",bottom:"top-0"}[e],"block absolute left-0 w-full h-[1px]")}"></div>`}renderStylizedVariant(){return t`<div part="stylized-container" class="w-full overflow-hidden"><slot class="${a(this.variant!=="image"&&"hidden")}" name="image"></slot></div>`}renderShapes(){return t`${this.shapes.includes("top")?this.renderTopBrandshape():""} ${this.shapes.includes("middle")?this.renderMiddleBrandshape():""} ${this.shapes.includes("bottom")?this.renderBottomBrandshape():""}`}render(){let e=this.variant.startsWith("border-")||this.variant==="image";return t`<div class="${a(e&&"fill-transparent","relative")}" part="base">${e?this.renderStylizedVariant():""} ${this.renderShapes()}</div>`}};r.styles=[...n.styles,l`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
1
+ import{a}from"./chunk.YFQFOIEM.js";import{a as p,b as o,c as d,d as v,h as n}from"./chunk.ZDDBOQSP.js";import{b as l,e as t}from"./chunk.763RLJEK.js";import{e as i}from"./chunk.6EV4YU6C.js";var r=class extends n{constructor(){super(...arguments);this.variant="primary";this.shapes=["top","middle","bottom"];this.componentBreakpoint=0}getSvg(e,s){return{0:this.smallSvg(s),414:this.mediumSvg(s),640:this.largeSvg(s)}[e]}largeSvg(e){return e==="top"?t`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 121"><path d="M610.777 1.393.001 120.146 0 123h700.001V74.79c0-4.797-.462-9.585-1.381-14.294-7.909-40.537-47.237-66.998-87.843-59.103Z"/></svg>`:t`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 123"><path d="M89.224 121.607 700 2.854 700.001 0h-700L0 48.21c0 4.797.463 9.584 1.381 14.294 7.909 40.537 47.237 66.998 87.843 59.103Z"/></svg>`}mediumSvg(e){return e==="top"?t`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 119"><path d="M597.75 1.6 0 118.046V121h700V85.872c0-5.509-.53-11.006-1.583-16.413-9.063-46.543-54.133-76.924-100.667-67.86Z"/></svg>`:t`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 121"><path d="M102.25 119.4 700 2.954V0H0v35.128c0 5.509.53 11.006 1.583 16.413 9.063 46.543 54.134 76.924 100.667 67.859Z"/></svg>`}smallSvg(e){return e==="top"?t`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 113"><path d="M566.951 2.08 0 112.466v2.934h700v-3.672c0-7.166-.689-14.314-2.059-21.348-11.789-60.557-70.436-100.09-130.99-88.3Z"/></svg>`:t`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 116"><path d="M133.049 113.32 700 2.934V0H0v3.672c0 7.165.69 14.314 2.059 21.348 11.79 60.557 70.436 100.09 130.99 88.3Z"/></svg>`}setBreakpoint(){switch(!0){case this.containerElem.clientWidth<=414:this.componentBreakpoint=0;break;case this.containerElem.clientWidth<640:this.componentBreakpoint=414;break;default:this.componentBreakpoint=640}}connectedCallback(){super.connectedCallback(),this.resizeObserver=new ResizeObserver(()=>this.setBreakpoint()),this.updateComplete.then(()=>{this.setBreakpoint(),this.resizeObserver.observe(this.containerElem)})}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver.unobserve(this.containerElem)}renderTopBrandshape(){return t`<div class="relative" part="shape-top">${this.getSvg(this.componentBreakpoint,"top")} ${this.renderWhitespaceFix("top")}</div>`}renderMiddleBrandshape(){return t`<div class="${a({0:"px-6 py-4",414:"px-10 py-8",640:"px-10 py-8"}[this.componentBreakpoint],"w-full block relative")}"><div part="shape-middle" class="${a({"neutral-100":"bg-neutral-100",primary:"bg-primary",white:"bg-white","border-white":"bg-transparent","border-primary":"bg-transparent",image:"bg-transparent"}[this.variant],"w-full block absolute h-full top-0 left-0 z-0")}"></div><div class="${a("z-10 relative",this.variant==="image"&&"invisible opacity-0")}" part="content"><slot>${this.variant==="image"?"":t`<div class="h-8"></div>`}</slot></div></div>`}renderBottomBrandshape(){return t`<div class="relative" part="shape-bottom">${this.getSvg(this.componentBreakpoint,"bottom")}${this.renderWhitespaceFix("bottom")}</div>`}renderWhitespaceFix(e){return t`<div class="${a({"neutral-100":"bg-neutral-100",primary:"bg-primary",white:"bg-white","border-white":"bg-transparent","border-primary":"bg-transparent",image:"bg-transparent"}[this.variant],{top:"bottom-0",bottom:"top-0"}[e],"block absolute left-0 w-full h-[1px]")}"></div>`}renderStylizedVariant(){return t`<div part="stylized-container" class="w-full overflow-hidden"><slot class="${a(this.variant!=="image"&&"hidden")}" name="image"></slot></div>`}renderShapes(){return t`${this.shapes.includes("top")?this.renderTopBrandshape():""} ${this.shapes.includes("middle")?this.renderMiddleBrandshape():""} ${this.shapes.includes("bottom")?this.renderBottomBrandshape():""}`}render(){let e=this.variant.startsWith("border-")||this.variant==="image";return t`<div class="${a(e&&"fill-transparent","relative")}" part="base">${e?this.renderStylizedVariant():""} ${this.renderShapes()}</div>`}};r.styles=[...n.styles,l`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
2
  :host{display:block;container-type:inline-size;--angle:11deg;--radius:60px;--tan:tan(var(--angle));--adjacent:100cqw;--opposite:calc(var(--tan) * var(--adjacent));--curve:calc(
3
3
  (var(--opposite) - (var(--radius) / 3)) * 0.5
4
4
  )}@supports not (transform:skewY(11deg)){:host{--tan:0.1943803091}}@media (min-width:415px){:host{--radius:72px}}@media (min-width:640px){:host{--radius:84px}}:host([variant=image]) [part=stylized-container],:host([variant^=border-]) [part=stylized-container]::before{position:absolute;top:calc(var(--sd-spacing-1) * 0);left:calc(var(--sd-spacing-1) * 0);transform:skewY(calc(var(--angle) * -1));height:calc(100% - var(--curve) * 2);border-radius:0 var(--radius);margin-top:calc(var(--curve))}slot[name=image]::slotted(img),slot[name=image]::slotted(video){width:100%;-o-object-fit:cover;object-fit:cover;transform:translateY(calc(var(--curve) * -1)) skewY(var(--angle));height:calc(100% + var(--curve) * 2)!important;position:absolute!important}@supports not (height:100cqw){:host([variant=image]) [part=stylized-container],:host([variant^=border-]) [part=stylized-container]::before{transform:unset;height:100%;margin-top:0}slot[name=image]::slotted(img),slot[name=image]::slotted(video){transform:unset;height:100%!important}}:host([variant=border-primary]){--internal-border-color:rgba(var(--sd-color-border-primary, rgba(var(--sd-color-primary))))}:host([variant=border-white]){--internal-border-color:rgba(var(--sd-color-border-white, rgba(var(--sd-color-white))))}:host([variant^=border-]) [part=stylized-container]::before{right:calc(var(--sd-spacing-1) * 0);border-style:var(--tw-border-style);border-width:var(--sd-border-width-2);--tw-border-style:solid;border-style:solid;content:'';border-color:var(--internal-border-color,#000)}:host([variant=neutral-100]) [part=base]{fill:rgba(var(--sd-brandshape--neutral-100-color-background,rgba(var(--sd-color-neutral-100))))}:host([variant=white]) [part=base]{fill:rgba(var(--sd-color-background-white,rgba(var(--sd-color-white))))}:host([variant=primary]) [part=base]{fill:rgba(var(--sd-color-background-primary,rgba(var(--sd-color-primary))))}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}`],i([v("[part=base]")],r.prototype,"containerElem",2),i([o({type:String,reflect:!0})],r.prototype,"variant",2),i([o({type:Array})],r.prototype,"shapes",2),i([d()],r.prototype,"componentBreakpoint",2),r=i([p("sd-brandshape")],r);export{r as a};
@@ -0,0 +1,2 @@
1
+ import{a}from"./chunk.635MGLIZ.js";import{b as N}from"./chunk.JS2HQ2N4.js";import{a as W}from"./chunk.CGQ2BPPZ.js";import{a as $}from"./chunk.YFQFOIEM.js";import{a as q}from"./chunk.7BPPDSHY.js";import{a as P}from"./chunk.NYKJXI3Q.js";import{a as H,b as v,c as E,d as B,h as R}from"./chunk.ZDDBOQSP.js";import{b as A,e as C,i as z}from"./chunk.763RLJEK.js";import{e as h}from"./chunk.6EV4YU6C.js";var o=class extends R{constructor(){super();this.localize=new q(this);this.hasSlotController=new W(this,"label","help-text","tooltip");this.formControlController=new N(this,{assumeInteractionOn:["sd-blur","sd-input"]});this.locale="en-US";this.value=null;this.range=!1;this.rangeStart=null;this.rangeEnd=null;this.allowSameDayRange=!1;this.min=void 0;this.max=void 0;this.firstDayOfWeek=null;this.disabledWeekends=!1;this.disabledDates=[];this.isDateDisabled=null;this.size="lg";this.alignment="left";this.label="";this.helpText="";this.disabled=!1;this.visuallyDisabled=!1;this.styleOnValid=!1;this.readonly=!1;this.placement="bottom";this.placeholder="";this.name="";this.form="";this.open=!1;this.today=a.startOfDayLocal(new Date);this.disabledDatesSet=new Set;this.previewEnd=null;this.statusNavText="";this.statusSelectText="";this.hasFocus=!1;this.showValidStyle=!1;this.showInvalidStyle=!1;this.currentPlacement=this.placement;this.inputValue="";this.tabbingIntoGrid=!1;this.statusBumpCounter=0;this.onFocusOut=t=>{let e=t.relatedTarget;e&&this.contains(e)||(this.open&&(this.hide(),this.emit("sd-datepicker-close")),this.hasFocus=!1)};this.onFocusIn=t=>{if(this.disabled||this.visuallyDisabled)return;t.composedPath().some(i=>{var n,l;return i instanceof HTMLElement&&(((n=i.classList)==null?void 0:n.contains("nav"))||((l=i.classList)==null?void 0:l.contains("month-label")))})&&(this.tabbingIntoGrid=!0)};this.handleInput=t=>{var l,u,f,b,c;if(this.disabled||this.visuallyDisabled){(l=t.preventDefault)==null||l.call(t),(u=t.stopPropagation)==null||u.call(t);return}let e=t.target,s=e.value,i=(f=e.selectionStart)!=null?f:s.length,n=(b=t.inputType)==null?void 0:b.startsWith("delete");if(this.range){let d=s.replace(/\D/g,""),r=d.slice(0,8),g=d.slice(8,16),m=this.buildDmyFromDigits(r),S=this.buildDmyFromDigits(g),M;r.length===0?M="":r.length<8?M=m:g.length>0?M=`${m} - ${S}`:M=n?m:`${m} -`;let I=this.countDigitsBeforeCaret(s,i),y;if(I<=8){let p=this.digitIndexToDmyCaretPos(Math.min(I,8));y=Math.min(p,m.length)}else{let p=r.length<8?m.length:m.length+3,D=Math.min(I-8,8),x=this.digitIndexToDmyCaretPos(D);y=p+Math.min(x,S.length)}this.inputValue=M;let L=!1;if(/^\d{2}\.\d{2}\.\d{4}$/.test(m)){let p=this.dmyToIso(m),D=p?a.parseLocalISO(p):null;!!D&&!this.isDisabled(D)&&this.inMinMax(D)&&this.rangeStart!==p&&(this.rangeStart=p,this.previewEnd=null,this.viewMonth=new Date(D.getFullYear(),D.getMonth(),1),this.focusedDate=a.startOfDayLocal(D),L=!0)}else this.rangeStart&&(this.rangeStart=null,L=!0),this.rangeEnd&&(this.rangeEnd=null,L=!0);if(/^\d{2}\.\d{2}\.\d{4}$/.test(S)&&this.rangeStart){let p=a.parseLocalISO(this.rangeStart),D=this.dmyToIso(S),x=D?a.parseLocalISO(D):null;if(!!x&&!this.isDisabled(x)&&this.inMinMax(x)){let[T,O]=a.compareDates(p,x)<=0?[p,x]:[x,p],Y=a.isSameDay(T,O);if((this.allowSameDayRange||!Y)&&!this.wouldRangeContainDisabled(T,O)){let V=a.toLocalISODate(a.startOfDayLocal(T)),k=a.toLocalISODate(a.startOfDayLocal(O));(this.rangeStart!==V||this.rangeEnd!==k)&&(this.rangeStart=V,this.rangeEnd=k,this.viewMonth=new Date(O.getFullYear(),O.getMonth(),1),this.focusedDate=a.startOfDayLocal(O),L=!0)}}}else this.rangeEnd&&(this.rangeEnd=null,L=!0);this.showInvalidStyle=!1,this.showValidStyle=!!(this.rangeStart&&this.rangeEnd),L&&(this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}}),this.emit("sd-change",{detail:{value:this.value,rangeStart:this.rangeStart,rangeEnd:this.rangeEnd}})),Promise.resolve().then(()=>{requestAnimationFrame(()=>{var D;let p=(D=this.input)!=null?D:e;p&&(p.value=this.inputValue,p.setSelectionRange(y,y))})})}else{let d=e,r=d.value,g=(c=d.selectionStart)!=null?c:r.length,m=r.replace(/\D/g,"").slice(0,8),S=m.slice(0,2),M=m.slice(2,4),I=m.slice(4,8),y="";S.length>0&&(y+=S,S.length===2&&(y+=".")),M.length>0&&S.length===2&&(y+=M,M.length===2&&(y+=".")),I.length>0&&S.length===2&&M.length===2&&(y+=I),y=y.replace(/\.\.+/g,".");let L=this.inputValue||"";this.inputValue=y;let p=g,D=w=>{let V=[];for(let k=0;k<w.length;k++)w[k]==="."&&V.push(k);return V},x=D(L),F=D(y),T=x.filter(w=>w<g).length,Y=F.filter(w=>w<g).length-T;if(Y>0?p+=Y:!x.includes(g)&&F.includes(g)&&(p+=1),p=Math.min(Math.max(0,p),y.length),requestAnimationFrame(()=>{var V;let w=(V=this.input)!=null?V:d;w&&(w.value=this.inputValue,w.setSelectionRange(p,p))}),/^\d{2}\.\d{2}\.\d{4}$/.test(y)){let w=this.parseInputText(y);this.applyParsedInput(w)}else this.showInvalidStyle=!1,this.showValidStyle=!1;return}if(!this.open&&this.hasFocus&&!this.disabled&&!this.visuallyDisabled&&this.show(),this.range){let d=this.rangeStart?a.parseLocalISO(this.rangeStart):null,r=this.rangeEnd?a.parseLocalISO(this.rangeEnd):null;d&&!r?this.setNavStatus(`${this.termStartSelected()}: ${this.formatSelectionLabel(d)}`):d&&r&&this.setNavStatus(`${this.termStartSelected()}: ${this.formatSelectionLabel(d)}; ${this.termEndSelected()}: ${this.formatSelectionLabel(r)}`)}else if(this.value){let d=a.parseLocalISO(this.value);this.setNavStatus(`${this.formatSelectionLabel(d)}`)}};this.handleInputBlur=()=>{if(this.disabled||this.visuallyDisabled){this.handleBlur();return}let t=this.parseInputText(this.inputValue);t.valid?this.applyParsedInput(t):(this.inputValue=this.formatInputValue(),this.showInvalidStyle=!!this.inputValue&&!this.value&&!this.rangeStart),this.handleBlur()};this.handleCurrentPlacement=t=>{this.currentPlacement=t.detail.placement};this.handleHeaderKeyDown=(t,e,s,i)=>{if(t.key==="Tab"&&!t.shiftKey){i&&(t.preventDefault(),t.stopPropagation(),this.tabbingIntoGrid=!0,this.focusInitialGridDay());return}(t.key==="Enter"||t.key===" ")&&(t.preventDefault(),t.stopPropagation(),e==="month"?this.setMonth(s):this.setYear(s))};this.onKeyDown=t=>{if(this.disabled||this.visuallyDisabled){t.preventDefault(),t.stopPropagation();return}let e=t.key,s=!0,i=new Date(this.focusedDate);switch(e){case"ArrowLeft":i.setDate(i.getDate()-1);break;case"ArrowRight":i.setDate(i.getDate()+1);break;case"ArrowUp":i.setDate(i.getDate()-7);break;case"ArrowDown":i.setDate(i.getDate()+7);break;case"Escape":{this.previewEnd?(this.previewEnd=null,this.setNavStatus(this.localize.term("selectionCleared"))):this.range&&this.rangeStart&&!this.rangeEnd&&(this.rangeStart=null,this.setNavStatus(this.localize.term("selectionCleared")),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}})),this.open&&(this.hide(),this.emit("sd-datepicker-close"));break}case"Enter":case" ":this.selectDate(this.focusedDate);break;default:s=!1}if(s){if(t.preventDefault(),i.getMonth()!==this.viewMonth.getMonth()||i.getFullYear()!==this.viewMonth.getFullYear()){this.viewMonth=new Date(i.getFullYear(),i.getMonth(),1);let f=this.formatMonthYear(this.viewMonth);this.setNavStatus(f)}let l=a.startOfDayLocal(i);(!this.focusedDate||l.getTime()!==this.focusedDate.getTime())&&(this.focusedDate=l);let u=l.toLocaleDateString(this.locale,{weekday:"long",day:"numeric",month:"long",year:"numeric"});this.setNavStatus(u),this.requestUpdate(),requestAnimationFrame(()=>{let f=this.shadowRoot,b=f==null?void 0:f.querySelector("button.day.focused");b==null||b.focus({preventScroll:!0})})}};this.handleInputKeyDown=t=>{if((this.disabled||this.visuallyDisabled)&&t.key!=="Tab"){t.preventDefault(),t.stopPropagation();return}if(!(t.key==="ArrowLeft"||t.key==="ArrowRight"||t.key==="ArrowUp"||t.key==="ArrowDown"||t.key==="Home"||t.key==="End"||t.key==="PageUp"||t.key==="PageDown")){if(t.key==="Escape"&&this.open){t.preventDefault(),this.hide(),this.emit("sd-datepicker-close");return}t.key==="Enter"&&!this.open&&!this.disabled&&!this.visuallyDisabled&&(t.preventDefault(),this.show())}};this.handleOutsideClick=this.handleOutsideClick.bind(this)}connectedCallback(){super.connectedCallback(),this.syncDisabledDatesSet(),document.addEventListener("click",this.handleOutsideClick),this.addEventListener("focusout",this.onFocusOut),this.updateComplete.then(()=>{this.formControlController.updateValidity()});let t=this.value?a.parseLocalISO(this.value):null,e=this.rangeStart?a.parseLocalISO(this.rangeStart):null,s=this.range&&e?e:t!=null?t:a.startOfDayLocal(new Date);this.viewMonth=new Date(s.getFullYear(),s.getMonth(),1),this.focusedDate=a.clampDateToMonth(s,this.viewMonth),(this.firstDayOfWeek===null||this.firstDayOfWeek===void 0)&&(this.firstDayOfWeek=1),this.inputValue=this.formatInputValue(),this.setAttribute("role","group"),this.setAttribute("aria-label",this.range?this.localize.term("datePickerRange"):this.localize.term("datePicker")),this.addEventListener("focusin",this.onFocusIn)}firstUpdated(){this.formControlController.updateValidity()}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focusin",this.onFocusIn),this.removeEventListener("focusout",this.onFocusOut),document.removeEventListener("click",this.handleOutsideClick)}handleLocaleChange(){this.firstDayOfWeek===null&&(this.firstDayOfWeek=1),this.requestUpdate()}handleDisabledDatesChange(){this.syncDisabledDatesSet(),this.requestUpdate()}handleValueChange(){let t=this.value?a.parseLocalISO(this.value):null;t&&(this.viewMonth=new Date(t.getFullYear(),t.getMonth(),1),this.focusedDate=a.startOfDayLocal(t)),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var s;let e=this.input;if(e){e.value=(s=this.inputValue)!=null?s:"";let i=e.value.length;e.setSelectionRange(i,i)}this.formControlController.updateValidity()}),this.emit("sd-change",{detail:{value:this.value,rangeStart:this.rangeStart,rangeEnd:this.rangeEnd}})}handleRangeChange(){let t=this.rangeStart?a.parseLocalISO(this.rangeStart):null,e=this.rangeEnd?a.parseLocalISO(this.rangeEnd):null,s=t!=null?t:e;s&&(this.viewMonth=new Date(s.getFullYear(),s.getMonth(),1),this.focusedDate=a.startOfDayLocal(s)),this.previewEnd!==null&&(this.previewEnd=null),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var n;let i=this.input;if(i){i.value=(n=this.inputValue)!=null?n:"";let l=i.value.length;i.setSelectionRange(l,l)}this.formControlController.updateValidity()}),this.emit("sd-change",{detail:{value:this.value,rangeStart:this.rangeStart,rangeEnd:this.rangeEnd}})}handleDisabledChange(){this.formControlController.setValidity(this.disabled),(this.disabled||this.visuallyDisabled)&&(this.open=!1)}get validity(){let t={valid:!0};return this.input instanceof HTMLInputElement?this.input.validity:t}get validationMessage(){return(this.input instanceof HTMLInputElement?this.input.validationMessage:"")||""}checkValidity(){return this.input instanceof HTMLInputElement?this.input.checkValidity():!0}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input instanceof HTMLInputElement?this.input.reportValidity():!0}setCustomValidity(t){var e;(e=this.input)==null||e.setCustomValidity(t),this.formControlController.updateValidity()}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}parseISO(t){return a.parseLocalISO(t)}inMinMax(t){let e=this.parseISO(this.min!==null?String(this.min):null),s=this.parseISO(this.max!==null?String(this.max):null);return!(e&&t<e||s&&t>s)}isInDisabledDates(t){if(!this.disabledDatesSet||this.disabledDatesSet.size===0)return!1;let e=a.toLocalISODate(a.startOfDayLocal(t));return this.disabledDatesSet.has(e)}isWeekend(t){let e=t.getDay();return e===0||e===6}isDisabled(t){var e;return!!(!this.inMinMax(t)||this.disabledWeekends&&this.isWeekend(t)||this.isInDisabledDates(t)||(e=this.isDateDisabled)!=null&&e.call(this,t))}setNavStatus(t){this.statusNavText=t}announceSelect(t,e=40){setTimeout(()=>{this.statusBumpCounter++;let s="\u200B".repeat(this.statusBumpCounter%3);this.statusSelectText=t+s},e)}formatSelectionLabel(t){if(this.locale==="de-DE")return t.toLocaleDateString("de-DE",{day:"numeric",month:"long",year:"numeric"});let e=t.getDate(),s=this.ordinal(e),i=t.toLocaleDateString("en-US",{month:"long"}),n=t.getFullYear();return`${s} of ${i} ${n}`}ordinal(t){let e=["th","st","nd","rd"],s=t%100,i=e[(s-20)%10]||e[s]||e[0];return t+i}syncDisabledDatesSet(){let t=[];if(Array.isArray(this.disabledDates))t=this.disabledDates;else if(typeof this.disabledDates=="string"){let e=this.disabledDates.trim();if(e.startsWith("["))try{let s=JSON.parse(e);Array.isArray(s)&&(t=s)}catch(s){t=[]}else e.length>0&&(t=e.split(",").map(s=>s.trim()).filter(Boolean))}this.disabledDatesSet=new Set(t)}wouldRangeContainDisabled(t,e){let s=a.compareDates(t,e)<=0?a.startOfDayLocal(t):a.startOfDayLocal(e),i=a.compareDates(t,e)<=0?a.startOfDayLocal(e):a.startOfDayLocal(t),n=new Date(s);for(;a.compareDates(n,i)<=0;){if(this.isDisabled(n))return!0;n.setDate(n.getDate()+1)}return!1}termStartSelected(){var t,e;return(e=(t=this.localize)==null?void 0:t.term)==null?void 0:e.call(t,"startDateSelected")}termEndSelected(){var t,e;return(e=(t=this.localize)==null?void 0:t.term)==null?void 0:e.call(t,"endDateSelected")}isoToDmy(t){if(!t)return"";let e=a.parseLocalISO(t);if(!e)return"";let s=String(e.getDate()).padStart(2,"0"),i=String(e.getMonth()+1).padStart(2,"0"),n=String(e.getFullYear());return`${s}.${i}.${n}`}dmyToIso(t){if(!t)return null;let e=t.match(/^(\d{2})\.(\d{2})\.(\d{4})$/);if(!e)return null;let s=Number(e[1]),i=Number(e[2]),n=Number(e[3]),l=new Date(n,i-1,s);if(l.getFullYear()!==n||l.getMonth()!==i-1||l.getDate()!==s)return null;let u=a.startOfDayLocal(l);return a.toLocalISODate(u)}formatInputValue(){let t=(this.locale||"").toLowerCase(),e=(this.getAttribute("lang")||"").toLowerCase(),i=t.startsWith("de")||e.startsWith("de")?"\u2013":"-";if(!this.range)return this.isoToDmy(this.value);let n=this.isoToDmy(this.rangeStart),l=this.isoToDmy(this.rangeEnd);return n&&l?`${n} ${i} ${l}`:n&&!l?`${n} ${i}`:""}parseInputText(t){var i,n;let e=t.trim();if(this.range){let l=e.split(/\s*-\s*/);if(l.length===1){let u=l[0];if(!u)return{start:null,end:null,valid:!0};let f=this.dmyToIso(u);return f?{start:f,end:null,valid:!0}:{start:null,end:null,valid:!1}}else if(l.length>=2){let u=(i=l[0])!=null?i:"",f=(n=l[1])!=null?n:"",b=u?this.dmyToIso(u):null,c=f?this.dmyToIso(f):null;return u&&!b?{start:null,end:null,valid:!1}:f&&!c?{start:null,end:null,valid:!1}:{start:b,end:c,valid:!0}}return{start:null,end:null,valid:!1}}if(!e)return{single:null,valid:!0};let s=this.dmyToIso(e);return s?{single:s,valid:!0}:{single:null,valid:!1}}applyParsedInput(t){var u,f,b,c;if(!t.valid)return this.showInvalidStyle=!0,this.showValidStyle=!1,this.formControlController.setValidity(!1),!1;let e=d=>{if(!d)return!0;let r=a.parseLocalISO(d);return!(!this.inMinMax(r)||this.isDisabled(r))},s=!1;if(this.range){let d=(u=t.start)!=null?u:null,r=(f=t.end)!=null?f:null;if(!e(d)||r&&!e(r))return this.showInvalidStyle=!0,this.showValidStyle=!1,!1;let g=d?a.parseLocalISO(d):null,m=r?a.parseLocalISO(r):null;if(g&&m){if(a.compareDates(g,m)>0){let I=g;g=m,m=I}if(!this.allowSameDayRange&&a.isSameDay(g,m))return this.showInvalidStyle=!0,this.showValidStyle=!1,!1;if(this.wouldRangeContainDisabled(g,m))return this.showInvalidStyle=!0,this.showValidStyle=!1,!1}let S=g?a.toLocalISODate(a.startOfDayLocal(g)):null,M=m?a.toLocalISODate(a.startOfDayLocal(m)):null;if(this.rangeStart!==S||this.rangeEnd!==M){this.rangeStart=S,this.rangeEnd=M,this.previewEnd=null,s=!0;let I=(b=g!=null?g:m)!=null?b:this.today;this.viewMonth=new Date(I.getFullYear(),I.getMonth(),1),this.focusedDate=a.startOfDayLocal(I),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}})}return this.showInvalidStyle=!1,this.range?this.showValidStyle=!!(this.rangeStart&&this.rangeEnd&&this.styleOnValid):this.showValidStyle=!!(this.value&&this.styleOnValid),this.formControlController.setValidity(!0),this.updateComplete.then(()=>{this.formControlController.updateValidity()}),!0}let i=(c=t.single)!=null?c:null;if(!e(i))return this.showInvalidStyle=!0,this.showValidStyle=!1,!1;let n=i?a.parseLocalISO(i):null,l=n?a.toLocalISODate(a.startOfDayLocal(n)):null;return this.value!==l&&(this.value=l,s=!0,n&&(this.viewMonth=new Date(n.getFullYear(),n.getMonth(),1),this.focusedDate=a.startOfDayLocal(n)),this.emit("sd-select",{detail:{value:this.value,date:n!=null?n:null}})),this.showInvalidStyle=!1,this.showValidStyle=!!this.value,this.inputValue=this.formatInputValue(),s}buildDmyFromDigits(t){let e=t.slice(0,8),s=e.slice(0,2),i=e.slice(2,4),n=e.slice(4,8),l=s;return i.length&&(l+="."+i),n.length&&(l+="."+n),l}digitIndexToDmyCaretPos(t){return t<=2?t:t<=4?3+(t-2):6+(t-4)}countDigitsBeforeCaret(t,e){return t.slice(0,e).replace(/\D/g,"").length}handleOutsideClick(t){var s,i;((i=(s=t.composedPath)==null?void 0:s.call(t))!=null?i:[]).includes(this)||(this.hide(),this.hasFocus=!1,this.emit("sd-datepicker-close"))}show(){if(this.open||this.disabled||this.visuallyDisabled){this.open=!1;return}this.open=!0}hide(){if(!this.open||this.disabled){this.open=!1;return}this.open=!1}handleMouseDown(t){if(this.visuallyDisabled||this.disabled){t.preventDefault(),t.stopPropagation();return}t.preventDefault(),this.open||this.show()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleFocus(){this.hasFocus=!0,!this.open&&!this.disabled&&!this.visuallyDisabled&&this.show(),this.emit("sd-focus")}setMonth(t){let e=new Date(this.viewMonth.getFullYear(),this.viewMonth.getMonth()+t,1);if(e.getMonth()===this.viewMonth.getMonth()&&e.getFullYear()===this.viewMonth.getFullYear())return;this.viewMonth=e;let s=this.formatMonthYear(this.viewMonth);this.setNavStatus(s),this.emit("sd-month-change",{detail:{month:this.viewMonth}})}setYear(t){let e=new Date(this.viewMonth.getFullYear()+t,this.viewMonth.getMonth(),1);if(e.getFullYear()===this.viewMonth.getFullYear()&&e.getMonth()===this.viewMonth.getMonth())return;this.viewMonth=e;let s=this.formatMonthYear(this.viewMonth);this.setNavStatus(s),this.emit("sd-month-year",{detail:{month:this.viewMonth}})}focusInitialGridDay(){let t=null;if(!this.range&&this.value){let s=a.parseLocalISO(this.value);s&&(t=a.startOfDayLocal(s))}if(this.range){let s=this.rangeStart?a.parseLocalISO(this.rangeStart):null,i=this.rangeEnd?a.parseLocalISO(this.rangeEnd):null;i?t=a.startOfDayLocal(i):s&&(t=a.startOfDayLocal(s))}if(!(s=>s?s.getFullYear()===this.viewMonth.getFullYear()&&s.getMonth()===this.viewMonth.getMonth()&&!this.isDisabled(s):!1)(t)){let{weeks:s}=this.getMonthMatrix(this.viewMonth),i=s.flat().find(n=>n.getMonth()===this.viewMonth.getMonth()&&a.isSameDay(n,this.today)&&!this.isDisabled(n));if(i)t=a.startOfDayLocal(i);else{let n=s.flat().find(l=>l.getMonth()===this.viewMonth.getMonth()&&!this.isDisabled(l));t=n?a.startOfDayLocal(n):null}}t&&(this.focusedDate=t),this.requestUpdate(),requestAnimationFrame(()=>{let s=this.shadowRoot,i=(s==null?void 0:s.querySelector("button.day.selected"))||(s==null?void 0:s.querySelector("button.day.focused"))||(s==null?void 0:s.querySelector('button.day[tabindex="0"]'))||(s==null?void 0:s.querySelector("button.day"));i==null||i.focus({preventScroll:!0})})}selectSingleDate(t){if(this.isDisabled(t))return;let e=a.startOfDayLocal(t),s=a.toLocalISODate(e);if(this.value===s)return;this.value=s;let i=`${this.formatSelectionLabel(e)}, ${this.localize.term("selected")}`;this.announceSelect(i),this.emit("sd-select",{detail:{value:this.value,date:e}}),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var l;let n=this.input;n&&(n.value=(l=this.inputValue)!=null?l:"",Promise.resolve().then(()=>{requestAnimationFrame(()=>{let u=n.value.length;n.setSelectionRange(u,u)})}))})}selectRangeDate(t){let e=a.startOfDayLocal(t),s=this.rangeStart?a.parseLocalISO(this.rangeStart):null,i=this.rangeEnd?a.parseLocalISO(this.rangeEnd):null;if(!s&&!i){if(this.isDisabled(e))return;this.rangeStart=a.toLocalISODate(e),this.rangeEnd=null,this.previewEnd=null;let n=this.formatSelectionLabel(e);this.announceSelect(`${this.termStartSelected()}: ${n}`,40),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}}),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var u;let l=this.input;l&&(l.value=(u=this.inputValue)!=null?u:"",Promise.resolve().then(()=>{requestAnimationFrame(()=>{let f=l.value.length;l.setSelectionRange(f,f)})}))});return}if(s&&!i){if(this.isDisabled(e))return;if(a.isSameDay(s,e)){if(!this.allowSameDayRange){this.rangeStart=a.toLocalISODate(e),this.rangeEnd=null,this.previewEnd=null;let d=this.formatSelectionLabel(e);this.announceSelect(`${this.termStartSelected()}: ${d}`,40),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}}),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var g;let r=this.input;r&&(r.value=(g=this.inputValue)!=null?g:"",Promise.resolve().then(()=>{requestAnimationFrame(()=>{let m=r.value.length;r.setSelectionRange(m,m)})}))});return}this.rangeStart=a.toLocalISODate(e),this.rangeEnd=a.toLocalISODate(e),this.previewEnd=null;let c=this.formatSelectionLabel(e);this.announceSelect(`${this.termStartSelected()}: ${c}`,40),this.announceSelect(`${this.termEndSelected()}: ${c}`,140),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}}),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var r;let d=this.input;d&&(d.value=(r=this.inputValue)!=null?r:"",Promise.resolve().then(()=>{requestAnimationFrame(()=>{let g=d.value.length;d.setSelectionRange(g,g)})}))});return}let n=a.parseLocalISO(this.rangeStart);if(this.wouldRangeContainDisabled(n,e))return;let[l,u]=a.compareDates(n,e)<=0?[n,e]:[e,n];this.rangeStart=a.toLocalISODate(l),this.rangeEnd=a.toLocalISODate(u),this.previewEnd=null;let f=this.formatSelectionLabel(l),b=this.formatSelectionLabel(u);this.announceSelect(`${this.termStartSelected()}: ${f}`,40),this.announceSelect(`${this.termEndSelected()}: ${b}`,140),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}}),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var d;let c=this.input;c&&(c.value=(d=this.inputValue)!=null?d:"",Promise.resolve().then(()=>{requestAnimationFrame(()=>{let r=c.value.length;c.setSelectionRange(r,r)})}))});return}if(s&&i){if(this.isDisabled(e))return;this.rangeStart=a.toLocalISODate(e),this.rangeEnd=null,this.previewEnd=null;let n=this.formatSelectionLabel(e);this.announceSelect(`${this.termStartSelected()}: ${n}`,40),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}}),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var u;let l=this.input;l&&(l.value=(u=this.inputValue)!=null?u:"",Promise.resolve().then(()=>{requestAnimationFrame(()=>{let f=l.value.length;l.setSelectionRange(f,f)})}))})}}selectDate(t){this.range?this.selectRangeDate(t):this.selectSingleDate(t)}getMonthMatrix(t){var b;let e=(b=this.firstDayOfWeek)!=null?b:1,s=new Date(t.getFullYear(),t.getMonth(),1),i=new Date(s),n=(s.getDay()-e+7)%7;i.setDate(s.getDate()-n);let l=[],u=i;for(let c=0;c<6;c++){let d=[];for(let r=0;r<7;r++)d.push(new Date(u)),u.setDate(u.getDate()+1);l.push(d)}let f=c=>c.every(d=>d.getMonth()!==t.getMonth());for(;l.length>0&&f(l[l.length-1]);)l.pop();return{weeks:l}}formatMonthYear(t){try{return new Intl.DateTimeFormat(this.locale,{month:"long",year:"numeric"}).format(t)}catch(e){return`${t.toLocaleString(void 0,{month:"long"})} ${t.getFullYear()}`}}weekdayLabels(){var i;let t=(i=this.firstDayOfWeek)!=null?i:1,e=new Date(2021,7,1),s=[];for(let n=0;n<7;n++){let l=new Date(e);l.setDate(e.getDate()+(t+n)%7);try{s.push(new Intl.DateTimeFormat(this.locale,{weekday:"short"}).format(l))}catch(u){s.push(l.toLocaleDateString(void 0,{weekday:"short"}))}}return s}getTabTargetDayForCurrentView(t){let e=t.flat().find(i=>i.getMonth()===this.viewMonth.getMonth()&&a.isSameDay(i,this.today)&&!this.isDisabled(i));if(e)return a.startOfDayLocal(e);let s=t.flat().find(i=>i.getMonth()===this.viewMonth.getMonth()&&!this.isDisabled(i));return s?a.startOfDayLocal(s):null}onDayMouseEnter(t){if(!this.range)return;let e=this.rangeStart?a.parseLocalISO(this.rangeStart):null,s=this.rangeEnd?a.parseLocalISO(this.rangeEnd):null;if(e&&!s){let i=a.startOfDayLocal(t);this.previewEnd=this.isDisabled(i)?null:i,this.requestUpdate()}}onGridMouseLeave(){this.previewEnd!==null&&(this.previewEnd=null,this.requestUpdate())}renderCalendar(){let{weeks:t}=this.getMonthMatrix(this.viewMonth),e=this.formatMonthYear(this.viewMonth),s=this.weekdayLabels(),i=this.value?this.parseISO(this.value):null,n=this.rangeStart?this.parseISO(this.rangeStart):null,l=this.rangeEnd?this.parseISO(this.rangeEnd):null,u=this.previewEnd,f=c=>!this.range||!n||l||!u?!1:a.isBetweenInclusive(c,n,u),b=this.getTabTargetDayForCurrentView(t);return C`<div part="datepicker" class="w-[284px] z-50 absolute top-full bg-white border-2 border-t-0 border-primary py-3 px-4 ${this.open?"block rounded-bl-default rounded-br-default":"hidden"} ${this.alignment==="left"?"left-0":"right-0"}"><div class="flex flex-row items-center w-full justify-between mb-3" part="header"><div class="flex items-center"><button type="button" tabindex="0" class="nav prev w-6 h-6 hover:cursor-pointer sd-interactive" part="prev-year-button" @click="${()=>this.setYear(-1)}" @keydown="${c=>this.handleHeaderKeyDown(c,"year",-1,!1)}" aria-label="${this.localize.term("previousYear")}"><sd-icon library="_internal" name="chevrons-sm-left" class="h-6 w-6"></sd-icon></button> <button type="button" tabindex="0" class="nav prev w-6 h-6 hover:cursor-pointer sd-interactive" part="prev-month-button" @click="${()=>this.setMonth(-1)}" @keydown="${c=>this.handleHeaderKeyDown(c,"month",-1,!1)}" aria-label="${this.localize.term("previousMonth")}"><sd-icon library="_internal" name="chevron-sm-left" class="h-6 w-6"></sd-icon></button></div><div tabindex="-1" class="month-label flex justify-center sd-headline sd-headline--size-base !text-primary" part="month-label" aria-live="polite">${e}</div><div class="flex items-center"><button type="button" tabindex="0" class="nav next w-6 h-6 hover:cursor-pointer sd-interactive" part="next-month-button" @click="${()=>this.setMonth(1)}" @keydown="${c=>this.handleHeaderKeyDown(c,"month",1,!1)}" aria-label="${this.localize.term("nextMonth")}"><sd-icon library="_internal" name="chevron-sm-right" class="h-6 w-6"></sd-icon></button> <button type="button" tabindex="0" class="nav next w-6 h-6 hover:cursor-pointer sd-interactive" part="next-year-button" @click="${()=>this.setYear(1)}" @keydown="${c=>this.handleHeaderKeyDown(c,"year",1,!0)}" aria-label="${this.localize.term("nextYear")}"><sd-icon library="_internal" name="chevrons-sm-right" class="h-6 w-6"></sd-icon></button></div></div><sd-divider></sd-divider><div class="sr-only" aria-live="polite" aria-atomic="true">${this.statusNavText}</div><div class="sr-only" aria-live="assertive" aria-atomic="true">${this.statusSelectText}</div><div class="sr-only" id="keyboard-hint">${this.localize.term("datePickerInfo")}</div><div class="grid mt-2" role="grid" aria-describedby="keyboard-hint" aria-label="${e}" part="grid" @mouseleave="${this.onGridMouseLeave}" @focusin="${()=>{this.tabbingIntoGrid=!1}}"><div class="grid-row grid-head grid grid-cols-7 gap-y-[1px]" role="row">${s.map((c,d)=>C`<div role="columnheader" aria-colindex="${d+1}" part="weekday" class="cell head flex items-center justify-center font-bold text-black text-sm leading-none h-8" aria-label="${c}" title="${c}" id="${"col-"+(d+1)}">${c}</div>`)}</div>${t.map((c,d)=>C`<div class="grid-row grid grid-cols-7 ${d===0?"mt-2":""}" role="row" aria-rowindex="${d+2}">${c.map((r,g)=>{let m=r.getMonth()===this.viewMonth.getMonth(),S=this.isDisabled(r),M=a.isSameDay(r,this.focusedDate),I=a.isSameDay(r,this.today),y=!this.range&&i?a.isSameDay(r,i):!1,L=this.range&&n?a.isSameDay(r,n):!1,p=this.range&&l?a.isSameDay(r,l):!1,D=this.range&&n&&l?a.isBetweenInclusive(r,n,l):!1,x=f(r)&&!S,F=-1,T=b&&a.isSameDay(r,b);(this.tabbingIntoGrid&&T||!this.tabbingIntoGrid&&M)&&(F=0);let O=this.isWeekend(r),Y=r.toLocaleDateString(this.locale,{weekday:"long",day:"numeric",month:"long",year:"numeric"}),w=L?this.localize.term("startDateSelected"):p?this.localize.term("endDateSelected"):void 0;return C`<button type="button" part="day" class="${$("cell day flex items-center justify-center focus-visible:outline focus:outline-2 focus:outline-primary -outline-offset-2 rounded-md w-[36px]",this.size==="sm"?"text-sm h-6":"text-base h-8",L||p?"hover:bg-primary-500":"hover:bg-primary-100 hover:text-primary-500",m?this.isInDisabledDates(r)?"out-month text-neutral-500":this.disabledWeekends&&O?"weekend-day text-neutral-500":"in-month text-primary":this.disabledWeekends&&O?"out-month weekend-day text-neutral-500":O?"out-month weekend-day text-neutral-700":"out-month text-neutral-700",y?"selected border-primary bg-primary text-white hover:bg-primary-500 hover:text-white":"",L?"bg-primary text-white rounded-l-md rounded-r-none":"",p?"bg-primary text-white range-end rounded-r-md rounded-l-none":"",D&&!L&&!p?"in-range selected bg-primary-100 text-primary-500 rounded-none hover:bg-primary-500 hover:text-white":"",!D&&x&&!L&&!p?"in-preview-range bg-primary-100 text-primary-500 rounded-none":"",I&&!y&&!L&&!p&&M?"today border-[1px] border-primary font-bold":"",S?"disabled cursor-not-allowed hover:bg-transparent":"",M&&!I?"focused outline outline-2 outline-primary":"")}" role="gridcell" aria-colindex="${g+1}" aria-labelledby="${"col-"+(g+1)}" .tabIndex="${F}" ?disabled="${S||this.disabled}" aria-disabled="${S||this.visuallyDisabled||this.disabled?"true":"false"}" aria-selected="${y||D||L||p?"true":"false"}" aria-current="${I?"date":z}" aria-label="${Y}" aria-roledescription="${w!=null?w:z}" @focus="${()=>this.focusedDate=a.startOfDayLocal(r)}" @mouseenter="${()=>this.onDayMouseEnter(r)}" @keydown="${this.onKeyDown}" @click="${()=>{this.focusedDate=a.startOfDayLocal(r),this.selectDate(r)}}">${r.getDate()}</button>`})}</div>`)}</div></div>`}render(){let t={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text"),tooltip:this.hasSlotController.test("tooltip")},e=this.label?!0:!!t.label,s=this.helpText?!0:!!t.helpText,i=!!t.tooltip,n=this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary",l={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],u={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size],f=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.readonly?"readonly":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus||this.open?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",b={disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",readonly:"border-neutral-800",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"border-neutral-800"}[f],c=this.size==="sm"?"text-sm":"text-base";return C`<div part="form-control" class="${$("min-w-[284px]",this.open&&"z-50",(this.disabled||this.visuallyDisabled)&&"cursor-not-allowed")}">${e||i?C`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${$(e?"inline-block form-control-color-text":"hidden",c)}" for="input" aria-hidden="${e?"false":"true"}"><slot name="label">${this.label}</slot></label> ${t.tooltip?C`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${$("relative w-full",this.disabled&&"pointer-events-none",this.visuallyDisabled&&"cursor-not-allowed")}"><div part="border" class="${$("absolute top-0 w-full h-full pointer-events-none border rounded-default z-10 transition-[border] duration-medium ease-in-out",b,this.open&&this.alignment==="left"?"rounded-bl-none":"",this.open&&this.alignment==="right"?"rounded-br-none":"")}"></div><sd-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${$("inline-flex relative w-full")}" sync="width" auto-size="vertical" auto-size-padding="10" exportparts="popup:popup__content,"><div part="base" class="${$("px-4 flex flex-row items-center rounded-default transition-colors ease-in-out duration-medium hover:duration-fast w-full",!this.disabled&&!this.readonly&&!this.visuallyDisabled?"hover:bg-neutral-200":"",this.readonly?"bg-neutral-100":"bg-white",f==="disabled"||f==="visuallyDisabled"?"text-neutral-500":"text-black")}" slot="anchor"><input id="input" type="text" role="combobox" aria-expanded="${this.open?"true":"false"}" aria-haspopup="dialog" aria-controls="calendar-grid" aria-describedby="${s?"help-text":void 0}" aria-invalid="${this.showInvalidStyle?"true":"false"}" aria-label="${this.range?"Select date range":"Select a date"}" class="${$("min-w-0 flex-grow focus:outline-none bg-transparent hover:cursor-pointer form-control-color-text",this.visuallyDisabled||this.disabled?"placeholder:text-neutral-500 cursor-not-allowed":"placeholder:text-neutral-700",{sm:"h-8",md:"h-10",lg:"h-12"}[this.size],c)}" autocomplete="off" spellcheck="false" placeholder="${this.placeholder||this.localize.term(this.range?"dateRangePlaceholder":"datePlaceholder")}" ?disabled="${this.disabled}" ?readonly="${this.readonly||this.visuallyDisabled}" @input="${this.handleInput}" @click="${this.handleMouseDown}" @keydown="${this.handleInputKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleInputBlur}" @invalid="${this.handleInvalid}"> ${this.showInvalidStyle?C`<sd-icon part="invalid-icon" class="${$("text-error",l,u)}" library="_internal" name="risk"></sd-icon>`:""} ${this.showValidStyle&&this.styleOnValid?C`<sd-icon class="${$("text-success flex-shrink-0",l,u)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-icon>`:""}<sd-icon class="${$(n,l,u,"hover:cursor-pointer")}" library="_internal" name="calendar" @click="${this.show}"></sd-icon>${this.renderCalendar()}</div></sd-popup></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${$("text-sm text-neutral-700 mt-1",s?"block":"hidden")}" aria-hidden="${!s}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`}};o.styles=[...R.styles,A`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{position:relative;display:inline-block;width:100%;--tw-outline-style:none;outline-style:none}:host([required]) #label::after{content:' *'}:host([visually-disabled]) input{caret-color:transparent}`],h([v({type:String,reflect:!0})],o.prototype,"locale",2),h([v({type:String})],o.prototype,"value",2),h([v({type:Boolean,reflect:!0})],o.prototype,"range",2),h([v({type:String})],o.prototype,"rangeStart",2),h([v({type:String})],o.prototype,"rangeEnd",2),h([v({type:Boolean})],o.prototype,"allowSameDayRange",2),h([v({type:String})],o.prototype,"min",2),h([v({type:String})],o.prototype,"max",2),h([v({type:Number})],o.prototype,"firstDayOfWeek",2),h([v({type:Boolean,reflect:!0,attribute:"disabled-weekends"})],o.prototype,"disabledWeekends",2),h([v({attribute:"disabled-dates"})],o.prototype,"disabledDates",2),h([v({attribute:!1})],o.prototype,"isDateDisabled",2),h([v({type:String,reflect:!0})],o.prototype,"size",2),h([v({type:String})],o.prototype,"alignment",2),h([v({type:String,reflect:!0})],o.prototype,"label",2),h([v({type:String,attribute:"help-text",reflect:!0})],o.prototype,"helpText",2),h([v({type:Boolean,reflect:!0})],o.prototype,"disabled",2),h([v({type:Boolean,attribute:"visually-disabled"})],o.prototype,"visuallyDisabled",2),h([v({type:Boolean,reflect:!0,attribute:"style-on-valid"})],o.prototype,"styleOnValid",2),h([v({type:Boolean,reflect:!0})],o.prototype,"readonly",2),h([v({type:String,reflect:!0})],o.prototype,"placement",2),h([v({type:String,reflect:!0})],o.prototype,"placeholder",2),h([v({reflect:!0})],o.prototype,"name",2),h([v({type:String,reflect:!0})],o.prototype,"form",2),h([E()],o.prototype,"open",2),h([E()],o.prototype,"viewMonth",2),h([E()],o.prototype,"focusedDate",2),h([E()],o.prototype,"today",2),h([E()],o.prototype,"disabledDatesSet",2),h([E()],o.prototype,"previewEnd",2),h([E()],o.prototype,"statusNavText",2),h([E()],o.prototype,"statusSelectText",2),h([E()],o.prototype,"hasFocus",2),h([E()],o.prototype,"showValidStyle",2),h([E()],o.prototype,"showInvalidStyle",2),h([E()],o.prototype,"currentPlacement",2),h([E()],o.prototype,"inputValue",2),h([B("#invalid-message")],o.prototype,"invalidMessage",2),h([B("#input")],o.prototype,"input",2),h([P("locale")],o.prototype,"handleLocaleChange",1),h([P("disabledDates")],o.prototype,"handleDisabledDatesChange",1),h([P("value")],o.prototype,"handleValueChange",1),h([P("rangeStart"),P("rangeEnd")],o.prototype,"handleRangeChange",1),h([P(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],o.prototype,"handleDisabledChange",1),o=h([H("sd-datepicker")],o);export{o as a};
@@ -1,2 +1,2 @@
1
- import{a as m}from"./chunk.YEDQWNIV.js";import{a}from"./chunk.7BPPDSHY.js";import{a as i,b as s,h as t}from"./chunk.ZT3DQGPM.js";import{b as l,e as o}from"./chunk.763RLJEK.js";import{e as r}from"./chunk.6EV4YU6C.js";var e=class extends t{constructor(){super(...arguments);this.color="currentColor";this.localize=new a(this)}render(){return o`<svg role="progressbar" viewBox="0 0 24 24" class="${m("animate-spin",{primary:"text-primary",white:"text-white",currentColor:""}[this.color])}" aria-label="${this.localize.term("loading")}"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12Z" class="opacity-20" fill="currentColor"/><mask id="mask0_5273_25391" style="mask-type:alpha" maskUnits="userSpaceOnUse"><path d="M24 12C24 5.37258 18.6274 0 12 0V12H24Z" fill="currentColor"/></mask><g mask="url(#mask0_5273_25391)"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12Z" fill="currentColor"/></g></svg>`}};e.styles=[...t.styles,l`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as m}from"./chunk.YFQFOIEM.js";import{a}from"./chunk.7BPPDSHY.js";import{a as i,b as s,h as t}from"./chunk.ZDDBOQSP.js";import{b as l,e as o}from"./chunk.763RLJEK.js";import{e as r}from"./chunk.6EV4YU6C.js";var e=class extends t{constructor(){super(...arguments);this.color="currentColor";this.localize=new a(this)}render(){return o`<svg role="progressbar" viewBox="0 0 24 24" class="${m("animate-spin",{primary:"text-primary",white:"text-white",currentColor:""}[this.color])}" aria-label="${this.localize.term("loading")}"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12Z" class="opacity-20" fill="currentColor"/><mask id="mask0_5273_25391" style="mask-type:alpha" maskUnits="userSpaceOnUse"><path d="M24 12C24 5.37258 18.6274 0 12 0V12H24Z" fill="currentColor"/></mask><g mask="url(#mask0_5273_25391)"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12Z" fill="currentColor"/></g></svg>`}};e.styles=[...t.styles,l`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{display:inline-block;width:1em;height:1em}`],r([s({type:String,reflect:!0})],e.prototype,"color",2),e=r([i("sd-spinner")],e);export{e as a};
@@ -1,2 +1,2 @@
1
- import{a as u}from"./chunk.CGQ2BPPZ.js";import{a as i}from"./chunk.YEDQWNIV.js";import{a as o}from"./chunk.NYKJXI3Q.js";import{a as h,b as a,c as r,d,h as n}from"./chunk.ZT3DQGPM.js";import{b as c,e as l}from"./chunk.763RLJEK.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends n{constructor(){super(...arguments);this.hasSlotController=new u(this,"default","left","right");this.current=!1;this.selected=!1;this.hasHover=!1;this.isKeyboardFocus=!1;this.size="lg";this.checkbox=!1;this.disabled=!1;this.value=""}connectedCallback(){super.connectedCallback(),this.setAttribute("role","option"),this.setAttribute("aria-selected","false")}handleDefaultSlotChange(){let s=this.getTextLabel();if(typeof this.cachedTextLabel=="undefined"){this.cachedTextLabel=s;return}s!==this.cachedTextLabel&&(this.cachedTextLabel=s,this.emit("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}handleMouseEnter(){this.hasHover=!0}handleMouseLeave(){this.hasHover=!1}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}handleSelectedChange(){this.setAttribute("aria-selected",this.selected?"true":"false")}handleValueChange(){this.value.includes(" ")&&(console.error("Option values cannot include a space. All spaces have been replaced with underscores.",this),this.value=this.value.replace(/ /g,"_"))}getTextLabel(){var s;return((s=this.textContent)!=null?s:"").trim()}render(){let s={default:this.hasSlotController.test("default"),left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right")};return l`<div part="base" class="${i("px-4 flex items-center w-full transition-colors duration-fast ease-in-out text-left text-base relative",{sm:"text-sm py-1",md:"text-base py-2",lg:"text-base py-3"}[this.size],this.disabled?"text-neutral-500 cursor-not-allowed":"text-black cursor-pointer",this.hasHover&&!this.disabled?"bg-neutral-200":"",this.isKeyboardFocus?"focus-outline focus-outline-offset":"",this.current&&"bg-neutral-200")}" @mouseenter="${this.handleMouseEnter}" @mouseleave="${this.handleMouseLeave}"><span class="${i("absolute w-full left-0 top-0 pointer-events-none transition-[height,top] duration-fast ease-in-out border-l-4 h-[calc(100%-8px)]",this.selected&&!this.checkbox?"border-accent":"border-transparent",this.disabled&&"border-neutral-500 top-1",!this.disabled&&this.hasHover?"h-full top-0":"top-1")}"></span> ${this.checkbox?l`<span id="control" part="control ${this.selected?" control--checked":"control--unchecked"}" class="${i("relative flex flex-shrink-0 items-center justify-center border rounded-sm h-4 w-4 mr-2",this.disabled?"border-neutral-500":this.selected?"bg-accent border-accent":"bg-white form-control-color-border")}">${this.selected?l`<sd-icon part="checked-icon" class="text-white w-3 h-3" library="_internal" name="status-check"></sd-icon>`:""}</span>`:""} ${s.left?l`<slot name="left" part="left" class="inline-flex mr-2"></slot>`:""}<slot part="label" class="inline-block flex-grow" @slotchange="${this.handleDefaultSlotChange}"></slot>${s.right?l`<slot name="right" part="right" class="inline-flex ml-2"></slot>`:""}</div>`}};e.styles=[...n.styles,c`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as u}from"./chunk.CGQ2BPPZ.js";import{a as i}from"./chunk.YFQFOIEM.js";import{a as o}from"./chunk.NYKJXI3Q.js";import{a as h,b as a,c as r,d,h as n}from"./chunk.ZDDBOQSP.js";import{b as c,e as l}from"./chunk.763RLJEK.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends n{constructor(){super(...arguments);this.hasSlotController=new u(this,"default","left","right");this.current=!1;this.selected=!1;this.hasHover=!1;this.isKeyboardFocus=!1;this.size="lg";this.checkbox=!1;this.disabled=!1;this.value=""}connectedCallback(){super.connectedCallback(),this.setAttribute("role","option"),this.setAttribute("aria-selected","false")}handleDefaultSlotChange(){let s=this.getTextLabel();if(typeof this.cachedTextLabel=="undefined"){this.cachedTextLabel=s;return}s!==this.cachedTextLabel&&(this.cachedTextLabel=s,this.emit("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}handleMouseEnter(){this.hasHover=!0}handleMouseLeave(){this.hasHover=!1}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}handleSelectedChange(){this.setAttribute("aria-selected",this.selected?"true":"false")}handleValueChange(){this.value.includes(" ")&&(console.error("Option values cannot include a space. All spaces have been replaced with underscores.",this),this.value=this.value.replace(/ /g,"_"))}getTextLabel(){var s;return((s=this.textContent)!=null?s:"").trim()}render(){let s={default:this.hasSlotController.test("default"),left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right")};return l`<div part="base" class="${i("px-4 flex items-center w-full transition-colors duration-fast ease-in-out text-left text-base relative",{sm:"text-sm py-1",md:"text-base py-2",lg:"text-base py-3"}[this.size],this.disabled?"text-neutral-500 cursor-not-allowed":"text-black cursor-pointer",this.hasHover&&!this.disabled?"bg-neutral-200":"",this.isKeyboardFocus?"focus-outline focus-outline-offset":"",this.current&&"bg-neutral-200")}" @mouseenter="${this.handleMouseEnter}" @mouseleave="${this.handleMouseLeave}"><span class="${i("absolute w-full left-0 top-0 pointer-events-none transition-[height,top] duration-fast ease-in-out border-l-4 h-[calc(100%-8px)]",this.selected&&!this.checkbox?"border-accent":"border-transparent",this.disabled&&"border-neutral-500 top-1",!this.disabled&&this.hasHover?"h-full top-0":"top-1")}"></span> ${this.checkbox?l`<span id="control" part="control ${this.selected?" control--checked":"control--unchecked"}" class="${i("relative flex flex-shrink-0 items-center justify-center border rounded-sm h-4 w-4 mr-2",this.disabled?"border-neutral-500":this.selected?"bg-accent border-accent":"bg-white form-control-color-border")}">${this.selected?l`<sd-icon part="checked-icon" class="text-white w-3 h-3" library="_internal" name="status-check"></sd-icon>`:""}</span>`:""} ${s.left?l`<slot name="left" part="left" class="inline-flex mr-2"></slot>`:""}<slot part="label" class="inline-block flex-grow" @slotchange="${this.handleDefaultSlotChange}"></slot>${s.right?l`<slot name="right" part="right" class="inline-flex ml-2"></slot>`:""}</div>`}};e.styles=[...n.styles,c`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{position:relative;display:block;width:100%;--tw-outline-style:none!important;outline-style:none!important}.focus-outline-offset{outline-offset:-2px}`],t([d('[part="base"]')],e.prototype,"defaultSlot",2),t([r()],e.prototype,"current",2),t([r()],e.prototype,"selected",2),t([r()],e.prototype,"hasHover",2),t([r()],e.prototype,"isKeyboardFocus",2),t([a({type:String,reflect:!0})],e.prototype,"size",2),t([a({type:Boolean,reflect:!0})],e.prototype,"checkbox",2),t([a({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([a({type:String,reflect:!0})],e.prototype,"value",2),t([o("disabled")],e.prototype,"handleDisabledChange",1),t([o("selected")],e.prototype,"handleSelectedChange",1),t([o("value")],e.prototype,"handleValueChange",1),e=t([h("sd-option")],e);export{e as a};
@@ -1,2 +1,2 @@
1
- import{a as s}from"./chunk.YEDQWNIV.js";import{a as d,b as r,h as i}from"./chunk.ZT3DQGPM.js";import{b as n,e as a}from"./chunk.763RLJEK.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends i{constructor(){super(...arguments);this.size="lg";this.variant="blue";this.inverted=!1}render(){return a`<span part="base" aria-labelledby="content" class="${s("inline-flex items-center justify-center gap-x-[1px] text-center font-bold whitespace-nowrap border rounded-full select-none cursor-[inherit]",{blue:this.inverted?"sd-badge--blue--inverted-color-text sd-badge--blue--inverted-color-background border-primary":"text-white bg-primary-500 border-white",green:this.inverted?"sd-badge--green-color--inverted-text sd-badge--green-color--inverted-background border-primary":"text-white sd-badge--green-color-background border-white",red:this.inverted?"sd-badge--red--inverted-text sd-badge--red--inverted-background border-primary":"text-white sd-badge--red-color-background border-white"}[this.variant])}"><span id="content" part="content" class="${s(this.size==="sm"&&"sr-only")}"><slot></slot></span></span>`}};e.styles=[...i.styles,n`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as s}from"./chunk.YFQFOIEM.js";import{a as d,b as r,h as i}from"./chunk.ZDDBOQSP.js";import{b as n,e as a}from"./chunk.763RLJEK.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends i{constructor(){super(...arguments);this.size="lg";this.variant="blue";this.inverted=!1}render(){return a`<span part="base" aria-labelledby="content" class="${s("inline-flex items-center justify-center gap-x-[1px] text-center font-bold whitespace-nowrap border rounded-full select-none cursor-[inherit]",{blue:this.inverted?"sd-badge--blue--inverted-color-text sd-badge--blue--inverted-color-background border-primary":"text-white bg-primary-500 border-white",green:this.inverted?"sd-badge--green-color--inverted-text sd-badge--green-color--inverted-background border-primary":"text-white sd-badge--green-color-background border-white",red:this.inverted?"sd-badge--red--inverted-text sd-badge--red--inverted-background border-primary":"text-white sd-badge--red-color-background border-white"}[this.variant])}"><span id="content" part="content" class="${s(this.size==="sm"&&"sr-only")}"><slot></slot></span></span>`}};e.styles=[...i.styles,n`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{display:inline-flex;align-items:center;justify-content:center}:host([size=md]){height:var(--sd-spacing-4);min-width:var(--sd-spacing-4);font-size:.625rem}:host([size=lg]){height:calc(var(--sd-spacing-1) * 5);min-width:calc(var(--sd-spacing-1) * 5);font-size:.75rem}:host([size=sm])::part(base){height:var(--sd-spacing-2);min-width:var(--sd-spacing-2)}:host([size=md])::part(base){padding-inline:var(--sd-spacing-1)}:host([size=lg])::part(base){padding-left:.313rem;padding-right:.313rem}`],t([r({type:String,reflect:!0})],e.prototype,"size",2),t([r({type:String,reflect:!0})],e.prototype,"variant",2),t([r({type:Boolean,reflect:!0})],e.prototype,"inverted",2),e=t([d("sd-badge")],e);export{e as a};
@@ -1,2 +1,2 @@
1
- import{a as o}from"./chunk.MHWW3RZB.js";import{a as s,b as n,d as l,h as a}from"./chunk.ZT3DQGPM.js";import{b as r,e as d}from"./chunk.763RLJEK.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),h=window.innerHeight/i;this.header&&this.fixed&&h>=32?document.documentElement.style.setProperty("--sd-header-calculated-height",`${this.header.clientHeight}px`):document.documentElement.style.removeProperty("--sd-header-calculated-height")}render(){return d`<header class="w-full sd-header-color-background 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.1.14 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
1
+ import{a as o}from"./chunk.MHWW3RZB.js";import{a as s,b as n,d as l,h as a}from"./chunk.ZDDBOQSP.js";import{b as r,e as d}from"./chunk.763RLJEK.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),h=window.innerHeight/i;this.header&&this.fixed&&h>=32?document.documentElement.style.setProperty("--sd-header-calculated-height",`${this.header.clientHeight}px`):document.documentElement.style.removeProperty("--sd-header-calculated-height")}render(){return d`<header class="w-full sd-header-color-background 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.1.17 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
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-spacing-2);--tw-content:'';content:var(--tw-content);background:var(--gradient-vertical-black-40-transparent,linear-gradient(0deg,#18181800 50%,#18181866 100%))}}[part=main]{width:var(--sd-header-inner-width);max-width:var(--sd-header-inner-max-width);padding:var(--sd-header-padding,12px 16px)}@property --tw-content{syntax:"*";inherits:false;initial-value:""}`],t([n({reflect:!0,type:Boolean})],e.prototype,"fixed",2),t([l("header")],e.prototype,"header",2),t([o(100)],e.prototype,"updateCalculatedHeight",1),e=t([s("sd-header")],e);export{e as a};
@@ -1,2 +1,2 @@
1
- import{a as d}from"./chunk.CGQ2BPPZ.js";import{a as s}from"./chunk.PV6UYBMY.js";import{a as r}from"./chunk.YEDQWNIV.js";import{a as h,b as i,d as c,h as a}from"./chunk.ZT3DQGPM.js";import{b as o,e as n}from"./chunk.763RLJEK.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends a{constructor(){super(...arguments);this.hasSlotController=new d(this,"[default]","icon-left","icon-right");this.standalone=!1;this.size="inherit";this.inverted=!1;this.href="";this.visuallyDisabled=!1}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleClick(l){this.visuallyDisabled&&(l.preventDefault(),l.stopPropagation())}focus(l){this.button.focus(l)}blur(){this.button.blur()}render(){let l={label:this.hasSlotController.test("[default]"),"icon-left":this.hasSlotController.test("icon-left"),"icon-right":this.hasSlotController.test("icon-right")};return n`<a part="base" class="${r(this.standalone?"flex items-start":"inline",this.href&&!this.visuallyDisabled?"cursor-pointer":"",this.visuallyDisabled?"cursor-not-allowed focus-visible:focus-outline":"",{sm:"text-sm",lg:"text-base",inherit:""}[this.size],{disabled:this.inverted?"text-neutral-600":"text-neutral-500",enabled:this.inverted?"text-white hover:text-primary-200 active:text-primary-400 focus-visible:focus-outline-inverted":" text-primary hover:text-primary-500 active:interactive--active-color-text focus-visible:focus-outline",visuallyDisabled:this.inverted?"text-neutral-600":"text-neutral-500"}[this.href&&!this.visuallyDisabled?"enabled":this.visuallyDisabled?"visuallyDisabled":"disabled"])}" href="${s(this.href||void 0)}" target="${s(this.target||void 0)}" download="${s(this.download)}" rel="${s(this.target?"noreferrer noopener":void 0)}" aria-disabled="${!this.href||this.visuallyDisabled?"true":"false"}" tabindex="${this.href?"0":"-1"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @click="${this.handleClick}"><slot name="icon-left" part="icon-left" class="${r("inline",l["icon-left"]&&(this.standalone?{sm:"mr-1",lg:"mr-2",inherit:"mr-[0.5em]"}[this.size]:"mr-[0.25em]"))}"></slot><span part="label" class="inline underline underline-offset-2"><slot></slot></span><slot name="icon-right" part="icon-right" class="${r("inline",l["icon-right"]&&(this.standalone?{sm:"ml-1",lg:"ml-2",inherit:"ml-[0.5em]"}[this.size]:"ml-[0.25em]"))}"></slot></a>`}};e.styles=[...a.styles,o`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as d}from"./chunk.CGQ2BPPZ.js";import{a as s}from"./chunk.PV6UYBMY.js";import{a as r}from"./chunk.YFQFOIEM.js";import{a as h,b as i,d as c,h as a}from"./chunk.ZDDBOQSP.js";import{b as o,e as n}from"./chunk.763RLJEK.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends a{constructor(){super(...arguments);this.hasSlotController=new d(this,"[default]","icon-left","icon-right");this.standalone=!1;this.size="inherit";this.inverted=!1;this.href="";this.visuallyDisabled=!1}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleClick(l){this.visuallyDisabled&&(l.preventDefault(),l.stopPropagation())}focus(l){this.button.focus(l)}blur(){this.button.blur()}render(){let l={label:this.hasSlotController.test("[default]"),"icon-left":this.hasSlotController.test("icon-left"),"icon-right":this.hasSlotController.test("icon-right")};return n`<a part="base" class="${r(this.standalone?"flex items-start":"inline",this.href&&!this.visuallyDisabled?"cursor-pointer":"",this.visuallyDisabled?"cursor-not-allowed focus-visible:focus-outline":"",{sm:"text-sm",lg:"text-base",inherit:""}[this.size],{disabled:this.inverted?"text-neutral-600":"text-neutral-500",enabled:this.inverted?"text-white hover:text-primary-200 active:text-primary-400 focus-visible:focus-outline-inverted":" text-primary hover:text-primary-500 active:interactive--active-color-text focus-visible:focus-outline",visuallyDisabled:this.inverted?"text-neutral-600":"text-neutral-500"}[this.href&&!this.visuallyDisabled?"enabled":this.visuallyDisabled?"visuallyDisabled":"disabled"])}" href="${s(this.href||void 0)}" target="${s(this.target||void 0)}" download="${s(this.download)}" rel="${s(this.target?"noreferrer noopener":void 0)}" aria-disabled="${!this.href||this.visuallyDisabled?"true":"false"}" tabindex="${this.href?"0":"-1"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @click="${this.handleClick}"><slot name="icon-left" part="icon-left" class="${r("inline",l["icon-left"]&&(this.standalone?{sm:"mr-1",lg:"mr-2",inherit:"mr-[0.5em]"}[this.size]:"mr-[0.25em]"))}"></slot><span part="label" class="inline underline underline-offset-2"><slot></slot></span><slot name="icon-right" part="icon-right" class="${r("inline",l["icon-right"]&&(this.standalone?{sm:"ml-1",lg:"ml-2",inherit:"ml-[0.5em]"}[this.size]:"ml-[0.25em]"))}"></slot></a>`}};e.styles=[...a.styles,o`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  ::slotted(sd-icon){font-size:1.25em;margin-bottom:-.25em}:host([size=sm][standalone]) ::slotted(sd-icon){font-size:var(--sd-text-base);line-height:var(--tw-leading,var(--text-base--line-height,calc(1.5 / 1)))}:host([size=lg][standalone]) ::slotted(sd-icon){font-size:var(--sd-text-xl);line-height:var(--tw-leading,var(--text-xl--line-height,calc(1.75 / 1.25)))}`],t([c("a")],e.prototype,"button",2),t([i({type:Boolean,reflect:!0})],e.prototype,"standalone",2),t([i({type:String,reflect:!0})],e.prototype,"size",2),t([i({type:Boolean,reflect:!0})],e.prototype,"inverted",2),t([i({type:String,reflect:!0})],e.prototype,"href",2),t([i({type:Boolean,attribute:"visually-disabled",reflect:!0})],e.prototype,"visuallyDisabled",2),t([i({type:String,reflect:!0})],e.prototype,"target",2),t([i({reflect:!0})],e.prototype,"download",2),e=t([h("sd-link")],e);export{e as a};
@@ -1,2 +1,2 @@
1
- import{a as p,c as m}from"./chunk.B2NUKX6G.js";import{b as w}from"./chunk.PJ7JCMQF.js";import{a as u}from"./chunk.KLRPP4NQ.js";import{a as s}from"./chunk.YEDQWNIV.js";import{a as g}from"./chunk.7BPPDSHY.js";import{a as b}from"./chunk.NYKJXI3Q.js";import{a as y,b as n,d as a,h as c}from"./chunk.ZT3DQGPM.js";import{b as f}from"./chunk.763RLJEK.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:r}=m(this,"accordion.show",{dir:this.localize.dir()});await l(this.body,h(o,this.body.scrollHeight),r),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:r}=m(this,"accordion.hide",{dir:this.localize.dir()});await l(this.body,h(o,this.body.scrollHeight),r),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-accordion-padding-block focus-visible:focus-outline focus-visible:z-10 sd-accordion-color-text relative group transition-colors ease-in-out duration-fast hover:bg-neutral-200",this.open&&"sd-accordion-color-background")}" 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-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">${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-icon library="_internal" name="chevron-down"></sd-icon></slot><slot name="collapse-icon" class="${s(!this.open&&"hidden")}"><sd-icon library="_internal" name="chevron-down"></sd-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.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as p,c as m}from"./chunk.B2NUKX6G.js";import{b as w}from"./chunk.PJ7JCMQF.js";import{a as u}from"./chunk.KLRPP4NQ.js";import{a as s}from"./chunk.YFQFOIEM.js";import{a as g}from"./chunk.7BPPDSHY.js";import{a as b}from"./chunk.NYKJXI3Q.js";import{a as y,b as n,d as a,h as c}from"./chunk.ZDDBOQSP.js";import{b as f}from"./chunk.763RLJEK.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:r}=m(this,"accordion.show",{dir:this.localize.dir()});await l(this.body,h(o,this.body.scrollHeight),r),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:r}=m(this,"accordion.hide",{dir:this.localize.dir()});await l(this.body,h(o,this.body.scrollHeight),r),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-accordion-padding-block focus-visible:focus-outline focus-visible:z-10 sd-accordion-color-text relative group transition-colors ease-in-out duration-fast hover:bg-neutral-200",this.open&&"sd-accordion-color-background")}" 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-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">${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-icon library="_internal" name="chevron-down"></sd-icon></slot><slot name="collapse-icon" class="${s(!this.open&&"hidden")}"><sd-icon library="_internal" name="chevron-down"></sd-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.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{display:block}[part=header]::-webkit-details-marker{display:none}[part=base]{border-block-width:var(--sd-accordion-border-width)}[part=summary-icon]{color:var(--sd-accordion__chevron-color-text)}`],i([a('[part="base"]')],t.prototype,"accordion",2),i([a('[part="header"]')],t.prototype,"header",2),i([a('[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-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,2 +1,2 @@
1
- import{a as b}from"./chunk.CGQ2BPPZ.js";import{a}from"./chunk.YEDQWNIV.js";import{a as u}from"./chunk.7BPPDSHY.js";import{a as n}from"./chunk.NYKJXI3Q.js";import{a as c,b as i,d as o,h as l}from"./chunk.ZT3DQGPM.js";import{b as d,e as s}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var v=0,t=class extends l{constructor(){super(...arguments);this.attrId=++v;this.componentId=`sd-tab-${this.attrId}`;this.hasSlotController=new b(this,"left");this.localize=new u(this);this.variant="default";this.active=!1;this.disabled=!1;this.visuallyDisabled=!1;this.panel=""}connectedCallback(){super.connectedCallback(),this.setAttribute("role","tab")}handleActiveChange(){this.setAttribute("aria-selected",this.active?"true":"false")}handleDisabledChange(){let r=this.disabled||this.visuallyDisabled;this.setAttribute("aria-disabled",r?"true":"false")}focus(r){this.tab.focus(r)}blur(){this.tab.blur()}render(){this.id=this.id.length>0?this.id:this.componentId;let r={left:this.hasSlotController.test("left")};return s`<div part="base" class="${a("inline-flex justify-center min-w-max items-center h-12 px-3 leading-none select-none cursor-pointer group relative","outline-hidden focus-visible:focus-outline outline-2 !-outline-offset-2 transition-all duration-fast ease-in-out",this.variant==="container"?"tab-container-border bg-white rounded-[4px_4px_0_0]":"navigable-border-radius",this.variant==="container"&&this.active&&"tab--active-container-border bg-white",this.disabled||this.visuallyDisabled?"!cursor-not-allowed":"hover:color-background",this.active&&"z-20")}" tabindex="${!this.active||this.disabled?"-1":"0"}"><div class="${a("flex h-full items-center justify-center whitespace-nowrap",this.disabled||this.visuallyDisabled&&"opacity-50 ")}"><slot name="left" class="${a(r.left&&"block pr-2",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary")}"></slot><slot class="${a(this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary")}"></slot>${this.variant==="container"?s`<div part="active-tab-indicator" class="${a("absolute bottom-0 h-1 bg-accent w-3/4 bottom-0 group-hover:w-[calc(100%-2px)] navigable__current-indicator-height navigable__current-indicator-border-radius")}"></div>`:""}<div part="hover-bottom-border" class="${a(!this.active&&!this.disabled&&"absolute bottom-0 left-0 w-full h-0.25 border-b sd-tab-color-border")}"></div></div></div>`}};t.styles=[...l.styles,d`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
1
+ import{a as b}from"./chunk.CGQ2BPPZ.js";import{a}from"./chunk.YFQFOIEM.js";import{a as u}from"./chunk.7BPPDSHY.js";import{a as n}from"./chunk.NYKJXI3Q.js";import{a as c,b as i,d as o,h as l}from"./chunk.ZDDBOQSP.js";import{b as d,e as s}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var v=0,t=class extends l{constructor(){super(...arguments);this.attrId=++v;this.componentId=`sd-tab-${this.attrId}`;this.hasSlotController=new b(this,"left");this.localize=new u(this);this.variant="default";this.active=!1;this.disabled=!1;this.visuallyDisabled=!1;this.panel=""}connectedCallback(){super.connectedCallback(),this.setAttribute("role","tab")}handleActiveChange(){this.setAttribute("aria-selected",this.active?"true":"false")}handleDisabledChange(){let r=this.disabled||this.visuallyDisabled;this.setAttribute("aria-disabled",r?"true":"false")}focus(r){this.tab.focus(r)}blur(){this.tab.blur()}render(){this.id=this.id.length>0?this.id:this.componentId;let r={left:this.hasSlotController.test("left")};return s`<div part="base" class="${a("inline-flex justify-center min-w-max items-center h-12 px-3 leading-none select-none cursor-pointer group relative","outline-hidden focus-visible:focus-outline outline-2 !-outline-offset-2 transition-all duration-fast ease-in-out",this.variant==="container"?"tab-container-border bg-white rounded-[4px_4px_0_0]":"navigable-border-radius",this.variant==="container"&&this.active&&"tab--active-container-border bg-white",this.disabled||this.visuallyDisabled?"!cursor-not-allowed":"hover:color-background",this.active&&"z-20")}" tabindex="${!this.active||this.disabled?"-1":"0"}"><div class="${a("flex h-full items-center justify-center whitespace-nowrap",this.disabled||this.visuallyDisabled&&"opacity-50 ")}"><slot name="left" class="${a(r.left&&"block pr-2",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary")}"></slot><slot class="${a(this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary")}"></slot>${this.variant==="container"?s`<div part="active-tab-indicator" class="${a("absolute bottom-0 h-1 bg-accent w-3/4 bottom-0 group-hover:w-[calc(100%-2px)] navigable__current-indicator-height navigable__current-indicator-border-radius")}"></div>`:""}<div part="hover-bottom-border" class="${a(!this.active&&!this.disabled&&"absolute bottom-0 left-0 w-full h-0.25 border-b sd-tab-color-border")}"></div></div></div>`}};t.styles=[...l.styles,d`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
2
  :host{box-sizing:border-box;display:inline-block}:host(:hover)::part(hover-bottom-border){border-bottom-color:rgba(var(--sd-color-border-neutral-400))}.tab-container-border::after{position:absolute;height:100%;width:100%;border-style:var(--tw-border-style);border-width:1px;border-color:transparent;--tw-content:'';content:var(--tw-content)}.tab--active-container-border::after{position:absolute;height:100%;width:100%;border-style:var(--tw-border-style);border-width:1px;border-color:rgba(var(--sd-color-border-neutral-400));transition-property:border;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,150ms));--tw-duration:var(--sd-duration-medium, 300ms);transition-duration:var(--sd-duration-medium,300ms);--tw-ease:var(--ease-in-out, cubic-bezier(0.4, 0, 0.2, 1));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));--tw-content:'';content:var(--tw-content);border-bottom:none;border-radius:4px 4px 0 0}[part=active-tab-indicator]{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:var(--sd-opacity-0);--tw-duration:var(--sd-duration-fast, 150ms);transition-duration:var(--sd-duration-fast,150ms);transition:width var(--sd-duration-fast) ease-in-out,opacity var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out var(--sd-duration-fast)}:host([active]) [part=active-tab-indicator]{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:var(--sd-opacity-100);transition:width var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}`],e([o("[part=base]")],t.prototype,"tab",2),e([o("[part=active-tab-indicator]")],t.prototype,"currentIndicator",2),e([i({type:String,reflect:!0})],t.prototype,"variant",2),e([i({type:Boolean,reflect:!0})],t.prototype,"active",2),e([i({type:Boolean,reflect:!0})],t.prototype,"disabled",2),e([i({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),e([i({type:String,reflect:!0})],t.prototype,"panel",2),e([n("active")],t.prototype,"handleActiveChange",1),e([n(["disabled","visually-disabled"])],t.prototype,"handleDisabledChange",1),t=e([c("sd-tab")],t);export{t as a};