@solid-design-system/components 4.6.7 → 4.6.8

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 (249) hide show
  1. package/cdn/chunks/chunk.2XV5BBKS.js +1 -0
  2. package/cdn/chunks/chunk.F6RITWOK.js +1 -0
  3. package/cdn/components/tab/tab.d.ts +1 -0
  4. package/cdn/components/tab/tab.js +1 -1
  5. package/cdn/components/tab-group/tab-group.js +1 -1
  6. package/cdn/custom-elements.json +21 -1
  7. package/cdn/solid-components.bundle.js +13 -13
  8. package/cdn/solid-components.iife.js +13 -13
  9. package/cdn/solid-components.js +1 -1
  10. package/cdn/vscode.html-custom-data.json +5 -0
  11. package/cdn/web-types.json +11 -1
  12. package/cdn-versioned/_components/menu/menu.js +1 -1
  13. package/cdn-versioned/_components/menu/menu.styles.js +1 -1
  14. package/cdn-versioned/_components/menu-item/menu-item.js +2 -2
  15. package/cdn-versioned/chunks/chunk.2RIVDRYN.js +1 -1
  16. package/cdn-versioned/chunks/chunk.2XV5BBKS.js +1 -0
  17. package/cdn-versioned/chunks/chunk.3D62RZ2Z.js +2 -2
  18. package/cdn-versioned/chunks/chunk.3HOCCAOC.js +1 -1
  19. package/cdn-versioned/chunks/chunk.3YPJCZOD.js +1 -1
  20. package/cdn-versioned/chunks/chunk.5CP6CRGL.js +1 -1
  21. package/cdn-versioned/chunks/chunk.5YA6WG7I.js +1 -1
  22. package/cdn-versioned/chunks/chunk.65NSSTJE.js +1 -1
  23. package/cdn-versioned/chunks/chunk.6Q37IBDM.js +1 -1
  24. package/cdn-versioned/chunks/chunk.6XTSQUSU.js +1 -1
  25. package/cdn-versioned/chunks/chunk.7MDQZEHN.js +1 -1
  26. package/cdn-versioned/chunks/chunk.BIWE2YFU.js +1 -1
  27. package/cdn-versioned/chunks/chunk.BU2E77FJ.js +3 -3
  28. package/cdn-versioned/chunks/chunk.C5D2DMXR.js +1 -1
  29. package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
  30. package/cdn-versioned/chunks/chunk.D7YBJDMX.js +1 -1
  31. package/cdn-versioned/chunks/chunk.DQ4LC2QQ.js +1 -1
  32. package/cdn-versioned/chunks/chunk.DXZG7YGV.js +1 -1
  33. package/cdn-versioned/chunks/chunk.EIY45BTU.js +1 -1
  34. package/cdn-versioned/chunks/chunk.F6RITWOK.js +1 -0
  35. package/cdn-versioned/chunks/chunk.FZLK25RZ.js +1 -1
  36. package/cdn-versioned/chunks/chunk.GULQVATJ.js +1 -1
  37. package/cdn-versioned/chunks/chunk.HIWNQUT2.js +1 -1
  38. package/cdn-versioned/chunks/chunk.ILF7UZDH.js +1 -1
  39. package/cdn-versioned/chunks/chunk.IZUTH5VY.js +4 -4
  40. package/cdn-versioned/chunks/chunk.J5GYRMVW.js +1 -1
  41. package/cdn-versioned/chunks/chunk.K6MPMK2S.js +1 -1
  42. package/cdn-versioned/chunks/chunk.KLARHQI2.js +1 -1
  43. package/cdn-versioned/chunks/chunk.NIKSK6UX.js +1 -1
  44. package/cdn-versioned/chunks/chunk.NR42774V.js +1 -1
  45. package/cdn-versioned/chunks/chunk.OOWV6VHF.js +1 -1
  46. package/cdn-versioned/chunks/chunk.PAUDYROR.js +1 -1
  47. package/cdn-versioned/chunks/chunk.PEIJ5QII.js +1 -1
  48. package/cdn-versioned/chunks/chunk.PEYEID7E.js +1 -1
  49. package/cdn-versioned/chunks/chunk.PTJJRTHX.js +1 -1
  50. package/cdn-versioned/chunks/chunk.QKA4RHJ4.js +1 -1
  51. package/cdn-versioned/chunks/chunk.QWFYJP4P.js +1 -1
  52. package/cdn-versioned/chunks/chunk.RL6X34VW.js +4 -4
  53. package/cdn-versioned/chunks/chunk.SCGOQGTJ.js +1 -1
  54. package/cdn-versioned/chunks/chunk.STBV672J.js +2 -2
  55. package/cdn-versioned/chunks/chunk.TNG3FY3U.js +1 -1
  56. package/cdn-versioned/chunks/chunk.TYH3DD3Z.js +1 -1
  57. package/cdn-versioned/chunks/chunk.UW24BDXV.js +1 -1
  58. package/cdn-versioned/chunks/chunk.V6AI2UU3.js +1 -1
  59. package/cdn-versioned/chunks/chunk.VTEMYE2V.js +1 -1
  60. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  61. package/cdn-versioned/chunks/chunk.WD6KFGLX.js +1 -1
  62. package/cdn-versioned/chunks/chunk.XCZ7A7XW.js +1 -1
  63. package/cdn-versioned/chunks/chunk.XDA5YIYP.js +1 -1
  64. package/cdn-versioned/chunks/chunk.Y2ZOHPE6.js +1 -1
  65. package/cdn-versioned/chunks/chunk.Y4IR7JF5.js +1 -1
  66. package/cdn-versioned/chunks/chunk.YYZEOF4B.js +1 -1
  67. package/cdn-versioned/chunks/chunk.ZNMNVYHM.js +1 -1
  68. package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
  69. package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  70. package/cdn-versioned/components/animation/animation.d.ts +1 -1
  71. package/cdn-versioned/components/audio/audio.d.ts +1 -1
  72. package/cdn-versioned/components/badge/badge.d.ts +1 -1
  73. package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
  74. package/cdn-versioned/components/button/button.d.ts +1 -1
  75. package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
  76. package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
  77. package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  78. package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
  79. package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  80. package/cdn-versioned/components/combobox/combobox.d.ts +4 -4
  81. package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
  82. package/cdn-versioned/components/divider/divider.d.ts +1 -1
  83. package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
  84. package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
  85. package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
  86. package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
  87. package/cdn-versioned/components/header/header.d.ts +1 -1
  88. package/cdn-versioned/components/icon/icon.d.ts +1 -1
  89. package/cdn-versioned/components/include/include.d.ts +1 -1
  90. package/cdn-versioned/components/input/input.d.ts +1 -1
  91. package/cdn-versioned/components/link/link.d.ts +1 -1
  92. package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
  93. package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  94. package/cdn-versioned/components/notification/notification.d.ts +1 -1
  95. package/cdn-versioned/components/optgroup/optgroup.d.ts +2 -2
  96. package/cdn-versioned/components/option/option.d.ts +1 -1
  97. package/cdn-versioned/components/popup/popup.d.ts +1 -1
  98. package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
  99. package/cdn-versioned/components/radio/radio.d.ts +1 -1
  100. package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
  101. package/cdn-versioned/components/radio-group/radio-group.d.ts +2 -2
  102. package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
  103. package/cdn-versioned/components/select/select.d.ts +4 -4
  104. package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
  105. package/cdn-versioned/components/step/step.d.ts +1 -1
  106. package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
  107. package/cdn-versioned/components/switch/switch.d.ts +1 -1
  108. package/cdn-versioned/components/tab/tab.d.ts +2 -1
  109. package/cdn-versioned/components/tab/tab.js +1 -1
  110. package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
  111. package/cdn-versioned/components/tab-group/tab-group.js +1 -1
  112. package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  113. package/cdn-versioned/components/tag/tag.d.ts +1 -1
  114. package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
  115. package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
  116. package/cdn-versioned/components/video/video.d.ts +1 -1
  117. package/cdn-versioned/custom-elements.json +222 -202
  118. package/cdn-versioned/internal/form.js +3 -3
  119. package/cdn-versioned/solid-components.bundle.js +18 -18
  120. package/cdn-versioned/solid-components.css +2 -2
  121. package/cdn-versioned/solid-components.iife.js +18 -18
  122. package/cdn-versioned/solid-components.js +1 -1
  123. package/cdn-versioned/vscode.html-custom-data.json +85 -80
  124. package/cdn-versioned/web-types.json +147 -137
  125. package/dist/chunks/{chunk.EATARJOL.js → chunk.LGYGD6SX.js} +17 -6
  126. package/dist/chunks/{chunk.YELMYFWG.js → chunk.PMZLGJKG.js} +3 -3
  127. package/dist/components/tab/tab.d.ts +1 -0
  128. package/dist/components/tab/tab.js +1 -1
  129. package/dist/components/tab-group/tab-group.js +1 -1
  130. package/dist/custom-elements.json +21 -1
  131. package/dist/solid-components.js +2 -2
  132. package/dist/vscode.html-custom-data.json +5 -0
  133. package/dist/web-types.json +11 -1
  134. package/dist-versioned/_components/menu/menu.js +1 -1
  135. package/dist-versioned/_components/menu/menu.styles.js +1 -1
  136. package/dist-versioned/_components/menu-item/menu-item.js +2 -2
  137. package/dist-versioned/chunks/chunk.3ORZT34X.js +1 -1
  138. package/dist-versioned/chunks/chunk.3PS24RCT.js +8 -8
  139. package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
  140. package/dist-versioned/chunks/chunk.6VCNAVH4.js +3 -3
  141. package/dist-versioned/chunks/chunk.6WU4LF5Z.js +5 -5
  142. package/dist-versioned/chunks/chunk.AOWIHO7B.js +1 -1
  143. package/dist-versioned/chunks/chunk.CKKINYND.js +1 -1
  144. package/dist-versioned/chunks/chunk.CTZX4JSW.js +1 -1
  145. package/dist-versioned/chunks/chunk.DIVJNSSG.js +5 -5
  146. package/dist-versioned/chunks/chunk.EJMQUF44.js +2 -2
  147. package/dist-versioned/chunks/chunk.EZKDJFKX.js +2 -2
  148. package/dist-versioned/chunks/chunk.HP5TMUCE.js +11 -11
  149. package/dist-versioned/chunks/chunk.I2AG6P7E.js +2 -2
  150. package/dist-versioned/chunks/chunk.IBTGZ65I.js +2 -2
  151. package/dist-versioned/chunks/chunk.ILPAMBSC.js +2 -2
  152. package/dist-versioned/chunks/chunk.ISZXPWVC.js +2 -2
  153. package/dist-versioned/chunks/chunk.J67NOH2J.js +2 -2
  154. package/dist-versioned/chunks/chunk.JEZFJKCR.js +2 -2
  155. package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
  156. package/dist-versioned/chunks/chunk.LA5LTAEA.js +1 -1
  157. package/dist-versioned/chunks/{chunk.EATARJOL.js → chunk.LGYGD6SX.js} +19 -8
  158. package/dist-versioned/chunks/chunk.ML4MIKYQ.js +9 -9
  159. package/dist-versioned/chunks/chunk.O3TREWCC.js +3 -3
  160. package/dist-versioned/chunks/chunk.OJPVJA2S.js +1 -1
  161. package/dist-versioned/chunks/chunk.OX2URSR7.js +1 -1
  162. package/dist-versioned/chunks/{chunk.YELMYFWG.js → chunk.PMZLGJKG.js} +15 -15
  163. package/dist-versioned/chunks/chunk.PQNIAIWQ.js +13 -13
  164. package/dist-versioned/chunks/chunk.PS2S6VDP.js +1 -1
  165. package/dist-versioned/chunks/chunk.PTZRO2RN.js +3 -3
  166. package/dist-versioned/chunks/chunk.Q7SDLREI.js +3 -3
  167. package/dist-versioned/chunks/chunk.R24LPR7A.js +2 -2
  168. package/dist-versioned/chunks/chunk.SWZ7YNPJ.js +2 -2
  169. package/dist-versioned/chunks/chunk.T4ZCLZI2.js +2 -2
  170. package/dist-versioned/chunks/chunk.TDFVAXJF.js +2 -2
  171. package/dist-versioned/chunks/chunk.TGTE644Y.js +5 -5
  172. package/dist-versioned/chunks/chunk.TK6PTMFF.js +1 -1
  173. package/dist-versioned/chunks/chunk.TXYWAHFM.js +1 -1
  174. package/dist-versioned/chunks/chunk.TZPIUQJ5.js +1 -1
  175. package/dist-versioned/chunks/chunk.UHYIMTVH.js +5 -5
  176. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  177. package/dist-versioned/chunks/chunk.V5TII4MB.js +26 -26
  178. package/dist-versioned/chunks/chunk.VMVFMQ3Q.js +6 -6
  179. package/dist-versioned/chunks/chunk.VSY4EUFN.js +2 -2
  180. package/dist-versioned/chunks/chunk.W5XT73TK.js +2 -2
  181. package/dist-versioned/chunks/chunk.WCLY7RG6.js +5 -5
  182. package/dist-versioned/chunks/chunk.WFNCHKPE.js +6 -6
  183. package/dist-versioned/chunks/chunk.WZWSOE2S.js +29 -29
  184. package/dist-versioned/chunks/chunk.X54F4QNG.js +4 -4
  185. package/dist-versioned/chunks/chunk.XLKZYB73.js +1 -1
  186. package/dist-versioned/chunks/chunk.YKFNELUH.js +1 -1
  187. package/dist-versioned/chunks/chunk.ZGKB7QGK.js +5 -5
  188. package/dist-versioned/chunks/chunk.ZKKB55C5.js +2 -2
  189. package/dist-versioned/chunks/chunk.ZQJKVTOP.js +1 -1
  190. package/dist-versioned/components/accordion/accordion.d.ts +1 -1
  191. package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  192. package/dist-versioned/components/animation/animation.d.ts +1 -1
  193. package/dist-versioned/components/audio/audio.d.ts +1 -1
  194. package/dist-versioned/components/badge/badge.d.ts +1 -1
  195. package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
  196. package/dist-versioned/components/button/button.d.ts +1 -1
  197. package/dist-versioned/components/button-group/button-group.d.ts +1 -1
  198. package/dist-versioned/components/carousel/carousel.d.ts +1 -1
  199. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  200. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  201. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  202. package/dist-versioned/components/combobox/combobox.d.ts +4 -4
  203. package/dist-versioned/components/dialog/dialog.d.ts +1 -1
  204. package/dist-versioned/components/divider/divider.d.ts +1 -1
  205. package/dist-versioned/components/drawer/drawer.d.ts +1 -1
  206. package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
  207. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  208. package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
  209. package/dist-versioned/components/header/header.d.ts +1 -1
  210. package/dist-versioned/components/icon/icon.d.ts +1 -1
  211. package/dist-versioned/components/include/include.d.ts +1 -1
  212. package/dist-versioned/components/input/input.d.ts +1 -1
  213. package/dist-versioned/components/link/link.d.ts +1 -1
  214. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  215. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  216. package/dist-versioned/components/notification/notification.d.ts +1 -1
  217. package/dist-versioned/components/optgroup/optgroup.d.ts +2 -2
  218. package/dist-versioned/components/option/option.d.ts +1 -1
  219. package/dist-versioned/components/popup/popup.d.ts +1 -1
  220. package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
  221. package/dist-versioned/components/radio/radio.d.ts +1 -1
  222. package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
  223. package/dist-versioned/components/radio-group/radio-group.d.ts +2 -2
  224. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  225. package/dist-versioned/components/select/select.d.ts +4 -4
  226. package/dist-versioned/components/spinner/spinner.d.ts +1 -1
  227. package/dist-versioned/components/step/step.d.ts +1 -1
  228. package/dist-versioned/components/step-group/step-group.d.ts +1 -1
  229. package/dist-versioned/components/switch/switch.d.ts +1 -1
  230. package/dist-versioned/components/tab/tab.d.ts +2 -1
  231. package/dist-versioned/components/tab/tab.js +1 -1
  232. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  233. package/dist-versioned/components/tab-group/tab-group.js +1 -1
  234. package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  235. package/dist-versioned/components/tag/tag.d.ts +1 -1
  236. package/dist-versioned/components/textarea/textarea.d.ts +1 -1
  237. package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
  238. package/dist-versioned/components/video/video.d.ts +1 -1
  239. package/dist-versioned/custom-elements.json +222 -202
  240. package/dist-versioned/internal/form.js +3 -3
  241. package/dist-versioned/solid-components.css +2 -2
  242. package/dist-versioned/solid-components.js +2 -2
  243. package/dist-versioned/vscode.html-custom-data.json +85 -80
  244. package/dist-versioned/web-types.json +147 -137
  245. package/package.json +1 -1
  246. package/cdn/chunks/chunk.NTVL7HVE.js +0 -1
  247. package/cdn/chunks/chunk.ZIYUJYNT.js +0 -1
  248. package/cdn-versioned/chunks/chunk.NTVL7HVE.js +0 -1
  249. package/cdn-versioned/chunks/chunk.ZIYUJYNT.js +0 -1
