@solid-design-system/components 4.5.2 → 4.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/chunk.O2MXUVMS.js +1 -0
- package/cdn/components/expandable/expandable.js +1 -1
- package/cdn/custom-elements.json +1 -1
- package/cdn/solid-components.bundle.js +13 -13
- package/cdn/solid-components.iife.js +12 -12
- package/cdn/solid-components.js +1 -1
- package/cdn/web-types.json +1 -1
- package/cdn-versioned/_components/menu/menu.js +1 -1
- package/cdn-versioned/_components/menu/menu.styles.js +1 -1
- package/cdn-versioned/_components/menu-item/menu-item.js +2 -2
- package/cdn-versioned/chunks/chunk.2GY6T6QS.js +1 -1
- package/cdn-versioned/chunks/chunk.2QVXJFPL.js +2 -2
- package/cdn-versioned/chunks/chunk.3X7ETFNY.js +1 -1
- package/cdn-versioned/chunks/chunk.4T3MMIEQ.js +1 -1
- package/cdn-versioned/chunks/chunk.4XZVXBNJ.js +1 -1
- package/cdn-versioned/chunks/chunk.5674RCSA.js +1 -1
- package/cdn-versioned/chunks/chunk.5AE46ABJ.js +4 -4
- package/cdn-versioned/chunks/chunk.5AILWWY2.js +1 -1
- package/cdn-versioned/chunks/chunk.5IYTJ7AF.js +1 -1
- package/cdn-versioned/chunks/chunk.5NXE2OTZ.js +1 -1
- package/cdn-versioned/chunks/chunk.5PTPXZR2.js +1 -1
- package/cdn-versioned/chunks/chunk.5ZCRDWIG.js +1 -1
- package/cdn-versioned/chunks/chunk.63QVXIWO.js +1 -1
- package/cdn-versioned/chunks/chunk.65NSSTJE.js +1 -1
- package/cdn-versioned/chunks/chunk.7T77HZ4H.js +1 -1
- package/cdn-versioned/chunks/chunk.7TRFUW6U.js +1 -1
- package/cdn-versioned/chunks/chunk.ABTV3KUR.js +1 -1
- package/cdn-versioned/chunks/chunk.AYIAV4JH.js +1 -1
- package/cdn-versioned/chunks/chunk.BJ5V345G.js +4 -4
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/chunk.E6ML63IG.js +1 -1
- package/cdn-versioned/chunks/chunk.F65VOONA.js +1 -1
- package/cdn-versioned/chunks/chunk.FHU3KJ7Y.js +1 -1
- package/cdn-versioned/chunks/chunk.GCDW2GZT.js +3 -3
- package/cdn-versioned/chunks/chunk.GCJUHSVB.js +1 -1
- package/cdn-versioned/chunks/chunk.GODTH2BV.js +1 -1
- package/cdn-versioned/chunks/chunk.HHX4U6WL.js +1 -1
- package/cdn-versioned/chunks/chunk.ILP7DEPA.js +1 -1
- package/cdn-versioned/chunks/chunk.L5V5SVP4.js +1 -1
- package/cdn-versioned/chunks/chunk.LB6APJYZ.js +2 -2
- package/cdn-versioned/chunks/chunk.LET4FMBB.js +1 -1
- package/cdn-versioned/chunks/chunk.LKO4ZRE7.js +1 -1
- package/cdn-versioned/chunks/chunk.MQTBDNS4.js +1 -1
- package/cdn-versioned/chunks/chunk.NFQN6UG4.js +1 -1
- package/cdn-versioned/chunks/chunk.NKQX2WLJ.js +1 -1
- package/cdn-versioned/chunks/chunk.O2MXUVMS.js +1 -0
- package/cdn-versioned/chunks/chunk.P3BGKFWO.js +1 -1
- package/cdn-versioned/chunks/chunk.P3J3NT4K.js +1 -1
- package/cdn-versioned/chunks/chunk.PKR76VXM.js +1 -1
- package/cdn-versioned/chunks/chunk.QU74JYEO.js +1 -1
- package/cdn-versioned/chunks/chunk.RGJXEMYT.js +1 -1
- package/cdn-versioned/chunks/chunk.SNB43P47.js +1 -1
- package/cdn-versioned/chunks/chunk.UXSHRSR2.js +1 -1
- package/cdn-versioned/chunks/chunk.V4OUQ3EH.js +1 -1
- package/cdn-versioned/chunks/chunk.VTZF6UEH.js +1 -1
- package/cdn-versioned/chunks/chunk.VZSFEHBE.js +1 -1
- package/cdn-versioned/chunks/chunk.W7775W5G.js +1 -1
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.WOLYEHCJ.js +1 -1
- package/cdn-versioned/chunks/chunk.YR376FSM.js +1 -1
- package/cdn-versioned/chunks/chunk.YUKQPW36.js +1 -1
- package/cdn-versioned/chunks/chunk.ZH5A5PAH.js +1 -1
- package/cdn-versioned/chunks/chunk.ZQBRQ52P.js +1 -1
- package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
- package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/cdn-versioned/components/animation/animation.d.ts +1 -1
- package/cdn-versioned/components/audio/audio.d.ts +1 -1
- package/cdn-versioned/components/badge/badge.d.ts +1 -1
- package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/cdn-versioned/components/button/button.d.ts +1 -1
- package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
- package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
- package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/cdn-versioned/components/combobox/combobox.d.ts +4 -4
- package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
- package/cdn-versioned/components/divider/divider.d.ts +1 -1
- package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
- package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
- package/cdn-versioned/components/expandable/expandable.js +1 -1
- package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/cdn-versioned/components/header/header.d.ts +1 -1
- package/cdn-versioned/components/icon/icon.d.ts +1 -1
- package/cdn-versioned/components/include/include.d.ts +1 -1
- package/cdn-versioned/components/input/input.d.ts +1 -1
- package/cdn-versioned/components/link/link.d.ts +1 -1
- package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/cdn-versioned/components/notification/notification.d.ts +1 -1
- package/cdn-versioned/components/optgroup/optgroup.d.ts +2 -2
- package/cdn-versioned/components/option/option.d.ts +1 -1
- package/cdn-versioned/components/popup/popup.d.ts +1 -1
- package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/cdn-versioned/components/radio/radio.d.ts +1 -1
- package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/cdn-versioned/components/radio-group/radio-group.d.ts +2 -2
- package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/cdn-versioned/components/select/select.d.ts +4 -4
- package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
- package/cdn-versioned/components/step/step.d.ts +1 -1
- package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
- package/cdn-versioned/components/switch/switch.d.ts +1 -1
- package/cdn-versioned/components/tab/tab.d.ts +1 -1
- package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/cdn-versioned/components/tag/tag.d.ts +1 -1
- package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
- package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/cdn-versioned/components/video/video.d.ts +1 -1
- package/cdn-versioned/custom-elements.json +202 -202
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +20 -20
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +20 -20
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +80 -80
- package/cdn-versioned/web-types.json +137 -137
- package/dist/chunks/{chunk.WPHOQL7V.js → chunk.X4KMEIZK.js} +2 -1
- package/dist/components/expandable/expandable.js +1 -1
- package/dist/custom-elements.json +1 -1
- package/dist/solid-components.js +1 -1
- package/dist/web-types.json +1 -1
- package/dist-versioned/_components/menu/menu.js +1 -1
- package/dist-versioned/_components/menu/menu.styles.js +1 -1
- package/dist-versioned/_components/menu-item/menu-item.js +2 -2
- package/dist-versioned/chunks/chunk.2SYIHQWC.js +5 -5
- package/dist-versioned/chunks/chunk.3GR2B6T5.js +5 -5
- package/dist-versioned/chunks/chunk.3QI4RAP5.js +2 -2
- package/dist-versioned/chunks/chunk.3W7IJBAR.js +2 -2
- package/dist-versioned/chunks/chunk.4A22QCDA.js +1 -1
- package/dist-versioned/chunks/chunk.4KQX3YKY.js +1 -1
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/chunk.6S3CCHLZ.js +1 -1
- package/dist-versioned/chunks/chunk.7DTJFAHS.js +2 -2
- package/dist-versioned/chunks/chunk.7JAL5UCT.js +1 -1
- package/dist-versioned/chunks/chunk.7RSKPK73.js +6 -6
- package/dist-versioned/chunks/chunk.7VNCOUWO.js +1 -1
- package/dist-versioned/chunks/chunk.AVS4VJXO.js +2 -2
- package/dist-versioned/chunks/chunk.AWASHA2T.js +1 -1
- package/dist-versioned/chunks/chunk.AXJB3BAZ.js +5 -5
- package/dist-versioned/chunks/chunk.BN7U3AV4.js +2 -2
- package/dist-versioned/chunks/chunk.EON7Z22N.js +4 -4
- package/dist-versioned/chunks/chunk.FEQ35E2X.js +2 -2
- package/dist-versioned/chunks/chunk.FRPVDR6Z.js +1 -1
- package/dist-versioned/chunks/chunk.G37Y7IVD.js +2 -2
- package/dist-versioned/chunks/chunk.GAUAMVUZ.js +26 -26
- package/dist-versioned/chunks/chunk.HJ3ZUH4A.js +1 -1
- package/dist-versioned/chunks/chunk.HKBYU6Q2.js +1 -1
- package/dist-versioned/chunks/chunk.HWQTXXSY.js +5 -5
- package/dist-versioned/chunks/chunk.IAJPZG3C.js +13 -13
- package/dist-versioned/chunks/chunk.IKWY7WM6.js +3 -3
- package/dist-versioned/chunks/chunk.JD5XFZKL.js +2 -2
- package/dist-versioned/chunks/chunk.JE7PBXXX.js +2 -2
- package/dist-versioned/chunks/chunk.JIG7HDOK.js +2 -2
- package/dist-versioned/chunks/chunk.KCUUHR5D.js +5 -5
- package/dist-versioned/chunks/chunk.KSYD4JIL.js +3 -3
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
- package/dist-versioned/chunks/chunk.KX2TPV2P.js +3 -3
- package/dist-versioned/chunks/chunk.N42GCDAU.js +9 -9
- package/dist-versioned/chunks/chunk.NF4TXS55.js +1 -1
- package/dist-versioned/chunks/chunk.ONBGPY5D.js +5 -5
- package/dist-versioned/chunks/chunk.PLM7YZ2S.js +2 -2
- package/dist-versioned/chunks/chunk.QWZA3TLI.js +2 -2
- package/dist-versioned/chunks/chunk.RDHXOO2U.js +13 -13
- package/dist-versioned/chunks/chunk.RHLH2P45.js +29 -29
- package/dist-versioned/chunks/chunk.SEAUN4X5.js +2 -2
- package/dist-versioned/chunks/chunk.SH45GYZL.js +1 -1
- package/dist-versioned/chunks/chunk.T5VRGBLR.js +1 -1
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/chunk.UOH2EPC3.js +1 -1
- package/dist-versioned/chunks/chunk.V7WU4CMK.js +2 -2
- package/dist-versioned/chunks/chunk.VFC3SCSY.js +2 -2
- package/dist-versioned/chunks/chunk.WQ4TYFW3.js +1 -1
- package/dist-versioned/chunks/{chunk.WPHOQL7V.js → chunk.X4KMEIZK.js} +3 -2
- package/dist-versioned/chunks/chunk.XMUDNUDW.js +11 -11
- package/dist-versioned/chunks/chunk.YCY2LBBX.js +3 -3
- package/dist-versioned/chunks/chunk.Z3FJM2FE.js +3 -3
- package/dist-versioned/chunks/chunk.ZTZN3GYY.js +6 -6
- package/dist-versioned/components/accordion/accordion.d.ts +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/animation/animation.d.ts +1 -1
- package/dist-versioned/components/audio/audio.d.ts +1 -1
- package/dist-versioned/components/badge/badge.d.ts +1 -1
- package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/dist-versioned/components/button/button.d.ts +1 -1
- package/dist-versioned/components/button-group/button-group.d.ts +1 -1
- package/dist-versioned/components/carousel/carousel.d.ts +1 -1
- package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist-versioned/components/combobox/combobox.d.ts +4 -4
- package/dist-versioned/components/dialog/dialog.d.ts +1 -1
- package/dist-versioned/components/divider/divider.d.ts +1 -1
- package/dist-versioned/components/drawer/drawer.d.ts +1 -1
- package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/dist-versioned/components/expandable/expandable.d.ts +1 -1
- package/dist-versioned/components/expandable/expandable.js +1 -1
- package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/dist-versioned/components/header/header.d.ts +1 -1
- package/dist-versioned/components/icon/icon.d.ts +1 -1
- package/dist-versioned/components/include/include.d.ts +1 -1
- package/dist-versioned/components/input/input.d.ts +1 -1
- package/dist-versioned/components/link/link.d.ts +1 -1
- package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/dist-versioned/components/notification/notification.d.ts +1 -1
- package/dist-versioned/components/optgroup/optgroup.d.ts +2 -2
- package/dist-versioned/components/option/option.d.ts +1 -1
- package/dist-versioned/components/popup/popup.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/dist-versioned/components/radio/radio.d.ts +1 -1
- package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/dist-versioned/components/radio-group/radio-group.d.ts +2 -2
- package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/dist-versioned/components/select/select.d.ts +4 -4
- package/dist-versioned/components/spinner/spinner.d.ts +1 -1
- package/dist-versioned/components/step/step.d.ts +1 -1
- package/dist-versioned/components/step-group/step-group.d.ts +1 -1
- package/dist-versioned/components/switch/switch.d.ts +1 -1
- package/dist-versioned/components/tab/tab.d.ts +1 -1
- package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/dist-versioned/components/tag/tag.d.ts +1 -1
- package/dist-versioned/components/textarea/textarea.d.ts +1 -1
- package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/custom-elements.json +202 -202
- package/dist-versioned/internal/form.js +3 -3
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +1 -1
- package/dist-versioned/vscode.html-custom-data.json +80 -80
- package/dist-versioned/web-types.json +137 -137
- package/package.json +1 -1
- package/cdn/chunks/chunk.PDIUABFP.js +0 -1
- package/cdn-versioned/chunks/chunk.PDIUABFP.js +0 -1
|
@@ -85,7 +85,7 @@ var SdFlipcard = class extends SolidElement {
|
|
|
85
85
|
"gradient-light": this.placement === "top" ? "bg-gradient-to-b from-white/60 to-white/0 mb-auto" : "bg-gradient-to-t from-white/60 to-white/0 mt-auto",
|
|
86
86
|
"gradient-dark": this.placement === "bottom" ? "bg-gradient-to-t from-primary-800/60 to-primary-800/0 mt-auto" : "bg-gradient-to-b from-primary-800/60 to-primary-800/0 mb-auto"
|
|
87
87
|
}[this.frontVariant]
|
|
88
|
-
)}"></div><sd-4-5-
|
|
88
|
+
)}"></div><sd-4-5-3-button part="front-button" size="md" variant="${{
|
|
89
89
|
primary: "tertiary",
|
|
90
90
|
"primary-100": "tertiary",
|
|
91
91
|
"gradient-light": "primary",
|
|
@@ -95,7 +95,7 @@ var SdFlipcard = class extends SolidElement {
|
|
|
95
95
|
"primary-100": false,
|
|
96
96
|
"gradient-light": true,
|
|
97
97
|
"gradient-dark": true
|
|
98
|
-
}[this.frontVariant]}" class="${cx("absolute right-0 p-2 flex-shrink-0", this.placement === "top" ? "bottom-0" : "top-0")}" @click="${this.flipFront}" @keydown="${this.handleFrontKeydown}"><sd-4-5-
|
|
98
|
+
}[this.frontVariant]}" class="${cx("absolute right-0 p-2 flex-shrink-0", this.placement === "top" ? "bottom-0" : "top-0")}" @click="${this.flipFront}" @keydown="${this.handleFrontKeydown}"><sd-4-5-3-icon library="system" name="reload" label="Flip to Back"></sd-4-5-3-icon></sd-4-5-3-button></div><div part="back" tabindex="0" aria-hidden="${this.activeSide === "front"}" inert="${ifDefined(this.activeSide === "front" || void 0)}" class="${cx(
|
|
99
99
|
"flip-card__side flip-card__side--back overflow-hidden transition-transform duration-1000 ease-in-out",
|
|
100
100
|
"flex focus-visible:focus-outline",
|
|
101
101
|
"absolute top-0 left-0 w-full h-full justify-end text-left",
|
|
@@ -128,7 +128,7 @@ var SdFlipcard = class extends SolidElement {
|
|
|
128
128
|
"gradient-light": this.placement === "top" ? "bg-gradient-to-b from-white/60 to-white/0 mb-auto" : "bg-gradient-to-t from-white/60 to-white/0 mt-auto",
|
|
129
129
|
"gradient-dark": this.placement === "bottom" ? "bg-gradient-to-t from-primary-800/60 to-primary-800/0 mt-auto" : "bg-gradient-to-b from-primary-800/60 to-primary-800/0 mb-auto"
|
|
130
130
|
}[this.backVariant]
|
|
131
|
-
)}"></div><sd-4-5-
|
|
131
|
+
)}"></div><sd-4-5-3-button size="md" part="back-button" variant="${{
|
|
132
132
|
primary: "tertiary",
|
|
133
133
|
"primary-100": "tertiary",
|
|
134
134
|
"gradient-light": "primary",
|
|
@@ -138,7 +138,7 @@ var SdFlipcard = class extends SolidElement {
|
|
|
138
138
|
"primary-100": false,
|
|
139
139
|
"gradient-light": true,
|
|
140
140
|
"gradient-dark": true
|
|
141
|
-
}[this.backVariant]}" class="${cx("absolute right-0 p-2 flex-shrink-0", this.placement === "top" ? "bottom-0" : "top-0")}" @click="${this.flipBack}" @keydown="${this.handleBackKeydown}"><sd-4-5-
|
|
141
|
+
}[this.backVariant]}" class="${cx("absolute right-0 p-2 flex-shrink-0", this.placement === "top" ? "bottom-0" : "top-0")}" @click="${this.flipBack}" @keydown="${this.handleBackKeydown}"><sd-4-5-3-icon library="system" name="reload" label="Flip to Front"></sd-4-5-3-icon></sd-4-5-3-button></div></div>`;
|
|
142
142
|
}
|
|
143
143
|
};
|
|
144
144
|
/**
|
|
@@ -170,7 +170,7 @@ __decorateClass([
|
|
|
170
170
|
state()
|
|
171
171
|
], SdFlipcard.prototype, "activeSide", 2);
|
|
172
172
|
SdFlipcard = __decorateClass([
|
|
173
|
-
customElement("sd-4-5-
|
|
173
|
+
customElement("sd-4-5-3-flipcard")
|
|
174
174
|
], SdFlipcard);
|
|
175
175
|
|
|
176
176
|
export {
|
|
@@ -71,7 +71,7 @@ var SdTag = class extends SolidElement {
|
|
|
71
71
|
lg: "text-base",
|
|
72
72
|
sm: "text-[12px]"
|
|
73
73
|
}[this.size]
|
|
74
|
-
)}"><sd-4-5-
|
|
74
|
+
)}"><sd-4-5-3-icon library="system" name="close" label="remove"></sd-4-5-3-icon></slot>` : ""}</${tag}>`;
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
77
|
SdTag.styles = [
|
|
@@ -106,7 +106,7 @@ __decorateClass([
|
|
|
106
106
|
property({ reflect: true })
|
|
107
107
|
], SdTag.prototype, "download", 2);
|
|
108
108
|
SdTag = __decorateClass([
|
|
109
|
-
customElement("sd-4-5-
|
|
109
|
+
customElement("sd-4-5-3-tag")
|
|
110
110
|
], SdTag);
|
|
111
111
|
|
|
112
112
|
export {
|
|
@@ -32,7 +32,7 @@ var SdDivider = class extends SolidElement {
|
|
|
32
32
|
*/
|
|
33
33
|
SdDivider.styles = [
|
|
34
34
|
...SolidElement.styles,
|
|
35
|
-
css`:host{margin:var(--sd-spacing-0,0)}:host(sd-4-5-
|
|
35
|
+
css`:host{margin:var(--sd-spacing-0,0)}:host(sd-4-5-3-divider[orientation=horizontal]){display:block}:host(sd-4-5-3-divider[orientation=vertical]){display:inline-block}`
|
|
36
36
|
];
|
|
37
37
|
__decorateClass([
|
|
38
38
|
property({ type: String, reflect: true })
|
|
@@ -41,7 +41,7 @@ __decorateClass([
|
|
|
41
41
|
property({ type: Boolean, reflect: true })
|
|
42
42
|
], SdDivider.prototype, "inverted", 2);
|
|
43
43
|
SdDivider = __decorateClass([
|
|
44
|
-
customElement("sd-4-5-
|
|
44
|
+
customElement("sd-4-5-3-divider")
|
|
45
45
|
], SdDivider);
|
|
46
46
|
|
|
47
47
|
export {
|
|
@@ -29,8 +29,8 @@ var SdTabGroup = class extends SolidElement {
|
|
|
29
29
|
}
|
|
30
30
|
connectedCallback() {
|
|
31
31
|
const whenAllDefined = Promise.all([
|
|
32
|
-
customElements.whenDefined("sd-4-5-
|
|
33
|
-
customElements.whenDefined("sd-4-5-
|
|
32
|
+
customElements.whenDefined("sd-4-5-3-tab"),
|
|
33
|
+
customElements.whenDefined("sd-4-5-3-tab-panel")
|
|
34
34
|
]);
|
|
35
35
|
super.connectedCallback();
|
|
36
36
|
this.resizeObserver = new ResizeObserver(() => {
|
|
@@ -71,19 +71,19 @@ var SdTabGroup = class extends SolidElement {
|
|
|
71
71
|
getAllTabs(options = { includeDisabled: true }) {
|
|
72
72
|
const slot = this.shadowRoot.querySelector('slot[name="nav"]');
|
|
73
73
|
return [...slot.assignedElements()].filter((el) => {
|
|
74
|
-
return options.includeDisabled ? el.tagName.toLowerCase() === "sd-4-5-
|
|
74
|
+
return options.includeDisabled ? el.tagName.toLowerCase() === "sd-4-5-3-tab" : el.tagName.toLowerCase() === "sd-4-5-3-tab" && !el.disabled;
|
|
75
75
|
});
|
|
76
76
|
}
|
|
77
77
|
getAllPanels() {
|
|
78
|
-
return [...this.body.assignedElements()].filter((el) => el.tagName.toLowerCase() === "sd-4-5-
|
|
78
|
+
return [...this.body.assignedElements()].filter((el) => el.tagName.toLowerCase() === "sd-4-5-3-tab-panel");
|
|
79
79
|
}
|
|
80
80
|
getActiveTab() {
|
|
81
81
|
return this.tabs.find((t) => t.matches(":focus"));
|
|
82
82
|
}
|
|
83
83
|
handleClick(event) {
|
|
84
84
|
const target = event.target;
|
|
85
|
-
const tab = target.closest("sd-4-5-
|
|
86
|
-
const tabGroup = tab == null ? void 0 : tab.closest("sd-4-5-
|
|
85
|
+
const tab = target.closest("sd-4-5-3-tab");
|
|
86
|
+
const tabGroup = tab == null ? void 0 : tab.closest("sd-4-5-3-tab-group");
|
|
87
87
|
if (tabGroup !== this) {
|
|
88
88
|
return;
|
|
89
89
|
}
|
|
@@ -93,8 +93,8 @@ var SdTabGroup = class extends SolidElement {
|
|
|
93
93
|
}
|
|
94
94
|
handleKeyDown(event) {
|
|
95
95
|
const target = event.target;
|
|
96
|
-
const tab = target.closest("sd-4-5-
|
|
97
|
-
const tabGroup = tab == null ? void 0 : tab.closest("sd-4-5-
|
|
96
|
+
const tab = target.closest("sd-4-5-3-tab");
|
|
97
|
+
const tabGroup = tab == null ? void 0 : tab.closest("sd-4-5-3-tab-group");
|
|
98
98
|
if (tabGroup !== this) {
|
|
99
99
|
return;
|
|
100
100
|
}
|
|
@@ -119,7 +119,7 @@ var SdTabGroup = class extends SolidElement {
|
|
|
119
119
|
if (["ArrowLeft", "ArrowRight", "ArrowUp", "ArrowDown", "Home", "End"].includes(event.key)) {
|
|
120
120
|
const activeEl = this.tabs.find((t) => t.matches(":focus"));
|
|
121
121
|
const isRtl = this.localize.dir() === "rtl";
|
|
122
|
-
if ((activeEl == null ? void 0 : activeEl.tagName.toLowerCase()) === "sd-4-5-
|
|
122
|
+
if ((activeEl == null ? void 0 : activeEl.tagName.toLowerCase()) === "sd-4-5-3-tab") {
|
|
123
123
|
let index = this.tabs.indexOf(activeEl);
|
|
124
124
|
if (event.key === "Home") {
|
|
125
125
|
index = 0;
|
|
@@ -215,15 +215,15 @@ var SdTabGroup = class extends SolidElement {
|
|
|
215
215
|
return html`<div part="base" class="${cx("flex flex-col rounded-none")}" @click="${this.handleClick}" @keydown="${this.handleKeyDown}"><div part="nav" class="${cx(this.hasScrollControls && "relative py-0 px-12")}">${this.hasScrollControls ? html`<button part="scroll-button--start" exportparts="base:scroll-button__base" tabindex="-1" aria-hidden="true" class="${cx(
|
|
216
216
|
"sd-interactive flex items-center justify-center absolute top-0 bottom-0 left-0 !outline-offset-0 border-b border-neutral-400 z-10",
|
|
217
217
|
this.localize.dir() === "rtl" && "left-auto right-0"
|
|
218
|
-
)}" @click="${this.handleScrollToStart}"><sd-4-5-
|
|
218
|
+
)}" @click="${this.handleScrollToStart}"><sd-4-5-3-icon library="system" name="${isRtl ? "chevron-up" : "chevron-down"}" label="previous" class="${cx("h-6 w-12 rotate-90 grid place-items-center")}"></sd-4-5-3-icon></button>` : ""}<div part="scroll-container" class="flex overflow-x-auto focus-visible:focus-outline !outline-offset-0"><div part="tabs" class="${cx("flex flex-auto relative flex-row")}" role="tablist"><div part="separation" class="w-full border-[0.25px] border-neutral-400 absolute bottom-0"></div><slot name="nav" @slotchange="${this.syncTabsAndPanels}"></slot></div></div>${this.hasScrollControls ? html`<button part="scroll-button--end" exportparts="base:scroll-button__base" tabindex="-1" aria-hidden="true" class="${cx(
|
|
219
219
|
"sd-interactive flex items-center justify-center absolute top-0 bottom-0 right-0 !outline-offset-0 border-b border-neutral-400 z-10",
|
|
220
220
|
this.localize.dir() === "rtl" && "right-auto left-0"
|
|
221
|
-
)}" @click="${this.handleScrollToEnd}"><sd-4-5-
|
|
221
|
+
)}" @click="${this.handleScrollToEnd}"><sd-4-5-3-icon library="system" name="${isRtl ? "chevron-down" : "chevron-up"}" label="next" class="${cx("h-6 w-12 rotate-90 grid place-items-center")}"></sd-4-5-3-icon></button>` : ""}</div><slot part="body" class="${cx("block auto py-8 px-6", this.variant === "container" && "border border-neutral-400 border-t-0")}" @slotchange="${this.syncTabsAndPanels}"></slot></div>`;
|
|
222
222
|
}
|
|
223
223
|
};
|
|
224
224
|
SdTabGroup.styles = [
|
|
225
225
|
...SolidElement.styles,
|
|
226
|
-
css`:host{box-sizing:border-box;display:block}[part=scroll-container]{scrollbar-width:none}[part=scroll-container]::-webkit-scrollbar{height:var(--sd-spacing-0,0);width:var(--sd-spacing-0,0)}:focus-within::slotted(sd-4-5-
|
|
226
|
+
css`:host{box-sizing:border-box;display:block}[part=scroll-container]{scrollbar-width:none}[part=scroll-container]::-webkit-scrollbar{height:var(--sd-spacing-0,0);width:var(--sd-spacing-0,0)}:focus-within::slotted(sd-4-5-3-tab-panel){outline-color:rgb(var(--sd-color-primary,0 53 142)/1);outline-offset:2px;outline-style:solid;outline-width:2px}::slotted(sd-4-5-3-tab-panel){--padding:1rem 0}`
|
|
227
227
|
];
|
|
228
228
|
__decorateClass([
|
|
229
229
|
query("[part=base]")
|
|
@@ -244,7 +244,7 @@ __decorateClass([
|
|
|
244
244
|
property({ type: String, reflect: true })
|
|
245
245
|
], SdTabGroup.prototype, "activation", 2);
|
|
246
246
|
SdTabGroup = __decorateClass([
|
|
247
|
-
customElement("sd-4-5-
|
|
247
|
+
customElement("sd-4-5-3-tab-group")
|
|
248
248
|
], SdTabGroup);
|
|
249
249
|
|
|
250
250
|
export {
|
|
@@ -53,7 +53,7 @@ var SdSelect = class extends SolidElement {
|
|
|
53
53
|
constructor() {
|
|
54
54
|
super(...arguments);
|
|
55
55
|
this.formControlController = new FormControlController(this, {
|
|
56
|
-
assumeInteractionOn: ["sd-blur", "sd-4-5-
|
|
56
|
+
assumeInteractionOn: ["sd-blur", "sd-4-5-3-input"]
|
|
57
57
|
});
|
|
58
58
|
this.hasSlotController = new HasSlotController(this, "help-text", "label");
|
|
59
59
|
this.localize = new LocalizeController(this);
|
|
@@ -87,11 +87,11 @@ var SdSelect = class extends SolidElement {
|
|
|
87
87
|
this.styleOnValid = false;
|
|
88
88
|
this.hoist = false;
|
|
89
89
|
this.getTag = (option) => {
|
|
90
|
-
return html`<sd-4-5-
|
|
90
|
+
return html`<sd-4-5-3-tag ?disabled="${this.disabled}" part="tag" exportparts="
|
|
91
91
|
base:tag__base,
|
|
92
92
|
content:tag__content,
|
|
93
93
|
removable-indicator:tag__removable-indicator,
|
|
94
|
-
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagKeyDown(event, option)}" @sd-remove="${(event) => this.handleTagRemove(event, option)}">${option.getTextLabel()}</sd-4-5-
|
|
94
|
+
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagKeyDown(event, option)}" @sd-remove="${(event) => this.handleTagRemove(event, option)}">${option.getTextLabel()}</sd-4-5-3-tag>`;
|
|
95
95
|
};
|
|
96
96
|
this.handleDocumentFocusIn = (event) => {
|
|
97
97
|
const path = event.composedPath();
|
|
@@ -102,7 +102,7 @@ var SdSelect = class extends SolidElement {
|
|
|
102
102
|
this.handleDocumentKeyDown = (event) => {
|
|
103
103
|
const target = event.target;
|
|
104
104
|
const isClearButton = target.closest(".select__clear") !== null;
|
|
105
|
-
const isIconButton = target.closest("sd-4-5-
|
|
105
|
+
const isIconButton = target.closest("sd-4-5-3-icon-button") !== null;
|
|
106
106
|
if (isClearButton || isIconButton) {
|
|
107
107
|
return;
|
|
108
108
|
}
|
|
@@ -236,8 +236,8 @@ var SdSelect = class extends SolidElement {
|
|
|
236
236
|
event.preventDefault();
|
|
237
237
|
event.stopPropagation();
|
|
238
238
|
const tagParent = (_a = event.currentTarget) == null ? void 0 : _a.parentElement;
|
|
239
|
-
const previousTag = (_b = tagParent == null ? void 0 : tagParent.previousElementSibling) == null ? void 0 : _b.querySelector("sd-4-5-
|
|
240
|
-
const nextTag = (_c = tagParent == null ? void 0 : tagParent.nextElementSibling) == null ? void 0 : _c.querySelector("sd-4-5-
|
|
239
|
+
const previousTag = (_b = tagParent == null ? void 0 : tagParent.previousElementSibling) == null ? void 0 : _b.querySelector("sd-4-5-3-tag");
|
|
240
|
+
const nextTag = (_c = tagParent == null ? void 0 : tagParent.nextElementSibling) == null ? void 0 : _c.querySelector("sd-4-5-3-tag");
|
|
241
241
|
this.handleTagRemove(new CustomEvent("sd-remove"), option);
|
|
242
242
|
this.updateComplete.then(() => {
|
|
243
243
|
if (nextTag) {
|
|
@@ -257,7 +257,7 @@ var SdSelect = class extends SolidElement {
|
|
|
257
257
|
this.handleTagRemove(new CustomEvent("sd-remove"), this.selectedOptions[this.selectedOptions.length - 1]);
|
|
258
258
|
this.updateComplete.then(() => {
|
|
259
259
|
var _a;
|
|
260
|
-
const tags = (_a = this.shadowRoot) == null ? void 0 : _a.querySelectorAll("sd-4-5-
|
|
260
|
+
const tags = (_a = this.shadowRoot) == null ? void 0 : _a.querySelectorAll("sd-4-5-3-tag");
|
|
261
261
|
if (tags && tags.length > 0) {
|
|
262
262
|
tags == null ? void 0 : tags[(tags == null ? void 0 : tags.length) - 1].focus();
|
|
263
263
|
} else {
|
|
@@ -302,7 +302,7 @@ var SdSelect = class extends SolidElement {
|
|
|
302
302
|
}
|
|
303
303
|
handleOptionClick(event) {
|
|
304
304
|
const target = event.target;
|
|
305
|
-
const option = target.closest("sd-4-5-
|
|
305
|
+
const option = target.closest("sd-4-5-3-option");
|
|
306
306
|
const oldValue = this.value;
|
|
307
307
|
if (option && !option.disabled) {
|
|
308
308
|
if (this.multiple) {
|
|
@@ -327,7 +327,7 @@ var SdSelect = class extends SolidElement {
|
|
|
327
327
|
const allOptions = this.getAllOptions();
|
|
328
328
|
const value = Array.isArray(this.value) ? this.value : [this.value];
|
|
329
329
|
const values = [];
|
|
330
|
-
if (customElements.get("sd-4-5-
|
|
330
|
+
if (customElements.get("sd-4-5-3-option")) {
|
|
331
331
|
allOptions.forEach((option) => {
|
|
332
332
|
if (this.multiple) {
|
|
333
333
|
option.checkbox = true;
|
|
@@ -336,7 +336,7 @@ var SdSelect = class extends SolidElement {
|
|
|
336
336
|
});
|
|
337
337
|
this.setSelectedOptions(allOptions.filter((el) => value.includes(el.value)));
|
|
338
338
|
} else {
|
|
339
|
-
customElements.whenDefined("sd-4-5-
|
|
339
|
+
customElements.whenDefined("sd-4-5-3-option").then(() => this.handleDefaultSlotChange());
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
342
|
handleTagRemove(event, option) {
|
|
@@ -353,13 +353,13 @@ var SdSelect = class extends SolidElement {
|
|
|
353
353
|
});
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
|
-
// Gets an array of all <sd-4-5-
|
|
356
|
+
// Gets an array of all <sd-4-5-3-option> elements
|
|
357
357
|
getAllOptions() {
|
|
358
|
-
return [...this.querySelectorAll("sd-4-5-
|
|
358
|
+
return [...this.querySelectorAll("sd-4-5-3-option")];
|
|
359
359
|
}
|
|
360
|
-
// Gets the first <sd-4-5-
|
|
360
|
+
// Gets the first <sd-4-5-3-option> element
|
|
361
361
|
getFirstOption() {
|
|
362
|
-
return this.querySelector("sd-4-5-
|
|
362
|
+
return this.querySelector("sd-4-5-3-option");
|
|
363
363
|
}
|
|
364
364
|
// Sets the current option, which is the option the user is currently interacting with (e.g. via keyboard). Only one
|
|
365
365
|
// option may be "current" at a time.
|
|
@@ -442,11 +442,11 @@ var SdSelect = class extends SolidElement {
|
|
|
442
442
|
});
|
|
443
443
|
} else {
|
|
444
444
|
return [
|
|
445
|
-
html`<sd-4-5-
|
|
445
|
+
html`<sd-4-5-3-tag ?disabled="${this.disabled}" part="tag" exportparts="
|
|
446
446
|
base:tag__base,
|
|
447
447
|
content:tag__content,
|
|
448
448
|
removable-indicator:tag__removable-indicator,
|
|
449
|
-
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagMaxOptionsKeyDown(event)}" @sd-remove="${(event) => this.handleTagRemove(event)}">${this.selectedOptions.length} ${this.localize.term("tagsSelected")}</sd-4-5-
|
|
449
|
+
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagMaxOptionsKeyDown(event)}" @sd-remove="${(event) => this.handleTagRemove(event)}">${this.selectedOptions.length} ${this.localize.term("tagsSelected")}</sd-4-5-3-tag>`
|
|
450
450
|
];
|
|
451
451
|
}
|
|
452
452
|
}
|
|
@@ -461,7 +461,7 @@ var SdSelect = class extends SolidElement {
|
|
|
461
461
|
handleMouseLeave() {
|
|
462
462
|
this.hasHover = false;
|
|
463
463
|
}
|
|
464
|
-
/** Receives incoming event detail from sd-4-5-
|
|
464
|
+
/** Receives incoming event detail from sd-4-5-3-popup and updates local state for conditional styling. */
|
|
465
465
|
handleCurrentPlacement(e) {
|
|
466
466
|
const incomingPlacement = e.detail;
|
|
467
467
|
if (incomingPlacement) {
|
|
@@ -470,7 +470,7 @@ var SdSelect = class extends SolidElement {
|
|
|
470
470
|
}
|
|
471
471
|
handleUseTagsChange() {
|
|
472
472
|
const allOptions = this.getAllOptions();
|
|
473
|
-
if (customElements.get("sd-4-5-
|
|
473
|
+
if (customElements.get("sd-4-5-3-option")) {
|
|
474
474
|
allOptions.forEach((option) => {
|
|
475
475
|
option.checkbox = this.multiple;
|
|
476
476
|
});
|
|
@@ -607,7 +607,7 @@ var SdSelect = class extends SolidElement {
|
|
|
607
607
|
default: "border-neutral-800"
|
|
608
608
|
}[selectState],
|
|
609
609
|
this.open && (this.currentPlacement === "bottom" ? "rounded-bl-none rounded-br-none" : "rounded-tl-none rounded-tr-none")
|
|
610
|
-
)}"></div><sd-4-5-
|
|
610
|
+
)}"></div><sd-4-5-3-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${cx(
|
|
611
611
|
"inline-flex relative w-full",
|
|
612
612
|
this.currentPlacement === "bottom" ? "origin-top" : "origin-bottom"
|
|
613
613
|
)}" placement="${this.placement}" strategy="${this.hoist ? "fixed" : "absolute"}" flip shift sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
|
|
@@ -628,35 +628,35 @@ var SdSelect = class extends SolidElement {
|
|
|
628
628
|
"select__clear flex justify-center",
|
|
629
629
|
iconMarginLeft,
|
|
630
630
|
this.value.length > 0 ? "visible" : "invisible"
|
|
631
|
-
)}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-4-5-
|
|
631
|
+
)}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-4-5-3-icon class="${cx("text-icon-fill-neutral-800", iconSize)}" library="system" name="closing-round"></sd-4-5-3-icon></slot></button>` : ""} ${this.showInvalidStyle ? html`<sd-4-5-3-icon part="invalid-icon" class="${cx(iconMarginLeft, iconSize, "text-error")}" library="system" name="risk"></sd-4-5-3-icon>` : ""} ${this.styleOnValid && this.showValidStyle ? html`<sd-4-5-3-icon part="valid-icon" class="${cx("flex-shrink-0 text-success", iconMarginLeft, iconSize)}" library="system" name="status-check"></sd-4-5-3-icon>` : ""}<slot name="expand-icon" part="expand-icon" class="${cx(
|
|
632
632
|
"inline-flex ml-2 transition-all",
|
|
633
633
|
this.open ? "rotate-180" : "rotate-0",
|
|
634
634
|
this.disabled || this.visuallyDisabled ? "text-neutral-500" : "text-primary",
|
|
635
635
|
iconSize
|
|
636
|
-
)}"><sd-4-5-
|
|
636
|
+
)}"><sd-4-5-3-icon name="chevron-down" part="chevron" library="system" color="currentColor"></sd-4-5-3-icon></slot></div><div id="listbox" role="listbox" aria-expanded="${this.open ? "true" : "false"}" aria-multiselectable="${this.multiple ? "true" : "false"}" aria-labelledby="label" part="listbox" class="${cx(
|
|
637
637
|
"bg-white px-2 py-3 relative border-primary overflow-y-auto",
|
|
638
638
|
this.open && "shadow",
|
|
639
639
|
this.currentPlacement === "bottom" ? "border-r-2 border-b-2 border-l-2 rounded-br-default rounded-bl-default" : "border-r-2 border-t-2 border-l-2 rounded-tr-default rounded-tl-default"
|
|
640
|
-
)}" tabindex="-1" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-4-5-
|
|
640
|
+
)}" tabindex="-1" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-4-5-3-popup></div><div class="text-sm text-neutral-700 mt-2" part="form-control-help-text" id="help-text" aria-hidden="${hasHelpText ? "false" : "true"}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage()}`;
|
|
641
641
|
}
|
|
642
642
|
};
|
|
643
643
|
SdSelect.dependencies = {
|
|
644
|
-
"sd-4-5-
|
|
645
|
-
"sd-4-5-
|
|
646
|
-
"sd-4-5-
|
|
644
|
+
"sd-4-5-3-icon": SdIcon,
|
|
645
|
+
"sd-4-5-3-popup": SdPopup,
|
|
646
|
+
"sd-4-5-3-tag": SdTag
|
|
647
647
|
};
|
|
648
648
|
/**
|
|
649
649
|
* Inherits global stylesheet including TailwindCSS
|
|
650
650
|
*/
|
|
651
651
|
SdSelect.styles = [
|
|
652
652
|
...SolidElement.styles,
|
|
653
|
-
css`:host{display:block;position:relative;width:100%}:host([required]) #label:after{content:" *"}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}[part=listbox]{max-height:var(--auto-size-available-height,auto)}sd-4-5-
|
|
653
|
+
css`:host{display:block;position:relative;width:100%}:host([required]) #label:after{content:" *"}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}[part=listbox]{max-height:var(--auto-size-available-height,auto)}sd-4-5-3-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-4-5-3-tag::part(base){border-radius:var(--sd-border-radius-default,.25rem);padding-left:var(--sd-spacing-1,.25rem);padding-right:var(--sd-spacing-1,.25rem)}sd-4-5-3-tag::part(content){display:inline-block;max-width:var(--tag-max-width,15ch);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}sd-4-5-3-tag[size=lg]::part(base){padding-left:var(--sd-spacing-2,.5rem);padding-right:var(--sd-spacing-2,.5rem)}sd-4-5-3-tag[disabled=false]::part(base):hover{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-100,236 240 249)/var(--tw-bg-opacity,1))}`
|
|
654
654
|
];
|
|
655
655
|
__decorateClass([
|
|
656
|
-
queryAssignedElements({ selector: "sd-4-5-
|
|
656
|
+
queryAssignedElements({ selector: "sd-4-5-3-option" })
|
|
657
657
|
], SdSelect.prototype, "_optionsInDefaultSlot", 2);
|
|
658
658
|
__decorateClass([
|
|
659
|
-
query("sd-4-5-
|
|
659
|
+
query("sd-4-5-3-popup")
|
|
660
660
|
], SdSelect.prototype, "popup", 2);
|
|
661
661
|
__decorateClass([
|
|
662
662
|
query('[part="combobox"]')
|
|
@@ -784,7 +784,7 @@ __decorateClass([
|
|
|
784
784
|
watch("value", { waitUntilFirstUpdate: true })
|
|
785
785
|
], SdSelect.prototype, "handleValueChange", 1);
|
|
786
786
|
SdSelect = __decorateClass([
|
|
787
|
-
customElement("sd-4-5-
|
|
787
|
+
customElement("sd-4-5-3-select")
|
|
788
788
|
], SdSelect);
|
|
789
789
|
setDefaultAnimation("select.show", {
|
|
790
790
|
keyframes: [
|
|
@@ -85,7 +85,7 @@ var SdRadioButton = class extends SolidElement {
|
|
|
85
85
|
};
|
|
86
86
|
SdRadioButton.styles = [
|
|
87
87
|
...SolidElement.styles,
|
|
88
|
-
css`:host{display:block;width:-moz-min-content;width:min-content}.hidden-input{all:unset;inset:var(--sd-spacing-0,0);opacity:var(--sd-opacity-0,0);outline-color:rgb(var(--sd-color-error,204 25 55)/1);outline-style:dotted;outline-width:1px;position:absolute;z-index:-10}.lg-label,.lg-no-label{height:var(--sd-spacing-12,3rem)}.lg-no-label{width:var(--sd-spacing-12,3rem)}.md-label,.md-no-label{height:var(--sd-spacing-10,2.5rem)}.md-no-label{width:var(--sd-spacing-10,2.5rem)}.sm-label,.sm-no-label{height:var(--sd-spacing-8,2rem)}.sm-no-label{width:var(--sd-spacing-8,2rem)}:host(.sd-4-5-
|
|
88
|
+
css`:host{display:block;width:-moz-min-content;width:min-content}.hidden-input{all:unset;inset:var(--sd-spacing-0,0);opacity:var(--sd-opacity-0,0);outline-color:rgb(var(--sd-color-error,204 25 55)/1);outline-style:dotted;outline-width:1px;position:absolute;z-index:-10}.lg-label,.lg-no-label{height:var(--sd-spacing-12,3rem)}.lg-no-label{width:var(--sd-spacing-12,3rem)}.md-label,.md-no-label{height:var(--sd-spacing-10,2.5rem)}.md-no-label{width:var(--sd-spacing-10,2.5rem)}.sm-label,.sm-no-label{height:var(--sd-spacing-8,2rem)}.sm-no-label{width:var(--sd-spacing-8,2rem)}:host(.sd-4-5-3-button-group__button--first:not(.sd-4-5-3-button-group__button--last)) button{border-bottom-right-radius:var(--sd-border-radius-none,0);border-top-right-radius:var(--sd-border-radius-none,0)}:host(.sd-4-5-3-button-group__button--inner) button{border-radius:var(--sd-border-radius-none,0)}:host(.sd-4-5-3-button-group__button--last:not(.sd-4-5-3-button-group__button--first)) button{border-bottom-left-radius:var(--sd-border-radius-none,0);border-top-left-radius:var(--sd-border-radius-none,0)}:host(.sd-4-5-3-button-group__button:not(.sd-4-5-3-button-group__button--first)){margin-inline-start:-1px}:host(.sd-4-5-3-button-group__button--hover){z-index:10}:host(.sd-4-5-3-button-group__button--focus),:host(.sd-4-5-3-button-group__button[checked]){z-index:20}`
|
|
89
89
|
];
|
|
90
90
|
__decorateClass([
|
|
91
91
|
query(".button")
|
|
@@ -115,7 +115,7 @@ __decorateClass([
|
|
|
115
115
|
watch(["disabled", "visually-disabled"], { waitUntilFirstUpdate: true })
|
|
116
116
|
], SdRadioButton.prototype, "handleDisabledChange", 1);
|
|
117
117
|
SdRadioButton = __decorateClass([
|
|
118
|
-
customElement("sd-4-5-
|
|
118
|
+
customElement("sd-4-5-3-radio-button")
|
|
119
119
|
], SdRadioButton);
|
|
120
120
|
|
|
121
121
|
export {
|