@solid-design-system/components 6.0.0-next.13 → 6.0.0-next.14
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.SOZMBJQS.js → chunk.PNNFETDE.js} +2 -2
- package/cdn/components/step/step.js +1 -1
- package/cdn/custom-elements.json +1 -1
- package/cdn/solid-components.bundle.js +1 -1
- package/cdn/solid-components.iife.js +1 -1
- package/cdn/solid-components.js +1 -1
- package/cdn/web-types.json +1 -1
- package/cdn-versioned/chunks/chunk.2YVFFSZ2.js +2 -2
- package/cdn-versioned/chunks/chunk.44VVOUNS.js +2 -2
- package/cdn-versioned/chunks/chunk.47MRK77Q.js +2 -2
- package/cdn-versioned/chunks/chunk.4B2UGI4Q.js +2 -2
- package/cdn-versioned/chunks/chunk.4BA5ZOGJ.js +2 -2
- package/cdn-versioned/chunks/chunk.4XOGRPML.js +2 -2
- package/cdn-versioned/chunks/chunk.4YIPRD2R.js +2 -2
- package/cdn-versioned/chunks/chunk.56CEBIDO.js +2 -2
- package/cdn-versioned/chunks/chunk.6K6UAUJB.js +2 -2
- package/cdn-versioned/chunks/chunk.6NT553UW.js +3 -3
- package/cdn-versioned/chunks/chunk.6YG52QHB.js +2 -2
- package/cdn-versioned/chunks/chunk.7CPADVOB.js +8 -8
- package/cdn-versioned/chunks/chunk.7FOCBEJX.js +2 -2
- package/cdn-versioned/chunks/chunk.AJWY5KT4.js +1 -1
- package/cdn-versioned/chunks/chunk.AQPYT3YS.js +2 -2
- package/cdn-versioned/chunks/chunk.BM3H7EWP.js +1 -1
- package/cdn-versioned/chunks/chunk.BNUZ66HV.js +2 -2
- package/cdn-versioned/chunks/chunk.CCBHAIEN.js +2 -2
- package/cdn-versioned/chunks/chunk.CDP46OS4.js +1 -1
- package/cdn-versioned/chunks/chunk.CMUYA4JA.js +2 -2
- package/cdn-versioned/chunks/chunk.CUX2GVLG.js +2 -2
- package/cdn-versioned/chunks/chunk.E2IHOEZ2.js +2 -2
- package/cdn-versioned/chunks/chunk.EPZHTJOD.js +2 -2
- package/cdn-versioned/chunks/chunk.FDIETORH.js +1 -1
- package/cdn-versioned/chunks/chunk.FGIDTNRY.js +2 -2
- package/cdn-versioned/chunks/chunk.FUFYA576.js +2 -2
- package/cdn-versioned/chunks/chunk.FZDWRR4M.js +2 -2
- package/cdn-versioned/chunks/chunk.H5OTIIDM.js +1 -1
- package/cdn-versioned/chunks/chunk.HW2XROMU.js +1 -1
- package/cdn-versioned/chunks/chunk.HXH2R7SD.js +2 -2
- package/cdn-versioned/chunks/chunk.JLPSMSYV.js +2 -2
- package/cdn-versioned/chunks/chunk.JS2HQ2N4.js +1 -1
- package/cdn-versioned/chunks/chunk.JV3CZSIV.js +2 -2
- package/cdn-versioned/chunks/chunk.K4PQBCFA.js +2 -2
- package/cdn-versioned/chunks/chunk.K5JMQ4UD.js +2 -2
- package/cdn-versioned/chunks/chunk.K647VAIN.js +2 -2
- package/cdn-versioned/chunks/chunk.KMYA4EDE.js +1 -1
- package/cdn-versioned/chunks/chunk.KOCOMSSL.js +2 -2
- package/cdn-versioned/chunks/chunk.N2D2FFWH.js +2 -2
- package/cdn-versioned/chunks/{chunk.SOZMBJQS.js → chunk.PNNFETDE.js} +2 -2
- package/cdn-versioned/chunks/chunk.PQLUBSLH.js +2 -2
- package/cdn-versioned/chunks/chunk.RY2KL7E3.js +1 -1
- package/cdn-versioned/chunks/chunk.SPW5M7X6.js +2 -2
- package/cdn-versioned/chunks/chunk.SQ7Q6ATD.js +2 -2
- package/cdn-versioned/chunks/chunk.T527FME4.js +2 -2
- package/cdn-versioned/chunks/chunk.TNXNTP3E.js +1 -1
- package/cdn-versioned/chunks/chunk.TQKGKW36.js +2 -2
- package/cdn-versioned/chunks/chunk.UHDNXYVU.js +1 -1
- package/cdn-versioned/chunks/chunk.V2RD6VHQ.js +3 -3
- package/cdn-versioned/chunks/chunk.V6OZYBBZ.js +2 -2
- package/cdn-versioned/chunks/chunk.VRBKTE6L.js +2 -2
- package/cdn-versioned/chunks/chunk.VVX7QSXX.js +2 -2
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.WDWBQF3Q.js +1 -1
- package/cdn-versioned/chunks/chunk.XM7DA5LT.js +5 -5
- package/cdn-versioned/chunks/chunk.XUSHLNK2.js +2 -2
- package/cdn-versioned/chunks/chunk.XVIS3URC.js +5 -5
- package/cdn-versioned/chunks/chunk.YFRDMK6W.js +2 -2
- package/cdn-versioned/chunks/chunk.YH3VRHVM.js +2 -2
- package/cdn-versioned/chunks/chunk.YYVAO5XU.js +2 -2
- package/cdn-versioned/chunks/chunk.ZRYG64PN.js +2 -2
- package/cdn-versioned/chunks/chunk.ZSTABGTZ.js +2 -2
- package/cdn-versioned/chunks/chunk.ZT3DQGPM.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-item/breadcrumb-item.d.ts +1 -1
- package/cdn-versioned/components/button/button.d.ts +1 -1
- package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
- package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
- package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
- package/cdn-versioned/components/datepicker/datepicker.d.ts +1 -1
- package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
- package/cdn-versioned/components/divider/divider.d.ts +1 -1
- package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
- package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
- package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/cdn-versioned/components/header/header.d.ts +1 -1
- package/cdn-versioned/components/icon/icon.d.ts +1 -1
- package/cdn-versioned/components/include/include.d.ts +1 -1
- package/cdn-versioned/components/input/input.d.ts +1 -1
- package/cdn-versioned/components/link/link.d.ts +1 -1
- package/cdn-versioned/components/loader/loader.d.ts +1 -1
- package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/cdn-versioned/components/menu/menu.d.ts +1 -1
- package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
- package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/cdn-versioned/components/notification/notification.d.ts +1 -1
- package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
- package/cdn-versioned/components/option/option.d.ts +1 -1
- package/cdn-versioned/components/popup/popup.d.ts +1 -1
- package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/cdn-versioned/components/radio/radio.d.ts +1 -1
- package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
- package/cdn-versioned/components/range/range.d.ts +1 -1
- package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
- package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/cdn-versioned/components/select/select.d.ts +1 -1
- package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
- package/cdn-versioned/components/step/step.d.ts +1 -1
- package/cdn-versioned/components/step/step.js +1 -1
- package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
- package/cdn-versioned/components/switch/switch.d.ts +1 -1
- package/cdn-versioned/components/tab/tab.d.ts +1 -1
- package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/cdn-versioned/components/tag/tag.d.ts +1 -1
- package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
- package/cdn-versioned/components/theme-listener/theme-listener.d.ts +1 -1
- package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/cdn-versioned/components/video/video.d.ts +1 -1
- package/cdn-versioned/custom-elements.json +248 -248
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +78 -78
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +78 -78
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +94 -94
- package/cdn-versioned/web-types.json +163 -163
- package/dist/chunks/{chunk.264U7CMA.js → chunk.TQFVQIUF.js} +1 -1
- package/dist/components/step/step.js +1 -1
- package/dist/custom-elements.json +1 -1
- package/dist/solid-components.js +1 -1
- package/dist/web-types.json +1 -1
- package/dist-versioned/chunks/chunk.2NCOG3MU.js +2 -2
- package/dist-versioned/chunks/chunk.342A5SCB.js +1 -1
- package/dist-versioned/chunks/chunk.36MFTGER.js +3 -3
- package/dist-versioned/chunks/chunk.3FNTXOOI.js +4 -4
- package/dist-versioned/chunks/chunk.52VGL2RV.js +2 -2
- package/dist-versioned/chunks/chunk.6AAIPQYI.js +3 -3
- package/dist-versioned/chunks/chunk.6E6VJJCZ.js +4 -4
- package/dist-versioned/chunks/chunk.723WXRZK.js +12 -12
- package/dist-versioned/chunks/chunk.7PCENRTO.js +12 -12
- package/dist-versioned/chunks/chunk.A7UPZVBX.js +4 -4
- package/dist-versioned/chunks/chunk.BPFUHSE6.js +4 -4
- package/dist-versioned/chunks/chunk.CCVS6SCT.js +4 -4
- package/dist-versioned/chunks/chunk.CREFZXWR.js +5 -5
- package/dist-versioned/chunks/chunk.CSMEO2UQ.js +8 -8
- package/dist-versioned/chunks/chunk.CSQ6UNT7.js +2 -2
- package/dist-versioned/chunks/chunk.DXTBP2P6.js +2 -2
- package/dist-versioned/chunks/chunk.DZS26LXZ.js +3 -3
- package/dist-versioned/chunks/chunk.ECSSDS7T.js +14 -14
- package/dist-versioned/chunks/chunk.EERHCK7O.js +6 -6
- package/dist-versioned/chunks/chunk.EMU4ZNFB.js +5 -5
- package/dist-versioned/chunks/chunk.GDO3P6PZ.js +1 -1
- package/dist-versioned/chunks/chunk.GP6R4ZF6.js +1 -1
- package/dist-versioned/chunks/chunk.HEU4LDJX.js +3 -3
- package/dist-versioned/chunks/chunk.HHTYBBNM.js +2 -2
- package/dist-versioned/chunks/chunk.HSMUS45Y.js +24 -24
- package/dist-versioned/chunks/chunk.HYD6CWKB.js +3 -3
- package/dist-versioned/chunks/chunk.ISASQGOE.js +11 -11
- package/dist-versioned/chunks/chunk.IUD4JFEG.js +24 -24
- package/dist-versioned/chunks/chunk.IXLKTULT.js +3 -3
- package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
- package/dist-versioned/chunks/chunk.KR3X7M5B.js +5 -5
- package/dist-versioned/chunks/chunk.KS4PRECL.js +4 -4
- package/dist-versioned/chunks/chunk.LGBFWOCJ.js +4 -4
- package/dist-versioned/chunks/chunk.LJIVAP6V.js +1 -1
- package/dist-versioned/chunks/chunk.LOVLLOYE.js +7 -7
- package/dist-versioned/chunks/chunk.MASJX3XP.js +1 -1
- package/dist-versioned/chunks/chunk.OC76JBYD.js +2 -2
- package/dist-versioned/chunks/chunk.OILA72IM.js +1 -1
- package/dist-versioned/chunks/chunk.Q57H4HOI.js +7 -7
- package/dist-versioned/chunks/chunk.QH2KLXTB.js +3 -3
- package/dist-versioned/chunks/chunk.QQX5RCHL.js +8 -8
- package/dist-versioned/chunks/chunk.QYZE4ARE.js +3 -3
- package/dist-versioned/chunks/chunk.SF447PE7.js +2 -2
- package/dist-versioned/chunks/chunk.SGCOHQSI.js +26 -26
- package/dist-versioned/chunks/chunk.SWXSBRRQ.js +2 -2
- package/dist-versioned/chunks/chunk.SYXN6E4T.js +1 -1
- package/dist-versioned/chunks/chunk.SZ7IRQY4.js +3 -3
- package/dist-versioned/chunks/{chunk.264U7CMA.js → chunk.TQFVQIUF.js} +4 -4
- package/dist-versioned/chunks/chunk.U2RRRJY3.js +4 -4
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/chunk.VBJNVPBU.js +1 -1
- package/dist-versioned/chunks/chunk.VLIPMAVX.js +6 -6
- package/dist-versioned/chunks/chunk.WLZ64OXQ.js +6 -6
- package/dist-versioned/chunks/chunk.WN5EV4N3.js +4 -4
- package/dist-versioned/chunks/chunk.WTA5BTJL.js +5 -5
- package/dist-versioned/chunks/chunk.XCQC3F3H.js +3 -3
- package/dist-versioned/chunks/chunk.XTHUPXCS.js +8 -8
- package/dist-versioned/chunks/chunk.XTNHNEFI.js +2 -2
- package/dist-versioned/chunks/chunk.YHJOW7S3.js +2 -2
- package/dist-versioned/chunks/chunk.YIIMAPVO.js +2 -2
- package/dist-versioned/chunks/chunk.YSE5ZECP.js +1 -1
- package/dist-versioned/chunks/chunk.Z32LVC6A.js +5 -5
- package/dist-versioned/chunks/chunk.ZHEFFMES.js +3 -3
- package/dist-versioned/components/accordion/accordion.d.ts +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/animation/animation.d.ts +1 -1
- package/dist-versioned/components/audio/audio.d.ts +1 -1
- package/dist-versioned/components/badge/badge.d.ts +1 -1
- package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
- package/dist-versioned/components/button/button.d.ts +1 -1
- package/dist-versioned/components/button-group/button-group.d.ts +1 -1
- package/dist-versioned/components/carousel/carousel.d.ts +1 -1
- package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist-versioned/components/combobox/combobox.d.ts +1 -1
- package/dist-versioned/components/datepicker/datepicker.d.ts +1 -1
- package/dist-versioned/components/dialog/dialog.d.ts +1 -1
- package/dist-versioned/components/divider/divider.d.ts +1 -1
- package/dist-versioned/components/drawer/drawer.d.ts +1 -1
- package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/dist-versioned/components/expandable/expandable.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/dist-versioned/components/header/header.d.ts +1 -1
- package/dist-versioned/components/icon/icon.d.ts +1 -1
- package/dist-versioned/components/include/include.d.ts +1 -1
- package/dist-versioned/components/input/input.d.ts +1 -1
- package/dist-versioned/components/link/link.d.ts +1 -1
- package/dist-versioned/components/loader/loader.d.ts +1 -1
- package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/dist-versioned/components/menu/menu.d.ts +1 -1
- package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
- package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/dist-versioned/components/notification/notification.d.ts +1 -1
- package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
- package/dist-versioned/components/option/option.d.ts +1 -1
- package/dist-versioned/components/popup/popup.d.ts +1 -1
- package/dist-versioned/components/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/spinner/spinner.d.ts +1 -1
- package/dist-versioned/components/step/step.d.ts +1 -1
- package/dist-versioned/components/step/step.js +1 -1
- package/dist-versioned/components/step-group/step-group.d.ts +1 -1
- package/dist-versioned/components/switch/switch.d.ts +1 -1
- package/dist-versioned/components/tab/tab.d.ts +1 -1
- package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/dist-versioned/components/tag/tag.d.ts +1 -1
- package/dist-versioned/components/textarea/textarea.d.ts +1 -1
- package/dist-versioned/components/theme-listener/theme-listener.d.ts +1 -1
- package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/custom-elements.json +248 -248
- package/dist-versioned/internal/form.js +3 -3
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +1 -1
- package/dist-versioned/vscode.html-custom-data.json +94 -94
- package/dist-versioned/web-types.json +163 -163
- package/package.json +1 -1
|
@@ -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-6-0-0-next-
|
|
13
|
+
const popup = document.createElement("sd-6-0-0-next-14-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.1.14 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
26
|
-
sd-6-0-0-next-
|
|
26
|
+
sd-6-0-0-next-14-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-6-0-0-next-14-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-6-0-0-next-14-popup li:hover:not([disabled]){background-color:rgba(var(--sd-color-background-neutral-100))}sd-6-0-0-next-14-popup li{list-style-type:''}sd-6-0-0-next-14-popup li mark{background-color:transparent;--tw-font-weight:var(--sd-font-weight-bold);font-weight:var(--sd-font-weight-bold)}sd-6-0-0-next-14-popup li:not(:has(sd-6-0-0-next-14-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-6-0-0-next-14-popup li:not(:has(sd-6-0-0-next-14-option)):hover{background-color:rgba(var(--sd-color-background-neutral-200))}sd-6-0-0-next-14-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-6-0-0-next-13-popup::part(popup){z-index:var(--sd-z-index-dropdown,900);overf
|
|
|
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-6-0-0-next-
|
|
39
|
+
(_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-6-0-0-next-14-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-6-0-0-next-
|
|
45
|
+
(_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-6-0-0-next-14-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
|
});
|
|
@@ -32,7 +32,7 @@ var SdDatepicker = class extends SolidElement {
|
|
|
32
32
|
this.localize = new LocalizeController(this);
|
|
33
33
|
this.hasSlotController = new HasSlotController(this, "label", "help-text", "tooltip");
|
|
34
34
|
this.formControlController = new FormControlController(this, {
|
|
35
|
-
assumeInteractionOn: ["sd-blur", "sd-6-0-0-next-
|
|
35
|
+
assumeInteractionOn: ["sd-blur", "sd-6-0-0-next-14-input"]
|
|
36
36
|
});
|
|
37
37
|
this.locale = "en-US";
|
|
38
38
|
this.value = null;
|
|
@@ -1132,7 +1132,7 @@ var SdDatepicker = class extends SolidElement {
|
|
|
1132
1132
|
return DateUtils.isBetweenInclusive(day, rs, pe);
|
|
1133
1133
|
};
|
|
1134
1134
|
const tabTarget = this.getTabTargetDayForCurrentView(weeks);
|
|
1135
|
-
return html`<div part="datepicker" class="w-[284px] z-50 absolute top-full bg-white border-2 border-t-0 border-primary py-3 px-4 ${this.open ? "block rounded-bl-default rounded-br-default" : "hidden"} ${this.alignment === "left" ? "left-0" : "right-0"}"><div class="flex flex-row items-center w-full justify-between mb-3" part="header"><div class="flex items-center"><button type="button" tabindex="0" class="nav prev w-6 h-6 hover:cursor-pointer sd-interactive" part="prev-year-button" @click="${() => this.setYear(-1)}" @keydown="${(ev) => this.handleHeaderKeyDown(ev, "year", -1, false)}" aria-label="${this.localize.term("previousYear")}"><sd-6-0-0-next-
|
|
1135
|
+
return html`<div part="datepicker" class="w-[284px] z-50 absolute top-full bg-white border-2 border-t-0 border-primary py-3 px-4 ${this.open ? "block rounded-bl-default rounded-br-default" : "hidden"} ${this.alignment === "left" ? "left-0" : "right-0"}"><div class="flex flex-row items-center w-full justify-between mb-3" part="header"><div class="flex items-center"><button type="button" tabindex="0" class="nav prev w-6 h-6 hover:cursor-pointer sd-interactive" part="prev-year-button" @click="${() => this.setYear(-1)}" @keydown="${(ev) => this.handleHeaderKeyDown(ev, "year", -1, false)}" aria-label="${this.localize.term("previousYear")}"><sd-6-0-0-next-14-icon library="_internal" name="chevrons-sm-left" class="h-6 w-6"></sd-6-0-0-next-14-icon></button> <button type="button" tabindex="0" class="nav prev w-6 h-6 hover:cursor-pointer sd-interactive" part="prev-month-button" @click="${() => this.setMonth(-1)}" @keydown="${(ev) => this.handleHeaderKeyDown(ev, "month", -1, false)}" aria-label="${this.localize.term("previousMonth")}"><sd-6-0-0-next-14-icon library="_internal" name="chevron-sm-left" class="h-6 w-6"></sd-6-0-0-next-14-icon></button></div><div tabindex="-1" class="month-label flex justify-center sd-headline sd-headline--size-base !text-primary" part="month-label" aria-live="polite">${monthLabel}</div><div class="flex items-center"><button type="button" tabindex="0" class="nav next w-6 h-6 hover:cursor-pointer sd-interactive" part="next-month-button" @click="${() => this.setMonth(1)}" @keydown="${(ev) => this.handleHeaderKeyDown(ev, "month", 1, false)}" aria-label="${this.localize.term("nextMonth")}"><sd-6-0-0-next-14-icon library="_internal" name="chevron-sm-right" class="h-6 w-6"></sd-6-0-0-next-14-icon></button> <button type="button" tabindex="0" class="nav next w-6 h-6 hover:cursor-pointer sd-interactive" part="next-year-button" @click="${() => this.setYear(1)}" @keydown="${(ev) => this.handleHeaderKeyDown(ev, "year", 1, true)}" aria-label="${this.localize.term("nextYear")}"><sd-6-0-0-next-14-icon library="_internal" name="chevrons-sm-right" class="h-6 w-6"></sd-6-0-0-next-14-icon></button></div></div><sd-6-0-0-next-14-divider></sd-6-0-0-next-14-divider><div class="sr-only" aria-live="polite" aria-atomic="true">${this.statusNavText}</div><div class="sr-only" aria-live="assertive" aria-atomic="true">${this.statusSelectText}</div><div class="sr-only" id="keyboard-hint">${this.localize.term("datePickerInfo")}</div><div class="grid mt-2" role="grid" aria-describedby="keyboard-hint" aria-label="${monthLabel}" part="grid" @mouseleave="${this.onGridMouseLeave}" @focusin="${() => {
|
|
1136
1136
|
this.tabbingIntoGrid = false;
|
|
1137
1137
|
}}"><div class="grid-row grid-head grid grid-cols-7 gap-y-[1px]" role="row">${weekdays.map(
|
|
1138
1138
|
(w, colIndex) => html`<div role="columnheader" aria-colindex="${colIndex + 1}" part="weekday" class="cell head flex items-center justify-center font-bold text-black text-sm leading-none h-8" aria-label="${w}" title="${w}" id="${"col-" + (colIndex + 1)}">${w}</div>`
|
|
@@ -1216,7 +1216,7 @@ var SdDatepicker = class extends SolidElement {
|
|
|
1216
1216
|
borderColor,
|
|
1217
1217
|
this.open && this.alignment === "left" ? "rounded-bl-none" : "",
|
|
1218
1218
|
this.open && this.alignment === "right" ? "rounded-br-none" : ""
|
|
1219
|
-
)}"></div><sd-6-0-0-next-
|
|
1219
|
+
)}"></div><sd-6-0-0-next-14-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${cx("inline-flex relative w-full")}" sync="width" auto-size="vertical" auto-size-padding="10" exportparts="popup:popup__content,"><div part="base" class="${cx(
|
|
1220
1220
|
"px-4 flex flex-row items-center rounded-default transition-colors ease-in-out duration-medium hover:duration-fast w-full",
|
|
1221
1221
|
!this.disabled && !this.readonly && !this.visuallyDisabled ? "hover:bg-neutral-200" : "",
|
|
1222
1222
|
this.readonly ? "bg-neutral-100" : "bg-white",
|
|
@@ -1226,7 +1226,7 @@ var SdDatepicker = class extends SolidElement {
|
|
|
1226
1226
|
this.visuallyDisabled || this.disabled ? "placeholder-neutral-500 cursor-not-allowed" : "placeholder-neutral-700",
|
|
1227
1227
|
{ sm: "h-8", md: "h-10", lg: "h-12" }[this.size],
|
|
1228
1228
|
textSize
|
|
1229
|
-
)}" placeholder="${this.placeholder || this.localize.term(this.range ? "dateRangePlaceholder" : "datePlaceholder")}" ?disabled="${this.disabled || this.disabled}" ?readonly="${this.readonly}" @input="${this.handleInput}" @click="${this.handleMouseDown}" @keydown="${this.handleInputKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleInputBlur}" @invalid="${this.handleInvalid}"> ${this.showInvalidStyle ? html`<sd-6-0-0-next-
|
|
1229
|
+
)}" placeholder="${this.placeholder || this.localize.term(this.range ? "dateRangePlaceholder" : "datePlaceholder")}" ?disabled="${this.disabled || this.disabled}" ?readonly="${this.readonly}" @input="${this.handleInput}" @click="${this.handleMouseDown}" @keydown="${this.handleInputKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleInputBlur}" @invalid="${this.handleInvalid}"> ${this.showInvalidStyle ? html`<sd-6-0-0-next-14-icon part="invalid-icon" class="${cx("text-error", iconMarginLeft, iconSize)}" library="_internal" name="risk"></sd-6-0-0-next-14-icon>` : ""} ${this.showValidStyle && this.styleOnValid ? html`<sd-6-0-0-next-14-icon class="${cx("text-success flex-shrink-0", iconMarginLeft, iconSize)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-6-0-0-next-14-icon>` : ""}<sd-6-0-0-next-14-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="_internal" name="calendar"></sd-6-0-0-next-14-icon>${this.renderCalendar()}</div></sd-6-0-0-next-14-popup></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx("text-sm text-neutral-700 mt-1", hasHelpText ? "block" : "hidden")}" aria-hidden="${!hasHelpText}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`;
|
|
1230
1230
|
}
|
|
1231
1231
|
};
|
|
1232
1232
|
SdDatepicker.styles = [
|
|
@@ -1368,7 +1368,7 @@ __decorateClass([
|
|
|
1368
1368
|
watch(["disabled", "visually-disabled"], { waitUntilFirstUpdate: true })
|
|
1369
1369
|
], SdDatepicker.prototype, "handleDisabledChange", 1);
|
|
1370
1370
|
SdDatepicker = __decorateClass([
|
|
1371
|
-
customElement("sd-6-0-0-next-
|
|
1371
|
+
customElement("sd-6-0-0-next-14-datepicker")
|
|
1372
1372
|
], SdDatepicker);
|
|
1373
1373
|
|
|
1374
1374
|
export {
|
|
@@ -15,7 +15,7 @@ var FormControlController = class {
|
|
|
15
15
|
const disabled = this.options.disabled(this.host);
|
|
16
16
|
const name = this.options.name(this.host);
|
|
17
17
|
const value = this.options.value(this.host);
|
|
18
|
-
const isButton = this.host.tagName.toLowerCase() === "sd-6-0-0-next-
|
|
18
|
+
const isButton = this.host.tagName.toLowerCase() === "sd-6-0-0-next-14-button";
|
|
19
19
|
if (!disabled && !isButton && typeof name === "string" && name.length > 0 && typeof value !== "undefined") {
|
|
20
20
|
if (Array.isArray(value)) {
|
|
21
21
|
value.forEach((val) => {
|
|
@@ -40,7 +40,7 @@ var FormControlController = class {
|
|
|
40
40
|
event.stopImmediatePropagation();
|
|
41
41
|
const invalidElements = (_b = this.form) == null ? void 0 : _b.querySelectorAll("[data-invalid]");
|
|
42
42
|
const sdRadioGroups = Array.from(invalidElements).filter(
|
|
43
|
-
(element) => element.tagName.toLowerCase() === "sd-6-0-0-next-
|
|
43
|
+
(element) => element.tagName.toLowerCase() === "sd-6-0-0-next-14-radio-group"
|
|
44
44
|
);
|
|
45
45
|
sdRadioGroups.forEach((radioGroup) => {
|
|
46
46
|
var _a2, _b2;
|
|
@@ -88,7 +88,7 @@ var FormControlController = class {
|
|
|
88
88
|
},
|
|
89
89
|
reportValidity: (input) => typeof input.reportValidity === "function" ? input.reportValidity() : true,
|
|
90
90
|
setValue: (input, value) => input.value = value,
|
|
91
|
-
assumeInteractionOn: ["sd-6-0-0-next-
|
|
91
|
+
assumeInteractionOn: ["sd-6-0-0-next-14-input"]
|
|
92
92
|
}, options);
|
|
93
93
|
}
|
|
94
94
|
hostConnected() {
|
|
@@ -210,21 +210,21 @@ var SdNotification = class extends SolidElement {
|
|
|
210
210
|
warning: "bg-warning",
|
|
211
211
|
error: "bg-error"
|
|
212
212
|
}[this.variant]
|
|
213
|
-
)}"><sd-6-0-0-next-
|
|
213
|
+
)}"><sd-6-0-0-next-14-icon name="${{
|
|
214
214
|
info: "info-circle",
|
|
215
215
|
success: "confirm-circle",
|
|
216
216
|
warning: "exclamation-circle",
|
|
217
217
|
error: "warning"
|
|
218
|
-
}[this.variant] || ""}" library="_internal" class="h-6 w-6 text-white"></sd-6-0-0-next-
|
|
218
|
+
}[this.variant] || ""}" library="_internal" class="h-6 w-6 text-white"></sd-6-0-0-next-14-icon></slot><div part="content" class="${cx(
|
|
219
219
|
"h-full w-full p-1 gap-2 flex items-center justify-stretch bg-white",
|
|
220
220
|
"border-solid border-[1px] border-l-0 border-neutral-400",
|
|
221
221
|
{
|
|
222
|
-
info: "sd-6-0-0-next-
|
|
223
|
-
success: "sd-6-0-0-next-
|
|
224
|
-
warning: "sd-6-0-0-next-
|
|
225
|
-
error: "sd-6-0-0-next-
|
|
222
|
+
info: "sd-6-0-0-next-14-notification--info-color-background",
|
|
223
|
+
success: "sd-6-0-0-next-14-notification--success-color-background",
|
|
224
|
+
warning: "sd-6-0-0-next-14-notification--warning-color-background",
|
|
225
|
+
error: "sd-6-0-0-next-14-notification--error-color-background"
|
|
226
226
|
}[this.variant]
|
|
227
|
-
)}"><slot id="message" part="message" class="block w-full pl-3 py-2"></slot>${this.closable ? html`<sd-6-0-0-next-
|
|
227
|
+
)}"><slot id="message" part="message" class="block w-full pl-3 py-2"></slot>${this.closable ? html`<sd-6-0-0-next-14-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" @click="${this.handleCloseClick}"><sd-6-0-0-next-14-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-6-0-0-next-14-icon></sd-6-0-0-next-14-button>` : ""}</div>${this.durationIndicator ? html`<div part="duration-indicator__elapsed" id="duration-indicator__elapsed" style="${`animation-duration: ${this.duration}ms`}" class="${cx(`absolute w-0 h-[2px] bottom-0 bg-primary z-10 animate-grow`)}"></div><div part="duration-indicator__total" class="w-full h-[2px] bottom-0 absolute border border-neutral-400"></div>` : ""}</div></div>`;
|
|
228
228
|
}
|
|
229
229
|
};
|
|
230
230
|
/**
|
|
@@ -269,7 +269,7 @@ __decorateClass([
|
|
|
269
269
|
watch("duration")
|
|
270
270
|
], SdNotification.prototype, "handleDurationChange", 1);
|
|
271
271
|
SdNotification = __decorateClass([
|
|
272
|
-
customElement("sd-6-0-0-next-
|
|
272
|
+
customElement("sd-6-0-0-next-14-notification")
|
|
273
273
|
], SdNotification);
|
|
274
274
|
setDefaultAnimation("notification.show", {
|
|
275
275
|
keyframes: [
|
|
@@ -94,7 +94,7 @@ var SdExpandable = class extends SolidElement {
|
|
|
94
94
|
)}" @click="${this.onToggleClick}" aria-expanded="${this.open}"><div class="${cx("h-full justify-center w-full text-base flex items-center toggle")}"><span part="toggle-icon" class="${cx(
|
|
95
95
|
"flex items-center mr-2 transition-transform duration-medium ease-in-out",
|
|
96
96
|
this.open && "rotate-180"
|
|
97
|
-
)}"><slot name="expand-icon" class="${cx(this.open && "hidden")}"><sd-6-0-0-next-
|
|
97
|
+
)}"><slot name="expand-icon" class="${cx(this.open && "hidden")}"><sd-6-0-0-next-14-icon library="_internal" name="chevron-down" class="text-xl"></sd-6-0-0-next-14-icon></slot><slot name="collapse-icon" class="${cx(!this.open && "hidden")}"><sd-6-0-0-next-14-icon library="_internal" name="chevron-down" class="text-xl"></sd-6-0-0-next-14-icon></slot></span><slot name="toggle-closed" class="${cx(this.open && "hidden")}">${this.localize.term("showMore")}</slot><slot name="toggle-open" class="${cx(!this.open && "hidden")}">${this.localize.term("showLess")}</slot></div></button><details part="details" ?inert="${ifDefined(!this.open)}"><summary part="summary" aria-hidden="true" class="cursor-pointer overflow-hidden list-none"><slot name="clone"></slot></summary><div part="content" class="content content-preview overflow-hidden relative"><slot></slot></div></details></div>`;
|
|
98
98
|
}
|
|
99
99
|
firstUpdated() {
|
|
100
100
|
this.cloneContentToLightDOM();
|
|
@@ -139,7 +139,7 @@ __decorateClass([
|
|
|
139
139
|
watch("open", { waitUntilFirstUpdate: true })
|
|
140
140
|
], SdExpandable.prototype, "onOpenChange", 1);
|
|
141
141
|
SdExpandable = __decorateClass([
|
|
142
|
-
customElement("sd-6-0-0-next-
|
|
142
|
+
customElement("sd-6-0-0-next-14-expandable")
|
|
143
143
|
], SdExpandable);
|
|
144
144
|
setDefaultAnimation("expandable.show", {
|
|
145
145
|
keyframes: [{ height: "var(--component-expandable-max-block-size, 90px)" }, { height: "auto" }],
|
|
@@ -84,7 +84,7 @@ var SdLink = class extends SolidElement {
|
|
|
84
84
|
SdLink.styles = [
|
|
85
85
|
...SolidElement.styles,
|
|
86
86
|
css`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
87
|
-
::slotted(sd-6-0-0-next-
|
|
87
|
+
::slotted(sd-6-0-0-next-14-icon){font-size:1.25em;margin-bottom:-.25em}:host([size=sm][standalone]) ::slotted(sd-6-0-0-next-14-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-0-0-next-14-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-0-0-next-
|
|
114
|
+
customElement("sd-6-0-0-next-14-link")
|
|
115
115
|
], SdLink);
|
|
116
116
|
|
|
117
117
|
export {
|
|
@@ -54,7 +54,7 @@ var SdHeader = class extends SolidElement {
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
|
-
return html`<header class="w-full sd-6-0-0-next-
|
|
57
|
+
return html`<header class="w-full sd-6-0-0-next-14-header-color-background relative" role="banner"><div part="main" class="relative mx-auto my-0 box-border"><slot></slot></div></header>`;
|
|
58
58
|
}
|
|
59
59
|
};
|
|
60
60
|
SdHeader.styles = [
|
|
@@ -72,7 +72,7 @@ __decorateClass([
|
|
|
72
72
|
debounce(100)
|
|
73
73
|
], SdHeader.prototype, "updateCalculatedHeight", 1);
|
|
74
74
|
SdHeader = __decorateClass([
|
|
75
|
-
customElement("sd-6-0-0-next-
|
|
75
|
+
customElement("sd-6-0-0-next-14-header")
|
|
76
76
|
], SdHeader);
|
|
77
77
|
|
|
78
78
|
export {
|
|
@@ -135,15 +135,15 @@ var SdAccordion = class extends SolidElement {
|
|
|
135
135
|
}
|
|
136
136
|
render() {
|
|
137
137
|
return html`<details part="base" class="border-neutral-400"><summary part="header" id="header" class="${cx(
|
|
138
|
-
"flex text-base gap-4 font-bold items-center cursor-pointer select-none px-4 sd-6-0-0-next-
|
|
139
|
-
this.open && "sd-6-0-0-next-
|
|
138
|
+
"flex text-base gap-4 font-bold items-center cursor-pointer select-none px-4 sd-6-0-0-next-14-accordion-padding-block focus-visible:focus-outline focus-visible:z-10 sd-6-0-0-next-14-accordion-color-text relative group transition-colors ease-in-out duration-fast hover:bg-neutral-200",
|
|
139
|
+
this.open && "sd-6-0-0-next-14-accordion-color-background"
|
|
140
140
|
)}" aria-expanded="${this.open ? "true" : "false"}" aria-controls="content" tabindex="0" @click="${this.handleSummaryClick}" @keydown="${this.handleSummaryKeyDown}"><div part="summary-border" class="${cx(
|
|
141
141
|
!this.open && "opacity-0",
|
|
142
|
-
"w-1 sd-6-0-0-next-
|
|
142
|
+
"w-1 sd-6-0-0-next-14-accordion__indicator-color absolute left-0 transition-height duration-fast ease-in-out h-[calc(100%-16px)] group-hover:h-full"
|
|
143
143
|
)}"></div><slot name="summary" part="summary" class="flex flex-auto items-center text-left">${this.summary}</slot><span part="summary-icon" class="${cx(
|
|
144
144
|
"flex flex-grow-0 flex-shrink-0 flex-auto items-center transition-all ease-in-out duration-medium text-xl",
|
|
145
145
|
this.open && "rotate-180"
|
|
146
|
-
)}"><slot name="expand-icon" class="${cx(this.open && "hidden")}"><sd-6-0-0-next-
|
|
146
|
+
)}"><slot name="expand-icon" class="${cx(this.open && "hidden")}"><sd-6-0-0-next-14-icon library="_internal" name="chevron-down"></sd-6-0-0-next-14-icon></slot><slot name="collapse-icon" class="${cx(!this.open && "hidden")}"><sd-6-0-0-next-14-icon library="_internal" name="chevron-down"></sd-6-0-0-next-14-icon></slot></span></summary><div part="content" id="content" class="overflow-hidden"><slot part="content__slot" class="block px-4 py-6" role="region" aria-labelledby="header"></slot></div></details>`;
|
|
147
147
|
}
|
|
148
148
|
};
|
|
149
149
|
SdAccordion.styles = [
|
|
@@ -170,7 +170,7 @@ __decorateClass([
|
|
|
170
170
|
watch("open", { waitUntilFirstUpdate: true })
|
|
171
171
|
], SdAccordion.prototype, "handleOpenChange", 1);
|
|
172
172
|
SdAccordion = __decorateClass([
|
|
173
|
-
customElement("sd-6-0-0-next-
|
|
173
|
+
customElement("sd-6-0-0-next-14-accordion")
|
|
174
174
|
], SdAccordion);
|
|
175
175
|
setDefaultAnimation("accordion.show", {
|
|
176
176
|
keyframes: [
|
|
@@ -386,7 +386,7 @@ var SdInput = class extends SolidElement {
|
|
|
386
386
|
this.size === "sm" ? "h-6" : "h-8",
|
|
387
387
|
textSize
|
|
388
388
|
)}" type="${this.type === "password" && this.passwordVisible ? "text" : this.type}" title="${this.title}" name="${ifDefined(this.name)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" placeholder="${ifDefined(this.placeholder)}" minlength="${ifDefined(this.minlength)}" maxlength="${ifDefined(this.maxlength)}" min="${ifDefined(this.min)}" max="${ifDefined(this.max)}" step="${ifDefined(this.step)}" .value="${live(this.value)}" autocapitalize="${ifDefined(this.type === "password" ? "off" : this.autocapitalize)}" autocomplete="${// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
389
|
-
ifDefined(this.autocomplete)}" autocorrect="${ifDefined(this.type === "password" ? "off" : this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${ifDefined(this.pattern)}" enterkeyhint="${ifDefined(this.enterkeyhint)}" inputmode="${ifDefined(this.inputmode)}" aria-describedby="help-text invalid-message" aria-disabled="${this.visuallyDisabled || this.disabled ? "true" : "false"}" aria-invalid="${this.showInvalidStyle}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @keydown="${this.handleKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${hasClearIcon ? html`<button part="clear-button" class="${cx("flex justify-center", iconMarginLeft)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-6-0-0-next-
|
|
389
|
+
ifDefined(this.autocomplete)}" autocorrect="${ifDefined(this.type === "password" ? "off" : this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${ifDefined(this.pattern)}" enterkeyhint="${ifDefined(this.enterkeyhint)}" inputmode="${ifDefined(this.inputmode)}" aria-describedby="help-text invalid-message" aria-disabled="${this.visuallyDisabled || this.disabled ? "true" : "false"}" aria-invalid="${this.showInvalidStyle}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @keydown="${this.handleKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${hasClearIcon ? html`<button part="clear-button" class="${cx("flex justify-center", iconMarginLeft)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-6-0-0-next-14-icon class="${cx("text-neutral-700", iconSize)}" library="_internal" name="closing-round"></sd-6-0-0-next-14-icon></slot></button>` : ""} ${this.passwordToggle && this.type === "password" ? html`<button aria-label="${this.localize.term(this.passwordVisible ? "hidePassword" : "showPassword")}" part="password-toggle-button" class="${cx("flex items-center sd-interactive", iconMarginLeft)}" type="button" @click="${this.handlePasswordToggle}">${this.passwordVisible ? html`<slot name="show-password-icon"><sd-6-0-0-next-14-icon class="${cx(iconColor, iconSize)}" library="_internal" name="eye"></sd-6-0-0-next-14-icon></slot>` : html`<slot name="hide-password-icon"><sd-6-0-0-next-14-icon class="${cx(iconColor, iconSize)}" library="_internal" name="eye-crossed-out"></sd-6-0-0-next-14-icon></slot>`}</button>` : ""} ${(this.type === "date" || this.type === "datetime-local") && !isFirefox ? html`<sd-6-0-0-next-14-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="_internal" name="calendar"></sd-6-0-0-next-14-icon>` : ""} ${this.type === "time" ? html`<sd-6-0-0-next-14-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="_internal" name="clock"></sd-6-0-0-next-14-icon>` : ""} ${this.type === "search" ? html`<button class="${cx("flex items-center sd-interactive", iconMarginLeft)}" type="button" @click="${this.handleSearchClick}"><sd-6-0-0-next-14-icon class="${cx(iconColor, iconSize)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-6-0-0-next-14-icon></button>` : ""} ${this.showInvalidStyle ? html`<sd-6-0-0-next-14-icon part="invalid-icon" class="${cx("text-error", iconMarginLeft, iconSize)}" library="_internal" name="risk"></sd-6-0-0-next-14-icon>` : ""} ${this.showValidStyle && this.styleOnValid ? html`<sd-6-0-0-next-14-icon class="${cx("text-success flex-shrink-0", iconMarginLeft, iconSize)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-6-0-0-next-14-icon>` : ""} ${slots["right"] ? html`<slot name="right" part="right" class="${cx("inline-flex", iconColor, iconMarginLeft, iconSize)}"></slot>` : ""} ${this.type === "number" && this.spinButtons ? html`<div part="stepper" class="flex items-center"><button part="decrement-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isDecrementDisabled()}" aria-hidden="true" ${longPress({ start: () => this.handleStepDown(), end: () => this.handleChange() })} tabindex="-1"><slot name="decrement-number-stepper"><sd-6-0-0-next-14-icon library="_internal" name="minus-circle" label="Decrease value" class="${cx(iconColor, iconMarginLeft, iconSize)}"></sd-6-0-0-next-14-icon></slot></button> <button part="increment-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isIncrementDisabled()}" aria-hidden="true" ${longPress({ start: () => this.handleStepUp(), end: () => this.handleChange() })} tabindex="-1"><slot name="increment-number-stepper"><sd-6-0-0-next-14-icon library="_internal" name="plus-circle" label="Decrease value" class="${cx(iconColor, iconMarginLeft, iconSize)}"></sd-6-0-0-next-14-icon></slot></button></div>` : ""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx("text-sm text-neutral-700 mt-1", hasHelpText ? "block" : "hidden")}" aria-hidden="${!hasHelpText}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`;
|
|
390
390
|
}
|
|
391
391
|
};
|
|
392
392
|
/**
|
|
@@ -395,7 +395,7 @@ var SdInput = class extends SolidElement {
|
|
|
395
395
|
SdInput.styles = [
|
|
396
396
|
...SolidElement.styles,
|
|
397
397
|
css`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
398
|
-
:host{position:relative;box-sizing:border-box;display:inline-block;width:100%;text-align:left}:host([vertical]){display:block}:host([required]) #label::after{content:' *'}:host([visually-disabled]) input{caret-color:transparent}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.stepper-button[disabled] sd-6-0-0-next-
|
|
398
|
+
:host{position:relative;box-sizing:border-box;display:inline-block;width:100%;text-align:left}:host([vertical]){display:block}:host([required]) #label::after{content:' *'}:host([visually-disabled]) input{caret-color:transparent}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.stepper-button[disabled] sd-6-0-0-next-14-icon{color:rgba(var(--sd-color-text-neutral-500))}`
|
|
399
399
|
];
|
|
400
400
|
__decorateClass([
|
|
401
401
|
query("#input")
|
|
@@ -525,7 +525,7 @@ __decorateClass([
|
|
|
525
525
|
watch("value", { waitUntilFirstUpdate: true })
|
|
526
526
|
], SdInput.prototype, "handleValueChange", 1);
|
|
527
527
|
SdInput = __decorateClass([
|
|
528
|
-
customElement("sd-6-0-0-next-
|
|
528
|
+
customElement("sd-6-0-0-next-14-input")
|
|
529
529
|
], SdInput);
|
|
530
530
|
|
|
531
531
|
export {
|