@solid-design-system/components 4.0.0-next.2 → 4.0.0-next.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (293) hide show
  1. package/cdn/chunks/chunk.3ATYVOO4.js +1 -0
  2. package/cdn/chunks/chunk.4HIKTDIM.js +40 -0
  3. package/cdn/chunks/chunk.C2PA7CKF.js +1 -0
  4. package/cdn/chunks/{chunk.IVXFAQNG.js → chunk.DEX5VJGX.js} +1 -1
  5. package/cdn/chunks/{chunk.BTRVMAGL.js → chunk.DMLGBWCL.js} +1 -1
  6. package/cdn/chunks/{chunk.GUOHZTA7.js → chunk.F7J6HN76.js} +1 -1
  7. package/cdn/chunks/chunk.ITRQVXFY.js +1 -0
  8. package/cdn/chunks/{chunk.E7HNNYP6.js → chunk.MX22EZXK.js} +1 -1
  9. package/cdn/chunks/{chunk.5BROLR6V.js → chunk.ROBLMI7Q.js} +1 -1
  10. package/cdn/chunks/{chunk.WMRFVNYU.js → chunk.ZRIABVVM.js} +1 -1
  11. package/cdn/components/accordion/accordion.d.ts +5 -3
  12. package/cdn/components/accordion/accordion.js +1 -1
  13. package/cdn/components/accordion-group/accordion-group.js +1 -1
  14. package/cdn/components/button/button.js +1 -1
  15. package/cdn/components/combobox/combobox.js +1 -1
  16. package/cdn/components/dialog/dialog.js +1 -1
  17. package/cdn/components/drawer/drawer.js +1 -1
  18. package/cdn/components/flipcard/flipcard.js +1 -1
  19. package/cdn/components/map-marker/map-marker.js +1 -1
  20. package/cdn/components/navigation-item/navigation-item.js +1 -1
  21. package/cdn/components/quickfact/quickfact.d.ts +1 -1
  22. package/cdn/components/quickfact/quickfact.js +1 -1
  23. package/cdn/components/select/select.js +1 -1
  24. package/cdn/components/step/step.js +1 -1
  25. package/cdn/components/tab/tab.d.ts +1 -0
  26. package/cdn/components/tab/tab.js +1 -1
  27. package/cdn/components/tag/tag.js +1 -1
  28. package/cdn/custom-elements.json +19 -1
  29. package/cdn/solid-components.bundle.js +52 -13
  30. package/cdn/solid-components.iife.js +52 -13
  31. package/cdn/solid-components.js +1 -1
  32. package/cdn/web-types.json +3 -1
  33. package/cdn-versioned/_components/menu/menu.js +1 -1
  34. package/cdn-versioned/_components/menu/menu.styles.js +1 -1
  35. package/cdn-versioned/_components/menu-item/menu-item.js +2 -2
  36. package/cdn-versioned/chunks/chunk.24SF73MY.js +1 -1
  37. package/cdn-versioned/chunks/chunk.36Z2VDHI.js +1 -1
  38. package/cdn-versioned/chunks/chunk.3ATYVOO4.js +1 -0
  39. package/cdn-versioned/chunks/chunk.4HIKTDIM.js +40 -0
  40. package/cdn-versioned/chunks/chunk.4W3WLVGR.js +1 -1
  41. package/cdn-versioned/chunks/chunk.5ZDWEJDB.js +1 -1
  42. package/cdn-versioned/chunks/chunk.65NSSTJE.js +1 -1
  43. package/cdn-versioned/chunks/chunk.6JBTCFHE.js +2 -2
  44. package/cdn-versioned/chunks/chunk.7M7VCE7R.js +1 -1
  45. package/cdn-versioned/chunks/chunk.7RJ3O2FV.js +1 -1
  46. package/cdn-versioned/chunks/chunk.APMDRZQD.js +1 -1
  47. package/cdn-versioned/chunks/chunk.C2PA7CKF.js +1 -0
  48. package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
  49. package/cdn-versioned/chunks/{chunk.IVXFAQNG.js → chunk.DEX5VJGX.js} +4 -4
  50. package/cdn-versioned/chunks/{chunk.BTRVMAGL.js → chunk.DMLGBWCL.js} +1 -1
  51. package/cdn-versioned/chunks/chunk.DVHKKAVM.js +1 -1
  52. package/cdn-versioned/chunks/chunk.EWWGLHC5.js +1 -1
  53. package/cdn-versioned/chunks/{chunk.GUOHZTA7.js → chunk.F7J6HN76.js} +1 -1
  54. package/cdn-versioned/chunks/chunk.FD54463O.js +1 -1
  55. package/cdn-versioned/chunks/chunk.FFNTXFC3.js +1 -1
  56. package/cdn-versioned/chunks/chunk.FX3ED655.js +1 -1
  57. package/cdn-versioned/chunks/chunk.GOVNZSCO.js +1 -1
  58. package/cdn-versioned/chunks/chunk.GQSLHWQC.js +1 -1
  59. package/cdn-versioned/chunks/chunk.ISEQUO4U.js +1 -1
  60. package/cdn-versioned/chunks/chunk.ITRQVXFY.js +1 -0
  61. package/cdn-versioned/chunks/chunk.IZKUI5WK.js +1 -1
  62. package/cdn-versioned/chunks/chunk.KMLMMBY4.js +1 -1
  63. package/cdn-versioned/chunks/chunk.LLXTYJXF.js +1 -1
  64. package/cdn-versioned/chunks/chunk.LZEFLOSA.js +1 -1
  65. package/cdn-versioned/chunks/chunk.MPP7HYX7.js +1 -1
  66. package/cdn-versioned/chunks/{chunk.E7HNNYP6.js → chunk.MX22EZXK.js} +1 -1
  67. package/cdn-versioned/chunks/chunk.ND7BT52X.js +1 -1
  68. package/cdn-versioned/chunks/chunk.NUB5WHGD.js +1 -1
  69. package/cdn-versioned/chunks/chunk.O4UXOQEI.js +1 -1
  70. package/cdn-versioned/chunks/chunk.OVV7TNT2.js +1 -1
  71. package/cdn-versioned/chunks/chunk.PBPFKJKV.js +1 -1
  72. package/cdn-versioned/chunks/chunk.QFNCQQ6S.js +1 -1
  73. package/cdn-versioned/chunks/chunk.QNZWJACC.js +2 -2
  74. package/cdn-versioned/chunks/chunk.R354E6ZD.js +1 -1
  75. package/cdn-versioned/chunks/{chunk.5BROLR6V.js → chunk.ROBLMI7Q.js} +4 -4
  76. package/cdn-versioned/chunks/chunk.SNUMAAEG.js +1 -1
  77. package/cdn-versioned/chunks/chunk.TA7CZCP3.js +1 -1
  78. package/cdn-versioned/chunks/chunk.U443X4TI.js +1 -1
  79. package/cdn-versioned/chunks/chunk.UBFU6D5B.js +1 -1
  80. package/cdn-versioned/chunks/chunk.URB2K7JQ.js +1 -1
  81. package/cdn-versioned/chunks/chunk.VNKUGTKM.js +1 -1
  82. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  83. package/cdn-versioned/chunks/chunk.WENTMXB2.js +1 -1
  84. package/cdn-versioned/chunks/chunk.WGNXYONB.js +1 -1
  85. package/cdn-versioned/chunks/chunk.WQAPHFVM.js +1 -1
  86. package/cdn-versioned/chunks/chunk.YF5WEC4R.js +2 -2
  87. package/cdn-versioned/chunks/chunk.ZFA2VPUT.js +1 -1
  88. package/cdn-versioned/chunks/{chunk.WMRFVNYU.js → chunk.ZRIABVVM.js} +2 -2
  89. package/cdn-versioned/components/accordion/accordion.d.ts +6 -4
  90. package/cdn-versioned/components/accordion/accordion.js +1 -1
  91. package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  92. package/cdn-versioned/components/accordion-group/accordion-group.js +1 -1
  93. package/cdn-versioned/components/animation/animation.d.ts +1 -1
  94. package/cdn-versioned/components/audio/audio.d.ts +1 -1
  95. package/cdn-versioned/components/badge/badge.d.ts +1 -1
  96. package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
  97. package/cdn-versioned/components/button/button.d.ts +1 -1
  98. package/cdn-versioned/components/button/button.js +1 -1
  99. package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
  100. package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
  101. package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  102. package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
  103. package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  104. package/cdn-versioned/components/combobox/combobox.d.ts +4 -4
  105. package/cdn-versioned/components/combobox/combobox.js +1 -1
  106. package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
  107. package/cdn-versioned/components/dialog/dialog.js +1 -1
  108. package/cdn-versioned/components/divider/divider.d.ts +1 -1
  109. package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
  110. package/cdn-versioned/components/drawer/drawer.js +1 -1
  111. package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
  112. package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
  113. package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
  114. package/cdn-versioned/components/flipcard/flipcard.js +1 -1
  115. package/cdn-versioned/components/header/header.d.ts +1 -1
  116. package/cdn-versioned/components/icon/icon.d.ts +1 -1
  117. package/cdn-versioned/components/include/include.d.ts +1 -1
  118. package/cdn-versioned/components/input/input.d.ts +1 -1
  119. package/cdn-versioned/components/link/link.d.ts +1 -1
  120. package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
  121. package/cdn-versioned/components/map-marker/map-marker.js +1 -1
  122. package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  123. package/cdn-versioned/components/navigation-item/navigation-item.js +1 -1
  124. package/cdn-versioned/components/notification/notification.d.ts +1 -1
  125. package/cdn-versioned/components/optgroup/optgroup.d.ts +2 -2
  126. package/cdn-versioned/components/option/option.d.ts +1 -1
  127. package/cdn-versioned/components/popup/popup.d.ts +1 -1
  128. package/cdn-versioned/components/quickfact/quickfact.d.ts +2 -2
  129. package/cdn-versioned/components/quickfact/quickfact.js +1 -1
  130. package/cdn-versioned/components/radio/radio.d.ts +1 -1
  131. package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
  132. package/cdn-versioned/components/radio-group/radio-group.d.ts +2 -2
  133. package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
  134. package/cdn-versioned/components/select/select.d.ts +4 -4
  135. package/cdn-versioned/components/select/select.js +1 -1
  136. package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
  137. package/cdn-versioned/components/step/step.d.ts +1 -1
  138. package/cdn-versioned/components/step/step.js +1 -1
  139. package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
  140. package/cdn-versioned/components/switch/switch.d.ts +1 -1
  141. package/cdn-versioned/components/tab/tab.d.ts +2 -1
  142. package/cdn-versioned/components/tab/tab.js +1 -1
  143. package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
  144. package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  145. package/cdn-versioned/components/tag/tag.d.ts +1 -1
  146. package/cdn-versioned/components/tag/tag.js +1 -1
  147. package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
  148. package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
  149. package/cdn-versioned/components/video/video.d.ts +1 -1
  150. package/cdn-versioned/custom-elements.json +220 -202
  151. package/cdn-versioned/internal/form.js +3 -3
  152. package/cdn-versioned/solid-components.bundle.js +54 -15
  153. package/cdn-versioned/solid-components.css +2 -2
  154. package/cdn-versioned/solid-components.iife.js +54 -15
  155. package/cdn-versioned/solid-components.js +1 -1
  156. package/cdn-versioned/vscode.html-custom-data.json +80 -80
  157. package/cdn-versioned/web-types.json +139 -137
  158. package/dist/chunks/{chunk.6JI7NL3E.js → chunk.4JZQQD4L.js} +48 -6
  159. package/dist/chunks/{chunk.7BEDTYS7.js → chunk.743FPQRN.js} +8 -1
  160. package/dist/chunks/{chunk.DAM3ICHP.js → chunk.TWXYFPBS.js} +31 -5
  161. package/dist/components/accordion/accordion.d.ts +5 -3
  162. package/dist/components/accordion/accordion.js +1 -1
  163. package/dist/components/accordion-group/accordion-group.js +1 -1
  164. package/dist/components/quickfact/quickfact.d.ts +1 -1
  165. package/dist/components/quickfact/quickfact.js +2 -2
  166. package/dist/components/tab/tab.d.ts +1 -0
  167. package/dist/components/tab/tab.js +2 -1
  168. package/dist/custom-elements.json +19 -1
  169. package/dist/solid-components.js +3 -3
  170. package/dist/web-types.json +3 -1
  171. package/dist-versioned/_components/menu/menu.js +1 -1
  172. package/dist-versioned/_components/menu/menu.styles.js +1 -1
  173. package/dist-versioned/_components/menu-item/menu-item.js +2 -2
  174. package/dist-versioned/chunks/chunk.2IBVAXOX.js +1 -1
  175. package/dist-versioned/chunks/chunk.3IT4HBTI.js +1 -1
  176. package/dist-versioned/chunks/chunk.3LGDUVS4.js +2 -2
  177. package/dist-versioned/chunks/chunk.4JZQQD4L.js +107 -0
  178. package/dist-versioned/chunks/chunk.4QKRGAOL.js +4 -4
  179. package/dist-versioned/chunks/chunk.4RGGPCD5.js +2 -2
  180. package/dist-versioned/chunks/chunk.56SNEGI4.js +13 -13
  181. package/dist-versioned/chunks/chunk.65BWRJEA.js +5 -5
  182. package/dist-versioned/chunks/chunk.6CUAQSFA.js +2 -2
  183. package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
  184. package/dist-versioned/chunks/chunk.727ERQ4F.js +2 -2
  185. package/dist-versioned/chunks/{chunk.7BEDTYS7.js → chunk.743FPQRN.js} +10 -3
  186. package/dist-versioned/chunks/chunk.76ZNNLGN.js +1 -1
  187. package/dist-versioned/chunks/chunk.7OHSCBBX.js +1 -1
  188. package/dist-versioned/chunks/chunk.BVC5FY4L.js +13 -13
  189. package/dist-versioned/chunks/chunk.BXB5WF23.js +5 -5
  190. package/dist-versioned/chunks/chunk.D6JZ4IKM.js +1 -1
  191. package/dist-versioned/chunks/chunk.DQPVSTUQ.js +3 -3
  192. package/dist-versioned/chunks/chunk.EFEBQQHC.js +26 -26
  193. package/dist-versioned/chunks/chunk.EKFRFDTB.js +5 -5
  194. package/dist-versioned/chunks/chunk.H655M7FD.js +1 -1
  195. package/dist-versioned/chunks/chunk.HPR3PWAE.js +3 -3
  196. package/dist-versioned/chunks/chunk.I3PY3VYP.js +29 -29
  197. package/dist-versioned/chunks/chunk.IN3GJ5QL.js +3 -3
  198. package/dist-versioned/chunks/chunk.J2XBUIBC.js +2 -2
  199. package/dist-versioned/chunks/chunk.J7MMF6WJ.js +2 -2
  200. package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
  201. package/dist-versioned/chunks/chunk.MTSAWJLV.js +2 -2
  202. package/dist-versioned/chunks/chunk.NM6QP6RJ.js +2 -2
  203. package/dist-versioned/chunks/chunk.PDRECIYA.js +1 -1
  204. package/dist-versioned/chunks/chunk.PGZ5AWZ2.js +9 -9
  205. package/dist-versioned/chunks/chunk.PIR4YJUS.js +2 -2
  206. package/dist-versioned/chunks/chunk.QAZYUCBK.js +6 -6
  207. package/dist-versioned/chunks/chunk.QCICV36Z.js +6 -6
  208. package/dist-versioned/chunks/chunk.QP3SM2LZ.js +3 -3
  209. package/dist-versioned/chunks/chunk.R4BETATX.js +1 -1
  210. package/dist-versioned/chunks/chunk.RNSJAVQE.js +1 -1
  211. package/dist-versioned/chunks/chunk.RZRTIYXA.js +1 -1
  212. package/dist-versioned/chunks/chunk.SPBPHTSS.js +2 -2
  213. package/dist-versioned/chunks/chunk.SSH6ATRK.js +2 -2
  214. package/dist-versioned/chunks/{chunk.DAM3ICHP.js → chunk.TWXYFPBS.js} +32 -6
  215. package/dist-versioned/chunks/chunk.U5NFPAOX.js +2 -2
  216. package/dist-versioned/chunks/chunk.U6RY25TF.js +2 -2
  217. package/dist-versioned/chunks/chunk.UC5E3AEF.js +1 -1
  218. package/dist-versioned/chunks/chunk.UDZYWRPT.js +1 -1
  219. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  220. package/dist-versioned/chunks/chunk.V7TQ6VJU.js +1 -1
  221. package/dist-versioned/chunks/chunk.VHGHICFG.js +2 -2
  222. package/dist-versioned/chunks/chunk.WWS3CQ2Z.js +5 -5
  223. package/dist-versioned/chunks/chunk.XVFJS7VS.js +5 -5
  224. package/dist-versioned/chunks/chunk.Z2UY62T2.js +1 -1
  225. package/dist-versioned/chunks/chunk.ZGPGFEVP.js +5 -5
  226. package/dist-versioned/chunks/chunk.ZWJI7SLE.js +11 -11
  227. package/dist-versioned/components/accordion/accordion.d.ts +6 -4
  228. package/dist-versioned/components/accordion/accordion.js +1 -1
  229. package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  230. package/dist-versioned/components/accordion-group/accordion-group.js +1 -1
  231. package/dist-versioned/components/animation/animation.d.ts +1 -1
  232. package/dist-versioned/components/audio/audio.d.ts +1 -1
  233. package/dist-versioned/components/badge/badge.d.ts +1 -1
  234. package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
  235. package/dist-versioned/components/button/button.d.ts +1 -1
  236. package/dist-versioned/components/button-group/button-group.d.ts +1 -1
  237. package/dist-versioned/components/carousel/carousel.d.ts +1 -1
  238. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  239. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  240. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  241. package/dist-versioned/components/combobox/combobox.d.ts +4 -4
  242. package/dist-versioned/components/dialog/dialog.d.ts +1 -1
  243. package/dist-versioned/components/divider/divider.d.ts +1 -1
  244. package/dist-versioned/components/drawer/drawer.d.ts +1 -1
  245. package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
  246. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  247. package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
  248. package/dist-versioned/components/header/header.d.ts +1 -1
  249. package/dist-versioned/components/icon/icon.d.ts +1 -1
  250. package/dist-versioned/components/include/include.d.ts +1 -1
  251. package/dist-versioned/components/input/input.d.ts +1 -1
  252. package/dist-versioned/components/link/link.d.ts +1 -1
  253. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  254. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  255. package/dist-versioned/components/notification/notification.d.ts +1 -1
  256. package/dist-versioned/components/optgroup/optgroup.d.ts +2 -2
  257. package/dist-versioned/components/option/option.d.ts +1 -1
  258. package/dist-versioned/components/popup/popup.d.ts +1 -1
  259. package/dist-versioned/components/quickfact/quickfact.d.ts +2 -2
  260. package/dist-versioned/components/quickfact/quickfact.js +2 -2
  261. package/dist-versioned/components/radio/radio.d.ts +1 -1
  262. package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
  263. package/dist-versioned/components/radio-group/radio-group.d.ts +2 -2
  264. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  265. package/dist-versioned/components/select/select.d.ts +4 -4
  266. package/dist-versioned/components/spinner/spinner.d.ts +1 -1
  267. package/dist-versioned/components/step/step.d.ts +1 -1
  268. package/dist-versioned/components/step-group/step-group.d.ts +1 -1
  269. package/dist-versioned/components/switch/switch.d.ts +1 -1
  270. package/dist-versioned/components/tab/tab.d.ts +2 -1
  271. package/dist-versioned/components/tab/tab.js +2 -1
  272. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  273. package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  274. package/dist-versioned/components/tag/tag.d.ts +1 -1
  275. package/dist-versioned/components/textarea/textarea.d.ts +1 -1
  276. package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
  277. package/dist-versioned/components/video/video.d.ts +1 -1
  278. package/dist-versioned/custom-elements.json +220 -202
  279. package/dist-versioned/internal/form.js +3 -3
  280. package/dist-versioned/solid-components.css +2 -2
  281. package/dist-versioned/solid-components.js +3 -3
  282. package/dist-versioned/vscode.html-custom-data.json +80 -80
  283. package/dist-versioned/web-types.json +139 -137
  284. package/package.json +2 -2
  285. package/cdn/chunks/chunk.2UHPWLJE.js +0 -1
  286. package/cdn/chunks/chunk.FREYGZDJ.js +0 -1
  287. package/cdn/chunks/chunk.KFW32Q4Q.js +0 -1
  288. package/cdn/chunks/chunk.MMRILMYU.js +0 -1
  289. package/cdn-versioned/chunks/chunk.2UHPWLJE.js +0 -1
  290. package/cdn-versioned/chunks/chunk.FREYGZDJ.js +0 -1
  291. package/cdn-versioned/chunks/chunk.KFW32Q4Q.js +0 -1
  292. package/cdn-versioned/chunks/chunk.MMRILMYU.js +0 -1
  293. package/dist-versioned/chunks/chunk.6JI7NL3E.js +0 -65
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@solid-design-system/components",
3
3
  "description": "Solid Design System: Components",
