@solid-design-system/components 3.18.0 → 3.19.1

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 (172) hide show
  1. package/LICENSE.md +2 -0
  2. package/dist/components/es/audio.js +1 -0
  3. package/dist/components/es/solid-components2.js +8 -8
  4. package/dist/components/es/wave.js +1 -0
  5. package/dist/components/umd/solid-components.js +17 -16
  6. package/dist/custom-elements.json +1 -1
  7. package/dist/package/components/audio/audio.d.ts +55 -0
  8. package/dist/package/components/audio/audio.js +353 -0
  9. package/dist/package/components/audio/wave.d.ts +38 -0
  10. package/dist/package/components/audio/wave.js +85 -0
  11. package/dist/package/components/icon/library.system.d.ts +3 -0
  12. package/dist/package/components/icon/library.system.js +6 -1
  13. package/dist/package/solid-components.d.ts +1 -0
  14. package/dist/package/solid-components.js +86 -84
  15. package/dist/package/styles/tailwind.css.js +1 -1
  16. package/dist/package/translations/de.js +7 -1
  17. package/dist/package/translations/en.js +7 -1
  18. package/dist/package/utilities/localize.d.ts +6 -0
  19. package/dist/versioned-components/es/accordion-group.js +1 -1
  20. package/dist/versioned-components/es/accordion.js +1 -1
  21. package/dist/versioned-components/es/audio.js +1 -0
  22. package/dist/versioned-components/es/badge.js +1 -1
  23. package/dist/versioned-components/es/brandshape.js +1 -1
  24. package/dist/versioned-components/es/button.js +1 -1
  25. package/dist/versioned-components/es/carousel-item.js +1 -1
  26. package/dist/versioned-components/es/carousel.js +3 -3
  27. package/dist/versioned-components/es/checkbox-group.js +1 -1
  28. package/dist/versioned-components/es/checkbox.js +1 -1
  29. package/dist/versioned-components/es/dialog.js +1 -1
  30. package/dist/versioned-components/es/divider.js +1 -1
  31. package/dist/versioned-components/es/drawer.js +1 -1
  32. package/dist/versioned-components/es/dropdown.js +1 -1
  33. package/dist/versioned-components/es/expandable.js +1 -1
  34. package/dist/versioned-components/es/flipcard.js +1 -1
  35. package/dist/versioned-components/es/form.js +1 -1
  36. package/dist/versioned-components/es/header.js +1 -1
  37. package/dist/versioned-components/es/icon.js +1 -1
  38. package/dist/versioned-components/es/include.js +1 -1
  39. package/dist/versioned-components/es/input.js +1 -1
  40. package/dist/versioned-components/es/link.js +1 -1
  41. package/dist/versioned-components/es/map-marker.js +1 -1
  42. package/dist/versioned-components/es/navigation-item.js +1 -1
  43. package/dist/versioned-components/es/notification.js +1 -1
  44. package/dist/versioned-components/es/option.js +1 -1
  45. package/dist/versioned-components/es/quickfact.js +1 -1
  46. package/dist/versioned-components/es/radio-button.js +1 -1
  47. package/dist/versioned-components/es/radio-group.js +1 -1
  48. package/dist/versioned-components/es/radio.js +1 -1
  49. package/dist/versioned-components/es/scrollable.js +1 -1
  50. package/dist/versioned-components/es/select.js +3 -3
  51. package/dist/versioned-components/es/solid-components2.js +8 -8
  52. package/dist/versioned-components/es/spinner.js +1 -1
  53. package/dist/versioned-components/es/step-group.js +1 -1
  54. package/dist/versioned-components/es/step.js +1 -1
  55. package/dist/versioned-components/es/switch.js +1 -1
  56. package/dist/versioned-components/es/tab-group.js +1 -1
  57. package/dist/versioned-components/es/tab-panel.js +1 -1
  58. package/dist/versioned-components/es/tab.js +1 -1
  59. package/dist/versioned-components/es/tag.js +1 -1
  60. package/dist/versioned-components/es/teaser-media.js +1 -1
  61. package/dist/versioned-components/es/teaser.js +1 -1
  62. package/dist/versioned-components/es/textarea.js +1 -1
  63. package/dist/versioned-components/es/tooltip.js +2 -2
  64. package/dist/versioned-components/es/video.js +1 -1
  65. package/dist/versioned-components/es/wave.js +1 -0
  66. package/dist/versioned-package/_components/button-group/button-group.d.ts +1 -1
  67. package/dist/versioned-package/_components/button-group/button-group.js +11 -11
  68. package/dist/versioned-package/components/accordion/accordion.d.ts +1 -1
  69. package/dist/versioned-package/components/accordion/accordion.js +2 -2
  70. package/dist/versioned-package/components/accordion-group/accordion-group.d.ts +1 -1
  71. package/dist/versioned-package/components/accordion-group/accordion-group.js +3 -3
  72. package/dist/versioned-package/components/audio/audio.d.ts +55 -0
  73. package/dist/versioned-package/components/audio/audio.js +353 -0
  74. package/dist/versioned-package/components/audio/wave.d.ts +38 -0
  75. package/dist/versioned-package/components/audio/wave.js +85 -0
  76. package/dist/versioned-package/components/badge/badge.d.ts +1 -1
  77. package/dist/versioned-package/components/badge/badge.js +1 -1
  78. package/dist/versioned-package/components/brandshape/brandshape.d.ts +1 -1
  79. package/dist/versioned-package/components/brandshape/brandshape.js +1 -1
  80. package/dist/versioned-package/components/button/button.d.ts +1 -1
  81. package/dist/versioned-package/components/button/button.js +4 -4
  82. package/dist/versioned-package/components/carousel/carousel.d.ts +1 -1
  83. package/dist/versioned-package/components/carousel/carousel.js +6 -6
  84. package/dist/versioned-package/components/carousel-item/carousel-item.d.ts +1 -1
  85. package/dist/versioned-package/components/carousel-item/carousel-item.js +1 -1
  86. package/dist/versioned-package/components/checkbox/checkbox.d.ts +1 -1
  87. package/dist/versioned-package/components/checkbox/checkbox.js +3 -3
  88. package/dist/versioned-package/components/checkbox-group/checkbox-group.d.ts +1 -1
  89. package/dist/versioned-package/components/checkbox-group/checkbox-group.js +5 -5
  90. package/dist/versioned-package/components/dialog/dialog.d.ts +1 -1
  91. package/dist/versioned-package/components/dialog/dialog.js +2 -2
  92. package/dist/versioned-package/components/divider/divider.d.ts +1 -1
  93. package/dist/versioned-package/components/divider/divider.js +2 -2
  94. package/dist/versioned-package/components/drawer/drawer.d.ts +1 -1
  95. package/dist/versioned-package/components/drawer/drawer.js +2 -2
  96. package/dist/versioned-package/components/dropdown/dropdown.d.ts +1 -1
  97. package/dist/versioned-package/components/dropdown/dropdown.js +8 -8
  98. package/dist/versioned-package/components/expandable/expandable.d.ts +1 -1
  99. package/dist/versioned-package/components/expandable/expandable.js +2 -2
  100. package/dist/versioned-package/components/flipcard/flipcard.d.ts +1 -1
  101. package/dist/versioned-package/components/flipcard/flipcard.js +1 -1
  102. package/dist/versioned-package/components/header/header.d.ts +1 -1
  103. package/dist/versioned-package/components/header/header.js +4 -4
  104. package/dist/versioned-package/components/icon/icon.d.ts +1 -1
  105. package/dist/versioned-package/components/icon/icon.js +1 -1
  106. package/dist/versioned-package/components/icon/library.system.d.ts +3 -0
  107. package/dist/versioned-package/components/icon/library.system.js +6 -1
  108. package/dist/versioned-package/components/include/include.d.ts +1 -1
  109. package/dist/versioned-package/components/include/include.js +1 -1
  110. package/dist/versioned-package/components/input/input.d.ts +1 -1
  111. package/dist/versioned-package/components/input/input.js +2 -2
  112. package/dist/versioned-package/components/link/link.d.ts +1 -1
  113. package/dist/versioned-package/components/link/link.js +2 -2
  114. package/dist/versioned-package/components/map-marker/map-marker.d.ts +1 -1
  115. package/dist/versioned-package/components/map-marker/map-marker.js +1 -1
  116. package/dist/versioned-package/components/navigation-item/navigation-item.d.ts +1 -1
  117. package/dist/versioned-package/components/navigation-item/navigation-item.js +5 -5
  118. package/dist/versioned-package/components/notification/notification.d.ts +1 -1
  119. package/dist/versioned-package/components/notification/notification.js +5 -5
  120. package/dist/versioned-package/components/option/option.d.ts +1 -1
  121. package/dist/versioned-package/components/option/option.js +2 -2
  122. package/dist/versioned-package/components/popup/popup.d.ts +1 -1
  123. package/dist/versioned-package/components/popup/popup.js +1 -1
  124. package/dist/versioned-package/components/quickfact/quickfact.d.ts +1 -1
  125. package/dist/versioned-package/components/quickfact/quickfact.js +2 -2
  126. package/dist/versioned-package/components/radio/radio.d.ts +1 -1
  127. package/dist/versioned-package/components/radio/radio.js +2 -2
  128. package/dist/versioned-package/components/radio-button/radio-button.d.ts +1 -1
  129. package/dist/versioned-package/components/radio-button/radio-button.js +2 -2
  130. package/dist/versioned-package/components/radio-group/radio-group.d.ts +2 -2
  131. package/dist/versioned-package/components/radio-group/radio-group.js +13 -13
  132. package/dist/versioned-package/components/scrollable/scrollable.d.ts +1 -1
  133. package/dist/versioned-package/components/scrollable/scrollable.js +3 -3
  134. package/dist/versioned-package/components/select/select.d.ts +4 -4
  135. package/dist/versioned-package/components/select/select.js +25 -25
  136. package/dist/versioned-package/components/spinner/spinner.d.ts +1 -1
  137. package/dist/versioned-package/components/spinner/spinner.js +1 -1
  138. package/dist/versioned-package/components/step/step.d.ts +1 -1
  139. package/dist/versioned-package/components/step/step.js +2 -2
  140. package/dist/versioned-package/components/step-group/step-group.d.ts +1 -1
  141. package/dist/versioned-package/components/step-group/step-group.js +2 -2
  142. package/dist/versioned-package/components/switch/switch.d.ts +1 -1
  143. package/dist/versioned-package/components/switch/switch.js +1 -1
  144. package/dist/versioned-package/components/tab/tab.d.ts +1 -1
  145. package/dist/versioned-package/components/tab/tab.js +2 -2
  146. package/dist/versioned-package/components/tab-group/tab-group.d.ts +1 -1
  147. package/dist/versioned-package/components/tab-group/tab-group.js +13 -13
  148. package/dist/versioned-package/components/tab-panel/tab-panel.d.ts +1 -1
  149. package/dist/versioned-package/components/tab-panel/tab-panel.js +2 -2
  150. package/dist/versioned-package/components/tag/tag.d.ts +1 -1
  151. package/dist/versioned-package/components/tag/tag.js +2 -2
  152. package/dist/versioned-package/components/teaser/teaser.js +1 -1
  153. package/dist/versioned-package/components/teaser-media/teaser-media.js +1 -1
  154. package/dist/versioned-package/components/textarea/textarea.d.ts +1 -1
  155. package/dist/versioned-package/components/textarea/textarea.js +2 -2
  156. package/dist/versioned-package/components/tooltip/tooltip.d.ts +1 -1
  157. package/dist/versioned-package/components/tooltip/tooltip.js +5 -5
  158. package/dist/versioned-package/components/video/video.d.ts +1 -1
  159. package/dist/versioned-package/components/video/video.js +2 -2
  160. package/dist/versioned-package/internal/form.js +3 -3
  161. package/dist/versioned-package/solid-components.d.ts +1 -0
  162. package/dist/versioned-package/solid-components.js +86 -84
  163. package/dist/versioned-package/styles/headline/headline.css.js +1 -1
  164. package/dist/versioned-package/styles/tailwind.css.js +1 -1
  165. package/dist/versioned-package/translations/de.js +7 -1
  166. package/dist/versioned-package/translations/en.js +7 -1
  167. package/dist/versioned-package/utilities/autocomplete-config.js +4 -4
  168. package/dist/versioned-package/utilities/localize.d.ts +6 -0
  169. package/dist/versioned-styles/solid-styles.css +1 -1
  170. package/dist/vscode.html-custom-data.json +108 -44
  171. package/dist/web-types.json +683 -45
  172. package/package.json +3 -3
