@solid-design-system/components 6.0.0-next.4 → 6.0.0-next.5
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.FYS76H7M.js → chunk.JCX64CVP.js} +1 -1
- package/cdn/chunks/{chunk.CINQCAVV.js → chunk.V7IMVXRC.js} +1 -1
- package/cdn/chunks/{chunk.GZN62V5M.js → chunk.XBZZFEMG.js} +2 -2
- package/cdn/components/accordion/accordion.js +1 -1
- package/cdn/components/accordion-group/accordion-group.js +1 -1
- package/cdn/components/quickfact/quickfact.js +1 -1
- package/cdn/custom-elements.json +2 -2
- package/cdn/solid-components.bundle.js +2 -2
- package/cdn/solid-components.iife.js +2 -2
- package/cdn/solid-components.js +1 -1
- package/cdn/web-types.json +1 -1
- package/cdn-versioned/chunks/chunk.3DB2ELEL.js +1 -1
- package/cdn-versioned/chunks/chunk.3ZRUHOGI.js +1 -1
- package/cdn-versioned/chunks/chunk.5G7ZOEWT.js +5 -5
- package/cdn-versioned/chunks/chunk.5PA35WD2.js +1 -1
- package/cdn-versioned/chunks/chunk.5TUC644H.js +2 -2
- package/cdn-versioned/chunks/chunk.5ZPLQS6G.js +2 -2
- package/cdn-versioned/chunks/chunk.5ZYFWIRD.js +1 -1
- package/cdn-versioned/chunks/chunk.63IQ23S4.js +1 -1
- package/cdn-versioned/chunks/chunk.66LOVPZM.js +1 -1
- package/cdn-versioned/chunks/chunk.66OZDVLX.js +2 -2
- package/cdn-versioned/chunks/chunk.6GHBG4PY.js +2 -2
- package/cdn-versioned/chunks/chunk.6Q6FRPBQ.js +2 -2
- package/cdn-versioned/chunks/chunk.6XTQ6373.js +2 -2
- package/cdn-versioned/chunks/chunk.6ZXO6XV7.js +2 -2
- package/cdn-versioned/chunks/chunk.7JAXJRX2.js +2 -2
- package/cdn-versioned/chunks/chunk.ALIY2YIR.js +2 -2
- package/cdn-versioned/chunks/chunk.AZC2MB6N.js +2 -2
- package/cdn-versioned/chunks/chunk.BL5NWLDW.js +1 -1
- package/cdn-versioned/chunks/chunk.BTMWUMPI.js +1 -1
- package/cdn-versioned/chunks/chunk.CDP46OS4.js +1 -1
- package/cdn-versioned/chunks/chunk.E7DVDO4P.js +1 -1
- package/cdn-versioned/chunks/chunk.EGKVLCBO.js +2 -2
- package/cdn-versioned/chunks/chunk.EIG3V7LV.js +2 -2
- package/cdn-versioned/chunks/chunk.F3OBG73C.js +1 -1
- package/cdn-versioned/chunks/chunk.H7N4XIFF.js +2 -2
- package/cdn-versioned/chunks/chunk.HO5NN73W.js +1 -1
- package/cdn-versioned/chunks/chunk.HWXFA3JT.js +2 -2
- package/cdn-versioned/chunks/chunk.IQUVFHYA.js +1 -1
- package/cdn-versioned/chunks/chunk.J3HOSC6V.js +2 -2
- package/cdn-versioned/chunks/chunk.J4LE3LKP.js +2 -2
- package/cdn-versioned/chunks/{chunk.FYS76H7M.js → chunk.JCX64CVP.js} +1 -1
- package/cdn-versioned/chunks/chunk.JGU23CP4.js +2 -2
- package/cdn-versioned/chunks/chunk.JS2HQ2N4.js +1 -1
- package/cdn-versioned/chunks/chunk.MPLKGS34.js +2 -2
- package/cdn-versioned/chunks/chunk.MQ6HTONQ.js +2 -2
- package/cdn-versioned/chunks/chunk.MWU6TZ4N.js +2 -2
- package/cdn-versioned/chunks/chunk.NMHY6H5N.js +6 -6
- package/cdn-versioned/chunks/chunk.OXYZANQK.js +2 -2
- package/cdn-versioned/chunks/chunk.P3QDLITO.js +1 -1
- package/cdn-versioned/chunks/chunk.P6YYQ6VT.js +3 -3
- package/cdn-versioned/chunks/chunk.PES7MZKA.js +1 -1
- package/cdn-versioned/chunks/chunk.Q36WGVZ7.js +5 -5
- package/cdn-versioned/chunks/chunk.RJVGGY3Q.js +2 -2
- package/cdn-versioned/chunks/chunk.RXQYBUHG.js +2 -2
- package/cdn-versioned/chunks/chunk.S4EKTV5A.js +2 -2
- package/cdn-versioned/chunks/chunk.S5SNELX3.js +2 -2
- package/cdn-versioned/chunks/chunk.U6FGIHUI.js +2 -2
- package/cdn-versioned/chunks/chunk.URYTIP6C.js +2 -2
- package/cdn-versioned/chunks/chunk.UVDP4CO5.js +2 -2
- package/cdn-versioned/chunks/{chunk.CINQCAVV.js → chunk.V7IMVXRC.js} +2 -2
- package/cdn-versioned/chunks/chunk.VA5ZPE34.js +2 -2
- package/cdn-versioned/chunks/chunk.VGYX7TTE.js +2 -2
- package/cdn-versioned/chunks/chunk.VHHOKYE5.js +2 -2
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.WUWSF33N.js +1 -1
- package/cdn-versioned/chunks/{chunk.GZN62V5M.js → chunk.XBZZFEMG.js} +2 -2
- package/cdn-versioned/chunks/chunk.XG6CO665.js +1 -1
- package/cdn-versioned/chunks/chunk.XHDZVSCR.js +2 -2
- package/cdn-versioned/chunks/chunk.XIRAK67B.js +1 -1
- package/cdn-versioned/chunks/chunk.YL7YHMIF.js +3 -3
- package/cdn-versioned/chunks/chunk.YUPZE4GS.js +2 -2
- package/cdn-versioned/chunks/chunk.YXMHHML2.js +2 -2
- package/cdn-versioned/chunks/chunk.ZATYZ65D.js +2 -2
- package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
- package/cdn-versioned/components/accordion/accordion.js +1 -1
- package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/cdn-versioned/components/accordion-group/accordion-group.js +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/quickfact/quickfact.d.ts +1 -1
- package/cdn-versioned/components/quickfact/quickfact.js +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/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 +249 -249
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +74 -74
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +74 -74
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +94 -94
- package/cdn-versioned/web-types.json +163 -163
- package/dist/chunks/{chunk.YLQNXR3G.js → chunk.KKZHPMY4.js} +1 -1
- package/dist/chunks/{chunk.4CD5TTGT.js → chunk.PQ7HSAL7.js} +1 -1
- package/dist/chunks/{chunk.WSRHW32L.js → chunk.Q3SUIF7T.js} +1 -1
- package/dist/components/accordion/accordion.js +1 -1
- package/dist/components/accordion-group/accordion-group.js +2 -2
- package/dist/components/quickfact/quickfact.js +2 -2
- package/dist/custom-elements.json +2 -2
- package/dist/solid-components.js +3 -3
- package/dist/web-types.json +1 -1
- package/dist-versioned/chunks/chunk.2ER4MXZC.js +1 -1
- package/dist-versioned/chunks/chunk.3BVNSUFD.js +1 -1
- package/dist-versioned/chunks/chunk.4FY6QRJ7.js +3 -3
- package/dist-versioned/chunks/chunk.5D7C4MXB.js +2 -2
- package/dist-versioned/chunks/chunk.5H7CWETG.js +2 -2
- package/dist-versioned/chunks/chunk.5WAWAUSM.js +2 -2
- package/dist-versioned/chunks/chunk.5ZRRM6UH.js +2 -2
- package/dist-versioned/chunks/chunk.662O4CMZ.js +12 -12
- package/dist-versioned/chunks/chunk.7RSL7EOY.js +6 -6
- package/dist-versioned/chunks/chunk.7XXRAMBH.js +1 -1
- package/dist-versioned/chunks/chunk.A3YMYTLW.js +4 -4
- package/dist-versioned/chunks/chunk.AAY5JRCW.js +4 -4
- package/dist-versioned/chunks/chunk.AEFLWSEK.js +12 -12
- package/dist-versioned/chunks/chunk.ANYT6TR4.js +1 -1
- package/dist-versioned/chunks/chunk.BFDY2E6R.js +11 -11
- package/dist-versioned/chunks/chunk.CR5C6OL5.js +26 -26
- package/dist-versioned/chunks/chunk.CT4BIUEI.js +6 -6
- package/dist-versioned/chunks/chunk.DFQ2QJI5.js +2 -2
- package/dist-versioned/chunks/chunk.DJ3WYVWV.js +6 -6
- package/dist-versioned/chunks/chunk.E7L2RBML.js +5 -5
- package/dist-versioned/chunks/chunk.EORXKFFT.js +1 -1
- package/dist-versioned/chunks/chunk.ES7AAS4J.js +4 -4
- package/dist-versioned/chunks/chunk.F4A7G427.js +3 -3
- package/dist-versioned/chunks/chunk.FMSAUZWF.js +4 -4
- package/dist-versioned/chunks/chunk.FPMNMEXR.js +2 -2
- package/dist-versioned/chunks/chunk.HB45IF2T.js +1 -1
- package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
- package/dist-versioned/chunks/{chunk.YLQNXR3G.js → chunk.KKZHPMY4.js} +3 -3
- package/dist-versioned/chunks/chunk.KVVYC4DL.js +5 -5
- package/dist-versioned/chunks/chunk.M5EPD6OZ.js +6 -6
- package/dist-versioned/chunks/chunk.MB47FVBP.js +1 -1
- package/dist-versioned/chunks/chunk.MFE2NCVX.js +3 -3
- package/dist-versioned/chunks/chunk.N5XK43AK.js +18 -18
- package/dist-versioned/chunks/chunk.NCZBBZOR.js +1 -1
- package/dist-versioned/chunks/chunk.NK5K5MMW.js +1 -1
- package/dist-versioned/chunks/chunk.NKPJM2WV.js +5 -5
- package/dist-versioned/chunks/chunk.O6OCXI2L.js +3 -3
- package/dist-versioned/chunks/chunk.OBQTYYBW.js +2 -2
- package/dist-versioned/chunks/chunk.OK3VBJRJ.js +3 -3
- package/dist-versioned/chunks/chunk.PF4UKMOY.js +2 -2
- package/dist-versioned/chunks/chunk.PJOYWTXL.js +1 -1
- package/dist-versioned/chunks/{chunk.4CD5TTGT.js → chunk.PQ7HSAL7.js} +5 -5
- package/dist-versioned/chunks/{chunk.WSRHW32L.js → chunk.Q3SUIF7T.js} +3 -3
- package/dist-versioned/chunks/chunk.QHUH3UZT.js +2 -2
- package/dist-versioned/chunks/chunk.QJ2PELD5.js +2 -2
- package/dist-versioned/chunks/chunk.RIWKWSAL.js +2 -2
- package/dist-versioned/chunks/chunk.RY4KWEME.js +1 -1
- package/dist-versioned/chunks/chunk.SIUXYHUU.js +8 -8
- package/dist-versioned/chunks/chunk.SZDLCBRQ.js +24 -24
- package/dist-versioned/chunks/chunk.TIOVWVCD.js +2 -2
- package/dist-versioned/chunks/chunk.TXNCIVE5.js +14 -14
- package/dist-versioned/chunks/chunk.U7ASTWXS.js +5 -5
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/chunk.UIXXR3N5.js +3 -3
- package/dist-versioned/chunks/chunk.VN6V46I7.js +2 -2
- package/dist-versioned/chunks/chunk.WSXDUNN7.js +1 -1
- package/dist-versioned/chunks/chunk.WSXRRFIW.js +1 -1
- package/dist-versioned/chunks/chunk.WTFF4KWO.js +3 -3
- package/dist-versioned/chunks/chunk.XCQC3F3H.js +3 -3
- package/dist-versioned/chunks/chunk.YBIM4TC7.js +1 -1
- package/dist-versioned/chunks/chunk.ZBAABZKL.js +1 -1
- package/dist-versioned/chunks/chunk.ZRJRFFVA.js +3 -3
- package/dist-versioned/chunks/chunk.ZXOKRAZP.js +2 -2
- package/dist-versioned/components/accordion/accordion.d.ts +1 -1
- package/dist-versioned/components/accordion/accordion.js +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.js +2 -2
- 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/quickfact/quickfact.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.js +2 -2
- 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/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 +249 -249
- package/dist-versioned/internal/form.js +3 -3
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +3 -3
- package/dist-versioned/vscode.html-custom-data.json +94 -94
- package/dist-versioned/web-types.json +163 -163
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SdAccordion
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.PQ7HSAL7.js";
|
|
4
4
|
import {
|
|
5
5
|
setDefaultAnimation
|
|
6
6
|
} from "./chunk.N4LHE3QK.js";
|
|
@@ -35,7 +35,7 @@ var SdQuickfact = class extends SdAccordion {
|
|
|
35
35
|
"flex flex-grow-0 flex-shrink-0 flex-auto self-start sm:self-center transition-transform ease-in-out duration-medium text-xl sm:text-4xl sm:mt-2",
|
|
36
36
|
this.open && "rotate-180",
|
|
37
37
|
!this.expandable && "hidden"
|
|
38
|
-
)}"><slot name="expand-icon" class="${cx(this.open && "hidden")}"><sd-6-0-0-next-
|
|
38
|
+
)}"><slot name="expand-icon" class="${cx(this.open && "hidden")}"><sd-6-0-0-next-5-icon library="_internal" name="chevron-down" class="group-hover:text-primary-500 transition-colors ease-in-out duration-medium"></sd-6-0-0-next-5-icon></slot><slot name="collapse-icon" class="${cx(!this.open && "hidden")}"><sd-6-0-0-next-5-icon library="_internal" name="chevron-down" class="group-hover:text-primary-500 transition-colors ease-in-out duration-medium"></sd-6-0-0-next-5-icon></slot></span></${header}><div part="content" id="content" class="${cx("overflow-hidden", !this.expandable && "hidden")}"><slot part="content__slot" class="block" role="region" aria-labelledby="header"></slot></div></${base}>`;
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
41
|
SdQuickfact.styles = [
|
|
@@ -47,7 +47,7 @@ __decorateClass([
|
|
|
47
47
|
property({ type: Boolean, reflect: true })
|
|
48
48
|
], SdQuickfact.prototype, "expandable", 2);
|
|
49
49
|
SdQuickfact = __decorateClass([
|
|
50
|
-
customElement("sd-6-0-0-next-
|
|
50
|
+
customElement("sd-6-0-0-next-5-quickfact")
|
|
51
51
|
], SdQuickfact);
|
|
52
52
|
setDefaultAnimation("quickfact.show", {
|
|
53
53
|
keyframes: [{ height: "0" }, { height: "auto" }],
|
|
@@ -206,16 +206,16 @@ var SdTooltip = class extends SolidElement {
|
|
|
206
206
|
render() {
|
|
207
207
|
const isStart = this.placement.endsWith("-start");
|
|
208
208
|
const isEnd = this.placement.endsWith("-end");
|
|
209
|
-
return html`<sd-6-0-0-next-
|
|
209
|
+
return html`<sd-6-0-0-next-5-popup part="base" exportparts="
|
|
210
210
|
popup:base__popup,
|
|
211
211
|
arrow:base__arrow
|
|
212
|
-
" class="${cx(this.open && "tooltip--open")}" placement="${this.placement}" distance="10" skidding="${{ start: 2, end: -2, default: 0 }[isStart ? "start" : isEnd ? "end" : "default"] * (this.size === "sm" ? -1 : 1)}" strategy="${this.hoist ? "fixed" : "absolute"}" flip shift arrow auto-size="vertical" arrow-padding="0">${this.hasCustomTrigger ? html`<slot slot="anchor"></slot>` : html`<button slot="anchor" aria-describedby="tooltip" class="${cx("flex sd-interactive rounded-full", this.size === "lg" ? "text-xl" : "text-base")}" ?disabled="${this.disabled}" aria-expanded="${this.open}" aria-controls="tooltip"><sd-6-0-0-next-
|
|
212
|
+
" class="${cx(this.open && "tooltip--open")}" placement="${this.placement}" distance="10" skidding="${{ start: 2, end: -2, default: 0 }[isStart ? "start" : isEnd ? "end" : "default"] * (this.size === "sm" ? -1 : 1)}" strategy="${this.hoist ? "fixed" : "absolute"}" flip shift arrow auto-size="vertical" arrow-padding="0">${this.hasCustomTrigger ? html`<slot slot="anchor"></slot>` : html`<button slot="anchor" aria-describedby="tooltip" class="${cx("flex sd-interactive rounded-full", this.size === "lg" ? "text-xl" : "text-base")}" ?disabled="${this.disabled}" aria-expanded="${this.open}" aria-controls="tooltip"><sd-6-0-0-next-5-icon library="_internal" name="info-circle" label="Tooltip" class="${cx(this.disabled && "sd-interactive--disabled")}"></sd-6-0-0-next-5-icon></button>`}<slot name="content" part="body" id="tooltip" class="bg-primary text-white py-3 px-4 block rounded-none text-sm text-left" role="tooltip" aria-label="${this.content}" aria-live="${this.open ? "polite" : "off"}">${this.content}</slot></sd-6-0-0-next-5-popup>`;
|
|
213
213
|
}
|
|
214
214
|
};
|
|
215
215
|
SdTooltip.styles = [
|
|
216
216
|
...SolidElement.styles,
|
|
217
217
|
css`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
218
|
-
:host{--hide-delay:0ms;--show-delay:150ms;display:contents}sd-6-0-0-next-
|
|
218
|
+
:host{--hide-delay:0ms;--show-delay:150ms;display:contents}sd-6-0-0-next-5-popup{--arrow-color:var(--sd-color-background-primary);--arrow-size:10px}sd-6-0-0-next-5-popup::part(popup){pointer-events:none;z-index:10;--tw-shadow:var(--sd-shadow);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}sd-6-0-0-next-5-popup::part(arrow){--tw-shadow:var(--sd-shadow, 0px 1px 3px 0px rgb(81 81 81 / 75%));--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}sd-6-0-0-next-5-popup[placement^=top]::part(popup){transform-origin:bottom}sd-6-0-0-next-5-popup[placement^=bottom]::part(popup){transform-origin:top}#tooltip{max-width:var(--max-width)}::slotted([slot=content]){overflow:auto;max-width:var(--auto-size-available-width)!important;max-height:var(--auto-size-available-height)!important}@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}`
|
|
219
219
|
];
|
|
220
220
|
__decorateClass([
|
|
221
221
|
query("slot:not([name])")
|
|
@@ -224,7 +224,7 @@ __decorateClass([
|
|
|
224
224
|
query("#tooltip")
|
|
225
225
|
], SdTooltip.prototype, "body", 2);
|
|
226
226
|
__decorateClass([
|
|
227
|
-
query("sd-6-0-0-next-
|
|
227
|
+
query("sd-6-0-0-next-5-popup")
|
|
228
228
|
], SdTooltip.prototype, "popup", 2);
|
|
229
229
|
__decorateClass([
|
|
230
230
|
property({ type: String, reflect: true })
|
|
@@ -257,7 +257,7 @@ __decorateClass([
|
|
|
257
257
|
watch("disabled")
|
|
258
258
|
], SdTooltip.prototype, "handleDisabledChange", 1);
|
|
259
259
|
SdTooltip = __decorateClass([
|
|
260
|
-
customElement("sd-6-0-0-next-
|
|
260
|
+
customElement("sd-6-0-0-next-5-tooltip")
|
|
261
261
|
], SdTooltip);
|
|
262
262
|
setDefaultAnimation("tooltip.show", {
|
|
263
263
|
keyframes: [{ opacity: 0 }, { opacity: 1 }],
|
|
@@ -60,7 +60,7 @@ var SdCarousel = class extends SolidElement {
|
|
|
60
60
|
this.pausedAutoplay = false;
|
|
61
61
|
this.autoplayController = new AutoplayController(this, () => this.next());
|
|
62
62
|
this.scrollController = new ScrollController(this);
|
|
63
|
-
this.slides = this.getElementsByTagName("sd-6-0-0-next-
|
|
63
|
+
this.slides = this.getElementsByTagName("sd-6-0-0-next-5-carousel-item");
|
|
64
64
|
// determines which slide is displayed
|
|
65
65
|
// A map containing the state of all the slides
|
|
66
66
|
this.intersectionObserverEntries = /* @__PURE__ */ new Map();
|
|
@@ -449,7 +449,7 @@ var SdCarousel = class extends SolidElement {
|
|
|
449
449
|
)}" aria-label="${this.localize.term("previousSlide")}" aria-controls="scroll-container" aria-disabled="${prevEnabled ? "false" : "true"}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" @click="${prevEnabled ? (e) => {
|
|
450
450
|
this.previous();
|
|
451
451
|
this.unblockAutoplay(e, this.previousButton);
|
|
452
|
-
} : null}"><slot name="previous-icon"><sd-6-0-0-next-
|
|
452
|
+
} : null}"><slot name="previous-icon"><sd-6-0-0-next-5-icon class="${cx("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${isLtr ? "chevron-down" : "chevron-up"}"></sd-6-0-0-next-5-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) => {
|
|
453
453
|
const isActive = index + 1 === currentPage;
|
|
454
454
|
return html`<button part="pagination-item ${isActive ? "pagination-item--active" : ""}" class="${cx(
|
|
455
455
|
"carousel__pagination-item",
|
|
@@ -472,7 +472,7 @@ var SdCarousel = class extends SolidElement {
|
|
|
472
472
|
)}" aria-label="${this.localize.term("nextSlide")}" aria-controls="scroll-container" aria-disabled="${nextEnabled ? "false" : "true"}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" @click="${nextEnabled ? (e) => {
|
|
473
473
|
this.next();
|
|
474
474
|
this.unblockAutoplay(e, this.nextButton);
|
|
475
|
-
} : null}"><slot name="next-icon"><sd-6-0-0-next-
|
|
475
|
+
} : null}"><slot name="next-icon"><sd-6-0-0-next-5-icon class="${cx("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${isLtr ? "chevron-up" : "chevron-down"}"></sd-6-0-0-next-5-icon></slot></button></div><button class="${cx(
|
|
476
476
|
"ml-6 !rounded-sm",
|
|
477
477
|
"!absolute !right-0 sd-interactive",
|
|
478
478
|
this.inverted ? "sd-interactive--inverted" : "sd-interactive--reset",
|
|
@@ -482,13 +482,13 @@ var SdCarousel = class extends SolidElement {
|
|
|
482
482
|
if (e.detail) {
|
|
483
483
|
this.autoplayControls.blur();
|
|
484
484
|
}
|
|
485
|
-
}}"><slot name="autoplay-start" class="${cx(!this.pausedAutoplay ? "hidden" : "")}"><sd-6-0-0-next-
|
|
485
|
+
}}"><slot name="autoplay-start" class="${cx(!this.pausedAutoplay ? "hidden" : "")}"><sd-6-0-0-next-5-icon class="h-6 w-6 grid place-items-center" library="_internal" name="start"></sd-6-0-0-next-5-icon></slot><slot name="autoplay-pause" class="${cx(this.pausedAutoplay ? "hidden" : "")}"><sd-6-0-0-next-5-icon class="h-6 w-6 grid place-items-center" library="_internal" name="pause"></sd-6-0-0-next-5-icon></slot></button></div></div>`;
|
|
486
486
|
}
|
|
487
487
|
};
|
|
488
488
|
SdCarousel.styles = [
|
|
489
489
|
...SolidElement.styles,
|
|
490
490
|
css`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
491
|
-
: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}: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-0-0-next-
|
|
491
|
+
: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}: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-0-0-next-5-button::part(label){pointer-events:none;display:flex;flex:auto;align-items:center}`
|
|
492
492
|
];
|
|
493
493
|
__decorateClass([
|
|
494
494
|
query('[part~="autoplay-controls"]')
|
|
@@ -561,7 +561,7 @@ __decorateClass([
|
|
|
561
561
|
watch("autoplay")
|
|
562
562
|
], SdCarousel.prototype, "handleAutoplayChange", 1);
|
|
563
563
|
SdCarousel = __decorateClass([
|
|
564
|
-
customElement("sd-6-0-0-next-
|
|
564
|
+
customElement("sd-6-0-0-next-5-carousel")
|
|
565
565
|
], SdCarousel);
|
|
566
566
|
|
|
567
567
|
export {
|
|
@@ -108,7 +108,7 @@ __decorateClass([
|
|
|
108
108
|
property({ reflect: true })
|
|
109
109
|
], SdMapMarker.prototype, "label", 2);
|
|
110
110
|
SdMapMarker = __decorateClass([
|
|
111
|
-
customElement("sd-6-0-0-next-
|
|
111
|
+
customElement("sd-6-0-0-next-5-map-marker")
|
|
112
112
|
], SdMapMarker);
|
|
113
113
|
|
|
114
114
|
export {
|
|
@@ -107,13 +107,13 @@ var SdMenuItem = class extends SolidElement {
|
|
|
107
107
|
)}" .disabled="${this.disabled}" ?aria-haspopup="${this.isSubmenu()}" ?aria-expanded="${isSubmenuExpanded ? true : false}">${this.type === "checkbox" ? html`<span part="checked-icon" class="${cx(
|
|
108
108
|
"flex items-center justify-center grow-0 shrink-0 basis-auto",
|
|
109
109
|
this.checked ? "visible" : "invisible"
|
|
110
|
-
)}"><sd-6-0-0-next-
|
|
110
|
+
)}"><sd-6-0-0-next-5-icon name="status-check" library="sd-status-assets" aria-hidden="true"></sd-6-0-0-next-5-icon></span>` : ""} ${slots.iconIndent ? html`<slot name="icon-indent" part="icon-indent" class="flex items-center grow-0 shrink-0 basis-auto mr-2"></slot>` : ""}<slot part="label" class="inline-flex grow shrink basis-auto text-ellipsis overflow-hidden" @slotchange="${this.handleDefaultSlotChange}"></slot>${this.chevron || this.isSubmenu() ? html`<span part="submenu-icon" class="flex items-center justify-center grow-0 shrink-0 basis-auto ml-3"><sd-6-0-0-next-5-icon name="chevron-right" library="_internal" aria-hidden="true" class="h-6 w-6"></sd-6-0-0-next-5-icon></span>` : ""} ${this.submenuController.renderSubmenu()}</div>`;
|
|
111
111
|
}
|
|
112
112
|
};
|
|
113
113
|
SdMenuItem.styles = [
|
|
114
114
|
...SolidElement.styles,
|
|
115
115
|
css`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
116
|
-
:host{--submenu-offset:-6px;display:block}:host(:focus-visible){--tw-outline-style:none;outline-style:none}::slotted(sd-6-0-0-next-
|
|
116
|
+
:host{--submenu-offset:-6px;display:block}:host(:focus-visible){--tw-outline-style:none;outline-style:none}::slotted(sd-6-0-0-next-5-icon){height:var(--sd-spacing-6);width:var(--sd-spacing-6)}[part=checked-icon]{margin-right:var(--sd-spacing-3)}.submenu-expanded::after{position:fixed;top:calc(var(--sd-spacing-1) * 0);right:calc(var(--sd-spacing-1) * 0);bottom:calc(var(--sd-spacing-1) * 0);left:calc(var(--sd-spacing-1) * 0);z-index:calc(var(z-dropdown) - 1);--tw-content:'';content:var(--tw-content);clip-path:polygon(var(--safe-triangle-cursor-x,0) var(--safe-triangle-cursor-y,0),var(--safe-triangle-submenu-start-x,0) var(--safe-triangle-submenu-start-y,0),var(--safe-triangle-submenu-end-x,0) var(--safe-triangle-submenu-end-y,0))}:host(:hover:not([aria-disabled=true],:focus-visible)) [part=base]{background-color:var(--sd-color-background-neutral-200);--tw-outline-style:none;outline-style:none}:host(:focus-visible:not([aria-disabled=true])) [part=base]{outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:var(--outline-color-primary);outline-offset:-2px}:host(:hover) [part=base]{--tw-outline-style:none;outline-style:none}sd-6-0-0-next-5-popup::part(popup){z-index:var(--sd-z-index-dropdown,900);background-color:var(--sd-color-background-white);margin-left:var(--submenu-offset)}::slotted(sd-6-0-0-next-5-menu){max-width:var(--auto-size-available-width)!important;max-height:var(--auto-size-available-height)!important}@property --tw-content{syntax:"*";inherits:false;initial-value:""}`
|
|
117
117
|
];
|
|
118
118
|
__decorateClass([
|
|
119
119
|
query("slot:not([name])")
|
|
@@ -146,7 +146,7 @@ __decorateClass([
|
|
|
146
146
|
watch("type")
|
|
147
147
|
], SdMenuItem.prototype, "handleTypeChange", 1);
|
|
148
148
|
SdMenuItem = __decorateClass([
|
|
149
|
-
customElement("sd-6-0-0-next-
|
|
149
|
+
customElement("sd-6-0-0-next-5-menu-item")
|
|
150
150
|
], SdMenuItem);
|
|
151
151
|
|
|
152
152
|
export {
|
|
@@ -164,19 +164,19 @@ var SdButton = class extends SolidElement {
|
|
|
164
164
|
{
|
|
165
165
|
/* sizes, fonts */
|
|
166
166
|
sm: `text-sm varspacing-8 rounded-default ${hasBorder ? "py-[0.281rem] px-[0.938rem]" : "py-[0.344rem] px-4"}`,
|
|
167
|
-
md: `sd-6-0-0-next-
|
|
168
|
-
lg: `sd-6-0-0-next-
|
|
167
|
+
md: `sd-6-0-0-next-5-button--size-md-font-size sd-6-0-0-next-5-button--size-md-border-radius varspacing-10 ${hasBorder ? "py-[0.438rem] px-[0.938rem]" : "sd-6-0-0-next-5-button--size-md-padding-block px-4"}`,
|
|
168
|
+
lg: `sd-6-0-0-next-5-button--size-lg-font-size sd-6-0-0-next-5-button--size-lg-border-radius varspacing-12 ${hasBorder ? "py-[0.688rem] px-[0.938rem]" : "sd-6-0-0-next-5-button--size-lg-padding-block px-4"}`
|
|
169
169
|
}[this.size],
|
|
170
170
|
{
|
|
171
171
|
/* variants */
|
|
172
|
-
primary: !this.inverted ? `sd-6-0-0-next-
|
|
173
|
-
disabled:bg-neutral-500` : `${this.visuallyDisabled ? "bg-neutral-500 text-white border-neutral-500 hover:bg-neutral-500 active:bg-neutral-500" : "sd-6-0-0-next-
|
|
172
|
+
primary: !this.inverted ? `sd-6-0-0-next-5-button--primary--default-color-text ${this.visuallyDisabled ? "bg-neutral-500 border-neutral-500 hover:bg-neutral-500" : "sd-6-0-0-next-5-button--primary--default-color-background border-transparent hover:text-primary-100 active:sd-6-0-0-next-5-button--primary--active-color-text"}
|
|
173
|
+
disabled:bg-neutral-500` : `${this.visuallyDisabled ? "bg-neutral-500 text-white border-neutral-500 hover:bg-neutral-500 active:bg-neutral-500" : "sd-6-0-0-next-5-button--primary--inverted--default-color-text sd-6-0-0-next-5-button--primary--inverted--default-color-background border-white hover:sd-6-0-0-next-5-button--primary--inverted--hover-color-text active:sd-6-0-0-next-5-button--primary--inverted--active-color-text"}
|
|
174
174
|
disabled:bg-neutral-600 disabled:text-white disabled:border-neutral-600`,
|
|
175
175
|
secondary: !this.inverted ? `border ${this.visuallyDisabled ? "text-neutral-500 border-neutral-500 hover:text-neutral-500 hover:border-neutral-500 active:text-neutral-500 active:border-neutral-500" : "text-primary border-primary hover:text-primary-500 hover:border-primary-500 active:text-primary-800 active:border-primary-800"}
|
|
176
|
-
disabled:text-neutral-500 disabled:border-neutral-500` : `border ${this.visuallyDisabled ? "text-neutral-600 border-neutral-600 hover:text-neutral-600 hover:border-neutral-600 active:text-neutral-600 active:border-neutral-600" : "text-white border-white hover:sd-6-0-0-next-
|
|
176
|
+
disabled:text-neutral-500 disabled:border-neutral-500` : `border ${this.visuallyDisabled ? "text-neutral-600 border-neutral-600 hover:text-neutral-600 hover:border-neutral-600 active:text-neutral-600 active:border-neutral-600" : "text-white border-white hover:sd-6-0-0-next-5-button--secondary--inverted--hover-color-text hover:border-primary-100 active:text-primary-200"}
|
|
177
177
|
disabled:text-neutral-600 disabled:border-neutral-600`,
|
|
178
178
|
tertiary: !this.inverted ? `border-transparent ${this.visuallyDisabled ? "text-neutral-500 hover:text-neutral-500 active:text-neutral-500" : "text-primary hover:text-primary-500 active:text-primary-800"}
|
|
179
|
-
disabled:text-neutral-500` : `border-transparent ${this.visuallyDisabled ? "text-neutral-600 hover:text-neutral-600 active:text-neutral-600" : "text-white hover:sd-6-0-0-next-
|
|
179
|
+
disabled:text-neutral-500` : `border-transparent ${this.visuallyDisabled ? "text-neutral-600 hover:text-neutral-600 active:text-neutral-600" : "text-white hover:sd-6-0-0-next-5-button--tertiary--inverted--hover-color-text active:text-primary-200"}
|
|
180
180
|
disabled:text-neutral-600`,
|
|
181
181
|
cta: `text-white ${this.visuallyDisabled ? "bg-neutral-500 border-neutral-500 hover:bg-neutral-500 active:bg-neutral-500" : "bg-accent-500 border-transparent"}
|
|
182
182
|
${!this.inverted ? "disabled:bg-neutral-500 disabled:border-neutral-500" : "disabled:bg-neutral-600 disabled:border-neutral-600"} disabled:text-white`
|
|
@@ -187,23 +187,23 @@ var SdButton = class extends SolidElement {
|
|
|
187
187
|
{
|
|
188
188
|
/* sizes, fonts */
|
|
189
189
|
sm: `rounded-default`,
|
|
190
|
-
md: `sd-6-0-0-next-
|
|
191
|
-
lg: `sd-6-0-0-next-
|
|
190
|
+
md: `sd-6-0-0-next-5-button--size-md-border-radius`,
|
|
191
|
+
lg: `sd-6-0-0-next-5-button--size-lg-border-radius`
|
|
192
192
|
}[this.size]
|
|
193
193
|
)}"><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(
|
|
194
194
|
"absolute right-0 min-w-full min-h-full aspect-square skew-y-[-11deg] mt-[11%]",
|
|
195
195
|
{
|
|
196
|
-
primary: !this.inverted ? "sd-6-0-0-next-
|
|
197
|
-
secondary: !this.inverted ? "sd-6-0-0-next-
|
|
198
|
-
tertiary: !this.inverted ? "sd-6-0-0-next-
|
|
196
|
+
primary: !this.inverted ? "sd-6-0-0-next-5-button--primary--hover-color-background group-active:bg-primary-800" : "sd-6-0-0-next-5-button--primary--inverted--hover-color-background group-active:bg-primary-200",
|
|
197
|
+
secondary: !this.inverted ? "sd-6-0-0-next-5-button--secondary--hover-color-background group-active:sd-6-0-0-next-5-button--secondary--active-color-background" : "bg-primary-500 group-active:sd-6-0-0-next-5-button--secondary--inverted--active-color-background",
|
|
198
|
+
tertiary: !this.inverted ? "sd-6-0-0-next-5-button--tertiary--hover-color-background group-active:sd-6-0-0-next-5-button--tertiary--active-color-background" : "bg-primary-500 group-active:sd-6-0-0-next-5-button--tertiary--inverted--active-color-background",
|
|
199
199
|
cta: "bg-accent-550 group-active:bg-accent-700"
|
|
200
200
|
}[this.variant]
|
|
201
201
|
)}"></div><div class="${cx(
|
|
202
202
|
"absolute w-full h-full mt-[22%]",
|
|
203
203
|
{
|
|
204
|
-
primary: !this.inverted ? "sd-6-0-0-next-
|
|
205
|
-
secondary: !this.inverted ? "sd-6-0-0-next-
|
|
206
|
-
tertiary: !this.inverted ? "sd-6-0-0-next-
|
|
204
|
+
primary: !this.inverted ? "sd-6-0-0-next-5-button--primary--hover-color-background group-active:bg-primary-800" : "sd-6-0-0-next-5-button--primary--inverted--hover-color-background group-active:bg-primary-200",
|
|
205
|
+
secondary: !this.inverted ? "sd-6-0-0-next-5-button--secondary--hover-color-background group-active:sd-6-0-0-next-5-button--secondary--active-color-background" : "bg-primary-500 group-active:sd-6-0-0-next-5-button--secondary--inverted--active-color-background",
|
|
206
|
+
tertiary: !this.inverted ? "sd-6-0-0-next-5-button--tertiary--hover-color-background group-active:sd-6-0-0-next-5-button--tertiary--active-color-background" : "bg-primary-500 group-active:sd-6-0-0-next-5-button--tertiary--inverted--active-color-background",
|
|
207
207
|
cta: "bg-accent-550 group-active:bg-accent-700"
|
|
208
208
|
}[this.variant]
|
|
209
209
|
)}"></div></div></div><slot name="icon-left" part="icon-left" class="${cx(
|
|
@@ -228,7 +228,7 @@ var SdButton = class extends SolidElement {
|
|
|
228
228
|
md: "ml-2",
|
|
229
229
|
lg: "ml-2"
|
|
230
230
|
}[this.size]
|
|
231
|
-
)}"></slot>${this.loading ? html`<sd-6-0-0-next-
|
|
231
|
+
)}"></slot>${this.loading ? html`<sd-6-0-0-next-5-loader class="${cx("absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2")}"></sd-6-0-0-next-5-loader>` : ""}</${tag}>`;
|
|
232
232
|
}
|
|
233
233
|
};
|
|
234
234
|
/**
|
|
@@ -237,13 +237,13 @@ var SdButton = class extends SolidElement {
|
|
|
237
237
|
SdButton.styles = [
|
|
238
238
|
...SolidElement.styles,
|
|
239
239
|
css`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
240
|
-
:host{position:relative;z-index:0;display:inline-block;width:auto;cursor:pointer}::slotted(sd-6-0-0-next-
|
|
240
|
+
:host{position:relative;z-index:0;display:inline-block;width:auto;cursor:pointer}::slotted(sd-6-0-0-next-5-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-0-0-next-5-icon),sd-6-0-0-next-5-loader{font-size:calc(var(--tw-varspacing)/ 2)}@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}`
|
|
241
241
|
];
|
|
242
242
|
__decorateClass([
|
|
243
243
|
query("a, button")
|
|
244
244
|
], SdButton.prototype, "button", 2);
|
|
245
245
|
__decorateClass([
|
|
246
|
-
queryAssignedElements({ selector: "sd-6-0-0-next-
|
|
246
|
+
queryAssignedElements({ selector: "sd-6-0-0-next-5-icon" })
|
|
247
247
|
], SdButton.prototype, "_iconsInDefaultSlot", 2);
|
|
248
248
|
__decorateClass([
|
|
249
249
|
state()
|
|
@@ -309,7 +309,7 @@ __decorateClass([
|
|
|
309
309
|
watch("disabled", { waitUntilFirstUpdate: true })
|
|
310
310
|
], SdButton.prototype, "handleDisabledChange", 1);
|
|
311
311
|
SdButton = __decorateClass([
|
|
312
|
-
customElement("sd-6-0-0-next-
|
|
312
|
+
customElement("sd-6-0-0-next-5-button")
|
|
313
313
|
], SdButton);
|
|
314
314
|
|
|
315
315
|
export {
|
|
@@ -324,7 +324,7 @@ __decorateClass([
|
|
|
324
324
|
property({ attribute: "auto-size-padding", type: Number })
|
|
325
325
|
], SdPopup.prototype, "autoSizePadding", 2);
|
|
326
326
|
SdPopup = __decorateClass([
|
|
327
|
-
customElement("sd-6-0-0-next-
|
|
327
|
+
customElement("sd-6-0-0-next-5-popup")
|
|
328
328
|
], SdPopup);
|
|
329
329
|
|
|
330
330
|
export {
|
|
@@ -32,7 +32,7 @@ var SdDatepicker = class extends SolidElement {
|
|
|
32
32
|
this.localize = new LocalizeController(this);
|
|
33
33
|
this.hasSlotController = new HasSlotController(this, "label", "help-text", "tooltip");
|
|
34
34
|
this.formControlController = new FormControlController(this, {
|
|
35
|
-
assumeInteractionOn: ["sd-blur", "sd-6-0-0-next-
|
|
35
|
+
assumeInteractionOn: ["sd-blur", "sd-6-0-0-next-5-input"]
|
|
36
36
|
});
|
|
37
37
|
this.locale = "en-US";
|
|
38
38
|
this.value = null;
|
|
@@ -1132,7 +1132,7 @@ var SdDatepicker = class extends SolidElement {
|
|
|
1132
1132
|
return DateUtils.isBetweenInclusive(day, rs, pe);
|
|
1133
1133
|
};
|
|
1134
1134
|
const tabTarget = this.getTabTargetDayForCurrentView(weeks);
|
|
1135
|
-
return html`<div part="datepicker" class="w-[284px] z-50 absolute top-full bg-white border-2 border-t-0 border-primary py-3 px-4 ${this.open ? "block rounded-bl-default rounded-br-default" : "hidden"} ${this.alignment === "left" ? "left-0" : "right-0"}"><div class="flex flex-row items-center w-full justify-between mb-3" part="header"><div class="flex items-center"><button type="button" tabindex="0" class="nav prev w-6 h-6 hover:cursor-pointer sd-interactive" part="prev-year-button" @click="${() => this.setYear(-1)}" @keydown="${(ev) => this.handleHeaderKeyDown(ev, "year", -1, false)}" aria-label="${this.localize.term("previousYear")}"><sd-6-0-0-next-
|
|
1135
|
+
return html`<div part="datepicker" class="w-[284px] z-50 absolute top-full bg-white border-2 border-t-0 border-primary py-3 px-4 ${this.open ? "block rounded-bl-default rounded-br-default" : "hidden"} ${this.alignment === "left" ? "left-0" : "right-0"}"><div class="flex flex-row items-center w-full justify-between mb-3" part="header"><div class="flex items-center"><button type="button" tabindex="0" class="nav prev w-6 h-6 hover:cursor-pointer sd-interactive" part="prev-year-button" @click="${() => this.setYear(-1)}" @keydown="${(ev) => this.handleHeaderKeyDown(ev, "year", -1, false)}" aria-label="${this.localize.term("previousYear")}"><sd-6-0-0-next-5-icon library="_internal" name="chevrons-sm-left" class="h-6 w-6"></sd-6-0-0-next-5-icon></button> <button type="button" tabindex="0" class="nav prev w-6 h-6 hover:cursor-pointer sd-interactive" part="prev-month-button" @click="${() => this.setMonth(-1)}" @keydown="${(ev) => this.handleHeaderKeyDown(ev, "month", -1, false)}" aria-label="${this.localize.term("previousMonth")}"><sd-6-0-0-next-5-icon library="_internal" name="chevron-sm-left" class="h-6 w-6"></sd-6-0-0-next-5-icon></button></div><div tabindex="-1" class="month-label flex justify-center sd-headline sd-headline--size-base !text-primary" part="month-label" aria-live="polite">${monthLabel}</div><div class="flex items-center"><button type="button" tabindex="0" class="nav next w-6 h-6 hover:cursor-pointer sd-interactive" part="next-month-button" @click="${() => this.setMonth(1)}" @keydown="${(ev) => this.handleHeaderKeyDown(ev, "month", 1, false)}" aria-label="${this.localize.term("nextMonth")}"><sd-6-0-0-next-5-icon library="_internal" name="chevron-sm-right" class="h-6 w-6"></sd-6-0-0-next-5-icon></button> <button type="button" tabindex="0" class="nav next w-6 h-6 hover:cursor-pointer sd-interactive" part="next-year-button" @click="${() => this.setYear(1)}" @keydown="${(ev) => this.handleHeaderKeyDown(ev, "year", 1, true)}" aria-label="${this.localize.term("nextYear")}"><sd-6-0-0-next-5-icon library="_internal" name="chevrons-sm-right" class="h-6 w-6"></sd-6-0-0-next-5-icon></button></div></div><sd-6-0-0-next-5-divider></sd-6-0-0-next-5-divider><div class="sr-only" aria-live="polite" aria-atomic="true">${this.statusNavText}</div><div class="sr-only" aria-live="assertive" aria-atomic="true">${this.statusSelectText}</div><div class="sr-only" id="keyboard-hint">${this.localize.term("datePickerInfo")}</div><div class="grid mt-2" role="grid" aria-describedby="keyboard-hint" aria-label="${monthLabel}" part="grid" @mouseleave="${this.onGridMouseLeave}" @focusin="${() => {
|
|
1136
1136
|
this.tabbingIntoGrid = false;
|
|
1137
1137
|
}}"><div class="grid-row grid-head grid grid-cols-7 gap-y-[1px]" role="row">${weekdays.map(
|
|
1138
1138
|
(w, colIndex) => html`<div role="columnheader" aria-colindex="${colIndex + 1}" part="weekday" class="cell head flex items-center justify-center font-bold text-black text-sm leading-none h-8" aria-label="${w}" title="${w}" id="${"col-" + (colIndex + 1)}">${w}</div>`
|
|
@@ -1216,7 +1216,7 @@ var SdDatepicker = class extends SolidElement {
|
|
|
1216
1216
|
borderColor,
|
|
1217
1217
|
this.open && this.alignment === "left" ? "rounded-bl-none" : "",
|
|
1218
1218
|
this.open && this.alignment === "right" ? "rounded-br-none" : ""
|
|
1219
|
-
)}"></div><sd-6-0-0-next-
|
|
1219
|
+
)}"></div><sd-6-0-0-next-5-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${cx("inline-flex relative w-full")}" sync="width" auto-size="vertical" auto-size-padding="10" exportparts="popup:popup__content,"><div part="base" class="${cx(
|
|
1220
1220
|
"px-4 flex flex-row items-center rounded-default transition-colors ease-in-out duration-medium hover:duration-fast w-full",
|
|
1221
1221
|
!this.disabled && !this.readonly && !this.visuallyDisabled ? "hover:bg-neutral-200" : "",
|
|
1222
1222
|
this.readonly ? "bg-neutral-100" : "bg-white",
|
|
@@ -1226,7 +1226,7 @@ var SdDatepicker = class extends SolidElement {
|
|
|
1226
1226
|
this.visuallyDisabled || this.disabled ? "placeholder-neutral-500 cursor-not-allowed" : "placeholder-neutral-700",
|
|
1227
1227
|
{ sm: "h-8", md: "h-10", lg: "h-12" }[this.size],
|
|
1228
1228
|
textSize
|
|
1229
|
-
)}" placeholder="${this.placeholder || this.localize.term(this.range ? "dateRangePlaceholder" : "datePlaceholder")}" ?disabled="${this.disabled || this.disabled}" ?readonly="${this.readonly}" @input="${this.handleInput}" @click="${this.handleMouseDown}" @keydown="${this.handleInputKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleInputBlur}" @invalid="${this.handleInvalid}"> ${this.showInvalidStyle ? html`<sd-6-0-0-next-
|
|
1229
|
+
)}" placeholder="${this.placeholder || this.localize.term(this.range ? "dateRangePlaceholder" : "datePlaceholder")}" ?disabled="${this.disabled || this.disabled}" ?readonly="${this.readonly}" @input="${this.handleInput}" @click="${this.handleMouseDown}" @keydown="${this.handleInputKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleInputBlur}" @invalid="${this.handleInvalid}"> ${this.showInvalidStyle ? html`<sd-6-0-0-next-5-icon part="invalid-icon" class="${cx("text-error", iconMarginLeft, iconSize)}" library="_internal" name="risk"></sd-6-0-0-next-5-icon>` : ""} ${this.showValidStyle && this.styleOnValid ? html`<sd-6-0-0-next-5-icon class="${cx("text-success flex-shrink-0", iconMarginLeft, iconSize)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-6-0-0-next-5-icon>` : ""}<sd-6-0-0-next-5-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="_internal" name="calendar"></sd-6-0-0-next-5-icon>${this.renderCalendar()}</div></sd-6-0-0-next-5-popup></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx("text-sm text-neutral-700 mt-1", hasHelpText ? "block" : "hidden")}" aria-hidden="${!hasHelpText}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`;
|
|
1230
1230
|
}
|
|
1231
1231
|
};
|
|
1232
1232
|
SdDatepicker.styles = [
|
|
@@ -1368,7 +1368,7 @@ __decorateClass([
|
|
|
1368
1368
|
watch(["disabled", "visually-disabled"], { waitUntilFirstUpdate: true })
|
|
1369
1369
|
], SdDatepicker.prototype, "handleDisabledChange", 1);
|
|
1370
1370
|
SdDatepicker = __decorateClass([
|
|
1371
|
-
customElement("sd-6-0-0-next-
|
|
1371
|
+
customElement("sd-6-0-0-next-5-datepicker")
|
|
1372
1372
|
], SdDatepicker);
|
|
1373
1373
|
|
|
1374
1374
|
export {
|
|
@@ -385,7 +385,7 @@ var SdInput = class extends SolidElement {
|
|
|
385
385
|
this.size === "sm" ? "h-6" : "h-8",
|
|
386
386
|
textSize
|
|
387
387
|
)}" type="${this.type === "password" && this.passwordVisible ? "text" : this.type}" title="${this.title}" name="${ifDefined(this.name)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" placeholder="${ifDefined(this.placeholder)}" minlength="${ifDefined(this.minlength)}" maxlength="${ifDefined(this.maxlength)}" min="${ifDefined(this.min)}" max="${ifDefined(this.max)}" step="${ifDefined(this.step)}" .value="${live(this.value)}" autocapitalize="${ifDefined(this.type === "password" ? "off" : this.autocapitalize)}" autocomplete="${// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
388
|
-
ifDefined(this.autocomplete)}" autocorrect="${ifDefined(this.type === "password" ? "off" : this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${ifDefined(this.pattern)}" enterkeyhint="${ifDefined(this.enterkeyhint)}" inputmode="${ifDefined(this.inputmode)}" aria-describedby="help-text invalid-message" aria-disabled="${this.visuallyDisabled || this.disabled ? "true" : "false"}" aria-invalid="${this.showInvalidStyle}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @keydown="${this.handleKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${hasClearIcon ? html`<button part="clear-button" class="${cx("flex justify-center", iconMarginLeft)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-6-0-0-next-
|
|
388
|
+
ifDefined(this.autocomplete)}" autocorrect="${ifDefined(this.type === "password" ? "off" : this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${ifDefined(this.pattern)}" enterkeyhint="${ifDefined(this.enterkeyhint)}" inputmode="${ifDefined(this.inputmode)}" aria-describedby="help-text invalid-message" aria-disabled="${this.visuallyDisabled || this.disabled ? "true" : "false"}" aria-invalid="${this.showInvalidStyle}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @keydown="${this.handleKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${hasClearIcon ? html`<button part="clear-button" class="${cx("flex justify-center", iconMarginLeft)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-6-0-0-next-5-icon class="${cx("text-neutral-700", iconSize)}" library="_internal" name="closing-round"></sd-6-0-0-next-5-icon></slot></button>` : ""} ${this.passwordToggle && this.type === "password" ? html`<button aria-label="${this.localize.term(this.passwordVisible ? "hidePassword" : "showPassword")}" part="password-toggle-button" class="${cx("flex items-center sd-interactive", iconMarginLeft)}" type="button" @click="${this.handlePasswordToggle}">${this.passwordVisible ? html`<slot name="show-password-icon"><sd-6-0-0-next-5-icon class="${cx(iconColor, iconSize)}" library="_internal" name="eye"></sd-6-0-0-next-5-icon></slot>` : html`<slot name="hide-password-icon"><sd-6-0-0-next-5-icon class="${cx(iconColor, iconSize)}" library="_internal" name="eye-crossed-out"></sd-6-0-0-next-5-icon></slot>`}</button>` : ""} ${(this.type === "date" || this.type === "datetime-local") && !isFirefox ? html`<sd-6-0-0-next-5-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="_internal" name="calendar"></sd-6-0-0-next-5-icon>` : ""} ${this.type === "time" ? html`<sd-6-0-0-next-5-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="_internal" name="clock"></sd-6-0-0-next-5-icon>` : ""} ${this.type === "search" ? html`<button class="${cx("flex items-center sd-interactive", iconMarginLeft)}" type="button" @click="${this.handleSearchClick}"><sd-6-0-0-next-5-icon class="${cx(iconColor, iconSize)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-6-0-0-next-5-icon></button>` : ""} ${this.showInvalidStyle ? html`<sd-6-0-0-next-5-icon part="invalid-icon" class="${cx("text-error", iconMarginLeft, iconSize)}" library="_internal" name="risk"></sd-6-0-0-next-5-icon>` : ""} ${this.showValidStyle && this.styleOnValid ? html`<sd-6-0-0-next-5-icon class="${cx("text-success flex-shrink-0", iconMarginLeft, iconSize)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-6-0-0-next-5-icon>` : ""} ${slots["right"] ? html`<slot name="right" part="right" class="${cx("inline-flex", iconColor, iconMarginLeft, iconSize)}"></slot>` : ""} ${this.type === "number" && this.spinButtons ? html`<div part="stepper" class="flex items-center"><button part="decrement-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isDecrementDisabled()}" aria-hidden="true" ${longPress({ start: () => this.handleStepDown(), end: () => this.handleChange() })} tabindex="-1"><slot name="decrement-number-stepper"><sd-6-0-0-next-5-icon library="_internal" name="minus-circle" label="Decrease value" class="${cx(iconColor, iconMarginLeft, iconSize)}"></sd-6-0-0-next-5-icon></slot></button> <button part="increment-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isIncrementDisabled()}" aria-hidden="true" ${longPress({ start: () => this.handleStepUp(), end: () => this.handleChange() })} tabindex="-1"><slot name="increment-number-stepper"><sd-6-0-0-next-5-icon library="_internal" name="plus-circle" label="Decrease value" class="${cx(iconColor, iconMarginLeft, iconSize)}"></sd-6-0-0-next-5-icon></slot></button></div>` : ""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx("text-sm text-neutral-700 mt-1", hasHelpText ? "block" : "hidden")}" aria-hidden="${!hasHelpText}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`;
|
|
389
389
|
}
|
|
390
390
|
};
|
|
391
391
|
/**
|
|
@@ -394,7 +394,7 @@ var SdInput = class extends SolidElement {
|
|
|
394
394
|
SdInput.styles = [
|
|
395
395
|
...SolidElement.styles,
|
|
396
396
|
css`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
397
|
-
:host{position:relative;box-sizing:border-box;display:inline-block;width:100%;text-align:left}:host([vertical]){display:block}:host([required]) #label::after{content:' *'}:host([visually-disabled]) input{caret-color:transparent}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.stepper-button[disabled] sd-6-0-0-next-
|
|
397
|
+
:host{position:relative;box-sizing:border-box;display:inline-block;width:100%;text-align:left}:host([vertical]){display:block}:host([required]) #label::after{content:' *'}:host([visually-disabled]) input{caret-color:transparent}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.stepper-button[disabled] sd-6-0-0-next-5-icon{color:var(--sd-color-text-neutral-500)}`
|
|
398
398
|
];
|
|
399
399
|
__decorateClass([
|
|
400
400
|
query("#input")
|
|
@@ -524,7 +524,7 @@ __decorateClass([
|
|
|
524
524
|
watch("value", { waitUntilFirstUpdate: true })
|
|
525
525
|
], SdInput.prototype, "handleValueChange", 1);
|
|
526
526
|
SdInput = __decorateClass([
|
|
527
|
-
customElement("sd-6-0-0-next-
|
|
527
|
+
customElement("sd-6-0-0-next-5-input")
|
|
528
528
|
], SdInput);
|
|
529
529
|
|
|
530
530
|
export {
|
|
@@ -183,7 +183,7 @@ var SdDialog = class extends SolidElement {
|
|
|
183
183
|
)}"><div part="overlay" class="fixed inset-0 overlay-color-background opacity-90" @click="${() => this.requestClose("overlay")}" tabindex="-1"></div><div part="panel" class="${cx(
|
|
184
184
|
"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",
|
|
185
185
|
this.open && "flex opacity-100"
|
|
186
|
-
)}" 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-0-0-next-
|
|
186
|
+
)}" 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-0-0-next-5-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-0-0-next-5-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-6-0-0-next-5-icon></sd-6-0-0-next-5-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>`;
|
|
187
187
|
}
|
|
188
188
|
};
|
|
189
189
|
SdDialog.styles = [
|
|
@@ -213,7 +213,7 @@ __decorateClass([
|
|
|
213
213
|
watch("open", { waitUntilFirstUpdate: true })
|
|
214
214
|
], SdDialog.prototype, "handleOpenChange", 1);
|
|
215
215
|
SdDialog = __decorateClass([
|
|
216
|
-
customElement("sd-6-0-0-next-
|
|
216
|
+
customElement("sd-6-0-0-next-5-dialog")
|
|
217
217
|
], SdDialog);
|
|
218
218
|
setDefaultAnimation("dialog.show", {
|
|
219
219
|
keyframes: [
|
|
@@ -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`<label part="base" class="${cx(
|
|
121
|
-
"sd-6-0-0-next-
|
|
121
|
+
"sd-6-0-0-next-5-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 */
|
|
@@ -160,7 +160,7 @@ var SdCheckbox = class extends SolidElement {
|
|
|
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-0-0-next-
|
|
163
|
+
)}"></div></div>${this.checked ? html`<sd-6-0-0-next-5-icon part="checked-icon" class="text-white w-3 h-3" library="_internal" name="status-check"></sd-6-0-0-next-5-icon>` : ""} ${!this.checked && this.indeterminate ? html`<sd-6-0-0-next-5-icon part="indeterminate-icon" class="text-white w-3 h-3" library="_internal" name="status-minus"></sd-6-0-0-next-5-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" : this.showInvalidStyle ? "text-error" : "text-black"
|
|
166
166
|
)}"><slot></slot></span></label> ${this.formControlController.renderInvalidMessage()}`;
|
|
@@ -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-0-0-next-
|
|
226
|
+
customElement("sd-6-0-0-next-5-checkbox")
|
|
227
227
|
], SdCheckbox);
|
|
228
228
|
|
|
229
229
|
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-0-0-next-
|
|
101
|
+
)}"><slot name="play-icon" part="play-icon" class="${cx(this.isBelowBreakpoint ? "text-[2rem]" : "text-[4rem]")}"><sd-6-0-0-next-5-icon id="default-play-icon" library="_internal" name="start"></sd-6-0-0-next-5-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-0-0-next-
|
|
119
|
+
customElement("sd-6-0-0-next-5-video")
|
|
120
120
|
], SdVideo);
|
|
121
121
|
|
|
122
122
|
export {
|
|
@@ -135,20 +135,20 @@ var SdAccordion = class extends SolidElement {
|
|
|
135
135
|
}
|
|
136
136
|
render() {
|
|
137
137
|
return html`<details part="base" class="border-neutral-400"><summary part="header" id="header" class="${cx(
|
|
138
|
-
"flex text-base gap-4 font-bold items-center cursor-pointer select-none px-4 sd-6-0-0-next-
|
|
138
|
+
"flex text-base gap-4 font-bold items-center cursor-pointer select-none px-4 sd-6-0-0-next-5-accordion-padding-block focus-visible:focus-outline sd-6-0-0-next-5-accordion-color-text relative group transition-colors ease-in-out duration-fast sd-6-0-0-next-5-accordion-color-background hover:bg-neutral-200"
|
|
139
139
|
)}" aria-expanded="${this.open ? "true" : "false"}" aria-controls="content" tabindex="0" @click="${this.handleSummaryClick}" @keydown="${this.handleSummaryKeyDown}"><div part="summary-border" class="${cx(
|
|
140
140
|
!this.open && "opacity-0",
|
|
141
|
-
"w-1 sd-6-0-0-next-
|
|
141
|
+
"w-1 sd-6-0-0-next-5-accordion__indicator-color absolute left-0 transition-height duration-fast ease-in-out h-[calc(100%-16px)] group-hover:h-full"
|
|
142
142
|
)}"></div><slot name="summary" part="summary" class="flex flex-auto items-center text-left">${this.summary}</slot><span part="summary-icon" class="${cx(
|
|
143
143
|
"flex flex-grow-0 flex-shrink-0 flex-auto items-center transition-all ease-in-out duration-medium text-xl",
|
|
144
144
|
this.open && "rotate-180"
|
|
145
|
-
)}"><slot name="expand-icon" class="${cx(this.open && "hidden")}"><sd-6-0-0-next-
|
|
145
|
+
)}"><slot name="expand-icon" class="${cx(this.open && "hidden")}"><sd-6-0-0-next-5-icon library="_internal" name="chevron-down"></sd-6-0-0-next-5-icon></slot><slot name="collapse-icon" class="${cx(!this.open && "hidden")}"><sd-6-0-0-next-5-icon library="_internal" name="chevron-down"></sd-6-0-0-next-5-icon></slot></span></summary><div part="content" id="content" class="overflow-hidden"><slot part="content__slot" class="block px-4 py-6" role="region" aria-labelledby="header"></slot></div></details>`;
|
|
146
146
|
}
|
|
147
147
|
};
|
|
148
148
|
SdAccordion.styles = [
|
|
149
149
|
...SolidElement.styles,
|
|
150
150
|
css`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
151
|
-
:host{display:block}[part=header]::-webkit-details-marker{display:none}[part=base]{border-block-width:var(--sd-accordion-border-width
|
|
151
|
+
:host{display:block}[part=header]::-webkit-details-marker{display:none}[part=base]{border-block-width:var(--sd-accordion-border-width)}[part=summary-icon]{color:var(--sd-accordion__chevron-color-text)}`
|
|
152
152
|
];
|
|
153
153
|
__decorateClass([
|
|
154
154
|
query('[part="base"]')
|
|
@@ -169,7 +169,7 @@ __decorateClass([
|
|
|
169
169
|
watch("open", { waitUntilFirstUpdate: true })
|
|
170
170
|
], SdAccordion.prototype, "handleOpenChange", 1);
|
|
171
171
|
SdAccordion = __decorateClass([
|
|
172
|
-
customElement("sd-6-0-0-next-
|
|
172
|
+
customElement("sd-6-0-0-next-5-accordion")
|
|
173
173
|
], SdAccordion);
|
|
174
174
|
setDefaultAnimation("accordion.show", {
|
|
175
175
|
keyframes: [
|
|
@@ -42,16 +42,16 @@ var SdAccordionGroup = class extends SolidElement {
|
|
|
42
42
|
SdAccordionGroup.styles = [
|
|
43
43
|
...SolidElement.styles,
|
|
44
44
|
css`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
45
|
-
:host{display:block}::slotted(sd-6-0-0-next-
|
|
45
|
+
:host{display:block}::slotted(sd-6-0-0-next-5-accordion:not(:first-of-type)){margin-top:calc(-1 * var(--sd-accordion-border-width))}`
|
|
46
46
|
];
|
|
47
47
|
__decorateClass([
|
|
48
|
-
queryAssignedElements({ selector: "sd-6-0-0-next-
|
|
48
|
+
queryAssignedElements({ selector: "sd-6-0-0-next-5-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-0-0-next-
|
|
54
|
+
customElement("sd-6-0-0-next-5-accordion-group")
|
|
55
55
|
], SdAccordionGroup);
|
|
56
56
|
|
|
57
57
|
export {
|