@solid-design-system/components 7.0.0-next.10 → 7.0.0-next.11

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 (468) hide show
  1. package/cdn/chunks/{chunk.RFVQLD5K.js → chunk.27COXYSS.js} +1 -1
  2. package/cdn/chunks/{chunk.NOW64QHB.js → chunk.2TJHRJVR.js} +1 -1
  3. package/cdn/chunks/{chunk.AUZKCMXB.js → chunk.552X4W43.js} +1 -1
  4. package/cdn/chunks/{chunk.CQI2RS2L.js → chunk.77C2CBMU.js} +1 -1
  5. package/cdn/chunks/{chunk.U3X6ZYRC.js → chunk.7EIPS2GV.js} +1 -1
  6. package/cdn/chunks/{chunk.6JKZ63QX.js → chunk.E7MFWEYN.js} +1 -1
  7. package/cdn/chunks/{chunk.U7TS5SGA.js → chunk.J4FJ2SAP.js} +1 -1
  8. package/cdn/chunks/{chunk.WIAQ2X73.js → chunk.KP7W5F3Y.js} +1 -1
  9. package/cdn/chunks/{chunk.ZCLAPTH6.js → chunk.LWLOMMIE.js} +9 -22
  10. package/cdn/chunks/{chunk.UPV2DLDG.js → chunk.NFJMIR7G.js} +1 -1
  11. package/cdn/chunks/{chunk.PYHYYOBE.js → chunk.NJIXLFKZ.js} +2 -2
  12. package/cdn/chunks/{chunk.7USKB2GO.js → chunk.NLVPT4C5.js} +1 -1
  13. package/cdn/chunks/{chunk.J663MKB4.js → chunk.OYJTDY24.js} +2 -2
  14. package/cdn/chunks/{chunk.JTBZGOCE.js → chunk.R5GIN36W.js} +1 -1
  15. package/cdn/chunks/{chunk.CVB6PQL3.js → chunk.R6L2KIAT.js} +1 -1
  16. package/cdn/chunks/{chunk.GX5EMWG2.js → chunk.S3UYULN7.js} +1 -1
  17. package/cdn/chunks/{chunk.QXTQ4QBZ.js → chunk.SCP54EUM.js} +1 -1
  18. package/cdn/chunks/{chunk.6A2XPA27.js → chunk.SPU6E7DX.js} +2 -2
  19. package/cdn/chunks/{chunk.3VTWQPQB.js → chunk.VA64L52R.js} +2 -2
  20. package/cdn/chunks/{chunk.OYCIMCNH.js → chunk.XVR65EXR.js} +2 -2
  21. package/cdn/chunks/{chunk.MIROXJW4.js → chunk.ZCWTP5MX.js} +1 -1
  22. package/cdn/components/accordion/accordion.js +1 -1
  23. package/cdn/components/accordion-group/accordion-group.js +1 -1
  24. package/cdn/components/audio/audio.js +1 -1
  25. package/cdn/components/breadcrumb/breadcrumb.js +1 -1
  26. package/cdn/components/carousel/carousel.js +1 -1
  27. package/cdn/components/checkbox/checkbox.js +1 -1
  28. package/cdn/components/checkbox-group/checkbox-group.js +1 -1
  29. package/cdn/components/combobox/combobox.js +1 -1
  30. package/cdn/components/datepicker/datepicker.js +1 -1
  31. package/cdn/components/dialog/dialog.js +1 -1
  32. package/cdn/components/drawer/drawer.js +1 -1
  33. package/cdn/components/expandable/expandable.js +1 -1
  34. package/cdn/components/file-selector/file-selector.js +1 -1
  35. package/cdn/components/flipcard/flipcard.js +1 -1
  36. package/cdn/components/icon/icon.js +1 -1
  37. package/cdn/components/icon/library.internal.d.ts +30 -32
  38. package/cdn/components/icon/library.internal.js +1 -1
  39. package/cdn/components/icon/library.js +1 -1
  40. package/cdn/components/icon/library.multi-theming.js +1 -1
  41. package/cdn/components/icon/library.status.d.ts +9 -8
  42. package/cdn/components/icon/library.status.js +1 -1
  43. package/cdn/components/input/input.js +1 -1
  44. package/cdn/components/navigation-item/navigation-item.js +1 -1
  45. package/cdn/components/notification/notification.js +1 -1
  46. package/cdn/components/option/option.js +1 -1
  47. package/cdn/components/quickfact/quickfact.js +1 -1
  48. package/cdn/components/range/range.js +1 -1
  49. package/cdn/components/scrollable/scrollable.js +1 -1
  50. package/cdn/components/select/select.js +1 -1
  51. package/cdn/components/step/step.js +1 -1
  52. package/cdn/components/tab-group/tab-group.js +1 -1
  53. package/cdn/components/tag/tag.js +1 -1
  54. package/cdn/components/teaser-media/teaser-media.js +1 -1
  55. package/cdn/components/textarea/textarea.js +1 -1
  56. package/cdn/components/tooltip/tooltip.js +1 -1
  57. package/cdn/components/video/video.js +1 -1
  58. package/cdn/custom-elements.json +4 -10
  59. package/cdn/solid-components.bundle.js +87 -100
  60. package/cdn/solid-components.iife.js +87 -100
  61. package/cdn/solid-components.js +1 -1
  62. package/cdn/utilities/icon-library.js +1 -1
  63. package/cdn/web-types.json +1 -1
  64. package/cdn-versioned/chunks/{chunk.RFVQLD5K.js → chunk.27COXYSS.js} +2 -2
  65. package/cdn-versioned/chunks/{chunk.NOW64QHB.js → chunk.2TJHRJVR.js} +2 -2
  66. package/cdn-versioned/chunks/chunk.2XFIFYRX.js +2 -2
  67. package/cdn-versioned/chunks/chunk.3RDG7HQT.js +2 -2
  68. package/cdn-versioned/chunks/{chunk.AUZKCMXB.js → chunk.552X4W43.js} +1 -1
  69. package/cdn-versioned/chunks/chunk.55B57RXL.js +2 -2
  70. package/cdn-versioned/chunks/chunk.5B33ZALC.js +1 -1
  71. package/cdn-versioned/chunks/{chunk.CQI2RS2L.js → chunk.77C2CBMU.js} +2 -2
  72. package/cdn-versioned/chunks/{chunk.U3X6ZYRC.js → chunk.7EIPS2GV.js} +2 -2
  73. package/cdn-versioned/chunks/chunk.7O3WO7T4.js +1 -1
  74. package/cdn-versioned/chunks/chunk.ARA5JW32.js +2 -2
  75. package/cdn-versioned/chunks/chunk.B4BAFEZE.js +2 -2
  76. package/cdn-versioned/chunks/chunk.C45254AN.js +2 -2
  77. package/cdn-versioned/chunks/chunk.CWRWVUT3.js +2 -2
  78. package/cdn-versioned/chunks/chunk.DEC3VKXA.js +2 -2
  79. package/cdn-versioned/chunks/chunk.DFCHDZDG.js +2 -2
  80. package/cdn-versioned/chunks/chunk.DSKB3SEU.js +1 -1
  81. package/cdn-versioned/chunks/{chunk.6JKZ63QX.js → chunk.E7MFWEYN.js} +2 -2
  82. package/cdn-versioned/chunks/chunk.FCBNIOWP.js +2 -2
  83. package/cdn-versioned/chunks/chunk.FPC4KJUF.js +1 -1
  84. package/cdn-versioned/chunks/chunk.H5ODW4DI.js +2 -2
  85. package/cdn-versioned/chunks/chunk.HS3Q3NPY.js +2 -2
  86. package/cdn-versioned/chunks/{chunk.U7TS5SGA.js → chunk.J4FJ2SAP.js} +1 -1
  87. package/cdn-versioned/chunks/chunk.J7SSJXR3.js +1 -1
  88. package/cdn-versioned/chunks/chunk.KDTVJE37.js +2 -2
  89. package/cdn-versioned/chunks/chunk.KITZT7MU.js +1 -1
  90. package/cdn-versioned/chunks/{chunk.WIAQ2X73.js → chunk.KP7W5F3Y.js} +2 -2
  91. package/cdn-versioned/chunks/chunk.KZLMAANO.js +1 -1
  92. package/cdn-versioned/chunks/chunk.LM5SJXYL.js +2 -2
  93. package/cdn-versioned/chunks/chunk.LPOPOGGB.js +2 -2
  94. package/cdn-versioned/chunks/{chunk.ZCLAPTH6.js → chunk.LWLOMMIE.js} +9 -22
  95. package/cdn-versioned/chunks/chunk.LYJX2BW7.js +2 -2
  96. package/cdn-versioned/chunks/chunk.LZRL7OLU.js +1 -1
  97. package/cdn-versioned/chunks/chunk.N2PGOHWH.js +2 -2
  98. package/cdn-versioned/chunks/{chunk.UPV2DLDG.js → chunk.NFJMIR7G.js} +2 -2
  99. package/cdn-versioned/chunks/chunk.NISL6W7W.js +2 -2
  100. package/cdn-versioned/chunks/{chunk.PYHYYOBE.js → chunk.NJIXLFKZ.js} +2 -2
  101. package/cdn-versioned/chunks/{chunk.7USKB2GO.js → chunk.NLVPT4C5.js} +2 -2
  102. package/cdn-versioned/chunks/chunk.NSAUFZ4I.js +3 -3
  103. package/cdn-versioned/chunks/chunk.OFLEA353.js +10 -10
  104. package/cdn-versioned/chunks/chunk.OKAUTL3G.js +2 -2
  105. package/cdn-versioned/chunks/chunk.OR64TDYE.js +2 -2
  106. package/cdn-versioned/chunks/chunk.OYJTDY24.js +2 -0
  107. package/cdn-versioned/chunks/chunk.PUC7BGPD.js +2 -2
  108. package/cdn-versioned/chunks/{chunk.JTBZGOCE.js → chunk.R5GIN36W.js} +2 -2
  109. package/cdn-versioned/chunks/{chunk.CVB6PQL3.js → chunk.R6L2KIAT.js} +5 -5
  110. package/cdn-versioned/chunks/chunk.RGSF2XLM.js +2 -2
  111. package/cdn-versioned/chunks/chunk.RJIOLFBG.js +2 -2
  112. package/cdn-versioned/chunks/chunk.RSP57JUX.js +2 -2
  113. package/cdn-versioned/chunks/{chunk.GX5EMWG2.js → chunk.S3UYULN7.js} +2 -2
  114. package/cdn-versioned/chunks/chunk.S63R2AXT.js +3 -3
  115. package/cdn-versioned/chunks/{chunk.QXTQ4QBZ.js → chunk.SCP54EUM.js} +5 -5
  116. package/cdn-versioned/chunks/{chunk.6A2XPA27.js → chunk.SPU6E7DX.js} +2 -2
  117. package/cdn-versioned/chunks/chunk.SVZV3YHZ.js +1 -1
  118. package/cdn-versioned/chunks/chunk.TS6S25HT.js +2 -2
  119. package/cdn-versioned/chunks/chunk.U2TVO27N.js +2 -2
  120. package/cdn-versioned/chunks/chunk.UFWE6XC3.js +2 -2
  121. package/cdn-versioned/chunks/chunk.V3TQLJF2.js +1 -1
  122. package/cdn-versioned/chunks/{chunk.3VTWQPQB.js → chunk.VA64L52R.js} +2 -2
  123. package/cdn-versioned/chunks/chunk.VSIBCI2V.js +2 -2
  124. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  125. package/cdn-versioned/chunks/chunk.WHDOGCAD.js +1 -1
  126. package/cdn-versioned/chunks/chunk.WWHH2NDP.js +2 -2
  127. package/cdn-versioned/chunks/chunk.WZS3PEEQ.js +2 -2
  128. package/cdn-versioned/chunks/chunk.XHWQ4DCO.js +2 -2
  129. package/cdn-versioned/chunks/{chunk.OYCIMCNH.js → chunk.XVR65EXR.js} +2 -2
  130. package/cdn-versioned/chunks/chunk.YAT66EQJ.js +3 -3
  131. package/cdn-versioned/chunks/chunk.Z7AMUW7S.js +2 -2
  132. package/cdn-versioned/chunks/{chunk.MIROXJW4.js → chunk.ZCWTP5MX.js} +2 -2
  133. package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
  134. package/cdn-versioned/components/accordion/accordion.js +1 -1
  135. package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  136. package/cdn-versioned/components/accordion-group/accordion-group.js +1 -1
  137. package/cdn-versioned/components/animation/animation.d.ts +1 -1
  138. package/cdn-versioned/components/audio/audio.d.ts +1 -1
  139. package/cdn-versioned/components/audio/audio.js +1 -1
  140. package/cdn-versioned/components/badge/badge.d.ts +1 -1
  141. package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
  142. package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  143. package/cdn-versioned/components/breadcrumb/breadcrumb.js +1 -1
  144. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  145. package/cdn-versioned/components/button/button.d.ts +1 -1
  146. package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
  147. package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
  148. package/cdn-versioned/components/carousel/carousel.js +1 -1
  149. package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  150. package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
  151. package/cdn-versioned/components/checkbox/checkbox.js +1 -1
  152. package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  153. package/cdn-versioned/components/checkbox-group/checkbox-group.js +1 -1
  154. package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
  155. package/cdn-versioned/components/combobox/combobox.js +1 -1
  156. package/cdn-versioned/components/datepicker/datepicker.d.ts +1 -1
  157. package/cdn-versioned/components/datepicker/datepicker.js +1 -1
  158. package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
  159. package/cdn-versioned/components/dialog/dialog.js +1 -1
  160. package/cdn-versioned/components/divider/divider.d.ts +1 -1
  161. package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
  162. package/cdn-versioned/components/drawer/drawer.js +1 -1
  163. package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
  164. package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
  165. package/cdn-versioned/components/expandable/expandable.js +1 -1
  166. package/cdn-versioned/components/file-selector/file-selector.d.ts +1 -1
  167. package/cdn-versioned/components/file-selector/file-selector.js +1 -1
  168. package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
  169. package/cdn-versioned/components/flipcard/flipcard.js +1 -1
  170. package/cdn-versioned/components/header/header.d.ts +1 -1
  171. package/cdn-versioned/components/icon/icon.d.ts +1 -1
  172. package/cdn-versioned/components/icon/icon.js +1 -1
  173. package/cdn-versioned/components/icon/library.internal.d.ts +30 -32
  174. package/cdn-versioned/components/icon/library.internal.js +1 -1
  175. package/cdn-versioned/components/icon/library.js +1 -1
  176. package/cdn-versioned/components/icon/library.multi-theming.js +1 -1
  177. package/cdn-versioned/components/icon/library.status.d.ts +9 -8
  178. package/cdn-versioned/components/icon/library.status.js +1 -1
  179. package/cdn-versioned/components/include/include.d.ts +1 -1
  180. package/cdn-versioned/components/input/input.d.ts +1 -1
  181. package/cdn-versioned/components/input/input.js +1 -1
  182. package/cdn-versioned/components/link/link.d.ts +1 -1
  183. package/cdn-versioned/components/loader/loader.d.ts +1 -1
  184. package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
  185. package/cdn-versioned/components/menu/menu.d.ts +1 -1
  186. package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
  187. package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  188. package/cdn-versioned/components/navigation-item/navigation-item.js +1 -1
  189. package/cdn-versioned/components/notification/notification.d.ts +1 -1
  190. package/cdn-versioned/components/notification/notification.js +1 -1
  191. package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
  192. package/cdn-versioned/components/option/option.d.ts +1 -1
  193. package/cdn-versioned/components/option/option.js +1 -1
  194. package/cdn-versioned/components/popup/popup.d.ts +1 -1
  195. package/cdn-versioned/components/progress-bar/progress-bar.d.ts +1 -1
  196. package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
  197. package/cdn-versioned/components/quickfact/quickfact.js +1 -1
  198. package/cdn-versioned/components/radio/radio.d.ts +1 -1
  199. package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
  200. package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
  201. package/cdn-versioned/components/range/range.d.ts +1 -1
  202. package/cdn-versioned/components/range/range.js +1 -1
  203. package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
  204. package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
  205. package/cdn-versioned/components/scrollable/scrollable.js +1 -1
  206. package/cdn-versioned/components/select/select.d.ts +1 -1
  207. package/cdn-versioned/components/select/select.js +1 -1
  208. package/cdn-versioned/components/skeleton/skeleton.d.ts +1 -1
  209. package/cdn-versioned/components/step/step.d.ts +1 -1
  210. package/cdn-versioned/components/step/step.js +1 -1
  211. package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
  212. package/cdn-versioned/components/switch/switch.d.ts +1 -1
  213. package/cdn-versioned/components/tab/tab.d.ts +1 -1
  214. package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
  215. package/cdn-versioned/components/tab-group/tab-group.js +1 -1
  216. package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  217. package/cdn-versioned/components/tag/tag.d.ts +1 -1
  218. package/cdn-versioned/components/tag/tag.js +1 -1
  219. package/cdn-versioned/components/teaser-media/teaser-media.js +1 -1
  220. package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
  221. package/cdn-versioned/components/textarea/textarea.js +1 -1
  222. package/cdn-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  223. package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
  224. package/cdn-versioned/components/tooltip/tooltip.js +1 -1
  225. package/cdn-versioned/components/video/video.d.ts +1 -1
  226. package/cdn-versioned/components/video/video.js +1 -1
  227. package/cdn-versioned/custom-elements.json +269 -275
  228. package/cdn-versioned/internal/form.js +2 -2
  229. package/cdn-versioned/solid-components.bundle.js +97 -110
  230. package/cdn-versioned/solid-components.css +3 -3
  231. package/cdn-versioned/solid-components.iife.js +97 -110
  232. package/cdn-versioned/solid-components.js +1 -1
  233. package/cdn-versioned/utilities/icon-library.js +1 -1
  234. package/cdn-versioned/vscode.html-custom-data.json +115 -115
  235. package/cdn-versioned/web-types.json +173 -173
  236. package/dist/chunks/{chunk.3MGF33VU.js → chunk.346KUZ2N.js} +1 -1
  237. package/dist/chunks/{chunk.XBDLZTHZ.js → chunk.365UZIBA.js} +3 -3
  238. package/dist/chunks/{chunk.Z3HEYXRX.js → chunk.37JWARFZ.js} +69 -33
  239. package/dist/chunks/{chunk.OUFMMO37.js → chunk.3XIEL44S.js} +1 -1
  240. package/{dist-versioned/chunks/chunk.4TPOL3LB.js → dist/chunks/chunk.4X2JEQJ2.js} +4 -1
  241. package/dist/chunks/{chunk.UYQP3VDT.js → chunk.4ZNMCQ55.js} +1 -1
  242. package/dist/chunks/{chunk.GHWO5PUG.js → chunk.ANUBVNLR.js} +2 -2
  243. package/dist/chunks/{chunk.3JGMLVGL.js → chunk.B72XZRDP.js} +2 -2
  244. package/dist/chunks/{chunk.GOZXDQTL.js → chunk.HSFOQQ52.js} +2 -2
  245. package/dist/chunks/{chunk.P5V6KORX.js → chunk.I5C34XR6.js} +2 -2
  246. package/dist/chunks/{chunk.KAWDESCC.js → chunk.LW2NFCFY.js} +1 -1
  247. package/dist/chunks/{chunk.7ZKBKOS5.js → chunk.MVUZGVJ6.js} +3 -3
  248. package/dist/chunks/{chunk.FQJPWM4Z.js → chunk.NRI3NAMP.js} +2 -2
  249. package/dist/chunks/{chunk.JHSA2DI2.js → chunk.O6VYYKTA.js} +1 -1
  250. package/dist/chunks/{chunk.4BB4LNMY.js → chunk.SDEYEU3M.js} +4 -4
  251. package/{dist-versioned/chunks/chunk.Q4LFZ4MN.js → dist/chunks/chunk.UGGH4H2X.js} +4 -4
  252. package/dist/chunks/{chunk.52XEAMVX.js → chunk.UMF56HAL.js} +1 -1
  253. package/dist/chunks/{chunk.AFD4FHYM.js → chunk.YCLLM3OQ.js} +2 -2
  254. package/dist/chunks/{chunk.CQTEYWVJ.js → chunk.YF5CJVKA.js} +1 -1
  255. package/dist/chunks/{chunk.INSUQDO7.js → chunk.YY6BDJPL.js} +1 -1
  256. package/dist/chunks/{chunk.WYS3OZYO.js → chunk.ZCNNMATK.js} +1 -1
  257. package/dist/components/accordion/accordion.js +6 -6
  258. package/dist/components/accordion-group/accordion-group.js +6 -6
  259. package/dist/components/audio/audio.js +6 -6
  260. package/dist/components/breadcrumb/breadcrumb.js +5 -5
  261. package/dist/components/carousel/carousel.js +6 -6
  262. package/dist/components/checkbox/checkbox.js +5 -5
  263. package/dist/components/checkbox-group/checkbox-group.js +5 -5
  264. package/dist/components/combobox/combobox.js +6 -6
  265. package/dist/components/datepicker/datepicker.js +6 -6
  266. package/dist/components/dialog/dialog.js +5 -5
  267. package/dist/components/drawer/drawer.js +5 -5
  268. package/dist/components/expandable/expandable.js +6 -6
  269. package/dist/components/file-selector/file-selector.js +5 -5
  270. package/dist/components/flipcard/flipcard.js +5 -5
  271. package/dist/components/icon/icon.js +5 -5
  272. package/dist/components/icon/library.internal.d.ts +30 -32
  273. package/dist/components/icon/library.internal.js +1 -1
  274. package/dist/components/icon/library.js +4 -4
  275. package/dist/components/icon/library.multi-theming.js +1 -1
  276. package/dist/components/icon/library.status.d.ts +9 -8
  277. package/dist/components/icon/library.status.js +1 -1
  278. package/dist/components/input/input.js +6 -6
  279. package/dist/components/navigation-item/navigation-item.js +6 -6
  280. package/dist/components/notification/notification.js +5 -5
  281. package/dist/components/option/option.js +6 -6
  282. package/dist/components/quickfact/quickfact.js +7 -7
  283. package/dist/components/range/range.js +5 -5
  284. package/dist/components/scrollable/scrollable.js +6 -6
  285. package/dist/components/select/select.js +6 -6
  286. package/dist/components/step/step.js +6 -6
  287. package/dist/components/tab-group/tab-group.js +6 -6
  288. package/dist/components/tag/tag.js +5 -5
  289. package/dist/components/teaser-media/teaser-media.js +1 -1
  290. package/dist/components/textarea/textarea.js +5 -5
  291. package/dist/components/tooltip/tooltip.js +5 -5
  292. package/dist/components/video/video.js +6 -6
  293. package/dist/custom-elements.json +4 -10
  294. package/dist/solid-components.js +23 -23
  295. package/dist/utilities/icon-library.js +4 -4
  296. package/dist/web-types.json +1 -1
  297. package/dist-versioned/chunks/chunk.266V4W27.js +11 -11
  298. package/dist-versioned/chunks/chunk.2ZO5TQLM.js +4 -4
  299. package/dist-versioned/chunks/chunk.33KST4RJ.js +1 -1
  300. package/dist-versioned/chunks/{chunk.3MGF33VU.js → chunk.346KUZ2N.js} +2 -2
  301. package/dist-versioned/chunks/{chunk.XBDLZTHZ.js → chunk.365UZIBA.js} +3 -3
  302. package/dist-versioned/chunks/{chunk.Z3HEYXRX.js → chunk.37JWARFZ.js} +69 -33
  303. package/dist-versioned/chunks/{chunk.OUFMMO37.js → chunk.3XIEL44S.js} +6 -6
  304. package/dist-versioned/chunks/chunk.3Y3V2LY4.js +5 -5
  305. package/dist-versioned/chunks/chunk.4USTQEWG.js +12 -12
  306. package/{dist/chunks/chunk.4TPOL3LB.js → dist-versioned/chunks/chunk.4X2JEQJ2.js} +4 -1
  307. package/dist-versioned/chunks/{chunk.UYQP3VDT.js → chunk.4ZNMCQ55.js} +2 -2
  308. package/dist-versioned/chunks/chunk.5R5MY3VD.js +11 -11
  309. package/dist-versioned/chunks/chunk.5VCVDFRJ.js +1 -1
  310. package/dist-versioned/chunks/chunk.6A4DHVDL.js +2 -2
  311. package/dist-versioned/chunks/chunk.6DUOHFNN.js +3 -3
  312. package/dist-versioned/chunks/chunk.6MSQDSJK.js +4 -4
  313. package/dist-versioned/chunks/chunk.6OYBQ6CO.js +4 -4
  314. package/dist-versioned/chunks/chunk.77CINHAJ.js +1 -1
  315. package/dist-versioned/chunks/chunk.AJVSDITF.js +3 -3
  316. package/dist-versioned/chunks/{chunk.GHWO5PUG.js → chunk.ANUBVNLR.js} +14 -14
  317. package/dist-versioned/chunks/{chunk.3JGMLVGL.js → chunk.B72XZRDP.js} +4 -4
  318. package/dist-versioned/chunks/chunk.BZO3OLK2.js +5 -5
  319. package/dist-versioned/chunks/chunk.C3WIBDGG.js +2 -2
  320. package/dist-versioned/chunks/chunk.C4RJM5BO.js +1 -1
  321. package/dist-versioned/chunks/chunk.D5JLEZPO.js +1 -1
  322. package/dist-versioned/chunks/chunk.DJJN4MJ4.js +1 -1
  323. package/dist-versioned/chunks/chunk.DKN5SHQ2.js +5 -5
  324. package/dist-versioned/chunks/chunk.EVGV2PWW.js +2 -2
  325. package/dist-versioned/chunks/chunk.F3C76UKB.js +2 -2
  326. package/dist-versioned/chunks/chunk.G7M7XYS3.js +6 -6
  327. package/dist-versioned/chunks/chunk.GBB73ZFE.js +3 -3
  328. package/dist-versioned/chunks/chunk.GRRHK6BP.js +2 -2
  329. package/dist-versioned/chunks/chunk.HIR2MKW6.js +2 -2
  330. package/dist-versioned/chunks/{chunk.GOZXDQTL.js → chunk.HSFOQQ52.js} +5 -5
  331. package/dist-versioned/chunks/chunk.I57THEU4.js +7 -7
  332. package/dist-versioned/chunks/{chunk.P5V6KORX.js → chunk.I5C34XR6.js} +23 -23
  333. package/dist-versioned/chunks/chunk.IXJGPE6X.js +11 -11
  334. package/dist-versioned/chunks/chunk.JAPL7DQX.js +5 -5
  335. package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
  336. package/dist-versioned/chunks/chunk.LJ5ONJGL.js +42 -42
  337. package/dist-versioned/chunks/{chunk.KAWDESCC.js → chunk.LW2NFCFY.js} +6 -6
  338. package/dist-versioned/chunks/{chunk.7ZKBKOS5.js → chunk.MVUZGVJ6.js} +10 -10
  339. package/dist-versioned/chunks/{chunk.FQJPWM4Z.js → chunk.NRI3NAMP.js} +25 -25
  340. package/dist-versioned/chunks/{chunk.JHSA2DI2.js → chunk.O6VYYKTA.js} +3 -3
  341. package/dist-versioned/chunks/chunk.PCB2BA7U.js +13 -13
  342. package/dist-versioned/chunks/chunk.PMM3MDLE.js +3 -3
  343. package/dist-versioned/chunks/chunk.QD2ZQPDB.js +2 -2
  344. package/dist-versioned/chunks/chunk.QGERTGJH.js +4 -4
  345. package/dist-versioned/chunks/chunk.QOIO3YAP.js +7 -7
  346. package/dist-versioned/chunks/chunk.RGVIOXPM.js +3 -3
  347. package/dist-versioned/chunks/{chunk.4BB4LNMY.js → chunk.SDEYEU3M.js} +8 -8
  348. package/dist-versioned/chunks/chunk.SVAL7V6Q.js +2 -2
  349. package/{dist/chunks/chunk.Q4LFZ4MN.js → dist-versioned/chunks/chunk.UGGH4H2X.js} +4 -4
  350. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  351. package/dist-versioned/chunks/{chunk.52XEAMVX.js → chunk.UMF56HAL.js} +6 -6
  352. package/dist-versioned/chunks/chunk.UOMFY7RY.js +1 -1
  353. package/dist-versioned/chunks/chunk.UTW3WRV2.js +5 -5
  354. package/dist-versioned/chunks/chunk.VHQQB75I.js +3 -3
  355. package/dist-versioned/chunks/chunk.WVSKCZ63.js +4 -4
  356. package/dist-versioned/chunks/chunk.WXT5HYGA.js +12 -12
  357. package/dist-versioned/chunks/chunk.WZOVHSGU.js +6 -6
  358. package/dist-versioned/chunks/chunk.Y4XJY6Y4.js +5 -5
  359. package/dist-versioned/chunks/chunk.Y6QQUPB5.js +4 -4
  360. package/dist-versioned/chunks/{chunk.AFD4FHYM.js → chunk.YCLLM3OQ.js} +10 -10
  361. package/dist-versioned/chunks/{chunk.CQTEYWVJ.js → chunk.YF5CJVKA.js} +10 -10
  362. package/dist-versioned/chunks/{chunk.INSUQDO7.js → chunk.YY6BDJPL.js} +5 -5
  363. package/dist-versioned/chunks/chunk.Z462LBEB.js +7 -7
  364. package/dist-versioned/chunks/chunk.ZCG43UX7.js +10 -10
  365. package/dist-versioned/chunks/{chunk.WYS3OZYO.js → chunk.ZCNNMATK.js} +5 -5
  366. package/dist-versioned/components/accordion/accordion.d.ts +1 -1
  367. package/dist-versioned/components/accordion/accordion.js +6 -6
  368. package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  369. package/dist-versioned/components/accordion-group/accordion-group.js +6 -6
  370. package/dist-versioned/components/animation/animation.d.ts +1 -1
  371. package/dist-versioned/components/audio/audio.d.ts +1 -1
  372. package/dist-versioned/components/audio/audio.js +6 -6
  373. package/dist-versioned/components/badge/badge.d.ts +1 -1
  374. package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
  375. package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  376. package/dist-versioned/components/breadcrumb/breadcrumb.js +5 -5
  377. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  378. package/dist-versioned/components/button/button.d.ts +1 -1
  379. package/dist-versioned/components/button-group/button-group.d.ts +1 -1
  380. package/dist-versioned/components/carousel/carousel.d.ts +1 -1
  381. package/dist-versioned/components/carousel/carousel.js +6 -6
  382. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  383. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  384. package/dist-versioned/components/checkbox/checkbox.js +5 -5
  385. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  386. package/dist-versioned/components/checkbox-group/checkbox-group.js +5 -5
  387. package/dist-versioned/components/combobox/combobox.d.ts +1 -1
  388. package/dist-versioned/components/combobox/combobox.js +6 -6
  389. package/dist-versioned/components/datepicker/datepicker.d.ts +1 -1
  390. package/dist-versioned/components/datepicker/datepicker.js +6 -6
  391. package/dist-versioned/components/dialog/dialog.d.ts +1 -1
  392. package/dist-versioned/components/dialog/dialog.js +5 -5
  393. package/dist-versioned/components/divider/divider.d.ts +1 -1
  394. package/dist-versioned/components/drawer/drawer.d.ts +1 -1
  395. package/dist-versioned/components/drawer/drawer.js +5 -5
  396. package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
  397. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  398. package/dist-versioned/components/expandable/expandable.js +6 -6
  399. package/dist-versioned/components/file-selector/file-selector.d.ts +1 -1
  400. package/dist-versioned/components/file-selector/file-selector.js +5 -5
  401. package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
  402. package/dist-versioned/components/flipcard/flipcard.js +5 -5
  403. package/dist-versioned/components/header/header.d.ts +1 -1
  404. package/dist-versioned/components/icon/icon.d.ts +1 -1
  405. package/dist-versioned/components/icon/icon.js +5 -5
  406. package/dist-versioned/components/icon/library.internal.d.ts +30 -32
  407. package/dist-versioned/components/icon/library.internal.js +1 -1
  408. package/dist-versioned/components/icon/library.js +4 -4
  409. package/dist-versioned/components/icon/library.multi-theming.js +1 -1
  410. package/dist-versioned/components/icon/library.status.d.ts +9 -8
  411. package/dist-versioned/components/icon/library.status.js +1 -1
  412. package/dist-versioned/components/include/include.d.ts +1 -1
  413. package/dist-versioned/components/input/input.d.ts +1 -1
  414. package/dist-versioned/components/input/input.js +6 -6
  415. package/dist-versioned/components/link/link.d.ts +1 -1
  416. package/dist-versioned/components/loader/loader.d.ts +1 -1
  417. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  418. package/dist-versioned/components/menu/menu.d.ts +1 -1
  419. package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
  420. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  421. package/dist-versioned/components/navigation-item/navigation-item.js +6 -6
  422. package/dist-versioned/components/notification/notification.d.ts +1 -1
  423. package/dist-versioned/components/notification/notification.js +5 -5
  424. package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
  425. package/dist-versioned/components/option/option.d.ts +1 -1
  426. package/dist-versioned/components/option/option.js +6 -6
  427. package/dist-versioned/components/popup/popup.d.ts +1 -1
  428. package/dist-versioned/components/progress-bar/progress-bar.d.ts +1 -1
  429. package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
  430. package/dist-versioned/components/quickfact/quickfact.js +7 -7
  431. package/dist-versioned/components/radio/radio.d.ts +1 -1
  432. package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
  433. package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
  434. package/dist-versioned/components/range/range.d.ts +1 -1
  435. package/dist-versioned/components/range/range.js +5 -5
  436. package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
  437. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  438. package/dist-versioned/components/scrollable/scrollable.js +6 -6
  439. package/dist-versioned/components/select/select.d.ts +1 -1
  440. package/dist-versioned/components/select/select.js +6 -6
  441. package/dist-versioned/components/skeleton/skeleton.d.ts +1 -1
  442. package/dist-versioned/components/step/step.d.ts +1 -1
  443. package/dist-versioned/components/step/step.js +6 -6
  444. package/dist-versioned/components/step-group/step-group.d.ts +1 -1
  445. package/dist-versioned/components/switch/switch.d.ts +1 -1
  446. package/dist-versioned/components/tab/tab.d.ts +1 -1
  447. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  448. package/dist-versioned/components/tab-group/tab-group.js +6 -6
  449. package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  450. package/dist-versioned/components/tag/tag.d.ts +1 -1
  451. package/dist-versioned/components/tag/tag.js +5 -5
  452. package/dist-versioned/components/teaser-media/teaser-media.js +1 -1
  453. package/dist-versioned/components/textarea/textarea.d.ts +1 -1
  454. package/dist-versioned/components/textarea/textarea.js +5 -5
  455. package/dist-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  456. package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
  457. package/dist-versioned/components/tooltip/tooltip.js +5 -5
  458. package/dist-versioned/components/video/video.d.ts +1 -1
  459. package/dist-versioned/components/video/video.js +6 -6
  460. package/dist-versioned/custom-elements.json +269 -275
  461. package/dist-versioned/internal/form.js +2 -2
  462. package/dist-versioned/solid-components.css +3 -3
  463. package/dist-versioned/solid-components.js +23 -23
  464. package/dist-versioned/utilities/icon-library.js +4 -4
  465. package/dist-versioned/vscode.html-custom-data.json +115 -115
  466. package/dist-versioned/web-types.json +173 -173
  467. package/package.json +1 -1
  468. package/cdn-versioned/chunks/chunk.J663MKB4.js +0 -2