@@ -26,6 +26,7 @@ var SdTab = class extends SolidElement {
26
26
  this.variant = "default";
27
27
  this.active = false;
28
28
  this.disabled = false;
29
+ this.visuallyDisabled = false;
29
30
  this.panel = "";
30
31
  }
31
32
  connectedCallback() {
@@ -36,7 +37,8 @@ var SdTab = class extends SolidElement {
36
37
  this.setAttribute("aria-selected", this.active ? "true" : "false");
37
38
  }
38
39
  handleDisabledChange() {
39
- this.setAttribute("aria-disabled", this.disabled ? "true" : "false");
40
+ const isDisabled = this.disabled || this.visuallyDisabled;
41
+ this.setAttribute("aria-disabled", isDisabled ? "true" : "false");
40
42
  }
41
43
  /** Sets focus to the tab. */
42
44
  focus(options) {
@@ -52,17 +54,23 @@ var SdTab = class extends SolidElement {
52
54
  left: this.hasSlotController.test("left")
53
55
  };
54
56
  return html`<div part="base" class="${cx(
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",
57
+ "inline-flex justify-center min-w-max items-center h-12 px-3 leading-none select-none cursor-pointer group relative focus-visible:focus-outline outline-2 !-outline-offset-2",
56
58
  this.variant === "container" && " rounded-[4px_4px_0_0]",
57
59
  this.variant === "container" && this.active && "tab--active-container-border bg-white",
58
- this.disabled ? "opacity-50 !cursor-not-allowed" : "hover:bg-neutral-200"
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(
60
+ this.disabled || this.visuallyDisabled ? "!cursor-not-allowed" : "hover:bg-neutral-200"
61
+ )}" tabindex="${!this.active || this.disabled ? "-1" : "0"}"><div class="${cx(
62
+ "flex h-full items-center justify-center whitespace-nowrap",
63
+ this.disabled || this.visuallyDisabled && "opacity-50 "
64
+ )}"><slot name="left" class="${cx(
65
+ slots.left && "block pr-2",
66
+ this.disabled || this.visuallyDisabled ? "text-neutral-500" : "text-primary"
67
+ )}"></slot><slot class="${cx(this.disabled || this.visuallyDisabled ? "text-neutral-500" : "text-primary")}"></slot><div part="active-tab-indicator" class="${cx(
60
68
  (!this.active || this.disabled) && "hidden",
61
69
  "absolute bottom-0 h-1 bg-accent",
62
70
  this.variant === "default" ? "w-full" : "w-3/4 group-hover:w-full transition-all duration-200 ease-in-out"
63
71
  )}"></div><div part="hover-bottom-border" class="${cx(
64
72
  !this.active && !this.disabled && "absolute w-full h-0.25 bottom-0 border-b border-neutral-400 invisible group-hover:visible"
65
- )}"></div></div>`;
73
+ )}"></div></div></div>`;
66
74
  }
