@solid-design-system/components 1.38.1 → 1.38.3

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 (111) hide show
  1. package/dist/components/es/select.js +4 -2
  2. package/dist/components/es/solid-element.js +1 -1
  3. package/dist/components/umd/solid-components.js +4 -2
  4. package/dist/custom-elements.json +1 -1
  5. package/dist/package/components/select/select.js +4 -2
  6. package/dist/package/styles/tailwind.css.js +1 -1
  7. package/dist/versioned-components/es/accordion-group.js +1 -1
  8. package/dist/versioned-components/es/accordion.js +1 -1
  9. package/dist/versioned-components/es/badge.js +1 -1
  10. package/dist/versioned-components/es/brandshape.js +1 -1
  11. package/dist/versioned-components/es/button.js +1 -1
  12. package/dist/versioned-components/es/carousel-item.js +1 -1
  13. package/dist/versioned-components/es/carousel.js +3 -3
  14. package/dist/versioned-components/es/checkbox-group.js +1 -1
  15. package/dist/versioned-components/es/checkbox.js +1 -1
  16. package/dist/versioned-components/es/divider.js +1 -1
  17. package/dist/versioned-components/es/drawer.js +1 -1
  18. package/dist/versioned-components/es/dropdown.js +1 -1
  19. package/dist/versioned-components/es/form.js +1 -1
  20. package/dist/versioned-components/es/header.js +1 -1
  21. package/dist/versioned-components/es/icon.js +1 -1
  22. package/dist/versioned-components/es/include.js +1 -1
  23. package/dist/versioned-components/es/input.js +1 -1
  24. package/dist/versioned-components/es/link.js +1 -1
  25. package/dist/versioned-components/es/navigation-item.js +1 -1
  26. package/dist/versioned-components/es/notification.js +1 -1
  27. package/dist/versioned-components/es/option.js +1 -1
  28. package/dist/versioned-components/es/popup.js +1 -1
  29. package/dist/versioned-components/es/radio-button.js +1 -1
  30. package/dist/versioned-components/es/radio-group.js +1 -1
  31. package/dist/versioned-components/es/radio.js +1 -1
  32. package/dist/versioned-components/es/select.js +4 -2
  33. package/dist/versioned-components/es/solid-element.js +1 -1
  34. package/dist/versioned-components/es/spinner.js +1 -1
  35. package/dist/versioned-components/es/switch.js +1 -1
  36. package/dist/versioned-components/es/tag.js +1 -1
  37. package/dist/versioned-components/es/teaser.js +1 -1
  38. package/dist/versioned-components/es/textarea.js +1 -1
  39. package/dist/versioned-components/es/tooltip.js +2 -2
  40. package/dist/versioned-components/es/video.js +1 -1
  41. package/dist/versioned-package/_components/button-group/button-group.d.ts +1 -1
  42. package/dist/versioned-package/_components/button-group/button-group.js +11 -11
  43. package/dist/versioned-package/components/accordion/accordion.d.ts +1 -1
  44. package/dist/versioned-package/components/accordion/accordion.js +2 -2
  45. package/dist/versioned-package/components/accordion-group/accordion-group.d.ts +1 -1
  46. package/dist/versioned-package/components/accordion-group/accordion-group.js +3 -3
  47. package/dist/versioned-package/components/badge/badge.d.ts +1 -1
  48. package/dist/versioned-package/components/badge/badge.js +1 -1
  49. package/dist/versioned-package/components/brandshape/brandshape.d.ts +1 -1
  50. package/dist/versioned-package/components/brandshape/brandshape.js +1 -1
  51. package/dist/versioned-package/components/button/button.d.ts +1 -1
  52. package/dist/versioned-package/components/button/button.js +4 -4
  53. package/dist/versioned-package/components/carousel/carousel.d.ts +1 -1
  54. package/dist/versioned-package/components/carousel/carousel.js +6 -6
  55. package/dist/versioned-package/components/carousel-item/carousel-item.d.ts +1 -1
  56. package/dist/versioned-package/components/carousel-item/carousel-item.js +1 -1
  57. package/dist/versioned-package/components/checkbox/checkbox.d.ts +1 -1
  58. package/dist/versioned-package/components/checkbox/checkbox.js +4 -4
  59. package/dist/versioned-package/components/checkbox-group/checkbox-group.d.ts +1 -1
  60. package/dist/versioned-package/components/checkbox-group/checkbox-group.js +5 -5
  61. package/dist/versioned-package/components/divider/divider.d.ts +1 -1
  62. package/dist/versioned-package/components/divider/divider.js +2 -2
  63. package/dist/versioned-package/components/drawer/drawer.d.ts +1 -1
  64. package/dist/versioned-package/components/drawer/drawer.js +2 -2
  65. package/dist/versioned-package/components/dropdown/dropdown.d.ts +1 -1
  66. package/dist/versioned-package/components/dropdown/dropdown.js +8 -8
  67. package/dist/versioned-package/components/header/header.d.ts +1 -1
  68. package/dist/versioned-package/components/header/header.js +4 -4
  69. package/dist/versioned-package/components/icon/icon.d.ts +1 -1
  70. package/dist/versioned-package/components/icon/icon.js +1 -1
  71. package/dist/versioned-package/components/include/include.d.ts +1 -1
  72. package/dist/versioned-package/components/include/include.js +1 -1
  73. package/dist/versioned-package/components/input/input.d.ts +1 -1
  74. package/dist/versioned-package/components/input/input.js +4 -4
  75. package/dist/versioned-package/components/link/link.d.ts +1 -1
  76. package/dist/versioned-package/components/link/link.js +2 -2
  77. package/dist/versioned-package/components/navigation-item/navigation-item.d.ts +1 -1
  78. package/dist/versioned-package/components/navigation-item/navigation-item.js +3 -3
  79. package/dist/versioned-package/components/notification/notification.d.ts +1 -1
  80. package/dist/versioned-package/components/notification/notification.js +5 -5
  81. package/dist/versioned-package/components/option/option.d.ts +1 -1
  82. package/dist/versioned-package/components/option/option.js +2 -2
  83. package/dist/versioned-package/components/popup/popup.d.ts +1 -1
  84. package/dist/versioned-package/components/popup/popup.js +1 -1
  85. package/dist/versioned-package/components/radio/radio.d.ts +1 -1
  86. package/dist/versioned-package/components/radio/radio.js +2 -2
  87. package/dist/versioned-package/components/radio-button/radio-button.d.ts +1 -1
  88. package/dist/versioned-package/components/radio-button/radio-button.js +2 -2
  89. package/dist/versioned-package/components/radio-group/radio-group.d.ts +2 -2
  90. package/dist/versioned-package/components/radio-group/radio-group.js +15 -15
  91. package/dist/versioned-package/components/select/select.d.ts +4 -4
  92. package/dist/versioned-package/components/select/select.js +31 -29
  93. package/dist/versioned-package/components/spinner/spinner.d.ts +1 -1
  94. package/dist/versioned-package/components/spinner/spinner.js +1 -1
  95. package/dist/versioned-package/components/switch/switch.d.ts +1 -1
  96. package/dist/versioned-package/components/switch/switch.js +2 -2
  97. package/dist/versioned-package/components/tag/tag.d.ts +1 -1
  98. package/dist/versioned-package/components/tag/tag.js +2 -2
  99. package/dist/versioned-package/components/teaser/teaser.js +1 -1
  100. package/dist/versioned-package/components/textarea/textarea.d.ts +1 -1
  101. package/dist/versioned-package/components/textarea/textarea.js +3 -3
  102. package/dist/versioned-package/components/tooltip/tooltip.d.ts +1 -1
  103. package/dist/versioned-package/components/tooltip/tooltip.js +5 -5
  104. package/dist/versioned-package/components/video/video.d.ts +1 -1
  105. package/dist/versioned-package/components/video/video.js +2 -2
  106. package/dist/versioned-package/internal/form.js +3 -3
  107. package/dist/versioned-package/styles/tailwind.css.js +1 -1
  108. package/dist/versioned-styles/solid-styles.css +1 -1
  109. package/dist/vscode.html-custom-data.json +32 -32
  110. package/dist/web-types.json +1 -1
  111. package/package.json +1 -1
