@solid-design-system/components 4.0.0-next.7 → 4.0.0-next.9
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.BUUMCPDC.js → chunk.AA7WA27A.js} +2 -2
- package/cdn/chunks/chunk.GT3LHFGJ.js +1 -0
- package/cdn/chunks/{chunk.WHEYQDOD.js → chunk.OVVNTNS7.js} +2 -2
- package/cdn/components/badge/badge.d.ts +1 -1
- package/cdn/components/badge/badge.js +1 -1
- package/cdn/components/combobox/combobox.js +1 -1
- package/cdn/components/select/select.js +1 -1
- package/cdn/custom-elements.json +21 -5
- package/cdn/solid-components.bundle.js +5 -5
- package/cdn/solid-components.iife.js +5 -5
- package/cdn/solid-components.js +1 -1
- package/cdn/vscode.html-custom-data.json +1 -5
- package/cdn/web-types.json +10 -8
- package/cdn-versioned/_components/menu/menu.js +1 -1
- package/cdn-versioned/_components/menu/menu.styles.js +1 -1
- package/cdn-versioned/_components/menu-item/menu-item.js +2 -2
- package/cdn-versioned/chunks/chunk.24SF73MY.js +1 -1
- package/cdn-versioned/chunks/chunk.2IZXJHH7.js +1 -1
- package/cdn-versioned/chunks/chunk.36Z2VDHI.js +1 -1
- package/cdn-versioned/chunks/chunk.3ATYVOO4.js +1 -1
- package/cdn-versioned/chunks/chunk.4HIKTDIM.js +3 -3
- package/cdn-versioned/chunks/chunk.4W3WLVGR.js +1 -1
- package/cdn-versioned/chunks/chunk.5FM4F3Y4.js +1 -1
- package/cdn-versioned/chunks/chunk.5ZDWEJDB.js +1 -1
- package/cdn-versioned/chunks/chunk.65NSSTJE.js +1 -1
- package/cdn-versioned/chunks/chunk.6JBTCFHE.js +2 -2
- package/cdn-versioned/chunks/chunk.7RJ3O2FV.js +1 -1
- package/cdn-versioned/chunks/{chunk.BUUMCPDC.js → chunk.AA7WA27A.js} +4 -4
- package/cdn-versioned/chunks/chunk.APMDRZQD.js +1 -1
- package/cdn-versioned/chunks/chunk.C2PA7CKF.js +1 -1
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/chunk.DMLGBWCL.js +1 -1
- package/cdn-versioned/chunks/chunk.DVHKKAVM.js +1 -1
- package/cdn-versioned/chunks/chunk.EWWGLHC5.js +1 -1
- package/cdn-versioned/chunks/chunk.F7J6HN76.js +1 -1
- package/cdn-versioned/chunks/chunk.FD54463O.js +1 -1
- package/cdn-versioned/chunks/chunk.FFNTXFC3.js +1 -1
- package/cdn-versioned/chunks/chunk.FX3ED655.js +1 -1
- package/cdn-versioned/chunks/chunk.GOVNZSCO.js +1 -1
- package/cdn-versioned/chunks/chunk.GQSLHWQC.js +1 -1
- package/cdn-versioned/chunks/chunk.GT3LHFGJ.js +1 -0
- package/cdn-versioned/chunks/chunk.ISEQUO4U.js +1 -1
- package/cdn-versioned/chunks/chunk.ITRQVXFY.js +1 -1
- package/cdn-versioned/chunks/chunk.IZKUI5WK.js +1 -1
- package/cdn-versioned/chunks/chunk.KMLMMBY4.js +1 -1
- package/cdn-versioned/chunks/chunk.LLXTYJXF.js +1 -1
- package/cdn-versioned/chunks/chunk.LZEFLOSA.js +1 -1
- package/cdn-versioned/chunks/chunk.MPP7HYX7.js +1 -1
- package/cdn-versioned/chunks/chunk.MX22EZXK.js +1 -1
- package/cdn-versioned/chunks/chunk.ND7BT52X.js +1 -1
- package/cdn-versioned/chunks/chunk.NUB5WHGD.js +1 -1
- package/cdn-versioned/chunks/chunk.O4UXOQEI.js +1 -1
- package/cdn-versioned/chunks/chunk.OVV7TNT2.js +1 -1
- package/cdn-versioned/chunks/{chunk.WHEYQDOD.js → chunk.OVVNTNS7.js} +4 -4
- package/cdn-versioned/chunks/chunk.PBPFKJKV.js +1 -1
- package/cdn-versioned/chunks/chunk.QFNCQQ6S.js +1 -1
- package/cdn-versioned/chunks/chunk.QNZWJACC.js +2 -2
- package/cdn-versioned/chunks/chunk.R354E6ZD.js +1 -1
- package/cdn-versioned/chunks/chunk.TA7CZCP3.js +1 -1
- package/cdn-versioned/chunks/chunk.U443X4TI.js +1 -1
- package/cdn-versioned/chunks/chunk.UBFU6D5B.js +1 -1
- package/cdn-versioned/chunks/chunk.URB2K7JQ.js +1 -1
- package/cdn-versioned/chunks/chunk.VNKUGTKM.js +1 -1
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.WENTMXB2.js +1 -1
- package/cdn-versioned/chunks/chunk.WQAPHFVM.js +1 -1
- package/cdn-versioned/chunks/chunk.YF5WEC4R.js +2 -2
- package/cdn-versioned/chunks/chunk.ZFA2VPUT.js +1 -1
- package/cdn-versioned/chunks/chunk.ZRIABVVM.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 +2 -2
- package/cdn-versioned/components/badge/badge.js +1 -1
- package/cdn-versioned/components/brandshape/brandshape.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 +4 -4
- package/cdn-versioned/components/combobox/combobox.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/map-marker/map-marker.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 +2 -2
- 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 +2 -2
- package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/cdn-versioned/components/select/select.d.ts +4 -4
- package/cdn-versioned/components/select/select.js +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/tooltip/tooltip.d.ts +1 -1
- package/cdn-versioned/components/video/video.d.ts +1 -1
- package/cdn-versioned/custom-elements.json +222 -206
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +17 -17
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +17 -17
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +81 -85
- package/cdn-versioned/web-types.json +146 -144
- package/dist/chunks/{chunk.PPBZXQVJ.js → chunk.4XDHTC3C.js} +2 -2
- package/dist/chunks/{chunk.B44AE4VW.js → chunk.O3ZFWYJW.js} +2 -2
- package/dist/chunks/{chunk.RZRTIYXA.js → chunk.RIKFGIMH.js} +4 -4
- package/dist/components/badge/badge.d.ts +1 -1
- package/dist/components/badge/badge.js +1 -1
- package/dist/components/combobox/combobox.js +1 -1
- package/dist/components/select/select.js +1 -1
- package/dist/custom-elements.json +21 -5
- package/dist/solid-components.js +3 -3
- package/dist/vscode.html-custom-data.json +1 -5
- package/dist/web-types.json +10 -8
- package/dist-versioned/_components/menu/menu.js +1 -1
- package/dist-versioned/_components/menu/menu.styles.js +1 -1
- package/dist-versioned/_components/menu-item/menu-item.js +2 -2
- package/dist-versioned/chunks/chunk.2IBVAXOX.js +1 -1
- package/dist-versioned/chunks/chunk.3IT4HBTI.js +1 -1
- package/dist-versioned/chunks/chunk.3LGDUVS4.js +2 -2
- package/dist-versioned/chunks/chunk.4JZQQD4L.js +3 -3
- package/dist-versioned/chunks/chunk.4QKRGAOL.js +4 -4
- package/dist-versioned/chunks/chunk.4RGGPCD5.js +2 -2
- package/dist-versioned/chunks/{chunk.PPBZXQVJ.js → chunk.4XDHTC3C.js} +28 -28
- package/dist-versioned/chunks/chunk.65BWRJEA.js +5 -5
- package/dist-versioned/chunks/chunk.6CUAQSFA.js +2 -2
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/chunk.727ERQ4F.js +2 -2
- package/dist-versioned/chunks/chunk.743FPQRN.js +2 -2
- package/dist-versioned/chunks/chunk.76ZNNLGN.js +1 -1
- package/dist-versioned/chunks/chunk.7OHSCBBX.js +1 -1
- package/dist-versioned/chunks/chunk.BG3M5FUP.js +13 -13
- package/dist-versioned/chunks/chunk.BVC5FY4L.js +13 -13
- package/dist-versioned/chunks/chunk.BXB5WF23.js +5 -5
- package/dist-versioned/chunks/chunk.D6JZ4IKM.js +1 -1
- package/dist-versioned/chunks/chunk.DQPVSTUQ.js +3 -3
- package/dist-versioned/chunks/chunk.EKFRFDTB.js +5 -5
- package/dist-versioned/chunks/chunk.H655M7FD.js +1 -1
- package/dist-versioned/chunks/chunk.HPR3PWAE.js +3 -3
- package/dist-versioned/chunks/chunk.IN3GJ5QL.js +3 -3
- package/dist-versioned/chunks/chunk.J2XBUIBC.js +2 -2
- package/dist-versioned/chunks/chunk.J7MMF6WJ.js +2 -2
- package/dist-versioned/chunks/chunk.KTJRTRDJ.js +5 -5
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
- package/dist-versioned/chunks/chunk.MTSAWJLV.js +2 -2
- package/dist-versioned/chunks/chunk.NM6QP6RJ.js +2 -2
- package/dist-versioned/chunks/{chunk.B44AE4VW.js → chunk.O3ZFWYJW.js} +31 -31
- package/dist-versioned/chunks/chunk.PDRECIYA.js +1 -1
- package/dist-versioned/chunks/chunk.PGZ5AWZ2.js +9 -9
- package/dist-versioned/chunks/chunk.PIR4YJUS.js +2 -2
- package/dist-versioned/chunks/chunk.QAZYUCBK.js +6 -6
- package/dist-versioned/chunks/chunk.QCICV36Z.js +6 -6
- package/dist-versioned/chunks/chunk.QP3SM2LZ.js +3 -3
- package/dist-versioned/chunks/chunk.R4BETATX.js +1 -1
- package/dist-versioned/chunks/{chunk.RZRTIYXA.js → chunk.RIKFGIMH.js} +5 -5
- package/dist-versioned/chunks/chunk.RNSJAVQE.js +1 -1
- package/dist-versioned/chunks/chunk.SPBPHTSS.js +2 -2
- package/dist-versioned/chunks/chunk.SSH6ATRK.js +2 -2
- package/dist-versioned/chunks/chunk.TWXYFPBS.js +2 -2
- package/dist-versioned/chunks/chunk.U5NFPAOX.js +2 -2
- package/dist-versioned/chunks/chunk.U6RY25TF.js +2 -2
- package/dist-versioned/chunks/chunk.UC5E3AEF.js +1 -1
- package/dist-versioned/chunks/chunk.UDZYWRPT.js +1 -1
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/chunk.V7TQ6VJU.js +1 -1
- package/dist-versioned/chunks/chunk.VHGHICFG.js +2 -2
- package/dist-versioned/chunks/chunk.XVFJS7VS.js +5 -5
- package/dist-versioned/chunks/chunk.Z2UY62T2.js +1 -1
- package/dist-versioned/chunks/chunk.ZGPGFEVP.js +5 -5
- package/dist-versioned/chunks/chunk.ZWJI7SLE.js +11 -11
- 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 +2 -2
- package/dist-versioned/components/badge/badge.js +1 -1
- package/dist-versioned/components/brandshape/brandshape.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 +4 -4
- package/dist-versioned/components/combobox/combobox.js +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/map-marker/map-marker.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 +2 -2
- 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 +2 -2
- package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/dist-versioned/components/select/select.d.ts +4 -4
- package/dist-versioned/components/select/select.js +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/tooltip/tooltip.d.ts +1 -1
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/custom-elements.json +222 -206
- package/dist-versioned/internal/form.js +3 -3
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +3 -3
- package/dist-versioned/vscode.html-custom-data.json +81 -85
- package/dist-versioned/web-types.json +146 -144
- package/package.json +1 -1
- package/cdn/chunks/chunk.7M7VCE7R.js +0 -1
- package/cdn-versioned/chunks/chunk.7M7VCE7R.js +0 -1
|
@@ -79,7 +79,7 @@ var SdCombobox = class extends SolidElement {
|
|
|
79
79
|
this.value = "";
|
|
80
80
|
this.defaultValue = "";
|
|
81
81
|
this.size = "lg";
|
|
82
|
-
this.placeholder =
|
|
82
|
+
this.placeholder = "";
|
|
83
83
|
this.maxOptionsTagLabel = this.localize.term("tagsSelected");
|
|
84
84
|
this.disabled = false;
|
|
85
85
|
this.clearable = false;
|
|
@@ -791,7 +791,7 @@ var SdCombobox = class extends SolidElement {
|
|
|
791
791
|
"appearance-none outline-none bg-transparent flex-auto min-w-0",
|
|
792
792
|
cursorStyles,
|
|
793
793
|
this.selectedTextLabel && !this.multiple ? "placeholder-black" : "placeholder-neutral-700"
|
|
794
|
-
)}" type="text" placeholder="${this.selectedTextLabel && !this.multiple ? this.selectedTextLabel : this.placeholder}" .disabled="${this.disabled}" .value="${this.displayInputValue}" autocomplete="off" spellcheck="false" autocapitalize="off" aria-controls="listbox" aria-expanded="${this.open}" aria-haspopup="listbox" aria-labelledby="label" aria-disabled="${this.disabled}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" role="combobox" tabindex="0" @focus="${this.handleFocus}" @blur="${this.handleBlur}" aria-autocomplete="list" aria-owns="listbox" @input="${this.handleInput}" @change="${this.handleChange}"><div aria-live="polite" id="control-value" class="absolute top-0 left-0 opacity-0 -z-10">${this.selectedOptions.map((option) => option == null ? void 0 : option.getTextLabel()).join(", ")}</div><input class="${cx("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10", cursorStyles)}" type="text" ?disabled="${this.disabled}" ?required="${this.required}" .value="${Array.isArray(this.value) ? this.value.join(", ") : this.value}" tabindex="-1" aria-controls="control-value" aria-hidden="true" @focus="${() => this.focus()}" @invalid="${this.handleInvalid}"> ${hasClearIcon ? html`<button part="clear-button" class="${cx(
|
|
794
|
+
)}" type="text" placeholder="${this.selectedTextLabel && !this.multiple ? this.selectedTextLabel : this.placeholder || this.localize.term("comboboxDefaultPlaceholder")}" .disabled="${this.disabled}" .value="${this.displayInputValue}" autocomplete="off" spellcheck="false" autocapitalize="off" aria-controls="listbox" aria-expanded="${this.open}" aria-haspopup="listbox" aria-labelledby="label" aria-disabled="${this.disabled}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" role="combobox" tabindex="0" @focus="${this.handleFocus}" @blur="${this.handleBlur}" aria-autocomplete="list" aria-owns="listbox" @input="${this.handleInput}" @change="${this.handleChange}"><div aria-live="polite" id="control-value" class="absolute top-0 left-0 opacity-0 -z-10">${this.selectedOptions.map((option) => option == null ? void 0 : option.getTextLabel()).join(", ")}</div><input class="${cx("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10", cursorStyles)}" type="text" ?disabled="${this.disabled}" ?required="${this.required}" .value="${Array.isArray(this.value) ? this.value.join(", ") : this.value}" tabindex="-1" aria-controls="control-value" aria-hidden="true" @focus="${() => this.focus()}" @invalid="${this.handleInvalid}"> ${hasClearIcon ? html`<button part="clear-button" class="${cx(
|
|
795
795
|
"flex justify-center",
|
|
796
796
|
iconMarginLeft,
|
|
797
797
|
this.value.length > 0 ? "visible" : "invisible"
|
|
@@ -70,7 +70,7 @@ var SdSelect = class extends SolidElement {
|
|
|
70
70
|
this.size = "lg";
|
|
71
71
|
this.placement = "bottom";
|
|
72
72
|
this.label = "";
|
|
73
|
-
this.placeholder =
|
|
73
|
+
this.placeholder = "";
|
|
74
74
|
this.maxOptionsTagLabel = this.localize.term("tagsSelected");
|
|
75
75
|
this.disabled = false;
|
|
76
76
|
this.helpText = "";
|
|
@@ -620,7 +620,7 @@ var SdSelect = class extends SolidElement {
|
|
|
620
620
|
"appearance-none outline-none flex-grow bg-transparent w-full placeholder-neutral-700",
|
|
621
621
|
cursorStyles,
|
|
622
622
|
this.multiple && this.useTags && this.value.length > 0 ? "hidden" : ""
|
|
623
|
-
)}" type="text"
|
|
623
|
+
)}" type="text" .disabled="${this.disabled}" placeholder="${this.placeholder || this.localize.term("selectDefaultPlaceholder")}" .value="${this.displayLabel}" autocomplete="off" spellcheck="false" autocapitalize="off" readonly="readonly" aria-controls="listbox" aria-expanded="${this.open ? "true" : "false"}" aria-haspopup="listbox" aria-labelledby="label" aria-disabled="${this.disabled ? "true" : "false"}" aria-invalid="${this.showInvalidStyle}" aria-describedby="help-text invalid-message" role="combobox" tabindex="0" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${this.multiple && this.useTags ? html`<div part="tags" class="flex-grow flex flex-wrap items-center gap-1">${this.tags}</div>` : ""}<div aria-live="polite" id="control-value" class="absolute top-0 left-0 opacity-0 -z-10">${this.selectedOptions.map((option) => option == null ? void 0 : option.getTextLabel()).join(", ")}</div><input class="${cx("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10", cursorStyles)}" type="text" ?disabled="${this.disabled}" ?required="${this.required}" .value="${Array.isArray(this.value) ? this.value.join(", ") : this.value}" tabindex="-1" aria-controls="control-value" aria-hidden="true" @focus="${() => this.focus()}" @invalid="${this.handleInvalid}"> ${hasClearIcon ? html`<button part="clear-button" class="${cx(
|
|
624
624
|
"select__clear flex justify-center",
|
|
625
625
|
iconMarginLeft,
|
|
626
626
|
this.value.length > 0 ? "visible" : "invisible"
|
|
@@ -14,7 +14,7 @@ var SdBadge = class extends SolidElement {
|
|
|
14
14
|
constructor() {
|
|
15
15
|
super(...arguments);
|
|
16
16
|
this.size = "lg";
|
|
17
|
-
this.variant = "
|
|
17
|
+
this.variant = "blue";
|
|
18
18
|
this.inverted = false;
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
@@ -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
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
blue: !this.inverted ? "text-white bg-primary-500 border-white" : "text-primary bg-primary-100 border-primary",
|
|
26
|
+
green: !this.inverted ? "text-white bg-success border-white" : "text-white bg-success border-primary",
|
|
27
|
+
red: !this.inverted ? "text-white bg-error border-white" : "text-white bg-error border-primary"
|
|
28
28
|
}[this.variant],
|
|
29
29
|
{
|
|
30
30
|
/* size and fonts*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import SolidElement from '../../internal/solid-element';
|
|
2
2
|
export default class SdBadge extends SolidElement {
|
|
3
3
|
size: 'lg' | 'md' | 'sm';
|
|
4
|
-
variant: '
|
|
4
|
+
variant: 'blue' | 'green' | 'red';
|
|
5
5
|
inverted: boolean;
|
|
6
6
|
render(): import("lit").TemplateResult<1>;
|
|
7
7
|
static styles: import("lit").CSSResult[];
|
|
@@ -1416,9 +1416,9 @@
|
|
|
1416
1416
|
"kind": "field",
|
|
1417
1417
|
"name": "variant",
|
|
1418
1418
|
"type": {
|
|
1419
|
-
"text": "'
|
|
1419
|
+
"text": "'blue' | 'green' | 'red'"
|
|
1420
1420
|
},
|
|
1421
|
-
"default": "'
|
|
1421
|
+
"default": "'blue'",
|
|
1422
1422
|
"description": "The badge's variant.",
|
|
1423
1423
|
"attribute": "variant",
|
|
1424
1424
|
"reflects": true
|
|
@@ -1498,9 +1498,9 @@
|
|
|
1498
1498
|
{
|
|
1499
1499
|
"name": "variant",
|
|
1500
1500
|
"type": {
|
|
1501
|
-
"text": "'
|
|
1501
|
+
"text": "'blue' | 'green' | 'red'"
|
|
1502
1502
|
},
|
|
1503
|
-
"default": "'
|
|
1503
|
+
"default": "'blue'",
|
|
1504
1504
|
"description": "The badge's variant.",
|
|
1505
1505
|
"fieldName": "variant"
|
|
1506
1506
|
},
|
|
@@ -3930,6 +3930,10 @@
|
|
|
3930
3930
|
{
|
|
3931
3931
|
"kind": "field",
|
|
3932
3932
|
"name": "placeholder",
|
|
3933
|
+
"type": {
|
|
3934
|
+
"text": "string"
|
|
3935
|
+
},
|
|
3936
|
+
"default": "''",
|
|
3933
3937
|
"description": "Placeholder text to show as a hint when the combobox is empty.",
|
|
3934
3938
|
"attribute": "placeholder"
|
|
3935
3939
|
},
|
|
@@ -4307,6 +4311,10 @@
|
|
|
4307
4311
|
},
|
|
4308
4312
|
{
|
|
4309
4313
|
"name": "placeholder",
|
|
4314
|
+
"type": {
|
|
4315
|
+
"text": "string"
|
|
4316
|
+
},
|
|
4317
|
+
"default": "''",
|
|
4310
4318
|
"description": "Placeholder text to show as a hint when the combobox is empty.",
|
|
4311
4319
|
"fieldName": "placeholder"
|
|
4312
4320
|
},
|
|
@@ -12342,6 +12350,10 @@
|
|
|
12342
12350
|
{
|
|
12343
12351
|
"kind": "field",
|
|
12344
12352
|
"name": "placeholder",
|
|
12353
|
+
"type": {
|
|
12354
|
+
"text": "string"
|
|
12355
|
+
},
|
|
12356
|
+
"default": "''",
|
|
12345
12357
|
"description": "Placeholder text to show as a hint when the select is empty.",
|
|
12346
12358
|
"attribute": "placeholder"
|
|
12347
12359
|
},
|
|
@@ -12683,6 +12695,10 @@
|
|
|
12683
12695
|
},
|
|
12684
12696
|
{
|
|
12685
12697
|
"name": "placeholder",
|
|
12698
|
+
"type": {
|
|
12699
|
+
"text": "string"
|
|
12700
|
+
},
|
|
12701
|
+
"default": "''",
|
|
12686
12702
|
"description": "Placeholder text to show as a hint when the select is empty.",
|
|
12687
12703
|
"fieldName": "placeholder"
|
|
12688
12704
|
},
|
|
@@ -16696,7 +16712,7 @@
|
|
|
16696
16712
|
"package": {
|
|
16697
16713
|
"name": "@solid-design-system/components",
|
|
16698
16714
|
"description": "Solid Design System: Components",
|
|
16699
|
-
"version": "4.0.0-next.
|
|
16715
|
+
"version": "4.0.0-next.9",
|
|
16700
16716
|
"author": "Union Investment",
|
|
16701
16717
|
"homepage": "https://solid-design-system.fe.union-investment.de/docs/",
|
|
16702
16718
|
"license": "MIT"
|
package/dist/solid-components.js
CHANGED
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunks/chunk.SPBPHTSS.js";
|
|
20
20
|
import {
|
|
21
21
|
SdSelect
|
|
22
|
-
} from "./chunks/chunk.
|
|
22
|
+
} from "./chunks/chunk.O3ZFWYJW.js";
|
|
23
23
|
import {
|
|
24
24
|
SdStep
|
|
25
25
|
} from "./chunks/chunk.3LGDUVS4.js";
|
|
@@ -97,7 +97,7 @@ import {
|
|
|
97
97
|
} from "./chunks/chunk.65BWRJEA.js";
|
|
98
98
|
import {
|
|
99
99
|
SdCombobox
|
|
100
|
-
} from "./chunks/chunk.
|
|
100
|
+
} from "./chunks/chunk.4XDHTC3C.js";
|
|
101
101
|
import {
|
|
102
102
|
SdTag
|
|
103
103
|
} from "./chunks/chunk.NM6QP6RJ.js";
|
|
@@ -121,7 +121,7 @@ import "./chunks/chunk.XHCTCU2Q.js";
|
|
|
121
121
|
import "./chunks/chunk.WDWV53JP.js";
|
|
122
122
|
import {
|
|
123
123
|
SdBadge
|
|
124
|
-
} from "./chunks/chunk.
|
|
124
|
+
} from "./chunks/chunk.RIKFGIMH.js";
|
|
125
125
|
import {
|
|
126
126
|
SdBrandshape
|
|
127
127
|
} from "./chunks/chunk.H655M7FD.js";
|
|
@@ -197,11 +197,7 @@
|
|
|
197
197
|
{
|
|
198
198
|
"name": "variant",
|
|
199
199
|
"description": "The badge's variant.",
|
|
200
|
-
"values": [
|
|
201
|
-
{ "name": "default" },
|
|
202
|
-
{ "name": "success" },
|
|
203
|
-
{ "name": "error" }
|
|
204
|
-
]
|
|
200
|
+
"values": [{ "name": "blue" }, { "name": "green" }, { "name": "red" }]
|
|
205
201
|
},
|
|
206
202
|
{
|
|
207
203
|
"name": "inverted",
|
package/dist/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@solid-design-system/components",
|
|
4
|
-
"version": "4.0.0-next.
|
|
4
|
+
"version": "4.0.0-next.9",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -513,8 +513,8 @@
|
|
|
513
513
|
"name": "variant",
|
|
514
514
|
"description": "The badge's variant.",
|
|
515
515
|
"value": {
|
|
516
|
-
"type": "'
|
|
517
|
-
"default": "'
|
|
516
|
+
"type": "'blue' | 'green' | 'red'",
|
|
517
|
+
"default": "'blue'"
|
|
518
518
|
}
|
|
519
519
|
},
|
|
520
520
|
{
|
|
@@ -545,7 +545,7 @@
|
|
|
545
545
|
{
|
|
546
546
|
"name": "variant",
|
|
547
547
|
"description": "The badge's variant.",
|
|
548
|
-
"type": "'
|
|
548
|
+
"type": "'blue' | 'green' | 'red'"
|
|
549
549
|
},
|
|
550
550
|
{
|
|
551
551
|
"name": "inverted",
|
|
@@ -1366,7 +1366,7 @@
|
|
|
1366
1366
|
{
|
|
1367
1367
|
"name": "placeholder",
|
|
1368
1368
|
"description": "Placeholder text to show as a hint when the combobox is empty.",
|
|
1369
|
-
"value": { "type": "string" }
|
|
1369
|
+
"value": { "type": "string", "default": "''" }
|
|
1370
1370
|
},
|
|
1371
1371
|
{
|
|
1372
1372
|
"name": "max-options-tag-label",
|
|
@@ -1584,7 +1584,8 @@
|
|
|
1584
1584
|
},
|
|
1585
1585
|
{
|
|
1586
1586
|
"name": "placeholder",
|
|
1587
|
-
"description": "Placeholder text to show as a hint when the combobox is empty."
|
|
1587
|
+
"description": "Placeholder text to show as a hint when the combobox is empty.",
|
|
1588
|
+
"type": "string"
|
|
1588
1589
|
},
|
|
1589
1590
|
{
|
|
1590
1591
|
"name": "maxOptionsTagLabel",
|
|
@@ -4777,7 +4778,7 @@
|
|
|
4777
4778
|
{
|
|
4778
4779
|
"name": "placeholder",
|
|
4779
4780
|
"description": "Placeholder text to show as a hint when the select is empty.",
|
|
4780
|
-
"value": { "type": "string" }
|
|
4781
|
+
"value": { "type": "string", "default": "''" }
|
|
4781
4782
|
},
|
|
4782
4783
|
{
|
|
4783
4784
|
"name": "max-options-tag-label",
|
|
@@ -4962,7 +4963,8 @@
|
|
|
4962
4963
|
},
|
|
4963
4964
|
{
|
|
4964
4965
|
"name": "placeholder",
|
|
4965
|
-
"description": "Placeholder text to show as a hint when the select is empty."
|
|
4966
|
+
"description": "Placeholder text to show as a hint when the select is empty.",
|
|
4967
|
+
"type": "string"
|
|
4966
4968
|
},
|
|
4967
4969
|
{
|
|
4968
4970
|
"name": "maxOptionsTagLabel",
|
|
@@ -32,7 +32,7 @@ let SdMenu = class SdMenu extends SolidElement {
|
|
|
32
32
|
if (item.type === 'checkbox') {
|
|
33
33
|
item.checked = !item.checked;
|
|
34
34
|
}
|
|
35
|
-
this.emit('sd-4-0-0-next-
|
|
35
|
+
this.emit('sd-4-0-0-next-9-select', { detail: { item } });
|
|
36
36
|
}
|
|
37
37
|
handleKeyDown(event) {
|
|
38
38
|
if (event.key === 'Enter') {
|
|
@@ -74,7 +74,7 @@ let SdMenuItem = class SdMenuItem extends SolidElement {
|
|
|
74
74
|
})}
|
|
75
75
|
>
|
|
76
76
|
<span part="checked-icon" class="menu-item__check">
|
|
77
|
-
<sd-4-0-0-next-
|
|
77
|
+
<sd-4-0-0-next-9-icon name="check" library="system" aria-hidden="true"></sd-4-0-0-next-9-icon>
|
|
78
78
|
</span>
|
|
79
79
|
|
|
80
80
|
<slot name="prefix" part="prefix" class="menu-item__prefix"></slot>
|
|
@@ -84,7 +84,7 @@ let SdMenuItem = class SdMenuItem extends SolidElement {
|
|
|
84
84
|
<slot name="suffix" part="suffix" class="menu-item__suffix"></slot>
|
|
85
85
|
|
|
86
86
|
<span class="menu-item__chevron">
|
|
87
|
-
<sd-4-0-0-next-
|
|
87
|
+
<sd-4-0-0-next-9-icon name="chevron-right" library="system" aria-hidden="true"></sd-4-0-0-next-9-icon>
|
|
88
88
|
</span>
|
|
89
89
|
</div>
|
|
90
90
|
`;
|
|
@@ -168,7 +168,7 @@ __decorateClass([
|
|
|
168
168
|
watch(["checked"], { waitUntilFirstUpdate: true })
|
|
169
169
|
], SdSwitch.prototype, "handleStateChange", 1);
|
|
170
170
|
SdSwitch = __decorateClass([
|
|
171
|
-
customElement("sd-4-0-0-next-
|
|
171
|
+
customElement("sd-4-0-0-next-9-switch")
|
|
172
172
|
], SdSwitch);
|
|
173
173
|
|
|
174
174
|
export {
|
|
@@ -81,7 +81,7 @@ var SdStep = class extends SolidElement {
|
|
|
81
81
|
!this.disabled && !this.current && !this.notInteractive && "text-primary group-hover:text-primary-500 group-hover:fill-primary-500",
|
|
82
82
|
this.notInteractive && "text-primary",
|
|
83
83
|
this.size === "lg" ? "text-lg" : "text-sm"
|
|
84
|
-
)}">${!this.disabled && !this.current && !this.notInteractive ? html`<sd-4-0-0-next-
|
|
84
|
+
)}">${!this.disabled && !this.current && !this.notInteractive ? html`<sd-4-0-0-next-9-icon name="status-check" library="system"></sd-4-0-0-next-9-icon>` : html`${this.index}`}</slot></${tag}>${this.noTail ? "" : html`<div part="tail" class="${cx(
|
|
85
85
|
this.orientation === "horizontal" ? "border-t w-full my-auto mr-2" : "border-l flex-grow flex-shrink-0 basis-auto h-full w-[1px] mx-auto",
|
|
86
86
|
!this.disabled && !this.current && !this.notInteractive ? " border-primary group-hover:border-primary-500" : "border-neutral-400"
|
|
87
87
|
)}"></div>`}</div><div part="text-container" class="${cx("mt-4 break-words flex flex-col gap-2", this.orientation === "horizontal" ? "text-center w-40" : "w-max text-left", this.disabled && "!text-neutral-700", this.notInteractive ? "ml-3" : "mr-4")}"><div part="label" id="label" class="${cx("!font-bold sd-paragraph", this.disabled && "!text-neutral-700", !this.disabled && !this.current && !this.notInteractive ? "!text-primary group-hover:!text-primary-500 group-hover:cursor-pointer" : "text-black")}"><slot name="label">${this.label}</slot></div><div part="description" id="description" class="${cx("sd-paragraph sd-paragraph--size-sm", this.disabled && "!text-neutral-700")}">${this.description || html`<slot></slot>`}</div></div></div>`;
|
|
@@ -131,7 +131,7 @@ __decorateClass([
|
|
|
131
131
|
watch("notInteractive")
|
|
132
132
|
], SdStep.prototype, "handleInteractivityChange", 1);
|
|
133
133
|
SdStep = __decorateClass([
|
|
134
|
-
customElement("sd-4-0-0-next-
|
|
134
|
+
customElement("sd-4-0-0-next-9-step")
|
|
135
135
|
], SdStep);
|
|
136
136
|
|
|
137
137
|
export {
|
|
@@ -64,10 +64,10 @@ var SdQuickfact = class extends SdAccordion {
|
|
|
64
64
|
!this.expandable && "hidden"
|
|
65
65
|
)}
|
|
66
66
|
><slot name="expand-icon" class=${cx(this.open && "hidden")}>
|
|
67
|
-
<sd-4-0-0-next-
|
|
67
|
+
<sd-4-0-0-next-9-icon library="system" name="chevron-down"></sd-4-0-0-next-9-icon>
|
|
68
68
|
</slot>
|
|
69
69
|
<slot name="collapse-icon" class=${cx(!this.open && "hidden")}>
|
|
70
|
-
<sd-4-0-0-next-
|
|
70
|
+
<sd-4-0-0-next-9-icon library="system" name="chevron-down"></sd-4-0-0-next-9-icon> </slot
|
|
71
71
|
></span>
|
|
72
72
|
</${header}>
|
|
73
73
|
<div part="content" id="content" class=${cx("overflow-hidden", !this.expandable && "hidden")}>
|
|
@@ -85,7 +85,7 @@ __decorateClass([
|
|
|
85
85
|
property({ type: Boolean, reflect: true })
|
|
86
86
|
], SdQuickfact.prototype, "expandable", 2);
|
|
87
87
|
SdQuickfact = __decorateClass([
|
|
88
|
-
customElement("sd-4-0-0-next-
|
|
88
|
+
customElement("sd-4-0-0-next-9-quickfact")
|
|
89
89
|
], SdQuickfact);
|
|
90
90
|
setDefaultAnimation("quickfact.show", {
|
|
91
91
|
keyframes: [
|
|
@@ -214,7 +214,7 @@ var SdButton = class extends SolidElement {
|
|
|
214
214
|
md: "ml-2",
|
|
215
215
|
lg: "ml-2"
|
|
216
216
|
}[this.size]
|
|
217
|
-
)}"></slot>${this.loading ? html`<sd-4-0-0-next-
|
|
217
|
+
)}"></slot>${this.loading ? html`<sd-4-0-0-next-9-spinner class="${cx("absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2")}"></sd-4-0-0-next-9-spinner>` : ""}</${tag}>`;
|
|
218
218
|
}
|
|
219
219
|
};
|
|
220
220
|
/**
|
|
@@ -222,13 +222,13 @@ var SdButton = class extends SolidElement {
|
|
|
222
222
|
*/
|
|
223
223
|
SdButton.styles = [
|
|
224
224
|
...SolidElement.styles,
|
|
225
|
-
css`:host{cursor:pointer;display:inline-block;position:relative;width:var(--sd-spacing-auto,auto)}sd-4-0-0-next-
|
|
225
|
+
css`:host{cursor:pointer;display:inline-block;position:relative;width:var(--sd-spacing-auto,auto)}sd-4-0-0-next-9-spinner{--indicator-color:currentColor;--track-color:var(--tw-varcolor-200)}::slotted(sd-4-0-0-next-9-badge){pointer-events:none;position:absolute;right:var(--sd-spacing-0,0);top:var(--sd-spacing-0,0);--tw-translate-x:50%!important;--tw-translate-y:-50%!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}::slotted(sd-4-0-0-next-9-icon),sd-4-0-0-next-9-spinner{font-size:calc(var(--tw-varspacing)/2)}`
|
|
226
226
|
];
|
|
227
227
|
__decorateClass([
|
|
228
228
|
query("a, button")
|
|
229
229
|
], SdButton.prototype, "button", 2);
|
|
230
230
|
__decorateClass([
|
|
231
|
-
queryAssignedElements({ selector: "sd-4-0-0-next-
|
|
231
|
+
queryAssignedElements({ selector: "sd-4-0-0-next-9-icon" })
|
|
232
232
|
], SdButton.prototype, "_iconsInDefaultSlot", 2);
|
|
233
233
|
__decorateClass([
|
|
234
234
|
state()
|
|
@@ -291,7 +291,7 @@ __decorateClass([
|
|
|
291
291
|
watch("disabled", { waitUntilFirstUpdate: true })
|
|
292
292
|
], SdButton.prototype, "handleDisabledChange", 1);
|
|
293
293
|
SdButton = __decorateClass([
|
|
294
|
-
customElement("sd-4-0-0-next-
|
|
294
|
+
customElement("sd-4-0-0-next-9-button")
|
|
295
295
|
], SdButton);
|
|
296
296
|
|
|
297
297
|
export {
|
|
@@ -32,7 +32,7 @@ var SdDivider = class extends SolidElement {
|
|
|
32
32
|
*/
|
|
33
33
|
SdDivider.styles = [
|
|
34
34
|
...SolidElement.styles,
|
|
35
|
-
css`:host{margin:var(--sd-spacing-0,0)}:host(sd-4-0-0-next-
|
|
35
|
+
css`:host{margin:var(--sd-spacing-0,0)}:host(sd-4-0-0-next-9-divider[orientation=horizontal]){display:block}:host(sd-4-0-0-next-9-divider[orientation=vertical]){display:inline-block}`
|
|
36
36
|
];
|
|
37
37
|
__decorateClass([
|
|
38
38
|
property({ reflect: true })
|
|
@@ -41,7 +41,7 @@ __decorateClass([
|
|
|
41
41
|
property({ type: Boolean, reflect: true })
|
|
42
42
|
], SdDivider.prototype, "inverted", 2);
|
|
43
43
|
SdDivider = __decorateClass([
|
|
44
|
-
customElement("sd-4-0-0-next-
|
|
44
|
+
customElement("sd-4-0-0-next-9-divider")
|
|
45
45
|
], SdDivider);
|
|
46
46
|
|
|
47
47
|
export {
|