67
75
  };
68
76
  SdTab.styles = [
@@ -81,6 +89,9 @@ __decorateClass([
81
89
  __decorateClass([
82
90
  property({ type: Boolean, reflect: true })
83
91
  ], SdTab.prototype, "disabled", 2);
92
+ __decorateClass([
93
+ property({ type: Boolean, reflect: true, attribute: "visually-disabled" })
94
+ ], SdTab.prototype, "visuallyDisabled", 2);
84
95
  __decorateClass([
85
96
  property({ type: String, reflect: true })
86
97
  ], SdTab.prototype, "panel", 2);
@@ -88,7 +99,7 @@ __decorateClass([
88
99
  watch("active")
89
100
  ], SdTab.prototype, "handleActiveChange", 1);
90
101
  __decorateClass([
91
- watch("disabled")
102
+ watch(["disabled", "visually-disabled"])
92
103
  ], SdTab.prototype, "handleDisabledChange", 1);
93
104
  SdTab = __decorateClass([
94
105
  customElement("sd-tab")
@@ -70,8 +70,8 @@ var SdTabGroup = class extends SolidElement {
70
70
  }
71
71
  getAllTabs(options = { includeDisabled: true }) {
72
72
  const slot = this.shadowRoot.querySelector('slot[name="nav"]');
73
- return [...slot.assignedElements()].filter((el) => {
74
- return options.includeDisabled ? el.tagName.toLowerCase() === "sd-tab" : el.tagName.toLowerCase() === "sd-tab" && !el.disabled;
73
+ return Array.from(slot.assignedElements()).map((el) => el.tagName.toLocaleLowerCase() === "sd-tab" ? el : el.querySelector("sd-tab")).filter((el) => {
74
+ return el && options.includeDisabled ? el.tagName.toLowerCase() === "sd-tab" : el.tagName.toLowerCase() === "sd-tab" && !el.disabled;
75
75
  });
76
76
  }
77
77
  getAllPanels() {
@@ -163,7 +163,7 @@ var SdTabGroup = class extends SolidElement {
163
163
  emitEvents: true,
164
164
  scrollBehavior: "auto"
165
165
  }, options);
166
- if (tab !== this.activeTab && !tab.disabled) {
166
+ if (tab !== this.activeTab && !tab.disabled && !tab.visuallyDisabled) {
167
167
  const previousTab = this.activeTab;
168
168
  this.activeTab = tab;
169
169
  this.tabs.map((el) => el.active = el === this.activeTab);
@@ -7,6 +7,7 @@ export default class SdTab extends SolidElement {
7
7
  variant: 'default' | 'container';
8
8
  active: boolean;
9
9
  disabled: boolean;
10
+ visuallyDisabled: boolean;
10
11
  panel: string;
11
12
  connectedCallback(): void;
12
13
  handleActiveChange(): void;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SdTab
3
- } from "../../chunks/chunk.EATARJOL.js";
3
+ } from "../../chunks/chunk.LGYGD6SX.js";
4
4
  import "../../chunks/chunk.X2OQMWGY.js";
5
5
  import "../../chunks/chunk.YEZS5ZR2.js";
6
6
  import "../../chunks/chunk.TXYWAHFM.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SdTabGroup
3
- } from "../../chunks/chunk.YELMYFWG.js";
3
+ } from "../../chunks/chunk.PMZLGJKG.js";
4
4
  import "../../chunks/chunk.WDWV53JP.js";
5
5
  import "../../chunks/chunk.YKM42GKF.js";
6
6
  import "../../chunks/chunk.G4WRYNRZ.js";
@@ -14472,6 +14472,17 @@
14472
14472
  "attribute": "disabled",
14473
14473
  "reflects": true
14474
14474
  },
14475
+ {
14476
+ "kind": "field",
14477
+ "name": "visuallyDisabled",
14478
+ "type": {
14479
+ "text": "boolean"
14480
+ },
14481
+ "default": "false",
14482
+ "description": "Styles the tab as if it was disabled and enables aria-disabled",
14483
+ "attribute": "visually-disabled",
14484
+ "reflects": true
14485
+ },
14475
14486
  {
14476
14487
  "kind": "field",
14477
14488
  "name": "panel",
@@ -14581,6 +14592,15 @@
14581
14592
  "description": "Disables the tab and prevents selection.",
14582
14593
  "fieldName": "disabled"
14583
14594
  },
14595
+ {
14596
+ "name": "visually-disabled",
14597
+ "type": {
14598
+ "text": "boolean"
14599
+ },
14600
+ "default": "false",
14601
+ "description": "Styles the tab as if it was disabled and enables aria-disabled",
14602
+ "fieldName": "visuallyDisabled"
14603
+ },
14584
14604
  {
14585
14605
  "name": "panel",
14586
14606
  "type": {
@@ -17139,7 +17159,7 @@
17139
17159
  "package": {
17140
17160
  "name": "@solid-design-system/components",
17141
17161
  "description": "Solid Design System: Components",
17142
- "version": "4.6.7",
17162
+ "version": "4.6.8",
17143
17163
  "author": "Union Investment",
17144
17164
  "homepage": "https://solid-design-system.fe.union-investment.de/docs/",
17145
17165
  "license": "MIT"
@@ -37,10 +37,10 @@ import {
37
37
  } from "./chunks/chunk.OJPVJA2S.js";
38
38
  import {
39
39
  SdTab
40
- } from "./chunks/chunk.EATARJOL.js";
40
+ } from "./chunks/chunk.LGYGD6SX.js";
41
41
  import {
42
42
  SdTabGroup
43
- } from "./chunks/chunk.YELMYFWG.js";
43
+ } from "./chunks/chunk.PMZLGJKG.js";
44
44
  import {
45
45
  SdNotification
46
46
  } from "./chunks/chunk.6WU4LF5Z.js";
@@ -2474,6 +2474,11 @@
2474
2474
  "description": "Disables the tab and prevents selection.",
2475
2475
  "values": []
2476
2476
  },
2477
+ {
2478
+ "name": "visually-disabled",
2479
+ "description": "Styles the tab as if it was disabled and enables aria-disabled",
2480
+ "values": []
2481
+ },
2477
2482
  {
2478
2483
  "name": "panel",
2479
2484
  "description": "The name of the tab panel this tab is associated with. The panel must be located in the same tab group.",
@@ -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.6.7",
4
+ "version": "4.6.8",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -5694,6 +5694,11 @@
5694
5694
  "description": "Disables the tab and prevents selection.",
5695
5695
  "value": { "type": "boolean", "default": "false" }
5696
5696
  },
5697
+ {
5698
+ "name": "visually-disabled",
5699
+ "description": "Styles the tab as if it was disabled and enables aria-disabled",
5700
+ "value": { "type": "boolean", "default": "false" }
5701
+ },
5697
5702
  {
5698
5703
  "name": "panel",
5699
5704
  "description": "The name of the tab panel this tab is associated with. The panel must be located in the same tab group.",
@@ -5735,6 +5740,11 @@
5735
5740
  "description": "Disables the tab and prevents selection.",
5736
5741
  "type": "boolean"
5737
5742
  },
5743
+ {
5744
+ "name": "visuallyDisabled",
5745
+ "description": "Styles the tab as if it was disabled and enables aria-disabled",
5746
+ "type": "boolean"
5747
+ },
5738
5748
  {
5739
5749
  "name": "panel",
5740
5750
  "description": "The name of the tab panel this tab is associated with. The panel must be located in the same tab group.",
@@ -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-6-7-select', { detail: { item } });
35
+ this.emit('sd-4-6-8-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-6-7-divider) {
14
+ ::slotted(sd-4-6-8-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-6-7-icon name="check" library="system" aria-hidden="true"></sd-4-6-7-icon>
77
+ <sd-4-6-8-icon name="check" library="system" aria-hidden="true"></sd-4-6-8-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-6-7-icon name="chevron-right" library="system" aria-hidden="true"></sd-4-6-7-icon>
87
+ <sd-4-6-8-icon name="chevron-right" library="system" aria-hidden="true"></sd-4-6-8-icon>
88
88
  </span>
89
89
  </div>
90
90
  `;
@@ -98,7 +98,7 @@ __decorateClass([
98
98
  state()
99
99
  ], SdTeaser.prototype, "_orientation", 2);
100
100
  SdTeaser = __decorateClass([
101
- customElement("sd-4-6-7-teaser")
101
+ customElement("sd-4-6-8-teaser")
102
102
  ], SdTeaser);
103
103
 
104
104
  export {
@@ -125,7 +125,7 @@ var SdScrollable = class extends SolidElement {
125
125
  down: this.upButton
126
126
  }[direction];
127
127
  const label = reachedStart ? `${this.localize.term("scrolled")}. ${this.localize.term("scrollToEnd")}` : `${this.localize.term("scrolled")}. ${this.localize.term("scrollToStart")}`;
128
- (_c = oppositeButton == null ? void 0 : oppositeButton.querySelector("sd-4-6-7-icon")) == null ? void 0 : _c.setAttribute("label", label);
128
+ (_c = oppositeButton == null ? void 0 : oppositeButton.querySelector("sd-4-6-8-icon")) == null ? void 0 : _c.setAttribute("label", label);
129
129
  if (isKeyboardTriggered) {
130
130
  oppositeButton == null ? void 0 : oppositeButton.focus();
131
131
  } else {
@@ -137,7 +137,7 @@ var SdScrollable = class extends SolidElement {
137
137
  const scrollTo = ["left", "up"].includes(direction) ? "start" : "end";
138
138
  const label = scrollTo === "start" ? this.localize.term("scrollToStart") : this.localize.term("scrollToEnd");
139
139
  const button = e.target;
140
- (_a = button.querySelector("sd-4-6-7-icon")) == null ? void 0 : _a.setAttribute("label", label);
140
+ (_a = button.querySelector("sd-4-6-8-icon")) == null ? void 0 : _a.setAttribute("label", label);
141
141
  }
142
142
  render() {
143
143
  const scrollButtonClasses = "relative p-0 border-0 bg-transparent cursor-pointer w-5 h-5 flex items-center justify-center sd-interactive rounded-md flex text-lg";
@@ -154,21 +154,21 @@ var SdScrollable = class extends SolidElement {
154
154
  )}" @scroll="${this.handleContainerScroll}" tabindex="0"><div id="announcement-container" role="status" class="sr-only"></div><div part="scroll-content" class="flex-1"><slot></slot></div></div>${this.buttons ? html`${this.isScrollHorizontalEnabled ? html`<div part="button-left" class="${cx(
155
155
  "absolute z-10 flex items-center justify-center top-0 left-0 h-full w-8",
156
156
  !this.canScroll.left && "opacity-0 pointer-events-none"
157
- )}"><button part="button-start" class="${cx(scrollButtonClasses)}" aria-hidden="${ifDefined(!this.canScroll.left || void 0)}" tabindex="${ifDefined(!this.canScroll.left ? -1 : void 0)}" @click="${(e) => this.handleScroll("left", e)}" @blur="${(e) => this.handleButtonBlur("left", e)}"><slot name="icon-start"><sd-4-6-7-icon library="system" name="chevron-up" class="rotate-[-90deg]" label="${this.localize.term("scrollToStart")}"></sd-4-6-7-icon></slot></button></div><div part="button-right" class="${cx(
157
+ )}"><button part="button-start" class="${cx(scrollButtonClasses)}" aria-hidden="${ifDefined(!this.canScroll.left || void 0)}" tabindex="${ifDefined(!this.canScroll.left ? -1 : void 0)}" @click="${(e) => this.handleScroll("left", e)}" @blur="${(e) => this.handleButtonBlur("left", e)}"><slot name="icon-start"><sd-4-6-8-icon library="system" name="chevron-up" class="rotate-[-90deg]" label="${this.localize.term("scrollToStart")}"></sd-4-6-8-icon></slot></button></div><div part="button-right" class="${cx(
158
158
  "absolute z-10 flex items-center justify-center top-0 right-0 h-full w-8",
159
159
  !this.canScroll.right && "opacity-0 pointer-events-none"
160
- )}"><button part="button-end" class="${cx(scrollButtonClasses)}" aria-hidden="${ifDefined(!this.canScroll.right || void 0)}" tabindex="${ifDefined(!this.canScroll.right ? -1 : void 0)}" @click="${(e) => this.handleScroll("right", e)}" @blur="${(e) => this.handleButtonBlur("right", e)}"><slot name="icon-end"><sd-4-6-7-icon library="system" name="chevron-down" class="rotate-[-90deg]" label="${this.localize.term("scrollToEnd")}"></sd-4-6-7-icon></slot></button></div>` : null} ${this.isScrollVerticalEnabled ? html`<div part="button-top" class="${cx(
160
+ )}"><button part="button-end" class="${cx(scrollButtonClasses)}" aria-hidden="${ifDefined(!this.canScroll.right || void 0)}" tabindex="${ifDefined(!this.canScroll.right ? -1 : void 0)}" @click="${(e) => this.handleScroll("right", e)}" @blur="${(e) => this.handleButtonBlur("right", e)}"><slot name="icon-end"><sd-4-6-8-icon library="system" name="chevron-down" class="rotate-[-90deg]" label="${this.localize.term("scrollToEnd")}"></sd-4-6-8-icon></slot></button></div>` : null} ${this.isScrollVerticalEnabled ? html`<div part="button-top" class="${cx(
161
161
  "absolute z-10 flex items-center justify-center top-0 left-0 w-full h-8",
162
162
  !this.canScroll.up && "opacity-0 pointer-events-none"
163
- )}"><button part="button-start" class="${cx(scrollButtonClasses)}" aria-hidden="${ifDefined(!this.canScroll.up || void 0)}" tabindex="${ifDefined(!this.canScroll.up ? -1 : void 0)}" @click="${(e) => this.handleScroll("up", e)}" @blur="${(e) => this.handleButtonBlur("up", e)}"><slot name="icon-start"><sd-4-6-7-icon library="system" name="chevron-up" label="${this.localize.term("scrollToStart")}"></sd-4-6-7-icon></slot></button></div><div part="button-bottom" class="${cx(
163
+ )}"><button part="button-start" class="${cx(scrollButtonClasses)}" aria-hidden="${ifDefined(!this.canScroll.up || void 0)}" tabindex="${ifDefined(!this.canScroll.up ? -1 : void 0)}" @click="${(e) => this.handleScroll("up", e)}" @blur="${(e) => this.handleButtonBlur("up", e)}"><slot name="icon-start"><sd-4-6-8-icon library="system" name="chevron-up" label="${this.localize.term("scrollToStart")}"></sd-4-6-8-icon></slot></button></div><div part="button-bottom" class="${cx(
164
164
  "absolute z-10 flex items-center justify-center bottom-0 left-0 w-full h-8",
165
165
  !this.canScroll.down && "opacity-0 pointer-events-none"
166
- )}"><button part="button-end" class="${cx(scrollButtonClasses)}" aria-hidden="${ifDefined(!this.canScroll.down || void 0)}" tabindex="${ifDefined(!this.canScroll.down ? -1 : void 0)}" @click="${(e) => this.handleScroll("down", e)}" @blur="${(e) => this.handleButtonBlur("down", e)}"><slot name="icon-end"><sd-4-6-7-icon library="system" name="chevron-down" label="${this.localize.term("scrollToEnd")}"></sd-4-6-7-icon></slot></button></div>` : null}` : null} ${this.shadows ? html`${this.isScrollHorizontalEnabled ? html`${this.canScroll.left ? html`<div part="shadow-left" class="${scrollShadowClasses} left top-0 left-0 w-[6px] h-full"></div>` : null} ${this.canScroll.right ? html`<div part="shadow-right" class="${scrollShadowClasses} right top-0 right-0 w-[6px] h-full"></div>` : null}` : null} ${this.isScrollVerticalEnabled ? html`${this.canScroll.up ? html`<div part="shadow-top" class="${scrollShadowClasses} top top-0 left-0 w-full h-[6px]"></div>` : null} ${this.canScroll.down ? html`<div part="shadow-bottom" class="${scrollShadowClasses} bottom bottom-0 left-0 w-full h-[6px]"></div>` : null}` : null}` : null}`;
166
+ )}"><button part="button-end" class="${cx(scrollButtonClasses)}" aria-hidden="${ifDefined(!this.canScroll.down || void 0)}" tabindex="${ifDefined(!this.canScroll.down ? -1 : void 0)}" @click="${(e) => this.handleScroll("down", e)}" @blur="${(e) => this.handleButtonBlur("down", e)}"><slot name="icon-end"><sd-4-6-8-icon library="system" name="chevron-down" label="${this.localize.term("scrollToEnd")}"></sd-4-6-8-icon></slot></button></div>` : null}` : null} ${this.shadows ? html`${this.isScrollHorizontalEnabled ? html`${this.canScroll.left ? html`<div part="shadow-left" class="${scrollShadowClasses} left top-0 left-0 w-[6px] h-full"></div>` : null} ${this.canScroll.right ? html`<div part="shadow-right" class="${scrollShadowClasses} right top-0 right-0 w-[6px] h-full"></div>` : null}` : null} ${this.isScrollVerticalEnabled ? html`${this.canScroll.up ? html`<div part="shadow-top" class="${scrollShadowClasses} top top-0 left-0 w-full h-[6px]"></div>` : null} ${this.canScroll.down ? html`<div part="shadow-bottom" class="${scrollShadowClasses} bottom bottom-0 left-0 w-full h-[6px]"></div>` : null}` : null}` : null}`;
167
167
  }
168
168
  };
169
169
  SdScrollable.styles = [
170
170
  ...SolidElement.styles,
171
- css`:host{--gradient-color:hsla(0,0%,100%,0);--gradient:var(--gradient-color) 0%,#fff 80%,#fff 100%;display:flex;overflow:hidden;position:relative}.hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}.hide-scrollbars::-webkit-scrollbar{display:none}.scroll-container::-webkit-scrollbar-thumb{background-color:transparent}.scroll-container:hover::-webkit-scrollbar-thumb{background:var(--background-neutral-400,#c3c3c3);border-radius:var(--sd-border-radius-sm,.125rem)}.scroll-container::-webkit-scrollbar{height:var(--sd-spacing-1,.25rem);width:var(--sd-spacing-1,.25rem)}.scroll-auto{overflow:auto}[part=button-left]{background:linear-gradient(270deg,var(--gradient))}[part=button-right]{background:linear-gradient(90deg,var(--gradient))}[part=button-top]{background:linear-gradient(0deg,var(--gradient))}[part=button-bottom]{background:linear-gradient(180deg,var(--gradient))}[part=shadow-left]{background:linear-gradient(270deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-right]{background:linear-gradient(90deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-top]{background:linear-gradient(0deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-bottom]{background:linear-gradient(180deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}.sd-4-6-7-icon--top{align-self:flex-start}.sd-4-6-7-icon--down{align-self:flex-end}`
171
+ css`:host{--gradient-color:hsla(0,0%,100%,0);--gradient:var(--gradient-color) 0%,#fff 80%,#fff 100%;display:flex;overflow:hidden;position:relative}.hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}.hide-scrollbars::-webkit-scrollbar{display:none}.scroll-container::-webkit-scrollbar-thumb{background-color:transparent}.scroll-container:hover::-webkit-scrollbar-thumb{background:var(--background-neutral-400,#c3c3c3);border-radius:var(--sd-border-radius-sm,.125rem)}.scroll-container::-webkit-scrollbar{height:var(--sd-spacing-1,.25rem);width:var(--sd-spacing-1,.25rem)}.scroll-auto{overflow:auto}[part=button-left]{background:linear-gradient(270deg,var(--gradient))}[part=button-right]{background:linear-gradient(90deg,var(--gradient))}[part=button-top]{background:linear-gradient(0deg,var(--gradient))}[part=button-bottom]{background:linear-gradient(180deg,var(--gradient))}[part=shadow-left]{background:linear-gradient(270deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-right]{background:linear-gradient(90deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-top]{background:linear-gradient(0deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-bottom]{background:linear-gradient(180deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}.sd-4-6-8-icon--top{align-self:flex-start}.sd-4-6-8-icon--down{align-self:flex-end}`
172
172
  ];
173
173
  __decorateClass([
174
174
  query('[part="button-right"] button')
@@ -216,7 +216,7 @@ __decorateClass([
216
216
  state()
217
217
  ], SdScrollable.prototype, "isScrollVerticalEnabled", 2);
218
218
  SdScrollable = __decorateClass([
219
- customElement("sd-4-6-7-scrollable")
219
+ customElement("sd-4-6-8-scrollable")
220
220
  ], SdScrollable);
221
221
 
222
222
  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-6-7-popup");
13
+ const popup = document.createElement("sd-4-6-8-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-6-7-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-6-7-popup li{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}sd-4-6-7-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-6-7-popup li{list-style-type:""}sd-4-6-7-popup li mark{background-color:transparent;font-weight:700}sd-4-6-7-popup li:not(:has(sd-4-6-7-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-6-7-popup li:not(:has(sd-4-6-7-option)):hover{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-200,233 233 233)/var(--tw-bg-opacity,1))}sd-4-6-7-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-6-8-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-6-8-popup li{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}sd-4-6-8-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-6-8-popup li{list-style-type:""}sd-4-6-8-popup li mark{background-color:transparent;font-weight:700}sd-4-6-8-popup li:not(:has(sd-4-6-8-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-6-8-popup li:not(:has(sd-4-6-8-option)):hover{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-200,233 233 233)/var(--tw-bg-opacity,1))}sd-4-6-8-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-6-7-popup")) == null ? void 0 : _b.setAttribute("active", "true");
38
+ (_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-4-6-8-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-6-7-popup")) == null ? void 0 : _b.removeAttribute("active");
44
+ (_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-4-6-8-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
  });
@@ -118,7 +118,7 @@ var SdCheckbox = class extends SolidElement {
118
118
  render() {
119
119
  const checkboxState = this.disabled && this.indeterminate ? "disabledIndeterminate" : this.disabled && this.checked ? "disabledChecked" : this.disabled ? "disabled" : this.visuallyDisabled ? "visuallyDisabled" : this.showInvalidStyle && this.indeterminate ? "invalidIndeterminate" : this.showInvalidStyle ? "invalid" : this.checked || this.indeterminate ? "filled" : "default";
120
120
  return html`<label part="base" class="${cx(
121
- "sd-4-6-7-checkbox group flex items-start text-base leading-normal text-black cursor-pointer",
121
+ "sd-4-6-8-checkbox group flex items-start text-base leading-normal text-black cursor-pointer",
122
122
  (this.disabled || this.visuallyDisabled) && "hover:cursor-not-allowed",
123
123
  {
124
124
  /* sizes, fonts */
@@ -144,7 +144,7 @@ var SdCheckbox = class extends SolidElement {
144
144
  filled: "border-accent hover:border-accent-550 group-hover:border-accent-550 bg-accent group-hover:bg-accent-550",
145
145
  default: "border-neutral-800 hover:bg-neutral-200 group-hover:bg-neutral-200 bg-white"
146
146
  }[checkboxState]
147
- )}">${this.checked ? html`<sd-4-6-7-icon part="checked-icon" class="text-white w-3 h-3" library="system" name="status-check"></sd-4-6-7-icon>` : ""} ${!this.checked && this.indeterminate ? html`<sd-4-6-7-icon part="indeterminate-icon" class="text-white w-3 h-3" library="system" name="status-minus"></sd-4-6-7-icon>` : ""} </span><span part="label" id="label" class="${cx(
147
+ )}">${this.checked ? html`<sd-4-6-8-icon part="checked-icon" class="text-white w-3 h-3" library="system" name="status-check"></sd-4-6-8-icon>` : ""} ${!this.checked && this.indeterminate ? html`<sd-4-6-8-icon part="indeterminate-icon" class="text-white w-3 h-3" library="system" name="status-minus"></sd-4-6-8-icon>` : ""} </span><span part="label" id="label" class="${cx(
148
148
  "select-none inline-block ml-2",
149
149
  this.disabled || this.visuallyDisabled ? "text-neutral-500" : this.showInvalidStyle ? "text-error" : "text-black"
150
150
  )}"><slot></slot></span></label> ${this.formControlController.renderInvalidMessage()}`;
@@ -206,7 +206,7 @@ __decorateClass([
206
206
  watch(["checked", "indeterminate"], { waitUntilFirstUpdate: true })
207
207
  ], SdCheckbox.prototype, "handleStateChange", 1);
208
208
  SdCheckbox = __decorateClass([
209
- customElement("sd-4-6-7-checkbox")
209
+ customElement("sd-4-6-8-checkbox")
210
210
  ], SdCheckbox);
211
211
 
212
212
  export {
@@ -182,7 +182,7 @@ var SdNotification = class extends SolidElement {
182
182
  () => {
183
183
  toastStack.removeChild(this);
184
184
  resolve();
185
- if (toastStack.querySelector("sd-4-6-7-notification") === null) {
185
+ if (toastStack.querySelector("sd-4-6-8-notification") === null) {
186
186
  toastStack.remove();
187
187
  }
188
188
  },
@@ -199,15 +199,15 @@ var SdNotification = class extends SolidElement {
199
199
  warning: "bg-warning",
200
200
  error: "bg-error"
201
201
  }[this.variant]
202
- )}"><sd-4-6-7-icon name="${{
202
+ )}"><sd-4-6-8-icon name="${{
203
203
  info: "info-circle",
204
204
  success: "confirm-circle",
205
205
  warning: "exclamation-circle",
206
206
  error: "warning"
207
- }[this.variant] || ""}" library="system" class="h-6 w-6 text-white"></sd-4-6-7-icon></slot><div part="content" class="${cx(
207
+ }[this.variant] || ""}" library="system" class="h-6 w-6 text-white"></sd-4-6-8-icon></slot><div part="content" class="${cx(
208
208
  "h-full w-full p-1 gap-2 flex items-center justify-stretch bg-white",
209
209
  "border-solid border-[1px] border-l-0 border-neutral-400"
210
- )}"><slot id="message" part="message" class="block w-full pl-3 py-2"></slot>${this.closable ? html`<sd-4-6-7-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" @click="${this.handleCloseClick}"><sd-4-6-7-icon label="${this.localize.term("close")}" name="close" library="system" color="currentColor"></sd-4-6-7-icon></sd-4-6-7-button>` : ""}</div>${this.durationIndicator ? html`<div part="duration-indicator__elapsed" id="duration-indicator__elapsed" style="${`animation-duration: ${this.duration}ms`}" class="${cx(`absolute w-0 h-[2px] bottom-0 bg-primary z-10 animate-grow`)}"></div><div part="duration-indicator__total" class="w-full h-[2px] bottom-0 absolute border border-neutral-400"></div>` : ""}</div>`;
210
+ )}"><slot id="message" part="message" class="block w-full pl-3 py-2"></slot>${this.closable ? html`<sd-4-6-8-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" @click="${this.handleCloseClick}"><sd-4-6-8-icon label="${this.localize.term("close")}" name="close" library="system" color="currentColor"></sd-4-6-8-icon></sd-4-6-8-button>` : ""}</div>${this.durationIndicator ? html`<div part="duration-indicator__elapsed" id="duration-indicator__elapsed" style="${`animation-duration: ${this.duration}ms`}" class="${cx(`absolute w-0 h-[2px] bottom-0 bg-primary z-10 animate-grow`)}"></div><div part="duration-indicator__total" class="w-full h-[2px] bottom-0 absolute border border-neutral-400"></div>` : ""}</div>`;
211
211
  }
212
212
  };
213
213
  /**
@@ -248,7 +248,7 @@ __decorateClass([
248
248
  watch("duration")
249
249
  ], SdNotification.prototype, "handleDurationChange", 1);
250
250
  SdNotification = __decorateClass([
251
- customElement("sd-4-6-7-notification")
251
+ customElement("sd-4-6-8-notification")
252
252
  ], SdNotification);
253
253
  setDefaultAnimation("notification.show", {
254
254
  keyframes: [
@@ -137,7 +137,7 @@ __decorateClass([
137
137
  state()
138
138
  ], SdBrandshape.prototype, "componentBreakpoint", 2);
139
139
  SdBrandshape = __decorateClass([
140
- customElement("sd-4-6-7-brandshape")
140
+ customElement("sd-4-6-8-brandshape")
141
141
  ], SdBrandshape);
142
142
 
143
143
  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-6-7-teaser-media")
67
+ customElement("sd-4-6-8-teaser-media")
68
68
  ], SdTeaserMedia);
69
69
 
70
70
  export {
@@ -323,7 +323,7 @@ __decorateClass([
323
323
  property({ attribute: "auto-size-padding", type: Number })
324
324
  ], SdPopup.prototype, "autoSizePadding", 2);
325
325
  SdPopup = __decorateClass([
326
- customElement("sd-4-6-7-popup")
326
+ customElement("sd-4-6-8-popup")
327
327
  ], SdPopup);
328
328
 
329
329
  export {
@@ -28,11 +28,11 @@ var SdOptgroup = class extends SolidElement {
28
28
  this.label = "";
29
29
  }
30
30
  /**
31
- * Syncs the disabled prop for all slotted sd-4-6-7-options when it is triggered
31
+ * Syncs the disabled prop for all slotted sd-4-6-8-options when it is triggered
32
32
  */
33
33
  handleDisableOptions() {
34
34
  const { disabled } = this;
35
- this.defaultSlot.assignedElements().filter((opt) => opt.tagName.toLowerCase() === "sd-4-6-7-option").forEach((opt) => {
35
+ this.defaultSlot.assignedElements().filter((opt) => opt.tagName.toLowerCase() === "sd-4-6-8-option").forEach((opt) => {
36
36
  opt.disabled = disabled;
37
37
  });
38
38
  }
@@ -41,11 +41,11 @@ var SdOptgroup = class extends SolidElement {
41
41
  }
42
42
  render() {
43
43
  const { disabled } = this;
44
- return html`<div role="${disabled ? "presentation" : "group"}" class="${cx(this.disabled ? "text-neutral-500" : "")}" part="base" aria-labelledby="group-label"><sd-4-6-7-divider id="divider" class="pt-2 pb-4" part="divider"></sd-4-6-7-divider><div part="label-container" class="${cx(this.disabled ? "text-neutral-500" : "text-black")} px-4 font-bold text-left" role="presentation" id="group-label"><slot name="label"><span>${this.label}</span></slot></div><div role="listbox" part="options" aria-label="${this.localize.term("optionGroup")}"><slot @slotchange="${this.handleDisableOptions}"></slot></div></div>`;
44
+ return html`<div role="${disabled ? "presentation" : "group"}" class="${cx(this.disabled ? "text-neutral-500" : "")}" part="base" aria-labelledby="group-label"><sd-4-6-8-divider id="divider" class="pt-2 pb-4" part="divider"></sd-4-6-8-divider><div part="label-container" class="${cx(this.disabled ? "text-neutral-500" : "text-black")} px-4 font-bold text-left" role="presentation" id="group-label"><slot name="label"><span>${this.label}</span></slot></div><div role="listbox" part="options" aria-label="${this.localize.term("optionGroup")}"><slot @slotchange="${this.handleDisableOptions}"></slot></div></div>`;
45
45
  }
46
46
  };
47
47
  SdOptgroup.dependencies = {
48
- "sd-4-6-7-divider": SdDivider
48
+ "sd-4-6-8-divider": SdDivider
49
49
  };
50
50
  SdOptgroup.styles = [
51
51
  ...SolidElement.styles,
@@ -64,7 +64,7 @@ __decorateClass([
64
64
  watch("disabled", { waitUntilFirstUpdate: true })
65
65
  ], SdOptgroup.prototype, "handleDisabledChange", 1);
66
66
  SdOptgroup = __decorateClass([
67
- customElement("sd-4-6-7-optgroup")
67
+ customElement("sd-4-6-8-optgroup")
68
68
  ], SdOptgroup);
69
69
 
70
70
  export {
@@ -71,7 +71,7 @@ var SdTag = class extends SolidElement {
71
71
  lg: "text-base",
72
72
  sm: "text-[12px]"
73
73
  }[this.size]
74
- )}"><sd-4-6-7-icon library="system" name="close" label="remove"></sd-4-6-7-icon></slot>` : ""}</${tag}>`;
74
+ )}"><sd-4-6-8-icon library="system" name="close" label="remove"></sd-4-6-8-icon></slot>` : ""}</${tag}>`;
75
75
  }
76
76
  };
77
77
  SdTag.styles = [
@@ -106,7 +106,7 @@ __decorateClass([
106
106
  property({ reflect: true })
107
107
  ], SdTag.prototype, "download", 2);
108
108
  SdTag = __decorateClass([
109
- customElement("sd-4-6-7-tag")
109
+ customElement("sd-4-6-8-tag")
110
110
  ], SdTag);
111
111
 
112
112
  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-6-7-divider[orientation=horizontal]){display:block}:host(sd-4-6-7-divider[orientation=vertical]){display:inline-block}`
35
+ css`:host{margin:var(--sd-spacing-0,0)}:host(sd-4-6-8-divider[orientation=horizontal]){display:block}:host(sd-4-6-8-divider[orientation=vertical]){display:inline-block}`
36
36
  ];
37
37
  __decorateClass([
38
38
  property({ type: String, 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-6-7-divider")
44
+ customElement("sd-4-6-8-divider")
45
45
  ], SdDivider);
46
46
 
47
47
  export {
@@ -17,19 +17,19 @@ var SdButtonGroup = class extends SolidElement {
17
17
  }
18
18
  handleFocus(event) {
19
19
  const button = findButton(event.target);
20
- button == null ? void 0 : button.classList.add("sd-4-6-7-button-group__button--focus");
20
+ button == null ? void 0 : button.classList.add("sd-4-6-8-button-group__button--focus");
21
21
  }
22
22
  handleBlur(event) {
23
23
  const button = findButton(event.target);
24
- button == null ? void 0 : button.classList.remove("sd-4-6-7-button-group__button--focus");
24
+ button == null ? void 0 : button.classList.remove("sd-4-6-8-button-group__button--focus");
25
25
  }
26
26
  handleMouseOver(event) {
27
27
  const button = findButton(event.target);
28
- button == null ? void 0 : button.classList.add("sd-4-6-7-button-group__button--hover");
28
+ button == null ? void 0 : button.classList.add("sd-4-6-8-button-group__button--hover");
29
29
  }
30
30
  handleMouseOut(event) {
31
31
  const button = findButton(event.target);
32
- button == null ? void 0 : button.classList.remove("sd-4-6-7-button-group__button--hover");
32
+ button == null ? void 0 : button.classList.remove("sd-4-6-8-button-group__button--hover");
33
33
  }
34
34
  handleSlotChange() {
35
35
  const slottedElements = [...this.defaultSlot.assignedElements({ flatten: true })];
@@ -37,11 +37,11 @@ var SdButtonGroup = class extends SolidElement {
37
37
  const index = slottedElements.indexOf(el);
38
38
  const button = findButton(el);
39
39
  if (button !== null) {
40
- button.classList.add("sd-4-6-7-button-group__button");
41
- button.classList.toggle("sd-4-6-7-button-group__button--first", index === 0);
42
- button.classList.toggle("sd-4-6-7-button-group__button--inner", index > 0 && index < slottedElements.length - 1);
43
- button.classList.toggle("sd-4-6-7-button-group__button--last", index === slottedElements.length - 1);
44
- button.classList.toggle("sd-4-6-7-button-group__button--radio", button.tagName.toLowerCase() === "sd-4-6-7-radio-button");
40
+ button.classList.add("sd-4-6-8-button-group__button");
41
+ button.classList.toggle("sd-4-6-8-button-group__button--first", index === 0);
42
+ button.classList.toggle("sd-4-6-8-button-group__button--inner", index > 0 && index < slottedElements.length - 1);
43
+ button.classList.toggle("sd-4-6-8-button-group__button--last", index === slottedElements.length - 1);
44
+ button.classList.toggle("sd-4-6-8-button-group__button--radio", button.tagName.toLowerCase() === "sd-4-6-8-radio-button");
45
45
  }
46
46
  });
47
47
  }
@@ -63,11 +63,11 @@ __decorateClass([
63
63
  property({ type: String, reflect: true })
64
64
  ], SdButtonGroup.prototype, "label", 2);
65
65
  SdButtonGroup = __decorateClass([
66
- customElement("sd-4-6-7-button-group")
66
+ customElement("sd-4-6-8-button-group")
67
67
  ], SdButtonGroup);
68
68
  function findButton(el) {
69
69
  var _a;
70
- const selector = "sd-4-6-7-button, sd-4-6-7-radio-button";
70
+ const selector = "sd-4-6-8-button, sd-4-6-8-radio-button";
71
71
  return (_a = el.closest(selector)) != null ? _a : el.querySelector(selector);
72
72
  }
73
73