@@ -129,7 +129,7 @@ let SdNotification = class extends SolidElement {
129
129
  () => {
130
130
  toastStack.removeChild(this);
131
131
  resolve();
132
- if (toastStack.querySelector("sd-1-38-1-notification") === null) {
132
+ if (toastStack.querySelector("sd-1-38-3-notification") === null) {
133
133
  toastStack.remove();
134
134
  }
135
135
  },
@@ -146,15 +146,15 @@ let SdNotification = class extends SolidElement {
146
146
  warning: "bg-warning",
147
147
  error: "bg-error"
148
148
  }[this.variant]
149
- )}"><sd-1-38-1-icon name="${{
149
+ )}"><sd-1-38-3-icon name="${{
150
150
  info: "info-circle",
151
151
  success: "confirm-circle",
152
152
  warning: "exclamation-circle",
153
153
  error: "warning"
154
- }[this.variant] || ""}" library="system" class="h-6 w-6 text-white"></sd-1-38-1-icon></slot><div part="content" class="${cx(
154
+ }[this.variant] || ""}" library="system" class="h-6 w-6 text-white"></sd-1-38-3-icon></slot><div part="content" class="${cx(
155
155
  "h-full w-full p-1 gap-2 flex items-center justify-stretch bg-white",
156
156
  "border-solid border-[1px] border-l-0 border-neutral-400"
157
- )}"><slot part="message" class="block w-full pl-3 py-2" aria-live="polite"></slot>${this.closable ? html`<sd-1-38-1-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" label="${this.localize.term("close")}" @click="${this.handleCloseClick}"><sd-1-38-1-icon name="close" library="system" color="currentColor"></sd-1-38-1-icon></sd-1-38-1-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 bg-neutral-400"></div>` : ""}</div>`;
157
+ )}"><slot part="message" class="block w-full pl-3 py-2" aria-live="polite"></slot>${this.closable ? html`<sd-1-38-3-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" label="${this.localize.term("close")}" @click="${this.handleCloseClick}"><sd-1-38-3-icon name="close" library="system" color="currentColor"></sd-1-38-3-icon></sd-1-38-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 bg-neutral-400"></div>` : ""}</div>`;
158
158
  }
159
159
  };
160
160
  SdNotification.styles = [
@@ -190,7 +190,7 @@ __decorateClass([
190
190
  watch("duration")
191
191
  ], SdNotification.prototype, "handleDurationChange", 1);
192
192
  SdNotification = __decorateClass([
193
- customElement("sd-1-38-1-notification")
193
+ customElement("sd-1-38-3-notification")
194
194
  ], SdNotification);
195
195
  setDefaultAnimation("notification.show", {
196
196
  keyframes: [
@@ -25,6 +25,6 @@ export default class SdOption extends SolidElement {
25
25
  }
26
26
  declare global {
27
27
  interface HTMLElementTagNameMap {
28
- 'sd-1-38-1-option': SdOption;
28
+ 'sd-1-38-3-option': SdOption;
29
29
  }
30
30
  }
@@ -94,7 +94,7 @@ let SdOption = class extends SolidElement {
94
94
  )}"></span> ${this.checkbox ? html`<span id="control" part="control ${this.selected ? " control--checked" : "control--unchecked"}" class="${cx(
95
95
  "relative flex flex-initial items-center justify-center border rounded-sm h-4 w-4 mr-2",
96
96
  this.disabled ? "border-neutral-500" : this.selected ? "bg-accent border-accent" : "border-neutral-800"
97
- )}">${this.selected ? html`<sd-1-38-1-icon part="checked-icon" class="text-white w-3 h-3" library="system" name="status-hook"></sd-1-38-1-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>`;
97
+ )}">${this.selected ? html`<sd-1-38-3-icon part="checked-icon" class="text-white w-3 h-3" library="system" name="status-hook"></sd-1-38-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>`;
98
98
  }
99
99
  };
