@solid-design-system/components 4.0.0-next.0 → 4.0.0-next.10

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 (588) hide show
  1. package/cdn/chunks/{chunk.4W3WLVGR.js → chunk.2O6P42TG.js} +1 -1
  2. package/cdn/chunks/{chunk.QNZWJACC.js → chunk.3QCHB7C4.js} +1 -1
  3. package/cdn/chunks/{chunk.NUB5WHGD.js → chunk.4R3BUYI6.js} +1 -1
  4. package/cdn/chunks/chunk.4ZLT6KBW.js +1 -0
  5. package/cdn/chunks/{chunk.YF5WEC4R.js → chunk.63QMXQSQ.js} +1 -1
  6. package/cdn/chunks/{chunk.TA7CZCP3.js → chunk.6AEKVM4D.js} +1 -1
  7. package/cdn/chunks/chunk.6ODGFNBK.js +1 -0
  8. package/cdn/chunks/{chunk.ZFA2VPUT.js → chunk.7VCG3G4V.js} +1 -1
  9. package/cdn/chunks/{chunk.GOVNZSCO.js → chunk.AKCSI5N6.js} +1 -1
  10. package/cdn/chunks/chunk.AOCTDOCG.js +1 -0
  11. package/cdn/chunks/{chunk.WP6KSGSU.js → chunk.BIGM6NEW.js} +1 -1
  12. package/cdn/chunks/{chunk.GQSLHWQC.js → chunk.BNXXO5KU.js} +1 -1
  13. package/cdn/chunks/{chunk.EWWGLHC5.js → chunk.BQQVLPY4.js} +1 -1
  14. package/cdn/chunks/{chunk.LZEFLOSA.js → chunk.CRQ75A7K.js} +1 -1
  15. package/cdn/chunks/{chunk.QFNCQQ6S.js → chunk.CSF7IJSV.js} +1 -1
  16. package/cdn/chunks/{chunk.BTRVMAGL.js → chunk.CV34FMRZ.js} +1 -1
  17. package/cdn/chunks/{chunk.KMLMMBY4.js → chunk.CY3FENGS.js} +1 -1
  18. package/cdn/chunks/{chunk.5ZDWEJDB.js → chunk.D6WAP655.js} +1 -1
  19. package/cdn/chunks/chunk.E4STSELW.js +1 -0
  20. package/cdn/chunks/chunk.FK3QAIHB.js +11 -0
  21. package/cdn/chunks/{chunk.FFNTXFC3.js → chunk.G45M3PVK.js} +1 -1
  22. package/cdn/chunks/{chunk.24SF73MY.js → chunk.GCWTBB43.js} +1 -1
  23. package/cdn/chunks/chunk.H7UHODBE.js +1 -0
  24. package/cdn/chunks/{chunk.6JBTCFHE.js → chunk.HIWT2ZT2.js} +1 -1
  25. package/cdn/chunks/{chunk.IZKUI5WK.js → chunk.HRXA5JN2.js} +1 -1
  26. package/cdn/chunks/{chunk.E7HNNYP6.js → chunk.IH7PPWKS.js} +1 -1
  27. package/cdn/chunks/{chunk.WMRFVNYU.js → chunk.INTAVJVZ.js} +1 -1
  28. package/cdn/chunks/{chunk.GUOHZTA7.js → chunk.JCLTUYPT.js} +1 -1
  29. package/cdn/chunks/chunk.JCTIIJ44.js +1 -0
  30. package/cdn/chunks/{chunk.LLXTYJXF.js → chunk.JOBV6UKJ.js} +1 -1
  31. package/cdn/chunks/{chunk.FD54463O.js → chunk.JVLAULKU.js} +1 -1
  32. package/cdn/chunks/{chunk.WENTMXB2.js → chunk.KPAW7QL2.js} +1 -1
  33. package/cdn/chunks/chunk.KXVP2SWS.js +1 -0
  34. package/cdn/chunks/chunk.MHHHE75F.js +40 -0
  35. package/cdn/chunks/{chunk.UBFU6D5B.js → chunk.N3BUJHMA.js} +1 -1
  36. package/cdn/chunks/chunk.OUQ5JFZE.js +11 -0
  37. package/cdn/chunks/{chunk.7RJ3O2FV.js → chunk.P4LMRQ2W.js} +1 -1
  38. package/cdn/chunks/{chunk.APMDRZQD.js → chunk.P7EPSHEQ.js} +1 -1
  39. package/cdn/chunks/{chunk.DVHKKAVM.js → chunk.QDZ6IRX3.js} +1 -1
  40. package/cdn/chunks/{chunk.VNKUGTKM.js → chunk.S3ZRXV3P.js} +1 -1
  41. package/cdn/chunks/{chunk.R354E6ZD.js → chunk.SLELMW5W.js} +1 -1
  42. package/cdn/chunks/{chunk.FX3ED655.js → chunk.SWKERNOK.js} +1 -1
  43. package/cdn/chunks/{chunk.36Z2VDHI.js → chunk.TZMBVR24.js} +1 -1
  44. package/cdn/chunks/chunk.V7RWAM4R.js +1 -0
  45. package/cdn/chunks/{chunk.ND7BT52X.js → chunk.VMFHBPHG.js} +1 -1
  46. package/cdn/chunks/{chunk.OVV7TNT2.js → chunk.W2M3ITZ6.js} +1 -1
  47. package/cdn/chunks/{chunk.MPP7HYX7.js → chunk.WOJCTG6E.js} +1 -1
  48. package/cdn/chunks/{chunk.URB2K7JQ.js → chunk.XSWKLIM6.js} +1 -1
  49. package/cdn/chunks/{chunk.WQAPHFVM.js → chunk.YLM4CPSP.js} +1 -1
  50. package/cdn/chunks/chunk.ZH5YOK2R.js +1 -0
  51. package/cdn/components/accordion/accordion.d.ts +5 -3
  52. package/cdn/components/accordion/accordion.js +1 -1
  53. package/cdn/components/accordion-group/accordion-group.js +1 -1
  54. package/cdn/components/animation/animation.js +1 -1
  55. package/cdn/components/audio/audio.js +1 -1
  56. package/cdn/components/badge/badge.d.ts +1 -1
  57. package/cdn/components/badge/badge.js +1 -1
  58. package/cdn/components/brandshape/brandshape.js +1 -1
  59. package/cdn/components/button/button.js +1 -1
  60. package/cdn/components/button-group/button-group.js +1 -1
  61. package/cdn/components/carousel/carousel.js +1 -1
  62. package/cdn/components/carousel-item/carousel-item.js +1 -1
  63. package/cdn/components/checkbox/checkbox.js +1 -1
  64. package/cdn/components/checkbox-group/checkbox-group.js +1 -1
  65. package/cdn/components/combobox/combobox.d.ts +1 -0
  66. package/cdn/components/combobox/combobox.js +1 -1
  67. package/cdn/components/dialog/dialog.js +1 -1
  68. package/cdn/components/divider/divider.js +1 -1
  69. package/cdn/components/drawer/drawer.js +1 -1
  70. package/cdn/components/dropdown/dropdown.js +1 -1
  71. package/cdn/components/expandable/expandable.js +1 -1
  72. package/cdn/components/flipcard/flipcard.d.ts +1 -0
  73. package/cdn/components/flipcard/flipcard.js +1 -1
  74. package/cdn/components/header/header.js +1 -1
  75. package/cdn/components/icon/icon.js +1 -1
  76. package/cdn/components/include/include.js +1 -1
  77. package/cdn/components/input/input.js +1 -1
  78. package/cdn/components/link/link.js +1 -1
  79. package/cdn/components/map-marker/map-marker.js +1 -1
  80. package/cdn/components/navigation-item/navigation-item.js +1 -1
  81. package/cdn/components/notification/notification.js +1 -1
  82. package/cdn/components/optgroup/optgroup.js +1 -1
  83. package/cdn/components/option/option.js +1 -1
  84. package/cdn/components/popup/popup.js +1 -1
  85. package/cdn/components/quickfact/quickfact.d.ts +1 -1
  86. package/cdn/components/quickfact/quickfact.js +1 -1
  87. package/cdn/components/radio/radio.js +1 -1
  88. package/cdn/components/radio-button/radio-button.js +1 -1
  89. package/cdn/components/radio-group/radio-group.js +1 -1
  90. package/cdn/components/scrollable/scrollable.js +1 -1
  91. package/cdn/components/select/select.d.ts +1 -0
  92. package/cdn/components/select/select.js +1 -1
  93. package/cdn/components/spinner/spinner.js +1 -1
  94. package/cdn/components/step/step.js +1 -1
  95. package/cdn/components/step-group/step-group.js +1 -1
  96. package/cdn/components/switch/switch.js +1 -1
  97. package/cdn/components/tab/tab.d.ts +1 -0
  98. package/cdn/components/tab/tab.js +1 -1
  99. package/cdn/components/tab-group/tab-group.js +1 -1
  100. package/cdn/components/tab-panel/tab-panel.js +1 -1
  101. package/cdn/components/tag/tag.js +1 -1
  102. package/cdn/components/teaser/teaser.js +1 -1
  103. package/cdn/components/teaser-media/teaser-media.js +1 -1
  104. package/cdn/components/textarea/textarea.js +1 -1
  105. package/cdn/components/tooltip/tooltip.js +1 -1
  106. package/cdn/components/video/video.d.ts +0 -1
  107. package/cdn/components/video/video.js +1 -1
  108. package/cdn/custom-elements.json +77 -31
  109. package/cdn/solid-components.bundle.js +54 -15
  110. package/cdn/solid-components.iife.js +54 -15
  111. package/cdn/solid-components.js +1 -1
  112. package/cdn/utilities/autocomplete-config.js +1 -1
  113. package/cdn/vscode.html-custom-data.json +14 -13
  114. package/cdn/web-types.json +33 -20
  115. package/cdn-versioned/_components/menu/menu.js +1 -1
  116. package/cdn-versioned/_components/menu/menu.styles.js +1 -1
  117. package/cdn-versioned/_components/menu-item/menu-item.js +2 -2
  118. package/cdn-versioned/chunks/{chunk.4W3WLVGR.js → chunk.2O6P42TG.js} +1 -1
  119. package/cdn-versioned/chunks/chunk.3QCHB7C4.js +19 -0
  120. package/cdn-versioned/chunks/{chunk.NUB5WHGD.js → chunk.4R3BUYI6.js} +1 -1
  121. package/cdn-versioned/chunks/chunk.4ZLT6KBW.js +1 -0
  122. package/cdn-versioned/chunks/{chunk.YF5WEC4R.js → chunk.63QMXQSQ.js} +2 -2
  123. package/cdn-versioned/chunks/chunk.65NSSTJE.js +1 -1
  124. package/cdn-versioned/chunks/{chunk.TA7CZCP3.js → chunk.6AEKVM4D.js} +1 -1
  125. package/cdn-versioned/chunks/chunk.6ODGFNBK.js +1 -0
  126. package/cdn-versioned/chunks/chunk.7VCG3G4V.js +1 -0
  127. package/cdn-versioned/chunks/{chunk.GOVNZSCO.js → chunk.AKCSI5N6.js} +1 -1
  128. package/cdn-versioned/chunks/chunk.AOCTDOCG.js +1 -0
  129. package/cdn-versioned/chunks/chunk.BIGM6NEW.js +1 -0
  130. package/cdn-versioned/chunks/chunk.BNXXO5KU.js +1 -0
  131. package/cdn-versioned/chunks/chunk.BQQVLPY4.js +1 -0
  132. package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
  133. package/cdn-versioned/chunks/{chunk.LZEFLOSA.js → chunk.CRQ75A7K.js} +1 -1
  134. package/cdn-versioned/chunks/chunk.CSF7IJSV.js +1 -0
  135. package/cdn-versioned/chunks/{chunk.BTRVMAGL.js → chunk.CV34FMRZ.js} +1 -1
  136. package/cdn-versioned/chunks/{chunk.KMLMMBY4.js → chunk.CY3FENGS.js} +1 -1
  137. package/cdn-versioned/chunks/chunk.D6WAP655.js +1 -0
  138. package/cdn-versioned/chunks/chunk.E4STSELW.js +1 -0
  139. package/cdn-versioned/chunks/chunk.FK3QAIHB.js +11 -0
  140. package/cdn-versioned/chunks/chunk.G45M3PVK.js +1 -0
  141. package/cdn-versioned/chunks/{chunk.24SF73MY.js → chunk.GCWTBB43.js} +1 -1
  142. package/cdn-versioned/chunks/chunk.H7UHODBE.js +1 -0
  143. package/cdn-versioned/chunks/{chunk.6JBTCFHE.js → chunk.HIWT2ZT2.js} +2 -2
  144. package/cdn-versioned/chunks/chunk.HRXA5JN2.js +1 -0
  145. package/cdn-versioned/chunks/{chunk.E7HNNYP6.js → chunk.IH7PPWKS.js} +1 -1
  146. package/cdn-versioned/chunks/{chunk.WMRFVNYU.js → chunk.INTAVJVZ.js} +2 -2
  147. package/cdn-versioned/chunks/chunk.JCLTUYPT.js +1 -0
  148. package/cdn-versioned/chunks/chunk.JCTIIJ44.js +1 -0
  149. package/cdn-versioned/chunks/{chunk.LLXTYJXF.js → chunk.JOBV6UKJ.js} +1 -1
  150. package/cdn-versioned/chunks/{chunk.FD54463O.js → chunk.JVLAULKU.js} +1 -1
  151. package/cdn-versioned/chunks/{chunk.WENTMXB2.js → chunk.KPAW7QL2.js} +1 -1
  152. package/cdn-versioned/chunks/chunk.KXVP2SWS.js +1 -0
  153. package/cdn-versioned/chunks/chunk.MHHHE75F.js +40 -0
  154. package/cdn-versioned/chunks/chunk.N3BUJHMA.js +1 -0
  155. package/cdn-versioned/chunks/chunk.OUQ5JFZE.js +11 -0
  156. package/cdn-versioned/chunks/{chunk.7RJ3O2FV.js → chunk.P4LMRQ2W.js} +1 -1
  157. package/cdn-versioned/chunks/chunk.P7EPSHEQ.js +73 -0
  158. package/cdn-versioned/chunks/{chunk.DVHKKAVM.js → chunk.QDZ6IRX3.js} +1 -1
  159. package/cdn-versioned/chunks/{chunk.VNKUGTKM.js → chunk.S3ZRXV3P.js} +1 -1
  160. package/cdn-versioned/chunks/{chunk.R354E6ZD.js → chunk.SLELMW5W.js} +2 -2
  161. package/cdn-versioned/chunks/{chunk.FX3ED655.js → chunk.SWKERNOK.js} +1 -1
  162. package/cdn-versioned/chunks/{chunk.36Z2VDHI.js → chunk.TZMBVR24.js} +1 -1
  163. package/cdn-versioned/chunks/chunk.V7RWAM4R.js +1 -0
  164. package/cdn-versioned/chunks/{chunk.ND7BT52X.js → chunk.VMFHBPHG.js} +1 -1
  165. package/cdn-versioned/chunks/chunk.W2M3ITZ6.js +1 -0
  166. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  167. package/cdn-versioned/chunks/chunk.WOJCTG6E.js +1 -0
  168. package/cdn-versioned/chunks/chunk.XSWKLIM6.js +1 -0
  169. package/cdn-versioned/chunks/{chunk.WQAPHFVM.js → chunk.YLM4CPSP.js} +1 -1
  170. package/cdn-versioned/chunks/chunk.ZH5YOK2R.js +1 -0
  171. package/cdn-versioned/components/accordion/accordion.d.ts +6 -4
  172. package/cdn-versioned/components/accordion/accordion.js +1 -1
  173. package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  174. package/cdn-versioned/components/accordion-group/accordion-group.js +1 -1
  175. package/cdn-versioned/components/animation/animation.d.ts +1 -1
  176. package/cdn-versioned/components/animation/animation.js +1 -1
  177. package/cdn-versioned/components/audio/audio.d.ts +1 -1
  178. package/cdn-versioned/components/audio/audio.js +1 -1
  179. package/cdn-versioned/components/badge/badge.d.ts +2 -2
  180. package/cdn-versioned/components/badge/badge.js +1 -1
  181. package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
  182. package/cdn-versioned/components/brandshape/brandshape.js +1 -1
  183. package/cdn-versioned/components/button/button.d.ts +1 -1
  184. package/cdn-versioned/components/button/button.js +1 -1
  185. package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
  186. package/cdn-versioned/components/button-group/button-group.js +1 -1
  187. package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
  188. package/cdn-versioned/components/carousel/carousel.js +1 -1
  189. package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  190. package/cdn-versioned/components/carousel-item/carousel-item.js +1 -1
  191. package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
  192. package/cdn-versioned/components/checkbox/checkbox.js +1 -1
  193. package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  194. package/cdn-versioned/components/checkbox-group/checkbox-group.js +1 -1
  195. package/cdn-versioned/components/combobox/combobox.d.ts +5 -4
  196. package/cdn-versioned/components/combobox/combobox.js +1 -1
  197. package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
  198. package/cdn-versioned/components/dialog/dialog.js +1 -1
  199. package/cdn-versioned/components/divider/divider.d.ts +1 -1
  200. package/cdn-versioned/components/divider/divider.js +1 -1
  201. package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
  202. package/cdn-versioned/components/drawer/drawer.js +1 -1
  203. package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
  204. package/cdn-versioned/components/dropdown/dropdown.js +1 -1
  205. package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
  206. package/cdn-versioned/components/expandable/expandable.js +1 -1
  207. package/cdn-versioned/components/flipcard/flipcard.d.ts +2 -1
  208. package/cdn-versioned/components/flipcard/flipcard.js +1 -1
  209. package/cdn-versioned/components/header/header.d.ts +1 -1
  210. package/cdn-versioned/components/header/header.js +1 -1
  211. package/cdn-versioned/components/icon/icon.d.ts +1 -1
  212. package/cdn-versioned/components/icon/icon.js +1 -1
  213. package/cdn-versioned/components/include/include.d.ts +1 -1
  214. package/cdn-versioned/components/include/include.js +1 -1
  215. package/cdn-versioned/components/input/input.d.ts +1 -1
  216. package/cdn-versioned/components/input/input.js +1 -1
  217. package/cdn-versioned/components/link/link.d.ts +1 -1
  218. package/cdn-versioned/components/link/link.js +1 -1
  219. package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
  220. package/cdn-versioned/components/map-marker/map-marker.js +1 -1
  221. package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  222. package/cdn-versioned/components/navigation-item/navigation-item.js +1 -1
  223. package/cdn-versioned/components/notification/notification.d.ts +1 -1
  224. package/cdn-versioned/components/notification/notification.js +1 -1
  225. package/cdn-versioned/components/optgroup/optgroup.d.ts +2 -2
  226. package/cdn-versioned/components/optgroup/optgroup.js +1 -1
  227. package/cdn-versioned/components/option/option.d.ts +1 -1
  228. package/cdn-versioned/components/option/option.js +1 -1
  229. package/cdn-versioned/components/popup/popup.d.ts +1 -1
  230. package/cdn-versioned/components/popup/popup.js +1 -1
  231. package/cdn-versioned/components/quickfact/quickfact.d.ts +2 -2
  232. package/cdn-versioned/components/quickfact/quickfact.js +1 -1
  233. package/cdn-versioned/components/radio/radio.d.ts +1 -1
  234. package/cdn-versioned/components/radio/radio.js +1 -1
  235. package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
  236. package/cdn-versioned/components/radio-button/radio-button.js +1 -1
  237. package/cdn-versioned/components/radio-group/radio-group.d.ts +2 -2
  238. package/cdn-versioned/components/radio-group/radio-group.js +1 -1
  239. package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
  240. package/cdn-versioned/components/scrollable/scrollable.js +1 -1
  241. package/cdn-versioned/components/select/select.d.ts +5 -4
  242. package/cdn-versioned/components/select/select.js +1 -1
  243. package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
  244. package/cdn-versioned/components/spinner/spinner.js +1 -1
  245. package/cdn-versioned/components/step/step.d.ts +1 -1
  246. package/cdn-versioned/components/step/step.js +1 -1
  247. package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
  248. package/cdn-versioned/components/step-group/step-group.js +1 -1
  249. package/cdn-versioned/components/switch/switch.d.ts +1 -1
  250. package/cdn-versioned/components/switch/switch.js +1 -1
  251. package/cdn-versioned/components/tab/tab.d.ts +2 -1
  252. package/cdn-versioned/components/tab/tab.js +1 -1
  253. package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
  254. package/cdn-versioned/components/tab-group/tab-group.js +1 -1
  255. package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  256. package/cdn-versioned/components/tab-panel/tab-panel.js +1 -1
  257. package/cdn-versioned/components/tag/tag.d.ts +1 -1
  258. package/cdn-versioned/components/tag/tag.js +1 -1
  259. package/cdn-versioned/components/teaser/teaser.js +1 -1
  260. package/cdn-versioned/components/teaser-media/teaser-media.js +1 -1
  261. package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
  262. package/cdn-versioned/components/textarea/textarea.js +1 -1
  263. package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
  264. package/cdn-versioned/components/tooltip/tooltip.js +1 -1
  265. package/cdn-versioned/components/video/video.d.ts +1 -2
  266. package/cdn-versioned/components/video/video.js +1 -1
  267. package/cdn-versioned/custom-elements.json +278 -232
  268. package/cdn-versioned/internal/form.js +3 -3
  269. package/cdn-versioned/solid-components.bundle.js +54 -15
  270. package/cdn-versioned/solid-components.css +2 -2
  271. package/cdn-versioned/solid-components.iife.js +54 -15
  272. package/cdn-versioned/solid-components.js +1 -1
  273. package/cdn-versioned/utilities/autocomplete-config.js +1 -1
  274. package/cdn-versioned/vscode.html-custom-data.json +93 -92
  275. package/cdn-versioned/web-types.json +168 -155
  276. package/dist/chunks/{chunk.D6JZ4IKM.js → chunk.23UMRH3O.js} +1 -1
  277. package/dist/chunks/{chunk.RNSJAVQE.js → chunk.3SACKHZW.js} +1 -1
  278. package/dist/chunks/{chunk.WWS3CQ2Z.js → chunk.4NEMGQ57.js} +17 -6
  279. package/dist/chunks/{chunk.NM6QP6RJ.js → chunk.4WC43I2G.js} +1 -1
  280. package/dist/chunks/{chunk.HPR3PWAE.js → chunk.4WWL72HB.js} +1 -1
  281. package/dist/chunks/{chunk.UC5E3AEF.js → chunk.4XJBD3PS.js} +1 -1
  282. package/dist/chunks/{chunk.V7TQ6VJU.js → chunk.4XYZAEKQ.js} +1 -1
  283. package/dist/chunks/{chunk.IN3GJ5QL.js → chunk.6TKVFZLG.js} +1 -1
  284. package/dist/chunks/{chunk.BXB5WF23.js → chunk.6XP4L2GR.js} +1 -1
  285. package/dist/chunks/{chunk.PIR4YJUS.js → chunk.7245PZD4.js} +1 -1
  286. package/dist/chunks/{chunk.727ERQ4F.js → chunk.ALGO2EYV.js} +1 -1
  287. package/dist/chunks/{chunk.R4BETATX.js → chunk.AYZRRY6G.js} +1 -1
  288. package/dist/chunks/{chunk.65BWRJEA.js → chunk.AZWDFCND.js} +1 -1
  289. package/dist/chunks/{chunk.ZGPGFEVP.js → chunk.BUN3ON73.js} +1 -1
  290. package/dist/chunks/{chunk.QCICV36Z.js → chunk.C7ITLHV2.js} +2 -2
  291. package/dist/chunks/{chunk.UDZYWRPT.js → chunk.DNCLRX5Q.js} +1 -1
  292. package/dist/chunks/{chunk.VHGHICFG.js → chunk.DVSGWCY2.js} +1 -1
  293. package/dist/chunks/{chunk.JIKTGTDS.js → chunk.FJRTIKOG.js} +2 -2
  294. package/dist/chunks/{chunk.4WYIZLVF.js → chunk.FPZWHLNC.js} +2 -2
  295. package/dist/chunks/{chunk.7BEDTYS7.js → chunk.FYPZKHQ2.js} +9 -2
  296. package/dist/chunks/{chunk.3LGDUVS4.js → chunk.II5QKXKB.js} +1 -1
  297. package/dist/chunks/{chunk.EFEBQQHC.js → chunk.ISNWRY34.js} +33 -22
  298. package/dist/chunks/{chunk.DAM3ICHP.js → chunk.JCLUIZEF.js} +32 -6
  299. package/dist/chunks/{chunk.SSH6ATRK.js → chunk.JYRKP32Z.js} +1 -1
  300. package/dist/chunks/{chunk.6CUAQSFA.js → chunk.K6B7NG4F.js} +1 -1
  301. package/dist/chunks/{chunk.2IBVAXOX.js → chunk.L6MU3DLL.js} +1 -1
  302. package/dist/chunks/{chunk.BVC5FY4L.js → chunk.LEOC6FW6.js} +3 -3
  303. package/dist/chunks/{chunk.J2XBUIBC.js → chunk.MEGJ7CBG.js} +1 -1
  304. package/dist/chunks/{chunk.PGZ5AWZ2.js → chunk.MF3CL2AP.js} +1 -1
  305. package/dist/chunks/{chunk.3IT4HBTI.js → chunk.NTKMCOLR.js} +1 -1
  306. package/dist/chunks/{chunk.XVFJS7VS.js → chunk.O3MWFP7G.js} +1 -1
  307. package/dist/chunks/{chunk.J7MMF6WJ.js → chunk.O4QXE2LJ.js} +1 -1
  308. package/dist/chunks/{chunk.KJFKVSZA.js → chunk.O5W5RLTG.js} +4 -4
  309. package/dist/chunks/{chunk.7OHSCBBX.js → chunk.OZBWEFM7.js} +1 -1
  310. package/dist/chunks/{chunk.PDRECIYA.js → chunk.QQ4M35EE.js} +1 -1
  311. package/dist/chunks/{chunk.QP3SM2LZ.js → chunk.RKAIYDTU.js} +1 -1
  312. package/dist/chunks/{chunk.U6RY25TF.js → chunk.SFM7ZSKY.js} +1 -1
  313. package/dist/chunks/{chunk.Z2UY62T2.js → chunk.SI6BILWU.js} +1 -1
  314. package/dist/chunks/{chunk.DQPVSTUQ.js → chunk.STNLNYKE.js} +1 -1
  315. package/dist/chunks/{chunk.SPBPHTSS.js → chunk.T7U45C76.js} +2 -9
  316. package/dist/chunks/{chunk.ZWJI7SLE.js → chunk.TLVJDDZL.js} +1 -1
  317. package/dist/chunks/{chunk.RZRTIYXA.js → chunk.TYDRZQYV.js} +5 -5
  318. package/dist/chunks/{chunk.H655M7FD.js → chunk.UO7UGXMA.js} +1 -1
  319. package/dist/chunks/{chunk.6JI7NL3E.js → chunk.W6Z5BPA5.js} +49 -7
  320. package/dist/chunks/{chunk.56SNEGI4.js → chunk.WBTUVFBA.js} +5 -2
  321. package/dist/chunks/{chunk.QAZYUCBK.js → chunk.X55CH4SC.js} +1 -1
  322. package/dist/chunks/{chunk.MTSAWJLV.js → chunk.XFF2H3JK.js} +1 -1
  323. package/dist/chunks/{chunk.U5NFPAOX.js → chunk.YGC3JJ2C.js} +1 -1
  324. package/dist/chunks/{chunk.I3PY3VYP.js → chunk.YQJ2FRJY.js} +19 -9
  325. package/dist/chunks/{chunk.4QKRGAOL.js → chunk.YYRZLQAY.js} +1 -1
  326. package/dist/components/accordion/accordion.d.ts +5 -3
  327. package/dist/components/accordion/accordion.js +3 -3
  328. package/dist/components/accordion-group/accordion-group.js +4 -4
  329. package/dist/components/animation/animation.js +2 -2
  330. package/dist/components/audio/audio.js +2 -2
  331. package/dist/components/badge/badge.d.ts +1 -1
  332. package/dist/components/badge/badge.js +2 -2
  333. package/dist/components/brandshape/brandshape.js +2 -2
  334. package/dist/components/button/button.js +3 -3
  335. package/dist/components/button-group/button-group.js +2 -2
  336. package/dist/components/carousel/carousel.js +4 -4
  337. package/dist/components/carousel-item/carousel-item.js +2 -2
  338. package/dist/components/checkbox/checkbox.js +3 -3
  339. package/dist/components/checkbox-group/checkbox-group.js +3 -3
  340. package/dist/components/combobox/combobox.d.ts +1 -0
  341. package/dist/components/combobox/combobox.js +5 -5
  342. package/dist/components/dialog/dialog.js +5 -5
  343. package/dist/components/divider/divider.js +2 -2
  344. package/dist/components/drawer/drawer.js +5 -5
  345. package/dist/components/dropdown/dropdown.js +3 -3
  346. package/dist/components/expandable/expandable.js +2 -2
  347. package/dist/components/flipcard/flipcard.d.ts +1 -0
  348. package/dist/components/flipcard/flipcard.js +5 -5
  349. package/dist/components/header/header.js +2 -2
  350. package/dist/components/icon/icon.js +2 -2
  351. package/dist/components/include/include.js +2 -2
  352. package/dist/components/input/input.js +3 -3
  353. package/dist/components/link/link.js +2 -2
  354. package/dist/components/map-marker/map-marker.js +2 -2
  355. package/dist/components/navigation-item/navigation-item.js +2 -2
  356. package/dist/components/notification/notification.js +2 -2
  357. package/dist/components/optgroup/optgroup.js +3 -3
  358. package/dist/components/option/option.js +3 -3
  359. package/dist/components/popup/popup.js +2 -2
  360. package/dist/components/quickfact/quickfact.d.ts +1 -1
  361. package/dist/components/quickfact/quickfact.js +4 -4
  362. package/dist/components/radio/radio.js +3 -3
  363. package/dist/components/radio-button/radio-button.js +2 -2
  364. package/dist/components/radio-group/radio-group.js +5 -5
  365. package/dist/components/scrollable/scrollable.js +2 -2
  366. package/dist/components/select/select.d.ts +1 -0
  367. package/dist/components/select/select.js +5 -5
  368. package/dist/components/spinner/spinner.js +2 -2
  369. package/dist/components/step/step.js +2 -2
  370. package/dist/components/step-group/step-group.js +2 -2
  371. package/dist/components/switch/switch.js +2 -2
  372. package/dist/components/tab/tab.d.ts +1 -0
  373. package/dist/components/tab/tab.js +3 -2
  374. package/dist/components/tab-group/tab-group.js +2 -2
  375. package/dist/components/tab-panel/tab-panel.js +2 -2
  376. package/dist/components/tag/tag.js +2 -2
  377. package/dist/components/teaser/teaser.js +2 -2
  378. package/dist/components/teaser-media/teaser-media.js +2 -2
  379. package/dist/components/textarea/textarea.js +2 -2
  380. package/dist/components/tooltip/tooltip.js +3 -3
  381. package/dist/components/video/video.d.ts +0 -1
  382. package/dist/components/video/video.js +2 -2
  383. package/dist/custom-elements.json +77 -31
  384. package/dist/solid-components.js +50 -50
  385. package/dist/utilities/autocomplete-config.js +2 -2
  386. package/dist/vscode.html-custom-data.json +14 -13
  387. package/dist/web-types.json +33 -20
  388. package/dist-versioned/_components/menu/menu.js +1 -1
  389. package/dist-versioned/_components/menu/menu.styles.js +1 -1
  390. package/dist-versioned/_components/menu-item/menu-item.js +2 -2
  391. package/dist-versioned/chunks/{chunk.D6JZ4IKM.js → chunk.23UMRH3O.js} +2 -2
  392. package/dist-versioned/chunks/{chunk.RNSJAVQE.js → chunk.3SACKHZW.js} +2 -2
  393. package/dist-versioned/chunks/{chunk.WWS3CQ2Z.js → chunk.4NEMGQ57.js} +21 -10
  394. package/dist-versioned/chunks/{chunk.NM6QP6RJ.js → chunk.4WC43I2G.js} +3 -3
  395. package/dist-versioned/chunks/{chunk.HPR3PWAE.js → chunk.4WWL72HB.js} +4 -4
  396. package/dist-versioned/chunks/{chunk.UC5E3AEF.js → chunk.4XJBD3PS.js} +2 -2
  397. package/dist-versioned/chunks/{chunk.V7TQ6VJU.js → chunk.4XYZAEKQ.js} +2 -2
  398. package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
  399. package/dist-versioned/chunks/{chunk.IN3GJ5QL.js → chunk.6TKVFZLG.js} +4 -4
  400. package/dist-versioned/chunks/{chunk.BXB5WF23.js → chunk.6XP4L2GR.js} +6 -6
  401. package/dist-versioned/chunks/{chunk.PIR4YJUS.js → chunk.7245PZD4.js} +3 -3
  402. package/dist-versioned/chunks/{chunk.727ERQ4F.js → chunk.ALGO2EYV.js} +3 -3
  403. package/dist-versioned/chunks/{chunk.R4BETATX.js → chunk.AYZRRY6G.js} +2 -2
  404. package/dist-versioned/chunks/{chunk.65BWRJEA.js → chunk.AZWDFCND.js} +6 -6
  405. package/dist-versioned/chunks/{chunk.ZGPGFEVP.js → chunk.BUN3ON73.js} +6 -6
  406. package/dist-versioned/chunks/{chunk.QCICV36Z.js → chunk.C7ITLHV2.js} +8 -8
  407. package/dist-versioned/chunks/chunk.DNCLRX5Q.js +65 -0
  408. package/dist-versioned/chunks/{chunk.VHGHICFG.js → chunk.DVSGWCY2.js} +3 -3
  409. package/dist-versioned/chunks/{chunk.JIKTGTDS.js → chunk.FJRTIKOG.js} +4 -4
  410. package/dist-versioned/chunks/{chunk.4WYIZLVF.js → chunk.FPZWHLNC.js} +7 -7
  411. package/dist-versioned/chunks/{chunk.7BEDTYS7.js → chunk.FYPZKHQ2.js} +11 -4
  412. package/dist-versioned/chunks/{chunk.3LGDUVS4.js → chunk.II5QKXKB.js} +3 -3
  413. package/dist-versioned/chunks/{chunk.EFEBQQHC.js → chunk.ISNWRY34.js} +57 -46
  414. package/dist-versioned/chunks/{chunk.DAM3ICHP.js → chunk.JCLUIZEF.js} +33 -7
  415. package/dist-versioned/chunks/{chunk.SSH6ATRK.js → chunk.JYRKP32Z.js} +3 -3
  416. package/dist-versioned/chunks/{chunk.6CUAQSFA.js → chunk.K6B7NG4F.js} +3 -3
  417. package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
  418. package/dist-versioned/chunks/{chunk.2IBVAXOX.js → chunk.L6MU3DLL.js} +2 -2
  419. package/dist-versioned/chunks/{chunk.BVC5FY4L.js → chunk.LEOC6FW6.js} +16 -16
  420. package/dist-versioned/chunks/{chunk.J2XBUIBC.js → chunk.MEGJ7CBG.js} +3 -3
  421. package/dist-versioned/chunks/{chunk.PGZ5AWZ2.js → chunk.MF3CL2AP.js} +10 -10
  422. package/dist-versioned/chunks/{chunk.3IT4HBTI.js → chunk.NTKMCOLR.js} +2 -2
  423. package/dist-versioned/chunks/{chunk.XVFJS7VS.js → chunk.O3MWFP7G.js} +6 -6
  424. package/dist-versioned/chunks/{chunk.J7MMF6WJ.js → chunk.O4QXE2LJ.js} +3 -3
  425. package/dist-versioned/chunks/{chunk.KJFKVSZA.js → chunk.O5W5RLTG.js} +5 -5
  426. package/dist-versioned/chunks/{chunk.7OHSCBBX.js → chunk.OZBWEFM7.js} +2 -2
  427. package/dist-versioned/chunks/{chunk.PDRECIYA.js → chunk.QQ4M35EE.js} +2 -2
  428. package/dist-versioned/chunks/{chunk.QP3SM2LZ.js → chunk.RKAIYDTU.js} +4 -4
  429. package/dist-versioned/chunks/{chunk.U6RY25TF.js → chunk.SFM7ZSKY.js} +3 -3
  430. package/dist-versioned/chunks/{chunk.Z2UY62T2.js → chunk.SI6BILWU.js} +2 -2
  431. package/dist-versioned/chunks/{chunk.DQPVSTUQ.js → chunk.STNLNYKE.js} +4 -4
  432. package/dist-versioned/chunks/{chunk.SPBPHTSS.js → chunk.T7U45C76.js} +3 -10
  433. package/dist-versioned/chunks/{chunk.ZWJI7SLE.js → chunk.TLVJDDZL.js} +12 -12
  434. package/dist-versioned/chunks/{chunk.RZRTIYXA.js → chunk.TYDRZQYV.js} +6 -6
  435. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  436. package/dist-versioned/chunks/{chunk.H655M7FD.js → chunk.UO7UGXMA.js} +2 -2
  437. package/dist-versioned/chunks/chunk.W6Z5BPA5.js +107 -0
  438. package/dist-versioned/chunks/{chunk.56SNEGI4.js → chunk.WBTUVFBA.js} +18 -15
  439. package/dist-versioned/chunks/{chunk.QAZYUCBK.js → chunk.X55CH4SC.js} +7 -7
  440. package/dist-versioned/chunks/{chunk.MTSAWJLV.js → chunk.XFF2H3JK.js} +3 -3
  441. package/dist-versioned/chunks/{chunk.U5NFPAOX.js → chunk.YGC3JJ2C.js} +3 -3
  442. package/dist-versioned/chunks/{chunk.I3PY3VYP.js → chunk.YQJ2FRJY.js} +45 -35
  443. package/dist-versioned/chunks/{chunk.4QKRGAOL.js → chunk.YYRZLQAY.js} +5 -5
  444. package/dist-versioned/components/accordion/accordion.d.ts +6 -4
  445. package/dist-versioned/components/accordion/accordion.js +3 -3
  446. package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  447. package/dist-versioned/components/accordion-group/accordion-group.js +4 -4
  448. package/dist-versioned/components/animation/animation.d.ts +1 -1
  449. package/dist-versioned/components/animation/animation.js +2 -2
  450. package/dist-versioned/components/audio/audio.d.ts +1 -1
  451. package/dist-versioned/components/audio/audio.js +2 -2
  452. package/dist-versioned/components/badge/badge.d.ts +2 -2
  453. package/dist-versioned/components/badge/badge.js +2 -2
  454. package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
  455. package/dist-versioned/components/brandshape/brandshape.js +2 -2
  456. package/dist-versioned/components/button/button.d.ts +1 -1
  457. package/dist-versioned/components/button/button.js +3 -3
  458. package/dist-versioned/components/button-group/button-group.d.ts +1 -1
  459. package/dist-versioned/components/button-group/button-group.js +2 -2
  460. package/dist-versioned/components/carousel/carousel.d.ts +1 -1
  461. package/dist-versioned/components/carousel/carousel.js +4 -4
  462. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  463. package/dist-versioned/components/carousel-item/carousel-item.js +2 -2
  464. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  465. package/dist-versioned/components/checkbox/checkbox.js +3 -3
  466. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  467. package/dist-versioned/components/checkbox-group/checkbox-group.js +3 -3
  468. package/dist-versioned/components/combobox/combobox.d.ts +5 -4
  469. package/dist-versioned/components/combobox/combobox.js +5 -5
  470. package/dist-versioned/components/dialog/dialog.d.ts +1 -1
  471. package/dist-versioned/components/dialog/dialog.js +5 -5
  472. package/dist-versioned/components/divider/divider.d.ts +1 -1
  473. package/dist-versioned/components/divider/divider.js +2 -2
  474. package/dist-versioned/components/drawer/drawer.d.ts +1 -1
  475. package/dist-versioned/components/drawer/drawer.js +5 -5
  476. package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
  477. package/dist-versioned/components/dropdown/dropdown.js +3 -3
  478. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  479. package/dist-versioned/components/expandable/expandable.js +2 -2
  480. package/dist-versioned/components/flipcard/flipcard.d.ts +2 -1
  481. package/dist-versioned/components/flipcard/flipcard.js +5 -5
  482. package/dist-versioned/components/header/header.d.ts +1 -1
  483. package/dist-versioned/components/header/header.js +2 -2
  484. package/dist-versioned/components/icon/icon.d.ts +1 -1
  485. package/dist-versioned/components/icon/icon.js +2 -2
  486. package/dist-versioned/components/include/include.d.ts +1 -1
  487. package/dist-versioned/components/include/include.js +2 -2
  488. package/dist-versioned/components/input/input.d.ts +1 -1
  489. package/dist-versioned/components/input/input.js +3 -3
  490. package/dist-versioned/components/link/link.d.ts +1 -1
  491. package/dist-versioned/components/link/link.js +2 -2
  492. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  493. package/dist-versioned/components/map-marker/map-marker.js +2 -2
  494. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  495. package/dist-versioned/components/navigation-item/navigation-item.js +2 -2
  496. package/dist-versioned/components/notification/notification.d.ts +1 -1
  497. package/dist-versioned/components/notification/notification.js +2 -2
  498. package/dist-versioned/components/optgroup/optgroup.d.ts +2 -2
  499. package/dist-versioned/components/optgroup/optgroup.js +3 -3
  500. package/dist-versioned/components/option/option.d.ts +1 -1
  501. package/dist-versioned/components/option/option.js +3 -3
  502. package/dist-versioned/components/popup/popup.d.ts +1 -1
  503. package/dist-versioned/components/popup/popup.js +2 -2
  504. package/dist-versioned/components/quickfact/quickfact.d.ts +2 -2
  505. package/dist-versioned/components/quickfact/quickfact.js +4 -4
  506. package/dist-versioned/components/radio/radio.d.ts +1 -1
  507. package/dist-versioned/components/radio/radio.js +3 -3
  508. package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
  509. package/dist-versioned/components/radio-button/radio-button.js +2 -2
  510. package/dist-versioned/components/radio-group/radio-group.d.ts +2 -2
  511. package/dist-versioned/components/radio-group/radio-group.js +5 -5
  512. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  513. package/dist-versioned/components/scrollable/scrollable.js +2 -2
  514. package/dist-versioned/components/select/select.d.ts +5 -4
  515. package/dist-versioned/components/select/select.js +5 -5
  516. package/dist-versioned/components/spinner/spinner.d.ts +1 -1
  517. package/dist-versioned/components/spinner/spinner.js +2 -2
  518. package/dist-versioned/components/step/step.d.ts +1 -1
  519. package/dist-versioned/components/step/step.js +2 -2
  520. package/dist-versioned/components/step-group/step-group.d.ts +1 -1
  521. package/dist-versioned/components/step-group/step-group.js +2 -2
  522. package/dist-versioned/components/switch/switch.d.ts +1 -1
  523. package/dist-versioned/components/switch/switch.js +2 -2
  524. package/dist-versioned/components/tab/tab.d.ts +2 -1
  525. package/dist-versioned/components/tab/tab.js +3 -2
  526. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  527. package/dist-versioned/components/tab-group/tab-group.js +2 -2
  528. package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  529. package/dist-versioned/components/tab-panel/tab-panel.js +2 -2
  530. package/dist-versioned/components/tag/tag.d.ts +1 -1
  531. package/dist-versioned/components/tag/tag.js +2 -2
  532. package/dist-versioned/components/teaser/teaser.js +2 -2
  533. package/dist-versioned/components/teaser-media/teaser-media.js +2 -2
  534. package/dist-versioned/components/textarea/textarea.d.ts +1 -1
  535. package/dist-versioned/components/textarea/textarea.js +2 -2
  536. package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
  537. package/dist-versioned/components/tooltip/tooltip.js +3 -3
  538. package/dist-versioned/components/video/video.d.ts +1 -2
  539. package/dist-versioned/components/video/video.js +2 -2
  540. package/dist-versioned/custom-elements.json +278 -232
  541. package/dist-versioned/internal/form.js +3 -3
  542. package/dist-versioned/solid-components.css +2 -2
  543. package/dist-versioned/solid-components.js +50 -50
  544. package/dist-versioned/utilities/autocomplete-config.js +2 -2
  545. package/dist-versioned/vscode.html-custom-data.json +93 -92
  546. package/dist-versioned/web-types.json +168 -155
  547. package/package.json +2 -2
  548. package/cdn/chunks/chunk.2UHPWLJE.js +0 -1
  549. package/cdn/chunks/chunk.5BROLR6V.js +0 -11
  550. package/cdn/chunks/chunk.7M7VCE7R.js +0 -1
  551. package/cdn/chunks/chunk.CJDJTJIA.js +0 -1
  552. package/cdn/chunks/chunk.CZ3W7KBI.js +0 -1
  553. package/cdn/chunks/chunk.FREYGZDJ.js +0 -1
  554. package/cdn/chunks/chunk.ISEQUO4U.js +0 -1
  555. package/cdn/chunks/chunk.IVXFAQNG.js +0 -11
  556. package/cdn/chunks/chunk.KFW32Q4Q.js +0 -1
  557. package/cdn/chunks/chunk.MMRILMYU.js +0 -1
  558. package/cdn/chunks/chunk.SNUMAAEG.js +0 -1
  559. package/cdn/chunks/chunk.WGNXYONB.js +0 -1
  560. package/cdn-versioned/chunks/chunk.2UHPWLJE.js +0 -1
  561. package/cdn-versioned/chunks/chunk.5BROLR6V.js +0 -11
  562. package/cdn-versioned/chunks/chunk.5ZDWEJDB.js +0 -1
  563. package/cdn-versioned/chunks/chunk.7M7VCE7R.js +0 -1
  564. package/cdn-versioned/chunks/chunk.APMDRZQD.js +0 -73
  565. package/cdn-versioned/chunks/chunk.CJDJTJIA.js +0 -1
  566. package/cdn-versioned/chunks/chunk.CZ3W7KBI.js +0 -1
  567. package/cdn-versioned/chunks/chunk.EWWGLHC5.js +0 -1
  568. package/cdn-versioned/chunks/chunk.FFNTXFC3.js +0 -1
  569. package/cdn-versioned/chunks/chunk.FREYGZDJ.js +0 -1
  570. package/cdn-versioned/chunks/chunk.GQSLHWQC.js +0 -1
  571. package/cdn-versioned/chunks/chunk.GUOHZTA7.js +0 -1
  572. package/cdn-versioned/chunks/chunk.ISEQUO4U.js +0 -1
  573. package/cdn-versioned/chunks/chunk.IVXFAQNG.js +0 -11
  574. package/cdn-versioned/chunks/chunk.IZKUI5WK.js +0 -1
  575. package/cdn-versioned/chunks/chunk.KFW32Q4Q.js +0 -1
  576. package/cdn-versioned/chunks/chunk.MMRILMYU.js +0 -1
  577. package/cdn-versioned/chunks/chunk.MPP7HYX7.js +0 -1
  578. package/cdn-versioned/chunks/chunk.OVV7TNT2.js +0 -1
  579. package/cdn-versioned/chunks/chunk.QFNCQQ6S.js +0 -1
  580. package/cdn-versioned/chunks/chunk.QNZWJACC.js +0 -19
  581. package/cdn-versioned/chunks/chunk.SNUMAAEG.js +0 -1
  582. package/cdn-versioned/chunks/chunk.UBFU6D5B.js +0 -1
  583. package/cdn-versioned/chunks/chunk.URB2K7JQ.js +0 -1
  584. package/cdn-versioned/chunks/chunk.WGNXYONB.js +0 -1
  585. package/cdn-versioned/chunks/chunk.WP6KSGSU.js +0 -1
  586. package/cdn-versioned/chunks/chunk.ZFA2VPUT.js +0 -1
  587. package/dist-versioned/chunks/chunk.6JI7NL3E.js +0 -65
  588. package/dist-versioned/chunks/chunk.UDZYWRPT.js +0 -65
