@solid-design-system/components 1.21.0 → 1.21.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.
- package/dist/custom-elements.json +1 -1
- package/dist/versioned-components/es/accordion-group.js +1 -1
- package/dist/versioned-components/es/accordion.js +1 -1
- package/dist/versioned-components/es/badge.js +1 -1
- package/dist/versioned-components/es/brandshape.js +1 -1
- package/dist/versioned-components/es/button.js +1 -1
- package/dist/versioned-components/es/carousel-item.js +1 -1
- package/dist/versioned-components/es/carousel.js +3 -3
- package/dist/versioned-components/es/divider.js +1 -1
- package/dist/versioned-components/es/drawer.js +1 -1
- package/dist/versioned-components/es/dropdown.js +1 -1
- package/dist/versioned-components/es/form.js +1 -1
- package/dist/versioned-components/es/icon.js +1 -1
- package/dist/versioned-components/es/include.js +1 -1
- package/dist/versioned-components/es/link.js +1 -1
- package/dist/versioned-components/es/navigation-item.js +1 -1
- package/dist/versioned-components/es/popup.js +1 -1
- package/dist/versioned-components/es/radio-group.js +1 -1
- package/dist/versioned-components/es/radio.js +1 -1
- package/dist/versioned-components/es/spinner.js +1 -1
- package/dist/versioned-components/es/tag.js +1 -1
- package/dist/versioned-components/es/teaser.js +1 -1
- package/dist/versioned-components/es/video.js +1 -1
- package/dist/versioned-package/_components/button-group/button-group.d.ts +1 -1
- package/dist/versioned-package/_components/button-group/button-group.js +11 -11
- package/dist/versioned-package/components/accordion/accordion.d.ts +1 -1
- package/dist/versioned-package/components/accordion/accordion.js +2 -2
- package/dist/versioned-package/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist/versioned-package/components/accordion-group/accordion-group.js +3 -3
- package/dist/versioned-package/components/badge/badge.d.ts +1 -1
- package/dist/versioned-package/components/badge/badge.js +1 -1
- package/dist/versioned-package/components/brandshape/brandshape.d.ts +1 -1
- package/dist/versioned-package/components/brandshape/brandshape.js +1 -1
- package/dist/versioned-package/components/button/button.d.ts +1 -1
- package/dist/versioned-package/components/button/button.js +4 -4
- package/dist/versioned-package/components/carousel/carousel.d.ts +1 -1
- package/dist/versioned-package/components/carousel/carousel.js +6 -6
- package/dist/versioned-package/components/carousel-item/carousel-item.d.ts +1 -1
- package/dist/versioned-package/components/carousel-item/carousel-item.js +1 -1
- package/dist/versioned-package/components/divider/divider.d.ts +1 -1
- package/dist/versioned-package/components/divider/divider.js +2 -2
- package/dist/versioned-package/components/drawer/drawer.d.ts +1 -1
- package/dist/versioned-package/components/drawer/drawer.js +2 -2
- package/dist/versioned-package/components/dropdown/dropdown.d.ts +1 -1
- package/dist/versioned-package/components/dropdown/dropdown.js +6 -6
- package/dist/versioned-package/components/icon/icon.d.ts +1 -1
- package/dist/versioned-package/components/icon/icon.js +1 -1
- package/dist/versioned-package/components/include/include.d.ts +1 -1
- package/dist/versioned-package/components/include/include.js +1 -1
- package/dist/versioned-package/components/link/link.d.ts +1 -1
- package/dist/versioned-package/components/link/link.js +2 -2
- package/dist/versioned-package/components/navigation-item/navigation-item.d.ts +1 -1
- package/dist/versioned-package/components/navigation-item/navigation-item.js +3 -3
- package/dist/versioned-package/components/popup/popup.d.ts +1 -1
- package/dist/versioned-package/components/popup/popup.js +1 -1
- package/dist/versioned-package/components/radio/radio.d.ts +1 -1
- package/dist/versioned-package/components/radio/radio.js +2 -2
- package/dist/versioned-package/components/radio-group/radio-group.d.ts +2 -2
- package/dist/versioned-package/components/radio-group/radio-group.js +12 -12
- package/dist/versioned-package/components/spinner/spinner.d.ts +1 -1
- package/dist/versioned-package/components/spinner/spinner.js +1 -1
- package/dist/versioned-package/components/tag/tag.d.ts +1 -1
- package/dist/versioned-package/components/tag/tag.js +2 -2
- package/dist/versioned-package/components/teaser/teaser.js +1 -1
- package/dist/versioned-package/components/video/video.d.ts +1 -1
- package/dist/versioned-package/components/video/video.js +2 -2
- package/dist/versioned-package/internal/form.js +1 -1
- package/dist/versioned-styles/solid-styles.css +1 -1
- package/dist/vscode.html-custom-data.json +21 -21
- package/dist/web-types.json +1 -2871
- package/package.json +1 -1
|
@@ -77,7 +77,7 @@ let SdLink = class extends SolidElement {
|
|
|
77
77
|
};
|
|
78
78
|
SdLink.styles = [
|
|
79
79
|
SolidElement.styles,
|
|
80
|
-
css`::slotted(sd-1-21-
|
|
80
|
+
css`::slotted(sd-1-21-1-icon){font-size:1.25em;margin-bottom:-.25em}:host([size=sm][standalone]) ::slotted(sd-1-21-1-icon){font-size:1rem}:host([size=lg][standalone]) ::slotted(sd-1-21-1-icon){font-size:1.5rem}`
|
|
81
81
|
];
|
|
82
82
|
__decorateClass([
|
|
83
83
|
query("a")
|
|
@@ -101,7 +101,7 @@ __decorateClass([
|
|
|
101
101
|
property()
|
|
102
102
|
], SdLink.prototype, "download", 2);
|
|
103
103
|
SdLink = __decorateClass([
|
|
104
|
-
customElement("sd-1-21-
|
|
104
|
+
customElement("sd-1-21-1-link")
|
|
105
105
|
], SdLink);
|
|
106
106
|
export {
|
|
107
107
|
SdLink as default
|
|
@@ -105,10 +105,10 @@ let SdNavigationItem = class extends SolidElement {
|
|
|
105
105
|
isAccordion ? "grow" : "w-full",
|
|
106
106
|
slots["description"] ? "pb-1" : horizontalPaddingBottom,
|
|
107
107
|
this.calculatePaddingX()
|
|
108
|
-
)}">${this.divider && this.vertical ? html`<sd-1-21-
|
|
108
|
+
)}">${this.divider && this.vertical ? html`<sd-1-21-1-divider part="divider" class="${cx("w-full transition-all absolute -top-[1px] left-0", this.calculatePaddingX())}"></sd-1-21-1-divider>` : ""} <span class="inline-flex items-center flex-auto"><slot part="content" class="inline"></slot></span>${(this.chevron || slots["children"]) && this.vertical ? html`<sd-1-21-1-icon name="chevron-down" part="chevron" library="system" color="currentColor" class="${cx(
|
|
109
109
|
"h-6 w-6 ml-2 transition-all",
|
|
110
110
|
isAccordion ? this.open ? "rotate-180" : "rotate-0" : "rotate-[270deg]"
|
|
111
|
-
)}"></sd-1-21-
|
|
111
|
+
)}"></sd-1-21-1-icon>` : ""} </span>${slots["description"] && this.vertical ? html`<slot name="description" part="description" class="${cx(
|
|
112
112
|
"inline-block text-sm text-left text-black",
|
|
113
113
|
isAccordion ? "grow" : "w-full",
|
|
114
114
|
horizontalPaddingBottom,
|
|
@@ -159,7 +159,7 @@ __decorateClass([
|
|
|
159
159
|
property({ type: Boolean, reflect: true })
|
|
160
160
|
], SdNavigationItem.prototype, "open", 2);
|
|
161
161
|
SdNavigationItem = __decorateClass([
|
|
162
|
-
customElement("sd-1-21-
|
|
162
|
+
customElement("sd-1-21-1-navigation-item")
|
|
163
163
|
], SdNavigationItem);
|
|
164
164
|
export {
|
|
165
165
|
SdNavigationItem as default
|
|
@@ -312,7 +312,7 @@ __decorateClass([
|
|
|
312
312
|
property({ attribute: "auto-size-padding", type: Number })
|
|
313
313
|
], SdPopup.prototype, "autoSizePadding", 2);
|
|
314
314
|
SdPopup = __decorateClass([
|
|
315
|
-
customElement("sd-1-21-
|
|
315
|
+
customElement("sd-1-21-1-popup")
|
|
316
316
|
], SdPopup);
|
|
317
317
|
export {
|
|
318
318
|
SdPopup as default
|
|
@@ -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-21-
|
|
76
|
+
"sd-1-21-1-radio group inline-flex items-start items-center text-base leading-normal text-black cursor-pointer align-middle",
|
|
77
77
|
this.checked && "radio--checked",
|
|
78
78
|
this.disabled && "hover:cursor-not-allowed",
|
|
79
79
|
this.hasFocus && "radio--focused",
|
|
@@ -123,7 +123,7 @@ __decorateClass([
|
|
|
123
123
|
watch("disabled", { waitUntilFirstUpdate: true })
|
|
124
124
|
], SdRadio.prototype, "handleDisabledChange", 1);
|
|
125
125
|
SdRadio = __decorateClass([
|
|
126
|
-
customElement("sd-1-21-
|
|
126
|
+
customElement("sd-1-21-1-radio")
|
|
127
127
|
], SdRadio);
|
|
128
128
|
export {
|
|
129
129
|
SdRadio 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-21-
|
|
7
|
+
'sd-1-21-1-button-group': typeof SdButtonGroup;
|
|
8
8
|
};
|
|
9
9
|
protected readonly formControlController: FormControlController;
|
|
10
10
|
private readonly hasSlotController;
|
|
@@ -47,6 +47,6 @@ export default class SdRadioGroup extends SolidElement implements SolidFormContr
|
|
|
47
47
|
}
|
|
48
48
|
declare global {
|
|
49
49
|
interface HTMLElementTagNameMap {
|
|
50
|
-
'sd-1-21-
|
|
50
|
+
'sd-1-21-1-radio-group': SdRadioGroup;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
@@ -72,10 +72,10 @@ let SdRadioGroup = class extends SolidElement {
|
|
|
72
72
|
this.formControlController.updateValidity();
|
|
73
73
|
}
|
|
74
74
|
getAllRadios() {
|
|
75
|
-
return [...this.querySelectorAll("sd-1-21-
|
|
75
|
+
return [...this.querySelectorAll("sd-1-21-1-radio, sd-1-21-1-radio-button")];
|
|
76
76
|
}
|
|
77
77
|
handleRadioClick(event) {
|
|
78
|
-
const target = event.target.closest("sd-1-21-
|
|
78
|
+
const target = event.target.closest("sd-1-21-1-radio, sd-1-21-1-radio-button");
|
|
79
79
|
const radios = this.getAllRadios();
|
|
80
80
|
const oldValue = this.value;
|
|
81
81
|
if (target.disabled) {
|
|
@@ -147,7 +147,7 @@ let SdRadioGroup = class extends SolidElement {
|
|
|
147
147
|
radio.invalid = this.invalid;
|
|
148
148
|
})
|
|
149
149
|
);
|
|
150
|
-
this.hasButtonGroup = radios.some((radio) => radio.tagName.toLowerCase() === "sd-1-21-
|
|
150
|
+
this.hasButtonGroup = radios.some((radio) => radio.tagName.toLowerCase() === "sd-1-21-1-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-21-
|
|
162
|
+
const buttonGroup = (_b = this.shadowRoot) == null ? void 0 : _b.querySelector("sd-1-21-1-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-21-
|
|
169
|
+
if (customElements.get("sd-1-21-1-radio") && customElements.get("sd-1-21-1-radio-button")) {
|
|
170
170
|
this.syncRadioElements();
|
|
171
171
|
return;
|
|
172
172
|
}
|
|
173
|
-
if (customElements.get("sd-1-21-
|
|
173
|
+
if (customElements.get("sd-1-21-1-radio")) {
|
|
174
174
|
this.syncRadioElements();
|
|
175
175
|
} else {
|
|
176
|
-
customElements.whenDefined("sd-1-21-
|
|
176
|
+
customElements.whenDefined("sd-1-21-1-radio").then(() => this.syncRadios());
|
|
177
177
|
}
|
|
178
|
-
if (customElements.get("sd-1-21-
|
|
178
|
+
if (customElements.get("sd-1-21-1-radio-button")) {
|
|
179
179
|
this.syncRadioElements();
|
|
180
180
|
} else {
|
|
181
|
-
customElements.whenDefined("sd-1-21-
|
|
181
|
+
customElements.whenDefined("sd-1-21-1-radio-button").then(() => this.syncRadios());
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
184
|
updateCheckedRadio() {
|
|
@@ -259,11 +259,11 @@ let SdRadioGroup = class extends SolidElement {
|
|
|
259
259
|
)}"><div class="sr-only"><div id="error-message" aria-live="assertive">${this.errorText}</div><label class="radio-group__validation"><input type="text" class="radio-group__validation-input" ?required="${this.required}" tabindex="-1" hidden @invalid="${this.handleInvalid}"></label></div>${defaultSlot}</div></fieldset>`;
|
|
260
260
|
}
|
|
261
261
|
};
|
|
262
|
-
SdRadioGroup.dependencies = { "sd-1-21-
|
|
262
|
+
SdRadioGroup.dependencies = { "sd-1-21-1-button-group": SdButtonGroup };
|
|
263
263
|
SdRadioGroup.styles = [
|
|
264
264
|
componentStyles,
|
|
265
265
|
SolidElement.styles,
|
|
266
|
-
css`:host{display:block}.form-control-input--vertical ::slotted(sd-1-21-
|
|
266
|
+
css`:host{display:block}.form-control-input--vertical ::slotted(sd-1-21-1-radio){margin-bottom:8px;display:flex}.form-control-input--vertical ::slotted(sd-1-21-1-radio:last-of-type){margin-bottom:0}.form-control-input--horizontal ::slotted(sd-1-21-1-radio){margin-right:24px}.form-control-input--horizontal ::slotted(sd-1-21-1-radio:last-of-type){margin-right:0}.form-control--has-label .form-control__label{display:flex}:host([required]) .form-control--has-label .form-control__label::after{content:'*';margin-left:2px}`
|
|
267
267
|
];
|
|
268
268
|
__decorateClass([
|
|
269
269
|
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-21-
|
|
317
|
+
customElement("sd-1-21-1-radio-group")
|
|
318
318
|
], SdRadioGroup);
|
|
319
319
|
export {
|
|
320
320
|
SdRadioGroup as default
|
|
@@ -72,7 +72,7 @@ let SdTag = class extends SolidElement {
|
|
|
72
72
|
lg: "text-base",
|
|
73
73
|
sm: "text-[12px]"
|
|
74
74
|
}[this.size]
|
|
75
|
-
)}"><sd-1-21-
|
|
75
|
+
)}"><sd-1-21-1-icon library="system" name="close" label="remove"></sd-1-21-1-icon></slot></${tag}>`;
|
|
76
76
|
}
|
|
77
77
|
};
|
|
78
78
|
SdTag.styles = [
|
|
@@ -104,7 +104,7 @@ __decorateClass([
|
|
|
104
104
|
property()
|
|
105
105
|
], SdTag.prototype, "download", 2);
|
|
106
106
|
SdTag = __decorateClass([
|
|
107
|
-
customElement("sd-1-21-
|
|
107
|
+
customElement("sd-1-21-1-tag")
|
|
108
108
|
], SdTag);
|
|
109
109
|
export {
|
|
110
110
|
SdTag as default
|
|
@@ -87,7 +87,7 @@ let SdVideo = class extends SolidElement {
|
|
|
87
87
|
this.playing ? "opacity-0" : "opacity-100",
|
|
88
88
|
this.isBelowBreakpoint ? "w-[48px] h-[48px]" : "w-[96px] h-[96px]",
|
|
89
89
|
"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 p-4 bg-white bg-opacity-75 rounded-full play-pause-transition"
|
|
90
|
-
)}"><slot name="play-icon" part="play-icon" class="${cx(this.isBelowBreakpoint ? "text-[2rem]" : "text-[4rem]")}"><sd-1-21-
|
|
90
|
+
)}"><slot name="play-icon" part="play-icon" class="${cx(this.isBelowBreakpoint ? "text-[2rem]" : "text-[4rem]")}"><sd-1-21-1-icon id="default-play-icon" library="system" name="start"></sd-1-21-1-icon></slot></div></button> ${this.hasSlotController.test("poster") ? html`<slot name="poster" role="presentation" @transitionend="${this.hidePoster}"></slot>` : null}<div part="overlay" id="overlay" role="presentation" class="${cx(
|
|
91
91
|
this.overlay && !this.playing ? "opacity-100" : "opacity-0",
|
|
92
92
|
"bg-[rgba(0,0,0,0.65)] w-full h-full absolute top-0 left-0 pointer-events-none z-20 play-pause-transition"
|
|
93
93
|
)}"></div><slot></slot></div>`;
|
|
@@ -110,7 +110,7 @@ __decorateClass([
|
|
|
110
110
|
property({ type: Boolean })
|
|
111
111
|
], SdVideo.prototype, "isBelowBreakpoint", 2);
|
|
112
112
|
SdVideo = __decorateClass([
|
|
113
|
-
customElement("sd-1-21-
|
|
113
|
+
customElement("sd-1-21-1-video")
|
|
114
114
|
], SdVideo);
|
|
115
115
|
export {
|
|
116
116
|
SdVideo as default
|
|
@@ -8,7 +8,7 @@ class FormControlController {
|
|
|
8
8
|
const disabled = this.options.disabled(this.host);
|
|
9
9
|
const name = this.options.name(this.host);
|
|
10
10
|
const value = this.options.value(this.host);
|
|
11
|
-
const isButton = this.host.tagName.toLowerCase() === "sd-1-21-
|
|
11
|
+
const isButton = this.host.tagName.toLowerCase() === "sd-1-21-1-button";
|
|
12
12
|
if (!disabled && !isButton && typeof name === "string" && name.length > 0 && typeof value !== "undefined") {
|
|
13
13
|
if (Array.isArray(value)) {
|
|
14
14
|
value.forEach((val) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.sd-1-21-
|
|
1
|
+
.sd-1-21-1-display{font-size:var(--sd-font-size-xl,1.5rem)}.sd-1-21-1-display,.sd-1-21-1-display--size-3xl{--tw-text-opacity:1;color:rgb(var(--sd-color-black,24 24 24)/var(--tw-text-opacity));font-weight:400;line-height:var(--sd-line-height-tight,120%)}.sd-1-21-1-display--size-3xl{font-size:var(--sd-font-size-2xl,1.75rem)}@media (min-width:1024px){.sd-1-21-1-display--size-3xl{font-size:var(--sd-font-size-3xl,2rem)}}.sd-1-21-1-display--size-4xl{--tw-text-opacity:1;color:rgb(var(--sd-color-black,24 24 24)/var(--tw-text-opacity));font-size:var(--sd-font-size-3xl,2rem);font-weight:400;line-height:var(--sd-line-height-tight,120%)}@media (min-width:1024px){.sd-1-21-1-display--size-4xl{font-size:var(--sd-font-size-4xl,2.5rem)}}.sd-1-21-1-display--inverted{--tw-text-opacity:1;color:rgb(var(--sd-color-white,255 255 255)/var(--tw-text-opacity))}.sd-1-21-1-meta{--tw-text-opacity:1;color:rgb(var(--sd-color-black,24 24 24)/var(--tw-text-opacity));font-size:var(--sd-font-size-base,1rem);font-weight:400;line-height:var(--sd-line-height-none,100%)}.sd-1-21-1-meta--size-sm{font-size:var(--sd-font-size-sm,.875rem)}.sd-1-21-1-meta--light{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-700,104 104 104)/var(--tw-text-opacity))}.sd-1-21-1-meta--inverted{--tw-text-opacity:1;color:rgb(var(--sd-color-white,255 255 255)/var(--tw-text-opacity))}.sd-1-21-1-meta--inverted.sd-1-21-1-meta--light{--tw-text-opacity:1;color:rgb(var(--sd-color-primary-400,153 171 208)/var(--tw-text-opacity))}.sd-1-21-1-meta--pipe:after{content:"|";margin-left:var(--sd-spacing-1,.25rem);margin-right:var(--sd-spacing-1,.25rem)}.sd-1-21-1-meta--pipe.sd-1-21-1-meta--size-sm:after{margin-left:var(--sd-spacing-0-5,.125rem);margin-right:var(--sd-spacing-0-5,.125rem)}.sd-1-21-1-leadtext{font-size:var(--sd-font-size-xl,1.5rem)}.sd-1-21-1-leadtext,.sd-1-21-1-leadtext--size-lg{--tw-text-opacity:1;color:rgb(var(--sd-color-black,24 24 24)/var(--tw-text-opacity));font-weight:400;line-height:var(--sd-line-height-normal,150%)}.sd-1-21-1-leadtext--size-lg{font-size:var(--sd-font-size-lg,1.25rem)}.sd-1-21-1-leadtext--inverted{--tw-text-opacity:1;color:rgb(var(--sd-color-white,255 255 255)/var(--tw-text-opacity))}.sd-1-21-1-paragraph{font-size:var(--sd-font-size-base,1rem)}.sd-1-21-1-paragraph,.sd-1-21-1-paragraph--size-sm{--tw-text-opacity:1;color:rgb(var(--sd-color-black,24 24 24)/var(--tw-text-opacity));font-weight:400;line-height:var(--sd-line-height-normal,150%)}.sd-1-21-1-paragraph--size-sm{font-size:var(--sd-font-size-sm,.875rem)}.sd-1-21-1-paragraph--inverted{--tw-text-opacity:1;color:rgb(var(--sd-color-white,255 255 255)/var(--tw-text-opacity))}mark.sd-1-21-1-mark{--tw-text-opacity:1;background-color:transparent;color:rgb(var(--sd-color-accent,45 157 0)/var(--tw-text-opacity))}.sd-1-21-1-interactive--reset{all:unset;outline:revert}.sd-1-21-1-interactive{--tw-text-opacity:1;color:rgb(var(--sd-color-primary,0 53 142)/var(--tw-text-opacity));cursor:pointer;text-decoration-line:none;transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.sd-1-21-1-interactive:hover:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-500,70 109 175)/var(--tw-text-opacity))}.sd-1-21-1-interactive:active:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-800,5 21 48)/var(--tw-text-opacity))}.sd-1-21-1-interactive:focus-visible{outline-color:rgb(var(--sd-color-primary,0 53 142)/1);outline-offset:2px;outline-style:solid;outline-width:2px}.sd-1-21-1-interactive--inverted{--tw-text-opacity:1;color:rgb(var(--sd-color-white,255 255 255)/var(--tw-text-opacity))}.sd-1-21-1-interactive--inverted:hover:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-200,224 233 243)/var(--tw-text-opacity))}.sd-1-21-1-interactive--inverted:active:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-400,153 171 208)/var(--tw-text-opacity))}.sd-1-21-1-interactive--inverted:focus-visible{outline-color:rgb(var(--sd-color-white,255 255 255)/1);outline-offset:2px;outline-style:solid;outline-width:2px}.sd-1-21-1-interactive--disabled,.sd-1-21-1-interactive[disabled]{cursor:not-allowed}.sd-1-21-1-interactive--disabled,.sd-1-21-1-interactive--disabled:active:not([disabled]),.sd-1-21-1-interactive--disabled:hover:not([disabled]),.sd-1-21-1-interactive[disabled],.sd-1-21-1-interactive[disabled]:active:not([disabled]),.sd-1-21-1-interactive[disabled]:hover:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-600,136 136 136)/var(--tw-text-opacity))}.sd-1-21-1-table-cell{--tw-border-opacity:1;--tw-text-opacity:1;background-color:transparent;border-color:rgb(var(--sd-color-neutral-400,195 195 195)/var(--tw-border-opacity));border-style:solid;border-width:1px 0;color:rgb(var(--sd-color-black,24 24 24)/var(--tw-text-opacity));font-size:var(--sd-font-size-sm,.875rem);padding:var(--sd-spacing-4,1rem);text-align:left}.sd-1-21-1-table-cell--divider{border-right-width:1px}.sd-1-21-1-table-cell--bg-white{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-white,255 255 255)/var(--tw-bg-opacity))}.sd-1-21-1-table-cell--bg-primary-100{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-100,236 240 249)/var(--tw-bg-opacity))}.sd-1-21-1-table-cell--bg-neutral-100{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-100,246 246 246)/var(--tw-bg-opacity))}.sd-1-21-1-table{--tw-border-spacing-x:var(--sd-spacing-0,0px);--tw-border-spacing-y:var(--sd-spacing-0,0px);all:unset;border-collapse:collapse;border-spacing:var(--tw-border-spacing-x) var(--tw-border-spacing-y);display:table}.sd-1-21-1-headline{--tw-text-opacity:1;color:rgb(var(--sd-color-primary,0 53 142)/var(--tw-text-opacity));display:flex;font-size:var(--sd-font-size-3xl,2rem);font-weight:700;gap:var(--sd-spacing-4,1rem)}@media (min-width:640px){.sd-1-21-1-headline{font-size:var(--sd-font-size-4xl,2.5rem)}}.sd-1-21-1-headline sd-icon{--tw-text-opacity:1;color:rgb(var(--sd-color-primary,0 53 142)/var(--tw-text-opacity));flex-shrink:0;font-size:3rem}@media (min-width:640px){.sd-1-21-1-headline sd-icon{margin-top:var(--sd-spacing-2,.5rem)}}.sd-1-21-1-headline--size-3xl{font-size:var(--sd-font-size-2xl,1.75rem)}@media (min-width:640px){.sd-1-21-1-headline--size-3xl{font-size:var(--sd-font-size-3xl,2rem)}}.sd-1-21-1-headline--size-3xl sd-icon{margin-top:calc(var(--sd-spacing-1, .25rem)*-1)}@media (min-width:640px){.sd-1-21-1-headline--size-3xl sd-icon{margin-top:var(--sd-spacing-0,0)}}.sd-1-21-1-headline--size-base,.sd-1-21-1-headline--size-lg,.sd-1-21-1-headline--size-xl{--tw-text-opacity:1;color:rgb(var(--sd-color-black,24 24 24)/var(--tw-text-opacity));gap:var(--sd-spacing-2,.5rem)}.sd-1-21-1-headline--size-base sd-icon,.sd-1-21-1-headline--size-lg sd-icon,.sd-1-21-1-headline--size-xl sd-icon{font-size:2rem}.sd-1-21-1-headline--size-xl{font-size:var(--sd-font-size-xl,1.5rem)}.sd-1-21-1-headline--size-xl sd-icon{margin-top:var(--sd-spacing-0-5,.125rem)}@media (min-width:640px){.sd-1-21-1-headline--size-xl sd-icon{margin-top:var(--sd-spacing-0-5,.125rem)}}.sd-1-21-1-headline--size-lg{font-size:var(--sd-font-size-lg,1.25rem)}.sd-1-21-1-headline--size-lg sd-icon{margin-top:var(--sd-spacing-0,0)}@media (min-width:640px){.sd-1-21-1-headline--size-lg sd-icon{margin-top:var(--sd-spacing-0,0)}}.sd-1-21-1-headline--size-base{--tw-text-opacity:1;color:rgb(var(--sd-color-black,24 24 24)/var(--tw-text-opacity));font-size:var(--sd-font-size-base,1rem)}.sd-1-21-1-headline--size-base sd-icon{margin-top:calc(var(--sd-spacing-1, .25rem)*-1)}.sd-1-21-1-headline--size-base mark{color:inherit}.sd-1-21-1-headline--inverted,.sd-1-21-1-headline--inverted sd-icon{--tw-text-opacity:1;color:rgb(var(--sd-color-white,255 255 255)/var(--tw-text-opacity))}.sd-1-21-1-headline--inline{display:inline}.sd-1-21-1-headline--inline sd-icon{margin-right:var(--sd-spacing-2,.5rem);margin-top:calc(var(--sd-spacing-1, .25rem)*-1);vertical-align:middle}.sd-1-21-1-headline--inline.sd-1-21-1-headline--size-base sd-icon,.sd-1-21-1-headline--inline.sd-1-21-1-headline--size-lg sd-icon,.sd-1-21-1-headline--inline.sd-1-21-1-headline--size-xl sd-icon{margin-right:var(--sd-spacing-0-5,.125rem)}
|
|
@@ -1173,7 +1173,7 @@
|
|
|
1173
1173
|
"references": []
|
|
1174
1174
|
},
|
|
1175
1175
|
{
|
|
1176
|
-
"name": "sd-1-21-
|
|
1176
|
+
"name": "sd-1-21-1-accordion-group",
|
|
1177
1177
|
"description": "Short summary of the component's intended use.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The default slot where `<sd-accordion>` elements are placed.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
1178
1178
|
"attributes": [
|
|
1179
1179
|
{
|
|
@@ -1185,7 +1185,7 @@
|
|
|
1185
1185
|
"references": []
|
|
1186
1186
|
},
|
|
1187
1187
|
{
|
|
1188
|
-
"name": "sd-1-21-
|
|
1188
|
+
"name": "sd-1-21-1-accordion",
|
|
1189
1189
|
"description": "Accordion shows a brief summary and expands to show additional content.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-show** - Emitted when the accordion opens.\n- **sd-after-show** - Emitted after the accordion opens and all animations are complete.\n- **sd-hide** - Emitted when the accordion closes.\n- **sd-after-hide** - Emitted after the accordion closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the accordion.\n- **hide()** - Hides the accordion\n\n### **Slots:**\n - _default_ - The accordion main content.\n- **summary** - The accordion summary. Alternatively, you can use the `summary` attribute.\n- **expand-icon** - Optional expand icon to use instead of the default. Works best with `<sd-icon>`.\n- **collapse-icon** - Optional collapse icon to use instead of the default. Works best with `<sd-icon>`.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **header** - The header that wraps both the summary and the expand/collapse icon.\n- **summary** - The container that wraps the summary.\n- **summary-icon** - The container that wraps the expand/collapse icons.\n- **content** - The container that wraps the accordion content slot.\n- **content__slot** - The accordion content slot.",
|
|
1190
1190
|
"attributes": [
|
|
1191
1191
|
{
|
|
@@ -1202,7 +1202,7 @@
|
|
|
1202
1202
|
"references": []
|
|
1203
1203
|
},
|
|
1204
1204
|
{
|
|
1205
|
-
"name": "sd-1-21-
|
|
1205
|
+
"name": "sd-1-21-1-badge",
|
|
1206
1206
|
"description": "Badges are used to draw attention and display statuses or counts.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The badge's content.\n\n### **CSS Parts:**\n - **base** - The badge's base wrapper.\n- **content** - The badge's main content.",
|
|
1207
1207
|
"attributes": [
|
|
1208
1208
|
{
|
|
@@ -1244,7 +1244,7 @@
|
|
|
1244
1244
|
"references": []
|
|
1245
1245
|
},
|
|
1246
1246
|
{
|
|
1247
|
-
"name": "sd-1-21-
|
|
1247
|
+
"name": "sd-1-21-1-brandshape",
|
|
1248
1248
|
"description": "The Brandshape highlights a piece of content.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The content inside the brandshape.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **content** - Middle content wrapper.\n- **shape-top** - Top shape.\n- **shape-middle** - Middle shape.\n- **shape-bottom** - Bottom shape.",
|
|
1249
1249
|
"attributes": [
|
|
1250
1250
|
{
|
|
@@ -1281,7 +1281,7 @@
|
|
|
1281
1281
|
"references": []
|
|
1282
1282
|
},
|
|
1283
1283
|
{
|
|
1284
|
-
"name": "sd-1-21-
|
|
1284
|
+
"name": "sd-1-21-1-button",
|
|
1285
1285
|
"description": "Buttons represent actions that are available to the user.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-blur** - Emitted when the button loses focus.\n- **sd-focus** - Emitted when the button gains focus.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **click()** - Simulates a click on the button.\n- **focus(options: _FocusOptions_)** - Sets focus on the button.\n- **blur()** - Removes focus from the button.\n- **checkValidity()** - Checks for validity but does not show the browser's validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - _default_ - The button's label.\n- **icon-left** - A prefix icon or similar element.\n- **icon-right** - A suffix icon or similar element.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon-left** - The container that wraps the left icon area.\n- **label** - The button's label.\n- **icon-right** - The container that wraps the right icon area.",
|
|
1286
1286
|
"attributes": [
|
|
1287
1287
|
{
|
|
@@ -1453,13 +1453,13 @@
|
|
|
1453
1453
|
"references": []
|
|
1454
1454
|
},
|
|
1455
1455
|
{
|
|
1456
|
-
"name": "sd-1-21-
|
|
1456
|
+
"name": "sd-1-21-1-carousel-item",
|
|
1457
1457
|
"description": "A carousel item represent a slide within a [carousel](/components/carousel).\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The carousel item's content.",
|
|
1458
1458
|
"attributes": [],
|
|
1459
1459
|
"references": []
|
|
1460
1460
|
},
|
|
1461
1461
|
{
|
|
1462
|
-
"name": "sd-1-21-
|
|
1462
|
+
"name": "sd-1-21-1-carousel",
|
|
1463
1463
|
"description": "Carousels display an arbitrary number of content slides along a horizontal axis.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-slide-change** - Emitted when the active slide changes.\n\n### **Methods:**\n - **previous(behavior: _ScrollBehavior_)** - Move the carousel backward by `slides-per-move` slides.\n- **next(behavior: _ScrollBehavior_)** - Move the carousel forward by `slides-per-move` slides.\n- **goToSlide(index: _number_, behavior: _ScrollBehavior_)** - Scrolls the carousel to the slide specified by `index`.\n\n### **Slots:**\n - _default_ - The carousel's main content, one or more `<sd-carousel-item>` elements.\n- **next-icon** - Optional next icon to use instead of the default. Works best with `<sd-icon>`.\n- **previous-icon** - Optional previous icon to use instead of the default. Works best with `<sd-icon>`.\n- **autoplay-start** - Optional start icon to use instead of the default. Works best with `<sd-icon>`.\n- **autoplay-pause** - Optional pause icon to use instead of the default. Works best with `<sd-icon>`.\n\n### **CSS Properties:**\n - **--slide-gap** - The space between each slide. _(default: undefined)_\n- **--scroll-hint** - The amount of padding to apply to the scroll area, allowing adjacent slides to become partially visible as a scroll hint. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The carousel's internal wrapper.\n- **scroll-container** - The scroll container that wraps the slides.\n- **controls** - A wrapper for the navigation and autoplay controller buttons.\n- **pagination-dot** - The pagination indicator in dot format.\n- **pagination-number** - The pagination indicator in number format.\n- **pagination-item** - The pagination indicator.\n- **pagination-item--active** - Applied when the item is active.\n- **navigation** - The navigation wrapper.\n- **navigation-button** - The navigation button.\n- **navigation-button--previous** - Applied to the previous button.\n- **navigation-button--next** - Applied to the next button.\n- **autoplay-controls** - A wrapper for pause/start button.",
|
|
1464
1464
|
"attributes": [
|
|
1465
1465
|
{
|
|
@@ -1503,7 +1503,7 @@
|
|
|
1503
1503
|
"references": []
|
|
1504
1504
|
},
|
|
1505
1505
|
{
|
|
1506
|
-
"name": "sd-1-21-
|
|
1506
|
+
"name": "sd-1-21-1-divider",
|
|
1507
1507
|
"description": "Dividers are used to visually separate or group elements.\n\n\n---\n\n\n",
|
|
1508
1508
|
"attributes": [
|
|
1509
1509
|
{
|
|
@@ -1527,7 +1527,7 @@
|
|
|
1527
1527
|
"references": []
|
|
1528
1528
|
},
|
|
1529
1529
|
{
|
|
1530
|
-
"name": "sd-1-21-
|
|
1530
|
+
"name": "sd-1-21-1-drawer",
|
|
1531
1531
|
"description": "Drawers slide in from a container to expose additional options and information.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-show** - Emitted when the drawer opens.\n- **sd-after-show** - Emitted after the drawer opens and all animations are complete.\n- **sd-hide** - Emitted when the drawer closes.\n- **sd-after-hide** - Emitted after the drawer closes and all animations are complete.\n- **sd-initial-focus** - Emitted when the drawer opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input.\n- **sd-request-close** - Emitted when the user attempts to close the drawer by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the drawer open. Avoid using this unless closing the drawer will result in destructive behavior such as data loss.\n\n### **Methods:**\n - **show()** - Shows the drawer.\n- **hide()** - Hides the drawer\n\n### **Slots:**\n - _default_ - The drawer's main content.\n- **header** - The drawer's header, usually a title.\n- **footer** - The drawer's footer, usually one or more buttons representing various options.\n\n### **CSS Properties:**\n - **--width** - The preferred width of the drawer. depending on its `placement`. Note that the drawer will shrink to accommodate smaller screens. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **overlay** - The overlay that covers the screen behind the drawer.\n- **panel** - The drawer's panel (where the drawer and its content are rendered).\n- **header** - The drawer's header. This element wraps the title and the close-button.\n- **title** - The drawer's title.\n- **close-button** - The close button, an `<sd-button>`.\n- **body** - The drawer's body.\n- **footer** - The drawer's footer.",
|
|
1532
1532
|
"attributes": [
|
|
1533
1533
|
{
|
|
@@ -1566,7 +1566,7 @@
|
|
|
1566
1566
|
"references": []
|
|
1567
1567
|
},
|
|
1568
1568
|
{
|
|
1569
|
-
"name": "sd-1-21-
|
|
1569
|
+
"name": "sd-1-21-1-dropdown",
|
|
1570
1570
|
"description": "Dropdowns expose additional content that \"drops down\" in a panel.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-show** - Emitted when the dropdown opens.\n- **sd-after-show** - Emitted after the dropdown opens and all animations are complete.\n- **sd-hide** - Emitted when the dropdown closes.\n- **sd-after-hide** - Emitted after the dropdown closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the dropdown panel.\n- **hide()** - Hides the dropdown panel\n- **reposition()** - Instructs the dropdown menu to reposition. Useful when the position or size of the trigger changes when the menu\nis activated.\n\n### **Slots:**\n - _default_ - The dropdown's main content.\n- **trigger** - The dropdown's trigger, usually a `<sd-button>` element.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **trigger** - The container that wraps the trigger.\n- **panel** - The panel that gets shown when the dropdown is open.",
|
|
1571
1571
|
"attributes": [
|
|
1572
1572
|
{
|
|
@@ -1663,7 +1663,7 @@
|
|
|
1663
1663
|
"references": []
|
|
1664
1664
|
},
|
|
1665
1665
|
{
|
|
1666
|
-
"name": "sd-1-21-
|
|
1666
|
+
"name": "sd-1-21-1-icon",
|
|
1667
1667
|
"description": "Icons are symbols that can be used to represent various options within an application.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-load** - Emitted when the icon has loaded.\n- **sd-error** - Emitted when the icon fails to load due to an error.",
|
|
1668
1668
|
"attributes": [
|
|
1669
1669
|
{
|
|
@@ -1705,7 +1705,7 @@
|
|
|
1705
1705
|
"references": []
|
|
1706
1706
|
},
|
|
1707
1707
|
{
|
|
1708
|
-
"name": "sd-1-21-
|
|
1708
|
+
"name": "sd-1-21-1-include",
|
|
1709
1709
|
"description": "Includes give you the power to embed external HTML files into the page.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-load** - Emitted when the included file is loaded.\n- **sd-error** - Emitted when the included file fails to load due to an error.",
|
|
1710
1710
|
"attributes": [
|
|
1711
1711
|
{
|
|
@@ -1737,7 +1737,7 @@
|
|
|
1737
1737
|
"references": []
|
|
1738
1738
|
},
|
|
1739
1739
|
{
|
|
1740
|
-
"name": "sd-1-21-
|
|
1740
|
+
"name": "sd-1-21-1-link",
|
|
1741
1741
|
"description": "A link component.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-blur** - Emitted when the link loses focus.\n- **sd-focus** - Emitted when the link gains focus.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the button.\n- **blur()** - Removes focus from the button.\n\n### **Slots:**\n - _default_ - The default slot.\n- **icon-left** - The icon to display on the left side of the link.\n- **icon-right** - The icon to display on the right side of the link.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon-left** - The container that wraps the left icon area.\n- **label** - The link's label.\n- **icon-right** - The container that wraps the right icon area.",
|
|
1742
1742
|
"attributes": [
|
|
1743
1743
|
{
|
|
@@ -1797,7 +1797,7 @@
|
|
|
1797
1797
|
"references": []
|
|
1798
1798
|
},
|
|
1799
1799
|
{
|
|
1800
|
-
"name": "sd-1-21-
|
|
1800
|
+
"name": "sd-1-21-1-navigation-item",
|
|
1801
1801
|
"description": "Flexible button / link component that can be used to quickly build navigations. Takes one of 3 forms: link (overrides all other if 'href' is provided), button (default), or accordion (if 'children' slot defined).\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-show** - Emitted when the navigation item has has children, no href, and is clicked while HTML details are hidden.\n- **sd-hide** - Emitted when the navigation item has has children, no href, and is clicked while HTML details are shown.\n\n### **Slots:**\n - _default_ - The navigation item's label.\n- **description** - *Vertical only: Slot used to provide a description for the navigation item.\n- **children** - Slot used to provide nested child navigation elements. If provided, details and summary elements will be used. A chevron will be shown on the right side regardless of the chevron property.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper including children.\n- **content** - The component's content excluding children.\n- **chevron** - The container that wraps the chevron.\n- **description** - The component's description area below its main content.\n- **divider** - The component's optional top divider.",
|
|
1802
1802
|
"attributes": [
|
|
1803
1803
|
{
|
|
@@ -1887,7 +1887,7 @@
|
|
|
1887
1887
|
"references": []
|
|
1888
1888
|
},
|
|
1889
1889
|
{
|
|
1890
|
-
"name": "sd-1-21-
|
|
1890
|
+
"name": "sd-1-21-1-popup",
|
|
1891
1891
|
"description": "Popup is a utility that lets you declaratively anchor \"popup\" containers to another element.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-reposition** - Emitted when the popup is repositioned. This event can fire a lot, so avoid putting expensive operations in your listener or consider debouncing it.\n\n### **Methods:**\n - **reposition()** - Forces the popup to recalculate and reposition itself.\n\n### **Slots:**\n - _default_ - The popup's content.\n- **anchor** - The element the popup will be anchored to. If the anchor lives outside of the popup, you can use the `anchor` attribute or property instead.\n\n### **CSS Properties:**\n - **--arrow-size** - The size of the arrow. Note that an arrow won't be shown unless the `arrow` attribute is used. _(default: 6px)_\n- **--arrow-color** - The color of the arrow. _(default: var(--sd-color-neutral-0))_\n- **--auto-size-available-width** - A read-only custom property that determines the amount of width the popup can be before overflowing. Useful for positioning child elements that need to overflow. This property is only available when using `auto-size`. _(default: undefined)_\n- **--auto-size-available-height** - A read-only custom property that determines the amount of height the popup can be before overflowing. Useful for positioning child elements that need to overflow. This property is only available when using `auto-size`. _(default: undefined)_\n\n### **CSS Parts:**\n - **arrow** - The arrow's container. Avoid setting `top|bottom|left|right` properties, as these values are assigned dynamically as the popup moves. This is most useful for applying a background color to match the popup, and maybe a border or box shadow.\n- **popup** - The popup's container. Useful for setting a background color, box shadow, etc.",
|
|
1892
1892
|
"attributes": [
|
|
1893
1893
|
{
|
|
@@ -2111,7 +2111,7 @@
|
|
|
2111
2111
|
"references": []
|
|
2112
2112
|
},
|
|
2113
2113
|
{
|
|
2114
|
-
"name": "sd-1-21-
|
|
2114
|
+
"name": "sd-1-21-1-radio-group",
|
|
2115
2115
|
"description": "Radio groups are used to group multiple [radios](/components/radio) or [radio buttons](/components/radio-button) so they function as a single form control.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-change** - Emitted when the radio group's selected value changes.\n- **sd-input** - Emitted when the radio group receives user input.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity(): _boolean_** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - _default_ - The default slot where `<sd-radio>` or `<sd-radio-button>` elements are placed.\n- **label** - The radio group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and error text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.",
|
|
2116
2116
|
"attributes": [
|
|
2117
2117
|
{
|
|
@@ -2167,7 +2167,7 @@
|
|
|
2167
2167
|
"references": []
|
|
2168
2168
|
},
|
|
2169
2169
|
{
|
|
2170
|
-
"name": "sd-1-21-
|
|
2170
|
+
"name": "sd-1-21-1-radio",
|
|
2171
2171
|
"description": "A radio allows to select only one value from a set of options. Clicking on an unchecked radio will deselect the other one(s).\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-blur** - Emitted when the control loses focus.\n- **sd-focus** - Emitted when the control gains focus.\n\n### **Slots:**\n - _default_ - The radio's label.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control--unchecked** - The radio control when the radio is unchecked.\n- **control--checked** - The radio control when the radio is checked.\n- **checked** - The dot inside the radio component when the radio is checked.\n- **label** - The container that wraps the radio's label.",
|
|
2172
2172
|
"attributes": [
|
|
2173
2173
|
{
|
|
@@ -2201,7 +2201,7 @@
|
|
|
2201
2201
|
"references": []
|
|
2202
2202
|
},
|
|
2203
2203
|
{
|
|
2204
|
-
"name": "sd-1-21-
|
|
2204
|
+
"name": "sd-1-21-1-spinner",
|
|
2205
2205
|
"description": "Spinners are used to show the progress of an indeterminate operation.\n\n\n---\n\n\n",
|
|
2206
2206
|
"attributes": [
|
|
2207
2207
|
{
|
|
@@ -2223,7 +2223,7 @@
|
|
|
2223
2223
|
"references": []
|
|
2224
2224
|
},
|
|
2225
2225
|
{
|
|
2226
|
-
"name": "sd-1-21-
|
|
2226
|
+
"name": "sd-1-21-1-tag",
|
|
2227
2227
|
"description": "Tags are used as labels to organize things or to indicate a selection.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-blur** - Emitted when the tag loses focus.\n- **sd-focus** - Emitted when the tag gains focus.\n\n### **Methods:**\n - **click()** - Simulates a click on the tag.\n- **focus(options: _FocusOptions_)** - Sets focus on the tag.\n- **blur()** - Removes focus from the tag.\n\n### **Slots:**\n - _default_ - The tag's content.\n- **removable-indicator** - The tag's removability indicator.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **content** - The tag's content.\n- **removable-indicator** - The tag's removability indicator.",
|
|
2228
2228
|
"attributes": [
|
|
2229
2229
|
{
|
|
@@ -2285,7 +2285,7 @@
|
|
|
2285
2285
|
"references": []
|
|
2286
2286
|
},
|
|
2287
2287
|
{
|
|
2288
|
-
"name": "sd-1-21-
|
|
2288
|
+
"name": "sd-1-21-1-teaser",
|
|
2289
2289
|
"description": "Teasers group information into flexible containers so users can browse a collection of related items and actions.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - An optional main content slot.\n- **media** - An optional media slot.\n- **meta** - An optional meta slot.\n- **headline** - headline slot.\n\n### **CSS Properties:**\n - **--distribution-media** - The distribution ratio of the media. _(default: undefined)_\n- **--distribution-content** - The distribution ratio of the content. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **media** - The container that wraps the media.\n- **content** - The container that wraps the content.\n- **meta** - The container that wraps the meta.\n- **headline** - The container that wraps the headline.\n- **main** - The container that wraps the main content.",
|
|
2290
2290
|
"attributes": [
|
|
2291
2291
|
{
|
|
@@ -2322,7 +2322,7 @@
|
|
|
2322
2322
|
"references": []
|
|
2323
2323
|
},
|
|
2324
2324
|
{
|
|
2325
|
-
"name": "sd-1-21-
|
|
2325
|
+
"name": "sd-1-21-1-video",
|
|
2326
2326
|
"description": "Used to wrap external video elements (e. g. from Moving Image or bare <video>-Tags) and provide some basic styling for Union Investment.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-play** - Event emitted when clicking the `play-icon`. Listen for this event and use it to play the wrapped video.\n\n### **Slots:**\n - _default_ - The default slot used to pass a video player element.\n- **play-icon** - The video's play icon.\n- **poster** - Specifies an image to be shown before initial play of the wrapped video. Acts like the `poster` attribute on the native video tag.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **play-button** - The `<button>` element wrapper around the play-icon slot (full screen to field all click events).\n- **play-button-bg** - The `<div>` element wrapper around the play-button that defines the circular background.\n- **overlay** - The `<div>` element styled as an absolutely positioned transparent overlay.",
|
|
2327
2327
|
"attributes": [
|
|
2328
2328
|
{
|