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

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 (239) hide show
  1. package/cdn/chunks/chunk.ITRQVXFY.js +1 -0
  2. package/cdn/components/tab/tab.d.ts +1 -0
  3. package/cdn/components/tab/tab.js +1 -1
  4. package/cdn/custom-elements.json +1 -1
  5. package/cdn/solid-components.bundle.js +7 -7
  6. package/cdn/solid-components.iife.js +1 -1
  7. package/cdn/solid-components.js +1 -1
  8. package/cdn/web-types.json +1 -1
  9. package/cdn-versioned/_components/menu/menu.js +1 -1
  10. package/cdn-versioned/_components/menu/menu.styles.js +1 -1
  11. package/cdn-versioned/_components/menu-item/menu-item.js +2 -2
  12. package/cdn-versioned/chunks/chunk.24SF73MY.js +1 -1
  13. package/cdn-versioned/chunks/chunk.36Z2VDHI.js +1 -1
  14. package/cdn-versioned/chunks/chunk.3ATYVOO4.js +1 -1
  15. package/cdn-versioned/chunks/chunk.4HIKTDIM.js +3 -3
  16. package/cdn-versioned/chunks/chunk.4W3WLVGR.js +1 -1
  17. package/cdn-versioned/chunks/chunk.5ZDWEJDB.js +1 -1
  18. package/cdn-versioned/chunks/chunk.65NSSTJE.js +1 -1
  19. package/cdn-versioned/chunks/chunk.6JBTCFHE.js +2 -2
  20. package/cdn-versioned/chunks/chunk.7M7VCE7R.js +1 -1
  21. package/cdn-versioned/chunks/chunk.7RJ3O2FV.js +1 -1
  22. package/cdn-versioned/chunks/chunk.APMDRZQD.js +1 -1
  23. package/cdn-versioned/chunks/chunk.C2PA7CKF.js +1 -1
  24. package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
  25. package/cdn-versioned/chunks/chunk.DEX5VJGX.js +4 -4
  26. package/cdn-versioned/chunks/chunk.DMLGBWCL.js +1 -1
  27. package/cdn-versioned/chunks/chunk.DVHKKAVM.js +1 -1
  28. package/cdn-versioned/chunks/chunk.EWWGLHC5.js +1 -1
  29. package/cdn-versioned/chunks/chunk.F7J6HN76.js +1 -1
  30. package/cdn-versioned/chunks/chunk.FD54463O.js +1 -1
  31. package/cdn-versioned/chunks/chunk.FFNTXFC3.js +1 -1
  32. package/cdn-versioned/chunks/chunk.FX3ED655.js +1 -1
  33. package/cdn-versioned/chunks/chunk.GOVNZSCO.js +1 -1
  34. package/cdn-versioned/chunks/chunk.GQSLHWQC.js +1 -1
  35. package/cdn-versioned/chunks/chunk.ISEQUO4U.js +1 -1
  36. package/cdn-versioned/chunks/chunk.ITRQVXFY.js +1 -0
  37. package/cdn-versioned/chunks/chunk.IZKUI5WK.js +1 -1
  38. package/cdn-versioned/chunks/chunk.KMLMMBY4.js +1 -1
  39. package/cdn-versioned/chunks/chunk.LLXTYJXF.js +1 -1
  40. package/cdn-versioned/chunks/chunk.LZEFLOSA.js +1 -1
  41. package/cdn-versioned/chunks/chunk.MPP7HYX7.js +1 -1
  42. package/cdn-versioned/chunks/chunk.MX22EZXK.js +1 -1
  43. package/cdn-versioned/chunks/chunk.ND7BT52X.js +1 -1
  44. package/cdn-versioned/chunks/chunk.NUB5WHGD.js +1 -1
  45. package/cdn-versioned/chunks/chunk.O4UXOQEI.js +1 -1
  46. package/cdn-versioned/chunks/chunk.OVV7TNT2.js +1 -1
  47. package/cdn-versioned/chunks/chunk.PBPFKJKV.js +1 -1
  48. package/cdn-versioned/chunks/chunk.QFNCQQ6S.js +1 -1
  49. package/cdn-versioned/chunks/chunk.QNZWJACC.js +2 -2
  50. package/cdn-versioned/chunks/chunk.R354E6ZD.js +1 -1
  51. package/cdn-versioned/chunks/chunk.ROBLMI7Q.js +4 -4
  52. package/cdn-versioned/chunks/chunk.SNUMAAEG.js +1 -1
  53. package/cdn-versioned/chunks/chunk.TA7CZCP3.js +1 -1
  54. package/cdn-versioned/chunks/chunk.U443X4TI.js +1 -1
  55. package/cdn-versioned/chunks/chunk.UBFU6D5B.js +1 -1
  56. package/cdn-versioned/chunks/chunk.URB2K7JQ.js +1 -1
  57. package/cdn-versioned/chunks/chunk.VNKUGTKM.js +1 -1
  58. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  59. package/cdn-versioned/chunks/chunk.WENTMXB2.js +1 -1
  60. package/cdn-versioned/chunks/chunk.WGNXYONB.js +1 -1
  61. package/cdn-versioned/chunks/chunk.WQAPHFVM.js +1 -1
  62. package/cdn-versioned/chunks/chunk.YF5WEC4R.js +2 -2
  63. package/cdn-versioned/chunks/chunk.ZFA2VPUT.js +1 -1
  64. package/cdn-versioned/chunks/chunk.ZRIABVVM.js +1 -1
  65. package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
  66. package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  67. package/cdn-versioned/components/animation/animation.d.ts +1 -1
  68. package/cdn-versioned/components/audio/audio.d.ts +1 -1
  69. package/cdn-versioned/components/badge/badge.d.ts +1 -1
  70. package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
  71. package/cdn-versioned/components/button/button.d.ts +1 -1
  72. package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
  73. package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
  74. package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  75. package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
  76. package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  77. package/cdn-versioned/components/combobox/combobox.d.ts +4 -4
  78. package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
  79. package/cdn-versioned/components/divider/divider.d.ts +1 -1
  80. package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
  81. package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
  82. package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
  83. package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
  84. package/cdn-versioned/components/header/header.d.ts +1 -1
  85. package/cdn-versioned/components/icon/icon.d.ts +1 -1
  86. package/cdn-versioned/components/include/include.d.ts +1 -1
  87. package/cdn-versioned/components/input/input.d.ts +1 -1
  88. package/cdn-versioned/components/link/link.d.ts +1 -1
  89. package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
  90. package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  91. package/cdn-versioned/components/notification/notification.d.ts +1 -1
  92. package/cdn-versioned/components/optgroup/optgroup.d.ts +2 -2
  93. package/cdn-versioned/components/option/option.d.ts +1 -1
  94. package/cdn-versioned/components/popup/popup.d.ts +1 -1
  95. package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
  96. package/cdn-versioned/components/radio/radio.d.ts +1 -1
  97. package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
  98. package/cdn-versioned/components/radio-group/radio-group.d.ts +2 -2
  99. package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
  100. package/cdn-versioned/components/select/select.d.ts +4 -4
  101. package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
  102. package/cdn-versioned/components/step/step.d.ts +1 -1
  103. package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
  104. package/cdn-versioned/components/switch/switch.d.ts +1 -1
  105. package/cdn-versioned/components/tab/tab.d.ts +2 -1
  106. package/cdn-versioned/components/tab/tab.js +1 -1
  107. package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
  108. package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  109. package/cdn-versioned/components/tag/tag.d.ts +1 -1
  110. package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
  111. package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
  112. package/cdn-versioned/components/video/video.d.ts +1 -1
  113. package/cdn-versioned/custom-elements.json +202 -202
  114. package/cdn-versioned/internal/form.js +3 -3
  115. package/cdn-versioned/solid-components.bundle.js +17 -17
  116. package/cdn-versioned/solid-components.css +2 -2
  117. package/cdn-versioned/solid-components.iife.js +17 -17
  118. package/cdn-versioned/solid-components.js +1 -1
  119. package/cdn-versioned/vscode.html-custom-data.json +80 -80
  120. package/cdn-versioned/web-types.json +137 -137
  121. package/dist/chunks/{chunk.7BEDTYS7.js → chunk.743FPQRN.js} +8 -1
  122. package/dist/components/tab/tab.d.ts +1 -0
  123. package/dist/components/tab/tab.js +2 -1
  124. package/dist/custom-elements.json +1 -1
  125. package/dist/solid-components.js +1 -1
  126. package/dist/web-types.json +1 -1
  127. package/dist-versioned/_components/menu/menu.js +1 -1
  128. package/dist-versioned/_components/menu/menu.styles.js +1 -1
  129. package/dist-versioned/_components/menu-item/menu-item.js +2 -2
  130. package/dist-versioned/chunks/chunk.2IBVAXOX.js +1 -1
  131. package/dist-versioned/chunks/chunk.3IT4HBTI.js +1 -1
  132. package/dist-versioned/chunks/chunk.3LGDUVS4.js +2 -2
  133. package/dist-versioned/chunks/chunk.4JZQQD4L.js +3 -3
  134. package/dist-versioned/chunks/chunk.4QKRGAOL.js +4 -4
  135. package/dist-versioned/chunks/chunk.4RGGPCD5.js +2 -2
  136. package/dist-versioned/chunks/chunk.56SNEGI4.js +13 -13
  137. package/dist-versioned/chunks/chunk.65BWRJEA.js +5 -5
  138. package/dist-versioned/chunks/chunk.6CUAQSFA.js +2 -2
  139. package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
  140. package/dist-versioned/chunks/chunk.727ERQ4F.js +2 -2
  141. package/dist-versioned/chunks/{chunk.7BEDTYS7.js → chunk.743FPQRN.js} +10 -3
  142. package/dist-versioned/chunks/chunk.76ZNNLGN.js +1 -1
  143. package/dist-versioned/chunks/chunk.7OHSCBBX.js +1 -1
  144. package/dist-versioned/chunks/chunk.BVC5FY4L.js +13 -13
  145. package/dist-versioned/chunks/chunk.BXB5WF23.js +5 -5
  146. package/dist-versioned/chunks/chunk.D6JZ4IKM.js +1 -1
  147. package/dist-versioned/chunks/chunk.DQPVSTUQ.js +3 -3
  148. package/dist-versioned/chunks/chunk.EFEBQQHC.js +26 -26
  149. package/dist-versioned/chunks/chunk.EKFRFDTB.js +5 -5
  150. package/dist-versioned/chunks/chunk.H655M7FD.js +1 -1
  151. package/dist-versioned/chunks/chunk.HPR3PWAE.js +3 -3
  152. package/dist-versioned/chunks/chunk.I3PY3VYP.js +29 -29
  153. package/dist-versioned/chunks/chunk.IN3GJ5QL.js +3 -3
  154. package/dist-versioned/chunks/chunk.J2XBUIBC.js +2 -2
  155. package/dist-versioned/chunks/chunk.J7MMF6WJ.js +2 -2
  156. package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
  157. package/dist-versioned/chunks/chunk.MTSAWJLV.js +2 -2
  158. package/dist-versioned/chunks/chunk.NM6QP6RJ.js +2 -2
  159. package/dist-versioned/chunks/chunk.PDRECIYA.js +1 -1
  160. package/dist-versioned/chunks/chunk.PGZ5AWZ2.js +9 -9
  161. package/dist-versioned/chunks/chunk.PIR4YJUS.js +2 -2
  162. package/dist-versioned/chunks/chunk.QAZYUCBK.js +6 -6
  163. package/dist-versioned/chunks/chunk.QCICV36Z.js +6 -6
  164. package/dist-versioned/chunks/chunk.QP3SM2LZ.js +3 -3
  165. package/dist-versioned/chunks/chunk.R4BETATX.js +1 -1
  166. package/dist-versioned/chunks/chunk.RNSJAVQE.js +1 -1
  167. package/dist-versioned/chunks/chunk.RZRTIYXA.js +1 -1
  168. package/dist-versioned/chunks/chunk.SPBPHTSS.js +2 -2
  169. package/dist-versioned/chunks/chunk.SSH6ATRK.js +2 -2
  170. package/dist-versioned/chunks/chunk.TWXYFPBS.js +2 -2
  171. package/dist-versioned/chunks/chunk.U5NFPAOX.js +2 -2
  172. package/dist-versioned/chunks/chunk.U6RY25TF.js +2 -2
  173. package/dist-versioned/chunks/chunk.UC5E3AEF.js +1 -1
  174. package/dist-versioned/chunks/chunk.UDZYWRPT.js +1 -1
  175. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  176. package/dist-versioned/chunks/chunk.V7TQ6VJU.js +1 -1
  177. package/dist-versioned/chunks/chunk.VHGHICFG.js +2 -2
  178. package/dist-versioned/chunks/chunk.WWS3CQ2Z.js +5 -5
  179. package/dist-versioned/chunks/chunk.XVFJS7VS.js +5 -5
  180. package/dist-versioned/chunks/chunk.Z2UY62T2.js +1 -1
  181. package/dist-versioned/chunks/chunk.ZGPGFEVP.js +5 -5
  182. package/dist-versioned/chunks/chunk.ZWJI7SLE.js +11 -11
  183. package/dist-versioned/components/accordion/accordion.d.ts +1 -1
  184. package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  185. package/dist-versioned/components/animation/animation.d.ts +1 -1
  186. package/dist-versioned/components/audio/audio.d.ts +1 -1
  187. package/dist-versioned/components/badge/badge.d.ts +1 -1
  188. package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
  189. package/dist-versioned/components/button/button.d.ts +1 -1
  190. package/dist-versioned/components/button-group/button-group.d.ts +1 -1
  191. package/dist-versioned/components/carousel/carousel.d.ts +1 -1
  192. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  193. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  194. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  195. package/dist-versioned/components/combobox/combobox.d.ts +4 -4
  196. package/dist-versioned/components/dialog/dialog.d.ts +1 -1
  197. package/dist-versioned/components/divider/divider.d.ts +1 -1
  198. package/dist-versioned/components/drawer/drawer.d.ts +1 -1
  199. package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
  200. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  201. package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
  202. package/dist-versioned/components/header/header.d.ts +1 -1
  203. package/dist-versioned/components/icon/icon.d.ts +1 -1
  204. package/dist-versioned/components/include/include.d.ts +1 -1
  205. package/dist-versioned/components/input/input.d.ts +1 -1
  206. package/dist-versioned/components/link/link.d.ts +1 -1
  207. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  208. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  209. package/dist-versioned/components/notification/notification.d.ts +1 -1
  210. package/dist-versioned/components/optgroup/optgroup.d.ts +2 -2
  211. package/dist-versioned/components/option/option.d.ts +1 -1
  212. package/dist-versioned/components/popup/popup.d.ts +1 -1
  213. package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
  214. package/dist-versioned/components/radio/radio.d.ts +1 -1
  215. package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
  216. package/dist-versioned/components/radio-group/radio-group.d.ts +2 -2
  217. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  218. package/dist-versioned/components/select/select.d.ts +4 -4
  219. package/dist-versioned/components/spinner/spinner.d.ts +1 -1
  220. package/dist-versioned/components/step/step.d.ts +1 -1
  221. package/dist-versioned/components/step-group/step-group.d.ts +1 -1
  222. package/dist-versioned/components/switch/switch.d.ts +1 -1
  223. package/dist-versioned/components/tab/tab.d.ts +2 -1
  224. package/dist-versioned/components/tab/tab.js +2 -1
  225. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  226. package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  227. package/dist-versioned/components/tag/tag.d.ts +1 -1
  228. package/dist-versioned/components/textarea/textarea.d.ts +1 -1
  229. package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
  230. package/dist-versioned/components/video/video.d.ts +1 -1
  231. package/dist-versioned/custom-elements.json +202 -202
  232. package/dist-versioned/internal/form.js +3 -3
  233. package/dist-versioned/solid-components.css +2 -2
  234. package/dist-versioned/solid-components.js +1 -1
  235. package/dist-versioned/vscode.html-custom-data.json +80 -80
  236. package/dist-versioned/web-types.json +137 -137
  237. package/package.json +1 -1
  238. package/cdn/chunks/chunk.MMRILMYU.js +0 -1
  239. package/cdn-versioned/chunks/chunk.MMRILMYU.js +0 -1