100
100
  SdOption.styles = [
@@ -136,7 +136,7 @@ __decorateClass([
136
136
  watch("value")
137
137
  ], SdOption.prototype, "handleValueChange", 1);
138
138
  SdOption = __decorateClass([
139
- customElement("sd-1-38-1-option")
139
+ customElement("sd-1-38-3-option")
140
140
  ], SdOption);
141
141
  export {
142
142
  SdOption as default
@@ -40,6 +40,6 @@ export default class SdPopup extends SolidElement {
40
40
  }
41
41
  declare global {
42
42
  interface HTMLElementTagNameMap {
43
- 'sd-1-38-1-popup': SdPopup;
43
+ 'sd-1-38-3-popup': SdPopup;
44
44
  }
45
45
  }
@@ -329,7 +329,7 @@ __decorateClass([
329
329
  property({ attribute: "auto-size-padding", type: Number })
330
330
  ], SdPopup.prototype, "autoSizePadding", 2);
331
331
  SdPopup = __decorateClass([
332
- customElement("sd-1-38-1-popup")
332
+ customElement("sd-1-38-3-popup")
333
333
  ], SdPopup);
334
334
  export {
335
335
  SdPopup as default
@@ -22,6 +22,6 @@ export default class SdRadio extends SolidElement {
22
22
  }
23
23
  declare global {
24
24
  interface HTMLElementTagNameMap {
25
- 'sd-1-38-1-radio': SdRadio;
25
+ 'sd-1-38-3-radio': SdRadio;
26
26
  }
27
27
  }
@@ -73,7 +73,7 @@ let SdRadio = class extends SolidElement {
73
73
  }
74
74
  render() {
75
75
  return html`<span part="base" class="${cx(
76
- "sd-1-38-1-radio group inline-flex items-start items-center text-base leading-normal text-black cursor-pointer align-middle",
76
+ "sd-1-38-3-radio group inline-flex items-start items-center text-base leading-normal text-black cursor-pointer align-middle",
77
77
  this.disabled && "hover:cursor-not-allowed",
78
78
  {
79
79
  /* sizes, fonts */
@@ -121,7 +121,7 @@ __decorateClass([
121
121
  watch("disabled", { waitUntilFirstUpdate: true })
122
122
  ], SdRadio.prototype, "handleDisabledChange", 1);
123
123
  SdRadio = __decorateClass([
124
- customElement("sd-1-38-1-radio")
124
+ customElement("sd-1-38-3-radio")
125
125
  ], SdRadio);
126
126
  export {
127
127
  SdRadio as default
@@ -20,6 +20,6 @@ export default class SdRadioButton extends SolidElement {
20
20
  }
21
21
  declare global {
22
22
  interface HTMLElementTagNameMap {
23
- 'sd-1-38-1-radio-button': SdRadioButton;
23
+ 'sd-1-38-3-radio-button': SdRadioButton;
24
24
  }
25
25
  }
@@ -84,7 +84,7 @@ let SdRadioButton = class extends SolidElement {
84
84
  SdRadioButton.styles = [
85
85
  SolidElement.styles,
86
86
  componentStyles,
87
- css`:host{display:block;width:-moz-min-content;width:min-content}.hidden-input{all:unset;position:absolute;inset:var(--sd-spacing-0,0);z-index:-10;opacity:var(--sd-opacity-0,0);outline-style:dotted;outline-width:1px;outline-color:rgb(var(--sd-color-error,204 25 55) / 1)}.lg-label{height:var(--sd-spacing-12,3rem)}.lg-no-label{height:var(--sd-spacing-12,3rem);width:var(--sd-spacing-12,3rem)}.md-label{height:var(--sd-spacing-10,2.5rem)}.md-no-label{height:var(--sd-spacing-10,2.5rem);width:var(--sd-spacing-10,2.5rem)}.sm-label{height:var(--sd-spacing-8,2rem)}.sm-no-label{height:var(--sd-spacing-8,2rem);width:var(--sd-spacing-8,2rem)}:host(.sd-1-38-1-button-group__button--first:not(.sd-1-38-1-button-group__button--last)) button{border-top-right-radius:var(--sd-border-radius-none,0);border-bottom-right-radius:var(--sd-border-radius-none,0)}:host(.sd-1-38-1-button-group__button--inner) button{border-radius:var(--sd-border-radius-none,0)}:host(.sd-1-38-1-button-group__button--last:not(.sd-1-38-1-button-group__button--first)) button{border-top-left-radius:var(--sd-border-radius-none,0);border-bottom-left-radius:var(--sd-border-radius-none,0)}:host(.sd-1-38-1-button-group__button:not(.sd-1-38-1-button-group__button--first)){margin-inline-start:-1px}:host(.sd-1-38-1-button-group__button--hover){z-index:10}:host(.sd-1-38-1-button-group__button--focus),:host(.sd-1-38-1-button-group__button[checked]){z-index:20}`
87
+ css`:host{display:block;width:-moz-min-content;width:min-content}.hidden-input{all:unset;position:absolute;inset:var(--sd-spacing-0,0);z-index:-10;opacity:var(--sd-opacity-0,0);outline-style:dotted;outline-width:1px;outline-color:rgb(var(--sd-color-error,204 25 55) / 1)}.lg-label{height:var(--sd-spacing-12,3rem)}.lg-no-label{height:var(--sd-spacing-12,3rem);width:var(--sd-spacing-12,3rem)}.md-label{height:var(--sd-spacing-10,2.5rem)}.md-no-label{height:var(--sd-spacing-10,2.5rem);width:var(--sd-spacing-10,2.5rem)}.sm-label{height:var(--sd-spacing-8,2rem)}.sm-no-label{height:var(--sd-spacing-8,2rem);width:var(--sd-spacing-8,2rem)}:host(.sd-1-38-3-button-group__button--first:not(.sd-1-38-3-button-group__button--last)) button{border-top-right-radius:var(--sd-border-radius-none,0);border-bottom-right-radius:var(--sd-border-radius-none,0)}:host(.sd-1-38-3-button-group__button--inner) button{border-radius:var(--sd-border-radius-none,0)}:host(.sd-1-38-3-button-group__button--last:not(.sd-1-38-3-button-group__button--first)) button{border-top-left-radius:var(--sd-border-radius-none,0);border-bottom-left-radius:var(--sd-border-radius-none,0)}:host(.sd-1-38-3-button-group__button:not(.sd-1-38-3-button-group__button--first)){margin-inline-start:-1px}:host(.sd-1-38-3-button-group__button--hover){z-index:10}:host(.sd-1-38-3-button-group__button--focus),:host(.sd-1-38-3-button-group__button[checked]){z-index:20}`
88
88
  ];
89
89
  __decorateClass([
90
90
  query(".button")
@@ -111,7 +111,7 @@ __decorateClass([
111
111
  watch("disabled", { waitUntilFirstUpdate: true })
112
112
  ], SdRadioButton.prototype, "handleDisabledChange", 1);
113
113
  SdRadioButton = __decorateClass([
114
- customElement("sd-1-38-1-radio-button")
114
+ customElement("sd-1-38-3-radio-button")
115
115
  ], SdRadioButton);
116
116
  export {
117
117
  SdRadioButton as default
@@ -4,7 +4,7 @@ import SolidElement from '../../internal/solid-element';
4
4
  import type { SolidFormControl } from '../../internal/solid-element';
5
5
  export default class SdRadioGroup extends SolidElement implements SolidFormControl {
6
6
  static dependencies: {
7
- 'sd-1-38-1-button-group': typeof SdButtonGroup;
7
+ 'sd-1-38-3-button-group': typeof SdButtonGroup;
8
8
  };
9
9
  protected readonly formControlController: FormControlController;
10
10
  private readonly hasSlotController;
@@ -48,6 +48,6 @@ export default class SdRadioGroup extends SolidElement implements SolidFormContr
48
48
  }
49
49
  declare global {
50
50
  interface HTMLElementTagNameMap {
51
- 'sd-1-38-1-radio-group': SdRadioGroup;
51
+ 'sd-1-38-3-radio-group': SdRadioGroup;
52
52
  }
53
53
  }
@@ -68,10 +68,10 @@ let SdRadioGroup = class extends SolidElement {
68
68
  this.formControlController.updateValidity();
69
69
  }
70
70
  getAllRadios() {
71
- return [...this.querySelectorAll("sd-1-38-1-radio, sd-1-38-1-radio-button")];
71
+ return [...this.querySelectorAll("sd-1-38-3-radio, sd-1-38-3-radio-button")];
72
72
  }
73
73
  handleRadioClick(event) {
74
- const target = event.target.closest("sd-1-38-1-radio, sd-1-38-1-radio-button");
74
+ const target = event.target.closest("sd-1-38-3-radio, sd-1-38-3-radio-button");
75
75
  const radios = this.getAllRadios();
76
76
  const oldValue = this.value;
77
77
  if (target.disabled) {
@@ -81,7 +81,7 @@ let SdRadioGroup = class extends SolidElement {
81
81
  radios.forEach((radio) => radio.checked = radio === target);
82
82
  if (this.value !== oldValue) {
83
83
  this.emit("sd-change");
84
- this.emit("sd-1-38-1-input");
84
+ this.emit("sd-1-38-3-input");
85
85
  }
86
86
  }
87
87
  handleKeyDown(event) {
@@ -115,7 +115,7 @@ let SdRadioGroup = class extends SolidElement {
115
115
  }
116
116
  if (this.value !== oldValue) {
117
117
  this.emit("sd-change");
118
- this.emit("sd-1-38-1-input");
118
+ this.emit("sd-1-38-3-input");
119
119
  }
120
120
  event.preventDefault();
121
121
  }
@@ -147,7 +147,7 @@ let SdRadioGroup = class extends SolidElement {
147
147
  }
148
148
  })
149
149
  );
150
- this.hasButtonGroup = radios.some((radio) => radio.tagName.toLowerCase() === "sd-1-38-1-radio-button");
150
+ this.hasButtonGroup = radios.some((radio) => radio.tagName.toLowerCase() === "sd-1-38-3-radio-button");
151
151
  if (!radios.some((radio) => radio.checked)) {
152
152
  if (this.hasButtonGroup) {
153
153
  const buttonRadio = (_a = radios[0].shadowRoot) == null ? void 0 : _a.querySelector("button");
@@ -159,26 +159,26 @@ let SdRadioGroup = class extends SolidElement {
159
159
  }
160
160
  }
161
161
  if (this.hasButtonGroup) {
162
- const buttonGroup = (_b = this.shadowRoot) == null ? void 0 : _b.querySelector("sd-1-38-1-button-group");
162
+ const buttonGroup = (_b = this.shadowRoot) == null ? void 0 : _b.querySelector("sd-1-38-3-button-group");
163
163
  if (buttonGroup) {
164
164
  buttonGroup.disableRole = true;
165
165
  }
166
166
  }
167
167
  }
168
168
  syncRadios() {
169
- if (customElements.get("sd-1-38-1-radio") && customElements.get("sd-1-38-1-radio-button")) {
169
+ if (customElements.get("sd-1-38-3-radio") && customElements.get("sd-1-38-3-radio-button")) {
170
170
  this.syncRadioElements();
171
171
  return;
172
172
  }
173
- if (customElements.get("sd-1-38-1-radio")) {
173
+ if (customElements.get("sd-1-38-3-radio")) {
174
174
  this.syncRadioElements();
175
175
  } else {
176
- customElements.whenDefined("sd-1-38-1-radio").then(() => this.syncRadios());
176
+ customElements.whenDefined("sd-1-38-3-radio").then(() => this.syncRadios());
177
177
  }
178
- if (customElements.get("sd-1-38-1-radio-button")) {
178
+ if (customElements.get("sd-1-38-3-radio-button")) {
179
179
  this.syncRadioElements();
180
180
  } else {
181
- customElements.whenDefined("sd-1-38-1-radio-button").then(() => this.syncRadios());
181
+ customElements.whenDefined("sd-1-38-3-radio-button").then(() => this.syncRadios());
182
182
  }
183
183
  }
184
184
  updateCheckedRadio() {
@@ -253,14 +253,14 @@ let SdRadioGroup = class extends SolidElement {
253
253
  vertical: "flex-col",
254
254
  horizontal: "flex-row"
255
255
  }[this.orientation]
256
- )}"><div class="sr-only"><label><input id="validation-input" type="text" ?required="${this.required}" tabindex="-1" hidden @invalid="${this.handleInvalid}"></label></div>${this.hasButtonGroup ? html`<sd-1-38-1-button-group part="button-group" exportparts="base:button-group__base" role="presentation">${defaultSlot}</sd-1-38-1-button-group>` : defaultSlot}</div></fieldset>${this.formControlController.renderInvalidMessage()}`;
256
+ )}"><div class="sr-only"><label><input id="validation-input" type="text" ?required="${this.required}" tabindex="-1" hidden @invalid="${this.handleInvalid}"></label></div>${this.hasButtonGroup ? html`<sd-1-38-3-button-group part="button-group" exportparts="base:button-group__base" role="presentation">${defaultSlot}</sd-1-38-3-button-group>` : defaultSlot}</div></fieldset>${this.formControlController.renderInvalidMessage()}`;
257
257
  }
258
258
  };
