@solid-design-system/components 6.29.0 → 6.29.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/cdn/chunks/{chunk.FVGRD6FB.js → chunk.AM4XV4Z3.js} +1 -1
- package/cdn/components/notification/notification.js +1 -1
- package/cdn/custom-elements.json +169 -169
- package/cdn/solid-components.bundle.js +1 -1
- package/cdn/solid-components.iife.js +1 -1
- package/cdn/solid-components.js +1 -1
- package/cdn/vscode.html-custom-data.json +22 -22
- package/cdn/web-types.json +46 -46
- package/cdn-versioned/chunks/chunk.2QDU75ZN.js +2 -2
- package/cdn-versioned/chunks/chunk.2RKSDCDG.js +2 -2
- package/cdn-versioned/chunks/chunk.36QLPRT4.js +2 -2
- package/cdn-versioned/chunks/chunk.3AMTNKLX.js +10 -10
- package/cdn-versioned/chunks/chunk.3WFZS3BV.js +2 -2
- package/cdn-versioned/chunks/chunk.3WYCL4IT.js +2 -2
- package/cdn-versioned/chunks/chunk.4YAUNXGE.js +2 -2
- package/cdn-versioned/chunks/chunk.5LFQBAR4.js +2 -2
- package/cdn-versioned/chunks/chunk.6PD5QPCL.js +2 -2
- package/cdn-versioned/chunks/chunk.7PBHJ3AA.js +2 -2
- package/cdn-versioned/chunks/chunk.7VEYTFRZ.js +2 -2
- package/cdn-versioned/chunks/chunk.AHBE5NFY.js +2 -2
- package/cdn-versioned/chunks/{chunk.FVGRD6FB.js → chunk.AM4XV4Z3.js} +2 -2
- package/cdn-versioned/chunks/chunk.ANATT6AT.js +2 -2
- package/cdn-versioned/chunks/chunk.AO6JCKAN.js +2 -2
- package/cdn-versioned/chunks/chunk.AOREPZKA.js +2 -2
- package/cdn-versioned/chunks/chunk.ARHQV4EC.js +1 -1
- package/cdn-versioned/chunks/chunk.ASKKOJCO.js +2 -2
- package/cdn-versioned/chunks/chunk.C45254AN.js +2 -2
- package/cdn-versioned/chunks/chunk.CXBBQLKH.js +2 -2
- package/cdn-versioned/chunks/chunk.DAOJL6S4.js +1 -1
- package/cdn-versioned/chunks/chunk.DPQT6F7D.js +2 -2
- package/cdn-versioned/chunks/chunk.DSKB3SEU.js +1 -1
- package/cdn-versioned/chunks/chunk.E534YUSM.js +2 -2
- package/cdn-versioned/chunks/chunk.EI4IMAYD.js +2 -2
- package/cdn-versioned/chunks/chunk.ESAXBMID.js +1 -1
- package/cdn-versioned/chunks/chunk.EUMQZSE2.js +2 -2
- package/cdn-versioned/chunks/chunk.EYIJIVD6.js +2 -2
- package/cdn-versioned/chunks/chunk.F3U2DTSD.js +2 -2
- package/cdn-versioned/chunks/chunk.GIS4DVXQ.js +2 -2
- package/cdn-versioned/chunks/chunk.GJX26DHL.js +2 -2
- package/cdn-versioned/chunks/chunk.GSAQ2Q4R.js +2 -2
- package/cdn-versioned/chunks/chunk.HPIATY3V.js +2 -2
- package/cdn-versioned/chunks/chunk.IFEBOLGE.js +2 -2
- package/cdn-versioned/chunks/chunk.JBAA7CJY.js +2 -2
- package/cdn-versioned/chunks/chunk.JE3YJUVL.js +2 -2
- package/cdn-versioned/chunks/chunk.JL2MPTKO.js +2 -2
- package/cdn-versioned/chunks/chunk.K5N6255P.js +2 -2
- package/cdn-versioned/chunks/chunk.KIOINDJP.js +2 -2
- package/cdn-versioned/chunks/chunk.L2ZKD7MK.js +2 -2
- package/cdn-versioned/chunks/chunk.L336NHPB.js +2 -2
- package/cdn-versioned/chunks/chunk.LZRL7OLU.js +1 -1
- package/cdn-versioned/chunks/chunk.NFGX5YRE.js +3 -3
- package/cdn-versioned/chunks/chunk.NM7MY55L.js +5 -5
- package/cdn-versioned/chunks/chunk.NP23CN3G.js +1 -1
- package/cdn-versioned/chunks/chunk.NXMAZ6GM.js +1 -1
- package/cdn-versioned/chunks/chunk.PKZ4ESIN.js +2 -2
- package/cdn-versioned/chunks/chunk.PYCLTLDF.js +1 -1
- package/cdn-versioned/chunks/chunk.QSJUZLB2.js +2 -2
- package/cdn-versioned/chunks/chunk.QVVPGDHH.js +2 -2
- package/cdn-versioned/chunks/chunk.QZRU4P73.js +2 -2
- package/cdn-versioned/chunks/chunk.T2SNKUUJ.js +1 -1
- package/cdn-versioned/chunks/chunk.TSUM3HLK.js +2 -2
- package/cdn-versioned/chunks/chunk.U27XNZYB.js +5 -5
- package/cdn-versioned/chunks/chunk.VP43465X.js +2 -2
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.WBW76Z2R.js +1 -1
- package/cdn-versioned/chunks/chunk.WD66IVTH.js +2 -2
- package/cdn-versioned/chunks/chunk.WEIQTVUC.js +2 -2
- package/cdn-versioned/chunks/chunk.WZRSNXL5.js +2 -2
- package/cdn-versioned/chunks/chunk.YOZZZJAW.js +1 -1
- package/cdn-versioned/chunks/chunk.YV24RFB5.js +2 -2
- package/cdn-versioned/chunks/chunk.Z4YHZJIF.js +3 -3
- package/cdn-versioned/chunks/chunk.ZKZHOLT2.js +3 -3
- package/cdn-versioned/chunks/chunk.ZVWS6LEP.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/breadcrumb/breadcrumb.d.ts +1 -1
- package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.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 +1 -1
- package/cdn-versioned/components/datepicker/datepicker.d.ts +1 -1
- 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/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/loader/loader.d.ts +1 -1
- package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/cdn-versioned/components/menu/menu.d.ts +1 -1
- package/cdn-versioned/components/menu-item/menu-item.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/notification/notification.js +1 -1
- package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
- package/cdn-versioned/components/option/option.d.ts +1 -1
- package/cdn-versioned/components/popup/popup.d.ts +1 -1
- package/cdn-versioned/components/progress-bar/progress-bar.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 +1 -1
- package/cdn-versioned/components/range/range.d.ts +1 -1
- package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
- package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/cdn-versioned/components/select/select.d.ts +1 -1
- package/cdn-versioned/components/skeleton/skeleton.d.ts +1 -1
- 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/theme-listener/theme-listener.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 +423 -423
- package/cdn-versioned/internal/form.js +2 -2
- package/cdn-versioned/solid-components.bundle.js +81 -81
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +81 -81
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +134 -134
- package/cdn-versioned/web-types.json +211 -211
- package/dist/chunks/{chunk.SRHXZUZH.js → chunk.DZ52GJMF.js} +1 -1
- package/dist/components/notification/notification.js +1 -1
- package/dist/custom-elements.json +1 -1
- package/dist/solid-components.js +4 -4
- package/dist/web-types.json +1 -1
- package/dist-versioned/chunks/chunk.2R6BV36X.js +3 -3
- package/dist-versioned/chunks/chunk.3SKQW3OF.js +1 -1
- package/dist-versioned/chunks/chunk.5JXNGWGO.js +6 -6
- package/dist-versioned/chunks/chunk.5LPEWRVH.js +1 -1
- package/dist-versioned/chunks/chunk.67F53YIT.js +3 -3
- package/dist-versioned/chunks/chunk.6A5KL2ME.js +2 -2
- package/dist-versioned/chunks/chunk.6CQHWDTR.js +2 -2
- package/dist-versioned/chunks/chunk.73VNCNET.js +5 -5
- package/dist-versioned/chunks/chunk.7QCSVC6W.js +5 -5
- package/dist-versioned/chunks/chunk.AQ2YHTJT.js +5 -5
- package/dist-versioned/chunks/chunk.AQPWS7H5.js +1 -1
- package/dist-versioned/chunks/chunk.BHAJNYNR.js +2 -2
- package/dist-versioned/chunks/chunk.C3WIBDGG.js +2 -2
- package/dist-versioned/chunks/chunk.DANLADQA.js +6 -6
- package/dist-versioned/chunks/chunk.DEKB47SU.js +7 -7
- package/dist-versioned/chunks/{chunk.SRHXZUZH.js → chunk.DZ52GJMF.js} +11 -11
- package/dist-versioned/chunks/chunk.E7TO66OI.js +11 -11
- package/dist-versioned/chunks/chunk.EVXE6QT5.js +5 -5
- package/dist-versioned/chunks/chunk.FGGJHWJQ.js +4 -4
- package/dist-versioned/chunks/chunk.G3YXVIXP.js +5 -5
- package/dist-versioned/chunks/chunk.G4M5E52C.js +11 -11
- package/dist-versioned/chunks/chunk.GGTNOUL3.js +2 -2
- package/dist-versioned/chunks/chunk.GKK76LN5.js +10 -10
- package/dist-versioned/chunks/chunk.J2IWPOVN.js +5 -5
- package/dist-versioned/chunks/chunk.JZERVNQH.js +4 -4
- package/dist-versioned/chunks/chunk.KBLFP77D.js +4 -4
- package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
- package/dist-versioned/chunks/chunk.KLDMZEUO.js +1 -1
- package/dist-versioned/chunks/chunk.KOYTK43J.js +8 -8
- package/dist-versioned/chunks/chunk.KPKOJGRC.js +2 -2
- package/dist-versioned/chunks/chunk.L3QZLYWI.js +5 -5
- package/dist-versioned/chunks/chunk.LCMQJOE7.js +2 -2
- package/dist-versioned/chunks/chunk.M74NHLSR.js +25 -25
- package/dist-versioned/chunks/chunk.NEPWG7EE.js +2 -2
- package/dist-versioned/chunks/chunk.NZOLXA5P.js +4 -4
- package/dist-versioned/chunks/chunk.OPHYFYBJ.js +7 -7
- package/dist-versioned/chunks/chunk.OVLIDOUF.js +6 -6
- package/dist-versioned/chunks/chunk.Q6BM6VB4.js +13 -13
- package/dist-versioned/chunks/chunk.QGERTGJH.js +4 -4
- package/dist-versioned/chunks/chunk.QP6NYUMR.js +3 -3
- package/dist-versioned/chunks/chunk.RM4W3RUJ.js +2 -2
- package/dist-versioned/chunks/chunk.RZYQYD7F.js +23 -23
- package/dist-versioned/chunks/chunk.S7MVQQ7P.js +10 -10
- package/dist-versioned/chunks/chunk.SFQPANQ4.js +42 -42
- package/dist-versioned/chunks/chunk.SMXDKTQJ.js +1 -1
- package/dist-versioned/chunks/chunk.SUBKF7CK.js +6 -6
- package/dist-versioned/chunks/chunk.SZX2DZVG.js +3 -3
- package/dist-versioned/chunks/chunk.T73O2TL3.js +1 -1
- package/dist-versioned/chunks/chunk.TCCVXGO3.js +5 -5
- package/dist-versioned/chunks/chunk.TD274Z54.js +2 -2
- package/dist-versioned/chunks/chunk.TH56Y5BD.js +12 -12
- package/dist-versioned/chunks/chunk.U3TJBK63.js +7 -7
- package/dist-versioned/chunks/chunk.UHD76K4J.js +6 -6
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/chunk.UPUTDGVP.js +14 -14
- package/dist-versioned/chunks/chunk.UU33HKYA.js +3 -3
- package/dist-versioned/chunks/chunk.WQ53PAAJ.js +1 -1
- package/dist-versioned/chunks/chunk.WWVBSSYI.js +3 -3
- package/dist-versioned/chunks/chunk.XDHACCFS.js +5 -5
- package/dist-versioned/chunks/chunk.YJ3HFB7U.js +10 -10
- package/dist-versioned/chunks/chunk.YVETO4SL.js +1 -1
- package/dist-versioned/chunks/chunk.YXXCQXMG.js +3 -3
- package/dist-versioned/chunks/chunk.ZJE7OCFV.js +2 -2
- package/dist-versioned/chunks/chunk.ZN6NBM5K.js +12 -12
- package/dist-versioned/chunks/chunk.ZOAGCGB2.js +11 -11
- 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/breadcrumb/breadcrumb.d.ts +1 -1
- package/dist-versioned/components/breadcrumb-item/breadcrumb-item.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 +1 -1
- package/dist-versioned/components/datepicker/datepicker.d.ts +1 -1
- 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/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/loader/loader.d.ts +1 -1
- package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/dist-versioned/components/menu/menu.d.ts +1 -1
- package/dist-versioned/components/menu-item/menu-item.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/notification/notification.js +1 -1
- package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
- package/dist-versioned/components/option/option.d.ts +1 -1
- package/dist-versioned/components/popup/popup.d.ts +1 -1
- package/dist-versioned/components/progress-bar/progress-bar.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 +1 -1
- package/dist-versioned/components/range/range.d.ts +1 -1
- package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
- package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/dist-versioned/components/select/select.d.ts +1 -1
- package/dist-versioned/components/skeleton/skeleton.d.ts +1 -1
- 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/theme-listener/theme-listener.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 +423 -423
- package/dist-versioned/internal/form.js +2 -2
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +4 -4
- package/dist-versioned/vscode.html-custom-data.json +134 -134
- package/dist-versioned/web-types.json +211 -211
- package/package.json +1 -1
|
@@ -88,14 +88,14 @@ var SdRadioGroup = class extends SolidElement {
|
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
getAllRadios() {
|
|
91
|
-
const radios = [...this.querySelectorAll("sd-6-29-
|
|
91
|
+
const radios = [...this.querySelectorAll("sd-6-29-1-radio, sd-6-29-1-radio-button")];
|
|
92
92
|
if (radios.length === 0) {
|
|
93
93
|
console.warn("No radios found in the radio group.");
|
|
94
94
|
}
|
|
95
95
|
return radios;
|
|
96
96
|
}
|
|
97
97
|
handleRadioClick(event) {
|
|
98
|
-
const target = event.target.closest("sd-6-29-
|
|
98
|
+
const target = event.target.closest("sd-6-29-1-radio, sd-6-29-1-radio-button");
|
|
99
99
|
const oldValue = this.value;
|
|
100
100
|
const radios = this.getAllRadios();
|
|
101
101
|
if (radios.length === 0) {
|
|
@@ -185,7 +185,7 @@ var SdRadioGroup = class extends SolidElement {
|
|
|
185
185
|
}
|
|
186
186
|
})
|
|
187
187
|
);
|
|
188
|
-
this.hasButtonGroup = radios.some((radio) => radio.tagName.toLowerCase() === "sd-6-29-
|
|
188
|
+
this.hasButtonGroup = radios.some((radio) => radio.tagName.toLowerCase() === "sd-6-29-1-radio-button");
|
|
189
189
|
if (!radios.some((radio) => radio.checked)) {
|
|
190
190
|
if (this.hasButtonGroup) {
|
|
191
191
|
const buttonRadio = (_a = radios[0].shadowRoot) == null ? void 0 : _a.querySelector("button");
|
|
@@ -197,26 +197,26 @@ var SdRadioGroup = class extends SolidElement {
|
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
199
|
if (this.hasButtonGroup) {
|
|
200
|
-
const buttonGroup = (_b = this.shadowRoot) == null ? void 0 : _b.querySelector("sd-6-29-
|
|
200
|
+
const buttonGroup = (_b = this.shadowRoot) == null ? void 0 : _b.querySelector("sd-6-29-1-button-group");
|
|
201
201
|
if (buttonGroup) {
|
|
202
202
|
buttonGroup.disableRole = true;
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
206
|
syncRadios() {
|
|
207
|
-
if (customElements.get("sd-6-29-
|
|
207
|
+
if (customElements.get("sd-6-29-1-radio") && customElements.get("sd-6-29-1-radio-button")) {
|
|
208
208
|
this.syncRadioElements();
|
|
209
209
|
return;
|
|
210
210
|
}
|
|
211
|
-
if (customElements.get("sd-6-29-
|
|
211
|
+
if (customElements.get("sd-6-29-1-radio")) {
|
|
212
212
|
this.syncRadioElements();
|
|
213
213
|
} else {
|
|
214
|
-
customElements.whenDefined("sd-6-29-
|
|
214
|
+
customElements.whenDefined("sd-6-29-1-radio").then(() => this.syncRadios());
|
|
215
215
|
}
|
|
216
|
-
if (customElements.get("sd-6-29-
|
|
216
|
+
if (customElements.get("sd-6-29-1-radio-button")) {
|
|
217
217
|
this.syncRadioElements();
|
|
218
218
|
} else {
|
|
219
|
-
customElements.whenDefined("sd-6-29-
|
|
219
|
+
customElements.whenDefined("sd-6-29-1-radio-button").then(() => this.syncRadios());
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
222
|
updateCheckedRadio() {
|
|
@@ -294,7 +294,7 @@ var SdRadioGroup = class extends SolidElement {
|
|
|
294
294
|
vertical: "flex-col",
|
|
295
295
|
horizontal: "flex-row"
|
|
296
296
|
}[this.orientation]
|
|
297
|
-
)}"><div class="sr-only"><label><input id="validation-input" type="text" ?required="${this.required}" aria-labelledby="label" tabindex="-1" hidden @invalid="${this.handleInvalid}"></label></div>${this.hasButtonGroup ? html`<sd-6-29-
|
|
297
|
+
)}"><div class="sr-only"><label><input id="validation-input" type="text" ?required="${this.required}" aria-labelledby="label" tabindex="-1" hidden @invalid="${this.handleInvalid}"></label></div>${this.hasButtonGroup ? html`<sd-6-29-1-button-group class="border border-primary sd-6-29-1-radio-button-group-border-radius sd-6-29-1-radio-button-group-border-width sd-6-29-1-radio-button-group-padding" part="button-group" exportparts="base:button-group__base" role="presentation">${defaultSlot}</sd-6-29-1-button-group>` : defaultSlot}</div></fieldset><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx("text-sm text-neutral-700 mt-2", hasHelpText ? "block" : "hidden")}" aria-hidden="${!hasHelpText}">${this.helpText}</slot><div part="invalid-icon-message" class="flex items-center gap-2 mt-2">${this.showInvalidStyle ? html`<sd-6-29-1-icon part="invalid-icon" class="${cx("text-error")}" library="_internal" name="risk"></sd-6-29-1-icon>` : ""} ${this.formControlController.renderInvalidMessage(this.size)}</div>`;
|
|
298
298
|
}
|
|
299
299
|
};
|
|
300
300
|
/**
|
|
@@ -303,7 +303,7 @@ var SdRadioGroup = class extends SolidElement {
|
|
|
303
303
|
SdRadioGroup.styles = [
|
|
304
304
|
...SolidElement.styles,
|
|
305
305
|
css`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
306
|
-
:host{display:block}:host([orientation=vertical]) ::slotted(sd-6-29-
|
|
306
|
+
:host{display:block}:host([orientation=vertical]) ::slotted(sd-6-29-1-radio){margin-bottom:var(--sd-spacing-2);display:flex}:host([orientation=vertical]) ::slotted(sd-6-29-1-radio:last-of-type){margin-bottom:0}:host([orientation=horizontal]) ::slotted(sd-6-29-1-radio){margin-right:var(--sd-spacing-6)}:host([orientation=horizontal]) ::slotted(sd-6-29-1-radio:last-of-type){margin-right:0}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-6-29-1-radio){margin-right:var(--sd-spacing-4)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-6-29-1-radio:last-of-type){margin-right:0}:host([required]) #label::after{content:' *'}:host:has(sd-6-29-1-button-group){display:inline-flex}`
|
|
307
307
|
];
|
|
308
308
|
__decorateClass([
|
|
309
309
|
query("slot:not([name])")
|
|
@@ -357,7 +357,7 @@ __decorateClass([
|
|
|
357
357
|
watch("value")
|
|
358
358
|
], SdRadioGroup.prototype, "handleValueChange", 1);
|
|
359
359
|
SdRadioGroup = __decorateClass([
|
|
360
|
-
customElement("sd-6-29-
|
|
360
|
+
customElement("sd-6-29-1-radio-group")
|
|
361
361
|
], SdRadioGroup);
|
|
362
362
|
|
|
363
363
|
export {
|
|
@@ -118,7 +118,7 @@ var SdCheckbox = class extends SolidElement {
|
|
|
118
118
|
render() {
|
|
119
119
|
const checkboxState = this.disabled && this.indeterminate ? "disabledIndeterminate" : this.disabled && this.checked ? "disabledChecked" : this.disabled ? "disabled" : this.visuallyDisabled ? "visuallyDisabled" : this.showInvalidStyle && this.indeterminate ? "invalidIndeterminate" : this.showInvalidStyle ? "invalid" : this.checked || this.indeterminate ? "filled" : "default";
|
|
120
120
|
return html`<div class="flex flex-col"><label part="base" class="${cx(
|
|
121
|
-
"sd-6-29-
|
|
121
|
+
"sd-6-29-1-checkbox group flex items-start text-base leading-normal text-black cursor-pointer",
|
|
122
122
|
(this.disabled || this.visuallyDisabled) && "hover:cursor-not-allowed",
|
|
123
123
|
{
|
|
124
124
|
/* sizes, fonts */
|
|
@@ -127,7 +127,7 @@ var SdCheckbox = class extends SolidElement {
|
|
|
127
127
|
lg: "text-base"
|
|
128
128
|
}[this.size]
|
|
129
129
|
)}"><input class="peer absolute opacity-0 p-0 m-0 pointer-events-none" type="checkbox" title="${this.title}" name="${this.name}" value="${ifDefined(this.value)}" .indeterminate="${live(this.indeterminate)}" .checked="${live(this.checked)}" .disabled="${this.disabled}" .required="${this.required}" aria-checked="${this.indeterminate ? "mixed" : this.checked}" aria-describedby="invalid-message" aria-invalid="${this.showInvalidStyle}" aria-disabled="${this.disabled || this.visuallyDisabled ? "true" : "false"}" @click="${this.handleClick}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @blur="${this.handleBlur}" @focus="${this.handleFocus}"> <span id="control" part="control ${this.checked ? " control--checked" : "control--unchecked"} ${this.indeterminate ? " control--indeterminate" : ""}" class="${cx(
|
|
130
|
-
"relative flex shrink-0 items-center justify-center border sd-6-29-
|
|
130
|
+
"relative flex shrink-0 items-center justify-center border sd-6-29-1-checkbox-border-width rounded-sm h-4 w-4",
|
|
131
131
|
"transition-colors ease-in-out duration-medium group-hover:duration-fast",
|
|
132
132
|
"peer-focus-visible:outline peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2 peer-focus-visible:outline-primary outline-transparent",
|
|
133
133
|
{
|
|
@@ -141,7 +141,7 @@ var SdCheckbox = class extends SolidElement {
|
|
|
141
141
|
disabled: "border-neutral-500",
|
|
142
142
|
visuallyDisabled: "border-neutral-500",
|
|
143
143
|
invalidIndeterminate: "border-error bg-error group-hover:bg-error-400 group-hover:border-error-400",
|
|
144
|
-
invalid: "border-error group-hover:border-error-400 sd-6-29-
|
|
144
|
+
invalid: "border-error group-hover:border-error-400 sd-6-29-1-checkbox--invalid-color-background group-hover:bg-transparent",
|
|
145
145
|
filled: "border-accent hover:border-accent-550 group-hover:border-accent-550 bg-accent group-hover:bg-accent-550",
|
|
146
146
|
default: "form-control-color-border hover:bg-neutral-200 group-hover:bg-neutral-200 bg-white"
|
|
147
147
|
}[checkboxState]
|
|
@@ -156,14 +156,14 @@ var SdCheckbox = class extends SolidElement {
|
|
|
156
156
|
disabled: "",
|
|
157
157
|
visuallyDisabled: "",
|
|
158
158
|
invalidIndeterminate: " bg-error group-hover:bg-error-400",
|
|
159
|
-
invalid: "sd-6-29-
|
|
159
|
+
invalid: "sd-6-29-1-checkbox--invalid-color-background",
|
|
160
160
|
filled: "bg-accent group-hover:bg-accent-550",
|
|
161
161
|
default: "hover:bg-neutral-200 group-hover:bg-neutral-200 bg-white"
|
|
162
162
|
}[checkboxState]
|
|
163
|
-
)}"></div></div>${this.checked ? html`<sd-6-29-
|
|
163
|
+
)}"></div></div>${this.checked ? html`<sd-6-29-1-icon part="checked-icon" class="text-white w-3 h-3" library="sd-status-assets" name="status-check"></sd-6-29-1-icon>` : ""} ${!this.checked && this.indeterminate ? html`<sd-6-29-1-icon part="indeterminate-icon" class="text-white w-3 h-3" library="sd-status-assets" name="status-minus"></sd-6-29-1-icon>` : ""} </span><span part="label" id="label" class="${cx(
|
|
164
164
|
"select-none inline-block ml-2",
|
|
165
165
|
this.disabled || this.visuallyDisabled ? "text-neutral-500" : "text-black"
|
|
166
|
-
)}"><slot></slot></span></label><div id="invalid-icon-message" part="invalid-icon-message" class="${cx("flex items-center gap-2", this.showInvalidStyle && "mt-2")}">${this.showInvalidStyle ? html`<sd-6-29-
|
|
166
|
+
)}"><slot></slot></span></label><div id="invalid-icon-message" part="invalid-icon-message" class="${cx("flex items-center gap-2", this.showInvalidStyle && "mt-2")}">${this.showInvalidStyle ? html`<sd-6-29-1-icon id="invalid-icon" part="invalid-icon" library="_internal" name="risk"></sd-6-29-1-icon>` : ""} ${this.formControlController.renderInvalidMessage(this.size)}</div></div>`;
|
|
167
167
|
}
|
|
168
168
|
};
|
|
169
169
|
/**
|
|
@@ -223,7 +223,7 @@ __decorateClass([
|
|
|
223
223
|
watch(["checked", "indeterminate"], { waitUntilFirstUpdate: true })
|
|
224
224
|
], SdCheckbox.prototype, "handleStateChange", 1);
|
|
225
225
|
SdCheckbox = __decorateClass([
|
|
226
|
-
customElement("sd-6-29-
|
|
226
|
+
customElement("sd-6-29-1-checkbox")
|
|
227
227
|
], SdCheckbox);
|
|
228
228
|
|
|
229
229
|
export {
|
|
@@ -300,19 +300,19 @@ var SdAudio = class extends SolidElement {
|
|
|
300
300
|
)}" part="audio-controls"><button class="${cx(
|
|
301
301
|
"playback-speed justify-self-start text-base font-bold hover:cursor-pointer sd-interactive",
|
|
302
302
|
this.inverted && "sd-interactive--inverted"
|
|
303
|
-
)}" aria-label="${this.localize.term("playbackSpeed")} (${this.speed}x)" @click="${this.togglePlaybackSpeed}" @keydown="${this.togglePlaybackSpeedKeydown}" part="playback-speed">${this.speed}x</button><sd-6-29-
|
|
303
|
+
)}" aria-label="${this.localize.term("playbackSpeed")} (${this.speed}x)" @click="${this.togglePlaybackSpeed}" @keydown="${this.togglePlaybackSpeedKeydown}" part="playback-speed">${this.speed}x</button><sd-6-29-1-button ?inverted="${this.inverted ? true : false}" part="play-button" size="lg" @click="${!this.isPlaying ? this.playAudio : this.pauseAudio}" aria-label="${this.isPlaying ? this.localize.term("pauseAudio") : this.localize.term("playAudio")}" title="${this.isPlaying ? this.localize.term("pauseAudio") : this.localize.term("playAudio")}" class="mb-4">${this.isPlaying ? html`<slot name="pause-icon"><sd-6-29-1-icon class="text-xl" name="pause" library="_internal"></sd-6-29-1-icon></slot>` : html`<slot name="play-icon"><sd-6-29-1-icon class="text-xl" name="start" library="_internal"></sd-6-29-1-icon></slot>`}</sd-6-29-1-button><div class="flex items-center gap-6 justify-self-end">${this.hasSlotController.test("transcript") ? html`<button class="${cx("w-6 h-6 hover:cursor-pointer sd-interactive", this.inverted && "sd-interactive--inverted")}" aria-label="${this.isTranscriptOpen ? this.localize.term("transcriptIsOpen") : this.localize.term("openTranscript")}" @click="${this.showTranscript}" @keydown="${this.showTranscriptKeydown}" part="transcript"><sd-6-29-1-icon class="w-6 h-6" name="transcript" library="_internal"></sd-6-29-1-icon></button>` : null} <button class="${cx("w-6 h-6 hover:cursor-pointer sd-interactive", this.inverted && "sd-interactive--inverted")}" part="volume" aria-label="${!this.isMuted ? this.localize.term("mute") : this.localize.term("unmute")}" @click="${this.toggleMute}" @keydown="${this.toggleMuteKeydown}"><sd-6-29-1-icon class="w-6 h-6" name="${this.isMuted ? "mute" : "volume"}" library="_internal"></sd-6-29-1-icon></button></div></div>`;
|
|
304
304
|
const renderTimestamps = html`<div class="${cx(
|
|
305
305
|
"w-full flex justify-between",
|
|
306
306
|
this.reversedLayout ? "mb-0.5" : "mt-0.5",
|
|
307
307
|
this.animated && this.reversedLayout && "absolute bottom-0 left-0 !mb-4"
|
|
308
|
-
)}" part="timestamps"><div class="${cx("current-time text-sm", this.inverted ? "text-primary-400" : "sd-6-29-
|
|
309
|
-
return html`<div class="${cx("w-full flex relative", this.reversedLayout ? "flex-col-reverse" : "flex-col")}" aria-label="${this.localize.term("audioPlayer")}" part="audio-player"><slot @slotchange="${this.updateAudioDuration}"></slot>${!this.animated || this.animated && this.reversedLayout ? renderAudioControls : null}<div class="relative">${this.animated && !this.reversedLayout ? html`${renderAudioControls}` : null} ${this.animated ? html`<canvas class="w-full h-16 -mb-2"></canvas>` : null} ${!this.hideTimestamps && this.animated && this.reversedLayout ? renderTimestamps : null}<sd-6-29-
|
|
308
|
+
)}" part="timestamps"><div class="${cx("current-time text-sm", this.inverted ? "text-primary-400" : "sd-6-29-1-audio__timestamp-color-text")}">${this.currentTime}</div><div class="${cx("current-time text-sm", this.inverted ? "text-primary-400" : "sd-6-29-1-audio__timestamp-color-text")}">${this.duration}</div></div>`;
|
|
309
|
+
return html`<div class="${cx("w-full flex relative", this.reversedLayout ? "flex-col-reverse" : "flex-col")}" aria-label="${this.localize.term("audioPlayer")}" part="audio-player"><slot @slotchange="${this.updateAudioDuration}"></slot>${!this.animated || this.animated && this.reversedLayout ? renderAudioControls : null}<div class="relative">${this.animated && !this.reversedLayout ? html`${renderAudioControls}` : null} ${this.animated ? html`<canvas class="w-full h-16 -mb-2"></canvas>` : null} ${!this.hideTimestamps && this.animated && this.reversedLayout ? renderTimestamps : null}<sd-6-29-1-range part="progress-slider" tooltip="hidden" min="0" max="100" step="0.001" label="${this.localize.term("seekBar")}" @mousedown="${this.handleThumbGrab}" @touchstart="${this.handleThumbGrab}" @mouseup="${this.handleThumbRelease}" @touchend="${this.handleThumbRelease}" @sd-6-29-1-input="${this.handleAudioProgress}" @keydown="${this.handleAudioProgressKeydown}"></sd-6-29-1-range></div>${this.hasSlotController.test("transcript") ? html`<sd-6-29-1-drawer><slot name="transcript"></slot></sd-6-29-1-drawer>` : null} ${!this.hideTimestamps && (!this.animated || !this.reversedLayout) ? renderTimestamps : null}</div><sd-6-29-1-theme-listener></sd-6-29-1-theme-listener>`;
|
|
310
310
|
}
|
|
311
311
|
};
|
|
312
312
|
SdAudio.styles = [
|
|
313
313
|
...SolidElement.styles,
|
|
314
314
|
css`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
315
|
-
sd-6-29-
|
|
315
|
+
sd-6-29-1-button::part(base){display:flex;height:var(--sd-spacing-12);width:var(--sd-spacing-12);align-items:center;justify-content:center;border-radius:var(--sd-radius-full)}sd-6-29-1-button::part(motion-wrapper){border-radius:var(--sd-radius-full)}sd-6-29-1-button::part(label){display:flex;flex-grow:0;align-items:center}sd-6-29-1-range::part(form-control-label){display:none}:host([inverted]) sd-6-29-1-range::part(thumb){outline-color:rgba(var(--sd-color-border-white,var(--sd-color-white)));background-color:rgba(var(--sd-color-icon-fill-white,rgba(var(--sd-color-white))))}:host([animated]) sd-6-29-1-range::part(track){background-color:transparent}:host([inverted]:not([animated])) sd-6-29-1-range::part(track){background-color:rgba(var(--sd-audio__slide-bar--inverted-color-background,rgba(var(--sd-color-primary-400))))}:host([inverted]:not([animated])) sd-6-29-1-range::part(active-track){background-color:rgba(var(--sd-audio__track-bar--inverted-color-background,rgba(var(--sd-color-white))))}.sd-6-29-1-audio__timestamp-color-text{color:rgb(var(--sd-audio__timestamp-color-text,var(--sd-color-text-neutral-700)))}`
|
|
316
316
|
];
|
|
317
317
|
__decorateClass([
|
|
318
318
|
property({ type: Boolean, reflect: true, attribute: "reversed-layout" })
|
|
@@ -354,13 +354,13 @@ __decorateClass([
|
|
|
354
354
|
query('[part="audio-player"]')
|
|
355
355
|
], SdAudio.prototype, "audioPlayerContainer", 2);
|
|
356
356
|
__decorateClass([
|
|
357
|
-
query("sd-6-29-
|
|
357
|
+
query("sd-6-29-1-drawer")
|
|
358
358
|
], SdAudio.prototype, "drawer", 2);
|
|
359
359
|
__decorateClass([
|
|
360
360
|
query("canvas")
|
|
361
361
|
], SdAudio.prototype, "canvas", 2);
|
|
362
362
|
SdAudio = __decorateClass([
|
|
363
|
-
customElement("sd-6-29-
|
|
363
|
+
customElement("sd-6-29-1-audio")
|
|
364
364
|
], SdAudio);
|
|
365
365
|
|
|
366
366
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/components/combobox/utils.ts
|
|
2
2
|
var getAssignedElementsForSlot = (slot) => Array.from(slot.assignedElements({ flatten: true }));
|
|
3
|
-
var getOptionOrNestedOptions = (item) => item.tagName.toLocaleLowerCase() === "sd-6-29-
|
|
4
|
-
var isOptgroup = (item) => item.tagName.toLocaleLowerCase() === "sd-6-29-
|
|
3
|
+
var getOptionOrNestedOptions = (item) => item.tagName.toLocaleLowerCase() === "sd-6-29-1-option" ? item : Array.from(item.querySelectorAll(":scope > sd-6-29-1-option"));
|
|
4
|
+
var isOptgroup = (item) => item.tagName.toLocaleLowerCase() === "sd-6-29-1-optgroup";
|
|
5
5
|
var getAllOptions = (items) => items.map(getOptionOrNestedOptions);
|
|
6
6
|
var filterOnlyOptgroups = (items) => items.filter(isOptgroup);
|
|
7
7
|
var normalizeString = (str) => str.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase();
|
|
@@ -37,8 +37,8 @@ var SdTabGroup = class extends SolidElement {
|
|
|
37
37
|
}
|
|
38
38
|
connectedCallback() {
|
|
39
39
|
const whenAllDefined = Promise.all([
|
|
40
|
-
customElements.whenDefined("sd-6-29-
|
|
41
|
-
customElements.whenDefined("sd-6-29-
|
|
40
|
+
customElements.whenDefined("sd-6-29-1-tab"),
|
|
41
|
+
customElements.whenDefined("sd-6-29-1-tab-panel")
|
|
42
42
|
]);
|
|
43
43
|
super.connectedCallback();
|
|
44
44
|
this.resizeObserver = new ResizeObserver(() => {
|
|
@@ -86,20 +86,20 @@ var SdTabGroup = class extends SolidElement {
|
|
|
86
86
|
}
|
|
87
87
|
getAllTabs(options = { includeDisabled: true }) {
|
|
88
88
|
const slot = this.shadowRoot.querySelector('slot[name="nav"]');
|
|
89
|
-
return Array.from(slot.assignedElements()).map((el) => el.tagName.toLocaleLowerCase() === "sd-6-29-
|
|
90
|
-
return el && options.includeDisabled ? el.tagName.toLowerCase() === "sd-6-29-
|
|
89
|
+
return Array.from(slot.assignedElements()).map((el) => el.tagName.toLocaleLowerCase() === "sd-6-29-1-tab" ? el : el.querySelector("sd-6-29-1-tab")).filter((el) => {
|
|
90
|
+
return el && options.includeDisabled ? el.tagName.toLowerCase() === "sd-6-29-1-tab" : el.tagName.toLowerCase() === "sd-6-29-1-tab" && !el.disabled;
|
|
91
91
|
});
|
|
92
92
|
}
|
|
93
93
|
getAllPanels() {
|
|
94
|
-
return [...this.body.assignedElements()].filter((el) => el.tagName.toLowerCase() === "sd-6-29-
|
|
94
|
+
return [...this.body.assignedElements()].filter((el) => el.tagName.toLowerCase() === "sd-6-29-1-tab-panel");
|
|
95
95
|
}
|
|
96
96
|
getActiveTab() {
|
|
97
97
|
return this.tabs.find((t) => t.matches(":focus"));
|
|
98
98
|
}
|
|
99
99
|
handleClick(event) {
|
|
100
100
|
const target = event.target;
|
|
101
|
-
const tab = target.closest("sd-6-29-
|
|
102
|
-
const tabGroup = tab == null ? void 0 : tab.closest("sd-6-29-
|
|
101
|
+
const tab = target.closest("sd-6-29-1-tab");
|
|
102
|
+
const tabGroup = tab == null ? void 0 : tab.closest("sd-6-29-1-tab-group");
|
|
103
103
|
if (tabGroup !== this) {
|
|
104
104
|
return;
|
|
105
105
|
}
|
|
@@ -109,8 +109,8 @@ var SdTabGroup = class extends SolidElement {
|
|
|
109
109
|
}
|
|
110
110
|
handleKeyDown(event) {
|
|
111
111
|
const target = event.target;
|
|
112
|
-
const tab = target.closest("sd-6-29-
|
|
113
|
-
const tabGroup = tab == null ? void 0 : tab.closest("sd-6-29-
|
|
112
|
+
const tab = target.closest("sd-6-29-1-tab");
|
|
113
|
+
const tabGroup = tab == null ? void 0 : tab.closest("sd-6-29-1-tab-group");
|
|
114
114
|
if (tabGroup !== this) {
|
|
115
115
|
return;
|
|
116
116
|
}
|
|
@@ -137,7 +137,7 @@ var SdTabGroup = class extends SolidElement {
|
|
|
137
137
|
if (["ArrowLeft", "ArrowRight", "ArrowUp", "ArrowDown", "Home", "End"].includes(event.key)) {
|
|
138
138
|
const activeEl = this.tabs.find((t) => t.matches(":focus"));
|
|
139
139
|
const isRtl = this.localize.dir() === "rtl";
|
|
140
|
-
if ((activeEl == null ? void 0 : activeEl.tagName.toLowerCase()) === "sd-6-29-
|
|
140
|
+
if ((activeEl == null ? void 0 : activeEl.tagName.toLowerCase()) === "sd-6-29-1-tab") {
|
|
141
141
|
let index = this.tabs.indexOf(activeEl);
|
|
142
142
|
if (event.key === "Home") {
|
|
143
143
|
index = 0;
|
|
@@ -258,16 +258,16 @@ var SdTabGroup = class extends SolidElement {
|
|
|
258
258
|
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" disabled="${ifDefined(!this.canScroll.left || void 0)}" class="${cx(
|
|
259
259
|
"sd-interactive flex items-center justify-center absolute top-0 bottom-0 left-0 !outline-offset-0 border-b border-neutral-400 z-10",
|
|
260
260
|
this.localize.dir() === "rtl" && "left-auto right-0"
|
|
261
|
-
)}" @click="${this.handleScrollToStart}"><sd-6-29-
|
|
261
|
+
)}" @click="${this.handleScrollToStart}"><sd-6-29-1-icon library="_internal" name="${isRtl ? "chevron-up" : "chevron-down"}" label="previous" class="${cx("h-6 w-12 rotate-90 grid place-items-center")}"></sd-6-29-1-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">${((_a = this.activeTab) == null ? void 0 : _a.variant) !== "container" ? html`<div part="active-tab-indicator" id="indicator" class="absolute h-1 bg-accent bottom-0 transition-[transform,width] duration-medium ease-in-out z-30 navigable__current-indicator-height navigable__current-indicator-border-radius"></div>` : ""}<div part="separation" class="border-neutral-400 absolute w-full h-0.25 bottom-0 border-b z-10"></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" disabled="${ifDefined(!this.canScroll.right || void 0)}" class="${cx(
|
|
262
262
|
"sd-interactive flex items-center justify-center absolute top-0 bottom-0 right-0 !outline-offset-0 border-b border-neutral-400 z-10",
|
|
263
263
|
this.localize.dir() === "rtl" && "right-auto left-0"
|
|
264
|
-
)}" @click="${this.handleScrollToEnd}"><sd-6-29-
|
|
264
|
+
)}" @click="${this.handleScrollToEnd}"><sd-6-29-1-icon library="_internal" name="${isRtl ? "chevron-down" : "chevron-up"}" label="next" class="${cx("h-6 w-12 rotate-90 grid place-items-center")}"></sd-6-29-1-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>`;
|
|
265
265
|
}
|
|
266
266
|
};
|
|
267
267
|
SdTabGroup.styles = [
|
|
268
268
|
...SolidElement.styles,
|
|
269
269
|
css`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
270
|
-
:host{box-sizing:border-box;display:block}[part=scroll-container]{scrollbar-width:none}[part=scroll-container]::-webkit-scrollbar{height:0;width:0}::slotted(sd-6-29-
|
|
270
|
+
:host{box-sizing:border-box;display:block}[part=scroll-container]{scrollbar-width:none}[part=scroll-container]::-webkit-scrollbar{height:0;width:0}::slotted(sd-6-29-1-tab-panel){--padding:1rem 0}::slotted(sd-6-29-1-tab-panel:focus-visible){outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:var(--outline-color-primary)}`
|
|
271
271
|
];
|
|
272
272
|
__decorateClass([
|
|
273
273
|
query("[part=base]")
|
|
@@ -300,7 +300,7 @@ __decorateClass([
|
|
|
300
300
|
debounce(20)
|
|
301
301
|
], SdTabGroup.prototype, "handleScroll", 1);
|
|
302
302
|
SdTabGroup = __decorateClass([
|
|
303
|
-
customElement("sd-6-29-
|
|
303
|
+
customElement("sd-6-29-1-tab-group")
|
|
304
304
|
], SdTabGroup);
|
|
305
305
|
|
|
306
306
|
export {
|
|
@@ -38,13 +38,13 @@ var SdBreadcrumbItem = class extends SolidElement {
|
|
|
38
38
|
requestAnimationFrame(() => this.handleCurrentChange());
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
|
-
return html`<sd-6-29-
|
|
41
|
+
return html`<sd-6-29-1-link part="base" href="${ifDefined(!this.current ? this.href : void 0)}" target="${this.target}" standalone class="text-nowrap"><slot></slot></sd-6-29-1-link>`;
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
SdBreadcrumbItem.styles = [
|
|
45
45
|
...SolidElement.styles,
|
|
46
46
|
css`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
47
|
-
:host{display:inline-flex;align-items:center}sd-6-29-
|
|
47
|
+
:host{display:inline-flex;align-items:center}sd-6-29-1-link::part(base){align-items:center}sd-6-29-1-link::part(icon-left){margin-right:0;display:inline-flex}:host([current]) sd-6-29-1-link::part(base){color:rgba(var(--sd-breadcrumb--current-color-text,rgba(var(--sd-color-neutral-700))))}:host([current]) sd-6-29-1-link::part(label){text-decoration-line:none}`
|
|
48
48
|
];
|
|
49
49
|
__decorateClass([
|
|
50
50
|
query('[part="base"]')
|
|
@@ -62,7 +62,7 @@ __decorateClass([
|
|
|
62
62
|
watch("current")
|
|
63
63
|
], SdBreadcrumbItem.prototype, "handleCurrentChange", 1);
|
|
64
64
|
SdBreadcrumbItem = __decorateClass([
|
|
65
|
-
customElement("sd-6-29-
|
|
65
|
+
customElement("sd-6-29-1-breadcrumb-item")
|
|
66
66
|
], SdBreadcrumbItem);
|
|
67
67
|
|
|
68
68
|
export {
|
|
@@ -26,7 +26,7 @@ SdCarouselItem.styles = [
|
|
|
26
26
|
:host{aspect-ratio:var(--aspect-ratio);scroll-snap-align:start;scroll-snap-stop:always;display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:center}::slotted(img){height:100%;width:100%;-o-object-fit:cover;object-fit:cover}`
|
|
27
27
|
];
|
|
28
28
|
SdCarouselItem = __decorateClass([
|
|
29
|
-
customElement("sd-6-29-
|
|
29
|
+
customElement("sd-6-29-1-carousel-item")
|
|
30
30
|
], SdCarouselItem);
|
|
31
31
|
|
|
32
32
|
export {
|
|
@@ -192,13 +192,13 @@ var SdDialog = class extends SolidElement {
|
|
|
192
192
|
return waitForEvent(this, "sd-after-hide");
|
|
193
193
|
}
|
|
194
194
|
render() {
|
|
195
|
-
return html`<sd-6-29-
|
|
195
|
+
return html`<sd-6-29-1-theme-listener></sd-6-29-1-theme-listener><div part="base" class="${cx(
|
|
196
196
|
"flex items-center justify-center fixed inset-0 z-dialog",
|
|
197
197
|
this.hasSlotController.test("footer") && "dialog--has-footer"
|
|
198
198
|
)}"><div part="overlay" class="fixed inset-0 overlay-color-background" @click="${() => this.requestClose("overlay")}" tabindex="-1"></div><div part="panel" class="${cx(
|
|
199
199
|
"panel-color-border border flex flex-col z-20 bg-white py-4 sm:py-8 relative gap-6 focus-visible:focus-outline-inverted overflow-y-auto",
|
|
200
200
|
this.open && "flex opacity-100"
|
|
201
|
-
)}" role="dialog" aria-modal="true" aria-hidden="${this.open ? "false" : "true"}" aria-label="${ifDefined(this.headline ? this.headline : void 0)}" aria-labelledby="${ifDefined(!this.headline ? "title" : void 0)}" tabindex="0"><header part="header" class="flex flex-grow-0 flex-shrink-0 basis-auto px-6 sm:px-10"><h2 part="title" class="flex-auto m-0" id="title">${this.headline.length > 0 ? html`<span class="sd-headline sd-headline--size-3xl leading-tight">${this.headline}</span>` : html`<slot name="headline"></slot>`}</h2>${!this.noCloseButton ? html`<sd-6-29-
|
|
201
|
+
)}" role="dialog" aria-modal="true" aria-hidden="${this.open ? "false" : "true"}" aria-label="${ifDefined(this.headline ? this.headline : void 0)}" aria-labelledby="${ifDefined(!this.headline ? "title" : void 0)}" tabindex="0"><header part="header" class="flex flex-grow-0 flex-shrink-0 basis-auto px-6 sm:px-10"><h2 part="title" class="flex-auto m-0" id="title">${this.headline.length > 0 ? html`<span class="sd-headline sd-headline--size-3xl leading-tight">${this.headline}</span>` : html`<slot name="headline"></slot>`}</h2>${!this.noCloseButton ? html`<sd-6-29-1-button part="close-button" variant="tertiary" exportparts="base:close-button__base" class="${cx("absolute top-2 right-2")}" name="x-lg" @click="${() => this.requestClose("close-button")}" type="button"><sd-6-29-1-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-6-29-1-icon></sd-6-29-1-button>` : ""}</header><main part="body" class="flex flex-auto overflow-auto w-full px-6 sm:px-10"><slot></slot></main><footer part="footer" class="flex flex-grow-0 flex-shrink-0 basis-auto ml-auto gap-4 px-6 sm:px-10"><slot name="footer"></slot></footer></div></div>`;
|
|
202
202
|
}
|
|
203
203
|
};
|
|
204
204
|
SdDialog.styles = [
|
|
@@ -228,7 +228,7 @@ __decorateClass([
|
|
|
228
228
|
watch("open", { waitUntilFirstUpdate: true })
|
|
229
229
|
], SdDialog.prototype, "handleOpenChange", 1);
|
|
230
230
|
SdDialog = __decorateClass([
|
|
231
|
-
customElement("sd-6-29-
|
|
231
|
+
customElement("sd-6-29-1-dialog")
|
|
232
232
|
], SdDialog);
|
|
233
233
|
setDefaultAnimation("dialog.show", {
|
|
234
234
|
keyframes: [
|
|
@@ -87,7 +87,7 @@ var SdFlipcard = class extends SolidElement {
|
|
|
87
87
|
"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",
|
|
88
88
|
"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"
|
|
89
89
|
}[this.frontVariant]
|
|
90
|
-
)}"></div><sd-6-29-
|
|
90
|
+
)}"></div><sd-6-29-1-button part="front-button" size="md" variant="${{
|
|
91
91
|
primary: "tertiary",
|
|
92
92
|
"primary-100": "tertiary",
|
|
93
93
|
"gradient-light": "primary",
|
|
@@ -97,7 +97,7 @@ var SdFlipcard = class extends SolidElement {
|
|
|
97
97
|
"primary-100": false,
|
|
98
98
|
"gradient-light": true,
|
|
99
99
|
"gradient-dark": true
|
|
100
|
-
}[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-6-29-
|
|
100
|
+
}[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-6-29-1-icon library="_internal" name="reload" label="Flip to Back"></sd-6-29-1-icon></sd-6-29-1-button></div><div part="back" tabindex="0" aria-hidden="${this.activeSide === "front"}" inert="${ifDefined(this.activeSide === "front" || void 0)}" class="${cx(
|
|
101
101
|
"flip-card__side flip-card__side--back overflow-hidden transition-transform duration-1000 ease-in-out",
|
|
102
102
|
"flex focus-visible:focus-outline",
|
|
103
103
|
"absolute top-0 left-0 w-full h-full justify-end text-left",
|
|
@@ -130,7 +130,7 @@ var SdFlipcard = class extends SolidElement {
|
|
|
130
130
|
"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",
|
|
131
131
|
"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"
|
|
132
132
|
}[this.backVariant]
|
|
133
|
-
)}"></div><sd-6-29-
|
|
133
|
+
)}"></div><sd-6-29-1-button size="md" part="back-button" variant="${{
|
|
134
134
|
primary: "tertiary",
|
|
135
135
|
"primary-100": "tertiary",
|
|
136
136
|
"gradient-light": "primary",
|
|
@@ -140,7 +140,7 @@ var SdFlipcard = class extends SolidElement {
|
|
|
140
140
|
"primary-100": false,
|
|
141
141
|
"gradient-light": true,
|
|
142
142
|
"gradient-dark": true
|
|
143
|
-
}[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-6-29-
|
|
143
|
+
}[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-6-29-1-icon library="_internal" name="reload" label="Flip to Front"></sd-6-29-1-icon></sd-6-29-1-button></div></div>`;
|
|
144
144
|
}
|
|
145
145
|
};
|
|
146
146
|
/**
|
|
@@ -176,7 +176,7 @@ __decorateClass([
|
|
|
176
176
|
state()
|
|
177
177
|
], SdFlipcard.prototype, "activeSide", 2);
|
|
178
178
|
SdFlipcard = __decorateClass([
|
|
179
|
-
customElement("sd-6-29-
|
|
179
|
+
customElement("sd-6-29-1-flipcard")
|
|
180
180
|
], SdFlipcard);
|
|
181
181
|
|
|
182
182
|
export {
|
|
@@ -54,7 +54,7 @@ var SdNavigationItem = class extends SolidElement {
|
|
|
54
54
|
}
|
|
55
55
|
if (node.nodeType === Node.ELEMENT_NODE) {
|
|
56
56
|
const element = node;
|
|
57
|
-
return element.tagName.toLowerCase() === "sd-6-29-
|
|
57
|
+
return element.tagName.toLowerCase() === "sd-6-29-1-icon";
|
|
58
58
|
}
|
|
59
59
|
return false;
|
|
60
60
|
});
|
|
@@ -130,8 +130,8 @@ var SdNavigationItem = class extends SolidElement {
|
|
|
130
130
|
const root = html`<${tag} part="base" class="${cx(
|
|
131
131
|
"flex items-center cursor-pointer relative focus-visible:focus-outline group hover:bg-neutral-200 transition-colors duration-fast ease-in-out min-h-[48px] navigable-border-radius",
|
|
132
132
|
this.isStackedHorizontal ? "text-xs leading-4.5" : { md: "navigable-font-size", lg: "text-lg", sm: "text-[14px]" }[this.size],
|
|
133
|
-
this.disabled ? "text-neutral-500 pointer-events-none" : "sd-6-29-
|
|
134
|
-
this.current && !this.disabled && "sd-6-29-
|
|
133
|
+
this.disabled ? "text-neutral-500 pointer-events-none" : "sd-6-29-1-navigation-item--default-color-text",
|
|
134
|
+
this.current && !this.disabled && "sd-6-29-1-navigation-item--current-color-text",
|
|
135
135
|
this.current && !this.isStackedHorizontal && "font-bold",
|
|
136
136
|
!this.current && !this.isStackedHorizontal && "choice-control-font-weight",
|
|
137
137
|
!isAccordion && "w-full",
|
|
@@ -154,7 +154,7 @@ var SdNavigationItem = class extends SolidElement {
|
|
|
154
154
|
slots["description"] && "pt-3",
|
|
155
155
|
!slots["description"] && !this.separated && horizontalPadding,
|
|
156
156
|
this.calculatePaddingX
|
|
157
|
-
)}">${this.divider && this.vertical ? html`<sd-6-29-
|
|
157
|
+
)}">${this.divider && this.vertical ? html`<sd-6-29-1-divider part="divider" class="${cx("w-full transition-all absolute -top-0.25 left-0", this.calculatePaddingX)}"></sd-6-29-1-divider>` : ""} <span id="content" part="content-container" class="${cx(
|
|
158
158
|
"inline-flex items-center",
|
|
159
159
|
this.vertical ? "flex-auto gap-2" : this.isStackedHorizontal ? "relative text-center pb-1" : "flex-auto flex-col justify-center gap-1 text-center"
|
|
160
160
|
)}"><slot part="content" class="${cx(
|
|
@@ -163,19 +163,19 @@ var SdNavigationItem = class extends SolidElement {
|
|
|
163
163
|
)}"></slot>${this.isStackedHorizontal ? html`<span part="current-indicator" aria-hidden="true" class="${cx(
|
|
164
164
|
"absolute left-0 right-0 bottom-0 h-[2px] pointer-events-none bg-accent navigable__current-indicator-border-radius",
|
|
165
165
|
this.disabled && "bg-neutral-500"
|
|
166
|
-
)}"></span>` : ""} </span>${this.chevron || slots["children"] && this.vertical && !this.separated ? html`<sd-6-29-
|
|
166
|
+
)}"></span>` : ""} </span>${this.chevron || slots["children"] && this.vertical && !this.separated ? html`<sd-6-29-1-icon name="chevron-down" part="chevron" library="_internal" color="currentColor" class="${cx(
|
|
167
167
|
"h-6 w-6 ml-2 transition-all",
|
|
168
168
|
isAccordion ? this.open ? "rotate-180" : "rotate-0" : "rotate-[270deg]"
|
|
169
|
-
)}"></sd-6-29-
|
|
169
|
+
)}"></sd-6-29-1-icon>` : ""} </span>${slots["description"] && this.vertical ? html`<slot id="description" name="description" part="description" class="${cx(
|
|
170
170
|
"inline-block text-sm text-left font-normal text-black pb-3",
|
|
171
171
|
isAccordion || this.separated ? "grow" : "w-full",
|
|
172
172
|
this.calculatePaddingX
|
|
173
173
|
)}"></slot>` : ""}</div></${tag}>`;
|
|
174
174
|
if (this.separated) {
|
|
175
|
-
return html`<div part="details" id="navigation-item-details" class="relative flex flex-col"><div class="flex items-start">${root} ${slots["children"] && this.vertical ? html`<button type="button" title="${this.open ? this.localize.term("collapseNavigationItem") : this.localize.term("expandNavigationItem")}" class="sd-interactive sd-interactive--reset -mt-1" @click="${this.handleClickSummary}"><sd-6-29-
|
|
175
|
+
return html`<div part="details" id="navigation-item-details" class="relative flex flex-col"><div class="flex items-start">${root} ${slots["children"] && this.vertical ? html`<button type="button" title="${this.open ? this.localize.term("collapseNavigationItem") : this.localize.term("expandNavigationItem")}" class="sd-interactive sd-interactive--reset -mt-1" @click="${this.handleClickSummary}"><sd-6-29-1-icon name="chevron-down" part="chevron" library="_internal" color="currentColor" class="${cx(
|
|
176
176
|
"m-4 h-6 w-6 transition-all",
|
|
177
177
|
isAccordion || this.separated ? this.open ? "rotate-180" : "rotate-0" : "rotate-[270deg]"
|
|
178
|
-
)}"></sd-6-29-
|
|
178
|
+
)}"></sd-6-29-1-icon></button>` : ""}</div>${this.open ? html`<slot name="children"></slot>` : ""}</div>`;
|
|
179
179
|
}
|
|
180
180
|
if (isAccordion) {
|
|
181
181
|
return html`<details aria-expanded="${this.open}" part="details" id="navigation-item-details" ?open="${this.open}" class="relative">${root}<slot name="children"></slot></details>`;
|
|
@@ -189,7 +189,7 @@ var SdNavigationItem = class extends SolidElement {
|
|
|
189
189
|
SdNavigationItem.styles = [
|
|
190
190
|
...SolidElement.styles,
|
|
191
191
|
css`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
192
|
-
:host{position:relative;box-sizing:border-box;display:inline-block}:host([vertical]){display:block}:host([stacked]:not([vertical])) ::slotted(sd-6-29-
|
|
192
|
+
:host{position:relative;box-sizing:border-box;display:inline-block}:host([vertical]){display:block}:host([stacked]:not([vertical])) ::slotted(sd-6-29-1-icon){height:var(--sd-spacing-6);width:var(--sd-spacing-6)}.sd-6-29-1-navigation-item--current-color-text{color:rgb(var(--sd-navigation-item--current-color-text,var(--sd-navigation-item-color-text)))}details summary::-webkit-details-marker{display:none}[part=current-indicator]{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:var(--sd-opacity-0);--tw-duration:var(--sd-duration-fast, 150ms);transition-duration:var(--sd-duration-fast,150ms);transition:width var(--sd-duration-fast) ease-in-out,height var(--sd-duration-fast) ease-in-out,left var(--sd-duration-fast) ease-in-out,top var(--sd-duration-fast) ease-in-out,opacity var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out var(--sd-duration-fast)}:host([current]) [part=current-indicator]{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:var(--sd-opacity-100);transition:width var(--sd-duration-fast) ease-in-out,height var(--sd-duration-fast) ease-in-out,left var(--sd-duration-fast) ease-in-out,top var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-duration{syntax:"*";inherits:false}`
|
|
193
193
|
];
|
|
194
194
|
__decorateClass([
|
|
195
195
|
query('[part="base"]')
|
|
@@ -240,7 +240,7 @@ __decorateClass([
|
|
|
240
240
|
property({ type: Boolean, reflect: true })
|
|
241
241
|
], SdNavigationItem.prototype, "separated", 2);
|
|
242
242
|
SdNavigationItem = __decorateClass([
|
|
243
|
-
customElement("sd-6-29-
|
|
243
|
+
customElement("sd-6-29-1-navigation-item")
|
|
244
244
|
], SdNavigationItem);
|
|
245
245
|
|
|
246
246
|
export {
|
|
@@ -113,7 +113,7 @@ var SdMenu = class extends SolidElement {
|
|
|
113
113
|
}
|
|
114
114
|
isMenuItem(item) {
|
|
115
115
|
var _a;
|
|
116
|
-
return item.tagName.toLowerCase() === "sd-6-29-
|
|
116
|
+
return item.tagName.toLowerCase() === "sd-6-29-1-menu-item" || ["menuitem", "menuitemcheckbox", "menuitemradio"].includes((_a = item.getAttribute("role")) != null ? _a : "");
|
|
117
117
|
}
|
|
118
118
|
/** @internal Gets all slotted menu items, ignoring dividers, headers, and other elements. */
|
|
119
119
|
getAllItems() {
|
|
@@ -148,13 +148,13 @@ var SdMenu = class extends SolidElement {
|
|
|
148
148
|
SdMenu.styles = [
|
|
149
149
|
...SolidElement.styles,
|
|
150
150
|
css`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
151
|
-
:host{position:relative;display:block;overflow:auto;overscroll-behavior:auto;border-radius:var(--sd-radius-md);padding-inline:var(--sd-spacing-2);padding-block:var(--sd-spacing-3);--tw-shadow:var(--sd-shadow)!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}::slotted(sd-6-29-
|
|
151
|
+
:host{position:relative;display:block;overflow:auto;overscroll-behavior:auto;border-radius:var(--sd-radius-md);padding-inline:var(--sd-spacing-2);padding-block:var(--sd-spacing-3);--tw-shadow:var(--sd-shadow)!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}::slotted(sd-6-29-1-divider){padding-block:var(--sd-spacing-3)}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}`
|
|
152
152
|
];
|
|
153
153
|
__decorateClass([
|
|
154
154
|
query("slot")
|
|
155
155
|
], SdMenu.prototype, "defaultSlot", 2);
|
|
156
156
|
SdMenu = __decorateClass([
|
|
157
|
-
customElement("sd-6-29-
|
|
157
|
+
customElement("sd-6-29-1-menu")
|
|
158
158
|
], SdMenu);
|
|
159
159
|
|
|
160
160
|
export {
|
|
@@ -98,7 +98,7 @@ var SdVideo = class extends SolidElement {
|
|
|
98
98
|
this.playing ? "opacity-0" : "opacity-100",
|
|
99
99
|
this.isBelowBreakpoint ? "w-[48px] h-[48px]" : "w-[96px] h-[96px]",
|
|
100
100
|
"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 p-4 bg-white/75 rounded-full play-pause-transition group-focus-visible:outline-2 group-focus-visible:outline-offset-2"
|
|
101
|
-
)}"><slot name="play-icon" part="play-icon" class="${cx(this.isBelowBreakpoint ? "text-[2rem]" : "text-[4rem]")}"><sd-6-29-
|
|
101
|
+
)}"><slot name="play-icon" part="play-icon" class="${cx(this.isBelowBreakpoint ? "text-[2rem]" : "text-[4rem]")}"><sd-6-29-1-icon id="default-play-icon" library="_internal" name="start"></sd-6-29-1-icon></slot></div></button> ${this.hasSlotController.test("poster") ? html`<div part="poster-wrapper" class="absolute left-0 top-0 w-full z-10 overflow-hidden"><slot name="poster" role="presentation"></slot></div>` : null}<slot></slot></div>`;
|
|
102
102
|
}
|
|
103
103
|
};
|
|
104
104
|
SdVideo.styles = [
|
|
@@ -116,7 +116,7 @@ __decorateClass([
|
|
|
116
116
|
property({ type: Boolean })
|
|
117
117
|
], SdVideo.prototype, "isBelowBreakpoint", 2);
|
|
118
118
|
SdVideo = __decorateClass([
|
|
119
|
-
customElement("sd-6-29-
|
|
119
|
+
customElement("sd-6-29-1-video")
|
|
120
120
|
], SdVideo);
|
|
121
121
|
|
|
122
122
|
export {
|