@solid-design-system/components 4.6.2 → 4.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/{chunk.NT7FQJJ7.js → chunk.FW57KKQK.js} +1 -1
- package/cdn/components/select/select.js +1 -1
- package/cdn/custom-elements.json +218 -217
- 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/_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.2RGRA53Z.js +1 -1
- package/cdn-versioned/chunks/chunk.2WXAPGGE.js +1 -1
- package/cdn-versioned/chunks/chunk.3AJYYY5A.js +1 -1
- package/cdn-versioned/chunks/chunk.4QV2C3W6.js +2 -2
- package/cdn-versioned/chunks/chunk.4WOKTDYF.js +4 -4
- package/cdn-versioned/chunks/chunk.5A6THIFW.js +1 -1
- package/cdn-versioned/chunks/chunk.5HMLFQRB.js +1 -1
- package/cdn-versioned/chunks/chunk.65NSSTJE.js +1 -1
- package/cdn-versioned/chunks/chunk.6GPQREPR.js +1 -1
- package/cdn-versioned/chunks/chunk.6XPWTJEO.js +1 -1
- package/cdn-versioned/chunks/chunk.BBNAM6UU.js +1 -1
- package/cdn-versioned/chunks/chunk.BI37YYXB.js +1 -1
- package/cdn-versioned/chunks/chunk.BMD66TVO.js +1 -1
- package/cdn-versioned/chunks/chunk.CASLT6GP.js +1 -1
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/chunk.CMSO45VL.js +1 -1
- package/cdn-versioned/chunks/chunk.D46YDQPU.js +1 -1
- package/cdn-versioned/chunks/chunk.DVRUURFU.js +1 -1
- package/cdn-versioned/chunks/chunk.DYDQ2243.js +1 -1
- package/cdn-versioned/chunks/chunk.E7EFDHHO.js +2 -2
- package/cdn-versioned/chunks/chunk.EGFNRAGT.js +1 -1
- package/cdn-versioned/chunks/chunk.ETFHHZEV.js +1 -1
- package/cdn-versioned/chunks/{chunk.NT7FQJJ7.js → chunk.FW57KKQK.js} +4 -4
- package/cdn-versioned/chunks/chunk.G2OPAMOQ.js +1 -1
- package/cdn-versioned/chunks/chunk.G2ZCGQFT.js +1 -1
- package/cdn-versioned/chunks/chunk.GBEVACYL.js +1 -1
- package/cdn-versioned/chunks/chunk.GBFIM5QL.js +1 -1
- package/cdn-versioned/chunks/chunk.H3OTEEBL.js +1 -1
- package/cdn-versioned/chunks/chunk.HYGIHDOD.js +1 -1
- package/cdn-versioned/chunks/chunk.JOBOKYRD.js +1 -1
- package/cdn-versioned/chunks/chunk.KMM5EXG2.js +3 -3
- package/cdn-versioned/chunks/chunk.LXJMGZ7N.js +1 -1
- package/cdn-versioned/chunks/chunk.M5IIGUOD.js +1 -1
- package/cdn-versioned/chunks/chunk.MC3E2AR6.js +1 -1
- package/cdn-versioned/chunks/chunk.NFYYHVW5.js +1 -1
- package/cdn-versioned/chunks/chunk.OIWVJGUE.js +1 -1
- package/cdn-versioned/chunks/chunk.PQJAYX54.js +1 -1
- package/cdn-versioned/chunks/chunk.QBBA2SHL.js +1 -1
- package/cdn-versioned/chunks/chunk.SGZKGX4O.js +1 -1
- package/cdn-versioned/chunks/chunk.T2LWRJVU.js +1 -1
- package/cdn-versioned/chunks/chunk.TDREPTB5.js +1 -1
- package/cdn-versioned/chunks/chunk.THMHNOEU.js +1 -1
- package/cdn-versioned/chunks/chunk.UCYFSGWV.js +1 -1
- package/cdn-versioned/chunks/chunk.V5JHZS5I.js +1 -1
- package/cdn-versioned/chunks/chunk.W6X2C6P4.js +1 -1
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.WEGW2FI2.js +1 -1
- package/cdn-versioned/chunks/chunk.XB4NJ3KZ.js +1 -1
- package/cdn-versioned/chunks/chunk.XPPEV3KM.js +1 -1
- package/cdn-versioned/chunks/chunk.YY5DISTT.js +1 -1
- package/cdn-versioned/chunks/chunk.YZFEQRD5.js +1 -1
- package/cdn-versioned/chunks/chunk.ZE4SZUMU.js +1 -1
- package/cdn-versioned/chunks/chunk.ZFFOAXET.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/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/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 +415 -414
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +16 -16
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +16 -16
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +80 -80
- package/cdn-versioned/web-types.json +137 -137
- package/dist/chunks/{chunk.5FQR2C3Z.js → chunk.YEOVGDDU.js} +1 -1
- package/dist/components/select/select.js +1 -1
- package/dist/custom-elements.json +218 -217
- package/dist/solid-components.js +9 -9
- package/dist/web-types.json +1 -1
- 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.2BTNPIIA.js +1 -1
- package/dist-versioned/chunks/chunk.2PUHCALR.js +5 -5
- package/dist-versioned/chunks/chunk.33Z66RGK.js +1 -1
- package/dist-versioned/chunks/chunk.4FGGIABU.js +1 -1
- package/dist-versioned/chunks/chunk.55MYJKOZ.js +1 -1
- package/dist-versioned/chunks/chunk.5WMLZS55.js +2 -2
- package/dist-versioned/chunks/chunk.6BZVWWJH.js +5 -5
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/chunk.6GEEKZAO.js +2 -2
- package/dist-versioned/chunks/chunk.7LEAXICZ.js +1 -1
- package/dist-versioned/chunks/chunk.BPSZYJ7Z.js +3 -3
- package/dist-versioned/chunks/chunk.CWDRTJP6.js +4 -4
- package/dist-versioned/chunks/chunk.DTROPLWA.js +5 -5
- package/dist-versioned/chunks/chunk.DWJJNVK4.js +2 -2
- package/dist-versioned/chunks/chunk.DXNE63DE.js +5 -5
- package/dist-versioned/chunks/chunk.EEZURJVH.js +1 -1
- package/dist-versioned/chunks/chunk.FHD45LNI.js +1 -1
- package/dist-versioned/chunks/chunk.G22VBGDU.js +1 -1
- package/dist-versioned/chunks/chunk.GE2RNW2L.js +1 -1
- package/dist-versioned/chunks/chunk.HGCAGKAN.js +5 -5
- package/dist-versioned/chunks/chunk.HGTEA7ZU.js +26 -26
- package/dist-versioned/chunks/chunk.HVQFYN4Q.js +3 -3
- package/dist-versioned/chunks/chunk.IBGXHO4B.js +3 -3
- package/dist-versioned/chunks/chunk.IT5IEST5.js +1 -1
- package/dist-versioned/chunks/chunk.J46EMIEI.js +2 -2
- package/dist-versioned/chunks/chunk.JFUXDVSP.js +2 -2
- package/dist-versioned/chunks/chunk.JOE2FCYM.js +2 -2
- package/dist-versioned/chunks/chunk.KNC4IRP2.js +2 -2
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
- package/dist-versioned/chunks/chunk.KZTW7NPR.js +13 -13
- package/dist-versioned/chunks/chunk.LC3HWWVO.js +1 -1
- package/dist-versioned/chunks/chunk.MONGBDKC.js +2 -2
- package/dist-versioned/chunks/chunk.NCWRKGWV.js +2 -2
- package/dist-versioned/chunks/chunk.ODT6T47Z.js +2 -2
- package/dist-versioned/chunks/chunk.OSFHS5G5.js +2 -2
- package/dist-versioned/chunks/chunk.OV6G7CEM.js +6 -6
- package/dist-versioned/chunks/chunk.PLE7R7FE.js +3 -3
- package/dist-versioned/chunks/chunk.PYP5VT7Q.js +13 -13
- package/dist-versioned/chunks/chunk.QI3HLIGL.js +6 -6
- package/dist-versioned/chunks/chunk.QTKOFCJ2.js +11 -11
- package/dist-versioned/chunks/chunk.RHXSPE3W.js +2 -2
- package/dist-versioned/chunks/chunk.RM6FOML7.js +5 -5
- package/dist-versioned/chunks/chunk.RQ7H3KYN.js +2 -2
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/chunk.UQGHMQG5.js +2 -2
- package/dist-versioned/chunks/chunk.VFE45I2T.js +2 -2
- package/dist-versioned/chunks/chunk.W4ODHTDG.js +2 -2
- package/dist-versioned/chunks/chunk.W4P6W76T.js +1 -1
- package/dist-versioned/chunks/chunk.WECFZLMT.js +9 -9
- package/dist-versioned/chunks/chunk.WM45G2PF.js +3 -3
- package/dist-versioned/chunks/{chunk.5FQR2C3Z.js → chunk.YEOVGDDU.js} +30 -30
- package/dist-versioned/chunks/chunk.Z7LGSMQC.js +1 -1
- package/dist-versioned/chunks/chunk.ZKPN2W3G.js +1 -1
- 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/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/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 +415 -414
- package/dist-versioned/internal/form.js +3 -3
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +9 -9
- package/dist-versioned/vscode.html-custom-data.json +80 -80
- package/dist-versioned/web-types.json +137 -137
- package/package.json +1 -1
|
@@ -8,4 +8,4 @@ import{a as V}from"./chunk.QBBA2SHL.js";import{a as F}from"./chunk.CASLT6GP.js";
|
|
|
8
8
|
removable-indicator:tag__removable-indicator,
|
|
9
9
|
" size="${this.size==="sm"?"sm":"lg"}" removable @keydown="${e=>this.handleTagMaxOptionsKeyDown(e)}" @sd-remove="${e=>this.handleTagRemove(e)}">${this.selectedOptions.length} ${this.localize.term("tagsSelected")}</sd-tag>`]}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e),this.invalidMessage.textContent=e.target.validationMessage}handleCurrentPlacement(e){let t=e.detail;t&&(this.currentPlacement=t)}handleUseTagsChange(){let e=this.getAllOptions();customElements.get("sd-option")&&e.forEach(t=>{t.checkbox=this.multiple})}handleDisabledChange(){(this.disabled||this.visuallyDisabled)&&(this.open=!1,this.handleOpenChange())}async handleOpenChange(){if(this.open&&(!this.disabled||!this.visuallyDisabled)){this.multiple||this.setCurrentOption(this.selectedOptions[0]||this.getFirstOption()),this.emit("sd-show"),this.addOpenListeners(),await x(this),this.listbox.hidden=!1,this.popup.active=!0,requestAnimationFrame(()=>{this.setCurrentOption(this.currentOption)});let{keyframes:e,options:t}=O(this,"select.show",{dir:this.localize.dir()});await y(this.popup.popup,e,t),this.currentOption&&A(this.currentOption,this.listbox,"vertical","auto"),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),await x(this);let{keyframes:e,options:t}=O(this,"select.hide",{dir:this.localize.dir()});await y(this.popup.popup,e,t),this.listbox.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}}applySizeToOptions(){this._optionsInDefaultSlot.forEach(e=>{e.size=this.size})}handleValueChange(){if(this.selectedOptions.length===(Array.isArray(this.value)?this.value.length:1))return;let e=this.getAllOptions(),t=Array.isArray(this.value)?this.value:[this.value];this.setSelectedOptions(e.filter(l=>t.includes(l.value)))}async show(){if(this.open||this.disabled||this.visuallyDisabled){this.open=!1;return}return this.open=!0,C(this,"sd-after-show")}async hide(){if(!this.open||this.disabled){this.open=!1;return}return this.open=!1,C(this,"sd-after-hide")}checkValidity(){var e;return(e=this.valueInput)==null?void 0:e.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.valueInput.reportValidity()}setCustomValidity(e){this.valueInput.setCustomValidity(e),this.formControlController.updateValidity()}focus(e){this.combobox.focus(e)}blur(){this.combobox.blur()}render(){let e={default:this.hasSlotController.test("[default]"),label:this.hasSlotController.test("label"),clearIcon:this.hasSlotController.test("clear-icon"),expandIcon:this.hasSlotController.test("expand-icon"),helpText:this.hasSlotController.test("help-text"),tooltip:this.hasSlotController.test("tooltip")},t=this.label?!0:!!e.label,l=this.helpText?!0:!!e.helpText,o=this.clearable&&!this.disabled,h=!!e.tooltip,a=this.disabled?"disabled":this.visuallyDisabled?"visuallyDisabled":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus||this.open?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",n=this.disabled||this.visuallyDisabled?"cursor-not-allowed":"cursor-pointer",m={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],f={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size];return p`<div part="form-control" class="${d("relative text-left",n,this.size==="sm"?"text-sm":"text-base",this.open&&"z-50")}"><span class="sr-only" role="alert" aria-live="assertive">${this.deletedTagLabel}</span> ${t||h?p`<div class="flex items-center gap-1 mb-2"><label id="label" part="form-control-label" class="${t&&"inline-block"}" aria-hidden="${t?"false":"true"}" @click="${this.handleLabelClick}"><slot name="label">${this.label}</slot></label> ${e.tooltip?p`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${d("relative w-full bg-white",a==="disabled"?"text-neutral-500":"text-black")}"><div part="border" class="${d("absolute top-0 w-full h-full pointer-events-none border rounded-default z-10",{disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",readonly:"border-neutral-800",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"border-neutral-800"}[a],this.open&&(this.currentPlacement==="bottom"?"rounded-bl-none rounded-br-none":"rounded-tl-none rounded-tr-none"))}"></div><sd-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${d("inline-flex relative w-full",this.currentPlacement==="bottom"?"origin-top":"origin-bottom")}" placement="${this.placement}" strategy="${this.hoist?"fixed":"absolute"}" flip shift sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
|
|
10
10
|
popup:popup__content,
|
|
11
|
-
"><div class="${d("relative w-full h-full grid grid-cols-1",this.visuallyDisabled||this.disabled?"hover:bg-transparent":"hover:bg-neutral-200")}" slot="anchor"><div class="${d("input-container flex items-center w-full h-full px-4",{sm:"py-1",md:"py-1",lg:"py-2"}[this.size])}"><input name="${this.name}" form="${this.form}" part="display-input" class="${d("top-0 left-0 appearance-none outline-none flex-grow bg-transparent w-full placeholder-neutral-700",n,this.multiple&&this.useTags&&this.value.length>0?"hidden":"")}" 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||this.visuallyDisabled?"true":"false"}" aria-invalid="${this.showInvalidStyle}" aria-describedby="help-text invalid-message" role="combobox" tabindex="-1"> ${this.multiple&&this.useTags?p`<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(v=>v==null?void 0:v.getTextLabel()).join(", ")}</div><input class="${d("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10",n)}" 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}"> ${o?p`<button part="clear-button" class="${d("select__clear flex justify-center",m,this.value.length>0?"visible":"invisible")}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-icon class="${d("text-icon-fill-neutral-800 z-10",f)}" library="system" name="closing-round"></sd-icon></slot></button>`:""} ${this.showInvalidStyle?p`<sd-icon part="invalid-icon" class="${d(m,f,"text-error")}" library="system" name="risk"></sd-icon>`:""} ${this.styleOnValid&&this.showValidStyle?p`<sd-icon part="valid-icon" class="${d("flex-shrink-0 text-success",m,f)}" library="system" name="status-check"></sd-icon>`:""}<slot name="expand-icon" part="expand-icon" class="${d("inline-flex ml-2 transition-all items-center",this.open?"rotate-180":"rotate-0",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary",f)}"><sd-icon name="chevron-down" part="chevron" library="system" color="currentColor"></sd-icon></slot></div><button part="combobox" class="${d("relative w-full px-4 flex flex-row items-center rounded-default focus-visible:outline-none",n,this.open&&"shadow",{sm:"min-h-[32px]",md:"min-h-[40px]",lg:"min-h-[48px]"}[this.size])}" type="button" @keydown="${this.handleComboboxKeyDown}" @mousedown="${this.handleComboboxMouseDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" aria-labelledby="label"></button></div><div id="listbox" role="listbox" aria-expanded="${this.open?"true":"false"}" aria-multiselectable="${this.multiple?"true":"false"}" aria-labelledby="label" part="listbox" class="${d("bg-white px-2 py-3 relative border-primary overflow-y-auto",this.open&&"shadow",this.currentPlacement==="bottom"?"border-r-2 border-b-2 border-l-2 rounded-br-default rounded-bl-default":"border-r-2 border-t-2 border-l-2 rounded-tr-default rounded-tl-default")}" tabindex="-1" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-popup></div><div class="text-sm text-neutral-700 mt-2" part="form-control-help-text" id="help-text" aria-hidden="${l?"false":"true"}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage()}`}};i.dependencies={"sd-icon":k,"sd-popup":F,"sd-tag":V},i.styles=[...g.styles,T`:host{display:block;position:relative;width:100%}:host([required]) #label:after{content:" *"}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}[part=listbox]{max-height:var(--auto-size-available-height,auto)}.input-container,[part=combobox]{grid-column:1/1;grid-row:1/1}sd-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-tag::part(base){border-radius:var(--sd-border-radius-default,.25rem);padding-left:var(--sd-spacing-1,.25rem);padding-right:var(--sd-spacing-1,.25rem)}sd-tag::part(content){display:inline-block;max-width:var(--tag-max-width,15ch);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}sd-tag[size=lg]::part(base){padding-left:var(--sd-spacing-2,.5rem);padding-right:var(--sd-spacing-2,.5rem)}sd-tag[disabled=false]::part(base):hover{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-100,236 240 249)/var(--tw-bg-opacity,1))}`],s([E({selector:"sd-option"})],i.prototype,"_optionsInDefaultSlot",2),s([c("sd-popup")],i.prototype,"popup",2),s([c('[part="combobox"]')],i.prototype,"combobox",2),s([c('[part="display-input"]')],i.prototype,"displayInput",2),s([c(".value-input")],i.prototype,"valueInput",2),s([c('[part="listbox"]')],i.prototype,"listbox",2),s([c("#invalid-message")],i.prototype,"invalidMessage",2),s([u()],i.prototype,"displayLabel",2),s([u()],i.prototype,"deletedTagLabel",2),s([u()],i.prototype,"hasFocus",2),s([u()],i.prototype,"currentOption",2),s([u()],i.prototype,"selectedOptions",2),s([u()],i.prototype,"showValidStyle",2),s([u()],i.prototype,"showInvalidStyle",2),s([M()],i.prototype,"defaultValue",2),s([r({type:Boolean,reflect:!0})],i.prototype,"open",2),s([r({type:String,reflect:!0})],i.prototype,"size",2),s([r({type:String,reflect:!0})],i.prototype,"placement",2),s([r({type:String,reflect:!0})],i.prototype,"label",2),s([r({type:String,reflect:!0})],i.prototype,"placeholder",2),s([r({type:String,attribute:"max-options-tag-label",reflect:!0})],i.prototype,"maxOptionsTagLabel",2),s([r({type:Boolean,reflect:!0})],i.prototype,"disabled",2),s([r({type:Boolean,reflect:!0,attribute:"visually-disabled"})],i.prototype,"visuallyDisabled",2),s([r({type:String,attribute:"help-text",reflect:!0})],i.prototype,"helpText",2),s([u()],i.prototype,"currentPlacement",2),s([r({type:Boolean})],i.prototype,"clearable",2),s([r({type:Boolean,reflect:!0})],i.prototype,"multiple",2),s([r({type:Boolean,reflect:!0})],i.prototype,"useTags",2),s([r({attribute:"max-options-visible",type:Number,reflect:!0})],i.prototype,"maxOptionsVisible",2),s([r({reflect:!0})],i.prototype,"form",2),s([r({reflect:!0})],i.prototype,"name",2),s([r({converter:{fromAttribute:e=>e.split(" "),toAttribute:e=>e.join(" ")}})],i.prototype,"value",2),s([r({type:Boolean,reflect:!0})],i.prototype,"required",2),s([r({type:Boolean,reflect:!0,attribute:"style-on-valid"})],i.prototype,"styleOnValid",2),s([r({type:Boolean,reflect:!0})],i.prototype,"hoist",2),s([r()],i.prototype,"getTag",2),s([b("useTags",{waitUntilFirstUpdate:!0})],i.prototype,"handleUseTagsChange",1),s([b(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],i.prototype,"handleDisabledChange",1),s([b("open",{waitUntilFirstUpdate:!0})],i.prototype,"handleOpenChange",1),s([b("size",{waitUntilFirstUpdate:!0})],i.prototype,"applySizeToOptions",1),s([b("value",{waitUntilFirstUpdate:!0})],i.prototype,"handleValueChange",1),i=s([$("sd-select")],i);w("select.show",{keyframes:[{opacity:0,scale:.9},{opacity:1,scale:1}],options:{duration:100,easing:"ease"}});w("select.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.9}],options:{duration:100,easing:"ease"}});export{i as a};
|
|
11
|
+
"><div class="${d("relative w-full h-full grid grid-cols-1",this.visuallyDisabled||this.disabled?"hover:bg-transparent":"hover:bg-neutral-200")}" slot="anchor"><div class="${d("input-container flex items-center w-full h-full px-4",{sm:"py-1",md:"py-1",lg:"py-2"}[this.size])}"><input name="${this.name}" form="${this.form}" part="display-input" class="${d("top-0 left-0 appearance-none outline-none flex-grow bg-transparent w-full placeholder-neutral-700",n,this.multiple&&this.useTags&&this.value.length>0?"hidden":"")}" 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||this.visuallyDisabled?"true":"false"}" aria-invalid="${this.showInvalidStyle}" aria-describedby="help-text invalid-message" role="combobox" tabindex="-1"> ${this.multiple&&this.useTags?p`<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(v=>v==null?void 0:v.getTextLabel()).join(", ")}</div><input class="${d("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10",n)}" 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}"> ${o?p`<button part="clear-button" class="${d("select__clear flex justify-center",m,this.value.length>0?"visible":"invisible")}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-icon class="${d("text-icon-fill-neutral-800 z-10",f)}" library="system" name="closing-round"></sd-icon></slot></button>`:""} ${this.showInvalidStyle?p`<sd-icon part="invalid-icon" class="${d(m,f,"text-error")}" library="system" name="risk"></sd-icon>`:""} ${this.styleOnValid&&this.showValidStyle?p`<sd-icon part="valid-icon" class="${d("flex-shrink-0 text-success",m,f)}" library="system" name="status-check"></sd-icon>`:""}<slot name="expand-icon" part="expand-icon" class="${d("inline-flex ml-2 transition-all items-center",this.open?"rotate-180":"rotate-0",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary",f)}"><sd-icon name="chevron-down" part="chevron" library="system" color="currentColor"></sd-icon></slot></div><button part="combobox" class="${d("relative w-full px-4 flex flex-row items-center rounded-default focus-visible:outline-none",n,this.open&&"shadow",{sm:"min-h-[32px]",md:"min-h-[40px]",lg:"min-h-[48px]"}[this.size])}" type="button" @keydown="${this.handleComboboxKeyDown}" @mousedown="${this.handleComboboxMouseDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" aria-labelledby="label"></button></div><div id="listbox" role="listbox" aria-expanded="${this.open?"true":"false"}" aria-multiselectable="${this.multiple?"true":"false"}" aria-labelledby="label" part="listbox" class="${d("bg-white px-2 py-3 relative border-primary overflow-y-auto",this.open&&"shadow",this.currentPlacement==="bottom"?"border-r-2 border-b-2 border-l-2 rounded-br-default rounded-bl-default":"border-r-2 border-t-2 border-l-2 rounded-tr-default rounded-tl-default")}" tabindex="-1" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-popup></div><div class="text-sm text-neutral-700 mt-2" part="form-control-help-text" id="help-text" aria-hidden="${l?"false":"true"}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage()}`}};i.dependencies={"sd-icon":k,"sd-popup":F,"sd-tag":V},i.styles=[...g.styles,T`:host{display:block;position:relative;width:100%}:host([required]) #label:after{content:" *"}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}[part=listbox]{max-height:var(--auto-size-available-height,auto)}.input-container,[part=combobox]{grid-column:1/1;grid-row:1/1}sd-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-tag::part(base){border-radius:var(--sd-border-radius-default,.25rem);padding-left:var(--sd-spacing-1,.25rem);padding-right:var(--sd-spacing-1,.25rem)}sd-tag::part(content){display:inline-block;max-width:var(--tag-max-width,15ch);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}sd-tag[size=lg]::part(base){padding-left:var(--sd-spacing-2,.5rem);padding-right:var(--sd-spacing-2,.5rem)}sd-tag[disabled=false]::part(base):hover{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-100,236 240 249)/var(--tw-bg-opacity,1))}`],s([E({selector:"sd-option"})],i.prototype,"_optionsInDefaultSlot",2),s([c("sd-popup")],i.prototype,"popup",2),s([c('[part="combobox"]')],i.prototype,"combobox",2),s([c('[part="display-input"]')],i.prototype,"displayInput",2),s([c(".value-input")],i.prototype,"valueInput",2),s([c('[part="listbox"]')],i.prototype,"listbox",2),s([c("#invalid-message")],i.prototype,"invalidMessage",2),s([u()],i.prototype,"displayLabel",2),s([u()],i.prototype,"deletedTagLabel",2),s([u()],i.prototype,"hasFocus",2),s([u()],i.prototype,"currentOption",2),s([u()],i.prototype,"selectedOptions",2),s([u()],i.prototype,"showValidStyle",2),s([u()],i.prototype,"showInvalidStyle",2),s([M()],i.prototype,"defaultValue",2),s([r({type:Boolean,reflect:!0})],i.prototype,"open",2),s([r({type:String,reflect:!0})],i.prototype,"size",2),s([r({type:String,reflect:!0})],i.prototype,"placement",2),s([r({type:String,reflect:!0})],i.prototype,"label",2),s([r({type:String,reflect:!0})],i.prototype,"placeholder",2),s([r({type:String,attribute:"max-options-tag-label",reflect:!0})],i.prototype,"maxOptionsTagLabel",2),s([r({type:Boolean,reflect:!0})],i.prototype,"disabled",2),s([r({type:Boolean,reflect:!0,attribute:"visually-disabled"})],i.prototype,"visuallyDisabled",2),s([r({type:String,attribute:"help-text",reflect:!0})],i.prototype,"helpText",2),s([u()],i.prototype,"currentPlacement",2),s([r({type:Boolean,reflect:!0})],i.prototype,"clearable",2),s([r({type:Boolean,reflect:!0})],i.prototype,"multiple",2),s([r({type:Boolean,reflect:!0})],i.prototype,"useTags",2),s([r({attribute:"max-options-visible",type:Number,reflect:!0})],i.prototype,"maxOptionsVisible",2),s([r({reflect:!0})],i.prototype,"form",2),s([r({reflect:!0})],i.prototype,"name",2),s([r({converter:{fromAttribute:e=>e.split(" "),toAttribute:e=>e.join(" ")}})],i.prototype,"value",2),s([r({type:Boolean,reflect:!0})],i.prototype,"required",2),s([r({type:Boolean,reflect:!0,attribute:"style-on-valid"})],i.prototype,"styleOnValid",2),s([r({type:Boolean,reflect:!0})],i.prototype,"hoist",2),s([r()],i.prototype,"getTag",2),s([b("useTags",{waitUntilFirstUpdate:!0})],i.prototype,"handleUseTagsChange",1),s([b(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],i.prototype,"handleDisabledChange",1),s([b("open",{waitUntilFirstUpdate:!0})],i.prototype,"handleOpenChange",1),s([b("size",{waitUntilFirstUpdate:!0})],i.prototype,"applySizeToOptions",1),s([b("value",{waitUntilFirstUpdate:!0})],i.prototype,"handleValueChange",1),i=s([$("sd-select")],i);w("select.show",{keyframes:[{opacity:0,scale:.9},{opacity:1,scale:1}],options:{duration:100,easing:"ease"}});w("select.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.9}],options:{duration:100,easing:"ease"}});export{i as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunks/chunk.
|
|
1
|
+
import{a}from"../../chunks/chunk.FW57KKQK.js";import"../../chunks/chunk.QBBA2SHL.js";import"../../chunks/chunk.CASLT6GP.js";import"../../chunks/chunk.D7TMPF3D.js";import"../../chunks/chunk.3L472FD4.js";import"../../chunks/chunk.65NSSTJE.js";import"../../chunks/chunk.HE2LNCWW.js";import"../../chunks/chunk.A3DKF5BY.js";import"../../chunks/chunk.5ZILM4TA.js";import"../../chunks/chunk.T2LWRJVU.js";import"../../chunks/chunk.SPDB3L7V.js";import"../../chunks/chunk.SNS2IHBI.js";import"../../chunks/chunk.TWZDCIM2.js";import"../../chunks/chunk.MWDEA25W.js";import"../../chunks/chunk.K7HF3VBZ.js";import"../../chunks/chunk.PYHYYOBE.js";import"../../chunks/chunk.EFLL7VXU.js";import"../../chunks/chunk.RQYP7MH5.js";import"../../chunks/chunk.KLRPP4NQ.js";import"../../chunks/chunk.E2DRD2OX.js";import"../../chunks/chunk.6HO6CE4A.js";import"../../chunks/chunk.TNPIUMKG.js";import"../../chunks/chunk.LO4SY63J.js";import"../../chunks/chunk.BQKFXDN2.js";import"../../chunks/chunk.HJGLYEWV.js";import"../../chunks/chunk.26V4EXHB.js";import"../../chunks/chunk.DYDQ2243.js";import"../../chunks/chunk.IRWHG2Q4.js";import"../../chunks/chunk.TJOCV4DC.js";export{a as default};
|
package/cdn/custom-elements.json
CHANGED
|
@@ -3603,6 +3603,221 @@
|
|
|
3603
3603
|
}
|
|
3604
3604
|
]
|
|
3605
3605
|
},
|
|
3606
|
+
{
|
|
3607
|
+
"kind": "javascript-module",
|
|
3608
|
+
"path": "components/checkbox-group/checkbox-group.js",
|
|
3609
|
+
"declarations": [
|
|
3610
|
+
{
|
|
3611
|
+
"kind": "class",
|
|
3612
|
+
"description": "",
|
|
3613
|
+
"name": "SdCheckboxGroup",
|
|
3614
|
+
"slots": [
|
|
3615
|
+
{
|
|
3616
|
+
"description": "The default slot where `<sd-checkbox>` elements are placed.",
|
|
3617
|
+
"name": ""
|
|
3618
|
+
},
|
|
3619
|
+
{
|
|
3620
|
+
"description": "The checkbox group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.",
|
|
3621
|
+
"name": "label"
|
|
3622
|
+
},
|
|
3623
|
+
{
|
|
3624
|
+
"description": "An optional tooltip that helps describe the checkbox-group. Use this slot with the `sd-tooltip` component.",
|
|
3625
|
+
"name": "tooltip"
|
|
3626
|
+
},
|
|
3627
|
+
{
|
|
3628
|
+
"description": "Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
|
|
3629
|
+
"name": "help-text"
|
|
3630
|
+
}
|
|
3631
|
+
],
|
|
3632
|
+
"members": [
|
|
3633
|
+
{
|
|
3634
|
+
"kind": "field",
|
|
3635
|
+
"name": "size",
|
|
3636
|
+
"type": {
|
|
3637
|
+
"text": "'lg' | 'md' | 'sm'"
|
|
3638
|
+
},
|
|
3639
|
+
"default": "'lg'",
|
|
3640
|
+
"description": "The checkbox group's size. This size will be applied to the label, all child checkboxes.",
|
|
3641
|
+
"attribute": "size",
|
|
3642
|
+
"reflects": true
|
|
3643
|
+
},
|
|
3644
|
+
{
|
|
3645
|
+
"kind": "field",
|
|
3646
|
+
"name": "orientation",
|
|
3647
|
+
"type": {
|
|
3648
|
+
"text": "'horizontal' | 'vertical'"
|
|
3649
|
+
},
|
|
3650
|
+
"default": "'vertical'",
|
|
3651
|
+
"description": "The orientation property determines the alignment of the component's content or elements. It accepts two possible\nvalues: 'horizontal' and 'vertical'. The default value is 'vertical'.\nThis property allows you to control the visual layout and arrangement of elements within the component, providing\nflexibility in how the component is displayed based on your specific design needs.",
|
|
3652
|
+
"attribute": "orientation",
|
|
3653
|
+
"reflects": true
|
|
3654
|
+
},
|
|
3655
|
+
{
|
|
3656
|
+
"kind": "field",
|
|
3657
|
+
"name": "label",
|
|
3658
|
+
"type": {
|
|
3659
|
+
"text": "string"
|
|
3660
|
+
},
|
|
3661
|
+
"default": "''",
|
|
3662
|
+
"description": "The checkbox group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
|
|
3663
|
+
"attribute": "label",
|
|
3664
|
+
"reflects": true
|
|
3665
|
+
},
|
|
3666
|
+
{
|
|
3667
|
+
"kind": "field",
|
|
3668
|
+
"name": "helpText",
|
|
3669
|
+
"type": {
|
|
3670
|
+
"text": "string"
|
|
3671
|
+
},
|
|
3672
|
+
"default": "''",
|
|
3673
|
+
"description": "The element help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
3674
|
+
"attribute": "help-text",
|
|
3675
|
+
"reflects": true
|
|
3676
|
+
},
|
|
3677
|
+
{
|
|
3678
|
+
"kind": "field",
|
|
3679
|
+
"name": "dir",
|
|
3680
|
+
"type": {
|
|
3681
|
+
"text": "'ltr' | 'rtl' | 'auto'"
|
|
3682
|
+
},
|
|
3683
|
+
"description": "The element's directionality.",
|
|
3684
|
+
"attribute": "dir",
|
|
3685
|
+
"inheritedFrom": {
|
|
3686
|
+
"name": "SolidElement",
|
|
3687
|
+
"module": "internal/solid-element.js"
|
|
3688
|
+
}
|
|
3689
|
+
},
|
|
3690
|
+
{
|
|
3691
|
+
"kind": "field",
|
|
3692
|
+
"name": "lang",
|
|
3693
|
+
"type": {
|
|
3694
|
+
"text": "string"
|
|
3695
|
+
},
|
|
3696
|
+
"description": "The element's language.",
|
|
3697
|
+
"attribute": "lang",
|
|
3698
|
+
"inheritedFrom": {
|
|
3699
|
+
"name": "SolidElement",
|
|
3700
|
+
"module": "internal/solid-element.js"
|
|
3701
|
+
}
|
|
3702
|
+
},
|
|
3703
|
+
{
|
|
3704
|
+
"kind": "method",
|
|
3705
|
+
"name": "emit",
|
|
3706
|
+
"parameters": [
|
|
3707
|
+
{
|
|
3708
|
+
"name": "name",
|
|
3709
|
+
"type": {
|
|
3710
|
+
"text": "string"
|
|
3711
|
+
}
|
|
3712
|
+
},
|
|
3713
|
+
{
|
|
3714
|
+
"name": "options",
|
|
3715
|
+
"optional": true,
|
|
3716
|
+
"type": {
|
|
3717
|
+
"text": "CustomEventInit"
|
|
3718
|
+
}
|
|
3719
|
+
}
|
|
3720
|
+
],
|
|
3721
|
+
"description": "Emits a custom event with more convenient defaults.",
|
|
3722
|
+
"inheritedFrom": {
|
|
3723
|
+
"name": "SolidElement",
|
|
3724
|
+
"module": "internal/solid-element.js"
|
|
3725
|
+
}
|
|
3726
|
+
}
|
|
3727
|
+
],
|
|
3728
|
+
"attributes": [
|
|
3729
|
+
{
|
|
3730
|
+
"name": "size",
|
|
3731
|
+
"type": {
|
|
3732
|
+
"text": "'lg' | 'md' | 'sm'"
|
|
3733
|
+
},
|
|
3734
|
+
"default": "'lg'",
|
|
3735
|
+
"description": "The checkbox group's size. This size will be applied to the label, all child checkboxes.",
|
|
3736
|
+
"fieldName": "size"
|
|
3737
|
+
},
|
|
3738
|
+
{
|
|
3739
|
+
"name": "orientation",
|
|
3740
|
+
"type": {
|
|
3741
|
+
"text": "'horizontal' | 'vertical'"
|
|
3742
|
+
},
|
|
3743
|
+
"default": "'vertical'",
|
|
3744
|
+
"description": "The orientation property determines the alignment of the component's content or elements. It accepts two possible\nvalues: 'horizontal' and 'vertical'. The default value is 'vertical'.\nThis property allows you to control the visual layout and arrangement of elements within the component, providing\nflexibility in how the component is displayed based on your specific design needs.",
|
|
3745
|
+
"fieldName": "orientation"
|
|
3746
|
+
},
|
|
3747
|
+
{
|
|
3748
|
+
"name": "label",
|
|
3749
|
+
"type": {
|
|
3750
|
+
"text": "string"
|
|
3751
|
+
},
|
|
3752
|
+
"default": "''",
|
|
3753
|
+
"description": "The checkbox group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
|
|
3754
|
+
"fieldName": "label"
|
|
3755
|
+
},
|
|
3756
|
+
{
|
|
3757
|
+
"name": "help-text",
|
|
3758
|
+
"type": {
|
|
3759
|
+
"text": "string"
|
|
3760
|
+
},
|
|
3761
|
+
"default": "''",
|
|
3762
|
+
"description": "The element help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
3763
|
+
"fieldName": "helpText"
|
|
3764
|
+
},
|
|
3765
|
+
{
|
|
3766
|
+
"name": "dir",
|
|
3767
|
+
"type": {
|
|
3768
|
+
"text": "'ltr' | 'rtl' | 'auto'"
|
|
3769
|
+
},
|
|
3770
|
+
"description": "The element's directionality.",
|
|
3771
|
+
"fieldName": "dir",
|
|
3772
|
+
"inheritedFrom": {
|
|
3773
|
+
"name": "SolidElement",
|
|
3774
|
+
"module": "src/internal/solid-element.ts"
|
|
3775
|
+
}
|
|
3776
|
+
},
|
|
3777
|
+
{
|
|
3778
|
+
"name": "lang",
|
|
3779
|
+
"type": {
|
|
3780
|
+
"text": "string"
|
|
3781
|
+
},
|
|
3782
|
+
"description": "The element's language.",
|
|
3783
|
+
"fieldName": "lang",
|
|
3784
|
+
"inheritedFrom": {
|
|
3785
|
+
"name": "SolidElement",
|
|
3786
|
+
"module": "src/internal/solid-element.ts"
|
|
3787
|
+
}
|
|
3788
|
+
}
|
|
3789
|
+
],
|
|
3790
|
+
"superclass": {
|
|
3791
|
+
"name": "SolidElement",
|
|
3792
|
+
"module": "/src/internal/solid-element"
|
|
3793
|
+
},
|
|
3794
|
+
"summary": "Checkbox groups are used to group multiple [checkbox](/components/checkbox). It provides only presentational functionality.",
|
|
3795
|
+
"documentation": "https://solid.union-investment.com/[storybook-link]/checkbox-group",
|
|
3796
|
+
"status": "stable",
|
|
3797
|
+
"since": "1.22.0",
|
|
3798
|
+
"tagName": "sd-checkbox-group",
|
|
3799
|
+
"customElement": true
|
|
3800
|
+
}
|
|
3801
|
+
],
|
|
3802
|
+
"exports": [
|
|
3803
|
+
{
|
|
3804
|
+
"kind": "js",
|
|
3805
|
+
"name": "default",
|
|
3806
|
+
"declaration": {
|
|
3807
|
+
"name": "SdCheckboxGroup",
|
|
3808
|
+
"module": "components/checkbox-group/checkbox-group.js"
|
|
3809
|
+
}
|
|
3810
|
+
},
|
|
3811
|
+
{
|
|
3812
|
+
"kind": "custom-element-definition",
|
|
3813
|
+
"name": "sd-checkbox-group",
|
|
3814
|
+
"declaration": {
|
|
3815
|
+
"name": "SdCheckboxGroup",
|
|
3816
|
+
"module": "components/checkbox-group/checkbox-group.js"
|
|
3817
|
+
}
|
|
3818
|
+
}
|
|
3819
|
+
]
|
|
3820
|
+
},
|
|
3606
3821
|
{
|
|
3607
3822
|
"kind": "javascript-module",
|
|
3608
3823
|
"path": "components/combobox/combobox.js",
|
|
@@ -12538,7 +12753,8 @@
|
|
|
12538
12753
|
},
|
|
12539
12754
|
"default": "false",
|
|
12540
12755
|
"description": "Adds a clear button when the select is not empty.",
|
|
12541
|
-
"attribute": "clearable"
|
|
12756
|
+
"attribute": "clearable",
|
|
12757
|
+
"reflects": true
|
|
12542
12758
|
},
|
|
12543
12759
|
{
|
|
12544
12760
|
"kind": "field",
|
|
@@ -16918,227 +17134,12 @@
|
|
|
16918
17134
|
}
|
|
16919
17135
|
}
|
|
16920
17136
|
]
|
|
16921
|
-
},
|
|
16922
|
-
{
|
|
16923
|
-
"kind": "javascript-module",
|
|
16924
|
-
"path": "components/checkbox-group/checkbox-group.js",
|
|
16925
|
-
"declarations": [
|
|
16926
|
-
{
|
|
16927
|
-
"kind": "class",
|
|
16928
|
-
"description": "",
|
|
16929
|
-
"name": "SdCheckboxGroup",
|
|
16930
|
-
"slots": [
|
|
16931
|
-
{
|
|
16932
|
-
"description": "The default slot where `<sd-checkbox>` elements are placed.",
|
|
16933
|
-
"name": ""
|
|
16934
|
-
},
|
|
16935
|
-
{
|
|
16936
|
-
"description": "The checkbox group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.",
|
|
16937
|
-
"name": "label"
|
|
16938
|
-
},
|
|
16939
|
-
{
|
|
16940
|
-
"description": "An optional tooltip that helps describe the checkbox-group. Use this slot with the `sd-tooltip` component.",
|
|
16941
|
-
"name": "tooltip"
|
|
16942
|
-
},
|
|
16943
|
-
{
|
|
16944
|
-
"description": "Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
|
|
16945
|
-
"name": "help-text"
|
|
16946
|
-
}
|
|
16947
|
-
],
|
|
16948
|
-
"members": [
|
|
16949
|
-
{
|
|
16950
|
-
"kind": "field",
|
|
16951
|
-
"name": "size",
|
|
16952
|
-
"type": {
|
|
16953
|
-
"text": "'lg' | 'md' | 'sm'"
|
|
16954
|
-
},
|
|
16955
|
-
"default": "'lg'",
|
|
16956
|
-
"description": "The checkbox group's size. This size will be applied to the label, all child checkboxes.",
|
|
16957
|
-
"attribute": "size",
|
|
16958
|
-
"reflects": true
|
|
16959
|
-
},
|
|
16960
|
-
{
|
|
16961
|
-
"kind": "field",
|
|
16962
|
-
"name": "orientation",
|
|
16963
|
-
"type": {
|
|
16964
|
-
"text": "'horizontal' | 'vertical'"
|
|
16965
|
-
},
|
|
16966
|
-
"default": "'vertical'",
|
|
16967
|
-
"description": "The orientation property determines the alignment of the component's content or elements. It accepts two possible\nvalues: 'horizontal' and 'vertical'. The default value is 'vertical'.\nThis property allows you to control the visual layout and arrangement of elements within the component, providing\nflexibility in how the component is displayed based on your specific design needs.",
|
|
16968
|
-
"attribute": "orientation",
|
|
16969
|
-
"reflects": true
|
|
16970
|
-
},
|
|
16971
|
-
{
|
|
16972
|
-
"kind": "field",
|
|
16973
|
-
"name": "label",
|
|
16974
|
-
"type": {
|
|
16975
|
-
"text": "string"
|
|
16976
|
-
},
|
|
16977
|
-
"default": "''",
|
|
16978
|
-
"description": "The checkbox group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
|
|
16979
|
-
"attribute": "label",
|
|
16980
|
-
"reflects": true
|
|
16981
|
-
},
|
|
16982
|
-
{
|
|
16983
|
-
"kind": "field",
|
|
16984
|
-
"name": "helpText",
|
|
16985
|
-
"type": {
|
|
16986
|
-
"text": "string"
|
|
16987
|
-
},
|
|
16988
|
-
"default": "''",
|
|
16989
|
-
"description": "The element help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
16990
|
-
"attribute": "help-text",
|
|
16991
|
-
"reflects": true
|
|
16992
|
-
},
|
|
16993
|
-
{
|
|
16994
|
-
"kind": "field",
|
|
16995
|
-
"name": "dir",
|
|
16996
|
-
"type": {
|
|
16997
|
-
"text": "'ltr' | 'rtl' | 'auto'"
|
|
16998
|
-
},
|
|
16999
|
-
"description": "The element's directionality.",
|
|
17000
|
-
"attribute": "dir",
|
|
17001
|
-
"inheritedFrom": {
|
|
17002
|
-
"name": "SolidElement",
|
|
17003
|
-
"module": "internal/solid-element.js"
|
|
17004
|
-
}
|
|
17005
|
-
},
|
|
17006
|
-
{
|
|
17007
|
-
"kind": "field",
|
|
17008
|
-
"name": "lang",
|
|
17009
|
-
"type": {
|
|
17010
|
-
"text": "string"
|
|
17011
|
-
},
|
|
17012
|
-
"description": "The element's language.",
|
|
17013
|
-
"attribute": "lang",
|
|
17014
|
-
"inheritedFrom": {
|
|
17015
|
-
"name": "SolidElement",
|
|
17016
|
-
"module": "internal/solid-element.js"
|
|
17017
|
-
}
|
|
17018
|
-
},
|
|
17019
|
-
{
|
|
17020
|
-
"kind": "method",
|
|
17021
|
-
"name": "emit",
|
|
17022
|
-
"parameters": [
|
|
17023
|
-
{
|
|
17024
|
-
"name": "name",
|
|
17025
|
-
"type": {
|
|
17026
|
-
"text": "string"
|
|
17027
|
-
}
|
|
17028
|
-
},
|
|
17029
|
-
{
|
|
17030
|
-
"name": "options",
|
|
17031
|
-
"optional": true,
|
|
17032
|
-
"type": {
|
|
17033
|
-
"text": "CustomEventInit"
|
|
17034
|
-
}
|
|
17035
|
-
}
|
|
17036
|
-
],
|
|
17037
|
-
"description": "Emits a custom event with more convenient defaults.",
|
|
17038
|
-
"inheritedFrom": {
|
|
17039
|
-
"name": "SolidElement",
|
|
17040
|
-
"module": "internal/solid-element.js"
|
|
17041
|
-
}
|
|
17042
|
-
}
|
|
17043
|
-
],
|
|
17044
|
-
"attributes": [
|
|
17045
|
-
{
|
|
17046
|
-
"name": "size",
|
|
17047
|
-
"type": {
|
|
17048
|
-
"text": "'lg' | 'md' | 'sm'"
|
|
17049
|
-
},
|
|
17050
|
-
"default": "'lg'",
|
|
17051
|
-
"description": "The checkbox group's size. This size will be applied to the label, all child checkboxes.",
|
|
17052
|
-
"fieldName": "size"
|
|
17053
|
-
},
|
|
17054
|
-
{
|
|
17055
|
-
"name": "orientation",
|
|
17056
|
-
"type": {
|
|
17057
|
-
"text": "'horizontal' | 'vertical'"
|
|
17058
|
-
},
|
|
17059
|
-
"default": "'vertical'",
|
|
17060
|
-
"description": "The orientation property determines the alignment of the component's content or elements. It accepts two possible\nvalues: 'horizontal' and 'vertical'. The default value is 'vertical'.\nThis property allows you to control the visual layout and arrangement of elements within the component, providing\nflexibility in how the component is displayed based on your specific design needs.",
|
|
17061
|
-
"fieldName": "orientation"
|
|
17062
|
-
},
|
|
17063
|
-
{
|
|
17064
|
-
"name": "label",
|
|
17065
|
-
"type": {
|
|
17066
|
-
"text": "string"
|
|
17067
|
-
},
|
|
17068
|
-
"default": "''",
|
|
17069
|
-
"description": "The checkbox group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
|
|
17070
|
-
"fieldName": "label"
|
|
17071
|
-
},
|
|
17072
|
-
{
|
|
17073
|
-
"name": "help-text",
|
|
17074
|
-
"type": {
|
|
17075
|
-
"text": "string"
|
|
17076
|
-
},
|
|
17077
|
-
"default": "''",
|
|
17078
|
-
"description": "The element help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
17079
|
-
"fieldName": "helpText"
|
|
17080
|
-
},
|
|
17081
|
-
{
|
|
17082
|
-
"name": "dir",
|
|
17083
|
-
"type": {
|
|
17084
|
-
"text": "'ltr' | 'rtl' | 'auto'"
|
|
17085
|
-
},
|
|
17086
|
-
"description": "The element's directionality.",
|
|
17087
|
-
"fieldName": "dir",
|
|
17088
|
-
"inheritedFrom": {
|
|
17089
|
-
"name": "SolidElement",
|
|
17090
|
-
"module": "src/internal/solid-element.ts"
|
|
17091
|
-
}
|
|
17092
|
-
},
|
|
17093
|
-
{
|
|
17094
|
-
"name": "lang",
|
|
17095
|
-
"type": {
|
|
17096
|
-
"text": "string"
|
|
17097
|
-
},
|
|
17098
|
-
"description": "The element's language.",
|
|
17099
|
-
"fieldName": "lang",
|
|
17100
|
-
"inheritedFrom": {
|
|
17101
|
-
"name": "SolidElement",
|
|
17102
|
-
"module": "src/internal/solid-element.ts"
|
|
17103
|
-
}
|
|
17104
|
-
}
|
|
17105
|
-
],
|
|
17106
|
-
"superclass": {
|
|
17107
|
-
"name": "SolidElement",
|
|
17108
|
-
"module": "/src/internal/solid-element"
|
|
17109
|
-
},
|
|
17110
|
-
"summary": "Checkbox groups are used to group multiple [checkbox](/components/checkbox). It provides only presentational functionality.",
|
|
17111
|
-
"documentation": "https://solid.union-investment.com/[storybook-link]/checkbox-group",
|
|
17112
|
-
"status": "stable",
|
|
17113
|
-
"since": "1.22.0",
|
|
17114
|
-
"tagName": "sd-checkbox-group",
|
|
17115
|
-
"customElement": true
|
|
17116
|
-
}
|
|
17117
|
-
],
|
|
17118
|
-
"exports": [
|
|
17119
|
-
{
|
|
17120
|
-
"kind": "js",
|
|
17121
|
-
"name": "default",
|
|
17122
|
-
"declaration": {
|
|
17123
|
-
"name": "SdCheckboxGroup",
|
|
17124
|
-
"module": "components/checkbox-group/checkbox-group.js"
|
|
17125
|
-
}
|
|
17126
|
-
},
|
|
17127
|
-
{
|
|
17128
|
-
"kind": "custom-element-definition",
|
|
17129
|
-
"name": "sd-checkbox-group",
|
|
17130
|
-
"declaration": {
|
|
17131
|
-
"name": "SdCheckboxGroup",
|
|
17132
|
-
"module": "components/checkbox-group/checkbox-group.js"
|
|
17133
|
-
}
|
|
17134
|
-
}
|
|
17135
|
-
]
|
|
17136
17137
|
}
|
|
17137
17138
|
],
|
|
17138
17139
|
"package": {
|
|
17139
17140
|
"name": "@solid-design-system/components",
|
|
17140
17141
|
"description": "Solid Design System: Components",
|
|
17141
|
-
"version": "4.6.
|
|
17142
|
+
"version": "4.6.3",
|
|
17142
17143
|
"author": "Union Investment",
|
|
17143
17144
|
"homepage": "https://solid-design-system.fe.union-investment.de/docs/",
|
|
17144
17145
|
"license": "MIT"
|