@solid-design-system/components 4.0.3 → 4.0.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 (238) hide show
  1. package/cdn/chunks/{chunk.LKHCEWG6.js → chunk.HTTFAXBO.js} +2 -2
  2. package/cdn/components/carousel/carousel.d.ts +2 -0
  3. package/cdn/components/carousel/carousel.js +1 -1
  4. package/cdn/custom-elements.json +1 -1
  5. package/cdn/solid-components.bundle.js +14 -14
  6. package/cdn/solid-components.iife.js +13 -13
  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.2MKIKDQY.js +1 -1
  13. package/cdn-versioned/chunks/chunk.2RKC4PX2.js +1 -1
  14. package/cdn-versioned/chunks/chunk.37AKROZQ.js +1 -1
  15. package/cdn-versioned/chunks/chunk.3CMEDI5Q.js +2 -2
  16. package/cdn-versioned/chunks/chunk.4LW22GLX.js +1 -1
  17. package/cdn-versioned/chunks/chunk.5KCSOAA3.js +1 -1
  18. package/cdn-versioned/chunks/chunk.65NSSTJE.js +1 -1
  19. package/cdn-versioned/chunks/chunk.6BCGXAUV.js +1 -1
  20. package/cdn-versioned/chunks/chunk.6HMIEKMA.js +1 -1
  21. package/cdn-versioned/chunks/chunk.AQYKEDSK.js +1 -1
  22. package/cdn-versioned/chunks/chunk.BSXRWVFJ.js +1 -1
  23. package/cdn-versioned/chunks/chunk.C7B7IJTF.js +1 -1
  24. package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
  25. package/cdn-versioned/chunks/chunk.EBZIGJAF.js +4 -4
  26. package/cdn-versioned/chunks/chunk.ENXPYC3I.js +1 -1
  27. package/cdn-versioned/chunks/chunk.ERIS2E6E.js +1 -1
  28. package/cdn-versioned/chunks/chunk.FNE6AWAP.js +1 -1
  29. package/cdn-versioned/chunks/chunk.FPDKP6PN.js +1 -1
  30. package/cdn-versioned/chunks/chunk.FX3IWUZL.js +2 -2
  31. package/cdn-versioned/chunks/chunk.GI6GBMRK.js +1 -1
  32. package/cdn-versioned/chunks/chunk.HTTFAXBO.js +19 -0
  33. package/cdn-versioned/chunks/chunk.I6KWEJL5.js +1 -1
  34. package/cdn-versioned/chunks/chunk.JE65MGDL.js +1 -1
  35. package/cdn-versioned/chunks/chunk.KHK74CJA.js +1 -1
  36. package/cdn-versioned/chunks/chunk.KT6CS7MB.js +1 -1
  37. package/cdn-versioned/chunks/chunk.L5LJFTUA.js +1 -1
  38. package/cdn-versioned/chunks/chunk.LFTAVPYP.js +1 -1
  39. package/cdn-versioned/chunks/chunk.MD77BZE7.js +1 -1
  40. package/cdn-versioned/chunks/chunk.MVMJOYL7.js +1 -1
  41. package/cdn-versioned/chunks/chunk.MX2AOQKK.js +1 -1
  42. package/cdn-versioned/chunks/chunk.N7DREP3X.js +1 -1
  43. package/cdn-versioned/chunks/chunk.NCSRAXCO.js +1 -1
  44. package/cdn-versioned/chunks/chunk.NJPQO7AM.js +1 -1
  45. package/cdn-versioned/chunks/chunk.O657MMFX.js +1 -1
  46. package/cdn-versioned/chunks/chunk.OJILWIHU.js +1 -1
  47. package/cdn-versioned/chunks/chunk.OYVDI4G4.js +3 -3
  48. package/cdn-versioned/chunks/chunk.QK2P72CA.js +1 -1
  49. package/cdn-versioned/chunks/chunk.RNVF7IN5.js +1 -1
  50. package/cdn-versioned/chunks/chunk.RORUJY5E.js +1 -1
  51. package/cdn-versioned/chunks/chunk.RWS4N2NC.js +1 -1
  52. package/cdn-versioned/chunks/chunk.SH5F4YM4.js +1 -1
  53. package/cdn-versioned/chunks/chunk.TTAYTI3M.js +1 -1
  54. package/cdn-versioned/chunks/chunk.UCPHLOPM.js +1 -1
  55. package/cdn-versioned/chunks/chunk.VHSIUWDX.js +1 -1
  56. package/cdn-versioned/chunks/chunk.VVLFNR53.js +1 -1
  57. package/cdn-versioned/chunks/chunk.VWVU4BWU.js +1 -1
  58. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  59. package/cdn-versioned/chunks/chunk.WDX7NMBB.js +1 -1
  60. package/cdn-versioned/chunks/chunk.WRDPMPPA.js +1 -1
  61. package/cdn-versioned/chunks/chunk.XTSUFBWJ.js +1 -1
  62. package/cdn-versioned/chunks/chunk.Y2IK2VHT.js +4 -4
  63. package/cdn-versioned/chunks/chunk.YHWKY6MV.js +1 -1
  64. package/cdn-versioned/chunks/chunk.ZAYOIELL.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 +3 -1
  74. package/cdn-versioned/components/carousel/carousel.js +1 -1
  75. package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  76. package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
  77. package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  78. package/cdn-versioned/components/combobox/combobox.d.ts +4 -4
  79. package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
  80. package/cdn-versioned/components/divider/divider.d.ts +1 -1
  81. package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
  82. package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
  83. package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
  84. package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
  85. package/cdn-versioned/components/header/header.d.ts +1 -1
  86. package/cdn-versioned/components/icon/icon.d.ts +1 -1
  87. package/cdn-versioned/components/include/include.d.ts +1 -1
  88. package/cdn-versioned/components/input/input.d.ts +1 -1
  89. package/cdn-versioned/components/link/link.d.ts +1 -1
  90. package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
  91. package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  92. package/cdn-versioned/components/notification/notification.d.ts +1 -1
  93. package/cdn-versioned/components/optgroup/optgroup.d.ts +2 -2
  94. package/cdn-versioned/components/option/option.d.ts +1 -1
  95. package/cdn-versioned/components/popup/popup.d.ts +1 -1
  96. package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
  97. package/cdn-versioned/components/radio/radio.d.ts +1 -1
  98. package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
  99. package/cdn-versioned/components/radio-group/radio-group.d.ts +2 -2
  100. package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
  101. package/cdn-versioned/components/select/select.d.ts +4 -4
  102. package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
  103. package/cdn-versioned/components/step/step.d.ts +1 -1
  104. package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
  105. package/cdn-versioned/components/switch/switch.d.ts +1 -1
  106. package/cdn-versioned/components/tab/tab.d.ts +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 +19 -19
  116. package/cdn-versioned/solid-components.css +2 -2
  117. package/cdn-versioned/solid-components.iife.js +19 -19
  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.GMOZ5YXA.js → chunk.NHMDDMMQ.js} +14 -4
  122. package/dist/components/carousel/carousel.d.ts +2 -0
  123. package/dist/components/carousel/carousel.js +1 -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.23WUCVW6.js +1 -1
  131. package/dist-versioned/chunks/chunk.2FWAXOB3.js +13 -13
  132. package/dist-versioned/chunks/chunk.336SOZQ7.js +2 -2
  133. package/dist-versioned/chunks/chunk.3IIJI2YI.js +2 -2
  134. package/dist-versioned/chunks/chunk.47Y6CRA6.js +1 -1
  135. package/dist-versioned/chunks/chunk.4LA6375U.js +5 -5
  136. package/dist-versioned/chunks/chunk.4NORTB4T.js +2 -2
  137. package/dist-versioned/chunks/chunk.5UXE3YAT.js +2 -2
  138. package/dist-versioned/chunks/chunk.5ZWBIPBJ.js +2 -2
  139. package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
  140. package/dist-versioned/chunks/chunk.6US5BJNM.js +2 -2
  141. package/dist-versioned/chunks/chunk.7JO5FCU4.js +3 -3
  142. package/dist-versioned/chunks/chunk.A7ETNRKR.js +2 -2
  143. package/dist-versioned/chunks/chunk.AFZXA6KB.js +13 -13
  144. package/dist-versioned/chunks/chunk.B2FZCDD2.js +2 -2
  145. package/dist-versioned/chunks/chunk.BPGRUHFA.js +29 -29
  146. package/dist-versioned/chunks/chunk.BTN23KPO.js +1 -1
  147. package/dist-versioned/chunks/chunk.BZNIT6S5.js +1 -1
  148. package/dist-versioned/chunks/chunk.DHEEQPKB.js +3 -3
  149. package/dist-versioned/chunks/chunk.DID2HIGU.js +9 -9
  150. package/dist-versioned/chunks/chunk.DQUOULN6.js +2 -2
  151. package/dist-versioned/chunks/chunk.EYDGWH4T.js +1 -1
  152. package/dist-versioned/chunks/chunk.FAMYJDBN.js +2 -2
  153. package/dist-versioned/chunks/chunk.GSDAOG7M.js +5 -5
  154. package/dist-versioned/chunks/chunk.GWYRJFJU.js +1 -1
  155. package/dist-versioned/chunks/chunk.HDX43J5W.js +26 -26
  156. package/dist-versioned/chunks/chunk.KGZ3GBGJ.js +1 -1
  157. package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
  158. package/dist-versioned/chunks/chunk.LBHA2DC4.js +2 -2
  159. package/dist-versioned/chunks/chunk.MFJDLGGR.js +2 -2
  160. package/dist-versioned/chunks/chunk.NEZVEG7K.js +6 -6
  161. package/dist-versioned/chunks/{chunk.GMOZ5YXA.js → chunk.NHMDDMMQ.js} +20 -10
  162. package/dist-versioned/chunks/chunk.NU62KGCW.js +4 -4
  163. package/dist-versioned/chunks/chunk.OZXJCMQU.js +2 -2
  164. package/dist-versioned/chunks/chunk.QDCDOA3O.js +1 -1
  165. package/dist-versioned/chunks/chunk.QEMNNDQN.js +5 -5
  166. package/dist-versioned/chunks/chunk.QZF3GDJ6.js +1 -1
  167. package/dist-versioned/chunks/chunk.R3AKTB5D.js +1 -1
  168. package/dist-versioned/chunks/chunk.REUL4QMO.js +1 -1
  169. package/dist-versioned/chunks/chunk.RGLEFOOR.js +3 -3
  170. package/dist-versioned/chunks/chunk.SWDIWUUU.js +3 -3
  171. package/dist-versioned/chunks/chunk.THY5BDBS.js +1 -1
  172. package/dist-versioned/chunks/chunk.TPF3IUIC.js +1 -1
  173. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  174. package/dist-versioned/chunks/chunk.UJYVSZ25.js +5 -5
  175. package/dist-versioned/chunks/chunk.V3JNM4K3.js +2 -2
  176. package/dist-versioned/chunks/chunk.VBMNECRY.js +5 -5
  177. package/dist-versioned/chunks/chunk.VX3KGPNB.js +2 -2
  178. package/dist-versioned/chunks/chunk.WLPV5EZN.js +11 -11
  179. package/dist-versioned/chunks/chunk.XVR2P4CC.js +3 -3
  180. package/dist-versioned/chunks/chunk.Y3F3Y4DX.js +2 -2
  181. package/dist-versioned/chunks/chunk.YA3KZ3ZS.js +5 -5
  182. package/dist-versioned/chunks/chunk.YFF7OIOH.js +1 -1
  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 +3 -1
  192. package/dist-versioned/components/carousel/carousel.js +1 -1
  193. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  194. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  195. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  196. package/dist-versioned/components/combobox/combobox.d.ts +4 -4
  197. package/dist-versioned/components/dialog/dialog.d.ts +1 -1
  198. package/dist-versioned/components/divider/divider.d.ts +1 -1
  199. package/dist-versioned/components/drawer/drawer.d.ts +1 -1
  200. package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
  201. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  202. package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
  203. package/dist-versioned/components/header/header.d.ts +1 -1
  204. package/dist-versioned/components/icon/icon.d.ts +1 -1
  205. package/dist-versioned/components/include/include.d.ts +1 -1
  206. package/dist-versioned/components/input/input.d.ts +1 -1
  207. package/dist-versioned/components/link/link.d.ts +1 -1
  208. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  209. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  210. package/dist-versioned/components/notification/notification.d.ts +1 -1
  211. package/dist-versioned/components/optgroup/optgroup.d.ts +2 -2
  212. package/dist-versioned/components/option/option.d.ts +1 -1
  213. package/dist-versioned/components/popup/popup.d.ts +1 -1
  214. package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
  215. package/dist-versioned/components/radio/radio.d.ts +1 -1
  216. package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
  217. package/dist-versioned/components/radio-group/radio-group.d.ts +2 -2
  218. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  219. package/dist-versioned/components/select/select.d.ts +4 -4
  220. package/dist-versioned/components/spinner/spinner.d.ts +1 -1
  221. package/dist-versioned/components/step/step.d.ts +1 -1
  222. package/dist-versioned/components/step-group/step-group.d.ts +1 -1
  223. package/dist-versioned/components/switch/switch.d.ts +1 -1
  224. package/dist-versioned/components/tab/tab.d.ts +1 -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 +2 -2
  238. package/cdn-versioned/chunks/chunk.LKHCEWG6.js +0 -19
