@solid-design-system/components 7.0.0-next.2 → 7.0.0-next.3
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.2MPVWXFB.js +2 -0
- package/cdn/chunks/{chunk.P6Y5AQHG.js → chunk.D7PE6JKX.js} +2 -2
- package/cdn/components/input/input.d.ts +1 -1
- package/cdn/components/input/input.js +1 -1
- package/cdn/components/textarea/textarea.d.ts +1 -1
- package/cdn/components/textarea/textarea.js +1 -1
- package/cdn/custom-elements.json +31 -29
- package/cdn/solid-components.bundle.js +4 -4
- package/cdn/solid-components.iife.js +4 -4
- package/cdn/solid-components.js +1 -1
- package/cdn/vscode.html-custom-data.json +3 -14
- package/cdn/web-types.json +37 -29
- package/cdn-versioned/chunks/chunk.2MPVWXFB.js +2 -0
- package/cdn-versioned/chunks/chunk.2XJ2J3VL.js +1 -1
- package/cdn-versioned/chunks/chunk.36YZDWQH.js +2 -2
- package/cdn-versioned/chunks/chunk.3H5XUPF5.js +5 -5
- package/cdn-versioned/chunks/chunk.47KQZYJR.js +2 -2
- package/cdn-versioned/chunks/chunk.4MY3PWSN.js +1 -1
- package/cdn-versioned/chunks/chunk.4QZMOBX3.js +2 -2
- package/cdn-versioned/chunks/chunk.5F5NZQB2.js +2 -2
- package/cdn-versioned/chunks/chunk.5ITG6KGD.js +2 -2
- package/cdn-versioned/chunks/chunk.64SUNU54.js +2 -2
- package/cdn-versioned/chunks/chunk.6GDQK5O5.js +2 -2
- package/cdn-versioned/chunks/chunk.6WQRLB7U.js +2 -2
- package/cdn-versioned/chunks/chunk.7LHRDGWP.js +2 -2
- package/cdn-versioned/chunks/chunk.7XY6DMAY.js +2 -2
- package/cdn-versioned/chunks/chunk.C45254AN.js +2 -2
- package/cdn-versioned/chunks/chunk.CWSVXPYD.js +1 -1
- package/cdn-versioned/chunks/{chunk.P6Y5AQHG.js → chunk.D7PE6JKX.js} +2 -2
- package/cdn-versioned/chunks/chunk.DIDMWRN3.js +2 -2
- package/cdn-versioned/chunks/chunk.DSKB3SEU.js +1 -1
- package/cdn-versioned/chunks/chunk.GHSIC6MA.js +2 -2
- package/cdn-versioned/chunks/chunk.HBXGLINC.js +2 -2
- package/cdn-versioned/chunks/chunk.IWKYZ6J2.js +2 -2
- package/cdn-versioned/chunks/chunk.IZCKJLZR.js +2 -2
- package/cdn-versioned/chunks/chunk.J5C22TF2.js +3 -3
- package/cdn-versioned/chunks/chunk.JI2XVLZH.js +2 -2
- package/cdn-versioned/chunks/chunk.JURMXI5Y.js +5 -5
- package/cdn-versioned/chunks/chunk.K6TOCFIN.js +2 -2
- package/cdn-versioned/chunks/chunk.KOMME47J.js +2 -2
- package/cdn-versioned/chunks/chunk.KR27MICN.js +2 -2
- package/cdn-versioned/chunks/chunk.KZ5SFF6G.js +2 -2
- package/cdn-versioned/chunks/chunk.LICVZSAH.js +3 -3
- package/cdn-versioned/chunks/chunk.LVATN3YW.js +2 -2
- package/cdn-versioned/chunks/chunk.LZRL7OLU.js +1 -1
- package/cdn-versioned/chunks/chunk.MHW6ZP4T.js +2 -2
- package/cdn-versioned/chunks/chunk.NATZPKHW.js +2 -2
- package/cdn-versioned/chunks/chunk.NFDBY4LL.js +2 -2
- package/cdn-versioned/chunks/chunk.NICDKFPS.js +2 -2
- package/cdn-versioned/chunks/chunk.NJ5CEN2R.js +2 -2
- package/cdn-versioned/chunks/chunk.PJ4AHTMH.js +2 -2
- package/cdn-versioned/chunks/chunk.PNRCMW5N.js +1 -1
- package/cdn-versioned/chunks/chunk.QTPFQGR7.js +2 -2
- package/cdn-versioned/chunks/chunk.QW2U4ORE.js +2 -2
- package/cdn-versioned/chunks/chunk.RLTO5J3E.js +2 -2
- package/cdn-versioned/chunks/chunk.ROU5X4FC.js +9 -9
- package/cdn-versioned/chunks/chunk.SKS4G5SG.js +2 -2
- package/cdn-versioned/chunks/chunk.SWPN5WUJ.js +2 -2
- package/cdn-versioned/chunks/chunk.U5LYN6TY.js +2 -2
- package/cdn-versioned/chunks/chunk.UBUSZ4VB.js +2 -2
- package/cdn-versioned/chunks/chunk.UN7DL2MN.js +1 -1
- package/cdn-versioned/chunks/chunk.UTBC4DI6.js +1 -1
- package/cdn-versioned/chunks/chunk.UY5TXYXC.js +2 -2
- package/cdn-versioned/chunks/chunk.V3PA35KW.js +2 -2
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.WZSNE2FO.js +2 -2
- package/cdn-versioned/chunks/chunk.X2QW55HD.js +1 -1
- package/cdn-versioned/chunks/chunk.XIIQ37KS.js +2 -2
- package/cdn-versioned/chunks/chunk.XNB5UHRT.js +1 -1
- package/cdn-versioned/chunks/chunk.XPALAZ3K.js +3 -3
- package/cdn-versioned/chunks/chunk.XY6LAPFB.js +1 -1
- package/cdn-versioned/chunks/chunk.YAUFTHOR.js +1 -1
- package/cdn-versioned/chunks/chunk.YG4OTB7M.js +2 -2
- package/cdn-versioned/chunks/chunk.YL7463TI.js +2 -2
- package/cdn-versioned/chunks/chunk.ZAB7A5W7.js +2 -2
- package/cdn-versioned/chunks/chunk.ZXMU6GLZ.js +2 -2
- package/cdn-versioned/chunks/chunk.ZXQQJBCT.js +2 -2
- package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
- package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/cdn-versioned/components/animation/animation.d.ts +1 -1
- package/cdn-versioned/components/audio/audio.d.ts +1 -1
- package/cdn-versioned/components/badge/badge.d.ts +1 -1
- package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
- package/cdn-versioned/components/button/button.d.ts +1 -1
- package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
- package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
- package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
- package/cdn-versioned/components/datepicker/datepicker.d.ts +1 -1
- package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
- package/cdn-versioned/components/divider/divider.d.ts +1 -1
- package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
- package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
- package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/cdn-versioned/components/header/header.d.ts +1 -1
- package/cdn-versioned/components/icon/icon.d.ts +1 -1
- package/cdn-versioned/components/include/include.d.ts +1 -1
- package/cdn-versioned/components/input/input.d.ts +2 -2
- package/cdn-versioned/components/input/input.js +1 -1
- package/cdn-versioned/components/link/link.d.ts +1 -1
- package/cdn-versioned/components/loader/loader.d.ts +1 -1
- package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/cdn-versioned/components/menu/menu.d.ts +1 -1
- package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
- package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/cdn-versioned/components/notification/notification.d.ts +1 -1
- package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
- package/cdn-versioned/components/option/option.d.ts +1 -1
- package/cdn-versioned/components/popup/popup.d.ts +1 -1
- package/cdn-versioned/components/progress-bar/progress-bar.d.ts +1 -1
- package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/cdn-versioned/components/radio/radio.d.ts +1 -1
- package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
- package/cdn-versioned/components/range/range.d.ts +1 -1
- package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
- package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/cdn-versioned/components/select/select.d.ts +1 -1
- package/cdn-versioned/components/skeleton/skeleton.d.ts +1 -1
- package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
- package/cdn-versioned/components/step/step.d.ts +1 -1
- package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
- package/cdn-versioned/components/switch/switch.d.ts +1 -1
- package/cdn-versioned/components/tab/tab.d.ts +1 -1
- package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/cdn-versioned/components/tag/tag.d.ts +1 -1
- package/cdn-versioned/components/textarea/textarea.d.ts +2 -2
- package/cdn-versioned/components/textarea/textarea.js +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 +290 -288
- package/cdn-versioned/internal/form.js +2 -2
- package/cdn-versioned/solid-components.bundle.js +81 -81
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +81 -81
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +117 -128
- package/cdn-versioned/web-types.json +206 -198
- package/dist/chunks/{chunk.QIIQFT2B.js → chunk.332BBYHT.js} +10 -2
- package/dist/chunks/{chunk.4MPXU2RU.js → chunk.MZXDJ23T.js} +12 -2
- package/dist/components/input/input.d.ts +1 -1
- package/dist/components/input/input.js +1 -1
- package/dist/components/textarea/textarea.d.ts +1 -1
- package/dist/components/textarea/textarea.js +1 -1
- package/dist/custom-elements.json +31 -29
- package/dist/solid-components.js +2 -2
- package/dist/vscode.html-custom-data.json +3 -14
- package/dist/web-types.json +37 -29
- package/dist-versioned/chunks/{chunk.QIIQFT2B.js → chunk.332BBYHT.js} +12 -4
- package/dist-versioned/chunks/chunk.4ICMHKGL.js +7 -7
- package/dist-versioned/chunks/chunk.4KQSESLL.js +10 -10
- package/dist-versioned/chunks/chunk.4UWPPYNK.js +2 -2
- package/dist-versioned/chunks/chunk.64V7RPJM.js +4 -4
- package/dist-versioned/chunks/chunk.BGHQYSC6.js +2 -2
- package/dist-versioned/chunks/chunk.C3WIBDGG.js +2 -2
- package/dist-versioned/chunks/chunk.CBXPY7RV.js +5 -5
- package/dist-versioned/chunks/chunk.CEEZZN7A.js +2 -2
- package/dist-versioned/chunks/chunk.CFE22DL2.js +8 -8
- package/dist-versioned/chunks/chunk.DJIFAD75.js +13 -13
- package/dist-versioned/chunks/chunk.DZ6FRKXI.js +12 -12
- package/dist-versioned/chunks/chunk.EAM3NSOC.js +4 -4
- package/dist-versioned/chunks/chunk.EBLUHAPV.js +5 -5
- package/dist-versioned/chunks/chunk.EI5PCGH6.js +5 -5
- package/dist-versioned/chunks/chunk.ENPE3AO3.js +14 -14
- package/dist-versioned/chunks/chunk.FAQBBAJ3.js +25 -25
- package/dist-versioned/chunks/chunk.FRTXHCPD.js +6 -6
- package/dist-versioned/chunks/chunk.GWLYBCED.js +7 -7
- package/dist-versioned/chunks/chunk.H4N3X443.js +6 -6
- package/dist-versioned/chunks/chunk.H6K6J6HB.js +10 -10
- package/dist-versioned/chunks/chunk.HQZ5Y72U.js +5 -5
- package/dist-versioned/chunks/chunk.HVKZA5Q2.js +1 -1
- package/dist-versioned/chunks/chunk.HX75WC4T.js +10 -10
- package/dist-versioned/chunks/chunk.HXXLOMBL.js +2 -2
- package/dist-versioned/chunks/chunk.I5TVWNGY.js +3 -3
- package/dist-versioned/chunks/chunk.ICBYOTXZ.js +4 -4
- package/dist-versioned/chunks/chunk.IJQGWINY.js +2 -2
- package/dist-versioned/chunks/chunk.IU2IAYUW.js +5 -5
- package/dist-versioned/chunks/chunk.JO4VO3DE.js +23 -23
- package/dist-versioned/chunks/chunk.K5UVAUSH.js +1 -1
- package/dist-versioned/chunks/chunk.KDPFXMT7.js +2 -2
- package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
- package/dist-versioned/chunks/chunk.L3TT74JB.js +3 -3
- package/dist-versioned/chunks/chunk.LM6MZUBT.js +7 -7
- package/dist-versioned/chunks/chunk.LNZEJCES.js +3 -3
- package/dist-versioned/chunks/chunk.MLBOR3OA.js +2 -2
- package/dist-versioned/chunks/{chunk.4MPXU2RU.js → chunk.MZXDJ23T.js} +17 -7
- package/dist-versioned/chunks/chunk.NAAQDM44.js +1 -1
- package/dist-versioned/chunks/chunk.NDQTMQGH.js +5 -5
- package/dist-versioned/chunks/chunk.NEWIPIU5.js +3 -3
- package/dist-versioned/chunks/chunk.NHPAPNCA.js +11 -11
- package/dist-versioned/chunks/chunk.O6I23JYG.js +1 -1
- package/dist-versioned/chunks/chunk.PJELKFNY.js +1 -1
- package/dist-versioned/chunks/chunk.POPOYCUO.js +10 -10
- package/dist-versioned/chunks/chunk.QGERTGJH.js +4 -4
- package/dist-versioned/chunks/chunk.QUNBU6CO.js +5 -5
- package/dist-versioned/chunks/chunk.RH3RR3MN.js +6 -6
- package/dist-versioned/chunks/chunk.ROTKRIJL.js +4 -4
- package/dist-versioned/chunks/chunk.TACTLKX6.js +6 -6
- package/dist-versioned/chunks/chunk.TF2CAVQI.js +33 -33
- package/dist-versioned/chunks/chunk.TXBRN4WB.js +5 -5
- package/dist-versioned/chunks/chunk.U4QAR37W.js +1 -1
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/chunk.WCTYTU3K.js +3 -3
- package/dist-versioned/chunks/chunk.WD6OT624.js +6 -6
- package/dist-versioned/chunks/chunk.WJFZKOMO.js +2 -2
- package/dist-versioned/chunks/chunk.X6ZZWTS7.js +2 -2
- package/dist-versioned/chunks/chunk.XUYPFGE4.js +11 -11
- package/dist-versioned/chunks/chunk.XZHZDSPQ.js +1 -1
- package/dist-versioned/chunks/chunk.Y32GRFGF.js +2 -2
- package/dist-versioned/chunks/chunk.YC54RFTI.js +11 -11
- package/dist-versioned/chunks/chunk.YEAB2PEA.js +1 -1
- package/dist-versioned/chunks/chunk.ZI4J2JI6.js +2 -2
- package/dist-versioned/chunks/chunk.ZINALM6Z.js +12 -12
- package/dist-versioned/components/accordion/accordion.d.ts +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/animation/animation.d.ts +1 -1
- package/dist-versioned/components/audio/audio.d.ts +1 -1
- package/dist-versioned/components/badge/badge.d.ts +1 -1
- package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
- package/dist-versioned/components/button/button.d.ts +1 -1
- package/dist-versioned/components/button-group/button-group.d.ts +1 -1
- package/dist-versioned/components/carousel/carousel.d.ts +1 -1
- package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist-versioned/components/combobox/combobox.d.ts +1 -1
- package/dist-versioned/components/datepicker/datepicker.d.ts +1 -1
- package/dist-versioned/components/dialog/dialog.d.ts +1 -1
- package/dist-versioned/components/divider/divider.d.ts +1 -1
- package/dist-versioned/components/drawer/drawer.d.ts +1 -1
- package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/dist-versioned/components/expandable/expandable.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/dist-versioned/components/header/header.d.ts +1 -1
- package/dist-versioned/components/icon/icon.d.ts +1 -1
- package/dist-versioned/components/include/include.d.ts +1 -1
- package/dist-versioned/components/input/input.d.ts +2 -2
- package/dist-versioned/components/input/input.js +1 -1
- package/dist-versioned/components/link/link.d.ts +1 -1
- package/dist-versioned/components/loader/loader.d.ts +1 -1
- package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/dist-versioned/components/menu/menu.d.ts +1 -1
- package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
- package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/dist-versioned/components/notification/notification.d.ts +1 -1
- package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
- package/dist-versioned/components/option/option.d.ts +1 -1
- package/dist-versioned/components/popup/popup.d.ts +1 -1
- package/dist-versioned/components/progress-bar/progress-bar.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/dist-versioned/components/radio/radio.d.ts +1 -1
- package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
- package/dist-versioned/components/range/range.d.ts +1 -1
- package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
- package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/dist-versioned/components/select/select.d.ts +1 -1
- package/dist-versioned/components/skeleton/skeleton.d.ts +1 -1
- package/dist-versioned/components/spinner/spinner.d.ts +1 -1
- package/dist-versioned/components/step/step.d.ts +1 -1
- package/dist-versioned/components/step-group/step-group.d.ts +1 -1
- package/dist-versioned/components/switch/switch.d.ts +1 -1
- package/dist-versioned/components/tab/tab.d.ts +1 -1
- package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/dist-versioned/components/tag/tag.d.ts +1 -1
- package/dist-versioned/components/textarea/textarea.d.ts +2 -2
- package/dist-versioned/components/textarea/textarea.js +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 +290 -288
- 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/vscode.html-custom-data.json +117 -128
- package/dist-versioned/web-types.json +206 -198
- package/package.json +2 -2
- package/cdn/chunks/chunk.HEGJI2MO.js +0 -2
- package/cdn-versioned/chunks/chunk.HEGJI2MO.js +0 -2
|
@@ -10,7 +10,7 @@ function setupAutocomplete(selector, { setValueOnSelection, scrollSelectionIntoV
|
|
|
10
10
|
var _a, _b;
|
|
11
11
|
const ul = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("ul");
|
|
12
12
|
ul == null ? void 0 : ul.setAttribute("part", "listbox");
|
|
13
|
-
const popup = document.createElement("sd-7-0-0-next-
|
|
13
|
+
const popup = document.createElement("sd-7-0-0-next-3-popup");
|
|
14
14
|
popup.appendChild(ul);
|
|
15
15
|
(_b = sdInput.shadowRoot) == null ? void 0 : _b.appendChild(popup);
|
|
16
16
|
popup == null ? void 0 : popup.setAttribute("exportparts", "popup__content");
|
|
@@ -23,7 +23,7 @@ function setupAutocomplete(selector, { setValueOnSelection, scrollSelectionIntoV
|
|
|
23
23
|
popup.sync = "width";
|
|
24
24
|
}
|
|
25
25
|
const styles = css`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
26
|
-
sd-7-0-0-next-
|
|
26
|
+
sd-7-0-0-next-3-popup::part(popup){z-index:var(--sd-z-index-dropdown,900);overflow-y:scroll;border-bottom-right-radius:var(--sd-radius);border-bottom-left-radius:var(--sd-radius);border-style:var(--tw-border-style);border-width:var(--sd-border-width-2);border-top-style:var(--tw-border-style);border-top-width:0;border-color:rgba(var(--sd-color-border-primary));background-color:rgba(var(--sd-color-background-white));padding-inline:var(--sd-spacing-2);padding-block:var(--sd-spacing-3);--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-7-0-0-next-3-popup li{transition-property:all;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))}sd-7-0-0-next-3-popup li:hover:not([disabled]){background-color:rgba(var(--sd-color-background-neutral-100))}sd-7-0-0-next-3-popup li{list-style-type:''}sd-7-0-0-next-3-popup li mark{background-color:transparent;--tw-font-weight:var(--sd-font-weight-bold);font-weight:var(--sd-font-weight-bold)}sd-7-0-0-next-3-popup li:not(:has(sd-7-0-0-next-3-option)){cursor:pointer;padding-inline:var(--sd-spacing-4);padding-block:var(--sd-spacing-3);font-size:var(--sd-text-base);line-height:var(--tw-leading,var(--text-base--line-height,calc(1.5 / 1)));color:rgba(var(--sd-color-text-black))}sd-7-0-0-next-3-popup li:not(:has(sd-7-0-0-next-3-option)):hover{background-color:rgba(var(--sd-color-background-neutral-200))}sd-7-0-0-next-3-popup li[aria-selected=true]{background-color:rgba(var(--sd-color-background-neutral-200))}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@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}@property --tw-font-weight{syntax:"*";inherits:false}`;
|
|
27
27
|
const styleSheet = new CSSStyleSheet();
|
|
28
28
|
styleSheet.replaceSync(styles);
|
|
29
29
|
sdInput.shadowRoot.adoptedStyleSheets = [...sdInput.shadowRoot.adoptedStyleSheets, styleSheet];
|
|
@@ -36,13 +36,13 @@ sd-7-0-0-next-2-popup::part(popup){z-index:var(--sd-z-index-dropdown,900);overfl
|
|
|
36
36
|
}
|
|
37
37
|
input.addEventListener("open", () => {
|
|
38
38
|
var _a, _b, _c, _d, _e, _f;
|
|
39
|
-
(_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-7-0-0-next-
|
|
39
|
+
(_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-7-0-0-next-3-popup")) == null ? void 0 : _b.setAttribute("active", "true");
|
|
40
40
|
(_d = (_c = sdInput.shadowRoot) == null ? void 0 : _c.querySelector('[part="border"]')) == null ? void 0 : _d.classList.add("rounded-b-none");
|
|
41
41
|
(_f = (_e = sdInput.shadowRoot) == null ? void 0 : _e.querySelector('[part="form-control"]')) == null ? void 0 : _f.classList.add("z-50");
|
|
42
42
|
});
|
|
43
43
|
input.addEventListener("close", () => {
|
|
44
44
|
var _a, _b, _c, _d, _e, _f;
|
|
45
|
-
(_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-7-0-0-next-
|
|
45
|
+
(_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-7-0-0-next-3-popup")) == null ? void 0 : _b.removeAttribute("active");
|
|
46
46
|
(_d = (_c = sdInput.shadowRoot) == null ? void 0 : _c.querySelector('[part="border"]')) == null ? void 0 : _d.classList.remove("rounded-b-none");
|
|
47
47
|
(_f = (_e = sdInput.shadowRoot) == null ? void 0 : _e.querySelector('[part="form-control"]')) == null ? void 0 : _f.classList.remove("z-50");
|
|
48
48
|
});
|
|
@@ -92,7 +92,7 @@ var SdStep = class extends SolidElement {
|
|
|
92
92
|
this.orientation === "horizontal" && !this.horizontalInline ? this.size === "lg" ? "translateLg" : "translateSm" : this.size === "lg" || this.size === "xs" ? "mt-1" : "mt-3"
|
|
93
93
|
);
|
|
94
94
|
const circleButtonClasses = cx(
|
|
95
|
-
"border sd-7-0-0-next-
|
|
95
|
+
"border sd-7-0-0-next-3-step__circle-border-width rounded-full aspect-square circle flex items-center justify-center shrink-0 font-bold select-none",
|
|
96
96
|
this.disabled ? "focus-visible:outline-none cursor-not-allowed" : !this.notInteractive && !this.waiting ? "focus-visible:focus-outline hover:cursor-pointer" : "",
|
|
97
97
|
this.notInteractive ? this.size === "lg" ? "not-interactive-lg" : this.size === "xs" ? "w-2" : "w-12" : this.size === "lg" ? "w-12" : this.size === "xs" ? "w-2" : "w-8 h-8",
|
|
98
98
|
this.disabled && "border-neutral-500 text-neutral-500",
|
|
@@ -110,8 +110,8 @@ var SdStep = class extends SolidElement {
|
|
|
110
110
|
)}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"><div part="circle-and-tail-container" class="${circleAndTailContainerClasses}"><${tag} part="circle" href="${ifDefined(isLink ? this.href : void 0)}" aria-disabled="${ifDefined(this.disabled || this.waiting || void 0)}" aria-current="${this.current ? "step" : void 0}" aria-labelledby="${ifDefined(this.notInteractive || this.waiting || !hasLabel ? void 0 : "label")}" aria-describedby="${ifDefined(this.notInteractive || this.waiting || !hasDescription ? void 0 : "description")}" class="${circleButtonClasses}"><slot name="circle-content" class="${cx(
|
|
111
111
|
"text-lg",
|
|
112
112
|
!this.disabled && !this.current && !this.notInteractive && !this.waiting && "text-primary hover:text-primary-500 hover:fill-primary-500",
|
|
113
|
-
this.notInteractive && "sd-7-0-0-next-
|
|
114
|
-
)}">${!this.disabled && !this.current && !this.notInteractive && !this.waiting && this.size !== "xs" ? html`<sd-7-0-0-next-
|
|
113
|
+
this.notInteractive && "sd-7-0-0-next-3-step-color-text"
|
|
114
|
+
)}">${!this.disabled && !this.current && !this.notInteractive && !this.waiting && this.size !== "xs" ? html`<sd-7-0-0-next-3-icon name="status-check" library="_internal" class="${cx(this.size === "sm" && "text-sm")}"></sd-7-0-0-next-3-icon>` : this.size === "xs" ? "" : html`${this.index}`}</slot></${tag}>${isHorizontalInline ? html`<div class="${cx(!this.noTail && "flex-1", "flex flex-col gap-1")}"><div class="${cx(
|
|
115
115
|
"flex w-full",
|
|
116
116
|
hasLabel && "gap-2",
|
|
117
117
|
this.size === "sm" && !hasDescription ? "mt-1" : "mt-3"
|
|
@@ -152,7 +152,7 @@ var SdStep = class extends SolidElement {
|
|
|
152
152
|
SdStep.styles = [
|
|
153
153
|
...SolidElement.styles,
|
|
154
154
|
css`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
155
|
-
:host{flex:1}:host([orientation=horizontal]) [part=tail]{border-top-width:var(--sd-step__tail-border-width)}:host([orientation=vertical]) [part=tail]{border-left-width:var(--sd-step__tail-border-width)}:host([no-tail]){flex-grow:0}:host(:not([current])) (:not([notInteractive])) slot[name=circle-content]{color:rgba(var(--sd-color-text-neutral-700))}slot[name=circle-content] sd-7-0-0-next-
|
|
155
|
+
:host{flex:1}:host([orientation=horizontal]) [part=tail]{border-top-width:var(--sd-step__tail-border-width)}:host([orientation=vertical]) [part=tail]{border-left-width:var(--sd-step__tail-border-width)}:host([no-tail]){flex-grow:0}:host(:not([current])) (:not([notInteractive])) slot[name=circle-content]{color:rgba(var(--sd-color-text-neutral-700))}slot[name=circle-content] sd-7-0-0-next-3-icon,slot[name=circle-content]::slotted(sd-7-0-0-next-3-icon){color:rgba(var(--sd-color-icon-fill-primary))}[part=circle]:hover slot[name=circle-content] sd-7-0-0-next-3-icon,[part=circle]:hover slot[name=circle-content]::slotted(sd-7-0-0-next-3-icon){color:rgba(var(--sd-color-icon-fill-primary-500))}:host([horizontal-inline]):has([part=description]){min-width:0;flex:1}.translateLg{transform:translateX(3.438rem)}.translateSm{transform:translateX(4rem)}.not-interactive-lg{width:4.5rem}`
|
|
156
156
|
];
|
|
157
157
|
__decorateClass([
|
|
158
158
|
property({ type: String, reflect: true })
|
|
@@ -203,7 +203,7 @@ __decorateClass([
|
|
|
203
203
|
watch("notInteractive")
|
|
204
204
|
], SdStep.prototype, "handleInteractivityChange", 1);
|
|
205
205
|
SdStep = __decorateClass([
|
|
206
|
-
customElement("sd-7-0-0-next-
|
|
206
|
+
customElement("sd-7-0-0-next-3-step")
|
|
207
207
|
], SdStep);
|
|
208
208
|
|
|
209
209
|
export {
|
|
@@ -55,19 +55,19 @@ var SdProgressBar = class extends SolidElement {
|
|
|
55
55
|
this.isLoading ? this.localize.term("loading") : this.valueFormatter(this.clampedValue)
|
|
56
56
|
)}" aria-label="${ifDefined(!hasLabel ? this.label || this.localize.term("progress") : void 0)}" aria-labelledby="${ifDefined(hasLabel ? "label" : this.label)}" style="${`--percentage: ${this.percentage}%;`}">${this.isLoading ? html`<div part="track" class="${cx(
|
|
57
57
|
"absolute top-0 left-0 h-full progress-bar__track--loading-left",
|
|
58
|
-
this.inverted ? "sd-7-0-0-next-
|
|
58
|
+
this.inverted ? "sd-7-0-0-next-3-progress-bar__slide-bar--inverted-color-background" : "sd-7-0-0-next-3-progress-bar__slide-bar-color-background"
|
|
59
59
|
)}"></div><div part="track" class="${cx(
|
|
60
60
|
"absolute top-0 right-0 h-full progress-bar__track--loading-right",
|
|
61
|
-
this.inverted ? "sd-7-0-0-next-
|
|
61
|
+
this.inverted ? "sd-7-0-0-next-3-progress-bar__slide-bar--inverted-color-background" : "sd-7-0-0-next-3-progress-bar__slide-bar-color-background"
|
|
62
62
|
)}"></div><div part="indicator" class="${cx(
|
|
63
63
|
"absolute top-0 h-full progress-bar__indicator--loading",
|
|
64
|
-
this.inverted ? "sd-7-0-0-next-
|
|
64
|
+
this.inverted ? "sd-7-0-0-next-3-progress-bar--active--inverted-color-background" : "bg-accent"
|
|
65
65
|
)}"></div>` : html`<div part="indicator" class="${cx(
|
|
66
66
|
"w-[var(--percentage)]",
|
|
67
|
-
this.inverted ? "sd-7-0-0-next-
|
|
67
|
+
this.inverted ? "sd-7-0-0-next-3-progress-bar--active--inverted-color-background" : "bg-accent"
|
|
68
68
|
)}"></div>${this.value && this.value > 0 && this.value < this.safeMax ? html`<div class="w-0.5 shrink-0"></div>` : nothing}<div part="track" class="${cx(
|
|
69
69
|
"flex-1",
|
|
70
|
-
this.inverted ? "sd-7-0-0-next-
|
|
70
|
+
this.inverted ? "sd-7-0-0-next-3-progress-bar__slide-bar--inverted-color-background" : "sd-7-0-0-next-3-progress-bar__slide-bar-color-background"
|
|
71
71
|
)}"></div>`}</div>${this.showValue ? html`<span class="${cx(
|
|
72
72
|
"text-neutral-700 text-xs w-shrink-0",
|
|
73
73
|
this.inverted ? "text-white" : "text-neutral-700",
|
|
@@ -103,7 +103,7 @@ __decorateClass([
|
|
|
103
103
|
property({ attribute: false })
|
|
104
104
|
], SdProgressBar.prototype, "valueFormatter", 2);
|
|
105
105
|
SdProgressBar = __decorateClass([
|
|
106
|
-
customElement("sd-7-0-0-next-
|
|
106
|
+
customElement("sd-7-0-0-next-3-progress-bar")
|
|
107
107
|
], SdProgressBar);
|
|
108
108
|
|
|
109
109
|
export {
|
|
@@ -22,9 +22,9 @@ var SdBadge = class extends SolidElement {
|
|
|
22
22
|
"inline-flex items-center justify-center gap-x-[1px] text-center font-bold whitespace-nowrap border rounded-full select-none cursor-[inherit]",
|
|
23
23
|
{
|
|
24
24
|
/* variants */
|
|
25
|
-
blue: !this.inverted ? "text-white sd-7-0-0-next-
|
|
26
|
-
green: !this.inverted ? "text-white sd-7-0-0-next-
|
|
27
|
-
red: !this.inverted ? "text-white sd-7-0-0-next-
|
|
25
|
+
blue: !this.inverted ? "text-white sd-7-0-0-next-3-badge--blue-color-background border-white" : "sd-7-0-0-next-3-badge--blue--inverted-color-text sd-7-0-0-next-3-badge--blue--inverted-color-background sd-7-0-0-next-3-badge--inverted-color-border",
|
|
26
|
+
green: !this.inverted ? "text-white sd-7-0-0-next-3-badge--green-color-background border-white" : "sd-7-0-0-next-3-badge--green-color--inverted-text sd-7-0-0-next-3-badge--green-color--inverted-background sd-7-0-0-next-3-badge--inverted-color-border",
|
|
27
|
+
red: !this.inverted ? "text-white sd-7-0-0-next-3-badge--red-color-background border-white" : "sd-7-0-0-next-3-badge--red--inverted-text sd-7-0-0-next-3-badge--red--inverted-background sd-7-0-0-next-3-badge--inverted-color-border"
|
|
28
28
|
}[this.variant]
|
|
29
29
|
)}"><span id="content" part="content" class="${cx(this.size === "sm" && "sr-only")}"><slot></slot></span></span>`;
|
|
30
30
|
}
|
|
@@ -44,7 +44,7 @@ __decorateClass([
|
|
|
44
44
|
property({ type: Boolean, reflect: true })
|
|
45
45
|
], SdBadge.prototype, "inverted", 2);
|
|
46
46
|
SdBadge = __decorateClass([
|
|
47
|
-
customElement("sd-7-0-0-next-
|
|
47
|
+
customElement("sd-7-0-0-next-3-badge")
|
|
48
48
|
], SdBadge);
|
|
49
49
|
|
|
50
50
|
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-7-0-0-next-
|
|
25
|
+
return this.querySelectorAll("sd-7-0-0-next-3-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-7-0-0-next-
|
|
70
|
+
const icon = document.createElement("sd-7-0-0-next-3-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-7-0-0-next-
|
|
75
|
+
(_c = (_b = (_a = Array.from(this.items).at(-2)) == null ? void 0 : _a.shadowRoot) == null ? void 0 : _b.querySelector("sd-7-0-0-next-3-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-7-0-0-next-
|
|
90
|
+
return html`<nav part="base" class="flex items-center pb-1" aria-label="${this.label}"><sd-7-0-0-next-3-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-7-0-0-next-3-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.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
96
|
-
:host{position:relative;display:block}::slotted(sd-7-0-0-next-
|
|
96
|
+
:host{position:relative;display:block}::slotted(sd-7-0-0-next-3-breadcrumb-item:not(:last-of-type))::after,sd-7-0-0-next-3-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-7-0-0-next-3-breadcrumb-item:not(:last-of-type))::after,sd-7-0-0-next-3-dropdown::after{display:inline-block}}::slotted(sd-7-0-0-next-3-breadcrumb-item:nth-last-child(2)){display:flex}@media (width >= 64rem){::slotted(sd-7-0-0-next-3-breadcrumb-item:nth-last-child(2))::after{background-color:rgba(var(--sd-breadcrumb__separator--current-color,rgba(var(--sd-color-accent))))}}::slotted(sd-7-0-0-next-3-breadcrumb-item),sd-7-0-0-next-3-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-7-0-0-next-3-breadcrumb-item),sd-7-0-0-next-3-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-7-0-0-next-
|
|
120
|
+
customElement("sd-7-0-0-next-3-breadcrumb")
|
|
121
121
|
], SdBreadcrumb);
|
|
122
122
|
|
|
123
123
|
export {
|
|
@@ -159,62 +159,62 @@ var SdButton = class extends SolidElement {
|
|
|
159
159
|
(this.disabled || this.visuallyDisabled) && "cursor-not-allowed",
|
|
160
160
|
{
|
|
161
161
|
/* sizes, fonts */
|
|
162
|
-
sm: `varspacing-8 min-h-8 sd-7-0-0-next-
|
|
163
|
-
md: `varspacing-10 sd-7-0-0-next-
|
|
164
|
-
lg: `varspacing-12 sd-7-0-0-next-
|
|
162
|
+
sm: `varspacing-8 min-h-8 sd-7-0-0-next-3-button--size-sm-font-size sd-7-0-0-next-3-button-font-weight sd-7-0-0-next-3-button--secondary--size-sm-padding-block sd-7-0-0-next-3-button--size-sm-border-radius`,
|
|
163
|
+
md: `varspacing-10 sd-7-0-0-next-3-button--size-md-height sd-7-0-0-next-3-button--size-md-font-size sd-7-0-0-next-3-button--secondary--size-md-padding-block sd-7-0-0-next-3-button-font-weight sd-7-0-0-next-3-button--size-md-border-radius`,
|
|
164
|
+
lg: `varspacing-12 sd-7-0-0-next-3-button--size-lg-height sd-7-0-0-next-3-button--size-lg-font-size sd-7-0-0-next-3-button--secondary--size-lg-padding-block sd-7-0-0-next-3-button-font-weight sd-7-0-0-next-3-button--size-lg-border-radius`
|
|
165
165
|
}[this.size],
|
|
166
166
|
!slots["icon-only"] && {
|
|
167
167
|
/* sizes, fonts */
|
|
168
|
-
sm: `${hasBorder ? "sd-7-0-0-next-
|
|
169
|
-
md: `${hasBorder ? "sd-7-0-0-next-
|
|
170
|
-
lg: `${hasBorder ? "sd-7-0-0-next-
|
|
168
|
+
sm: `${hasBorder ? "sd-7-0-0-next-3-button--secondary-padding-inline" : "sd-7-0-0-next-3-button--size-sm-padding-block sd-7-0-0-next-3-button-padding-inline"}`,
|
|
169
|
+
md: `${hasBorder ? "sd-7-0-0-next-3-button--secondary-padding-inline" : "sd-7-0-0-next-3-button--size-md-padding-block sd-7-0-0-next-3-button-padding-inline"}`,
|
|
170
|
+
lg: `${hasBorder ? "sd-7-0-0-next-3-button--secondary-padding-inline" : "sd-7-0-0-next-3-button--size-lg-padding-block sd-7-0-0-next-3-button-padding-inline"}`
|
|
171
171
|
}[this.size],
|
|
172
172
|
/**
|
|
173
173
|
* Anatomy
|
|
174
174
|
* */
|
|
175
175
|
slots["icon-only"] && {
|
|
176
176
|
sm: "px-1 aspect-square",
|
|
177
|
-
md: "sd-7-0-0-next-
|
|
177
|
+
md: "sd-7-0-0-next-3-button--size-md--icon-only-padding-inline aspect-square",
|
|
178
178
|
lg: "px-[12px] aspect-square"
|
|
179
179
|
}[this.size],
|
|
180
180
|
{
|
|
181
181
|
/* variants */
|
|
182
|
-
primary: !this.inverted ? `${this.visuallyDisabled ? "sd-7-0-0-next-
|
|
183
|
-
disabled:sd-7-0-0-next-
|
|
184
|
-
disabled:sd-7-0-0-next-
|
|
185
|
-
secondary: !this.inverted ? `border sd-7-0-0-next-
|
|
186
|
-
disabled:sd-7-0-0-next-
|
|
187
|
-
disabled:sd-7-0-0-next-
|
|
188
|
-
tertiary: !this.inverted ? `border-transparent ${this.visuallyDisabled ? "sd-7-0-0-next-
|
|
189
|
-
disabled:sd-7-0-0-next-
|
|
190
|
-
disabled:sd-7-0-0-next-
|
|
191
|
-
cta: `${this.visuallyDisabled ? "sd-7-0-0-next-
|
|
192
|
-
${!this.inverted ? "text-white bg-accent disabled:sd-7-0-0-next-
|
|
182
|
+
primary: !this.inverted ? `${this.visuallyDisabled ? "sd-7-0-0-next-3-button--primary--disabled-color-background border-neutral-500 text-white" : "sd-7-0-0-next-3-button--primary--default-color-background border-transparent sd-7-0-0-next-3-button--primary--default-color-text hover:sd-7-0-0-next-3-button--primary--hover-color-text active:sd-7-0-0-next-3-button--primary--active-color-text active:sd-7-0-0-next-3-button--primary--active-color-background"}
|
|
183
|
+
disabled:sd-7-0-0-next-3-button--primary--disabled-color-background disabled:text-white` : `${this.visuallyDisabled ? "sd-7-0-0-next-3-button--inverted--disabled-color-background text-white border-neutral-500" : "sd-7-0-0-next-3-button--primary--inverted--default-color-text sd-7-0-0-next-3-button--primary--inverted--default-color-background border-white hover:sd-7-0-0-next-3-button--primary--inverted--hover-color-text active:sd-7-0-0-next-3-button--primary--inverted--active-color-text active:sd-7-0-0-next-3-button--primary--inverted--active-color-background"}
|
|
184
|
+
disabled:sd-7-0-0-next-3-button--inverted--disabled-color-background disabled:text-white`,
|
|
185
|
+
secondary: !this.inverted ? `border sd-7-0-0-next-3-button-border-width ${this.visuallyDisabled ? "sd-7-0-0-next-3-button--secondary--disabled-color-text sd-7-0-0-next-3-button--secondary--disabled-color-border" : "sd-7-0-0-next-3-button--secondary--default-color-text sd-7-0-0-next-3-button--secondary--default-color-border hover:sd-7-0-0-next-3-button--secondary--hover-color-text hover:sd-7-0-0-next-3-button--secondary--hover-color-border active:sd-7-0-0-next-3-button--secondary--active-color-text active:sd-7-0-0-next-3-button--secondary--active-color-border"}
|
|
186
|
+
disabled:sd-7-0-0-next-3-button--secondary--disabled-color-text disabled:sd-7-0-0-next-3-button--secondary--disabled-color-border` : `border sd-7-0-0-next-3-button-border-width ${this.visuallyDisabled ? "text-neutral-600 border-neutral-600" : "sd-7-0-0-next-3-button--secondary--inverted-color-text sd-7-0-0-next-3-button--secondary--inverted-color-border hover:sd-7-0-0-next-3-button--secondary--inverted-color-border hover:sd-7-0-0-next-3-button--secondary--inverted--hover-color-text hover:sd-7-0-0-next-3-button--secondary--inverted--hover-color-background active:sd-7-0-0-next-3-button--secondary--inverted--active-color-text active:border-primary-200 active:sd-7-0-0-next-3-button--secondary--inverted--active-color-background"}
|
|
187
|
+
disabled:sd-7-0-0-next-3-button--inverted--disabled-color-border disabled:sd-7-0-0-next-3-button--inverted--disabled-color-text`,
|
|
188
|
+
tertiary: !this.inverted ? `border-transparent ${this.visuallyDisabled ? "sd-7-0-0-next-3-button--tertiary--disabled-color-text" : "sd-7-0-0-next-3-button--tertiary--default-color-text hover:sd-7-0-0-next-3-button--tertiary--hover-color-text active:sd-7-0-0-next-3-button--tertiary--active-color-text"}
|
|
189
|
+
disabled:sd-7-0-0-next-3-button--tertiary--disabled-color-text` : `border-transparent ${this.visuallyDisabled ? "text-neutral-600" : "sd-7-0-0-next-3-button--tertiary--inverted-color-text hover:sd-7-0-0-next-3-button--tertiary--inverted--hover-color-text hover:sd-7-0-0-next-3-button--tertiary--inverted--hover-color-background active:sd-7-0-0-next-3-button--tertiary--inverted--active-color-background active:sd-7-0-0-next-3-button--tertiary--inverted--active-color-text"}
|
|
190
|
+
disabled:sd-7-0-0-next-3-button--inverted--disabled-color-text`,
|
|
191
|
+
cta: `${this.visuallyDisabled ? "sd-7-0-0-next-3-button--primary--disabled-color-background border-neutral-500" : "bg-accent border-transparent hover:bg-accent-500"}
|
|
192
|
+
${!this.inverted ? "text-white bg-accent disabled:sd-7-0-0-next-3-button--primary--disabled-color-background hover:bg-accent-500 disabled:border-neutral-500 disabled:text-white" : "sd-7-0-0-next-3-button--cta--inverted--default-color-background sd-7-0-0-next-3-button--cta--inverted--default-color-text hover:sd-7-0-0-next-3-button--cta--inverted--hover-color-text active:sd-7-0-0-next-3-button--cta--inverted--active-color-text disabled:sd-7-0-0-next-3-button--inverted--disabled-color-background disabled:text-white"}`
|
|
193
193
|
}[this.variant]
|
|
194
194
|
)}" ?disabled="${ifDefined(isLink ? void 0 : this.disabled)}" type="${ifDefined(isLink ? void 0 : this.type)}" title="${this.title}" name="${ifDefined(isLink ? void 0 : this.name)}" value="${ifDefined(isLink ? void 0 : this.value)}" href="${ifDefined(isLink ? this.href : void 0)}" target="${ifDefined(isLink ? this.target : void 0)}" download="${ifDefined(isLink ? this.download : void 0)}" rel="${ifDefined(isLink && this.target ? "noreferrer noopener" : void 0)}" role="${ifDefined(isLink ? void 0 : "button")}" aria-disabled="${this.disabled || this.visuallyDisabled ? "true" : "false"}" aria-labelledby="content" tabindex="${this.disabled ? "-1" : "0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @invalid="${this.isButton() ? this.handleInvalid : null}" @click="${this.handleClick}"><div part="motion-wrapper" class="${cx(
|
|
195
195
|
"absolute inset-0 -z-10 overflow-hidden pointer-events-none ",
|
|
196
196
|
(this.disabled || this.visuallyDisabled) && "hidden",
|
|
197
197
|
{
|
|
198
198
|
/* sizes, fonts */
|
|
199
|
-
sm: `sd-7-0-0-next-
|
|
200
|
-
md: `sd-7-0-0-next-
|
|
201
|
-
lg: `sd-7-0-0-next-
|
|
199
|
+
sm: `sd-7-0-0-next-3-button-border-radius`,
|
|
200
|
+
md: `sd-7-0-0-next-3-button-border-radius`,
|
|
201
|
+
lg: `sd-7-0-0-next-3-button-border-radius`
|
|
202
202
|
}[this.size]
|
|
203
203
|
)}"><div class="absolute inset-0 w-full h-full transition-all duration-fast translate-y-full group-hover:translate-y-0 group-hover:mt-[-22%] mt-[11%]"><div class="${cx(
|
|
204
204
|
"absolute right-0 min-w-full min-h-full aspect-square skew-y-[-11deg] mt-[11%]",
|
|
205
205
|
{
|
|
206
|
-
primary: !this.inverted ? "sd-7-0-0-next-
|
|
207
|
-
secondary: !this.inverted ? "sd-7-0-0-next-
|
|
208
|
-
tertiary: !this.inverted ? "sd-7-0-0-next-
|
|
209
|
-
cta: !this.inverted ? "bg-accent-500 group-active:bg-accent-700" : "sd-7-0-0-next-
|
|
206
|
+
primary: !this.inverted ? "sd-7-0-0-next-3-button--primary--hover-color-background group-active:sd-7-0-0-next-3-button--primary--active-color-background" : "sd-7-0-0-next-3-button--primary--inverted--hover-color-background group-active:sd-7-0-0-next-3-button--primary--inverted--active-color-background",
|
|
207
|
+
secondary: !this.inverted ? "sd-7-0-0-next-3-button--secondary--hover-color-background group-active:sd-7-0-0-next-3-button--secondary--active-color-background" : "sd-7-0-0-next-3-button--secondary--inverted--hover-color-background group-active:sd-7-0-0-next-3-button--secondary--inverted--active-color-background group-active:sd-7-0-0-next-3-button--secondary--inverted--active-color-text",
|
|
208
|
+
tertiary: !this.inverted ? "sd-7-0-0-next-3-button--tertiary--hover-color-background group-active:sd-7-0-0-next-3-button--tertiary--active-color-background" : "sd-7-0-0-next-3-button--tertiary--inverted--hover-color-background group-active:sd-7-0-0-next-3-button--tertiary--inverted--active-color-background group-active:sd-7-0-0-next-3-button--tertiary--inverted--active-color-text",
|
|
209
|
+
cta: !this.inverted ? "bg-accent-500 group-active:bg-accent-700" : "sd-7-0-0-next-3-button--cta--inverted--hover-color-background group-active:sd-7-0-0-next-3-button--cta--inverted--active-color-background"
|
|
210
210
|
}[this.variant]
|
|
211
211
|
)}"></div><div class="${cx(
|
|
212
212
|
"absolute w-full h-full mt-[22%]",
|
|
213
213
|
{
|
|
214
|
-
primary: !this.inverted ? "sd-7-0-0-next-
|
|
215
|
-
secondary: !this.inverted ? "sd-7-0-0-next-
|
|
216
|
-
tertiary: !this.inverted ? "sd-7-0-0-next-
|
|
217
|
-
cta: !this.inverted ? "bg-accent-500 group-active:bg-accent-700" : "sd-7-0-0-next-
|
|
214
|
+
primary: !this.inverted ? "sd-7-0-0-next-3-button--primary--hover-color-background group-active:sd-7-0-0-next-3-button--primary--active-color-background" : "sd-7-0-0-next-3-button--primary--inverted--hover-color-background group-active:sd-7-0-0-next-3-button--primary--inverted--active-color-background",
|
|
215
|
+
secondary: !this.inverted ? "sd-7-0-0-next-3-button--secondary--hover-color-background group-active:sd-7-0-0-next-3-button--secondary--active-color-background" : "sd-7-0-0-next-3-button--secondary--inverted--hover-color-background group-active:sd-7-0-0-next-3-button--secondary--inverted--active-color-background group-active:sd-7-0-0-next-3-button--secondary--inverted--active-color-text group-active:sd-7-0-0-next-3-button--secondary--active-color-border",
|
|
216
|
+
tertiary: !this.inverted ? "sd-7-0-0-next-3-button--tertiary--hover-color-background group-active:sd-7-0-0-next-3-button--tertiary--active-color-background" : "sd-7-0-0-next-3-button--tertiary--inverted--hover-color-background group-active:sd-7-0-0-next-3-button--tertiary--inverted--active-color-background group-active:sd-7-0-0-next-3-button--tertiary--inverted--active-color-text",
|
|
217
|
+
cta: !this.inverted ? "bg-accent-500 group-active:bg-accent-700" : "sd-7-0-0-next-3-button--cta--inverted--hover-color-background group-active:sd-7-0-0-next-3-button--cta--inverted--active-color-background"
|
|
218
218
|
}[this.variant]
|
|
219
219
|
)}"></div></div></div><slot name="icon-left" part="icon-left" class="${cx(
|
|
220
220
|
"flex flex-auto items-center justify-end pointer-events-none",
|
|
@@ -243,7 +243,7 @@ var SdButton = class extends SolidElement {
|
|
|
243
243
|
md: "ml-2",
|
|
244
244
|
lg: "ml-2"
|
|
245
245
|
}[this.size]
|
|
246
|
-
)}"></slot>${this.loading ? html`<sd-7-0-0-next-
|
|
246
|
+
)}"></slot>${this.loading ? html`<sd-7-0-0-next-3-loader class="${cx("absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2")}"></sd-7-0-0-next-3-loader>` : ""}</${tag}>`;
|
|
247
247
|
}
|
|
248
248
|
};
|
|
249
249
|
/**
|
|
@@ -252,13 +252,13 @@ var SdButton = class extends SolidElement {
|
|
|
252
252
|
SdButton.styles = [
|
|
253
253
|
...SolidElement.styles,
|
|
254
254
|
css`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
255
|
-
:host{position:relative;z-index:0;display:inline-block;width:auto;cursor:pointer}::slotted(sd-7-0-0-next-
|
|
255
|
+
:host{position:relative;z-index:0;display:inline-block;width:auto;cursor:pointer}::slotted(sd-7-0-0-next-3-badge){pointer-events:none;position:absolute;top:0;right:0;--tw-translate-x:calc(1 / 2 * 100%)!important;--tw-translate-y:calc(calc(1 / 2 * 100%) * -1)!important;translate:var(--tw-translate-x) var(--tw-translate-y)!important}::slotted(sd-7-0-0-next-3-icon),sd-7-0-0-next-3-loader{font-size:calc(var(--tw-varspacing)/ 2)}:host([size=lg]) ::slotted(sd-7-0-0-next-3-icon){font-size:var(--sd-button--size-lg-icon-height,var(--sd-spacing-6))}:host([size=sm]) .sd-7-0-0-next-3-button--size-sm-border-radius{border-radius:var(--sd-button--size-sm-border-radius,var(--sd-button-border-radius))}:host([size=md]) .sd-7-0-0-next-3-button--size-md-border-radius{border-radius:var(--sd-button--size-md-border-radius,var(--sd-button-border-radius))}:host([size=lg]) .sd-7-0-0-next-3-button--size-lg-border-radius{border-radius:var(--sd-button--size-lg-border-radius,var(--sd-button-border-radius))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}`
|
|
256
256
|
];
|
|
257
257
|
__decorateClass([
|
|
258
258
|
query("a, button")
|
|
259
259
|
], SdButton.prototype, "button", 2);
|
|
260
260
|
__decorateClass([
|
|
261
|
-
queryAssignedElements({ selector: "sd-7-0-0-next-
|
|
261
|
+
queryAssignedElements({ selector: "sd-7-0-0-next-3-icon" })
|
|
262
262
|
], SdButton.prototype, "_iconsInDefaultSlot", 2);
|
|
263
263
|
__decorateClass([
|
|
264
264
|
state()
|
|
@@ -324,7 +324,7 @@ __decorateClass([
|
|
|
324
324
|
watch("disabled", { waitUntilFirstUpdate: true })
|
|
325
325
|
], SdButton.prototype, "handleDisabledChange", 1);
|
|
326
326
|
SdButton = __decorateClass([
|
|
327
|
-
customElement("sd-7-0-0-next-
|
|
327
|
+
customElement("sd-7-0-0-next-3-button")
|
|
328
328
|
], SdButton);
|
|
329
329
|
|
|
330
330
|
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-7-0-0-next-
|
|
60
|
+
"flex sd-7-0-0-next-3-teaser-border-radius",
|
|
61
61
|
{
|
|
62
62
|
white: "bg-white",
|
|
63
|
-
"white border-neutral-400": "bg-white border sd-7-0-0-next-
|
|
64
|
-
"neutral-100": "sd-7-0-0-next-
|
|
63
|
+
"white border-neutral-400": "bg-white border sd-7-0-0-next-3-teaser--neutral-400-color-border",
|
|
64
|
+
"neutral-100": "sd-7-0-0-next-3-teaser--neutral-100-color-background",
|
|
65
65
|
primary: "bg-primary text-white",
|
|
66
|
-
"primary-100": "sd-7-0-0-next-
|
|
66
|
+
"primary-100": "sd-7-0-0-next-3-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-7-0-0-next-
|
|
108
|
+
customElement("sd-7-0-0-next-3-teaser")
|
|
109
109
|
], SdTeaser);
|
|
110
110
|
|
|
111
111
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/components/combobox/utils.ts
|
|
2
2
|
var getAssignedElementsForSlot = (slot) => Array.from(slot.assignedElements({ flatten: true }));
|
|
3
|
-
var getOptionOrNestedOptions = (item) => item.tagName.toLocaleLowerCase() === "sd-7-0-0-next-
|
|
4
|
-
var isOptgroup = (item) => item.tagName.toLocaleLowerCase() === "sd-7-0-0-next-
|
|
3
|
+
var getOptionOrNestedOptions = (item) => item.tagName.toLocaleLowerCase() === "sd-7-0-0-next-3-option" ? item : Array.from(item.querySelectorAll(":scope > sd-7-0-0-next-3-option"));
|
|
4
|
+
var isOptgroup = (item) => item.tagName.toLocaleLowerCase() === "sd-7-0-0-next-3-optgroup";
|
|
5
5
|
var getAllOptions = (items) => items.map(getOptionOrNestedOptions);
|
|
6
6
|
var filterOnlyOptgroups = (items) => items.filter(isOptgroup);
|
|
7
7
|
var normalizeString = (str) => str.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase();
|
|
@@ -38,13 +38,13 @@ var SdBreadcrumbItem = class extends SolidElement {
|
|
|
38
38
|
requestAnimationFrame(() => this.handleCurrentChange());
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
|
-
return html`<sd-7-0-0-next-
|
|
41
|
+
return html`<sd-7-0-0-next-3-link part="base" href="${ifDefined(!this.current ? this.href : void 0)}" target="${this.target}" standalone class="text-nowrap"><slot></slot></sd-7-0-0-next-3-link>`;
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
SdBreadcrumbItem.styles = [
|
|
45
45
|
...SolidElement.styles,
|
|
46
46
|
css`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
47
|
-
:host{display:inline-flex;align-items:center}sd-7-0-0-next-
|
|
47
|
+
:host{display:inline-flex;align-items:center}sd-7-0-0-next-3-link::part(base){align-items:center}sd-7-0-0-next-3-link::part(icon-left){margin-right:0;display:inline-flex}:host([current]) sd-7-0-0-next-3-link::part(base){color:rgba(var(--sd-breadcrumb--current-color-text,rgba(var(--sd-color-neutral-700))))}:host([current]) sd-7-0-0-next-3-link::part(label){text-decoration-line:none}`
|
|
48
48
|
];
|
|
49
49
|
__decorateClass([
|
|
50
50
|
query('[part="base"]')
|
|
@@ -62,7 +62,7 @@ __decorateClass([
|
|
|
62
62
|
watch("current")
|
|
63
63
|
], SdBreadcrumbItem.prototype, "handleCurrentChange", 1);
|
|
64
64
|
SdBreadcrumbItem = __decorateClass([
|
|
65
|
-
customElement("sd-7-0-0-next-
|
|
65
|
+
customElement("sd-7-0-0-next-3-breadcrumb-item")
|
|
66
66
|
], SdBreadcrumbItem);
|
|
67
67
|
|
|
68
68
|
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-7-0-0-next-
|
|
49
|
-
"neutral-100": "sd-7-0-0-next-
|
|
48
|
+
white: "sd-7-0-0-next-3-teaser-media--white-color-background group-hover:sd-7-0-0-next-3-teaser-media--white--hover-color-background ",
|
|
49
|
+
"neutral-100": "sd-7-0-0-next-3-teaser-media--neutral-100-color-background group-hover:sd-7-0-0-next-3-teaser-media--neutral-100--hover-color-background",
|
|
50
50
|
primary: "bg-primary/80 text-white group-hover:bg-primary/90",
|
|
51
|
-
"primary-100": "sd-7-0-0-next-
|
|
51
|
+
"primary-100": "sd-7-0-0-next-3-teaser-media--primary-100-color-background group-hover:sd-7-0-0-next-3-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]
|
|
@@ -58,8 +58,8 @@ var SdTeaserMedia = class extends SolidElement {
|
|
|
58
58
|
this.open ? "opacity-100" : "opacity-0"
|
|
59
59
|
)}" part="expandable" aria-hidden="true"><slot name="expandable"></slot></div>${slots["teaser-has-expandable"] ? html`<button part="toggle" class="${cx(
|
|
60
60
|
"mt-2",
|
|
61
|
-
["primary", "gradient-dark"].includes(this.variant) ? "text-white" : "sd-7-0-0-next-
|
|
62
|
-
)}" @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-7-0-0-next-
|
|
61
|
+
["primary", "gradient-dark"].includes(this.variant) ? "text-white" : "sd-7-0-0-next-3-teaser-media-color-icon-fill"
|
|
62
|
+
)}" @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-7-0-0-next-3-icon class="${cx("w-6 h-6 transition-transform", this.open && "rotate-180")}" library="_internal" name="chevron-down"></sd-7-0-0-next-3-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>`;
|
|
63
63
|
}
|
|
64
64
|
};
|
|
65
65
|
SdTeaserMedia.styles = [
|
|
@@ -80,7 +80,7 @@ __decorateClass([
|
|
|
80
80
|
query('[part="base"]')
|
|
81
81
|
], SdTeaserMedia.prototype, "teaserMedia", 2);
|
|
82
82
|
SdTeaserMedia = __decorateClass([
|
|
83
|
-
customElement("sd-7-0-0-next-
|
|
83
|
+
customElement("sd-7-0-0-next-3-teaser-media")
|
|
84
84
|
], SdTeaserMedia);
|
|
85
85
|
|
|
86
86
|
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-7-0-0-next-
|
|
20
|
+
"sd-7-0-0-next-3-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-7-0-0-next-
|
|
37
|
+
customElement("sd-7-0-0-next-3-skeleton")
|
|
38
38
|
], SdSkeleton);
|
|
39
39
|
|
|
40
40
|
export {
|
|
@@ -98,7 +98,7 @@ var SdVideo = class extends SolidElement {
|
|
|
98
98
|
this.playing ? "opacity-0" : "opacity-100",
|
|
99
99
|
this.isBelowBreakpoint ? "w-[48px] h-[48px]" : "w-[96px] h-[96px]",
|
|
100
100
|
"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 p-4 bg-white/75 rounded-full play-pause-transition group-focus-visible:outline-2 group-focus-visible:outline-offset-2"
|
|
101
|
-
)}"><slot name="play-icon" part="play-icon" class="${cx(this.isBelowBreakpoint ? "text-[2rem]" : "text-[4rem]")}"><sd-7-0-0-next-
|
|
101
|
+
)}"><slot name="play-icon" part="play-icon" class="${cx(this.isBelowBreakpoint ? "text-[2rem]" : "text-[4rem]")}"><sd-7-0-0-next-3-icon id="default-play-icon" library="_internal" name="start"></sd-7-0-0-next-3-icon></slot></div></button> ${this.hasSlotController.test("poster") ? html`<div part="poster-wrapper" class="absolute left-0 top-0 w-full z-10 overflow-hidden"><slot name="poster" role="presentation"></slot></div>` : null}<slot></slot></div>`;
|
|
102
102
|
}
|
|
103
103
|
};
|
|
104
104
|
SdVideo.styles = [
|
|
@@ -116,7 +116,7 @@ __decorateClass([
|
|
|
116
116
|
property({ type: Boolean })
|
|
117
117
|
], SdVideo.prototype, "isBelowBreakpoint", 2);
|
|
118
118
|
SdVideo = __decorateClass([
|
|
119
|
-
customElement("sd-7-0-0-next-
|
|
119
|
+
customElement("sd-7-0-0-next-3-video")
|
|
120
120
|
], SdVideo);
|
|
121
121
|
|
|
122
122
|
export {
|
|
@@ -58,16 +58,16 @@ var SdMapMarker = class extends SolidElement {
|
|
|
58
58
|
this.variant === "cluster" && this.state === "hover" && "scale-110",
|
|
59
59
|
this.variant === "cluster" && !this.notInteractive && "transition-transform duration-fast ease-in-out hover:scale-110",
|
|
60
60
|
{
|
|
61
|
-
cluster: "sd-7-0-0-next-
|
|
61
|
+
cluster: "sd-7-0-0-next-3-map-marker--cluster-color-text",
|
|
62
62
|
main: "sd-color-fill-accent",
|
|
63
|
-
place: "sd-7-0-0-next-
|
|
63
|
+
place: "sd-7-0-0-next-3-map-marker--pin-color-text"
|
|
64
64
|
}[this.variant]
|
|
65
65
|
)}"><div id="motion-wrapper" part="motion-wrapper" class="${cx(
|
|
66
66
|
"absolute inset-0 overflow-hidden pointer-events-none",
|
|
67
67
|
{
|
|
68
|
-
cluster: "sd-7-0-0-next-
|
|
69
|
-
main: "sd-7-0-0-next-
|
|
70
|
-
place: "sd-7-0-0-next-
|
|
68
|
+
cluster: "sd-7-0-0-next-3-map-marker--cluster--default-color-background group-hover:sd-7-0-0-next-3-map-marker--cluster--hover-color-background",
|
|
69
|
+
main: "sd-7-0-0-next-3-map-marker--main-color-background",
|
|
70
|
+
place: "sd-7-0-0-next-3-map-marker--pin--default-color-background"
|
|
71
71
|
}[this.variant]
|
|
72
72
|
)}" style="mask-image:${mask};-webkit-mask-image:${mask}"><div class="${cx(
|
|
73
73
|
"absolute inset-0 transition-transform ease-in-out duration-fast translate-y-full group-hover:translate-y-0 group-active:translate-y-0",
|
|
@@ -77,15 +77,15 @@ var SdMapMarker = class extends SolidElement {
|
|
|
77
77
|
{
|
|
78
78
|
cluster: "",
|
|
79
79
|
main: this.state === "active" ? "bg-accent-700" : this.state === "hover" ? "bg-accent-550" : "group-hover:bg-accent-550 group-active:bg-accent-700",
|
|
80
|
-
place: this.state === "active" || this.state === "hover" ? "sd-7-0-0-next-
|
|
80
|
+
place: this.state === "active" || this.state === "hover" ? "sd-7-0-0-next-3-map-marker--pin--hover-color-background" : "group-active:bg-primary-200"
|
|
81
81
|
}[this.variant]
|
|
82
82
|
)}"></div></div>${this.variant === "main" ? html`<div id="marker-circle" class="absolute rounded-full"></div>` : ""}</div>${marker} ${this.variant === "cluster" ? html`<div id="cluster-border" class="${cx(
|
|
83
|
-
"absolute inset-0 sd-7-0-0-next-
|
|
84
|
-
this.state === "hover" && "sd-7-0-0-next-
|
|
83
|
+
"absolute inset-0 sd-7-0-0-next-3-map-marker--cluster--default-color-background rounded-full opacity-30 hover:sd-7-0-0-next-3-map-marker--cluster--hover-color-background",
|
|
84
|
+
this.state === "hover" && "sd-7-0-0-next-3-map-marker--cluster--hover-color-background"
|
|
85
85
|
)}"></div>` : ""}</div><div id="content" part="content" class="${cx(
|
|
86
86
|
"absolute self-center pointer-events-none",
|
|
87
|
-
this.variant === "cluster" && "font-bold sd-7-0-0-next-
|
|
88
|
-
this.variant === "place" && "font-bold sd-7-0-0-next-
|
|
87
|
+
this.variant === "cluster" && "font-bold sd-7-0-0-next-3-map-marker--cluster-color-text",
|
|
88
|
+
this.variant === "place" && "font-bold sd-7-0-0-next-3-map-marker--pin-color-text"
|
|
89
89
|
)}"><slot></slot></div></${tag}>`;
|
|
90
90
|
}
|
|
91
91
|
};
|
|
@@ -119,7 +119,7 @@ __decorateClass([
|
|
|
119
119
|
property({ reflect: true })
|
|
120
120
|
], SdMapMarker.prototype, "label", 2);
|
|
121
121
|
SdMapMarker = __decorateClass([
|
|
122
|
-
customElement("sd-7-0-0-next-
|
|
122
|
+
customElement("sd-7-0-0-next-3-map-marker")
|
|
123
123
|
], SdMapMarker);
|
|
124
124
|
|
|
125
125
|
export {
|
|
@@ -20,7 +20,7 @@ var SdRangeTick = class extends SolidElement {
|
|
|
20
20
|
this.subtick = false;
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
|
-
return html`<div part="base" class="${cx(this.subtick ? "w-0.25" : "w-0.5")}"><div part="line" class="${cx(this.subtick ? "h-2" : "h-[10px]")}"></div><div part="label" class="flex items-center justify-center text-center text-nowrap text-sm sd-7-0-0-next-
|
|
23
|
+
return html`<div part="base" class="${cx(this.subtick ? "w-0.25" : "w-0.5")}"><div part="line" class="${cx(this.subtick ? "h-2" : "h-[10px]")}"></div><div part="label" class="flex items-center justify-center text-center text-nowrap text-sm sd-7-0-0-next-3-range-scale-ticks-color-text"><slot></slot></div></div>`;
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
26
|
SdRangeTick.styles = [
|
|
@@ -32,7 +32,7 @@ __decorateClass([
|
|
|
32
32
|
property({ type: Boolean, reflect: true })
|
|
33
33
|
], SdRangeTick.prototype, "subtick", 2);
|
|
34
34
|
SdRangeTick = __decorateClass([
|
|
35
|
-
customElement("sd-7-0-0-next-
|
|
35
|
+
customElement("sd-7-0-0-next-3-range-tick")
|
|
36
36
|
], SdRangeTick);
|
|
37
37
|
|
|
38
38
|
export {
|