@solid-design-system/components 6.18.1 → 6.21.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (715) hide show
  1. package/cdn/chunks/{chunk.L4Q4HWT2.js → chunk.26BCL4FF.js} +1 -1
  2. package/cdn/chunks/{chunk.CSMKAOUE.js → chunk.2P23JJWD.js} +1 -1
  3. package/cdn/chunks/{chunk.THPGET7V.js → chunk.3L5FEJFD.js} +1 -1
  4. package/cdn/chunks/chunk.3Q5ROUYW.js +2 -0
  5. package/cdn/chunks/{chunk.CZUZXVXM.js → chunk.4SD276AZ.js} +1 -1
  6. package/cdn/chunks/chunk.4VDBIPS3.js +26 -0
  7. package/cdn/chunks/chunk.4XDRYWQQ.js +1 -0
  8. package/cdn/chunks/chunk.6FBD7P2H.js +2 -0
  9. package/cdn/chunks/{chunk.F2YBTYYO.js → chunk.6XX362GS.js} +1 -1
  10. package/cdn/chunks/{chunk.KXYEKUBH.js → chunk.74UJGAKM.js} +2 -2
  11. package/cdn/chunks/{chunk.VW4SG3XG.js → chunk.AKZKVAFE.js} +1 -1
  12. package/cdn/chunks/{chunk.XGLBODZT.js → chunk.APXUJGN2.js} +1 -1
  13. package/cdn/chunks/{chunk.WOCCV524.js → chunk.BBPXHBQS.js} +1 -1
  14. package/cdn/chunks/{chunk.54UVKIZB.js → chunk.BKN6CM3X.js} +1 -1
  15. package/cdn/chunks/{chunk.SWMRHLCD.js → chunk.BMVAFZFL.js} +1 -1
  16. package/cdn/chunks/{chunk.EYHWAYCC.js → chunk.BNQ25UWK.js} +1 -1
  17. package/cdn/chunks/{chunk.ACBSQQGQ.js → chunk.D2G6K5MQ.js} +1 -1
  18. package/cdn/chunks/chunk.DSKB3SEU.js +10 -0
  19. package/cdn/chunks/chunk.DX36ZINA.js +12 -0
  20. package/cdn/chunks/{chunk.XFJLF5M4.js → chunk.DYOX3Y4I.js} +1 -1
  21. package/cdn/chunks/{chunk.52TRFRJK.js → chunk.E3RBLJOD.js} +1 -1
  22. package/cdn/chunks/{chunk.OGNOPC3L.js → chunk.EQGJTJVC.js} +1 -1
  23. package/{cdn-versioned/chunks/chunk.W4EADN3G.js → cdn/chunks/chunk.ERP45OHF.js} +1 -1
  24. package/cdn/chunks/{chunk.GS46R6QO.js → chunk.F4Z5BNJG.js} +1 -1
  25. package/cdn/chunks/{chunk.MOZSGQET.js → chunk.FNGOXX73.js} +1 -1
  26. package/cdn/chunks/{chunk.XYQCPWUJ.js → chunk.FPFRVAOM.js} +1 -1
  27. package/cdn/chunks/{chunk.U5H4A4ZD.js → chunk.GBBGLVT7.js} +1 -1
  28. package/cdn/chunks/{chunk.QKQ2FAEH.js → chunk.H2JB6IEW.js} +1 -1
  29. package/cdn/chunks/{chunk.BDF5Y2DV.js → chunk.H46BKEK7.js} +1 -1
  30. package/cdn/chunks/{chunk.XF2NJUOO.js → chunk.HOSXGRLD.js} +1 -1
  31. package/{cdn-versioned/chunks/chunk.RMXFJHN6.js → cdn/chunks/chunk.ICEC5PGK.js} +1 -1
  32. package/{cdn-versioned/chunks/chunk.GO7NGR4Q.js → cdn/chunks/chunk.IF6Y3ILD.js} +1 -1
  33. package/cdn/chunks/{chunk.DSXSUMRR.js → chunk.IKWYILIW.js} +3 -3
  34. package/cdn/chunks/{chunk.LFLXMIIF.js → chunk.ITVMUBKK.js} +1 -1
  35. package/cdn/chunks/{chunk.YDS5VIM3.js → chunk.J2VLSSW7.js} +1 -1
  36. package/cdn/chunks/{chunk.2DHBC2XZ.js → chunk.JI2EXDT5.js} +2 -2
  37. package/cdn/chunks/{chunk.RJVOMEKW.js → chunk.JO6BQSCQ.js} +1 -1
  38. package/cdn/chunks/{chunk.A4Y2ZTQS.js → chunk.KI5LSRB6.js} +2 -2
  39. package/cdn/chunks/{chunk.JG5FT5V3.js → chunk.LGRES6IS.js} +1 -1
  40. package/cdn/chunks/{chunk.SLXPE3UU.js → chunk.LHSR56PH.js} +1 -1
  41. package/cdn/chunks/{chunk.3GRKVX3Y.js → chunk.LS2LSVUQ.js} +1 -1
  42. package/cdn/chunks/{chunk.RAP66B6O.js → chunk.LZRL7OLU.js} +1 -1
  43. package/cdn/chunks/{chunk.GBSKWBQY.js → chunk.MA2DBHDL.js} +3 -3
  44. package/cdn/chunks/{chunk.AMWQ5YE5.js → chunk.NADOKI3X.js} +1 -1
  45. package/cdn/chunks/chunk.NFXUARAT.js +12 -0
  46. package/cdn/chunks/{chunk.SV6DES3E.js → chunk.NL7YFV4O.js} +1 -1
  47. package/cdn/chunks/{chunk.UOAG5PNU.js → chunk.OBAEIKIV.js} +2 -2
  48. package/cdn/chunks/{chunk.TXQVRNR7.js → chunk.OJDCXBF7.js} +1 -1
  49. package/cdn/chunks/{chunk.VXGSYVQJ.js → chunk.ONUXW5DZ.js} +2 -2
  50. package/cdn/chunks/{chunk.VREAKVXD.js → chunk.OPXJFPZP.js} +1 -1
  51. package/cdn/chunks/{chunk.WMBV6H4W.js → chunk.OU22ZFXY.js} +1 -1
  52. package/cdn/chunks/{chunk.WEOX4LVS.js → chunk.PB7NJRWC.js} +1 -1
  53. package/cdn/chunks/{chunk.BOEKLLMY.js → chunk.PLH32I6F.js} +1 -1
  54. package/cdn/chunks/{chunk.T2VQOPNR.js → chunk.QPNMYGII.js} +1 -1
  55. package/cdn/chunks/chunk.RF25IPQQ.js +2 -0
  56. package/cdn/chunks/{chunk.UK3QQAGA.js → chunk.RKEZLYWS.js} +1 -1
  57. package/cdn/chunks/{chunk.K65Y3BMV.js → chunk.S27ZPXTG.js} +1 -1
  58. package/{cdn-versioned/chunks/chunk.YQH4KNT6.js → cdn/chunks/chunk.SAEYIL5V.js} +1 -1
  59. package/cdn/chunks/{chunk.PCPQDPIJ.js → chunk.SDCXS2JQ.js} +1 -1
  60. package/cdn/chunks/{chunk.4V4SW2MU.js → chunk.SFI6JJ3S.js} +2 -2
  61. package/cdn/chunks/{chunk.ZSZLZIYX.js → chunk.SHEX3HP5.js} +2 -2
  62. package/cdn/chunks/{chunk.TEQ3DTJK.js → chunk.SI3NLQEF.js} +2 -2
  63. package/cdn/chunks/{chunk.B66QBBOC.js → chunk.TBX5HITB.js} +1 -1
  64. package/{cdn-versioned/chunks/chunk.3FMN7C5N.js → cdn/chunks/chunk.TRGIF57L.js} +1 -1
  65. package/cdn/chunks/{chunk.G6OWFL7B.js → chunk.UTKWZUGC.js} +1 -1
  66. package/cdn/chunks/{chunk.IQPMMUES.js → chunk.VAM5SM3O.js} +1 -1
  67. package/cdn/chunks/{chunk.HX4A7MNJ.js → chunk.VJ4JV7V2.js} +1 -1
  68. package/cdn/chunks/{chunk.BAAF4SAM.js → chunk.VQN3BT2Y.js} +2 -2
  69. package/cdn/chunks/{chunk.DDGEG3JJ.js → chunk.VXFA32CH.js} +1 -1
  70. package/cdn/chunks/{chunk.HLDWO3HP.js → chunk.W5O4FM6B.js} +1 -1
  71. package/cdn/chunks/{chunk.QDWVVB6U.js → chunk.WENYT4WP.js} +2 -2
  72. package/cdn/chunks/{chunk.CEWEUYL5.js → chunk.X3GFJL4Z.js} +1 -1
  73. package/cdn/chunks/{chunk.SH4PMEHV.js → chunk.X6BLH7HT.js} +1 -1
  74. package/cdn/chunks/{chunk.WC4UPG7R.js → chunk.XY6SE7OP.js} +1 -1
  75. package/cdn/chunks/{chunk.KAVHO7BF.js → chunk.YLOHEXXJ.js} +1 -1
  76. package/cdn/chunks/{chunk.C2B2WHBX.js → chunk.YUTS6M3G.js} +1 -1
  77. package/cdn/chunks/{chunk.Q36PSPCX.js → chunk.ZO4NHHNY.js} +1 -1
  78. package/cdn/components/accordion/accordion.js +1 -1
  79. package/cdn/components/accordion-group/accordion-group.js +1 -1
  80. package/cdn/components/animation/animation.js +1 -1
  81. package/cdn/components/audio/audio.js +1 -1
  82. package/cdn/components/badge/badge.js +1 -1
  83. package/cdn/components/brandshape/brandshape.js +1 -1
  84. package/cdn/components/breadcrumb/breadcrumb.js +1 -1
  85. package/cdn/components/breadcrumb-item/breadcrumb-item.js +1 -1
  86. package/cdn/components/button/button.js +1 -1
  87. package/cdn/components/button-group/button-group.js +1 -1
  88. package/cdn/components/carousel/carousel.js +1 -1
  89. package/cdn/components/carousel-item/carousel-item.js +1 -1
  90. package/cdn/components/checkbox/checkbox.js +1 -1
  91. package/cdn/components/checkbox-group/checkbox-group.js +1 -1
  92. package/cdn/components/combobox/combobox.d.ts +1 -0
  93. package/cdn/components/combobox/combobox.js +1 -1
  94. package/cdn/components/datepicker/datepicker.js +1 -1
  95. package/cdn/components/dialog/dialog.js +1 -1
  96. package/cdn/components/divider/divider.js +1 -1
  97. package/cdn/components/drawer/drawer.js +1 -1
  98. package/cdn/components/dropdown/dropdown.js +1 -1
  99. package/cdn/components/expandable/expandable.js +1 -1
  100. package/cdn/components/flipcard/flipcard.js +1 -1
  101. package/cdn/components/header/header.js +1 -1
  102. package/cdn/components/icon/icon.js +1 -1
  103. package/cdn/components/icon/library.default.js +1 -1
  104. package/cdn/components/icon/library.js +1 -1
  105. package/cdn/components/include/include.js +1 -1
  106. package/cdn/components/input/input.js +1 -1
  107. package/cdn/components/link/link.js +1 -1
  108. package/cdn/components/loader/loader.js +1 -1
  109. package/cdn/components/map-marker/map-marker.js +1 -1
  110. package/cdn/components/menu/menu.js +1 -1
  111. package/cdn/components/menu-item/menu-item.js +1 -1
  112. package/cdn/components/menu-item/submenu-controller.js +1 -1
  113. package/cdn/components/navigation-item/navigation-item.js +1 -1
  114. package/cdn/components/notification/notification.js +1 -1
  115. package/cdn/components/optgroup/optgroup.js +1 -1
  116. package/cdn/components/option/option.js +1 -1
  117. package/cdn/components/popup/popup.js +1 -1
  118. package/cdn/components/quickfact/quickfact.js +1 -1
  119. package/cdn/components/radio/radio.js +1 -1
  120. package/cdn/components/radio-button/radio-button.js +1 -1
  121. package/cdn/components/radio-group/radio-group.d.ts +2 -0
  122. package/cdn/components/radio-group/radio-group.js +1 -1
  123. package/cdn/components/range/range.js +1 -1
  124. package/cdn/components/range-tick/range-tick.js +1 -1
  125. package/cdn/components/scrollable/scrollable.js +1 -1
  126. package/cdn/components/select/select.js +1 -1
  127. package/cdn/components/skeleton/skeleton.js +1 -1
  128. package/cdn/components/spinner/spinner.js +1 -1
  129. package/cdn/components/step/step.js +1 -1
  130. package/cdn/components/step-group/step-group.js +1 -1
  131. package/cdn/components/switch/switch.js +1 -1
  132. package/cdn/components/tab/tab.js +1 -1
  133. package/cdn/components/tab-group/tab-group.js +1 -1
  134. package/cdn/components/tab-panel/tab-panel.js +1 -1
  135. package/cdn/components/tag/tag.js +1 -1
  136. package/cdn/components/teaser/teaser.js +1 -1
  137. package/cdn/components/teaser-media/teaser-media.js +1 -1
  138. package/cdn/components/textarea/textarea.js +1 -1
  139. package/cdn/components/theme-listener/theme-listener.js +1 -1
  140. package/cdn/components/tooltip/tooltip.js +1 -1
  141. package/cdn/components/video/video.js +1 -1
  142. package/cdn/custom-elements.json +140 -10
  143. package/cdn/solid-components.bundle.js +73 -73
  144. package/cdn/solid-components.css +1 -1
  145. package/cdn/solid-components.iife.js +73 -73
  146. package/cdn/solid-components.js +1 -1
  147. package/cdn/translations/de.js +1 -1
  148. package/cdn/translations/en.js +1 -1
  149. package/cdn/utilities/autocomplete-config.js +1 -1
  150. package/cdn/utilities/form.js +1 -1
  151. package/cdn/utilities/icon-library.js +1 -1
  152. package/cdn/utilities/localize.js +1 -1
  153. package/cdn/vscode.html-custom-data.json +12 -12
  154. package/cdn/web-types.json +21 -13
  155. package/cdn-versioned/chunks/{chunk.L4Q4HWT2.js → chunk.26BCL4FF.js} +2 -2
  156. package/cdn-versioned/chunks/{chunk.CSMKAOUE.js → chunk.2P23JJWD.js} +2 -2
  157. package/cdn-versioned/chunks/{chunk.THPGET7V.js → chunk.3L5FEJFD.js} +2 -2
  158. package/cdn-versioned/chunks/chunk.3Q5ROUYW.js +2 -0
  159. package/cdn-versioned/chunks/{chunk.CZUZXVXM.js → chunk.4SD276AZ.js} +2 -2
  160. package/cdn-versioned/chunks/chunk.4VDBIPS3.js +26 -0
  161. package/cdn-versioned/chunks/chunk.4XDRYWQQ.js +1 -0
  162. package/cdn-versioned/chunks/chunk.6FBD7P2H.js +2 -0
  163. package/cdn-versioned/chunks/{chunk.F2YBTYYO.js → chunk.6XX362GS.js} +2 -2
  164. package/cdn-versioned/chunks/{chunk.KXYEKUBH.js → chunk.74UJGAKM.js} +3 -3
  165. package/cdn-versioned/chunks/{chunk.VW4SG3XG.js → chunk.AKZKVAFE.js} +2 -2
  166. package/cdn-versioned/chunks/{chunk.XGLBODZT.js → chunk.APXUJGN2.js} +2 -2
  167. package/cdn-versioned/chunks/{chunk.WOCCV524.js → chunk.BBPXHBQS.js} +2 -2
  168. package/cdn-versioned/chunks/{chunk.54UVKIZB.js → chunk.BKN6CM3X.js} +1 -1
  169. package/cdn-versioned/chunks/{chunk.SWMRHLCD.js → chunk.BMVAFZFL.js} +2 -2
  170. package/cdn-versioned/chunks/{chunk.EYHWAYCC.js → chunk.BNQ25UWK.js} +2 -2
  171. package/cdn-versioned/chunks/{chunk.ACBSQQGQ.js → chunk.D2G6K5MQ.js} +2 -2
  172. package/cdn-versioned/chunks/chunk.DSKB3SEU.js +10 -0
  173. package/cdn-versioned/chunks/chunk.DX36ZINA.js +12 -0
  174. package/cdn-versioned/chunks/{chunk.XFJLF5M4.js → chunk.DYOX3Y4I.js} +2 -2
  175. package/cdn-versioned/chunks/{chunk.52TRFRJK.js → chunk.E3RBLJOD.js} +2 -2
  176. package/cdn-versioned/chunks/{chunk.OGNOPC3L.js → chunk.EQGJTJVC.js} +2 -2
  177. package/{cdn/chunks/chunk.W4EADN3G.js → cdn-versioned/chunks/chunk.ERP45OHF.js} +1 -1
  178. package/cdn-versioned/chunks/{chunk.GS46R6QO.js → chunk.F4Z5BNJG.js} +2 -2
  179. package/cdn-versioned/chunks/{chunk.MOZSGQET.js → chunk.FNGOXX73.js} +2 -2
  180. package/cdn-versioned/chunks/{chunk.XYQCPWUJ.js → chunk.FPFRVAOM.js} +2 -2
  181. package/cdn-versioned/chunks/{chunk.U5H4A4ZD.js → chunk.GBBGLVT7.js} +2 -2
  182. package/cdn-versioned/chunks/{chunk.QKQ2FAEH.js → chunk.H2JB6IEW.js} +2 -2
  183. package/cdn-versioned/chunks/{chunk.BDF5Y2DV.js → chunk.H46BKEK7.js} +2 -2
  184. package/cdn-versioned/chunks/{chunk.XF2NJUOO.js → chunk.HOSXGRLD.js} +2 -2
  185. package/{cdn/chunks/chunk.RMXFJHN6.js → cdn-versioned/chunks/chunk.ICEC5PGK.js} +1 -1
  186. package/{cdn/chunks/chunk.GO7NGR4Q.js → cdn-versioned/chunks/chunk.IF6Y3ILD.js} +1 -1
  187. package/cdn-versioned/chunks/{chunk.DSXSUMRR.js → chunk.IKWYILIW.js} +3 -3
  188. package/cdn-versioned/chunks/{chunk.LFLXMIIF.js → chunk.ITVMUBKK.js} +2 -2
  189. package/cdn-versioned/chunks/{chunk.YDS5VIM3.js → chunk.J2VLSSW7.js} +2 -2
  190. package/cdn-versioned/chunks/{chunk.2DHBC2XZ.js → chunk.JI2EXDT5.js} +2 -2
  191. package/cdn-versioned/chunks/{chunk.RJVOMEKW.js → chunk.JO6BQSCQ.js} +2 -2
  192. package/cdn-versioned/chunks/{chunk.A4Y2ZTQS.js → chunk.KI5LSRB6.js} +2 -2
  193. package/cdn-versioned/chunks/{chunk.JG5FT5V3.js → chunk.LGRES6IS.js} +2 -2
  194. package/cdn-versioned/chunks/{chunk.SLXPE3UU.js → chunk.LHSR56PH.js} +1 -1
  195. package/cdn-versioned/chunks/{chunk.3GRKVX3Y.js → chunk.LS2LSVUQ.js} +2 -2
  196. package/cdn-versioned/chunks/{chunk.RAP66B6O.js → chunk.LZRL7OLU.js} +1 -1
  197. package/cdn-versioned/chunks/{chunk.GBSKWBQY.js → chunk.MA2DBHDL.js} +5 -5
  198. package/cdn-versioned/chunks/{chunk.AMWQ5YE5.js → chunk.NADOKI3X.js} +1 -1
  199. package/cdn-versioned/chunks/chunk.NFXUARAT.js +12 -0
  200. package/cdn-versioned/chunks/{chunk.SV6DES3E.js → chunk.NL7YFV4O.js} +1 -1
  201. package/cdn-versioned/chunks/{chunk.UOAG5PNU.js → chunk.OBAEIKIV.js} +2 -2
  202. package/cdn-versioned/chunks/{chunk.TXQVRNR7.js → chunk.OJDCXBF7.js} +2 -2
  203. package/cdn-versioned/chunks/{chunk.VXGSYVQJ.js → chunk.ONUXW5DZ.js} +3 -3
  204. package/cdn-versioned/chunks/{chunk.VREAKVXD.js → chunk.OPXJFPZP.js} +2 -2
  205. package/cdn-versioned/chunks/{chunk.WMBV6H4W.js → chunk.OU22ZFXY.js} +2 -2
  206. package/cdn-versioned/chunks/{chunk.WEOX4LVS.js → chunk.PB7NJRWC.js} +1 -1
  207. package/cdn-versioned/chunks/{chunk.BOEKLLMY.js → chunk.PLH32I6F.js} +2 -2
  208. package/cdn-versioned/chunks/{chunk.T2VQOPNR.js → chunk.QPNMYGII.js} +2 -2
  209. package/cdn-versioned/chunks/chunk.RF25IPQQ.js +2 -0
  210. package/cdn-versioned/chunks/{chunk.UK3QQAGA.js → chunk.RKEZLYWS.js} +2 -2
  211. package/cdn-versioned/chunks/{chunk.K65Y3BMV.js → chunk.S27ZPXTG.js} +2 -2
  212. package/{cdn/chunks/chunk.YQH4KNT6.js → cdn-versioned/chunks/chunk.SAEYIL5V.js} +1 -1
  213. package/cdn-versioned/chunks/{chunk.PCPQDPIJ.js → chunk.SDCXS2JQ.js} +2 -2
  214. package/cdn-versioned/chunks/{chunk.4V4SW2MU.js → chunk.SFI6JJ3S.js} +2 -2
  215. package/cdn-versioned/chunks/{chunk.ZSZLZIYX.js → chunk.SHEX3HP5.js} +2 -2
  216. package/cdn-versioned/chunks/{chunk.TEQ3DTJK.js → chunk.SI3NLQEF.js} +3 -3
  217. package/cdn-versioned/chunks/{chunk.B66QBBOC.js → chunk.TBX5HITB.js} +2 -2
  218. package/{cdn/chunks/chunk.3FMN7C5N.js → cdn-versioned/chunks/chunk.TRGIF57L.js} +1 -1
  219. package/cdn-versioned/chunks/{chunk.G6OWFL7B.js → chunk.UTKWZUGC.js} +2 -2
  220. package/cdn-versioned/chunks/{chunk.IQPMMUES.js → chunk.VAM5SM3O.js} +1 -1
  221. package/cdn-versioned/chunks/{chunk.HX4A7MNJ.js → chunk.VJ4JV7V2.js} +2 -2
  222. package/cdn-versioned/chunks/{chunk.BAAF4SAM.js → chunk.VQN3BT2Y.js} +3 -3
  223. package/cdn-versioned/chunks/{chunk.DDGEG3JJ.js → chunk.VXFA32CH.js} +2 -2
  224. package/cdn-versioned/chunks/{chunk.HLDWO3HP.js → chunk.W5O4FM6B.js} +1 -1
  225. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  226. package/cdn-versioned/chunks/{chunk.QDWVVB6U.js → chunk.WENYT4WP.js} +2 -2
  227. package/cdn-versioned/chunks/{chunk.CEWEUYL5.js → chunk.X3GFJL4Z.js} +2 -2
  228. package/cdn-versioned/chunks/{chunk.SH4PMEHV.js → chunk.X6BLH7HT.js} +2 -2
  229. package/cdn-versioned/chunks/{chunk.WC4UPG7R.js → chunk.XY6SE7OP.js} +2 -2
  230. package/cdn-versioned/chunks/{chunk.KAVHO7BF.js → chunk.YLOHEXXJ.js} +2 -2
  231. package/cdn-versioned/chunks/{chunk.C2B2WHBX.js → chunk.YUTS6M3G.js} +2 -2
  232. package/cdn-versioned/chunks/{chunk.Q36PSPCX.js → chunk.ZO4NHHNY.js} +2 -2
  233. package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
  234. package/cdn-versioned/components/accordion/accordion.js +1 -1
  235. package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  236. package/cdn-versioned/components/accordion-group/accordion-group.js +1 -1
  237. package/cdn-versioned/components/animation/animation.d.ts +1 -1
  238. package/cdn-versioned/components/animation/animation.js +1 -1
  239. package/cdn-versioned/components/audio/audio.d.ts +1 -1
  240. package/cdn-versioned/components/audio/audio.js +1 -1
  241. package/cdn-versioned/components/badge/badge.d.ts +1 -1
  242. package/cdn-versioned/components/badge/badge.js +1 -1
  243. package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
  244. package/cdn-versioned/components/brandshape/brandshape.js +1 -1
  245. package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  246. package/cdn-versioned/components/breadcrumb/breadcrumb.js +1 -1
  247. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  248. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.js +1 -1
  249. package/cdn-versioned/components/button/button.d.ts +1 -1
  250. package/cdn-versioned/components/button/button.js +1 -1
  251. package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
  252. package/cdn-versioned/components/button-group/button-group.js +1 -1
  253. package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
  254. package/cdn-versioned/components/carousel/carousel.js +1 -1
  255. package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  256. package/cdn-versioned/components/carousel-item/carousel-item.js +1 -1
  257. package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
  258. package/cdn-versioned/components/checkbox/checkbox.js +1 -1
  259. package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  260. package/cdn-versioned/components/checkbox-group/checkbox-group.js +1 -1
  261. package/cdn-versioned/components/combobox/combobox.d.ts +2 -1
  262. package/cdn-versioned/components/combobox/combobox.js +1 -1
  263. package/cdn-versioned/components/datepicker/datepicker.d.ts +1 -1
  264. package/cdn-versioned/components/datepicker/datepicker.js +1 -1
  265. package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
  266. package/cdn-versioned/components/dialog/dialog.js +1 -1
  267. package/cdn-versioned/components/divider/divider.d.ts +1 -1
  268. package/cdn-versioned/components/divider/divider.js +1 -1
  269. package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
  270. package/cdn-versioned/components/drawer/drawer.js +1 -1
  271. package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
  272. package/cdn-versioned/components/dropdown/dropdown.js +1 -1
  273. package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
  274. package/cdn-versioned/components/expandable/expandable.js +1 -1
  275. package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
  276. package/cdn-versioned/components/flipcard/flipcard.js +1 -1
  277. package/cdn-versioned/components/header/header.d.ts +1 -1
  278. package/cdn-versioned/components/header/header.js +1 -1
  279. package/cdn-versioned/components/icon/icon.d.ts +1 -1
  280. package/cdn-versioned/components/icon/icon.js +1 -1
  281. package/cdn-versioned/components/icon/library.default.js +1 -1
  282. package/cdn-versioned/components/icon/library.js +1 -1
  283. package/cdn-versioned/components/include/include.d.ts +1 -1
  284. package/cdn-versioned/components/include/include.js +1 -1
  285. package/cdn-versioned/components/input/input.d.ts +1 -1
  286. package/cdn-versioned/components/input/input.js +1 -1
  287. package/cdn-versioned/components/link/link.d.ts +1 -1
  288. package/cdn-versioned/components/link/link.js +1 -1
  289. package/cdn-versioned/components/loader/loader.d.ts +1 -1
  290. package/cdn-versioned/components/loader/loader.js +1 -1
  291. package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
  292. package/cdn-versioned/components/map-marker/map-marker.js +1 -1
  293. package/cdn-versioned/components/menu/menu.d.ts +1 -1
  294. package/cdn-versioned/components/menu/menu.js +1 -1
  295. package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
  296. package/cdn-versioned/components/menu-item/menu-item.js +1 -1
  297. package/cdn-versioned/components/menu-item/submenu-controller.js +1 -1
  298. package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  299. package/cdn-versioned/components/navigation-item/navigation-item.js +1 -1
  300. package/cdn-versioned/components/notification/notification.d.ts +1 -1
  301. package/cdn-versioned/components/notification/notification.js +1 -1
  302. package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
  303. package/cdn-versioned/components/optgroup/optgroup.js +1 -1
  304. package/cdn-versioned/components/option/option.d.ts +1 -1
  305. package/cdn-versioned/components/option/option.js +1 -1
  306. package/cdn-versioned/components/popup/popup.d.ts +1 -1
  307. package/cdn-versioned/components/popup/popup.js +1 -1
  308. package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
  309. package/cdn-versioned/components/quickfact/quickfact.js +1 -1
  310. package/cdn-versioned/components/radio/radio.d.ts +1 -1
  311. package/cdn-versioned/components/radio/radio.js +1 -1
  312. package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
  313. package/cdn-versioned/components/radio-button/radio-button.js +1 -1
  314. package/cdn-versioned/components/radio-group/radio-group.d.ts +3 -1
  315. package/cdn-versioned/components/radio-group/radio-group.js +1 -1
  316. package/cdn-versioned/components/range/range.d.ts +1 -1
  317. package/cdn-versioned/components/range/range.js +1 -1
  318. package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
  319. package/cdn-versioned/components/range-tick/range-tick.js +1 -1
  320. package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
  321. package/cdn-versioned/components/scrollable/scrollable.js +1 -1
  322. package/cdn-versioned/components/select/select.d.ts +1 -1
  323. package/cdn-versioned/components/select/select.js +1 -1
  324. package/cdn-versioned/components/skeleton/skeleton.d.ts +1 -1
  325. package/cdn-versioned/components/skeleton/skeleton.js +1 -1
  326. package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
  327. package/cdn-versioned/components/spinner/spinner.js +1 -1
  328. package/cdn-versioned/components/step/step.d.ts +1 -1
  329. package/cdn-versioned/components/step/step.js +1 -1
  330. package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
  331. package/cdn-versioned/components/step-group/step-group.js +1 -1
  332. package/cdn-versioned/components/switch/switch.d.ts +1 -1
  333. package/cdn-versioned/components/switch/switch.js +1 -1
  334. package/cdn-versioned/components/tab/tab.d.ts +1 -1
  335. package/cdn-versioned/components/tab/tab.js +1 -1
  336. package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
  337. package/cdn-versioned/components/tab-group/tab-group.js +1 -1
  338. package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  339. package/cdn-versioned/components/tab-panel/tab-panel.js +1 -1
  340. package/cdn-versioned/components/tag/tag.d.ts +1 -1
  341. package/cdn-versioned/components/tag/tag.js +1 -1
  342. package/cdn-versioned/components/teaser/teaser.js +1 -1
  343. package/cdn-versioned/components/teaser-media/teaser-media.js +1 -1
  344. package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
  345. package/cdn-versioned/components/textarea/textarea.js +1 -1
  346. package/cdn-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  347. package/cdn-versioned/components/theme-listener/theme-listener.js +1 -1
  348. package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
  349. package/cdn-versioned/components/tooltip/tooltip.js +1 -1
  350. package/cdn-versioned/components/video/video.d.ts +1 -1
  351. package/cdn-versioned/components/video/video.js +1 -1
  352. package/cdn-versioned/custom-elements.json +384 -254
  353. package/cdn-versioned/internal/form.js +2 -2
  354. package/cdn-versioned/solid-components.bundle.js +85 -85
  355. package/cdn-versioned/solid-components.css +3 -3
  356. package/cdn-versioned/solid-components.iife.js +85 -85
  357. package/cdn-versioned/solid-components.js +1 -1
  358. package/cdn-versioned/translations/de.js +1 -1
  359. package/cdn-versioned/translations/en.js +1 -1
  360. package/cdn-versioned/utilities/autocomplete-config.js +1 -1
  361. package/cdn-versioned/utilities/form.js +1 -1
  362. package/cdn-versioned/utilities/icon-library.js +1 -1
  363. package/cdn-versioned/utilities/localize.js +1 -1
  364. package/cdn-versioned/vscode.html-custom-data.json +111 -111
  365. package/cdn-versioned/web-types.json +169 -161
  366. package/dist/chunks/{chunk.BDOSAOAF.js → chunk.234WMPXN.js} +2 -2
  367. package/dist/chunks/{chunk.UQIEZ6RZ.js → chunk.2IGM5O3Z.js} +21 -7
  368. package/dist/chunks/{chunk.GKH647YK.js → chunk.2S2PIDCO.js} +1 -1
  369. package/dist/chunks/{chunk.MFLCJDVY.js → chunk.3JPUXY3E.js} +9 -6
  370. package/dist/chunks/{chunk.BWFGZZU7.js → chunk.3SHMQDU5.js} +4 -4
  371. package/dist/chunks/{chunk.E2PJNXY4.js → chunk.3XB3MDZA.js} +3 -3
  372. package/dist/chunks/{chunk.KVQN5R3X.js → chunk.4GT63TFU.js} +2 -2
  373. package/dist/chunks/{chunk.VLHNMJ5F.js → chunk.5BYGGDHP.js} +18 -10
  374. package/dist/chunks/{chunk.B46QWFGW.js → chunk.5IEWEZ32.js} +2 -2
  375. package/dist/chunks/{chunk.WC2SM7KI.js → chunk.6CXQO2LR.js} +4 -4
  376. package/dist/chunks/{chunk.2WGBXYET.js → chunk.7IOIWJCC.js} +2 -2
  377. package/dist/chunks/{chunk.KENPAY6Q.js → chunk.7QVXY24T.js} +2 -2
  378. package/dist/chunks/{chunk.XF6FDNUR.js → chunk.7S66HTS5.js} +2 -2
  379. package/dist/chunks/{chunk.IOIU7TDJ.js → chunk.AQVFMVTN.js} +3 -3
  380. package/dist/chunks/{chunk.EQ3WBPH5.js → chunk.B5ABJMXQ.js} +2 -2
  381. package/dist/chunks/{chunk.JZSKAHSL.js → chunk.B747IT2V.js} +2 -2
  382. package/dist/chunks/{chunk.BNUP4TMP.js → chunk.BDRCNAP2.js} +4 -4
  383. package/dist/chunks/{chunk.3ZZBKPOH.js → chunk.BOLOX4WN.js} +2 -2
  384. package/dist/chunks/chunk.C5M5Z6EY.js +93 -0
  385. package/dist/chunks/{chunk.BDBRCTEF.js → chunk.CGWCE53G.js} +3 -3
  386. package/dist/chunks/{chunk.33OSBM2L.js → chunk.D2M6PTUJ.js} +2 -2
  387. package/dist/chunks/{chunk.GU6XT67W.js → chunk.DYR6RQ4I.js} +2 -2
  388. package/dist/chunks/{chunk.MQG727Y4.js → chunk.EAJ3CM6N.js} +1 -1
  389. package/dist/chunks/{chunk.2BO5LK23.js → chunk.ENZOJSYQ.js} +2 -2
  390. package/dist/chunks/{chunk.BKNVWJRC.js → chunk.EYY4XXUV.js} +2 -2
  391. package/dist/chunks/{chunk.KQYOSLIW.js → chunk.GH6RJCYI.js} +15 -7
  392. package/dist/chunks/{chunk.NO5K5NRM.js → chunk.HMJLHL4X.js} +2 -2
  393. package/dist/chunks/{chunk.GQEY7HYL.js → chunk.IENX2KRD.js} +2 -2
  394. package/dist/chunks/{chunk.4VG6NHCU.js → chunk.JTLSKGYA.js} +9 -6
  395. package/dist/chunks/{chunk.HPYZXPZN.js → chunk.KDPPIV2Q.js} +2 -2
  396. package/dist/chunks/{chunk.7EU5PQGA.js → chunk.KIMASFRG.js} +3 -3
  397. package/dist/chunks/{chunk.WG6PNLWA.js → chunk.L6FBD5Q3.js} +2 -2
  398. package/dist/chunks/{chunk.VSWXW4QR.js → chunk.LN3YKBFO.js} +2 -2
  399. package/dist/chunks/{chunk.W76DK5Q3.js → chunk.LQ73NDCS.js} +3 -3
  400. package/dist/chunks/{chunk.BV25PV23.js → chunk.LS547AKE.js} +4 -4
  401. package/dist/chunks/{chunk.S4SI3HWM.js → chunk.LXEDTKMG.js} +2 -2
  402. package/dist/chunks/{chunk.FKPD6TIK.js → chunk.LXWI4JHE.js} +2 -2
  403. package/dist/chunks/{chunk.HPHV4VKP.js → chunk.OKLMUSN5.js} +2 -2
  404. package/dist/chunks/{chunk.N4W5UD4U.js → chunk.OVAIRJ6A.js} +15 -7
  405. package/dist/chunks/{chunk.AFMRRRYY.js → chunk.P7QIYXBM.js} +2 -2
  406. package/dist/chunks/{chunk.DEYMV3AS.js → chunk.PBIXMTMH.js} +2 -2
  407. package/dist/chunks/{chunk.EREHAJGM.js → chunk.PCXIG7RW.js} +2 -2
  408. package/dist/chunks/{chunk.2U32VSHR.js → chunk.PVMZQVCM.js} +3 -3
  409. package/dist/chunks/{chunk.5IARX66P.js → chunk.PZTZ7EDY.js} +3 -3
  410. package/dist/chunks/{chunk.4Z5IGWSP.js → chunk.QSAWUC7Z.js} +2 -2
  411. package/dist/chunks/{chunk.ZGCNF5LQ.js → chunk.S4HQL24U.js} +2 -2
  412. package/dist/chunks/{chunk.BQINNFJP.js → chunk.SZUS5ZW6.js} +2 -2
  413. package/dist/chunks/{chunk.COSVGBTT.js → chunk.TJOWX2RZ.js} +18 -3
  414. package/dist/chunks/{chunk.ZR5RDB6B.js → chunk.TLR7Y6RR.js} +5 -8
  415. package/dist/chunks/{chunk.GXX7ZVMH.js → chunk.UCHOLQ5K.js} +2 -2
  416. package/dist/chunks/{chunk.6RD6BJ43.js → chunk.VNBBYBKG.js} +2 -2
  417. package/dist/chunks/{chunk.MACL5DD6.js → chunk.VXB2N5RN.js} +2 -2
  418. package/dist/chunks/{chunk.IQMEFOSJ.js → chunk.W7MVICGC.js} +2 -2
  419. package/dist/chunks/{chunk.NMS67TKX.js → chunk.WTPLBXHZ.js} +2 -2
  420. package/dist/chunks/{chunk.VDMPM2P2.js → chunk.WUVJOWM6.js} +2 -2
  421. package/dist/chunks/{chunk.RJQAUVFZ.js → chunk.X3SO46EU.js} +2 -2
  422. package/dist/chunks/{chunk.WOZA4YTR.js → chunk.XJDIF3TO.js} +3 -3
  423. package/dist/chunks/{chunk.AXQ65JS3.js → chunk.XLMNB54R.js} +2 -2
  424. package/dist/chunks/{chunk.6UAU2Y7U.js → chunk.YCUAZMU4.js} +2 -2
  425. package/dist/chunks/{chunk.RC4YZBAG.js → chunk.YKO32EDY.js} +2 -2
  426. package/dist/chunks/{chunk.T27MZUKA.js → chunk.YTJ47KE6.js} +2 -2
  427. package/dist/chunks/{chunk.SBC2I6JO.js → chunk.ZOE6NEFW.js} +2 -2
  428. package/dist/chunks/{chunk.USC7EHJV.js → chunk.ZOJIEPWP.js} +13 -13
  429. package/dist/components/accordion/accordion.js +5 -5
  430. package/dist/components/accordion-group/accordion-group.js +6 -6
  431. package/dist/components/animation/animation.js +2 -2
  432. package/dist/components/audio/audio.js +8 -8
  433. package/dist/components/badge/badge.js +2 -2
  434. package/dist/components/brandshape/brandshape.js +2 -2
  435. package/dist/components/breadcrumb/breadcrumb.js +7 -7
  436. package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
  437. package/dist/components/button/button.js +3 -3
  438. package/dist/components/button-group/button-group.js +2 -2
  439. package/dist/components/carousel/carousel.js +6 -6
  440. package/dist/components/carousel-item/carousel-item.js +2 -2
  441. package/dist/components/checkbox/checkbox.js +5 -5
  442. package/dist/components/checkbox-group/checkbox-group.js +5 -5
  443. package/dist/components/combobox/combobox.d.ts +1 -0
  444. package/dist/components/combobox/combobox.js +7 -7
  445. package/dist/components/datepicker/datepicker.js +7 -7
  446. package/dist/components/dialog/dialog.js +7 -7
  447. package/dist/components/divider/divider.js +2 -2
  448. package/dist/components/drawer/drawer.js +7 -7
  449. package/dist/components/dropdown/dropdown.js +3 -3
  450. package/dist/components/expandable/expandable.js +5 -5
  451. package/dist/components/flipcard/flipcard.js +7 -7
  452. package/dist/components/header/header.js +2 -2
  453. package/dist/components/icon/icon.js +4 -4
  454. package/dist/components/icon/library.default.js +1 -1
  455. package/dist/components/icon/library.js +2 -2
  456. package/dist/components/include/include.js +2 -2
  457. package/dist/components/input/input.js +5 -5
  458. package/dist/components/link/link.js +2 -2
  459. package/dist/components/loader/loader.js +2 -2
  460. package/dist/components/map-marker/map-marker.js +2 -2
  461. package/dist/components/menu/menu.js +2 -2
  462. package/dist/components/menu-item/menu-item.js +2 -2
  463. package/dist/components/navigation-item/navigation-item.js +6 -6
  464. package/dist/components/notification/notification.js +7 -7
  465. package/dist/components/optgroup/optgroup.js +3 -3
  466. package/dist/components/option/option.js +5 -5
  467. package/dist/components/popup/popup.js +2 -2
  468. package/dist/components/quickfact/quickfact.js +6 -6
  469. package/dist/components/radio/radio.js +2 -2
  470. package/dist/components/radio-button/radio-button.js +2 -2
  471. package/dist/components/radio-group/radio-group.d.ts +2 -0
  472. package/dist/components/radio-group/radio-group.js +4 -4
  473. package/dist/components/range/range.js +7 -7
  474. package/dist/components/range-tick/range-tick.js +2 -2
  475. package/dist/components/scrollable/scrollable.js +5 -5
  476. package/dist/components/select/select.js +7 -7
  477. package/dist/components/skeleton/skeleton.js +2 -2
  478. package/dist/components/spinner/spinner.js +2 -2
  479. package/dist/components/step/step.js +5 -5
  480. package/dist/components/step-group/step-group.js +2 -2
  481. package/dist/components/switch/switch.js +2 -2
  482. package/dist/components/tab/tab.js +2 -2
  483. package/dist/components/tab-group/tab-group.js +5 -5
  484. package/dist/components/tab-panel/tab-panel.js +2 -2
  485. package/dist/components/tag/tag.js +5 -5
  486. package/dist/components/teaser/teaser.js +2 -2
  487. package/dist/components/teaser-media/teaser-media.js +2 -2
  488. package/dist/components/textarea/textarea.js +5 -5
  489. package/dist/components/theme-listener/theme-listener.js +2 -2
  490. package/dist/components/tooltip/tooltip.js +6 -6
  491. package/dist/components/video/video.js +5 -5
  492. package/dist/custom-elements.json +140 -10
  493. package/dist/solid-components.css +1 -1
  494. package/dist/solid-components.js +63 -63
  495. package/dist/utilities/autocomplete-config.js +3 -3
  496. package/dist/utilities/icon-library.js +2 -2
  497. package/dist/vscode.html-custom-data.json +12 -12
  498. package/dist/web-types.json +21 -13
  499. package/dist-versioned/chunks/{chunk.BDOSAOAF.js → chunk.234WMPXN.js} +3 -3
  500. package/dist-versioned/chunks/{chunk.UQIEZ6RZ.js → chunk.2IGM5O3Z.js} +44 -30
  501. package/dist-versioned/chunks/{chunk.GKH647YK.js → chunk.2S2PIDCO.js} +1 -1
  502. package/dist-versioned/chunks/{chunk.MFLCJDVY.js → chunk.3JPUXY3E.js} +33 -30
  503. package/dist-versioned/chunks/{chunk.BWFGZZU7.js → chunk.3SHMQDU5.js} +13 -13
  504. package/dist-versioned/chunks/{chunk.E2PJNXY4.js → chunk.3XB3MDZA.js} +6 -6
  505. package/dist-versioned/chunks/{chunk.KVQN5R3X.js → chunk.4GT63TFU.js} +13 -13
  506. package/dist-versioned/chunks/{chunk.VLHNMJ5F.js → chunk.5BYGGDHP.js} +24 -16
  507. package/dist-versioned/chunks/{chunk.B46QWFGW.js → chunk.5IEWEZ32.js} +7 -7
  508. package/dist-versioned/chunks/{chunk.WC2SM7KI.js → chunk.6CXQO2LR.js} +7 -7
  509. package/dist-versioned/chunks/{chunk.2WGBXYET.js → chunk.7IOIWJCC.js} +5 -5
  510. package/dist-versioned/chunks/{chunk.KENPAY6Q.js → chunk.7QVXY24T.js} +4 -4
  511. package/dist-versioned/chunks/{chunk.XF6FDNUR.js → chunk.7S66HTS5.js} +4 -4
  512. package/dist-versioned/chunks/{chunk.IOIU7TDJ.js → chunk.AQVFMVTN.js} +11 -11
  513. package/dist-versioned/chunks/{chunk.EQ3WBPH5.js → chunk.B5ABJMXQ.js} +3 -3
  514. package/dist-versioned/chunks/{chunk.JZSKAHSL.js → chunk.B747IT2V.js} +4 -4
  515. package/dist-versioned/chunks/{chunk.BNUP4TMP.js → chunk.BDRCNAP2.js} +9 -9
  516. package/dist-versioned/chunks/{chunk.3ZZBKPOH.js → chunk.BOLOX4WN.js} +7 -7
  517. package/dist-versioned/chunks/chunk.C3WIBDGG.js +2 -2
  518. package/dist-versioned/chunks/chunk.C5M5Z6EY.js +93 -0
  519. package/dist-versioned/chunks/{chunk.BDBRCTEF.js → chunk.CGWCE53G.js} +12 -12
  520. package/dist-versioned/chunks/{chunk.33OSBM2L.js → chunk.D2M6PTUJ.js} +3 -3
  521. package/dist-versioned/chunks/{chunk.GU6XT67W.js → chunk.DYR6RQ4I.js} +4 -4
  522. package/dist-versioned/chunks/{chunk.MQG727Y4.js → chunk.EAJ3CM6N.js} +5 -5
  523. package/dist-versioned/chunks/{chunk.2BO5LK23.js → chunk.ENZOJSYQ.js} +2 -2
  524. package/dist-versioned/chunks/{chunk.BKNVWJRC.js → chunk.EYY4XXUV.js} +6 -6
  525. package/dist-versioned/chunks/{chunk.KQYOSLIW.js → chunk.GH6RJCYI.js} +19 -11
  526. package/dist-versioned/chunks/{chunk.NO5K5NRM.js → chunk.HMJLHL4X.js} +7 -7
  527. package/dist-versioned/chunks/{chunk.GQEY7HYL.js → chunk.IENX2KRD.js} +3 -3
  528. package/dist-versioned/chunks/{chunk.4VG6NHCU.js → chunk.JTLSKGYA.js} +12 -9
  529. package/dist-versioned/chunks/{chunk.HPYZXPZN.js → chunk.KDPPIV2Q.js} +4 -4
  530. package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
  531. package/dist-versioned/chunks/{chunk.7EU5PQGA.js → chunk.KIMASFRG.js} +7 -7
  532. package/dist-versioned/chunks/{chunk.WG6PNLWA.js → chunk.L6FBD5Q3.js} +12 -12
  533. package/dist-versioned/chunks/{chunk.VSWXW4QR.js → chunk.LN3YKBFO.js} +5 -5
  534. package/dist-versioned/chunks/{chunk.W76DK5Q3.js → chunk.LQ73NDCS.js} +5 -5
  535. package/dist-versioned/chunks/{chunk.BV25PV23.js → chunk.LS547AKE.js} +10 -10
  536. package/dist-versioned/chunks/{chunk.S4SI3HWM.js → chunk.LXEDTKMG.js} +4 -4
  537. package/dist-versioned/chunks/{chunk.FKPD6TIK.js → chunk.LXWI4JHE.js} +16 -16
  538. package/dist-versioned/chunks/{chunk.HPHV4VKP.js → chunk.OKLMUSN5.js} +5 -5
  539. package/dist-versioned/chunks/{chunk.N4W5UD4U.js → chunk.OVAIRJ6A.js} +17 -9
  540. package/dist-versioned/chunks/{chunk.AFMRRRYY.js → chunk.P7QIYXBM.js} +4 -4
  541. package/dist-versioned/chunks/{chunk.DEYMV3AS.js → chunk.PBIXMTMH.js} +13 -13
  542. package/dist-versioned/chunks/{chunk.EREHAJGM.js → chunk.PCXIG7RW.js} +7 -7
  543. package/dist-versioned/chunks/{chunk.2U32VSHR.js → chunk.PVMZQVCM.js} +5 -5
  544. package/dist-versioned/chunks/{chunk.5IARX66P.js → chunk.PZTZ7EDY.js} +13 -13
  545. package/dist-versioned/chunks/{chunk.4Z5IGWSP.js → chunk.QSAWUC7Z.js} +6 -6
  546. package/dist-versioned/chunks/{chunk.ZGCNF5LQ.js → chunk.S4HQL24U.js} +3 -3
  547. package/dist-versioned/chunks/{chunk.BQINNFJP.js → chunk.SZUS5ZW6.js} +7 -7
  548. package/dist-versioned/chunks/{chunk.COSVGBTT.js → chunk.TJOWX2RZ.js} +30 -15
  549. package/dist-versioned/chunks/{chunk.ZR5RDB6B.js → chunk.TLR7Y6RR.js} +10 -13
  550. package/dist-versioned/chunks/{chunk.GXX7ZVMH.js → chunk.UCHOLQ5K.js} +4 -4
  551. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  552. package/dist-versioned/chunks/{chunk.6RD6BJ43.js → chunk.VNBBYBKG.js} +3 -3
  553. package/dist-versioned/chunks/{chunk.MACL5DD6.js → chunk.VXB2N5RN.js} +8 -8
  554. package/dist-versioned/chunks/{chunk.IQMEFOSJ.js → chunk.W7MVICGC.js} +6 -6
  555. package/dist-versioned/chunks/{chunk.NMS67TKX.js → chunk.WTPLBXHZ.js} +15 -15
  556. package/dist-versioned/chunks/{chunk.VDMPM2P2.js → chunk.WUVJOWM6.js} +4 -4
  557. package/dist-versioned/chunks/{chunk.RJQAUVFZ.js → chunk.X3SO46EU.js} +7 -7
  558. package/dist-versioned/chunks/{chunk.WOZA4YTR.js → chunk.XJDIF3TO.js} +8 -8
  559. package/dist-versioned/chunks/{chunk.AXQ65JS3.js → chunk.XLMNB54R.js} +8 -8
  560. package/dist-versioned/chunks/{chunk.6UAU2Y7U.js → chunk.YCUAZMU4.js} +4 -4
  561. package/dist-versioned/chunks/{chunk.RC4YZBAG.js → chunk.YKO32EDY.js} +6 -6
  562. package/dist-versioned/chunks/{chunk.T27MZUKA.js → chunk.YTJ47KE6.js} +3 -3
  563. package/dist-versioned/chunks/{chunk.SBC2I6JO.js → chunk.ZOE6NEFW.js} +10 -10
  564. package/dist-versioned/chunks/{chunk.USC7EHJV.js → chunk.ZOJIEPWP.js} +35 -35
  565. package/dist-versioned/components/accordion/accordion.d.ts +1 -1
  566. package/dist-versioned/components/accordion/accordion.js +5 -5
  567. package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  568. package/dist-versioned/components/accordion-group/accordion-group.js +6 -6
  569. package/dist-versioned/components/animation/animation.d.ts +1 -1
  570. package/dist-versioned/components/animation/animation.js +2 -2
  571. package/dist-versioned/components/audio/audio.d.ts +1 -1
  572. package/dist-versioned/components/audio/audio.js +8 -8
  573. package/dist-versioned/components/badge/badge.d.ts +1 -1
  574. package/dist-versioned/components/badge/badge.js +2 -2
  575. package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
  576. package/dist-versioned/components/brandshape/brandshape.js +2 -2
  577. package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  578. package/dist-versioned/components/breadcrumb/breadcrumb.js +7 -7
  579. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  580. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.js +3 -3
  581. package/dist-versioned/components/button/button.d.ts +1 -1
  582. package/dist-versioned/components/button/button.js +3 -3
  583. package/dist-versioned/components/button-group/button-group.d.ts +1 -1
  584. package/dist-versioned/components/button-group/button-group.js +2 -2
  585. package/dist-versioned/components/carousel/carousel.d.ts +1 -1
  586. package/dist-versioned/components/carousel/carousel.js +6 -6
  587. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  588. package/dist-versioned/components/carousel-item/carousel-item.js +2 -2
  589. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  590. package/dist-versioned/components/checkbox/checkbox.js +5 -5
  591. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  592. package/dist-versioned/components/checkbox-group/checkbox-group.js +5 -5
  593. package/dist-versioned/components/combobox/combobox.d.ts +2 -1
  594. package/dist-versioned/components/combobox/combobox.js +7 -7
  595. package/dist-versioned/components/datepicker/datepicker.d.ts +1 -1
  596. package/dist-versioned/components/datepicker/datepicker.js +7 -7
  597. package/dist-versioned/components/dialog/dialog.d.ts +1 -1
  598. package/dist-versioned/components/dialog/dialog.js +7 -7
  599. package/dist-versioned/components/divider/divider.d.ts +1 -1
  600. package/dist-versioned/components/divider/divider.js +2 -2
  601. package/dist-versioned/components/drawer/drawer.d.ts +1 -1
  602. package/dist-versioned/components/drawer/drawer.js +7 -7
  603. package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
  604. package/dist-versioned/components/dropdown/dropdown.js +3 -3
  605. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  606. package/dist-versioned/components/expandable/expandable.js +5 -5
  607. package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
  608. package/dist-versioned/components/flipcard/flipcard.js +7 -7
  609. package/dist-versioned/components/header/header.d.ts +1 -1
  610. package/dist-versioned/components/header/header.js +2 -2
  611. package/dist-versioned/components/icon/icon.d.ts +1 -1
  612. package/dist-versioned/components/icon/icon.js +4 -4
  613. package/dist-versioned/components/icon/library.default.js +1 -1
  614. package/dist-versioned/components/icon/library.js +2 -2
  615. package/dist-versioned/components/include/include.d.ts +1 -1
  616. package/dist-versioned/components/include/include.js +2 -2
  617. package/dist-versioned/components/input/input.d.ts +1 -1
  618. package/dist-versioned/components/input/input.js +5 -5
  619. package/dist-versioned/components/link/link.d.ts +1 -1
  620. package/dist-versioned/components/link/link.js +2 -2
  621. package/dist-versioned/components/loader/loader.d.ts +1 -1
  622. package/dist-versioned/components/loader/loader.js +2 -2
  623. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  624. package/dist-versioned/components/map-marker/map-marker.js +2 -2
  625. package/dist-versioned/components/menu/menu.d.ts +1 -1
  626. package/dist-versioned/components/menu/menu.js +2 -2
  627. package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
  628. package/dist-versioned/components/menu-item/menu-item.js +2 -2
  629. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  630. package/dist-versioned/components/navigation-item/navigation-item.js +6 -6
  631. package/dist-versioned/components/notification/notification.d.ts +1 -1
  632. package/dist-versioned/components/notification/notification.js +7 -7
  633. package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
  634. package/dist-versioned/components/optgroup/optgroup.js +3 -3
  635. package/dist-versioned/components/option/option.d.ts +1 -1
  636. package/dist-versioned/components/option/option.js +5 -5
  637. package/dist-versioned/components/popup/popup.d.ts +1 -1
  638. package/dist-versioned/components/popup/popup.js +2 -2
  639. package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
  640. package/dist-versioned/components/quickfact/quickfact.js +6 -6
  641. package/dist-versioned/components/radio/radio.d.ts +1 -1
  642. package/dist-versioned/components/radio/radio.js +2 -2
  643. package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
  644. package/dist-versioned/components/radio-button/radio-button.js +2 -2
  645. package/dist-versioned/components/radio-group/radio-group.d.ts +3 -1
  646. package/dist-versioned/components/radio-group/radio-group.js +4 -4
  647. package/dist-versioned/components/range/range.d.ts +1 -1
  648. package/dist-versioned/components/range/range.js +7 -7
  649. package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
  650. package/dist-versioned/components/range-tick/range-tick.js +2 -2
  651. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  652. package/dist-versioned/components/scrollable/scrollable.js +5 -5
  653. package/dist-versioned/components/select/select.d.ts +1 -1
  654. package/dist-versioned/components/select/select.js +7 -7
  655. package/dist-versioned/components/skeleton/skeleton.d.ts +1 -1
  656. package/dist-versioned/components/skeleton/skeleton.js +2 -2
  657. package/dist-versioned/components/spinner/spinner.d.ts +1 -1
  658. package/dist-versioned/components/spinner/spinner.js +2 -2
  659. package/dist-versioned/components/step/step.d.ts +1 -1
  660. package/dist-versioned/components/step/step.js +5 -5
  661. package/dist-versioned/components/step-group/step-group.d.ts +1 -1
  662. package/dist-versioned/components/step-group/step-group.js +2 -2
  663. package/dist-versioned/components/switch/switch.d.ts +1 -1
  664. package/dist-versioned/components/switch/switch.js +2 -2
  665. package/dist-versioned/components/tab/tab.d.ts +1 -1
  666. package/dist-versioned/components/tab/tab.js +2 -2
  667. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  668. package/dist-versioned/components/tab-group/tab-group.js +5 -5
  669. package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  670. package/dist-versioned/components/tab-panel/tab-panel.js +2 -2
  671. package/dist-versioned/components/tag/tag.d.ts +1 -1
  672. package/dist-versioned/components/tag/tag.js +5 -5
  673. package/dist-versioned/components/teaser/teaser.js +2 -2
  674. package/dist-versioned/components/teaser-media/teaser-media.js +2 -2
  675. package/dist-versioned/components/textarea/textarea.d.ts +1 -1
  676. package/dist-versioned/components/textarea/textarea.js +5 -5
  677. package/dist-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  678. package/dist-versioned/components/theme-listener/theme-listener.js +2 -2
  679. package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
  680. package/dist-versioned/components/tooltip/tooltip.js +6 -6
  681. package/dist-versioned/components/video/video.d.ts +1 -1
  682. package/dist-versioned/components/video/video.js +5 -5
  683. package/dist-versioned/custom-elements.json +384 -254
  684. package/dist-versioned/internal/form.js +2 -2
  685. package/dist-versioned/solid-components.css +3 -3
  686. package/dist-versioned/solid-components.js +63 -63
  687. package/dist-versioned/utilities/autocomplete-config.js +3 -3
  688. package/dist-versioned/utilities/icon-library.js +2 -2
  689. package/dist-versioned/vscode.html-custom-data.json +111 -111
  690. package/dist-versioned/web-types.json +169 -161
  691. package/package.json +20 -20
  692. package/cdn/chunks/chunk.72BMHDYW.js +0 -2
  693. package/cdn/chunks/chunk.E2V26BUA.js +0 -26
  694. package/cdn/chunks/chunk.ETLWMEM7.js +0 -12
  695. package/cdn/chunks/chunk.FSMYSRQ5.js +0 -2
  696. package/cdn/chunks/chunk.HJGLYEWV.js +0 -1
  697. package/cdn/chunks/chunk.QRCDP5AE.js +0 -2
  698. package/cdn/chunks/chunk.YPTZDABK.js +0 -10
  699. package/cdn/chunks/chunk.ZMRAUCHT.js +0 -12
  700. package/cdn-versioned/chunks/chunk.72BMHDYW.js +0 -2
  701. package/cdn-versioned/chunks/chunk.E2V26BUA.js +0 -26
  702. package/cdn-versioned/chunks/chunk.ETLWMEM7.js +0 -12
  703. package/cdn-versioned/chunks/chunk.FSMYSRQ5.js +0 -2
  704. package/cdn-versioned/chunks/chunk.HJGLYEWV.js +0 -1
  705. package/cdn-versioned/chunks/chunk.QRCDP5AE.js +0 -2
  706. package/cdn-versioned/chunks/chunk.YPTZDABK.js +0 -10
  707. package/cdn-versioned/chunks/chunk.ZMRAUCHT.js +0 -12
  708. package/dist/chunks/chunk.37VMM4OR.js +0 -93
  709. package/dist-versioned/chunks/chunk.37VMM4OR.js +0 -93
  710. /package/cdn/chunks/{chunk.G2DTGYNF.js → chunk.54DO3JVH.js} +0 -0
  711. /package/cdn/chunks/{chunk.BSPQBW7U.js → chunk.QQD62QOV.js} +0 -0
  712. /package/cdn/chunks/{chunk.QIKBKQXB.js → chunk.UFTAQNZB.js} +0 -0
  713. /package/cdn-versioned/chunks/{chunk.G2DTGYNF.js → chunk.54DO3JVH.js} +0 -0
  714. /package/cdn-versioned/chunks/{chunk.BSPQBW7U.js → chunk.QQD62QOV.js} +0 -0
  715. /package/cdn-versioned/chunks/{chunk.QIKBKQXB.js → chunk.UFTAQNZB.js} +0 -0
