@solid-design-system/components 1.15.0 → 1.16.0
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/styles/solid-styles.css +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/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/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/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-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/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/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/internal/form.js +1 -1
- package/dist/versioned-styles/solid-styles.css +1 -1
- package/dist/vscode.html-custom-data.json +16 -16
- package/dist/web-types.json +17 -17
- package/package.json +1 -1
|
@@ -48,16 +48,16 @@ let SdAccordionGroup = class extends SolidElement {
|
|
|
48
48
|
SdAccordionGroup.styles = [
|
|
49
49
|
componentStyles,
|
|
50
50
|
SolidElement.styles,
|
|
51
|
-
css`:host{display:block}::slotted(sd-1-
|
|
51
|
+
css`:host{display:block}::slotted(sd-1-16-0-accordion:not(:first-of-type)){margin-top:-1px}`
|
|
52
52
|
];
|
|
53
53
|
__decorateClass([
|
|
54
|
-
queryAssignedElements({ selector: "sd-1-
|
|
54
|
+
queryAssignedElements({ selector: "sd-1-16-0-accordion" })
|
|
55
55
|
], SdAccordionGroup.prototype, "_accordionsInDefaultSlot", 2);
|
|
56
56
|
__decorateClass([
|
|
57
57
|
property({ attribute: "close-others", type: Boolean })
|
|
58
58
|
], SdAccordionGroup.prototype, "closeOthers", 2);
|
|
59
59
|
SdAccordionGroup = __decorateClass([
|
|
60
|
-
customElement("sd-1-
|
|
60
|
+
customElement("sd-1-16-0-accordion-group")
|
|
61
61
|
], SdAccordionGroup);
|
|
62
62
|
export {
|
|
63
63
|
SdAccordionGroup as default
|
|
@@ -123,7 +123,7 @@ __decorateClass([
|
|
|
123
123
|
state()
|
|
124
124
|
], SdBrandshape.prototype, "componentBreakpoint", 2);
|
|
125
125
|
SdBrandshape = __decorateClass([
|
|
126
|
-
customElement("sd-1-
|
|
126
|
+
customElement("sd-1-16-0-brandshape")
|
|
127
127
|
], SdBrandshape);
|
|
128
128
|
export {
|
|
129
129
|
SdBrandshape as default
|
|
@@ -191,19 +191,19 @@ let SdButton = class extends SolidElement {
|
|
|
191
191
|
md: "ml-2",
|
|
192
192
|
lg: "ml-2"
|
|
193
193
|
}[this.size]
|
|
194
|
-
)}"></slot>${this.loading ? html`<sd-1-
|
|
194
|
+
)}"></slot>${this.loading ? html`<sd-1-16-0-spinner class="${cx("absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2")}"></sd-1-16-0-spinner>` : ""}</${tag}>`;
|
|
195
195
|
}
|
|
196
196
|
};
|
|
197
197
|
SdButton.styles = [
|
|
198
198
|
componentStyles,
|
|
199
199
|
SolidElement.styles,
|
|
200
|
-
css`:host{display:inline-block;position:relative;width:auto;cursor:pointer}sd-1-
|
|
200
|
+
css`:host{display:inline-block;position:relative;width:auto;cursor:pointer}sd-1-16-0-spinner{--indicator-color:currentColor;--track-color:var(--tw-varcolor-200)}::slotted(sd-1-16-0-badge){position:absolute;top:0;right:0;translate:50% -50%;pointer-events:none}::slotted(sd-1-16-0-icon),sd-1-16-0-spinner{font-size:calc(var(--tw-varspacing)/ 2)}`
|
|
201
201
|
];
|
|
202
202
|
__decorateClass([
|
|
203
203
|
query("a, button")
|
|
204
204
|
], SdButton.prototype, "button", 2);
|
|
205
205
|
__decorateClass([
|
|
206
|
-
queryAssignedElements({ selector: "sd-1-
|
|
206
|
+
queryAssignedElements({ selector: "sd-1-16-0-icon" })
|
|
207
207
|
], SdButton.prototype, "_iconsInDefaultSlot", 2);
|
|
208
208
|
__decorateClass([
|
|
209
209
|
state()
|
|
@@ -266,7 +266,7 @@ __decorateClass([
|
|
|
266
266
|
watch("disabled", { waitUntilFirstUpdate: true })
|
|
267
267
|
], SdButton.prototype, "handleDisabledChange", 1);
|
|
268
268
|
SdButton = __decorateClass([
|
|
269
|
-
customElement("sd-1-
|
|
269
|
+
customElement("sd-1-16-0-button")
|
|
270
270
|
], SdButton);
|
|
271
271
|
export {
|
|
272
272
|
SdButton as default
|
|
@@ -35,7 +35,7 @@ let SdDivider = class extends SolidElement {
|
|
|
35
35
|
SdDivider.styles = [
|
|
36
36
|
componentStyles,
|
|
37
37
|
SolidElement.styles,
|
|
38
|
-
css`:host{margin:0}:host(sd-1-
|
|
38
|
+
css`:host{margin:0}:host(sd-1-16-0-divider[orientation=horizontal]){display:block}:host(sd-1-16-0-divider[orientation=vertical]){display:inline-block}`
|
|
39
39
|
];
|
|
40
40
|
__decorateClass([
|
|
41
41
|
property({ reflect: true })
|
|
@@ -44,7 +44,7 @@ __decorateClass([
|
|
|
44
44
|
property({ type: Boolean, reflect: true })
|
|
45
45
|
], SdDivider.prototype, "inverted", 2);
|
|
46
46
|
SdDivider = __decorateClass([
|
|
47
|
-
customElement("sd-1-
|
|
47
|
+
customElement("sd-1-16-0-divider")
|
|
48
48
|
], SdDivider);
|
|
49
49
|
export {
|
|
50
50
|
SdDivider as default
|
|
@@ -183,7 +183,7 @@ let SdDrawer = class extends SolidElement {
|
|
|
183
183
|
end: "top-0 end-0 bottom-auto start-auto w-[--width] h-full",
|
|
184
184
|
start: "top-0 end-auto bottom-auto start-0 w-[--width] h-full"
|
|
185
185
|
}[this.placement]
|
|
186
|
-
)}" 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-1-
|
|
186
|
+
)}" 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-1-16-0-button variant="tertiary" size="lg" part="close-button" @click="${() => this.requestClose("close-button")}"><sd-1-16-0-icon name="close" library="system"></sd-1-16-0-icon></sd-1-16-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>`;
|
|
187
187
|
}
|
|
188
188
|
};
|
|
189
189
|
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-1-
|
|
224
|
+
customElement("sd-1-16-0-drawer")
|
|
225
225
|
], SdDrawer);
|
|
226
226
|
setDefaultAnimation("drawer.showStart", {
|
|
227
227
|
keyframes: [
|
|
@@ -170,7 +170,7 @@ let SdDropdown = class extends SolidElement {
|
|
|
170
170
|
// that gets slotted in) so screen readers will understand them. The accessible trigger could be the slotted element,
|
|
171
171
|
// a child of the slotted element, or an element in the slotted element's shadow root.
|
|
172
172
|
//
|
|
173
|
-
// For example, the accessible trigger of an <sd-1-
|
|
173
|
+
// For example, the accessible trigger of an <sd-1-16-0-button> is a <button> located inside its shadow root.
|
|
174
174
|
//
|
|
175
175
|
// To determine this, we assume the first tabbable element in the trigger slot is the "accessible trigger."
|
|
176
176
|
//
|
|
@@ -180,8 +180,8 @@ let SdDropdown = class extends SolidElement {
|
|
|
180
180
|
let target;
|
|
181
181
|
if (accessibleTrigger) {
|
|
182
182
|
switch (accessibleTrigger.tagName.toLowerCase()) {
|
|
183
|
-
case "sd-1-
|
|
184
|
-
case "sd-1-
|
|
183
|
+
case "sd-1-16-0-button":
|
|
184
|
+
case "sd-1-16-0-icon-button":
|
|
185
185
|
target = accessibleTrigger.button;
|
|
186
186
|
break;
|
|
187
187
|
default:
|
|
@@ -257,11 +257,11 @@ let SdDropdown = class extends SolidElement {
|
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
259
|
render() {
|
|
260
|
-
return html`<sd-1-
|
|
260
|
+
return html`<sd-1-16-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(
|
|
261
261
|
"shadow bg-white",
|
|
262
262
|
this.open ? "block pointer-events-auto" : "pointer-events-none",
|
|
263
263
|
this.rounded && "rounded-md"
|
|
264
|
-
)}" aria-hidden="${this.open ? "false" : "true"}" aria-labelledby="dropdown"></slot></sd-1-
|
|
264
|
+
)}" aria-hidden="${this.open ? "false" : "true"}" aria-labelledby="dropdown"></slot></sd-1-16-0-popup>`;
|
|
265
265
|
}
|
|
266
266
|
};
|
|
267
267
|
SdDropdown.styles = [
|
|
@@ -315,7 +315,7 @@ __decorateClass([
|
|
|
315
315
|
watch("open", { waitUntilFirstUpdate: true })
|
|
316
316
|
], SdDropdown.prototype, "handleOpenChange", 1);
|
|
317
317
|
SdDropdown = __decorateClass([
|
|
318
|
-
customElement("sd-1-
|
|
318
|
+
customElement("sd-1-16-0-dropdown")
|
|
319
319
|
], SdDropdown);
|
|
320
320
|
setDefaultAnimation("dropdown.show", {
|
|
321
321
|
keyframes: [
|
|
@@ -77,7 +77,7 @@ let SdLink = class extends SolidElement {
|
|
|
77
77
|
};
|
|
78
78
|
SdLink.styles = [
|
|
79
79
|
SolidElement.styles,
|
|
80
|
-
css`::slotted(sd-1-
|
|
80
|
+
css`::slotted(sd-1-16-0-icon){font-size:1.25em;margin-bottom:-.25em}:host([size=sm][standalone]) ::slotted(sd-1-16-0-icon){font-size:1rem}:host([size=lg][standalone]) ::slotted(sd-1-16-0-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-
|
|
104
|
+
customElement("sd-1-16-0-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-
|
|
108
|
+
)}">${this.divider && this.vertical ? html`<sd-1-16-0-divider part="divider" class="${cx("w-full transition-all absolute -top-[1px] left-0", this.calculatePaddingX())}"></sd-1-16-0-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-16-0-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-
|
|
111
|
+
)}"></sd-1-16-0-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-
|
|
162
|
+
customElement("sd-1-16-0-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-
|
|
315
|
+
customElement("sd-1-16-0-popup")
|
|
316
316
|
], SdPopup);
|
|
317
317
|
export {
|
|
318
318
|
SdPopup 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-
|
|
75
|
+
)}"><sd-1-16-0-icon library="system" name="close" label="remove"></sd-1-16-0-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-
|
|
107
|
+
customElement("sd-1-16-0-tag")
|
|
108
108
|
], SdTag);
|
|
109
109
|
export {
|
|
110
110
|
SdTag as default
|
|
@@ -90,7 +90,7 @@ class FormControlController {
|
|
|
90
90
|
const disabled = this.options.disabled(this.host);
|
|
91
91
|
const name = this.options.name(this.host);
|
|
92
92
|
const value = this.options.value(this.host);
|
|
93
|
-
const isButton = this.host.tagName.toLowerCase() === "sd-1-
|
|
93
|
+
const isButton = this.host.tagName.toLowerCase() === "sd-1-16-0-button";
|
|
94
94
|
if (!disabled && !isButton && typeof name === "string" && name.length > 0 && typeof value !== "undefined") {
|
|
95
95
|
if (Array.isArray(value)) {
|
|
96
96
|
value.forEach((val) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.sd-1-
|
|
1
|
+
.sd-1-16-0-display{font-size:var(--sd-font-size-xl,1.5rem)}.sd-1-16-0-display,.sd-1-16-0-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-16-0-display--size-3xl{font-size:var(--sd-font-size-2xl,1.75rem)}@media (min-width:1024px){.sd-1-16-0-display--size-3xl{font-size:var(--sd-font-size-3xl,2rem)}}.sd-1-16-0-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-16-0-display--size-4xl{font-size:var(--sd-font-size-4xl,2.5rem)}}.sd-1-16-0-display--inverted{--tw-text-opacity:1;color:rgb(var(--sd-color-white,255 255 255)/var(--tw-text-opacity))}.sd-1-16-0-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-16-0-meta--size-sm{font-size:var(--sd-font-size-sm,.875rem)}.sd-1-16-0-meta--light{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-700,104 104 104)/var(--tw-text-opacity))}.sd-1-16-0-meta--inverted{--tw-text-opacity:1;color:rgb(var(--sd-color-white,255 255 255)/var(--tw-text-opacity))}.sd-1-16-0-meta--inverted.sd-1-16-0-meta--light{--tw-text-opacity:1;color:rgb(var(--sd-color-primary-400,153 171 208)/var(--tw-text-opacity))}.sd-1-16-0-meta--pipe:after{content:"|";margin-left:var(--sd-spacing-1,.25rem);margin-right:var(--sd-spacing-1,.25rem)}.sd-1-16-0-meta--pipe.sd-1-16-0-meta--size-sm:after{margin-left:var(--sd-spacing-0-5,.125rem);margin-right:var(--sd-spacing-0-5,.125rem)}.sd-1-16-0-leadtext{font-size:var(--sd-font-size-xl,1.5rem)}.sd-1-16-0-leadtext,.sd-1-16-0-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-16-0-leadtext--size-lg{font-size:var(--sd-font-size-lg,1.25rem)}.sd-1-16-0-leadtext--inverted{--tw-text-opacity:1;color:rgb(var(--sd-color-white,255 255 255)/var(--tw-text-opacity))}.sd-1-16-0-paragraph{font-size:var(--sd-font-size-base,1rem)}.sd-1-16-0-paragraph,.sd-1-16-0-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-16-0-paragraph--size-sm{font-size:var(--sd-font-size-sm,.875rem)}.sd-1-16-0-paragraph--inverted{--tw-text-opacity:1;color:rgb(var(--sd-color-white,255 255 255)/var(--tw-text-opacity))}mark.sd-1-16-0-mark{--tw-text-opacity:1;background-color:transparent;color:rgb(var(--sd-color-accent,45 157 0)/var(--tw-text-opacity))}.sd-1-16-0-interactive--reset{all:unset;outline:revert}.sd-1-16-0-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-16-0-interactive:hover:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-500,70 109 175)/var(--tw-text-opacity))}.sd-1-16-0-interactive:active:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-800,5 21 48)/var(--tw-text-opacity))}.sd-1-16-0-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-16-0-interactive--inverted{--tw-text-opacity:1;color:rgb(var(--sd-color-white,255 255 255)/var(--tw-text-opacity))}.sd-1-16-0-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-16-0-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-16-0-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-16-0-interactive--disabled,.sd-1-16-0-interactive[disabled]{cursor:not-allowed}.sd-1-16-0-interactive--disabled,.sd-1-16-0-interactive--disabled:active:not([disabled]),.sd-1-16-0-interactive--disabled:hover:not([disabled]),.sd-1-16-0-interactive[disabled],.sd-1-16-0-interactive[disabled]:active:not([disabled]),.sd-1-16-0-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-16-0-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-16-0-table-cell--divider{border-right-width:1px}.sd-1-16-0-table-cell--bg-white{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-white,255 255 255)/var(--tw-bg-opacity))}.sd-1-16-0-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-16-0-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-16-0-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-16-0-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-16-0-headline{font-size:var(--sd-font-size-4xl,2.5rem)}}.sd-1-16-0-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-16-0-headline sd-icon{margin-top:var(--sd-spacing-2,.5rem)}}.sd-1-16-0-headline--size-3xl{font-size:var(--sd-font-size-2xl,1.75rem)}@media (min-width:640px){.sd-1-16-0-headline--size-3xl{font-size:var(--sd-font-size-3xl,2rem)}}.sd-1-16-0-headline--size-3xl sd-icon{margin-top:calc(var(--sd-spacing-1, .25rem)*-1)}@media (min-width:640px){.sd-1-16-0-headline--size-3xl sd-icon{margin-top:var(--sd-spacing-0,0)}}.sd-1-16-0-headline--size-base,.sd-1-16-0-headline--size-lg,.sd-1-16-0-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-16-0-headline--size-base sd-icon,.sd-1-16-0-headline--size-lg sd-icon,.sd-1-16-0-headline--size-xl sd-icon{font-size:2rem}.sd-1-16-0-headline--size-xl{font-size:var(--sd-font-size-xl,1.5rem)}.sd-1-16-0-headline--size-xl sd-icon{margin-top:var(--sd-spacing-0-5,.125rem)}@media (min-width:640px){.sd-1-16-0-headline--size-xl sd-icon{margin-top:var(--sd-spacing-0-5,.125rem)}}.sd-1-16-0-headline--size-lg{font-size:var(--sd-font-size-lg,1.25rem)}.sd-1-16-0-headline--size-lg sd-icon{margin-top:var(--sd-spacing-0,0)}@media (min-width:640px){.sd-1-16-0-headline--size-lg sd-icon{margin-top:var(--sd-spacing-0,0)}}.sd-1-16-0-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-16-0-headline--size-base sd-icon{margin-top:calc(var(--sd-spacing-1, .25rem)*-1)}.sd-1-16-0-headline--size-base mark{color:inherit}.sd-1-16-0-headline--inverted,.sd-1-16-0-headline--inverted sd-icon{--tw-text-opacity:1;color:rgb(var(--sd-color-white,255 255 255)/var(--tw-text-opacity))}.sd-1-16-0-headline--inline{display:inline}.sd-1-16-0-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-16-0-headline--inline.sd-1-16-0-headline--size-base sd-icon,.sd-1-16-0-headline--inline.sd-1-16-0-headline--size-lg sd-icon,.sd-1-16-0-headline--inline.sd-1-16-0-headline--size-xl sd-icon{margin-right:var(--sd-spacing-0-5,.125rem)}
|
|
@@ -1011,7 +1011,7 @@
|
|
|
1011
1011
|
"references": []
|
|
1012
1012
|
},
|
|
1013
1013
|
{
|
|
1014
|
-
"name": "sd-1-
|
|
1014
|
+
"name": "sd-1-16-0-accordion-group",
|
|
1015
1015
|
"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.",
|
|
1016
1016
|
"attributes": [
|
|
1017
1017
|
{
|
|
@@ -1023,7 +1023,7 @@
|
|
|
1023
1023
|
"references": []
|
|
1024
1024
|
},
|
|
1025
1025
|
{
|
|
1026
|
-
"name": "sd-1-
|
|
1026
|
+
"name": "sd-1-16-0-accordion",
|
|
1027
1027
|
"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 accordion content.",
|
|
1028
1028
|
"attributes": [
|
|
1029
1029
|
{
|
|
@@ -1040,7 +1040,7 @@
|
|
|
1040
1040
|
"references": []
|
|
1041
1041
|
},
|
|
1042
1042
|
{
|
|
1043
|
-
"name": "sd-1-
|
|
1043
|
+
"name": "sd-1-16-0-badge",
|
|
1044
1044
|
"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.",
|
|
1045
1045
|
"attributes": [
|
|
1046
1046
|
{
|
|
@@ -1082,7 +1082,7 @@
|
|
|
1082
1082
|
"references": []
|
|
1083
1083
|
},
|
|
1084
1084
|
{
|
|
1085
|
-
"name": "sd-1-
|
|
1085
|
+
"name": "sd-1-16-0-brandshape",
|
|
1086
1086
|
"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.",
|
|
1087
1087
|
"attributes": [
|
|
1088
1088
|
{
|
|
@@ -1119,7 +1119,7 @@
|
|
|
1119
1119
|
"references": []
|
|
1120
1120
|
},
|
|
1121
1121
|
{
|
|
1122
|
-
"name": "sd-1-
|
|
1122
|
+
"name": "sd-1-16-0-button",
|
|
1123
1123
|
"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\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.\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.",
|
|
1124
1124
|
"attributes": [
|
|
1125
1125
|
{
|
|
@@ -1291,7 +1291,7 @@
|
|
|
1291
1291
|
"references": []
|
|
1292
1292
|
},
|
|
1293
1293
|
{
|
|
1294
|
-
"name": "sd-1-
|
|
1294
|
+
"name": "sd-1-16-0-divider",
|
|
1295
1295
|
"description": "Dividers are used to visually separate or group elements.\n\n\n---\n\n\n",
|
|
1296
1296
|
"attributes": [
|
|
1297
1297
|
{
|
|
@@ -1315,7 +1315,7 @@
|
|
|
1315
1315
|
"references": []
|
|
1316
1316
|
},
|
|
1317
1317
|
{
|
|
1318
|
-
"name": "sd-1-
|
|
1318
|
+
"name": "sd-1-16-0-drawer",
|
|
1319
1319
|
"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.",
|
|
1320
1320
|
"attributes": [
|
|
1321
1321
|
{
|
|
@@ -1354,7 +1354,7 @@
|
|
|
1354
1354
|
"references": []
|
|
1355
1355
|
},
|
|
1356
1356
|
{
|
|
1357
|
-
"name": "sd-1-
|
|
1357
|
+
"name": "sd-1-16-0-dropdown",
|
|
1358
1358
|
"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.",
|
|
1359
1359
|
"attributes": [
|
|
1360
1360
|
{
|
|
@@ -1451,7 +1451,7 @@
|
|
|
1451
1451
|
"references": []
|
|
1452
1452
|
},
|
|
1453
1453
|
{
|
|
1454
|
-
"name": "sd-1-
|
|
1454
|
+
"name": "sd-1-16-0-icon",
|
|
1455
1455
|
"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.",
|
|
1456
1456
|
"attributes": [
|
|
1457
1457
|
{
|
|
@@ -1493,7 +1493,7 @@
|
|
|
1493
1493
|
"references": []
|
|
1494
1494
|
},
|
|
1495
1495
|
{
|
|
1496
|
-
"name": "sd-1-
|
|
1496
|
+
"name": "sd-1-16-0-include",
|
|
1497
1497
|
"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.",
|
|
1498
1498
|
"attributes": [
|
|
1499
1499
|
{
|
|
@@ -1525,7 +1525,7 @@
|
|
|
1525
1525
|
"references": []
|
|
1526
1526
|
},
|
|
1527
1527
|
{
|
|
1528
|
-
"name": "sd-1-
|
|
1528
|
+
"name": "sd-1-16-0-link",
|
|
1529
1529
|
"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.",
|
|
1530
1530
|
"attributes": [
|
|
1531
1531
|
{
|
|
@@ -1585,7 +1585,7 @@
|
|
|
1585
1585
|
"references": []
|
|
1586
1586
|
},
|
|
1587
1587
|
{
|
|
1588
|
-
"name": "sd-1-
|
|
1588
|
+
"name": "sd-1-16-0-navigation-item",
|
|
1589
1589
|
"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.",
|
|
1590
1590
|
"attributes": [
|
|
1591
1591
|
{
|
|
@@ -1675,7 +1675,7 @@
|
|
|
1675
1675
|
"references": []
|
|
1676
1676
|
},
|
|
1677
1677
|
{
|
|
1678
|
-
"name": "sd-1-
|
|
1678
|
+
"name": "sd-1-16-0-popup",
|
|
1679
1679
|
"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.",
|
|
1680
1680
|
"attributes": [
|
|
1681
1681
|
{
|
|
@@ -1899,7 +1899,7 @@
|
|
|
1899
1899
|
"references": []
|
|
1900
1900
|
},
|
|
1901
1901
|
{
|
|
1902
|
-
"name": "sd-1-
|
|
1902
|
+
"name": "sd-1-16-0-spinner",
|
|
1903
1903
|
"description": "Spinners are used to show the progress of an indeterminate operation.\n\n\n---\n\n\n",
|
|
1904
1904
|
"attributes": [
|
|
1905
1905
|
{
|
|
@@ -1921,7 +1921,7 @@
|
|
|
1921
1921
|
"references": []
|
|
1922
1922
|
},
|
|
1923
1923
|
{
|
|
1924
|
-
"name": "sd-1-
|
|
1924
|
+
"name": "sd-1-16-0-tag",
|
|
1925
1925
|
"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.",
|
|
1926
1926
|
"attributes": [
|
|
1927
1927
|
{
|
|
@@ -1983,7 +1983,7 @@
|
|
|
1983
1983
|
"references": []
|
|
1984
1984
|
},
|
|
1985
1985
|
{
|
|
1986
|
-
"name": "sd-1-
|
|
1986
|
+
"name": "sd-1-16-0-teaser",
|
|
1987
1987
|
"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.",
|
|
1988
1988
|
"attributes": [
|
|
1989
1989
|
{
|