@@ -109,7 +109,7 @@ let SdCheckbox = class extends SolidElement {
109
109
  render() {
110
110
  const checkboxState = this.disabled && this.indeterminate ? "disabledIndeterminate" : this.disabled && this.checked ? "disabledChecked" : this.disabled ? "disabled" : this.showInvalidStyle && this.indeterminate ? "invalidIndeterminate" : this.showInvalidStyle ? "invalid" : this.checked || this.indeterminate ? "filled" : "default";
111
111
  return html`<label part="base" class="${cx(
112
- "sd-3-18-0-checkbox group flex items-start text-base leading-normal text-black cursor-pointer",
112
+ "sd-3-19-1-checkbox group flex items-start text-base leading-normal text-black cursor-pointer",
113
113
  this.disabled && "hover:cursor-not-allowed",
114
114
  {
115
115
  /* sizes, fonts */
@@ -133,7 +133,7 @@ let SdCheckbox = class extends SolidElement {
133
133
  filled: "border-accent hover:border-accent-550 group-hover:border-accent-550 bg-accent group-hover:bg-accent-550",
134
134
  default: "border-neutral-800 hover:bg-neutral-200 group-hover:bg-neutral-200 bg-white"
135
135
  }[checkboxState]
136
- )}">${this.checked ? html`<sd-3-18-0-icon part="checked-icon" class="text-white w-3 h-3" library="system" name="status-check"></sd-3-18-0-icon>` : ""} ${!this.checked && this.indeterminate ? html`<sd-3-18-0-icon part="indeterminate-icon" class="text-white w-3 h-3" library="system" name="status-minus"></sd-3-18-0-icon>` : ""} </span><span part="label" id="label" class="${cx(
136
+ )}">${this.checked ? html`<sd-3-19-1-icon part="checked-icon" class="text-white w-3 h-3" library="system" name="status-check"></sd-3-19-1-icon>` : ""} ${!this.checked && this.indeterminate ? html`<sd-3-19-1-icon part="indeterminate-icon" class="text-white w-3 h-3" library="system" name="status-minus"></sd-3-19-1-icon>` : ""} </span><span part="label" id="label" class="${cx(
137
137
  "select-none inline-block ml-2",
138
138
  this.disabled ? "text-neutral-500" : this.showInvalidStyle ? "text-error" : "text-black"
139
139
  )}"><slot></slot></span></label> ${this.formControlController.renderInvalidMessage()}`;
@@ -189,7 +189,7 @@ __decorateClass([
189
189
  watch(["checked", "indeterminate"], { waitUntilFirstUpdate: true })
190
190
  ], SdCheckbox.prototype, "handleStateChange", 1);
191
191
  SdCheckbox = __decorateClass([
192
- customElement("sd-3-18-0-checkbox")
192
+ customElement("sd-3-19-1-checkbox")
193
193
  ], SdCheckbox);
194
194
  export {
195
195
  SdCheckbox as default
@@ -15,6 +15,6 @@ export default class SdCheckboxGroup extends SolidElement {
15
15
  }
16
16
  declare global {
17
17
  interface HTMLElementTagNameMap {
18
- 'sd-3-18-0-checkbox-group': SdCheckboxGroup;
18
+ 'sd-3-19-1-checkbox-group': SdCheckboxGroup;
19
19
  }
20
20
  }
@@ -26,7 +26,7 @@ let SdCheckboxGroup = class extends SolidElement {
26
26
  this.label = "";
27
27
  }
28
28
  getAllCheckboxes() {
29
- return [...this.querySelectorAll("sd-3-18-0-checkbox")];
29
+ return [...this.querySelectorAll("sd-3-19-1-checkbox")];
30
30
  }
31
31
  async syncCheckboxElements() {
32
32
  const checkboxes = this.getAllCheckboxes();
@@ -42,10 +42,10 @@ let SdCheckboxGroup = class extends SolidElement {
42
42
  }
43
43
  }
44
44
  syncCheckboxes() {
45
- if (customElements.get("sd-3-18-0-checkbox")) {
45
+ if (customElements.get("sd-3-19-1-checkbox")) {
46
46
  this.syncCheckboxElements();
47
47
  } else {
48
- customElements.whenDefined("sd-3-18-0-checkbox").then(() => this.syncCheckboxes());
48
+ customElements.whenDefined("sd-3-19-1-checkbox").then(() => this.syncCheckboxes());
49
49
  }
50
50
  }
51
51
  handleSizeChange() {
@@ -76,7 +76,7 @@ let SdCheckboxGroup = class extends SolidElement {
76
76
  SdCheckboxGroup.styles = [
77
77
  componentStyles,
78
78
  SolidElement.styles,
79
- css`:host{display:block}:host([orientation=vertical]) ::slotted(sd-3-18-0-checkbox){margin-bottom:var(--sd-spacing-2,.5rem);display:flex}:host([orientation=vertical]) ::slotted(sd-3-18-0-checkbox:last-of-type){margin-bottom:var(--sd-spacing-0,0)}:host([orientation=horizontal]) ::slotted(sd-3-18-0-checkbox){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-3-18-0-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-3-18-0-checkbox){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-3-18-0-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}`
79
+ css`:host{display:block}:host([orientation=vertical]) ::slotted(sd-3-19-1-checkbox){margin-bottom:var(--sd-spacing-2,.5rem);display:flex}:host([orientation=vertical]) ::slotted(sd-3-19-1-checkbox:last-of-type){margin-bottom:var(--sd-spacing-0,0)}:host([orientation=horizontal]) ::slotted(sd-3-19-1-checkbox){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-3-19-1-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-3-19-1-checkbox){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-3-19-1-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}`
80
80
  ];
81
81
  __decorateClass([
82
82
  property({ reflect: true })
@@ -94,7 +94,7 @@ __decorateClass([
94
94
  watch("invalid", { waitUntilFirstUpdate: true })
95
95
  ], SdCheckboxGroup.prototype, "handleInvalid", 1);
96
96
  SdCheckboxGroup = __decorateClass([
97
- customElement("sd-3-18-0-checkbox-group")
97
+ customElement("sd-3-19-1-checkbox-group")
98
98
  ], SdCheckboxGroup);
99
99
  export {
100
100
  SdCheckboxGroup as default
@@ -28,6 +28,6 @@ export default class SdDialog extends SolidElement {
28
28
  }
29
29
  declare global {
30
30
  interface HTMLElementTagNameMap {
31
- 'sd-3-18-0-dialog': SdDialog;
31
+ 'sd-3-19-1-dialog': SdDialog;
32
32
  }
33
33
  }
@@ -157,7 +157,7 @@ let SdDialog = class extends SolidElement {
157
157
  )}"><div part="overlay" class="fixed inset-0 bg-primary-800 opacity-90" @click="${() => this.requestClose("overlay")}" tabindex="-1"></div><div part="panel" class="${cx(
158
158
  "flex flex-col z-20 bg-white focus:outline-none py-4 sm:py-8 relative gap-6",
159
159
  this.open && "flex opacity-100"
160
- )}" role="dialog" aria-modal="true" aria-hidden="${this.open ? "false" : "true"}" aria-label="${this.headline}" aria-labelledby="title" tabindex="0"><header part="header" class="flex flex-grow-0 flex-shrink-0 basis-auto px-6 sm:px-10"><h2 part="title" class="flex-auto m-0" id="title">${this.headline.length > 0 ? html`<h4 class="sd-headline sd-headline--size-3xl leading-tight">${this.headline}</h4>` : html`<slot name="headline"></slot>`}</h2>${!this.noCloseButton ? html`<sd-3-18-0-button part="close-button" variant="tertiary" exportparts="base:close-button__base" class="${cx("absolute top-2 right-2")}" name="x-lg" @click="${() => this.requestClose("close-button")}" type="button"><sd-3-18-0-icon label="${this.localize.term("close")}" name="close" library="system" color="currentColor"></sd-3-18-0-icon></sd-3-18-0-button>` : ""}</header><main part="body" class="flex flex-auto overflow-auto w-full px-6 sm:px-10"><slot></slot></main><footer part="footer" class="flex flex-grow-0 flex-shrink-0 basis-auto ml-auto gap-4 px-6 sm:px-10"><slot name="footer"></slot></footer></div></div>`;
160
+ )}" role="dialog" aria-modal="true" aria-hidden="${this.open ? "false" : "true"}" aria-label="${this.headline}" aria-labelledby="title" tabindex="0"><header part="header" class="flex flex-grow-0 flex-shrink-0 basis-auto px-6 sm:px-10"><h2 part="title" class="flex-auto m-0" id="title">${this.headline.length > 0 ? html`<h4 class="sd-headline sd-headline--size-3xl leading-tight">${this.headline}</h4>` : html`<slot name="headline"></slot>`}</h2>${!this.noCloseButton ? html`<sd-3-19-1-button part="close-button" variant="tertiary" exportparts="base:close-button__base" class="${cx("absolute top-2 right-2")}" name="x-lg" @click="${() => this.requestClose("close-button")}" type="button"><sd-3-19-1-icon label="${this.localize.term("close")}" name="close" library="system" color="currentColor"></sd-3-19-1-icon></sd-3-19-1-button>` : ""}</header><main part="body" class="flex flex-auto overflow-auto w-full px-6 sm:px-10"><slot></slot></main><footer part="footer" class="flex flex-grow-0 flex-shrink-0 basis-auto ml-auto gap-4 px-6 sm:px-10"><slot name="footer"></slot></footer></div></div>`;
161
161
  }
162
162
  };
163
163
  SdDialog.styles = [
@@ -188,7 +188,7 @@ __decorateClass([
188
188
  watch("open", { waitUntilFirstUpdate: true })
189
189
  ], SdDialog.prototype, "handleOpenChange", 1);
190
190
  SdDialog = __decorateClass([
191
- customElement("sd-3-18-0-dialog")
191
+ customElement("sd-3-19-1-dialog")
192
192
  ], SdDialog);
193
193
  setDefaultAnimation("dialog.show", {
194
194
  keyframes: [
@@ -8,6 +8,6 @@ export default class SdDivider extends SolidElement {
8
8
  }
9
9
  declare global {
10
10
  interface HTMLElementTagNameMap {
11
- 'sd-3-18-0-divider': SdDivider;
11
+ 'sd-3-19-1-divider': SdDivider;
12
12
  }
13
13
  }
@@ -34,7 +34,7 @@ let SdDivider = class extends SolidElement {
34
34
  SdDivider.styles = [
35
35
  componentStyles,
36
36
  SolidElement.styles,
37
- css`:host{margin:var(--sd-spacing-0,0)}:host(sd-3-18-0-divider[orientation=horizontal]){display:block}:host(sd-3-18-0-divider[orientation=vertical]){display:inline-block}`
37
+ css`:host{margin:var(--sd-spacing-0,0)}:host(sd-3-19-1-divider[orientation=horizontal]){display:block}:host(sd-3-19-1-divider[orientation=vertical]){display:inline-block}`
38
38
  ];
39
39
  __decorateClass([
40
40
  property({ reflect: true })
@@ -43,7 +43,7 @@ __decorateClass([
43
43
  property({ type: Boolean, reflect: true })
44
44
  ], SdDivider.prototype, "inverted", 2);
45
45
  SdDivider = __decorateClass([
46
- customElement("sd-3-18-0-divider")
46
+ customElement("sd-3-19-1-divider")
47
47
  ], SdDivider);
48
48
  export {
49
49
  SdDivider as default
@@ -30,6 +30,6 @@ export default class SdDrawer extends SolidElement {
30
30
  }
31
31
  declare global {
32
32
  interface HTMLElementTagNameMap {
33
- 'sd-3-18-0-drawer': SdDrawer;
33
+ 'sd-3-19-1-drawer': SdDrawer;
34
34
  }
35
35
  }
@@ -182,7 +182,7 @@ let SdDrawer = class extends SolidElement {
182
182
  end: "top-0 end-0 bottom-auto start-auto w-[--width] h-full",
183
183
  start: "top-0 end-auto bottom-auto start-0 w-[--width] h-full"
184
184
  }[this.placement]
185
- )}" 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-3-18-0-button variant="tertiary" size="lg" part="close-button" @click="${() => this.requestClose("close-button")}"><sd-3-18-0-icon label="${this.localize.term("close")}" name="close" library="system"></sd-3-18-0-icon></sd-3-18-0-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>`;
185
+ )}" 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-3-19-1-button variant="tertiary" size="lg" part="close-button" @click="${() => this.requestClose("close-button")}"><sd-3-19-1-icon label="${this.localize.term("close")}" name="close" library="system"></sd-3-19-1-icon></sd-3-19-1-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>`;
186
186
  }
187
187
  };
188
188
  SdDrawer.styles = [
@@ -221,7 +221,7 @@ __decorateClass([
221
221
  watch("contained", { waitUntilFirstUpdate: true })
222
222
  ], SdDrawer.prototype, "handleNoModalChange", 1);
223
223
  SdDrawer = __decorateClass([
224
- customElement("sd-3-18-0-drawer")
224
+ customElement("sd-3-19-1-drawer")
225
225
  ], SdDrawer);
226
226
  setDefaultAnimation("drawer.showStart", {
227
227
  keyframes: [
@@ -45,6 +45,6 @@ export default class SdDropdown extends SolidElement {
45
45
  }
46
46
  declare global {
47
47
  interface HTMLElementTagNameMap {
48
- 'sd-3-18-0-dropdown': SdDropdown;
48
+ 'sd-3-19-1-dropdown': SdDropdown;
49
49
  }
50
50
  }
@@ -169,7 +169,7 @@ let SdDropdown = class extends SolidElement {
169
169
  // that gets slotted in) so screen readers will understand them. The accessible trigger could be the slotted element,
170
170
  // a child of the slotted element, or an element in the slotted element's shadow root.
171
171
  //
172
- // For example, the accessible trigger of an <sd-3-18-0-button> is a <button> located inside its shadow root.
172
+ // For example, the accessible trigger of an <sd-3-19-1-button> is a <button> located inside its shadow root.
173
173
  //
174
174
  // To determine this, we assume the first tabbable element in the trigger slot is the "accessible trigger."
175
175
  //
@@ -179,8 +179,8 @@ let SdDropdown = class extends SolidElement {
179
179
  let target;
180
180
  if (accessibleTrigger) {
181
181
  switch (accessibleTrigger.tagName.toLowerCase()) {
182
- case "sd-3-18-0-button":
183
- case "sd-3-18-0-icon-button":
182
+ case "sd-3-19-1-button":
183
+ case "sd-3-19-1-icon-button":
184
184
  target = accessibleTrigger.button;
185
185
  break;
186
186
  default:
@@ -215,7 +215,7 @@ let SdDropdown = class extends SolidElement {
215
215
  }
216
216
  addOpenListeners() {
217
217
  this.panel.addEventListener("sd-activate", this.handleMenuItemActivate);
218
- this.panel.addEventListener("sd-3-18-0-select", this.handlePanelSelect);
218
+ this.panel.addEventListener("sd-3-19-1-select", this.handlePanelSelect);
219
219
  this.panel.addEventListener("keydown", this.handleKeyDown);
220
220
  document.addEventListener("keydown", this.handleDocumentKeyDown);
221
221
  document.addEventListener("mousedown", this.handleDocumentMouseDown);
@@ -223,7 +223,7 @@ let SdDropdown = class extends SolidElement {
223
223
  removeOpenListeners() {
224
224
  if (this.panel) {
225
225
  this.panel.removeEventListener("sd-activate", this.handleMenuItemActivate);
226
- this.panel.removeEventListener("sd-3-18-0-select", this.handlePanelSelect);
226
+ this.panel.removeEventListener("sd-3-19-1-select", this.handlePanelSelect);
227
227
  this.panel.removeEventListener("keydown", this.handleKeyDown);
228
228
  }
229
229
  document.removeEventListener("keydown", this.handleDocumentKeyDown);
@@ -256,11 +256,11 @@ let SdDropdown = class extends SolidElement {
256
256
  }
257
257
  }
258
258
  render() {
259
- return html`<sd-3-18-0-popup part="base" id="dropdown" placement="${this.placement}" distance="${this.rounded && this.distance < 1 ? 1 : this.distance}" skidding="${this.skidding}" strategy="${this.hoist ? "fixed" : "absolute"}" ?flip="${!this.noFlip}" shift auto-size="vertical" auto-size-padding="10" ?active="${this.open}"><slot name="trigger" slot="anchor" part="trigger" class="block" @click="${this.handleTriggerClick}" @keydown="${this.handleTriggerKeyDown}" @keyup="${this.handleTriggerKeyUp}" @slotchange="${this.handleTriggerSlotChange}"></slot><slot part="panel" class="${cx(
259
+ return html`<sd-3-19-1-popup part="base" id="dropdown" placement="${this.placement}" distance="${this.rounded && this.distance < 1 ? 1 : this.distance}" skidding="${this.skidding}" strategy="${this.hoist ? "fixed" : "absolute"}" ?flip="${!this.noFlip}" shift auto-size="vertical" auto-size-padding="10" ?active="${this.open}"><slot name="trigger" slot="anchor" part="trigger" class="block" @click="${this.handleTriggerClick}" @keydown="${this.handleTriggerKeyDown}" @keyup="${this.handleTriggerKeyUp}" @slotchange="${this.handleTriggerSlotChange}"></slot><slot part="panel" class="${cx(
260
260
  "shadow bg-white",
261
261
  this.open ? "block pointer-events-auto" : "pointer-events-none",
262
262
  this.rounded && "rounded-md"
263
- )}" aria-hidden="${this.open ? "false" : "true"}" aria-labelledby="dropdown"></slot></sd-3-18-0-popup>`;
263
+ )}" aria-hidden="${this.open ? "false" : "true"}" aria-labelledby="dropdown"></slot></sd-3-19-1-popup>`;
264
264
  }
265
265
  };
266
266
  SdDropdown.styles = [
@@ -314,7 +314,7 @@ __decorateClass([
314
314
  watch("open", { waitUntilFirstUpdate: true })
315
315
  ], SdDropdown.prototype, "handleOpenChange", 1);
316
316
  SdDropdown = __decorateClass([
317
- customElement("sd-3-18-0-dropdown")
317
+ customElement("sd-3-19-1-dropdown")
318
318
  ], SdDropdown);
319
319
  setDefaultAnimation("dropdown.show", {
320
320
  keyframes: [
@@ -18,6 +18,6 @@ export default class SdExpandable extends SolidElement {
18
18
  }
19
19
  declare global {
20
20
  interface HTMLElementTagNameMap {
21
- 'sd-3-18-0-expandable': SdExpandable;
21
+ 'sd-3-19-1-expandable': SdExpandable;
22
22
  }
23
23
  }
@@ -70,7 +70,7 @@ let SdExpandable = class extends SolidElement {
70
70
  "sd-interactive sd-interactive--reset !h-full !justify-center !w-full !text-base !flex !items-center !underline !underline-offset-2 !toggle",
71
71
  this.inverted && "sd-interactive--inverted",
72
72
  !this.inverted ? "!focus-visible:focus-outline" : "!focus-visible:focus-outline-inverted"
73
- )}" @click="${this.onToggleClick}">${this.open ? html`<slot name="toggle-open"><sd-3-18-0-icon class="mr-2 text-xl" library="system" name="chevron-up"></sd-3-18-0-icon>${this.localize.term("showLess")}</slot>` : html`<slot name="toggle-closed"><sd-3-18-0-icon class="mr-2 text-xl" library="system" name="chevron-down"></sd-3-18-0-icon>${this.localize.term("showMore")}</slot>`}</button>`;
73
+ )}" @click="${this.onToggleClick}">${this.open ? html`<slot name="toggle-open"><sd-3-19-1-icon class="mr-2 text-xl" library="system" name="chevron-up"></sd-3-19-1-icon>${this.localize.term("showLess")}</slot>` : html`<slot name="toggle-closed"><sd-3-19-1-icon class="mr-2 text-xl" library="system" name="chevron-down"></sd-3-19-1-icon>${this.localize.term("showMore")}</slot>`}</button>`;
74
74
  }
75
75
  firstUpdated() {
76
76
  this.cloneContentToLightDOM();
@@ -109,7 +109,7 @@ __decorateClass([
109
109
  watch("open", { waitUntilFirstUpdate: true })
110
110
  ], SdExpandable.prototype, "onOpenChange", 1);
111
111
  SdExpandable = __decorateClass([
112
- customElement("sd-3-18-0-expandable")
112
+ customElement("sd-3-19-1-expandable")
113
113
  ], SdExpandable);
114
114
  export {
115
115
  SdExpandable as default
@@ -18,6 +18,6 @@ export default class SdFlipcard extends SolidElement {
18
18
  }
19
19
  declare global {
20
20
  interface HTMLElementTagNameMap {
21
- 'sd-3-18-0-flipcard': SdFlipcard;
21
+ 'sd-3-19-1-flipcard': SdFlipcard;
22
22
  }
23
23
  }
@@ -173,7 +173,7 @@ __decorateClass([
173
173
  property({ type: String, reflect: true, attribute: "back-variant" })
174
174
  ], SdFlipcard.prototype, "backVariant", 2);
175
175
  SdFlipcard = __decorateClass([
176
- customElement("sd-3-18-0-flipcard")
176
+ customElement("sd-3-19-1-flipcard")
177
177
  ], SdFlipcard);
178
178
  export {
179
179
  SdFlipcard as default
@@ -18,6 +18,6 @@ export default class SdHeader extends SolidElement {
18
18
  }
19
19
  declare global {
20
20
  interface HTMLElementTagNameMap {
21
- 'sd-3-18-0-header': SdHeader;
21
+ 'sd-3-19-1-header': SdHeader;
22
22
  }
23
23
  }
@@ -63,11 +63,11 @@ let SdHeader = class extends SolidElement {
63
63
  setCalculatedHeightProperty() {
64
64
  if (this.fixed && this.refHeaderElement) {
65
65
  document.documentElement.style.setProperty(
66
- "--sd-3-18-0-header-calculated-height",
66
+ "--sd-3-19-1-header-calculated-height",
67
67
  `${this.refHeaderElement.clientHeight}px`
68
68
  );
69
69
  } else {
70
- document.documentElement.style.removeProperty("--sd-3-18-0-header-calculated-height");
70
+ document.documentElement.style.removeProperty("--sd-3-19-1-header-calculated-height");
71
71
  }
72
72
  }
73
73
  render() {
@@ -84,7 +84,7 @@ let SdHeader = class extends SolidElement {
84
84
  SdHeader.styles = [
85
85
  SolidElement.styles,
86
86
  componentStyles,
87
- css`:host{display:block}:host([fixed]){position:fixed;left:var(--sd-spacing-0,0);top:var(--sd-spacing-0,0);width:100%}:host([fixed]) header::after{content:'';position:absolute;left:var(--sd-spacing-0,0);right:var(--sd-spacing-0,0);top:100%;height:var(--sd-spacing-2,.5rem);background:var(--gradient-vertical-black-40-transparent,linear-gradient(0deg,#18181800 50%,#18181866 100%))}[part=main]{width:var(--sd-3-18-0-header-inner-width);max-width:var(--sd-3-18-0-header-inner-max-width);padding:var(--sd-3-18-0-header-padding,12px 16px)}`
87
+ css`:host{display:block}:host([fixed]){position:fixed;left:var(--sd-spacing-0,0);top:var(--sd-spacing-0,0);width:100%}:host([fixed]) header::after{content:'';position:absolute;left:var(--sd-spacing-0,0);right:var(--sd-spacing-0,0);top:100%;height:var(--sd-spacing-2,.5rem);background:var(--gradient-vertical-black-40-transparent,linear-gradient(0deg,#18181800 50%,#18181866 100%))}[part=main]{width:var(--sd-3-19-1-header-inner-width);max-width:var(--sd-3-19-1-header-inner-max-width);padding:var(--sd-3-19-1-header-padding,12px 16px)}`
88
88
  ];
89
89
  __decorateClass([
90
90
  property({ reflect: true, type: Boolean })
@@ -93,7 +93,7 @@ __decorateClass([
93
93
  debounce(100)
94
94
  ], SdHeader.prototype, "onResize", 1);
95
95
  SdHeader = __decorateClass([
96
- customElement("sd-3-18-0-header")
96
+ customElement("sd-3-19-1-header")
97
97
  ], SdHeader);
98
98
  export {
99
99
  SdHeader as default
@@ -17,6 +17,6 @@ export default class SdIcon extends SolidElement {
17
17
  }
18
18
  declare global {
19
19
  interface HTMLElementTagNameMap {
20
- 'sd-3-18-0-icon': SdIcon;
20
+ 'sd-3-19-1-icon': SdIcon;
21
21
  }
22
22
  }
@@ -122,7 +122,7 @@ __decorateClass([
122
122
  watch(["name", "src", "library"])
123
123
  ], SdIcon.prototype, "setIcon", 1);
124
124
  SdIcon = __decorateClass([
125
- customElement("sd-3-18-0-icon")
125
+ customElement("sd-3-19-1-icon")
126
126
  ], SdIcon);
127
127
  export {
128
128
  SdIcon as default
@@ -18,6 +18,9 @@ export declare const icons: {
18
18
  warning: string;
19
19
  'exclamation-circle': string;
20
20
  'magnifying-glass': string;
21
+ transcript: string;
22
+ mute: string;
23
+ volume: string;
21
24
  };
22
25
  declare const systemLibrary: IconLibrary;
23
26
  export default systemLibrary;
@@ -78,7 +78,12 @@ const icons = {
78
78
  "exclamation-circle": `
79
79
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13 17C13 17.552 12.552 18 12 18C11.448 18 11 17.552 11 17C11 16.448 11.448 16 12 16C12.552 16 13 16.448 13 17Z"/><path d="M12 6C11.448 6 11 6.448 11 7V13C11 13.552 11.448 14 12 14C12.552 14 13 13.552 13 13V7C13 6.448 12.552 6 12 6Z"/><path d="M12 2C6.477 2 2 6.477 2 12C2 17.523 6.477 22 12 22C17.523 22 22 17.523 22 12C22 6.477 17.523 2 12 2ZM12 20C7.582 20 4 16.418 4 12C4 7.582 7.582 4 12 4C16.418 4 20 7.582 20 12C20 16.418 16.418 20 12 20Z"/></svg>`,
80
80
  "magnifying-glass": `
81
- <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M21.707 20.293l-6.967-6.96c-0.046-0.046-0.096-0.087-0.15-0.124l-0.004-0.002c0.882-1.162 1.413-2.632 1.413-4.227 0-3.881-3.146-7.027-7.027-7.027s-7.027 3.146-7.027 7.027c0 3.881 3.146 7.027 7.027 7.027 1.594 0 3.065-0.531 4.244-1.426l-0.017 0.013c0.039 0.057 0.081 0.107 0.127 0.153l6.967 6.967c0.181 0.181 0.431 0.292 0.707 0.292s0.526-0.112 0.707-0.292v0c0.183-0.181 0.296-0.432 0.296-0.71s-0.113-0.529-0.296-0.71l-0-0zM9 14c-2.761 0-5-2.239-5-5s2.239-5 5-5c2.761 0 5 2.239 5 5v0c0 2.761-2.239 5-5 5v0z"></path></svg>`
81
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M21.707 20.293l-6.967-6.96c-0.046-0.046-0.096-0.087-0.15-0.124l-0.004-0.002c0.882-1.162 1.413-2.632 1.413-4.227 0-3.881-3.146-7.027-7.027-7.027s-7.027 3.146-7.027 7.027c0 3.881 3.146 7.027 7.027 7.027 1.594 0 3.065-0.531 4.244-1.426l-0.017 0.013c0.039 0.057 0.081 0.107 0.127 0.153l6.967 6.967c0.181 0.181 0.431 0.292 0.707 0.292s0.526-0.112 0.707-0.292v0c0.183-0.181 0.296-0.432 0.296-0.71s-0.113-0.529-0.296-0.71l-0-0zM9 14c-2.761 0-5-2.239-5-5s2.239-5 5-5c2.761 0 5 2.239 5 5v0c0 2.761-2.239 5-5 5v0z"></path></svg>`,
82
+ transcript: `<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"> <path d="M19 22H5a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h9a1 1 0 0 1 .707.293l5 5c.186.187.293.444.293.707v13a1 1 0 0 1-1 1ZM6 20h12V8.413L13.587 4H6v16Z"/> <path d="M19 10h-6a1 1 0 0 1-1-1V3a1 1 0 1 1 2 0v5h5a1 1 0 1 1 0 2Zm-3 4H8a1 1 0 1 1 0-2h8a1 1 0 1 1 0 2Zm-2 4H8a1 1 0 1 1 0-2h6a1 1 0 1 1 0 2Z"/></svg>`,
83
+ mute: `<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
84
+ <path d="M10.717 4.077a.997.997 0 0 0-1.09.217L5.92 8.001H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.92l3.707 3.707a.997.997 0 0 0 .707.293h.007a.953.953 0 0 0 .382-.079l-.006.002c.365-.154.617-.509.617-.923v-14a1 1 0 0 0-.61-.921l-.007-.002v-.001ZM4 10h1.333v4H4v-4Zm5.333 6.587-2-2V9.414l2-2v9.173Zm12.374-8.96a1 1 0 0 0-1.414 0l-2.96 2.96-2.96-2.96a1 1 0 0 0-1.413 1.414l-.001-.001 2.96 2.96-2.96 2.96a1 1 0 0 0 1.414 1.414l2.96-2.96 2.96 2.96a1 1 0 0 0 1.414-1.414L18.747 12l2.96-2.96a1 1 0 0 0 0-1.414v.001Z"/></svg>`,
85
+ volume: `<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
86
+ <path d="M10.717 4.077a.997.997 0 0 0-1.09.217L5.92 8.001H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.92l3.707 3.707a.997.997 0 0 0 .707.293h.007a.953.953 0 0 0 .382-.079l-.006.002c.365-.154.617-.509.617-.923v-14a1 1 0 0 0-.61-.921l-.007-.002v-.001ZM4 10h1.333v4H4v-4Zm5.333 6.587-2-2V9.414l2-2v9.173Zm9.217-13.48a1 1 0 0 0-.44 1.339l-.003-.006c1.177 2.191 1.876 4.792 1.893 7.555V12a16.365 16.365 0 0 1-1.936 7.638l.043-.088a1.002 1.002 0 0 0 .438 1.331l.006.003c.13.071.285.114.449.117h.001a.999.999 0 0 0 .89-.544l.003-.006c1.312-2.45 2.09-5.357 2.107-8.445v-.005c-.017-3.093-.794-6-2.155-8.549l.048.099a1.001 1.001 0 0 0-1.349-.44l.006-.003-.001-.001Z"/><path d="M14.447 5.167a1 1 0 0 0-.278 1.39l-.002-.004C15.35 8.333 16 10.266 16 12s-.667 3.667-1.833 5.447a1 1 0 0 0 1.664 1.11l.002-.004C17.23 16.45 18 14.12 18 12s-.77-4.45-2.167-6.553a1 1 0 0 0-1.39-.278l.004-.002Z"/></svg>`
82
87
  };
83
88
  const systemLibrary = {
84
89
  name: "system",
@@ -10,6 +10,6 @@ export default class SdInclude extends SolidElement {
10
10
  }
11
11
  declare global {
12
12
  interface HTMLElementTagNameMap {
13
- 'sd-3-18-0-include': SdInclude;
13
+ 'sd-3-19-1-include': SdInclude;
14
14
  }
15
15
  }
@@ -68,7 +68,7 @@ __decorateClass([
68
68
  watch("src")
69
69
  ], SdInclude.prototype, "handleSrcChange", 1);
70
70
  SdInclude = __decorateClass([
71
- customElement("sd-3-18-0-include")
71
+ customElement("sd-3-19-1-include")
72
72
  ], SdInclude);
73
73
  export {
74
74
  SdInclude as default
@@ -76,6 +76,6 @@ export default class SdInput extends SolidElement implements SolidFormControl {
76
76
  }
77
77
  declare global {
78
78
  interface HTMLElementTagNameMap {
79
- 'sd-3-18-0-input': SdInput;
79
+ 'sd-3-19-1-input': SdInput;
80
80
  }
81
81
  }
@@ -245,7 +245,7 @@ let SdInput = class extends SolidElement {
245
245
  "min-w-0 flex-grow focus:outline-none bg-transparent placeholder-neutral-700",
246
246
  this.size === "sm" ? "h-6" : "h-8",
247
247
  textSize
248
- )}" 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" @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-3-18-0-icon class="${cx("icon-fill-neutral-800", iconSize)}" library="system" name="closing-round"></sd-3-18-0-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-3-18-0-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="system" name="eye"></sd-3-18-0-icon></slot>` : html`<slot name="hide-password-icon"><sd-3-18-0-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="system" name="eye-crossed-out"></sd-3-18-0-icon></slot>`}</button>` : ""} ${(this.type === "date" || this.type === "datetime-local") && !isFirefox ? html`<sd-3-18-0-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="system" name="calendar"></sd-3-18-0-icon>` : ""} ${this.type === "time" ? html`<sd-3-18-0-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="system" name="clock"></sd-3-18-0-icon>` : ""} ${this.type === "search" ? html`<button class="flex items-center" type="button" tabindex="-1"><sd-3-18-0-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="system" name="magnifying-glass"></sd-3-18-0-icon></button>` : ""} ${this.showInvalidStyle ? html`<sd-3-18-0-icon part="invalid-icon" class="${cx("text-error", iconMarginLeft, iconSize)}" library="system" name="risk"></sd-3-18-0-icon>` : ""} ${this.showValidStyle && this.styleOnValid ? html`<sd-3-18-0-icon class="${cx("text-success flex-shrink-0", iconMarginLeft, iconSize)}" library="system" name="status-check" part="valid-icon"></sd-3-18-0-icon>` : ""} ${slots["right"] ? html`<slot name="right" part="right" class="${cx("inline-flex", iconColor, iconMarginLeft, iconSize)}"></slot>` : ""}</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()}`;
248
+ )}" 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" @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-3-19-1-icon class="${cx("icon-fill-neutral-800", iconSize)}" library="system" name="closing-round"></sd-3-19-1-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-3-19-1-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="system" name="eye"></sd-3-19-1-icon></slot>` : html`<slot name="hide-password-icon"><sd-3-19-1-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="system" name="eye-crossed-out"></sd-3-19-1-icon></slot>`}</button>` : ""} ${(this.type === "date" || this.type === "datetime-local") && !isFirefox ? html`<sd-3-19-1-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="system" name="calendar"></sd-3-19-1-icon>` : ""} ${this.type === "time" ? html`<sd-3-19-1-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="system" name="clock"></sd-3-19-1-icon>` : ""} ${this.type === "search" ? html`<button class="flex items-center" type="button" tabindex="-1"><sd-3-19-1-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="system" name="magnifying-glass"></sd-3-19-1-icon></button>` : ""} ${this.showInvalidStyle ? html`<sd-3-19-1-icon part="invalid-icon" class="${cx("text-error", iconMarginLeft, iconSize)}" library="system" name="risk"></sd-3-19-1-icon>` : ""} ${this.showValidStyle && this.styleOnValid ? html`<sd-3-19-1-icon class="${cx("text-success flex-shrink-0", iconMarginLeft, iconSize)}" library="system" name="status-check" part="valid-icon"></sd-3-19-1-icon>` : ""} ${slots["right"] ? html`<slot name="right" part="right" class="${cx("inline-flex", iconColor, iconMarginLeft, iconSize)}"></slot>` : ""}</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()}`;
249
249
  }
250
250
  };
251
251
  SdInput.styles = [
@@ -378,7 +378,7 @@ __decorateClass([
378
378
  watch("value", { waitUntilFirstUpdate: true })
379
379
  ], SdInput.prototype, "handleValueChange", 1);
380
380
  SdInput = __decorateClass([
381
- customElement("sd-3-18-0-input")
381
+ customElement("sd-3-19-1-input")
382
382
  ], SdInput);
383
383
  export {
384
384
  SdInput as default
@@ -17,6 +17,6 @@ export default class SdLink extends SolidElement {
17
17
  }
18
18
  declare global {
19
19
  interface HTMLElementTagNameMap {
20
- 'sd-3-18-0-link': SdLink;
20
+ 'sd-3-19-1-link': SdLink;
21
21
  }
22
22
  }
@@ -76,7 +76,7 @@ let SdLink = class extends SolidElement {
76
76
  };
77
77
  SdLink.styles = [
78
78
  SolidElement.styles,
79
- css`::slotted(sd-3-18-0-icon){font-size:1.25em;margin-bottom:-.25em}:host([size=sm][standalone]) ::slotted(sd-3-18-0-icon){font-size:var(--sd-font-size-base,1rem)}:host([size=lg][standalone]) ::slotted(sd-3-18-0-icon){font-size:var(--sd-font-size-xl,1.5rem)}`
79
+ css`::slotted(sd-3-19-1-icon){font-size:1.25em;margin-bottom:-.25em}:host([size=sm][standalone]) ::slotted(sd-3-19-1-icon){font-size:var(--sd-font-size-base,1rem)}:host([size=lg][standalone]) ::slotted(sd-3-19-1-icon){font-size:var(--sd-font-size-xl,1.5rem)}`
80
80
  ];
81
81
  __decorateClass([
82
82
  query("a")
@@ -100,7 +100,7 @@ __decorateClass([
100
100
  property()
101
101
  ], SdLink.prototype, "download", 2);
102
102
  SdLink = __decorateClass([
103
- customElement("sd-3-18-0-link")
103
+ customElement("sd-3-19-1-link")
104
104
  ], SdLink);
105
105
  export {
106
106
  SdLink as default
@@ -11,6 +11,6 @@ export default class SdMapMarker extends SolidElement {
11
11
  }
12
12
  declare global {
13
13
  interface HTMLElementTagNameMap {
14
- 'sd-3-18-0-map-marker': SdMapMarker;
14
+ 'sd-3-19-1-map-marker': SdMapMarker;
15
15
  }
16
16
  }
@@ -63,7 +63,7 @@ __decorateClass([
63
63
  property({ type: Boolean, reflect: true })
64
64
  ], SdMapMarker.prototype, "animated", 2);
65
65
  SdMapMarker = __decorateClass([
66
- customElement("sd-3-18-0-map-marker")
66
+ customElement("sd-3-19-1-map-marker")
67
67
  ], SdMapMarker);
68
68
  export {
69
69
  SdMapMarker as default
@@ -28,6 +28,6 @@ export default class SdNavigationItem extends SolidElement {
28
28
  }
29
29
  declare global {
30
30
  interface HTMLElementTagNameMap {
31
- 'sd-3-18-0-navigation-item': SdNavigationItem;
31
+ 'sd-3-19-1-navigation-item': SdNavigationItem;
32
32
  }
33
33
  }
@@ -115,16 +115,16 @@ let SdNavigationItem = class extends SolidElement {
115
115
  isAccordion ? "grow" : "w-full",
116
116
  slots["description"] || this.separated ? "pb-1" : horizontalPaddingBottom,
117
117
  this.calculatePaddingX
118
- )}">${this.divider && this.vertical ? html`<sd-3-18-0-divider part="divider" class="${cx("w-full transition-all absolute -top-0.25 left-0", this.calculatePaddingX)}"></sd-3-18-0-divider>` : ""} <span part="content-container" class="inline-flex items-center flex-auto">${this.separated ? html`<a class="${cx(
118
+ )}">${this.divider && this.vertical ? html`<sd-3-19-1-divider part="divider" class="${cx("w-full transition-all absolute -top-0.25 left-0", this.calculatePaddingX)}"></sd-3-19-1-divider>` : ""} <span part="content-container" class="inline-flex items-center flex-auto">${this.separated ? html`<a class="${cx(
119
119
  "mr-4 w-full inline-flex items-center pl-4 cursor-pointer relative focus-visible:focus-outline hover:bg-neutral-200 group transition-all min-h-[48px]",
120
120
  !slots["description"] && "py-4"
121
- )}" href="${ifDefined(isLink ? this.href : void 0)}" target="${ifDefined(isLink ? this.target : void 0)}" download="${ifDefined(isLink ? this.download : void 0)}"><slot part="content" class="inline"></slot></a>` : html`<slot part="content" class="inline"></slot>`} </span>${(this.chevron || slots["children"]) && this.vertical ? this.separated ? html`<button type="button" title="chevron-down-button" class="sd-interactive sd-interactive--reset" @click="${this.handleClickSummary}"><sd-3-18-0-icon name="chevron-down" part="chevron" library="system" color="currentColor" class="${cx(
121
+ )}" href="${ifDefined(isLink ? this.href : void 0)}" target="${ifDefined(isLink ? this.target : void 0)}" download="${ifDefined(isLink ? this.download : void 0)}"><slot part="content" class="inline"></slot></a>` : html`<slot part="content" class="inline"></slot>`} </span>${(this.chevron || slots["children"]) && this.vertical ? this.separated ? html`<button type="button" title="chevron-down-button" class="sd-interactive sd-interactive--reset" @click="${this.handleClickSummary}"><sd-3-19-1-icon name="chevron-down" part="chevron" library="system" color="currentColor" class="${cx(
122
122
  "mr-4 h-6 w-6 transition-all",
123
123
  isAccordion || this.separated ? this.open ? "rotate-180" : "rotate-0" : "rotate-[270deg]"
124
- )}"></sd-3-18-0-icon></button>` : html`<sd-3-18-0-icon name="chevron-down" part="chevron" library="system" color="currentColor" class="${cx(
124
+ )}"></sd-3-19-1-icon></button>` : html`<sd-3-19-1-icon name="chevron-down" part="chevron" library="system" color="currentColor" class="${cx(
125
125
  "h-6 w-6 ml-2 transition-all",
126
126
  isAccordion ? this.open ? "rotate-180" : "rotate-0" : "rotate-[270deg]"
127
- )}"></sd-3-18-0-icon>` : ""} </span>${slots["description"] && this.vertical ? html`<slot name="description" part="description" class="${cx(
127
+ )}"></sd-3-19-1-icon>` : ""} </span>${slots["description"] && this.vertical ? html`<slot name="description" part="description" class="${cx(
128
128
  "inline-block text-sm text-left text-black",
129
129
  isAccordion || this.separated ? "grow" : "w-full",
130
130
  this.separated ? "px-4" : this.calculatePaddingX,
@@ -185,7 +185,7 @@ __decorateClass([
185
185
  property({ type: Boolean, reflect: true })
186
186
  ], SdNavigationItem.prototype, "separated", 2);
187
187
  SdNavigationItem = __decorateClass([
188
- customElement("sd-3-18-0-navigation-item")
188
+ customElement("sd-3-19-1-navigation-item")
189
189
  ], SdNavigationItem);
190
190
  export {
191
191
  SdNavigationItem as default
@@ -27,6 +27,6 @@ export default class SdNotification extends SolidElement {
27
27
  }
28
28
  declare global {
29
29
  interface HTMLElementTagNameMap {
30
- 'sd-3-18-0-notification': SdNotification;
30
+ 'sd-3-19-1-notification': SdNotification;
31
31
  }
32
32
  }
@@ -128,7 +128,7 @@ let SdNotification = class extends SolidElement {
128
128
  () => {
129
129
  toastStack.removeChild(this);
130
130
  resolve();
131
- if (toastStack.querySelector("sd-3-18-0-notification") === null) {
131
+ if (toastStack.querySelector("sd-3-19-1-notification") === null) {
132
132
  toastStack.remove();
133
133
  }
134
134
  },
@@ -145,15 +145,15 @@ let SdNotification = class extends SolidElement {
145
145
  warning: "bg-warning",
146
146
  error: "bg-error"
147
147
  }[this.variant]
148
- )}"><sd-3-18-0-icon name="${{
148
+ )}"><sd-3-19-1-icon name="${{
149
149
  info: "info-circle",
150
150
  success: "confirm-circle",
151
151
  warning: "exclamation-circle",
152
152
  error: "warning"
153
- }[this.variant] || ""}" library="system" class="h-6 w-6 text-white"></sd-3-18-0-icon></slot><div part="content" class="${cx(
153
+ }[this.variant] || ""}" library="system" class="h-6 w-6 text-white"></sd-3-19-1-icon></slot><div part="content" class="${cx(
154
154
  "h-full w-full p-1 gap-2 flex items-center justify-stretch bg-white",
155
155
  "border-solid border-[1px] border-l-0 border-neutral-400"
156
- )}"><slot part="message" class="block w-full pl-3 py-2" aria-live="polite"></slot>${this.closable ? html`<sd-3-18-0-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" @click="${this.handleCloseClick}"><sd-3-18-0-icon label="${this.localize.term("close")}" name="close" library="system" color="currentColor"></sd-3-18-0-icon></sd-3-18-0-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>`;
156
+ )}"><slot part="message" class="block w-full pl-3 py-2" aria-live="polite"></slot>${this.closable ? html`<sd-3-19-1-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" @click="${this.handleCloseClick}"><sd-3-19-1-icon label="${this.localize.term("close")}" name="close" library="system" color="currentColor"></sd-3-19-1-icon></sd-3-19-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
157
  }
158
158
  };
159
159
  SdNotification.styles = [
@@ -189,7 +189,7 @@ __decorateClass([
189
189
  watch("duration")
190
190
  ], SdNotification.prototype, "handleDurationChange", 1);
191
191
  SdNotification = __decorateClass([
192
- customElement("sd-3-18-0-notification")
192
+ customElement("sd-3-19-1-notification")
193
193
  ], SdNotification);
194
194
  setDefaultAnimation("notification.show", {
195
195
  keyframes: [
@@ -24,6 +24,6 @@ export default class SdOption extends SolidElement {
24
24
  }
25
25
  declare global {
26
26
  interface HTMLElementTagNameMap {
27
- 'sd-3-18-0-option': SdOption;
27
+ 'sd-3-19-1-option': SdOption;
28
28
  }
29
29
  }