@@ -1,2 +1,2 @@
1
- import{a as u}from"./chunk.CGQ2BPPZ.js";import{a as i}from"./chunk.QIKBKQXB.js";import{a as o}from"./chunk.NYKJXI3Q.js";import{a as h,b as a,c as r,d,h as n}from"./chunk.E2V26BUA.js";import{b as c,e as l}from"./chunk.UOAG5PNU.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends n{constructor(){super(...arguments);this.hasSlotController=new u(this,"default","left","right");this.current=!1;this.selected=!1;this.hasHover=!1;this.isKeyboardFocus=!1;this.size="lg";this.checkbox=!1;this.disabled=!1;this.value=""}connectedCallback(){super.connectedCallback(),this.setAttribute("role","option"),this.setAttribute("aria-selected","false")}handleDefaultSlotChange(){let s=this.getTextLabel();if(typeof this.cachedTextLabel=="undefined"){this.cachedTextLabel=s;return}s!==this.cachedTextLabel&&(this.cachedTextLabel=s,this.emit("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}handleMouseEnter(){this.hasHover=!0}handleMouseLeave(){this.hasHover=!1}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}handleSelectedChange(){this.setAttribute("aria-selected",this.selected?"true":"false")}handleValueChange(){this.value.includes(" ")&&(console.error("Option values cannot include a space. All spaces have been replaced with underscores.",this),this.value=this.value.replace(/ /g,"_"))}getTextLabel(){var s;return((s=this.textContent)!=null?s:"").trim()}render(){let s={default:this.hasSlotController.test("default"),left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right")};return l`<div part="base" style="word-break:break-word" class="${i("px-4 flex items-start w-full transition-colors duration-fast ease-in-out text-left text-base relative",{sm:"text-base py-1",md:"text-base py-2",lg:"text-base py-3"}[this.size],this.disabled?"text-neutral-500 cursor-not-allowed":"text-black cursor-pointer",this.hasHover&&!this.disabled?"bg-neutral-200":"",this.isKeyboardFocus?"focus-outline focus-outline-offset":"",this.current&&"bg-neutral-200")}" @mouseenter="${this.handleMouseEnter}" @mouseleave="${this.handleMouseLeave}"><span class="${i("absolute w-full left-0 top-0 pointer-events-none transition-[height,top] duration-fast ease-in-out border-l-4 h-[calc(100%-8px)]",this.selected&&!this.checkbox?"border-accent":"border-transparent",this.disabled&&"border-neutral-500 top-1",!this.disabled&&this.hasHover?"h-full top-0":"top-1")}"></span> ${this.checkbox?l`<span id="control" part="control ${this.selected?" control--checked":"control--unchecked"}" class="${i("relative flex flex-shrink-0 items-center justify-center border sd-6-18-1-checkbox-border-width rounded-sm h-4 w-4 mr-2",{sm:"mt-0.5",md:"mt-1",lg:"mt-1"}[this.size],this.disabled?"sd-6-18-1-option--disabled-color-border":this.selected?"bg-accent border-accent":"bg-white form-control-color-border")}">${this.selected?l`<sd-6-18-1-icon part="checked-icon" class="text-white w-3 h-3" library="_internal" name="status-check"></sd-6-18-1-icon>`:""}</span>`:""} ${s.left?l`<slot name="left" part="left" class="inline-flex mr-2"></slot>`:""}<slot part="label" class="inline-block flex-grow" @slotchange="${this.handleDefaultSlotChange}"></slot>${s.right?l`<slot name="right" part="right" class="inline-flex ml-2"></slot>`:""}</div>`}};e.styles=[...n.styles,c`/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{position:relative;display:block;width:100%;--tw-outline-style:none!important;outline-style:none!important}.focus-outline-offset{outline-offset:-2px}.sd-6-18-1-option--disabled-color-border{border-color:rgb(var(--sd-option--disabled-color-border))}`],t([d('[part="base"]')],e.prototype,"defaultSlot",2),t([r()],e.prototype,"current",2),t([r()],e.prototype,"selected",2),t([r()],e.prototype,"hasHover",2),t([r()],e.prototype,"isKeyboardFocus",2),t([a({type:String,reflect:!0})],e.prototype,"size",2),t([a({type:Boolean,reflect:!0})],e.prototype,"checkbox",2),t([a({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([a({type:String,reflect:!0})],e.prototype,"value",2),t([o("disabled")],e.prototype,"handleDisabledChange",1),t([o("selected")],e.prototype,"handleSelectedChange",1),t([o("value")],e.prototype,"handleValueChange",1),e=t([h("sd-6-18-1-option")],e);export{e as a};
1
+ import{a as u}from"./chunk.CGQ2BPPZ.js";import{a as i}from"./chunk.UFTAQNZB.js";import{a as o}from"./chunk.NYKJXI3Q.js";import{a as h,b as a,c as r,d,h as n}from"./chunk.4VDBIPS3.js";import{b as c,e as l}from"./chunk.OBAEIKIV.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends n{constructor(){super(...arguments);this.hasSlotController=new u(this,"default","left","right");this.current=!1;this.selected=!1;this.hasHover=!1;this.isKeyboardFocus=!1;this.size="lg";this.checkbox=!1;this.disabled=!1;this.value=""}connectedCallback(){super.connectedCallback(),this.setAttribute("role","option"),this.setAttribute("aria-selected","false")}handleDefaultSlotChange(){let s=this.getTextLabel();if(typeof this.cachedTextLabel=="undefined"){this.cachedTextLabel=s;return}s!==this.cachedTextLabel&&(this.cachedTextLabel=s,this.emit("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}handleMouseEnter(){this.hasHover=!0}handleMouseLeave(){this.hasHover=!1}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}handleSelectedChange(){this.setAttribute("aria-selected",this.selected?"true":"false")}handleValueChange(){this.value.includes(" ")&&(console.error("Option values cannot include a space. All spaces have been replaced with underscores.",this),this.value=this.value.replace(/ /g,"_"))}getTextLabel(){var s;return((s=this.textContent)!=null?s:"").trim()}render(){let s={default:this.hasSlotController.test("default"),left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right")};return l`<div part="base" style="word-break:break-word" class="${i("px-4 flex items-start w-full transition-colors duration-fast ease-in-out text-left text-base relative",{sm:"text-base py-1",md:"text-base py-2",lg:"text-base py-3"}[this.size],this.disabled?"text-neutral-500 cursor-not-allowed":"text-black cursor-pointer",this.hasHover&&!this.disabled?"bg-neutral-200":"",this.isKeyboardFocus?"focus-outline focus-outline-offset":"",this.current&&"bg-neutral-200")}" @mouseenter="${this.handleMouseEnter}" @mouseleave="${this.handleMouseLeave}"><span class="${i("absolute w-full left-0 top-0 pointer-events-none transition-[height,top] duration-fast ease-in-out border-l-4 h-[calc(100%-8px)]",this.selected&&!this.checkbox?"border-accent":"border-transparent",this.disabled&&"border-neutral-500 top-1",!this.disabled&&this.hasHover?"h-full top-0":"top-1")}"></span> ${this.checkbox?l`<span id="control" part="control ${this.selected?" control--checked":"control--unchecked"}" class="${i("relative flex flex-shrink-0 items-center justify-center border sd-6-21-2-checkbox-border-width rounded-sm h-4 w-4 mr-2",{sm:"mt-0.5",md:"mt-1",lg:"mt-1"}[this.size],this.disabled?"sd-6-21-2-option--disabled-color-border":this.selected?"bg-accent border-accent":"bg-white form-control-color-border")}">${this.selected?l`<sd-6-21-2-icon part="checked-icon" class="text-white w-3 h-3" library="_internal" name="status-check"></sd-6-21-2-icon>`:""}</span>`:""} ${s.left?l`<slot name="left" part="left" class="inline-flex mr-2"></slot>`:""}<slot part="label" class="inline-block flex-grow" @slotchange="${this.handleDefaultSlotChange}"></slot>${s.right?l`<slot name="right" part="right" class="inline-flex ml-2"></slot>`:""}</div>`}};e.styles=[...n.styles,c`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{position:relative;display:block;width:100%;--tw-outline-style:none!important;outline-style:none!important}.focus-outline-offset{outline-offset:-2px}.sd-6-21-2-option--disabled-color-border{border-color:rgb(var(--sd-option--disabled-color-border))}`],t([d('[part="base"]')],e.prototype,"defaultSlot",2),t([r()],e.prototype,"current",2),t([r()],e.prototype,"selected",2),t([r()],e.prototype,"hasHover",2),t([r()],e.prototype,"isKeyboardFocus",2),t([a({type:String,reflect:!0})],e.prototype,"size",2),t([a({type:Boolean,reflect:!0})],e.prototype,"checkbox",2),t([a({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([a({type:String,reflect:!0})],e.prototype,"value",2),t([o("disabled")],e.prototype,"handleDisabledChange",1),t([o("selected")],e.prototype,"handleSelectedChange",1),t([o("value")],e.prototype,"handleValueChange",1),e=t([h("sd-6-21-2-option")],e);export{e as a};
@@ -1,2 +1,2 @@
1
- import{a as d}from"./chunk.YQH4KNT6.js";import{a as b}from"./chunk.W4EADN3G.js";import{b as m}from"./chunk.RAP66B6O.js";import{a as p}from"./chunk.SLXPE3UU.js";import{a as l}from"./chunk.QIKBKQXB.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.E2V26BUA.js";import{b as c,e as s}from"./chunk.UOAG5PNU.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-6-18-1-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 flex-shrink-0 items-center justify-center border sd-6-18-1-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 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:"",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-6-18-1-icon part="checked-icon" class="text-white w-3 h-3" library="sd-status-assets" name="status-check"></sd-6-18-1-icon>`:""} ${!this.checked&&this.indeterminate?s`<sd-6-18-1-icon part="indeterminate-icon" class="text-white w-3 h-3" library="sd-status-assets" name="status-minus"></sd-6-18-1-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-6-18-1-icon id="invalid-icon" part="invalid-icon" library="_internal" name="risk"></sd-6-18-1-icon>`:""} ${this.formControlController.renderInvalidMessage(this.size)}</div></div>`}};t.styles=[...o.styles,c`/*! tailwindcss v4.2.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-6-18-1-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.UFTAQNZB.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.4VDBIPS3.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-6-21-2-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 flex-shrink-0 items-center justify-center border sd-6-21-2-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 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:"",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-6-21-2-icon part="checked-icon" class="text-white w-3 h-3" library="sd-status-assets" name="status-check"></sd-6-21-2-icon>`:""} ${!this.checked&&this.indeterminate?s`<sd-6-21-2-icon part="indeterminate-icon" class="text-white w-3 h-3" library="sd-status-assets" name="status-minus"></sd-6-21-2-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-6-21-2-icon id="invalid-icon" part="invalid-icon" library="_internal" name="risk"></sd-6-21-2-icon>`:""} ${this.formControlController.renderInvalidMessage(this.size)}</div></div>`}};t.styles=[...o.styles,c`/*! tailwindcss v4.3.0 | 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-6-21-2-checkbox")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as h}from"./chunk.QRCDP5AE.js";import{a as s}from"./chunk.SLXPE3UU.js";import{a as o}from"./chunk.B2NUKX6G.js";import{a,b as p}from"./chunk.SV6DES3E.js";import{a as e}from"./chunk.QIKBKQXB.js";import{a as d,b as m,h as c}from"./chunk.E2V26BUA.js";import{b as l}from"./chunk.UOAG5PNU.js";import{e as r}from"./chunk.6EV4YU6C.js";var t=class extends h{constructor(){super(...arguments);this.expandable=!1}render(){let i=this.expandable?a`details`:a`div`,n=this.expandable?a`summary`:a`div`;return p`<${i} part="base" class="sm:p-6"><${n} part="header" id="header" class="${e("text-base font-bold items-center focus-visible:focus-outline text-primary relative group flex flex-row hover:bg-transparent gap-3 pb-3 pt-0 px-0 sm:flex-col sm:gap-4 sm:pb-8",this.expandable&&"cursor-pointer select-none")}" role="${s(this.expandable?"button":void 0)}" aria-expanded="${s(this.expandable?this.open?"true":"false":void 0)}" aria-controls="${s(this.expandable?"content":void 0)}" tabindex="${this.expandable?"0":"-1"}" @click="${this.expandable?this.handleSummaryClick:null}" @keydown="${this.expandable?this.handleSummaryKeyDown:null}"><div part="icon" class="${e("flex flex-grow-0 flex-shrink-0 flex-auto items-center",!this.expandable&&"cursor-default")}"><slot name="icon"></slot></div><slot name="summary" part="summary" class="${e("flex flex-auto items-start text-left text-base leading-normal font-normal sm:leading-tight sm:text-3xl sm:text-center",this.expandable?"sd-6-18-1-quickfact--expandable-color-text":"text-black cursor-default")}">${this.summary}</slot><span part="summary-icon" class="${e("flex flex-grow-0 flex-shrink-0 flex-auto self-start sm:self-center transition-transform ease-in-out duration-medium text-xl sm:mt-2",this.open&&"rotate-180",!this.expandable&&"hidden")}"><slot name="expand-icon" class="${e(this.open&&"hidden")}"><sd-6-18-1-icon library="_internal" name="chevron-down" class="group-hover:text-primary-500 transition-colors ease-in-out duration-medium"></sd-6-18-1-icon></slot><slot name="collapse-icon" class="${e(!this.open&&"hidden")}"><sd-6-18-1-icon library="_internal" name="chevron-down" class="group-hover:text-primary-500 transition-colors ease-in-out duration-medium"></sd-6-18-1-icon></slot></span></${n}><div part="content" id="content" class="${e("overflow-hidden",!this.expandable&&"hidden")}"><slot part="content__slot" class="block" role="region" aria-labelledby="header"></slot></div></${i}>`}};t.styles=[...c.styles,l`/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{display:block}[part=header]::-webkit-details-marker{display:none}[part=summary-icon]{color:rgba(var(--sd-color-icon-fill-primary,rgba(var(--sd-color-primary))))}[part=icon]{font-size:var(--sd-spacing-12,3rem);color:rgba(var(--sd-color-icon-fill-primary,rgba(var(--sd-color-primary))))}@media (min-width:640px){[part=icon]{font-size:var(--sd-spacing-24,6rem)}}`],r([m({type:Boolean,reflect:!0})],t.prototype,"expandable",2),t=r([d("sd-6-18-1-quickfact")],t);o("quickfact.show",{keyframes:[{height:"0"},{height:"auto"}],options:{duration:"var(--sd-duration-medium, 300ms)",easing:"ease-in-out"}});o("quickfact.hide",{keyframes:[{height:"auto"},{height:"0"}],options:{duration:"var(--sd-duration-medium, 300ms)",easing:"ease-in-out"}});export{t as a};
1
+ import{a as h}from"./chunk.6FBD7P2H.js";import{a as s}from"./chunk.LHSR56PH.js";import{a as o}from"./chunk.B2NUKX6G.js";import{a,b as p}from"./chunk.NL7YFV4O.js";import{a as e}from"./chunk.UFTAQNZB.js";import{a as d,b as m,h as c}from"./chunk.4VDBIPS3.js";import{b as l}from"./chunk.OBAEIKIV.js";import{e as r}from"./chunk.6EV4YU6C.js";var t=class extends h{constructor(){super(...arguments);this.expandable=!1}render(){let i=this.expandable?a`details`:a`div`,n=this.expandable?a`summary`:a`div`;return p`<${i} part="base" class="sm:p-6"><${n} part="header" id="header" class="${e("text-base font-bold items-center focus-visible:focus-outline text-primary relative group flex flex-row hover:bg-transparent gap-3 pb-3 pt-0 px-0 sm:flex-col sm:gap-4 sm:pb-8",this.expandable&&"cursor-pointer select-none")}" role="${s(this.expandable?"button":void 0)}" aria-expanded="${s(this.expandable?this.open?"true":"false":void 0)}" aria-controls="${s(this.expandable?"content":void 0)}" tabindex="${this.expandable?"0":"-1"}" @click="${this.expandable?this.handleSummaryClick:null}" @keydown="${this.expandable?this.handleSummaryKeyDown:null}"><div part="icon" class="${e("flex flex-grow-0 flex-shrink-0 flex-auto items-center",!this.expandable&&"cursor-default")}"><slot name="icon"></slot></div><slot name="summary" part="summary" class="${e("flex flex-auto items-start text-left text-base leading-normal font-normal sm:leading-tight sm:text-3xl sm:text-center",this.expandable?"sd-6-21-2-quickfact--expandable-color-text":"text-black cursor-default")}">${this.summary}</slot><span part="summary-icon" class="${e("flex flex-grow-0 flex-shrink-0 flex-auto self-start sm:self-center transition-transform ease-in-out duration-medium text-xl sm:mt-2",this.open&&"rotate-180",!this.expandable&&"hidden")}"><slot name="expand-icon" class="${e(this.open&&"hidden")}"><sd-6-21-2-icon library="_internal" name="chevron-down" class="group-hover:text-primary-500 transition-colors ease-in-out duration-medium"></sd-6-21-2-icon></slot><slot name="collapse-icon" class="${e(!this.open&&"hidden")}"><sd-6-21-2-icon library="_internal" name="chevron-down" class="group-hover:text-primary-500 transition-colors ease-in-out duration-medium"></sd-6-21-2-icon></slot></span></${n}><div part="content" id="content" class="${e("overflow-hidden",!this.expandable&&"hidden")}"><slot part="content__slot" class="block" role="region" aria-labelledby="header"></slot></div></${i}>`}};t.styles=[...c.styles,l`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{display:block}[part=header]::-webkit-details-marker{display:none}[part=summary-icon]{color:rgba(var(--sd-color-icon-fill-primary,rgba(var(--sd-color-primary))))}[part=icon]{font-size:var(--sd-spacing-12,3rem);color:rgba(var(--sd-color-icon-fill-primary,rgba(var(--sd-color-primary))))}@media (min-width:640px){[part=icon]{font-size:var(--sd-spacing-24,6rem)}}`],r([m({type:Boolean,reflect:!0})],t.prototype,"expandable",2),t=r([d("sd-6-21-2-quickfact")],t);o("quickfact.show",{keyframes:[{height:"0"},{height:"auto"}],options:{duration:"var(--sd-duration-medium, 300ms)",easing:"ease-in-out"}});o("quickfact.hide",{keyframes:[{height:"auto"},{height:"0"}],options:{duration:"var(--sd-duration-medium, 300ms)",easing:"ease-in-out"}});export{t as a};
@@ -0,0 +1,10 @@
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-6-21-2-menu-item"||(s=e.target.role)!=null&&s.startsWith("menuitem"))&&e.target.getAttribute("type")!=="checkbox"&&this.disableSubmenu()};this.handleFocusOut=e=>{e.relatedTarget&&e.relatedTarget instanceof Element&&this.host.contains(e.relatedTarget)||this.disableSubmenu()};this.handlePopupMouseover=e=>{e.stopPropagation()};this.handlePopupReposition=()=>{let e=this.host.renderRoot.querySelector("slot[name='submenu']"),s=e==null?void 0:e.assignedElements({flatten:!0}).filter(d=>d.localName==="sd-6-21-2-menu")[0],t=getComputedStyle(this.host).direction==="rtl";if(!s)return;let{left:o,top:n,width:r,height:a}=s.getBoundingClientRect();this.host.style.setProperty("--safe-triangle-submenu-start-x",`${t?o+r:o}px`),this.host.style.setProperty("--safe-triangle-submenu-start-y",`${n}px`),this.host.style.setProperty("--safe-triangle-submenu-end-x",`${t?o+r:o}px`),this.host.style.setProperty("--safe-triangle-submenu-end-y",`${n+a}px`)};(this.host=e).addController(this),this.hasSlotController=s}hostConnected(){this.hasSlotController.test("submenu")&&!this.host.disabled&&this.addListeners()}hostDisconnected(){this.removeListeners()}hostUpdated(){this.hasSlotController.test("submenu")&&!this.host.disabled?(this.addListeners(),this.updateSkidding()):this.removeListeners()}addListeners(){this.isConnected||(this.host.addEventListener("mousemove",this.handleMouseMove),this.host.addEventListener("mouseover",this.handleMouseOver),this.host.addEventListener("keydown",this.handleKeyDown),this.host.addEventListener("click",this.handleClick),this.host.addEventListener("focusout",this.handleFocusOut),this.isConnected=!0),this.isPopupConnected||this.popupRef.value&&(this.popupRef.value.addEventListener("mouseover",this.handlePopupMouseover),this.popupRef.value.addEventListener("sd-reposition",this.handlePopupReposition),this.isPopupConnected=!0)}removeListeners(){this.isConnected&&(this.host.removeEventListener("mousemove",this.handleMouseMove),this.host.removeEventListener("mouseover",this.handleMouseOver),this.host.removeEventListener("keydown",this.handleKeyDown),this.host.removeEventListener("click",this.handleClick),this.host.removeEventListener("focusout",this.handleFocusOut),this.isConnected=!1),this.isPopupConnected&&this.popupRef.value&&(this.popupRef.value.removeEventListener("mouseover",this.handlePopupMouseover),this.popupRef.value.removeEventListener("sd-reposition",this.handlePopupReposition),this.isPopupConnected=!1)}handleSubmenuEntry(e){let s=this.host.renderRoot.querySelector("slot[name='submenu']");if(!s){console.error("Cannot activate a submenu if no corresponding menuitem can be found.",this);return}let t=null;for(let o of s.assignedElements())if(t=o.querySelectorAll("sd-6-21-2-menu-item, [role^='menuitem']"),t.length!==0)break;if(!(!t||t.length===0)){t[0].setAttribute("tabindex","0");for(let o=1;o!==t.length;++o)t[o].setAttribute("tabindex","-1");this.popupRef.value&&(e.preventDefault(),e.stopPropagation(),this.popupRef.value.active?t[0]instanceof HTMLElement&&t[0].focus():(this.enableSubmenu(!1),this.host.updateComplete.then(()=>{t[0]instanceof HTMLElement&&t[0].focus()}),this.host.requestUpdate()))}}setSubmenuState(e){this.popupRef.value&&this.popupRef.value.active!==e&&(this.popupRef.value.active=e,this.host.requestUpdate())}enableSubmenu(e=!0){e?(window.clearTimeout(this.enableSubmenuTimer),this.enableSubmenuTimer=window.setTimeout(()=>{this.setSubmenuState(!0)},this.submenuOpenDelay)):this.setSubmenuState(!0)}disableSubmenu(){window.clearTimeout(this.enableSubmenuTimer),this.setSubmenuState(!1)}updateSkidding(){var o;if(!((o=this.host.parentElement)!=null&&o.computedStyleMap))return;let e=this.host.parentElement.computedStyleMap(),t=["padding-top","border-top-width","margin-top"].reduce((n,r)=>{var m;let a=(m=e.get(r))!=null?m:new CSSUnitValue(0,"px"),S=(a instanceof CSSUnitValue?a:new CSSUnitValue(0,"px")).to("px");return n-S.value},0);this.skidding=t}isExpanded(){return this.popupRef.value?this.popupRef.value.active:!1}renderSubmenu(){let e=getComputedStyle(this.host).direction==="rtl";return this.isConnected?l`<sd-6-21-2-popup ${b(this.popupRef)} placement="${e?"left-start":"right-start"}" anchor="anchor" flip flip-fallback-strategy="best-fit" skidding="${this.skidding}" strategy="fixed" auto-size="vertical" auto-size-padding="10"><slot name="submenu"></slot></sd-6-21-2-popup>`:l`<slot name="submenu" hidden></slot>`}};export{g as a};
2
+ /*! Bundled license information:
3
+
4
+ lit-html/directives/ref.js:
5
+ (**
6
+ * @license
7
+ * Copyright 2020 Google LLC
8
+ * SPDX-License-Identifier: BSD-3-Clause
9
+ *)
10
+ */
@@ -0,0 +1,12 @@
1
+ import{b as y,c as f}from"./chunk.LZRL7OLU.js";import{a as i}from"./chunk.LHSR56PH.js";import{a as k}from"./chunk.CGQ2BPPZ.js";import{a as c,b as u}from"./chunk.NL7YFV4O.js";import{a as s}from"./chunk.UFTAQNZB.js";import{a as g}from"./chunk.NYKJXI3Q.js";import{a as v,b as o,c as h,d as m,g as p,h as l}from"./chunk.4VDBIPS3.js";import{b}from"./chunk.OBAEIKIV.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends l{constructor(){super(...arguments);this.formControlController=new y(this,{form:r=>{if(r.hasAttribute("form")){let a=r.getRootNode(),n=r.getAttribute("form");return a.getElementById(n)}return r.closest("form")}});this.hasSlotController=new k(this,"[default]","icon-left","icon-right");this.invalid=!1;this.title="";this.variant="primary";this.inverted=!1;this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.loading=!1;this.type="button";this.name="";this.value="";this.href=""}get validity(){return this.isButton()?this.button.validity:f}get validationMessage(){return this.isButton()?this.button.validationMessage:""}firstUpdated(){this.isButton()&&this.formControlController.updateValidity()}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleClick(r){if(this.disabled||this.loading||this.visuallyDisabled){r.preventDefault(),r.stopPropagation();return}this.type==="submit"&&this.formControlController.submit(this),this.type==="reset"&&this.formControlController.reset(this)}handleInvalid(r){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(r)}isButton(){return!this.href}isLink(){return!!this.href}handleDisabledChange(){this.isButton()&&this.formControlController.setValidity(this.disabled)}click(){this.button.click()}focus(r){this.button.focus(r)}blur(){this.button.blur()}checkValidity(){return this.isButton()?this.button.checkValidity():!0}getForm(){return this.formControlController.getForm()}reportValidity(){return this.isButton()?this.button.reportValidity():!0}setCustomValidity(r){this.isButton()&&(this.button.setCustomValidity(r),this.formControlController.updateValidity())}render(){let r=this.isLink(),a=r?c`a`:c`button`,n={label:this.hasSlotController.test("[default]"),"icon-left":this.hasSlotController.test("icon-left"),"icon-right":this.hasSlotController.test("icon-right"),"icon-only":this._iconsInDefaultSlot.length>0},d=this.variant==="secondary";return u`<${a} part="base" class="${s(`group relative z-10 font-md no-underline
2
+ w-full align-middle inline-flex items-stretch justify-center
3
+ transition-colors duration-fast ease-in-out
4
+ select-none cursor-[inherit]`,this.inverted?"focus-visible:focus-outline-inverted":"focus-visible:focus-outline",this.loading&&"relative cursor-wait",(this.disabled||this.visuallyDisabled)&&"cursor-not-allowed",{sm:"varspacing-8 min-h-8 sd-6-21-2-button--size-sm-font-size sd-6-21-2-button-font-weight sd-6-21-2-button--secondary--size-sm-padding-block sd-6-21-2-button--size-sm-border-radius",md:"varspacing-10 sd-6-21-2-button--size-md-height sd-6-21-2-button--size-md-font-size sd-6-21-2-button--secondary--size-md-padding-block sd-6-21-2-button-font-weight sd-6-21-2-button--size-md-border-radius",lg:"varspacing-12 sd-6-21-2-button--size-lg-height sd-6-21-2-button--size-lg-font-size sd-6-21-2-button--secondary--size-lg-padding-block sd-6-21-2-button-font-weight sd-6-21-2-button--size-lg-border-radius"}[this.size],!n["icon-only"]&&{sm:`${d?"sd-6-21-2-button--secondary-padding-inline":"sd-6-21-2-button--size-sm-padding-block sd-6-21-2-button-padding-inline"}`,md:`${d?"sd-6-21-2-button--secondary-padding-inline":"sd-6-21-2-button--size-md-padding-block sd-6-21-2-button-padding-inline"}`,lg:`${d?"sd-6-21-2-button--secondary-padding-inline":"sd-6-21-2-button--size-lg-padding-block sd-6-21-2-button-padding-inline"}`}[this.size],n["icon-only"]&&{sm:"px-1 aspect-square",md:"sd-6-21-2-button--size-md--icon-only-padding-inline aspect-square",lg:"px-[12px] aspect-square"}[this.size],{primary:this.inverted?`${this.visuallyDisabled?"sd-6-21-2-button--inverted--disabled-color-background text-white border-neutral-500":"sd-6-21-2-button--primary--inverted--default-color-text sd-6-21-2-button--primary--inverted--default-color-background border-white hover:sd-6-21-2-button--primary--inverted--hover-color-text active:sd-6-21-2-button--primary--inverted--active-color-text active:sd-6-21-2-button--primary--inverted--active-color-background"}
5
+ disabled:sd-6-21-2-button--inverted--disabled-color-background disabled:text-white`:`${this.visuallyDisabled?"sd-6-21-2-button--primary--disabled-color-background border-neutral-500 text-white":"sd-6-21-2-button--primary--default-color-background border-transparent sd-6-21-2-button--primary--default-color-text hover:sd-6-21-2-button--primary--hover-color-text active:sd-6-21-2-button--primary--active-color-text active:sd-6-21-2-button--primary--active-color-background"}
6
+ disabled:sd-6-21-2-button--primary--disabled-color-background disabled:text-white`,secondary:this.inverted?`border sd-6-21-2-button-border-width ${this.visuallyDisabled?"text-neutral-600 border-neutral-600":"sd-6-21-2-button--secondary--inverted-color-text sd-6-21-2-button--secondary--inverted-color-border hover:sd-6-21-2-button--secondary--inverted-color-border hover:sd-6-21-2-button--secondary--inverted--hover-color-text hover:sd-6-21-2-button--secondary--inverted--hover-color-background active:sd-6-21-2-button--secondary--inverted--active-color-text active:border-primary-200 active:sd-6-21-2-button--secondary--inverted--active-color-background"}
7
+ disabled:sd-6-21-2-button--inverted--disabled-color-border disabled:sd-6-21-2-button--inverted--disabled-color-text`:`border sd-6-21-2-button-border-width ${this.visuallyDisabled?"sd-6-21-2-button--secondary--disabled-color-text sd-6-21-2-button--secondary--disabled-color-border":"sd-6-21-2-button--secondary--default-color-text sd-6-21-2-button--secondary--default-color-border hover:sd-6-21-2-button--secondary--hover-color-text hover:sd-6-21-2-button--secondary--hover-color-border active:sd-6-21-2-button--secondary--active-color-text active:sd-6-21-2-button--secondary--active-color-border"}
8
+ disabled:sd-6-21-2-button--secondary--disabled-color-text disabled:sd-6-21-2-button--secondary--disabled-color-border`,tertiary:this.inverted?`border-transparent ${this.visuallyDisabled?"text-neutral-600":"sd-6-21-2-button--tertiary--inverted-color-text hover:sd-6-21-2-button--tertiary--inverted--hover-color-text hover:sd-6-21-2-button--tertiary--inverted--hover-color-background active:sd-6-21-2-button--tertiary--inverted--active-color-background active:sd-6-21-2-button--tertiary--inverted--active-color-text"}
9
+ disabled:sd-6-21-2-button--inverted--disabled-color-text`:`border-transparent ${this.visuallyDisabled?"sd-6-21-2-button--tertiary--disabled-color-text":"sd-6-21-2-button--tertiary--default-color-text hover:sd-6-21-2-button--tertiary--hover-color-text active:sd-6-21-2-button--tertiary--active-color-text"}
10
+ disabled:sd-6-21-2-button--tertiary--disabled-color-text`,cta:`${this.visuallyDisabled?"sd-6-21-2-button--primary--disabled-color-background border-neutral-500":"bg-accent border-transparent hover:bg-accent-500"}
11
+ ${this.inverted?"sd-6-21-2-button--cta--inverted--default-color-background sd-6-21-2-button--cta--inverted--default-color-text hover:sd-6-21-2-button--cta--inverted--hover-color-text active:sd-6-21-2-button--cta--inverted--active-color-text disabled:sd-6-21-2-button--inverted--disabled-color-background disabled:text-white":"text-white bg-accent disabled:sd-6-21-2-button--primary--disabled-color-background hover:bg-accent-500 disabled:border-neutral-500 disabled:text-white"}`}[this.variant])}" ?disabled="${i(r?void 0:this.disabled)}" type="${i(r?void 0:this.type)}" title="${this.title}" name="${i(r?void 0:this.name)}" value="${i(r?void 0:this.value)}" href="${i(r?this.href:void 0)}" target="${i(r?this.target:void 0)}" download="${i(r?this.download:void 0)}" rel="${i(r&&this.target?"noreferrer noopener":void 0)}" role="${i(r?void 0:"button")}" aria-disabled="${this.disabled||this.visuallyDisabled?"true":"false"}" aria-labelledby="content" tabindex="${this.disabled?"-1":"0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @invalid="${this.isButton()?this.handleInvalid:null}" @click="${this.handleClick}"><div part="motion-wrapper" class="${s("absolute inset-0 -z-10 overflow-hidden pointer-events-none ",(this.disabled||this.visuallyDisabled)&&"hidden",{sm:"sd-6-21-2-button-border-radius",md:"sd-6-21-2-button-border-radius",lg:"sd-6-21-2-button-border-radius"}[this.size])}"><div class="absolute inset-0 w-full h-full transition-all duration-fast translate-y-full group-hover:translate-y-0 group-hover:mt-[-22%] mt-[11%]"><div class="${s("absolute right-0 min-w-full min-h-full aspect-square skew-y-[-11deg] mt-[11%]",{primary:this.inverted?"sd-6-21-2-button--primary--inverted--hover-color-background group-active:sd-6-21-2-button--primary--inverted--active-color-background":"sd-6-21-2-button--primary--hover-color-background group-active:sd-6-21-2-button--primary--active-color-background",secondary:this.inverted?"sd-6-21-2-button--secondary--inverted--hover-color-background group-active:sd-6-21-2-button--secondary--inverted--active-color-background group-active:sd-6-21-2-button--secondary--inverted--active-color-text":"sd-6-21-2-button--secondary--hover-color-background group-active:sd-6-21-2-button--secondary--active-color-background",tertiary:this.inverted?"sd-6-21-2-button--tertiary--inverted--hover-color-background group-active:sd-6-21-2-button--tertiary--inverted--active-color-background group-active:sd-6-21-2-button--tertiary--inverted--active-color-text":"sd-6-21-2-button--tertiary--hover-color-background group-active:sd-6-21-2-button--tertiary--active-color-background",cta:this.inverted?"sd-6-21-2-button--cta--inverted--hover-color-background group-active:sd-6-21-2-button--cta--inverted--active-color-background":"bg-accent-500 group-active:bg-accent-700"}[this.variant])}"></div><div class="${s("absolute w-full h-full mt-[22%]",{primary:this.inverted?"sd-6-21-2-button--primary--inverted--hover-color-background group-active:sd-6-21-2-button--primary--inverted--active-color-background":"sd-6-21-2-button--primary--hover-color-background group-active:sd-6-21-2-button--primary--active-color-background",secondary:this.inverted?"sd-6-21-2-button--secondary--inverted--hover-color-background group-active:sd-6-21-2-button--secondary--inverted--active-color-background group-active:sd-6-21-2-button--secondary--inverted--active-color-text group-active:sd-6-21-2-button--secondary--active-color-border":"sd-6-21-2-button--secondary--hover-color-background group-active:sd-6-21-2-button--secondary--active-color-background",tertiary:this.inverted?"sd-6-21-2-button--tertiary--inverted--hover-color-background group-active:sd-6-21-2-button--tertiary--inverted--active-color-background group-active:sd-6-21-2-button--tertiary--inverted--active-color-text":"sd-6-21-2-button--tertiary--hover-color-background group-active:sd-6-21-2-button--tertiary--active-color-background",cta:this.inverted?"sd-6-21-2-button--cta--inverted--hover-color-background group-active:sd-6-21-2-button--cta--inverted--active-color-background":"bg-accent-500 group-active:bg-accent-700"}[this.variant])}"></div></div></div><slot name="icon-left" part="icon-left" class="${s("flex flex-auto items-center justify-end pointer-events-none",n["icon-only"]&&"hidden",this.loading&&"invisible",n["icon-left"]&&{sm:"mr-1",md:"mr-2",lg:"mr-2"}[this.size])}"></slot><slot part="label" id="content" class="${s("inline-flex items-center justify-center",{sm:"leading-5",md:"leading-6",lg:"leading-6"}[this.size],n["icon-only"]&&"pointer-events-none",this.loading&&"invisible")}"></slot><slot name="icon-right" part="icon-right" class="${s("flex flex-auto items-center pointer-events-none",this.loading&&"invisible",n["icon-only"]&&"hidden",n["icon-right"]&&{sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size])}"></slot>${this.loading?u`<sd-6-21-2-loader class="${s("absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2")}"></sd-6-21-2-loader>`:""}</${a}>`}};t.styles=[...l.styles,b`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
12
+ :host{position:relative;z-index:0;display:inline-block;width:auto;cursor:pointer}::slotted(sd-6-21-2-badge){pointer-events:none;position:absolute;top:calc(var(--sd-spacing-1) * 0);right:calc(var(--sd-spacing-1) * 0);--tw-translate-x:calc(1 / 2 * 100%)!important;--tw-translate-y:calc(calc(1 / 2 * 100%) * -1)!important;translate:var(--tw-translate-x) var(--tw-translate-y)!important}::slotted(sd-6-21-2-icon),sd-6-21-2-loader{font-size:calc(var(--tw-varspacing)/ 2)}:host([size=lg]) ::slotted(sd-6-21-2-icon){font-size:var(--sd-button--size-lg-icon-height,var(--sd-spacing-6))}:host([size=sm]) .sd-6-21-2-button--size-sm-border-radius{border-radius:var(--sd-button--size-sm-border-radius,var(--sd-button-border-radius))}:host([size=md]) .sd-6-21-2-button--size-md-border-radius{border-radius:var(--sd-button--size-md-border-radius,var(--sd-button-border-radius))}:host([size=lg]) .sd-6-21-2-button--size-lg-border-radius{border-radius:var(--sd-button--size-lg-border-radius,var(--sd-button-border-radius))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}`],e([m("a, button")],t.prototype,"button",2),e([p({selector:"sd-6-21-2-icon"})],t.prototype,"_iconsInDefaultSlot",2),e([h()],t.prototype,"invalid",2),e([o({type:String,reflect:!0})],t.prototype,"title",2),e([o({type:String,reflect:!0})],t.prototype,"variant",2),e([o({type:Boolean,reflect:!0})],t.prototype,"inverted",2),e([o({type:String,reflect:!0})],t.prototype,"size",2),e([o({type:Boolean,reflect:!0})],t.prototype,"disabled",2),e([o({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),e([o({type:Boolean,reflect:!0})],t.prototype,"loading",2),e([o({type:String,reflect:!0})],t.prototype,"type",2),e([o({type:String,reflect:!0})],t.prototype,"name",2),e([o()],t.prototype,"value",2),e([o({type:String,reflect:!0})],t.prototype,"href",2),e([o({type:String,reflect:!0})],t.prototype,"target",2),e([o({reflect:!0})],t.prototype,"download",2),e([o({reflect:!0})],t.prototype,"form",2),e([o({attribute:"formaction"})],t.prototype,"formAction",2),e([o({attribute:"formenctype"})],t.prototype,"formEnctype",2),e([o({attribute:"formmethod"})],t.prototype,"formMethod",2),e([o({attribute:"formnovalidate",type:Boolean})],t.prototype,"formNoValidate",2),e([o({attribute:"formtarget"})],t.prototype,"formTarget",2),e([g("disabled",{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),t=e([v("sd-6-21-2-button")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as l}from"./chunk.MHWW3RZB.js";import{a as n,b as o,d,h as a}from"./chunk.E2V26BUA.js";import{b as r,e as s}from"./chunk.UOAG5PNU.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends a{constructor(){super(...arguments);this.fixed=!1}connectedCallback(){super.connectedCallback(),this.updateCalculatedHeight=this.updateCalculatedHeight.bind(this),this.addResizeObserver=this.addResizeObserver.bind(this),window.addEventListener("resize",this.updateCalculatedHeight)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("resize",this.updateCalculatedHeight)}firstUpdated(){this.updateCalculatedHeight(),this.addResizeObserver()}updated(i){super.updated(i),i.has("fixed")&&this.updateCalculatedHeight()}addResizeObserver(){this.resizeObserver=new ResizeObserver(this.updateCalculatedHeight),this.header&&this.resizeObserver.observe(this.header)}updateCalculatedHeight(){let i=parseFloat(getComputedStyle(document.documentElement).fontSize),p=window.innerHeight/i;this.header&&this.fixed&&p>=32?document.documentElement.style.setProperty("--sd-header-calculated-height",`${this.header.clientHeight}px`):document.documentElement.style.removeProperty("--sd-header-calculated-height")}render(){return s`<header class="w-full sd-6-18-1-header-color-background sd-6-18-1-header-padding-bottom relative" role="banner"><div part="main" class="relative mx-auto my-0 box-border"><slot></slot></div></header>`}};e.styles=[...a.styles,r`/*! tailwindcss v4.2.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:calc(var(--sd-spacing-1) * 0);left:calc(var(--sd-spacing-1) * 0);width:100%}:host([fixed]) header::after{position:absolute;top:100%;right:calc(var(--sd-spacing-1) * 0);left:calc(var(--sd-spacing-1) * 0);height:var(--sd-header__shadow-height,var(--sd-spacing-1));--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops));--tw-gradient-from:color-mix(in oklab, var(--color-black, #000) 40%, transparent);--tw-gradient-to:color-mix(in oklab, var(--color-black, #000) var(--sd-opacity-0), transparent);--tw-gradient-stops:var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));--tw-content:'';content:var(--tw-content)}}[part=main]{width:var(--sd-header-inner-width);max-width:var(--sd-header-inner-max-width);padding:var(--sd-header-padding,12px 16px)}header::before{position:absolute;bottom:calc(var(--sd-spacing-1) * 0);left:calc(var(--sd-spacing-1) * 0);display:block;width:100%;--tw-content:'';content:var(--tw-content);background-color:rgb(var(--sd-header__underline-color-background));height:var(--sd-header__underline-height,var(--sd-spacing-2))}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-content{syntax:"*";inherits:false;initial-value:""}`],t([o({reflect:!0,type:Boolean})],e.prototype,"fixed",2),t([d("header")],e.prototype,"header",2),t([l(100)],e.prototype,"updateCalculatedHeight",1),e=t([n("sd-6-18-1-header")],e);export{e as a};
1
+ import{a as l}from"./chunk.MHWW3RZB.js";import{a as n,b as o,d,h as a}from"./chunk.4VDBIPS3.js";import{b as r,e as s}from"./chunk.OBAEIKIV.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends a{constructor(){super(...arguments);this.fixed=!1}connectedCallback(){super.connectedCallback(),this.updateCalculatedHeight=this.updateCalculatedHeight.bind(this),this.addResizeObserver=this.addResizeObserver.bind(this),window.addEventListener("resize",this.updateCalculatedHeight)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("resize",this.updateCalculatedHeight)}firstUpdated(){this.updateCalculatedHeight(),this.addResizeObserver()}updated(i){super.updated(i),i.has("fixed")&&this.updateCalculatedHeight()}addResizeObserver(){this.resizeObserver=new ResizeObserver(this.updateCalculatedHeight),this.header&&this.resizeObserver.observe(this.header)}updateCalculatedHeight(){let i=parseFloat(getComputedStyle(document.documentElement).fontSize),p=window.innerHeight/i;this.header&&this.fixed&&p>=32?document.documentElement.style.setProperty("--sd-header-calculated-height",`${this.header.clientHeight}px`):document.documentElement.style.removeProperty("--sd-header-calculated-height")}render(){return s`<header class="w-full sd-6-21-2-header-color-background sd-6-21-2-header-padding-bottom relative" role="banner"><div part="main" class="relative mx-auto my-0 box-border"><slot></slot></div></header>`}};e.styles=[...a.styles,r`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
+ :host{position:relative;z-index:var(--sd-z-index-header,600);display:block}@media (min-height:32rem){:host([fixed]){padding-bottom:var(--sd-header-calculated-height)!important}:host([fixed]) header{position:fixed;top:calc(var(--sd-spacing-1) * 0);left:calc(var(--sd-spacing-1) * 0);width:100%}:host([fixed]) header::after{position:absolute;top:100%;right:calc(var(--sd-spacing-1) * 0);left:calc(var(--sd-spacing-1) * 0);height:var(--sd-header__shadow-height,var(--sd-spacing-1));--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops));--tw-gradient-from:color-mix(in oklab, var(--color-black, #000) 40%, transparent);--tw-gradient-to:color-mix(in oklab, var(--color-black, #000) var(--sd-opacity-0), transparent);--tw-gradient-stops:var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));--tw-content:'';content:var(--tw-content)}}[part=main]{width:var(--sd-header-inner-width);max-width:var(--sd-header-inner-max-width);padding:var(--sd-header-padding,12px 16px)}header::before{position:absolute;bottom:calc(var(--sd-spacing-1) * 0);left:calc(var(--sd-spacing-1) * 0);display:block;width:100%;--tw-content:'';content:var(--tw-content);background-color:rgb(var(--sd-header__underline-color-background));height:var(--sd-header__underline-height,var(--sd-spacing-2))}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-content{syntax:"*";inherits:false;initial-value:""}`],t([o({reflect:!0,type:Boolean})],e.prototype,"fixed",2),t([d("header")],e.prototype,"header",2),t([l(100)],e.prototype,"updateCalculatedHeight",1),e=t([n("sd-6-21-2-header")],e);export{e 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-6-18-1-popup");t.appendChild(e),(s=r.shadowRoot)==null||s.appendChild(t),t==null||t.setAttribute("exportparts","popup__content"),t&&(t.active=!1,t.autoSize="vertical",t.autoSizePadding=16,t.placement="bottom-start",t.anchor=r,t.sync="width");let i=c`/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
- sd-6-18-1-popup::part(popup){z-index:var(--sd-z-index-dropdown,900);overflow-y:scroll;border-bottom-right-radius:var(--sd-radius);border-bottom-left-radius:var(--sd-radius);border-style:var(--tw-border-style);border-width:var(--sd-border-width-2);border-top-style:var(--tw-border-style);border-top-width:0;border-color:rgba(var(--sd-color-border-primary));background-color:rgba(var(--sd-color-background-white));padding-inline:var(--sd-spacing-2);padding-block:var(--sd-spacing-3);--tw-shadow:var(--sd-shadow);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}sd-6-18-1-popup li{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,150ms))}sd-6-18-1-popup li:hover:not([disabled]){background-color:rgba(var(--sd-color-background-neutral-100))}sd-6-18-1-popup li{list-style-type:''}sd-6-18-1-popup li mark{background-color:transparent;--tw-font-weight:var(--sd-font-weight-bold);font-weight:var(--sd-font-weight-bold)}sd-6-18-1-popup li:not(:has(sd-6-18-1-option)){cursor:pointer;padding-inline:var(--sd-spacing-4);padding-block:var(--sd-spacing-3);font-size:var(--sd-text-base);line-height:var(--tw-leading,var(--text-base--line-height,calc(1.5 / 1)));color:rgba(var(--sd-color-text-black))}sd-6-18-1-popup li:not(:has(sd-6-18-1-option)):hover{background-color:rgba(var(--sd-color-background-neutral-200))}sd-6-18-1-popup li[aria-selected=true]{background-color:rgba(var(--sd-color-background-neutral-200))}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-font-weight{syntax:"*";inherits:false}`,o=new CSSStyleSheet;o.replaceSync(i),r.shadowRoot.adoptedStyleSheets=[...r.shadowRoot.adoptedStyleSheets,o]}),l&&n.addEventListener("selection",e=>{var t;r.value=(t=e==null?void 0:e.detail)==null?void 0:t.selection.value}),n.addEventListener("open",()=>{var e,t,i,o,a,s;(t=(e=r.shadowRoot)==null?void 0:e.querySelector("sd-6-18-1-popup"))==null||t.setAttribute("active","true"),(o=(i=r.shadowRoot)==null?void 0:i.querySelector('[part="border"]'))==null||o.classList.add("rounded-b-none"),(s=(a=r.shadowRoot)==null?void 0:a.querySelector('[part="form-control"]'))==null||s.classList.add("z-50")}),n.addEventListener("close",()=>{var e,t,i,o,a,s;(t=(e=r.shadowRoot)==null?void 0:e.querySelector("sd-6-18-1-popup"))==null||t.removeAttribute("active"),(o=(i=r.shadowRoot)==null?void 0:i.querySelector('[part="border"]'))==null||o.classList.remove("rounded-b-none"),(s=(a=r.shadowRoot)==null?void 0:a.querySelector('[part="form-control"]'))==null||s.classList.remove("z-50")}),p&&n.addEventListener("navigate",()=>{let e=r.shadowRoot.querySelector('[aria-selected="true"]');e==null||e.scrollIntoView({block:"nearest"})}),{config:{selector:()=>n,resultsList:{tag:"ul"},wrapper:!1}}}export{h as a};
1
+ function h(d,{setValueOnSelection:l,scrollSelectionIntoView:p}={setValueOnSelection:!0,scrollSelectionIntoView:!0}){let r=d?typeof d=="string"?document.querySelector(d):d:document.querySelector("#autoComplete"),n=r.shadowRoot.querySelector("input"),c=e=>e[0];return n.addEventListener("init",()=>{var a,s;let e=(a=r.shadowRoot)==null?void 0:a.querySelector("ul");e==null||e.setAttribute("part","listbox");let t=document.createElement("sd-6-21-2-popup");t.appendChild(e),(s=r.shadowRoot)==null||s.appendChild(t),t==null||t.setAttribute("exportparts","popup__content"),t&&(t.active=!1,t.autoSize="vertical",t.autoSizePadding=16,t.placement="bottom-start",t.anchor=r,t.sync="width");let i=c`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
+ sd-6-21-2-popup::part(popup){z-index:var(--sd-z-index-dropdown,900);overflow-y:scroll;border-bottom-right-radius:var(--sd-radius);border-bottom-left-radius:var(--sd-radius);border-style:var(--tw-border-style);border-width:var(--sd-border-width-2);border-top-style:var(--tw-border-style);border-top-width:0;border-color:rgba(var(--sd-color-border-primary));background-color:rgba(var(--sd-color-background-white));padding-inline:var(--sd-spacing-2);padding-block:var(--sd-spacing-3);--tw-shadow:var(--sd-shadow);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}sd-6-21-2-popup li{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,150ms))}sd-6-21-2-popup li:hover:not([disabled]){background-color:rgba(var(--sd-color-background-neutral-100))}sd-6-21-2-popup li{list-style-type:''}sd-6-21-2-popup li mark{background-color:transparent;--tw-font-weight:var(--sd-font-weight-bold);font-weight:var(--sd-font-weight-bold)}sd-6-21-2-popup li:not(:has(sd-6-21-2-option)){cursor:pointer;padding-inline:var(--sd-spacing-4);padding-block:var(--sd-spacing-3);font-size:var(--sd-text-base);line-height:var(--tw-leading,var(--text-base--line-height,calc(1.5 / 1)));color:rgba(var(--sd-color-text-black))}sd-6-21-2-popup li:not(:has(sd-6-21-2-option)):hover{background-color:rgba(var(--sd-color-background-neutral-200))}sd-6-21-2-popup li[aria-selected=true]{background-color:rgba(var(--sd-color-background-neutral-200))}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-font-weight{syntax:"*";inherits:false}`,o=new CSSStyleSheet;o.replaceSync(i),r.shadowRoot.adoptedStyleSheets=[...r.shadowRoot.adoptedStyleSheets,o]}),l&&n.addEventListener("selection",e=>{var t;r.value=(t=e==null?void 0:e.detail)==null?void 0:t.selection.value}),n.addEventListener("open",()=>{var e,t,i,o,a,s;(t=(e=r.shadowRoot)==null?void 0:e.querySelector("sd-6-21-2-popup"))==null||t.setAttribute("active","true"),(o=(i=r.shadowRoot)==null?void 0:i.querySelector('[part="border"]'))==null||o.classList.add("rounded-b-none"),(s=(a=r.shadowRoot)==null?void 0:a.querySelector('[part="form-control"]'))==null||s.classList.add("z-50")}),n.addEventListener("close",()=>{var e,t,i,o,a,s;(t=(e=r.shadowRoot)==null?void 0:e.querySelector("sd-6-21-2-popup"))==null||t.removeAttribute("active"),(o=(i=r.shadowRoot)==null?void 0:i.querySelector('[part="border"]'))==null||o.classList.remove("rounded-b-none"),(s=(a=r.shadowRoot)==null?void 0:a.querySelector('[part="form-control"]'))==null||s.classList.remove("z-50")}),p&&n.addEventListener("navigate",()=>{let e=r.shadowRoot.querySelector('[aria-selected="true"]');e==null||e.scrollIntoView({block:"nearest"})}),{config:{selector:()=>n,resultsList:{tag:"ul"},wrapper:!1}}}export{h as a};
@@ -1,2 +1,2 @@
1
- import{a as s}from"./chunk.SLXPE3UU.js";import{a as d}from"./chunk.CGQ2BPPZ.js";import{a as r}from"./chunk.QIKBKQXB.js";import{a as h,b as l,d as c,h as a}from"./chunk.E2V26BUA.js";import{b as o,e as n}from"./chunk.UOAG5PNU.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.2.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- ::slotted(sd-6-18-1-icon){font-size:1.25em;margin-bottom:-.25em}:host([size=sm][standalone]) ::slotted(sd-6-18-1-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-6-18-1-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-6-18-1-link")],e);export{e as a};
1
+ import{a as s}from"./chunk.LHSR56PH.js";import{a as d}from"./chunk.CGQ2BPPZ.js";import{a as r}from"./chunk.UFTAQNZB.js";import{a as h,b as l,d as c,h as a}from"./chunk.4VDBIPS3.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.0 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ ::slotted(sd-6-21-2-icon){font-size:1.25em;margin-bottom:-.25em}:host([size=sm][standalone]) ::slotted(sd-6-21-2-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-6-21-2-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-6-21-2-link")],e);export{e as a};
@@ -1 +1 @@
1
- import{c as i}from"./chunk.UOAG5PNU.js";var h=(o="value")=>(u,l)=>{let n=u.constructor,f=n.prototype.attributeChangedCallback;n.prototype.attributeChangedCallback=function(r,b,a){var c;let e=n.getPropertyOptions(o),m=typeof e.attribute=="string"?e.attribute:o;if(r===m){let t=e.converter||i,s=(typeof t=="function"?t:(c=t==null?void 0:t.fromAttribute)!=null?c:i.fromAttribute)(a,e.type);this[o]!==s&&(this[l]=s)}f.call(this,r,b,a)}};export{h as a};
1
+ import{c as i}from"./chunk.OBAEIKIV.js";var h=(o="value")=>(u,l)=>{let n=u.constructor,f=n.prototype.attributeChangedCallback;n.prototype.attributeChangedCallback=function(r,b,a){var c;let e=n.getPropertyOptions(o),m=typeof e.attribute=="string"?e.attribute:o;if(r===m){let t=e.converter||i,s=(typeof t=="function"?t:(c=t==null?void 0:t.fromAttribute)!=null?c:i.fromAttribute)(a,e.type);this[o]!==s&&(this[l]=s)}f.call(this,r,b,a)}};export{h as a};
@@ -1,2 +1,2 @@
1
- import{a as w}from"./chunk.YQH4KNT6.js";import{a as $}from"./chunk.W4EADN3G.js";import{b as x}from"./chunk.RAP66B6O.js";import{a}from"./chunk.SLXPE3UU.js";import{a as C}from"./chunk.CGQ2BPPZ.js";import{a as s}from"./chunk.QIKBKQXB.js";import{a as d}from"./chunk.NYKJXI3Q.js";import{a as g,b as i,c,d as f,h as m}from"./chunk.E2V26BUA.js";import{b as y,e as o}from"./chunk.UOAG5PNU.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,r,n="none"){this.textarea.setSelectionRange(l,r,n)}setRangeText(l,r,n,p){this.textarea.setRangeText(l,r,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")},r=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&&r&&(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",b=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">${r&&!this.floatingLabel||p?o`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${s(r?"inline-block form-control-color-text":"hidden",b)}" for="input" aria-hidden="${r?"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")}">${r&&this.floatingLabel?o`<label id="label" part="form-control-floating-label" class="${s("absolute left-4 z-20 transition-all duration-200 cursor-text",b,h?"top-2 text-xs":"top-2.5")}" 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)]:bg-neutral-200":"",this.readonly?"bg-neutral-100":"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-6-18-1-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",b)}" title="${this.title}" name="${a(this.name)}" .value="${w(this.value)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" ?visually-disabled="${this.visuallyDisabled}" placeholder="${!this.floatingLabel||h?a(this.placeholder):""}" minlength="${a(this.minlength)}" maxlength="${a(this.maxlength)}" rows="${a(this.rows)}" autocapitalize="${a(this.autocapitalize)}" autocorrect="${a(this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${a(this.spellcheck)}" enterkeyhint="${a(this.enterkeyhint)}" inputmode="${a(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-6-18-1-icon class="${s("text-error absolute right-4 pointer-events-none",v)}" library="_internal" name="risk" part="invalid-icon"></sd-6-18-1-icon>`:""} ${this.styleOnValid&&this.showValidStyle?o`<sd-6-18-1-icon class="${s("text-success absolute right-4 pointer-events-none",v)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-6-18-1-icon>`:""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${s("text-sm text-neutral-700 mt-1",n&&!this.showInvalidStyle?"block":"hidden")}" aria-hidden="${!n||this.showInvalidStyle}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage(this.size)}`}};t.styles=[...m.styles,y`/*! tailwindcss v4.2.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([f("#input")],t.prototype,"textarea",2),e([f("#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:String,reflect:!0})],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-6-18-1-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}from"./chunk.LHSR56PH.js";import{a as C}from"./chunk.CGQ2BPPZ.js";import{a as s}from"./chunk.UFTAQNZB.js";import{a as d}from"./chunk.NYKJXI3Q.js";import{a as g,b as i,c,d as f,h as m}from"./chunk.4VDBIPS3.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,r,n="none"){this.textarea.setSelectionRange(l,r,n)}setRangeText(l,r,n,p){this.textarea.setRangeText(l,r,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")},r=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&&r&&(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",b=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">${r&&!this.floatingLabel||p?o`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${s(r?"inline-block":"hidden",b,this.visuallyDisabled||this.disabled?"text-neutral-500":" form-control-color-text")}" for="input" aria-hidden="${r?"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")}">${r&&this.floatingLabel?o`<label id="label" part="form-control-floating-label" class="${s("absolute left-4 z-20 transition-all duration-200 cursor-text",b,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-6-21-2-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",b)}" title="${this.title}" name="${a(this.name)}" .value="${w(this.value)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" ?visually-disabled="${this.visuallyDisabled}" placeholder="${!this.floatingLabel||h?a(this.placeholder):""}" minlength="${a(this.minlength)}" maxlength="${a(this.maxlength)}" rows="${a(this.rows)}" autocapitalize="${a(this.autocapitalize)}" autocorrect="${a(this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${a(this.spellcheck)}" enterkeyhint="${a(this.enterkeyhint)}" inputmode="${a(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-6-21-2-icon class="${s("text-error absolute right-4 pointer-events-none",v)}" library="_internal" name="risk" part="invalid-icon"></sd-6-21-2-icon>`:""} ${this.styleOnValid&&this.showValidStyle?o`<sd-6-21-2-icon class="${s("text-success absolute right-4 pointer-events-none",v)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-6-21-2-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.0 | 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([f("#input")],t.prototype,"textarea",2),e([f("#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:String,reflect:!0})],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-6-21-2-textarea")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as p}from"./chunk.SLXPE3UU.js";import{a as b}from"./chunk.CGQ2BPPZ.js";import{a as n}from"./chunk.QIKBKQXB.js";import{a as h}from"./chunk.NYKJXI3Q.js";import{a as d,b as i,c as u,d as a,h as r}from"./chunk.E2V26BUA.js";import{b as c,e as o}from"./chunk.UOAG5PNU.js";import{e as s}from"./chunk.6EV4YU6C.js";var t=class extends r{constructor(){super(...arguments);this.hasSlotController=new b(this,"[default]","icon");this.hasFocus=!1;this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.checked=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","presentation")}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleClick(e){if(this.disabled||this.visuallyDisabled){e.preventDefault(),e.stopPropagation();return}this.checked=!0}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleDisabledChange(){let e=this.disabled||this.visuallyDisabled;this.setAttribute("aria-disabled",e?"true":"false")}focus(e){this.input.focus(e)}blur(){this.input.blur()}render(){let e=this.hasSlotController.test("[default]"),l=this.hasSlotController.test("icon"),m=`${this.size}-${e?"label":"no-label"}`;return o`<div part="base" role="presentation" class="relative"><button part="${`button${this.checked?" button--checked":""}`}" role="radio" aria-checked="${this.checked}" class="${n("relative text-center sd-6-18-1-radio-button-border-radius transition-all ease-in-out duration-100 items-center justify-center focus-visible:focus-outline choice-control-font-weight",this.size==="sm"?"text-sm":"text-base",this.checked&&!this.disabled&&!this.visuallyDisabled?"sd-6-18-1-button--primary--default-color-background sd-6-18-1-button--primary--default-color-text hover:sd-6-18-1-button--primary--hover-color-background hover:text-primary-100":!this.checked&&(this.disabled||this.visuallyDisabled)?"text-neutral-500 hover:cursor-not-allowed":this.checked&&(this.disabled||this.visuallyDisabled)?"bg-neutral-400 text-white hover:cursor-not-allowed ":"bg-transparent sd-6-18-1-radio-button-color-text border-primary cursor-pointer hover:sd-6-18-1-radio-button--hover-color-background hover:sd-6-18-1-radio-button--hover-color-text",e&&{sm:"px-3",md:"px-4",lg:"px-5"}[this.size],this.hasFocus&&"focused-class",e&&"button--has-label",l&&"button--has-icon flex gap-2",m)}" aria-disabled="${this.disabled||this.visuallyDisabled}" type="button" value="${p(this.value)}" tabindex="${this.checked?"0":"-1"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @click="${this.handleClick}"><slot name="icon" part="icon" class="${n(l&&"inline-flex relative items-center",{sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size])}" ?hidden="${!l}"></slot>${e?o`<slot part="label" class="button__label inline-flex relative items-center whitespace-nowrap"></slot>`:null}</button></div>`}};t.styles=[...r.styles,c`/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
- :host{display:block;width:-moz-min-content;width:min-content}.hidden-input{all:unset;position:absolute;inset:calc(var(--sd-spacing-1) * 0);z-index:calc(10 * -1);opacity:var(--sd-opacity-0);outline-style:var(--tw-outline-style);outline-width:1px;outline-color:rgba(var(--sd-color-border-error,var(--sd-color-error)));--tw-outline-style:dotted;outline-style:dotted}.lg-label{height:46px}.lg-no-label{height:46px;padding-inline:calc(var(--sd-spacing-1) * 5)}.md-label{height:38px}.md-no-label{height:38px;padding-inline:var(--sd-spacing-4)}.sm-label{height:30px}.sm-no-label{height:30px;padding-inline:var(--sd-spacing-3)}:host([size=lg].sd-6-18-1-button-group__button:not(.sd-6-18-1-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-3) * -1)}:host([size=md].sd-6-18-1-button-group__button:not(.sd-6-18-1-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-2) * -1)}:host([size=sm].sd-6-18-1-button-group__button:not(.sd-6-18-1-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-1) * -1)}:host(.sd-6-18-1-button-group__button--hover){z-index:20}:host(.sd-6-18-1-button-group__button--focus){z-index:30}:host(.sd-6-18-1-button-group__button[checked]){z-index:40}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}`],s([a(".button")],t.prototype,"input",2),s([a(".hidden-input")],t.prototype,"hiddenInput",2),s([u()],t.prototype,"hasFocus",2),s([i({type:String,reflect:!0})],t.prototype,"size",2),s([i({type:Boolean,reflect:!0})],t.prototype,"disabled",2),s([i({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),s([i({type:Boolean,reflect:!0})],t.prototype,"checked",2),s([i()],t.prototype,"value",2),s([h(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),t=s([d("sd-6-18-1-radio-button")],t);export{t as a};
1
+ import{a as p}from"./chunk.LHSR56PH.js";import{a as b}from"./chunk.CGQ2BPPZ.js";import{a as n}from"./chunk.UFTAQNZB.js";import{a as h}from"./chunk.NYKJXI3Q.js";import{a as d,b as i,c as u,d as a,h as r}from"./chunk.4VDBIPS3.js";import{b as c,e as o}from"./chunk.OBAEIKIV.js";import{e as s}from"./chunk.6EV4YU6C.js";var t=class extends r{constructor(){super(...arguments);this.hasSlotController=new b(this,"[default]","icon");this.hasFocus=!1;this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.checked=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","presentation")}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleClick(e){if(this.disabled||this.visuallyDisabled){e.preventDefault(),e.stopPropagation();return}this.checked=!0}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleDisabledChange(){let e=this.disabled||this.visuallyDisabled;this.setAttribute("aria-disabled",e?"true":"false")}focus(e){this.input.focus(e)}blur(){this.input.blur()}render(){let e=this.hasSlotController.test("[default]"),l=this.hasSlotController.test("icon"),m=`${this.size}-${e?"label":"no-label"}`;return o`<div part="base" role="presentation" class="relative"><button part="${`button${this.checked?" button--checked":""}`}" role="radio" aria-checked="${this.checked}" class="${n("relative text-center sd-6-21-2-radio-button-border-radius transition-all ease-in-out duration-100 items-center justify-center focus-visible:focus-outline choice-control-font-weight",this.size==="sm"?"text-sm":"text-base",this.checked&&!this.disabled&&!this.visuallyDisabled?"sd-6-21-2-button--primary--default-color-background sd-6-21-2-button--primary--default-color-text hover:sd-6-21-2-button--primary--hover-color-background hover:text-primary-100":!this.checked&&(this.disabled||this.visuallyDisabled)?"text-neutral-500 hover:cursor-not-allowed":this.checked&&(this.disabled||this.visuallyDisabled)?"bg-neutral-400 text-white hover:cursor-not-allowed ":"bg-transparent sd-6-21-2-radio-button-color-text border-primary cursor-pointer hover:sd-6-21-2-radio-button--hover-color-background hover:sd-6-21-2-radio-button--hover-color-text",e&&{sm:"px-3",md:"px-4",lg:"px-5"}[this.size],this.hasFocus&&"focused-class",e&&"button--has-label",l&&"button--has-icon flex gap-2",m)}" aria-disabled="${this.disabled||this.visuallyDisabled}" type="button" value="${p(this.value)}" tabindex="${this.checked?"0":"-1"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @click="${this.handleClick}"><slot name="icon" part="icon" class="${n(l&&"inline-flex relative items-center",{sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size])}" ?hidden="${!l}"></slot>${e?o`<slot part="label" class="button__label inline-flex relative items-center whitespace-nowrap"></slot>`:null}</button></div>`}};t.styles=[...r.styles,c`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
+ :host{display:block;width:-moz-min-content;width:min-content}.hidden-input{all:unset;position:absolute;inset:calc(var(--sd-spacing-1) * 0);z-index:calc(10 * -1);opacity:var(--sd-opacity-0);outline-style:var(--tw-outline-style);outline-width:1px;outline-color:rgba(var(--sd-color-border-error,var(--sd-color-error)));--tw-outline-style:dotted;outline-style:dotted}.lg-label{height:46px}.lg-no-label{height:46px;padding-inline:calc(var(--sd-spacing-1) * 5)}.md-label{height:38px}.md-no-label{height:38px;padding-inline:var(--sd-spacing-4)}.sm-label{height:30px}.sm-no-label{height:30px;padding-inline:var(--sd-spacing-3)}:host([size=lg].sd-6-21-2-button-group__button:not(.sd-6-21-2-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-3) * -1)}:host([size=md].sd-6-21-2-button-group__button:not(.sd-6-21-2-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-2) * -1)}:host([size=sm].sd-6-21-2-button-group__button:not(.sd-6-21-2-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-1) * -1)}:host(.sd-6-21-2-button-group__button--hover){z-index:20}:host(.sd-6-21-2-button-group__button--focus){z-index:30}:host(.sd-6-21-2-button-group__button[checked]){z-index:40}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}`],s([a(".button")],t.prototype,"input",2),s([a(".hidden-input")],t.prototype,"hiddenInput",2),s([u()],t.prototype,"hasFocus",2),s([i({type:String,reflect:!0})],t.prototype,"size",2),s([i({type:Boolean,reflect:!0})],t.prototype,"disabled",2),s([i({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),s([i({type:Boolean,reflect:!0})],t.prototype,"checked",2),s([i()],t.prototype,"value",2),s([h(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),t=s([d("sd-6-21-2-radio-button")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as n}from"./chunk.IQPMMUES.js";import{a as e}from"./chunk.QIKBKQXB.js";import{a,b as c,h as i}from"./chunk.E2V26BUA.js";import{b as l,e as o}from"./chunk.UOAG5PNU.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.2.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-6-18-1-loader")],r);export{r as a};
1
+ import{a as n}from"./chunk.VAM5SM3O.js";import{a as e}from"./chunk.UFTAQNZB.js";import{a,b as c,h as i}from"./chunk.4VDBIPS3.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.0 | 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-6-21-2-loader")],r);export{r as a};
@@ -1,2 +1,2 @@
1
- import{a as s}from"./chunk.SLXPE3UU.js";import{a as S}from"./chunk.IQPMMUES.js";import{a as r}from"./chunk.QIKBKQXB.js";import{a as T,b as h,c as f,d as u,h as y}from"./chunk.E2V26BUA.js";import{b as k,e as c}from"./chunk.UOAG5PNU.js";import{e as o}from"./chunk.6EV4YU6C.js";var n=class extends y{constructor(){super(...arguments);this.localize=new S(this);this.orientation="horizontal";this.scrollbars=!1;this.buttons=!1;this.shadows=!1;this.inset=!1;this.step=150;this.canScroll={left:!1,right:!1,up:!1,down:!1};this.isScrollHorizontalEnabled=!1;this.isScrollVerticalEnabled=!1}connectedCallback(){super.connectedCallback(),this.updateScrollEnabledFlags(),this.resizeObserver=new ResizeObserver(()=>{this.handleContainerScroll()}),this.updateComplete.then(()=>{this.container&&this.resizeObserver.observe(this.container)})}disconnectedCallback(){super.disconnectedCallback(),this.container&&this.resizeObserver.unobserve(this.container)}updated(t){super.updated(t),(t.has("orientation")||t.has("buttons")||t.has("shadows"))&&(this.updateScrollEnabledFlags(),this.handleContainerScroll())}updateScrollEnabledFlags(){let t=this.orientation;this.isScrollHorizontalEnabled=t==="horizontal"||t==="auto",this.isScrollVerticalEnabled=t==="vertical"||t==="auto"}get scrollButtons(){return{left:this.leftButton,right:this.rightButton,up:this.upButton,down:this.downButton}}handleContainerScroll(){if(!this.container)return;let t=this.container.scrollLeft>0,l=this.container.scrollLeft+this.container.clientWidth<this.container.scrollWidth-1,e=this.container.scrollTop>0,d=this.container.scrollTop+this.container.clientHeight<this.container.scrollHeight-1,a=this.canScroll,i={left:this.isScrollHorizontalEnabled&&t,right:this.isScrollHorizontalEnabled&&l,up:this.isScrollVerticalEnabled&&e,down:this.isScrollVerticalEnabled&&d},v=a.left&&!i.left,m=a.up&&!i.up,E=a.right&&!i.right,b=a.down&&!i.down;(v||m)&&this.dispatchEvent(new CustomEvent("start")),(E||b)&&this.dispatchEvent(new CustomEvent("end")),this.canScroll=i}handleScroll(t,l){var z,x,B;let e=["left","up"].includes(t)?-this.step:this.step,d=["left","right"].includes(t)?"horizontal":"vertical",a=["left","up"].includes(t)?"start":"end",i=!["mouse","touch"].includes((z=l==null?void 0:l.pointerType)!=null?z:""),v=d==="horizontal"?"left":"top";(x=this.container)==null||x.scrollBy({behavior:"smooth",[v]:e});let m=`button-${t}`;this.dispatchEvent(new CustomEvent(m,{bubbles:!0,composed:!0}));let b=(d==="horizontal"?this.container.scrollLeft:this.container.scrollTop)+e,C=d==="horizontal"?this.container.scrollWidth-this.container.clientWidth:this.container.scrollHeight-this.container.clientHeight,$=a==="start"&&b<=0,H=a==="end"&&b>=C-1;if(!($||H)){let w=this.localize.term("scrolled");this.announcementContainer.textContent=this.announcementContainer.textContent===w?`${w}\u200B`:w;return}let g=this.scrollButtons[t],p={left:this.rightButton,right:this.leftButton,up:this.downButton,down:this.upButton}[t],L=$?`${this.localize.term("scrolled")}. ${this.localize.term("scrollToEnd")}`:`${this.localize.term("scrolled")}. ${this.localize.term("scrollToStart")}`;(B=p==null?void 0:p.querySelector("sd-6-18-1-icon"))==null||B.setAttribute("label",L),i?p==null||p.focus():g==null||g.blur()}handleButtonBlur(t,l){var i;let d=(["left","up"].includes(t)?"start":"end")==="start"?this.localize.term("scrollToStart"):this.localize.term("scrollToEnd");(i=l.target.querySelector("sd-6-18-1-icon"))==null||i.setAttribute("label",d)}render(){let t="relative p-0 border-0 bg-transparent cursor-pointer w-5 h-5 flex items-center justify-center sd-interactive rounded-md flex text-lg",l="scroll-shadow absolute z-10 pointer-events-none transition-opacity duration-medium ease-in-out";return c`<div part="base" class="${r("scroll-container flex overflow-hidden flex-1",this.scrollbars?"show-scrollbars":"hide-scrollbars",this.inset&&"p-4",{horizontal:"scroll-horizontal flex-row whitespace-nowrap items-center overflow-x-scroll overflow-y-hidden",vertical:"scroll-vertical justify-items-center overflow-y-scroll overflow-x-hidden",auto:"scroll-auto overflow-auto"}[this.orientation])}" @scroll="${this.handleContainerScroll}" tabindex="0"><div id="announcement-container" role="status" class="sr-only"></div><div part="scroll-content" class="flex-1"><slot></slot></div></div>${this.buttons?c`${this.isScrollHorizontalEnabled?c`<div part="button-left" class="${r("absolute z-10 flex items-center justify-center top-0 left-0 h-full w-8 transition-opacity duration-medium ease-in-out",!this.canScroll.left&&"opacity-0 pointer-events-none")}"><button part="button-start" class="${r(t)}" aria-hidden="${s(!this.canScroll.left||void 0)}" tabindex="${s(this.canScroll.left?void 0:-1)}" @click="${e=>this.handleScroll("left",e)}" @blur="${e=>this.handleButtonBlur("left",e)}"><slot name="icon-start"><sd-6-18-1-icon library="_internal" name="chevron-up" class="rotate-[-90deg]" label="${this.localize.term("scrollToStart")}"></sd-6-18-1-icon></slot></button></div><div part="button-right" class="${r("absolute z-10 flex items-center justify-center top-0 right-0 h-full w-8 transition-opacity duration-medium ease-in-out",!this.canScroll.right&&"opacity-0 pointer-events-none")}"><button part="button-end" class="${r(t)}" aria-hidden="${s(!this.canScroll.right||void 0)}" tabindex="${s(this.canScroll.right?void 0:-1)}" @click="${e=>this.handleScroll("right",e)}" @blur="${e=>this.handleButtonBlur("right",e)}"><slot name="icon-end"><sd-6-18-1-icon library="_internal" name="chevron-down" class="rotate-[-90deg]" label="${this.localize.term("scrollToEnd")}"></sd-6-18-1-icon></slot></button></div>`:null} ${this.isScrollVerticalEnabled?c`<div part="button-top" class="${r("absolute z-10 flex items-center justify-center top-0 left-0 w-full h-8 transition-opacity duration-medium ease-in-out",!this.canScroll.up&&"opacity-0 pointer-events-none")}"><button part="button-start" class="${r(t)}" aria-hidden="${s(!this.canScroll.up||void 0)}" tabindex="${s(this.canScroll.up?void 0:-1)}" @click="${e=>this.handleScroll("up",e)}" @blur="${e=>this.handleButtonBlur("up",e)}"><slot name="icon-start"><sd-6-18-1-icon library="_internal" name="chevron-up" label="${this.localize.term("scrollToStart")}"></sd-6-18-1-icon></slot></button></div><div part="button-bottom" class="${r("absolute z-10 flex items-center justify-center bottom-0 left-0 w-full h-8 transition-opacity duration-medium ease-in-out",!this.canScroll.down&&"opacity-0 pointer-events-none")}"><button part="button-end" class="${r(t)}" aria-hidden="${s(!this.canScroll.down||void 0)}" tabindex="${s(this.canScroll.down?void 0:-1)}" @click="${e=>this.handleScroll("down",e)}" @blur="${e=>this.handleButtonBlur("down",e)}"><slot name="icon-end"><sd-6-18-1-icon library="_internal" name="chevron-down" label="${this.localize.term("scrollToEnd")}"></sd-6-18-1-icon></slot></button></div>`:null}`:null} ${this.shadows?c`${this.isScrollHorizontalEnabled?c`<div part="shadow-left" class="${r("left top-0 left-0 w-[6px] h-full",l,this.canScroll.left?"opacity-100":"opacity-0")}"></div><div part="shadow-right" class="${r("right top-0 right-0 w-[6px] h-full",l,this.canScroll.right?"opacity-100":"opacity-0")}"></div>`:null} ${this.isScrollVerticalEnabled?c`<div part="shadow-top" class="${r("top top-0 left-0 w-full h-[6px]",l,this.canScroll.up?"opacity-100":"opacity-0")}"></div><div part="shadow-bottom" class="${r("bottom bottom-0 left-0 w-full h-[6px]",l,this.canScroll.down?"opacity-100":"opacity-0")}"></div>`:null}`:null}`}};n.styles=[...y.styles,k`/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{--gradient-color:transparent;--gradient:var(--gradient-color) 0%,rgba(var(--sd-color-background-white, rgba(var(--sd-color-white)))) 80%,rgba(var(--sd-color-background-white, rgba(var(--sd-color-white)))) 100%;position:relative;display:flex;overflow:hidden}.hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}.hide-scrollbars::-webkit-scrollbar{display:none}.scroll-container::-webkit-scrollbar-thumb{background-color:transparent}.scroll-container:hover::-webkit-scrollbar-thumb{background:var(--background-neutral-400,#c3c3c3);border-radius:var(--sd-radius-sm)}.scroll-container::-webkit-scrollbar{height:var(--sd-spacing-1);width:var(--sd-spacing-1)}.scroll-auto{overflow:auto}[part=button-left]{background:linear-gradient(270deg,var(--gradient))}[part=button-right]{background:linear-gradient(90deg,var(--gradient))}[part=button-top]{background:linear-gradient(0deg,var(--gradient))}[part=button-bottom]{background:linear-gradient(180deg,var(--gradient))}[part=shadow-left]{background:linear-gradient(270deg,transparent 50%,rgba(24,24,24,.4) 100%)}[part=shadow-right]{background:linear-gradient(90deg,transparent 50%,rgba(24,24,24,.4) 100%)}[part=shadow-top]{background:linear-gradient(0deg,transparent 50%,rgba(24,24,24,.4) 100%)}[part=shadow-bottom]{background:linear-gradient(180deg,transparent 50%,rgba(24,24,24,.4) 100%)}.sd-6-18-1-icon--top{align-self:flex-start}.sd-6-18-1-icon--down{align-self:flex-end}`],o([u('[part="button-right"] button')],n.prototype,"rightButton",2),o([u('[part="button-left"] button')],n.prototype,"leftButton",2),o([u('[part="button-bottom"] button')],n.prototype,"downButton",2),o([u('[part="button-top"] button')],n.prototype,"upButton",2),o([u(".scroll-container")],n.prototype,"container",2),o([u("#announcement-container")],n.prototype,"announcementContainer",2),o([h({type:String,reflect:!0})],n.prototype,"orientation",2),o([h({type:Boolean,reflect:!0})],n.prototype,"scrollbars",2),o([h({type:Boolean,reflect:!0})],n.prototype,"buttons",2),o([h({type:Boolean,reflect:!0})],n.prototype,"shadows",2),o([h({type:Boolean,reflect:!0})],n.prototype,"inset",2),o([h({type:Number,reflect:!0})],n.prototype,"step",2),o([f()],n.prototype,"canScroll",2),o([f()],n.prototype,"isScrollHorizontalEnabled",2),o([f()],n.prototype,"isScrollVerticalEnabled",2),n=o([T("sd-6-18-1-scrollable")],n);export{n as a};
1
+ import{a as s}from"./chunk.LHSR56PH.js";import{a as S}from"./chunk.VAM5SM3O.js";import{a as r}from"./chunk.UFTAQNZB.js";import{a as T,b as h,c as f,d as u,h as y}from"./chunk.4VDBIPS3.js";import{b as k,e as c}from"./chunk.OBAEIKIV.js";import{e as o}from"./chunk.6EV4YU6C.js";var n=class extends y{constructor(){super(...arguments);this.localize=new S(this);this.orientation="horizontal";this.scrollbars=!1;this.buttons=!1;this.shadows=!1;this.inset=!1;this.step=150;this.canScroll={left:!1,right:!1,up:!1,down:!1};this.isScrollHorizontalEnabled=!1;this.isScrollVerticalEnabled=!1}connectedCallback(){super.connectedCallback(),this.updateScrollEnabledFlags(),this.resizeObserver=new ResizeObserver(()=>{this.handleContainerScroll()}),this.updateComplete.then(()=>{this.container&&this.resizeObserver.observe(this.container)})}disconnectedCallback(){super.disconnectedCallback(),this.container&&this.resizeObserver.unobserve(this.container)}updated(t){super.updated(t),(t.has("orientation")||t.has("buttons")||t.has("shadows"))&&(this.updateScrollEnabledFlags(),this.handleContainerScroll())}updateScrollEnabledFlags(){let t=this.orientation;this.isScrollHorizontalEnabled=t==="horizontal"||t==="auto",this.isScrollVerticalEnabled=t==="vertical"||t==="auto"}get scrollButtons(){return{left:this.leftButton,right:this.rightButton,up:this.upButton,down:this.downButton}}handleContainerScroll(){if(!this.container)return;let t=this.container.scrollLeft>0,l=this.container.scrollLeft+this.container.clientWidth<this.container.scrollWidth-1,e=this.container.scrollTop>0,d=this.container.scrollTop+this.container.clientHeight<this.container.scrollHeight-1,a=this.canScroll,i={left:this.isScrollHorizontalEnabled&&t,right:this.isScrollHorizontalEnabled&&l,up:this.isScrollVerticalEnabled&&e,down:this.isScrollVerticalEnabled&&d},v=a.left&&!i.left,m=a.up&&!i.up,E=a.right&&!i.right,b=a.down&&!i.down;(v||m)&&this.dispatchEvent(new CustomEvent("start")),(E||b)&&this.dispatchEvent(new CustomEvent("end")),this.canScroll=i}handleScroll(t,l){var z,x,B;let e=["left","up"].includes(t)?-this.step:this.step,d=["left","right"].includes(t)?"horizontal":"vertical",a=["left","up"].includes(t)?"start":"end",i=!["mouse","touch"].includes((z=l==null?void 0:l.pointerType)!=null?z:""),v=d==="horizontal"?"left":"top";(x=this.container)==null||x.scrollBy({behavior:"smooth",[v]:e});let m=`button-${t}`;this.dispatchEvent(new CustomEvent(m,{bubbles:!0,composed:!0}));let b=(d==="horizontal"?this.container.scrollLeft:this.container.scrollTop)+e,C=d==="horizontal"?this.container.scrollWidth-this.container.clientWidth:this.container.scrollHeight-this.container.clientHeight,$=a==="start"&&b<=0,H=a==="end"&&b>=C-1;if(!($||H)){let w=this.localize.term("scrolled");this.announcementContainer.textContent=this.announcementContainer.textContent===w?`${w}\u200B`:w;return}let g=this.scrollButtons[t],p={left:this.rightButton,right:this.leftButton,up:this.downButton,down:this.upButton}[t],L=$?`${this.localize.term("scrolled")}. ${this.localize.term("scrollToEnd")}`:`${this.localize.term("scrolled")}. ${this.localize.term("scrollToStart")}`;(B=p==null?void 0:p.querySelector("sd-6-21-2-icon"))==null||B.setAttribute("label",L),i?p==null||p.focus():g==null||g.blur()}handleButtonBlur(t,l){var i;let d=(["left","up"].includes(t)?"start":"end")==="start"?this.localize.term("scrollToStart"):this.localize.term("scrollToEnd");(i=l.target.querySelector("sd-6-21-2-icon"))==null||i.setAttribute("label",d)}render(){let t="relative p-0 border-0 bg-transparent cursor-pointer w-5 h-5 flex items-center justify-center sd-interactive rounded-md flex text-lg",l="scroll-shadow absolute z-10 pointer-events-none transition-opacity duration-medium ease-in-out";return c`<div part="base" class="${r("scroll-container flex overflow-hidden flex-1",this.scrollbars?"show-scrollbars":"hide-scrollbars",this.inset&&"p-4",{horizontal:"scroll-horizontal flex-row whitespace-nowrap items-center overflow-x-scroll overflow-y-hidden",vertical:"scroll-vertical justify-items-center overflow-y-scroll overflow-x-hidden",auto:"scroll-auto overflow-auto"}[this.orientation])}" @scroll="${this.handleContainerScroll}" tabindex="0"><div id="announcement-container" role="status" class="sr-only"></div><div part="scroll-content" class="flex-1"><slot></slot></div></div>${this.buttons?c`${this.isScrollHorizontalEnabled?c`<div part="button-left" class="${r("absolute z-10 flex items-center justify-center top-0 left-0 h-full w-8 transition-opacity duration-medium ease-in-out",!this.canScroll.left&&"opacity-0 pointer-events-none")}"><button part="button-start" class="${r(t)}" aria-hidden="${s(!this.canScroll.left||void 0)}" tabindex="${s(this.canScroll.left?void 0:-1)}" @click="${e=>this.handleScroll("left",e)}" @blur="${e=>this.handleButtonBlur("left",e)}"><slot name="icon-start"><sd-6-21-2-icon library="_internal" name="chevron-up" class="rotate-[-90deg]" label="${this.localize.term("scrollToStart")}"></sd-6-21-2-icon></slot></button></div><div part="button-right" class="${r("absolute z-10 flex items-center justify-center top-0 right-0 h-full w-8 transition-opacity duration-medium ease-in-out",!this.canScroll.right&&"opacity-0 pointer-events-none")}"><button part="button-end" class="${r(t)}" aria-hidden="${s(!this.canScroll.right||void 0)}" tabindex="${s(this.canScroll.right?void 0:-1)}" @click="${e=>this.handleScroll("right",e)}" @blur="${e=>this.handleButtonBlur("right",e)}"><slot name="icon-end"><sd-6-21-2-icon library="_internal" name="chevron-down" class="rotate-[-90deg]" label="${this.localize.term("scrollToEnd")}"></sd-6-21-2-icon></slot></button></div>`:null} ${this.isScrollVerticalEnabled?c`<div part="button-top" class="${r("absolute z-10 flex items-center justify-center top-0 left-0 w-full h-8 transition-opacity duration-medium ease-in-out",!this.canScroll.up&&"opacity-0 pointer-events-none")}"><button part="button-start" class="${r(t)}" aria-hidden="${s(!this.canScroll.up||void 0)}" tabindex="${s(this.canScroll.up?void 0:-1)}" @click="${e=>this.handleScroll("up",e)}" @blur="${e=>this.handleButtonBlur("up",e)}"><slot name="icon-start"><sd-6-21-2-icon library="_internal" name="chevron-up" label="${this.localize.term("scrollToStart")}"></sd-6-21-2-icon></slot></button></div><div part="button-bottom" class="${r("absolute z-10 flex items-center justify-center bottom-0 left-0 w-full h-8 transition-opacity duration-medium ease-in-out",!this.canScroll.down&&"opacity-0 pointer-events-none")}"><button part="button-end" class="${r(t)}" aria-hidden="${s(!this.canScroll.down||void 0)}" tabindex="${s(this.canScroll.down?void 0:-1)}" @click="${e=>this.handleScroll("down",e)}" @blur="${e=>this.handleButtonBlur("down",e)}"><slot name="icon-end"><sd-6-21-2-icon library="_internal" name="chevron-down" label="${this.localize.term("scrollToEnd")}"></sd-6-21-2-icon></slot></button></div>`:null}`:null} ${this.shadows?c`${this.isScrollHorizontalEnabled?c`<div part="shadow-left" class="${r("left top-0 left-0 w-[6px] h-full",l,this.canScroll.left?"opacity-100":"opacity-0")}"></div><div part="shadow-right" class="${r("right top-0 right-0 w-[6px] h-full",l,this.canScroll.right?"opacity-100":"opacity-0")}"></div>`:null} ${this.isScrollVerticalEnabled?c`<div part="shadow-top" class="${r("top top-0 left-0 w-full h-[6px]",l,this.canScroll.up?"opacity-100":"opacity-0")}"></div><div part="shadow-bottom" class="${r("bottom bottom-0 left-0 w-full h-[6px]",l,this.canScroll.down?"opacity-100":"opacity-0")}"></div>`:null}`:null}`}};n.styles=[...y.styles,k`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{--gradient-color:transparent;--gradient:var(--gradient-color) 0%,rgba(var(--sd-color-background-white, rgba(var(--sd-color-white)))) 80%,rgba(var(--sd-color-background-white, rgba(var(--sd-color-white)))) 100%;position:relative;display:flex;overflow:hidden}.hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}.hide-scrollbars::-webkit-scrollbar{display:none}.scroll-container::-webkit-scrollbar-thumb{background-color:transparent}.scroll-container:hover::-webkit-scrollbar-thumb{background:var(--background-neutral-400,#c3c3c3);border-radius:var(--sd-radius-sm)}.scroll-container::-webkit-scrollbar{height:var(--sd-spacing-1);width:var(--sd-spacing-1)}.scroll-auto{overflow:auto}[part=button-left]{background:linear-gradient(270deg,var(--gradient))}[part=button-right]{background:linear-gradient(90deg,var(--gradient))}[part=button-top]{background:linear-gradient(0deg,var(--gradient))}[part=button-bottom]{background:linear-gradient(180deg,var(--gradient))}[part=shadow-left]{background:linear-gradient(270deg,transparent 50%,rgba(24,24,24,.4) 100%)}[part=shadow-right]{background:linear-gradient(90deg,transparent 50%,rgba(24,24,24,.4) 100%)}[part=shadow-top]{background:linear-gradient(0deg,transparent 50%,rgba(24,24,24,.4) 100%)}[part=shadow-bottom]{background:linear-gradient(180deg,transparent 50%,rgba(24,24,24,.4) 100%)}.sd-6-21-2-icon--top{align-self:flex-start}.sd-6-21-2-icon--down{align-self:flex-end}`],o([u('[part="button-right"] button')],n.prototype,"rightButton",2),o([u('[part="button-left"] button')],n.prototype,"leftButton",2),o([u('[part="button-bottom"] button')],n.prototype,"downButton",2),o([u('[part="button-top"] button')],n.prototype,"upButton",2),o([u(".scroll-container")],n.prototype,"container",2),o([u("#announcement-container")],n.prototype,"announcementContainer",2),o([h({type:String,reflect:!0})],n.prototype,"orientation",2),o([h({type:Boolean,reflect:!0})],n.prototype,"scrollbars",2),o([h({type:Boolean,reflect:!0})],n.prototype,"buttons",2),o([h({type:Boolean,reflect:!0})],n.prototype,"shadows",2),o([h({type:Boolean,reflect:!0})],n.prototype,"inset",2),o([h({type:Number,reflect:!0})],n.prototype,"step",2),o([f()],n.prototype,"canScroll",2),o([f()],n.prototype,"isScrollHorizontalEnabled",2),o([f()],n.prototype,"isScrollVerticalEnabled",2),n=o([T("sd-6-21-2-scrollable")],n);export{n as a};
@@ -1,2 +1,2 @@
1
- import{a as p,b,c as _}from"./chunk.IVHEBGOY.js";import{a as A}from"./chunk.W4EADN3G.js";import{b as D}from"./chunk.RAP66B6O.js";import{a as d}from"./chunk.SLXPE3UU.js";import{a as M}from"./chunk.CGQ2BPPZ.js";import{a as w}from"./chunk.IQPMMUES.js";import{a as c}from"./chunk.QIKBKQXB.js";import{a as C,b as h,d as f,e as I,h as T}from"./chunk.E2V26BUA.js";import{b as E,e as v}from"./chunk.UOAG5PNU.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-6-18-1-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-6-18-1-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-6-18-1-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-6-18-1-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.2.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-6-18-1-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.VAM5SM3O.js";import{a as c}from"./chunk.UFTAQNZB.js";import{a as C,b as h,d as f,e as I,h as T}from"./chunk.4VDBIPS3.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-6-21-2-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-6-21-2-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-6-21-2-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-6-21-2-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.0 | 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-6-21-2-range")],l);export{l as a};
@@ -1,2 +1,2 @@
1
- import{a as p}from"./chunk.CGQ2BPPZ.js";import{a}from"./chunk.QIKBKQXB.js";import{a as r}from"./chunk.NYKJXI3Q.js";import{a as d,b as o,h as n}from"./chunk.E2V26BUA.js";import{b as m,e as s}from"./chunk.UOAG5PNU.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends n{constructor(){super(...arguments);this.hasSlotController=new p(this,"label","help-text");this.size="lg";this.orientation="vertical";this.label="";this.helpText=""}getAllCheckboxes(){return[...this.querySelectorAll("sd-6-18-1-checkbox")]}async syncCheckboxElements(){let i=this.getAllCheckboxes();await Promise.all(i.map(async l=>{await l.updateComplete,l.size=this.size}))}syncCheckboxes(){customElements.get("sd-6-18-1-checkbox")?this.syncCheckboxElements():customElements.whenDefined("sd-6-18-1-checkbox").then(()=>this.syncCheckboxes())}handleSizeChange(){this.syncCheckboxes()}handleInvalid(){this.syncCheckboxes()}render(){let i=this.hasSlotController.test("label"),l=this.label?!0:i,b=this.hasSlotController.test("help-text"),c=this.helpText?!0:b,x=s`<slot @slotchange="${this.syncCheckboxes}"></slot>`,h=this.hasSlotController.test("tooltip");return s`<fieldset part="form-control" class="${a("border-0 p-0 m-0",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}" role="group" aria-labelledby="label">${l||h?s`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${a("p-0 font-bold leading-normal text-black",l?"flex":"hidden")}" aria-hidden="${l?"false":"true"}"><slot name="label">${this.label}</slot></label> ${h?s`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${a({vertical:"flex flex-col",horizontal:"flex flex-row"}[this.orientation])}">${x}</div></fieldset><slot name="help-text" part="form-control-help-text" id="help-text" class="${a("text-sm text-neutral-700 mt-2",c?"block":"hidden")}" aria-hidden="${!c}">${this.helpText}</slot>`}};t.styles=[...n.styles,m`/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{display:block}:host([orientation=vertical]) ::slotted(sd-6-18-1-checkbox){margin-bottom:var(--sd-spacing-2);display:flex}:host([orientation=vertical]) ::slotted(sd-6-18-1-checkbox:last-of-type){margin-bottom:calc(var(--sd-spacing-1) * 0)}:host([orientation=horizontal]) ::slotted(sd-6-18-1-checkbox){margin-right:var(--sd-spacing-6)}:host([orientation=horizontal]) ::slotted(sd-6-18-1-checkbox:last-of-type){margin-right:calc(var(--sd-spacing-1) * 0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-6-18-1-checkbox){margin-right:var(--sd-spacing-4)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-6-18-1-checkbox:last-of-type){margin-right:calc(var(--sd-spacing-1) * 0)}`],e([o({type:String,reflect:!0})],t.prototype,"size",2),e([o({type:String,reflect:!0})],t.prototype,"orientation",2),e([o({type:String,reflect:!0})],t.prototype,"label",2),e([o({type:String,attribute:"help-text",reflect:!0})],t.prototype,"helpText",2),e([r("size",{waitUntilFirstUpdate:!0})],t.prototype,"handleSizeChange",1),e([r("invalid",{waitUntilFirstUpdate:!0})],t.prototype,"handleInvalid",1),t=e([d("sd-6-18-1-checkbox-group")],t);export{t as a};
1
+ import{a as p}from"./chunk.CGQ2BPPZ.js";import{a}from"./chunk.UFTAQNZB.js";import{a as r}from"./chunk.NYKJXI3Q.js";import{a as d,b as o,h as n}from"./chunk.4VDBIPS3.js";import{b as m,e as s}from"./chunk.OBAEIKIV.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends n{constructor(){super(...arguments);this.hasSlotController=new p(this,"label","help-text");this.size="lg";this.orientation="vertical";this.label="";this.helpText=""}getAllCheckboxes(){return[...this.querySelectorAll("sd-6-21-2-checkbox")]}async syncCheckboxElements(){let i=this.getAllCheckboxes();await Promise.all(i.map(async l=>{await l.updateComplete,l.size=this.size}))}syncCheckboxes(){customElements.get("sd-6-21-2-checkbox")?this.syncCheckboxElements():customElements.whenDefined("sd-6-21-2-checkbox").then(()=>this.syncCheckboxes())}handleSizeChange(){this.syncCheckboxes()}handleInvalid(){this.syncCheckboxes()}render(){let i=this.hasSlotController.test("label"),l=this.label?!0:i,b=this.hasSlotController.test("help-text"),c=this.helpText?!0:b,x=s`<slot @slotchange="${this.syncCheckboxes}"></slot>`,h=this.hasSlotController.test("tooltip");return s`<fieldset part="form-control" class="${a("border-0 p-0 m-0",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}" role="group" aria-labelledby="label">${l||h?s`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${a("p-0 font-bold leading-normal text-black",l?"flex":"hidden")}" aria-hidden="${l?"false":"true"}"><slot name="label">${this.label}</slot></label> ${h?s`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${a({vertical:"flex flex-col",horizontal:"flex flex-row"}[this.orientation])}">${x}</div></fieldset><slot name="help-text" part="form-control-help-text" id="help-text" class="${a("text-sm text-neutral-700 mt-2",c?"block":"hidden")}" aria-hidden="${!c}">${this.helpText}</slot>`}};t.styles=[...n.styles,m`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{display:block}:host([orientation=vertical]) ::slotted(sd-6-21-2-checkbox){margin-bottom:var(--sd-spacing-2);display:flex}:host([orientation=vertical]) ::slotted(sd-6-21-2-checkbox:last-of-type){margin-bottom:calc(var(--sd-spacing-1) * 0)}:host([orientation=horizontal]) ::slotted(sd-6-21-2-checkbox){margin-right:var(--sd-spacing-6)}:host([orientation=horizontal]) ::slotted(sd-6-21-2-checkbox:last-of-type){margin-right:calc(var(--sd-spacing-1) * 0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-6-21-2-checkbox){margin-right:var(--sd-spacing-4)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-6-21-2-checkbox:last-of-type){margin-right:calc(var(--sd-spacing-1) * 0)}`],e([o({type:String,reflect:!0})],t.prototype,"size",2),e([o({type:String,reflect:!0})],t.prototype,"orientation",2),e([o({type:String,reflect:!0})],t.prototype,"label",2),e([o({type:String,attribute:"help-text",reflect:!0})],t.prototype,"helpText",2),e([r("size",{waitUntilFirstUpdate:!0})],t.prototype,"handleSizeChange",1),e([r("invalid",{waitUntilFirstUpdate:!0})],t.prototype,"handleInvalid",1),t=e([d("sd-6-21-2-checkbox-group")],t);export{t as a};