@solid-design-system/components 6.24.2 → 6.25.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/custom-elements.json +1 -1
- package/cdn/web-types.json +1 -1
- package/cdn-versioned/chunks/chunk.2FRV4JI3.js +1 -1
- package/cdn-versioned/chunks/chunk.2TCDQYYC.js +2 -2
- package/cdn-versioned/chunks/chunk.32WSNOK5.js +2 -2
- package/cdn-versioned/chunks/chunk.36LY3DX3.js +2 -2
- package/cdn-versioned/chunks/chunk.3FXWTJNG.js +2 -2
- package/cdn-versioned/chunks/chunk.3HJR4W7S.js +2 -2
- package/cdn-versioned/chunks/chunk.3NV5EFHF.js +9 -9
- package/cdn-versioned/chunks/chunk.4PBTCGFX.js +2 -2
- package/cdn-versioned/chunks/chunk.4TEHVEJ5.js +2 -2
- package/cdn-versioned/chunks/chunk.5B4C742P.js +2 -2
- package/cdn-versioned/chunks/chunk.5D2QLOPO.js +2 -2
- package/cdn-versioned/chunks/chunk.5LQXIFL5.js +1 -1
- package/cdn-versioned/chunks/chunk.6ZVU7R22.js +2 -2
- package/cdn-versioned/chunks/chunk.7EYPTWOC.js +2 -2
- package/cdn-versioned/chunks/chunk.A3QRJ5ME.js +2 -2
- package/cdn-versioned/chunks/chunk.BJGMSYKC.js +1 -1
- package/cdn-versioned/chunks/chunk.BMOWDQOV.js +2 -2
- package/cdn-versioned/chunks/chunk.BS3GML7W.js +3 -3
- package/cdn-versioned/chunks/chunk.CIRCXXWS.js +2 -2
- package/cdn-versioned/chunks/chunk.CPEHJK3R.js +1 -1
- package/cdn-versioned/chunks/chunk.D4KX4Q6E.js +2 -2
- package/cdn-versioned/chunks/chunk.DSKB3SEU.js +1 -1
- package/cdn-versioned/chunks/chunk.E3RBLJOD.js +2 -2
- package/cdn-versioned/chunks/chunk.EDVI5WKO.js +3 -3
- package/cdn-versioned/chunks/chunk.FK2QE2LJ.js +2 -2
- package/cdn-versioned/chunks/chunk.GCCUJ5RI.js +3 -3
- package/cdn-versioned/chunks/chunk.GICLEIQR.js +1 -1
- package/cdn-versioned/chunks/chunk.GNQ2AH6R.js +5 -5
- package/cdn-versioned/chunks/chunk.GWINLIF6.js +2 -2
- package/cdn-versioned/chunks/chunk.HA4FSESN.js +2 -2
- package/cdn-versioned/chunks/chunk.ISEX6JDK.js +2 -2
- package/cdn-versioned/chunks/chunk.IXCKRXZP.js +2 -2
- package/cdn-versioned/chunks/chunk.KJ4O2AAU.js +2 -2
- package/cdn-versioned/chunks/chunk.KQBMEX4Q.js +2 -2
- package/cdn-versioned/chunks/chunk.L7DV2MLH.js +1 -1
- package/cdn-versioned/chunks/chunk.LVX7YSFZ.js +2 -2
- package/cdn-versioned/chunks/chunk.LWNOAXVZ.js +2 -2
- package/cdn-versioned/chunks/chunk.LZRL7OLU.js +1 -1
- package/cdn-versioned/chunks/chunk.MXPGGLKX.js +2 -2
- package/cdn-versioned/chunks/chunk.NXUXZCC5.js +1 -1
- package/cdn-versioned/chunks/chunk.OFQAFMQN.js +2 -2
- package/cdn-versioned/chunks/chunk.OJN4DDNN.js +2 -2
- package/cdn-versioned/chunks/chunk.OW556SXG.js +2 -2
- package/cdn-versioned/chunks/chunk.P4GZNPGK.js +1 -1
- package/cdn-versioned/chunks/chunk.PQIUYCLY.js +2 -2
- package/cdn-versioned/chunks/chunk.PZSKPF3M.js +2 -2
- package/cdn-versioned/chunks/chunk.R3CFPFL7.js +2 -2
- package/cdn-versioned/chunks/chunk.RJ7RNCAD.js +2 -2
- package/cdn-versioned/chunks/chunk.SK3BEBJX.js +2 -2
- package/cdn-versioned/chunks/chunk.SW3IDYJO.js +1 -1
- package/cdn-versioned/chunks/chunk.TNHTS2QZ.js +2 -2
- package/cdn-versioned/chunks/chunk.TQXBNN2G.js +2 -2
- package/cdn-versioned/chunks/chunk.TTYJJ4T5.js +2 -2
- package/cdn-versioned/chunks/chunk.TYVGKCJX.js +2 -2
- package/cdn-versioned/chunks/chunk.U2Q5EORY.js +2 -2
- package/cdn-versioned/chunks/chunk.VMZSSKC5.js +1 -1
- package/cdn-versioned/chunks/chunk.VSRBSS6K.js +2 -2
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.WB2ATZAO.js +5 -5
- package/cdn-versioned/chunks/chunk.XND4CVBN.js +2 -2
- package/cdn-versioned/chunks/chunk.XQ2AM7JO.js +2 -2
- package/cdn-versioned/chunks/chunk.YDZ7FOAV.js +2 -2
- package/cdn-versioned/chunks/chunk.YGYXL3BZ.js +2 -2
- package/cdn-versioned/chunks/chunk.ZC3U3HHB.js +2 -2
- package/cdn-versioned/chunks/chunk.ZFTFC2P4.js +2 -2
- 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/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 +253 -253
- 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/vscode.html-custom-data.json +109 -109
- package/cdn-versioned/web-types.json +165 -165
- package/dist/custom-elements.json +1 -1
- package/dist/web-types.json +1 -1
- package/dist-versioned/chunks/chunk.2KU6UVWZ.js +2 -2
- package/dist-versioned/chunks/chunk.2N4PQ34O.js +11 -11
- package/dist-versioned/chunks/chunk.4F4N3QQ6.js +4 -4
- package/dist-versioned/chunks/chunk.4QZT4Y6W.js +3 -3
- package/dist-versioned/chunks/chunk.4SNDWIKF.js +2 -2
- package/dist-versioned/chunks/chunk.5XP6OIKT.js +3 -3
- package/dist-versioned/chunks/chunk.6DDIBH76.js +14 -14
- package/dist-versioned/chunks/chunk.6MMNEOUE.js +2 -2
- package/dist-versioned/chunks/chunk.6V7SKGRY.js +4 -4
- package/dist-versioned/chunks/chunk.AIG5N2FZ.js +1 -1
- package/dist-versioned/chunks/chunk.AXZSMHWW.js +4 -4
- package/dist-versioned/chunks/chunk.BCZIRWVM.js +3 -3
- package/dist-versioned/chunks/chunk.BIYQLL42.js +11 -11
- package/dist-versioned/chunks/chunk.BVWAKEFC.js +1 -1
- package/dist-versioned/chunks/chunk.C3WIBDGG.js +2 -2
- package/dist-versioned/chunks/chunk.CTVKYPFB.js +5 -5
- package/dist-versioned/chunks/chunk.D3CLWL6Z.js +13 -13
- package/dist-versioned/chunks/chunk.D6W4R7CF.js +12 -12
- package/dist-versioned/chunks/chunk.DDBIUIIK.js +6 -6
- package/dist-versioned/chunks/chunk.DGV5QTN6.js +5 -5
- package/dist-versioned/chunks/chunk.EAJ3CM6N.js +4 -4
- package/dist-versioned/chunks/chunk.EHIUARAT.js +2 -2
- package/dist-versioned/chunks/chunk.EIHPDMVS.js +5 -5
- package/dist-versioned/chunks/chunk.EYTDOBZ4.js +6 -6
- package/dist-versioned/chunks/chunk.FMLTJI4Z.js +7 -7
- package/dist-versioned/chunks/chunk.FWMPHWGG.js +10 -10
- package/dist-versioned/chunks/chunk.G5PJCSSV.js +7 -7
- package/dist-versioned/chunks/chunk.GAQZ5NES.js +5 -5
- package/dist-versioned/chunks/chunk.GQ4ENMDG.js +10 -10
- package/dist-versioned/chunks/chunk.GUTW4VQD.js +5 -5
- package/dist-versioned/chunks/chunk.GUWNLJ7W.js +25 -25
- package/dist-versioned/chunks/chunk.JHGRQU5N.js +6 -6
- package/dist-versioned/chunks/chunk.JHHNBCX5.js +10 -10
- package/dist-versioned/chunks/chunk.JYUKVPUJ.js +1 -1
- package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
- package/dist-versioned/chunks/chunk.KEUBCTKM.js +8 -8
- package/dist-versioned/chunks/chunk.KGQHJROJ.js +3 -3
- package/dist-versioned/chunks/chunk.LKDQ3TXG.js +2 -2
- package/dist-versioned/chunks/chunk.LMXGFI7F.js +11 -11
- package/dist-versioned/chunks/chunk.M52SSKFL.js +10 -10
- package/dist-versioned/chunks/chunk.MUOLK3RU.js +33 -33
- package/dist-versioned/chunks/chunk.N7WMSLKA.js +1 -1
- package/dist-versioned/chunks/chunk.NIKLDQ35.js +2 -2
- package/dist-versioned/chunks/chunk.NNMBBWIU.js +2 -2
- package/dist-versioned/chunks/chunk.OXCSSHRT.js +10 -10
- package/dist-versioned/chunks/chunk.P7RNSWL3.js +1 -1
- package/dist-versioned/chunks/chunk.QWPXBE3R.js +3 -3
- package/dist-versioned/chunks/chunk.R3ZRRK4P.js +4 -4
- package/dist-versioned/chunks/chunk.R6M52RPI.js +5 -5
- package/dist-versioned/chunks/chunk.RQN4WSFL.js +5 -5
- package/dist-versioned/chunks/chunk.RWGWOZ23.js +1 -1
- package/dist-versioned/chunks/chunk.SLLHUOTL.js +2 -2
- package/dist-versioned/chunks/chunk.SUQL6D3H.js +5 -5
- package/dist-versioned/chunks/chunk.TEHKQWUZ.js +6 -6
- package/dist-versioned/chunks/chunk.TEHS57B5.js +2 -2
- package/dist-versioned/chunks/chunk.TRG462TJ.js +1 -1
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/chunk.WASJNAOH.js +25 -25
- package/dist-versioned/chunks/chunk.XFU4IJSC.js +5 -5
- package/dist-versioned/chunks/chunk.XRYVTNMS.js +3 -3
- package/dist-versioned/chunks/chunk.YEO5QKA7.js +2 -2
- package/dist-versioned/chunks/chunk.YNVPCLKL.js +5 -5
- package/dist-versioned/chunks/chunk.YSZ7WBON.js +1 -1
- package/dist-versioned/chunks/chunk.ZCOV36IT.js +2 -2
- package/dist-versioned/chunks/chunk.ZF4JCUFV.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/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/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 +253 -253
- package/dist-versioned/internal/form.js +2 -2
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/vscode.html-custom-data.json +109 -109
- package/dist-versioned/web-types.json +165 -165
- package/package.json +2 -1
|
@@ -42,16 +42,16 @@ var SdAccordionGroup = class extends SolidElement {
|
|
|
42
42
|
SdAccordionGroup.styles = [
|
|
43
43
|
...SolidElement.styles,
|
|
44
44
|
css`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
45
|
-
:host{display:block}::slotted(sd-6-
|
|
45
|
+
:host{display:block}::slotted(sd-6-25-1-accordion:not(:first-of-type)){margin-top:calc(-1 * var(--sd-accordion-border-width))!important}`
|
|
46
46
|
];
|
|
47
47
|
__decorateClass([
|
|
48
|
-
queryAssignedElements({ selector: "sd-6-
|
|
48
|
+
queryAssignedElements({ selector: "sd-6-25-1-accordion" })
|
|
49
49
|
], SdAccordionGroup.prototype, "_accordionsInDefaultSlot", 2);
|
|
50
50
|
__decorateClass([
|
|
51
51
|
property({ attribute: "close-others", type: Boolean, reflect: true })
|
|
52
52
|
], SdAccordionGroup.prototype, "closeOthers", 2);
|
|
53
53
|
SdAccordionGroup = __decorateClass([
|
|
54
|
-
customElement("sd-6-
|
|
54
|
+
customElement("sd-6-25-1-accordion-group")
|
|
55
55
|
], SdAccordionGroup);
|
|
56
56
|
|
|
57
57
|
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-
|
|
101
|
+
)}"><slot name="play-icon" part="play-icon" class="${cx(this.isBelowBreakpoint ? "text-[2rem]" : "text-[4rem]")}"><sd-6-25-1-icon id="default-play-icon" library="_internal" name="start"></sd-6-25-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-
|
|
119
|
+
customElement("sd-6-25-1-video")
|
|
120
120
|
], SdVideo);
|
|
121
121
|
|
|
122
122
|
export {
|
|
@@ -17,19 +17,19 @@ var SdButtonGroup = class extends SolidElement {
|
|
|
17
17
|
}
|
|
18
18
|
handleFocus(event) {
|
|
19
19
|
const button = findButton(event.target);
|
|
20
|
-
button == null ? void 0 : button.classList.add("sd-6-
|
|
20
|
+
button == null ? void 0 : button.classList.add("sd-6-25-1-button-group__button--focus");
|
|
21
21
|
}
|
|
22
22
|
handleBlur(event) {
|
|
23
23
|
const button = findButton(event.target);
|
|
24
|
-
button == null ? void 0 : button.classList.remove("sd-6-
|
|
24
|
+
button == null ? void 0 : button.classList.remove("sd-6-25-1-button-group__button--focus");
|
|
25
25
|
}
|
|
26
26
|
handleMouseOver(event) {
|
|
27
27
|
const button = findButton(event.target);
|
|
28
|
-
button == null ? void 0 : button.classList.add("sd-6-
|
|
28
|
+
button == null ? void 0 : button.classList.add("sd-6-25-1-button-group__button--hover");
|
|
29
29
|
}
|
|
30
30
|
handleMouseOut(event) {
|
|
31
31
|
const button = findButton(event.target);
|
|
32
|
-
button == null ? void 0 : button.classList.remove("sd-6-
|
|
32
|
+
button == null ? void 0 : button.classList.remove("sd-6-25-1-button-group__button--hover");
|
|
33
33
|
}
|
|
34
34
|
handleSlotChange() {
|
|
35
35
|
const slottedElements = [...this.defaultSlot.assignedElements({ flatten: true })];
|
|
@@ -37,11 +37,11 @@ var SdButtonGroup = class extends SolidElement {
|
|
|
37
37
|
const index = slottedElements.indexOf(el);
|
|
38
38
|
const button = findButton(el);
|
|
39
39
|
if (button !== null) {
|
|
40
|
-
button.classList.add("sd-6-
|
|
41
|
-
button.classList.toggle("sd-6-
|
|
42
|
-
button.classList.toggle("sd-6-
|
|
43
|
-
button.classList.toggle("sd-6-
|
|
44
|
-
button.classList.toggle("sd-6-
|
|
40
|
+
button.classList.add("sd-6-25-1-button-group__button");
|
|
41
|
+
button.classList.toggle("sd-6-25-1-button-group__button--first", index === 0);
|
|
42
|
+
button.classList.toggle("sd-6-25-1-button-group__button--inner", index > 0 && index < slottedElements.length - 1);
|
|
43
|
+
button.classList.toggle("sd-6-25-1-button-group__button--last", index === slottedElements.length - 1);
|
|
44
|
+
button.classList.toggle("sd-6-25-1-button-group__button--radio", button.tagName.toLowerCase() === "sd-6-25-1-radio-button");
|
|
45
45
|
}
|
|
46
46
|
});
|
|
47
47
|
}
|
|
@@ -64,11 +64,11 @@ __decorateClass([
|
|
|
64
64
|
property({ type: String, reflect: true })
|
|
65
65
|
], SdButtonGroup.prototype, "label", 2);
|
|
66
66
|
SdButtonGroup = __decorateClass([
|
|
67
|
-
customElement("sd-6-
|
|
67
|
+
customElement("sd-6-25-1-button-group")
|
|
68
68
|
], SdButtonGroup);
|
|
69
69
|
function findButton(el) {
|
|
70
70
|
var _a;
|
|
71
|
-
const selector = "sd-6-
|
|
71
|
+
const selector = "sd-6-25-1-button, sd-6-25-1-radio-button";
|
|
72
72
|
return (_a = el.closest(selector)) != null ? _a : el.querySelector(selector);
|
|
73
73
|
}
|
|
74
74
|
|
|
@@ -64,7 +64,7 @@ var SdCarousel = class extends SolidElement {
|
|
|
64
64
|
if (!this.isFocused) this.next();
|
|
65
65
|
});
|
|
66
66
|
this.scrollController = new ScrollController(this);
|
|
67
|
-
this.slides = this.getElementsByTagName("sd-6-
|
|
67
|
+
this.slides = this.getElementsByTagName("sd-6-25-1-carousel-item");
|
|
68
68
|
// determines which slide is displayed
|
|
69
69
|
// A map containing the state of all the slides
|
|
70
70
|
this.intersectionObserverEntries = /* @__PURE__ */ new Map();
|
|
@@ -476,7 +476,7 @@ var SdCarousel = class extends SolidElement {
|
|
|
476
476
|
if (e.detail) {
|
|
477
477
|
this.autoplayControls.blur();
|
|
478
478
|
}
|
|
479
|
-
}}"><slot name="autoplay-start" class="${cx(!this.pausedAutoplay ? "hidden" : "")}"><sd-6-
|
|
479
|
+
}}"><slot name="autoplay-start" class="${cx(!this.pausedAutoplay ? "hidden" : "")}"><sd-6-25-1-icon class="h-6 w-6 grid place-items-center" library="_internal" name="start"></sd-6-25-1-icon></slot><slot name="autoplay-pause" class="${cx(this.pausedAutoplay ? "hidden" : "")}"><sd-6-25-1-icon class="h-6 w-6 grid place-items-center" library="_internal" name="pause"></sd-6-25-1-icon></slot></button><div class="carousel__announcement sr-only" aria-live="${!this.autoplay || this.pausedAutoplay || this.isFocused ? "polite" : "off"}" aria-atomic="true"></div><div id="scroll-container" part="scroll-container" class="${cx(
|
|
480
480
|
`carousel__slides mb-6 max-h-full w-full items-center justify-items-center`,
|
|
481
481
|
this.inverted ? "focus-visible:focus-outline-inverted" : "focus-visible:focus-outline",
|
|
482
482
|
this.fade ? "relative overflow-hidden" : `grid overflow-auto overscroll-x-contain grid-flow-col auto-rows-[100%] snap-x snap-mandatory overflow-y-hidden`
|
|
@@ -490,7 +490,7 @@ var SdCarousel = class extends SolidElement {
|
|
|
490
490
|
)}" aria-label="${this.localize.term("previousSlide")}" aria-controls="scroll-container" aria-disabled="${prevEnabled ? "false" : "true"}" @click="${prevEnabled ? (e) => {
|
|
491
491
|
this.previous();
|
|
492
492
|
this.unblockAutoplay(e, this.previousButton);
|
|
493
|
-
} : null}"><slot name="previous-icon"><sd-6-
|
|
493
|
+
} : null}"><slot name="previous-icon"><sd-6-25-1-icon class="${cx("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${isLtr ? "chevron-down" : "chevron-up"}"></sd-6-25-1-icon></slot></button> ${this.variant === "dot" ? html`<div part="pagination-dot" role="tablist" class="${cx("carousel__pagination dot flex wrap items-center gap-2")}" aria-controls="scroll-container">${map(range(pagesCount), (index) => {
|
|
494
494
|
const isActive = index + 1 === currentPage;
|
|
495
495
|
return html`<button part="pagination-item ${isActive ? "pagination-item--active" : ""}" class="${cx(
|
|
496
496
|
"carousel__pagination-item",
|
|
@@ -501,14 +501,14 @@ var SdCarousel = class extends SolidElement {
|
|
|
501
501
|
this.goToSlide(index * slidesPerMove);
|
|
502
502
|
this.unblockAutoplay(e, this.paginationItems[index]);
|
|
503
503
|
}}"><span class="${cx(
|
|
504
|
-
"h-4 w-4 block border sd-6-
|
|
505
|
-
this.inverted ? "sd-6-
|
|
504
|
+
"h-4 w-4 block border sd-6-25-1-carousel__pager-dot-border-width rounded-full transition-colors duration-slow hover:duration-fast ease-in-out",
|
|
505
|
+
this.inverted ? "sd-6-25-1-carousel__pager-dot--inverted-border hover:border-primary-200" : "border-primary hover:border-primary-500",
|
|
506
506
|
isActive && "border-none",
|
|
507
|
-
isActive ? this.inverted ? "sd-6-
|
|
507
|
+
isActive ? this.inverted ? "sd-6-25-1-carousel__pager-dot--inverted-background hover:sd-6-25-1-carousel__pager-dot--inverted--hovered-background" : "sd-6-25-1-carousel__pager-dot-background hover:bg-accent-550" : ""
|
|
508
508
|
)}"></span></button>`;
|
|
509
509
|
})}</div>` : html`<span part="pagination-number" class="carousel__pagination number flex gap-0.5 cursor-default select-none" aria-controls="scroll-container"><span part="pagination-item" class="${cx(
|
|
510
510
|
"w-5 text-center border-b-2",
|
|
511
|
-
this.inverted ? "text-white sd-6-
|
|
511
|
+
this.inverted ? "text-white sd-6-25-1-carousel--active--inverted-color-border" : "text-black sd-6-25-1-carousel--active-color-border"
|
|
512
512
|
)}">${currentPage}</span> <span part="pagination-divider" class="${cx("scale-y-[1.5]", "text-center", this.inverted ? "text-white" : "text-black")}">/</span> <span part="pagination-item" class="${cx("w-5 text-center", this.inverted ? "text-white" : "text-black")}">${pagesCount}</span></span>`} <button part="navigation-button navigation-button--next" id="carousel__navigation-button--next" ?disabled="${!nextEnabled ? true : false}" class="${cx(
|
|
513
513
|
"!ml-6 !rounded-sm sd-interactive transition-colors duration-fast ease-in-out",
|
|
514
514
|
!nextEnabled && "sd-interactive--disabled",
|
|
@@ -516,13 +516,13 @@ var SdCarousel = class extends SolidElement {
|
|
|
516
516
|
)}" aria-label="${this.localize.term("nextSlide")}" aria-controls="scroll-container" aria-disabled="${nextEnabled ? "false" : "true"}" @click="${nextEnabled ? (e) => {
|
|
517
517
|
this.next();
|
|
518
518
|
this.unblockAutoplay(e, this.nextButton);
|
|
519
|
-
} : null}"><slot name="next-icon"><sd-6-
|
|
519
|
+
} : null}"><slot name="next-icon"><sd-6-25-1-icon class="${cx("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${isLtr ? "chevron-up" : "chevron-down"}"></sd-6-25-1-icon></slot></button></div></div></div>`;
|
|
520
520
|
}
|
|
521
521
|
};
|
|
522
522
|
SdCarousel.styles = [
|
|
523
523
|
...SolidElement.styles,
|
|
524
524
|
css`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
525
|
-
:host{--slide-gap:var(--sl-spacing-medium, 1rem);--scroll-hint:0px;display:flex}.carousel{grid-template-areas:'. slides .' '. pagination .'}.carousel__pagination{grid-area:pagination}.carousel__slides{grid-area:slides;scrollbar-width:none;--slide-size:calc((100% - (var(--slides-per-page) - 1) * var(--slide-gap)) / var(--slides-per-page));grid-auto-columns:var(--slide-size);-moz-column-gap:var(--slide-gap);column-gap:var(--slide-gap);scroll-padding-inline:var(--scroll-hint);padding-inline:var(--scroll-hint)}.carousel__slides::-webkit-scrollbar{display:none}[part=autoplay-controls]{z-index:1}:host([fade]){--carousel-height:auto}:host([fade]) .carousel__slides{position:relative;display:block;overflow:hidden;height:var(--carousel-height)}@media (prefers-reduced-motion){:where(.carousel__slides){scroll-behavior:auto}}.carousel__navigation{grid-area:navigation}sd-6-
|
|
525
|
+
:host{--slide-gap:var(--sl-spacing-medium, 1rem);--scroll-hint:0px;display:flex}.carousel{grid-template-areas:'. slides .' '. pagination .'}.carousel__pagination{grid-area:pagination}.carousel__slides{grid-area:slides;scrollbar-width:none;--slide-size:calc((100% - (var(--slides-per-page) - 1) * var(--slide-gap)) / var(--slides-per-page));grid-auto-columns:var(--slide-size);-moz-column-gap:var(--slide-gap);column-gap:var(--slide-gap);scroll-padding-inline:var(--scroll-hint);padding-inline:var(--scroll-hint)}.carousel__slides::-webkit-scrollbar{display:none}[part=autoplay-controls]{z-index:1}:host([fade]){--carousel-height:auto}:host([fade]) .carousel__slides{position:relative;display:block;overflow:hidden;height:var(--carousel-height)}@media (prefers-reduced-motion){:where(.carousel__slides){scroll-behavior:auto}}.carousel__navigation{grid-area:navigation}sd-6-25-1-button::part(label){pointer-events:none;display:flex;flex:auto;align-items:center}`
|
|
526
526
|
];
|
|
527
527
|
__decorateClass([
|
|
528
528
|
query('[part~="autoplay-controls"]')
|
|
@@ -607,7 +607,7 @@ __decorateClass([
|
|
|
607
607
|
watch("autoplayInterval")
|
|
608
608
|
], SdCarousel.prototype, "handleautoplayIntervalChange", 1);
|
|
609
609
|
SdCarousel = __decorateClass([
|
|
610
|
-
customElement("sd-6-
|
|
610
|
+
customElement("sd-6-25-1-carousel")
|
|
611
611
|
], SdCarousel);
|
|
612
612
|
|
|
613
613
|
export {
|
|
@@ -159,62 +159,62 @@ var SdButton = class extends SolidElement {
|
|
|
159
159
|
(this.disabled || this.visuallyDisabled) && "cursor-not-allowed",
|
|
160
160
|
{
|
|
161
161
|
/* sizes, fonts */
|
|
162
|
-
sm: `varspacing-8 min-h-8 sd-6-
|
|
163
|
-
md: `varspacing-10 sd-6-
|
|
164
|
-
lg: `varspacing-12 sd-6-
|
|
162
|
+
sm: `varspacing-8 min-h-8 sd-6-25-1-button--size-sm-font-size sd-6-25-1-button-font-weight sd-6-25-1-button--secondary--size-sm-padding-block sd-6-25-1-button--size-sm-border-radius`,
|
|
163
|
+
md: `varspacing-10 sd-6-25-1-button--size-md-height sd-6-25-1-button--size-md-font-size sd-6-25-1-button--secondary--size-md-padding-block sd-6-25-1-button-font-weight sd-6-25-1-button--size-md-border-radius`,
|
|
164
|
+
lg: `varspacing-12 sd-6-25-1-button--size-lg-height sd-6-25-1-button--size-lg-font-size sd-6-25-1-button--secondary--size-lg-padding-block sd-6-25-1-button-font-weight sd-6-25-1-button--size-lg-border-radius`
|
|
165
165
|
}[this.size],
|
|
166
166
|
!slots["icon-only"] && {
|
|
167
167
|
/* sizes, fonts */
|
|
168
|
-
sm: `${hasBorder ? "sd-6-
|
|
169
|
-
md: `${hasBorder ? "sd-6-
|
|
170
|
-
lg: `${hasBorder ? "sd-6-
|
|
168
|
+
sm: `${hasBorder ? "sd-6-25-1-button--secondary-padding-inline" : "sd-6-25-1-button--size-sm-padding-block sd-6-25-1-button-padding-inline"}`,
|
|
169
|
+
md: `${hasBorder ? "sd-6-25-1-button--secondary-padding-inline" : "sd-6-25-1-button--size-md-padding-block sd-6-25-1-button-padding-inline"}`,
|
|
170
|
+
lg: `${hasBorder ? "sd-6-25-1-button--secondary-padding-inline" : "sd-6-25-1-button--size-lg-padding-block sd-6-25-1-button-padding-inline"}`
|
|
171
171
|
}[this.size],
|
|
172
172
|
/**
|
|
173
173
|
* Anatomy
|
|
174
174
|
* */
|
|
175
175
|
slots["icon-only"] && {
|
|
176
176
|
sm: "px-1 aspect-square",
|
|
177
|
-
md: "sd-6-
|
|
177
|
+
md: "sd-6-25-1-button--size-md--icon-only-padding-inline aspect-square",
|
|
178
178
|
lg: "px-[12px] aspect-square"
|
|
179
179
|
}[this.size],
|
|
180
180
|
{
|
|
181
181
|
/* variants */
|
|
182
|
-
primary: !this.inverted ? `${this.visuallyDisabled ? "sd-6-
|
|
183
|
-
disabled:sd-6-
|
|
184
|
-
disabled:sd-6-
|
|
185
|
-
secondary: !this.inverted ? `border sd-6-
|
|
186
|
-
disabled:sd-6-
|
|
187
|
-
disabled:sd-6-
|
|
188
|
-
tertiary: !this.inverted ? `border-transparent ${this.visuallyDisabled ? "sd-6-
|
|
189
|
-
disabled:sd-6-
|
|
190
|
-
disabled:sd-6-
|
|
191
|
-
cta: `${this.visuallyDisabled ? "sd-6-
|
|
192
|
-
${!this.inverted ? "text-white bg-accent disabled:sd-6-
|
|
182
|
+
primary: !this.inverted ? `${this.visuallyDisabled ? "sd-6-25-1-button--primary--disabled-color-background border-neutral-500 text-white" : "sd-6-25-1-button--primary--default-color-background border-transparent sd-6-25-1-button--primary--default-color-text hover:sd-6-25-1-button--primary--hover-color-text active:sd-6-25-1-button--primary--active-color-text active:sd-6-25-1-button--primary--active-color-background"}
|
|
183
|
+
disabled:sd-6-25-1-button--primary--disabled-color-background disabled:text-white` : `${this.visuallyDisabled ? "sd-6-25-1-button--inverted--disabled-color-background text-white border-neutral-500" : "sd-6-25-1-button--primary--inverted--default-color-text sd-6-25-1-button--primary--inverted--default-color-background border-white hover:sd-6-25-1-button--primary--inverted--hover-color-text active:sd-6-25-1-button--primary--inverted--active-color-text active:sd-6-25-1-button--primary--inverted--active-color-background"}
|
|
184
|
+
disabled:sd-6-25-1-button--inverted--disabled-color-background disabled:text-white`,
|
|
185
|
+
secondary: !this.inverted ? `border sd-6-25-1-button-border-width ${this.visuallyDisabled ? "sd-6-25-1-button--secondary--disabled-color-text sd-6-25-1-button--secondary--disabled-color-border" : "sd-6-25-1-button--secondary--default-color-text sd-6-25-1-button--secondary--default-color-border hover:sd-6-25-1-button--secondary--hover-color-text hover:sd-6-25-1-button--secondary--hover-color-border active:sd-6-25-1-button--secondary--active-color-text active:sd-6-25-1-button--secondary--active-color-border"}
|
|
186
|
+
disabled:sd-6-25-1-button--secondary--disabled-color-text disabled:sd-6-25-1-button--secondary--disabled-color-border` : `border sd-6-25-1-button-border-width ${this.visuallyDisabled ? "text-neutral-600 border-neutral-600" : "sd-6-25-1-button--secondary--inverted-color-text sd-6-25-1-button--secondary--inverted-color-border hover:sd-6-25-1-button--secondary--inverted-color-border hover:sd-6-25-1-button--secondary--inverted--hover-color-text hover:sd-6-25-1-button--secondary--inverted--hover-color-background active:sd-6-25-1-button--secondary--inverted--active-color-text active:border-primary-200 active:sd-6-25-1-button--secondary--inverted--active-color-background"}
|
|
187
|
+
disabled:sd-6-25-1-button--inverted--disabled-color-border disabled:sd-6-25-1-button--inverted--disabled-color-text`,
|
|
188
|
+
tertiary: !this.inverted ? `border-transparent ${this.visuallyDisabled ? "sd-6-25-1-button--tertiary--disabled-color-text" : "sd-6-25-1-button--tertiary--default-color-text hover:sd-6-25-1-button--tertiary--hover-color-text active:sd-6-25-1-button--tertiary--active-color-text"}
|
|
189
|
+
disabled:sd-6-25-1-button--tertiary--disabled-color-text` : `border-transparent ${this.visuallyDisabled ? "text-neutral-600" : "sd-6-25-1-button--tertiary--inverted-color-text hover:sd-6-25-1-button--tertiary--inverted--hover-color-text hover:sd-6-25-1-button--tertiary--inverted--hover-color-background active:sd-6-25-1-button--tertiary--inverted--active-color-background active:sd-6-25-1-button--tertiary--inverted--active-color-text"}
|
|
190
|
+
disabled:sd-6-25-1-button--inverted--disabled-color-text`,
|
|
191
|
+
cta: `${this.visuallyDisabled ? "sd-6-25-1-button--primary--disabled-color-background border-neutral-500" : "bg-accent border-transparent hover:bg-accent-500"}
|
|
192
|
+
${!this.inverted ? "text-white bg-accent disabled:sd-6-25-1-button--primary--disabled-color-background hover:bg-accent-500 disabled:border-neutral-500 disabled:text-white" : "sd-6-25-1-button--cta--inverted--default-color-background sd-6-25-1-button--cta--inverted--default-color-text hover:sd-6-25-1-button--cta--inverted--hover-color-text active:sd-6-25-1-button--cta--inverted--active-color-text disabled:sd-6-25-1-button--inverted--disabled-color-background disabled:text-white"}`
|
|
193
193
|
}[this.variant]
|
|
194
194
|
)}" ?disabled="${ifDefined(isLink ? void 0 : this.disabled)}" type="${ifDefined(isLink ? void 0 : this.type)}" title="${this.title}" name="${ifDefined(isLink ? void 0 : this.name)}" value="${ifDefined(isLink ? void 0 : this.value)}" href="${ifDefined(isLink ? this.href : void 0)}" target="${ifDefined(isLink ? this.target : void 0)}" download="${ifDefined(isLink ? this.download : void 0)}" rel="${ifDefined(isLink && this.target ? "noreferrer noopener" : void 0)}" role="${ifDefined(isLink ? void 0 : "button")}" aria-disabled="${this.disabled || this.visuallyDisabled ? "true" : "false"}" aria-labelledby="content" tabindex="${this.disabled ? "-1" : "0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @invalid="${this.isButton() ? this.handleInvalid : null}" @click="${this.handleClick}"><div part="motion-wrapper" class="${cx(
|
|
195
195
|
"absolute inset-0 -z-10 overflow-hidden pointer-events-none ",
|
|
196
196
|
(this.disabled || this.visuallyDisabled) && "hidden",
|
|
197
197
|
{
|
|
198
198
|
/* sizes, fonts */
|
|
199
|
-
sm: `sd-6-
|
|
200
|
-
md: `sd-6-
|
|
201
|
-
lg: `sd-6-
|
|
199
|
+
sm: `sd-6-25-1-button-border-radius`,
|
|
200
|
+
md: `sd-6-25-1-button-border-radius`,
|
|
201
|
+
lg: `sd-6-25-1-button-border-radius`
|
|
202
202
|
}[this.size]
|
|
203
203
|
)}"><div class="absolute inset-0 w-full h-full transition-all duration-fast translate-y-full group-hover:translate-y-0 group-hover:mt-[-22%] mt-[11%]"><div class="${cx(
|
|
204
204
|
"absolute right-0 min-w-full min-h-full aspect-square skew-y-[-11deg] mt-[11%]",
|
|
205
205
|
{
|
|
206
|
-
primary: !this.inverted ? "sd-6-
|
|
207
|
-
secondary: !this.inverted ? "sd-6-
|
|
208
|
-
tertiary: !this.inverted ? "sd-6-
|
|
209
|
-
cta: !this.inverted ? "bg-accent-500 group-active:bg-accent-700" : "sd-6-
|
|
206
|
+
primary: !this.inverted ? "sd-6-25-1-button--primary--hover-color-background group-active:sd-6-25-1-button--primary--active-color-background" : "sd-6-25-1-button--primary--inverted--hover-color-background group-active:sd-6-25-1-button--primary--inverted--active-color-background",
|
|
207
|
+
secondary: !this.inverted ? "sd-6-25-1-button--secondary--hover-color-background group-active:sd-6-25-1-button--secondary--active-color-background" : "sd-6-25-1-button--secondary--inverted--hover-color-background group-active:sd-6-25-1-button--secondary--inverted--active-color-background group-active:sd-6-25-1-button--secondary--inverted--active-color-text",
|
|
208
|
+
tertiary: !this.inverted ? "sd-6-25-1-button--tertiary--hover-color-background group-active:sd-6-25-1-button--tertiary--active-color-background" : "sd-6-25-1-button--tertiary--inverted--hover-color-background group-active:sd-6-25-1-button--tertiary--inverted--active-color-background group-active:sd-6-25-1-button--tertiary--inverted--active-color-text",
|
|
209
|
+
cta: !this.inverted ? "bg-accent-500 group-active:bg-accent-700" : "sd-6-25-1-button--cta--inverted--hover-color-background group-active:sd-6-25-1-button--cta--inverted--active-color-background"
|
|
210
210
|
}[this.variant]
|
|
211
211
|
)}"></div><div class="${cx(
|
|
212
212
|
"absolute w-full h-full mt-[22%]",
|
|
213
213
|
{
|
|
214
|
-
primary: !this.inverted ? "sd-6-
|
|
215
|
-
secondary: !this.inverted ? "sd-6-
|
|
216
|
-
tertiary: !this.inverted ? "sd-6-
|
|
217
|
-
cta: !this.inverted ? "bg-accent-500 group-active:bg-accent-700" : "sd-6-
|
|
214
|
+
primary: !this.inverted ? "sd-6-25-1-button--primary--hover-color-background group-active:sd-6-25-1-button--primary--active-color-background" : "sd-6-25-1-button--primary--inverted--hover-color-background group-active:sd-6-25-1-button--primary--inverted--active-color-background",
|
|
215
|
+
secondary: !this.inverted ? "sd-6-25-1-button--secondary--hover-color-background group-active:sd-6-25-1-button--secondary--active-color-background" : "sd-6-25-1-button--secondary--inverted--hover-color-background group-active:sd-6-25-1-button--secondary--inverted--active-color-background group-active:sd-6-25-1-button--secondary--inverted--active-color-text group-active:sd-6-25-1-button--secondary--active-color-border",
|
|
216
|
+
tertiary: !this.inverted ? "sd-6-25-1-button--tertiary--hover-color-background group-active:sd-6-25-1-button--tertiary--active-color-background" : "sd-6-25-1-button--tertiary--inverted--hover-color-background group-active:sd-6-25-1-button--tertiary--inverted--active-color-background group-active:sd-6-25-1-button--tertiary--inverted--active-color-text",
|
|
217
|
+
cta: !this.inverted ? "bg-accent-500 group-active:bg-accent-700" : "sd-6-25-1-button--cta--inverted--hover-color-background group-active:sd-6-25-1-button--cta--inverted--active-color-background"
|
|
218
218
|
}[this.variant]
|
|
219
219
|
)}"></div></div></div><slot name="icon-left" part="icon-left" class="${cx(
|
|
220
220
|
"flex flex-auto items-center justify-end pointer-events-none",
|
|
@@ -243,7 +243,7 @@ var SdButton = class extends SolidElement {
|
|
|
243
243
|
md: "ml-2",
|
|
244
244
|
lg: "ml-2"
|
|
245
245
|
}[this.size]
|
|
246
|
-
)}"></slot>${this.loading ? html`<sd-6-
|
|
246
|
+
)}"></slot>${this.loading ? html`<sd-6-25-1-loader class="${cx("absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2")}"></sd-6-25-1-loader>` : ""}</${tag}>`;
|
|
247
247
|
}
|
|
248
248
|
};
|
|
249
249
|
/**
|
|
@@ -252,13 +252,13 @@ var SdButton = class extends SolidElement {
|
|
|
252
252
|
SdButton.styles = [
|
|
253
253
|
...SolidElement.styles,
|
|
254
254
|
css`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
255
|
-
:host{position:relative;z-index:0;display:inline-block;width:auto;cursor:pointer}::slotted(sd-6-
|
|
255
|
+
:host{position:relative;z-index:0;display:inline-block;width:auto;cursor:pointer}::slotted(sd-6-25-1-badge){pointer-events:none;position:absolute;top:calc(var(--sd-spacing-1) * 0);right:calc(var(--sd-spacing-1) * 0);--tw-translate-x:calc(1 / 2 * 100%)!important;--tw-translate-y:calc(calc(1 / 2 * 100%) * -1)!important;translate:var(--tw-translate-x) var(--tw-translate-y)!important}::slotted(sd-6-25-1-icon),sd-6-25-1-loader{font-size:calc(var(--tw-varspacing)/ 2)}:host([size=lg]) ::slotted(sd-6-25-1-icon){font-size:var(--sd-button--size-lg-icon-height,var(--sd-spacing-6))}:host([size=sm]) .sd-6-25-1-button--size-sm-border-radius{border-radius:var(--sd-button--size-sm-border-radius,var(--sd-button-border-radius))}:host([size=md]) .sd-6-25-1-button--size-md-border-radius{border-radius:var(--sd-button--size-md-border-radius,var(--sd-button-border-radius))}:host([size=lg]) .sd-6-25-1-button--size-lg-border-radius{border-radius:var(--sd-button--size-lg-border-radius,var(--sd-button-border-radius))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}`
|
|
256
256
|
];
|
|
257
257
|
__decorateClass([
|
|
258
258
|
query("a, button")
|
|
259
259
|
], SdButton.prototype, "button", 2);
|
|
260
260
|
__decorateClass([
|
|
261
|
-
queryAssignedElements({ selector: "sd-6-
|
|
261
|
+
queryAssignedElements({ selector: "sd-6-25-1-icon" })
|
|
262
262
|
], SdButton.prototype, "_iconsInDefaultSlot", 2);
|
|
263
263
|
__decorateClass([
|
|
264
264
|
state()
|
|
@@ -324,7 +324,7 @@ __decorateClass([
|
|
|
324
324
|
watch("disabled", { waitUntilFirstUpdate: true })
|
|
325
325
|
], SdButton.prototype, "handleDisabledChange", 1);
|
|
326
326
|
SdButton = __decorateClass([
|
|
327
|
-
customElement("sd-6-
|
|
327
|
+
customElement("sd-6-25-1-button")
|
|
328
328
|
], SdButton);
|
|
329
329
|
|
|
330
330
|
export {
|
|
@@ -20,7 +20,7 @@ var SdRangeTick = class extends SolidElement {
|
|
|
20
20
|
this.subtick = false;
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
|
-
return html`<div part="base" class="${cx(this.subtick ? "w-0.25" : "w-0.5")}"><div part="line" class="${cx(this.subtick ? "h-2" : "h-[10px]")}"></div><div part="label" class="flex items-center justify-center text-center text-nowrap text-sm sd-6-
|
|
23
|
+
return html`<div part="base" class="${cx(this.subtick ? "w-0.25" : "w-0.5")}"><div part="line" class="${cx(this.subtick ? "h-2" : "h-[10px]")}"></div><div part="label" class="flex items-center justify-center text-center text-nowrap text-sm sd-6-25-1-range-scale-ticks-color-text"><slot></slot></div></div>`;
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
26
|
SdRangeTick.styles = [
|
|
@@ -32,7 +32,7 @@ __decorateClass([
|
|
|
32
32
|
property({ type: Boolean, reflect: true })
|
|
33
33
|
], SdRangeTick.prototype, "subtick", 2);
|
|
34
34
|
SdRangeTick = __decorateClass([
|
|
35
|
-
customElement("sd-6-
|
|
35
|
+
customElement("sd-6-25-1-range-tick")
|
|
36
36
|
], SdRangeTick);
|
|
37
37
|
|
|
38
38
|
export {
|
|
@@ -18,7 +18,7 @@ var SdTabPanel = class extends SolidElement {
|
|
|
18
18
|
constructor() {
|
|
19
19
|
super(...arguments);
|
|
20
20
|
this.attrId = ++id;
|
|
21
|
-
this.componentId = `sd-6-
|
|
21
|
+
this.componentId = `sd-6-25-1-tab-panel-${this.attrId}`;
|
|
22
22
|
this.name = "";
|
|
23
23
|
this.active = false;
|
|
24
24
|
}
|
|
@@ -49,7 +49,7 @@ __decorateClass([
|
|
|
49
49
|
watch("active")
|
|
50
50
|
], SdTabPanel.prototype, "handleActiveChange", 1);
|
|
51
51
|
SdTabPanel = __decorateClass([
|
|
52
|
-
customElement("sd-6-
|
|
52
|
+
customElement("sd-6-25-1-tab-panel")
|
|
53
53
|
], SdTabPanel);
|
|
54
54
|
|
|
55
55
|
export {
|
|
@@ -64,11 +64,11 @@ var SdTag = class extends SolidElement {
|
|
|
64
64
|
const tag = isLink ? literal`a` : isRemovable ? literal`div` : literal`button`;
|
|
65
65
|
return html`<${tag} part="base" type="${ifDefined(isLink ? void 0 : "button")}" href="${ifDefined(isLink ? this.href : void 0)}" rel="${ifDefined(isLink && this.target ? "noreferrer noopener" : void 0)}" target="${ifDefined(isLink ? this.target : void 0)}" download="${ifDefined(isLink ? this.download : void 0)}" ?disabled="${ifDefined(isLink ? void 0 : this.disabled)}" aria-labelledby="content" aria-disabled="${this.disabled ? "true" : "false"}" aria-pressed="${ifDefined(this.toggleable ? this.selected : void 0)}" tabindex="${this.disabled || isRemovable ? "-1" : "0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" class="${cx(
|
|
66
66
|
/* basic styles of the wrapper */
|
|
67
|
-
"flex border box-border sd-6-
|
|
67
|
+
"flex border box-border sd-6-25-1-tag-border-radius items-center leading-none whitespace-nowrap transition-colors duration-fast ease-in-out focus-visible:focus-outline",
|
|
68
68
|
{
|
|
69
69
|
/* sizes, fonts */
|
|
70
|
-
lg: "h-8 sd-6-
|
|
71
|
-
sm: "h-6 sd-6-
|
|
70
|
+
lg: "h-8 sd-6-25-1-tag-font-weight sd-6-25-1-tag--size-lg-font-size gap-2",
|
|
71
|
+
sm: "h-6 sd-6-25-1-tag-font-weight sd-6-25-1-tag--size-sm-font-size gap-1"
|
|
72
72
|
}[this.size],
|
|
73
73
|
{
|
|
74
74
|
/* padding */
|
|
@@ -77,20 +77,20 @@ var SdTag = class extends SolidElement {
|
|
|
77
77
|
}[this.size],
|
|
78
78
|
/* colors */
|
|
79
79
|
!this.disabled ? !this.selected ? cx(
|
|
80
|
-
"sd-6-
|
|
81
|
-
!isRemovable ? "sd-6-
|
|
82
|
-
) : "sd-6-
|
|
80
|
+
"sd-6-25-1-tag--default-color-border sd-6-25-1-tag--default-color-text",
|
|
81
|
+
!isRemovable ? "sd-6-25-1-tag--default-color-background hover:border-primary-500 hover:text-primary-500 hover:sd-6-25-1-tag--default--hover-color-background" : "sd-6-25-1-tag--default-color-background has-[button:hover]:border-primary-500 has-[button:hover]:text-primary-500"
|
|
82
|
+
) : "sd-6-25-1-tag--selected-border-width sd-6-25-1-tag--selected--default-color-background sd-6-25-1-tag--selected--default-color-border sd-6-25-1-tag--selected--default-color-text hover:sd-6-25-1-tag--selected--hover-color-background hover:sd-6-25-1-tag--selected--hover-color-border hover:sd-6-25-1-tag--selected--hover-color-text" : cx(
|
|
83
83
|
!isLink && "cursor-not-allowed",
|
|
84
84
|
this.selected && "bg-neutral-500 text-white",
|
|
85
|
-
"sd-6-
|
|
85
|
+
"sd-6-25-1-tag--disabled-color-border sd-6-25-1-tag--disabled-color-text"
|
|
86
86
|
)
|
|
87
|
-
)}"><slot name="icon-left" class="${cx("flex-shrink-0", this.size === "lg" ? "text-base" : "text-[0.75rem]")}"></slot><slot id="content" part="content"></slot>${isRemovable && !isLink ? html`<button class="sd-interactive flex items-center" type="button" @click="${this.handleRemove}" ?disabled="${ifDefined(isLink ? void 0 : this.disabled)}"><slot part="removable-indicator" name="removable-indicator" class="${cx(this.disabled && "sd-6-
|
|
87
|
+
)}"><slot name="icon-left" class="${cx("flex-shrink-0", this.size === "lg" ? "text-base" : "text-[0.75rem]")}"></slot><slot id="content" part="content"></slot>${isRemovable && !isLink ? html`<button class="sd-interactive flex items-center" type="button" @click="${this.handleRemove}" ?disabled="${ifDefined(isLink ? void 0 : this.disabled)}"><slot part="removable-indicator" name="removable-indicator" class="${cx(this.disabled && "sd-6-25-1-tag--disabled-color-text")}"><sd-6-25-1-icon library="_internal" name="close" label="${this.localize.term("remove")}"></sd-6-25-1-icon></slot></button>` : ""}</${tag}>`;
|
|
88
88
|
}
|
|
89
89
|
};
|
|
90
90
|
SdTag.styles = [
|
|
91
91
|
...SolidElement.styles,
|
|
92
92
|
css`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
93
|
-
:host{display:inline-block;transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,150ms));--tw-duration:var(--sd-duration-fast, 150ms);transition-duration:var(--sd-duration-fast,150ms);--tw-ease:var(--ease-in-out, cubic-bezier(0.4, 0, 0.2, 1));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}:host([size=lg])::part(removable-indicator){font-size:var(--sd-text-base);line-height:var(--tw-leading,var(--text-base--line-height,calc(1.5 / 1)))}:host([size=sm])::part(removable-indicator){font-size:.75rem}.sd-6-
|
|
93
|
+
:host{display:inline-block;transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,150ms));--tw-duration:var(--sd-duration-fast, 150ms);transition-duration:var(--sd-duration-fast,150ms);--tw-ease:var(--ease-in-out, cubic-bezier(0.4, 0, 0.2, 1));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}:host([size=lg])::part(removable-indicator){font-size:var(--sd-text-base);line-height:var(--tw-leading,var(--text-base--line-height,calc(1.5 / 1)))}:host([size=sm])::part(removable-indicator){font-size:.75rem}.sd-6-25-1-tag--disabled-color-border{border-color:rgb(var(--sd-tag--disabled-color-border))}.sd-6-25-1-tag-font-weight{font-weight:var(--sd-tag-font-weight)}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}`
|
|
94
94
|
];
|
|
95
95
|
__decorateClass([
|
|
96
96
|
query("a, button, div")
|
|
@@ -120,7 +120,7 @@ __decorateClass([
|
|
|
120
120
|
property({ reflect: true })
|
|
121
121
|
], SdTag.prototype, "download", 2);
|
|
122
122
|
SdTag = __decorateClass([
|
|
123
|
-
customElement("sd-6-
|
|
123
|
+
customElement("sd-6-25-1-tag")
|
|
124
124
|
], SdTag);
|
|
125
125
|
|
|
126
126
|
export {
|
|
@@ -209,7 +209,7 @@ __decorateClass([
|
|
|
209
209
|
watch("playbackRate")
|
|
210
210
|
], SdAnimation.prototype, "handlePlaybackRateChange", 1);
|
|
211
211
|
SdAnimation = __decorateClass([
|
|
212
|
-
customElement("sd-6-
|
|
212
|
+
customElement("sd-6-25-1-animation")
|
|
213
213
|
], SdAnimation);
|
|
214
214
|
|
|
215
215
|
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-
|
|
41
|
+
return html`<sd-6-25-1-link part="base" href="${ifDefined(!this.current ? this.href : void 0)}" target="${this.target}" standalone class="text-nowrap"><slot></slot></sd-6-25-1-link>`;
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
SdBreadcrumbItem.styles = [
|
|
45
45
|
...SolidElement.styles,
|
|
46
46
|
css`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
47
|
-
:host{display:inline-flex;align-items:center}sd-6-
|
|
47
|
+
:host{display:inline-flex;align-items:center}sd-6-25-1-link::part(base){align-items:center}sd-6-25-1-link::part(icon-left){margin-right:calc(var(--sd-spacing-1) * 0);display:inline-flex}:host([current]) sd-6-25-1-link::part(base){color:rgba(var(--sd-breadcrumb--current-color-text,rgba(var(--sd-color-neutral-700))))}:host([current]) sd-6-25-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-
|
|
65
|
+
customElement("sd-6-25-1-breadcrumb-item")
|
|
66
66
|
], SdBreadcrumbItem);
|
|
67
67
|
|
|
68
68
|
export {
|
|
@@ -64,9 +64,9 @@ var SdRadioButton = class extends SolidElement {
|
|
|
64
64
|
const hasIconSlot = this.hasSlotController.test("icon");
|
|
65
65
|
const buttonSizeClass = `${this.size}-${hasDefaultSlot ? "label" : "no-label"}`;
|
|
66
66
|
return html`<div part="base" role="presentation" class="relative"><button part="${`button${this.checked ? " button--checked" : ""}`}" role="radio" aria-checked="${this.checked}" class="${cx(
|
|
67
|
-
"relative text-center sd-6-
|
|
67
|
+
"relative text-center sd-6-25-1-radio-button-border-radius transition-all ease-in-out duration-100 items-center justify-center focus-visible:focus-outline choice-control-font-weight",
|
|
68
68
|
this.size === "sm" ? "text-sm" : "text-base",
|
|
69
|
-
this.checked && !this.disabled && !this.visuallyDisabled ? "sd-6-
|
|
69
|
+
this.checked && !this.disabled && !this.visuallyDisabled ? "sd-6-25-1-button--primary--default-color-background sd-6-25-1-button--primary--default-color-text hover:sd-6-25-1-button--primary--hover-color-background hover:text-primary-100" : !this.checked && (this.disabled || this.visuallyDisabled) ? "text-neutral-500 hover:cursor-not-allowed" : this.checked && (this.disabled || this.visuallyDisabled) ? "bg-neutral-400 text-white hover:cursor-not-allowed " : "bg-transparent sd-6-25-1-radio-button-color-text border-primary cursor-pointer hover:sd-6-25-1-radio-button--hover-color-background hover:sd-6-25-1-radio-button--hover-color-text",
|
|
70
70
|
hasDefaultSlot && {
|
|
71
71
|
sm: "px-3",
|
|
72
72
|
md: "px-4",
|
|
@@ -89,7 +89,7 @@ var SdRadioButton = class extends SolidElement {
|
|
|
89
89
|
SdRadioButton.styles = [
|
|
90
90
|
...SolidElement.styles,
|
|
91
91
|
css`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
92
|
-
:host{display:block;width:-moz-min-content;width:min-content}.hidden-input{all:unset;position:absolute;inset:calc(var(--sd-spacing-1) * 0);z-index:calc(10 * -1);opacity:var(--sd-opacity-0);outline-style:var(--tw-outline-style);outline-width:1px;outline-color:rgba(var(--sd-color-border-error,var(--sd-color-error)));--tw-outline-style:dotted;outline-style:dotted}.lg-label{height:46px}.lg-no-label{height:46px;padding-inline:calc(var(--sd-spacing-1) * 5)}.md-label{height:38px}.md-no-label{height:38px;padding-inline:var(--sd-spacing-4)}.sm-label{height:30px}.sm-no-label{height:30px;padding-inline:var(--sd-spacing-3)}:host([size=lg].sd-6-
|
|
92
|
+
:host{display:block;width:-moz-min-content;width:min-content}.hidden-input{all:unset;position:absolute;inset:calc(var(--sd-spacing-1) * 0);z-index:calc(10 * -1);opacity:var(--sd-opacity-0);outline-style:var(--tw-outline-style);outline-width:1px;outline-color:rgba(var(--sd-color-border-error,var(--sd-color-error)));--tw-outline-style:dotted;outline-style:dotted}.lg-label{height:46px}.lg-no-label{height:46px;padding-inline:calc(var(--sd-spacing-1) * 5)}.md-label{height:38px}.md-no-label{height:38px;padding-inline:var(--sd-spacing-4)}.sm-label{height:30px}.sm-no-label{height:30px;padding-inline:var(--sd-spacing-3)}:host([size=lg].sd-6-25-1-button-group__button:not(.sd-6-25-1-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-3) * -1)}:host([size=md].sd-6-25-1-button-group__button:not(.sd-6-25-1-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-2) * -1)}:host([size=sm].sd-6-25-1-button-group__button:not(.sd-6-25-1-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-1) * -1)}:host(.sd-6-25-1-button-group__button--hover){z-index:20}:host(.sd-6-25-1-button-group__button--focus){z-index:30}:host(.sd-6-25-1-button-group__button[checked]){z-index:40}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}`
|
|
93
93
|
];
|
|
94
94
|
__decorateClass([
|
|
95
95
|
query(".button")
|
|
@@ -119,7 +119,7 @@ __decorateClass([
|
|
|
119
119
|
watch(["disabled", "visually-disabled"], { waitUntilFirstUpdate: true })
|
|
120
120
|
], SdRadioButton.prototype, "handleDisabledChange", 1);
|
|
121
121
|
SdRadioButton = __decorateClass([
|
|
122
|
-
customElement("sd-6-
|
|
122
|
+
customElement("sd-6-25-1-radio-button")
|
|
123
123
|
], SdRadioButton);
|
|
124
124
|
|
|
125
125
|
export {
|
|
@@ -92,7 +92,7 @@ var SdStep = class extends SolidElement {
|
|
|
92
92
|
this.orientation === "horizontal" && !this.horizontalInline ? this.size === "lg" ? "translateLg" : "translateSm" : this.size === "lg" || this.size === "xs" ? "mt-1" : "mt-3"
|
|
93
93
|
);
|
|
94
94
|
const circleButtonClasses = cx(
|
|
95
|
-
"border sd-6-
|
|
95
|
+
"border sd-6-25-1-step__circle-border-width rounded-full aspect-square circle flex items-center justify-center shrink-0 font-bold select-none",
|
|
96
96
|
this.disabled ? "focus-visible:outline-none cursor-not-allowed" : !this.notInteractive && !this.waiting ? "focus-visible:focus-outline hover:cursor-pointer" : "",
|
|
97
97
|
this.notInteractive ? this.size === "lg" ? "not-interactive-lg" : this.size === "xs" ? "w-2" : "w-12" : this.size === "lg" ? "w-12" : this.size === "xs" ? "w-2" : "w-8",
|
|
98
98
|
this.disabled && "border-neutral-500 text-neutral-500",
|
|
@@ -110,8 +110,8 @@ var SdStep = class extends SolidElement {
|
|
|
110
110
|
)}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"><div part="circle-and-tail-container" class="${circleAndTailContainerClasses}"><${tag} part="circle" href="${ifDefined(isLink ? this.href : void 0)}" aria-disabled="${ifDefined(this.disabled || this.waiting || void 0)}" aria-current="${this.current ? "step" : void 0}" aria-labelledby="${ifDefined(this.notInteractive || this.waiting || !hasLabel ? void 0 : "label")}" aria-describedby="${ifDefined(this.notInteractive || this.waiting || !hasDescription ? void 0 : "description")}" class="${circleButtonClasses}"><slot name="circle-content" class="${cx(
|
|
111
111
|
"text-lg",
|
|
112
112
|
!this.disabled && !this.current && !this.notInteractive && !this.waiting && "text-primary hover:text-primary-500 hover:fill-primary-500",
|
|
113
|
-
this.notInteractive && "sd-6-
|
|
114
|
-
)}">${!this.disabled && !this.current && !this.notInteractive && !this.waiting && this.size !== "xs" ? html`<sd-6-
|
|
113
|
+
this.notInteractive && "sd-6-25-1-step-color-text"
|
|
114
|
+
)}">${!this.disabled && !this.current && !this.notInteractive && !this.waiting && this.size !== "xs" ? html`<sd-6-25-1-icon name="status-check" library="_internal" class="${cx(this.size === "sm" && "text-sm")}"></sd-6-25-1-icon>` : this.size === "xs" ? "" : html`${this.index}`}</slot></${tag}>${isHorizontalInline ? html`<div class="${cx(!this.noTail && "flex-1", "flex flex-col gap-1")}"><div class="${cx(
|
|
115
115
|
"flex w-full",
|
|
116
116
|
hasLabel && "gap-2",
|
|
117
117
|
this.size === "sm" && !hasDescription ? "mt-1" : "mt-3"
|
|
@@ -152,7 +152,7 @@ var SdStep = class extends SolidElement {
|
|
|
152
152
|
SdStep.styles = [
|
|
153
153
|
...SolidElement.styles,
|
|
154
154
|
css`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
155
|
-
:host{flex:1}:host([orientation=horizontal]) [part=tail]{border-top-width:var(--sd-step__tail-border-width)}:host([orientation=vertical]) [part=tail]{border-left-width:var(--sd-step__tail-border-width)}:host([no-tail]){flex-grow:0}:host(:not([current])) (:not([notInteractive])) slot[name=circle-content]{color:rgba(var(--sd-color-text-neutral-700))}slot[name=circle-content] sd-6-
|
|
155
|
+
:host{flex:1}:host([orientation=horizontal]) [part=tail]{border-top-width:var(--sd-step__tail-border-width)}:host([orientation=vertical]) [part=tail]{border-left-width:var(--sd-step__tail-border-width)}:host([no-tail]){flex-grow:0}:host(:not([current])) (:not([notInteractive])) slot[name=circle-content]{color:rgba(var(--sd-color-text-neutral-700))}slot[name=circle-content] sd-6-25-1-icon,slot[name=circle-content]::slotted(sd-6-25-1-icon){color:rgba(var(--sd-color-icon-fill-primary))}[part=circle]:hover slot[name=circle-content] sd-6-25-1-icon,[part=circle]:hover slot[name=circle-content]::slotted(sd-6-25-1-icon){color:rgba(var(--sd-color-icon-fill-primary-500))}:host([horizontal-inline]):has([part=description]){min-width:calc(var(--sd-spacing-1) * 0);flex:1}.translateLg{transform:translateX(3.438rem)}.translateSm{transform:translateX(4rem)}.not-interactive-lg{width:4.5rem}`
|
|
156
156
|
];
|
|
157
157
|
__decorateClass([
|
|
158
158
|
property({ type: String, reflect: true })
|
|
@@ -203,7 +203,7 @@ __decorateClass([
|
|
|
203
203
|
watch("notInteractive")
|
|
204
204
|
], SdStep.prototype, "handleInteractivityChange", 1);
|
|
205
205
|
SdStep = __decorateClass([
|
|
206
|
-
customElement("sd-6-
|
|
206
|
+
customElement("sd-6-25-1-step")
|
|
207
207
|
], SdStep);
|
|
208
208
|
|
|
209
209
|
export {
|
|
@@ -57,13 +57,13 @@ var SdTeaser = class extends SolidElement {
|
|
|
57
57
|
"teaser-has-headline": this.hasSlotController.test("headline")
|
|
58
58
|
};
|
|
59
59
|
return html`<div class="${cx(
|
|
60
|
-
"flex sd-6-
|
|
60
|
+
"flex sd-6-25-1-teaser-border-radius",
|
|
61
61
|
{
|
|
62
62
|
white: "bg-white",
|
|
63
|
-
"white border-neutral-400": "bg-white border sd-6-
|
|
64
|
-
"neutral-100": "sd-6-
|
|
63
|
+
"white border-neutral-400": "bg-white border sd-6-25-1-teaser--neutral-400-color-border",
|
|
64
|
+
"neutral-100": "sd-6-25-1-teaser--neutral-100-color-background",
|
|
65
65
|
primary: "bg-primary text-white",
|
|
66
|
-
"primary-100": "sd-6-
|
|
66
|
+
"primary-100": "sd-6-25-1-teaser--primary-100-color-background"
|
|
67
67
|
}[this.variant],
|
|
68
68
|
this._orientation === "vertical" && "flex-col",
|
|
69
69
|
this._orientation === "horizontal" && "flex-row gap-8",
|
|
@@ -105,7 +105,7 @@ __decorateClass([
|
|
|
105
105
|
state()
|
|
106
106
|
], SdTeaser.prototype, "_orientation", 2);
|
|
107
107
|
SdTeaser = __decorateClass([
|
|
108
|
-
customElement("sd-6-
|
|
108
|
+
customElement("sd-6-25-1-teaser")
|
|
109
109
|
], SdTeaser);
|
|
110
110
|
|
|
111
111
|
export {
|