@@ -1,2 +1,2 @@
1
- import{a as E}from"./chunk.KDTVJE37.js";import{b,c as C,d as x,e as w}from"./chunk.LZRL7OLU.js";import{a as k}from"./chunk.CGQ2BPPZ.js";import{a as u}from"./chunk.4ZZFYCXX.js";import{a as p}from"./chunk.NYKJXI3Q.js";import{a as y,b as r,c,d as m,h as f}from"./chunk.5B33ZALC.js";import{b as v,e as d}from"./chunk.OBAEIKIV.js";import{e as o}from"./chunk.6EV4YU6C.js";var s=class extends f{constructor(){super(...arguments);this.formControlController=new b(this);this.hasSlotController=new k(this,"label","error-text");this.customValidityMessage="";this.hasButtonGroup=!1;this.defaultValue="";this.showInvalidStyle=!1;this.size="lg";this.required=!1;this.orientation="vertical";this.label="";this.helpText="";this.name="option";this.value="";this.form=""}get validity(){let t=this.required&&!this.value;return this.customValidityMessage!==""?w:t?x:C}get validationMessage(){let t=this.required&&!this.value;return this.customValidityMessage!==""?this.customValidityMessage:t?this.validationInput.validationMessage:""}connectedCallback(){super.connectedCallback(),this.defaultValue=this.value}firstUpdated(){this.formControlController.updateValidity()}updated(t){super.updated(t),this.syncAriaDescription()}syncAriaDescription(){var l;let t=(l=this.shadowRoot)==null?void 0:l.querySelector("fieldset"),e=this.showInvalidStyle?this.validationMessage:"";e?t==null||t.setAttribute("aria-description",e):t==null||t.removeAttribute("aria-description")}getAllRadios(){let t=[...this.querySelectorAll("sd-7-0-0-next-10-radio, sd-7-0-0-next-10-radio-button")];return t.length===0&&console.warn("No radios found in the radio group."),t}handleRadioClick(t){let e=t.target.closest("sd-7-0-0-next-10-radio, sd-7-0-0-next-10-radio-button"),l=this.value,i=this.getAllRadios();i.length!==0&&(e.disabled||(this.value=e.value,i.forEach(n=>n.checked=n===e),this.value!==l&&(this.emit("sd-change"),this.emit("sd-input"))))}handleKeyDown(t){var g;if(!["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"," "].includes(t.key))return;let e=this.getAllRadios().filter(h=>!h.disabled);if(e.length===0)return;let l=(g=e.find(h=>h.checked))!=null?g:e[0],i=t.key===" "?0:["ArrowUp","ArrowLeft"].includes(t.key)?-1:1,n=this.value,a=e.indexOf(l)+i;a<0&&(a=e.length-1),a>e.length-1&&(a=0),this.getAllRadios().forEach(h=>{h.checked=!1,this.hasButtonGroup||(h.tabIndex=-1)}),this.value=e[a].value,e[a].checked=!0,this.hasButtonGroup?e[a].shadowRoot.querySelector("button").focus():(e[a].tabIndex=0,e[a].focus()),this.value!==n&&(this.emit("sd-change"),this.emit("sd-input")),t.preventDefault()}focus(){let t=this.getAllRadios();if(t.length===0)return;let l=t.find(i=>i.checked)||t[0];l&&l.focus()}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}async syncRadioElements(){var e,l;let t=this.getAllRadios();if(t.length===0){this.hasButtonGroup=!1;return}if(await Promise.all(t.map(async i=>{await i.updateComplete,i.checked=i.value===this.value,i.size=this.size,i instanceof E&&(i.invalid=this.showInvalidStyle)})),this.hasButtonGroup=t.some(i=>i.tagName.toLowerCase()==="sd-7-0-0-next-10-radio-button"),!t.some(i=>i.checked))if(this.hasButtonGroup){let i=(e=t[0].shadowRoot)==null?void 0:e.querySelector("button");i&&(i.tabIndex=0)}else t[0].tabIndex=0;if(this.hasButtonGroup){let i=(l=this.shadowRoot)==null?void 0:l.querySelector("sd-7-0-0-next-10-button-group");i&&(i.disableRole=!0)}}syncRadios(){if(customElements.get("sd-7-0-0-next-10-radio")&&customElements.get("sd-7-0-0-next-10-radio-button")){this.syncRadioElements();return}customElements.get("sd-7-0-0-next-10-radio")?this.syncRadioElements():customElements.whenDefined("sd-7-0-0-next-10-radio").then(()=>this.syncRadios()),customElements.get("sd-7-0-0-next-10-radio-button")?this.syncRadioElements():customElements.whenDefined("sd-7-0-0-next-10-radio-button").then(()=>this.syncRadios())}updateCheckedRadio(){let t=this.getAllRadios();t.length!==0&&(t.forEach(e=>e.checked=e.value===this.value),this.formControlController.setValidity(this.validity.valid))}handleSizeChange(){this.syncRadios()}handleInvalidChange(){this.syncRadios()}handleValueChange(){this.hasUpdated&&(this.updateCheckedRadio(),this.reportValidity())}checkValidity(){let t=this.required&&!this.value,e=this.customValidityMessage!=="";return t||e?(this.formControlController.emitInvalidEvent(),!1):!0}getForm(){return this.formControlController.getForm()}reportValidity(){let t=this.validity.valid;return this.formControlController.setValidity(t),this.validationInput.hidden=!0,clearTimeout(this.validationTimeout),this.formControlController.fakeUserInteraction(),t||(this.validationInput.hidden=!1,this.validationInput.reportValidity(),this.validationTimeout=setTimeout(()=>this.validationInput.hidden=!0,1e4)),t}setCustomValidity(t=""){this.customValidityMessage=t,this.validationInput.setCustomValidity(t),this.formControlController.updateValidity()}render(){let t=this.hasSlotController.test("label"),e=this.label?!0:t,l=this.hasSlotController.test("help-text"),i=this.helpText?!0:!!l,n=this.hasSlotController.test("tooltip"),a=d`<slot @slotchange="${this.syncRadios}" @click="${this.handleRadioClick}" @keydown="${this.handleKeyDown}"></slot>`;return d`<fieldset part="form-control" class="${u("border-0 p-0 m-0 flex flex-col",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}" role="radiogroup" aria-describedby="invalid-message" aria-labelledby="label">${e||n?d`<div class="flex items-center gap-1 mb-2"><legend part="form-control-label" id="label" class="${u("p-0 font-bold leading-normal text-black text-left",e?"inline-block":"hidden")}" @click="${this.focus}" aria-hidden="${e?"false":"true"}"><slot name="label">${this.label}</slot></legend>${n?d`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${u("flex",{vertical:"flex-col",horizontal:"flex-row"}[this.orientation])}"><div class="sr-only"><label><input id="validation-input" type="text" ?required="${this.required}" aria-labelledby="label" tabindex="-1" hidden @invalid="${this.handleInvalid}"></label></div>${this.hasButtonGroup?d`<sd-7-0-0-next-10-button-group class="border border-primary sd-7-0-0-next-10-radio-button-group-border-radius sd-7-0-0-next-10-radio-button-group-border-width sd-7-0-0-next-10-radio-button-group-padding" part="button-group" exportparts="base:button-group__base" role="presentation">${a}</sd-7-0-0-next-10-button-group>`:a}</div></fieldset><slot name="help-text" part="form-control-help-text" id="help-text" class="${u("text-sm text-neutral-700 mt-2",i?"block":"hidden")}" aria-hidden="${!i}">${this.helpText}</slot><div part="invalid-icon-message" class="flex items-center gap-2 mt-2">${this.showInvalidStyle?d`<sd-7-0-0-next-10-icon part="invalid-icon" class="${u("text-error")}" library="_internal" name="risk"></sd-7-0-0-next-10-icon>`:""} ${this.formControlController.renderInvalidMessage(this.size)}</div>`}};s.styles=[...f.styles,v`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{display:block}:host([orientation=vertical]) ::slotted(sd-7-0-0-next-10-radio){margin-bottom:var(--sd-spacing-2);display:flex}:host([orientation=vertical]) ::slotted(sd-7-0-0-next-10-radio:last-of-type){margin-bottom:0}:host([orientation=horizontal]) ::slotted(sd-7-0-0-next-10-radio){margin-right:var(--sd-spacing-6)}:host([orientation=horizontal]) ::slotted(sd-7-0-0-next-10-radio:last-of-type){margin-right:0}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-7-0-0-next-10-radio){margin-right:var(--sd-spacing-4)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-7-0-0-next-10-radio:last-of-type){margin-right:0}:host([required]) #label::after{content:' *'}:host:has(sd-7-0-0-next-10-button-group){display:inline-flex}`],o([m("slot:not([name])")],s.prototype,"defaultSlot",2),o([m("#validation-input")],s.prototype,"validationInput",2),o([m("#invalid-message")],s.prototype,"invalidMessage",2),o([c()],s.prototype,"hasButtonGroup",2),o([c()],s.prototype,"defaultValue",2),o([c()],s.prototype,"showInvalidStyle",2),o([r({type:String,reflect:!0})],s.prototype,"size",2),o([r({type:Boolean,reflect:!0})],s.prototype,"required",2),o([r({type:String,reflect:!0})],s.prototype,"orientation",2),o([r({type:String,reflect:!0})],s.prototype,"label",2),o([r({type:String,attribute:"help-text",reflect:!0})],s.prototype,"helpText",2),o([r({type:String,reflect:!0})],s.prototype,"name",2),o([r()],s.prototype,"value",2),o([r({type:String,reflect:!0})],s.prototype,"form",2),o([p("size",{waitUntilFirstUpdate:!0})],s.prototype,"handleSizeChange",1),o([p("showInvalidStyle",{waitUntilFirstUpdate:!0})],s.prototype,"handleInvalidChange",1),o([p("value")],s.prototype,"handleValueChange",1),s=o([y("sd-7-0-0-next-10-radio-group")],s);export{s as a};
1
+ import{a as E}from"./chunk.KDTVJE37.js";import{b,c as C,d as x,e as w}from"./chunk.LZRL7OLU.js";import{a as k}from"./chunk.CGQ2BPPZ.js";import{a as u}from"./chunk.4ZZFYCXX.js";import{a as p}from"./chunk.NYKJXI3Q.js";import{a as y,b as r,c,d as m,h as f}from"./chunk.5B33ZALC.js";import{b as v,e as d}from"./chunk.OBAEIKIV.js";import{e as o}from"./chunk.6EV4YU6C.js";var s=class extends f{constructor(){super(...arguments);this.formControlController=new b(this);this.hasSlotController=new k(this,"label","error-text");this.customValidityMessage="";this.hasButtonGroup=!1;this.defaultValue="";this.showInvalidStyle=!1;this.size="lg";this.required=!1;this.orientation="vertical";this.label="";this.helpText="";this.name="option";this.value="";this.form=""}get validity(){let t=this.required&&!this.value;return this.customValidityMessage!==""?w:t?x:C}get validationMessage(){let t=this.required&&!this.value;return this.customValidityMessage!==""?this.customValidityMessage:t?this.validationInput.validationMessage:""}connectedCallback(){super.connectedCallback(),this.defaultValue=this.value}firstUpdated(){this.formControlController.updateValidity()}updated(t){super.updated(t),this.syncAriaDescription()}syncAriaDescription(){var l;let t=(l=this.shadowRoot)==null?void 0:l.querySelector("fieldset"),e=this.showInvalidStyle?this.validationMessage:"";e?t==null||t.setAttribute("aria-description",e):t==null||t.removeAttribute("aria-description")}getAllRadios(){let t=[...this.querySelectorAll("sd-7-0-0-next-11-radio, sd-7-0-0-next-11-radio-button")];return t.length===0&&console.warn("No radios found in the radio group."),t}handleRadioClick(t){let e=t.target.closest("sd-7-0-0-next-11-radio, sd-7-0-0-next-11-radio-button"),l=this.value,i=this.getAllRadios();i.length!==0&&(e.disabled||(this.value=e.value,i.forEach(n=>n.checked=n===e),this.value!==l&&(this.emit("sd-change"),this.emit("sd-input"))))}handleKeyDown(t){var g;if(!["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"," "].includes(t.key))return;let e=this.getAllRadios().filter(h=>!h.disabled);if(e.length===0)return;let l=(g=e.find(h=>h.checked))!=null?g:e[0],i=t.key===" "?0:["ArrowUp","ArrowLeft"].includes(t.key)?-1:1,n=this.value,a=e.indexOf(l)+i;a<0&&(a=e.length-1),a>e.length-1&&(a=0),this.getAllRadios().forEach(h=>{h.checked=!1,this.hasButtonGroup||(h.tabIndex=-1)}),this.value=e[a].value,e[a].checked=!0,this.hasButtonGroup?e[a].shadowRoot.querySelector("button").focus():(e[a].tabIndex=0,e[a].focus()),this.value!==n&&(this.emit("sd-change"),this.emit("sd-input")),t.preventDefault()}focus(){let t=this.getAllRadios();if(t.length===0)return;let l=t.find(i=>i.checked)||t[0];l&&l.focus()}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}async syncRadioElements(){var e,l;let t=this.getAllRadios();if(t.length===0){this.hasButtonGroup=!1;return}if(await Promise.all(t.map(async i=>{await i.updateComplete,i.checked=i.value===this.value,i.size=this.size,i instanceof E&&(i.invalid=this.showInvalidStyle)})),this.hasButtonGroup=t.some(i=>i.tagName.toLowerCase()==="sd-7-0-0-next-11-radio-button"),!t.some(i=>i.checked))if(this.hasButtonGroup){let i=(e=t[0].shadowRoot)==null?void 0:e.querySelector("button");i&&(i.tabIndex=0)}else t[0].tabIndex=0;if(this.hasButtonGroup){let i=(l=this.shadowRoot)==null?void 0:l.querySelector("sd-7-0-0-next-11-button-group");i&&(i.disableRole=!0)}}syncRadios(){if(customElements.get("sd-7-0-0-next-11-radio")&&customElements.get("sd-7-0-0-next-11-radio-button")){this.syncRadioElements();return}customElements.get("sd-7-0-0-next-11-radio")?this.syncRadioElements():customElements.whenDefined("sd-7-0-0-next-11-radio").then(()=>this.syncRadios()),customElements.get("sd-7-0-0-next-11-radio-button")?this.syncRadioElements():customElements.whenDefined("sd-7-0-0-next-11-radio-button").then(()=>this.syncRadios())}updateCheckedRadio(){let t=this.getAllRadios();t.length!==0&&(t.forEach(e=>e.checked=e.value===this.value),this.formControlController.setValidity(this.validity.valid))}handleSizeChange(){this.syncRadios()}handleInvalidChange(){this.syncRadios()}handleValueChange(){this.hasUpdated&&(this.updateCheckedRadio(),this.reportValidity())}checkValidity(){let t=this.required&&!this.value,e=this.customValidityMessage!=="";return t||e?(this.formControlController.emitInvalidEvent(),!1):!0}getForm(){return this.formControlController.getForm()}reportValidity(){let t=this.validity.valid;return this.formControlController.setValidity(t),this.validationInput.hidden=!0,clearTimeout(this.validationTimeout),this.formControlController.fakeUserInteraction(),t||(this.validationInput.hidden=!1,this.validationInput.reportValidity(),this.validationTimeout=setTimeout(()=>this.validationInput.hidden=!0,1e4)),t}setCustomValidity(t=""){this.customValidityMessage=t,this.validationInput.setCustomValidity(t),this.formControlController.updateValidity()}render(){let t=this.hasSlotController.test("label"),e=this.label?!0:t,l=this.hasSlotController.test("help-text"),i=this.helpText?!0:!!l,n=this.hasSlotController.test("tooltip"),a=d`<slot @slotchange="${this.syncRadios}" @click="${this.handleRadioClick}" @keydown="${this.handleKeyDown}"></slot>`;return d`<fieldset part="form-control" class="${u("border-0 p-0 m-0 flex flex-col",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}" role="radiogroup" aria-describedby="invalid-message" aria-labelledby="label">${e||n?d`<div class="flex items-center gap-1 mb-2"><legend part="form-control-label" id="label" class="${u("p-0 font-bold leading-normal text-black text-left",e?"inline-block":"hidden")}" @click="${this.focus}" aria-hidden="${e?"false":"true"}"><slot name="label">${this.label}</slot></legend>${n?d`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${u("flex",{vertical:"flex-col",horizontal:"flex-row"}[this.orientation])}"><div class="sr-only"><label><input id="validation-input" type="text" ?required="${this.required}" aria-labelledby="label" tabindex="-1" hidden @invalid="${this.handleInvalid}"></label></div>${this.hasButtonGroup?d`<sd-7-0-0-next-11-button-group class="border border-primary sd-7-0-0-next-11-radio-button-group-border-radius sd-7-0-0-next-11-radio-button-group-border-width sd-7-0-0-next-11-radio-button-group-padding" part="button-group" exportparts="base:button-group__base" role="presentation">${a}</sd-7-0-0-next-11-button-group>`:a}</div></fieldset><slot name="help-text" part="form-control-help-text" id="help-text" class="${u("text-sm text-neutral-700 mt-2",i?"block":"hidden")}" aria-hidden="${!i}">${this.helpText}</slot><div part="invalid-icon-message" class="flex items-center gap-2 mt-2">${this.showInvalidStyle?d`<sd-7-0-0-next-11-icon part="invalid-icon" class="${u("text-error")}" library="_internal" name="risk"></sd-7-0-0-next-11-icon>`:""} ${this.formControlController.renderInvalidMessage(this.size)}</div>`}};s.styles=[...f.styles,v`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{display:block}:host([orientation=vertical]) ::slotted(sd-7-0-0-next-11-radio){margin-bottom:var(--sd-spacing-2);display:flex}:host([orientation=vertical]) ::slotted(sd-7-0-0-next-11-radio:last-of-type){margin-bottom:0}:host([orientation=horizontal]) ::slotted(sd-7-0-0-next-11-radio){margin-right:var(--sd-spacing-6)}:host([orientation=horizontal]) ::slotted(sd-7-0-0-next-11-radio:last-of-type){margin-right:0}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-7-0-0-next-11-radio){margin-right:var(--sd-spacing-4)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-7-0-0-next-11-radio:last-of-type){margin-right:0}:host([required]) #label::after{content:' *'}:host:has(sd-7-0-0-next-11-button-group){display:inline-flex}`],o([m("slot:not([name])")],s.prototype,"defaultSlot",2),o([m("#validation-input")],s.prototype,"validationInput",2),o([m("#invalid-message")],s.prototype,"invalidMessage",2),o([c()],s.prototype,"hasButtonGroup",2),o([c()],s.prototype,"defaultValue",2),o([c()],s.prototype,"showInvalidStyle",2),o([r({type:String,reflect:!0})],s.prototype,"size",2),o([r({type:Boolean,reflect:!0})],s.prototype,"required",2),o([r({type:String,reflect:!0})],s.prototype,"orientation",2),o([r({type:String,reflect:!0})],s.prototype,"label",2),o([r({type:String,attribute:"help-text",reflect:!0})],s.prototype,"helpText",2),o([r({type:String,reflect:!0})],s.prototype,"name",2),o([r()],s.prototype,"value",2),o([r({type:String,reflect:!0})],s.prototype,"form",2),o([p("size",{waitUntilFirstUpdate:!0})],s.prototype,"handleSizeChange",1),o([p("showInvalidStyle",{waitUntilFirstUpdate:!0})],s.prototype,"handleInvalidChange",1),o([p("value")],s.prototype,"handleValueChange",1),s=o([y("sd-7-0-0-next-11-radio-group")],s);export{s as a};
@@ -7,5 +7,5 @@ import{a as s}from"./chunk.LHSR56PH.js";import{a as n,b as o}from"./chunk.NL7YFV
7
7
  </svg> `,place:`
