@solid-design-system/components 1.36.0 → 1.37.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/components/es/checkbox-group.js +1 -1
- package/dist/components/es/checkbox.js +1 -1
- package/dist/components/es/form.js +1 -1
- package/dist/components/es/input.js +1 -1
- package/dist/components/es/option.js +1 -1
- package/dist/components/es/radio-group.js +1 -1
- package/dist/components/es/radio.js +1 -1
- package/dist/components/es/select.js +2 -2
- package/dist/components/es/solid-element.js +1 -1
- package/dist/components/es/switch.js +1 -1
- package/dist/components/es/teaser.js +1 -1
- package/dist/components/es/textarea.js +1 -1
- package/dist/components/umd/solid-components.js +18 -18
- package/dist/custom-elements.json +1 -1
- package/dist/package/components/checkbox/checkbox.d.ts +2 -0
- package/dist/package/components/checkbox/checkbox.js +23 -6
- package/dist/package/components/checkbox-group/checkbox-group.js +1 -1
- package/dist/package/components/input/input.d.ts +3 -0
- package/dist/package/components/input/input.js +20 -19
- package/dist/package/components/option/option.js +0 -2
- package/dist/package/components/radio/radio.js +3 -3
- package/dist/package/components/radio-group/radio-group.d.ts +4 -3
- package/dist/package/components/radio-group/radio-group.js +25 -27
- package/dist/package/components/select/select.d.ts +3 -3
- package/dist/package/components/select/select.js +18 -23
- package/dist/package/components/switch/switch.d.ts +2 -0
- package/dist/package/components/switch/switch.js +15 -7
- package/dist/package/components/teaser/teaser.js +5 -1
- package/dist/package/components/textarea/textarea.d.ts +3 -0
- package/dist/package/components/textarea/textarea.js +30 -24
- package/dist/package/internal/form.d.ts +3 -1
- package/dist/package/internal/form.js +38 -10
- package/dist/package/internal/solid-element.d.ts +2 -0
- package/dist/package/styles/tailwind.css.js +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/checkbox-group.js +1 -1
- package/dist/versioned-components/es/checkbox.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/form.js +1 -1
- package/dist/versioned-components/es/header.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/input.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/notification.js +1 -1
- package/dist/versioned-components/es/option.js +1 -1
- package/dist/versioned-components/es/popup.js +1 -1
- package/dist/versioned-components/es/radio-button.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/select.js +2 -2
- package/dist/versioned-components/es/solid-element.js +1 -1
- package/dist/versioned-components/es/spinner.js +1 -1
- package/dist/versioned-components/es/switch.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/textarea.js +1 -1
- package/dist/versioned-components/es/tooltip.js +2 -2
- 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/checkbox/checkbox.d.ts +3 -1
- package/dist/versioned-package/components/checkbox/checkbox.js +27 -10
- package/dist/versioned-package/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist/versioned-package/components/checkbox-group/checkbox-group.js +6 -6
- 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 +8 -8
- package/dist/versioned-package/components/header/header.d.ts +1 -1
- package/dist/versioned-package/components/header/header.js +4 -4
- 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/input/input.d.ts +4 -1
- package/dist/versioned-package/components/input/input.js +23 -22
- 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/notification/notification.d.ts +1 -1
- package/dist/versioned-package/components/notification/notification.js +5 -5
- package/dist/versioned-package/components/option/option.d.ts +1 -1
- package/dist/versioned-package/components/option/option.js +2 -4
- 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 +5 -5
- package/dist/versioned-package/components/radio-button/radio-button.d.ts +1 -1
- package/dist/versioned-package/components/radio-button/radio-button.js +2 -2
- package/dist/versioned-package/components/radio-group/radio-group.d.ts +6 -5
- package/dist/versioned-package/components/radio-group/radio-group.js +38 -40
- package/dist/versioned-package/components/select/select.d.ts +7 -7
- package/dist/versioned-package/components/select/select.js +44 -49
- 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/switch/switch.d.ts +3 -1
- package/dist/versioned-package/components/switch/switch.js +17 -9
- 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 +6 -2
- package/dist/versioned-package/components/textarea/textarea.d.ts +4 -1
- package/dist/versioned-package/components/textarea/textarea.js +32 -26
- package/dist/versioned-package/components/tooltip/tooltip.d.ts +1 -1
- package/dist/versioned-package/components/tooltip/tooltip.js +5 -5
- 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.d.ts +3 -1
- package/dist/versioned-package/internal/form.js +40 -12
- package/dist/versioned-package/internal/solid-element.d.ts +2 -0
- package/dist/versioned-package/styles/tailwind.css.js +1 -1
- package/dist/versioned-styles/solid-styles.css +1 -1
- package/dist/vscode.html-custom-data.json +44 -34
- package/dist/web-types.json +78 -18
- package/package.json +1 -1
- package/dist/components/es/form-control.styles.js +0 -1
- package/dist/package/styles/form-control.styles.d.ts +0 -2
- package/dist/package/styles/form-control.styles.js +0 -5
- package/dist/versioned-components/es/form-control.styles.js +0 -1
- package/dist/versioned-package/styles/form-control.styles.d.ts +0 -2
- package/dist/versioned-package/styles/form-control.styles.js +0 -5
|
@@ -27,7 +27,7 @@ let SdCheckboxGroup = class extends SolidElement {
|
|
|
27
27
|
this.orientation = "vertical";
|
|
28
28
|
}
|
|
29
29
|
getAllCheckboxes() {
|
|
30
|
-
return [...this.querySelectorAll("sd-1-
|
|
30
|
+
return [...this.querySelectorAll("sd-1-37-1-checkbox")];
|
|
31
31
|
}
|
|
32
32
|
async syncCheckboxElements() {
|
|
33
33
|
const checkboxes = this.getAllCheckboxes();
|
|
@@ -43,10 +43,10 @@ let SdCheckboxGroup = class extends SolidElement {
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
syncCheckboxes() {
|
|
46
|
-
if (customElements.get("sd-1-
|
|
46
|
+
if (customElements.get("sd-1-37-1-checkbox")) {
|
|
47
47
|
this.syncCheckboxElements();
|
|
48
48
|
} else {
|
|
49
|
-
customElements.whenDefined("sd-1-
|
|
49
|
+
customElements.whenDefined("sd-1-37-1-checkbox").then(() => this.syncCheckboxes());
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
handleSizeChange() {
|
|
@@ -66,7 +66,7 @@ let SdCheckboxGroup = class extends SolidElement {
|
|
|
66
66
|
sm: "text-sm",
|
|
67
67
|
lg: "text-base"
|
|
68
68
|
}[this.size]
|
|
69
|
-
)}" role="group" aria-labelledby="label"><label part="form-control-label" id="label" class="${cx("mb-2 p-0 font-bold leading-normal text-black", hasLabel ? "flex" : "hidden")}" aria-hidden="${
|
|
69
|
+
)}" role="group" aria-labelledby="label"><label part="form-control-label" id="label" class="${cx("mb-2 p-0 font-bold leading-normal text-black", hasLabel ? "flex" : "hidden")}" aria-hidden="${hasLabel ? "false" : "true"}"><slot name="label">${this.label}</slot></label><div part="form-control-input" class="${cx(
|
|
70
70
|
{
|
|
71
71
|
vertical: "flex flex-col",
|
|
72
72
|
horizontal: "flex flex-row"
|
|
@@ -77,7 +77,7 @@ let SdCheckboxGroup = class extends SolidElement {
|
|
|
77
77
|
SdCheckboxGroup.styles = [
|
|
78
78
|
componentStyles,
|
|
79
79
|
SolidElement.styles,
|
|
80
|
-
css`:host{display:block}:host([orientation=vertical]) ::slotted(sd-1-
|
|
80
|
+
css`:host{display:block}:host([orientation=vertical]) ::slotted(sd-1-37-1-checkbox){margin-bottom:var(--sd-spacing-2,.5rem);display:flex}:host([orientation=vertical]) ::slotted(sd-1-37-1-checkbox:last-of-type){margin-bottom:var(--sd-spacing-0,0)}:host([orientation=horizontal]) ::slotted(sd-1-37-1-checkbox){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-1-37-1-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-1-37-1-checkbox){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-1-37-1-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}`
|
|
81
81
|
];
|
|
82
82
|
__decorateClass([
|
|
83
83
|
property()
|
|
@@ -95,7 +95,7 @@ __decorateClass([
|
|
|
95
95
|
watch("invalid", { waitUntilFirstUpdate: true })
|
|
96
96
|
], SdCheckboxGroup.prototype, "handleInvalid", 1);
|
|
97
97
|
SdCheckboxGroup = __decorateClass([
|
|
98
|
-
customElement("sd-1-
|
|
98
|
+
customElement("sd-1-37-1-checkbox-group")
|
|
99
99
|
], SdCheckboxGroup);
|
|
100
100
|
export {
|
|
101
101
|
SdCheckboxGroup 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:var(--sd-spacing-0,0)}:host(sd-1-
|
|
38
|
+
css`:host{margin:var(--sd-spacing-0,0)}:host(sd-1-37-1-divider[orientation=horizontal]){display:block}:host(sd-1-37-1-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-37-1-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-37-1-button variant="tertiary" size="lg" part="close-button" @click="${() => this.requestClose("close-button")}"><sd-1-37-1-icon name="close" library="system"></sd-1-37-1-icon></sd-1-37-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>`;
|
|
187
187
|
}
|
|
188
188
|
};
|
|
189
189
|
SdDrawer.styles = [
|
|
@@ -222,7 +222,7 @@ __decorateClass([
|
|
|
222
222
|
watch("contained", { waitUntilFirstUpdate: true })
|
|
223
223
|
], SdDrawer.prototype, "handleNoModalChange", 1);
|
|
224
224
|
SdDrawer = __decorateClass([
|
|
225
|
-
customElement("sd-1-
|
|
225
|
+
customElement("sd-1-37-1-drawer")
|
|
226
226
|
], SdDrawer);
|
|
227
227
|
setDefaultAnimation("drawer.showStart", {
|
|
228
228
|
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-37-1-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-37-1-button":
|
|
184
|
+
case "sd-1-37-1-icon-button":
|
|
185
185
|
target = accessibleTrigger.button;
|
|
186
186
|
break;
|
|
187
187
|
default:
|
|
@@ -216,7 +216,7 @@ let SdDropdown = class extends SolidElement {
|
|
|
216
216
|
}
|
|
217
217
|
addOpenListeners() {
|
|
218
218
|
this.panel.addEventListener("sd-activate", this.handleMenuItemActivate);
|
|
219
|
-
this.panel.addEventListener("sd-1-
|
|
219
|
+
this.panel.addEventListener("sd-1-37-1-select", this.handlePanelSelect);
|
|
220
220
|
this.panel.addEventListener("keydown", this.handleKeyDown);
|
|
221
221
|
document.addEventListener("keydown", this.handleDocumentKeyDown);
|
|
222
222
|
document.addEventListener("mousedown", this.handleDocumentMouseDown);
|
|
@@ -224,7 +224,7 @@ let SdDropdown = class extends SolidElement {
|
|
|
224
224
|
removeOpenListeners() {
|
|
225
225
|
if (this.panel) {
|
|
226
226
|
this.panel.removeEventListener("sd-activate", this.handleMenuItemActivate);
|
|
227
|
-
this.panel.removeEventListener("sd-1-
|
|
227
|
+
this.panel.removeEventListener("sd-1-37-1-select", this.handlePanelSelect);
|
|
228
228
|
this.panel.removeEventListener("keydown", this.handleKeyDown);
|
|
229
229
|
}
|
|
230
230
|
document.removeEventListener("keydown", this.handleDocumentKeyDown);
|
|
@@ -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-37-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(
|
|
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-37-1-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-37-1-dropdown")
|
|
319
319
|
], SdDropdown);
|
|
320
320
|
setDefaultAnimation("dropdown.show", {
|
|
321
321
|
keyframes: [
|
|
@@ -64,11 +64,11 @@ let SdHeader = class extends SolidElement {
|
|
|
64
64
|
setCalculatedHeightProperty() {
|
|
65
65
|
if (this.fixed && this.refHeaderElement) {
|
|
66
66
|
document.documentElement.style.setProperty(
|
|
67
|
-
"--sd-1-
|
|
67
|
+
"--sd-1-37-1-header-calculated-height",
|
|
68
68
|
`${this.refHeaderElement.clientHeight}px`
|
|
69
69
|
);
|
|
70
70
|
} else {
|
|
71
|
-
document.documentElement.style.removeProperty("--sd-1-
|
|
71
|
+
document.documentElement.style.removeProperty("--sd-1-37-1-header-calculated-height");
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
render() {
|
|
@@ -85,7 +85,7 @@ let SdHeader = class extends SolidElement {
|
|
|
85
85
|
SdHeader.styles = [
|
|
86
86
|
SolidElement.styles,
|
|
87
87
|
componentStyles,
|
|
88
|
-
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-1-
|
|
88
|
+
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-1-37-1-header-inner-width);max-width:var(--sd-1-37-1-header-inner-max-width);padding:var(--sd-1-37-1-header-padding,12px 16px)}`
|
|
89
89
|
];
|
|
90
90
|
__decorateClass([
|
|
91
91
|
property({ reflect: true, type: Boolean })
|
|
@@ -94,7 +94,7 @@ __decorateClass([
|
|
|
94
94
|
debounce(100)
|
|
95
95
|
], SdHeader.prototype, "onResize", 1);
|
|
96
96
|
SdHeader = __decorateClass([
|
|
97
|
-
customElement("sd-1-
|
|
97
|
+
customElement("sd-1-37-1-header")
|
|
98
98
|
], SdHeader);
|
|
99
99
|
export {
|
|
100
100
|
SdHeader as default
|
|
@@ -7,7 +7,10 @@ export default class SdInput extends SolidElement implements SolidFormControl {
|
|
|
7
7
|
private readonly hasSlotController;
|
|
8
8
|
private readonly localize;
|
|
9
9
|
input: HTMLInputElement;
|
|
10
|
+
invalidMessage: HTMLDivElement;
|
|
10
11
|
private hasFocus;
|
|
12
|
+
showValidStyle: boolean;
|
|
13
|
+
showInvalidStyle: boolean;
|
|
11
14
|
type: 'date' | 'datetime-local' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'time' | 'url';
|
|
12
15
|
size: 'lg' | 'md' | 'sm';
|
|
13
16
|
inputmode: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
@@ -71,6 +74,6 @@ export default class SdInput extends SolidElement implements SolidFormControl {
|
|
|
71
74
|
}
|
|
72
75
|
declare global {
|
|
73
76
|
interface HTMLElementTagNameMap {
|
|
74
|
-
'sd-1-
|
|
77
|
+
'sd-1-37-1-input': SdInput;
|
|
75
78
|
}
|
|
76
79
|
}
|
|
@@ -12,7 +12,6 @@ import { query, state, property } from "lit/decorators.js";
|
|
|
12
12
|
import { watch } from "../../internal/watch.js";
|
|
13
13
|
import componentStyles from "../../styles/component.styles.js";
|
|
14
14
|
import cx from "classix";
|
|
15
|
-
import formControlStyles from "../../styles/form-control.styles.js";
|
|
16
15
|
import SolidElement from "../../internal/solid-element.js";
|
|
17
16
|
var __defProp = Object.defineProperty;
|
|
18
17
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -42,6 +41,8 @@ let SdInput = class extends SolidElement {
|
|
|
42
41
|
);
|
|
43
42
|
this.localize = new LocalizeController(this);
|
|
44
43
|
this.hasFocus = false;
|
|
44
|
+
this.showValidStyle = false;
|
|
45
|
+
this.showInvalidStyle = false;
|
|
45
46
|
this.type = "text";
|
|
46
47
|
this.size = "lg";
|
|
47
48
|
this.value = "";
|
|
@@ -101,7 +102,7 @@ let SdInput = class extends SolidElement {
|
|
|
101
102
|
handleClearClick(event) {
|
|
102
103
|
this.value = "";
|
|
103
104
|
this.emit("sd-clear");
|
|
104
|
-
this.emit("sd-1-
|
|
105
|
+
this.emit("sd-1-37-1-input");
|
|
105
106
|
this.emit("sd-change");
|
|
106
107
|
this.input.focus();
|
|
107
108
|
event.stopPropagation();
|
|
@@ -113,10 +114,12 @@ let SdInput = class extends SolidElement {
|
|
|
113
114
|
handleInput() {
|
|
114
115
|
this.value = this.input.value;
|
|
115
116
|
this.formControlController.updateValidity();
|
|
116
|
-
this.emit("sd-1-
|
|
117
|
+
this.emit("sd-1-37-1-input");
|
|
117
118
|
}
|
|
118
|
-
handleInvalid() {
|
|
119
|
+
handleInvalid(event) {
|
|
119
120
|
this.formControlController.setValidity(false);
|
|
121
|
+
this.formControlController.emitInvalidEvent(event);
|
|
122
|
+
this.invalidMessage.textContent = event.target.validationMessage;
|
|
120
123
|
}
|
|
121
124
|
handleKeyDown(event) {
|
|
122
125
|
const hasModifier = event.metaKey || event.ctrlKey || event.shiftKey || event.altKey;
|
|
@@ -210,10 +213,7 @@ let SdInput = class extends SolidElement {
|
|
|
210
213
|
const hasLabel = this.label ? true : !!slots["label"];
|
|
211
214
|
const hasHelpText = this.helpText ? true : !!slots["helpText"];
|
|
212
215
|
const hasClearIcon = this.clearable && !this.readonly && (typeof this.value === "number" || this.value.length > 0);
|
|
213
|
-
const
|
|
214
|
-
const isInvalid = hasValidationAttr && !this.checkValidity();
|
|
215
|
-
const isValid = hasValidationAttr && this.checkValidity();
|
|
216
|
-
const inputState = this.disabled ? "disabled" : this.readonly ? "readonly" : this.hasFocus && isInvalid ? "activeInvalid" : this.hasFocus && isValid ? "activeValid" : this.hasFocus ? "active" : isInvalid ? "invalid" : isValid ? "valid" : "default";
|
|
216
|
+
const inputState = this.disabled ? "disabled" : this.readonly ? "readonly" : this.hasFocus && this.showInvalidStyle ? "activeInvalid" : this.hasFocus && this.showValidStyle ? "activeValid" : this.hasFocus ? "active" : this.showInvalidStyle ? "invalid" : this.showValidStyle ? "valid" : "default";
|
|
217
217
|
const textSize = this.size === "sm" ? "text-sm" : "text-base";
|
|
218
218
|
const textColor = {
|
|
219
219
|
disabled: "text-neutral-500",
|
|
@@ -242,40 +242,41 @@ let SdInput = class extends SolidElement {
|
|
|
242
242
|
md: "text-lg",
|
|
243
243
|
lg: "text-xl"
|
|
244
244
|
}[this.size];
|
|
245
|
-
return html`<div part="form-control" class="${cx(
|
|
246
|
-
"
|
|
247
|
-
borderColor
|
|
248
|
-
)}"></div><div part="base" class="${cx(
|
|
249
|
-
"px-4 flex flex-row items-center rounded-default transition-all",
|
|
245
|
+
return html`<div part="form-control" class="${cx(this.disabled && "pointer-events-none")}"><label part="form-control-label" id="label" class="${cx("mb-2", hasLabel ? "inline-block" : "hidden", textSize)}" for="input" aria-hidden="${hasLabel ? "false" : "true"}"><slot name="label">${this.label}</slot></label><div part="form-control-input" class="relative w-full"><div part="border" class="${cx("absolute w-full h-full pointer-events-none border rounded-default", borderColor)}"></div><div part="base" class="${cx(
|
|
246
|
+
"px-4 flex flex-row items-center rounded-default transition-all bg-white",
|
|
250
247
|
// Vertical Padding
|
|
251
248
|
this.size === "lg" ? "py-2" : "py-1",
|
|
252
249
|
// States
|
|
253
250
|
!this.disabled && !this.readonly ? "hover:bg-neutral-200" : "",
|
|
254
251
|
this.readonly && "bg-neutral-100",
|
|
255
|
-
|
|
256
|
-
textColor,
|
|
257
|
-
!this.value && "input--empty",
|
|
258
|
-
this.noSpinButtons && "input--no-spin-buttons",
|
|
259
|
-
isFirefox && "input--is-firefox"
|
|
252
|
+
textColor
|
|
260
253
|
)}">${slots["left"] ? html`<slot name="left" part="left" class="${cx("inline-flex", this.size === "sm" ? "mr-1" : "mr-2", iconColor, iconSize)}"></slot>` : ""} <input part="input" id="input" class="${cx(
|
|
261
254
|
"min-w-0 flex-grow focus:outline-none bg-transparent placeholder-neutral-700",
|
|
262
255
|
this.size === "sm" ? "h-6" : "h-8",
|
|
263
256
|
textSize
|
|
264
|
-
)}" 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-1-
|
|
257
|
+
)}" 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-1-37-1-icon class="${cx("text-neutral-500", iconSize)}" library="system" name="closing-round"></sd-1-37-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-1-37-1-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="system" name="eye"></sd-1-37-1-icon></slot>` : html`<slot name="hide-password-icon"><sd-1-37-1-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="system" name="eye-crossed-out"></sd-1-37-1-icon></slot>`}</button>` : ""} ${(this.type === "date" || this.type === "datetime-local") && !isFirefox ? html`<sd-1-37-1-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="system" name="calendar"></sd-1-37-1-icon>` : ""} ${this.type === "time" ? html`<sd-1-37-1-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="system" name="clock"></sd-1-37-1-icon>` : ""} ${this.showInvalidStyle ? html`<sd-1-37-1-icon class="${cx("text-error", iconMarginLeft, iconSize)}" library="system" name="risk"></sd-1-37-1-icon>` : ""} ${this.showValidStyle ? html`<sd-1-37-1-icon class="${cx("text-success", iconMarginLeft, iconSize)}" library="system" name="confirm"></sd-1-37-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()}`;
|
|
265
258
|
}
|
|
266
259
|
};
|
|
267
260
|
SdInput.styles = [
|
|
268
261
|
componentStyles,
|
|
269
|
-
formControlStyles,
|
|
270
262
|
SolidElement.styles,
|
|
271
|
-
css`:host{position:relative;box-sizing:border-box;display:inline-block;width:100%;text-align:left}:host([vertical]){display:block}:host([required]) #label
|
|
263
|
+
css`:host{position:relative;box-sizing:border-box;display:inline-block;width:100%;text-align:left}:host([vertical]){display:block}:host([required]) #label::after{content:' *'}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}`
|
|
272
264
|
];
|
|
273
265
|
__decorateClass([
|
|
274
266
|
query("#input")
|
|
275
267
|
], SdInput.prototype, "input", 2);
|
|
268
|
+
__decorateClass([
|
|
269
|
+
query("#invalid-message")
|
|
270
|
+
], SdInput.prototype, "invalidMessage", 2);
|
|
276
271
|
__decorateClass([
|
|
277
272
|
state()
|
|
278
273
|
], SdInput.prototype, "hasFocus", 2);
|
|
274
|
+
__decorateClass([
|
|
275
|
+
state()
|
|
276
|
+
], SdInput.prototype, "showValidStyle", 2);
|
|
277
|
+
__decorateClass([
|
|
278
|
+
state()
|
|
279
|
+
], SdInput.prototype, "showInvalidStyle", 2);
|
|
279
280
|
__decorateClass([
|
|
280
281
|
property({ reflect: true })
|
|
281
282
|
], SdInput.prototype, "type", 2);
|
|
@@ -383,7 +384,7 @@ __decorateClass([
|
|
|
383
384
|
watch("value", { waitUntilFirstUpdate: true })
|
|
384
385
|
], SdInput.prototype, "handleValueChange", 1);
|
|
385
386
|
SdInput = __decorateClass([
|
|
386
|
-
customElement("sd-1-
|
|
387
|
+
customElement("sd-1-37-1-input")
|
|
387
388
|
], SdInput);
|
|
388
389
|
export {
|
|
389
390
|
SdInput as default
|
|
@@ -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-37-1-icon){font-size:1.25em;margin-bottom:-.25em}:host([size=sm][standalone]) ::slotted(sd-1-37-1-icon){font-size:var(--sd-font-size-base,1rem)}:host([size=lg][standalone]) ::slotted(sd-1-37-1-icon){font-size:var(--sd-font-size-xl,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-37-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-
|
|
108
|
+
)}">${this.divider && this.vertical ? html`<sd-1-37-1-divider part="divider" class="${cx("w-full transition-all absolute -top-[1px] left-0", this.calculatePaddingX())}"></sd-1-37-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-37-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-
|
|
111
|
+
)}"></sd-1-37-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-
|
|
162
|
+
customElement("sd-1-37-1-navigation-item")
|
|
163
163
|
], SdNavigationItem);
|
|
164
164
|
export {
|
|
165
165
|
SdNavigationItem as default
|
|
@@ -129,7 +129,7 @@ let SdNotification = class extends SolidElement {
|
|
|
129
129
|
() => {
|
|
130
130
|
toastStack.removeChild(this);
|
|
131
131
|
resolve();
|
|
132
|
-
if (toastStack.querySelector("sd-1-
|
|
132
|
+
if (toastStack.querySelector("sd-1-37-1-notification") === null) {
|
|
133
133
|
toastStack.remove();
|
|
134
134
|
}
|
|
135
135
|
},
|
|
@@ -146,15 +146,15 @@ let SdNotification = class extends SolidElement {
|
|
|
146
146
|
warning: "bg-warning",
|
|
147
147
|
error: "bg-error"
|
|
148
148
|
}[this.variant]
|
|
149
|
-
)}"><sd-1-
|
|
149
|
+
)}"><sd-1-37-1-icon name="${{
|
|
150
150
|
info: "info-circle",
|
|
151
151
|
success: "confirm-circle",
|
|
152
152
|
warning: "exclamation-circle",
|
|
153
153
|
error: "warning"
|
|
154
|
-
}[this.variant] || ""}" library="system" class="h-6 w-6 text-white"></sd-1-
|
|
154
|
+
}[this.variant] || ""}" library="system" class="h-6 w-6 text-white"></sd-1-37-1-icon></slot><div part="content" class="${cx(
|
|
155
155
|
"h-full w-full p-1 gap-2 flex items-center justify-stretch bg-white",
|
|
156
156
|
"border-solid border-[1px] border-l-0 border-neutral-400"
|
|
157
|
-
)}"><slot part="message" class="block w-full pl-3 py-2" aria-live="polite"></slot>${this.closable ? html`<sd-1-
|
|
157
|
+
)}"><slot part="message" class="block w-full pl-3 py-2" aria-live="polite"></slot>${this.closable ? html`<sd-1-37-1-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" label="${this.localize.term("close")}" @click="${this.handleCloseClick}"><sd-1-37-1-icon name="close" library="system" color="currentColor"></sd-1-37-1-icon></sd-1-37-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>`;
|
|
158
158
|
}
|
|
159
159
|
};
|
|
160
160
|
SdNotification.styles = [
|
|
@@ -190,7 +190,7 @@ __decorateClass([
|
|
|
190
190
|
watch("duration")
|
|
191
191
|
], SdNotification.prototype, "handleDurationChange", 1);
|
|
192
192
|
SdNotification = __decorateClass([
|
|
193
|
-
customElement("sd-1-
|
|
193
|
+
customElement("sd-1-37-1-notification")
|
|
194
194
|
], SdNotification);
|
|
195
195
|
setDefaultAnimation("notification.show", {
|
|
196
196
|
keyframes: [
|
|
@@ -7,7 +7,6 @@ import { query, state, property } from "lit/decorators.js";
|
|
|
7
7
|
import { watch } from "../../internal/watch.js";
|
|
8
8
|
import componentStyles from "../../styles/component.styles.js";
|
|
9
9
|
import cx from "classix";
|
|
10
|
-
import formControlStyles from "../../styles/form-control.styles.js";
|
|
11
10
|
import SolidElement from "../../internal/solid-element.js";
|
|
12
11
|
var __defProp = Object.defineProperty;
|
|
13
12
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -95,12 +94,11 @@ let SdOption = class extends SolidElement {
|
|
|
95
94
|
)}"></span> ${this.checkbox ? html`<span id="control" part="control ${this.selected ? " control--checked" : "control--unchecked"}" class="${cx(
|
|
96
95
|
"relative flex flex-initial items-center justify-center border rounded-sm h-4 w-4 mr-2",
|
|
97
96
|
this.disabled ? "border-neutral-500" : this.selected ? "bg-accent border-accent" : "border-neutral-800"
|
|
98
|
-
)}">${this.selected ? html`<sd-1-
|
|
97
|
+
)}">${this.selected ? html`<sd-1-37-1-icon part="checked-icon" class="text-white w-3 h-3" library="system" name="status-hook"></sd-1-37-1-icon>` : ""}</span>` : ""} ${slots["left"] ? html`<slot name="left" part="left" class="inline-flex mr-2"></slot>` : ""}<slot part="label" class="inline-block flex-grow" @slotchange="${this.handleDefaultSlotChange}"></slot>${slots["right"] ? html`<slot name="right" part="right" class="inline-flex ml-2"></slot>` : ""}</div>`;
|
|
99
98
|
}
|
|
100
99
|
};
|
|
101
100
|
SdOption.styles = [
|
|
102
101
|
componentStyles,
|
|
103
|
-
formControlStyles,
|
|
104
102
|
SolidElement.styles,
|
|
105
103
|
css`:host{position:relative;display:block;width:100%;outline:2px solid transparent!important;outline-offset:2px!important}`
|
|
106
104
|
];
|
|
@@ -138,7 +136,7 @@ __decorateClass([
|
|
|
138
136
|
watch("value")
|
|
139
137
|
], SdOption.prototype, "handleValueChange", 1);
|
|
140
138
|
SdOption = __decorateClass([
|
|
141
|
-
customElement("sd-1-
|
|
139
|
+
customElement("sd-1-37-1-option")
|
|
142
140
|
], SdOption);
|
|
143
141
|
export {
|
|
144
142
|
SdOption as default
|
|
@@ -329,7 +329,7 @@ __decorateClass([
|
|
|
329
329
|
property({ attribute: "auto-size-padding", type: Number })
|
|
330
330
|
], SdPopup.prototype, "autoSizePadding", 2);
|
|
331
331
|
SdPopup = __decorateClass([
|
|
332
|
-
customElement("sd-1-
|
|
332
|
+
customElement("sd-1-37-1-popup")
|
|
333
333
|
], SdPopup);
|
|
334
334
|
export {
|
|
335
335
|
SdPopup as default
|