@solid-design-system/components 6.22.0 → 6.22.1
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.23WKPZET.js +1 -0
- package/cdn/chunks/chunk.AHMUV4CN.js +2 -0
- package/cdn/components/datepicker/datepicker-converters.d.ts +12 -0
- package/cdn/components/datepicker/datepicker-converters.js +1 -0
- package/cdn/components/datepicker/datepicker.js +1 -1
- package/cdn/custom-elements.json +1767 -1483
- package/cdn/solid-components.bundle.js +28 -28
- package/cdn/solid-components.iife.js +27 -27
- package/cdn/solid-components.js +1 -1
- package/cdn/vscode.html-custom-data.json +159 -159
- package/cdn/web-types.json +642 -564
- package/cdn-versioned/chunks/chunk.23WKPZET.js +1 -0
- package/cdn-versioned/chunks/chunk.2IFJTWWI.js +2 -2
- package/cdn-versioned/chunks/chunk.2Q64C7PW.js +2 -2
- package/cdn-versioned/chunks/chunk.2SEVUMWS.js +2 -2
- package/cdn-versioned/chunks/chunk.2UC7ID2H.js +2 -2
- package/cdn-versioned/chunks/chunk.3UAQXMAF.js +2 -2
- package/cdn-versioned/chunks/chunk.4LLZ2ILW.js +2 -2
- package/cdn-versioned/chunks/chunk.4OE2TU3Y.js +2 -2
- package/cdn-versioned/chunks/chunk.5CJ4UEYT.js +2 -2
- package/cdn-versioned/chunks/chunk.6HSHV3NX.js +3 -3
- package/cdn-versioned/chunks/chunk.6PB7EWTQ.js +1 -1
- package/cdn-versioned/chunks/chunk.7DKBOZJU.js +2 -2
- package/cdn-versioned/chunks/chunk.7LZHW3Q5.js +1 -1
- package/cdn-versioned/chunks/chunk.AGTHQN5U.js +2 -2
- package/cdn-versioned/chunks/chunk.AHMUV4CN.js +2 -0
- package/cdn-versioned/chunks/chunk.AO2OON4N.js +5 -5
- package/cdn-versioned/chunks/chunk.APOMDHNP.js +1 -1
- package/cdn-versioned/chunks/chunk.BOWHXMXY.js +2 -2
- package/cdn-versioned/chunks/chunk.BS3GY6J5.js +5 -5
- package/cdn-versioned/chunks/chunk.CW7N5I3S.js +2 -2
- package/cdn-versioned/chunks/chunk.CXFLSM56.js +2 -2
- package/cdn-versioned/chunks/chunk.D4SBGWDF.js +2 -2
- package/cdn-versioned/chunks/chunk.DDU5T7TW.js +2 -2
- package/cdn-versioned/chunks/chunk.DSKB3SEU.js +1 -1
- package/cdn-versioned/chunks/chunk.E3RBLJOD.js +2 -2
- package/cdn-versioned/chunks/chunk.EBMYXBFR.js +2 -2
- package/cdn-versioned/chunks/chunk.EDP2BY4Q.js +1 -1
- package/cdn-versioned/chunks/chunk.ENE5YY4Y.js +9 -9
- package/cdn-versioned/chunks/chunk.EPVQ4QAS.js +2 -2
- package/cdn-versioned/chunks/chunk.ES62UWOT.js +2 -2
- package/cdn-versioned/chunks/chunk.FEXFNF27.js +2 -2
- package/cdn-versioned/chunks/chunk.GXY2VZH2.js +2 -2
- package/cdn-versioned/chunks/chunk.ICWUJ66F.js +2 -2
- package/cdn-versioned/chunks/chunk.J6KIY4UA.js +2 -2
- package/cdn-versioned/chunks/chunk.JFN54TP3.js +3 -3
- package/cdn-versioned/chunks/chunk.JHDF277H.js +1 -1
- package/cdn-versioned/chunks/chunk.JQW6SYSE.js +2 -2
- package/cdn-versioned/chunks/chunk.L7BTB6LI.js +2 -2
- package/cdn-versioned/chunks/chunk.LH5RKLIB.js +2 -2
- package/cdn-versioned/chunks/chunk.LZRL7OLU.js +1 -1
- package/cdn-versioned/chunks/chunk.MC7A5NMS.js +2 -2
- package/cdn-versioned/chunks/chunk.MLNVOR7M.js +2 -2
- package/cdn-versioned/chunks/chunk.OJGPDUWV.js +2 -2
- package/cdn-versioned/chunks/chunk.OMRKG6ND.js +2 -2
- package/cdn-versioned/chunks/chunk.POBQCTPL.js +3 -3
- package/cdn-versioned/chunks/chunk.PXFYL6KY.js +2 -2
- package/cdn-versioned/chunks/chunk.Q7E6F2HW.js +1 -1
- package/cdn-versioned/chunks/chunk.R6ZEBMRH.js +2 -2
- package/cdn-versioned/chunks/chunk.RKMV24FY.js +2 -2
- package/cdn-versioned/chunks/chunk.RRIIBUZG.js +2 -2
- package/cdn-versioned/chunks/chunk.S6JJWCTI.js +2 -2
- package/cdn-versioned/chunks/chunk.SCHC5WSJ.js +1 -1
- package/cdn-versioned/chunks/chunk.SOQN353H.js +2 -2
- package/cdn-versioned/chunks/chunk.UTS7NBOJ.js +1 -1
- package/cdn-versioned/chunks/chunk.UTXIVBR2.js +1 -1
- package/cdn-versioned/chunks/chunk.VFMCDN7W.js +2 -2
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.WHOK4XT7.js +2 -2
- package/cdn-versioned/chunks/chunk.WIHSK6PN.js +2 -2
- package/cdn-versioned/chunks/chunk.WYUWPKVY.js +2 -2
- package/cdn-versioned/chunks/chunk.XICZDG3E.js +2 -2
- package/cdn-versioned/chunks/chunk.XJAJO727.js +1 -1
- package/cdn-versioned/chunks/chunk.YAANK3U6.js +2 -2
- package/cdn-versioned/chunks/chunk.ZIC3N6YJ.js +2 -2
- package/cdn-versioned/chunks/chunk.ZSCCD7CU.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-converters.d.ts +12 -0
- package/cdn-versioned/components/datepicker/datepicker-converters.js +1 -0
- package/cdn-versioned/components/datepicker/datepicker.d.ts +1 -1
- package/cdn-versioned/components/datepicker/datepicker.js +1 -1
- package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
- package/cdn-versioned/components/divider/divider.d.ts +1 -1
- package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
- package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
- package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/cdn-versioned/components/header/header.d.ts +1 -1
- package/cdn-versioned/components/icon/icon.d.ts +1 -1
- package/cdn-versioned/components/include/include.d.ts +1 -1
- package/cdn-versioned/components/input/input.d.ts +1 -1
- package/cdn-versioned/components/link/link.d.ts +1 -1
- package/cdn-versioned/components/loader/loader.d.ts +1 -1
- package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/cdn-versioned/components/menu/menu.d.ts +1 -1
- package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
- package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/cdn-versioned/components/notification/notification.d.ts +1 -1
- package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
- package/cdn-versioned/components/option/option.d.ts +1 -1
- package/cdn-versioned/components/popup/popup.d.ts +1 -1
- package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/cdn-versioned/components/radio/radio.d.ts +1 -1
- package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
- package/cdn-versioned/components/range/range.d.ts +1 -1
- package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
- package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/cdn-versioned/components/select/select.d.ts +1 -1
- package/cdn-versioned/components/skeleton/skeleton.d.ts +1 -1
- package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
- package/cdn-versioned/components/step/step.d.ts +1 -1
- package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
- package/cdn-versioned/components/switch/switch.d.ts +1 -1
- package/cdn-versioned/components/tab/tab.d.ts +1 -1
- package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/cdn-versioned/components/tag/tag.d.ts +1 -1
- package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
- package/cdn-versioned/components/theme-listener/theme-listener.d.ts +1 -1
- package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/cdn-versioned/components/video/video.d.ts +1 -1
- package/cdn-versioned/custom-elements.json +1987 -1703
- package/cdn-versioned/internal/form.js +2 -2
- package/cdn-versioned/solid-components.bundle.js +88 -88
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +88 -88
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +253 -253
- package/cdn-versioned/web-types.json +777 -699
- package/dist/chunks/{chunk.C7RAFK2U.js → chunk.LQBN4KWJ.js} +5 -78
- package/dist/chunks/chunk.TJ2FFWLY.js +85 -0
- package/dist/components/datepicker/datepicker-converters.d.ts +12 -0
- package/dist/components/datepicker/datepicker-converters.js +11 -0
- package/dist/components/datepicker/datepicker.js +2 -1
- package/dist/custom-elements.json +1767 -1483
- package/dist/solid-components.js +24 -23
- package/dist/vscode.html-custom-data.json +159 -159
- package/dist/web-types.json +642 -564
- package/dist-versioned/chunks/chunk.2PFOTMKD.js +33 -33
- package/dist-versioned/chunks/chunk.2XO44VKK.js +2 -2
- package/dist-versioned/chunks/chunk.3MUWC7ZQ.js +1 -1
- package/dist-versioned/chunks/chunk.3NFW33UT.js +5 -5
- package/dist-versioned/chunks/chunk.3P3ZLPSI.js +5 -5
- package/dist-versioned/chunks/chunk.4CYDINDB.js +2 -2
- package/dist-versioned/chunks/chunk.5NTF57TJ.js +1 -1
- package/dist-versioned/chunks/chunk.6XTGETVW.js +11 -11
- package/dist-versioned/chunks/chunk.7AGLFNJK.js +3 -3
- package/dist-versioned/chunks/chunk.7BSLFKU5.js +10 -10
- package/dist-versioned/chunks/chunk.7BT4WAQS.js +3 -3
- package/dist-versioned/chunks/chunk.AGSJ3MWY.js +2 -2
- package/dist-versioned/chunks/chunk.AJ6IUEXD.js +5 -5
- package/dist-versioned/chunks/chunk.AQ5RLVDO.js +1 -1
- package/dist-versioned/chunks/chunk.B4TM2WST.js +5 -5
- package/dist-versioned/chunks/chunk.BR5PPGBX.js +7 -7
- package/dist-versioned/chunks/chunk.BS2ZPKOG.js +11 -11
- package/dist-versioned/chunks/chunk.C3WIBDGG.js +2 -2
- package/dist-versioned/chunks/chunk.CMHJNHR6.js +25 -25
- package/dist-versioned/chunks/chunk.D2XKPNOP.js +6 -6
- package/dist-versioned/chunks/chunk.DG6HQUYC.js +10 -10
- package/dist-versioned/chunks/chunk.DYG4FWRG.js +2 -2
- package/dist-versioned/chunks/chunk.EAJ3CM6N.js +4 -4
- package/dist-versioned/chunks/chunk.EDHEUF6G.js +25 -25
- package/dist-versioned/chunks/chunk.EEEIIJMB.js +2 -2
- package/dist-versioned/chunks/chunk.EXZ6VFXN.js +1 -1
- package/dist-versioned/chunks/chunk.FRLOS6P7.js +2 -2
- package/dist-versioned/chunks/chunk.G5R47M2B.js +6 -6
- package/dist-versioned/chunks/chunk.GFHNKXRG.js +8 -8
- package/dist-versioned/chunks/chunk.H3SVUQP3.js +5 -5
- package/dist-versioned/chunks/chunk.H53WQBDK.js +1 -1
- package/dist-versioned/chunks/chunk.HDGNHXRQ.js +11 -11
- package/dist-versioned/chunks/chunk.I4T5RT5D.js +4 -4
- package/dist-versioned/chunks/chunk.J3RX4Y6S.js +2 -2
- package/dist-versioned/chunks/chunk.J5A33XU2.js +4 -4
- package/dist-versioned/chunks/chunk.JQBYEVD6.js +3 -3
- package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
- package/dist-versioned/chunks/chunk.KVKO4ZLN.js +10 -10
- package/dist-versioned/chunks/chunk.KWD3E7PP.js +6 -6
- package/dist-versioned/chunks/{chunk.C7RAFK2U.js → chunk.LQBN4KWJ.js} +15 -88
- package/dist-versioned/chunks/chunk.M4O3MDU3.js +13 -13
- package/dist-versioned/chunks/chunk.MLDYTATL.js +7 -7
- package/dist-versioned/chunks/chunk.NWI2U6GV.js +4 -4
- package/dist-versioned/chunks/chunk.POKSS32D.js +2 -2
- package/dist-versioned/chunks/chunk.RMSZCVAI.js +5 -5
- package/dist-versioned/chunks/chunk.RS7M5R4R.js +5 -5
- package/dist-versioned/chunks/chunk.RU5GF26P.js +5 -5
- package/dist-versioned/chunks/chunk.SB4P52KM.js +1 -1
- package/dist-versioned/chunks/chunk.SLUGXG7E.js +2 -2
- package/dist-versioned/chunks/chunk.TE6LK5OI.js +14 -14
- package/dist-versioned/chunks/chunk.TJ2FFWLY.js +85 -0
- package/dist-versioned/chunks/chunk.TJI3UYUJ.js +5 -5
- package/dist-versioned/chunks/chunk.TQGIML36.js +2 -2
- package/dist-versioned/chunks/chunk.UF4HXV3V.js +10 -10
- package/dist-versioned/chunks/chunk.UI7JLJDL.js +6 -6
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/chunk.UWOJEWNV.js +2 -2
- package/dist-versioned/chunks/chunk.VTBH4LAP.js +1 -1
- package/dist-versioned/chunks/chunk.W6PBLDS5.js +12 -12
- package/dist-versioned/chunks/chunk.WXXHOSE3.js +4 -4
- package/dist-versioned/chunks/chunk.X3SWQRRP.js +3 -3
- package/dist-versioned/chunks/chunk.YSZ5CL7K.js +1 -1
- package/dist-versioned/chunks/chunk.YT23TSJR.js +5 -5
- package/dist-versioned/chunks/chunk.ZOLOAEEA.js +3 -3
- package/dist-versioned/chunks/chunk.ZXAAMEZI.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-converters.d.ts +12 -0
- package/dist-versioned/components/datepicker/datepicker-converters.js +11 -0
- package/dist-versioned/components/datepicker/datepicker.d.ts +1 -1
- package/dist-versioned/components/datepicker/datepicker.js +2 -1
- package/dist-versioned/components/dialog/dialog.d.ts +1 -1
- package/dist-versioned/components/divider/divider.d.ts +1 -1
- package/dist-versioned/components/drawer/drawer.d.ts +1 -1
- package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/dist-versioned/components/expandable/expandable.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/dist-versioned/components/header/header.d.ts +1 -1
- package/dist-versioned/components/icon/icon.d.ts +1 -1
- package/dist-versioned/components/include/include.d.ts +1 -1
- package/dist-versioned/components/input/input.d.ts +1 -1
- package/dist-versioned/components/link/link.d.ts +1 -1
- package/dist-versioned/components/loader/loader.d.ts +1 -1
- package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/dist-versioned/components/menu/menu.d.ts +1 -1
- package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
- package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/dist-versioned/components/notification/notification.d.ts +1 -1
- package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
- package/dist-versioned/components/option/option.d.ts +1 -1
- package/dist-versioned/components/popup/popup.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/dist-versioned/components/radio/radio.d.ts +1 -1
- package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
- package/dist-versioned/components/range/range.d.ts +1 -1
- package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
- package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/dist-versioned/components/select/select.d.ts +1 -1
- package/dist-versioned/components/skeleton/skeleton.d.ts +1 -1
- package/dist-versioned/components/spinner/spinner.d.ts +1 -1
- package/dist-versioned/components/step/step.d.ts +1 -1
- package/dist-versioned/components/step-group/step-group.d.ts +1 -1
- package/dist-versioned/components/switch/switch.d.ts +1 -1
- package/dist-versioned/components/tab/tab.d.ts +1 -1
- package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/dist-versioned/components/tag/tag.d.ts +1 -1
- package/dist-versioned/components/textarea/textarea.d.ts +1 -1
- package/dist-versioned/components/theme-listener/theme-listener.d.ts +1 -1
- package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/custom-elements.json +1987 -1703
- package/dist-versioned/internal/form.js +2 -2
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +24 -23
- package/dist-versioned/vscode.html-custom-data.json +253 -253
- package/dist-versioned/web-types.json +777 -699
- package/package.json +1 -1
- package/cdn/chunks/chunk.D4I2KYVZ.js +0 -2
- package/cdn-versioned/chunks/chunk.D4I2KYVZ.js +0 -2
|
@@ -102,18 +102,18 @@ var SdMenuItem = class extends SolidElement {
|
|
|
102
102
|
};
|
|
103
103
|
return html`<div id="anchor" part="base" class="${cx(
|
|
104
104
|
"relative flex items-stretch whitespace-nowrap py-3 px-4 no-wrap !navigable-border-radius",
|
|
105
|
-
this.disabled ? "outline-none cursor-not-allowed sd-6-22-
|
|
105
|
+
this.disabled ? "outline-none cursor-not-allowed sd-6-22-1-menu--disabled-color-text hover:bg-transparent" : "cursor-pointer sd-6-22-1-menu-color-text hover:bg-neutral-200",
|
|
106
106
|
this.isSubmenu() && isSubmenuExpanded && "submenu-expanded"
|
|
107
107
|
)}" .disabled="${this.disabled}" ?aria-haspopup="${this.isSubmenu()}" ?aria-expanded="${isSubmenuExpanded ? true : false}">${this.type === "checkbox" ? html`<span part="checked-icon" class="${cx(
|
|
108
108
|
"flex items-center justify-center grow-0 shrink-0 basis-auto",
|
|
109
109
|
this.checked ? "visible" : "invisible"
|
|
110
|
-
)}"><sd-6-22-
|
|
110
|
+
)}"><sd-6-22-1-icon name="status-check" library="sd-status-assets" aria-hidden="true"></sd-6-22-1-icon></span>` : ""} ${slots.iconIndent ? html`<slot name="icon-indent" part="icon-indent" class="flex items-center grow-0 shrink-0 basis-auto mr-2"></slot>` : ""}<slot part="label" class="inline-flex grow shrink basis-auto text-ellipsis overflow-hidden" @slotchange="${this.handleDefaultSlotChange}"></slot>${this.chevron || this.isSubmenu() ? html`<span part="submenu-icon" class="flex items-center justify-center grow-0 shrink-0 basis-auto ml-3"><sd-6-22-1-icon name="chevron-right" library="_internal" aria-hidden="true" class="h-6 w-6"></sd-6-22-1-icon></span>` : ""} ${this.submenuController.renderSubmenu()}</div>`;
|
|
111
111
|
}
|
|
112
112
|
};
|
|
113
113
|
SdMenuItem.styles = [
|
|
114
114
|
...SolidElement.styles,
|
|
115
115
|
css`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
116
|
-
:host{--submenu-offset:-6px;display:block}:host(:focus-visible){--tw-outline-style:none;outline-style:none}::slotted(sd-6-22-
|
|
116
|
+
:host{--submenu-offset:-6px;display:block}:host(:focus-visible){--tw-outline-style:none;outline-style:none}::slotted(sd-6-22-1-icon){height:var(--sd-spacing-6);width:var(--sd-spacing-6)}[part=checked-icon]{margin-right:var(--sd-spacing-3)}.submenu-expanded::after{position:fixed;top:calc(var(--sd-spacing-1) * 0);right:calc(var(--sd-spacing-1) * 0);bottom:calc(var(--sd-spacing-1) * 0);left:calc(var(--sd-spacing-1) * 0);z-index:calc(var(z-dropdown) - 1);--tw-content:'';content:var(--tw-content);clip-path:polygon(var(--safe-triangle-cursor-x,0) var(--safe-triangle-cursor-y,0),var(--safe-triangle-submenu-start-x,0) var(--safe-triangle-submenu-start-y,0),var(--safe-triangle-submenu-end-x,0) var(--safe-triangle-submenu-end-y,0))}:host(:hover:not([aria-disabled=true],:focus-visible)) [part=base]{background-color:rgba(var(--sd-color-background-neutral-200));--tw-outline-style:none;outline-style:none}:host(:focus-visible:not([aria-disabled=true])) [part=base]{outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:var(--outline-color-primary);outline-offset:-2px}:host(.menu-item-focus) [part=base]{outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:var(--outline-color-primary);outline-offset:-2px}:host(:hover) [part=base]{--tw-outline-style:none;outline-style:none}//TODO clean up sd-6-22-1-menu-color-icon variable replacing with sd-6-22-1-menu-item-color-icon-fill (breakingchange) :host [part=icon-indent],:host [part=checked-icon],:host [part=submenu-icon]{color:rgba(var(--sd-menu-color-icon,var(--sd-menu-item-color-icon-fill)))}//TODO clean up sd-6-22-1-menu--disabled-color-icon variable replacing with sd-6-22-1-menu-item--disabled-color-icon-fill (breakingchange) :host([aria-disabled=true]) [part=icon-indent]{color:rgba(var(--sd-menu--disabled-color-icon,var(--sd-menu-item--disabled-color-icon-fill)))}sd-6-22-1-popup::part(popup){z-index:var(--sd-z-index-dropdown,900);background-color:rgba(var(--sd-color-background-white));margin-left:var(--submenu-offset)}::slotted(sd-6-22-1-menu){max-width:var(--auto-size-available-width)!important;max-height:var(--auto-size-available-height)!important}.sd-6-22-1-menu-color-text{color:rgba(var(--sd-menu-color-text,var(--sd-menu-item-color-text)))}.sd-6-22-1-menu--disabled-color-text{color:rgba(var(--sd-menu--disabled-color-text,var(--sd-menu-item--disabled-color-text)))}@property --tw-content{syntax:"*";inherits:false;initial-value:""}`
|
|
117
117
|
];
|
|
118
118
|
__decorateClass([
|
|
119
119
|
query("slot:not([name])")
|
|
@@ -146,7 +146,7 @@ __decorateClass([
|
|
|
146
146
|
watch("type")
|
|
147
147
|
], SdMenuItem.prototype, "handleTypeChange", 1);
|
|
148
148
|
SdMenuItem = __decorateClass([
|
|
149
|
-
customElement("sd-6-22-
|
|
149
|
+
customElement("sd-6-22-1-menu-item")
|
|
150
150
|
], SdMenuItem);
|
|
151
151
|
|
|
152
152
|
export {
|
|
@@ -228,7 +228,7 @@ var SdTextarea = class extends SolidElement {
|
|
|
228
228
|
textareaState === "disabled" || textareaState === "visuallyDisabled" ? "text-neutral-500" : "text-black",
|
|
229
229
|
["invalid", "activeInvalid"].includes(textareaState) && "form-control--invalid-color-background"
|
|
230
230
|
)}"><textarea part="textarea" id="input" class="${cx(
|
|
231
|
-
"ps-4 flex-grow focus:outline-none bg-transparent placeholder:text-neutral-700 resize-none group-has-[sd-6-22-
|
|
231
|
+
"ps-4 flex-grow focus:outline-none bg-transparent placeholder:text-neutral-700 resize-none group-has-[sd-6-22-1-icon]:pe-8",
|
|
232
232
|
{
|
|
233
233
|
sm: isFloatingLabelActive ? "pb-1" : "py-2",
|
|
234
234
|
md: isFloatingLabelActive ? "pb-1" : "py-2",
|
|
@@ -236,7 +236,7 @@ var SdTextarea = class extends SolidElement {
|
|
|
236
236
|
}[this.size],
|
|
237
237
|
this.disabled && "cursor-not-allowed",
|
|
238
238
|
textSize
|
|
239
|
-
)}" title="${this.title}" name="${ifDefined(this.name)}" .value="${live(this.value)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" ?visually-disabled="${this.visuallyDisabled}" placeholder="${!this.floatingLabel || isFloatingLabelActive ? ifDefined(this.placeholder) : ""}" minlength="${ifDefined(this.minlength)}" maxlength="${ifDefined(this.maxlength)}" rows="${ifDefined(this.rows)}" autocapitalize="${ifDefined(this.autocapitalize)}" autocorrect="${ifDefined(this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${ifDefined(this.spellcheck)}" enterkeyhint="${ifDefined(this.enterkeyhint)}" inputmode="${ifDefined(this.inputmode)}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" aria-disabled="${this.disabled || this.visuallyDisabled}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"></textarea> ${this.showInvalidStyle ? html`<sd-6-22-
|
|
239
|
+
)}" title="${this.title}" name="${ifDefined(this.name)}" .value="${live(this.value)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" ?visually-disabled="${this.visuallyDisabled}" placeholder="${!this.floatingLabel || isFloatingLabelActive ? ifDefined(this.placeholder) : ""}" minlength="${ifDefined(this.minlength)}" maxlength="${ifDefined(this.maxlength)}" rows="${ifDefined(this.rows)}" autocapitalize="${ifDefined(this.autocapitalize)}" autocorrect="${ifDefined(this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${ifDefined(this.spellcheck)}" enterkeyhint="${ifDefined(this.enterkeyhint)}" inputmode="${ifDefined(this.inputmode)}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" aria-disabled="${this.disabled || this.visuallyDisabled}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"></textarea> ${this.showInvalidStyle ? html`<sd-6-22-1-icon class="${cx("text-error absolute right-4 pointer-events-none", iconSize)}" library="_internal" name="risk" part="invalid-icon"></sd-6-22-1-icon>` : ""} ${this.styleOnValid && this.showValidStyle ? html`<sd-6-22-1-icon class="${cx("text-success absolute right-4 pointer-events-none", iconSize)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-6-22-1-icon>` : ""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx(
|
|
240
240
|
"text-sm mt-1",
|
|
241
241
|
hasHelpText && !this.showInvalidStyle ? "block" : "hidden",
|
|
242
242
|
this.visuallyDisabled || this.disabled ? "text-neutral-500" : "text-neutral-700"
|
|
@@ -361,7 +361,7 @@ __decorateClass([
|
|
|
361
361
|
watch(["size", "floatingLabel"])
|
|
362
362
|
], SdTextarea.prototype, "handleSizeChange", 1);
|
|
363
363
|
SdTextarea = __decorateClass([
|
|
364
|
-
customElement("sd-6-22-
|
|
364
|
+
customElement("sd-6-22-1-textarea")
|
|
365
365
|
], SdTextarea);
|
|
366
366
|
|
|
367
367
|
export {
|
|
@@ -112,14 +112,14 @@ var SdSwitch = class extends SolidElement {
|
|
|
112
112
|
"group flex items-center text-base leading-normal text-black cursor-pointer",
|
|
113
113
|
this.disabled && "hover:cursor-not-allowed"
|
|
114
114
|
)}"><input id="input" class="peer absolute opacity-0 p-0 m-0 pointer-events-none" type="checkbox" role="switch" title="${this.title}" name="${this.name}" value="${ifDefined(this.value)}" .checked="${live(this.checked)}" .disabled="${this.disabled}" .required="${this.required}" aria-checked="${this.checked ? "true" : "false"}" aria-invalid="${this.showInvalidStyle}" aria-describedby="invalid-message" @click="${this.handleClick}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @blur="${this.handleBlur}" @focus="${this.handleFocus}"> <span id="control" part="control ${this.checked ? " control--checked" : "control--unchecked"}" class="${cx(
|
|
115
|
-
`relative flex flex-initial items-center justify-center sd-6-22-
|
|
115
|
+
`relative flex flex-initial items-center justify-center sd-6-22-1-switch-border-width rounded-full h-4 w-8 transition-colors ease duration-100
|
|
116
116
|
peer-focus-visible:outline peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2
|
|
117
117
|
peer-focus-visible:outline-primary outline-transparent transition-colors ease-in-out duration-medium hover:duration-fast`,
|
|
118
|
-
this.disabled && this.checked ? "bg-neutral-500" : this.disabled ? "border-neutral-500" : this.showInvalidStyle ? this.checked ? "border-error bg-error hover:bg-error-400 hover:border-error-400 group-hover:border-error-400 group-hover:bg-error-400" : "border-error bg-white hover:border-error-400 hover:bg-white group-hover:border-error-400 group-hover:bg-white" : this.checked ? "border-accent hover:sd-6-22-
|
|
118
|
+
this.disabled && this.checked ? "bg-neutral-500" : this.disabled ? "border-neutral-500" : this.showInvalidStyle ? this.checked ? "border-error bg-error hover:bg-error-400 hover:border-error-400 group-hover:border-error-400 group-hover:bg-error-400" : "border-error bg-white hover:border-error-400 hover:bg-white group-hover:border-error-400 group-hover:bg-white" : this.checked ? "border-accent hover:sd-6-22-1-switch--checked--hover-color-background bg-accent hover:border-accent-550 group-hover:border-accent-550 group-hover:sd-6-22-1-switch--checked--hover-color-background" : "sd-6-22-1-switch--unchecked-color-border bg-white hover:sd-6-22-1-switch--unchecked--hover-color-background group-hover:sd-6-22-1-switch--unchecked--hover-color-background"
|
|
119
119
|
)}"><span id="thumb" part="thumb" class="${cx(
|
|
120
120
|
"w-2.5 h-2.5 rounded-full transition[transform,colors] ease-in-out duration-medium",
|
|
121
|
-
this.disabled && this.checked ? "translate-x-2" : this.disabled ? "-translate-x-2" : this.showInvalidStyle ? this.checked ? "translate-x-2" : "bg-error -translate-x-2 hover:bg-error-400 hover:border-error-400 group-hover:border-error-400 group-hover:bg-error-400" : this.checked ? "translate-x-2" : "-translate-x-2 sd-6-22-
|
|
122
|
-
)}"></span> </span><span part="label" id="label" class="${cx("select-none inline-block ml-2", this.disabled ? "text-neutral-500" : "sd-6-22-
|
|
121
|
+
this.disabled && this.checked ? "translate-x-2" : this.disabled ? "-translate-x-2" : this.showInvalidStyle ? this.checked ? "translate-x-2" : "bg-error -translate-x-2 hover:bg-error-400 hover:border-error-400 group-hover:border-error-400 group-hover:bg-error-400" : this.checked ? "translate-x-2" : "-translate-x-2 sd-6-22-1-switch--unchecked__icon-color-background"
|
|
122
|
+
)}"></span> </span><span part="label" id="label" class="${cx("select-none inline-block ml-2", this.disabled ? "text-neutral-500" : "sd-6-22-1-switch-color-text")}"><slot></slot></span></label> ${this.hasSlotController.test("tooltip") ? html`<slot name="tooltip"></slot>` : null}</div><div part="invalid-icon-message" class="flex items-center gap-2 mt-2">${this.showInvalidStyle ? html`<sd-6-22-1-icon part="invalid-icon" class="${cx("text-error")}" library="_internal" name="risk"></sd-6-22-1-icon>` : ""} ${this.formControlController.renderInvalidMessage("lg")}</div>`;
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
/**
|
|
@@ -170,7 +170,7 @@ __decorateClass([
|
|
|
170
170
|
watch(["checked"], { waitUntilFirstUpdate: true })
|
|
171
171
|
], SdSwitch.prototype, "handleStateChange", 1);
|
|
172
172
|
SdSwitch = __decorateClass([
|
|
173
|
-
customElement("sd-6-22-
|
|
173
|
+
customElement("sd-6-22-1-switch")
|
|
174
174
|
], SdSwitch);
|
|
175
175
|
|
|
176
176
|
export {
|
|
@@ -22,7 +22,7 @@ var SdDivider = class extends SolidElement {
|
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
24
|
return html`<hr part="main" aria-orientation="${this.orientation}" class="${cx(
|
|
25
|
-
this.inverted ? "sd-6-22-
|
|
25
|
+
this.inverted ? "sd-6-22-1-divider--inverted-color-border" : "border-neutral-400",
|
|
26
26
|
this.orientation === "horizontal" ? "border-t w-full" : " border-l h-full"
|
|
27
27
|
)}">`;
|
|
28
28
|
}
|
|
@@ -33,7 +33,7 @@ var SdDivider = class extends SolidElement {
|
|
|
33
33
|
SdDivider.styles = [
|
|
34
34
|
...SolidElement.styles,
|
|
35
35
|
css`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
36
|
-
:host{margin:calc(var(--sd-spacing-1) * 0)}:host(sd-6-22-
|
|
36
|
+
:host{margin:calc(var(--sd-spacing-1) * 0)}:host(sd-6-22-1-divider[orientation=horizontal]){display:block}:host(sd-6-22-1-divider[orientation=vertical]){display:inline-block}`
|
|
37
37
|
];
|
|
38
38
|
__decorateClass([
|
|
39
39
|
property({ type: String, reflect: true })
|
|
@@ -42,7 +42,7 @@ __decorateClass([
|
|
|
42
42
|
property({ type: Boolean, reflect: true })
|
|
43
43
|
], SdDivider.prototype, "inverted", 2);
|
|
44
44
|
SdDivider = __decorateClass([
|
|
45
|
-
customElement("sd-6-22-
|
|
45
|
+
customElement("sd-6-22-1-divider")
|
|
46
46
|
], SdDivider);
|
|
47
47
|
|
|
48
48
|
export {
|
|
@@ -113,7 +113,7 @@ var SdMenu = class extends SolidElement {
|
|
|
113
113
|
}
|
|
114
114
|
isMenuItem(item) {
|
|
115
115
|
var _a;
|
|
116
|
-
return item.tagName.toLowerCase() === "sd-6-22-
|
|
116
|
+
return item.tagName.toLowerCase() === "sd-6-22-1-menu-item" || ["menuitem", "menuitemcheckbox", "menuitemradio"].includes((_a = item.getAttribute("role")) != null ? _a : "");
|
|
117
117
|
}
|
|
118
118
|
/** @internal Gets all slotted menu items, ignoring dividers, headers, and other elements. */
|
|
119
119
|
getAllItems() {
|
|
@@ -148,13 +148,13 @@ var SdMenu = class extends SolidElement {
|
|
|
148
148
|
SdMenu.styles = [
|
|
149
149
|
...SolidElement.styles,
|
|
150
150
|
css`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
151
|
-
:host{position:relative;display:block;overflow:auto;overscroll-behavior:auto;border-radius:var(--sd-radius-md);padding-inline:var(--sd-spacing-2);padding-block:var(--sd-spacing-3);--tw-shadow:var(--sd-shadow)!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}::slotted(sd-6-22-
|
|
151
|
+
:host{position:relative;display:block;overflow:auto;overscroll-behavior:auto;border-radius:var(--sd-radius-md);padding-inline:var(--sd-spacing-2);padding-block:var(--sd-spacing-3);--tw-shadow:var(--sd-shadow)!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}::slotted(sd-6-22-1-divider){padding-block:var(--sd-spacing-3)}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}`
|
|
152
152
|
];
|
|
153
153
|
__decorateClass([
|
|
154
154
|
query("slot")
|
|
155
155
|
], SdMenu.prototype, "defaultSlot", 2);
|
|
156
156
|
SdMenu = __decorateClass([
|
|
157
|
-
customElement("sd-6-22-
|
|
157
|
+
customElement("sd-6-22-1-menu")
|
|
158
158
|
], SdMenu);
|
|
159
159
|
|
|
160
160
|
export {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const isoDateConverter: {
|
|
2
|
+
fromAttribute(value: string | null): string | null;
|
|
3
|
+
toAttribute(value: string | null): string;
|
|
4
|
+
};
|
|
5
|
+
export declare const viewMonthConverter: {
|
|
6
|
+
fromAttribute(value: string | null): Date | null;
|
|
7
|
+
toAttribute(value: Date | null): string;
|
|
8
|
+
};
|
|
9
|
+
export declare const disabledDatesConverter: {
|
|
10
|
+
fromAttribute(value: string | null): string[];
|
|
11
|
+
toAttribute(value: string[] | null): string;
|
|
12
|
+
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SdDatepicker
|
|
3
|
-
} from "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.LQBN4KWJ.js";
|
|
4
4
|
import "../../chunks/chunk.A4LR62QO.js";
|
|
5
|
+
import "../../chunks/chunk.TJ2FFWLY.js";
|
|
5
6
|
import "../../chunks/chunk.ZOLOAEEA.js";
|
|
6
7
|
import "../../chunks/chunk.VTBH4LAP.js";
|
|
7
8
|
import "../../chunks/chunk.C3WIBDGG.js";
|