@solid-design-system/components 6.9.2 → 6.10.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.W34AMMB5.js → chunk.62QW3E3X.js} +1 -1
- package/cdn/chunks/{chunk.CJIGOFUV.js → chunk.6SXKCQA5.js} +1 -1
- package/cdn/components/breadcrumb/breadcrumb.js +1 -1
- package/cdn/components/combobox/combobox.js +1 -1
- package/cdn/components/datepicker/datepicker.js +1 -1
- package/cdn/components/dropdown/dropdown.js +1 -1
- package/cdn/components/popup/popup.js +1 -1
- package/cdn/components/range/range.js +1 -1
- package/cdn/components/select/select.js +1 -1
- package/cdn/components/tooltip/tooltip.js +1 -1
- package/cdn/custom-elements.json +1 -1
- 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/utilities/autocomplete-config.js +1 -1
- package/cdn/web-types.json +1 -1
- package/cdn-versioned/chunks/chunk.23WHB4QP.js +2 -2
- package/cdn-versioned/chunks/chunk.2MIX3O75.js +2 -2
- package/cdn-versioned/chunks/chunk.2PFSV4UH.js +2 -2
- package/cdn-versioned/chunks/chunk.2SMHQXPB.js +2 -2
- package/cdn-versioned/chunks/chunk.3JJMR6UW.js +2 -2
- package/cdn-versioned/chunks/chunk.3QIJXAQA.js +2 -2
- package/cdn-versioned/chunks/chunk.3R2FJ7GP.js +2 -2
- package/cdn-versioned/chunks/chunk.5KUK2VJM.js +1 -1
- package/cdn-versioned/chunks/{chunk.W34AMMB5.js → chunk.62QW3E3X.js} +2 -2
- package/cdn-versioned/chunks/chunk.6H45UF7X.js +1 -1
- package/cdn-versioned/chunks/chunk.6P7SZLGS.js +1 -1
- package/cdn-versioned/chunks/chunk.6RPVUY7L.js +2 -2
- package/cdn-versioned/chunks/{chunk.CJIGOFUV.js → chunk.6SXKCQA5.js} +2 -2
- package/cdn-versioned/chunks/chunk.A6VWEUXI.js +2 -2
- package/cdn-versioned/chunks/chunk.ABEZTKXZ.js +3 -3
- package/cdn-versioned/chunks/chunk.AK6QMGJL.js +2 -2
- package/cdn-versioned/chunks/chunk.AZILYRH5.js +2 -2
- package/cdn-versioned/chunks/chunk.BJYMUYXU.js +2 -2
- package/cdn-versioned/chunks/chunk.CSUL5FAA.js +2 -2
- package/cdn-versioned/chunks/chunk.CZH4RZUA.js +2 -2
- package/cdn-versioned/chunks/chunk.DOFLMPNA.js +2 -2
- package/cdn-versioned/chunks/chunk.EE6DZSAZ.js +2 -2
- package/cdn-versioned/chunks/chunk.ETYTBHYS.js +1 -1
- package/cdn-versioned/chunks/chunk.F6GLDWSF.js +1 -1
- package/cdn-versioned/chunks/chunk.FWVEGMDU.js +2 -2
- package/cdn-versioned/chunks/chunk.GB4BLTBN.js +5 -5
- package/cdn-versioned/chunks/chunk.GYLDD7OO.js +2 -2
- package/cdn-versioned/chunks/chunk.IHPCVJQP.js +1 -1
- package/cdn-versioned/chunks/chunk.JE443GSD.js +9 -9
- package/cdn-versioned/chunks/chunk.JWST2JU2.js +2 -2
- package/cdn-versioned/chunks/chunk.KU24TV3E.js +2 -2
- package/cdn-versioned/chunks/chunk.LCDK6JMB.js +2 -2
- package/cdn-versioned/chunks/chunk.LCRJHN7X.js +2 -2
- package/cdn-versioned/chunks/chunk.LJGKR57E.js +2 -2
- package/cdn-versioned/chunks/chunk.LJUXIWVE.js +2 -2
- package/cdn-versioned/chunks/chunk.LPAOJ3UT.js +2 -2
- package/cdn-versioned/chunks/chunk.LROVOQK7.js +2 -2
- package/cdn-versioned/chunks/chunk.LZ22HXBZ.js +1 -1
- package/cdn-versioned/chunks/chunk.M7IOABFW.js +2 -2
- package/cdn-versioned/chunks/chunk.MBTTKYXS.js +2 -2
- package/cdn-versioned/chunks/chunk.MGVXL2HX.js +2 -2
- package/cdn-versioned/chunks/chunk.MND77BIP.js +2 -2
- package/cdn-versioned/chunks/chunk.MOVV5SGH.js +2 -2
- package/cdn-versioned/chunks/chunk.NK5ADMN2.js +1 -1
- package/cdn-versioned/chunks/chunk.OVMB2HQ7.js +2 -2
- package/cdn-versioned/chunks/chunk.PBG7SX5G.js +2 -2
- package/cdn-versioned/chunks/chunk.PO3YG7QM.js +2 -2
- package/cdn-versioned/chunks/chunk.RAP66B6O.js +1 -1
- package/cdn-versioned/chunks/chunk.RHXXKUAP.js +1 -1
- package/cdn-versioned/chunks/chunk.RLMMTFRP.js +2 -2
- package/cdn-versioned/chunks/chunk.S6YZ73C6.js +2 -2
- package/cdn-versioned/chunks/chunk.SN3JKNRR.js +2 -2
- package/cdn-versioned/chunks/chunk.SYKS2NVL.js +2 -2
- package/cdn-versioned/chunks/chunk.TIT73LW6.js +1 -1
- package/cdn-versioned/chunks/chunk.UH6HUCWL.js +2 -2
- package/cdn-versioned/chunks/chunk.VBVSO7CX.js +2 -2
- package/cdn-versioned/chunks/chunk.VJWJIXNG.js +5 -5
- package/cdn-versioned/chunks/chunk.VNKXLA5X.js +2 -2
- package/cdn-versioned/chunks/chunk.VZU6YWNK.js +2 -2
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.X7Z2PXUI.js +1 -1
- package/cdn-versioned/chunks/chunk.XQGK5AD7.js +3 -3
- package/cdn-versioned/chunks/chunk.YBVSFGIY.js +2 -2
- package/cdn-versioned/chunks/chunk.YPTZDABK.js +1 -1
- package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
- package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/cdn-versioned/components/animation/animation.d.ts +1 -1
- package/cdn-versioned/components/audio/audio.d.ts +1 -1
- package/cdn-versioned/components/badge/badge.d.ts +1 -1
- package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/cdn-versioned/components/breadcrumb/breadcrumb.js +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/combobox/combobox.js +1 -1
- package/cdn-versioned/components/datepicker/datepicker.d.ts +1 -1
- package/cdn-versioned/components/datepicker/datepicker.js +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/dropdown/dropdown.js +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/popup/popup.js +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/range.js +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/select/select.js +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/tooltip/tooltip.js +1 -1
- package/cdn-versioned/components/video/video.d.ts +1 -1
- package/cdn-versioned/custom-elements.json +246 -246
- package/cdn-versioned/internal/form.js +2 -2
- package/cdn-versioned/solid-components.bundle.js +80 -80
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +80 -80
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/utilities/autocomplete-config.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +107 -107
- package/cdn-versioned/web-types.json +157 -157
- package/dist/chunks/{chunk.WYVFRQ5Z.js → chunk.EV6PNOJR.js} +1 -1
- package/dist/chunks/{chunk.VWA3OZPN.js → chunk.KXWU6HY5.js} +1 -1
- package/dist/components/breadcrumb/breadcrumb.js +1 -1
- package/dist/components/combobox/combobox.js +1 -1
- package/dist/components/datepicker/datepicker.js +2 -2
- package/dist/components/dropdown/dropdown.js +1 -1
- package/dist/components/popup/popup.js +1 -1
- package/dist/components/range/range.js +1 -1
- package/dist/components/select/select.js +1 -1
- package/dist/components/tooltip/tooltip.js +1 -1
- package/dist/custom-elements.json +1 -1
- package/dist/solid-components.js +2 -2
- package/dist/utilities/autocomplete-config.js +1 -1
- package/dist/web-types.json +1 -1
- package/dist-versioned/chunks/chunk.2NECRQLL.js +3 -3
- package/dist-versioned/chunks/chunk.2VYY4TEV.js +2 -2
- package/dist-versioned/chunks/chunk.2YKSAZET.js +12 -12
- package/dist-versioned/chunks/chunk.36CGUI4G.js +3 -3
- package/dist-versioned/chunks/chunk.3LJCVKT5.js +3 -3
- package/dist-versioned/chunks/chunk.5L6ITCDK.js +14 -14
- package/dist-versioned/chunks/chunk.6C4JDHQE.js +5 -5
- package/dist-versioned/chunks/chunk.6VZHBOMA.js +11 -11
- package/dist-versioned/chunks/chunk.7JJXTME6.js +4 -4
- package/dist-versioned/chunks/chunk.AGALXK7Q.js +2 -2
- package/dist-versioned/chunks/chunk.ALSMMO52.js +28 -28
- package/dist-versioned/chunks/chunk.AODPVXHS.js +4 -4
- package/dist-versioned/chunks/chunk.B2RTBZFX.js +23 -23
- package/dist-versioned/chunks/chunk.BNNE7OYM.js +3 -3
- package/dist-versioned/chunks/chunk.BVDPZZWU.js +10 -10
- package/dist-versioned/chunks/chunk.BXKAF4FA.js +2 -2
- package/dist-versioned/chunks/chunk.C3WIBDGG.js +2 -2
- package/dist-versioned/chunks/chunk.C7TYKE3H.js +2 -2
- package/dist-versioned/chunks/chunk.CCAOZTZT.js +2 -2
- package/dist-versioned/chunks/chunk.DQQZ3P2Q.js +1 -1
- package/dist-versioned/chunks/chunk.E5PND36Z.js +3 -3
- package/dist-versioned/chunks/chunk.EHRCG4D4.js +2 -2
- package/dist-versioned/chunks/chunk.EMTQ3SYF.js +1 -1
- package/dist-versioned/chunks/chunk.ENPYKZSE.js +1 -1
- package/dist-versioned/chunks/{chunk.WYVFRQ5Z.js → chunk.EV6PNOJR.js} +6 -6
- package/dist-versioned/chunks/chunk.FBFFDE7W.js +4 -4
- package/dist-versioned/chunks/chunk.FWFNUTMW.js +5 -5
- package/dist-versioned/chunks/chunk.J6URFAAT.js +1 -1
- package/dist-versioned/chunks/chunk.JBLVT4GJ.js +4 -4
- package/dist-versioned/chunks/chunk.JGH47TIO.js +8 -8
- package/dist-versioned/chunks/chunk.JSOT2AUN.js +8 -8
- package/dist-versioned/chunks/chunk.K3XAZCMW.js +8 -8
- package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
- package/dist-versioned/chunks/chunk.KU6IGPYI.js +4 -4
- package/dist-versioned/chunks/chunk.KXDIIYXU.js +1 -1
- package/dist-versioned/chunks/{chunk.VWA3OZPN.js → chunk.KXWU6HY5.js} +2 -2
- package/dist-versioned/chunks/chunk.L4VSO6PJ.js +6 -6
- package/dist-versioned/chunks/chunk.LEHN7AAI.js +3 -3
- package/dist-versioned/chunks/chunk.N5IXQ55P.js +25 -25
- package/dist-versioned/chunks/chunk.O5FDQ7G3.js +1 -1
- package/dist-versioned/chunks/chunk.OGTB6P4O.js +3 -3
- package/dist-versioned/chunks/chunk.OS5UP6YI.js +5 -5
- package/dist-versioned/chunks/chunk.PMRFHLOS.js +4 -4
- package/dist-versioned/chunks/chunk.Q3NYSE4V.js +1 -1
- package/dist-versioned/chunks/chunk.Q7RGLPOU.js +4 -4
- package/dist-versioned/chunks/chunk.RUNLTRYQ.js +2 -2
- package/dist-versioned/chunks/chunk.S6R3YTS2.js +9 -9
- package/dist-versioned/chunks/chunk.TBWMHZMA.js +5 -5
- package/dist-versioned/chunks/chunk.TNJNDHY7.js +3 -3
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/chunk.UPU7QMDY.js +2 -2
- package/dist-versioned/chunks/chunk.V4YLR2QP.js +2 -2
- package/dist-versioned/chunks/chunk.VTOWPUO4.js +3 -3
- package/dist-versioned/chunks/chunk.W5R3Q2AL.js +12 -12
- package/dist-versioned/chunks/chunk.W7QA5BDD.js +5 -5
- package/dist-versioned/chunks/chunk.WPIZ42LA.js +4 -4
- package/dist-versioned/chunks/chunk.WXPUTX2S.js +5 -5
- package/dist-versioned/chunks/chunk.X3ZIYVJC.js +7 -7
- package/dist-versioned/chunks/chunk.XIMHYPRX.js +6 -6
- package/dist-versioned/chunks/chunk.XWVML7WY.js +5 -5
- package/dist-versioned/chunks/chunk.YR42X3WU.js +1 -1
- package/dist-versioned/chunks/chunk.Z36ZVOCO.js +1 -1
- package/dist-versioned/chunks/chunk.Z7C6DHQC.js +5 -5
- package/dist-versioned/chunks/chunk.ZR5VFTTA.js +2 -2
- 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/breadcrumb.js +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/combobox/combobox.js +1 -1
- package/dist-versioned/components/datepicker/datepicker.d.ts +1 -1
- package/dist-versioned/components/datepicker/datepicker.js +2 -2
- 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/dropdown/dropdown.js +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/popup/popup.js +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/range.js +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/select/select.js +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/tooltip/tooltip.js +1 -1
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/custom-elements.json +246 -246
- package/dist-versioned/internal/form.js +2 -2
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +2 -2
- package/dist-versioned/utilities/autocomplete-config.js +1 -1
- package/dist-versioned/vscode.html-custom-data.json +107 -107
- package/dist-versioned/web-types.json +157 -157
- package/package.json +1 -1
|
@@ -1330,7 +1330,7 @@ var SdDatepicker = class extends SolidElement {
|
|
|
1330
1330
|
this.disabled && "pointer-events-none",
|
|
1331
1331
|
this.visuallyDisabled && "cursor-not-allowed"
|
|
1332
1332
|
)}">${hasLabel && this.floatingLabel ? html`<label id="label" part="form-control-floating-label" class="${cx(
|
|
1333
|
-
"absolute left-4 z-
|
|
1333
|
+
"absolute left-4 z-10 pointer-events-none transition-all duration-200",
|
|
1334
1334
|
!isFloatingLabelActive ? "top-1/2 -translate-y-1/2" : this.size === "lg" ? "top-2 text-xs" : "top-1 text-xs",
|
|
1335
1335
|
isFloatingLabelActive && "mt-1"
|
|
1336
1336
|
)}" for="input"><span class="${cx(
|
|
@@ -236,7 +236,7 @@ var SdPopup = class extends SolidElement {
|
|
|
236
236
|
this.emit("sd-reposition");
|
|
237
237
|
}
|
|
238
238
|
render() {
|
|
239
|
-
return html`<slot name="anchor" @slotchange="${this.handleAnchorChange}"></slot><div part="popup" class="${cx("isolate", this.strategy !== "fixed" ? "absolute" : "fixed", !this.active && "hidden")}"><slot></slot>${this.arrow ? html`<div part="arrow" class="absolute rotate-45 -z-10" role="presentation"></div>` : ""}</div>`;
|
|
239
|
+
return html`<slot name="anchor" @slotchange="${this.handleAnchorChange}"></slot><div part="popup" class="${cx("isolate z-20", this.strategy !== "fixed" ? "absolute" : "fixed", !this.active && "hidden")}"><slot></slot>${this.arrow ? html`<div part="arrow" class="absolute rotate-45 -z-10" role="presentation"></div>` : ""}</div>`;
|
|
240
240
|
}
|
|
241
241
|
};
|
|
242
242
|
SdPopup.styles = [
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
SdBreadcrumb
|
|
3
3
|
} from "../../chunks/chunk.L4VSO6PJ.js";
|
|
4
4
|
import "../../chunks/chunk.2YKSAZET.js";
|
|
5
|
-
import "../../chunks/chunk.
|
|
5
|
+
import "../../chunks/chunk.KXWU6HY5.js";
|
|
6
6
|
import "../../chunks/chunk.UMIKFOMI.js";
|
|
7
7
|
import "../../chunks/chunk.WDWV53JP.js";
|
|
8
8
|
import "../../chunks/chunk.N4LHE3QK.js";
|
|
@@ -5,7 +5,7 @@ import "../../chunks/chunk.JGH47TIO.js";
|
|
|
5
5
|
import "../../chunks/chunk.GI7VDIWX.js";
|
|
6
6
|
import "../../chunks/chunk.WBJBQ4QI.js";
|
|
7
7
|
import "../../chunks/chunk.UIQBHPD3.js";
|
|
8
|
-
import "../../chunks/chunk.
|
|
8
|
+
import "../../chunks/chunk.KXWU6HY5.js";
|
|
9
9
|
import "../../chunks/chunk.WDWV53JP.js";
|
|
10
10
|
import "../../chunks/chunk.C3WIBDGG.js";
|
|
11
11
|
import "../../chunks/chunk.IVMQWO2L.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SdDatepicker
|
|
3
|
-
} from "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.EV6PNOJR.js";
|
|
4
4
|
import "../../chunks/chunk.SMPFJ52B.js";
|
|
5
5
|
import "../../chunks/chunk.TNJNDHY7.js";
|
|
6
|
-
import "../../chunks/chunk.
|
|
6
|
+
import "../../chunks/chunk.KXWU6HY5.js";
|
|
7
7
|
import "../../chunks/chunk.C3WIBDGG.js";
|
|
8
8
|
import "../../chunks/chunk.IVMQWO2L.js";
|
|
9
9
|
import "../../chunks/chunk.EHRCG4D4.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SdDropdown
|
|
3
3
|
} from "../../chunks/chunk.2YKSAZET.js";
|
|
4
|
-
import "../../chunks/chunk.
|
|
4
|
+
import "../../chunks/chunk.KXWU6HY5.js";
|
|
5
5
|
import "../../chunks/chunk.UMIKFOMI.js";
|
|
6
6
|
import "../../chunks/chunk.WDWV53JP.js";
|
|
7
7
|
import "../../chunks/chunk.N4LHE3QK.js";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import "../../chunks/chunk.6C4JDHQE.js";
|
|
5
5
|
import "../../chunks/chunk.D3YSIVTB.js";
|
|
6
6
|
import "../../chunks/chunk.GI7VDIWX.js";
|
|
7
|
-
import "../../chunks/chunk.
|
|
7
|
+
import "../../chunks/chunk.KXWU6HY5.js";
|
|
8
8
|
import "../../chunks/chunk.C3WIBDGG.js";
|
|
9
9
|
import "../../chunks/chunk.IVMQWO2L.js";
|
|
10
10
|
import "../../chunks/chunk.N4LHE3QK.js";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "../../chunks/chunk.N5IXQ55P.js";
|
|
4
4
|
import "../../chunks/chunk.JGH47TIO.js";
|
|
5
5
|
import "../../chunks/chunk.GI7VDIWX.js";
|
|
6
|
-
import "../../chunks/chunk.
|
|
6
|
+
import "../../chunks/chunk.KXWU6HY5.js";
|
|
7
7
|
import "../../chunks/chunk.WDWV53JP.js";
|
|
8
8
|
import "../../chunks/chunk.C3WIBDGG.js";
|
|
9
9
|
import "../../chunks/chunk.IVMQWO2L.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SdTooltip
|
|
3
3
|
} from "../../chunks/chunk.6C4JDHQE.js";
|
|
4
|
-
import "../../chunks/chunk.
|
|
4
|
+
import "../../chunks/chunk.KXWU6HY5.js";
|
|
5
5
|
import "../../chunks/chunk.IVMQWO2L.js";
|
|
6
6
|
import "../../chunks/chunk.N4LHE3QK.js";
|
|
7
7
|
import "../../chunks/chunk.B4BZKR24.js";
|
|
@@ -22544,7 +22544,7 @@
|
|
|
22544
22544
|
"package": {
|
|
22545
22545
|
"name": "@solid-design-system/components",
|
|
22546
22546
|
"description": "Solid Design System: Components",
|
|
22547
|
-
"version": "6.
|
|
22547
|
+
"version": "6.10.0",
|
|
22548
22548
|
"author": "Union Investment",
|
|
22549
22549
|
"homepage": "https://solid-design-system.fe.union-investment.de/docs/",
|
|
22550
22550
|
"license": "MIT"
|
package/dist/solid-components.js
CHANGED
|
@@ -99,7 +99,7 @@ import {
|
|
|
99
99
|
} from "./chunks/chunk.J6URFAAT.js";
|
|
100
100
|
import {
|
|
101
101
|
SdDatepicker
|
|
102
|
-
} from "./chunks/chunk.
|
|
102
|
+
} from "./chunks/chunk.EV6PNOJR.js";
|
|
103
103
|
import "./chunks/chunk.SMPFJ52B.js";
|
|
104
104
|
import {
|
|
105
105
|
SdDialog
|
|
@@ -145,7 +145,7 @@ import {
|
|
|
145
145
|
} from "./chunks/chunk.2YKSAZET.js";
|
|
146
146
|
import {
|
|
147
147
|
SdPopup
|
|
148
|
-
} from "./chunks/chunk.
|
|
148
|
+
} from "./chunks/chunk.KXWU6HY5.js";
|
|
149
149
|
import {
|
|
150
150
|
SdBreadcrumbItem
|
|
151
151
|
} from "./chunks/chunk.VTOWPUO4.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
setupAutocomplete
|
|
3
3
|
} from "../chunks/chunk.JBLVT4GJ.js";
|
|
4
|
-
import "../chunks/chunk.
|
|
4
|
+
import "../chunks/chunk.KXWU6HY5.js";
|
|
5
5
|
import "../chunks/chunk.YR42X3WU.js";
|
|
6
6
|
import "../chunks/chunk.HQWAKJBV.js";
|
|
7
7
|
import "../chunks/chunk.S3NI7NKU.js";
|
package/dist/web-types.json
CHANGED
|
@@ -42,16 +42,16 @@ var SdAccordionGroup = class extends SolidElement {
|
|
|
42
42
|
SdAccordionGroup.styles = [
|
|
43
43
|
...SolidElement.styles,
|
|
44
44
|
css`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
45
|
-
:host{display:block}::slotted(sd-6-
|
|
45
|
+
:host{display:block}::slotted(sd-6-10-0-accordion:not(:first-of-type)){margin-top:calc(-1 * var(--sd-accordion-border-width))!important}`
|
|
46
46
|
];
|
|
47
47
|
__decorateClass([
|
|
48
|
-
queryAssignedElements({ selector: "sd-6-
|
|
48
|
+
queryAssignedElements({ selector: "sd-6-10-0-accordion" })
|
|
49
49
|
], SdAccordionGroup.prototype, "_accordionsInDefaultSlot", 2);
|
|
50
50
|
__decorateClass([
|
|
51
51
|
property({ attribute: "close-others", type: Boolean, reflect: true })
|
|
52
52
|
], SdAccordionGroup.prototype, "closeOthers", 2);
|
|
53
53
|
SdAccordionGroup = __decorateClass([
|
|
54
|
-
customElement("sd-6-
|
|
54
|
+
customElement("sd-6-10-0-accordion-group")
|
|
55
55
|
], SdAccordionGroup);
|
|
56
56
|
|
|
57
57
|
export {
|
|
@@ -208,7 +208,7 @@ var SdDrawer = class extends SolidElement {
|
|
|
208
208
|
end: "top-0 end-0 bottom-auto start-auto w-[var(--width)] h-full",
|
|
209
209
|
start: "top-0 end-auto bottom-auto start-0 w-[var(--width)] h-full"
|
|
210
210
|
}[this.placement]
|
|
211
|
-
)}" role="dialog" aria-modal="true" aria-label="${this.label}" tabindex="0">${!this.noHeader ? html`<header part="header" class="flex justify-between py-2 px-4 items-center flex-shrink-0" style="min-height:64px"><div part="title"><slot name="header" part="title" class="flex-auto text-xl m-0" id="title"></slot></div><div class="shrink-0 flex flex-wrap justify-end gap-1 ms-4 absolute top-2 end-2"><sd-6-
|
|
211
|
+
)}" role="dialog" aria-modal="true" aria-label="${this.label}" tabindex="0">${!this.noHeader ? html`<header part="header" class="flex justify-between py-2 px-4 items-center flex-shrink-0" style="min-height:64px"><div part="title"><slot name="header" part="title" class="flex-auto text-xl m-0" id="title"></slot></div><div class="shrink-0 flex flex-wrap justify-end gap-1 ms-4 absolute top-2 end-2"><sd-6-10-0-button variant="tertiary" size="lg" part="close-button" @click="${() => this.requestClose("close-button")}"><sd-6-10-0-icon label="${this.localize.term("close")}" name="close" library="_internal"></sd-6-10-0-icon></sd-6-10-0-button></div></header>` : html`<sd-6-10-0-button variant="tertiary" size="lg" part="close-button" @click="${() => this.requestClose("close-button")}" class="absolute top-2 end-2 z-10"><sd-6-10-0-icon label="${this.localize.term("close")}" name="close" library="_internal"></sd-6-10-0-icon></sd-6-10-0-button>`}<div part="body" class="flex-auto block px-4 focus-visible:focus-outline !-outline-offset-2" tabindex="0"><slot></slot></div><footer part="footer" class="${cx(this.hasSlotController.test("footer") ? "text-left p-4" : "hidden")}"><slot name="footer"></slot></footer></div></section>`;
|
|
212
212
|
}
|
|
213
213
|
};
|
|
214
214
|
SdDrawer.styles = [
|
|
@@ -250,7 +250,7 @@ __decorateClass([
|
|
|
250
250
|
watch("contained", { waitUntilFirstUpdate: true })
|
|
251
251
|
], SdDrawer.prototype, "handleNoModalChange", 1);
|
|
252
252
|
SdDrawer = __decorateClass([
|
|
253
|
-
customElement("sd-6-
|
|
253
|
+
customElement("sd-6-10-0-drawer")
|
|
254
254
|
], SdDrawer);
|
|
255
255
|
setDefaultAnimation("drawer.showStart", {
|
|
256
256
|
keyframes: [
|
|
@@ -97,7 +97,7 @@ var SdDropdown = class extends SolidElement {
|
|
|
97
97
|
* within the slotted trigger. This could be the slotted element itself, a child of the slotted element,
|
|
98
98
|
* or an element within the slotted elements shadow root.
|
|
99
99
|
*
|
|
100
|
-
* e.g. the accessible trigger of an <sd-6-
|
|
100
|
+
* e.g. the accessible trigger of an <sd-6-10-0-button> is a <button> located inside its shadow root.
|
|
101
101
|
*
|
|
102
102
|
* To determine this, we assume the first tabbable element in the trigger slot is the "accessible trigger."
|
|
103
103
|
* */
|
|
@@ -108,11 +108,11 @@ var SdDropdown = class extends SolidElement {
|
|
|
108
108
|
if (accessibleTrigger) {
|
|
109
109
|
switch (accessibleTrigger.tagName.toLowerCase()) {
|
|
110
110
|
// Solid buttons have to update the internal button so it's announced correctly by screen readers
|
|
111
|
-
case "sd-6-
|
|
112
|
-
case "sd-6-
|
|
111
|
+
case "sd-6-10-0-button":
|
|
112
|
+
case "sd-6-10-0-icon-button":
|
|
113
113
|
target = accessibleTrigger.button;
|
|
114
114
|
break;
|
|
115
|
-
case "sd-6-
|
|
115
|
+
case "sd-6-10-0-navigation-item":
|
|
116
116
|
target = accessibleTrigger.button;
|
|
117
117
|
break;
|
|
118
118
|
default:
|
|
@@ -136,7 +136,7 @@ var SdDropdown = class extends SolidElement {
|
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
getMenu() {
|
|
139
|
-
return this.panel.assignedElements({ flatten: true }).find((el) => el.tagName.toLowerCase() === "sd-6-
|
|
139
|
+
return this.panel.assignedElements({ flatten: true }).find((el) => el.tagName.toLowerCase() === "sd-6-10-0-menu");
|
|
140
140
|
}
|
|
141
141
|
handleKeyDown(event) {
|
|
142
142
|
if (this.open && event.key === "Escape") {
|
|
@@ -148,7 +148,7 @@ var SdDropdown = class extends SolidElement {
|
|
|
148
148
|
handleDocumentKeyDown(event) {
|
|
149
149
|
var _a;
|
|
150
150
|
if (event.key === "Tab") {
|
|
151
|
-
if (this.open && ((_a = document.activeElement) == null ? void 0 : _a.tagName.toLowerCase()) === "sd-6-
|
|
151
|
+
if (this.open && ((_a = document.activeElement) == null ? void 0 : _a.tagName.toLowerCase()) === "sd-6-10-0-menu-item") {
|
|
152
152
|
event.preventDefault();
|
|
153
153
|
this.hide();
|
|
154
154
|
this.focusOnTrigger();
|
|
@@ -174,7 +174,7 @@ var SdDropdown = class extends SolidElement {
|
|
|
174
174
|
}
|
|
175
175
|
handlePanelSelect(event) {
|
|
176
176
|
const target = event.target;
|
|
177
|
-
if (!this.stayOpenOnSelect && target.tagName.toLowerCase() === "sd-6-
|
|
177
|
+
if (!this.stayOpenOnSelect && target.tagName.toLowerCase() === "sd-6-10-0-menu") {
|
|
178
178
|
this.hide();
|
|
179
179
|
this.focusOnTrigger();
|
|
180
180
|
}
|
|
@@ -263,7 +263,7 @@ var SdDropdown = class extends SolidElement {
|
|
|
263
263
|
}
|
|
264
264
|
addOpenListeners() {
|
|
265
265
|
this.panel.addEventListener("sd-activate", this.handleMenuItemActivate);
|
|
266
|
-
this.panel.addEventListener("sd-6-
|
|
266
|
+
this.panel.addEventListener("sd-6-10-0-select", this.handlePanelSelect);
|
|
267
267
|
this.panel.addEventListener("keydown", this.handleKeyDown);
|
|
268
268
|
document.addEventListener("keydown", this.handleDocumentKeyDown);
|
|
269
269
|
document.addEventListener("mousedown", this.handleDocumentMouseDown);
|
|
@@ -271,7 +271,7 @@ var SdDropdown = class extends SolidElement {
|
|
|
271
271
|
removeOpenListeners() {
|
|
272
272
|
if (this.panel) {
|
|
273
273
|
this.panel.removeEventListener("sd-activate", this.handleMenuItemActivate);
|
|
274
|
-
this.panel.removeEventListener("sd-6-
|
|
274
|
+
this.panel.removeEventListener("sd-6-10-0-select", this.handlePanelSelect);
|
|
275
275
|
this.panel.removeEventListener("keydown", this.handleKeyDown);
|
|
276
276
|
}
|
|
277
277
|
document.removeEventListener("keydown", this.handleDocumentKeyDown);
|
|
@@ -304,13 +304,13 @@ var SdDropdown = class extends SolidElement {
|
|
|
304
304
|
}
|
|
305
305
|
}
|
|
306
306
|
render() {
|
|
307
|
-
return html`<sd-6-
|
|
307
|
+
return html`<sd-6-10-0-popup part="base" id="dropdown" exportparts="
|
|
308
308
|
popup:base__popup,
|
|
309
309
|
" placement="${this.placement}" distance="${this.rounded && this.distance < 1 ? 1 : this.distance}" skidding="${this.skidding}" strategy="${this.hoist ? "fixed" : "absolute"}" ?flip="${!this.noFlip}" shift auto-size="vertical" auto-size-padding="10"><slot name="trigger" slot="anchor" part="trigger" class="block" @click="${this.handleTriggerClick}" @keydown="${this.handleTriggerKeyDown}" @keyup="${this.handleTriggerKeyUp}" @slotchange="${this.handleTriggerSlotChange}"></slot><slot part="panel" class="${cx(
|
|
310
310
|
"panel-color-border border shadow bg-white block",
|
|
311
311
|
this.open ? "pointer-events-auto" : "pointer-events-none",
|
|
312
312
|
this.rounded && "rounded-md"
|
|
313
|
-
)}" aria-hidden="${this.open ? "false" : "true"}" aria-labelledby="dropdown"></slot></sd-6-
|
|
313
|
+
)}" aria-hidden="${this.open ? "false" : "true"}" aria-labelledby="dropdown"></slot></sd-6-10-0-popup>`;
|
|
314
314
|
}
|
|
315
315
|
};
|
|
316
316
|
SdDropdown.styles = [
|
|
@@ -364,7 +364,7 @@ __decorateClass([
|
|
|
364
364
|
watch("open", { waitUntilFirstUpdate: true })
|
|
365
365
|
], SdDropdown.prototype, "handleOpenChange", 1);
|
|
366
366
|
SdDropdown = __decorateClass([
|
|
367
|
-
customElement("sd-6-
|
|
367
|
+
customElement("sd-6-10-0-dropdown")
|
|
368
368
|
], SdDropdown);
|
|
369
369
|
setDefaultAnimation("dropdown.show", {
|
|
370
370
|
keyframes: [{ opacity: 0 }, { opacity: 1 }],
|
|
@@ -31,12 +31,12 @@ var SdQuickfact = class extends SdAccordion {
|
|
|
31
31
|
this.expandable && "cursor-pointer select-none"
|
|
32
32
|
)}" role="${ifDefined(this.expandable ? "button" : void 0)}" aria-expanded="${ifDefined(this.expandable ? this.open ? "true" : "false" : void 0)}" aria-controls="${ifDefined(this.expandable ? "content" : void 0)}" tabindex="${this.expandable ? "0" : "-1"}" @click="${this.expandable ? this.handleSummaryClick : null}" @keydown="${this.expandable ? this.handleSummaryKeyDown : null}"><div part="icon" class="${cx("flex flex-grow-0 flex-shrink-0 flex-auto items-center", !this.expandable && "cursor-default")}"><slot name="icon"></slot></div><slot name="summary" part="summary" class="${cx(
|
|
33
33
|
"flex flex-auto items-start text-left text-base leading-normal font-normal sm:leading-tight sm:text-3xl sm:text-center",
|
|
34
|
-
this.expandable ? "sd-6-
|
|
34
|
+
this.expandable ? "sd-6-10-0-quickfact--expandable-color-text" : "text-black cursor-default"
|
|
35
35
|
)}">${this.summary}</slot><span part="summary-icon" class="${cx(
|
|
36
36
|
"flex flex-grow-0 flex-shrink-0 flex-auto self-start sm:self-center transition-transform ease-in-out duration-medium text-xl sm:mt-2",
|
|
37
37
|
this.open && "rotate-180",
|
|
38
38
|
!this.expandable && "hidden"
|
|
39
|
-
)}"><slot name="expand-icon" class="${cx(this.open && "hidden")}"><sd-6-
|
|
39
|
+
)}"><slot name="expand-icon" class="${cx(this.open && "hidden")}"><sd-6-10-0-icon library="_internal" name="chevron-down" class="group-hover:text-primary-500 transition-colors ease-in-out duration-medium"></sd-6-10-0-icon></slot><slot name="collapse-icon" class="${cx(!this.open && "hidden")}"><sd-6-10-0-icon library="_internal" name="chevron-down" class="group-hover:text-primary-500 transition-colors ease-in-out duration-medium"></sd-6-10-0-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}>`;
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
42
|
SdQuickfact.styles = [
|
|
@@ -48,7 +48,7 @@ __decorateClass([
|
|
|
48
48
|
property({ type: Boolean, reflect: true })
|
|
49
49
|
], SdQuickfact.prototype, "expandable", 2);
|
|
50
50
|
SdQuickfact = __decorateClass([
|
|
51
|
-
customElement("sd-6-
|
|
51
|
+
customElement("sd-6-10-0-quickfact")
|
|
52
52
|
], SdQuickfact);
|
|
53
53
|
setDefaultAnimation("quickfact.show", {
|
|
54
54
|
keyframes: [{ height: "0" }, { height: "auto" }],
|
|
@@ -113,7 +113,7 @@ var SdMenu = class extends SolidElement {
|
|
|
113
113
|
}
|
|
114
114
|
isMenuItem(item) {
|
|
115
115
|
var _a;
|
|
116
|
-
return item.tagName.toLowerCase() === "sd-6-
|
|
116
|
+
return item.tagName.toLowerCase() === "sd-6-10-0-menu-item" || ["menuitem", "menuitemcheckbox", "menuitemradio"].includes((_a = item.getAttribute("role")) != null ? _a : "");
|
|
117
117
|
}
|
|
118
118
|
/** @internal Gets all slotted menu items, ignoring dividers, headers, and other elements. */
|
|
119
119
|
getAllItems() {
|
|
@@ -148,13 +148,13 @@ var SdMenu = class extends SolidElement {
|
|
|
148
148
|
SdMenu.styles = [
|
|
149
149
|
...SolidElement.styles,
|
|
150
150
|
css`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
151
|
-
:host{position:relative;display:block;overflow:auto;overscroll-behavior:auto;border-radius:var(--sd-radius-md);padding-inline:var(--sd-spacing-2);padding-block:var(--sd-spacing-3);--tw-shadow:var(--sd-shadow)!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}::slotted(sd-6-
|
|
151
|
+
:host{position:relative;display:block;overflow:auto;overscroll-behavior:auto;border-radius:var(--sd-radius-md);padding-inline:var(--sd-spacing-2);padding-block:var(--sd-spacing-3);--tw-shadow:var(--sd-shadow)!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}::slotted(sd-6-10-0-divider){padding-block:var(--sd-spacing-3)}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}`
|
|
152
152
|
];
|
|
153
153
|
__decorateClass([
|
|
154
154
|
query("slot")
|
|
155
155
|
], SdMenu.prototype, "defaultSlot", 2);
|
|
156
156
|
SdMenu = __decorateClass([
|
|
157
|
-
customElement("sd-6-
|
|
157
|
+
customElement("sd-6-10-0-menu")
|
|
158
158
|
], SdMenu);
|
|
159
159
|
|
|
160
160
|
export {
|
|
@@ -37,8 +37,8 @@ var SdTabGroup = class extends SolidElement {
|
|
|
37
37
|
}
|
|
38
38
|
connectedCallback() {
|
|
39
39
|
const whenAllDefined = Promise.all([
|
|
40
|
-
customElements.whenDefined("sd-6-
|
|
41
|
-
customElements.whenDefined("sd-6-
|
|
40
|
+
customElements.whenDefined("sd-6-10-0-tab"),
|
|
41
|
+
customElements.whenDefined("sd-6-10-0-tab-panel")
|
|
42
42
|
]);
|
|
43
43
|
super.connectedCallback();
|
|
44
44
|
this.resizeObserver = new ResizeObserver(() => {
|
|
@@ -86,20 +86,20 @@ var SdTabGroup = class extends SolidElement {
|
|
|
86
86
|
}
|
|
87
87
|
getAllTabs(options = { includeDisabled: true }) {
|
|
88
88
|
const slot = this.shadowRoot.querySelector('slot[name="nav"]');
|
|
89
|
-
return Array.from(slot.assignedElements()).map((el) => el.tagName.toLocaleLowerCase() === "sd-6-
|
|
90
|
-
return el && options.includeDisabled ? el.tagName.toLowerCase() === "sd-6-
|
|
89
|
+
return Array.from(slot.assignedElements()).map((el) => el.tagName.toLocaleLowerCase() === "sd-6-10-0-tab" ? el : el.querySelector("sd-6-10-0-tab")).filter((el) => {
|
|
90
|
+
return el && options.includeDisabled ? el.tagName.toLowerCase() === "sd-6-10-0-tab" : el.tagName.toLowerCase() === "sd-6-10-0-tab" && !el.disabled;
|
|
91
91
|
});
|
|
92
92
|
}
|
|
93
93
|
getAllPanels() {
|
|
94
|
-
return [...this.body.assignedElements()].filter((el) => el.tagName.toLowerCase() === "sd-6-
|
|
94
|
+
return [...this.body.assignedElements()].filter((el) => el.tagName.toLowerCase() === "sd-6-10-0-tab-panel");
|
|
95
95
|
}
|
|
96
96
|
getActiveTab() {
|
|
97
97
|
return this.tabs.find((t) => t.matches(":focus"));
|
|
98
98
|
}
|
|
99
99
|
handleClick(event) {
|
|
100
100
|
const target = event.target;
|
|
101
|
-
const tab = target.closest("sd-6-
|
|
102
|
-
const tabGroup = tab == null ? void 0 : tab.closest("sd-6-
|
|
101
|
+
const tab = target.closest("sd-6-10-0-tab");
|
|
102
|
+
const tabGroup = tab == null ? void 0 : tab.closest("sd-6-10-0-tab-group");
|
|
103
103
|
if (tabGroup !== this) {
|
|
104
104
|
return;
|
|
105
105
|
}
|
|
@@ -109,8 +109,8 @@ var SdTabGroup = class extends SolidElement {
|
|
|
109
109
|
}
|
|
110
110
|
handleKeyDown(event) {
|
|
111
111
|
const target = event.target;
|
|
112
|
-
const tab = target.closest("sd-6-
|
|
113
|
-
const tabGroup = tab == null ? void 0 : tab.closest("sd-6-
|
|
112
|
+
const tab = target.closest("sd-6-10-0-tab");
|
|
113
|
+
const tabGroup = tab == null ? void 0 : tab.closest("sd-6-10-0-tab-group");
|
|
114
114
|
if (tabGroup !== this) {
|
|
115
115
|
return;
|
|
116
116
|
}
|
|
@@ -137,7 +137,7 @@ var SdTabGroup = class extends SolidElement {
|
|
|
137
137
|
if (["ArrowLeft", "ArrowRight", "ArrowUp", "ArrowDown", "Home", "End"].includes(event.key)) {
|
|
138
138
|
const activeEl = this.tabs.find((t) => t.matches(":focus"));
|
|
139
139
|
const isRtl = this.localize.dir() === "rtl";
|
|
140
|
-
if ((activeEl == null ? void 0 : activeEl.tagName.toLowerCase()) === "sd-6-
|
|
140
|
+
if ((activeEl == null ? void 0 : activeEl.tagName.toLowerCase()) === "sd-6-10-0-tab") {
|
|
141
141
|
let index = this.tabs.indexOf(activeEl);
|
|
142
142
|
if (event.key === "Home") {
|
|
143
143
|
index = 0;
|
|
@@ -258,16 +258,16 @@ var SdTabGroup = class extends SolidElement {
|
|
|
258
258
|
return html`<div part="base" class="${cx("flex flex-col rounded-none")}" @click="${this.handleClick}" @keydown="${this.handleKeyDown}"><div part="nav" class="${cx(this.hasScrollControls && "relative py-0 px-12")}">${this.hasScrollControls ? html`<button part="scroll-button--start" exportparts="base:scroll-button__base" tabindex="-1" aria-hidden="true" disabled="${ifDefined(!this.canScroll.left || void 0)}" class="${cx(
|
|
259
259
|
"sd-interactive flex items-center justify-center absolute top-0 bottom-0 left-0 !outline-offset-0 border-b border-neutral-400 z-10",
|
|
260
260
|
this.localize.dir() === "rtl" && "left-auto right-0"
|
|
261
|
-
)}" @click="${this.handleScrollToStart}"><sd-6-
|
|
261
|
+
)}" @click="${this.handleScrollToStart}"><sd-6-10-0-icon library="_internal" name="${isRtl ? "chevron-up" : "chevron-down"}" label="previous" class="${cx("h-6 w-12 rotate-90 grid place-items-center")}"></sd-6-10-0-icon></button>` : ""}<div part="scroll-container" class="flex overflow-x-auto focus-visible:focus-outline !outline-offset-0"><div part="tabs" class="${cx("flex flex-auto relative flex-row")}" role="tablist">${((_a = this.activeTab) == null ? void 0 : _a.variant) !== "container" ? html`<div part="active-tab-indicator" id="indicator" class="absolute h-1 bg-accent bottom-0 transition-[transform,width] duration-medium ease-in-out z-30 navigable__current-indicator-height navigable__current-indicator-border-radius"></div>` : ""}<div part="separation" class="border-neutral-400 absolute w-full h-0.25 bottom-0 border-b z-10"></div><slot name="nav" @slotchange="${this.syncTabsAndPanels}"></slot></div></div>${this.hasScrollControls ? html`<button part="scroll-button--end" exportparts="base:scroll-button__base" tabindex="-1" aria-hidden="true" disabled="${ifDefined(!this.canScroll.right || void 0)}" class="${cx(
|
|
262
262
|
"sd-interactive flex items-center justify-center absolute top-0 bottom-0 right-0 !outline-offset-0 border-b border-neutral-400 z-10",
|
|
263
263
|
this.localize.dir() === "rtl" && "right-auto left-0"
|
|
264
|
-
)}" @click="${this.handleScrollToEnd}"><sd-6-
|
|
264
|
+
)}" @click="${this.handleScrollToEnd}"><sd-6-10-0-icon library="_internal" name="${isRtl ? "chevron-down" : "chevron-up"}" label="next" class="${cx("h-6 w-12 rotate-90 grid place-items-center")}"></sd-6-10-0-icon></button>` : ""}</div><slot part="body" class="${cx("block auto py-8 px-6", this.variant === "container" && "border border-neutral-400 border-t-0")}" @slotchange="${this.syncTabsAndPanels}"></slot></div>`;
|
|
265
265
|
}
|
|
266
266
|
};
|
|
267
267
|
SdTabGroup.styles = [
|
|
268
268
|
...SolidElement.styles,
|
|
269
269
|
css`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
270
|
-
:host{box-sizing:border-box;display:block}[part=scroll-container]{scrollbar-width:none}[part=scroll-container]::-webkit-scrollbar{height:calc(var(--sd-spacing-1) * 0);width:calc(var(--sd-spacing-1) * 0)}::slotted(sd-6-
|
|
270
|
+
:host{box-sizing:border-box;display:block}[part=scroll-container]{scrollbar-width:none}[part=scroll-container]::-webkit-scrollbar{height:calc(var(--sd-spacing-1) * 0);width:calc(var(--sd-spacing-1) * 0)}::slotted(sd-6-10-0-tab-panel){--padding:1rem 0}::slotted(sd-6-10-0-tab-panel:focus-visible){outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:rgba(var(--outline-color-primary))}`
|
|
271
271
|
];
|
|
272
272
|
__decorateClass([
|
|
273
273
|
query("[part=base]")
|
|
@@ -300,7 +300,7 @@ __decorateClass([
|
|
|
300
300
|
debounce(20)
|
|
301
301
|
], SdTabGroup.prototype, "handleScroll", 1);
|
|
302
302
|
SdTabGroup = __decorateClass([
|
|
303
|
-
customElement("sd-6-
|
|
303
|
+
customElement("sd-6-10-0-tab-group")
|
|
304
304
|
], SdTabGroup);
|
|
305
305
|
|
|
306
306
|
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-10-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-10-0-icon library="_internal" name="info-circle" label="Tooltip" class="${cx(this.disabled && "sd-interactive--disabled")}"></sd-6-10-0-icon></button>`}<slot name="content" part="body" id="tooltip" class="sd-6-10-0-tooltip-color-background sd-6-10-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-10-0-popup>`;
|
|
227
227
|
}
|
|
228
228
|
};
|
|
229
229
|
SdTooltip.styles = [
|
|
230
230
|
...SolidElement.styles,
|
|
231
231
|
css`/*! tailwindcss v4.2.1 | 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-10-0-popup{--arrow-color:rgba(var(--sd-tooltip-color-background));--arrow-size:10px}sd-6-10-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-10-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-10-0-popup[placement^=top]::part(popup){transform-origin:bottom}sd-6-10-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}:host [slot=anchor]{color:rgba(var(--sd-form-control__tooltip-color-icon))}@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-10-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-10-0-tooltip")
|
|
278
278
|
], SdTooltip);
|
|
279
279
|
setDefaultAnimation("tooltip.show", {
|
|
280
280
|
keyframes: [{ opacity: 0 }, { opacity: 1 }],
|
|
@@ -17,19 +17,19 @@ var SdButtonGroup = class extends SolidElement {
|
|
|
17
17
|
}
|
|
18
18
|
handleFocus(event) {
|
|
19
19
|
const button = findButton(event.target);
|
|
20
|
-
button == null ? void 0 : button.classList.add("sd-6-
|
|
20
|
+
button == null ? void 0 : button.classList.add("sd-6-10-0-button-group__button--focus");
|
|
21
21
|
}
|
|
22
22
|
handleBlur(event) {
|
|
23
23
|
const button = findButton(event.target);
|
|
24
|
-
button == null ? void 0 : button.classList.remove("sd-6-
|
|
24
|
+
button == null ? void 0 : button.classList.remove("sd-6-10-0-button-group__button--focus");
|
|
25
25
|
}
|
|
26
26
|
handleMouseOver(event) {
|
|
27
27
|
const button = findButton(event.target);
|
|
28
|
-
button == null ? void 0 : button.classList.add("sd-6-
|
|
28
|
+
button == null ? void 0 : button.classList.add("sd-6-10-0-button-group__button--hover");
|
|
29
29
|
}
|
|
30
30
|
handleMouseOut(event) {
|
|
31
31
|
const button = findButton(event.target);
|
|
32
|
-
button == null ? void 0 : button.classList.remove("sd-6-
|
|
32
|
+
button == null ? void 0 : button.classList.remove("sd-6-10-0-button-group__button--hover");
|
|
33
33
|
}
|
|
34
34
|
handleSlotChange() {
|
|
35
35
|
const slottedElements = [...this.defaultSlot.assignedElements({ flatten: true })];
|
|
@@ -37,11 +37,11 @@ var SdButtonGroup = class extends SolidElement {
|
|
|
37
37
|
const index = slottedElements.indexOf(el);
|
|
38
38
|
const button = findButton(el);
|
|
39
39
|
if (button !== null) {
|
|
40
|
-
button.classList.add("sd-6-
|
|
41
|
-
button.classList.toggle("sd-6-
|
|
42
|
-
button.classList.toggle("sd-6-
|
|
43
|
-
button.classList.toggle("sd-6-
|
|
44
|
-
button.classList.toggle("sd-6-
|
|
40
|
+
button.classList.add("sd-6-10-0-button-group__button");
|
|
41
|
+
button.classList.toggle("sd-6-10-0-button-group__button--first", index === 0);
|
|
42
|
+
button.classList.toggle("sd-6-10-0-button-group__button--inner", index > 0 && index < slottedElements.length - 1);
|
|
43
|
+
button.classList.toggle("sd-6-10-0-button-group__button--last", index === slottedElements.length - 1);
|
|
44
|
+
button.classList.toggle("sd-6-10-0-button-group__button--radio", button.tagName.toLowerCase() === "sd-6-10-0-radio-button");
|
|
45
45
|
}
|
|
46
46
|
});
|
|
47
47
|
}
|
|
@@ -64,11 +64,11 @@ __decorateClass([
|
|
|
64
64
|
property({ type: String, reflect: true })
|
|
65
65
|
], SdButtonGroup.prototype, "label", 2);
|
|
66
66
|
SdButtonGroup = __decorateClass([
|
|
67
|
-
customElement("sd-6-
|
|
67
|
+
customElement("sd-6-10-0-button-group")
|
|
68
68
|
], SdButtonGroup);
|
|
69
69
|
function findButton(el) {
|
|
70
70
|
var _a;
|
|
71
|
-
const selector = "sd-6-
|
|
71
|
+
const selector = "sd-6-10-0-button, sd-6-10-0-radio-button";
|
|
72
72
|
return (_a = el.closest(selector)) != null ? _a : el.querySelector(selector);
|
|
73
73
|
}
|
|
74
74
|
|
|
@@ -60,10 +60,10 @@ var SdTeaser = class extends SolidElement {
|
|
|
60
60
|
"flex",
|
|
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-10-0-teaser--neutral-400-color-border",
|
|
64
|
+
"neutral-100": "sd-6-10-0-teaser--neutral-100-color-background",
|
|
65
65
|
primary: "bg-primary text-white",
|
|
66
|
-
"primary-100": "sd-6-
|
|
66
|
+
"primary-100": "sd-6-10-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-10-0-teaser")
|
|
109
109
|
], SdTeaser);
|
|
110
110
|
|
|
111
111
|
export {
|
|
@@ -84,7 +84,7 @@ var SdLink = class extends SolidElement {
|
|
|
84
84
|
SdLink.styles = [
|
|
85
85
|
...SolidElement.styles,
|
|
86
86
|
css`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
87
|
-
::slotted(sd-6-
|
|
87
|
+
::slotted(sd-6-10-0-icon){font-size:1.25em;margin-bottom:-.25em}:host([size=sm][standalone]) ::slotted(sd-6-10-0-icon){font-size:var(--sd-text-base);line-height:var(--tw-leading,var(--text-base--line-height,calc(1.5 / 1)))}:host([size=lg][standalone]) ::slotted(sd-6-10-0-icon){font-size:var(--sd-text-xl);line-height:var(--tw-leading,var(--text-xl--line-height,calc(1.75 / 1.25)))}`
|
|
88
88
|
];
|
|
89
89
|
__decorateClass([
|
|
90
90
|
query("a")
|
|
@@ -111,7 +111,7 @@ __decorateClass([
|
|
|
111
111
|
property({ reflect: true })
|
|
112
112
|
], SdLink.prototype, "download", 2);
|
|
113
113
|
SdLink = __decorateClass([
|
|
114
|
-
customElement("sd-6-
|
|
114
|
+
customElement("sd-6-10-0-link")
|
|
115
115
|
], SdLink);
|
|
116
116
|
|
|
117
117
|
export {
|