@@ -1 +1 @@
1
- import{a as Z}from"./chunks/chunk.CEVVDV52.js";import"./chunks/chunk.HAL7R4WT.js";import{a as y}from"./chunks/chunk.CJDJTJIA.js";import{a as z}from"./chunks/chunk.GOVNZSCO.js";import{a as J}from"./chunks/chunk.LLXTYJXF.js";import{a as K}from"./chunks/chunk.6JBTCFHE.js";import{a as U}from"./chunks/chunk.ISEQUO4U.js";import{a as F}from"./chunks/chunk.IVXFAQNG.js";import{a as H}from"./chunks/chunk.E7HNNYP6.js";import{a as L}from"./chunks/chunk.UBFU6D5B.js";import{a as Q}from"./chunks/chunk.R354E6ZD.js";import{a as V}from"./chunks/chunk.MMRILMYU.js";import{a as j}from"./chunks/chunk.WGNXYONB.js";import{a as q}from"./chunks/chunk.MPP7HYX7.js";import{a as R}from"./chunks/chunk.WP6KSGSU.js";import{a as M}from"./chunks/chunk.KMLMMBY4.js";import{a as v}from"./chunks/chunk.2UHPWLJE.js";import{a as O}from"./chunks/chunk.FX3ED655.js";import{a as P}from"./chunks/chunk.IZKUI5WK.js";import{a as N}from"./chunks/chunk.GQSLHWQC.js";import{a as E}from"./chunks/chunk.5ZDWEJDB.js";import{a as I}from"./chunks/chunk.FD54463O.js";import{a as h}from"./chunks/chunk.4W3WLVGR.js";import{a as A}from"./chunks/chunk.36Z2VDHI.js";import{a as B}from"./chunks/chunk.BTRVMAGL.js";import{a as D}from"./chunks/chunk.GUOHZTA7.js";import{a as w}from"./chunks/chunk.OVV7TNT2.js";import{a as g}from"./chunks/chunk.EWWGLHC5.js";import{a as k}from"./chunks/chunk.URB2K7JQ.js";import{a as C}from"./chunks/chunk.SNUMAAEG.js";import{a as G}from"./chunks/chunk.DVHKKAVM.js";import{a as m}from"./chunks/chunk.YF5WEC4R.js";import"./chunks/chunk.5CK64GWQ.js";import{a as S}from"./chunks/chunk.ZFA2VPUT.js";import{a as n}from"./chunks/chunk.5BROLR6V.js";import"./chunks/chunk.UH4KE6MR.js";import{a as i}from"./chunks/chunk.FREYGZDJ.js";import{a as s}from"./chunks/chunk.VNKUGTKM.js";import"./chunks/chunk.D7TMPF3D.js";import"./chunks/chunk.X2GM34WQ.js";import"./chunks/chunk.W7A3TU2Z.js";import{a as c}from"./chunks/chunk.WENTMXB2.js";import{a as b}from"./chunks/chunk.CZ3W7KBI.js";import{a as T}from"./chunks/chunk.ND7BT52X.js";import"./chunks/chunk.X2O263YD.js";import"./chunks/chunk.64UNKF45.js";import"./chunks/chunk.3L472FD4.js";import{a as d}from"./chunks/chunk.7M7VCE7R.js";import{a as f}from"./chunks/chunk.WQAPHFVM.js";import{a as u}from"./chunks/chunk.WMRFVNYU.js";import{a as p}from"./chunks/chunk.LZEFLOSA.js";import"./chunks/chunk.5ZILM4TA.js";import"./chunks/chunk.65NSSTJE.js";import"./chunks/chunk.HE2LNCWW.js";import"./chunks/chunk.FFNTXFC3.js";import{a as x}from"./chunks/chunk.QNZWJACC.js";import"./chunks/chunk.CBQWVOOS.js";import"./chunks/chunk.EUGX6XW6.js";import"./chunks/chunk.MHWW3RZB.js";import{a as l}from"./chunks/chunk.7RJ3O2FV.js";import{a}from"./chunks/chunk.TA7CZCP3.js";import{a as e}from"./chunks/chunk.KFW32Q4Q.js";import"./chunks/chunk.A3DKF5BY.js";import{b as o}from"./chunks/chunk.24SF73MY.js";import"./chunks/chunk.SPDB3L7V.js";import"./chunks/chunk.TWZDCIM2.js";import"./chunks/chunk.MWDEA25W.js";import{d as W,e as X}from"./chunks/chunk.5YRTJVAZ.js";import"./chunks/chunk.K7HF3VBZ.js";import"./chunks/chunk.EFLL7VXU.js";import"./chunks/chunk.RQYP7MH5.js";import"./chunks/chunk.KLRPP4NQ.js";import{a as t}from"./chunks/chunk.NUB5WHGD.js";import"./chunks/chunk.E2DRD2OX.js";import"./chunks/chunk.XR2KNB36.js";import{a as r}from"./chunks/chunk.QFNCQQ6S.js";import"./chunks/chunk.6HO6CE4A.js";import{a as Y}from"./chunks/chunk.26YUWEYR.js";import"./chunks/chunk.LI5H3QYB.js";import"./chunks/chunk.TJ6RGDHH.js";import"./chunks/chunk.HJGLYEWV.js";import"./chunks/chunk.DCOFYPWX.js";import"./chunks/chunk.APMDRZQD.js";import"./chunks/chunk.IRWHG2Q4.js";import"./chunks/chunk.WNP2V63C.js";import"./chunks/chunk.TJOCV4DC.js";export{Y as LocalizeController,e as SdAccordion,a as SdAccordionGroup,t as SdAnimation,r as SdAudio,d as SdBadge,f as SdBrandshape,u as SdButton,x as SdCarousel,l as SdCarouselItem,m as SdCheckbox,S as SdCheckboxGroup,n as SdCombobox,c as SdDialog,b as SdDivider,T as SdDrawer,g as SdDropdown,k as SdExpandable,C as SdFlipcard,G as SdHeader,o as SdIcon,I as SdInclude,h as SdInput,A as SdLink,B as SdMapMarker,D as SdNavigationItem,w as SdNotification,R as SdOptgroup,M as SdOption,s as SdPopup,v as SdQuickfact,N as SdRadio,O as SdRadioButton,P as SdRadioGroup,E as SdScrollable,F as SdSelect,p as SdSpinner,H as SdStep,L as SdStepGroup,Q as SdSwitch,V as SdTab,j as SdTabGroup,q as SdTabPanel,i as SdTag,y as SdTeaser,z as SdTeaserMedia,J as SdTextarea,K as SdTooltip,U as SdVideo,W as registerIconLibrary,Z as setupAutocomplete,X as unregisterIconLibrary};
1
+ import{a as Z}from"./chunks/chunk.CEVVDV52.js";import"./chunks/chunk.HAL7R4WT.js";import{a as y}from"./chunks/chunk.V7RWAM4R.js";import{a as z}from"./chunks/chunk.AKCSI5N6.js";import{a as J}from"./chunks/chunk.JOBV6UKJ.js";import{a as K}from"./chunks/chunk.HIWT2ZT2.js";import{a as U}from"./chunks/chunk.JCTIIJ44.js";import{a as F}from"./chunks/chunk.FK3QAIHB.js";import{a as H}from"./chunks/chunk.IH7PPWKS.js";import{a as L}from"./chunks/chunk.N3BUJHMA.js";import{a as Q}from"./chunks/chunk.SLELMW5W.js";import{a as V}from"./chunks/chunk.H7UHODBE.js";import{a as j}from"./chunks/chunk.ZH5YOK2R.js";import{a as q}from"./chunks/chunk.WOJCTG6E.js";import{a as R}from"./chunks/chunk.BIGM6NEW.js";import{a as M}from"./chunks/chunk.CY3FENGS.js";import{a as v}from"./chunks/chunk.MHHHE75F.js";import{a as O}from"./chunks/chunk.SWKERNOK.js";import{a as P}from"./chunks/chunk.HRXA5JN2.js";import{a as N}from"./chunks/chunk.BNXXO5KU.js";import{a as E}from"./chunks/chunk.D6WAP655.js";import{a as I}from"./chunks/chunk.JVLAULKU.js";import{a as h}from"./chunks/chunk.2O6P42TG.js";import{a as A}from"./chunks/chunk.TZMBVR24.js";import{a as B}from"./chunks/chunk.CV34FMRZ.js";import{a as D}from"./chunks/chunk.JCLTUYPT.js";import{a as w}from"./chunks/chunk.W2M3ITZ6.js";import{a as g}from"./chunks/chunk.BQQVLPY4.js";import{a as k}from"./chunks/chunk.XSWKLIM6.js";import{a as C}from"./chunks/chunk.KXVP2SWS.js";import{a as G}from"./chunks/chunk.QDZ6IRX3.js";import{a as m}from"./chunks/chunk.63QMXQSQ.js";import"./chunks/chunk.5CK64GWQ.js";import{a as S}from"./chunks/chunk.7VCG3G4V.js";import{a as n}from"./chunks/chunk.OUQ5JFZE.js";import"./chunks/chunk.UH4KE6MR.js";import{a as i}from"./chunks/chunk.4ZLT6KBW.js";import{a as s}from"./chunks/chunk.S3ZRXV3P.js";import"./chunks/chunk.D7TMPF3D.js";import"./chunks/chunk.X2GM34WQ.js";import"./chunks/chunk.W7A3TU2Z.js";import{a as c}from"./chunks/chunk.KPAW7QL2.js";import{a as b}from"./chunks/chunk.E4STSELW.js";import{a as T}from"./chunks/chunk.VMFHBPHG.js";import"./chunks/chunk.X2O263YD.js";import"./chunks/chunk.64UNKF45.js";import"./chunks/chunk.3L472FD4.js";import{a as d}from"./chunks/chunk.6ODGFNBK.js";import{a as f}from"./chunks/chunk.YLM4CPSP.js";import{a as u}from"./chunks/chunk.INTAVJVZ.js";import{a as p}from"./chunks/chunk.CRQ75A7K.js";import"./chunks/chunk.65NSSTJE.js";import"./chunks/chunk.HE2LNCWW.js";import"./chunks/chunk.G45M3PVK.js";import{a as x}from"./chunks/chunk.3QCHB7C4.js";import"./chunks/chunk.CBQWVOOS.js";import"./chunks/chunk.EUGX6XW6.js";import"./chunks/chunk.MHWW3RZB.js";import{a as l}from"./chunks/chunk.P4LMRQ2W.js";import{a}from"./chunks/chunk.6AEKVM4D.js";import{a as e}from"./chunks/chunk.AOCTDOCG.js";import"./chunks/chunk.A3DKF5BY.js";import"./chunks/chunk.5ZILM4TA.js";import{b as o}from"./chunks/chunk.GCWTBB43.js";import"./chunks/chunk.SPDB3L7V.js";import"./chunks/chunk.TWZDCIM2.js";import"./chunks/chunk.MWDEA25W.js";import{d as W,e as X}from"./chunks/chunk.5YRTJVAZ.js";import"./chunks/chunk.K7HF3VBZ.js";import"./chunks/chunk.EFLL7VXU.js";import"./chunks/chunk.RQYP7MH5.js";import"./chunks/chunk.KLRPP4NQ.js";import{a as t}from"./chunks/chunk.4R3BUYI6.js";import"./chunks/chunk.E2DRD2OX.js";import"./chunks/chunk.XR2KNB36.js";import{a as r}from"./chunks/chunk.CSF7IJSV.js";import"./chunks/chunk.6HO6CE4A.js";import{a as Y}from"./chunks/chunk.26YUWEYR.js";import"./chunks/chunk.LI5H3QYB.js";import"./chunks/chunk.TJ6RGDHH.js";import"./chunks/chunk.HJGLYEWV.js";import"./chunks/chunk.DCOFYPWX.js";import"./chunks/chunk.P7EPSHEQ.js";import"./chunks/chunk.IRWHG2Q4.js";import"./chunks/chunk.WNP2V63C.js";import"./chunks/chunk.TJOCV4DC.js";export{Y as LocalizeController,e as SdAccordion,a as SdAccordionGroup,t as SdAnimation,r as SdAudio,d as SdBadge,f as SdBrandshape,u as SdButton,x as SdCarousel,l as SdCarouselItem,m as SdCheckbox,S as SdCheckboxGroup,n as SdCombobox,c as SdDialog,b as SdDivider,T as SdDrawer,g as SdDropdown,k as SdExpandable,C as SdFlipcard,G as SdHeader,o as SdIcon,I as SdInclude,h as SdInput,A as SdLink,B as SdMapMarker,D as SdNavigationItem,w as SdNotification,R as SdOptgroup,M as SdOption,s as SdPopup,v as SdQuickfact,N as SdRadio,O as SdRadioButton,P as SdRadioGroup,E as SdScrollable,F as SdSelect,p as SdSpinner,H as SdStep,L as SdStepGroup,Q as SdSwitch,V as SdTab,j as SdTabGroup,q as SdTabPanel,i as SdTag,y as SdTeaser,z as SdTeaserMedia,J as SdTextarea,K as SdTooltip,U as SdVideo,W as registerIconLibrary,Z as setupAutocomplete,X as unregisterIconLibrary};
@@ -1 +1 @@
1
- import{a}from"../chunks/chunk.CEVVDV52.js";import"../chunks/chunk.VNKUGTKM.js";import"../chunks/chunk.DCOFYPWX.js";import"../chunks/chunk.APMDRZQD.js";import"../chunks/chunk.IRWHG2Q4.js";import"../chunks/chunk.TJOCV4DC.js";export{a as setupAutocomplete};
1
+ import{a}from"../chunks/chunk.CEVVDV52.js";import"../chunks/chunk.S3ZRXV3P.js";import"../chunks/chunk.DCOFYPWX.js";import"../chunks/chunk.P7EPSHEQ.js";import"../chunks/chunk.IRWHG2Q4.js";import"../chunks/chunk.TJOCV4DC.js";export{a as setupAutocomplete};
@@ -197,11 +197,7 @@
197
197
  {
198
198
  "name": "variant",
199
199
  "description": "The badge's variant.",
200
- "values": [
201
- { "name": "default" },
202
- { "name": "success" },
203
- { "name": "error" }
204
- ]
200
+ "values": [{ "name": "blue" }, { "name": "green" }, { "name": "red" }]
205
201
  },