8
8
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 75">
9
9
  <path fill-rule="evenodd" d="M51 49A29 29 0 0 0 30 0 29 29 0 0 0 9 49l21 22 21-22Z" clip-rule="evenodd" />
10
- </svg>`}}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}isLink(){return!!this.href}render(){let i=this.isLink(),c=this.notInteractive?n`div`:i?n`a`:n`button`,h=d(this.marker[this.variant]),p=`url("data:image/svg+xml;utf8,${encodeURIComponent(this.marker[this.variant]).replace(/#/g,"%23")}")`;return o`<${c} part="base" class="${r("relative flex justify-center",!this.notInteractive&&"group focus-visible:focus-outline")}" href="${s(i?this.href:void 0)}" target="${s(i?this.target:void 0)}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" role="${s(this.notInteractive||i?void 0:"button")}" aria-label="${s(!this.notInteractive&&this.label?this.label:void 0)}" aria-labelledby="${s(!this.notInteractive&&!this.label?"content":void 0)}"><div part="marker" class="${r("relative inline-flex",this.animated&&(this.variant==="main"||this.variant==="place")&&"animate-bounce-once",this.variant==="cluster"&&this.state==="hover"&&"scale-110",this.variant==="cluster"&&!this.notInteractive&&"transition-transform duration-fast ease-in-out hover:scale-110",{cluster:"sd-7-0-0-next-10-map-marker--cluster-color-text",main:"sd-color-fill-accent",place:"sd-7-0-0-next-10-map-marker--pin-color-text"}[this.variant])}"><div id="motion-wrapper" part="motion-wrapper" class="${r("absolute inset-0 overflow-hidden pointer-events-none",{cluster:"sd-7-0-0-next-10-map-marker--cluster--default-color-background group-hover:sd-7-0-0-next-10-map-marker--cluster--hover-color-background",main:"sd-7-0-0-next-10-map-marker--main-color-background",place:"sd-7-0-0-next-10-map-marker--pin--default-color-background"}[this.variant])}" style="mask-image:${p};-webkit-mask-image:${p}"><div class="${r("absolute inset-0 transition-transform ease-in-out duration-fast translate-y-full group-hover:translate-y-0 group-active:translate-y-0",["hover","active"].includes(this.state)&&"!translate-y-0")}"><div class="${r("min-w-full min-h-full skew-y-[-11deg]",{cluster:"",main:this.state==="active"?"bg-accent-700":this.state==="hover"?"bg-accent-550":"group-hover:bg-accent-550 group-active:bg-accent-700",place:this.state==="active"||this.state==="hover"?"sd-7-0-0-next-10-map-marker--pin--hover-color-background":"group-active:bg-primary-200"}[this.variant])}"></div></div>${this.variant==="main"?o`<div id="marker-circle" class="absolute rounded-full"></div>`:""}</div>${h} ${this.variant==="cluster"?o`<div id="cluster-border" class="${r("absolute inset-0 sd-7-0-0-next-10-map-marker--cluster--default-color-background rounded-full opacity-30 hover:sd-7-0-0-next-10-map-marker--cluster--hover-color-background",this.state==="hover"&&"sd-7-0-0-next-10-map-marker--cluster--hover-color-background")}"></div>`:""}</div><div id="content" part="content" class="${r("absolute self-center pointer-events-none",this.variant==="cluster"&&"font-bold sd-7-0-0-next-10-map-marker--cluster-color-text",this.variant==="place"&&"font-bold sd-7-0-0-next-10-map-marker--pin-color-text")}"><slot></slot></div></${c}>`}};t.styles=[...l.styles,m`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
11
- :host{display:block}#motion-wrapper{mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-position:center;-webkit-mask-position:center;mask-size:contain;-webkit-mask-size:contain}:host([variant=cluster]) [part=base],svg{width:calc(var(--sd-spacing-12,3rem) * var(--map-marker-scaling,1))}:host([variant=cluster]) [part=base]{height:calc(var(--sd-spacing-12,3rem) * var(--map-marker-scaling,1))}:host(:not([variant=cluster])) [part=base]{height:calc(var(--sd-spacing-16,4rem) * var(--map-marker-scaling,1))}:host([variant=cluster]) [part=content]{font-size:calc(var(--sd-font-size-sm,.875rem) * var(--map-marker-scaling,1))}:host([variant=place]) [part=content]{margin-top:calc(var(--sd-spacing-2) * -1);font-size:calc(var(--sd-font-size-3xl,2rem) * var(--map-marker-scaling,1))}:host([variant=cluster]) [part=motion-wrapper]>div>div{background-color:rgba(var(--sd-map-marker--cluster--hover-color-background))}:host([variant=main]) [part=marker],:host([variant=place]) [part=marker]{--tw-drop-shadow-size:drop-shadow(var(--sd-drop-shadow));--tw-drop-shadow:drop-shadow(var(--sd-drop-shadow));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}:host([variant=main]) #marker-circle{width:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1));height:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1));left:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1));right:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1));top:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1))}#marker-circle{background-color:rgba(var(--sd-color-icon-fill-white,rgba(var(--sd-color-white))))}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}`],e([a({type:String,reflect:!0})],t.prototype,"variant",2),e([a({type:String,reflect:!0})],t.prototype,"state",2),e([a({type:Boolean,reflect:!0})],t.prototype,"animated",2),e([a({type:Boolean,reflect:!0,attribute:"not-interactive"})],t.prototype,"notInteractive",2),e([a({type:String,reflect:!0})],t.prototype,"href",2),e([a({type:String,reflect:!0})],t.prototype,"target",2),e([a({reflect:!0})],t.prototype,"label",2),t=e([v("sd-7-0-0-next-10-map-marker")],t);export{t as a};
10
+ </svg>`}}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}isLink(){return!!this.href}render(){let i=this.isLink(),c=this.notInteractive?n`div`:i?n`a`:n`button`,h=d(this.marker[this.variant]),p=`url("data:image/svg+xml;utf8,${encodeURIComponent(this.marker[this.variant]).replace(/#/g,"%23")}")`;return o`<${c} part="base" class="${r("relative flex justify-center",!this.notInteractive&&"group focus-visible:focus-outline")}" href="${s(i?this.href:void 0)}" target="${s(i?this.target:void 0)}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" role="${s(this.notInteractive||i?void 0:"button")}" aria-label="${s(!this.notInteractive&&this.label?this.label:void 0)}" aria-labelledby="${s(!this.notInteractive&&!this.label?"content":void 0)}"><div part="marker" class="${r("relative inline-flex",this.animated&&(this.variant==="main"||this.variant==="place")&&"animate-bounce-once",this.variant==="cluster"&&this.state==="hover"&&"scale-110",this.variant==="cluster"&&!this.notInteractive&&"transition-transform duration-fast ease-in-out hover:scale-110",{cluster:"sd-7-0-0-next-11-map-marker--cluster-color-text",main:"sd-color-fill-accent",place:"sd-7-0-0-next-11-map-marker--pin-color-text"}[this.variant])}"><div id="motion-wrapper" part="motion-wrapper" class="${r("absolute inset-0 overflow-hidden pointer-events-none",{cluster:"sd-7-0-0-next-11-map-marker--cluster--default-color-background group-hover:sd-7-0-0-next-11-map-marker--cluster--hover-color-background",main:"sd-7-0-0-next-11-map-marker--main-color-background",place:"sd-7-0-0-next-11-map-marker--pin--default-color-background"}[this.variant])}" style="mask-image:${p};-webkit-mask-image:${p}"><div class="${r("absolute inset-0 transition-transform ease-in-out duration-fast translate-y-full group-hover:translate-y-0 group-active:translate-y-0",["hover","active"].includes(this.state)&&"!translate-y-0")}"><div class="${r("min-w-full min-h-full skew-y-[-11deg]",{cluster:"",main:this.state==="active"?"bg-accent-700":this.state==="hover"?"bg-accent-550":"group-hover:bg-accent-550 group-active:bg-accent-700",place:this.state==="active"||this.state==="hover"?"sd-7-0-0-next-11-map-marker--pin--hover-color-background":"group-active:bg-primary-200"}[this.variant])}"></div></div>${this.variant==="main"?o`<div id="marker-circle" class="absolute rounded-full"></div>`:""}</div>${h} ${this.variant==="cluster"?o`<div id="cluster-border" class="${r("absolute inset-0 sd-7-0-0-next-11-map-marker--cluster--default-color-background rounded-full opacity-30 hover:sd-7-0-0-next-11-map-marker--cluster--hover-color-background",this.state==="hover"&&"sd-7-0-0-next-11-map-marker--cluster--hover-color-background")}"></div>`:""}</div><div id="content" part="content" class="${r("absolute self-center pointer-events-none",this.variant==="cluster"&&"font-bold sd-7-0-0-next-11-map-marker--cluster-color-text",this.variant==="place"&&"font-bold sd-7-0-0-next-11-map-marker--pin-color-text")}"><slot></slot></div></${c}>`}};t.styles=[...l.styles,m`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
11
+ :host{display:block}#motion-wrapper{mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-position:center;-webkit-mask-position:center;mask-size:contain;-webkit-mask-size:contain}:host([variant=cluster]) [part=base],svg{width:calc(var(--sd-spacing-12,3rem) * var(--map-marker-scaling,1))}:host([variant=cluster]) [part=base]{height:calc(var(--sd-spacing-12,3rem) * var(--map-marker-scaling,1))}:host(:not([variant=cluster])) [part=base]{height:calc(var(--sd-spacing-16,4rem) * var(--map-marker-scaling,1))}:host([variant=cluster]) [part=content]{font-size:calc(var(--sd-font-size-sm,.875rem) * var(--map-marker-scaling,1))}:host([variant=place]) [part=content]{margin-top:calc(var(--sd-spacing-2) * -1);font-size:calc(var(--sd-font-size-3xl,2rem) * var(--map-marker-scaling,1))}:host([variant=cluster]) [part=motion-wrapper]>div>div{background-color:rgba(var(--sd-map-marker--cluster--hover-color-background))}:host([variant=main]) [part=marker],:host([variant=place]) [part=marker]{--tw-drop-shadow-size:drop-shadow(var(--sd-drop-shadow));--tw-drop-shadow:drop-shadow(var(--sd-drop-shadow));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}:host([variant=main]) #marker-circle{width:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1));height:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1));left:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1));right:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1));top:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1))}#marker-circle{background-color:rgba(var(--sd-color-icon-fill-white,rgba(var(--sd-color-white))))}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}`],e([a({type:String,reflect:!0})],t.prototype,"variant",2),e([a({type:String,reflect:!0})],t.prototype,"state",2),e([a({type:Boolean,reflect:!0})],t.prototype,"animated",2),e([a({type:Boolean,reflect:!0,attribute:"not-interactive"})],t.prototype,"notInteractive",2),e([a({type:String,reflect:!0})],t.prototype,"href",2),e([a({type:String,reflect:!0})],t.prototype,"target",2),e([a({reflect:!0})],t.prototype,"label",2),t=e([v("sd-7-0-0-next-11-map-marker")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- function h(d,{setValueOnSelection:l,scrollSelectionIntoView:p}={setValueOnSelection:!0,scrollSelectionIntoView:!0}){let r=d?typeof d=="string"?document.querySelector(d):d:document.querySelector("#autoComplete"),n=r.shadowRoot.querySelector("input"),c=e=>e[0];return n.addEventListener("init",()=>{var a,s;let e=(a=r.shadowRoot)==null?void 0:a.querySelector("ul");e==null||e.setAttribute("part","listbox");let t=document.createElement("sd-7-0-0-next-10-popup");t.appendChild(e),(s=r.shadowRoot)==null||s.appendChild(t),t==null||t.setAttribute("exportparts","popup__content"),t&&(t.active=!1,t.autoSize="vertical",t.autoSizePadding=16,t.placement="bottom-start",t.anchor=r,t.sync="width");let i=c`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
- sd-7-0-0-next-10-popup::part(popup){z-index:var(--sd-z-index-dropdown,900);overflow-y:scroll;border-bottom-right-radius:var(--sd-radius);border-bottom-left-radius:var(--sd-radius);border-style:var(--tw-border-style);border-width:var(--sd-border-width-2);border-top-style:var(--tw-border-style);border-top-width:0;border-color:rgba(var(--sd-color-border-primary));background-color:rgba(var(--sd-color-background-white));padding-inline:var(--sd-spacing-2);padding-block:var(--sd-spacing-3);--tw-shadow:var(--sd-shadow);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}sd-7-0-0-next-10-popup li{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,150ms))}sd-7-0-0-next-10-popup li:hover:not([disabled]){background-color:rgba(var(--sd-color-background-neutral-100))}sd-7-0-0-next-10-popup li{list-style-type:''}sd-7-0-0-next-10-popup li mark{background-color:transparent;--tw-font-weight:var(--sd-font-weight-bold);font-weight:var(--sd-font-weight-bold)}sd-7-0-0-next-10-popup li:not(:has(sd-7-0-0-next-10-option)){cursor:pointer;padding-inline:var(--sd-spacing-4);padding-block:var(--sd-spacing-3);font-size:var(--sd-text-base);line-height:var(--tw-leading,var(--text-base--line-height,calc(1.5 / 1)));color:rgba(var(--sd-color-text-black))}sd-7-0-0-next-10-popup li:not(:has(sd-7-0-0-next-10-option)):hover{background-color:rgba(var(--sd-color-background-neutral-200))}sd-7-0-0-next-10-popup li[aria-selected=true]{background-color:rgba(var(--sd-color-background-neutral-200))}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-font-weight{syntax:"*";inherits:false}`,o=new CSSStyleSheet;o.replaceSync(i),r.shadowRoot.adoptedStyleSheets=[...r.shadowRoot.adoptedStyleSheets,o]}),l&&n.addEventListener("selection",e=>{var t;r.value=(t=e==null?void 0:e.detail)==null?void 0:t.selection.value}),n.addEventListener("open",()=>{var e,t,i,o,a,s;(t=(e=r.shadowRoot)==null?void 0:e.querySelector("sd-7-0-0-next-10-popup"))==null||t.setAttribute("active","true"),(o=(i=r.shadowRoot)==null?void 0:i.querySelector('[part="border"]'))==null||o.classList.add("rounded-b-none"),(s=(a=r.shadowRoot)==null?void 0:a.querySelector('[part="form-control"]'))==null||s.classList.add("z-50")}),n.addEventListener("close",()=>{var e,t,i,o,a,s;(t=(e=r.shadowRoot)==null?void 0:e.querySelector("sd-7-0-0-next-10-popup"))==null||t.removeAttribute("active"),(o=(i=r.shadowRoot)==null?void 0:i.querySelector('[part="border"]'))==null||o.classList.remove("rounded-b-none"),(s=(a=r.shadowRoot)==null?void 0:a.querySelector('[part="form-control"]'))==null||s.classList.remove("z-50")}),p&&n.addEventListener("navigate",()=>{let e=r.shadowRoot.querySelector('[aria-selected="true"]');e==null||e.scrollIntoView({block:"nearest"})}),{config:{selector:()=>n,resultsList:{tag:"ul"},wrapper:!1}}}export{h as a};
1
+ function h(d,{setValueOnSelection:l,scrollSelectionIntoView:p}={setValueOnSelection:!0,scrollSelectionIntoView:!0}){let r=d?typeof d=="string"?document.querySelector(d):d:document.querySelector("#autoComplete"),n=r.shadowRoot.querySelector("input"),c=e=>e[0];return n.addEventListener("init",()=>{var a,s;let e=(a=r.shadowRoot)==null?void 0:a.querySelector("ul");e==null||e.setAttribute("part","listbox");let t=document.createElement("sd-7-0-0-next-11-popup");t.appendChild(e),(s=r.shadowRoot)==null||s.appendChild(t),t==null||t.setAttribute("exportparts","popup__content"),t&&(t.active=!1,t.autoSize="vertical",t.autoSizePadding=16,t.placement="bottom-start",t.anchor=r,t.sync="width");let i=c`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
+ sd-7-0-0-next-11-popup::part(popup){z-index:var(--sd-z-index-dropdown,900);overflow-y:scroll;border-bottom-right-radius:var(--sd-radius);border-bottom-left-radius:var(--sd-radius);border-style:var(--tw-border-style);border-width:var(--sd-border-width-2);border-top-style:var(--tw-border-style);border-top-width:0;border-color:rgba(var(--sd-color-border-primary));background-color:rgba(var(--sd-color-background-white));padding-inline:var(--sd-spacing-2);padding-block:var(--sd-spacing-3);--tw-shadow:var(--sd-shadow);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}sd-7-0-0-next-11-popup li{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,150ms))}sd-7-0-0-next-11-popup li:hover:not([disabled]){background-color:rgba(var(--sd-color-background-neutral-100))}sd-7-0-0-next-11-popup li{list-style-type:''}sd-7-0-0-next-11-popup li mark{background-color:transparent;--tw-font-weight:var(--sd-font-weight-bold);font-weight:var(--sd-font-weight-bold)}sd-7-0-0-next-11-popup li:not(:has(sd-7-0-0-next-11-option)){cursor:pointer;padding-inline:var(--sd-spacing-4);padding-block:var(--sd-spacing-3);font-size:var(--sd-text-base);line-height:var(--tw-leading,var(--text-base--line-height,calc(1.5 / 1)));color:rgba(var(--sd-color-text-black))}sd-7-0-0-next-11-popup li:not(:has(sd-7-0-0-next-11-option)):hover{background-color:rgba(var(--sd-color-background-neutral-200))}sd-7-0-0-next-11-popup li[aria-selected=true]{background-color:rgba(var(--sd-color-background-neutral-200))}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-font-weight{syntax:"*";inherits:false}`,o=new CSSStyleSheet;o.replaceSync(i),r.shadowRoot.adoptedStyleSheets=[...r.shadowRoot.adoptedStyleSheets,o]}),l&&n.addEventListener("selection",e=>{var t;r.value=(t=e==null?void 0:e.detail)==null?void 0:t.selection.value}),n.addEventListener("open",()=>{var e,t,i,o,a,s;(t=(e=r.shadowRoot)==null?void 0:e.querySelector("sd-7-0-0-next-11-popup"))==null||t.setAttribute("active","true"),(o=(i=r.shadowRoot)==null?void 0:i.querySelector('[part="border"]'))==null||o.classList.add("rounded-b-none"),(s=(a=r.shadowRoot)==null?void 0:a.querySelector('[part="form-control"]'))==null||s.classList.add("z-50")}),n.addEventListener("close",()=>{var e,t,i,o,a,s;(t=(e=r.shadowRoot)==null?void 0:e.querySelector("sd-7-0-0-next-11-popup"))==null||t.removeAttribute("active"),(o=(i=r.shadowRoot)==null?void 0:i.querySelector('[part="border"]'))==null||o.classList.remove("rounded-b-none"),(s=(a=r.shadowRoot)==null?void 0:a.querySelector('[part="form-control"]'))==null||s.classList.remove("z-50")}),p&&n.addEventListener("navigate",()=>{let e=r.shadowRoot.querySelector('[aria-selected="true"]');e==null||e.scrollIntoView({block:"nearest"})}),{config:{selector:()=>n,resultsList:{tag:"ul"},wrapper:!1}}}export{h as a};
@@ -1,2 +1,2 @@
1
- import{a as p,b,c as _}from"./chunk.IVHEBGOY.js";import{a as A}from"./chunk.ERP45OHF.js";import{b as D}from"./chunk.LZRL7OLU.js";import{a as d}from"./chunk.LHSR56PH.js";import{a as M}from"./chunk.CGQ2BPPZ.js";import{a as w}from"./chunk.MEDJPDBB.js";import{a as c}from"./chunk.4ZZFYCXX.js";import{a as C,b as h,d as f,e as I,h as T}from"./chunk.5B33ZALC.js";import{b as E,e as v}from"./chunk.OBAEIKIV.js";import{e as o}from"./chunk.6EV4YU6C.js";var l=class extends T{constructor(){super();this.formControlController=new D(this);this.hasSlotController=new M(this,"label","help-text");this.localize=new w(this);this.name="";this.label="";this.helpText="";this.min=0;this.max=100;this.step=1;this.disabled=!1;this.visuallyDisabled=!1;this.noTrackBar=!1;this.tooltip="on-interaction";this.defaultValue="";this._value=[0];this._rangeValues=new Map;this._lastChangeValue=[];this._hasFocus=!1;this._dragStyleElement=null;this._preventSelectStart=t=>t.preventDefault();this.tooltipFormatter=this.localize.number.bind(this.localize)}set value(t){this._value=t?t.split(" ").map(Number).sort(p):[]}get value(){return this._value.slice().sort(p).join(" ")}set valueAsArray(t){let e=this._value;this._value=Array.isArray(t)?t.slice().sort(p):t||[],b(e,this._value)&&this.requestUpdate("value",e.join(" "))}get valueAsArray(){return[...this._value].sort(p)}get rtl(){return this.localize.dir()==="rtl"}disconnectedCallback(){super.disconnectedCallback(),this._restoreTextSelection()}firstUpdated(){this.formControlController.updateValidity(),this._lastChangeValue=Array.from(this._value),this.thumbs.forEach(async t=>{var i,a;let e=t.parentElement;await e.updateComplete,(a=(i=e.shadowRoot)==null?void 0:i.querySelector("sd-7-0-0-next-10-popup"))==null||a.setAttribute("distance","14")})}willUpdate(t){super.willUpdate(t),this.min>this.max&&([this.min,this.max]=[this.max,this.min]),this.step>this.max-this.min&&(this.step=this.max-this.min),this.step<=0&&(this.step=1);let e=this._value.map(i=>{if(i<=this.min)return this.min;if(i>=this.max)return this.max;let a=this.min+this.step*Math.round((i-this.min)/this.step);return a>this.max?this.max:a});b(this._value,e)&&(this._value=e)}updated(t){super.updated(t);for(let e of this.thumbs){let i=+e.dataset.rangeId;this._rangeValues.has(i)&&(this.moveThumb(e,this._rangeValues.get(i)),this.tooltip==="always-visible"&&(e.parentElement.closeTrigger="manual",e.parentElement.show()))}this.updateActiveTrack()}focus(t){let e=this.thumbs.item(0);e?e.focus(t):super.focus(t)}get validity(){return this.input.validity}checkValidity(){var t;return(t=this.input)==null?void 0:t.checkValidity()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}updateTooltip(t){let e=+t.dataset.rangeId;if(!this._rangeValues.has(e))return;let i=this._rangeValues.get(e),a=t.parentElement;a.content=this.tooltipFormatter(i)}updateActiveTrack(){let{activeTrack:t}=this;if(!t)return;if(this.min===this.max){t.style.insetInlineStart="0%",t.style.insetInlineEnd="0%";return}if(this._value.length===1){let s=getComputedStyle(this).getPropertyValue("--track-active-offset")||"0%",n=100*(this._value[0]-this.min)/(this.max-this.min);t.style.insetInlineStart=`min(${s}, ${n}%)`,t.style.insetInlineEnd=`min(calc(100% - ${s}), calc(100% - ${n}%))`;return}let e=this._value.slice().sort(p),i=100*(e[0]-this.min)/(this.max-this.min),a=100*(e[e.length-1]-this.min)/(this.max-this.min);t.style.insetInlineStart=`${i}%`,t.style.insetInlineEnd=`calc(100% - ${a}%)`}moveThumb(t,e){t.setAttribute("aria-valuenow",e.toString()),t.setAttribute("aria-valuetext",this.tooltipFormatter(e));let i=(e-this.min)/(this.max-this.min);t.style.insetInlineStart=`calc(${100*i}% - 8px)`,this.updateTooltip(t)}movementBoundariesForThumb(t,e){let i=this.valueAsArray,s=Array.from(this.thumbs).indexOf(t),n=i[s-1]||this.min,r=i[s+1]||this.max,u=e<n||e>r;return{finalValue:Math.max(n,Math.min(r,e)),isRestricted:u,nextValue:r,prevValue:n}}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}onClickTrack(t,e=!0){if(this.disabled||this.visuallyDisabled)return;let{clientX:i}=t,a=Array.from(this.thumbs),s=_(this.inputWrapper,i),n=this.step/(this.max-this.min),r=this.min+this.step*Math.round(s/n),u=a.reduce((g,x)=>{let k=this._rangeValues.get(+x.dataset.rangeId),L=this._rangeValues.get(+g.dataset.rangeId),V=Math.abs(k-r),$=Math.abs(L-r);return V===$?k<r?x:g:V<$?x:g}),m=+u.dataset.rangeId;if(!m)return;this._rangeValues.set(m,r),this.moveThumb(u,r);let y=this._value;this._value=Array.from(this._rangeValues.values()),this.updateActiveTrack(),b(y,this._value)&&(this._lastChangeValue=Array.from(this._value),this.emit("sd-input"),this.emit("sd-change"));let F=new PointerEvent("pointerdown",t);e&&u.dispatchEvent(F)&&this.updateTooltip(u)}onClickTrackItem(t){this.onClickTrack(t,!1)}_preventTextSelection(){if(!this._dragStyleElement){let t=document.createElement("style");t.setAttribute("data-sd-7-0-0-next-10-range-drag",""),t.textContent="*, *::before, *::after { user-select: none !important; -webkit-user-select: none !important; }",document.head.appendChild(t),this._dragStyleElement=t}document.addEventListener("selectstart",this._preventSelectStart)}_restoreTextSelection(){this._dragStyleElement&&(this._dragStyleElement.remove(),this._dragStyleElement=null),document.removeEventListener("selectstart",this._preventSelectStart)}async onClickThumb(t){if(this.disabled||this.visuallyDisabled)return;let e=t.target;if(this.updateTooltip(e),e.dataset.pointerId)try{e.releasePointerCapture(+e.dataset.pointerId)}catch(i){}e.dataset.pointerId=t.pointerId.toString(),e.setPointerCapture(t.pointerId),this._preventTextSelection(),e.classList.add("grabbed"),this.tooltip==="on-interaction"&&await e.parentElement.show()}onDragThumb(t){if(this.disabled||this.visuallyDisabled)return;let e=t.target,i=+e.dataset.rangeId;if(!this._rangeValues.has(i)||(e.dataset.pointerId?+e.dataset.pointerId:null)!==t.pointerId)return;let s=_(this.inputWrapper,t.clientX),n=this.step/(this.max-this.min),r=this.min+this.step*Math.round(s/n);if(this.emit("sd-move",{cancelable:!0,detail:{element:e,value:r}}).defaultPrevented)return;let m=this.movementBoundariesForThumb(e,r);m.isRestricted?(r=m.finalValue,e.style.zIndex=(3+this.thumbs.length).toFixed(0)):e.style.zIndex="3",this._rangeValues.set(i,r),this.moveThumb(e,r);let y=this._value;this._value=Array.from(this._rangeValues.values()),this.updateActiveTrack(),b(y,this._value)&&this.emit("sd-input")}async onReleaseThumb(t){let e=t.target;!e.dataset.pointerId||t.pointerId!==+e.dataset.pointerId||(e.classList.remove("grabbed"),e.releasePointerCapture(t.pointerId),this._restoreTextSelection(),delete e.dataset.pointerId,b(this._lastChangeValue,this._value)&&(this._lastChangeValue=Array.from(this._value),this.emit("sd-change")),this.tooltip==="on-interaction"&&await e.parentElement.hide())}onKeyPress(t){let e=t.target,i=+e.dataset.rangeId,a=this._rangeValues.get(i);if(a===void 0)return;let s=a;switch(t.key){case"ArrowUp":case"Up":s=Math.min(a+this.step,this.max);break;case"ArrowDown":case"Down":s=Math.max(a-this.step,this.min);break;case"ArrowLeft":case"Left":s=this.rtl?Math.min(a+this.step,this.max):Math.max(a-this.step,this.min);break;case"ArrowRight":case"Right":s=this.rtl?Math.max(a-this.step,this.min):Math.min(a+this.step,this.max);break;case"PageUp":s=Math.min(a+(this.max-this.min)/5,this.max);break;case"PageDown":s=Math.max(a-(this.max-this.min)/5,this.min);break;case"Home":s=this.min;break;case"End":s=this.max;break;default:return}if(s!==a){if(this.emit("sd-move",{cancelable:!0,detail:{element:e,value:s}}).defaultPrevented)return;let r=this.movementBoundariesForThumb(e,s);r.isRestricted&&(s=r.finalValue),this.moveThumb(e,s),this._rangeValues.set(i,s),this._value=Array.from(this._rangeValues.values()),this.updateActiveTrack(),this.updateTooltip(e),this._lastChangeValue=Array.from(this._value),this.emit("sd-input"),this.emit("sd-change")}t.preventDefault()}onBlur(t){var e;t.relatedTarget&&((e=this.shadowRoot)!=null&&e.contains(t.relatedTarget))||(this.emit("sd-blur"),this._hasFocus=!1)}onFocusThumb(t){var i;if(this.disabled||this.visuallyDisabled)return;this._hasFocus||(this._hasFocus=!0,this.emit("sd-focus"));let e=t.target;(i=e==null?void 0:e.dataset)!=null&&i.rangeId&&this.updateTooltip(e)}renderThumbs(t){let e=this._value.length>1;return this._rangeValues.clear(),this._value.map((i,a)=>{let s=a+1;this._rangeValues.set(s,i);let n=`thumb-${s}`,r="",u="";return e?(u=t?`label aria-label-hidden ${n}`:`aria-label-hidden ${n}`,a===0?r=`${this.localize.term("minimum")} (${this.tooltipFormatter(i)})`:a===this._value.length-1?r=`${this.localize.term("maximum")} (${this.tooltipFormatter(i)})`:r=this.tooltipFormatter(i)):u=t?"label aria-label-hidden":"",v`<sd-7-0-0-next-10-tooltip trigger="${this.tooltip==="on-interaction"?"focus":"manual"}" disabled="${d(this.disabled||this.visuallyDisabled||this.tooltip==="hidden"?!0:void 0)}"><div id="${n}" part="thumb" role="slider" tabindex="${this.disabled||this.visuallyDisabled?-1:0}" aria-disabled="${d(this.disabled||this.visuallyDisabled?"true":void 0)}" aria-labelledby="${u}" aria-label="${r}" aria-valuemax="${this.max}" aria-valuemin="${this.min}" aria-valuenow="${i}" aria-valuetext="${this.tooltipFormatter(i)}" data-range-id="${s}" data-disabled="${d(this.disabled||this.visuallyDisabled||void 0)}" @pointerdown="${this.onClickThumb}" @pointermove="${this.onDragThumb}" @pointerup="${this.onReleaseThumb}" @pointercancel="${this.onReleaseThumb}" @keydown="${this.onKeyPress}" @focus="${this.onFocusThumb}" class="${c("rounded-full absolute top-0 size-4 hover:cursor-grab after:-inset-2",this.disabled||this.visuallyDisabled?"outline-none":"cursor-pointer focus-visible:focus-outline")}"></div></sd-7-0-0-next-10-tooltip>`})}render(){let t={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text")},e=!!(this.label||t.label),i=!!(this.helpText||t.helpText);return v`<div part="form-control" @focusout="${this.onBlur}" class="flex flex-col">${e?v`<div class="flex items-center gap-1"><label id="label" part="form-control-label" aria-hidden="${e?"false":"true"}" class="${c("w-full text-start",e?"inline-block":"hidden")}" @click="${this.focus}"><slot name="label">${this.label}</slot></label></div>`:null} <label id="aria-label-hidden" class="sr-only">(${this._value.map(this.tooltipFormatter).join(" - ")})</label><div part="base" class="${c("inline-flex w-full",this.visuallyDisabled&&"focus-visible:focus-outline")}" tabindex="${d(this.visuallyDisabled?"0":void 0)}"><div part="input-wrapper" class="relative flex-1 mx-2 mb-[10px]"><input id="input" tabindex="-1" hidden @invalid="${this.handleInvalid}"><div part="track-wrapper" role="presentation" @pointerdown="${this.onClickTrack}" class="relative cursor-pointer -mx-2"><div part="track-click-helper" class="absolute -inset-y-2 inset-x-0"></div><div part="track" data-disabled="${d(this.disabled||this.visuallyDisabled||void 0)}" class="${c("h-1 my-[6px]")}"></div><div part="active-track" hidden="${d(this.noTrackBar?!0:void 0)}" data-disabled="${d(this.disabled||this.visuallyDisabled||void 0)}" class="${c("absolute top-0 h-1")}"></div></div>${this.renderThumbs(e)}<div class="-mt-[10px]" part="scale-ticks" @pointerdown="${this.onClickTrackItem}" role="presentation"><slot name="scale-ticks"></slot></div></div></div><slot></slot><slot name="help-text" part="form-control-help-text" id="help-text" class="${c("text-sm text-neutral-700 mt-1",i?"block":"hidden")}" aria-hidden="${!i}">${this.helpText}</slot></div>`}};l.styles=[...T.styles,E`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- [part='base']{touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}[part=thumb]{background-color:rgba(var(--sd-color-icon-fill-primary,rgba(var(--sd-color-primary))))}[part=thumb]:hover{background-color:rgba(var(--sd-color-icon-fill-primary-500,rgba(var(--sd-color-primary-500))))}[part=thumb].grabbed{background-color:rgba(var(--sd-color-icon-fill-primary-800,rgba(var(--sd-color-primary-800))))}[part=thumb][data-disabled]{background-color:rgba(var(--sd-color-background-neutral-500,rgba(var(--sd-color-neutral-500))))}[part=track]{background-color:rgba(var(--sd-color-border-neutral-400,rgba(var(--sd-color-neutral-400))))}[part=track][data-disabled]{background-color:rgba(var(--sd-color-background-neutral-500,rgba(var(--sd-color-neutral-500))))}[part=active-track]{background-color:rgba(var(--sd-color-icon-fill-primary,rgba(var(--sd-color-primary))))}[part=active-track][data-disabled]{background-color:rgba(var(--sd-color-background-neutral-500,rgba(var(--sd-color-neutral-500))))}`],o([f("#input")],l.prototype,"input",2),o([f('[part="active-track"]')],l.prototype,"activeTrack",2),o([f('[part="input-wrapper"]')],l.prototype,"inputWrapper",2),o([I('[part="thumb"]')],l.prototype,"thumbs",2),o([h({attribute:!1})],l.prototype,"tooltipFormatter",2),o([h({type:String,reflect:!0})],l.prototype,"name",2),o([h({type:String,reflect:!0})],l.prototype,"label",2),o([h({attribute:"help-text",reflect:!0})],l.prototype,"helpText",2),o([h({type:Number,reflect:!0})],l.prototype,"min",2),o([h({type:Number,reflect:!0})],l.prototype,"max",2),o([h({type:Number,reflect:!0})],l.prototype,"step",2),o([h({type:Boolean,reflect:!0})],l.prototype,"disabled",2),o([h({attribute:"visually-disabled",type:Boolean,reflect:!0})],l.prototype,"visuallyDisabled",2),o([h({attribute:"no-track-bar",type:Boolean,reflect:!0})],l.prototype,"noTrackBar",2),o([h({attribute:"tooltip",type:String,reflect:!0})],l.prototype,"tooltip",2),o([A()],l.prototype,"defaultValue",2),o([h({type:String})],l.prototype,"value",1),l=o([C("sd-7-0-0-next-10-range")],l);export{l as a};
1
+ import{a as p,b,c as _}from"./chunk.IVHEBGOY.js";import{a as A}from"./chunk.ERP45OHF.js";import{b as D}from"./chunk.LZRL7OLU.js";import{a as d}from"./chunk.LHSR56PH.js";import{a as M}from"./chunk.CGQ2BPPZ.js";import{a as w}from"./chunk.MEDJPDBB.js";import{a as c}from"./chunk.4ZZFYCXX.js";import{a as C,b as h,d as f,e as I,h as T}from"./chunk.5B33ZALC.js";import{b as E,e as v}from"./chunk.OBAEIKIV.js";import{e as o}from"./chunk.6EV4YU6C.js";var l=class extends T{constructor(){super();this.formControlController=new D(this);this.hasSlotController=new M(this,"label","help-text");this.localize=new w(this);this.name="";this.label="";this.helpText="";this.min=0;this.max=100;this.step=1;this.disabled=!1;this.visuallyDisabled=!1;this.noTrackBar=!1;this.tooltip="on-interaction";this.defaultValue="";this._value=[0];this._rangeValues=new Map;this._lastChangeValue=[];this._hasFocus=!1;this._dragStyleElement=null;this._preventSelectStart=t=>t.preventDefault();this.tooltipFormatter=this.localize.number.bind(this.localize)}set value(t){this._value=t?t.split(" ").map(Number).sort(p):[]}get value(){return this._value.slice().sort(p).join(" ")}set valueAsArray(t){let e=this._value;this._value=Array.isArray(t)?t.slice().sort(p):t||[],b(e,this._value)&&this.requestUpdate("value",e.join(" "))}get valueAsArray(){return[...this._value].sort(p)}get rtl(){return this.localize.dir()==="rtl"}disconnectedCallback(){super.disconnectedCallback(),this._restoreTextSelection()}firstUpdated(){this.formControlController.updateValidity(),this._lastChangeValue=Array.from(this._value),this.thumbs.forEach(async t=>{var i,a;let e=t.parentElement;await e.updateComplete,(a=(i=e.shadowRoot)==null?void 0:i.querySelector("sd-7-0-0-next-11-popup"))==null||a.setAttribute("distance","14")})}willUpdate(t){super.willUpdate(t),this.min>this.max&&([this.min,this.max]=[this.max,this.min]),this.step>this.max-this.min&&(this.step=this.max-this.min),this.step<=0&&(this.step=1);let e=this._value.map(i=>{if(i<=this.min)return this.min;if(i>=this.max)return this.max;let a=this.min+this.step*Math.round((i-this.min)/this.step);return a>this.max?this.max:a});b(this._value,e)&&(this._value=e)}updated(t){super.updated(t);for(let e of this.thumbs){let i=+e.dataset.rangeId;this._rangeValues.has(i)&&(this.moveThumb(e,this._rangeValues.get(i)),this.tooltip==="always-visible"&&(e.parentElement.closeTrigger="manual",e.parentElement.show()))}this.updateActiveTrack()}focus(t){let e=this.thumbs.item(0);e?e.focus(t):super.focus(t)}get validity(){return this.input.validity}checkValidity(){var t;return(t=this.input)==null?void 0:t.checkValidity()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}updateTooltip(t){let e=+t.dataset.rangeId;if(!this._rangeValues.has(e))return;let i=this._rangeValues.get(e),a=t.parentElement;a.content=this.tooltipFormatter(i)}updateActiveTrack(){let{activeTrack:t}=this;if(!t)return;if(this.min===this.max){t.style.insetInlineStart="0%",t.style.insetInlineEnd="0%";return}if(this._value.length===1){let s=getComputedStyle(this).getPropertyValue("--track-active-offset")||"0%",n=100*(this._value[0]-this.min)/(this.max-this.min);t.style.insetInlineStart=`min(${s}, ${n}%)`,t.style.insetInlineEnd=`min(calc(100% - ${s}), calc(100% - ${n}%))`;return}let e=this._value.slice().sort(p),i=100*(e[0]-this.min)/(this.max-this.min),a=100*(e[e.length-1]-this.min)/(this.max-this.min);t.style.insetInlineStart=`${i}%`,t.style.insetInlineEnd=`calc(100% - ${a}%)`}moveThumb(t,e){t.setAttribute("aria-valuenow",e.toString()),t.setAttribute("aria-valuetext",this.tooltipFormatter(e));let i=(e-this.min)/(this.max-this.min);t.style.insetInlineStart=`calc(${100*i}% - 8px)`,this.updateTooltip(t)}movementBoundariesForThumb(t,e){let i=this.valueAsArray,s=Array.from(this.thumbs).indexOf(t),n=i[s-1]||this.min,r=i[s+1]||this.max,u=e<n||e>r;return{finalValue:Math.max(n,Math.min(r,e)),isRestricted:u,nextValue:r,prevValue:n}}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}onClickTrack(t,e=!0){if(this.disabled||this.visuallyDisabled)return;let{clientX:i}=t,a=Array.from(this.thumbs),s=_(this.inputWrapper,i),n=this.step/(this.max-this.min),r=this.min+this.step*Math.round(s/n),u=a.reduce((g,x)=>{let k=this._rangeValues.get(+x.dataset.rangeId),L=this._rangeValues.get(+g.dataset.rangeId),V=Math.abs(k-r),$=Math.abs(L-r);return V===$?k<r?x:g:V<$?x:g}),m=+u.dataset.rangeId;if(!m)return;this._rangeValues.set(m,r),this.moveThumb(u,r);let y=this._value;this._value=Array.from(this._rangeValues.values()),this.updateActiveTrack(),b(y,this._value)&&(this._lastChangeValue=Array.from(this._value),this.emit("sd-input"),this.emit("sd-change"));let F=new PointerEvent("pointerdown",t);e&&u.dispatchEvent(F)&&this.updateTooltip(u)}onClickTrackItem(t){this.onClickTrack(t,!1)}_preventTextSelection(){if(!this._dragStyleElement){let t=document.createElement("style");t.setAttribute("data-sd-7-0-0-next-11-range-drag",""),t.textContent="*, *::before, *::after { user-select: none !important; -webkit-user-select: none !important; }",document.head.appendChild(t),this._dragStyleElement=t}document.addEventListener("selectstart",this._preventSelectStart)}_restoreTextSelection(){this._dragStyleElement&&(this._dragStyleElement.remove(),this._dragStyleElement=null),document.removeEventListener("selectstart",this._preventSelectStart)}async onClickThumb(t){if(this.disabled||this.visuallyDisabled)return;let e=t.target;if(this.updateTooltip(e),e.dataset.pointerId)try{e.releasePointerCapture(+e.dataset.pointerId)}catch(i){}e.dataset.pointerId=t.pointerId.toString(),e.setPointerCapture(t.pointerId),this._preventTextSelection(),e.classList.add("grabbed"),this.tooltip==="on-interaction"&&await e.parentElement.show()}onDragThumb(t){if(this.disabled||this.visuallyDisabled)return;let e=t.target,i=+e.dataset.rangeId;if(!this._rangeValues.has(i)||(e.dataset.pointerId?+e.dataset.pointerId:null)!==t.pointerId)return;let s=_(this.inputWrapper,t.clientX),n=this.step/(this.max-this.min),r=this.min+this.step*Math.round(s/n);if(this.emit("sd-move",{cancelable:!0,detail:{element:e,value:r}}).defaultPrevented)return;let m=this.movementBoundariesForThumb(e,r);m.isRestricted?(r=m.finalValue,e.style.zIndex=(3+this.thumbs.length).toFixed(0)):e.style.zIndex="3",this._rangeValues.set(i,r),this.moveThumb(e,r);let y=this._value;this._value=Array.from(this._rangeValues.values()),this.updateActiveTrack(),b(y,this._value)&&this.emit("sd-input")}async onReleaseThumb(t){let e=t.target;!e.dataset.pointerId||t.pointerId!==+e.dataset.pointerId||(e.classList.remove("grabbed"),e.releasePointerCapture(t.pointerId),this._restoreTextSelection(),delete e.dataset.pointerId,b(this._lastChangeValue,this._value)&&(this._lastChangeValue=Array.from(this._value),this.emit("sd-change")),this.tooltip==="on-interaction"&&await e.parentElement.hide())}onKeyPress(t){let e=t.target,i=+e.dataset.rangeId,a=this._rangeValues.get(i);if(a===void 0)return;let s=a;switch(t.key){case"ArrowUp":case"Up":s=Math.min(a+this.step,this.max);break;case"ArrowDown":case"Down":s=Math.max(a-this.step,this.min);break;case"ArrowLeft":case"Left":s=this.rtl?Math.min(a+this.step,this.max):Math.max(a-this.step,this.min);break;case"ArrowRight":case"Right":s=this.rtl?Math.max(a-this.step,this.min):Math.min(a+this.step,this.max);break;case"PageUp":s=Math.min(a+(this.max-this.min)/5,this.max);break;case"PageDown":s=Math.max(a-(this.max-this.min)/5,this.min);break;case"Home":s=this.min;break;case"End":s=this.max;break;default:return}if(s!==a){if(this.emit("sd-move",{cancelable:!0,detail:{element:e,value:s}}).defaultPrevented)return;let r=this.movementBoundariesForThumb(e,s);r.isRestricted&&(s=r.finalValue),this.moveThumb(e,s),this._rangeValues.set(i,s),this._value=Array.from(this._rangeValues.values()),this.updateActiveTrack(),this.updateTooltip(e),this._lastChangeValue=Array.from(this._value),this.emit("sd-input"),this.emit("sd-change")}t.preventDefault()}onBlur(t){var e;t.relatedTarget&&((e=this.shadowRoot)!=null&&e.contains(t.relatedTarget))||(this.emit("sd-blur"),this._hasFocus=!1)}onFocusThumb(t){var i;if(this.disabled||this.visuallyDisabled)return;this._hasFocus||(this._hasFocus=!0,this.emit("sd-focus"));let e=t.target;(i=e==null?void 0:e.dataset)!=null&&i.rangeId&&this.updateTooltip(e)}renderThumbs(t){let e=this._value.length>1;return this._rangeValues.clear(),this._value.map((i,a)=>{let s=a+1;this._rangeValues.set(s,i);let n=`thumb-${s}`,r="",u="";return e?(u=t?`label aria-label-hidden ${n}`:`aria-label-hidden ${n}`,a===0?r=`${this.localize.term("minimum")} (${this.tooltipFormatter(i)})`:a===this._value.length-1?r=`${this.localize.term("maximum")} (${this.tooltipFormatter(i)})`:r=this.tooltipFormatter(i)):u=t?"label aria-label-hidden":"",v`<sd-7-0-0-next-11-tooltip trigger="${this.tooltip==="on-interaction"?"focus":"manual"}" disabled="${d(this.disabled||this.visuallyDisabled||this.tooltip==="hidden"?!0:void 0)}"><div id="${n}" part="thumb" role="slider" tabindex="${this.disabled||this.visuallyDisabled?-1:0}" aria-disabled="${d(this.disabled||this.visuallyDisabled?"true":void 0)}" aria-labelledby="${u}" aria-label="${r}" aria-valuemax="${this.max}" aria-valuemin="${this.min}" aria-valuenow="${i}" aria-valuetext="${this.tooltipFormatter(i)}" data-range-id="${s}" data-disabled="${d(this.disabled||this.visuallyDisabled||void 0)}" @pointerdown="${this.onClickThumb}" @pointermove="${this.onDragThumb}" @pointerup="${this.onReleaseThumb}" @pointercancel="${this.onReleaseThumb}" @keydown="${this.onKeyPress}" @focus="${this.onFocusThumb}" class="${c("rounded-full absolute top-0 size-4 hover:cursor-grab after:-inset-2",this.disabled||this.visuallyDisabled?"outline-none":"cursor-pointer focus-visible:focus-outline")}"></div></sd-7-0-0-next-11-tooltip>`})}render(){let t={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text")},e=!!(this.label||t.label),i=!!(this.helpText||t.helpText);return v`<div part="form-control" @focusout="${this.onBlur}" class="flex flex-col">${e?v`<div class="flex items-center gap-1"><label id="label" part="form-control-label" aria-hidden="${e?"false":"true"}" class="${c("w-full text-start",e?"inline-block":"hidden")}" @click="${this.focus}"><slot name="label">${this.label}</slot></label></div>`:null} <label id="aria-label-hidden" class="sr-only">(${this._value.map(this.tooltipFormatter).join(" - ")})</label><div part="base" class="${c("inline-flex w-full",this.visuallyDisabled&&"focus-visible:focus-outline")}" tabindex="${d(this.visuallyDisabled?"0":void 0)}"><div part="input-wrapper" class="relative flex-1 mx-2 mb-[10px]"><input id="input" tabindex="-1" hidden @invalid="${this.handleInvalid}"><div part="track-wrapper" role="presentation" @pointerdown="${this.onClickTrack}" class="relative cursor-pointer -mx-2"><div part="track-click-helper" class="absolute -inset-y-2 inset-x-0"></div><div part="track" data-disabled="${d(this.disabled||this.visuallyDisabled||void 0)}" class="${c("h-1 my-[6px]")}"></div><div part="active-track" hidden="${d(this.noTrackBar?!0:void 0)}" data-disabled="${d(this.disabled||this.visuallyDisabled||void 0)}" class="${c("absolute top-0 h-1")}"></div></div>${this.renderThumbs(e)}<div class="-mt-[10px]" part="scale-ticks" @pointerdown="${this.onClickTrackItem}" role="presentation"><slot name="scale-ticks"></slot></div></div></div><slot></slot><slot name="help-text" part="form-control-help-text" id="help-text" class="${c("text-sm text-neutral-700 mt-1",i?"block":"hidden")}" aria-hidden="${!i}">${this.helpText}</slot></div>`}};l.styles=[...T.styles,E`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ [part='base']{touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}[part=thumb]{background-color:rgba(var(--sd-color-icon-fill-primary,rgba(var(--sd-color-primary))))}[part=thumb]:hover{background-color:rgba(var(--sd-color-icon-fill-primary-500,rgba(var(--sd-color-primary-500))))}[part=thumb].grabbed{background-color:rgba(var(--sd-color-icon-fill-primary-800,rgba(var(--sd-color-primary-800))))}[part=thumb][data-disabled]{background-color:rgba(var(--sd-color-background-neutral-500,rgba(var(--sd-color-neutral-500))))}[part=track]{background-color:rgba(var(--sd-color-border-neutral-400,rgba(var(--sd-color-neutral-400))))}[part=track][data-disabled]{background-color:rgba(var(--sd-color-background-neutral-500,rgba(var(--sd-color-neutral-500))))}[part=active-track]{background-color:rgba(var(--sd-color-icon-fill-primary,rgba(var(--sd-color-primary))))}[part=active-track][data-disabled]{background-color:rgba(var(--sd-color-background-neutral-500,rgba(var(--sd-color-neutral-500))))}`],o([f("#input")],l.prototype,"input",2),o([f('[part="active-track"]')],l.prototype,"activeTrack",2),o([f('[part="input-wrapper"]')],l.prototype,"inputWrapper",2),o([I('[part="thumb"]')],l.prototype,"thumbs",2),o([h({attribute:!1})],l.prototype,"tooltipFormatter",2),o([h({type:String,reflect:!0})],l.prototype,"name",2),o([h({type:String,reflect:!0})],l.prototype,"label",2),o([h({attribute:"help-text",reflect:!0})],l.prototype,"helpText",2),o([h({type:Number,reflect:!0})],l.prototype,"min",2),o([h({type:Number,reflect:!0})],l.prototype,"max",2),o([h({type:Number,reflect:!0})],l.prototype,"step",2),o([h({type:Boolean,reflect:!0})],l.prototype,"disabled",2),o([h({attribute:"visually-disabled",type:Boolean,reflect:!0})],l.prototype,"visuallyDisabled",2),o([h({attribute:"no-track-bar",type:Boolean,reflect:!0})],l.prototype,"noTrackBar",2),o([h({attribute:"tooltip",type:String,reflect:!0})],l.prototype,"tooltip",2),o([A()],l.prototype,"defaultValue",2),o([h({type:String})],l.prototype,"value",1),l=o([C("sd-7-0-0-next-11-range")],l);export{l as a};
@@ -1,2 +1,2 @@
1
- import{a as m,b as g,c as b,d as h,h as u}from"./chunk.5B33ZALC.js";import{b as d,e as c}from"./chunk.OBAEIKIV.js";import{e as l}from"./chunk.6EV4YU6C.js";var s=class extends u{constructor(){super(...arguments);this.disableRole=!1;this.label=""}handleFocus(e){let t=a(e.target);t==null||t.classList.add("sd-7-0-0-next-10-button-group__button--focus")}handleBlur(e){let t=a(e.target);t==null||t.classList.remove("sd-7-0-0-next-10-button-group__button--focus")}handleMouseOver(e){let t=a(e.target);t==null||t.classList.add("sd-7-0-0-next-10-button-group__button--hover")}handleMouseOut(e){let t=a(e.target);t==null||t.classList.remove("sd-7-0-0-next-10-button-group__button--hover")}handleSlotChange(){let e=[...this.defaultSlot.assignedElements({flatten:!0})];e.forEach(t=>{let n=e.indexOf(t),o=a(t);o!==null&&(o.classList.add("sd-7-0-0-next-10-button-group__button"),o.classList.toggle("sd-7-0-0-next-10-button-group__button--first",n===0),o.classList.toggle("sd-7-0-0-next-10-button-group__button--inner",n>0&&n<e.length-1),o.classList.toggle("sd-7-0-0-next-10-button-group__button--last",n===e.length-1),o.classList.toggle("sd-7-0-0-next-10-button-group__button--radio",o.tagName.toLowerCase()==="sd-7-0-0-next-10-radio-button"))})}render(){return c`<slot part="base" role="${this.disableRole?"presentation":"group"}" aria-label="${this.label}" @focusout="${this.handleBlur}" @focusin="${this.handleFocus}" @mouseover="${this.handleMouseOver}" @mouseout="${this.handleMouseOut}" @slotchange="${this.handleSlotChange}"></slot>`}};s.styles=[...u.styles,d`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{display:inline-block}[part=base]{display:flex;flex-wrap:nowrap}`],l([h("slot")],s.prototype,"defaultSlot",2),l([b()],s.prototype,"disableRole",2),l([g({type:String,reflect:!0})],s.prototype,"label",2),s=l([m("sd-7-0-0-next-10-button-group")],s);function a(r){var e;let i="sd-7-0-0-next-10-button, sd-7-0-0-next-10-radio-button";return(e=r.closest(i))!=null?e:r.querySelector(i)}export{s as a};
1
+ import{a as m,b as g,c as b,d as h,h as u}from"./chunk.5B33ZALC.js";import{b as d,e as c}from"./chunk.OBAEIKIV.js";import{e as l}from"./chunk.6EV4YU6C.js";var s=class extends u{constructor(){super(...arguments);this.disableRole=!1;this.label=""}handleFocus(e){let t=a(e.target);t==null||t.classList.add("sd-7-0-0-next-11-button-group__button--focus")}handleBlur(e){let t=a(e.target);t==null||t.classList.remove("sd-7-0-0-next-11-button-group__button--focus")}handleMouseOver(e){let t=a(e.target);t==null||t.classList.add("sd-7-0-0-next-11-button-group__button--hover")}handleMouseOut(e){let t=a(e.target);t==null||t.classList.remove("sd-7-0-0-next-11-button-group__button--hover")}handleSlotChange(){let e=[...this.defaultSlot.assignedElements({flatten:!0})];e.forEach(t=>{let n=e.indexOf(t),o=a(t);o!==null&&(o.classList.add("sd-7-0-0-next-11-button-group__button"),o.classList.toggle("sd-7-0-0-next-11-button-group__button--first",n===0),o.classList.toggle("sd-7-0-0-next-11-button-group__button--inner",n>0&&n<e.length-1),o.classList.toggle("sd-7-0-0-next-11-button-group__button--last",n===e.length-1),o.classList.toggle("sd-7-0-0-next-11-button-group__button--radio",o.tagName.toLowerCase()==="sd-7-0-0-next-11-radio-button"))})}render(){return c`<slot part="base" role="${this.disableRole?"presentation":"group"}" aria-label="${this.label}" @focusout="${this.handleBlur}" @focusin="${this.handleFocus}" @mouseover="${this.handleMouseOver}" @mouseout="${this.handleMouseOut}" @slotchange="${this.handleSlotChange}"></slot>`}};s.styles=[...u.styles,d`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{display:inline-block}[part=base]{display:flex;flex-wrap:nowrap}`],l([h("slot")],s.prototype,"defaultSlot",2),l([b()],s.prototype,"disableRole",2),l([g({type:String,reflect:!0})],s.prototype,"label",2),s=l([m("sd-7-0-0-next-11-button-group")],s);function a(r){var e;let i="sd-7-0-0-next-11-button, sd-7-0-0-next-11-radio-button";return(e=r.closest(i))!=null?e:r.querySelector(i)}export{s as a};
@@ -1,2 +1,2 @@
1
- import{a as w}from"./chunk.SAEYIL5V.js";import{a as $}from"./chunk.ERP45OHF.js";import{b as x}from"./chunk.LZRL7OLU.js";import{a as r}from"./chunk.LHSR56PH.js";import{a as C}from"./chunk.CGQ2BPPZ.js";import{a as s}from"./chunk.4ZZFYCXX.js";import{a as d}from"./chunk.NYKJXI3Q.js";import{a as g,b as i,c,d as b,h as m}from"./chunk.5B33ZALC.js";import{b as y,e as o}from"./chunk.OBAEIKIV.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends m{constructor(){super(...arguments);this.formControlController=new x(this);this.hasSlotController=new C(this,"help-text","label");this.hasFocus=!1;this.showValidStyle=!1;this.showInvalidStyle=!1;this.title="";this.name="";this.value="";this.size="lg";this.label="";this.helpText="";this.placeholder="";this.rows=4;this.disabled=!1;this.visuallyDisabled=!1;this.readonly=!1;this.form="";this.required=!1;this.floatingLabel=!1;this.styleOnValid=!1;this.spellcheck=!0;this.defaultValue=""}get validity(){return this.textarea.validity}get validationMessage(){return this.textarea.validationMessage}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.setTextareaHeight()})}firstUpdated(){this.formControlController.updateValidity()}disconnectedCallback(){super.disconnectedCallback()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleChange(){this.value=this.textarea.value,this.setTextareaHeight(),this.emit("sd-change")}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleInput(){if(this.visuallyDisabled){this.textarea.value=this.value;return}this.value=this.textarea.value,this.formControlController.updateValidity(),this.emit("sd-input")}handleInvalid(l){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(l),this.invalidMessage.textContent=l.target.validationMessage}setTextareaHeight(){this.textarea.style.height=void 0}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleRowsChange(){this.setTextareaHeight()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity(),this.setTextareaHeight()}handleSizeChange(){this.size=this.floatingLabel&&this.size==="sm"?"md":this.size}focus(l){this.textarea.focus(l)}blur(){this.textarea.blur()}select(){this.textarea.select()}scrollPosition(l){if(l){typeof l.top=="number"&&(this.textarea.scrollTop=l.top),typeof l.left=="number"&&(this.textarea.scrollLeft=l.left);return}return{top:this.textarea.scrollTop,left:this.textarea.scrollTop}}setSelectionRange(l,a,n="none"){this.textarea.setSelectionRange(l,a,n)}setRangeText(l,a,n,p){this.textarea.setRangeText(l,a,n,p),this.value!==this.textarea.value&&(this.value=this.textarea.value),this.value!==this.textarea.value&&(this.value=this.textarea.value,this.setTextareaHeight())}checkValidity(){var l;return(l=this.textarea)==null?void 0:l.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.textarea.reportValidity()}setCustomValidity(l){this.textarea.setCustomValidity(l),this.formControlController.updateValidity()}render(){let l={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text"),tooltip:this.hasSlotController.test("tooltip")},a=this.label?!0:!!l.label,n=this.helpText?!0:!!l.helpText,p=!!l.tooltip,V=this.value!==null&&String(this.value).length>0,h=this.floatingLabel&&a&&(this.hasFocus&&!this.visuallyDisabled||V),u=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?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",f=this.size==="sm"?"text-sm":"text-base",v={sm:"text-base top-1",md:"text-lg top-2",lg:"text-xl top-2"}[this.size];return o`<div part="form-control" class="flex flex-col h-full text-left">${a&&!this.floatingLabel||p?o`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${s(a?"inline-block":"hidden",f,this.visuallyDisabled||this.disabled?"text-neutral-500":" form-control-color-text")}" for="input" aria-hidden="${a?"false":"true"}"><slot name="label">${this.label}</slot></label> ${l.tooltip?o`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${s("relative h-full w-full",this.disabled&&"cursor-not-allowed")}">${a&&this.floatingLabel?o`<label id="label" part="form-control-floating-label" class="${s("absolute left-4 z-20 transition-all duration-200 cursor-text",f,h?"top-2 text-xs":"top-2.5 form-control-color-text")}" for="input"><span class="${s("leading-none",(this.visuallyDisabled||this.disabled)&&"text-neutral-500",h&&!this.visuallyDisabled&&!this.disabled&&"form-control--filled__floating-label-color-text")}">${this.label}</span></label>`:null}<div part="border" class="${s("absolute w-full h-full pointer-events-none border form-control-border-radius 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"}[u])}"></div><div part="base" class="${s("textarea h-full flex items-top form-control-border-radius group transition-colors duration-medium hover:duration-fast ease-in-out",this.floatingLabel&&"pt-6",{sm:"textarea-sm",md:"textarea-md",lg:"textarea-lg"}[this.size],!this.disabled&&!this.readonly&&!this.visuallyDisabled?"hover:[@media(hover:hover)]:form-control--hover-color-background":"",this.readonly?"form-control--read-only-color-background":"bg-white",u==="disabled"||u==="visuallyDisabled"?"text-neutral-500":"text-black",["invalid","activeInvalid"].includes(u)&&"form-control--invalid-color-background")}"><textarea part="textarea" id="input" class="${s("ps-4 flex-grow focus:outline-none bg-transparent placeholder:text-neutral-700 resize-none group-has-[sd-7-0-0-next-10-icon]:pe-8",{sm:h?"pb-1":"py-2",md:h?"pb-1":"py-2",lg:h?"pb-2":"py-2"}[this.size],this.disabled&&"cursor-not-allowed",f)}" title="${this.title}" name="${r(this.name)}" .value="${w(this.value)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" ?visually-disabled="${this.visuallyDisabled}" placeholder="${!this.floatingLabel||h?r(this.placeholder):""}" minlength="${r(this.minlength)}" maxlength="${r(this.maxlength)}" rows="${r(this.rows)}" autocapitalize="${r(this.autocapitalize)}" autocorrect="${r(this.autocorrect===void 0?void 0:this.autocorrect?"on":"off")}" ?autofocus="${this.autofocus}" spellcheck="${r(this.spellcheck)}" enterkeyhint="${r(this.enterkeyhint)}" inputmode="${r(this.inputmode)}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" aria-disabled="${this.disabled||this.visuallyDisabled}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"></textarea> ${this.showInvalidStyle?o`<sd-7-0-0-next-10-icon class="${s("text-error absolute right-4 pointer-events-none",v)}" library="_internal" name="risk" part="invalid-icon"></sd-7-0-0-next-10-icon>`:""} ${this.styleOnValid&&this.showValidStyle?o`<sd-7-0-0-next-10-icon class="${s("text-success absolute right-4 pointer-events-none",v)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-7-0-0-next-10-icon>`:""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${s("text-sm mt-1",n&&!this.showInvalidStyle?"block":"hidden",this.visuallyDisabled||this.disabled?"text-neutral-500":"text-neutral-700")}" aria-hidden="${!n||this.showInvalidStyle}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage(this.size)}`}};t.styles=[...m.styles,y`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{display:block;height:100%}:host textarea{scrollbar-gutter:stable}: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([required]) #label::after{content:' *'}:host([visually-disabled]) textarea{caret-color:transparent}.no-scrollbar::-webkit-scrollbar{display:none}`],e([b("#input")],t.prototype,"textarea",2),e([b("#invalid-message")],t.prototype,"invalidMessage",2),e([c()],t.prototype,"hasFocus",2),e([c()],t.prototype,"showValidStyle",2),e([c()],t.prototype,"showInvalidStyle",2),e([i({type:String,reflect:!0})],t.prototype,"title",2),e([i({type:String,reflect:!0})],t.prototype,"name",2),e([i()],t.prototype,"value",2),e([i({type:String,reflect:!0})],t.prototype,"size",2),e([i({type:String,reflect:!0})],t.prototype,"label",2),e([i({type:String,attribute:"help-text",reflect:!0})],t.prototype,"helpText",2),e([i({type:String,reflect:!0})],t.prototype,"placeholder",2),e([i({type:Number,reflect:!0})],t.prototype,"rows",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:Boolean,reflect:!0})],t.prototype,"readonly",2),e([i({type:String,reflect:!0})],t.prototype,"form",2),e([i({type:Boolean,reflect:!0})],t.prototype,"required",2),e([i({attribute:"floating-label",type:Boolean,reflect:!0})],t.prototype,"floatingLabel",2),e([i({type:Number,reflect:!0})],t.prototype,"minlength",2),e([i({type:Number,reflect:!0})],t.prototype,"maxlength",2),e([i({type:String,reflect:!0})],t.prototype,"autocapitalize",2),e([i({type:Boolean,reflect:!0,converter:{fromAttribute:l=>l!=="off",toAttribute:l=>l?"on":"off"}})],t.prototype,"autocorrect",2),e([i({reflect:!0})],t.prototype,"autocomplete",2),e([i({type:Boolean,reflect:!0})],t.prototype,"autofocus",2),e([i({type:String,reflect:!0})],t.prototype,"enterkeyhint",2),e([i({type:Boolean,reflect:!0,attribute:"style-on-valid"})],t.prototype,"styleOnValid",2),e([i({type:Boolean,converter:{fromAttribute:l=>!(!l||l==="false"),toAttribute:l=>l?"true":"false"}})],t.prototype,"spellcheck",2),e([i({type:String,reflect:!0})],t.prototype,"inputmode",2),e([$()],t.prototype,"defaultValue",2),e([d("disabled",{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),e([d("rows",{waitUntilFirstUpdate:!0})],t.prototype,"handleRowsChange",1),e([d("value",{waitUntilFirstUpdate:!0})],t.prototype,"handleValueChange",1),e([d(["size","floatingLabel"])],t.prototype,"handleSizeChange",1),t=e([g("sd-7-0-0-next-10-textarea")],t);export{t as a};
1
+ import{a as w}from"./chunk.SAEYIL5V.js";import{a as $}from"./chunk.ERP45OHF.js";import{b as x}from"./chunk.LZRL7OLU.js";import{a as r}from"./chunk.LHSR56PH.js";import{a as C}from"./chunk.CGQ2BPPZ.js";import{a as s}from"./chunk.4ZZFYCXX.js";import{a as d}from"./chunk.NYKJXI3Q.js";import{a as g,b as i,c,d as b,h as m}from"./chunk.5B33ZALC.js";import{b as y,e as o}from"./chunk.OBAEIKIV.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends m{constructor(){super(...arguments);this.formControlController=new x(this);this.hasSlotController=new C(this,"help-text","label");this.hasFocus=!1;this.showValidStyle=!1;this.showInvalidStyle=!1;this.title="";this.name="";this.value="";this.size="lg";this.label="";this.helpText="";this.placeholder="";this.rows=4;this.disabled=!1;this.visuallyDisabled=!1;this.readonly=!1;this.form="";this.required=!1;this.floatingLabel=!1;this.styleOnValid=!1;this.spellcheck=!0;this.defaultValue=""}get validity(){return this.textarea.validity}get validationMessage(){return this.textarea.validationMessage}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.setTextareaHeight()})}firstUpdated(){this.formControlController.updateValidity()}disconnectedCallback(){super.disconnectedCallback()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleChange(){this.value=this.textarea.value,this.setTextareaHeight(),this.emit("sd-change")}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleInput(){if(this.visuallyDisabled){this.textarea.value=this.value;return}this.value=this.textarea.value,this.formControlController.updateValidity(),this.emit("sd-input")}handleInvalid(l){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(l),this.invalidMessage.textContent=l.target.validationMessage}setTextareaHeight(){this.textarea.style.height=void 0}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleRowsChange(){this.setTextareaHeight()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity(),this.setTextareaHeight()}handleSizeChange(){this.size=this.floatingLabel&&this.size==="sm"?"md":this.size}focus(l){this.textarea.focus(l)}blur(){this.textarea.blur()}select(){this.textarea.select()}scrollPosition(l){if(l){typeof l.top=="number"&&(this.textarea.scrollTop=l.top),typeof l.left=="number"&&(this.textarea.scrollLeft=l.left);return}return{top:this.textarea.scrollTop,left:this.textarea.scrollTop}}setSelectionRange(l,a,n="none"){this.textarea.setSelectionRange(l,a,n)}setRangeText(l,a,n,p){this.textarea.setRangeText(l,a,n,p),this.value!==this.textarea.value&&(this.value=this.textarea.value),this.value!==this.textarea.value&&(this.value=this.textarea.value,this.setTextareaHeight())}checkValidity(){var l;return(l=this.textarea)==null?void 0:l.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.textarea.reportValidity()}setCustomValidity(l){this.textarea.setCustomValidity(l),this.formControlController.updateValidity()}render(){let l={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text"),tooltip:this.hasSlotController.test("tooltip")},a=this.label?!0:!!l.label,n=this.helpText?!0:!!l.helpText,p=!!l.tooltip,V=this.value!==null&&String(this.value).length>0,h=this.floatingLabel&&a&&(this.hasFocus&&!this.visuallyDisabled||V),u=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?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",f=this.size==="sm"?"text-sm":"text-base",v={sm:"text-base top-1",md:"text-lg top-2",lg:"text-xl top-2"}[this.size];return o`<div part="form-control" class="flex flex-col h-full text-left">${a&&!this.floatingLabel||p?o`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${s(a?"inline-block":"hidden",f,this.visuallyDisabled||this.disabled?"text-neutral-500":" form-control-color-text")}" for="input" aria-hidden="${a?"false":"true"}"><slot name="label">${this.label}</slot></label> ${l.tooltip?o`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${s("relative h-full w-full",this.disabled&&"cursor-not-allowed")}">${a&&this.floatingLabel?o`<label id="label" part="form-control-floating-label" class="${s("absolute left-4 z-20 transition-all duration-200 cursor-text",f,h?"top-2 text-xs":"top-2.5 form-control-color-text")}" for="input"><span class="${s("leading-none",(this.visuallyDisabled||this.disabled)&&"text-neutral-500",h&&!this.visuallyDisabled&&!this.disabled&&"form-control--filled__floating-label-color-text")}">${this.label}</span></label>`:null}<div part="border" class="${s("absolute w-full h-full pointer-events-none border form-control-border-radius 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"}[u])}"></div><div part="base" class="${s("textarea h-full flex items-top form-control-border-radius group transition-colors duration-medium hover:duration-fast ease-in-out",this.floatingLabel&&"pt-6",{sm:"textarea-sm",md:"textarea-md",lg:"textarea-lg"}[this.size],!this.disabled&&!this.readonly&&!this.visuallyDisabled?"hover:[@media(hover:hover)]:form-control--hover-color-background":"",this.readonly?"form-control--read-only-color-background":"bg-white",u==="disabled"||u==="visuallyDisabled"?"text-neutral-500":"text-black",["invalid","activeInvalid"].includes(u)&&"form-control--invalid-color-background")}"><textarea part="textarea" id="input" class="${s("ps-4 flex-grow focus:outline-none bg-transparent placeholder:text-neutral-700 resize-none group-has-[sd-7-0-0-next-11-icon]:pe-8",{sm:h?"pb-1":"py-2",md:h?"pb-1":"py-2",lg:h?"pb-2":"py-2"}[this.size],this.disabled&&"cursor-not-allowed",f)}" title="${this.title}" name="${r(this.name)}" .value="${w(this.value)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" ?visually-disabled="${this.visuallyDisabled}" placeholder="${!this.floatingLabel||h?r(this.placeholder):""}" minlength="${r(this.minlength)}" maxlength="${r(this.maxlength)}" rows="${r(this.rows)}" autocapitalize="${r(this.autocapitalize)}" autocorrect="${r(this.autocorrect===void 0?void 0:this.autocorrect?"on":"off")}" ?autofocus="${this.autofocus}" spellcheck="${r(this.spellcheck)}" enterkeyhint="${r(this.enterkeyhint)}" inputmode="${r(this.inputmode)}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" aria-disabled="${this.disabled||this.visuallyDisabled}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"></textarea> ${this.showInvalidStyle?o`<sd-7-0-0-next-11-icon class="${s("text-error absolute right-4 pointer-events-none",v)}" library="_internal" name="risk" part="invalid-icon"></sd-7-0-0-next-11-icon>`:""} ${this.styleOnValid&&this.showValidStyle?o`<sd-7-0-0-next-11-icon class="${s("text-success absolute right-4 pointer-events-none",v)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-7-0-0-next-11-icon>`:""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${s("text-sm mt-1",n&&!this.showInvalidStyle?"block":"hidden",this.visuallyDisabled||this.disabled?"text-neutral-500":"text-neutral-700")}" aria-hidden="${!n||this.showInvalidStyle}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage(this.size)}`}};t.styles=[...m.styles,y`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{display:block;height:100%}:host textarea{scrollbar-gutter:stable}: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([required]) #label::after{content:' *'}:host([visually-disabled]) textarea{caret-color:transparent}.no-scrollbar::-webkit-scrollbar{display:none}`],e([b("#input")],t.prototype,"textarea",2),e([b("#invalid-message")],t.prototype,"invalidMessage",2),e([c()],t.prototype,"hasFocus",2),e([c()],t.prototype,"showValidStyle",2),e([c()],t.prototype,"showInvalidStyle",2),e([i({type:String,reflect:!0})],t.prototype,"title",2),e([i({type:String,reflect:!0})],t.prototype,"name",2),e([i()],t.prototype,"value",2),e([i({type:String,reflect:!0})],t.prototype,"size",2),e([i({type:String,reflect:!0})],t.prototype,"label",2),e([i({type:String,attribute:"help-text",reflect:!0})],t.prototype,"helpText",2),e([i({type:String,reflect:!0})],t.prototype,"placeholder",2),e([i({type:Number,reflect:!0})],t.prototype,"rows",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:Boolean,reflect:!0})],t.prototype,"readonly",2),e([i({type:String,reflect:!0})],t.prototype,"form",2),e([i({type:Boolean,reflect:!0})],t.prototype,"required",2),e([i({attribute:"floating-label",type:Boolean,reflect:!0})],t.prototype,"floatingLabel",2),e([i({type:Number,reflect:!0})],t.prototype,"minlength",2),e([i({type:Number,reflect:!0})],t.prototype,"maxlength",2),e([i({type:String,reflect:!0})],t.prototype,"autocapitalize",2),e([i({type:Boolean,reflect:!0,converter:{fromAttribute:l=>l!=="off",toAttribute:l=>l?"on":"off"}})],t.prototype,"autocorrect",2),e([i({reflect:!0})],t.prototype,"autocomplete",2),e([i({type:Boolean,reflect:!0})],t.prototype,"autofocus",2),e([i({type:String,reflect:!0})],t.prototype,"enterkeyhint",2),e([i({type:Boolean,reflect:!0,attribute:"style-on-valid"})],t.prototype,"styleOnValid",2),e([i({type:Boolean,converter:{fromAttribute:l=>!(!l||l==="false"),toAttribute:l=>l?"true":"false"}})],t.prototype,"spellcheck",2),e([i({type:String,reflect:!0})],t.prototype,"inputmode",2),e([$()],t.prototype,"defaultValue",2),e([d("disabled",{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),e([d("rows",{waitUntilFirstUpdate:!0})],t.prototype,"handleRowsChange",1),e([d("value",{waitUntilFirstUpdate:!0})],t.prototype,"handleValueChange",1),e([d(["size","floatingLabel"])],t.prototype,"handleSizeChange",1),t=e([g("sd-7-0-0-next-11-textarea")],t);export{t as a};
@@ -1,4 +1,4 @@
1
- import{a as f}from"./chunk.ICEC5PGK.js";import{b as c}from"./chunk.QQD62QOV.js";import{e as l,i as u}from"./chunk.OBAEIKIV.js";var v=()=>new p,p=class{},h=new WeakMap,b=c(class extends f{render(i){return u}update(i,[e]){var t;let s=e!==this.G;return s&&this.rt(void 0),(s||this.lt!==this.ct)&&(this.G=e,this.ht=(t=i.options)==null?void 0:t.host,this.rt(this.ct=i.element)),u}rt(i){var e;if(this.G!==void 0)if(this.isConnected||(i=void 0),typeof this.G=="function"){let s=(e=this.ht)!=null?e:globalThis,t=h.get(s);t===void 0&&(t=new WeakMap,h.set(s,t)),t.get(this.G)!==void 0&&this.G.call(this.ht,void 0),t.set(this.G,i),i!==void 0&&this.G.call(this.ht,i)}else this.G.value=i}get lt(){var i,e,s;return typeof this.G=="function"?(e=h.get((i=this.ht)!=null?i:globalThis))==null?void 0:e.get(this.G):(s=this.G)==null?void 0:s.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var g=class{constructor(e,s){this.popupRef=v();this.enableSubmenuTimer=-1;this.isConnected=!1;this.isPopupConnected=!1;this.skidding=0;this.submenuOpenDelay=100;this.handleMouseMove=e=>{this.host.style.setProperty("--safe-triangle-cursor-x",`${e.clientX}px`),this.host.style.setProperty("--safe-triangle-cursor-y",`${e.clientY}px`)};this.handleMouseOver=()=>{this.hasSlotController.test("submenu")&&this.enableSubmenu()};this.handleKeyDown=e=>{switch(e.key){case"Escape":case"Tab":this.disableSubmenu();break;case"ArrowLeft":e.target!==this.host&&(e.preventDefault(),e.stopPropagation(),this.host.focus(),this.disableSubmenu());break;case"ArrowRight":case"Enter":case" ":this.handleSubmenuEntry(e);break;default:break}};this.handleClick=e=>{var s;e.target===this.host?(e.preventDefault(),e.stopPropagation()):e.target instanceof Element&&(e.target.tagName==="sd-7-0-0-next-10-menu-item"||(s=e.target.role)!=null&&s.startsWith("menuitem"))&&e.target.getAttribute("type")!=="checkbox"&&this.disableSubmenu()};this.handleFocusOut=e=>{e.relatedTarget&&e.relatedTarget instanceof Element&&this.host.contains(e.relatedTarget)||this.disableSubmenu()};this.handlePopupMouseover=e=>{e.stopPropagation()};this.handlePopupReposition=()=>{let e=this.host.renderRoot.querySelector("slot[name='submenu']"),s=e==null?void 0:e.assignedElements({flatten:!0}).filter(d=>d.localName==="sd-7-0-0-next-10-menu")[0],t=getComputedStyle(this.host).direction==="rtl";if(!s)return;let{left:o,top:n,width:r,height:a}=s.getBoundingClientRect();this.host.style.setProperty("--safe-triangle-submenu-start-x",`${t?o+r:o}px`),this.host.style.setProperty("--safe-triangle-submenu-start-y",`${n}px`),this.host.style.setProperty("--safe-triangle-submenu-end-x",`${t?o+r:o}px`),this.host.style.setProperty("--safe-triangle-submenu-end-y",`${n+a}px`)};(this.host=e).addController(this),this.hasSlotController=s}hostConnected(){this.hasSlotController.test("submenu")&&!this.host.disabled&&this.addListeners()}hostDisconnected(){this.removeListeners()}hostUpdated(){this.hasSlotController.test("submenu")&&!this.host.disabled?(this.addListeners(),this.updateSkidding()):this.removeListeners()}addListeners(){this.isConnected||(this.host.addEventListener("mousemove",this.handleMouseMove),this.host.addEventListener("mouseover",this.handleMouseOver),this.host.addEventListener("keydown",this.handleKeyDown),this.host.addEventListener("click",this.handleClick),this.host.addEventListener("focusout",this.handleFocusOut),this.isConnected=!0),this.isPopupConnected||this.popupRef.value&&(this.popupRef.value.addEventListener("mouseover",this.handlePopupMouseover),this.popupRef.value.addEventListener("sd-reposition",this.handlePopupReposition),this.isPopupConnected=!0)}removeListeners(){this.isConnected&&(this.host.removeEventListener("mousemove",this.handleMouseMove),this.host.removeEventListener("mouseover",this.handleMouseOver),this.host.removeEventListener("keydown",this.handleKeyDown),this.host.removeEventListener("click",this.handleClick),this.host.removeEventListener("focusout",this.handleFocusOut),this.isConnected=!1),this.isPopupConnected&&this.popupRef.value&&(this.popupRef.value.removeEventListener("mouseover",this.handlePopupMouseover),this.popupRef.value.removeEventListener("sd-reposition",this.handlePopupReposition),this.isPopupConnected=!1)}handleSubmenuEntry(e){let s=this.host.renderRoot.querySelector("slot[name='submenu']");if(!s){console.error("Cannot activate a submenu if no corresponding menuitem can be found.",this);return}let t=null;for(let o of s.assignedElements())if(t=o.querySelectorAll("sd-7-0-0-next-10-menu-item, [role^='menuitem']"),t.length!==0)break;if(!(!t||t.length===0)){t[0].setAttribute("tabindex","0");for(let o=1;o!==t.length;++o)t[o].setAttribute("tabindex","-1");this.popupRef.value&&(e.preventDefault(),e.stopPropagation(),this.popupRef.value.active?t[0]instanceof HTMLElement&&t[0].focus():(this.enableSubmenu(!1),this.host.updateComplete.then(()=>{t[0]instanceof HTMLElement&&t[0].focus()}),this.host.requestUpdate()))}}setSubmenuState(e){this.popupRef.value&&this.popupRef.value.active!==e&&(this.popupRef.value.active=e,this.host.requestUpdate())}enableSubmenu(e=!0){e?(window.clearTimeout(this.enableSubmenuTimer),this.enableSubmenuTimer=window.setTimeout(()=>{this.setSubmenuState(!0)},this.submenuOpenDelay)):this.setSubmenuState(!0)}disableSubmenu(){window.clearTimeout(this.enableSubmenuTimer),this.setSubmenuState(!1)}updateSkidding(){var o;if(!((o=this.host.parentElement)!=null&&o.computedStyleMap))return;let e=this.host.parentElement.computedStyleMap(),t=["padding-top","border-top-width","margin-top"].reduce((n,r)=>{var m;let a=(m=e.get(r))!=null?m:new CSSUnitValue(0,"px"),S=(a instanceof CSSUnitValue?a:new CSSUnitValue(0,"px")).to("px");return n-S.value},0);this.skidding=t}isExpanded(){return this.popupRef.value?this.popupRef.value.active:!1}renderSubmenu(){let e=getComputedStyle(this.host).direction==="rtl";return this.isConnected?l`<sd-7-0-0-next-10-popup ${b(this.popupRef)} placement="${e?"left-start":"right-start"}" anchor="anchor" flip flip-fallback-strategy="best-fit" skidding="${this.skidding}" strategy="fixed" auto-size="vertical" auto-size-padding="10"><slot name="submenu"></slot></sd-7-0-0-next-10-popup>`:l`<slot name="submenu" hidden></slot>`}};export{g as a};
1
+ import{a as f}from"./chunk.ICEC5PGK.js";import{b as c}from"./chunk.QQD62QOV.js";import{e as l,i as u}from"./chunk.OBAEIKIV.js";var v=()=>new p,p=class{},h=new WeakMap,b=c(class extends f{render(i){return u}update(i,[e]){var t;let s=e!==this.G;return s&&this.rt(void 0),(s||this.lt!==this.ct)&&(this.G=e,this.ht=(t=i.options)==null?void 0:t.host,this.rt(this.ct=i.element)),u}rt(i){var e;if(this.G!==void 0)if(this.isConnected||(i=void 0),typeof this.G=="function"){let s=(e=this.ht)!=null?e:globalThis,t=h.get(s);t===void 0&&(t=new WeakMap,h.set(s,t)),t.get(this.G)!==void 0&&this.G.call(this.ht,void 0),t.set(this.G,i),i!==void 0&&this.G.call(this.ht,i)}else this.G.value=i}get lt(){var i,e,s;return typeof this.G=="function"?(e=h.get((i=this.ht)!=null?i:globalThis))==null?void 0:e.get(this.G):(s=this.G)==null?void 0:s.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var g=class{constructor(e,s){this.popupRef=v();this.enableSubmenuTimer=-1;this.isConnected=!1;this.isPopupConnected=!1;this.skidding=0;this.submenuOpenDelay=100;this.handleMouseMove=e=>{this.host.style.setProperty("--safe-triangle-cursor-x",`${e.clientX}px`),this.host.style.setProperty("--safe-triangle-cursor-y",`${e.clientY}px`)};this.handleMouseOver=()=>{this.hasSlotController.test("submenu")&&this.enableSubmenu()};this.handleKeyDown=e=>{switch(e.key){case"Escape":case"Tab":this.disableSubmenu();break;case"ArrowLeft":e.target!==this.host&&(e.preventDefault(),e.stopPropagation(),this.host.focus(),this.disableSubmenu());break;case"ArrowRight":case"Enter":case" ":this.handleSubmenuEntry(e);break;default:break}};this.handleClick=e=>{var s;e.target===this.host?(e.preventDefault(),e.stopPropagation()):e.target instanceof Element&&(e.target.tagName==="sd-7-0-0-next-11-menu-item"||(s=e.target.role)!=null&&s.startsWith("menuitem"))&&e.target.getAttribute("type")!=="checkbox"&&this.disableSubmenu()};this.handleFocusOut=e=>{e.relatedTarget&&e.relatedTarget instanceof Element&&this.host.contains(e.relatedTarget)||this.disableSubmenu()};this.handlePopupMouseover=e=>{e.stopPropagation()};this.handlePopupReposition=()=>{let e=this.host.renderRoot.querySelector("slot[name='submenu']"),s=e==null?void 0:e.assignedElements({flatten:!0}).filter(d=>d.localName==="sd-7-0-0-next-11-menu")[0],t=getComputedStyle(this.host).direction==="rtl";if(!s)return;let{left:o,top:n,width:r,height:a}=s.getBoundingClientRect();this.host.style.setProperty("--safe-triangle-submenu-start-x",`${t?o+r:o}px`),this.host.style.setProperty("--safe-triangle-submenu-start-y",`${n}px`),this.host.style.setProperty("--safe-triangle-submenu-end-x",`${t?o+r:o}px`),this.host.style.setProperty("--safe-triangle-submenu-end-y",`${n+a}px`)};(this.host=e).addController(this),this.hasSlotController=s}hostConnected(){this.hasSlotController.test("submenu")&&!this.host.disabled&&this.addListeners()}hostDisconnected(){this.removeListeners()}hostUpdated(){this.hasSlotController.test("submenu")&&!this.host.disabled?(this.addListeners(),this.updateSkidding()):this.removeListeners()}addListeners(){this.isConnected||(this.host.addEventListener("mousemove",this.handleMouseMove),this.host.addEventListener("mouseover",this.handleMouseOver),this.host.addEventListener("keydown",this.handleKeyDown),this.host.addEventListener("click",this.handleClick),this.host.addEventListener("focusout",this.handleFocusOut),this.isConnected=!0),this.isPopupConnected||this.popupRef.value&&(this.popupRef.value.addEventListener("mouseover",this.handlePopupMouseover),this.popupRef.value.addEventListener("sd-reposition",this.handlePopupReposition),this.isPopupConnected=!0)}removeListeners(){this.isConnected&&(this.host.removeEventListener("mousemove",this.handleMouseMove),this.host.removeEventListener("mouseover",this.handleMouseOver),this.host.removeEventListener("keydown",this.handleKeyDown),this.host.removeEventListener("click",this.handleClick),this.host.removeEventListener("focusout",this.handleFocusOut),this.isConnected=!1),this.isPopupConnected&&this.popupRef.value&&(this.popupRef.value.removeEventListener("mouseover",this.handlePopupMouseover),this.popupRef.value.removeEventListener("sd-reposition",this.handlePopupReposition),this.isPopupConnected=!1)}handleSubmenuEntry(e){let s=this.host.renderRoot.querySelector("slot[name='submenu']");if(!s){console.error("Cannot activate a submenu if no corresponding menuitem can be found.",this);return}let t=null;for(let o of s.assignedElements())if(t=o.querySelectorAll("sd-7-0-0-next-11-menu-item, [role^='menuitem']"),t.length!==0)break;if(!(!t||t.length===0)){t[0].setAttribute("tabindex","0");for(let o=1;o!==t.length;++o)t[o].setAttribute("tabindex","-1");this.popupRef.value&&(e.preventDefault(),e.stopPropagation(),this.popupRef.value.active?t[0]instanceof HTMLElement&&t[0].focus():(this.enableSubmenu(!1),this.host.updateComplete.then(()=>{t[0]instanceof HTMLElement&&t[0].focus()}),this.host.requestUpdate()))}}setSubmenuState(e){this.popupRef.value&&this.popupRef.value.active!==e&&(this.popupRef.value.active=e,this.host.requestUpdate())}enableSubmenu(e=!0){e?(window.clearTimeout(this.enableSubmenuTimer),this.enableSubmenuTimer=window.setTimeout(()=>{this.setSubmenuState(!0)},this.submenuOpenDelay)):this.setSubmenuState(!0)}disableSubmenu(){window.clearTimeout(this.enableSubmenuTimer),this.setSubmenuState(!1)}updateSkidding(){var o;if(!((o=this.host.parentElement)!=null&&o.computedStyleMap))return;let e=this.host.parentElement.computedStyleMap(),t=["padding-top","border-top-width","margin-top"].reduce((n,r)=>{var m;let a=(m=e.get(r))!=null?m:new CSSUnitValue(0,"px"),S=(a instanceof CSSUnitValue?a:new CSSUnitValue(0,"px")).to("px");return n-S.value},0);this.skidding=t}isExpanded(){return this.popupRef.value?this.popupRef.value.active:!1}renderSubmenu(){let e=getComputedStyle(this.host).direction==="rtl";return this.isConnected?l`<sd-7-0-0-next-11-popup ${b(this.popupRef)} placement="${e?"left-start":"right-start"}" anchor="anchor" flip flip-fallback-strategy="best-fit" skidding="${this.skidding}" strategy="fixed" auto-size="vertical" auto-size-padding="10"><slot name="submenu"></slot></sd-7-0-0-next-11-popup>`:l`<slot name="submenu" hidden></slot>`}};export{g as a};
2
2
  /*! Bundled license information:
3
3
 
4
4
  lit-html/directives/ref.js:
@@ -1,5 +1,5 @@
1
- import{a as c}from"./chunk.CGQ2BPPZ.js";import{a as r}from"./chunk.4ZZFYCXX.js";import{a as s,b as i,d,h as n}from"./chunk.5B33ZALC.js";import{b as l,e}from"./chunk.OBAEIKIV.js";import{e as a}from"./chunk.6EV4YU6C.js";var t=class extends n{constructor(){super(...arguments);this.variant="white";this.open=!1;this.hasSlotController=new c(this,"[default]","media","meta","headline","expandable")}onToggleClick(){this.open=!this.open}render(){let o={"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 e`<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/60 to-white/0",this.variant==="gradient-dark"&&"bg-gradient-to-t from-primary-800/60 to-primary-800/0")}"></div><div class="${r("relative",["primary","gradient-dark"].includes(this.variant)&&"text-white")}"><div class="${r("absolute inset-0 pointer-events-none",{white:"sd-7-0-0-next-10-teaser-media--white-color-background group-hover:sd-7-0-0-next-10-teaser-media--white--hover-color-background ","neutral-100":"sd-7-0-0-next-10-teaser-media--neutral-100-color-background group-hover:sd-7-0-0-next-10-teaser-media--neutral-100--hover-color-background",primary:"bg-primary/80 text-white group-hover:bg-primary/90","primary-100":"sd-7-0-0-next-10-teaser-media--primary-100-color-background group-hover:sd-7-0-0-next-10-teaser-media--primary-100--hover-color-background","gradient-light":"bg-gradient-to-t from-white/75 to-white/60","gradient-dark":"bg-gradient-to-t from-primary-800/75 to-primary-800/60"}[this.variant])}"></div><div class="relative flex 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</slot></div><div part="meta" class="${r("gap-2 mb-2 order-1",!o["teaser-has-meta"]&&"hidden")}"><slot name="meta"></slot></div></div><div part="main" class="${r(!o["teaser-has-default"]&&"hidden")}"><slot></slot></div><div class="${r("mt-3 transition-opacity duration-300",!this.open&&"hidden",this.open?"opacity-100":"opacity-0")}" part="expandable" aria-hidden="true"><slot name="expandable"></slot></div>${o["teaser-has-expandable"]?e`<button part="toggle" class="${r("mt-2",["primary","gradient-dark"].includes(this.variant)?"text-white":"sd-7-0-0-next-10-teaser-media-color-icon-fill")}" @click="${this.onToggleClick}" aria-expanded="${this.open}" aria-label="${this.open?"Collapse content":"Expand content"}"><div class="h-full justify-start flex items-start"><sd-7-0-0-next-10-icon class="${r("w-6 h-6 transition-transform",this.open&&"rotate-180")}" library="_internal" name="chevron-down"></sd-7-0-0-next-10-icon></div></button>`:null}</div></div></div><div class="${r("mb-4 -z-10",!o["teaser-has-media"]&&"hidden")}" part="media"><slot name="media"></slot></div></div>`}};t.styles=[...n.styles,l`/*! tailwindcss v4.3.2 | 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.4ZZFYCXX.js";import{a as s,b as i,d,h as n}from"./chunk.5B33ZALC.js";import{b as l,e}from"./chunk.OBAEIKIV.js";import{e as a}from"./chunk.6EV4YU6C.js";var t=class extends n{constructor(){super(...arguments);this.variant="white";this.open=!1;this.hasSlotController=new c(this,"[default]","media","meta","headline","expandable")}onToggleClick(){this.open=!this.open}render(){let o={"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 e`<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/60 to-white/0",this.variant==="gradient-dark"&&"bg-gradient-to-t from-primary-800/60 to-primary-800/0")}"></div><div class="${r("relative",["primary","gradient-dark"].includes(this.variant)&&"text-white")}"><div class="${r("absolute inset-0 pointer-events-none",{white:"sd-7-0-0-next-11-teaser-media--white-color-background group-hover:sd-7-0-0-next-11-teaser-media--white--hover-color-background ","neutral-100":"sd-7-0-0-next-11-teaser-media--neutral-100-color-background group-hover:sd-7-0-0-next-11-teaser-media--neutral-100--hover-color-background",primary:"bg-primary/80 text-white group-hover:bg-primary/90","primary-100":"sd-7-0-0-next-11-teaser-media--primary-100-color-background group-hover:sd-7-0-0-next-11-teaser-media--primary-100--hover-color-background","gradient-light":"bg-gradient-to-t from-white/75 to-white/60","gradient-dark":"bg-gradient-to-t from-primary-800/75 to-primary-800/60"}[this.variant])}"></div><div class="relative flex 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</slot></div><div part="meta" class="${r("gap-2 mb-2 order-1",!o["teaser-has-meta"]&&"hidden")}"><slot name="meta"></slot></div></div><div part="main" class="${r(!o["teaser-has-default"]&&"hidden")}"><slot></slot></div><div class="${r("mt-3 transition-opacity duration-300",!this.open&&"hidden",this.open?"opacity-100":"opacity-0")}" part="expandable" aria-hidden="true"><slot name="expandable"></slot></div>${o["teaser-has-expandable"]?e`<button part="toggle" class="${r("mt-2",["primary","gradient-dark"].includes(this.variant)?"text-white":"sd-7-0-0-next-11-teaser-media-color-icon-fill")}" @click="${this.onToggleClick}" aria-expanded="${this.open}" aria-label="${this.open?"Collapse content":"Expand content"}"><div class="h-full justify-start flex items-start"><sd-7-0-0-next-11-icon class="${r("w-6 h-6 transition-transform",this.open&&"rotate-180")}" library="_internal" name="chevron-bottom"></sd-7-0-0-next-11-icon></div></button>`:null}</div></div></div><div class="${r("mb-4 -z-10",!o["teaser-has-media"]&&"hidden")}" part="media"><slot name="media"></slot></div></div>`}};t.styles=[...n.styles,l`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{display:block}::slotted(*){margin: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)
5
- )}[part=toggle]{width:-moz-fit-content;width:fit-content;outline-color:transparent}:host([variant=gradient-dark]) [part=toggle]:focus-visible,:host([variant=primary]) [part=toggle]:focus-visible{outline-color:rgba(var(--sd-color-text-white))}`],a([i({type:String,reflect:!0})],t.prototype,"variant",2),a([i({type:Boolean,reflect:!0})],t.prototype,"open",2),a([d('[part="base"]')],t.prototype,"teaserMedia",2),t=a([s("sd-7-0-0-next-10-teaser-media")],t);export{t as a};
5
+ )}[part=toggle]{width:-moz-fit-content;width:fit-content;outline-color:transparent}:host([variant=gradient-dark]) [part=toggle]:focus-visible,:host([variant=primary]) [part=toggle]:focus-visible{outline-color:rgba(var(--sd-color-text-white))}`],a([i({type:String,reflect:!0})],t.prototype,"variant",2),a([i({type:Boolean,reflect:!0})],t.prototype,"open",2),a([d('[part="base"]')],t.prototype,"teaserMedia",2),t=a([s("sd-7-0-0-next-11-teaser-media")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as d}from"./chunk.SAEYIL5V.js";import{a as b}from"./chunk.ERP45OHF.js";import{b as m}from"./chunk.LZRL7OLU.js";import{a as p}from"./chunk.LHSR56PH.js";import{a as l}from"./chunk.4ZZFYCXX.js";import{a as n}from"./chunk.NYKJXI3Q.js";import{a as u,b as r,c as h,d as a,h as o}from"./chunk.5B33ZALC.js";import{b as c,e as s}from"./chunk.OBAEIKIV.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends o{constructor(){super(...arguments);this.formControlController=new m(this,{value:e=>e.checked?e.value||"on":void 0,defaultValue:e=>e.defaultChecked,setValue:(e,v)=>e.checked=v});this.title="";this.name="";this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.checked=!1;this.indeterminate=!1;this.defaultChecked=!1;this.form="";this.required=!1;this.showInvalidStyle=!1}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleClick(e){if(this.visuallyDisabled){e.preventDefault(),e.stopPropagation();return}this.checked=!this.checked,this.indeterminate=!1,this.emit("sd-change")}handleBlur(){this.emit("sd-blur")}handleInput(){this.emit("sd-input")}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e),this.invalidMessage.textContent=e.target.validationMessage}handleFocus(){this.emit("sd-focus")}handleDisabledChange(){let e=this.disabled||this.visuallyDisabled;this.setAttribute("aria-disabled",e?"true":"false"),this.formControlController.setValidity(e)}handleStateChange(){this.input.checked=this.checked,this.input.indeterminate=this.indeterminate,this.formControlController.updateValidity()}click(){this.input.click()}focus(e){this.input.focus(e)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(e){this.input.setCustomValidity(e),this.formControlController.updateValidity()}render(){let e=this.disabled&&this.indeterminate?"disabledIndeterminate":this.disabled&&this.checked?"disabledChecked":this.disabled?"disabled":this.visuallyDisabled?"visuallyDisabled":this.showInvalidStyle&&this.indeterminate?"invalidIndeterminate":this.showInvalidStyle?"invalid":this.checked||this.indeterminate?"filled":"default";return s`<div class="flex flex-col"><label part="base" class="${l("sd-7-0-0-next-10-checkbox group flex items-start text-base leading-normal text-black cursor-pointer",(this.disabled||this.visuallyDisabled)&&"hover:cursor-not-allowed",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}"><input class="peer absolute opacity-0 p-0 m-0 pointer-events-none" type="checkbox" title="${this.title}" name="${this.name}" value="${p(this.value)}" .indeterminate="${d(this.indeterminate)}" .checked="${d(this.checked)}" .disabled="${this.disabled}" .required="${this.required}" aria-checked="${this.indeterminate?"mixed":this.checked}" aria-describedby="invalid-message" aria-invalid="${this.showInvalidStyle}" aria-disabled="${this.disabled||this.visuallyDisabled?"true":"false"}" @click="${this.handleClick}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @blur="${this.handleBlur}" @focus="${this.handleFocus}"> <span id="control" part="control ${this.checked?" control--checked":"control--unchecked"} ${this.indeterminate?" control--indeterminate":""}" class="${l("relative flex shrink-0 items-center justify-center border sd-7-0-0-next-10-checkbox-border-width rounded-sm h-4 w-4","transition-colors ease-in-out duration-medium group-hover:duration-fast","peer-focus-visible:outline peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2 peer-focus-visible:outline-primary outline-transparent",{sm:"mt-[2px]",md:"mt-[3px]",lg:"mt-[3px]"}[this.size],{disabledIndeterminate:"border-neutral-500 bg-neutral-500",disabledChecked:"border-neutral-500 bg-neutral-500",disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",invalidIndeterminate:"border-error bg-error group-hover:bg-error-400 group-hover:border-error-400",invalid:"border-error group-hover:border-error-400 sd-7-0-0-next-10-checkbox--invalid-color-background group-hover:bg-transparent",filled:"border-accent hover:border-accent-550 group-hover:border-accent-550 bg-accent group-hover:bg-accent-550",default:"form-control-color-border hover:bg-neutral-200 group-hover:bg-neutral-200 bg-white"}[e])}"><div part="checkbox" class="${l("absolute h-3 transition-[width] right-0 duration-medium",this.checked||this.indeterminate?"w-0":"w-3")}"><div class="${l("w-full h-full transition-colors duration-medium ease-in-out group-hover:duration-fast",{disabledIndeterminate:"bg-neutral-500",disabledChecked:" bg-neutral-500",disabled:"",visuallyDisabled:"",invalidIndeterminate:" bg-error group-hover:bg-error-400",invalid:"sd-7-0-0-next-10-checkbox--invalid-color-background",filled:"bg-accent group-hover:bg-accent-550",default:"hover:bg-neutral-200 group-hover:bg-neutral-200 bg-white"}[e])}"></div></div>${this.checked?s`<sd-7-0-0-next-10-icon part="checked-icon" class="text-white w-3 h-3" library="sd-status-assets" name="status-check"></sd-7-0-0-next-10-icon>`:""} ${!this.checked&&this.indeterminate?s`<sd-7-0-0-next-10-icon part="indeterminate-icon" class="text-white w-3 h-3" library="sd-status-assets" name="status-minus"></sd-7-0-0-next-10-icon>`:""} </span><span part="label" id="label" class="${l("select-none inline-block ml-2",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-black")}"><slot></slot></span></label><div id="invalid-icon-message" part="invalid-icon-message" class="${l("flex items-center gap-2",this.showInvalidStyle&&"mt-2")}">${this.showInvalidStyle?s`<sd-7-0-0-next-10-icon id="invalid-icon" part="invalid-icon" library="_internal" name="risk"></sd-7-0-0-next-10-icon>`:""} ${this.formControlController.renderInvalidMessage(this.size)}</div></div>`}};t.styles=[...o.styles,c`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
- :host{display:block;width:-moz-max-content;width:max-content}:host(:focus-visible){outline-style:var(--tw-outline-style);outline-width:0}:host([required]) #label::after{content:' *'}[part=invalid-icon]{color:rgb(var(--sd-color-icon-fill-error))}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}`],i([a('input[type="checkbox"]')],t.prototype,"input",2),i([a("#invalid-message")],t.prototype,"invalidMessage",2),i([r({type:String,reflect:!0})],t.prototype,"title",2),i([r({type:String,reflect:!0})],t.prototype,"name",2),i([r()],t.prototype,"value",2),i([r({type:String,reflect:!0})],t.prototype,"size",2),i([r({type:Boolean,reflect:!0})],t.prototype,"disabled",2),i([r({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),i([r({type:Boolean,reflect:!0})],t.prototype,"checked",2),i([r({type:Boolean,reflect:!0})],t.prototype,"indeterminate",2),i([b("checked")],t.prototype,"defaultChecked",2),i([r({type:String,reflect:!0})],t.prototype,"form",2),i([r({type:Boolean,reflect:!0})],t.prototype,"required",2),i([h()],t.prototype,"showInvalidStyle",2),i([n(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),i([n(["checked","indeterminate"],{waitUntilFirstUpdate:!0})],t.prototype,"handleStateChange",1),t=i([u("sd-7-0-0-next-10-checkbox")],t);export{t as a};
1
+ import{a as d}from"./chunk.SAEYIL5V.js";import{a as b}from"./chunk.ERP45OHF.js";import{b as m}from"./chunk.LZRL7OLU.js";import{a as p}from"./chunk.LHSR56PH.js";import{a as l}from"./chunk.4ZZFYCXX.js";import{a as n}from"./chunk.NYKJXI3Q.js";import{a as u,b as r,c as h,d as a,h as o}from"./chunk.5B33ZALC.js";import{b as c,e as s}from"./chunk.OBAEIKIV.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends o{constructor(){super(...arguments);this.formControlController=new m(this,{value:e=>e.checked?e.value||"on":void 0,defaultValue:e=>e.defaultChecked,setValue:(e,v)=>e.checked=v});this.title="";this.name="";this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.checked=!1;this.indeterminate=!1;this.defaultChecked=!1;this.form="";this.required=!1;this.showInvalidStyle=!1}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleClick(e){if(this.visuallyDisabled){e.preventDefault(),e.stopPropagation();return}this.checked=!this.checked,this.indeterminate=!1,this.emit("sd-change")}handleBlur(){this.emit("sd-blur")}handleInput(){this.emit("sd-input")}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e),this.invalidMessage.textContent=e.target.validationMessage}handleFocus(){this.emit("sd-focus")}handleDisabledChange(){let e=this.disabled||this.visuallyDisabled;this.setAttribute("aria-disabled",e?"true":"false"),this.formControlController.setValidity(e)}handleStateChange(){this.input.checked=this.checked,this.input.indeterminate=this.indeterminate,this.formControlController.updateValidity()}click(){this.input.click()}focus(e){this.input.focus(e)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(e){this.input.setCustomValidity(e),this.formControlController.updateValidity()}render(){let e=this.disabled&&this.indeterminate?"disabledIndeterminate":this.disabled&&this.checked?"disabledChecked":this.disabled?"disabled":this.visuallyDisabled?"visuallyDisabled":this.showInvalidStyle&&this.indeterminate?"invalidIndeterminate":this.showInvalidStyle?"invalid":this.checked||this.indeterminate?"filled":"default";return s`<div class="flex flex-col"><label part="base" class="${l("sd-7-0-0-next-11-checkbox group flex items-start text-base leading-normal text-black cursor-pointer",(this.disabled||this.visuallyDisabled)&&"hover:cursor-not-allowed",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}"><input class="peer absolute opacity-0 p-0 m-0 pointer-events-none" type="checkbox" title="${this.title}" name="${this.name}" value="${p(this.value)}" .indeterminate="${d(this.indeterminate)}" .checked="${d(this.checked)}" .disabled="${this.disabled}" .required="${this.required}" aria-checked="${this.indeterminate?"mixed":this.checked}" aria-describedby="invalid-message" aria-invalid="${this.showInvalidStyle}" aria-disabled="${this.disabled||this.visuallyDisabled?"true":"false"}" @click="${this.handleClick}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @blur="${this.handleBlur}" @focus="${this.handleFocus}"> <span id="control" part="control ${this.checked?" control--checked":"control--unchecked"} ${this.indeterminate?" control--indeterminate":""}" class="${l("relative flex shrink-0 items-center justify-center border sd-7-0-0-next-11-checkbox-border-width rounded-sm h-4 w-4","transition-colors ease-in-out duration-medium group-hover:duration-fast","peer-focus-visible:outline peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2 peer-focus-visible:outline-primary outline-transparent",{sm:"mt-[2px]",md:"mt-[3px]",lg:"mt-[3px]"}[this.size],{disabledIndeterminate:"border-neutral-500 bg-neutral-500",disabledChecked:"border-neutral-500 bg-neutral-500",disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",invalidIndeterminate:"border-error bg-error group-hover:bg-error-400 group-hover:border-error-400",invalid:"border-error group-hover:border-error-400 sd-7-0-0-next-11-checkbox--invalid-color-background group-hover:bg-transparent",filled:"border-accent hover:border-accent-550 group-hover:border-accent-550 bg-accent group-hover:bg-accent-550",default:"form-control-color-border hover:bg-neutral-200 group-hover:bg-neutral-200 bg-white"}[e])}"><div part="checkbox" class="${l("absolute h-3 transition-[width] right-0 duration-medium",this.checked||this.indeterminate?"w-0":"w-3")}"><div class="${l("w-full h-full transition-colors duration-medium ease-in-out group-hover:duration-fast",{disabledIndeterminate:"bg-neutral-500",disabledChecked:" bg-neutral-500",disabled:"",visuallyDisabled:"",invalidIndeterminate:" bg-error group-hover:bg-error-400",invalid:"sd-7-0-0-next-11-checkbox--invalid-color-background",filled:"bg-accent group-hover:bg-accent-550",default:"hover:bg-neutral-200 group-hover:bg-neutral-200 bg-white"}[e])}"></div></div>${this.checked?s`<sd-7-0-0-next-11-icon part="checked-icon" class="text-white w-3 h-3" library="sd-status-assets" name="status-check"></sd-7-0-0-next-11-icon>`:""} ${!this.checked&&this.indeterminate?s`<sd-7-0-0-next-11-icon part="indeterminate-icon" class="text-white w-3 h-3" library="sd-status-assets" name="status-minus"></sd-7-0-0-next-11-icon>`:""} </span><span part="label" id="label" class="${l("select-none inline-block ml-2",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-black")}"><slot></slot></span></label><div id="invalid-icon-message" part="invalid-icon-message" class="${l("flex items-center gap-2",this.showInvalidStyle&&"mt-2")}">${this.showInvalidStyle?s`<sd-7-0-0-next-11-icon id="invalid-icon" part="invalid-icon" library="_internal" name="risk"></sd-7-0-0-next-11-icon>`:""} ${this.formControlController.renderInvalidMessage(this.size)}</div></div>`}};t.styles=[...o.styles,c`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
+ :host{display:block;width:-moz-max-content;width:max-content}:host(:focus-visible){outline-style:var(--tw-outline-style);outline-width:0}:host([required]) #label::after{content:' *'}[part=invalid-icon]{color:rgb(var(--sd-color-icon-fill-error))}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}`],i([a('input[type="checkbox"]')],t.prototype,"input",2),i([a("#invalid-message")],t.prototype,"invalidMessage",2),i([r({type:String,reflect:!0})],t.prototype,"title",2),i([r({type:String,reflect:!0})],t.prototype,"name",2),i([r()],t.prototype,"value",2),i([r({type:String,reflect:!0})],t.prototype,"size",2),i([r({type:Boolean,reflect:!0})],t.prototype,"disabled",2),i([r({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),i([r({type:Boolean,reflect:!0})],t.prototype,"checked",2),i([r({type:Boolean,reflect:!0})],t.prototype,"indeterminate",2),i([b("checked")],t.prototype,"defaultChecked",2),i([r({type:String,reflect:!0})],t.prototype,"form",2),i([r({type:Boolean,reflect:!0})],t.prototype,"required",2),i([h()],t.prototype,"showInvalidStyle",2),i([n(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),i([n(["checked","indeterminate"],{waitUntilFirstUpdate:!0})],t.prototype,"handleStateChange",1),t=i([u("sd-7-0-0-next-11-checkbox")],t);export{t as a};
@@ -1,2 +1,2 @@
1
1
  import{a as m}from"./chunk.MWDEA25W.js";import{a as p}from"./chunk.NYKJXI3Q.js";import{a as n,b as o,h as a}from"./chunk.5B33ZALC.js";import{b as c,e as l}from"./chunk.OBAEIKIV.js";import{e as s}from"./chunk.6EV4YU6C.js";var t=class extends a{constructor(){super(...arguments);this.mode="cors";this.allowScripts=!1}executeScript(e){let r=document.createElement("script");[...e.attributes].forEach(i=>r.setAttribute(i.name,i.value)),r.textContent=e.textContent,e.parentNode.replaceChild(r,e)}async handleSrcChange(){try{let e=this.src,r=await m(e,this.mode);if(e!==this.src)return;if(!r.ok){this.emit("sd-error",{detail:{status:r.status}});return}this.innerHTML=r.html,this.allowScripts&&[...this.querySelectorAll("script")].forEach(i=>this.executeScript(i)),this.emit("sd-load")}catch(e){this.emit("sd-error",{detail:{status:-1}})}}render(){return l`<slot></slot>`}};t.styles=[...a.styles,c`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{display:block}`],s([o({reflect:!0})],t.prototype,"src",2),s([o({type:String,reflect:!0})],t.prototype,"mode",2),s([o({attribute:"allow-scripts",type:Boolean,reflect:!0})],t.prototype,"allowScripts",2),s([p("src")],t.prototype,"handleSrcChange",1),t=s([n("sd-7-0-0-next-10-include")],t);export{t as a};
2
+ :host{display:block}`],s([o({reflect:!0})],t.prototype,"src",2),s([o({type:String,reflect:!0})],t.prototype,"mode",2),s([o({attribute:"allow-scripts",type:Boolean,reflect:!0})],t.prototype,"allowScripts",2),s([p("src")],t.prototype,"handleSrcChange",1),t=s([n("sd-7-0-0-next-11-include")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as c}from"./chunk.MEDJPDBB.js";import{a as s}from"./chunk.4ZZFYCXX.js";import{a as i,b as a,h as r}from"./chunk.5B33ZALC.js";import{b as l,e as o}from"./chunk.OBAEIKIV.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends r{constructor(){super(...arguments);this.localize=new c(this);this.subtick=!1}render(){return o`<div part="base" class="${s(this.subtick?"w-0.25":"w-0.5")}"><div part="line" class="${s(this.subtick?"h-2":"h-[10px]")}"></div><div part="label" class="flex items-center justify-center text-center text-nowrap text-sm sd-7-0-0-next-10-range-scale-ticks-color-text"><slot></slot></div></div>`}};t.styles=[...r.styles,l`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- [part='line']{background-color:rgba(var(--sd-color-border-neutral-400,rgba(var(--sd-color-neutral-400))))}`],e([a({type:Boolean,reflect:!0})],t.prototype,"subtick",2),t=e([i("sd-7-0-0-next-10-range-tick")],t);export{t as a};
1
+ import{a as c}from"./chunk.MEDJPDBB.js";import{a as s}from"./chunk.4ZZFYCXX.js";import{a as i,b as a,h as r}from"./chunk.5B33ZALC.js";import{b as l,e as o}from"./chunk.OBAEIKIV.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends r{constructor(){super(...arguments);this.localize=new c(this);this.subtick=!1}render(){return o`<div part="base" class="${s(this.subtick?"w-0.25":"w-0.5")}"><div part="line" class="${s(this.subtick?"h-2":"h-[10px]")}"></div><div part="label" class="flex items-center justify-center text-center text-nowrap text-sm sd-7-0-0-next-11-range-scale-ticks-color-text"><slot></slot></div></div>`}};t.styles=[...r.styles,l`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ [part='line']{background-color:rgba(var(--sd-color-border-neutral-400,rgba(var(--sd-color-neutral-400))))}`],e([a({type:Boolean,reflect:!0})],t.prototype,"subtick",2),t=e([i("sd-7-0-0-next-11-range-tick")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as l}from"./chunk.MHWW3RZB.js";import{a as n,b as a,d,h as r}from"./chunk.5B33ZALC.js";import{b as o,e as s}from"./chunk.OBAEIKIV.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends r{constructor(){super(...arguments);this.fixed=!1;this.shadow=!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 s`<header class="w-full sd-7-0-0-next-10-header-color-background sd-7-0-0-next-10-header-padding-bottom relative" role="banner"><div part="main" class="relative mx-auto my-0 box-border"><slot></slot></div></header>`}};e.styles=[...r.styles,o`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
- :host{position:relative;z-index:var(--sd-z-index-header,600);display:block}@media (min-height:32rem){:host([fixed]){padding-bottom:var(--sd-header-calculated-height)!important}:host([fixed]) header{position:fixed;top:0;left:0;width:100%}}:host([shadow]) header::after{position:absolute;top:100%;right:0;left:0;height:var(--sd-header__shadow-height,var(--sd-spacing-1));--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops));--tw-gradient-from:color-mix(in oklab, var(--color-black, #000) 40%, transparent);--tw-gradient-to:color-mix(in oklab, var(--color-black, #000) var(--sd-opacity-0), transparent);--tw-gradient-stops:var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));--tw-content:'';content:var(--tw-content)}[part=main]{width:var(--sd-header-inner-width);max-width:var(--sd-header-inner-max-width);padding:var(--sd-header-padding,12px 16px)}:host([shadow]) header::before{position:absolute;bottom:0;left:0;display:block;width:100%;--tw-content:'';content:var(--tw-content);background-color:rgb(var(--sd-header__underline-color-background));height:var(--sd-header__underline-height,var(--sd-spacing-2))}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-content{syntax:"*";inherits:false;initial-value:""}`],t([a({reflect:!0,type:Boolean})],e.prototype,"fixed",2),t([a({reflect:!0,type:Boolean})],e.prototype,"shadow",2),t([d("header")],e.prototype,"header",2),t([l(100)],e.prototype,"updateCalculatedHeight",1),e=t([n("sd-7-0-0-next-10-header")],e);export{e as a};
1
+ import{a as l}from"./chunk.MHWW3RZB.js";import{a as n,b as a,d,h as r}from"./chunk.5B33ZALC.js";import{b as o,e as s}from"./chunk.OBAEIKIV.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends r{constructor(){super(...arguments);this.fixed=!1;this.shadow=!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 s`<header class="w-full sd-7-0-0-next-11-header-color-background sd-7-0-0-next-11-header-padding-bottom relative" role="banner"><div part="main" class="relative mx-auto my-0 box-border"><slot></slot></div></header>`}};e.styles=[...r.styles,o`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
+ :host{position:relative;z-index:var(--sd-z-index-header,600);display:block}@media (min-height:32rem){:host([fixed]){padding-bottom:var(--sd-header-calculated-height)!important}:host([fixed]) header{position:fixed;top:0;left:0;width:100%}}:host([shadow]) header::after{position:absolute;top:100%;right:0;left:0;height:var(--sd-header__shadow-height,var(--sd-spacing-1));--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops));--tw-gradient-from:color-mix(in oklab, var(--color-black, #000) 40%, transparent);--tw-gradient-to:color-mix(in oklab, var(--color-black, #000) var(--sd-opacity-0), transparent);--tw-gradient-stops:var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));--tw-content:'';content:var(--tw-content)}[part=main]{width:var(--sd-header-inner-width);max-width:var(--sd-header-inner-max-width);padding:var(--sd-header-padding,12px 16px)}:host([shadow]) header::before{position:absolute;bottom:0;left:0;display:block;width:100%;--tw-content:'';content:var(--tw-content);background-color:rgb(var(--sd-header__underline-color-background));height:var(--sd-header__underline-height,var(--sd-spacing-2))}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-content{syntax:"*";inherits:false;initial-value:""}`],t([a({reflect:!0,type:Boolean})],e.prototype,"fixed",2),t([a({reflect:!0,type:Boolean})],e.prototype,"shadow",2),t([d("header")],e.prototype,"header",2),t([l(100)],e.prototype,"updateCalculatedHeight",1),e=t([n("sd-7-0-0-next-11-header")],e);export{e as a};
@@ -1 +1 @@
1
- var l={"ui-light":"union-investment","ui-dark":"union-investment",vb:"vb",bb:"bbbank",sp:"sparda",kid:"kidstarter"};function i(r){if(r){let t=getComputedStyle(r).getPropertyValue("--sd-theme").trim().replace(/['"]/g,"");return l[t]}return null}var s={name:"sd-multi-theming",resolver:(r,t)=>{let o=i(t);if(!o)return"";let n=r.split("/"),e=`${o}/${r}`;return(n[0]==="content"||n[0]==="system")&&(r=e),`https://celum-icons.fe.union-investment.de/${r}.svg`},mutator:r=>{let t={currentColorFills:[],currentColorStrokes:[],greenFills:[],greenStrokes:[]},o=["#00358e","#002d67","#005ca9","#005AAA","#051530"],n=["#2d9d00","#f35e01"];return t.currentColorFills=r.querySelectorAll(o.map(e=>`[fill="${e}" i]`).join(", ")),t.currentColorStrokes=r.querySelectorAll(o.map(e=>`[stroke="${e}" i]`).join(", ")),t.greenFills=r.querySelectorAll(n.map(e=>`[fill="${e}" i]`).join(", ")),t.greenStrokes=r.querySelectorAll(n.map(e=>`[stroke="${e}" i]`).join(", ")),t.currentColorFills.forEach(e=>{e.setAttribute("fill","currentColor")}),t.currentColorStrokes.forEach(e=>{e.setAttribute("stroke","currentColor")}),t.greenFills.forEach(e=>{e.setAttribute("fill","rgb(var(--sd-color-icon-fill-accent, 45 157 0))")}),t.greenStrokes.forEach(e=>{e.setAttribute("stroke","rgb(var(--sd-color-icon-fill-accent, 45 157 0))")}),r}},c=s;export{c as a};
1
+ var l={bb:"bbbank",kid:"kidstarter",sp:"sparda","ui-dark":"union-investment","ui-light":"union-investment",vb:"vb"};function i(r){if(r){let t=getComputedStyle(r).getPropertyValue("--sd-theme").trim().replace(/['"]/g,"");return l[t]}return null}var s={name:"sd-multi-theming",resolver:(r,t)=>{let o=i(t);if(!o)return"";let n=r.split("/"),e=`${o}/${r}`;return(n[0]==="content"||n[0]==="system")&&(r=e),`https://celum-icons.fe.union-investment.de/${r}.svg`},mutator:r=>{let t={currentColorFills:[],currentColorStrokes:[],greenFills:[],greenStrokes:[]},o=["#00358e","#002d67","#005ca9","#005AAA","#051530"],n=["#2d9d00","#f35e01"];return t.currentColorFills=r.querySelectorAll(o.map(e=>`[fill="${e}" i]`).join(", ")),t.currentColorStrokes=r.querySelectorAll(o.map(e=>`[stroke="${e}" i]`).join(", ")),t.greenFills=r.querySelectorAll(n.map(e=>`[fill="${e}" i]`).join(", ")),t.greenStrokes=r.querySelectorAll(n.map(e=>`[stroke="${e}" i]`).join(", ")),t.currentColorFills.forEach(e=>{e.setAttribute("fill","currentColor")}),t.currentColorStrokes.forEach(e=>{e.setAttribute("stroke","currentColor")}),t.greenFills.forEach(e=>{e.setAttribute("fill","rgb(var(--sd-color-icon-fill-accent, 45 157 0))")}),t.greenStrokes.forEach(e=>{e.setAttribute("stroke","rgb(var(--sd-color-icon-fill-accent, 45 157 0))")}),r}},c=s;export{c as a};
@@ -1,2 +1,2 @@
1
1
  import{a as n}from"./chunk.MEDJPDBB.js";import{a as e}from"./chunk.4ZZFYCXX.js";import{a,b as c,h as i}from"./chunk.5B33ZALC.js";import{b as l,e as o}from"./chunk.OBAEIKIV.js";import{e as t}from"./chunk.6EV4YU6C.js";var r=class extends i{constructor(){super(...arguments);this.color="currentColor";this.localize=new n(this)}render(){return o`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" role="progressbar" aria-label="${this.localize.term("loading")}"><circle class="${e("dot",{primary:"text-primary animate-loader-primary",white:"text-white animate-loader-white",currentColor:"animate-loader-current"}[this.color])}" cx="20" cy="12" r="2" fill="currentColor"/><circle class="${e("dot",{primary:"text-primary animate-loader-primary",white:"text-white animate-loader-white",currentColor:"animate-loader-current"}[this.color])}" cx="12" cy="12" r="2" fill="currentColor"/><circle class="${e("dot",{primary:"text-primary animate-loader-primary",white:"text-white animate-loader-white",currentColor:"animate-loader-current"}[this.color])}" cx="4" cy="12" r="2" fill="currentColor"/></svg>`}};r.styles=[...i.styles,l`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{display:inline-block;width:1em;height:1em}.dot:nth-child(2){animation-delay:.1s}.dot:nth-child(1){animation-delay:.2s}`],t([c({type:String,reflect:!0})],r.prototype,"color",2),r=t([a("sd-7-0-0-next-10-loader")],r);export{r as a};
2
+ :host{display:inline-block;width:1em;height:1em}.dot:nth-child(2){animation-delay:.1s}.dot:nth-child(1){animation-delay:.2s}`],t([c({type:String,reflect:!0})],r.prototype,"color",2),r=t([a("sd-7-0-0-next-11-loader")],r);export{r as a};
@@ -1,2 +1,2 @@
1
- import{a as r}from"./chunk.4ZZFYCXX.js";import{a as l}from"./chunk.NYKJXI3Q.js";import{a as d,b as s,c as i,h as o}from"./chunk.5B33ZALC.js";import{b as a,e as c}from"./chunk.OBAEIKIV.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends o{constructor(){super(...arguments);this.checked=!1;this.hasFocus=!1;this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.invalid=!1}connectedCallback(){super.connectedCallback(),this.handleBlur=this.handleBlur.bind(this),this.handleClick=this.handleClick.bind(this),this.handleFocus=this.handleFocus.bind(this),this.setInitialAttributes(),this.addEventListeners()}disconnectedCallback(){this.removeEventListeners()}addEventListeners(){this.addEventListener("blur",this.handleBlur),this.addEventListener("click",this.handleClick),this.addEventListener("focus",this.handleFocus)}removeEventListeners(){this.removeEventListener("blur",this.handleBlur),this.removeEventListener("click",this.handleClick),this.removeEventListener("focus",this.handleFocus)}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleClick(){!this.disabled&&!this.visuallyDisabled&&(this.checked=!0)}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}setInitialAttributes(){this.setAttribute("role","radio"),this.setAttribute("tabindex","-1"),this.setAttribute("aria-disabled",this.disabled||this.visuallyDisabled?"true":"false")}handleCheckedChange(){this.setAttribute("aria-checked",this.checked?"true":"false"),this.setAttribute("tabindex",this.checked?"0":"-1")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}render(){return c`<span part="base" class="${r("sd-7-0-0-next-10-radio group flex items-start text-base leading-normal text-black cursor-pointer",(this.disabled||this.visuallyDisabled)&&"hover:cursor-not-allowed",{sm:"small-size text-sm",md:"text-base",lg:"text-base"}[this.size])}"><span part="${`${this.checked?"control--checked":"control--unchecked"}`}" class="${r("flex-initial shrink-0 relative inline-flex items-center justify-center border sd-7-0-0-next-10-radio-border-width rounded-full bg-white h-4 w-4 duration-fast ease-in-out",this.disabled||this.visuallyDisabled?"border-neutral-500":this.invalid?r("border-error hover:border-error-400 group-hover:border-error-400",this.checked?"sd-7-0-0-next-10-radio--checked--invalid--default-color-background":"sd-7-0-0-next-10-radio--default--invalid-color-background"):this.checked?"sd-7-0-0-next-10-radio--checked--default-color-background hover:sd-7-0-0-next-10-radio--checked--hover-color-background group-hover:sd-7-0-0-next-10-radio--checked--hover-color-background border-accent hover:border-accent-550 group-hover:border-accent-550":"form-control-color-border hover:bg-neutral-200 group-hover:bg-neutral-200")}"><span part="checked" class="${r("rounded-full inline-flex text-white sd-7-0-0-next-10-radio__checked-height sd-7-0-0-next-10-radio__checked-width transition-[transform, colors] duration-medium ease-in-out",this.checked?"scale-100":"scale-0",this.disabled?"sd-7-0-0-next-10-radio--checked--disabled__icon-color-background":this.visuallyDisabled?"bg-white":this.invalid?"sd-7-0-0-next-10-radio--checked--invalid--default__icon-color-background hover:sd-7-0-0-next-10-radio--checked--invalid--hover__icon-color-background group-hover:sd-7-0-0-next-10-radio--checked--invalid--hover__icon-color-background":this.checked?"sd-7-0-0-next-10-radio--checked--default__icon-color-background hover:sd-7-0-0-next-10-radio--checked--hover__icon-color-background group-hover:sd-7-0-0-next-10-radio--checked--hover__icon-color-background":"bg-neutral-800")}"></span></span><slot part="label" class="${r("ml-2 select-none inline-block",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-black")}"></slot></span>`}};e.styles=[...o.styles,a`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
- :host{display:block}:host(:focus-visible){--tw-outline-style:none;outline-style:none}[part=control--checked],[part=control--unchecked]{outline-color:transparent}:host(:focus-visible) [part=control--checked],:host(:focus-visible) [part=control--unchecked]{outline-width:1px;outline-style:var(--tw-outline-style);outline-width:2px;outline-offset:2px;outline-color:rgba(var(--sd-color-border-primary,var(--sd-color-primary)))}[part=control--checked],[part=control--unchecked]{margin-top:.23em}:host([size=sm]) [part=control--checked],:host([size=sm]) [part=control--unchecked]{margin-top:.15em}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}`],t([i()],e.prototype,"checked",2),t([i()],e.prototype,"hasFocus",2),t([s({type:String,reflect:!0})],e.prototype,"size",2),t([s({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([s({type:Boolean,reflect:!0,attribute:"visually-disabled"})],e.prototype,"visuallyDisabled",2),t([s()],e.prototype,"value",2),t([s({type:Boolean,reflect:!0})],e.prototype,"invalid",2),t([l("checked")],e.prototype,"handleCheckedChange",1),t([l(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],e.prototype,"handleDisabledChange",1),e=t([d("sd-7-0-0-next-10-radio")],e);export{e as a};
1
+ import{a as r}from"./chunk.4ZZFYCXX.js";import{a as l}from"./chunk.NYKJXI3Q.js";import{a as d,b as s,c as i,h as o}from"./chunk.5B33ZALC.js";import{b as a,e as c}from"./chunk.OBAEIKIV.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends o{constructor(){super(...arguments);this.checked=!1;this.hasFocus=!1;this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.invalid=!1}connectedCallback(){super.connectedCallback(),this.handleBlur=this.handleBlur.bind(this),this.handleClick=this.handleClick.bind(this),this.handleFocus=this.handleFocus.bind(this),this.setInitialAttributes(),this.addEventListeners()}disconnectedCallback(){this.removeEventListeners()}addEventListeners(){this.addEventListener("blur",this.handleBlur),this.addEventListener("click",this.handleClick),this.addEventListener("focus",this.handleFocus)}removeEventListeners(){this.removeEventListener("blur",this.handleBlur),this.removeEventListener("click",this.handleClick),this.removeEventListener("focus",this.handleFocus)}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleClick(){!this.disabled&&!this.visuallyDisabled&&(this.checked=!0)}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}setInitialAttributes(){this.setAttribute("role","radio"),this.setAttribute("tabindex","-1"),this.setAttribute("aria-disabled",this.disabled||this.visuallyDisabled?"true":"false")}handleCheckedChange(){this.setAttribute("aria-checked",this.checked?"true":"false"),this.setAttribute("tabindex",this.checked?"0":"-1")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}render(){return c`<span part="base" class="${r("sd-7-0-0-next-11-radio group flex items-start text-base leading-normal text-black cursor-pointer",(this.disabled||this.visuallyDisabled)&&"hover:cursor-not-allowed",{sm:"small-size text-sm",md:"text-base",lg:"text-base"}[this.size])}"><span part="${`${this.checked?"control--checked":"control--unchecked"}`}" class="${r("flex-initial shrink-0 relative inline-flex items-center justify-center border sd-7-0-0-next-11-radio-border-width rounded-full bg-white h-4 w-4 duration-fast ease-in-out",this.disabled||this.visuallyDisabled?"border-neutral-500":this.invalid?r("border-error hover:border-error-400 group-hover:border-error-400",this.checked?"sd-7-0-0-next-11-radio--checked--invalid--default-color-background":"sd-7-0-0-next-11-radio--default--invalid-color-background"):this.checked?"sd-7-0-0-next-11-radio--checked--default-color-background hover:sd-7-0-0-next-11-radio--checked--hover-color-background group-hover:sd-7-0-0-next-11-radio--checked--hover-color-background border-accent hover:border-accent-550 group-hover:border-accent-550":"form-control-color-border hover:bg-neutral-200 group-hover:bg-neutral-200")}"><span part="checked" class="${r("rounded-full inline-flex text-white sd-7-0-0-next-11-radio__checked-height sd-7-0-0-next-11-radio__checked-width transition-[transform, colors] duration-medium ease-in-out",this.checked?"scale-100":"scale-0",this.disabled?"sd-7-0-0-next-11-radio--checked--disabled__icon-color-background":this.visuallyDisabled?"bg-white":this.invalid?"sd-7-0-0-next-11-radio--checked--invalid--default__icon-color-background hover:sd-7-0-0-next-11-radio--checked--invalid--hover__icon-color-background group-hover:sd-7-0-0-next-11-radio--checked--invalid--hover__icon-color-background":this.checked?"sd-7-0-0-next-11-radio--checked--default__icon-color-background hover:sd-7-0-0-next-11-radio--checked--hover__icon-color-background group-hover:sd-7-0-0-next-11-radio--checked--hover__icon-color-background":"bg-neutral-800")}"></span></span><slot part="label" class="${r("ml-2 select-none inline-block",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-black")}"></slot></span>`}};e.styles=[...o.styles,a`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
+ :host{display:block}:host(:focus-visible){--tw-outline-style:none;outline-style:none}[part=control--checked],[part=control--unchecked]{outline-color:transparent}:host(:focus-visible) [part=control--checked],:host(:focus-visible) [part=control--unchecked]{outline-width:1px;outline-style:var(--tw-outline-style);outline-width:2px;outline-offset:2px;outline-color:rgba(var(--sd-color-border-primary,var(--sd-color-primary)))}[part=control--checked],[part=control--unchecked]{margin-top:.23em}:host([size=sm]) [part=control--checked],:host([size=sm]) [part=control--unchecked]{margin-top:.15em}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}`],t([i()],e.prototype,"checked",2),t([i()],e.prototype,"hasFocus",2),t([s({type:String,reflect:!0})],e.prototype,"size",2),t([s({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([s({type:Boolean,reflect:!0,attribute:"visually-disabled"})],e.prototype,"visuallyDisabled",2),t([s()],e.prototype,"value",2),t([s({type:Boolean,reflect:!0})],e.prototype,"invalid",2),t([l("checked")],e.prototype,"handleCheckedChange",1),t([l(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],e.prototype,"handleDisabledChange",1),e=t([d("sd-7-0-0-next-11-radio")],e);export{e as a};
@@ -1,2 +1,2 @@
1
1
  import{a as s}from"./chunk.LHSR56PH.js";import{a as d}from"./chunk.CGQ2BPPZ.js";import{a as r}from"./chunk.4ZZFYCXX.js";import{a as h,b as l,d as c,h as a}from"./chunk.5B33ZALC.js";import{b as o,e as n}from"./chunk.OBAEIKIV.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(i){this.visuallyDisabled&&(i.preventDefault(),i.stopPropagation())}focus(i){this.button.focus(i)}blur(){this.button.blur()}render(){let i={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":"interactive--default-color-text 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",i["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",i["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.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- ::slotted(sd-7-0-0-next-10-icon){font-size:1.25em;margin-bottom:-.25em}:host([size=sm][standalone]) ::slotted(sd-7-0-0-next-10-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-7-0-0-next-10-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([l({type:Boolean,reflect:!0})],e.prototype,"standalone",2),t([l({type:String,reflect:!0})],e.prototype,"size",2),t([l({type:Boolean,reflect:!0})],e.prototype,"inverted",2),t([l({type:String,reflect:!0})],e.prototype,"href",2),t([l({type:Boolean,attribute:"visually-disabled",reflect:!0})],e.prototype,"visuallyDisabled",2),t([l({type:String,reflect:!0})],e.prototype,"target",2),t([l({reflect:!0})],e.prototype,"download",2),e=t([h("sd-7-0-0-next-10-link")],e);export{e as a};
2
+ ::slotted(sd-7-0-0-next-11-icon){font-size:1.25em;margin-bottom:-.25em}:host([size=sm][standalone]) ::slotted(sd-7-0-0-next-11-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-7-0-0-next-11-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([l({type:Boolean,reflect:!0})],e.prototype,"standalone",2),t([l({type:String,reflect:!0})],e.prototype,"size",2),t([l({type:Boolean,reflect:!0})],e.prototype,"inverted",2),t([l({type:String,reflect:!0})],e.prototype,"href",2),t([l({type:Boolean,attribute:"visually-disabled",reflect:!0})],e.prototype,"visuallyDisabled",2),t([l({type:String,reflect:!0})],e.prototype,"target",2),t([l({reflect:!0})],e.prototype,"download",2),e=t([h("sd-7-0-0-next-11-link")],e);export{e as a};