259
- SdRadioGroup.dependencies = { "sd-1-38-1-button-group": SdButtonGroup };
259
+ SdRadioGroup.dependencies = { "sd-1-38-3-button-group": SdButtonGroup };
260
260
  SdRadioGroup.styles = [
261
261
  componentStyles,
262
262
  SolidElement.styles,
263
- css`:host{display:block}:host([orientation=vertical]) ::slotted(sd-1-38-1-radio){margin-bottom:var(--sd-spacing-2,.5rem);display:flex}:host([orientation=vertical]) ::slotted(sd-1-38-1-radio:last-of-type){margin-bottom:var(--sd-spacing-0,0)}:host([orientation=horizontal]) ::slotted(sd-1-38-1-radio){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-1-38-1-radio:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-1-38-1-radio){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-1-38-1-radio:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([required]) #label::after{content:' *'}`
263
+ css`:host{display:block}:host([orientation=vertical]) ::slotted(sd-1-38-3-radio){margin-bottom:var(--sd-spacing-2,.5rem);display:flex}:host([orientation=vertical]) ::slotted(sd-1-38-3-radio:last-of-type){margin-bottom:var(--sd-spacing-0,0)}:host([orientation=horizontal]) ::slotted(sd-1-38-3-radio){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-1-38-3-radio:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-1-38-3-radio){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-1-38-3-radio:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([required]) #label::after{content:' *'}`
264
264
  ];