4
- "version": "4.0.0-next.2",
4
+ "version": "4.0.0-next.4",
5
5
  "homepage": "https://solid-design-system.fe.union-investment.de/docs/",
6
6
  "author": "Union Investment",
7
7
  "license": "MIT",
@@ -108,7 +108,7 @@
108
108
  "readme": "README.md",
109
109
  "meta": {
110
110
  "bundleSizeInKb": {
111
- "uncompressed": 397,
111
+ "uncompressed": 398,
112
112
  "gzip": 94
113
113
  }
114
114
  },
@@ -1 +0,0 @@
1
- import{a}from"./chunk.HE2LNCWW.js";import{a as i}from"./chunk.KFW32Q4Q.js";import{a as n}from"./chunk.A3DKF5BY.js";import{a as e}from"./chunk.DCOFYPWX.js";import{a as l,b as d}from"./chunk.APMDRZQD.js";import{b as o,e as r}from"./chunk.IRWHG2Q4.js";import{e as s}from"./chunk.TJOCV4DC.js";var t=class extends i{constructor(){super(...arguments);this.expandable=!1}render(){return r`<div part="base" class="sm:p-6"><header part="header" id="header" class="${e("text-base font-bold items-center focus-visible:focus-outline text-primary relative group flex flex-row hover:bg-transparent gap-3 pb-3 pt-0 px-0 sm:flex-col sm:gap-4 sm:pb-8",this.expandable&&"cursor-pointer select-none")}" role="${a(this.expandable?"button":void 0)}" aria-expanded="${a(this.expandable?this.open?"true":"false":void 0)}" aria-controls="${a(this.expandable?"content":void 0)}" tabindex="${this.expandable?"0":"-1"}" @click="${this.expandable?this.handleSummaryClick:null}" @keydown="${this.expandable?this.handleSummaryKeyDown:null}"><div part="icon" class="${e("flex flex-grow-0 flex-shrink-0 flex-auto items-center",!this.expandable&&"cursor-default")}"><slot name="icon"></slot></div><slot name="summary" part="summary" class="${e("flex flex-auto items-start text-left text-base leading-normal font-normal sm:leading-tight sm:text-3xl sm:text-center",this.expandable?"text-primary":"text-black cursor-default")}">${this.summary}</slot><span part="summary-icon" class="${e("flex flex-grow-0 flex-shrink-0 flex-auto self-start sm:self-center transition-all ease-in-out duration-300 text-xl sm:text-4xl sm:mt-2",this.open&&"rotate-180",!this.expandable&&"hidden")}"><slot name="expand-icon" class="${e(this.open&&"hidden")}"><sd-icon library="system" name="chevron-down"></sd-icon></slot><slot name="collapse-icon" class="${e(!this.open&&"hidden")}"><sd-icon library="system" name="chevron-down"></sd-icon></slot></span></header><div part="content" id="content" class="${e("overflow-hidden",!this.expandable&&"hidden")}"><slot part="content__slot" class="block" role="region" aria-labelledby="header"></slot></div></div>`}};t.styles=[...i.styles,o`:host{display:block}@media (min-width:640px){[part=summary-icon]{font-size:var(--sd-spacing-12,3rem)}}[part=icon]{font-size:var(--sd-spacing-12,3rem)}@media (min-width:640px){[part=icon]{font-size:var(--sd-spacing-24,6rem)}}`],s([d({type:Boolean,reflect:!0})],t.prototype,"expandable",2),t=s([l("sd-quickfact")],t);n("quickfact.show",{keyframes:[{height:"0",opacity:"0"},{height:"auto",opacity:"1"}],options:{duration:300,easing:"ease"}});n("quickfact.hide",{keyframes:[{height:"auto",opacity:"1"},{height:"0",opacity:"0"}],options:{duration:300,easing:"ease"}});export{t as a};
@@ -1 +0,0 @@
1
- import{a,b as n}from"./chunk.5ZILM4TA.js";import{a as s}from"./chunk.HE2LNCWW.js";import{a as o}from"./chunk.DCOFYPWX.js";import{a as m,b as i,d as b,h as l}from"./chunk.APMDRZQD.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?a`a`:a`button`;return n`<${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="${o("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?n`<slot part="removable-indicator" name="removable-indicator" @click="${this.handleRemoveClick}" class="${o({lg:"text-base",sm:"text-[12px]"}[this.size])}"><sd-icon library="system" name="close" label="remove"></sd-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-tag")],e);export{e as a};
@@ -1 +0,0 @@
1
- import{a as m,c}from"./chunk.A3DKF5BY.js";import{a as h,d,e as p}from"./chunk.RQYP7MH5.js";import{a as y}from"./chunk.KLRPP4NQ.js";import{a as w}from"./chunk.E2DRD2OX.js";import{a as g}from"./chunk.26YUWEYR.js";import{a as s}from"./chunk.DCOFYPWX.js";import{a as b,b as n,d as o,h as l}from"./chunk.APMDRZQD.js";import{b as f,e as u}from"./chunk.IRWHG2Q4.js";import{e as i}from"./chunk.TJOCV4DC.js";var e=class extends l{constructor(){super(...arguments);this.localize=new g(this);this.open=!1}firstUpdated(){this.body.hidden=!this.open,this.body.style.height=this.open?"auto":"0"}handleSummaryClick(){this.open?this.hide():this.show()}handleSummaryKeyDown(t){(t.key==="Enter"||t.key===" ")&&(t.preventDefault(),this.open?this.hide():this.show()),(t.key==="ArrowUp"||t.key==="ArrowLeft")&&(t.preventDefault(),this.hide()),(t.key==="ArrowDown"||t.key==="ArrowRight")&&(t.preventDefault(),this.show())}async handleOpenChange(){if(this.open){if(this.emit("sd-show",{cancelable:!0}).defaultPrevented){this.open=!1;return}await d(this.body),this.body.hidden=!1;let{keyframes:a,options:r}=c(this,"accordion.show",{dir:this.localize.dir()});await h(this.body,p(a,this.body.scrollHeight),r),this.body.style.height="auto",this.emit("sd-after-show")}else{if(this.emit("sd-hide",{cancelable:!0}).defaultPrevented){this.open=!0;return}await d(this.body);let{keyframes:a,options:r}=c(this,"accordion.hide",{dir:this.localize.dir()});await h(this.body,p(a,this.body.scrollHeight),r),this.body.hidden=!0,this.body.style.height="auto",this.emit("sd-after-hide")}}async show(){if(!this.open)return this.open=!0,y(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,y(this,"sd-after-hide")}render(){return u`<div part="base" class="border-y border-neutral-400"><header part="header" id="header" class="${s("flex text-base gap-4 font-bold items-center cursor-pointer select-none px-4 py-3 focus-visible:focus-outline text-primary hover:bg-neutral-200 relative group")}" role="button" aria-expanded="${this.open?"true":"false"}" aria-controls="content" tabindex="0" @click="${this.handleSummaryClick}" @keydown="${this.handleSummaryKeyDown}"><div part="summary-border" class="${s(!this.open&&"opacity-0","w-1 bg-accent absolute left-0 transition-all h-[calc(100%-16px)] group-hover:h-full")}"></div><slot name="summary" part="summary" class="flex flex-auto items-center text-left">${this.summary}</slot><span part="summary-icon" class="${s("flex flex-grow-0 flex-shrink-0 flex-auto items-center transition-all ease-in-out duration-300 text-xl",this.open&&"rotate-180")}"><slot name="expand-icon" class="${s(this.open&&"hidden")}"><sd-icon library="system" name="chevron-down"></sd-icon></slot><slot name="collapse-icon" class="${s(!this.open&&"hidden")}"><sd-icon library="system" name="chevron-down"></sd-icon></slot></span></header><div part="content" id="content" class="overflow-hidden"><slot part="content__slot" class="block px-4 py-6" role="region" aria-labelledby="header"></slot></div></div>`}};e.styles=[...l.styles,f`:host{display:block}`],i([o('[part="base"]')],e.prototype,"accordion",2),i([o('[part="header"]')],e.prototype,"header",2),i([o('[part="content"]')],e.prototype,"body",2),i([n({type:Boolean,reflect:!0})],e.prototype,"open",2),i([n()],e.prototype,"summary",2),i([w("open",{waitUntilFirstUpdate:!0})],e.prototype,"handleOpenChange",1),e=i([b("sd-accordion")],e);m("accordion.show",{keyframes:[{height:"0",opacity:"0"},{height:"auto",opacity:"1"}],options:{duration:300,easing:"ease"}});m("accordion.hide",{keyframes:[{height:"auto",opacity:"1"},{height:"0",opacity:"0"}],options:{duration:300,easing:"ease"}});export{e as a};
@@ -1 +0,0 @@
1
- import{a}from"./chunk.E2DRD2OX.js";import{a as i}from"./chunk.DCOFYPWX.js";import{a as n,b as r,d,h as o}from"./chunk.APMDRZQD.js";import{b as s,e as l}from"./chunk.IRWHG2Q4.js";import{e}from"./chunk.TJOCV4DC.js";var b=0,t=class extends o{constructor(){super(...arguments);this.attrId=++b;this.componentId=`sd-tab-${this.attrId}`;this.variant="default";this.active=!1;this.disabled=!1;this.panel=""}connectedCallback(){super.connectedCallback(),this.setAttribute("role","tab")}handleActiveChange(){this.setAttribute("aria-selected",this.active?"true":"false")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}focus(c){this.tab.focus(c)}blur(){this.tab.blur()}render(){return this.id=this.id.length>0?this.id:this.componentId,l`<div part="base" class="${i("inline-flex min-w-max h-12 px-3 leading-none items-center justify-center whitespace-nowrap select-none cursor-pointer group relative focus-visible:focus-outline outline-2 !-outline-offset-2",this.variant==="container"&&" rounded-[4px_4px_0_0]",this.variant==="container"&&this.active&&"tab--active-container-border bg-white",this.disabled?"opacity-50 !cursor-not-allowed":"hover:bg-neutral-200")}" tabindex="${this.disabled?"-1":this.active?"0":"-1"}"><slot name="left" class="${i("pr-2",this.disabled?"text-neutral-500":"text-primary")}"></slot><slot class="${i(this.disabled?"text-neutral-500":"text-primary")}"></slot><div part="active-tab-indicator" class="${i((!this.active||this.disabled)&&"hidden","absolute bottom-0 h-1 bg-accent",this.variant==="default"?"w-full":"w-3/4 group-hover:w-full transition-all duration-200 ease-in-out")}"></div><div part="hover-bottom-border" class="${i(!this.active&&!this.disabled&&"absolute w-full h-0.25 bottom-0 border-b border-neutral-400 invisible group-hover:visible")}"></div></div>`}};t.styles=[...o.styles,s`:host{box-sizing:border-box;display:block}.tab--active-container-border:after{border-width:1px;content:"";height:100%;position:absolute;width:100%;--tw-border-opacity:1;border-color:rgb(var(--sd-color-neutral-400,195 195 195)/var(--tw-border-opacity,1));border-bottom:none;border-radius:4px 4px 0 0}`],e([d("[part=base]")],t.prototype,"tab",2),e([r({type:String,reflect:!0})],t.prototype,"variant",2),e([r({type:Boolean,reflect:!0})],t.prototype,"active",2),e([r({type:Boolean,reflect:!0})],t.prototype,"disabled",2),e([r({reflect:!0})],t.prototype,"panel",2),e([a("active")],t.prototype,"handleActiveChange",1),e([a("disabled")],t.prototype,"handleDisabledChange",1),t=e([n("sd-tab")],t);export{t as a};
@@ -1 +0,0 @@
1
- import{a}from"./chunk.HE2LNCWW.js";import{a as i}from"./chunk.KFW32Q4Q.js";import{a as n}from"./chunk.A3DKF5BY.js";import{a as e}from"./chunk.DCOFYPWX.js";import{a as l,b as d}from"./chunk.APMDRZQD.js";import{b as o,e as r}from"./chunk.IRWHG2Q4.js";import{e as s}from"./chunk.TJOCV4DC.js";var t=class extends i{constructor(){super(...arguments);this.expandable=!1}render(){return r`<div part="base" class="sm:p-6"><header part="header" id="header" class="${e("text-base font-bold items-center focus-visible:focus-outline text-primary relative group flex flex-row hover:bg-transparent gap-3 pb-3 pt-0 px-0 sm:flex-col sm:gap-4 sm:pb-8",this.expandable&&"cursor-pointer select-none")}" role="${a(this.expandable?"button":void 0)}" aria-expanded="${a(this.expandable?this.open?"true":"false":void 0)}" aria-controls="${a(this.expandable?"content":void 0)}" tabindex="${this.expandable?"0":"-1"}" @click="${this.expandable?this.handleSummaryClick:null}" @keydown="${this.expandable?this.handleSummaryKeyDown:null}"><div part="icon" class="${e("flex flex-grow-0 flex-shrink-0 flex-auto items-center",!this.expandable&&"cursor-default")}"><slot name="icon"></slot></div><slot name="summary" part="summary" class="${e("flex flex-auto items-start text-left text-base leading-normal font-normal sm:leading-tight sm:text-3xl sm:text-center",this.expandable?"text-primary":"text-black cursor-default")}">${this.summary}</slot><span part="summary-icon" class="${e("flex flex-grow-0 flex-shrink-0 flex-auto self-start sm:self-center transition-all ease-in-out duration-300 text-xl sm:text-4xl sm:mt-2",this.open&&"rotate-180",!this.expandable&&"hidden")}"><slot name="expand-icon" class="${e(this.open&&"hidden")}"><sd-4-0-0-next-2-icon library="system" name="chevron-down"></sd-4-0-0-next-2-icon></slot><slot name="collapse-icon" class="${e(!this.open&&"hidden")}"><sd-4-0-0-next-2-icon library="system" name="chevron-down"></sd-4-0-0-next-2-icon></slot></span></header><div part="content" id="content" class="${e("overflow-hidden",!this.expandable&&"hidden")}"><slot part="content__slot" class="block" role="region" aria-labelledby="header"></slot></div></div>`}};t.styles=[...i.styles,o`:host{display:block}@media (min-width:640px){[part=summary-icon]{font-size:var(--sd-spacing-12,3rem)}}[part=icon]{font-size:var(--sd-spacing-12,3rem)}@media (min-width:640px){[part=icon]{font-size:var(--sd-spacing-24,6rem)}}`],s([d({type:Boolean,reflect:!0})],t.prototype,"expandable",2),t=s([l("sd-4-0-0-next-2-quickfact")],t);n("quickfact.show",{keyframes:[{height:"0",opacity:"0"},{height:"auto",opacity:"1"}],options:{duration:300,easing:"ease"}});n("quickfact.hide",{keyframes:[{height:"auto",opacity:"1"},{height:"0",opacity:"0"}],options:{duration:300,easing:"ease"}});export{t as a};
@@ -1 +0,0 @@
1
- import{a,b as n}from"./chunk.5ZILM4TA.js";import{a as s}from"./chunk.HE2LNCWW.js";import{a as o}from"./chunk.DCOFYPWX.js";import{a as m,b as i,d as b,h as l}from"./chunk.APMDRZQD.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?a`a`:a`button`;return n`<${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="${o("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?n`<slot part="removable-indicator" name="removable-indicator" @click="${this.handleRemoveClick}" class="${o({lg:"text-base",sm:"text-[12px]"}[this.size])}"><sd-4-0-0-next-2-icon library="system" name="close" label="remove"></sd-4-0-0-next-2-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-2-tag")],e);export{e as a};
@@ -1 +0,0 @@
1
- import{a as m,c}from"./chunk.A3DKF5BY.js";import{a as h,d,e as p}from"./chunk.RQYP7MH5.js";import{a as y}from"./chunk.KLRPP4NQ.js";import{a as w}from"./chunk.E2DRD2OX.js";import{a as g}from"./chunk.26YUWEYR.js";import{a as s}from"./chunk.DCOFYPWX.js";import{a as b,b as n,d as o,h as l}from"./chunk.APMDRZQD.js";import{b as f,e as u}from"./chunk.IRWHG2Q4.js";import{e as i}from"./chunk.TJOCV4DC.js";var e=class extends l{constructor(){super(...arguments);this.localize=new g(this);this.open=!1}firstUpdated(){this.body.hidden=!this.open,this.body.style.height=this.open?"auto":"0"}handleSummaryClick(){this.open?this.hide():this.show()}handleSummaryKeyDown(t){(t.key==="Enter"||t.key===" ")&&(t.preventDefault(),this.open?this.hide():this.show()),(t.key==="ArrowUp"||t.key==="ArrowLeft")&&(t.preventDefault(),this.hide()),(t.key==="ArrowDown"||t.key==="ArrowRight")&&(t.preventDefault(),this.show())}async handleOpenChange(){if(this.open){if(this.emit("sd-show",{cancelable:!0}).defaultPrevented){this.open=!1;return}await d(this.body),this.body.hidden=!1;let{keyframes:a,options:r}=c(this,"accordion.show",{dir:this.localize.dir()});await h(this.body,p(a,this.body.scrollHeight),r),this.body.style.height="auto",this.emit("sd-after-show")}else{if(this.emit("sd-hide",{cancelable:!0}).defaultPrevented){this.open=!0;return}await d(this.body);let{keyframes:a,options:r}=c(this,"accordion.hide",{dir:this.localize.dir()});await h(this.body,p(a,this.body.scrollHeight),r),this.body.hidden=!0,this.body.style.height="auto",this.emit("sd-after-hide")}}async show(){if(!this.open)return this.open=!0,y(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,y(this,"sd-after-hide")}render(){return u`<div part="base" class="border-y border-neutral-400"><header part="header" id="header" class="${s("flex text-base gap-4 font-bold items-center cursor-pointer select-none px-4 py-3 focus-visible:focus-outline text-primary hover:bg-neutral-200 relative group")}" role="button" aria-expanded="${this.open?"true":"false"}" aria-controls="content" tabindex="0" @click="${this.handleSummaryClick}" @keydown="${this.handleSummaryKeyDown}"><div part="summary-border" class="${s(!this.open&&"opacity-0","w-1 bg-accent absolute left-0 transition-all h-[calc(100%-16px)] group-hover:h-full")}"></div><slot name="summary" part="summary" class="flex flex-auto items-center text-left">${this.summary}</slot><span part="summary-icon" class="${s("flex flex-grow-0 flex-shrink-0 flex-auto items-center transition-all ease-in-out duration-300 text-xl",this.open&&"rotate-180")}"><slot name="expand-icon" class="${s(this.open&&"hidden")}"><sd-4-0-0-next-2-icon library="system" name="chevron-down"></sd-4-0-0-next-2-icon></slot><slot name="collapse-icon" class="${s(!this.open&&"hidden")}"><sd-4-0-0-next-2-icon library="system" name="chevron-down"></sd-4-0-0-next-2-icon></slot></span></header><div part="content" id="content" class="overflow-hidden"><slot part="content__slot" class="block px-4 py-6" role="region" aria-labelledby="header"></slot></div></div>`}};e.styles=[...l.styles,f`:host{display:block}`],i([o('[part="base"]')],e.prototype,"accordion",2),i([o('[part="header"]')],e.prototype,"header",2),i([o('[part="content"]')],e.prototype,"body",2),i([n({type:Boolean,reflect:!0})],e.prototype,"open",2),i([n()],e.prototype,"summary",2),i([w("open",{waitUntilFirstUpdate:!0})],e.prototype,"handleOpenChange",1),e=i([b("sd-4-0-0-next-2-accordion")],e);m("accordion.show",{keyframes:[{height:"0",opacity:"0"},{height:"auto",opacity:"1"}],options:{duration:300,easing:"ease"}});m("accordion.hide",{keyframes:[{height:"auto",opacity:"1"},{height:"0",opacity:"0"}],options:{duration:300,easing:"ease"}});export{e as a};
@@ -1 +0,0 @@
1
- import{a}from"./chunk.E2DRD2OX.js";import{a as i}from"./chunk.DCOFYPWX.js";import{a as n,b as r,d,h as o}from"./chunk.APMDRZQD.js";import{b as s,e as l}from"./chunk.IRWHG2Q4.js";import{e}from"./chunk.TJOCV4DC.js";var b=0,t=class extends o{constructor(){super(...arguments);this.attrId=++b;this.componentId=`sd-4-0-0-next-2-tab-${this.attrId}`;this.variant="default";this.active=!1;this.disabled=!1;this.panel=""}connectedCallback(){super.connectedCallback(),this.setAttribute("role","tab")}handleActiveChange(){this.setAttribute("aria-selected",this.active?"true":"false")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}focus(c){this.tab.focus(c)}blur(){this.tab.blur()}render(){return this.id=this.id.length>0?this.id:this.componentId,l`<div part="base" class="${i("inline-flex min-w-max h-12 px-3 leading-none items-center justify-center whitespace-nowrap select-none cursor-pointer group relative focus-visible:focus-outline outline-2 !-outline-offset-2",this.variant==="container"&&" rounded-[4px_4px_0_0]",this.variant==="container"&&this.active&&"tab--active-container-border bg-white",this.disabled?"opacity-50 !cursor-not-allowed":"hover:bg-neutral-200")}" tabindex="${this.disabled?"-1":this.active?"0":"-1"}"><slot name="left" class="${i("pr-2",this.disabled?"text-neutral-500":"text-primary")}"></slot><slot class="${i(this.disabled?"text-neutral-500":"text-primary")}"></slot><div part="active-tab-indicator" class="${i((!this.active||this.disabled)&&"hidden","absolute bottom-0 h-1 bg-accent",this.variant==="default"?"w-full":"w-3/4 group-hover:w-full transition-all duration-200 ease-in-out")}"></div><div part="hover-bottom-border" class="${i(!this.active&&!this.disabled&&"absolute w-full h-0.25 bottom-0 border-b border-neutral-400 invisible group-hover:visible")}"></div></div>`}};t.styles=[...o.styles,s`:host{box-sizing:border-box;display:block}.tab--active-container-border:after{border-width:1px;content:"";height:100%;position:absolute;width:100%;--tw-border-opacity:1;border-color:rgb(var(--sd-color-neutral-400,195 195 195)/var(--tw-border-opacity,1));border-bottom:none;border-radius:4px 4px 0 0}`],e([d("[part=base]")],t.prototype,"tab",2),e([r({type:String,reflect:!0})],t.prototype,"variant",2),e([r({type:Boolean,reflect:!0})],t.prototype,"active",2),e([r({type:Boolean,reflect:!0})],t.prototype,"disabled",2),e([r({reflect:!0})],t.prototype,"panel",2),e([a("active")],t.prototype,"handleActiveChange",1),e([a("disabled")],t.prototype,"handleDisabledChange",1),t=e([n("sd-4-0-0-next-2-tab")],t);export{t as a};
@@ -1,65 +0,0 @@
1
- import {
2
- SdAccordion
3
- } from "./chunk.DAM3ICHP.js";
4
- import {
5
- setDefaultAnimation
6
- } from "./chunk.N4LHE3QK.js";
7
- import {
8
- customElement
9
- } from "./chunk.UDZYWRPT.js";
10
- import {
11
- __decorateClass
12
- } from "./chunk.S3NI7NKU.js";
13
-
14
- // src/components/quickfact/quickfact.ts
15
- import { css, html } from "lit";
16
- import { ifDefined } from "lit/directives/if-defined.js";
17
- import { property } from "lit/decorators.js";
18
- import cx from "classix";
19
- var SdQuickfact = class extends SdAccordion {
20
- constructor() {
21
- super(...arguments);
22
- this.expandable = false;
23
- }
24
- render() {
25
- return html`<div part="base" class="sm:p-6"><header part="header" id="header" class="${cx(
26
- "text-base font-bold items-center focus-visible:focus-outline text-primary relative group flex flex-row hover:bg-transparent gap-3 pb-3 pt-0 px-0 sm:flex-col sm:gap-4 sm:pb-8",
27
- this.expandable && "cursor-pointer select-none"
28
- )}" role="${ifDefined(this.expandable ? "button" : void 0)}" aria-expanded="${ifDefined(this.expandable ? this.open ? "true" : "false" : void 0)}" aria-controls="${ifDefined(this.expandable ? "content" : void 0)}" tabindex="${this.expandable ? "0" : "-1"}" @click="${this.expandable ? this.handleSummaryClick : null}" @keydown="${this.expandable ? this.handleSummaryKeyDown : null}"><div part="icon" class="${cx("flex flex-grow-0 flex-shrink-0 flex-auto items-center", !this.expandable && "cursor-default")}"><slot name="icon"></slot></div><slot name="summary" part="summary" class="${cx(
29
- "flex flex-auto items-start text-left text-base leading-normal font-normal sm:leading-tight sm:text-3xl sm:text-center",
30
- this.expandable ? "text-primary" : "text-black cursor-default"
31
- )}">${this.summary}</slot><span part="summary-icon" class="${cx(
32
- "flex flex-grow-0 flex-shrink-0 flex-auto self-start sm:self-center transition-all ease-in-out duration-300 text-xl sm:text-4xl sm:mt-2",
33
- this.open && "rotate-180",
34
- !this.expandable && "hidden"
35
- )}"><slot name="expand-icon" class="${cx(this.open && "hidden")}"><sd-4-0-0-next-2-icon library="system" name="chevron-down"></sd-4-0-0-next-2-icon></slot><slot name="collapse-icon" class="${cx(!this.open && "hidden")}"><sd-4-0-0-next-2-icon library="system" name="chevron-down"></sd-4-0-0-next-2-icon></slot></span></header><div part="content" id="content" class="${cx("overflow-hidden", !this.expandable && "hidden")}"><slot part="content__slot" class="block" role="region" aria-labelledby="header"></slot></div></div>`;
36
- }
37
- };
38
- SdQuickfact.styles = [
39
- ...SdAccordion.styles,
40
- css`:host{display:block}@media (min-width:640px){[part=summary-icon]{font-size:var(--sd-spacing-12,3rem)}}[part=icon]{font-size:var(--sd-spacing-12,3rem)}@media (min-width:640px){[part=icon]{font-size:var(--sd-spacing-24,6rem)}}`
41
- ];
42
- __decorateClass([
43
- property({ type: Boolean, reflect: true })
44
- ], SdQuickfact.prototype, "expandable", 2);
45
- SdQuickfact = __decorateClass([
46
- customElement("sd-4-0-0-next-2-quickfact")
47
- ], SdQuickfact);
48
- setDefaultAnimation("quickfact.show", {
49
- keyframes: [
50
- { height: "0", opacity: "0" },
51
- { height: "auto", opacity: "1" }
52
- ],
53
- options: { duration: 300, easing: "ease" }
54
- });
55
- setDefaultAnimation("quickfact.hide", {
56
- keyframes: [
57
- { height: "auto", opacity: "1" },
58
- { height: "0", opacity: "0" }
59
- ],
60
- options: { duration: 300, easing: "ease" }
61
- });
62
-
63
- export {
64
- SdQuickfact
65
- };