@solid-design-system/components 6.17.1 → 6.18.0
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.ZSZLZIYX.js +12 -0
- package/cdn/components/carousel/carousel.d.ts +2 -0
- package/cdn/components/carousel/carousel.js +1 -1
- package/cdn/custom-elements.json +21 -1
- package/cdn/solid-components.bundle.js +65 -65
- package/cdn/solid-components.iife.js +65 -65
- package/cdn/solid-components.js +1 -1
- package/cdn/vscode.html-custom-data.json +5 -0
- package/cdn/web-types.json +11 -1
- package/cdn-versioned/chunks/chunk.2DHBC2XZ.js +2 -2
- package/cdn-versioned/chunks/chunk.3GRKVX3Y.js +2 -2
- package/cdn-versioned/chunks/chunk.4V4SW2MU.js +2 -2
- package/cdn-versioned/chunks/chunk.52TRFRJK.js +2 -2
- package/cdn-versioned/chunks/chunk.72BMHDYW.js +2 -2
- package/cdn-versioned/chunks/chunk.A4Y2ZTQS.js +2 -2
- package/cdn-versioned/chunks/chunk.ACBSQQGQ.js +2 -2
- package/cdn-versioned/chunks/chunk.B66QBBOC.js +1 -1
- package/cdn-versioned/chunks/chunk.BAAF4SAM.js +2 -2
- package/cdn-versioned/chunks/chunk.BDF5Y2DV.js +2 -2
- package/cdn-versioned/chunks/chunk.BOEKLLMY.js +2 -2
- package/cdn-versioned/chunks/chunk.C2B2WHBX.js +2 -2
- package/cdn-versioned/chunks/chunk.CEWEUYL5.js +2 -2
- package/cdn-versioned/chunks/chunk.CSMKAOUE.js +2 -2
- package/cdn-versioned/chunks/chunk.CZUZXVXM.js +1 -1
- package/cdn-versioned/chunks/chunk.DDGEG3JJ.js +2 -2
- package/cdn-versioned/chunks/chunk.DSXSUMRR.js +3 -3
- package/cdn-versioned/chunks/chunk.E2V26BUA.js +1 -1
- package/cdn-versioned/chunks/chunk.ETLWMEM7.js +5 -5
- package/cdn-versioned/chunks/chunk.EYHWAYCC.js +2 -2
- package/cdn-versioned/chunks/chunk.F2YBTYYO.js +1 -1
- package/cdn-versioned/chunks/chunk.FSMYSRQ5.js +2 -2
- package/cdn-versioned/chunks/chunk.G6OWFL7B.js +2 -2
- package/cdn-versioned/chunks/chunk.GBSKWBQY.js +5 -5
- package/cdn-versioned/chunks/chunk.GS46R6QO.js +2 -2
- package/cdn-versioned/chunks/chunk.HX4A7MNJ.js +2 -2
- package/cdn-versioned/chunks/chunk.JG5FT5V3.js +2 -2
- package/cdn-versioned/chunks/chunk.K65Y3BMV.js +2 -2
- package/cdn-versioned/chunks/chunk.KAVHO7BF.js +2 -2
- package/cdn-versioned/chunks/chunk.KXYEKUBH.js +1 -1
- package/cdn-versioned/chunks/chunk.L4Q4HWT2.js +1 -1
- package/cdn-versioned/chunks/chunk.LFLXMIIF.js +2 -2
- package/cdn-versioned/chunks/chunk.OGNOPC3L.js +1 -1
- package/cdn-versioned/chunks/chunk.PCPQDPIJ.js +2 -2
- package/cdn-versioned/chunks/chunk.PUDOHTPG.js +2 -2
- package/cdn-versioned/chunks/chunk.Q36PSPCX.js +1 -1
- package/cdn-versioned/chunks/chunk.QDWVVB6U.js +2 -2
- package/cdn-versioned/chunks/chunk.QKQ2FAEH.js +2 -2
- package/cdn-versioned/chunks/chunk.QRCDP5AE.js +2 -2
- package/cdn-versioned/chunks/chunk.RAP66B6O.js +1 -1
- package/cdn-versioned/chunks/chunk.RJVOMEKW.js +2 -2
- package/cdn-versioned/chunks/chunk.SH4PMEHV.js +2 -2
- package/cdn-versioned/chunks/chunk.SWMRHLCD.js +2 -2
- package/cdn-versioned/chunks/chunk.T2VQOPNR.js +2 -2
- package/cdn-versioned/chunks/chunk.TEQ3DTJK.js +2 -2
- package/cdn-versioned/chunks/chunk.THPGET7V.js +2 -2
- package/cdn-versioned/chunks/chunk.TXQVRNR7.js +2 -2
- package/cdn-versioned/chunks/chunk.U5H4A4ZD.js +2 -2
- package/cdn-versioned/chunks/chunk.UK3QQAGA.js +2 -2
- package/cdn-versioned/chunks/chunk.VREAKVXD.js +2 -2
- package/cdn-versioned/chunks/chunk.VW4SG3XG.js +2 -2
- package/cdn-versioned/chunks/chunk.VXGSYVQJ.js +3 -3
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.WC4UPG7R.js +2 -2
- package/cdn-versioned/chunks/chunk.WMBV6H4W.js +2 -2
- package/cdn-versioned/chunks/chunk.WOCCV524.js +1 -1
- package/cdn-versioned/chunks/chunk.XF2NJUOO.js +2 -2
- package/cdn-versioned/chunks/chunk.XFJLF5M4.js +2 -2
- package/cdn-versioned/chunks/chunk.XGLBODZT.js +2 -2
- package/cdn-versioned/chunks/chunk.XYQCPWUJ.js +1 -1
- package/cdn-versioned/chunks/chunk.YDS5VIM3.js +2 -2
- package/cdn-versioned/chunks/chunk.YPTZDABK.js +1 -1
- package/cdn-versioned/chunks/chunk.ZMRAUCHT.js +9 -9
- package/cdn-versioned/chunks/chunk.ZSZLZIYX.js +12 -0
- 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 +3 -1
- package/cdn-versioned/components/carousel/carousel.js +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/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 +265 -245
- package/cdn-versioned/internal/form.js +2 -2
- package/cdn-versioned/solid-components.bundle.js +82 -82
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +83 -83
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +112 -107
- package/cdn-versioned/web-types.json +167 -157
- package/dist/chunks/{chunk.DOQJMWSI.js → chunk.BWFGZZU7.js} +15 -3
- package/dist/components/carousel/carousel.d.ts +2 -0
- package/dist/components/carousel/carousel.js +1 -1
- package/dist/custom-elements.json +21 -1
- package/dist/solid-components.js +1 -1
- package/dist/vscode.html-custom-data.json +5 -0
- package/dist/web-types.json +11 -1
- package/dist-versioned/chunks/chunk.2U32VSHR.js +3 -3
- package/dist-versioned/chunks/chunk.2WGBXYET.js +3 -3
- package/dist-versioned/chunks/chunk.33OSBM2L.js +1 -1
- package/dist-versioned/chunks/chunk.37VMM4OR.js +1 -1
- package/dist-versioned/chunks/chunk.3ZZBKPOH.js +5 -5
- package/dist-versioned/chunks/chunk.4VG6NHCU.js +6 -6
- package/dist-versioned/chunks/chunk.5IARX66P.js +11 -11
- package/dist-versioned/chunks/chunk.6RD6BJ43.js +1 -1
- package/dist-versioned/chunks/chunk.6UAU2Y7U.js +2 -2
- package/dist-versioned/chunks/chunk.7EU5PQGA.js +5 -5
- package/dist-versioned/chunks/chunk.AFMRRRYY.js +2 -2
- package/dist-versioned/chunks/chunk.AXQ65JS3.js +6 -6
- package/dist-versioned/chunks/chunk.B43IHGRK.js +4 -4
- package/dist-versioned/chunks/chunk.B46QWFGW.js +5 -5
- package/dist-versioned/chunks/chunk.BDBRCTEF.js +10 -10
- package/dist-versioned/chunks/chunk.BDOSAOAF.js +1 -1
- package/dist-versioned/chunks/chunk.BKNVWJRC.js +4 -4
- package/dist-versioned/chunks/chunk.BNUP4TMP.js +6 -6
- package/dist-versioned/chunks/chunk.BQINNFJP.js +5 -5
- package/dist-versioned/chunks/chunk.BV25PV23.js +6 -6
- package/dist-versioned/chunks/{chunk.DOQJMWSI.js → chunk.BWFGZZU7.js} +24 -12
- package/dist-versioned/chunks/chunk.C3WIBDGG.js +2 -2
- package/dist-versioned/chunks/chunk.COSVGBTT.js +12 -12
- package/dist-versioned/chunks/chunk.DEYMV3AS.js +11 -11
- package/dist-versioned/chunks/chunk.E2PJNXY4.js +3 -3
- package/dist-versioned/chunks/chunk.EQ3WBPH5.js +1 -1
- package/dist-versioned/chunks/chunk.EREHAJGM.js +5 -5
- package/dist-versioned/chunks/chunk.FKPD6TIK.js +14 -14
- package/dist-versioned/chunks/chunk.GQEY7HYL.js +1 -1
- package/dist-versioned/chunks/chunk.GU6XT67W.js +2 -2
- package/dist-versioned/chunks/chunk.GXX7ZVMH.js +2 -2
- package/dist-versioned/chunks/chunk.HPHV4VKP.js +3 -3
- package/dist-versioned/chunks/chunk.HPYZXPZN.js +2 -2
- package/dist-versioned/chunks/chunk.IOIU7TDJ.js +9 -9
- package/dist-versioned/chunks/chunk.IQMEFOSJ.js +4 -4
- package/dist-versioned/chunks/chunk.JZSKAHSL.js +2 -2
- package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
- package/dist-versioned/chunks/chunk.KENPAY6Q.js +2 -2
- package/dist-versioned/chunks/chunk.KQYOSLIW.js +5 -5
- package/dist-versioned/chunks/chunk.KVQN5R3X.js +11 -11
- package/dist-versioned/chunks/chunk.MACL5DD6.js +6 -6
- package/dist-versioned/chunks/chunk.MFLCJDVY.js +25 -25
- package/dist-versioned/chunks/chunk.MQG727Y4.js +4 -4
- package/dist-versioned/chunks/chunk.N4W5UD4U.js +3 -3
- package/dist-versioned/chunks/chunk.NMS67TKX.js +13 -13
- package/dist-versioned/chunks/chunk.NO5K5NRM.js +5 -5
- package/dist-versioned/chunks/chunk.RC4YZBAG.js +4 -4
- package/dist-versioned/chunks/chunk.RJQAUVFZ.js +5 -5
- package/dist-versioned/chunks/chunk.S4SI3HWM.js +2 -2
- package/dist-versioned/chunks/chunk.SBC2I6JO.js +8 -8
- package/dist-versioned/chunks/chunk.T27MZUKA.js +1 -1
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/chunk.UQIEZ6RZ.js +25 -25
- package/dist-versioned/chunks/chunk.USC7EHJV.js +32 -32
- package/dist-versioned/chunks/chunk.VDMPM2P2.js +2 -2
- package/dist-versioned/chunks/chunk.VLHNMJ5F.js +10 -10
- package/dist-versioned/chunks/chunk.VSWXW4QR.js +3 -3
- package/dist-versioned/chunks/chunk.W76DK5Q3.js +2 -2
- package/dist-versioned/chunks/chunk.WC2SM7KI.js +4 -4
- package/dist-versioned/chunks/chunk.WG6PNLWA.js +10 -10
- package/dist-versioned/chunks/chunk.WOZA4YTR.js +5 -5
- package/dist-versioned/chunks/chunk.XF6FDNUR.js +2 -2
- package/dist-versioned/chunks/chunk.ZGCNF5LQ.js +1 -1
- package/dist-versioned/chunks/chunk.ZR5RDB6B.js +7 -7
- 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 +3 -1
- package/dist-versioned/components/carousel/carousel.js +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/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 +265 -245
- package/dist-versioned/internal/form.js +2 -2
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +1 -1
- package/dist-versioned/vscode.html-custom-data.json +112 -107
- package/dist-versioned/web-types.json +167 -157
- package/package.json +1 -1
- package/cdn/chunks/chunk.HYIE6V5T.js +0 -12
- package/cdn-versioned/chunks/chunk.HYIE6V5T.js +0 -12
|
@@ -26,7 +26,7 @@ SdCarouselItem.styles = [
|
|
|
26
26
|
:host{aspect-ratio:var(--aspect-ratio);scroll-snap-align:start;scroll-snap-stop:always;display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:center}::slotted(img){height:100%;width:100%;-o-object-fit:cover;object-fit:cover}`
|
|
27
27
|
];
|
|
28
28
|
SdCarouselItem = __decorateClass([
|
|
29
|
-
customElement("sd-6-
|
|
29
|
+
customElement("sd-6-18-0-carousel-item")
|
|
30
30
|
], SdCarouselItem);
|
|
31
31
|
|
|
32
32
|
export {
|
|
@@ -17,7 +17,7 @@ var SdSkeleton = class extends SolidElement {
|
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
19
|
return html`<div part="base" aria-hidden="true" class="${cx(
|
|
20
|
-
"sd-6-
|
|
20
|
+
"sd-6-18-0-skeleton-color w-full h-full animate-pulse",
|
|
21
21
|
{
|
|
22
22
|
rectangular: "rounded-sm",
|
|
23
23
|
circular: "rounded-full inline-block"
|
|
@@ -34,7 +34,7 @@ __decorateClass([
|
|
|
34
34
|
property({ type: String, reflect: true })
|
|
35
35
|
], SdSkeleton.prototype, "variant", 2);
|
|
36
36
|
SdSkeleton = __decorateClass([
|
|
37
|
-
customElement("sd-6-
|
|
37
|
+
customElement("sd-6-18-0-skeleton")
|
|
38
38
|
], SdSkeleton);
|
|
39
39
|
|
|
40
40
|
export {
|
|
@@ -220,16 +220,16 @@ var SdTooltip = class extends SolidElement {
|
|
|
220
220
|
render() {
|
|
221
221
|
const isStart = this.placement.endsWith("-start");
|
|
222
222
|
const isEnd = this.placement.endsWith("-end");
|
|
223
|
-
return html`<sd-6-
|
|
223
|
+
return html`<sd-6-18-0-popup part="base" exportparts="
|
|
224
224
|
popup:base__popup,
|
|
225
225
|
arrow:base__arrow
|
|
226
|
-
" 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-
|
|
226
|
+
" 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-18-0-icon library="_internal" name="info-circle" label="Tooltip" class="${cx(this.disabled && "sd-interactive--disabled")}"></sd-6-18-0-icon></button>`}<slot name="content" part="body" id="tooltip" class="sd-6-18-0-tooltip-color-background sd-6-18-0-tooltip-color-text 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-18-0-popup>`;
|
|
227
227
|
}
|
|
228
228
|
};
|
|
229
229
|
SdTooltip.styles = [
|
|
230
230
|
...SolidElement.styles,
|
|
231
231
|
css`/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
232
|
-
:host{--hide-delay:0ms;--show-delay:150ms;display:contents}sd-6-
|
|
232
|
+
:host{--hide-delay:0ms;--show-delay:150ms;display:contents}sd-6-18-0-popup{--arrow-color:rgba(var(--sd-tooltip-color-background));--arrow-size:10px}sd-6-18-0-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-18-0-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-18-0-popup[placement^=top]::part(popup){transform-origin:bottom}sd-6-18-0-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}`
|
|
233
233
|
];
|
|
234
234
|
__decorateClass([
|
|
235
235
|
query("slot:not([name])")
|
|
@@ -238,7 +238,7 @@ __decorateClass([
|
|
|
238
238
|
query("#tooltip")
|
|
239
239
|
], SdTooltip.prototype, "body", 2);
|
|
240
240
|
__decorateClass([
|
|
241
|
-
query("sd-6-
|
|
241
|
+
query("sd-6-18-0-popup")
|
|
242
242
|
], SdTooltip.prototype, "popup", 2);
|
|
243
243
|
__decorateClass([
|
|
244
244
|
property({ type: String, reflect: true })
|
|
@@ -274,7 +274,7 @@ __decorateClass([
|
|
|
274
274
|
watch("disabled")
|
|
275
275
|
], SdTooltip.prototype, "handleDisabledChange", 1);
|
|
276
276
|
SdTooltip = __decorateClass([
|
|
277
|
-
customElement("sd-6-
|
|
277
|
+
customElement("sd-6-18-0-tooltip")
|
|
278
278
|
], SdTooltip);
|
|
279
279
|
setDefaultAnimation("tooltip.show", {
|
|
280
280
|
keyframes: [{ opacity: 0 }, { opacity: 1 }],
|
|
@@ -62,7 +62,7 @@ var SdStepGroup = class extends SolidElement {
|
|
|
62
62
|
});
|
|
63
63
|
}
|
|
64
64
|
getAllSteps() {
|
|
65
|
-
return [...this.body.assignedElements()].filter((el) => el.tagName.toLowerCase() === "sd-6-
|
|
65
|
+
return [...this.body.assignedElements()].filter((el) => el.tagName.toLowerCase() === "sd-6-18-0-step");
|
|
66
66
|
}
|
|
67
67
|
/**
|
|
68
68
|
* Sets the active step.
|
|
@@ -137,7 +137,7 @@ __decorateClass([
|
|
|
137
137
|
watch("notInteractive")
|
|
138
138
|
], SdStepGroup.prototype, "handleInteractivityChange", 1);
|
|
139
139
|
SdStepGroup = __decorateClass([
|
|
140
|
-
customElement("sd-6-
|
|
140
|
+
customElement("sd-6-18-0-step-group")
|
|
141
141
|
], SdStepGroup);
|
|
142
142
|
|
|
143
143
|
export {
|
|
@@ -22,7 +22,7 @@ var SdBreadcrumb = class extends SolidElement {
|
|
|
22
22
|
this.isTruncated = false;
|
|
23
23
|
}
|
|
24
24
|
get items() {
|
|
25
|
-
return this.querySelectorAll("sd-6-
|
|
25
|
+
return this.querySelectorAll("sd-6-18-0-breadcrumb-item");
|
|
26
26
|
}
|
|
27
27
|
cacheItemPositions() {
|
|
28
28
|
this.items.forEach((item) => {
|
|
@@ -67,12 +67,12 @@ var SdBreadcrumb = class extends SolidElement {
|
|
|
67
67
|
}
|
|
68
68
|
handleMobileChevron() {
|
|
69
69
|
var _a, _b, _c;
|
|
70
|
-
const icon = document.createElement("sd-6-
|
|
70
|
+
const icon = document.createElement("sd-6-18-0-icon");
|
|
71
71
|
icon.setAttribute("slot", "icon-left");
|
|
72
72
|
icon.setAttribute("library", "_internal");
|
|
73
73
|
icon.setAttribute("name", "chevron-left");
|
|
74
74
|
icon.setAttribute("class", "text-base me-1 lg:hidden");
|
|
75
|
-
(_c = (_b = (_a = Array.from(this.items).at(-2)) == null ? void 0 : _a.shadowRoot) == null ? void 0 : _b.querySelector("sd-6-
|
|
75
|
+
(_c = (_b = (_a = Array.from(this.items).at(-2)) == null ? void 0 : _a.shadowRoot) == null ? void 0 : _b.querySelector("sd-6-18-0-link")) == null ? void 0 : _c.appendChild(icon);
|
|
76
76
|
}
|
|
77
77
|
handleSlotChange() {
|
|
78
78
|
this.handleMobileChevron();
|
|
@@ -87,13 +87,13 @@ var SdBreadcrumb = class extends SolidElement {
|
|
|
87
87
|
this.resizeObserver.unobserve(this);
|
|
88
88
|
}
|
|
89
89
|
render() {
|
|
90
|
-
return html`<nav part="base" class="flex items-center pb-1" aria-label="${this.label}"><sd-6-
|
|
90
|
+
return html`<nav part="base" class="flex items-center pb-1" aria-label="${this.label}"><sd-6-18-0-dropdown part="truncated" class="${cx(!this.isTruncated && "absolute opacity-0 pointer-events-none")}"><button slot="trigger" tabindex="${this.isTruncated ? "0" : "-1"}" aria-label="${this.localize.term("truncatedBreadcrumbs")}" aria-expanded="false" aria-haspopup="true" class="flex sd-interactive">[...]</button><ol part="truncated-dropdown" class="flex flex-col gap-4 px-2 py-3 min-w-40"></ol></sd-6-18-0-dropdown><ol part="list" class="flex items-center"><slot @slotchange="${this.handleSlotChange}"></slot></ol></nav>`;
|
|
91
91
|
}
|
|
92
92
|
};
|
|
93
93
|
SdBreadcrumb.styles = [
|
|
94
94
|
...SolidElement.styles,
|
|
95
95
|
css`/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
96
|
-
:host{position:relative;display:block}::slotted(sd-6-
|
|
96
|
+
:host{position:relative;display:block}::slotted(sd-6-18-0-breadcrumb-item:not(:last-of-type))::after,sd-6-18-0-dropdown::after{margin-inline:var(--sd-spacing-2);display:none;height:var(--sd-spacing-1);width:var(--sd-spacing-1);border-radius:var(--sd-radius-full);background-color:rgba(var(--sd-breadcrumb__separator-color,rgba(var(--sd-color-neutral-400))));--tw-content:'';content:var(--tw-content)}@media (width >= 64rem){::slotted(sd-6-18-0-breadcrumb-item:not(:last-of-type))::after,sd-6-18-0-dropdown::after{display:inline-block}}::slotted(sd-6-18-0-breadcrumb-item:nth-last-child(2)){display:flex}@media (width >= 64rem){::slotted(sd-6-18-0-breadcrumb-item:nth-last-child(2))::after{background-color:rgba(var(--sd-breadcrumb__separator--current-color,rgba(var(--sd-color-accent))))}}::slotted(sd-6-18-0-breadcrumb-item),sd-6-18-0-dropdown{display:none;align-items:center;font-size:var(--sd-text-sm);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25 / .875)))}@media (width >= 64rem){::slotted(sd-6-18-0-breadcrumb-item),sd-6-18-0-dropdown{display:flex}}@property --tw-content{syntax:"*";inherits:false;initial-value:""}`
|
|
97
97
|
];
|
|
98
98
|
__decorateClass([
|
|
99
99
|
query('[part="base"]')
|
|
@@ -117,7 +117,7 @@ __decorateClass([
|
|
|
117
117
|
state()
|
|
118
118
|
], SdBreadcrumb.prototype, "isTruncated", 2);
|
|
119
119
|
SdBreadcrumb = __decorateClass([
|
|
120
|
-
customElement("sd-6-
|
|
120
|
+
customElement("sd-6-18-0-breadcrumb")
|
|
121
121
|
], SdBreadcrumb);
|
|
122
122
|
|
|
123
123
|
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-18-0-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-18-0-button--primary--default-color-background sd-6-18-0-button--primary--default-color-text hover:sd-6-18-0-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-18-0-radio-button-color-text border-primary cursor-pointer hover:sd-6-18-0-radio-button--hover-color-background hover:sd-6-18-0-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.2.2 | 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-18-0-button-group__button:not(.sd-6-18-0-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-3) * -1)}:host([size=md].sd-6-18-0-button-group__button:not(.sd-6-18-0-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-2) * -1)}:host([size=sm].sd-6-18-0-button-group__button:not(.sd-6-18-0-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-1) * -1)}:host(.sd-6-18-0-button-group__button--hover){z-index:20}:host(.sd-6-18-0-button-group__button--focus),:host(.sd-6-18-0-button-group__button[checked]){z-index:10}@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-18-0-radio-button")
|
|
123
123
|
], SdRadioButton);
|
|
124
124
|
|
|
125
125
|
export {
|
|
@@ -26,7 +26,7 @@ var SdCheckboxGroup = class extends SolidElement {
|
|
|
26
26
|
this.helpText = "";
|
|
27
27
|
}
|
|
28
28
|
getAllCheckboxes() {
|
|
29
|
-
return [...this.querySelectorAll("sd-6-
|
|
29
|
+
return [...this.querySelectorAll("sd-6-18-0-checkbox")];
|
|
30
30
|
}
|
|
31
31
|
async syncCheckboxElements() {
|
|
32
32
|
const checkboxes = this.getAllCheckboxes();
|
|
@@ -39,10 +39,10 @@ var SdCheckboxGroup = class extends SolidElement {
|
|
|
39
39
|
);
|
|
40
40
|
}
|
|
41
41
|
syncCheckboxes() {
|
|
42
|
-
if (customElements.get("sd-6-
|
|
42
|
+
if (customElements.get("sd-6-18-0-checkbox")) {
|
|
43
43
|
this.syncCheckboxElements();
|
|
44
44
|
} else {
|
|
45
|
-
customElements.whenDefined("sd-6-
|
|
45
|
+
customElements.whenDefined("sd-6-18-0-checkbox").then(() => this.syncCheckboxes());
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
handleSizeChange() {
|
|
@@ -80,7 +80,7 @@ var SdCheckboxGroup = class extends SolidElement {
|
|
|
80
80
|
SdCheckboxGroup.styles = [
|
|
81
81
|
...SolidElement.styles,
|
|
82
82
|
css`/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
83
|
-
:host{display:block}:host([orientation=vertical]) ::slotted(sd-6-
|
|
83
|
+
:host{display:block}:host([orientation=vertical]) ::slotted(sd-6-18-0-checkbox){margin-bottom:var(--sd-spacing-2);display:flex}:host([orientation=vertical]) ::slotted(sd-6-18-0-checkbox:last-of-type){margin-bottom:calc(var(--sd-spacing-1) * 0)}:host([orientation=horizontal]) ::slotted(sd-6-18-0-checkbox){margin-right:var(--sd-spacing-6)}:host([orientation=horizontal]) ::slotted(sd-6-18-0-checkbox:last-of-type){margin-right:calc(var(--sd-spacing-1) * 0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-6-18-0-checkbox){margin-right:var(--sd-spacing-4)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-6-18-0-checkbox:last-of-type){margin-right:calc(var(--sd-spacing-1) * 0)}`
|
|
84
84
|
];
|
|
85
85
|
__decorateClass([
|
|
86
86
|
property({ type: String, reflect: true })
|
|
@@ -101,7 +101,7 @@ __decorateClass([
|
|
|
101
101
|
watch("invalid", { waitUntilFirstUpdate: true })
|
|
102
102
|
], SdCheckboxGroup.prototype, "handleInvalid", 1);
|
|
103
103
|
SdCheckboxGroup = __decorateClass([
|
|
104
|
-
customElement("sd-6-
|
|
104
|
+
customElement("sd-6-18-0-checkbox-group")
|
|
105
105
|
], SdCheckboxGroup);
|
|
106
106
|
|
|
107
107
|
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-18-0-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-18-0-tag-font-weight sd-6-18-0-tag--size-lg-font-size gap-2",
|
|
71
|
+
sm: "h-6 sd-6-18-0-tag-font-weight sd-6-18-0-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-18-0-tag--default-color-border sd-6-18-0-tag--default-color-text",
|
|
81
|
+
!isRemovable ? "sd-6-18-0-tag--default-color-background hover:border-primary-500 hover:text-primary-500 hover:sd-6-18-0-tag--default--hover-color-background" : "sd-6-18-0-tag--default-color-background has-[button:hover]:border-primary-500 has-[button:hover]:text-primary-500"
|
|
82
|
+
) : "sd-6-18-0-tag--selected-border-width sd-6-18-0-tag--selected--default-color-background sd-6-18-0-tag--selected--default-color-border sd-6-18-0-tag--selected--default-color-text hover:sd-6-18-0-tag--selected--hover-color-background hover:sd-6-18-0-tag--selected--hover-color-border hover:sd-6-18-0-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-18-0-tag--disabled-color-border sd-6-18-0-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"><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"><sd-6-18-0-icon library="_internal" name="close" label="${this.localize.term("remove")}"></sd-6-18-0-icon></slot></button>` : ""}</${tag}>`;
|
|
88
88
|
}
|
|
89
89
|
};
|
|
90
90
|
SdTag.styles = [
|
|
91
91
|
...SolidElement.styles,
|
|
92
92
|
css`/*! tailwindcss v4.2.2 | 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-18-0-tag--disabled-color-border{border-color:rgb(var(--sd-tag--disabled-color-border))}.sd-6-18-0-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-18-0-tag")
|
|
124
124
|
], SdTag);
|
|
125
125
|
|
|
126
126
|
export {
|
|
@@ -53,7 +53,7 @@ SdThemeListener.styles = [
|
|
|
53
53
|
:host{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border-width:0}`
|
|
54
54
|
];
|
|
55
55
|
SdThemeListener = __decorateClass([
|
|
56
|
-
customElement("sd-6-
|
|
56
|
+
customElement("sd-6-18-0-theme-listener")
|
|
57
57
|
], SdThemeListener);
|
|
58
58
|
|
|
59
59
|
export {
|
|
@@ -25,11 +25,11 @@ var SdOptgroup = class extends SolidElement {
|
|
|
25
25
|
this.label = "";
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
|
-
* Syncs the disabled prop for all slotted sd-6-
|
|
28
|
+
* Syncs the disabled prop for all slotted sd-6-18-0-options when it is triggered
|
|
29
29
|
*/
|
|
30
30
|
handleDisableOptions() {
|
|
31
31
|
const { disabled } = this;
|
|
32
|
-
this.defaultSlot.assignedElements().filter((opt) => opt.tagName.toLowerCase() === "sd-6-
|
|
32
|
+
this.defaultSlot.assignedElements().filter((opt) => opt.tagName.toLowerCase() === "sd-6-18-0-option").forEach((opt) => {
|
|
33
33
|
opt.disabled = disabled;
|
|
34
34
|
});
|
|
35
35
|
}
|
|
@@ -38,7 +38,7 @@ var SdOptgroup = class extends SolidElement {
|
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
40
|
const { disabled } = this;
|
|
41
|
-
return html`<div role="${disabled ? "presentation" : "group"}" class="${cx(this.disabled ? "text-neutral-500" : "")}" part="base" aria-labelledby="group-label"><sd-6-
|
|
41
|
+
return html`<div role="${disabled ? "presentation" : "group"}" class="${cx(this.disabled ? "text-neutral-500" : "")}" part="base" aria-labelledby="group-label"><sd-6-18-0-divider id="divider" class="pt-2 pb-4" part="divider"></sd-6-18-0-divider><div part="label-container" class="${cx(this.disabled ? "text-neutral-500" : "text-black")} px-4 font-bold text-left" role="presentation" id="group-label"><slot name="label"><span>${this.label}</span></slot></div><div role="listbox" part="options" aria-label="${this.localize.term("optionGroup")}"><slot @slotchange="${this.handleDisableOptions}"></slot></div></div>`;
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
SdOptgroup.styles = [
|
|
@@ -59,7 +59,7 @@ __decorateClass([
|
|
|
59
59
|
watch("disabled", { waitUntilFirstUpdate: true })
|
|
60
60
|
], SdOptgroup.prototype, "handleDisabledChange", 1);
|
|
61
61
|
SdOptgroup = __decorateClass([
|
|
62
|
-
customElement("sd-6-
|
|
62
|
+
customElement("sd-6-18-0-optgroup")
|
|
63
63
|
], SdOptgroup);
|
|
64
64
|
|
|
65
65
|
export {
|
|
@@ -71,7 +71,7 @@ var SdRadio = class extends SolidElement {
|
|
|
71
71
|
}
|
|
72
72
|
render() {
|
|
73
73
|
return html`<span part="base" class="${cx(
|
|
74
|
-
"sd-6-
|
|
74
|
+
"sd-6-18-0-radio group flex items-center text-base leading-normal text-black cursor-pointer",
|
|
75
75
|
(this.disabled || this.visuallyDisabled) && "hover:cursor-not-allowed",
|
|
76
76
|
{
|
|
77
77
|
/* sizes, fonts */
|
|
@@ -80,15 +80,15 @@ var SdRadio = class extends SolidElement {
|
|
|
80
80
|
lg: "text-base"
|
|
81
81
|
}[this.size]
|
|
82
82
|
)}"><span part="${`${this.checked ? "control--checked" : "control--unchecked"}`}" class="${cx(
|
|
83
|
-
"flex-initial shrink-0 relative inline-flex items-center justify-center border sd-6-
|
|
83
|
+
"flex-initial shrink-0 relative inline-flex items-center justify-center border sd-6-18-0-radio-border-width rounded-full bg-white h-4 w-4 duration-fast ease-in-out",
|
|
84
84
|
this.disabled || this.visuallyDisabled ? "border-neutral-500" : this.invalid ? cx(
|
|
85
85
|
"border-error hover:border-error-400 group-hover:border-error-400",
|
|
86
|
-
this.checked ? "sd-6-
|
|
87
|
-
) : this.checked ? "sd-6-
|
|
86
|
+
this.checked ? "sd-6-18-0-radio--checked--invalid--default-color-background" : "sd-6-18-0-radio--default--invalid-color-background"
|
|
87
|
+
) : this.checked ? "sd-6-18-0-radio--checked--default-color-background hover:sd-6-18-0-radio--checked--hover-color-background group-hover:sd-6-18-0-radio--checked--hover-color-background border-accent hover:border-accent-550 group-hover:border-accent-550" : "form-control-color-border hover:bg-neutral-200 group-hover:bg-neutral-200"
|
|
88
88
|
)}"><span part="checked" class="${cx(
|
|
89
89
|
"rounded-full inline-flex text-white h-2.5 w-2.5 transition-[transform, colors] duration-medium ease-in-out",
|
|
90
90
|
this.checked ? "scale-100" : "scale-0",
|
|
91
|
-
this.disabled ? "bg-neutral-500" : this.visuallyDisabled ? "bg-white" : this.invalid ? "sd-6-
|
|
91
|
+
this.disabled ? "bg-neutral-500" : this.visuallyDisabled ? "bg-white" : this.invalid ? "sd-6-18-0-radio--checked--invalid--default__icon-color-background hover:sd-6-18-0-radio--checked--invalid--hover__icon-color-background group-hover:sd-6-18-0-radio--checked--invalid--hover__icon-color-background" : this.checked ? "sd-6-18-0-radio--checked--default__icon-color-background hover:sd-6-18-0-radio--checked--hover__icon-color-background group-hover:sd-6-18-0-radio--checked--hover__icon-color-background" : "bg-neutral-800"
|
|
92
92
|
)}"></span></span><slot part="label" class="${cx(
|
|
93
93
|
"ml-2 select-none inline-block",
|
|
94
94
|
this.disabled || this.visuallyDisabled ? "text-neutral-500" : "text-black"
|
|
@@ -131,7 +131,7 @@ __decorateClass([
|
|
|
131
131
|
watch(["disabled", "visually-disabled"], { waitUntilFirstUpdate: true })
|
|
132
132
|
], SdRadio.prototype, "handleDisabledChange", 1);
|
|
133
133
|
SdRadio = __decorateClass([
|
|
134
|
-
customElement("sd-6-
|
|
134
|
+
customElement("sd-6-18-0-radio")
|
|
135
135
|
], SdRadio);
|
|
136
136
|
|
|
137
137
|
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-18-0-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-18-0-teaser--neutral-400-color-border",
|
|
64
|
+
"neutral-100": "sd-6-18-0-teaser--neutral-100-color-background",
|
|
65
65
|
primary: "bg-primary text-white",
|
|
66
|
-
"primary-100": "sd-6-
|
|
66
|
+
"primary-100": "sd-6-18-0-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-18-0-teaser")
|
|
109
109
|
], SdTeaser);
|
|
110
110
|
|
|
111
111
|
export {
|
|
@@ -45,10 +45,10 @@ var SdTeaserMedia = class extends SolidElement {
|
|
|
45
45
|
)}"></div><div class="${cx("relative", ["primary", "gradient-dark"].includes(this.variant) && "text-white")}"><div class="${cx(
|
|
46
46
|
"absolute inset-0 pointer-events-none",
|
|
47
47
|
{
|
|
48
|
-
white: "sd-6-
|
|
49
|
-
"neutral-100": "sd-6-
|
|
48
|
+
white: "sd-6-18-0-teaser-media--white-color-background group-hover:sd-6-18-0-teaser-media--white--hover-color-background ",
|
|
49
|
+
"neutral-100": "sd-6-18-0-teaser-media--neutral-100-color-background group-hover:sd-6-18-0-teaser-media--neutral-100--hover-color-background",
|
|
50
50
|
primary: "bg-primary/[.8] text-white group-hover:bg-primary/90",
|
|
51
|
-
"primary-100": "sd-6-
|
|
51
|
+
"primary-100": "sd-6-18-0-teaser-media--primary-100-color-background group-hover:sd-6-18-0-teaser-media--primary-100--hover-color-background",
|
|
52
52
|
"gradient-light": "bg-gradient-to-t from-white/75 to-white/60",
|
|
53
53
|
"gradient-dark": "bg-gradient-to-t from-primary-800/75 to-primary-800/60"
|
|
54
54
|
}[this.variant]
|
|
@@ -56,11 +56,11 @@ var SdTeaserMedia = class extends SolidElement {
|
|
|
56
56
|
"mt-3 transition-opacity duration-300",
|
|
57
57
|
!this.open && "hidden",
|
|
58
58
|
this.open ? "opacity-100" : "opacity-0"
|
|
59
|
-
)}" part="expandable" aria-hidden="true"><slot name="expandable"></slot></div>${slots["teaser-has-expandable"] ? html`<button part="toggle" class="sd-interactive sd-interactive--reset mt-2" @click="${this.onToggleClick}" aria-expanded="${this.open}" aria-label="${this.open ? "Collapse content" : "Expand content"}"><div class="h-full justify-start flex items-start"><sd-6-
|
|
59
|
+
)}" part="expandable" aria-hidden="true"><slot name="expandable"></slot></div>${slots["teaser-has-expandable"] ? html`<button part="toggle" class="sd-interactive sd-interactive--reset mt-2" @click="${this.onToggleClick}" aria-expanded="${this.open}" aria-label="${this.open ? "Collapse content" : "Expand content"}"><div class="h-full justify-start flex items-start"><sd-6-18-0-icon class="${cx(
|
|
60
60
|
"w-6 h-6 transition-transform",
|
|
61
61
|
this.open && "rotate-180",
|
|
62
62
|
["primary", "gradient-dark"].includes(this.variant) ? "text-white" : "text-primary"
|
|
63
|
-
)}" library="_internal" name="chevron-down"></sd-6-
|
|
63
|
+
)}" library="_internal" name="chevron-down"></sd-6-18-0-icon></div></button>` : null}</div></div></div><div class="${cx("mb-4 -z-10", !slots["teaser-has-media"] && "hidden")}" part="media"><slot name="media"></slot></div></div>`;
|
|
64
64
|
}
|
|
65
65
|
};
|
|
66
66
|
SdTeaserMedia.styles = [
|
|
@@ -81,7 +81,7 @@ __decorateClass([
|
|
|
81
81
|
query('[part="base"]')
|
|
82
82
|
], SdTeaserMedia.prototype, "teaserMedia", 2);
|
|
83
83
|
SdTeaserMedia = __decorateClass([
|
|
84
|
-
customElement("sd-6-
|
|
84
|
+
customElement("sd-6-18-0-teaser-media")
|
|
85
85
|
], SdTeaserMedia);
|
|
86
86
|
|
|
87
87
|
export {
|
|
@@ -52,6 +52,7 @@ var SdCarousel = class extends SolidElement {
|
|
|
52
52
|
this.inverted = false;
|
|
53
53
|
this.loop = false;
|
|
54
54
|
this.autoplay = false;
|
|
55
|
+
this.autoplayInterval = 5;
|
|
55
56
|
this.fade = false;
|
|
56
57
|
this.slidesPerPage = 1;
|
|
57
58
|
this.slidesPerMove = 1;
|
|
@@ -63,7 +64,7 @@ var SdCarousel = class extends SolidElement {
|
|
|
63
64
|
if (!this.isFocused) this.next();
|
|
64
65
|
});
|
|
65
66
|
this.scrollController = new ScrollController(this);
|
|
66
|
-
this.slides = this.getElementsByTagName("sd-6-
|
|
67
|
+
this.slides = this.getElementsByTagName("sd-6-18-0-carousel-item");
|
|
67
68
|
// determines which slide is displayed
|
|
68
69
|
// A map containing the state of all the slides
|
|
69
70
|
this.intersectionObserverEntries = /* @__PURE__ */ new Map();
|
|
@@ -252,7 +253,7 @@ var SdCarousel = class extends SolidElement {
|
|
|
252
253
|
if (this.pausedAutoplay) {
|
|
253
254
|
this.autoplayController.stop();
|
|
254
255
|
} else if (this.autoplay) {
|
|
255
|
-
this.autoplayController.start(
|
|
256
|
+
this.autoplayController.start(this.autoplayInterval * 1e3);
|
|
256
257
|
}
|
|
257
258
|
}
|
|
258
259
|
handleFadeChange() {
|
|
@@ -354,9 +355,14 @@ var SdCarousel = class extends SolidElement {
|
|
|
354
355
|
handleAutoplayChange() {
|
|
355
356
|
this.autoplayController.stop();
|
|
356
357
|
if (this.autoplay && !this.pausedAutoplay) {
|
|
357
|
-
this.autoplayController.start(
|
|
358
|
+
this.autoplayController.start(this.autoplayInterval * 1e3);
|
|
358
359
|
}
|
|
359
360
|
}
|
|
361
|
+
handleautoplayIntervalChange() {
|
|
362
|
+
if (!this.autoplay || this.pausedAutoplay) return;
|
|
363
|
+
this.autoplayController.stop();
|
|
364
|
+
this.autoplayController.start(this.autoplayInterval * 1e3);
|
|
365
|
+
}
|
|
360
366
|
/**
|
|
361
367
|
* Move the carousel backward by `slides-per-move` slides.
|
|
362
368
|
*
|
|
@@ -470,7 +476,7 @@ var SdCarousel = class extends SolidElement {
|
|
|
470
476
|
if (e.detail) {
|
|
471
477
|
this.autoplayControls.blur();
|
|
472
478
|
}
|
|
473
|
-
}}"><slot name="autoplay-start" class="${cx(!this.pausedAutoplay ? "hidden" : "")}"><sd-6-
|
|
479
|
+
}}"><slot name="autoplay-start" class="${cx(!this.pausedAutoplay ? "hidden" : "")}"><sd-6-18-0-icon class="h-6 w-6 grid place-items-center" library="_internal" name="start"></sd-6-18-0-icon></slot><slot name="autoplay-pause" class="${cx(this.pausedAutoplay ? "hidden" : "")}"><sd-6-18-0-icon class="h-6 w-6 grid place-items-center" library="_internal" name="pause"></sd-6-18-0-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(
|
|
474
480
|
`carousel__slides mb-6 max-h-full w-full items-center justify-items-center`,
|
|
475
481
|
this.inverted ? "focus-visible:focus-outline-inverted" : "focus-visible:focus-outline",
|
|
476
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`
|
|
@@ -484,7 +490,7 @@ var SdCarousel = class extends SolidElement {
|
|
|
484
490
|
)}" aria-label="${this.localize.term("previousSlide")}" aria-controls="scroll-container" aria-disabled="${prevEnabled ? "false" : "true"}" @click="${prevEnabled ? (e) => {
|
|
485
491
|
this.previous();
|
|
486
492
|
this.unblockAutoplay(e, this.previousButton);
|
|
487
|
-
} : null}"><slot name="previous-icon"><sd-6-
|
|
493
|
+
} : null}"><slot name="previous-icon"><sd-6-18-0-icon class="${cx("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${isLtr ? "chevron-down" : "chevron-up"}"></sd-6-18-0-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) => {
|
|
488
494
|
const isActive = index + 1 === currentPage;
|
|
489
495
|
return html`<button part="pagination-item ${isActive ? "pagination-item--active" : ""}" class="${cx(
|
|
490
496
|
"carousel__pagination-item",
|
|
@@ -495,14 +501,14 @@ var SdCarousel = class extends SolidElement {
|
|
|
495
501
|
this.goToSlide(index * slidesPerMove);
|
|
496
502
|
this.unblockAutoplay(e, this.paginationItems[index]);
|
|
497
503
|
}}"><span class="${cx(
|
|
498
|
-
"h-4 w-4 block border sd-6-
|
|
499
|
-
this.inverted ? "sd-6-
|
|
504
|
+
"h-4 w-4 block border sd-6-18-0-carousel__pager-dot-border-width rounded-full transition-colors duration-slow hover:duration-fast ease-in-out",
|
|
505
|
+
this.inverted ? "sd-6-18-0-carousel__pager-dot--inverted-border hover:border-primary-200" : "border-primary hover:border-primary-500",
|
|
500
506
|
isActive && "border-none",
|
|
501
|
-
isActive ? this.inverted ? "sd-6-
|
|
507
|
+
isActive ? this.inverted ? "sd-6-18-0-carousel__pager-dot--inverted-background hover:sd-6-18-0-carousel__pager-dot--inverted--hovered-background" : "sd-6-18-0-carousel__pager-dot-background hover:bg-accent-550" : ""
|
|
502
508
|
)}"></span></button>`;
|
|
503
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(
|
|
504
510
|
"w-5 text-center border-b-2",
|
|
505
|
-
this.inverted ? "text-white sd-6-
|
|
511
|
+
this.inverted ? "text-white sd-6-18-0-carousel--active--inverted-color-border" : "text-black sd-6-18-0-carousel--active-color-border"
|
|
506
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(
|
|
507
513
|
"!ml-6 !rounded-sm sd-interactive transition-colors duration-fast ease-in-out",
|
|
508
514
|
!nextEnabled && "sd-interactive--disabled",
|
|
@@ -510,13 +516,13 @@ var SdCarousel = class extends SolidElement {
|
|
|
510
516
|
)}" aria-label="${this.localize.term("nextSlide")}" aria-controls="scroll-container" aria-disabled="${nextEnabled ? "false" : "true"}" @click="${nextEnabled ? (e) => {
|
|
511
517
|
this.next();
|
|
512
518
|
this.unblockAutoplay(e, this.nextButton);
|
|
513
|
-
} : null}"><slot name="next-icon"><sd-6-
|
|
519
|
+
} : null}"><slot name="next-icon"><sd-6-18-0-icon class="${cx("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${isLtr ? "chevron-up" : "chevron-down"}"></sd-6-18-0-icon></slot></button></div></div></div>`;
|
|
514
520
|
}
|
|
515
521
|
};
|
|
516
522
|
SdCarousel.styles = [
|
|
517
523
|
...SolidElement.styles,
|
|
518
524
|
css`/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
519
|
-
: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-
|
|
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-18-0-button::part(label){pointer-events:none;display:flex;flex:auto;align-items:center}#carousel__navigation-button--next,#carousel__navigation-button--previous{color:rgba(var(--sd-color-icon-fill-primary))}#carousel__navigation-button--next:disabled,#carousel__navigation-button--previous:disabled{color:rgba(var(--sd-color-icon-fill-neutral-500))}:host([inverted]) #carousel__navigation-button--next,:host([inverted]) #carousel__navigation-button--previous{color:rgba(var(--sd-color-icon-fill-white))}:host([inverted]) #carousel__navigation-button--next:disabled,:host([inverted]) #carousel__navigation-button--previous:disabled{color:rgba(var(--sd-color-icon-fill-neutral-600))}`
|
|
520
526
|
];
|
|
521
527
|
__decorateClass([
|
|
522
528
|
query('[part~="autoplay-controls"]')
|
|
@@ -542,6 +548,9 @@ __decorateClass([
|
|
|
542
548
|
__decorateClass([
|
|
543
549
|
property({ type: Boolean, reflect: true })
|
|
544
550
|
], SdCarousel.prototype, "autoplay", 2);
|
|
551
|
+
__decorateClass([
|
|
552
|
+
property({ type: Number, attribute: "autoplay-interval", reflect: true })
|
|
553
|
+
], SdCarousel.prototype, "autoplayInterval", 2);
|
|
545
554
|
__decorateClass([
|
|
546
555
|
property({ type: Boolean, reflect: true })
|
|
547
556
|
], SdCarousel.prototype, "fade", 2);
|
|
@@ -594,8 +603,11 @@ __decorateClass([
|
|
|
594
603
|
__decorateClass([
|
|
595
604
|
watch("autoplay")
|
|
596
605
|
], SdCarousel.prototype, "handleAutoplayChange", 1);
|
|
606
|
+
__decorateClass([
|
|
607
|
+
watch("autoplayInterval")
|
|
608
|
+
], SdCarousel.prototype, "handleautoplayIntervalChange", 1);
|
|
597
609
|
SdCarousel = __decorateClass([
|
|
598
|
-
customElement("sd-6-
|
|
610
|
+
customElement("sd-6-18-0-carousel")
|
|
599
611
|
], SdCarousel);
|
|
600
612
|
|
|
601
613
|
export {
|
|
@@ -15,7 +15,7 @@ var FormControlController = class {
|
|
|
15
15
|
const disabled = this.options.disabled(this.host);
|
|
16
16
|
const name = this.options.name(this.host);
|
|
17
17
|
const value = this.options.value(this.host);
|
|
18
|
-
const isButton = this.host.tagName.toLowerCase() === "sd-6-
|
|
18
|
+
const isButton = this.host.tagName.toLowerCase() === "sd-6-18-0-button";
|
|
19
19
|
if (!disabled && !isButton && typeof name === "string" && name.length > 0 && typeof value !== "undefined") {
|
|
20
20
|
if (Array.isArray(value)) {
|
|
21
21
|
value.forEach((val) => {
|
|
@@ -40,7 +40,7 @@ var FormControlController = class {
|
|
|
40
40
|
event.stopImmediatePropagation();
|
|
41
41
|
const invalidElements = (_b = this.form) == null ? void 0 : _b.querySelectorAll("[data-invalid]");
|
|
42
42
|
const sdRadioGroups = Array.from(invalidElements).filter(
|
|
43
|
-
(element) => element.tagName.toLowerCase() === "sd-6-
|
|
43
|
+
(element) => element.tagName.toLowerCase() === "sd-6-18-0-radio-group"
|
|
44
44
|
);
|
|
45
45
|
sdRadioGroups.forEach((radioGroup) => {
|
|
46
46
|
var _a2, _b2;
|