265
265
  __decorateClass([
266
266
  query("slot:not([name])")
@@ -314,7 +314,7 @@ __decorateClass([
314
314
  watch("value")
315
315
  ], SdRadioGroup.prototype, "handleValueChange", 1);
316
316
  SdRadioGroup = __decorateClass([
317
- customElement("sd-1-38-1-radio-group")
317
+ customElement("sd-1-38-3-radio-group")
318
318
  ], SdRadioGroup);
319
319
  export {
320
320
  SdRadioGroup as default
@@ -7,9 +7,9 @@ import type { TemplateResult } from 'lit';
7
7
  import type SdOption from '../option/option';
8
8
  export default class SdSelect extends SolidElement implements SolidFormControl {
9
9
  static dependencies: {
10
- 'sd-1-38-1-icon': typeof SdIcon;
11
- 'sd-1-38-1-popup': typeof SdPopup;
12
- 'sd-1-38-1-tag': typeof SdTag;
10
+ 'sd-1-38-3-icon': typeof SdIcon;
11
+ 'sd-1-38-3-popup': typeof SdPopup;
12
+ 'sd-1-38-3-tag': typeof SdTag;
13
13
  };
14
14
  private readonly formControlController;
15
15
  private readonly hasSlotController;
@@ -96,6 +96,6 @@ export default class SdSelect extends SolidElement implements SolidFormControl {
96
96
  }
97
97
  declare global {
98
98
  interface HTMLElementTagNameMap {
99
- 'sd-1-38-1-select': SdSelect;
99
+ 'sd-1-38-3-select': SdSelect;
100
100
  }
101
101
  }
@@ -32,7 +32,7 @@ let SdSelect = class extends SolidElement {
32
32
  constructor() {
33
33
  super(...arguments);
34
34
  this.formControlController = new FormControlController(this, {
35
- assumeInteractionOn: ["sd-blur", "sd-1-38-1-input"]
35
+ assumeInteractionOn: ["sd-blur", "sd-1-38-3-input"]
36
36
  });
37
37
  this.hasSlotController = new HasSlotController(this, "help-text", "label");
38
38
  this.localize = new LocalizeController(this);
@@ -62,11 +62,11 @@ let SdSelect = class extends SolidElement {
62
62
  this.required = false;
63
63
  this.hoist = false;
64
64
  this.getTag = (option) => {
65
- return html`<sd-1-38-1-tag ?disabled="${this.disabled}" part="tag" exportparts="
65
+ return html`<sd-1-38-3-tag ?disabled="${this.disabled}" part="tag" exportparts="
66
66
  base:tag__base,
67
67
  content:tag__content,
68
68
  removable-indicator:tag__removable-indicator,
69
- " size="${this.size === "sm" ? "sm" : "lg"}" removable @sd-remove="${(event) => this.handleTagRemove(event, option)}">${option.getTextLabel()}</sd-1-38-1-tag>`;
69
+ " size="${this.size === "sm" ? "sm" : "lg"}" removable @sd-remove="${(event) => this.handleTagRemove(event, option)}">${option.getTextLabel()}</sd-1-38-3-tag>`;
70
70
  };
71
71
  this.handleDocumentFocusIn = (event) => {
72
72
  const path = event.composedPath();
@@ -77,7 +77,7 @@ let SdSelect = class extends SolidElement {
77
77
  this.handleDocumentKeyDown = (event) => {
78
78
  const target = event.target;
79
79
  const isClearButton = target.closest(".select__clear") !== null;
80
- const isIconButton = target.closest("sd-1-38-1-icon-button") !== null;
80
+ const isIconButton = target.closest("sd-1-38-3-icon-button") !== null;
81
81
  if (isClearButton || isIconButton) {
82
82
  return;
83
83
  }
@@ -101,7 +101,7 @@ let SdSelect = class extends SolidElement {
101
101
  this.setSelectedOptions(this.currentOption);
102
102
  }
103
103
  this.updateComplete.then(() => {
104
- this.emit("sd-1-38-1-input");
104
+ this.emit("sd-1-38-3-input");
105
105
  this.emit("sd-change");
106
106
  });
107
107
  if (!this.multiple) {
@@ -229,7 +229,7 @@ let SdSelect = class extends SolidElement {
229
229
  this.displayInput.focus({ preventScroll: true });
230
230
  this.updateComplete.then(() => {
231
231
  this.emit("sd-clear");
232
- this.emit("sd-1-38-1-input");
232
+ this.emit("sd-1-38-3-input");
233
233
  this.emit("sd-change");
234
234
  });
235
235
  }
@@ -240,7 +240,7 @@ let SdSelect = class extends SolidElement {
240
240
  }
241
241
  handleOptionClick(event) {
242
242
  const target = event.target;
243
- const option = target.closest("sd-1-38-1-option");
243
+ const option = target.closest("sd-1-38-3-option");
244
244
  const oldValue = this.value;
245
245
  if (option && !option.disabled) {
246
246
  if (this.multiple) {
@@ -251,7 +251,7 @@ let SdSelect = class extends SolidElement {
251
251
  this.updateComplete.then(() => this.displayInput.focus({ preventScroll: true }));
252
252
  if (this.value !== oldValue) {
253
253
  this.updateComplete.then(() => {
254
- this.emit("sd-1-38-1-input");
254
+ this.emit("sd-1-38-3-input");
255
255
  this.emit("sd-change");
256
256
  });
257
257
  }
@@ -265,7 +265,7 @@ let SdSelect = class extends SolidElement {
265
265
  const allOptions = this.getAllOptions();
266
266
  const value = Array.isArray(this.value) ? this.value : [this.value];
267
267
  const values = [];
268
- if (customElements.get("sd-1-38-1-option")) {
268
+ if (customElements.get("sd-1-38-3-option")) {
269
269
  allOptions.forEach((option) => {
270
270
  if (this.multiple) {
271
271
  option.checkbox = true;
@@ -274,7 +274,7 @@ let SdSelect = class extends SolidElement {
274
274
  });
275
275
  this.setSelectedOptions(allOptions.filter((el) => value.includes(el.value)));
276
276
  } else {
277
- customElements.whenDefined("sd-1-38-1-option").then(() => this.handleDefaultSlotChange());
277
+ customElements.whenDefined("sd-1-38-3-option").then(() => this.handleDefaultSlotChange());
278
278
  }
279
279
  }
280
280
  handleTagRemove(event, option) {
@@ -282,18 +282,18 @@ let SdSelect = class extends SolidElement {
282
282
  if (!this.disabled) {
283
283
  this.toggleOptionSelection(option, false);
284
284
  this.updateComplete.then(() => {
285
- this.emit("sd-1-38-1-input");
285
+ this.emit("sd-1-38-3-input");
286
286
  this.emit("sd-change");
287
287
  });
288
288
  }
289
289
  }
290
- // Gets an array of all <sd-1-38-1-option> elements
290
+ // Gets an array of all <sd-1-38-3-option> elements
291
291
  getAllOptions() {
292
- return [...this.querySelectorAll("sd-1-38-1-option")];
292
+ return [...this.querySelectorAll("sd-1-38-3-option")];
293
293
  }
294
- // Gets the first <sd-1-38-1-option> element
294
+ // Gets the first <sd-1-38-3-option> element
295
295
  getFirstOption() {
296
- return this.querySelector("sd-1-38-1-option");
296
+ return this.querySelector("sd-1-38-3-option");
297
297
  }
298
298
  // Sets the current option, which is the option the user is currently interacting with (e.g. via keyboard). Only one
299
299
  // option may be "current" at a time.
@@ -355,7 +355,7 @@ let SdSelect = class extends SolidElement {
355
355
  const tag = this.getTag(option, index);
356
356
  return html`<div @sd-remove="${(e) => this.handleTagRemove(e, option)}">${typeof tag === "string" ? unsafeHTML(tag) : tag}</div>`;
357
357
  } else if (index === this.maxOptionsVisible) {
358
- return html`<sd-1-38-1-tag size="${this.size === "sm" ? "sm" : "lg"}" ?disabled="${this.disabled}">+${this.selectedOptions.length - index}</sd-1-38-1-tag>`;
358
+ return html`<sd-1-38-3-tag size="${this.size === "sm" ? "sm" : "lg"}" ?disabled="${this.disabled}">+${this.selectedOptions.length - index}</sd-1-38-3-tag>`;
359
359
  }
360
360
  return html``;
361
361
  });
@@ -371,7 +371,7 @@ let SdSelect = class extends SolidElement {
371
371
  handleMouseLeave() {
372
372
  this.hasHover = false;
373
373
  }
374
- /** Receives incoming event detail from sd-1-38-1-popup and updates local state for conditional styling. */
374
+ /** Receives incoming event detail from sd-1-38-3-popup and updates local state for conditional styling. */
375
375
  handleCurrentPlacement(e) {
376
376
  const incomingPlacement = e.detail;
377
377
  if (incomingPlacement) {
@@ -380,7 +380,7 @@ let SdSelect = class extends SolidElement {
380
380
  }
381
381
  handleUseTagsChange() {
382
382
  const allOptions = this.getAllOptions();
383
- if (customElements.get("sd-1-38-1-option")) {
383
+ if (customElements.get("sd-1-38-3-option")) {
384
384
  allOptions.forEach((option) => {
385
385
  option.checkbox = this.multiple;
386
386
  });
@@ -525,10 +525,12 @@ let SdSelect = class extends SolidElement {
525
525
  default: "border-neutral-800"
526
526
  }[selectState],
527
527
  this.open && (this.currentPlacement === "bottom" ? "rounded-bl-none rounded-br-none" : "rounded-tl-none rounded-tr-none")
528
- )}"></div><sd-1-38-1-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${cx(
528
+ )}"></div><sd-1-38-3-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${cx(
529
529
  "inline-flex relative w-full",
530
530
  this.currentPlacement === "bottom" ? "origin-top" : "origin-bottom"
531
- )}" placement="${this.placement}" strategy="${this.hoist ? "fixed" : "absolute"}" flip shift sync="width" auto-size="vertical" auto-size-padding="10"><div part="combobox" class="${cx(
531
+ )}" placement="${this.placement}" strategy="${this.hoist ? "fixed" : "absolute"}" flip shift sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
532
+ popup:popup__content,
533
+ "><div part="combobox" class="${cx(
532
534
  "relative w-full px-4 flex flex-row items-center rounded-default",
533
535
  {
534
536
  sm: "py-1 min-h-[32px]",
@@ -539,27 +541,27 @@ let SdSelect = class extends SolidElement {
539
541
  "appearance-none outline-none flex-grow bg-transparent",
540
542
  cursorStyles,
541
543
  this.multiple && this.useTags && this.value.length > 0 ? "hidden" : ""
542
- )}" type="text" placeholder="${this.placeholder}" .disabled="${this.disabled}" .value="${this.displayLabel}" autocomplete="off" spellcheck="false" autocapitalize="off" readonly="readonly" aria-controls="listbox" aria-expanded="${this.open ? "true" : "false"}" aria-haspopup="listbox" aria-labelledby="label" aria-disabled="${this.disabled ? "true" : "false"}" aria-describedby="help-text" role="combobox" tabindex="0" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${this.multiple && this.useTags ? html`<div part="tags" class="flex-grow flex flex-wrap items-center gap-1">${this.tags}</div>` : ""} <input class="${cx("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10", cursorStyles)}" type="text" ?disabled="${this.disabled}" ?required="${this.required}" .value="${Array.isArray(this.value) ? this.value.join(", ") : this.value}" tabindex="-1" aria-hidden="true" @focus="${() => this.focus()}" @invalid="${this.handleInvalid}"> ${hasClearIcon ? html`<button part="clear-button" class="${cx("select__clear flex justify-center", iconMarginLeft)}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-1-38-1-icon class="${cx("text-neutral-500", iconSize)}" library="system" name="closing-round"></sd-1-38-1-icon></slot></button>` : ""} ${this.showInvalidStyle ? html`<sd-1-38-1-icon part="invalid-icon" class="${cx("text-error", iconMarginLeft, iconSize)}" library="system" name="risk"></sd-1-38-1-icon>` : ""} ${this.showValidStyle ? html`<sd-1-38-1-icon part="valid-icon" class="${cx("text-success", iconMarginLeft, iconSize)}" library="system" name="confirm"></sd-1-38-1-icon>` : ""}<slot name="expand-icon" part="expand-icon" class="${cx("inline-flex ml-2 transition-all", this.open ? "rotate-180" : "rotate-0", iconSize)}"><sd-1-38-1-icon name="chevron-down" part="chevron" library="system" color="currentColor"></sd-1-38-1-icon></slot></div><div id="listbox" role="listbox" aria-expanded="${this.open ? "true" : "false"}" aria-multiselectable="${this.multiple ? "true" : "false"}" aria-labelledby="label" part="listbox" class="${cx(
544
+ )}" type="text" placeholder="${this.placeholder}" .disabled="${this.disabled}" .value="${this.displayLabel}" autocomplete="off" spellcheck="false" autocapitalize="off" readonly="readonly" aria-controls="listbox" aria-expanded="${this.open ? "true" : "false"}" aria-haspopup="listbox" aria-labelledby="label" aria-disabled="${this.disabled ? "true" : "false"}" aria-describedby="help-text" role="combobox" tabindex="0" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${this.multiple && this.useTags ? html`<div part="tags" class="flex-grow flex flex-wrap items-center gap-1">${this.tags}</div>` : ""} <input class="${cx("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10", cursorStyles)}" type="text" ?disabled="${this.disabled}" ?required="${this.required}" .value="${Array.isArray(this.value) ? this.value.join(", ") : this.value}" tabindex="-1" aria-hidden="true" @focus="${() => this.focus()}" @invalid="${this.handleInvalid}"> ${hasClearIcon ? html`<button part="clear-button" class="${cx("select__clear flex justify-center", iconMarginLeft)}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-1-38-3-icon class="${cx("text-neutral-500", iconSize)}" library="system" name="closing-round"></sd-1-38-3-icon></slot></button>` : ""} ${this.showInvalidStyle ? html`<sd-1-38-3-icon part="invalid-icon" class="${cx("text-error", iconMarginLeft, iconSize)}" library="system" name="risk"></sd-1-38-3-icon>` : ""} ${this.showValidStyle ? html`<sd-1-38-3-icon part="valid-icon" class="${cx("text-success", iconMarginLeft, iconSize)}" library="system" name="confirm"></sd-1-38-3-icon>` : ""}<slot name="expand-icon" part="expand-icon" class="${cx("inline-flex ml-2 transition-all", this.open ? "rotate-180" : "rotate-0", iconSize)}"><sd-1-38-3-icon name="chevron-down" part="chevron" library="system" color="currentColor"></sd-1-38-3-icon></slot></div><div id="listbox" role="listbox" aria-expanded="${this.open ? "true" : "false"}" aria-multiselectable="${this.multiple ? "true" : "false"}" aria-labelledby="label" part="listbox" class="${cx(
543
545
  "bg-white px-2 py-3 relative",
544
546
  this.currentPlacement === "bottom" ? "border-r-2 border-b-2 border-l-2 rounded-br-default rounded-bl-default" : "border-r-2 border-t-2 border-l-2 rounded-tr-default rounded-tl-default"
545
- )}" tabindex="-1" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-1-38-1-popup></div><div class="text-sm text-neutral-700" part="form-control-help-text" id="help-text" aria-hidden="${hasHelpText ? "false" : "true"}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage()}`;
547
+ )}" tabindex="-1" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-1-38-3-popup></div><div class="text-sm text-neutral-700" part="form-control-help-text" id="help-text" aria-hidden="${hasHelpText ? "false" : "true"}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage()}`;
546
548
  }
547
549
  };
548
550
  SdSelect.dependencies = {
549
- "sd-1-38-1-icon": SdIcon,
550
- "sd-1-38-1-popup": SdPopup,
551
- "sd-1-38-1-tag": SdTag
551
+ "sd-1-38-3-icon": SdIcon,
552
+ "sd-1-38-3-popup": SdPopup,
553
+ "sd-1-38-3-tag": SdTag
552
554
  };
553
555
  SdSelect.styles = [
554
556
  componentStyles,
555
557
  SolidElement.styles,
556
- css`:host{position:relative;display:block;width:100%}:host([required]) #label::after{content:' *'}sd-1-38-1-popup::part(popup){overflow-y:scroll}sd-1-38-1-tag::part(base){border-radius:var(--sd-border-radius-default,.25rem);padding-left:var(--sd-spacing-1,.25rem);padding-right:var(--sd-spacing-1,.25rem)}sd-1-38-1-tag[size=lg]::part(base){padding-left:var(--sd-spacing-2,.5rem);padding-right:var(--sd-spacing-2,.5rem)}sd-1-38-1-tag[disabled=false]::part(base):hover{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-100,236 240 249) / var(--tw-bg-opacity))}`
558
+ css`:host{position:relative;display:block;width:100%}:host([required]) #label::after{content:' *'}sd-1-38-3-popup::part(popup){z-index:var(--sd-z-index-dropdown,900);overflow-y:scroll}sd-1-38-3-tag::part(base){border-radius:var(--sd-border-radius-default,.25rem);padding-left:var(--sd-spacing-1,.25rem);padding-right:var(--sd-spacing-1,.25rem)}sd-1-38-3-tag[size=lg]::part(base){padding-left:var(--sd-spacing-2,.5rem);padding-right:var(--sd-spacing-2,.5rem)}sd-1-38-3-tag[disabled=false]::part(base):hover{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-100,236 240 249) / var(--tw-bg-opacity))}`
557
559
  ];
558
560
  __decorateClass([
559
- queryAssignedElements({ selector: "sd-1-38-1-option" })
561
+ queryAssignedElements({ selector: "sd-1-38-3-option" })
560
562
  ], SdSelect.prototype, "_optionsInDefaultSlot", 2);
561
563
  __decorateClass([
562
- query("sd-1-38-1-popup")
564
+ query("sd-1-38-3-popup")
563
565
  ], SdSelect.prototype, "popup", 2);
564
566
  __decorateClass([
565
567
  query('[part="combobox"]')
@@ -675,7 +677,7 @@ __decorateClass([
675
677
  watch("value", { waitUntilFirstUpdate: true })
676
678
  ], SdSelect.prototype, "handleValueChange", 1);
677
679
  SdSelect = __decorateClass([
678
- customElement("sd-1-38-1-select")
680
+ customElement("sd-1-38-3-select")
679
681
  ], SdSelect);
680
682
  setDefaultAnimation("select.show", {
681
683
  keyframes: [
@@ -7,6 +7,6 @@ export default class SdSpinner extends SolidElement {
7
7
  }
8
8
  declare global {
9
9
  interface HTMLElementTagNameMap {
10
- 'sd-1-38-1-spinner': SdSpinner;
10
+ 'sd-1-38-3-spinner': SdSpinner;
11
11
  }
12
12
  }
@@ -40,7 +40,7 @@ __decorateClass([
40
40
  property({ reflect: true })
41
41
  ], SdSpinner.prototype, "color", 2);
42
42
  SdSpinner = __decorateClass([
43
- customElement("sd-1-38-1-spinner")
43
+ customElement("sd-1-38-3-spinner")
44
44
  ], SdSpinner);
45
45
  export {
46
46
  SdSpinner as default
@@ -34,6 +34,6 @@ export default class SdSwitch extends SolidElement implements SolidFormControl {
34
34
  }
35
35
  declare global {
36
36
  interface HTMLElementTagNameMap {
37
- 'sd-1-38-1-switch': SdSwitch;
37
+ 'sd-1-38-3-switch': SdSwitch;
38
38
  }
39
39
  }
@@ -51,7 +51,7 @@ let SdSwitch = class extends SolidElement {
51
51
  this.emit("sd-blur");
52
52
  }
53
53
  handleInput() {
54
- this.emit("sd-1-38-1-input");
54
+ this.emit("sd-1-38-3-input");
55
55
  }
56
56
  handleInvalid(event) {
57
57
  this.formControlController.setValidity(false);
@@ -163,7 +163,7 @@ __decorateClass([
163
163
  watch(["checked"], { waitUntilFirstUpdate: true })
164
164
  ], SdSwitch.prototype, "handleStateChange", 1);
165
165
  SdSwitch = __decorateClass([
166
- customElement("sd-1-38-1-switch")
166
+ customElement("sd-1-38-3-switch")
167
167
  ], SdSwitch);
168
168
  export {
169
169
  SdSwitch as default
@@ -20,6 +20,6 @@ export default class SdTag extends SolidElement {
20
20
  }
21
21
  declare global {
22
22
  interface HTMLElementTagNameMap {
23
- 'sd-1-38-1-tag': SdTag;
23
+ 'sd-1-38-3-tag': SdTag;
24
24
  }
25
25
  }
@@ -74,7 +74,7 @@ let SdTag = class extends SolidElement {
74
74
  lg: "text-base",
75
75
  sm: "text-[12px]"
76
76
  }[this.size]
77
- )}"><sd-1-38-1-icon library="system" name="close" label="remove"></sd-1-38-1-icon></slot>` : ""}</${tag}>`;
77
+ )}"><sd-1-38-3-icon library="system" name="close" label="remove"></sd-1-38-3-icon></slot>` : ""}</${tag}>`;
78
78
  }
79
79
  };
80
80
  SdTag.styles = [
@@ -106,7 +106,7 @@ __decorateClass([
106
106
  property()
107
107
  ], SdTag.prototype, "download", 2);
108
108
  SdTag = __decorateClass([
109
- customElement("sd-1-38-1-tag")
109
+ customElement("sd-1-38-3-tag")
110
110
  ], SdTag);
111
111
  export {
112
112
  SdTag as default
@@ -100,7 +100,7 @@ __decorateClass([
100
100
  state()
101
101
  ], SdTeaser.prototype, "_orientation", 2);
102
102
  SdTeaser = __decorateClass([
103
- customElement("sd-1-38-1-teaser")
103
+ customElement("sd-1-38-3-teaser")
104
104
  ], SdTeaser);
105
105
  export {
106
106
  SdTeaser as default
@@ -65,6 +65,6 @@ export default class SdTextarea extends SolidElement implements SolidFormControl
65
65
  }
66
66
  declare global {
67
67
  interface HTMLElementTagNameMap {
68
- 'sd-1-38-1-textarea': SdTextarea;
68
+ 'sd-1-38-3-textarea': SdTextarea;
69
69
  }
70
70
  }
@@ -80,7 +80,7 @@ let SdTextarea = class extends SolidElement {
80
80
  handleInput() {
81
81
  this.value = this.textarea.value;
82
82
  this.formControlController.updateValidity();
83
- this.emit("sd-1-38-1-input");
83
+ this.emit("sd-1-38-3-input");
84
84
  }
85
85
  handleInvalid(event) {
86
86
  this.formControlController.setValidity(false);
@@ -209,7 +209,7 @@ let SdTextarea = class extends SolidElement {
209
209
  "flex-grow focus:outline-none bg-transparent placeholder-neutral-700 resize-none",
210
210
  this.disabled && "cursor-not-allowed",
211
211
  textSize
212
- )}" 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" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"></textarea> ${this.showInvalidStyle ? html`<sd-1-38-1-icon class="${cx("text-error absolute right-4 bg-white group-hover:bg-neutral-200", iconSizeMarginLeft)}" library="system" name="risk"></sd-1-38-1-icon>` : ""} ${this.showValidStyle ? html`<sd-1-38-1-icon class="${cx("text-success absolute right-4 bg-white group-hover:bg-neutral-200", iconSizeMarginLeft)}" library="system" name="confirm"></sd-1-38-1-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()}`;
212
+ )}" 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" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"></textarea> ${this.showInvalidStyle ? html`<sd-1-38-3-icon class="${cx("text-error absolute right-4 bg-white group-hover:bg-neutral-200", iconSizeMarginLeft)}" library="system" name="risk"></sd-1-38-3-icon>` : ""} ${this.showValidStyle ? html`<sd-1-38-3-icon class="${cx("text-success absolute right-4 bg-white group-hover:bg-neutral-200", iconSizeMarginLeft)}" library="system" name="confirm"></sd-1-38-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()}`;
213
213
  }
214
214
  };
215
215
  SdTextarea.styles = [
@@ -315,7 +315,7 @@ __decorateClass([
315
315
  watch("value", { waitUntilFirstUpdate: true })
316
316
  ], SdTextarea.prototype, "handleValueChange", 1);
317
317
  SdTextarea = __decorateClass([
318
- customElement("sd-1-38-1-textarea")
318
+ customElement("sd-1-38-3-textarea")
319
319
  ], SdTextarea);
320
320
  export {
321
321
  SdTextarea as default