206
202
  {
207
203
  "name": "inverted",
@@ -626,6 +622,11 @@
626
622
  "description": "Placeholder text to show as a hint when the combobox is empty.",
627
623
  "values": []
628
624
  },
625
+ {
626
+ "name": "max-options-tag-label",
627
+ "description": "Label text shown on tag if max-options-visible is reached.",
628
+ "values": []
629
+ },
629
630
  {
630
631
  "name": "disabled",
631
632
  "description": "Disables the combobox control.",
@@ -2070,7 +2071,7 @@
2070
2071
  },
2071
2072
  {
2072
2073
  "name": "sd-select",
2073
- "description": "Selects allow you to choose items from a menu of predefined options.\n---\n\n\n### **Events:**\n - **sd-change** - Emitted when the control's value changes.\n- **sd-clear** - Emitted when the control's value is cleared.\n- **sd-input** - Emitted when the control receives input.\n- **sd-focus** - Emitted when the control gains focus.\n- **sd-blur** - Emitted when the control loses focus.\n- **sd-show** - Emitted when the select's menu opens.\n- **sd-after-show** - Emitted after the select's menu opens and all animations are complete.\n- **sd-hide** - Emitted when the select's menu closes.\n- **sd-after-hide** - Emitted after the select's menu closes and all animations are complete.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **show()** - Shows the listbox.\n- **hide()** - Hides the listbox.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **focus(options: _FocusOptions_)** - Sets focus on the control.\n- **blur()** - Removes focus from the control.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - The listbox options. Must be `<sd-option>` elements. You can use `<sd-divider>` to group items visually.\n- **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **expand-icon** - The icon to show when the control is expanded and collapsed. Rotates on open and close.\n- **tooltip** - An optional tooltip that helps describe the input. Use this slot with the `sd-tooltip` component.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The select's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **combobox** - The container the wraps the combobox, clear icon, and expand button.\n- **display-input** - The element that displays the selected option's label, an `<input>` element.\n- **listbox** - The listbox container where options are slotted.\n- **tags** - The container that houses option tags when `multiselect` is used.\n- **tag** - The individual tags that represent each multiselect option.\n- **tag__base** - The tag's base part.\n- **tag__content** - The tag's content part.\n- **tag__removable-indicator** - The tag's remove button.\n- **clear-button** - The clear button.\n- **expand-icon** - The container that wraps the expand icon.",
2074
+ "description": "Selects allow you to choose items from a menu of predefined options.\n---\n\n\n### **Events:**\n - **sd-change** - Emitted when the control's value changes.\n- **sd-clear** - Emitted when the control's value is cleared.\n- **sd-input** - Emitted when the control receives input.\n- **sd-focus** - Emitted when the control gains focus.\n- **sd-blur** - Emitted when the control loses focus.\n- **sd-show** - Emitted when the select's menu opens.\n- **sd-after-show** - Emitted after the select's menu opens and all animations are complete.\n- **sd-hide** - Emitted when the select's menu closes.\n- **sd-after-hide** - Emitted after the select's menu closes and all animations are complete.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **show()** - Shows the listbox.\n- **hide()** - Hides the listbox.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **focus(options: _FocusOptions_)** - Sets focus on the control.\n- **blur()** - Removes focus from the control.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - The listbox options. Must be `<sd-option>` elements. You can use `<sd-divider>` to group items visually.\n- **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **expand-icon** - The icon to show when the control is expanded and collapsed. Rotates on open and close.\n- **tooltip** - An optional tooltip that helps describe the input. Use this slot with the `sd-tooltip` component.\n\n### **CSS Properties:**\n - **--tag-max-width** - Set the maximum width of the tags and to show an ellipsis. Defaults to \"15ch\" _(default: undefined)_\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The select's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **combobox** - The container the wraps the combobox, clear icon, and expand button.\n- **display-input** - The element that displays the selected option's label, an `<input>` element.\n- **listbox** - The listbox container where options are slotted.\n- **tags** - The container that houses option tags when `multiselect` is used.\n- **tag** - The individual tags that represent each multiselect option.\n- **tag__base** - The tag's base part.\n- **tag__content** - The tag's content part.\n- **tag__removable-indicator** - The tag's remove button.\n- **clear-button** - The clear button.\n- **expand-icon** - The container that wraps the expand icon.",
2074
2075
  "attributes": [
2075
2076
  {
2076
2077
  "name": "open",
@@ -2097,6 +2098,11 @@
2097
2098
  "description": "Placeholder text to show as a hint when the select is empty.",
2098
2099
  "values": []
2099
2100
  },
2101
+ {
2102
+ "name": "max-options-tag-label",
2103
+ "description": "Label text shown on tag if max-options-visible is reached.",
2104
+ "values": []
2105
+ },
2100
2106
  {
2101
2107
  "name": "disabled",
2102
2108
  "description": "Disables the select control.",
@@ -2845,16 +2851,11 @@
2845
2851
  },
2846
2852
  {
2847
2853
  "name": "sd-video",
2848
- "description": "Used to wrap external video elements (e. g. from Moving Image or bare <video>-Tags) and provide some basic styling for Union Investment.\n---\n\n\n### **Events:**\n - **sd-play** - Event emitted when clicking the `play-icon`. Listen for this event and use it to play the wrapped video.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - The default slot used to pass a video player element.\n- **play-icon** - The video's play icon.\n- **poster** - Specifies an image to be shown before initial play of the wrapped video. Acts like the `poster` attribute on the native video tag.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **play-button** - The `<button>` element wrapper around the play-icon slot (full screen to field all click events).\n- **play-button-bg** - The `<div>` element wrapper around the play-button that defines the circular background.\n- **overlay** - The `<div>` element styled as an absolutely positioned transparent overlay.",
2854
+ "description": "Used to wrap external video elements (e. g. from Moving Image or bare <video>-Tags) and provide some basic styling for Union Investment.\n---\n\n\n### **Events:**\n - **sd-play** - Event emitted when clicking the `play-icon`. Listen for this event and use it to play the wrapped video.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - The default slot used to pass a video player element.\n- **play-icon** - The video's play icon.\n- **poster** - Specifies an image to be shown before initial play of the wrapped video. Acts like the `poster` attribute on the native video tag.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **play-button** - The `<button>` element wrapper around the play-icon slot (full screen to field all click events).\n- **play-button-bg** - The `<div>` element wrapper around the play-button that defines the circular background.",
2849
2855
  "attributes": [
2850
2856
  {
2851
2857
  "name": "playing",
2852
- "description": "Set to `true` to hide the play icon and the overlay.",
2853
- "values": []
2854
- },
2855
- {
2856
- "name": "overlay",
2857
- "description": "Set to `true` to show a dark overlay. Only used when `playing` is `false`.",
2858
+ "description": "Set to `true` to hide the play icon.",
2858
2859
  "values": []
2859
2860
  },
2860
2861
  {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@solid-design-system/components",
4
- "version": "4.0.0-next.0",
4
+ "version": "4.0.0-next.10",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -68,6 +68,7 @@
68
68
  "js": {
69
69
  "properties": [
70
70
  { "name": "localize" },
71
+ { "name": "accordionObserver", "type": "MutationObserver" },
71
72
  {
72
73
  "name": "open",
73
74
  "description": "Indicates whether or not the accordion is open. You can toggle this attribute to show and hide the accordion, or you\ncan use the `show()` and `hide()` methods and this attribute will reflect the accordion' open state.",
@@ -512,8 +513,8 @@
512
513
  "name": "variant",
513
514
  "description": "The badge's variant.",
514
515
  "value": {
515
- "type": "'default' | 'success' | 'error'",
516
- "default": "'default'"
516
+ "type": "'blue' | 'green' | 'red'",
517
+ "default": "'blue'"
517
518
  }
518
519
  },
519
520
  {
@@ -544,7 +545,7 @@
544
545
  {
545
546
  "name": "variant",
546
547
  "description": "The badge's variant.",
547
- "type": "'default' | 'success' | 'error'"
548
+ "type": "'blue' | 'green' | 'red'"
548
549
  },
549
550
  {
550
551
  "name": "inverted",
@@ -1365,6 +1366,11 @@
1365
1366
  {
1366
1367
  "name": "placeholder",
1367
1368
  "description": "Placeholder text to show as a hint when the combobox is empty.",
1369
+ "value": { "type": "string", "default": "''" }
1370
+ },
1371
+ {
1372
+ "name": "max-options-tag-label",
1373
+ "description": "Label text shown on tag if max-options-visible is reached.",
1368
1374
  "value": { "type": "string" }
1369
1375
  },
1370
1376
  {
@@ -1578,7 +1584,12 @@
1578
1584
  },
1579
1585
  {
1580
1586
  "name": "placeholder",
1581
- "description": "Placeholder text to show as a hint when the combobox is empty."
1587
+ "description": "Placeholder text to show as a hint when the combobox is empty.",
1588
+ "type": "string"
1589
+ },
1590
+ {
1591
+ "name": "maxOptionsTagLabel",
1592
+ "description": "Label text shown on tag if max-options-visible is reached."
1582
1593
  },
1583
1594
  {
1584
1595
  "name": "disabled",
@@ -2426,6 +2437,7 @@
2426
2437
  "description": "Determines the variant of the back face of the flipcard.",
2427
2438
  "type": "'primary' | 'primary-100' | 'gradient-light' | 'gradient-dark'"
2428
2439
  },
2440
+ { "name": "activeSide", "type": "'front' | 'back'" },
2429
2441
  {
2430
2442
  "name": "dir",
2431
2443
  "description": "The element's directionality.",
@@ -4194,6 +4206,7 @@
4194
4206
  "type": "boolean"
4195
4207
  },
4196
4208
  { "name": "localize" },
4209
+ { "name": "accordionObserver", "type": "MutationObserver" },
4197
4210
  {
4198
4211
  "name": "open",
4199
4212
  "description": "Indicates whether or not the accordion is open. You can toggle this attribute to show and hide the accordion, or you\ncan use the `show()` and `hide()` methods and this attribute will reflect the accordion' open state.",
@@ -4739,7 +4752,7 @@
4739
4752
  },
4740
4753
  {
4741
4754
  "name": "sd-select",
4742
- "description": "Selects allow you to choose items from a menu of predefined options.\n---\n\n\n### **Events:**\n - **sd-change** - Emitted when the control's value changes.\n- **sd-clear** - Emitted when the control's value is cleared.\n- **sd-input** - Emitted when the control receives input.\n- **sd-focus** - Emitted when the control gains focus.\n- **sd-blur** - Emitted when the control loses focus.\n- **sd-show** - Emitted when the select's menu opens.\n- **sd-after-show** - Emitted after the select's menu opens and all animations are complete.\n- **sd-hide** - Emitted when the select's menu closes.\n- **sd-after-hide** - Emitted after the select's menu closes and all animations are complete.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **show()** - Shows the listbox.\n- **hide()** - Hides the listbox.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **focus(options: _FocusOptions_)** - Sets focus on the control.\n- **blur()** - Removes focus from the control.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - The listbox options. Must be `<sd-option>` elements. You can use `<sd-divider>` to group items visually.\n- **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **expand-icon** - The icon to show when the control is expanded and collapsed. Rotates on open and close.\n- **tooltip** - An optional tooltip that helps describe the input. Use this slot with the `sd-tooltip` component.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The select's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **combobox** - The container the wraps the combobox, clear icon, and expand button.\n- **display-input** - The element that displays the selected option's label, an `<input>` element.\n- **listbox** - The listbox container where options are slotted.\n- **tags** - The container that houses option tags when `multiselect` is used.\n- **tag** - The individual tags that represent each multiselect option.\n- **tag__base** - The tag's base part.\n- **tag__content** - The tag's content part.\n- **tag__removable-indicator** - The tag's remove button.\n- **clear-button** - The clear button.\n- **expand-icon** - The container that wraps the expand icon.",
4755
+ "description": "Selects allow you to choose items from a menu of predefined options.\n---\n\n\n### **Events:**\n - **sd-change** - Emitted when the control's value changes.\n- **sd-clear** - Emitted when the control's value is cleared.\n- **sd-input** - Emitted when the control receives input.\n- **sd-focus** - Emitted when the control gains focus.\n- **sd-blur** - Emitted when the control loses focus.\n- **sd-show** - Emitted when the select's menu opens.\n- **sd-after-show** - Emitted after the select's menu opens and all animations are complete.\n- **sd-hide** - Emitted when the select's menu closes.\n- **sd-after-hide** - Emitted after the select's menu closes and all animations are complete.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **show()** - Shows the listbox.\n- **hide()** - Hides the listbox.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **focus(options: _FocusOptions_)** - Sets focus on the control.\n- **blur()** - Removes focus from the control.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - The listbox options. Must be `<sd-option>` elements. You can use `<sd-divider>` to group items visually.\n- **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **expand-icon** - The icon to show when the control is expanded and collapsed. Rotates on open and close.\n- **tooltip** - An optional tooltip that helps describe the input. Use this slot with the `sd-tooltip` component.\n\n### **CSS Properties:**\n - **--tag-max-width** - Set the maximum width of the tags and to show an ellipsis. Defaults to \"15ch\" _(default: undefined)_\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The select's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **combobox** - The container the wraps the combobox, clear icon, and expand button.\n- **display-input** - The element that displays the selected option's label, an `<input>` element.\n- **listbox** - The listbox container where options are slotted.\n- **tags** - The container that houses option tags when `multiselect` is used.\n- **tag** - The individual tags that represent each multiselect option.\n- **tag__base** - The tag's base part.\n- **tag__content** - The tag's content part.\n- **tag__removable-indicator** - The tag's remove button.\n- **clear-button** - The clear button.\n- **expand-icon** - The container that wraps the expand icon.",
4743
4756
  "doc-url": "",
4744
4757
  "attributes": [
4745
4758
  {
@@ -4765,6 +4778,11 @@
4765
4778
  {
4766
4779
  "name": "placeholder",
4767
4780
  "description": "Placeholder text to show as a hint when the select is empty.",
4781
+ "value": { "type": "string", "default": "''" }
4782
+ },
4783
+ {
4784
+ "name": "max-options-tag-label",
4785
+ "description": "Label text shown on tag if max-options-visible is reached.",
4768
4786
  "value": { "type": "string" }
4769
4787
  },
4770
4788
  {
@@ -4945,7 +4963,12 @@
4945
4963
  },
4946
4964
  {
4947
4965
  "name": "placeholder",
4948
- "description": "Placeholder text to show as a hint when the select is empty."
4966
+ "description": "Placeholder text to show as a hint when the select is empty.",
4967
+ "type": "string"
4968
+ },
4969
+ {
4970
+ "name": "maxOptionsTagLabel",
4971
+ "description": "Label text shown on tag if max-options-visible is reached."
4949
4972
  },
4950
4973
  {
4951
4974
  "name": "disabled",
@@ -6480,17 +6503,12 @@
6480
6503
  },
6481
6504
  {
6482
6505
  "name": "sd-video",
6483
- "description": "Used to wrap external video elements (e. g. from Moving Image or bare <video>-Tags) and provide some basic styling for Union Investment.\n---\n\n\n### **Events:**\n - **sd-play** - Event emitted when clicking the `play-icon`. Listen for this event and use it to play the wrapped video.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - The default slot used to pass a video player element.\n- **play-icon** - The video's play icon.\n- **poster** - Specifies an image to be shown before initial play of the wrapped video. Acts like the `poster` attribute on the native video tag.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **play-button** - The `<button>` element wrapper around the play-icon slot (full screen to field all click events).\n- **play-button-bg** - The `<div>` element wrapper around the play-button that defines the circular background.\n- **overlay** - The `<div>` element styled as an absolutely positioned transparent overlay.",
6506
+ "description": "Used to wrap external video elements (e. g. from Moving Image or bare <video>-Tags) and provide some basic styling for Union Investment.\n---\n\n\n### **Events:**\n - **sd-play** - Event emitted when clicking the `play-icon`. Listen for this event and use it to play the wrapped video.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - The default slot used to pass a video player element.\n- **play-icon** - The video's play icon.\n- **poster** - Specifies an image to be shown before initial play of the wrapped video. Acts like the `poster` attribute on the native video tag.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **play-button** - The `<button>` element wrapper around the play-icon slot (full screen to field all click events).\n- **play-button-bg** - The `<div>` element wrapper around the play-button that defines the circular background.",
6484
6507
  "doc-url": "",
6485
6508
  "attributes": [
6486
6509
  {
6487
6510
  "name": "playing",
6488
- "description": "Set to `true` to hide the play icon and the overlay.",
6489
- "value": { "type": "boolean", "default": "false" }
6490
- },
6491
- {
6492
- "name": "overlay",
6493
- "description": "Set to `true` to show a dark overlay. Only used when `playing` is `false`.",
6511
+ "description": "Set to `true` to hide the play icon.",
6494
6512
  "value": { "type": "boolean", "default": "false" }
6495
6513
  },
6496
6514
  {
@@ -6530,12 +6548,7 @@
6530
6548
  "properties": [
6531
6549
  {
6532
6550
  "name": "playing",
6533
- "description": "Set to `true` to hide the play icon and the overlay.",
6534
- "type": "boolean"
6535
- },
6536
- {
6537
- "name": "overlay",
6538
- "description": "Set to `true` to show a dark overlay. Only used when `playing` is `false`.",
6551
+ "description": "Set to `true` to hide the play icon.",
6539
6552
  "type": "boolean"
6540
6553
  },
6541
6554
  {
@@ -32,7 +32,7 @@ let SdMenu = class SdMenu extends SolidElement {
32
32
  if (item.type === 'checkbox') {
33
33
  item.checked = !item.checked;
34
34
  }
35
- this.emit('sd-4-0-0-next-0-select', { detail: { item } });
35
+ this.emit('sd-4-0-0-next-10-select', { detail: { item } });
36
36
  }
37
37
  handleKeyDown(event) {
38
38
  if (event.key === 'Enter') {
@@ -11,7 +11,7 @@ export default css `
11
11
  overscroll-behavior: none;
12
12
  }
13
13
 
14
- ::slotted(sd-4-0-0-next-0-divider) {
14
+ ::slotted(sd-4-0-0-next-10-divider) {
15
15
  --spacing: var(--sd-spacing-x-small);
16
16
  }
17
17
  `;
@@ -74,7 +74,7 @@ let SdMenuItem = class SdMenuItem extends SolidElement {
74
74
  })}
75
75
  >
76
76
  <span part="checked-icon" class="menu-item__check">
77
- <sd-4-0-0-next-0-icon name="check" library="system" aria-hidden="true"></sd-4-0-0-next-0-icon>
77
+ <sd-4-0-0-next-10-icon name="check" library="system" aria-hidden="true"></sd-4-0-0-next-10-icon>
78
78
  </span>
79
79
 
80
80
  <slot name="prefix" part="prefix" class="menu-item__prefix"></slot>
@@ -84,7 +84,7 @@ let SdMenuItem = class SdMenuItem extends SolidElement {
84
84
  <slot name="suffix" part="suffix" class="menu-item__suffix"></slot>
85
85
 
86
86
  <span class="menu-item__chevron">
87
- <sd-4-0-0-next-0-icon name="chevron-right" library="system" aria-hidden="true"></sd-4-0-0-next-0-icon>
87
+ <sd-4-0-0-next-10-icon name="chevron-right" library="system" aria-hidden="true"></sd-4-0-0-next-10-icon>
88
88
  </span>
89
89
  </div>
90
90
  `;
@@ -1,4 +1,4 @@
1
- import{a as H,b as U}from"./chunk.5CK64GWQ.js";import{a as B}from"./chunk.D7TMPF3D.js";import{b as N}from"./chunk.65NSSTJE.js";import{a as d}from"./chunk.HE2LNCWW.js";import{a as v,b as x,c as F}from"./chunk.SPDB3L7V.js";import{a as y}from"./chunk.E2DRD2OX.js";import{a as z}from"./chunk.6HO6CE4A.js";import{a as L}from"./chunk.26YUWEYR.js";import{a as n}from"./chunk.DCOFYPWX.js";import{a as M,b as a,c as f,d as w,h as C}from"./chunk.APMDRZQD.js";import{b as T,e as h,h as V,i as _}from"./chunk.IRWHG2Q4.js";import{a as E,e as i}from"./chunk.TJOCV4DC.js";var b=(l,r)=>{var s;let e=l._$AN;if(e===void 0)return!1;for(let o of e)(s=o._$AO)==null||s.call(o,r,!1),b(o,r);return!0},g=l=>{let r,e;do{if((r=l._$AM)===void 0)break;e=r._$AN,e.delete(l),l=r}while((e==null?void 0:e.size)===0)},O=l=>{for(let r;r=l._$AM;l=r){let e=r._$AN;if(e===void 0)r._$AN=e=new Set;else if(e.has(l))break;e.add(l),j(r)}};function R(l){this._$AN!==void 0?(g(this),this._$AM=l,O(this)):this._$AM=l}function J(l,r=!1,e=0){let s=this._$AH,o=this._$AN;if(o!==void 0&&o.size!==0)if(r)if(Array.isArray(s))for(let p=e;p<s.length;p++)b(s[p],!1),g(s[p]);else s!=null&&(b(s,!1),g(s));else b(this,l)}var j=l=>{var r,e;l.type==v.CHILD&&((r=l._$AP)!=null||(l._$AP=J),(e=l._$AQ)!=null||(l._$AQ=R))},$=class extends F{constructor(){super(...arguments),this._$AN=void 0}_$AT(r,e,s){super._$AT(r,e,s),O(this),this.isConnected=r._$AU}_$AO(r,e=!0){var s,o;r!==this.isConnected&&(this.isConnected=r,r?(s=this.reconnected)==null||s.call(this):(o=this.disconnected)==null||o.call(this)),e&&(b(this,r),g(this))}setValue(r){if(H(this._$Ct))this._$Ct._$AI(r,this);else{let e=[...this._$Ct._$AH];e[this._$Ci]=r,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}};var k=class extends ${constructor(e){super(e);this.handlePointerDown=e=>{e.button!==0||this.host.disabled||this.spinOnLongPressCallback(e)};this.handlePointerUp=e=>{e==null||e.preventDefault(),e==null||e.stopPropagation(),this.timeout&&this.callbacks.start(),this.stopSpinningAndCleanUp(),this.callbacks.end(),document.removeEventListener("pointerup",this.handlePointerUp)};if(e.type!==v.ELEMENT||!(e.element instanceof HTMLButtonElement))throw new Error("The `longPress` directive must be used on an HTMLButtonElement.")}render(e){return _}update(e,[s]){return this.callbacks===void 0&&this.host===void 0&&(this.host=e.element,this.callbacks=E({},s),this.host.addEventListener("pointerdown",this.handlePointerDown)),V}disconnected(){this.stopSpinningAndCleanUp(),this.host.removeEventListener("pointerdown",this.handlePointerDown),document.removeEventListener("pointerup",this.handlePointerUp)}spinOnLongPressCallback(e){var s;e.preventDefault(),e.stopPropagation(),this.timeout=setTimeout(()=>{this.timeout=void 0,this.interval=setInterval(()=>{this.callbacks.start()},50)},500),document.addEventListener("pointerup",this.handlePointerUp),(s=this.observer)==null||s.disconnect(),this.observer=new MutationObserver(o=>{o.forEach(p=>{p.attributeName==="disabled"&&this.stopSpinningAndCleanUp()})}),this.observer.observe(this.host,{attributes:!0})}stopSpinningAndCleanUp(){var e;clearInterval(this.interval),clearTimeout(this.timeout),(e=this.observer)==null||e.disconnect()}},A=x(k);var K,Q=(K=navigator.userAgentData)==null?void 0:K.brands.some(l=>l.brand.includes("Chromium")),G=Q?!1:navigator.userAgent.includes("Firefox"),t=class extends C{constructor(){super(...arguments);this.formControlController=new N(this);this.hasSlotController=new z(this,"help-text","label","left","right","message","placeholder");this.localize=new L(this);this.hasFocus=!1;this.showValidStyle=!1;this.showInvalidStyle=!1;this.type="text";this.size="lg";this.value="";this.defaultValue="";this.placeholder="";this.label="";this.helpText="";this.clearable=!1;this.disabled=!1;this.readonly=!1;this.passwordToggle=!1;this.passwordVisible=!1;this.spinButtons=!1;this.form="";this.name="";this.title="";this.required=!1;this.styleOnValid=!1;this.spellcheck=!0}get valueAsDate(){var e,s;return(s=(e=this.input)==null?void 0:e.valueAsDate)!=null?s:null}set valueAsDate(e){let s=document.createElement("input");s.type="date",s.valueAsDate=e,this.value=s.value}get valueAsNumber(){var e,s;return(s=(e=this.input)==null?void 0:e.valueAsNumber)!=null?s:parseFloat(this.value)}set valueAsNumber(e){let s=document.createElement("input");s.type="number",s.valueAsNumber=e,this.value=s.value}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleChange(){this.value=this.input.value,this.emit("sd-change")}handleClearClick(e){this.value="",this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change"),this.input.focus(),e.stopPropagation()}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleInput(){this.value=this.input.value,this.formControlController.updateValidity(),this.emit("sd-input")}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e),this.invalidMessage.textContent=e.target.validationMessage}handleKeyDown(e){let s=e.metaKey||e.ctrlKey||e.shiftKey||e.altKey;e.key==="Enter"&&!s&&setTimeout(()=>{!e.defaultPrevented&&!e.isComposing&&this.formControlController.submit()})}handlePasswordToggle(){this.passwordVisible=!this.passwordVisible}isDecrementDisabled(){if(this.disabled||this.readonly)return!0;if(this.min===void 0||this.min===null)return!1;let e=typeof this.min=="string"?parseFloat(this.min):this.min;return this.valueAsNumber<=e}isIncrementDisabled(){if(this.disabled||this.readonly)return!0;if(this.max===void 0||this.max===null)return!1;let e=typeof this.max=="string"?parseFloat(this.max):this.max;return this.valueAsNumber>=e}handleStep(){this.handleInput(),this.input.focus()}handleStepUp(){this.stepUp(),this.handleStep()}handleStepDown(){this.stepDown(),this.handleStep()}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleStepChange(){this.input.step=String(this.step),this.formControlController.updateValidity()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity()}focus(e){this.input.focus(e)}blur(){this.input.blur()}select(){this.input.select()}setSelectionRange(e,s,o="none"){this.input.setSelectionRange(e,s,o)}setRangeText(e,s,o,p){this.input.setRangeText(e,s,o,p),this.value!==this.input.value&&(this.value=this.input.value)}showPicker(){"showPicker"in HTMLInputElement.prototype&&this.input.showPicker()}stepUp(){this.input.stepUp(),this.value!==this.input.value&&(this.value=this.input.value)}stepDown(){this.input.stepDown(),this.value!==this.input.value&&(this.value=this.input.value)}checkValidity(){var e;return(e=this.input)==null?void 0:e.checkValidity()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(e){this.input.setCustomValidity(e),this.formControlController.updateValidity()}render(){let e={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text"),description:this.hasSlotController.test("description"),left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right")},s=this.label?!0:!!e.label,o=this.helpText?!0:!!e.helpText,p=this.clearable&&!this.readonly&&(typeof this.value=="number"||this.value.length>0),D=this.disabled?"disabled":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",P=this.size==="sm"?"text-sm":"text-base",q={disabled:"border-neutral-500",readonly:"border-neutral-800",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"border-neutral-800"}[D],m=this.disabled?"text-neutral-500":"text-primary",u={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],c={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size];return h`<div part="form-control" class="${n(this.disabled&&"pointer-events-none")}"><div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${n(s?"inline-block":"hidden",P)}" for="input" aria-hidden="${s?"false":"true"}"><slot name="label">${this.label}</slot></label><slot name="tooltip"></slot></div><div part="form-control-input" class="relative w-full"><div part="border" class="${n("absolute w-full h-full pointer-events-none border rounded-default",q)}"></div><div part="base" class="${n("px-4 flex flex-row items-center rounded-default transition-all",this.size==="lg"?"py-2":"py-1",!this.disabled&&!this.readonly?"hover:bg-neutral-200":"",this.readonly?"bg-neutral-100":"bg-white",D==="disabled"?"text-neutral-500":"text-black")}">${e.left?h`<slot name="left" part="left" class="${n("inline-flex",this.size==="sm"?"mr-1":"mr-2",m,c)}"></slot>`:""} <input part="input" id="input" class="${n("min-w-0 flex-grow focus:outline-none bg-transparent placeholder-neutral-700",this.size==="sm"?"h-6":"h-8",P)}" type="${this.type==="password"&&this.passwordVisible?"text":this.type}" title="${this.title}" name="${d(this.name)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" placeholder="${d(this.placeholder)}" minlength="${d(this.minlength)}" maxlength="${d(this.maxlength)}" min="${d(this.min)}" max="${d(this.max)}" step="${d(this.step)}" .value="${U(this.value)}" autocapitalize="${d(this.type==="password"?"off":this.autocapitalize)}" autocomplete="${d(this.type==="password"?"off":this.autocomplete)}" autocorrect="${d(this.type==="password"?"off":this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${d(this.pattern)}" enterkeyhint="${d(this.enterkeyhint)}" inputmode="${d(this.inputmode)}" aria-describedby="help-text invalid-message" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @keydown="${this.handleKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${p?h`<button part="clear-button" class="${n("flex justify-center ",u)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-4-0-0-next-0-icon class="${n("icon-fill-neutral-800",c)}" library="system" name="closing-round"></sd-4-0-0-next-0-icon></slot></button>`:""} ${this.passwordToggle&&this.type==="password"?h`<button aria-label="${this.localize.term(this.passwordVisible?"hidePassword":"showPassword")}" part="password-toggle-button" class="flex items-center" type="button" @click="${this.handlePasswordToggle}" tabindex="-1">${this.passwordVisible?h`<slot name="show-password-icon"><sd-4-0-0-next-0-icon class="${n(m,u,c)}" library="system" name="eye"></sd-4-0-0-next-0-icon></slot>`:h`<slot name="hide-password-icon"><sd-4-0-0-next-0-icon class="${n(m,u,c)}" library="system" name="eye-crossed-out"></sd-4-0-0-next-0-icon></slot>`}</button>`:""} ${(this.type==="date"||this.type==="datetime-local")&&!G?h`<sd-4-0-0-next-0-icon class="${n(m,u,c)}" library="system" name="calendar"></sd-4-0-0-next-0-icon>`:""} ${this.type==="time"?h`<sd-4-0-0-next-0-icon class="${n(m,u,c)}" library="system" name="clock"></sd-4-0-0-next-0-icon>`:""} ${this.type==="search"?h`<button class="flex items-center" type="button" tabindex="-1"><sd-4-0-0-next-0-icon class="${n(m,u,c)}" library="system" name="magnifying-glass"></sd-4-0-0-next-0-icon></button>`:""} ${this.showInvalidStyle?h`<sd-4-0-0-next-0-icon part="invalid-icon" class="${n("text-error",u,c)}" library="system" name="risk"></sd-4-0-0-next-0-icon>`:""} ${this.showValidStyle&&this.styleOnValid?h`<sd-4-0-0-next-0-icon class="${n("text-success flex-shrink-0",u,c)}" library="system" name="status-check" part="valid-icon"></sd-4-0-0-next-0-icon>`:""} ${e.right?h`<slot name="right" part="right" class="${n("inline-flex",m,u,c)}"></slot>`:""} ${this.type==="number"&&this.spinButtons?h`<div part="stepper" class="flex items-center"><button part="decrement-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isDecrementDisabled()}" aria-hidden="true" ${A({start:()=>this.handleStepDown(),end:()=>this.handleChange()})} tabindex="-1"><slot name="decrement-number-stepper"><sd-4-0-0-next-0-icon name="system/minus-circle" label="Decrease value" class="${n(m,u,c)}"></sd-4-0-0-next-0-icon></slot></button> <button part="increment-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isIncrementDisabled()}" aria-hidden="true" ${A({start:()=>this.handleStepUp(),end:()=>this.handleChange()})} tabindex="-1"><slot name="increment-number-stepper"><sd-4-0-0-next-0-icon name="system/plus-circle" label="Decrease value" class="${n(m,u,c)}"></sd-4-0-0-next-0-icon></slot></button></div>`:""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${n("text-sm text-neutral-700",o?"block":"hidden")}" aria-hidden="${!o}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`}};t.styles=[...C.styles,T`:host{box-sizing:border-box;display:inline-block;position:relative;text-align:left;width:100%}:host([vertical]){display:block}:host([required]) #label:after{content:" *"}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.stepper-button[disabled] sd-4-0-0-next-0-icon{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}`],i([w("#input")],t.prototype,"input",2),i([w("#invalid-message")],t.prototype,"invalidMessage",2),i([f()],t.prototype,"hasFocus",2),i([f()],t.prototype,"showValidStyle",2),i([f()],t.prototype,"showInvalidStyle",2),i([a({reflect:!0})],t.prototype,"type",2),i([a({reflect:!0})],t.prototype,"size",2),i([a()],t.prototype,"inputmode",2),i([a()],t.prototype,"value",2),i([B()],t.prototype,"defaultValue",2),i([a()],t.prototype,"placeholder",2),i([a()],t.prototype,"label",2),i([a({attribute:"help-text"})],t.prototype,"helpText",2),i([a({type:Boolean})],t.prototype,"clearable",2),i([a({type:Boolean,reflect:!0})],t.prototype,"disabled",2),i([a({type:Boolean,reflect:!0})],t.prototype,"readonly",2),i([a({attribute:"password-toggle",type:Boolean})],t.prototype,"passwordToggle",2),i([a({attribute:"password-visible",type:Boolean})],t.prototype,"passwordVisible",2),i([a({attribute:"spin-buttons",type:Boolean})],t.prototype,"spinButtons",2),i([a({type:Number})],t.prototype,"minlength",2),i([a({type:Number})],t.prototype,"maxlength",2),i([a()],t.prototype,"min",2),i([a()],t.prototype,"max",2),i([a({reflect:!0})],t.prototype,"form",2),i([a()],t.prototype,"name",2),i([a()],t.prototype,"title",2),i([a({type:Boolean,reflect:!0})],t.prototype,"required",2),i([a()],t.prototype,"pattern",2),i([a()],t.prototype,"step",2),i([a()],t.prototype,"autocapitalize",2),i([a()],t.prototype,"autocorrect",2),i([a()],t.prototype,"autocomplete",2),i([a({type:Boolean})],t.prototype,"autofocus",2),i([a()],t.prototype,"enterkeyhint",2),i([a({type:Boolean,reflect:!0,attribute:"style-on-valid"})],t.prototype,"styleOnValid",2),i([a({type:Boolean,converter:{fromAttribute:e=>!(!e||e==="false"),toAttribute:e=>e?"true":"false"}})],t.prototype,"spellcheck",2),i([y("disabled",{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),i([y("step",{waitUntilFirstUpdate:!0})],t.prototype,"handleStepChange",1),i([y("value",{waitUntilFirstUpdate:!0})],t.prototype,"handleValueChange",1),t=i([M("sd-4-0-0-next-0-input")],t);export{t as a};
1
+ import{a as H,b as U}from"./chunk.5CK64GWQ.js";import{a as B}from"./chunk.D7TMPF3D.js";import{b as N}from"./chunk.65NSSTJE.js";import{a as d}from"./chunk.HE2LNCWW.js";import{a as v,b as x,c as F}from"./chunk.SPDB3L7V.js";import{a as y}from"./chunk.E2DRD2OX.js";import{a as z}from"./chunk.6HO6CE4A.js";import{a as L}from"./chunk.26YUWEYR.js";import{a as n}from"./chunk.DCOFYPWX.js";import{a as M,b as a,c as f,d as w,h as C}from"./chunk.P7EPSHEQ.js";import{b as T,e as h,h as V,i as _}from"./chunk.IRWHG2Q4.js";import{a as E,e as i}from"./chunk.TJOCV4DC.js";var b=(l,r)=>{var s;let e=l._$AN;if(e===void 0)return!1;for(let o of e)(s=o._$AO)==null||s.call(o,r,!1),b(o,r);return!0},g=l=>{let r,e;do{if((r=l._$AM)===void 0)break;e=r._$AN,e.delete(l),l=r}while((e==null?void 0:e.size)===0)},O=l=>{for(let r;r=l._$AM;l=r){let e=r._$AN;if(e===void 0)r._$AN=e=new Set;else if(e.has(l))break;e.add(l),j(r)}};function R(l){this._$AN!==void 0?(g(this),this._$AM=l,O(this)):this._$AM=l}function J(l,r=!1,e=0){let s=this._$AH,o=this._$AN;if(o!==void 0&&o.size!==0)if(r)if(Array.isArray(s))for(let p=e;p<s.length;p++)b(s[p],!1),g(s[p]);else s!=null&&(b(s,!1),g(s));else b(this,l)}var j=l=>{var r,e;l.type==v.CHILD&&((r=l._$AP)!=null||(l._$AP=J),(e=l._$AQ)!=null||(l._$AQ=R))},$=class extends F{constructor(){super(...arguments),this._$AN=void 0}_$AT(r,e,s){super._$AT(r,e,s),O(this),this.isConnected=r._$AU}_$AO(r,e=!0){var s,o;r!==this.isConnected&&(this.isConnected=r,r?(s=this.reconnected)==null||s.call(this):(o=this.disconnected)==null||o.call(this)),e&&(b(this,r),g(this))}setValue(r){if(H(this._$Ct))this._$Ct._$AI(r,this);else{let e=[...this._$Ct._$AH];e[this._$Ci]=r,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}};var k=class extends ${constructor(e){super(e);this.handlePointerDown=e=>{e.button!==0||this.host.disabled||this.spinOnLongPressCallback(e)};this.handlePointerUp=e=>{e==null||e.preventDefault(),e==null||e.stopPropagation(),this.timeout&&this.callbacks.start(),this.stopSpinningAndCleanUp(),this.callbacks.end(),document.removeEventListener("pointerup",this.handlePointerUp)};if(e.type!==v.ELEMENT||!(e.element instanceof HTMLButtonElement))throw new Error("The `longPress` directive must be used on an HTMLButtonElement.")}render(e){return _}update(e,[s]){return this.callbacks===void 0&&this.host===void 0&&(this.host=e.element,this.callbacks=E({},s),this.host.addEventListener("pointerdown",this.handlePointerDown)),V}disconnected(){this.stopSpinningAndCleanUp(),this.host.removeEventListener("pointerdown",this.handlePointerDown),document.removeEventListener("pointerup",this.handlePointerUp)}spinOnLongPressCallback(e){var s;e.preventDefault(),e.stopPropagation(),this.timeout=setTimeout(()=>{this.timeout=void 0,this.interval=setInterval(()=>{this.callbacks.start()},50)},500),document.addEventListener("pointerup",this.handlePointerUp),(s=this.observer)==null||s.disconnect(),this.observer=new MutationObserver(o=>{o.forEach(p=>{p.attributeName==="disabled"&&this.stopSpinningAndCleanUp()})}),this.observer.observe(this.host,{attributes:!0})}stopSpinningAndCleanUp(){var e;clearInterval(this.interval),clearTimeout(this.timeout),(e=this.observer)==null||e.disconnect()}},A=x(k);var K,Q=(K=navigator.userAgentData)==null?void 0:K.brands.some(l=>l.brand.includes("Chromium")),G=Q?!1:navigator.userAgent.includes("Firefox"),t=class extends C{constructor(){super(...arguments);this.formControlController=new N(this);this.hasSlotController=new z(this,"help-text","label","left","right","message","placeholder");this.localize=new L(this);this.hasFocus=!1;this.showValidStyle=!1;this.showInvalidStyle=!1;this.type="text";this.size="lg";this.value="";this.defaultValue="";this.placeholder="";this.label="";this.helpText="";this.clearable=!1;this.disabled=!1;this.readonly=!1;this.passwordToggle=!1;this.passwordVisible=!1;this.spinButtons=!1;this.form="";this.name="";this.title="";this.required=!1;this.styleOnValid=!1;this.spellcheck=!0}get valueAsDate(){var e,s;return(s=(e=this.input)==null?void 0:e.valueAsDate)!=null?s:null}set valueAsDate(e){let s=document.createElement("input");s.type="date",s.valueAsDate=e,this.value=s.value}get valueAsNumber(){var e,s;return(s=(e=this.input)==null?void 0:e.valueAsNumber)!=null?s:parseFloat(this.value)}set valueAsNumber(e){let s=document.createElement("input");s.type="number",s.valueAsNumber=e,this.value=s.value}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleChange(){this.value=this.input.value,this.emit("sd-change")}handleClearClick(e){this.value="",this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change"),this.input.focus(),e.stopPropagation()}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleInput(){this.value=this.input.value,this.formControlController.updateValidity(),this.emit("sd-input")}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e),this.invalidMessage.textContent=e.target.validationMessage}handleKeyDown(e){let s=e.metaKey||e.ctrlKey||e.shiftKey||e.altKey;e.key==="Enter"&&!s&&setTimeout(()=>{!e.defaultPrevented&&!e.isComposing&&this.formControlController.submit()})}handlePasswordToggle(){this.passwordVisible=!this.passwordVisible}isDecrementDisabled(){if(this.disabled||this.readonly)return!0;if(this.min===void 0||this.min===null)return!1;let e=typeof this.min=="string"?parseFloat(this.min):this.min;return this.valueAsNumber<=e}isIncrementDisabled(){if(this.disabled||this.readonly)return!0;if(this.max===void 0||this.max===null)return!1;let e=typeof this.max=="string"?parseFloat(this.max):this.max;return this.valueAsNumber>=e}handleStep(){this.handleInput(),this.input.focus()}handleStepUp(){this.stepUp(),this.handleStep()}handleStepDown(){this.stepDown(),this.handleStep()}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleStepChange(){this.input.step=String(this.step),this.formControlController.updateValidity()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity()}focus(e){this.input.focus(e)}blur(){this.input.blur()}select(){this.input.select()}setSelectionRange(e,s,o="none"){this.input.setSelectionRange(e,s,o)}setRangeText(e,s,o,p){this.input.setRangeText(e,s,o,p),this.value!==this.input.value&&(this.value=this.input.value)}showPicker(){"showPicker"in HTMLInputElement.prototype&&this.input.showPicker()}stepUp(){this.input.stepUp(),this.value!==this.input.value&&(this.value=this.input.value)}stepDown(){this.input.stepDown(),this.value!==this.input.value&&(this.value=this.input.value)}checkValidity(){var e;return(e=this.input)==null?void 0:e.checkValidity()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(e){this.input.setCustomValidity(e),this.formControlController.updateValidity()}render(){let e={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text"),description:this.hasSlotController.test("description"),left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right")},s=this.label?!0:!!e.label,o=this.helpText?!0:!!e.helpText,p=this.clearable&&!this.readonly&&(typeof this.value=="number"||this.value.length>0),D=this.disabled?"disabled":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",P=this.size==="sm"?"text-sm":"text-base",q={disabled:"border-neutral-500",readonly:"border-neutral-800",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"border-neutral-800"}[D],m=this.disabled?"text-neutral-500":"text-primary",u={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],c={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size];return h`<div part="form-control" class="${n(this.disabled&&"pointer-events-none")}"><div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${n(s?"inline-block":"hidden",P)}" for="input" aria-hidden="${s?"false":"true"}"><slot name="label">${this.label}</slot></label><slot name="tooltip"></slot></div><div part="form-control-input" class="relative w-full"><div part="border" class="${n("absolute w-full h-full pointer-events-none border rounded-default",q)}"></div><div part="base" class="${n("px-4 flex flex-row items-center rounded-default transition-all",this.size==="lg"?"py-2":"py-1",!this.disabled&&!this.readonly?"hover:bg-neutral-200":"",this.readonly?"bg-neutral-100":"bg-white",D==="disabled"?"text-neutral-500":"text-black")}">${e.left?h`<slot name="left" part="left" class="${n("inline-flex",this.size==="sm"?"mr-1":"mr-2",m,c)}"></slot>`:""} <input part="input" id="input" class="${n("min-w-0 flex-grow focus:outline-none bg-transparent placeholder-neutral-700",this.size==="sm"?"h-6":"h-8",P)}" type="${this.type==="password"&&this.passwordVisible?"text":this.type}" title="${this.title}" name="${d(this.name)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" placeholder="${d(this.placeholder)}" minlength="${d(this.minlength)}" maxlength="${d(this.maxlength)}" min="${d(this.min)}" max="${d(this.max)}" step="${d(this.step)}" .value="${U(this.value)}" autocapitalize="${d(this.type==="password"?"off":this.autocapitalize)}" autocomplete="${d(this.type==="password"?"off":this.autocomplete)}" autocorrect="${d(this.type==="password"?"off":this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${d(this.pattern)}" enterkeyhint="${d(this.enterkeyhint)}" inputmode="${d(this.inputmode)}" aria-describedby="help-text invalid-message" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @keydown="${this.handleKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${p?h`<button part="clear-button" class="${n("flex justify-center ",u)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-4-0-0-next-10-icon class="${n("icon-fill-neutral-800",c)}" library="system" name="closing-round"></sd-4-0-0-next-10-icon></slot></button>`:""} ${this.passwordToggle&&this.type==="password"?h`<button aria-label="${this.localize.term(this.passwordVisible?"hidePassword":"showPassword")}" part="password-toggle-button" class="flex items-center" type="button" @click="${this.handlePasswordToggle}" tabindex="-1">${this.passwordVisible?h`<slot name="show-password-icon"><sd-4-0-0-next-10-icon class="${n(m,u,c)}" library="system" name="eye"></sd-4-0-0-next-10-icon></slot>`:h`<slot name="hide-password-icon"><sd-4-0-0-next-10-icon class="${n(m,u,c)}" library="system" name="eye-crossed-out"></sd-4-0-0-next-10-icon></slot>`}</button>`:""} ${(this.type==="date"||this.type==="datetime-local")&&!G?h`<sd-4-0-0-next-10-icon class="${n(m,u,c)}" library="system" name="calendar"></sd-4-0-0-next-10-icon>`:""} ${this.type==="time"?h`<sd-4-0-0-next-10-icon class="${n(m,u,c)}" library="system" name="clock"></sd-4-0-0-next-10-icon>`:""} ${this.type==="search"?h`<button class="flex items-center" type="button" tabindex="-1"><sd-4-0-0-next-10-icon class="${n(m,u,c)}" library="system" name="magnifying-glass"></sd-4-0-0-next-10-icon></button>`:""} ${this.showInvalidStyle?h`<sd-4-0-0-next-10-icon part="invalid-icon" class="${n("text-error",u,c)}" library="system" name="risk"></sd-4-0-0-next-10-icon>`:""} ${this.showValidStyle&&this.styleOnValid?h`<sd-4-0-0-next-10-icon class="${n("text-success flex-shrink-0",u,c)}" library="system" name="status-check" part="valid-icon"></sd-4-0-0-next-10-icon>`:""} ${e.right?h`<slot name="right" part="right" class="${n("inline-flex",m,u,c)}"></slot>`:""} ${this.type==="number"&&this.spinButtons?h`<div part="stepper" class="flex items-center"><button part="decrement-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isDecrementDisabled()}" aria-hidden="true" ${A({start:()=>this.handleStepDown(),end:()=>this.handleChange()})} tabindex="-1"><slot name="decrement-number-stepper"><sd-4-0-0-next-10-icon name="system/minus-circle" label="Decrease value" class="${n(m,u,c)}"></sd-4-0-0-next-10-icon></slot></button> <button part="increment-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isIncrementDisabled()}" aria-hidden="true" ${A({start:()=>this.handleStepUp(),end:()=>this.handleChange()})} tabindex="-1"><slot name="increment-number-stepper"><sd-4-0-0-next-10-icon name="system/plus-circle" label="Decrease value" class="${n(m,u,c)}"></sd-4-0-0-next-10-icon></slot></button></div>`:""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${n("text-sm text-neutral-700",o?"block":"hidden")}" aria-hidden="${!o}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`}};t.styles=[...C.styles,T`:host{box-sizing:border-box;display:inline-block;position:relative;text-align:left;width:100%}:host([vertical]){display:block}:host([required]) #label:after{content:" *"}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.stepper-button[disabled] sd-4-0-0-next-10-icon{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}`],i([w("#input")],t.prototype,"input",2),i([w("#invalid-message")],t.prototype,"invalidMessage",2),i([f()],t.prototype,"hasFocus",2),i([f()],t.prototype,"showValidStyle",2),i([f()],t.prototype,"showInvalidStyle",2),i([a({reflect:!0})],t.prototype,"type",2),i([a({reflect:!0})],t.prototype,"size",2),i([a()],t.prototype,"inputmode",2),i([a()],t.prototype,"value",2),i([B()],t.prototype,"defaultValue",2),i([a()],t.prototype,"placeholder",2),i([a()],t.prototype,"label",2),i([a({attribute:"help-text"})],t.prototype,"helpText",2),i([a({type:Boolean})],t.prototype,"clearable",2),i([a({type:Boolean,reflect:!0})],t.prototype,"disabled",2),i([a({type:Boolean,reflect:!0})],t.prototype,"readonly",2),i([a({attribute:"password-toggle",type:Boolean})],t.prototype,"passwordToggle",2),i([a({attribute:"password-visible",type:Boolean})],t.prototype,"passwordVisible",2),i([a({attribute:"spin-buttons",type:Boolean})],t.prototype,"spinButtons",2),i([a({type:Number})],t.prototype,"minlength",2),i([a({type:Number})],t.prototype,"maxlength",2),i([a()],t.prototype,"min",2),i([a()],t.prototype,"max",2),i([a({reflect:!0})],t.prototype,"form",2),i([a()],t.prototype,"name",2),i([a()],t.prototype,"title",2),i([a({type:Boolean,reflect:!0})],t.prototype,"required",2),i([a()],t.prototype,"pattern",2),i([a()],t.prototype,"step",2),i([a()],t.prototype,"autocapitalize",2),i([a()],t.prototype,"autocorrect",2),i([a()],t.prototype,"autocomplete",2),i([a({type:Boolean})],t.prototype,"autofocus",2),i([a()],t.prototype,"enterkeyhint",2),i([a({type:Boolean,reflect:!0,attribute:"style-on-valid"})],t.prototype,"styleOnValid",2),i([a({type:Boolean,converter:{fromAttribute:e=>!(!e||e==="false"),toAttribute:e=>e?"true":"false"}})],t.prototype,"spellcheck",2),i([y("disabled",{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),i([y("step",{waitUntilFirstUpdate:!0})],t.prototype,"handleStepChange",1),i([y("value",{waitUntilFirstUpdate:!0})],t.prototype,"handleValueChange",1),t=i([M("sd-4-0-0-next-10-input")],t);export{t as a};
2
2
  /*! Bundled license information:
3
3
 
4
4
  lit-html/async-directive.js:
@@ -0,0 +1,19 @@
1
+ import{a as T}from"./chunk.CBQWVOOS.js";import{a as k}from"./chunk.EUGX6XW6.js";import{a as _}from"./chunk.P4LMRQ2W.js";import{c as M}from"./chunk.RQYP7MH5.js";import{a as m}from"./chunk.E2DRD2OX.js";import{a as $}from"./chunk.26YUWEYR.js";import{a as n}from"./chunk.DCOFYPWX.js";import{a as E,b as g,c as f,d as v,e as A,h as P}from"./chunk.P7EPSHEQ.js";import{b as S,e as b}from"./chunk.IRWHG2Q4.js";import{e as o}from"./chunk.TJOCV4DC.js";function C(h,d,e){let i=t=>Object.is(t,-0)?0:t;return h<d?i(d):h>e?i(e):i(h)}function*L(h,d){if(h!==void 0){let e=0;for(let i of h)yield d(i,e++)}}function*O(h,d,e=1){let i=d===void 0?0:h;d!=null||(d=h);for(let t=i;e>0?t<d:d<t;t+=e)yield t}var r=class extends P{constructor(){super(...arguments);this.variant="number";this.inverted=!1;this.loop=!1;this.autoplay=!1;this.slidesPerPage=1;this.slidesPerMove=1;this.activeSlide=0;this.currentPage=1;this.pausedAutoplay=!1;this.autoplayController=new T(this,()=>this.next());this.scrollController=new k(this);this.slides=this.getElementsByTagName("sd-4-0-0-next-10-carousel-item");this.intersectionObserverEntries=new Map;this.localize=new $(this);this.handleSlotChange=e=>{e.some(t=>[...t.addedNodes,...t.removedNodes].some(s=>_.isCarouselItem(s)&&!s.hasAttribute("data-clone")))&&this.initializeSlides(),this.requestUpdate()};this.unblockAutoplay=(e,i)=>{e.detail&&i.blur()}}connectedCallback(){super.connectedCallback(),this.setAttribute("role","region"),this.setAttribute("aria-label",this.localize.term("carousel"));let e=new IntersectionObserver(i=>{i.forEach(t=>{this.intersectionObserverEntries.set(t.target,t);let s=t.target;s.toggleAttribute("inert",!t.isIntersecting),s.classList.toggle("--in-view",t.isIntersecting),s.setAttribute("aria-hidden",t.isIntersecting?"false":"true")})},{root:this,threshold:.6});this.intersectionObserver=e,e.takeRecords().forEach(i=>{this.intersectionObserverEntries.set(i.target,i)})}disconnectedCallback(){super.disconnectedCallback(),this.intersectionObserver.disconnect(),this.mutationObserver.disconnect()}firstUpdated(){this.initializeSlides(),this.mutationObserver=new MutationObserver(this.handleSlotChange),this.mutationObserver.observe(this,{childList:!0,subtree:!1})}getPageCount(e,i,t){return Math.ceil((e-i)/t)+1>0?Math.ceil((e-i)/t)+1:1}getCurrentPage(e,i,t,s){return Math.ceil((e-t)/s)-Math.ceil((e-t-i)/s)+1}getSlides({excludeClones:e=!0}={}){return[...this.slides].filter(i=>!e||!i.hasAttribute("data-clone"))}handleKeyDown(e){if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(e.key)){let i=e.target,t=this.localize.dir()==="rtl",s=i.closest('[part~="pagination-item"]')!==null,l=e.key==="ArrowDown"||!t&&e.key==="ArrowRight"||t&&e.key==="ArrowLeft",c=e.key==="ArrowUp"||!t&&e.key==="ArrowLeft"||t&&e.key==="ArrowRight";e.preventDefault(),c&&this.previous(),l&&this.next(),e.key==="Home"&&this.goToSlide(0),e.key==="End"&&this.goToSlide(this.getSlides().length-1),s&&this.updateComplete.then(()=>{var a;let u=(a=this.shadowRoot)==null?void 0:a.querySelector('[part~="pagination-item--active"]');u&&u.focus()})}}handleScrollEnd(){let e=this.getSlides(),t=[...this.intersectionObserverEntries.values()].find(s=>s.isIntersecting);if(this.loop&&(t!=null&&t.target.hasAttribute("data-clone"))){let s=Number(t.target.getAttribute("data-clone"));this.goToSlide(s,"auto");return}t&&(this.activeSlide=e.indexOf(t.target))}pause(){this.pausedAutoplay=!0}resume(){this.pausedAutoplay=!1}handlePausedAutoplay(){var e,i;this.pausedAutoplay?(this.autoplayController.stop(),(e=this.autoplayControls)==null||e.setAttribute("aria-pressed","false")):this.autoplay&&(this.autoplayController.start(3e3),(i=this.autoplayControls)==null||i.setAttribute("aria-pressed","true"))}initializeSlides(){let e=this.getSlides(),i=this.intersectionObserver;if(this.intersectionObserverEntries.clear(),this.getSlides({excludeClones:!1}).forEach((t,s)=>{i.unobserve(t),t.classList.remove("--in-view"),t.classList.remove("--is-active"),t.setAttribute("aria-label",this.localize.term("slideNum",s+1,e.length)),t.hasAttribute("data-clone")&&t.remove()}),this.loop){let t=this.slidesPerPage,s=e.slice(-t),l=e.slice(0,t);s.reverse().forEach((c,u)=>{let a=c.cloneNode(!0);a.setAttribute("data-clone",String(e.length-u-1)),this.prepend(a)}),l.forEach((c,u)=>{let a=c.cloneNode(!0);a.setAttribute("data-clone",String(u)),this.append(a)})}this.getSlides({excludeClones:!1}).forEach(t=>{i.observe(t)}),this.goToSlide(this.activeSlide,"auto")}handleSlideChange(){let e=this.getSlides();e.forEach((s,l)=>{s.classList.toggle("--is-active",l===this.activeSlide)});let i=this.getCurrentPage(e.length,this.activeSlide,this.slidesPerPage,this.slidesPerMove);this.currentPage!==i&&(this.currentPage=i),this.hasUpdated&&this.emit("sd-slide-change",{detail:{index:this.activeSlide,slide:e[this.activeSlide]}});let t=this.getPageCount(e.length,this.slidesPerPage,this.slidesPerMove);this.currentPage>t&&requestAnimationFrame(()=>{this.nextTillFirst()})}handleSlidesPerMoveChange(){let e=this.getSlides({excludeClones:!1}),i=this.slidesPerMove;e.forEach((t,s)=>{Math.abs(s-i)%i===0?t.style.removeProperty("scroll-snap-align"):t.style.setProperty("scroll-snap-align","none")})}handleAutoplayChange(){this.autoplayController.stop(),this.autoplay&&!this.pausedAutoplay&&this.autoplayController.start(3e3)}previous(e="smooth"){let i=this.activeSlide||this.activeSlide-this.slidesPerMove,t=!1;for(;!t&&i>0;)i-=1,t=Math.abs(i-this.slidesPerMove)%this.slidesPerMove===0;this.currentPage-1===0&&this.loop?this.goToSlide(this.activeSlide-this.slidesPerPage,e):this.goToSlide(i,e)}next(e="smooth"){this.currentPage+1<=this.getPageCount(this.getSlides().length,this.slidesPerPage,this.slidesPerMove)?this.goToSlide(this.activeSlide+this.slidesPerMove,e):this.loop&&this.nextTillFirst(e)}nextTillFirst(e="smooth"){for(;this.activeSlide!==0;)this.goToSlide(this.activeSlide+1,e);this.currentPage=this.getCurrentPage(this.getSlides().length,this.activeSlide,this.slidesPerPage,this.slidesPerMove)}goToSlide(e,i="smooth"){let{slidesPerPage:t,loop:s,scrollContainer:l}=this,c=this.getSlides(),u=this.getSlides({excludeClones:!1}),a=(e+c.length)%c.length;this.activeSlide=a;let p=C(e+(s?t:0),0,u.length+1),y=u[p],w=l.getBoundingClientRect(),x=y.getBoundingClientRect();l.scrollTo({left:x.left-w.left+l.scrollLeft,top:x.top-w.top+l.scrollTop,behavior:M()?"auto":i}),this.activeSlide===c.length-1&&!this.loop?this.previousButton.focus({preventScroll:!0}):this.activeSlide===0&&!this.loop&&this.nextButton.focus({preventScroll:!0})}render(){let{scrollController:e,slidesPerMove:i}=this,t=this.getPageCount(this.getSlides().length,this.slidesPerPage,this.slidesPerMove),s=this.getCurrentPage(this.getSlides().length,this.activeSlide,this.slidesPerPage,this.slidesPerMove),l=this.loop||s>1,c=this.loop||s<t,u=this.localize.dir()==="ltr";return b`<div part="base" class="${n("carousel h-full w-full")}"><div id="scroll-container" part="scroll-container" class="${n(`carousel__slides mb-6
2
+ grid max-h-full w-full items-center justify-items-center overflow-auto`,this.inverted?"focus-visible:focus-outline-inverted":"focus-visible:focus-outline",`overscroll-x-contain grid-flow-col auto-rows-[100%]
3
+ snap-x snap-mandatory overflow-y-hidden`)}" style="--slides-per-page:${this.slidesPerPage}" aria-busy="${e.scrolling?"true":"false"}" role="status" tabindex="0" @keydown="${this.handleKeyDown}" @scrollend="${this.handleScrollEnd}"><slot></slot></div><div part="controls" class="${n("w-full flex items-center justify-center relative")}"><div part="navigation" class="${n("carousel__navigation flex items-center justify-center")}"><button part="navigation-button navigation-button--previous" id="carousel__navigation-button--previous" ?disabled="${!l}" class="${n("!mr-6 !rounded-sm sd-interactive",!l&&"sd-interactive--disabled",this.inverted?"sd-interactive--inverted":"sd-interactive--reset")}" aria-label="${this.localize.term("previousSlide")}" aria-controls="scroll-container" aria-disabled="${l?"false":"true"}" @click="${l?a=>{this.previous(),this.unblockAutoplay(a,this.previousButton)}:null}"><slot name="previous-icon"><sd-4-0-0-next-10-icon class="${n("h-6 w-6 rotate-90 grid place-items-center")}" library="system" name="${u?"chevron-down":"chevron-up"}"></sd-4-0-0-next-10-icon></slot></button> ${this.variant==="dot"?b`<div part="pagination-dot" role="tablist" class="${n("carousel__pagination dot flex wrap items-center gap-2")}" aria-controls="scroll-container">${L(O(t),a=>{let p=a+1===s;return b`<button part="pagination-item ${p?"pagination-item--active":""}" class="${n("carousel__pagination-item","block cursor-pointer bg-none border-0 rounded-full",p?"bg-accent":"",this.inverted?"focus-within:focus-outline-inverted":"focus-within:focus-outline")}" role="tab" tabindex="0" aria-selected="${p?"true":"false"}" aria-label="${this.localize.term("goToSlide",a+1,t)}" @click="${y=>{this.goToSlide(a*i),this.unblockAutoplay(y,this.paginationItems[a])}}" @keydown="${this.handleKeyDown}"><span class="${n("h-4 w-4 block border hover:border-primary-500 rounded-full",this.inverted?"border-white hover:border-primary-500":"border-primary",p&&"bg-accent border-none",p?this.inverted?"hover:bg-accent-300":"hover:bg-accent-550":"")}"></span></button>`})}</div>`:b`<span part="pagination-number" class="carousel__pagination number flex gap-0.5 cursor-default select-none" aria-controls="scroll-container"><span part="pagination-item" class="${n("w-5 text-center border-b-2 border-accent",this.inverted?"text-white":"text-black")}">${s}</span> <span part="pagination-divider" class="${n("scale-y-[1.5]","text-center",this.inverted?"text-white":"text-black")}">/</span> <span part="pagination-item" class="${n("w-5 text-center",this.inverted?"text-white":"text-black")}">${t}</span></span>`} <button part="navigation-button navigation-button--next" id="carousel__navigation-button--next" ?disabled="${!c}" class="${n("!ml-6 !rounded-sm sd-interactive ",!c&&"sd-interactive--disabled",this.inverted?"sd-interactive--inverted":"sd-interactive--reset")}" aria-label="${this.localize.term("nextSlide")}" aria-controls="scroll-container" aria-disabled="${c?"false":"true"}" @click="${c?a=>{this.next(),this.unblockAutoplay(a,this.nextButton)}:null}"><slot name="next-icon"><sd-4-0-0-next-10-icon class="${n("h-6 w-6 rotate-90 grid place-items-center")}" library="system" name="${u?"chevron-up":"chevron-down"}"></sd-4-0-0-next-10-icon></slot></button></div><button class="${n("ml-6 !rounded-sm","!absolute !right-0 sd-interactive",this.inverted?"sd-interactive--inverted":"sd-interactive--reset",!this.autoplay&&"!hidden")}" part="autoplay-controls" aria-label="${this.localize.term("autoplay")}" aria-pressed="true" @click="${a=>{this.pausedAutoplay=!this.pausedAutoplay,a.detail&&this.autoplayControls.blur()}}"><slot name="autoplay-start" class="${n(this.pausedAutoplay?"":"hidden")}"><sd-4-0-0-next-10-icon class="h-6 w-6 grid place-items-center" library="system" name="start"></sd-4-0-0-next-10-icon></slot><slot name="autoplay-pause" class="${n(this.pausedAutoplay?"hidden":"")}"><sd-4-0-0-next-10-icon class="h-6 w-6 grid place-items-center" library="system" name="pause"></sd-4-0-0-next-10-icon></slot></button></div></div>`}};r.styles=[...P.styles,S`:host{--slide-gap:var(--sl-spacing-medium,1rem);--scroll-hint:0px;display:flex}.carousel{grid-template-areas:". slides ." ". pagination ."}.carousel__pagination{grid-area:pagination}.carousel__slides{grid-area:slides;scrollbar-width:none;--slide-size:calc((100% - (var(--slides-per-page) - 1)*var(--slide-gap))/var(--slides-per-page));-moz-column-gap:var(--slide-gap);column-gap:var(--slide-gap);grid-auto-columns:var(--slide-size);padding-inline:var(--scroll-hint);scroll-padding-inline:var(--scroll-hint)}.carousel__slides::-webkit-scrollbar{display:none}@media (prefers-reduced-motion){:where(.carousel__slides){scroll-behavior:auto}}.carousel__navigation{grid-area:navigation}sd-4-0-0-next-10-button::part(label){align-items:center;display:flex;flex:1 1 auto;pointer-events:none}`],o([v('[part~="autoplay-controls"]')],r.prototype,"autoplayControls",2),o([v('[part~="navigation-button--previous"]')],r.prototype,"previousButton",2),o([v('[part~="navigation-button--next"]')],r.prototype,"nextButton",2),o([A('[part~="pagination-item"]')],r.prototype,"paginationItems",2),o([g({type:String,reflect:!0})],r.prototype,"variant",2),o([g({type:Boolean,reflect:!0})],r.prototype,"inverted",2),o([g({type:Boolean,reflect:!0})],r.prototype,"loop",2),o([g({type:Boolean,reflect:!0})],r.prototype,"autoplay",2),o([g({type:Number,attribute:"slides-per-page"})],r.prototype,"slidesPerPage",2),o([g({type:Number,attribute:"slides-per-move"})],r.prototype,"slidesPerMove",2),o([v("slot:not([name])")],r.prototype,"defaultSlot",2),o([v(".carousel__slides")],r.prototype,"scrollContainer",2),o([v(".carousel__pagination")],r.prototype,"paginationContainer",2),o([f()],r.prototype,"activeSlide",2),o([f()],r.prototype,"currentPage",2),o([f()],r.prototype,"pausedAutoplay",2),o([m("pausedAutoplay")],r.prototype,"handlePausedAutoplay",1),o([m("loop",{waitUntilFirstUpdate:!0}),m("slidesPerPage",{waitUntilFirstUpdate:!0})],r.prototype,"initializeSlides",1),o([m("activeSlide")],r.prototype,"handleSlideChange",1),o([m("slidesPerMove")],r.prototype,"handleSlidesPerMoveChange",1),o([m("autoplay")],r.prototype,"handleAutoplayChange",1),r=o([E("sd-4-0-0-next-10-carousel")],r);export{r as a};
4
+ /*! Bundled license information:
5
+
6
+ lit-html/directives/map.js:
7
+ (**
8
+ * @license
9
+ * Copyright 2021 Google LLC
10
+ * SPDX-License-Identifier: BSD-3-Clause
11
+ *)
12
+
13
+ lit-html/directives/range.js:
14
+ (**
15
+ * @license
16
+ * Copyright 2021 Google LLC
17
+ * SPDX-License-Identifier: BSD-3-Clause
18
+ *)
19
+ */
@@ -1 +1 @@
1
- import{a as s}from"./chunk.E2DRD2OX.js";import{a as l}from"./chunk.XR2KNB36.js";import{a as y,b as a,f,h as r}from"./chunk.APMDRZQD.js";import{b as c,e as d}from"./chunk.IRWHG2Q4.js";import{e}from"./chunk.TJOCV4DC.js";var t=class extends r{constructor(){super(...arguments);this.hasStarted=!1;this.name="none";this.play=!1;this.delay=0;this.direction="normal";this.duration=1e3;this.easing="linear";this.endDelay=0;this.fill="auto";this.iterations=1/0;this.iterationStart=0;this.playbackRate=1}get currentTime(){var i,n;return(n=(i=this.animation)==null?void 0:i.currentTime)!=null?n:0}set currentTime(i){this.animation&&(this.animation.currentTime=i)}connectedCallback(){super.connectedCallback(),this.createAnimation(),this.handleAnimationCancel=this.handleAnimationCancel.bind(this),this.handleAnimationFinish=this.handleAnimationFinish.bind(this)}disconnectedCallback(){super.disconnectedCallback(),this.destroyAnimation()}handleAnimationFinish(){this.play=!1,this.hasStarted=!1,this.emit("sd-finish")}handleAnimationCancel(){this.play=!1,this.hasStarted=!1,this.emit("sd-cancel")}handleSlotChange(){this.destroyAnimation(),this.createAnimation()}async createAnimation(){var o,m;let i=(o=l.easings[this.easing])!=null?o:this.easing,n=(m=this.keyframes)!=null?m:l[this.name],h=(await this.defaultSlot).assignedElements()[0];return!h||!n?!1:(this.destroyAnimation(),this.animation=h.animate(n,{delay:this.delay,direction:this.direction,duration:this.duration,easing:i,endDelay:this.endDelay,fill:this.fill,iterationStart:this.iterationStart,iterations:this.iterations}),this.animation.playbackRate=this.playbackRate,this.animation.addEventListener("cancel",this.handleAnimationCancel),this.animation.addEventListener("finish",this.handleAnimationFinish),this.play?(this.hasStarted=!0,this.emit("sd-start")):this.animation.pause(),!0)}destroyAnimation(){this.animation&&(this.animation.cancel(),this.animation.removeEventListener("cancel",this.handleAnimationCancel),this.animation.removeEventListener("finish",this.handleAnimationFinish),this.hasStarted=!1)}handleAnimationChange(){this.hasUpdated&&this.createAnimation()}handlePlayChange(){return this.animation?(this.play&&!this.hasStarted&&(this.hasStarted=!0,this.emit("sd-start")),this.play?this.animation.play():this.animation.pause(),!0):!1}handlePlaybackRateChange(){this.animation&&(this.animation.playbackRate=this.playbackRate)}cancel(){var i;(i=this.animation)==null||i.cancel()}finish(){var i;(i=this.animation)==null||i.finish()}render(){return d`<slot @slotchange="${this.handleSlotChange}"></slot>`}};t.styles=[...r.styles,c`:host{display:contents}`],e([f("slot")],t.prototype,"defaultSlot",2),e([a()],t.prototype,"name",2),e([a({type:Boolean,reflect:!0})],t.prototype,"play",2),e([a({type:Number})],t.prototype,"delay",2),e([a()],t.prototype,"direction",2),e([a({type:Number})],t.prototype,"duration",2),e([a()],t.prototype,"easing",2),e([a({attribute:"end-delay",type:Number})],t.prototype,"endDelay",2),e([a()],t.prototype,"fill",2),e([a({type:Number})],t.prototype,"iterations",2),e([a({attribute:"iteration-start",type:Number})],t.prototype,"iterationStart",2),e([a({attribute:!1})],t.prototype,"keyframes",2),e([a({attribute:"playback-rate",type:Number})],t.prototype,"playbackRate",2),e([s(["name","delay","direction","duration","easing","endDelay","fill","iterations","iterationsStart","keyframes"])],t.prototype,"handleAnimationChange",1),e([s("play")],t.prototype,"handlePlayChange",1),e([s("playbackRate")],t.prototype,"handlePlaybackRateChange",1),t=e([y("sd-4-0-0-next-0-animation")],t);export{t as a};
1
+ import{a as s}from"./chunk.E2DRD2OX.js";import{a as l}from"./chunk.XR2KNB36.js";import{a as y,b as a,f,h as r}from"./chunk.P7EPSHEQ.js";import{b as c,e as d}from"./chunk.IRWHG2Q4.js";import{e}from"./chunk.TJOCV4DC.js";var t=class extends r{constructor(){super(...arguments);this.hasStarted=!1;this.name="none";this.play=!1;this.delay=0;this.direction="normal";this.duration=1e3;this.easing="linear";this.endDelay=0;this.fill="auto";this.iterations=1/0;this.iterationStart=0;this.playbackRate=1}get currentTime(){var i,n;return(n=(i=this.animation)==null?void 0:i.currentTime)!=null?n:0}set currentTime(i){this.animation&&(this.animation.currentTime=i)}connectedCallback(){super.connectedCallback(),this.createAnimation(),this.handleAnimationCancel=this.handleAnimationCancel.bind(this),this.handleAnimationFinish=this.handleAnimationFinish.bind(this)}disconnectedCallback(){super.disconnectedCallback(),this.destroyAnimation()}handleAnimationFinish(){this.play=!1,this.hasStarted=!1,this.emit("sd-finish")}handleAnimationCancel(){this.play=!1,this.hasStarted=!1,this.emit("sd-cancel")}handleSlotChange(){this.destroyAnimation(),this.createAnimation()}async createAnimation(){var o,m;let i=(o=l.easings[this.easing])!=null?o:this.easing,n=(m=this.keyframes)!=null?m:l[this.name],h=(await this.defaultSlot).assignedElements()[0];return!h||!n?!1:(this.destroyAnimation(),this.animation=h.animate(n,{delay:this.delay,direction:this.direction,duration:this.duration,easing:i,endDelay:this.endDelay,fill:this.fill,iterationStart:this.iterationStart,iterations:this.iterations}),this.animation.playbackRate=this.playbackRate,this.animation.addEventListener("cancel",this.handleAnimationCancel),this.animation.addEventListener("finish",this.handleAnimationFinish),this.play?(this.hasStarted=!0,this.emit("sd-start")):this.animation.pause(),!0)}destroyAnimation(){this.animation&&(this.animation.cancel(),this.animation.removeEventListener("cancel",this.handleAnimationCancel),this.animation.removeEventListener("finish",this.handleAnimationFinish),this.hasStarted=!1)}handleAnimationChange(){this.hasUpdated&&this.createAnimation()}handlePlayChange(){return this.animation?(this.play&&!this.hasStarted&&(this.hasStarted=!0,this.emit("sd-start")),this.play?this.animation.play():this.animation.pause(),!0):!1}handlePlaybackRateChange(){this.animation&&(this.animation.playbackRate=this.playbackRate)}cancel(){var i;(i=this.animation)==null||i.cancel()}finish(){var i;(i=this.animation)==null||i.finish()}render(){return d`<slot @slotchange="${this.handleSlotChange}"></slot>`}};t.styles=[...r.styles,c`:host{display:contents}`],e([f("slot")],t.prototype,"defaultSlot",2),e([a()],t.prototype,"name",2),e([a({type:Boolean,reflect:!0})],t.prototype,"play",2),e([a({type:Number})],t.prototype,"delay",2),e([a()],t.prototype,"direction",2),e([a({type:Number})],t.prototype,"duration",2),e([a()],t.prototype,"easing",2),e([a({attribute:"end-delay",type:Number})],t.prototype,"endDelay",2),e([a()],t.prototype,"fill",2),e([a({type:Number})],t.prototype,"iterations",2),e([a({attribute:"iteration-start",type:Number})],t.prototype,"iterationStart",2),e([a({attribute:!1})],t.prototype,"keyframes",2),e([a({attribute:"playback-rate",type:Number})],t.prototype,"playbackRate",2),e([s(["name","delay","direction","duration","easing","endDelay","fill","iterations","iterationsStart","keyframes"])],t.prototype,"handleAnimationChange",1),e([s("play")],t.prototype,"handlePlayChange",1),e([s("playbackRate")],t.prototype,"handlePlaybackRateChange",1),t=e([y("sd-4-0-0-next-10-animation")],t);export{t as a};
@@ -0,0 +1 @@
1
+ import{a as s}from"./chunk.HE2LNCWW.js";import{a as o,b as a}from"./chunk.5ZILM4TA.js";import{a as n}from"./chunk.DCOFYPWX.js";import{a as m,b as i,d as b,h as l}from"./chunk.P7EPSHEQ.js";import{b as p}from"./chunk.IRWHG2Q4.js";import{e as t}from"./chunk.TJOCV4DC.js";var e=class extends l{constructor(){super(...arguments);this.size="lg";this.selected=!1;this.toggleable=!1;this.removable=!1;this.disabled=!1;this.href=""}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleRemoveClick(){this.emit("sd-remove")}isLink(){return!!this.href}click(){this.tag.click()}focus(r){this.tag.focus(r)}blur(){this.tag.blur()}render(){let r=this.isLink(),d=r?o`a`:o`button`;return a`<${d} part="base" type="${s(r?void 0:"button")}" href="${s(r?this.href:void 0)}" rel="${s(r&&this.target?"noreferrer noopener":void 0)}" target="${s(r?this.target:void 0)}" download="${s(r?this.download:void 0)}" ?disabled="${s(r?void 0:this.disabled)}" aria-disabled="${this.disabled?"true":"false"}" aria-pressed="${s(this.toggleable?this.selected:void 0)}" tabindex="${this.disabled?"-1":"0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" class="${n("inline-flex border box-border rounded-full items-center leading-none whitespace-nowrap focus-visible:focus-outline",{lg:"h-8 text-base gap-2",sm:"h-6 text-sm gap-1"}[this.size],{lg:this.removable?"pl-4 pr-3 py-2":"px-4 py-2",sm:this.removable?"pl-3 pr-2 py-2":"px-3 py-[5px]"}[this.size],this.selected?"bg-primary border-primary text-white hover:bg-primary-500 hover:border-primary-500 disabled:bg-neutral-500 disabled:border-neutral-500":"border-primary text-primary hover:border-primary-500 hover:bg-neutral-100 hover:text-primary-500 disabled:border-neutral-500 disabled:text-neutral-500",this.disabled&&!r&&"cursor-not-allowed")}"><slot part="content"></slot>${this.removable?a`<slot part="removable-indicator" name="removable-indicator" @click="${this.handleRemoveClick}" class="${n({lg:"text-base",sm:"text-[12px]"}[this.size])}"><sd-4-0-0-next-10-icon library="system" name="close" label="remove"></sd-4-0-0-next-10-icon></slot>`:""}</${d}>`}};e.styles=[...l.styles,p`:host{display:inline-block}`],t([b("a, button")],e.prototype,"tag",2),t([i({reflect:!0})],e.prototype,"size",2),t([i({type:Boolean,reflect:!0})],e.prototype,"selected",2),t([i({type:Boolean,reflect:!0})],e.prototype,"toggleable",2),t([i({type:Boolean,reflect:!0})],e.prototype,"removable",2),t([i({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([i()],e.prototype,"href",2),t([i()],e.prototype,"target",2),t([i()],e.prototype,"download",2),e=t([m("sd-4-0-0-next-10-tag")],e);export{e as a};
@@ -1,3 +1,3 @@
1
- import{b as d}from"./chunk.5CK64GWQ.js";import{a as f}from"./chunk.D7TMPF3D.js";import{b as m}from"./chunk.65NSSTJE.js";import{a as p}from"./chunk.HE2LNCWW.js";import{a as n}from"./chunk.E2DRD2OX.js";import{a as s}from"./chunk.DCOFYPWX.js";import{a as c,b as r,c as u,d as a,h as o}from"./chunk.APMDRZQD.js";import{b as h,e as l}from"./chunk.IRWHG2Q4.js";import{e as t}from"./chunk.TJOCV4DC.js";var e=class extends o{constructor(){super(...arguments);this.formControlController=new m(this,{value:i=>i.checked?i.value||"on":void 0,defaultValue:i=>i.defaultChecked,setValue:(i,b)=>i.checked=b});this.title="";this.name="";this.size="lg";this.disabled=!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(){this.checked=!this.checked,this.indeterminate=!1,this.emit("sd-change")}handleBlur(){this.emit("sd-blur")}handleInput(){this.emit("sd-input")}handleInvalid(i){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(i),this.invalidMessage.textContent=i.target.validationMessage}handleFocus(){this.emit("sd-focus")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false"),this.formControlController.setValidity(this.disabled)}handleStateChange(){this.input.checked=this.checked,this.input.indeterminate=this.indeterminate,this.formControlController.updateValidity()}click(){this.input.click()}focus(i){this.input.focus(i)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(i){this.input.setCustomValidity(i),this.formControlController.updateValidity()}render(){let i=this.disabled&&this.indeterminate?"disabledIndeterminate":this.disabled&&this.checked?"disabledChecked":this.disabled?"disabled":this.showInvalidStyle&&this.indeterminate?"invalidIndeterminate":this.showInvalidStyle?"invalid":this.checked||this.indeterminate?"filled":"default";return l`<label part="base" class="${s("sd-4-0-0-next-0-checkbox group flex items-start text-base leading-normal text-black cursor-pointer",this.disabled&&"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.checked?"true":"false"}" aria-describedby="invalid-message" aria-invalid="${this.showInvalidStyle}" @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="${s(`relative flex flex-shrink-0 items-center justify-center border rounded-sm h-4 w-4
1
+ import{b as d}from"./chunk.5CK64GWQ.js";import{a as f}from"./chunk.D7TMPF3D.js";import{b as m}from"./chunk.65NSSTJE.js";import{a as p}from"./chunk.HE2LNCWW.js";import{a as n}from"./chunk.E2DRD2OX.js";import{a as s}from"./chunk.DCOFYPWX.js";import{a as c,b as r,c as u,d as a,h as o}from"./chunk.P7EPSHEQ.js";import{b as h,e as l}from"./chunk.IRWHG2Q4.js";import{e as t}from"./chunk.TJOCV4DC.js";var e=class extends o{constructor(){super(...arguments);this.formControlController=new m(this,{value:i=>i.checked?i.value||"on":void 0,defaultValue:i=>i.defaultChecked,setValue:(i,b)=>i.checked=b});this.title="";this.name="";this.size="lg";this.disabled=!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(){this.checked=!this.checked,this.indeterminate=!1,this.emit("sd-change")}handleBlur(){this.emit("sd-blur")}handleInput(){this.emit("sd-input")}handleInvalid(i){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(i),this.invalidMessage.textContent=i.target.validationMessage}handleFocus(){this.emit("sd-focus")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false"),this.formControlController.setValidity(this.disabled)}handleStateChange(){this.input.checked=this.checked,this.input.indeterminate=this.indeterminate,this.formControlController.updateValidity()}click(){this.input.click()}focus(i){this.input.focus(i)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(i){this.input.setCustomValidity(i),this.formControlController.updateValidity()}render(){let i=this.disabled&&this.indeterminate?"disabledIndeterminate":this.disabled&&this.checked?"disabledChecked":this.disabled?"disabled":this.showInvalidStyle&&this.indeterminate?"invalidIndeterminate":this.showInvalidStyle?"invalid":this.checked||this.indeterminate?"filled":"default";return l`<label part="base" class="${s("sd-4-0-0-next-10-checkbox group flex items-start text-base leading-normal text-black cursor-pointer",this.disabled&&"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.checked?"true":"false"}" aria-describedby="invalid-message" aria-invalid="${this.showInvalidStyle}" @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="${s(`relative flex flex-shrink-0 items-center justify-center border rounded-sm h-4 w-4
2
2
  peer-focus-visible:outline peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2
3
- peer-focus-visible:outline-primary`,{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",invalidIndeterminate:"border-error bg-error group-hover:bg-error-400",invalid:"border-error group-hover:bg-neutral-200",filled:"border-accent hover:border-accent-550 group-hover:border-accent-550 bg-accent group-hover:bg-accent-550",default:"border-neutral-800 hover:bg-neutral-200 group-hover:bg-neutral-200 bg-white"}[i])}">${this.checked?l`<sd-4-0-0-next-0-icon part="checked-icon" class="text-white w-3 h-3" library="system" name="status-check"></sd-4-0-0-next-0-icon>`:""} ${!this.checked&&this.indeterminate?l`<sd-4-0-0-next-0-icon part="indeterminate-icon" class="text-white w-3 h-3" library="system" name="status-minus"></sd-4-0-0-next-0-icon>`:""} </span><span part="label" id="label" class="${s("select-none inline-block ml-2",this.disabled?"text-neutral-500":this.showInvalidStyle?"text-error":"text-black")}"><slot></slot></span></label> ${this.formControlController.renderInvalidMessage()}`}};e.styles=[...o.styles,h`:host{display:block;width:-moz-max-content;width:max-content}:host(:focus-visible){outline-width:0}:host([required]) #label:after{content:" *"}`],t([a('input[type="checkbox"]')],e.prototype,"input",2),t([a("#invalid-message")],e.prototype,"invalidMessage",2),t([r()],e.prototype,"title",2),t([r()],e.prototype,"name",2),t([r()],e.prototype,"value",2),t([r({reflect:!0})],e.prototype,"size",2),t([r({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([r({type:Boolean,reflect:!0})],e.prototype,"checked",2),t([r({type:Boolean,reflect:!0})],e.prototype,"indeterminate",2),t([f("checked")],e.prototype,"defaultChecked",2),t([r({reflect:!0})],e.prototype,"form",2),t([r({type:Boolean,reflect:!0})],e.prototype,"required",2),t([u()],e.prototype,"showInvalidStyle",2),t([n("disabled",{waitUntilFirstUpdate:!0})],e.prototype,"handleDisabledChange",1),t([n(["checked","indeterminate"],{waitUntilFirstUpdate:!0})],e.prototype,"handleStateChange",1),e=t([c("sd-4-0-0-next-0-checkbox")],e);export{e as a};
3
+ peer-focus-visible:outline-primary`,{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",invalidIndeterminate:"border-error bg-error group-hover:bg-error-400",invalid:"border-error group-hover:bg-neutral-200",filled:"border-accent hover:border-accent-550 group-hover:border-accent-550 bg-accent group-hover:bg-accent-550",default:"border-neutral-800 hover:bg-neutral-200 group-hover:bg-neutral-200 bg-white"}[i])}">${this.checked?l`<sd-4-0-0-next-10-icon part="checked-icon" class="text-white w-3 h-3" library="system" name="status-check"></sd-4-0-0-next-10-icon>`:""} ${!this.checked&&this.indeterminate?l`<sd-4-0-0-next-10-icon part="indeterminate-icon" class="text-white w-3 h-3" library="system" name="status-minus"></sd-4-0-0-next-10-icon>`:""} </span><span part="label" id="label" class="${s("select-none inline-block ml-2",this.disabled?"text-neutral-500":this.showInvalidStyle?"text-error":"text-black")}"><slot></slot></span></label> ${this.formControlController.renderInvalidMessage()}`}};e.styles=[...o.styles,h`:host{display:block;width:-moz-max-content;width:max-content}:host(:focus-visible){outline-width:0}:host([required]) #label:after{content:" *"}`],t([a('input[type="checkbox"]')],e.prototype,"input",2),t([a("#invalid-message")],e.prototype,"invalidMessage",2),t([r()],e.prototype,"title",2),t([r()],e.prototype,"name",2),t([r()],e.prototype,"value",2),t([r({reflect:!0})],e.prototype,"size",2),t([r({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([r({type:Boolean,reflect:!0})],e.prototype,"checked",2),t([r({type:Boolean,reflect:!0})],e.prototype,"indeterminate",2),t([f("checked")],e.prototype,"defaultChecked",2),t([r({reflect:!0})],e.prototype,"form",2),t([r({type:Boolean,reflect:!0})],e.prototype,"required",2),t([u()],e.prototype,"showInvalidStyle",2),t([n("disabled",{waitUntilFirstUpdate:!0})],e.prototype,"handleDisabledChange",1),t([n(["checked","indeterminate"],{waitUntilFirstUpdate:!0})],e.prototype,"handleStateChange",1),e=t([c("sd-4-0-0-next-10-checkbox")],e);export{e as a};
@@ -1 +1 @@
1
- import{e as p}from"./chunk.IRWHG2Q4.js";import{a as l,b as m}from"./chunk.TJOCV4DC.js";var a=new WeakMap,n=new WeakMap,c=new WeakMap,d=new WeakMap,v=class{constructor(t,e){this.handleFormData=t=>{let e=this.options.disabled(this.host),o=this.options.name(this.host),i=this.options.value(this.host),s=this.host.tagName.toLowerCase()==="sd-4-0-0-next-0-button";!e&&!s&&typeof o=="string"&&o.length>0&&typeof i!="undefined"&&(Array.isArray(i)?i.forEach(r=>{t.formData.append(o,r.toString())}):t.formData.append(o,i.toString()))};this.handleFormSubmit=t=>{var i,s;let e=this.options.disabled(this.host),o=this.options.reportValidity;if(this.form&&!this.form.noValidate&&((i=a.get(this.form))==null||i.forEach(r=>{this.setUserInteracted(r,!0)})),this.form&&!this.form.noValidate&&!e&&!o(this.host)){t.preventDefault(),t.stopImmediatePropagation();let r=(s=this.form)==null?void 0:s.querySelectorAll("[data-invalid]");Array.from(r).filter(h=>h.tagName.toLowerCase()==="sd-4-0-0-next-0-radio-group").forEach(h=>{var f,u;(u=(f=h.shadowRoot)==null?void 0:f.querySelector("input"))==null||u.dispatchEvent(new Event("invalid"))}),r!=null&&r.length&&r[0].focus()}};this.handleFormReset=()=>{this.options.setValue(this.host,this.options.defaultValue(this.host)),this.setUserInteracted(this.host,!1),d.set(this.host,[])};this.handleInteraction=t=>{let e=d.get(this.host);e.includes(t.type)||e.push(t.type),e.length===this.options.assumeInteractionOn.length&&this.setUserInteracted(this.host,!0)};this.fakeUserInteraction=()=>{this.setUserInteracted(this.host,!0)};(this.host=t).addController(this),this.options=l({form:o=>{if(o.hasAttribute("form")&&o.getAttribute("form")!==""){let i=o.getRootNode(),s=o.getAttribute("form");if(s)return i.getElementById(s)}return o.closest("form")},name:o=>o.name,value:o=>o.value,defaultValue:o=>o.defaultValue,disabled:o=>{var i;return(i=o.disabled)!=null?i:!1},reportValidity:o=>typeof o.reportValidity=="function"?o.reportValidity():!0,setValue:(o,i)=>o.value=i,assumeInteractionOn:["sd-4-0-0-next-0-input"]},e)}hostConnected(){let t=this.options.form(this.host);t&&this.attachForm(t),d.set(this.host,[]),this.options.assumeInteractionOn.forEach(e=>{this.host.addEventListener(e,this.handleInteraction)})}hostDisconnected(){this.detachForm(),d.delete(this.host),this.options.assumeInteractionOn.forEach(t=>{this.host.removeEventListener(t,this.handleInteraction)})}hostUpdated(){var e;let t=this.options.form(this.host);t||this.detachForm(),t&&this.form!==t&&(this.detachForm(),this.attachForm(t)),this.host.hasUpdated&&(this.setValidity((e=this.host)==null?void 0:e.validity.valid),this.updateValidityStyle())}attachForm(t){t?(this.form=t,a.has(this.form)?a.get(this.form).add(this.host):a.set(this.form,new Set([this.host])),this.form.addEventListener("formdata",this.handleFormData),this.form.addEventListener("submit",this.handleFormSubmit),this.form.addEventListener("reset",this.handleFormReset),n.has(this.form)||(n.set(this.form,this.form.reportValidity),this.form.reportValidity=()=>this.reportFormValidity())):this.form=void 0}detachForm(){var t;this.form&&((t=a.get(this.form))==null||t.delete(this.host),this.form.removeEventListener("formdata",this.handleFormData),this.form.removeEventListener("submit",this.handleFormSubmit),this.form.removeEventListener("reset",this.handleFormReset),n.has(this.form)&&(this.form.reportValidity=n.get(this.form),n.delete(this.form))),this.form=void 0}reportFormValidity(){if(this.form&&!this.form.noValidate){let t=this.form.querySelectorAll("*");for(let e of t)if(typeof e.reportValidity=="function"&&!e.reportValidity())return!1}return!0}setUserInteracted(t,e){c.set(t,e),t.requestUpdate()}doAction(t,e){if(this.form){let o=document.createElement("button");o.type=t,o.style.position="absolute",o.style.width="0",o.style.height="0",o.style.clipPath="inset(50%)",o.style.overflow="hidden",o.style.whiteSpace="nowrap",e&&(o.name=e.name,o.value=e.value,["formaction","formenctype","formmethod","formnovalidate","formtarget"].forEach(i=>{e.hasAttribute(i)&&o.setAttribute(i,e.getAttribute(i))})),this.form.append(o),o.click(),o.remove()}}updateValidityStyle(){this.host.hasAttribute("data-user-valid")&&this.host.checkValidity()?(this.host.showValidStyle!==void 0&&(this.host.showValidStyle=!0),this.host.showInvalidStyle=!1):this.host.hasAttribute("data-user-invalid")&&!this.host.checkValidity()?(this.host.showValidStyle!==void 0&&(this.host.showValidStyle=!1),this.host.showInvalidStyle=!0):(this.host.showValidStyle!==void 0&&(this.host.showValidStyle=!1),this.host.showInvalidStyle=!1)}getForm(){var t;return(t=this.form)!=null?t:null}renderInvalidMessage(){return p`<div id="invalid-message" class="text-error text-sm mt-2 text-left" part="invalid-message" aria-live="polite" ?hidden="${!this.host.showInvalidStyle}"></div>`}reset(t){this.doAction("reset",t)}submit(t){this.doAction("submit",t)}setValidity(t){var s;let e=this.host,o=!!c.get(e),i=!!e.required;(s=this.form)!=null&&s.noValidate?(e.removeAttribute("data-required"),e.removeAttribute("data-optional"),e.removeAttribute("data-invalid"),e.removeAttribute("data-valid"),e.removeAttribute("data-user-invalid"),e.removeAttribute("data-user-valid"),e.removeAttribute("aria-invalid")):(e.toggleAttribute("data-required",i),e.toggleAttribute("data-optional",!i),e.toggleAttribute("data-invalid",!t),e.toggleAttribute("data-valid",t),e.toggleAttribute("data-user-invalid",!t&&o),e.toggleAttribute("data-user-valid",t&&o),e.setAttribute("aria-invalid",(!t).toString()))}updateValidity(){let t=this.host;this.setValidity(t==null?void 0:t.validity.valid)}emitInvalidEvent(t){t==null||t.preventDefault();let e=new CustomEvent("sd-invalid",{bubbles:!1,composed:!1,cancelable:!0,detail:{}});t||e.preventDefault()}},y=Object.freeze({badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:!0,valueMissing:!1}),F=Object.freeze(m(l({},y),{valid:!1,valueMissing:!0})),V=Object.freeze(m(l({},y),{valid:!1,customError:!0}));export{a,v as b,y as c,F as d,V as e};
1
+ import{e as p}from"./chunk.IRWHG2Q4.js";import{a as l,b as m}from"./chunk.TJOCV4DC.js";var a=new WeakMap,n=new WeakMap,c=new WeakMap,d=new WeakMap,v=class{constructor(t,e){this.handleFormData=t=>{let e=this.options.disabled(this.host),o=this.options.name(this.host),i=this.options.value(this.host),s=this.host.tagName.toLowerCase()==="sd-4-0-0-next-10-button";!e&&!s&&typeof o=="string"&&o.length>0&&typeof i!="undefined"&&(Array.isArray(i)?i.forEach(r=>{t.formData.append(o,r.toString())}):t.formData.append(o,i.toString()))};this.handleFormSubmit=t=>{var i,s;let e=this.options.disabled(this.host),o=this.options.reportValidity;if(this.form&&!this.form.noValidate&&((i=a.get(this.form))==null||i.forEach(r=>{this.setUserInteracted(r,!0)})),this.form&&!this.form.noValidate&&!e&&!o(this.host)){t.preventDefault(),t.stopImmediatePropagation();let r=(s=this.form)==null?void 0:s.querySelectorAll("[data-invalid]");Array.from(r).filter(h=>h.tagName.toLowerCase()==="sd-4-0-0-next-10-radio-group").forEach(h=>{var f,u;(u=(f=h.shadowRoot)==null?void 0:f.querySelector("input"))==null||u.dispatchEvent(new Event("invalid"))}),r!=null&&r.length&&r[0].focus()}};this.handleFormReset=()=>{this.options.setValue(this.host,this.options.defaultValue(this.host)),this.setUserInteracted(this.host,!1),d.set(this.host,[])};this.handleInteraction=t=>{let e=d.get(this.host);e.includes(t.type)||e.push(t.type),e.length===this.options.assumeInteractionOn.length&&this.setUserInteracted(this.host,!0)};this.fakeUserInteraction=()=>{this.setUserInteracted(this.host,!0)};(this.host=t).addController(this),this.options=l({form:o=>{if(o.hasAttribute("form")&&o.getAttribute("form")!==""){let i=o.getRootNode(),s=o.getAttribute("form");if(s)return i.getElementById(s)}return o.closest("form")},name:o=>o.name,value:o=>o.value,defaultValue:o=>o.defaultValue,disabled:o=>{var i;return(i=o.disabled)!=null?i:!1},reportValidity:o=>typeof o.reportValidity=="function"?o.reportValidity():!0,setValue:(o,i)=>o.value=i,assumeInteractionOn:["sd-4-0-0-next-10-input"]},e)}hostConnected(){let t=this.options.form(this.host);t&&this.attachForm(t),d.set(this.host,[]),this.options.assumeInteractionOn.forEach(e=>{this.host.addEventListener(e,this.handleInteraction)})}hostDisconnected(){this.detachForm(),d.delete(this.host),this.options.assumeInteractionOn.forEach(t=>{this.host.removeEventListener(t,this.handleInteraction)})}hostUpdated(){var e;let t=this.options.form(this.host);t||this.detachForm(),t&&this.form!==t&&(this.detachForm(),this.attachForm(t)),this.host.hasUpdated&&(this.setValidity((e=this.host)==null?void 0:e.validity.valid),this.updateValidityStyle())}attachForm(t){t?(this.form=t,a.has(this.form)?a.get(this.form).add(this.host):a.set(this.form,new Set([this.host])),this.form.addEventListener("formdata",this.handleFormData),this.form.addEventListener("submit",this.handleFormSubmit),this.form.addEventListener("reset",this.handleFormReset),n.has(this.form)||(n.set(this.form,this.form.reportValidity),this.form.reportValidity=()=>this.reportFormValidity())):this.form=void 0}detachForm(){var t;this.form&&((t=a.get(this.form))==null||t.delete(this.host),this.form.removeEventListener("formdata",this.handleFormData),this.form.removeEventListener("submit",this.handleFormSubmit),this.form.removeEventListener("reset",this.handleFormReset),n.has(this.form)&&(this.form.reportValidity=n.get(this.form),n.delete(this.form))),this.form=void 0}reportFormValidity(){if(this.form&&!this.form.noValidate){let t=this.form.querySelectorAll("*");for(let e of t)if(typeof e.reportValidity=="function"&&!e.reportValidity())return!1}return!0}setUserInteracted(t,e){c.set(t,e),t.requestUpdate()}doAction(t,e){if(this.form){let o=document.createElement("button");o.type=t,o.style.position="absolute",o.style.width="0",o.style.height="0",o.style.clipPath="inset(50%)",o.style.overflow="hidden",o.style.whiteSpace="nowrap",e&&(o.name=e.name,o.value=e.value,["formaction","formenctype","formmethod","formnovalidate","formtarget"].forEach(i=>{e.hasAttribute(i)&&o.setAttribute(i,e.getAttribute(i))})),this.form.append(o),o.click(),o.remove()}}updateValidityStyle(){this.host.hasAttribute("data-user-valid")&&this.host.checkValidity()?(this.host.showValidStyle!==void 0&&(this.host.showValidStyle=!0),this.host.showInvalidStyle=!1):this.host.hasAttribute("data-user-invalid")&&!this.host.checkValidity()?(this.host.showValidStyle!==void 0&&(this.host.showValidStyle=!1),this.host.showInvalidStyle=!0):(this.host.showValidStyle!==void 0&&(this.host.showValidStyle=!1),this.host.showInvalidStyle=!1)}getForm(){var t;return(t=this.form)!=null?t:null}renderInvalidMessage(){return p`<div id="invalid-message" class="text-error text-sm mt-2 text-left" part="invalid-message" aria-live="polite" ?hidden="${!this.host.showInvalidStyle}"></div>`}reset(t){this.doAction("reset",t)}submit(t){this.doAction("submit",t)}setValidity(t){var s;let e=this.host,o=!!c.get(e),i=!!e.required;(s=this.form)!=null&&s.noValidate?(e.removeAttribute("data-required"),e.removeAttribute("data-optional"),e.removeAttribute("data-invalid"),e.removeAttribute("data-valid"),e.removeAttribute("data-user-invalid"),e.removeAttribute("data-user-valid"),e.removeAttribute("aria-invalid")):(e.toggleAttribute("data-required",i),e.toggleAttribute("data-optional",!i),e.toggleAttribute("data-invalid",!t),e.toggleAttribute("data-valid",t),e.toggleAttribute("data-user-invalid",!t&&o),e.toggleAttribute("data-user-valid",t&&o),e.setAttribute("aria-invalid",(!t).toString()))}updateValidity(){let t=this.host;this.setValidity(t==null?void 0:t.validity.valid)}emitInvalidEvent(t){t==null||t.preventDefault();let e=new CustomEvent("sd-invalid",{bubbles:!1,composed:!1,cancelable:!0,detail:{}});t||e.preventDefault()}},y=Object.freeze({badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:!0,valueMissing:!1}),F=Object.freeze(m(l({},y),{valid:!1,valueMissing:!0})),V=Object.freeze(m(l({},y),{valid:!1,customError:!0}));export{a,v as b,y as c,F as d,V as e};
@@ -1 +1 @@
1
- import{a as n,b as i,g as c,h as o}from"./chunk.APMDRZQD.js";import{b as a,e as l}from"./chunk.IRWHG2Q4.js";import{e as t}from"./chunk.TJOCV4DC.js";var e=class extends o{constructor(){super(...arguments);this.closeOthers=!1;this.handleAccordionShow=r=>{this.closeOthers&&this._accordionsInDefaultSlot.forEach(s=>{s!==r.target&&s.parentNode===r.target.parentNode&&s.removeAttribute("open")})}}connectedCallback(){super.connectedCallback(),this.addEventListener("sd-show",this.handleAccordionShow)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("sd-show",this.handleAccordionShow)}render(){return l`<div part="base"><slot></slot></div>`}};e.styles=[...o.styles,a`:host{display:block}::slotted(sd-4-0-0-next-0-accordion:not(:first-of-type)){margin-top:-1px}`],t([c({selector:"sd-4-0-0-next-0-accordion"})],e.prototype,"_accordionsInDefaultSlot",2),t([i({attribute:"close-others",type:Boolean})],e.prototype,"closeOthers",2),e=t([n("sd-4-0-0-next-0-accordion-group")],e);export{e as a};
1
+ import{a as n,b as i,g as c,h as o}from"./chunk.P7EPSHEQ.js";import{b as a,e as l}from"./chunk.IRWHG2Q4.js";import{e as t}from"./chunk.TJOCV4DC.js";var e=class extends o{constructor(){super(...arguments);this.closeOthers=!1;this.handleAccordionShow=r=>{this.closeOthers&&this._accordionsInDefaultSlot.forEach(s=>{s!==r.target&&s.parentNode===r.target.parentNode&&s.removeAttribute("open")})}}connectedCallback(){super.connectedCallback(),this.addEventListener("sd-show",this.handleAccordionShow)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("sd-show",this.handleAccordionShow)}render(){return l`<div part="base"><slot></slot></div>`}};e.styles=[...o.styles,a`:host{display:block}::slotted(sd-4-0-0-next-10-accordion:not(:first-of-type)){margin-top:-1px}`],t([c({selector:"sd-4-0-0-next-10-accordion"})],e.prototype,"_accordionsInDefaultSlot",2),t([i({attribute:"close-others",type:Boolean})],e.prototype,"closeOthers",2),e=t([n("sd-4-0-0-next-10-accordion-group")],e);export{e as a};
@@ -0,0 +1 @@
1
+ import{a as i}from"./chunk.DCOFYPWX.js";import{a as l,b as r,h as s}from"./chunk.P7EPSHEQ.js";import{b as n,e as o}from"./chunk.IRWHG2Q4.js";import{e as t}from"./chunk.TJOCV4DC.js";var e=class extends s{constructor(){super(...arguments);this.size="lg";this.variant="blue";this.inverted=!1}render(){return o`<span role="status" part="base" aria-labelledby="content" class="${i("inline-flex items-center justify-center gap-x-[1px] text-center font-bold whitespace-nowrap border rounded-full select-none cursor-[inherit]",{blue:this.inverted?"text-primary bg-primary-100 border-primary":"text-white bg-primary-500 border-white",green:this.inverted?"text-white bg-success border-primary":"text-white bg-success border-white",red:this.inverted?"text-white bg-error border-primary":"text-white bg-error border-white"}[this.variant],{sm:"h-2 min-w-2",md:"h-4 px-1 min-w-4",lg:"h-5 min-w-5"}[this.size])}"><span id="content" part="content" class="${i(this.size==="sm"&&"sr-only")}"><slot></slot></span></span>`}};e.styles=[...s.styles,n`:host{align-items:center;display:inline-flex;justify-content:center}:host([size=md]){font-size:.625rem}:host([size=lg]){font-size:.75rem}:host([size=lg])::part(base){padding-left:.313rem;padding-right:.313rem}`],t([r({reflect:!0})],e.prototype,"size",2),t([r({reflect:!0})],e.prototype,"variant",2),t([r({type:Boolean,reflect:!0})],e.prototype,"inverted",2),e=t([l("sd-4-0-0-next-10-badge")],e);export{e as a};
@@ -0,0 +1 @@
1
+ import{a as r}from"./chunk.E2DRD2OX.js";import{a as m}from"./chunk.6HO6CE4A.js";import{a as o}from"./chunk.DCOFYPWX.js";import{a as h,b as l,h as n}from"./chunk.P7EPSHEQ.js";import{b as c,e as i}from"./chunk.IRWHG2Q4.js";import{e}from"./chunk.TJOCV4DC.js";var t=class extends n{constructor(){super(...arguments);this.hasSlotController=new m(this,"label");this.size="lg";this.orientation="vertical";this.label=""}getAllCheckboxes(){return[...this.querySelectorAll("sd-4-0-0-next-10-checkbox")]}async syncCheckboxElements(){let a=this.getAllCheckboxes();await Promise.all(a.map(async s=>{await s.updateComplete,s.size=this.size}))}syncCheckboxes(){customElements.get("sd-4-0-0-next-10-checkbox")?this.syncCheckboxElements():customElements.whenDefined("sd-4-0-0-next-10-checkbox").then(()=>this.syncCheckboxes())}handleSizeChange(){this.syncCheckboxes()}handleInvalid(){this.syncCheckboxes()}render(){let a=this.hasSlotController.test("label"),s=this.label?!0:a,d=i`<slot @slotchange="${this.syncCheckboxes}"></slot>`;return i`<fieldset part="form-control" class="${o("border-0 p-0 m-0",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}" role="group" aria-labelledby="label"><div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${o("p-0 font-bold leading-normal text-black",s?"flex":"hidden")}" aria-hidden="${s?"false":"true"}"><slot name="label">${this.label}</slot></label><slot name="tooltip"></slot></div><div part="form-control-input" class="${o({vertical:"flex flex-col",horizontal:"flex flex-row"}[this.orientation])}">${d}</div></fieldset>`}};t.styles=[...n.styles,c`:host{display:block}:host([orientation=vertical]) ::slotted(sd-4-0-0-next-10-checkbox){display:flex;margin-bottom:var(--sd-spacing-2,.5rem)}:host([orientation=vertical]) ::slotted(sd-4-0-0-next-10-checkbox:last-of-type){margin-bottom:var(--sd-spacing-0,0)}:host([orientation=horizontal]) ::slotted(sd-4-0-0-next-10-checkbox){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-4-0-0-next-10-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-4-0-0-next-10-checkbox){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-4-0-0-next-10-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}`],e([l({reflect:!0})],t.prototype,"size",2),e([l({reflect:!0})],t.prototype,"orientation",2),e([l()],t.prototype,"label",2),e([r("size",{waitUntilFirstUpdate:!0})],t.prototype,"handleSizeChange",1),e([r("invalid",{waitUntilFirstUpdate:!0})],t.prototype,"handleInvalid",1),t=e([h("sd-4-0-0-next-10-checkbox-group")],t);export{t as a};