@@ -1,6 +1,9 @@
1
1
  import {
2
2
  watch
3
3
  } from "./chunk.X2OQMWGY.js";
4
+ import {
5
+ HasSlotController
6
+ } from "./chunk.YEZS5ZR2.js";
4
7
  import {
5
8
  SolidElement,
6
9
  customElement
@@ -19,6 +22,7 @@ var SdTab = class extends SolidElement {
19
22
  super(...arguments);
20
23
  this.attrId = ++id;
21
24
  this.componentId = `sd-tab-${this.attrId}`;
25
+ this.hasSlotController = new HasSlotController(this, "left");
22
26
  this.variant = "default";
23
27
  this.active = false;
24
28
  this.disabled = false;
@@ -44,12 +48,15 @@ var SdTab = class extends SolidElement {
44
48
  }
45
49
  render() {
46
50
  this.id = this.id.length > 0 ? this.id : this.componentId;
51
+ const slots = {
52
+ left: this.hasSlotController.test("left")
53
+ };
47
54
  return html`<div part="base" class="${cx(
48
55
  "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",
49
56
  this.variant === "container" && " rounded-[4px_4px_0_0]",
50
57
  this.variant === "container" && this.active && "tab--active-container-border bg-white",
51
58
  this.disabled ? "opacity-50 !cursor-not-allowed" : "hover:bg-neutral-200"
52
- )}" tabindex="${this.disabled ? "-1" : this.active ? "0" : "-1"}"><slot name="left" class="${cx("pr-2", this.disabled ? "text-neutral-500" : "text-primary")}"></slot><slot class="${cx(this.disabled ? "text-neutral-500" : "text-primary")}"></slot><div part="active-tab-indicator" class="${cx(
59
+ )}" tabindex="${!this.active || this.disabled ? "-1" : "0"}"><slot name="left" class="${cx(slots.left && "block pr-2", this.disabled ? "text-neutral-500" : "text-primary")}"></slot><slot class="${cx(this.disabled ? "text-neutral-500" : "text-primary")}"></slot><div part="active-tab-indicator" class="${cx(
53
60
  (!this.active || this.disabled) && "hidden",
54
61
  "absolute bottom-0 h-1 bg-accent",
55
62
  this.variant === "default" ? "w-full" : "w-3/4 group-hover:w-full transition-all duration-200 ease-in-out"
@@ -2,6 +2,7 @@ import SolidElement from '../../internal/solid-element';
2
2
  export default class SdTab extends SolidElement {
3
3
  private readonly attrId;
4
4
  private readonly componentId;
5
+ private readonly hasSlotController;
5
6
  tab: HTMLElement;
6
7
  variant: 'default' | 'container';
7
8
  active: boolean;
@@ -1,7 +1,8 @@
1
1
  import {
2
2
  SdTab
3
- } from "../../chunks/chunk.7BEDTYS7.js";
3
+ } from "../../chunks/chunk.743FPQRN.js";
4
4
  import "../../chunks/chunk.X2OQMWGY.js";
5
+ import "../../chunks/chunk.YEZS5ZR2.js";
5
6
  import "../../chunks/chunk.UDZYWRPT.js";
6
7
  import "../../chunks/chunk.S3NI7NKU.js";
7
8
  export {
@@ -16660,7 +16660,7 @@
16660
16660
  "package": {
16661
16661
  "name": "@solid-design-system/components",
16662
16662
  "description": "Solid Design System: Components",
16663
- "version": "4.0.0-next.3",
16663
+ "version": "4.0.0-next.4",
16664
16664
  "author": "Union Investment",
16665
16665
  "homepage": "https://solid-design-system.fe.union-investment.de/docs/",
16666
16666
  "license": "MIT"
@@ -31,7 +31,7 @@ import {
31
31
  } from "./chunks/chunk.2IBVAXOX.js";
32
32
  import {
33
33
  SdTab
34
- } from "./chunks/chunk.7BEDTYS7.js";
34
+ } from "./chunks/chunk.743FPQRN.js";
35
35
  import {
36
36
  SdTabGroup
37
37
  } from "./chunks/chunk.56SNEGI4.js";
@@ -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.3",
4
+ "version": "4.0.0-next.4",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -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-3-select', { detail: { item } });
35
+ this.emit('sd-4-0-0-next-4-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-3-divider) {
14
+ ::slotted(sd-4-0-0-next-4-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-3-icon name="check" library="system" aria-hidden="true"></sd-4-0-0-next-3-icon>
77
+ <sd-4-0-0-next-4-icon name="check" library="system" aria-hidden="true"></sd-4-0-0-next-4-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-3-icon name="chevron-right" library="system" aria-hidden="true"></sd-4-0-0-next-3-icon>
87
+ <sd-4-0-0-next-4-icon name="chevron-right" library="system" aria-hidden="true"></sd-4-0-0-next-4-icon>
88
88
  </span>
89
89
  </div>
90
90
  `;
@@ -168,7 +168,7 @@ __decorateClass([
168
168
  watch(["checked"], { waitUntilFirstUpdate: true })
169
169
  ], SdSwitch.prototype, "handleStateChange", 1);
170
170
  SdSwitch = __decorateClass([
171
- customElement("sd-4-0-0-next-3-switch")
171
+ customElement("sd-4-0-0-next-4-switch")
172
172
  ], SdSwitch);
173
173
 
174
174
  export {
@@ -126,7 +126,7 @@ __decorateClass([
126
126
  watch(["name", "src", "library"])
127
127
  ], SdIcon.prototype, "setIcon", 1);
128
128
  SdIcon = __decorateClass([
129
- customElement("sd-4-0-0-next-3-icon")
129
+ customElement("sd-4-0-0-next-4-icon")
130
130
  ], SdIcon);
131
131
 
132
132
  export {
@@ -81,7 +81,7 @@ var SdStep = class extends SolidElement {
81
81
  !this.disabled && !this.current && !this.notInteractive && "text-primary group-hover:text-primary-500 group-hover:fill-primary-500",
82
82
  this.notInteractive && "text-primary",
83
83
  this.size === "lg" ? "text-lg" : "text-sm"
84
- )}">${!this.disabled && !this.current && !this.notInteractive ? html`<sd-4-0-0-next-3-icon name="status-check" library="system"></sd-4-0-0-next-3-icon>` : html`${this.index}`}</slot></${tag}>${this.noTail ? "" : html`<div part="tail" class="${cx(
84
+ )}">${!this.disabled && !this.current && !this.notInteractive ? html`<sd-4-0-0-next-4-icon name="status-check" library="system"></sd-4-0-0-next-4-icon>` : html`${this.index}`}</slot></${tag}>${this.noTail ? "" : html`<div part="tail" class="${cx(
85
85
  this.orientation === "horizontal" ? "border-t w-full my-auto mr-2" : "border-l flex-grow flex-shrink-0 basis-auto h-full w-[1px] mx-auto",
86
86
  !this.disabled && !this.current && !this.notInteractive ? " border-primary group-hover:border-primary-500" : "border-neutral-400"
87
87
  )}"></div>`}</div><div part="text-container" class="${cx("mt-4 break-words flex flex-col gap-2", this.orientation === "horizontal" ? "text-center w-40" : "w-max text-left", this.disabled && "!text-neutral-700", this.notInteractive ? "ml-3" : "mr-4")}"><div part="label" id="label" class="${cx("!font-bold sd-paragraph", this.disabled && "!text-neutral-700", !this.disabled && !this.current && !this.notInteractive ? "!text-primary group-hover:!text-primary-500 group-hover:cursor-pointer" : "text-black")}"><slot name="label">${this.label}</slot></div><div part="description" id="description" class="${cx("sd-paragraph sd-paragraph--size-sm", this.disabled && "!text-neutral-700")}">${this.description || html`<slot></slot>`}</div></div></div>`;
@@ -131,7 +131,7 @@ __decorateClass([
131
131
  watch("notInteractive")
132
132
  ], SdStep.prototype, "handleInteractivityChange", 1);
133
133
  SdStep = __decorateClass([
134
- customElement("sd-4-0-0-next-3-step")
134
+ customElement("sd-4-0-0-next-4-step")
135
135
  ], SdStep);
136
136
 
137
137
  export {
@@ -64,10 +64,10 @@ var SdQuickfact = class extends SdAccordion {
64
64
  !this.expandable && "hidden"
65
65
  )}
66
66
  ><slot name="expand-icon" class=${cx(this.open && "hidden")}>
67
- <sd-4-0-0-next-3-icon library="system" name="chevron-down"></sd-4-0-0-next-3-icon>
67
+ <sd-4-0-0-next-4-icon library="system" name="chevron-down"></sd-4-0-0-next-4-icon>
68
68
  </slot>
69
69
  <slot name="collapse-icon" class=${cx(!this.open && "hidden")}>
70
- <sd-4-0-0-next-3-icon library="system" name="chevron-down"></sd-4-0-0-next-3-icon> </slot
70
+ <sd-4-0-0-next-4-icon library="system" name="chevron-down"></sd-4-0-0-next-4-icon> </slot
71
71
  ></span>
72
72
  </${header}>
73
73
  <div part="content" id="content" class=${cx("overflow-hidden", !this.expandable && "hidden")}>
@@ -85,7 +85,7 @@ __decorateClass([
85
85
  property({ type: Boolean, reflect: true })
86
86
  ], SdQuickfact.prototype, "expandable", 2);
87
87
  SdQuickfact = __decorateClass([
88
- customElement("sd-4-0-0-next-3-quickfact")
88
+ customElement("sd-4-0-0-next-4-quickfact")
89
89
  ], SdQuickfact);
90
90
  setDefaultAnimation("quickfact.show", {
91
91
  keyframes: [
@@ -214,7 +214,7 @@ var SdButton = class extends SolidElement {
214
214
  md: "ml-2",
215
215
  lg: "ml-2"
216
216
  }[this.size]
217
- )}"></slot>${this.loading ? html`<sd-4-0-0-next-3-spinner class="${cx("absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2")}"></sd-4-0-0-next-3-spinner>` : ""}</${tag}>`;
217
+ )}"></slot>${this.loading ? html`<sd-4-0-0-next-4-spinner class="${cx("absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2")}"></sd-4-0-0-next-4-spinner>` : ""}</${tag}>`;
218
218
  }
219
219
  };
220
220
  /**
@@ -222,13 +222,13 @@ var SdButton = class extends SolidElement {
222
222
  */
223
223
  SdButton.styles = [
224
224
  ...SolidElement.styles,
225
- css`:host{cursor:pointer;display:inline-block;position:relative;width:var(--sd-spacing-auto,auto)}sd-4-0-0-next-3-spinner{--indicator-color:currentColor;--track-color:var(--tw-varcolor-200)}::slotted(sd-4-0-0-next-3-badge){pointer-events:none;position:absolute;right:var(--sd-spacing-0,0);top:var(--sd-spacing-0,0);--tw-translate-x:50%!important;--tw-translate-y:-50%!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}::slotted(sd-4-0-0-next-3-icon),sd-4-0-0-next-3-spinner{font-size:calc(var(--tw-varspacing)/2)}`
225
+ css`:host{cursor:pointer;display:inline-block;position:relative;width:var(--sd-spacing-auto,auto)}sd-4-0-0-next-4-spinner{--indicator-color:currentColor;--track-color:var(--tw-varcolor-200)}::slotted(sd-4-0-0-next-4-badge){pointer-events:none;position:absolute;right:var(--sd-spacing-0,0);top:var(--sd-spacing-0,0);--tw-translate-x:50%!important;--tw-translate-y:-50%!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}::slotted(sd-4-0-0-next-4-icon),sd-4-0-0-next-4-spinner{font-size:calc(var(--tw-varspacing)/2)}`
226
226
  ];
227
227
  __decorateClass([
228
228
  query("a, button")
229
229
  ], SdButton.prototype, "button", 2);
230
230
  __decorateClass([
231
- queryAssignedElements({ selector: "sd-4-0-0-next-3-icon" })
231
+ queryAssignedElements({ selector: "sd-4-0-0-next-4-icon" })
232
232
  ], SdButton.prototype, "_iconsInDefaultSlot", 2);
233
233
  __decorateClass([
234
234
  state()
@@ -291,7 +291,7 @@ __decorateClass([
291
291
  watch("disabled", { waitUntilFirstUpdate: true })
292
292
  ], SdButton.prototype, "handleDisabledChange", 1);
293
293
  SdButton = __decorateClass([
294
- customElement("sd-4-0-0-next-3-button")
294
+ customElement("sd-4-0-0-next-4-button")
295
295
  ], SdButton);
296
296
 
297
297
  export {
@@ -32,7 +32,7 @@ var SdDivider = class extends SolidElement {
32
32
  */
33
33
  SdDivider.styles = [
34
34
  ...SolidElement.styles,
35
- css`:host{margin:var(--sd-spacing-0,0)}:host(sd-4-0-0-next-3-divider[orientation=horizontal]){display:block}:host(sd-4-0-0-next-3-divider[orientation=vertical]){display:inline-block}`
35
+ css`:host{margin:var(--sd-spacing-0,0)}:host(sd-4-0-0-next-4-divider[orientation=horizontal]){display:block}:host(sd-4-0-0-next-4-divider[orientation=vertical]){display:inline-block}`
36
36
  ];
37
37
  __decorateClass([
38
38
  property({ reflect: true })
@@ -41,7 +41,7 @@ __decorateClass([
41
41
  property({ type: Boolean, reflect: true })
42
42
  ], SdDivider.prototype, "inverted", 2);
43
43
  SdDivider = __decorateClass([
44
- customElement("sd-4-0-0-next-3-divider")
44
+ customElement("sd-4-0-0-next-4-divider")
45
45
  ], SdDivider);
46
46
 
47
47
  export {
@@ -29,8 +29,8 @@ var SdTabGroup = class extends SolidElement {
29
29
  }
30
30
  connectedCallback() {
31
31
  const whenAllDefined = Promise.all([
32
- customElements.whenDefined("sd-4-0-0-next-3-tab"),
33
- customElements.whenDefined("sd-4-0-0-next-3-tab-panel")
32
+ customElements.whenDefined("sd-4-0-0-next-4-tab"),
33
+ customElements.whenDefined("sd-4-0-0-next-4-tab-panel")
34
34
  ]);
35
35
  super.connectedCallback();
36
36
  this.resizeObserver = new ResizeObserver(() => {
@@ -68,19 +68,19 @@ var SdTabGroup = class extends SolidElement {
68
68
  getAllTabs(options = { includeDisabled: true }) {
69
69
  const slot = this.shadowRoot.querySelector('slot[name="nav"]');
70
70
  return [...slot.assignedElements()].filter((el) => {
71
- return options.includeDisabled ? el.tagName.toLowerCase() === "sd-4-0-0-next-3-tab" : el.tagName.toLowerCase() === "sd-4-0-0-next-3-tab" && !el.disabled;
71
+ return options.includeDisabled ? el.tagName.toLowerCase() === "sd-4-0-0-next-4-tab" : el.tagName.toLowerCase() === "sd-4-0-0-next-4-tab" && !el.disabled;
72
72
  });
73
73
  }
74
74
  getAllPanels() {
75
- return [...this.body.assignedElements()].filter((el) => el.tagName.toLowerCase() === "sd-4-0-0-next-3-tab-panel");
75
+ return [...this.body.assignedElements()].filter((el) => el.tagName.toLowerCase() === "sd-4-0-0-next-4-tab-panel");
76
76
  }
77
77
  getActiveTab() {
78
78
  return this.tabs.find((t) => t.matches(":focus"));
79
79
  }
80
80
  handleClick(event) {
81
81
  const target = event.target;
82
- const tab = target.closest("sd-4-0-0-next-3-tab");
83
- const tabGroup = tab == null ? void 0 : tab.closest("sd-4-0-0-next-3-tab-group");
82
+ const tab = target.closest("sd-4-0-0-next-4-tab");
83
+ const tabGroup = tab == null ? void 0 : tab.closest("sd-4-0-0-next-4-tab-group");
84
84
  if (tabGroup !== this) {
85
85
  return;
86
86
  }
@@ -90,8 +90,8 @@ var SdTabGroup = class extends SolidElement {
90
90
  }
91
91
  handleKeyDown(event) {
92
92
  const target = event.target;
93
- const tab = target.closest("sd-4-0-0-next-3-tab");
94
- const tabGroup = tab == null ? void 0 : tab.closest("sd-4-0-0-next-3-tab-group");
93
+ const tab = target.closest("sd-4-0-0-next-4-tab");
94
+ const tabGroup = tab == null ? void 0 : tab.closest("sd-4-0-0-next-4-tab-group");
95
95
  if (tabGroup !== this) {
96
96
  return;
97
97
  }
@@ -116,7 +116,7 @@ var SdTabGroup = class extends SolidElement {
116
116
  if (["ArrowLeft", "ArrowRight", "ArrowUp", "ArrowDown", "Home", "End"].includes(event.key)) {
117
117
  const activeEl = this.tabs.find((t) => t.matches(":focus"));
118
118
  const isRtl = this.localize.dir() === "rtl";
119
- if ((activeEl == null ? void 0 : activeEl.tagName.toLowerCase()) === "sd-4-0-0-next-3-tab") {
119
+ if ((activeEl == null ? void 0 : activeEl.tagName.toLowerCase()) === "sd-4-0-0-next-4-tab") {
120
120
  let index = this.tabs.indexOf(activeEl);
121
121
  if (event.key === "Home") {
122
122
  index = 0;
@@ -212,15 +212,15 @@ var SdTabGroup = class extends SolidElement {
212
212
  return html`<div part="base" class="${cx("flex flex-col rounded-none")}" @click="${this.handleClick}" @keydown="${this.handleKeyDown}"><div part="nav" class="${cx(this.hasScrollControls && "relative py-0 px-12")}">${this.hasScrollControls ? html`<button part="scroll-button--start" exportparts="base:scroll-button__base" tabindex="-1" aria-hidden="true" class="${cx(
213
213
  "sd-interactive flex items-center justify-center absolute top-0 bottom-0 left-0 !outline-offset-0 border-b border-neutral-400 z-10",
214
214
  this.localize.dir() === "rtl" && "left-auto right-0"
215
- )}" @click="${this.handleScrollToStart}"><sd-4-0-0-next-3-icon library="system" name="${isRtl ? "chevron-up" : "chevron-down"}" label="previous" class="${cx("h-6 w-12 rotate-90 grid place-items-center")}"></sd-4-0-0-next-3-icon></button>` : ""}<div part="scroll-container" class="flex overflow-x-auto focus-visible:focus-outline !outline-offset-0"><div part="tabs" class="${cx("flex flex-auto relative flex-row")}" role="tablist"><div part="separation" class="w-full border-[0.25px] border-neutral-400 absolute bottom-0"></div><slot name="nav" @slotchange="${this.syncTabsAndPanels}"></slot></div></div>${this.hasScrollControls ? html`<button part="scroll-button--end" exportparts="base:scroll-button__base" tabindex="-1" aria-hidden="true" class="${cx(
215
+ )}" @click="${this.handleScrollToStart}"><sd-4-0-0-next-4-icon library="system" name="${isRtl ? "chevron-up" : "chevron-down"}" label="previous" class="${cx("h-6 w-12 rotate-90 grid place-items-center")}"></sd-4-0-0-next-4-icon></button>` : ""}<div part="scroll-container" class="flex overflow-x-auto focus-visible:focus-outline !outline-offset-0"><div part="tabs" class="${cx("flex flex-auto relative flex-row")}" role="tablist"><div part="separation" class="w-full border-[0.25px] border-neutral-400 absolute bottom-0"></div><slot name="nav" @slotchange="${this.syncTabsAndPanels}"></slot></div></div>${this.hasScrollControls ? html`<button part="scroll-button--end" exportparts="base:scroll-button__base" tabindex="-1" aria-hidden="true" class="${cx(
216
216
  "sd-interactive flex items-center justify-center absolute top-0 bottom-0 right-0 !outline-offset-0 border-b border-neutral-400 z-10",
217
217
  this.localize.dir() === "rtl" && "right-auto left-0"
218
- )}" @click="${this.handleScrollToEnd}"><sd-4-0-0-next-3-icon library="system" name="${isRtl ? "chevron-down" : "chevron-up"}" label="next" class="${cx("h-6 w-12 rotate-90 grid place-items-center")}"></sd-4-0-0-next-3-icon></button>` : ""}</div><slot part="body" class="${cx("block auto py-8 px-6", this.variant === "container" && "border border-neutral-400 border-t-0")}" @slotchange="${this.syncTabsAndPanels}"></slot></div>`;
218
+ )}" @click="${this.handleScrollToEnd}"><sd-4-0-0-next-4-icon library="system" name="${isRtl ? "chevron-down" : "chevron-up"}" label="next" class="${cx("h-6 w-12 rotate-90 grid place-items-center")}"></sd-4-0-0-next-4-icon></button>` : ""}</div><slot part="body" class="${cx("block auto py-8 px-6", this.variant === "container" && "border border-neutral-400 border-t-0")}" @slotchange="${this.syncTabsAndPanels}"></slot></div>`;
219
219
  }
220
220
  };
221
221
  SdTabGroup.styles = [
222
222
  ...SolidElement.styles,
223
- css`:host{box-sizing:border-box;display:block}[part=scroll-container]{scrollbar-width:none}[part=scroll-container]::-webkit-scrollbar{height:var(--sd-spacing-0,0);width:var(--sd-spacing-0,0)}:focus-within::slotted(sd-4-0-0-next-3-tab-panel){outline-color:rgb(var(--sd-color-primary,0 53 142)/1);outline-offset:2px;outline-style:solid;outline-width:2px}::slotted(sd-4-0-0-next-3-tab-panel){--padding:1rem 0}`
223
+ css`:host{box-sizing:border-box;display:block}[part=scroll-container]{scrollbar-width:none}[part=scroll-container]::-webkit-scrollbar{height:var(--sd-spacing-0,0);width:var(--sd-spacing-0,0)}:focus-within::slotted(sd-4-0-0-next-4-tab-panel){outline-color:rgb(var(--sd-color-primary,0 53 142)/1);outline-offset:2px;outline-style:solid;outline-width:2px}::slotted(sd-4-0-0-next-4-tab-panel){--padding:1rem 0}`
224
224
  ];
225
225
  __decorateClass([
226
226
  query("[part=base]")
@@ -241,7 +241,7 @@ __decorateClass([
241
241
  property()
242
242
  ], SdTabGroup.prototype, "activation", 2);
243
243
  SdTabGroup = __decorateClass([
244
- customElement("sd-4-0-0-next-3-tab-group")
244
+ customElement("sd-4-0-0-next-4-tab-group")
245
245
  ], SdTabGroup);
246
246
 
247
247
  export {
@@ -25,7 +25,7 @@ var SdCheckboxGroup = class extends SolidElement {
25
25
  this.label = "";
26
26
  }
27
27
  getAllCheckboxes() {
28
- return [...this.querySelectorAll("sd-4-0-0-next-3-checkbox")];
28
+ return [...this.querySelectorAll("sd-4-0-0-next-4-checkbox")];
29
29
  }
30
30
  async syncCheckboxElements() {
31
31
  const checkboxes = this.getAllCheckboxes();
@@ -38,10 +38,10 @@ var SdCheckboxGroup = class extends SolidElement {
38
38
  );
39
39
  }
40
40
  syncCheckboxes() {
41
- if (customElements.get("sd-4-0-0-next-3-checkbox")) {
41
+ if (customElements.get("sd-4-0-0-next-4-checkbox")) {
42
42
  this.syncCheckboxElements();
43
43
  } else {
44
- customElements.whenDefined("sd-4-0-0-next-3-checkbox").then(() => this.syncCheckboxes());
44
+ customElements.whenDefined("sd-4-0-0-next-4-checkbox").then(() => this.syncCheckboxes());
45
45
  }
46
46
  }
47
47
  handleSizeChange() {
@@ -75,7 +75,7 @@ var SdCheckboxGroup = class extends SolidElement {
75
75
  */
76
76
  SdCheckboxGroup.styles = [
77
77
  ...SolidElement.styles,
78
- css`:host{display:block}:host([orientation=vertical]) ::slotted(sd-4-0-0-next-3-checkbox){display:flex;margin-bottom:var(--sd-spacing-2,.5rem)}:host([orientation=vertical]) ::slotted(sd-4-0-0-next-3-checkbox:last-of-type){margin-bottom:var(--sd-spacing-0,0)}:host([orientation=horizontal]) ::slotted(sd-4-0-0-next-3-checkbox){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-4-0-0-next-3-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-4-0-0-next-3-checkbox){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-4-0-0-next-3-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}`
78
+ css`:host{display:block}:host([orientation=vertical]) ::slotted(sd-4-0-0-next-4-checkbox){display:flex;margin-bottom:var(--sd-spacing-2,.5rem)}:host([orientation=vertical]) ::slotted(sd-4-0-0-next-4-checkbox:last-of-type){margin-bottom:var(--sd-spacing-0,0)}:host([orientation=horizontal]) ::slotted(sd-4-0-0-next-4-checkbox){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-4-0-0-next-4-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-4-0-0-next-4-checkbox){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-4-0-0-next-4-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}`
79
79
  ];
80
80
  __decorateClass([
81
81
  property({ reflect: true })
@@ -93,7 +93,7 @@ __decorateClass([
93
93
  watch("invalid", { waitUntilFirstUpdate: true })
94
94
  ], SdCheckboxGroup.prototype, "handleInvalid", 1);
95
95
  SdCheckboxGroup = __decorateClass([
96
- customElement("sd-4-0-0-next-3-checkbox-group")
96
+ customElement("sd-4-0-0-next-4-checkbox-group")
97
97
  ], SdCheckboxGroup);
98
98
 
99
99
  export {
@@ -18,7 +18,7 @@ var SdTabPanel = class extends SolidElement {
18
18
  constructor() {
19
19
  super(...arguments);
20
20
  this.attrId = ++id;
21
- this.componentId = `sd-4-0-0-next-3-tab-panel-${this.attrId}`;
21
+ this.componentId = `sd-4-0-0-next-4-tab-panel-${this.attrId}`;
22
22
  this.name = "";
23
23
  this.active = false;
24
24
  }
@@ -48,7 +48,7 @@ __decorateClass([
48
48
  watch("active")
49
49
  ], SdTabPanel.prototype, "handleActiveChange", 1);
50
50
  SdTabPanel = __decorateClass([
51
- customElement("sd-4-0-0-next-3-tab-panel")
51
+ customElement("sd-4-0-0-next-4-tab-panel")
52
52
  ], SdTabPanel);
53
53
 
54
54
  export {
@@ -10,7 +10,7 @@ function setupAutocomplete(selector, { setValueOnSelection, scrollSelectionIntoV
10
10
  var _a, _b;
11
11
  const ul = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("ul");
12
12
  ul == null ? void 0 : ul.setAttribute("part", "listbox");
13
- const popup = document.createElement("sd-4-0-0-next-3-popup");
13
+ const popup = document.createElement("sd-4-0-0-next-4-popup");
14
14
  popup.appendChild(ul);
15
15
  (_b = sdInput.shadowRoot) == null ? void 0 : _b.appendChild(popup);
16
16
  popup == null ? void 0 : popup.setAttribute("exportparts", "popup__content");
@@ -22,7 +22,7 @@ function setupAutocomplete(selector, { setValueOnSelection, scrollSelectionIntoV
22
22
  popup.anchor = sdInput;
23
23
  popup.sync = "width";
24
24
  }
25
- const styles = css`sd-4-0-0-next-3-popup::part(popup){border-bottom-left-radius:var(--sd-border-radius-default,.25rem);border-bottom-right-radius:var(--sd-border-radius-default,.25rem);border-width:0 2px 2px;overflow-y:scroll;z-index:var(--sd-z-index-dropdown,900);--tw-border-opacity:1;border-color:rgb(var(--sd-color-primary,0 53 142)/var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(var(--sd-color-white,255 255 255)/var(--tw-bg-opacity,1));padding:var(--sd-spacing-3,.75rem) var(--sd-spacing-2,.5rem);--tw-shadow:var(--sd-shadow,0px 1px 3px 0px rgba(81,81,81,.75));--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}sd-4-0-0-next-3-popup li{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}sd-4-0-0-next-3-popup li:hover:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-100,246 246 246)/var(--tw-bg-opacity,1))}sd-4-0-0-next-3-popup li{list-style-type:""}sd-4-0-0-next-3-popup li mark{background-color:transparent;font-weight:700}sd-4-0-0-next-3-popup li:not(:has(sd-4-0-0-next-3-option)){cursor:pointer;font-size:var(--sd-font-size-base,1rem);padding:var(--sd-spacing-3,.75rem) var(--sd-spacing-4,1rem);--tw-text-opacity:1;color:rgb(var(--sd-color-black,24 24 24)/var(--tw-text-opacity,1))}sd-4-0-0-next-3-popup li:not(:has(sd-4-0-0-next-3-option)):hover{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-200,233 233 233)/var(--tw-bg-opacity,1))}sd-4-0-0-next-3-popup li[aria-selected=true]{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-200,233 233 233)/var(--tw-bg-opacity,1))}`;
25
+ const styles = css`sd-4-0-0-next-4-popup::part(popup){border-bottom-left-radius:var(--sd-border-radius-default,.25rem);border-bottom-right-radius:var(--sd-border-radius-default,.25rem);border-width:0 2px 2px;overflow-y:scroll;z-index:var(--sd-z-index-dropdown,900);--tw-border-opacity:1;border-color:rgb(var(--sd-color-primary,0 53 142)/var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(var(--sd-color-white,255 255 255)/var(--tw-bg-opacity,1));padding:var(--sd-spacing-3,.75rem) var(--sd-spacing-2,.5rem);--tw-shadow:var(--sd-shadow,0px 1px 3px 0px rgba(81,81,81,.75));--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}sd-4-0-0-next-4-popup li{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}sd-4-0-0-next-4-popup li:hover:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-100,246 246 246)/var(--tw-bg-opacity,1))}sd-4-0-0-next-4-popup li{list-style-type:""}sd-4-0-0-next-4-popup li mark{background-color:transparent;font-weight:700}sd-4-0-0-next-4-popup li:not(:has(sd-4-0-0-next-4-option)){cursor:pointer;font-size:var(--sd-font-size-base,1rem);padding:var(--sd-spacing-3,.75rem) var(--sd-spacing-4,1rem);--tw-text-opacity:1;color:rgb(var(--sd-color-black,24 24 24)/var(--tw-text-opacity,1))}sd-4-0-0-next-4-popup li:not(:has(sd-4-0-0-next-4-option)):hover{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-200,233 233 233)/var(--tw-bg-opacity,1))}sd-4-0-0-next-4-popup li[aria-selected=true]{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-200,233 233 233)/var(--tw-bg-opacity,1))}`;
26
26
  const styleSheet = new CSSStyleSheet();
27
27
  styleSheet.replaceSync(styles);
28
28
  sdInput.shadowRoot.adoptedStyleSheets = [...sdInput.shadowRoot.adoptedStyleSheets, styleSheet];
@@ -35,13 +35,13 @@ function setupAutocomplete(selector, { setValueOnSelection, scrollSelectionIntoV
35
35
  }
36
36
  input.addEventListener("open", () => {
37
37
  var _a, _b, _c, _d, _e, _f;
38
- (_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-4-0-0-next-3-popup")) == null ? void 0 : _b.setAttribute("active", "true");
38
+ (_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-4-0-0-next-4-popup")) == null ? void 0 : _b.setAttribute("active", "true");
39
39
  (_d = (_c = sdInput.shadowRoot) == null ? void 0 : _c.querySelector('[part="border"]')) == null ? void 0 : _d.classList.add("rounded-b-none");
40
40
  (_f = (_e = sdInput.shadowRoot) == null ? void 0 : _e.querySelector('[part="form-control"]')) == null ? void 0 : _f.classList.add("z-50");
41
41
  });
42
42
  input.addEventListener("close", () => {
43
43
  var _a, _b, _c, _d, _e, _f;
44
- (_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-4-0-0-next-3-popup")) == null ? void 0 : _b.removeAttribute("active");
44
+ (_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-4-0-0-next-4-popup")) == null ? void 0 : _b.removeAttribute("active");
45
45
  (_d = (_c = sdInput.shadowRoot) == null ? void 0 : _c.querySelector('[part="border"]')) == null ? void 0 : _d.classList.remove("rounded-b-none");
46
46
  (_f = (_e = sdInput.shadowRoot) == null ? void 0 : _e.querySelector('[part="form-control"]')) == null ? void 0 : _f.classList.remove("z-50");
47
47
  });
@@ -169,7 +169,7 @@ var SdDialog = class extends SolidElement {
169
169
  )}"><div part="overlay" class="fixed inset-0 bg-primary-800 opacity-90" @click="${() => this.requestClose("overlay")}" tabindex="-1"></div><div part="panel" class="${cx(
170
170
  "flex flex-col z-20 bg-white py-4 sm:py-8 relative gap-6 focus-visible:focus-outline-inverted",
171
171
  this.open && "flex opacity-100"
172
- )}" role="dialog" aria-modal="true" aria-hidden="${this.open ? "false" : "true"}" aria-label="${this.headline}" aria-labelledby="title" tabindex="0"><header part="header" class="flex flex-grow-0 flex-shrink-0 basis-auto px-6 sm:px-10"><h2 part="title" class="flex-auto m-0" id="title">${this.headline.length > 0 ? html`<span class="sd-headline sd-headline--size-3xl leading-tight">${this.headline}</span>` : html`<slot name="headline"></slot>`}</h2>${!this.noCloseButton ? html`<sd-4-0-0-next-3-button part="close-button" variant="tertiary" exportparts="base:close-button__base" class="${cx("absolute top-2 right-2")}" name="x-lg" @click="${() => this.requestClose("close-button")}" type="button"><sd-4-0-0-next-3-icon label="${this.localize.term("close")}" name="close" library="system" color="currentColor"></sd-4-0-0-next-3-icon></sd-4-0-0-next-3-button>` : ""}</header><main part="body" class="flex flex-auto overflow-auto w-full px-6 sm:px-10"><slot></slot></main><footer part="footer" class="flex flex-grow-0 flex-shrink-0 basis-auto ml-auto gap-4 px-6 sm:px-10"><slot name="footer"></slot></footer></div></div>`;
172
+ )}" role="dialog" aria-modal="true" aria-hidden="${this.open ? "false" : "true"}" aria-label="${this.headline}" aria-labelledby="title" tabindex="0"><header part="header" class="flex flex-grow-0 flex-shrink-0 basis-auto px-6 sm:px-10"><h2 part="title" class="flex-auto m-0" id="title">${this.headline.length > 0 ? html`<span class="sd-headline sd-headline--size-3xl leading-tight">${this.headline}</span>` : html`<slot name="headline"></slot>`}</h2>${!this.noCloseButton ? html`<sd-4-0-0-next-4-button part="close-button" variant="tertiary" exportparts="base:close-button__base" class="${cx("absolute top-2 right-2")}" name="x-lg" @click="${() => this.requestClose("close-button")}" type="button"><sd-4-0-0-next-4-icon label="${this.localize.term("close")}" name="close" library="system" color="currentColor"></sd-4-0-0-next-4-icon></sd-4-0-0-next-4-button>` : ""}</header><main part="body" class="flex flex-auto overflow-auto w-full px-6 sm:px-10"><slot></slot></main><footer part="footer" class="flex flex-grow-0 flex-shrink-0 basis-auto ml-auto gap-4 px-6 sm:px-10"><slot name="footer"></slot></footer></div></div>`;
173
173
  }
174
174
  };
175
175
  SdDialog.styles = [
@@ -198,7 +198,7 @@ __decorateClass([
198
198
  watch("open", { waitUntilFirstUpdate: true })
199
199
  ], SdDialog.prototype, "handleOpenChange", 1);
200
200
  SdDialog = __decorateClass([
201
- customElement("sd-4-0-0-next-3-dialog")
201
+ customElement("sd-4-0-0-next-4-dialog")
202
202
  ], SdDialog);
203
203
  setDefaultAnimation("dialog.show", {
204
204
  keyframes: [
@@ -1,6 +1,9 @@
1
1
  import {
2
2
  watch
3
3
  } from "./chunk.X2OQMWGY.js";
4
+ import {
5
+ HasSlotController
6
+ } from "./chunk.YEZS5ZR2.js";
4
7
  import {
5
8
  SolidElement,
6
9
  customElement
@@ -18,7 +21,8 @@ var SdTab = class extends SolidElement {
18
21
  constructor() {
19
22
  super(...arguments);
20
23
  this.attrId = ++id;
21
- this.componentId = `sd-4-0-0-next-3-tab-${this.attrId}`;
24
+ this.componentId = `sd-4-0-0-next-4-tab-${this.attrId}`;
25
+ this.hasSlotController = new HasSlotController(this, "left");
22
26
  this.variant = "default";
23
27
  this.active = false;
24
28
  this.disabled = false;
@@ -44,12 +48,15 @@ var SdTab = class extends SolidElement {
44
48
  }
45
49
  render() {
46
50
  this.id = this.id.length > 0 ? this.id : this.componentId;
51
+ const slots = {
52
+ left: this.hasSlotController.test("left")
53
+ };
47
54
  return html`<div part="base" class="${cx(
48
55
  "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",
49
56
  this.variant === "container" && " rounded-[4px_4px_0_0]",
50
57
  this.variant === "container" && this.active && "tab--active-container-border bg-white",
51
58
  this.disabled ? "opacity-50 !cursor-not-allowed" : "hover:bg-neutral-200"
52
- )}" tabindex="${this.disabled ? "-1" : this.active ? "0" : "-1"}"><slot name="left" class="${cx("pr-2", this.disabled ? "text-neutral-500" : "text-primary")}"></slot><slot class="${cx(this.disabled ? "text-neutral-500" : "text-primary")}"></slot><div part="active-tab-indicator" class="${cx(
59
+ )}" tabindex="${!this.active || this.disabled ? "-1" : "0"}"><slot name="left" class="${cx(slots.left && "block pr-2", this.disabled ? "text-neutral-500" : "text-primary")}"></slot><slot class="${cx(this.disabled ? "text-neutral-500" : "text-primary")}"></slot><div part="active-tab-indicator" class="${cx(
53
60
  (!this.active || this.disabled) && "hidden",
54
61
  "absolute bottom-0 h-1 bg-accent",
55
62
  this.variant === "default" ? "w-full" : "w-3/4 group-hover:w-full transition-all duration-200 ease-in-out"
@@ -84,7 +91,7 @@ __decorateClass([
84
91
  watch("disabled")
85
92
  ], SdTab.prototype, "handleDisabledChange", 1);
86
93
  SdTab = __decorateClass([
87
- customElement("sd-4-0-0-next-3-tab")
94
+ customElement("sd-4-0-0-next-4-tab")
88
95
  ], SdTab);
89
96
 
90
97
  export {
@@ -98,7 +98,7 @@ __decorateClass([
98
98
  state()
99
99
  ], SdTeaser.prototype, "_orientation", 2);
100
100
  SdTeaser = __decorateClass([
101
- customElement("sd-4-0-0-next-3-teaser")
101
+ customElement("sd-4-0-0-next-4-teaser")
102
102
  ], SdTeaser);
103
103
 
104
104
  export {
@@ -64,7 +64,7 @@ __decorateClass([
64
64
  query('[part="base"]')
65
65
  ], SdTeaserMedia.prototype, "teaserMedia", 2);
66
66
  SdTeaserMedia = __decorateClass([
67
- customElement("sd-4-0-0-next-3-teaser-media")
67
+ customElement("sd-4-0-0-next-4-teaser-media")
68
68
  ], SdTeaserMedia);
69
69
 
70
70
  export {
@@ -76,10 +76,10 @@ var SdRadioGroup = class extends SolidElement {
76
76
  this.formControlController.updateValidity();
77
77
  }
78
78
  getAllRadios() {
79
- return [...this.querySelectorAll("sd-4-0-0-next-3-radio, sd-4-0-0-next-3-radio-button")];
79
+ return [...this.querySelectorAll("sd-4-0-0-next-4-radio, sd-4-0-0-next-4-radio-button")];
80
80
  }
81
81
  handleRadioClick(event) {
82
- const target = event.target.closest("sd-4-0-0-next-3-radio, sd-4-0-0-next-3-radio-button");
82
+ const target = event.target.closest("sd-4-0-0-next-4-radio, sd-4-0-0-next-4-radio-button");
83
83
  const radios = this.getAllRadios();
84
84
  const oldValue = this.value;
85
85
  if (target.disabled) {
@@ -156,7 +156,7 @@ var SdRadioGroup = class extends SolidElement {
156
156
  }
157
157
  })
158
158
  );
159
- this.hasButtonGroup = radios.some((radio) => radio.tagName.toLowerCase() === "sd-4-0-0-next-3-radio-button");
159
+ this.hasButtonGroup = radios.some((radio) => radio.tagName.toLowerCase() === "sd-4-0-0-next-4-radio-button");
160
160
  if (!radios.some((radio) => radio.checked)) {
161
161
  if (this.hasButtonGroup) {
162
162
  const buttonRadio = (_a = radios[0].shadowRoot) == null ? void 0 : _a.querySelector("button");
@@ -168,26 +168,26 @@ var SdRadioGroup = class extends SolidElement {
168
168
  }
169
169
  }
170
170
  if (this.hasButtonGroup) {
171
- const buttonGroup = (_b = this.shadowRoot) == null ? void 0 : _b.querySelector("sd-4-0-0-next-3-button-group");
171
+ const buttonGroup = (_b = this.shadowRoot) == null ? void 0 : _b.querySelector("sd-4-0-0-next-4-button-group");
172
172
  if (buttonGroup) {
173
173
  buttonGroup.disableRole = true;
174
174
  }
175
175
  }
176
176
  }
177
177
  syncRadios() {
178
- if (customElements.get("sd-4-0-0-next-3-radio") && customElements.get("sd-4-0-0-next-3-radio-button")) {
178
+ if (customElements.get("sd-4-0-0-next-4-radio") && customElements.get("sd-4-0-0-next-4-radio-button")) {
179
179
  this.syncRadioElements();
180
180
  return;
181
181
  }
182
- if (customElements.get("sd-4-0-0-next-3-radio")) {
182
+ if (customElements.get("sd-4-0-0-next-4-radio")) {
183
183
  this.syncRadioElements();
184
184
  } else {
185
- customElements.whenDefined("sd-4-0-0-next-3-radio").then(() => this.syncRadios());
185
+ customElements.whenDefined("sd-4-0-0-next-4-radio").then(() => this.syncRadios());
186
186
  }
187
- if (customElements.get("sd-4-0-0-next-3-radio-button")) {
187
+ if (customElements.get("sd-4-0-0-next-4-radio-button")) {
188
188
  this.syncRadioElements();
189
189
  } else {
190
- customElements.whenDefined("sd-4-0-0-next-3-radio-button").then(() => this.syncRadios());
190
+ customElements.whenDefined("sd-4-0-0-next-4-radio-button").then(() => this.syncRadios());
191
191
  }
192
192
  }
193
193
  updateCheckedRadio() {
@@ -259,16 +259,16 @@ var SdRadioGroup = class extends SolidElement {
259
259
  vertical: "flex-col",
260
260
  horizontal: "flex-row"
261
261
  }[this.orientation]
262
- )}"><div class="sr-only"><label><input id="validation-input" type="text" ?required="${this.required}" tabindex="-1" hidden @invalid="${this.handleInvalid}"></label></div>${this.hasButtonGroup ? html`<sd-4-0-0-next-3-button-group part="button-group" exportparts="base:button-group__base" role="presentation">${defaultSlot}</sd-4-0-0-next-3-button-group>` : defaultSlot}</div></fieldset>${this.formControlController.renderInvalidMessage()}`;
262
+ )}"><div class="sr-only"><label><input id="validation-input" type="text" ?required="${this.required}" tabindex="-1" hidden @invalid="${this.handleInvalid}"></label></div>${this.hasButtonGroup ? html`<sd-4-0-0-next-4-button-group part="button-group" exportparts="base:button-group__base" role="presentation">${defaultSlot}</sd-4-0-0-next-4-button-group>` : defaultSlot}</div></fieldset>${this.formControlController.renderInvalidMessage()}`;
263
263
  }
264
264
  };
265
- SdRadioGroup.dependencies = { "sd-4-0-0-next-3-button-group": SdButtonGroup };
265
+ SdRadioGroup.dependencies = { "sd-4-0-0-next-4-button-group": SdButtonGroup };
266
266
  /**
267
267
  * Inherits Tailwind classes and includes additional styling.
268
268
  */
269
269
  SdRadioGroup.styles = [
270
270
  ...SolidElement.styles,
271
- css`:host{display:block}:host([orientation=vertical]) ::slotted(sd-4-0-0-next-3-radio){display:flex;margin-bottom:var(--sd-spacing-2,.5rem)}:host([orientation=vertical]) ::slotted(sd-4-0-0-next-3-radio:last-of-type){margin-bottom:var(--sd-spacing-0,0)}:host([orientation=horizontal]) ::slotted(sd-4-0-0-next-3-radio){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-4-0-0-next-3-radio:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-4-0-0-next-3-radio){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-4-0-0-next-3-radio:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([required]) #label:after{content:" *"}`
271
+ css`:host{display:block}:host([orientation=vertical]) ::slotted(sd-4-0-0-next-4-radio){display:flex;margin-bottom:var(--sd-spacing-2,.5rem)}:host([orientation=vertical]) ::slotted(sd-4-0-0-next-4-radio:last-of-type){margin-bottom:var(--sd-spacing-0,0)}:host([orientation=horizontal]) ::slotted(sd-4-0-0-next-4-radio){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-4-0-0-next-4-radio:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-4-0-0-next-4-radio){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-4-0-0-next-4-radio:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([required]) #label:after{content:" *"}`
272
272
  ];
273
273
  __decorateClass([
274
274
  query("slot:not([name])")
@@ -322,7 +322,7 @@ __decorateClass([
322
322
  watch("value")
323
323
  ], SdRadioGroup.prototype, "handleValueChange", 1);
324
324
  SdRadioGroup = __decorateClass([
325
- customElement("sd-4-0-0-next-3-radio-group")
325
+ customElement("sd-4-0-0-next-4-radio-group")
326
326
  ], SdRadioGroup);
327
327
 
328
328
  export {