@@ -61,6 +61,10 @@ var SdCarousel = class extends SolidElement {
61
61
  // A map containing the state of all the slides
62
62
  this.intersectionObserverEntries = /* @__PURE__ */ new Map();
63
63
  this.localize = new LocalizeController(this);
64
+ this.userInteracted = false;
65
+ this.handleUserInteraction = () => {
66
+ this.userInteracted = true;
67
+ };
64
68
  this.handleSlotChange = (mutations) => {
65
69
  const needsInitialization = mutations.some(
66
70
  (mutation) => [...mutation.addedNodes, ...mutation.removedNodes].some(
@@ -82,6 +86,7 @@ var SdCarousel = class extends SolidElement {
82
86
  super.connectedCallback();
83
87
  this.setAttribute("role", "region");
84
88
  this.setAttribute("aria-label", this.localize.term("carousel"));
89
+ ["click", "keydown"].forEach((event) => this.addEventListener(event, this.handleUserInteraction));
85
90
  const intersectionObserver = new IntersectionObserver(
86
91
  (entries) => {
87
92
  entries.forEach((entry) => {
@@ -106,6 +111,7 @@ var SdCarousel = class extends SolidElement {
106
111
  super.disconnectedCallback();
107
112
  this.intersectionObserver.disconnect();
108
113
  this.mutationObserver.disconnect();
114
+ ["click", "keydown"].forEach((event) => this.removeEventListener(event, this.handleUserInteraction));
109
115
  }
110
116
  firstUpdated() {
111
117
  this.initializeSlides();
@@ -331,10 +337,14 @@ var SdCarousel = class extends SolidElement {
331
337
  top: nextSlideRect.top - scrollContainerRect.top + scrollContainer.scrollTop,
332
338
  behavior: prefersReducedMotion() ? "auto" : behavior
333
339
  });
334
- if (this.activeSlide === slides.length - 1 && !this.loop) {
335
- this.previousButton.focus({ preventScroll: true });
336
- } else if (this.activeSlide === 0 && !this.loop) {
337
- this.nextButton.focus({ preventScroll: true });
340
+ if (this.userInteracted && !this.loop) {
341
+ const isLastSlide = this.activeSlide === slides.length - 1 || this.activeSlide === this.slides.length - this.slidesPerPage;
342
+ const isFirstSlide = this.activeSlide === 0;
343
+ if (isLastSlide) {
344
+ this.previousButton.focus({ preventScroll: true });
345
+ } else if (isFirstSlide) {
346
+ this.nextButton.focus({ preventScroll: true });
347
+ }
338
348
  }
339
349
  }
340
350
  render() {
@@ -25,11 +25,13 @@ export default class SdCarousel extends SolidElement {
25
25
  private readonly intersectionObserverEntries;
26
26
  localize: LocalizeController;
27
27
  private mutationObserver;
28
+ private userInteracted;
28
29
  connectedCallback(): void;
29
30
  disconnectedCallback(): void;
30
31
  protected firstUpdated(): void;
31
32
  getPageCount(totalSlides: number, slidesPerPage: number, slidesPerMove: number): number;
32
33
  getCurrentPage(totalSlides: number, activeSlide: number, slidesPerPage: number, slidesPerMove: number): number;
34
+ private handleUserInteraction;
33
35
  private getSlides;
34
36
  private handleKeyDown;
35
37
  private handleScrollEnd;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SdCarousel
3
- } from "../../chunks/chunk.GMOZ5YXA.js";
3
+ } from "../../chunks/chunk.NHMDDMMQ.js";
4
4
  import "../../chunks/chunk.F4VGSDIW.js";
5
5
  import "../../chunks/chunk.2LMWBUBT.js";
6
6
  import "../../chunks/chunk.NOWCQZBS.js";
@@ -16708,7 +16708,7 @@
16708
16708
  "package": {
16709
16709
  "name": "@solid-design-system/components",
16710
16710
  "description": "Solid Design System: Components",
16711
- "version": "4.0.3",
16711
+ "version": "4.0.4",
16712
16712
  "author": "Union Investment",
16713
16713
  "homepage": "https://solid-design-system.fe.union-investment.de/docs/",
16714
16714
  "license": "MIT"
@@ -135,7 +135,7 @@ import "./chunks/chunk.KVKRZJS7.js";
135
135
  import "./chunks/chunk.WLPV5EZN.js";
136
136
  import {
137
137
  SdCarousel
138
- } from "./chunks/chunk.GMOZ5YXA.js";
138
+ } from "./chunks/chunk.NHMDDMMQ.js";
139
139
  import "./chunks/chunk.F4VGSDIW.js";
140
140
  import "./chunks/chunk.2LMWBUBT.js";
141
141
  import "./chunks/chunk.NOWCQZBS.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.3",
4
+ "version": "4.0.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-3-select', { detail: { item } });
35
+ this.emit('sd-4-0-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-3-divider) {
14
+ ::slotted(sd-4-0-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-3-icon name="check" library="system" aria-hidden="true"></sd-4-0-3-icon>
77
+ <sd-4-0-4-icon name="check" library="system" aria-hidden="true"></sd-4-0-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-3-icon name="chevron-right" library="system" aria-hidden="true"></sd-4-0-3-icon>
87
+ <sd-4-0-4-icon name="chevron-right" library="system" aria-hidden="true"></sd-4-0-4-icon>
88
88
  </span>
89
89
  </div>
90
90
  `;
@@ -41,7 +41,7 @@ __decorateClass([
41
41
  property({ reflect: true })
42
42
  ], SdSpinner.prototype, "color", 2);
43
43
  SdSpinner = __decorateClass([
44
- customElement("sd-4-0-3-spinner")
44
+ customElement("sd-4-0-4-spinner")
45
45
  ], SdSpinner);
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-3-tab"),
33
- customElements.whenDefined("sd-4-0-3-tab-panel")
32
+ customElements.whenDefined("sd-4-0-4-tab"),
33
+ customElements.whenDefined("sd-4-0-4-tab-panel")
34
34
  ]);
35
35
  super.connectedCallback();
36
36
  this.resizeObserver = new ResizeObserver(() => {
@@ -71,19 +71,19 @@ var SdTabGroup = class extends SolidElement {
71
71
  getAllTabs(options = { includeDisabled: true }) {
72
72
  const slot = this.shadowRoot.querySelector('slot[name="nav"]');
73
73
  return [...slot.assignedElements()].filter((el) => {
74
- return options.includeDisabled ? el.tagName.toLowerCase() === "sd-4-0-3-tab" : el.tagName.toLowerCase() === "sd-4-0-3-tab" && !el.disabled;
74
+ return options.includeDisabled ? el.tagName.toLowerCase() === "sd-4-0-4-tab" : el.tagName.toLowerCase() === "sd-4-0-4-tab" && !el.disabled;
75
75
  });
76
76
  }
77
77
  getAllPanels() {
78
- return [...this.body.assignedElements()].filter((el) => el.tagName.toLowerCase() === "sd-4-0-3-tab-panel");
78
+ return [...this.body.assignedElements()].filter((el) => el.tagName.toLowerCase() === "sd-4-0-4-tab-panel");
79
79
  }
80
80
  getActiveTab() {
81
81
  return this.tabs.find((t) => t.matches(":focus"));
82
82
  }
83
83
  handleClick(event) {
84
84
  const target = event.target;
85
- const tab = target.closest("sd-4-0-3-tab");
86
- const tabGroup = tab == null ? void 0 : tab.closest("sd-4-0-3-tab-group");
85
+ const tab = target.closest("sd-4-0-4-tab");
86
+ const tabGroup = tab == null ? void 0 : tab.closest("sd-4-0-4-tab-group");
87
87
  if (tabGroup !== this) {
88
88
  return;
89
89
  }
@@ -93,8 +93,8 @@ var SdTabGroup = class extends SolidElement {
93
93
  }
94
94
  handleKeyDown(event) {
95
95
  const target = event.target;
96
- const tab = target.closest("sd-4-0-3-tab");
97
- const tabGroup = tab == null ? void 0 : tab.closest("sd-4-0-3-tab-group");
96
+ const tab = target.closest("sd-4-0-4-tab");
97
+ const tabGroup = tab == null ? void 0 : tab.closest("sd-4-0-4-tab-group");
98
98
  if (tabGroup !== this) {
99
99
  return;
100
100
  }
@@ -119,7 +119,7 @@ var SdTabGroup = class extends SolidElement {
119
119
  if (["ArrowLeft", "ArrowRight", "ArrowUp", "ArrowDown", "Home", "End"].includes(event.key)) {
120
120
  const activeEl = this.tabs.find((t) => t.matches(":focus"));
121
121
  const isRtl = this.localize.dir() === "rtl";
122
- if ((activeEl == null ? void 0 : activeEl.tagName.toLowerCase()) === "sd-4-0-3-tab") {
122
+ if ((activeEl == null ? void 0 : activeEl.tagName.toLowerCase()) === "sd-4-0-4-tab") {
123
123
  let index = this.tabs.indexOf(activeEl);
124
124
  if (event.key === "Home") {
125
125
  index = 0;
@@ -215,15 +215,15 @@ var SdTabGroup = class extends SolidElement {
215
215
  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(
216
216
  "sd-interactive flex items-center justify-center absolute top-0 bottom-0 left-0 !outline-offset-0 border-b border-neutral-400 z-10",
217
217
  this.localize.dir() === "rtl" && "left-auto right-0"
218
- )}" @click="${this.handleScrollToStart}"><sd-4-0-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-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(
218
+ )}" @click="${this.handleScrollToStart}"><sd-4-0-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-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(
219
219
  "sd-interactive flex items-center justify-center absolute top-0 bottom-0 right-0 !outline-offset-0 border-b border-neutral-400 z-10",
220
220
  this.localize.dir() === "rtl" && "right-auto left-0"
221
- )}" @click="${this.handleScrollToEnd}"><sd-4-0-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-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>`;
221
+ )}" @click="${this.handleScrollToEnd}"><sd-4-0-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-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>`;
222
222
  }
223
223
  };
224
224
  SdTabGroup.styles = [
225
225
  ...SolidElement.styles,
226
- 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-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-3-tab-panel){--padding:1rem 0}`
226
+ 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-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-4-tab-panel){--padding:1rem 0}`
227
227
  ];
228
228
  __decorateClass([
229
229
  query("[part=base]")
@@ -244,7 +244,7 @@ __decorateClass([
244
244
  property()
245
245
  ], SdTabGroup.prototype, "activation", 2);
246
246
  SdTabGroup = __decorateClass([
247
- customElement("sd-4-0-3-tab-group")
247
+ customElement("sd-4-0-4-tab-group")
248
248
  ], SdTabGroup);
249
249
 
250
250
  export {
@@ -203,7 +203,7 @@ var SdTextarea = class extends SolidElement {
203
203
  "flex-grow focus:outline-none bg-transparent placeholder-neutral-700 resize-none",
204
204
  this.disabled && "cursor-not-allowed",
205
205
  textSize
206
- )}" title="${this.title}" name="${ifDefined(this.name)}" .value="${live(this.value)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" placeholder="${ifDefined(this.placeholder)}" minlength="${ifDefined(this.minlength)}" maxlength="${ifDefined(this.maxlength)}" rows="${ifDefined(this.rows)}" autocapitalize="${ifDefined(this.autocapitalize)}" autocorrect="${ifDefined(this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${ifDefined(this.spellcheck)}" enterkeyhint="${ifDefined(this.enterkeyhint)}" inputmode="${ifDefined(this.inputmode)}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"></textarea> ${this.showInvalidStyle ? html`<sd-4-0-3-icon class="${cx("text-error absolute right-4 bg-white group-hover:bg-neutral-200", iconSizeMarginLeft)}" library="system" name="risk" part="invalid-icon"></sd-4-0-3-icon>` : ""} ${this.styleOnValid && this.showValidStyle ? html`<sd-4-0-3-icon class="${cx("text-success absolute right-4 bg-white group-hover:bg-neutral-200", iconSizeMarginLeft)}" library="system" name="status-check" part="valid-icon"></sd-4-0-3-icon>` : ""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx("text-sm text-neutral-700", hasHelpText ? "block" : "hidden")}" aria-hidden="${hasHelpText ? "false" : "true"}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`;
206
+ )}" title="${this.title}" name="${ifDefined(this.name)}" .value="${live(this.value)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" placeholder="${ifDefined(this.placeholder)}" minlength="${ifDefined(this.minlength)}" maxlength="${ifDefined(this.maxlength)}" rows="${ifDefined(this.rows)}" autocapitalize="${ifDefined(this.autocapitalize)}" autocorrect="${ifDefined(this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${ifDefined(this.spellcheck)}" enterkeyhint="${ifDefined(this.enterkeyhint)}" inputmode="${ifDefined(this.inputmode)}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"></textarea> ${this.showInvalidStyle ? html`<sd-4-0-4-icon class="${cx("text-error absolute right-4 bg-white group-hover:bg-neutral-200", iconSizeMarginLeft)}" library="system" name="risk" part="invalid-icon"></sd-4-0-4-icon>` : ""} ${this.styleOnValid && this.showValidStyle ? html`<sd-4-0-4-icon class="${cx("text-success absolute right-4 bg-white group-hover:bg-neutral-200", iconSizeMarginLeft)}" library="system" name="status-check" part="valid-icon"></sd-4-0-4-icon>` : ""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx("text-sm text-neutral-700", hasHelpText ? "block" : "hidden")}" aria-hidden="${hasHelpText ? "false" : "true"}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`;
207
207
  }
208
208
  };
209
209
  /**
@@ -314,7 +314,7 @@ __decorateClass([
314
314
  watch("value", { waitUntilFirstUpdate: true })
315
315
  ], SdTextarea.prototype, "handleValueChange", 1);
316
316
  SdTextarea = __decorateClass([
317
- customElement("sd-4-0-3-textarea")
317
+ customElement("sd-4-0-4-textarea")
318
318
  ], SdTextarea);
319
319
 
320
320
  export {
@@ -70,7 +70,7 @@ var SdRadio = class extends SolidElement {
70
70
  }
71
71
  render() {
72
72
  return html`<span part="base" class="${cx(
73
- "sd-4-0-3-radio group inline-flex items-start items-center text-base leading-normal text-black cursor-pointer align-middle",
73
+ "sd-4-0-4-radio group inline-flex items-start items-center text-base leading-normal text-black cursor-pointer align-middle",
74
74
  this.disabled && "hover:cursor-not-allowed",
75
75
  {
76
76
  /* sizes, fonts */
@@ -122,7 +122,7 @@ __decorateClass([
122
122
  watch("disabled", { waitUntilFirstUpdate: true })
123
123
  ], SdRadio.prototype, "handleDisabledChange", 1);
124
124
  SdRadio = __decorateClass([
125
- customElement("sd-4-0-3-radio")
125
+ customElement("sd-4-0-4-radio")
126
126
  ], SdRadio);
127
127
 
128
128
  export {
@@ -88,7 +88,7 @@ __decorateClass([
88
88
  property()
89
89
  ], SdMapMarker.prototype, "target", 2);
90
90
  SdMapMarker = __decorateClass([
91
- customElement("sd-4-0-3-map-marker")
91
+ customElement("sd-4-0-4-map-marker")
92
92
  ], SdMapMarker);
93
93
 
94
94
  export {
@@ -136,7 +136,7 @@ var SdNotification = class extends SolidElement {
136
136
  () => {
137
137
  toastStack.removeChild(this);
138
138
  resolve();
139
- if (toastStack.querySelector("sd-4-0-3-notification") === null) {
139
+ if (toastStack.querySelector("sd-4-0-4-notification") === null) {
140
140
  toastStack.remove();
141
141
  }
142
142
  },
@@ -153,15 +153,15 @@ var SdNotification = class extends SolidElement {
153
153
  warning: "bg-warning",
154
154
  error: "bg-error"
155
155
  }[this.variant]
156
- )}"><sd-4-0-3-icon name="${{
156
+ )}"><sd-4-0-4-icon name="${{
157
157
  info: "info-circle",
158
158
  success: "confirm-circle",
159
159
  warning: "exclamation-circle",
160
160
  error: "warning"
161
- }[this.variant] || ""}" library="system" class="h-6 w-6 text-white"></sd-4-0-3-icon></slot><div part="content" class="${cx(
161
+ }[this.variant] || ""}" library="system" class="h-6 w-6 text-white"></sd-4-0-4-icon></slot><div part="content" class="${cx(
162
162
  "h-full w-full p-1 gap-2 flex items-center justify-stretch bg-white",
163
163
  "border-solid border-[1px] border-l-0 border-neutral-400"
164
- )}"><slot part="message" class="block w-full pl-3 py-2" aria-live="polite"></slot>${this.closable ? html`<sd-4-0-3-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" @click="${this.handleCloseClick}"><sd-4-0-3-icon label="${this.localize.term("close")}" name="close" library="system" color="currentColor"></sd-4-0-3-icon></sd-4-0-3-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>`;
164
+ )}"><slot part="message" class="block w-full pl-3 py-2" aria-live="polite"></slot>${this.closable ? html`<sd-4-0-4-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" @click="${this.handleCloseClick}"><sd-4-0-4-icon label="${this.localize.term("close")}" name="close" library="system" color="currentColor"></sd-4-0-4-icon></sd-4-0-4-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>`;
165
165
  }
166
166
  };
167
167
  /**
@@ -199,7 +199,7 @@ __decorateClass([
199
199
  watch("duration")
200
200
  ], SdNotification.prototype, "handleDurationChange", 1);
201
201
  SdNotification = __decorateClass([
202
- customElement("sd-4-0-3-notification")
202
+ customElement("sd-4-0-4-notification")
203
203
  ], SdNotification);
204
204
  setDefaultAnimation("notification.show", {
205
205
  keyframes: [
@@ -206,7 +206,7 @@ var SdDrawer = class extends SolidElement {
206
206
  end: "top-0 end-0 bottom-auto start-auto w-[--width] h-full",
207
207
  start: "top-0 end-auto bottom-auto start-0 w-[--width] h-full"
208
208
  }[this.placement]
209
- )}" role="dialog" aria-modal="true" aria-hidden="${this.open ? "false" : "true"}" aria-label="${this.label}" aria-labelledby="${ifDefined(!this.noHeader ? "title" : void 0)}" tabindex="0">${!this.noHeader ? html`<header part="header" class="flex justify-between py-2 px-4 items-center flex-shrink-0" style="min-height:56px"><div part="title"><slot name="header" part="title" class="flex-auto text-xl m-0" id="title"></slot></div><div class="shrink-0 flex flex-wrap justify-end gap-1 ml-4 absolute top-2 right-2"><sd-4-0-3-button variant="tertiary" size="lg" part="close-button" @click="${() => this.requestClose("close-button")}"><sd-4-0-3-icon label="${this.localize.term("close")}" name="close" library="system"></sd-4-0-3-icon></sd-4-0-3-button></div></header>` : ""}<div part="body" class="flex-auto block px-4"><slot></slot></div><footer part="footer" class="${cx(this.hasSlotController.test("footer") ? "text-left p-4" : "hidden")}"><slot name="footer"></slot></footer></div></div>`;
209
+ )}" role="dialog" aria-modal="true" aria-hidden="${this.open ? "false" : "true"}" aria-label="${this.label}" aria-labelledby="${ifDefined(!this.noHeader ? "title" : void 0)}" tabindex="0">${!this.noHeader ? html`<header part="header" class="flex justify-between py-2 px-4 items-center flex-shrink-0" style="min-height:56px"><div part="title"><slot name="header" part="title" class="flex-auto text-xl m-0" id="title"></slot></div><div class="shrink-0 flex flex-wrap justify-end gap-1 ml-4 absolute top-2 right-2"><sd-4-0-4-button variant="tertiary" size="lg" part="close-button" @click="${() => this.requestClose("close-button")}"><sd-4-0-4-icon label="${this.localize.term("close")}" name="close" library="system"></sd-4-0-4-icon></sd-4-0-4-button></div></header>` : ""}<div part="body" class="flex-auto block px-4"><slot></slot></div><footer part="footer" class="${cx(this.hasSlotController.test("footer") ? "text-left p-4" : "hidden")}"><slot name="footer"></slot></footer></div></div>`;
210
210
  }
211
211
  };
212
212
  SdDrawer.styles = [
@@ -247,7 +247,7 @@ __decorateClass([
247
247
  watch("contained", { waitUntilFirstUpdate: true })
248
248
  ], SdDrawer.prototype, "handleNoModalChange", 1);
249
249
  SdDrawer = __decorateClass([
250
- customElement("sd-4-0-3-drawer")
250
+ customElement("sd-4-0-4-drawer")
251
251
  ], SdDrawer);
252
252
  setDefaultAnimation("drawer.showStart", {
253
253
  keyframes: [
@@ -21,7 +21,7 @@ var SdTab = class extends SolidElement {
21
21
  constructor() {
22
22
  super(...arguments);
23
23
  this.attrId = ++id;
24
- this.componentId = `sd-4-0-3-tab-${this.attrId}`;
24
+ this.componentId = `sd-4-0-4-tab-${this.attrId}`;
25
25
  this.hasSlotController = new HasSlotController(this, "left");
26
26
  this.variant = "default";
27
27
  this.active = false;
@@ -91,7 +91,7 @@ __decorateClass([
91
91
  watch("disabled")
92
92
  ], SdTab.prototype, "handleDisabledChange", 1);
93
93
  SdTab = __decorateClass([
94
- customElement("sd-4-0-3-tab")
94
+ customElement("sd-4-0-4-tab")
95
95
  ], SdTab);
96
96
 
97
97
  export {
@@ -71,7 +71,7 @@ var SdExpandable = class extends SolidElement {
71
71
  "sd-interactive sd-interactive--reset",
72
72
  this.inverted && "sd-interactive--inverted",
73
73
  !this.inverted ? "!focus-visible:focus-outline" : "!focus-visible:focus-outline-inverted"
74
- )}" @click="${this.onToggleClick}" aria-expanded="${this.open}"><div class="${cx("h-full justify-center w-full text-base flex items-center toggle")}">${this.open ? html`<slot name="toggle-open"><sd-4-0-3-icon class="mr-2 text-xl" library="system" name="chevron-up"></sd-4-0-3-icon>${this.localize.term("showLess")}</slot>` : html`<slot name="toggle-closed"><sd-4-0-3-icon class="mr-2 text-xl" library="system" name="chevron-down"></sd-4-0-3-icon>${this.localize.term("showMore")}</slot>`}</div></button><details part="details" aria-hidden="${!this.open}"><summary part="summary" aria-hidden="true" class="cursor-pointer overflow-hidden list-none"><slot name="clone"></slot></summary><div part="content" class="content content-preview overflow-hidden relative"><slot></slot></div></details></div>`;
74
+ )}" @click="${this.onToggleClick}" aria-expanded="${this.open}"><div class="${cx("h-full justify-center w-full text-base flex items-center toggle")}">${this.open ? html`<slot name="toggle-open"><sd-4-0-4-icon class="mr-2 text-xl" library="system" name="chevron-up"></sd-4-0-4-icon>${this.localize.term("showLess")}</slot>` : html`<slot name="toggle-closed"><sd-4-0-4-icon class="mr-2 text-xl" library="system" name="chevron-down"></sd-4-0-4-icon>${this.localize.term("showMore")}</slot>`}</div></button><details part="details" aria-hidden="${!this.open}"><summary part="summary" aria-hidden="true" class="cursor-pointer overflow-hidden list-none"><slot name="clone"></slot></summary><div part="content" class="content content-preview overflow-hidden relative"><slot></slot></div></details></div>`;
75
75
  }
76
76
  firstUpdated() {
77
77
  this.cloneContentToLightDOM();
@@ -108,7 +108,7 @@ __decorateClass([
108
108
  watch("open", { waitUntilFirstUpdate: true })
109
109
  ], SdExpandable.prototype, "onOpenChange", 1);
110
110
  SdExpandable = __decorateClass([
111
- customElement("sd-4-0-3-expandable")
111
+ customElement("sd-4-0-4-expandable")
112
112
  ], SdExpandable);
113
113
 
114
114
  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-3-popup");
13
+ const popup = document.createElement("sd-4-0-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-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-3-popup li{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}sd-4-0-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-3-popup li{list-style-type:""}sd-4-0-3-popup li mark{background-color:transparent;font-weight:700}sd-4-0-3-popup li:not(:has(sd-4-0-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-3-popup li:not(:has(sd-4-0-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-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-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-4-popup li{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}sd-4-0-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-4-popup li{list-style-type:""}sd-4-0-4-popup li mark{background-color:transparent;font-weight:700}sd-4-0-4-popup li:not(:has(sd-4-0-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-4-popup li:not(:has(sd-4-0-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-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-3-popup")) == null ? void 0 : _b.setAttribute("active", "true");
38
+ (_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-4-0-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-3-popup")) == null ? void 0 : _b.removeAttribute("active");
44
+ (_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-4-0-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
  });
@@ -142,7 +142,7 @@ var SdAccordion = class extends SolidElement {
142
142
  )}"></div><slot name="summary" part="summary" class="flex flex-auto items-center text-left">${this.summary}</slot><span part="summary-icon" class="${cx(
143
143
  "flex flex-grow-0 flex-shrink-0 flex-auto items-center transition-all ease-in-out duration-300 text-xl",
144
144
  this.open && "rotate-180"
145
- )}"><slot name="expand-icon" class="${cx(this.open && "hidden")}"><sd-4-0-3-icon library="system" name="chevron-down"></sd-4-0-3-icon></slot><slot name="collapse-icon" class="${cx(!this.open && "hidden")}"><sd-4-0-3-icon library="system" name="chevron-down"></sd-4-0-3-icon></slot></span></summary><div part="content" id="content" class="overflow-hidden"><slot part="content__slot" class="block px-4 py-6" role="region" aria-labelledby="header"></slot></div></details>`;
145
+ )}"><slot name="expand-icon" class="${cx(this.open && "hidden")}"><sd-4-0-4-icon library="system" name="chevron-down"></sd-4-0-4-icon></slot><slot name="collapse-icon" class="${cx(!this.open && "hidden")}"><sd-4-0-4-icon library="system" name="chevron-down"></sd-4-0-4-icon></slot></span></summary><div part="content" id="content" class="overflow-hidden"><slot part="content__slot" class="block px-4 py-6" role="region" aria-labelledby="header"></slot></div></details>`;
146
146
  }
147
147
  };
148
148
  SdAccordion.styles = [
@@ -168,7 +168,7 @@ __decorateClass([
168
168
  watch("open", { waitUntilFirstUpdate: true })
169
169
  ], SdAccordion.prototype, "handleOpenChange", 1);
170
170
  SdAccordion = __decorateClass([
171
- customElement("sd-4-0-3-accordion")
171
+ customElement("sd-4-0-4-accordion")
172
172
  ], SdAccordion);
173
173
  setDefaultAnimation("accordion.show", {
174
174
  keyframes: [
@@ -364,7 +364,7 @@ var SdInput = class extends SolidElement {
364
364
  "min-w-0 flex-grow focus:outline-none bg-transparent placeholder-neutral-700",
365
365
  this.size === "sm" ? "h-6" : "h-8",
366
366
  textSize
367
- )}" type="${this.type === "password" && this.passwordVisible ? "text" : this.type}" title="${this.title}" name="${ifDefined(this.name)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" placeholder="${ifDefined(this.placeholder)}" minlength="${ifDefined(this.minlength)}" maxlength="${ifDefined(this.maxlength)}" min="${ifDefined(this.min)}" max="${ifDefined(this.max)}" step="${ifDefined(this.step)}" .value="${live(this.value)}" autocapitalize="${ifDefined(this.type === "password" ? "off" : this.autocapitalize)}" autocomplete="${ifDefined(this.type === "password" ? "off" : this.autocomplete)}" autocorrect="${ifDefined(this.type === "password" ? "off" : this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${ifDefined(this.pattern)}" enterkeyhint="${ifDefined(this.enterkeyhint)}" inputmode="${ifDefined(this.inputmode)}" aria-describedby="help-text invalid-message" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @keydown="${this.handleKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${hasClearIcon ? html`<button part="clear-button" class="${cx("flex justify-center ", iconMarginLeft)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-4-0-3-icon class="${cx("icon-fill-neutral-800", iconSize)}" library="system" name="closing-round"></sd-4-0-3-icon></slot></button>` : ""} ${this.passwordToggle && this.type === "password" ? html`<button aria-label="${this.localize.term(this.passwordVisible ? "hidePassword" : "showPassword")}" part="password-toggle-button" class="flex items-center" type="button" @click="${this.handlePasswordToggle}" tabindex="-1">${this.passwordVisible ? html`<slot name="show-password-icon"><sd-4-0-3-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="system" name="eye"></sd-4-0-3-icon></slot>` : html`<slot name="hide-password-icon"><sd-4-0-3-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="system" name="eye-crossed-out"></sd-4-0-3-icon></slot>`}</button>` : ""} ${(this.type === "date" || this.type === "datetime-local") && !isFirefox ? html`<sd-4-0-3-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="system" name="calendar"></sd-4-0-3-icon>` : ""} ${this.type === "time" ? html`<sd-4-0-3-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="system" name="clock"></sd-4-0-3-icon>` : ""} ${this.type === "search" ? html`<button class="flex items-center" type="button" tabindex="-1"><sd-4-0-3-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="system" name="magnifying-glass"></sd-4-0-3-icon></button>` : ""} ${this.showInvalidStyle ? html`<sd-4-0-3-icon part="invalid-icon" class="${cx("text-error", iconMarginLeft, iconSize)}" library="system" name="risk"></sd-4-0-3-icon>` : ""} ${this.showValidStyle && this.styleOnValid ? html`<sd-4-0-3-icon class="${cx("text-success flex-shrink-0", iconMarginLeft, iconSize)}" library="system" name="status-check" part="valid-icon"></sd-4-0-3-icon>` : ""} ${slots["right"] ? html`<slot name="right" part="right" class="${cx("inline-flex", iconColor, iconMarginLeft, iconSize)}"></slot>` : ""} ${this.type === "number" && this.spinButtons ? html`<div part="stepper" class="flex items-center"><button part="decrement-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isDecrementDisabled()}" aria-hidden="true" ${longPress({ start: () => this.handleStepDown(), end: () => this.handleChange() })} tabindex="-1"><slot name="decrement-number-stepper"><sd-4-0-3-icon name="system/minus-circle" label="Decrease value" class="${cx(iconColor, iconMarginLeft, iconSize)}"></sd-4-0-3-icon></slot></button> <button part="increment-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isIncrementDisabled()}" aria-hidden="true" ${longPress({ start: () => this.handleStepUp(), end: () => this.handleChange() })} tabindex="-1"><slot name="increment-number-stepper"><sd-4-0-3-icon name="system/plus-circle" label="Decrease value" class="${cx(iconColor, iconMarginLeft, iconSize)}"></sd-4-0-3-icon></slot></button></div>` : ""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx("text-sm text-neutral-700", hasHelpText ? "block" : "hidden")}" aria-hidden="${!hasHelpText}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`;
367
+ )}" type="${this.type === "password" && this.passwordVisible ? "text" : this.type}" title="${this.title}" name="${ifDefined(this.name)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" placeholder="${ifDefined(this.placeholder)}" minlength="${ifDefined(this.minlength)}" maxlength="${ifDefined(this.maxlength)}" min="${ifDefined(this.min)}" max="${ifDefined(this.max)}" step="${ifDefined(this.step)}" .value="${live(this.value)}" autocapitalize="${ifDefined(this.type === "password" ? "off" : this.autocapitalize)}" autocomplete="${ifDefined(this.type === "password" ? "off" : this.autocomplete)}" autocorrect="${ifDefined(this.type === "password" ? "off" : this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${ifDefined(this.pattern)}" enterkeyhint="${ifDefined(this.enterkeyhint)}" inputmode="${ifDefined(this.inputmode)}" aria-describedby="help-text invalid-message" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @keydown="${this.handleKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${hasClearIcon ? html`<button part="clear-button" class="${cx("flex justify-center ", iconMarginLeft)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-4-0-4-icon class="${cx("icon-fill-neutral-800", iconSize)}" library="system" name="closing-round"></sd-4-0-4-icon></slot></button>` : ""} ${this.passwordToggle && this.type === "password" ? html`<button aria-label="${this.localize.term(this.passwordVisible ? "hidePassword" : "showPassword")}" part="password-toggle-button" class="flex items-center" type="button" @click="${this.handlePasswordToggle}" tabindex="-1">${this.passwordVisible ? html`<slot name="show-password-icon"><sd-4-0-4-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="system" name="eye"></sd-4-0-4-icon></slot>` : html`<slot name="hide-password-icon"><sd-4-0-4-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="system" name="eye-crossed-out"></sd-4-0-4-icon></slot>`}</button>` : ""} ${(this.type === "date" || this.type === "datetime-local") && !isFirefox ? html`<sd-4-0-4-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="system" name="calendar"></sd-4-0-4-icon>` : ""} ${this.type === "time" ? html`<sd-4-0-4-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="system" name="clock"></sd-4-0-4-icon>` : ""} ${this.type === "search" ? html`<button class="flex items-center" type="button" tabindex="-1"><sd-4-0-4-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="system" name="magnifying-glass"></sd-4-0-4-icon></button>` : ""} ${this.showInvalidStyle ? html`<sd-4-0-4-icon part="invalid-icon" class="${cx("text-error", iconMarginLeft, iconSize)}" library="system" name="risk"></sd-4-0-4-icon>` : ""} ${this.showValidStyle && this.styleOnValid ? html`<sd-4-0-4-icon class="${cx("text-success flex-shrink-0", iconMarginLeft, iconSize)}" library="system" name="status-check" part="valid-icon"></sd-4-0-4-icon>` : ""} ${slots["right"] ? html`<slot name="right" part="right" class="${cx("inline-flex", iconColor, iconMarginLeft, iconSize)}"></slot>` : ""} ${this.type === "number" && this.spinButtons ? html`<div part="stepper" class="flex items-center"><button part="decrement-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isDecrementDisabled()}" aria-hidden="true" ${longPress({ start: () => this.handleStepDown(), end: () => this.handleChange() })} tabindex="-1"><slot name="decrement-number-stepper"><sd-4-0-4-icon name="system/minus-circle" label="Decrease value" class="${cx(iconColor, iconMarginLeft, iconSize)}"></sd-4-0-4-icon></slot></button> <button part="increment-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isIncrementDisabled()}" aria-hidden="true" ${longPress({ start: () => this.handleStepUp(), end: () => this.handleChange() })} tabindex="-1"><slot name="increment-number-stepper"><sd-4-0-4-icon name="system/plus-circle" label="Decrease value" class="${cx(iconColor, iconMarginLeft, iconSize)}"></sd-4-0-4-icon></slot></button></div>` : ""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx("text-sm text-neutral-700", hasHelpText ? "block" : "hidden")}" aria-hidden="${!hasHelpText}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`;
368
368
  }
369
369
  };
370
370
  /**
@@ -372,7 +372,7 @@ var SdInput = class extends SolidElement {
372
372
  */
373
373
  SdInput.styles = [
374
374
  ...SolidElement.styles,
375
- css`:host{box-sizing:border-box;display:inline-block;position:relative;text-align:left;width:100%}:host([vertical]){display:block}:host([required]) #label:after{content:" *"}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.stepper-button[disabled] sd-4-0-3-icon{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}`
375
+ css`:host{box-sizing:border-box;display:inline-block;position:relative;text-align:left;width:100%}:host([vertical]){display:block}:host([required]) #label:after{content:" *"}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.stepper-button[disabled] sd-4-0-4-icon{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}`
376
376
  ];
377
377
  __decorateClass([
378
378
  query("#input")
@@ -499,7 +499,7 @@ __decorateClass([
499
499
  watch("value", { waitUntilFirstUpdate: true })
500
500
  ], SdInput.prototype, "handleValueChange", 1);
501
501
  SdInput = __decorateClass([
502
- customElement("sd-4-0-3-input")
502
+ customElement("sd-4-0-4-input")
503
503
  ], SdInput);
504
504
 
505
505
  export {
@@ -91,7 +91,7 @@ var SdOption = class extends SolidElement {
91
91
  )}"></span> ${this.checkbox ? html`<span id="control" part="control ${this.selected ? " control--checked" : "control--unchecked"}" class="${cx(
92
92
  "relative flex flex-shrink-0 items-center justify-center border rounded-sm h-4 w-4 mr-2",
93
93
  this.disabled ? "border-neutral-500" : this.selected ? "bg-accent border-accent" : "border-neutral-800"
94
- )}">${this.selected ? html`<sd-4-0-3-icon part="checked-icon" class="text-white w-3 h-3" library="system" name="status-check"></sd-4-0-3-icon>` : ""}</span>` : ""} ${slots["left"] ? html`<slot name="left" part="left" class="inline-flex mr-2"></slot>` : ""}<slot part="label" class="inline-block flex-grow" @slotchange="${this.handleDefaultSlotChange}"></slot>${slots["right"] ? html`<slot name="right" part="right" class="inline-flex ml-2"></slot>` : ""}</div>`;
94
+ )}">${this.selected ? html`<sd-4-0-4-icon part="checked-icon" class="text-white w-3 h-3" library="system" name="status-check"></sd-4-0-4-icon>` : ""}</span>` : ""} ${slots["left"] ? html`<slot name="left" part="left" class="inline-flex mr-2"></slot>` : ""}<slot part="label" class="inline-block flex-grow" @slotchange="${this.handleDefaultSlotChange}"></slot>${slots["right"] ? html`<slot name="right" part="right" class="inline-flex ml-2"></slot>` : ""}</div>`;
95
95
  }
96
96
  };
97
97
  /**
@@ -135,7 +135,7 @@ __decorateClass([
135
135
  watch("value")
136
136
  ], SdOption.prototype, "handleValueChange", 1);
137
137
  SdOption = __decorateClass([
138
- customElement("sd-4-0-3-option")
138
+ customElement("sd-4-0-4-option")
139
139
  ], SdOption);
140
140
 
141
141
  export {