@solid-design-system/components 4.6.1 → 4.6.2
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.ETFHHZEV.js +10 -0
- package/cdn/components/input/input.js +1 -1
- package/cdn/custom-elements.json +216 -216
- 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 +10 -0
- 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.NT7FQJJ7.js +4 -4
- 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/input/input.js +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/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 +413 -413
- 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.LCW6HH3R.js → chunk.WM45G2PF.js} +1 -1
- package/dist/components/input/input.js +1 -1
- package/dist/custom-elements.json +216 -216
- 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.5FQR2C3Z.js +29 -29
- 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.LCW6HH3R.js → chunk.WM45G2PF.js} +3 -3
- 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/input/input.js +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/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 +413 -413
- 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 +2 -2
- package/cdn/chunks/chunk.YYZTCJPO.js +0 -10
- package/cdn-versioned/chunks/chunk.YYZTCJPO.js +0 -10
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import{a as H,b as S}from"./chunk.5CK64GWQ.js";import{a as B}from"./chunk.D7TMPF3D.js";import{b as N}from"./chunk.65NSSTJE.js";import{a as d}from"./chunk.HE2LNCWW.js";import{a as y,b as C,c as z}from"./chunk.SPDB3L7V.js";import{a as v}from"./chunk.E2DRD2OX.js";import{a as L}from"./chunk.6HO6CE4A.js";import{a as F}from"./chunk.TNPIUMKG.js";import{a as n}from"./chunk.26V4EXHB.js";import{a as M,b as l,c as f,d as x,h as k}from"./chunk.DYDQ2243.js";import{b as T,e as h,h as V,i as _}from"./chunk.IRWHG2Q4.js";import{a as E,e as s}from"./chunk.TJOCV4DC.js";var b=(a,r)=>{var i;let e=a._$AN;if(e===void 0)return!1;for(let o of e)(i=o._$AO)==null||i.call(o,r,!1),b(o,r);return!0},g=a=>{let r,e;do{if((r=a._$AM)===void 0)break;e=r._$AN,e.delete(a),a=r}while((e==null?void 0:e.size)===0)},U=a=>{for(let r;r=a._$AM;a=r){let e=r._$AN;if(e===void 0)r._$AN=e=new Set;else if(e.has(a))break;e.add(a),j(r)}};function R(a){this._$AN!==void 0?(g(this),this._$AM=a,U(this)):this._$AM=a}function J(a,r=!1,e=0){let i=this._$AH,o=this._$AN;if(o!==void 0&&o.size!==0)if(r)if(Array.isArray(i))for(let u=e;u<i.length;u++)b(i[u],!1),g(i[u]);else i!=null&&(b(i,!1),g(i));else b(this,a)}var j=a=>{var r,e;a.type==y.CHILD&&((r=a._$AP)!=null||(a._$AP=J),(e=a._$AQ)!=null||(a._$AQ=R))},$=class extends z{constructor(){super(...arguments),this._$AN=void 0}_$AT(r,e,i){super._$AT(r,e,i),U(this),this.isConnected=r._$AU}_$AO(r,e=!0){var i,o;r!==this.isConnected&&(this.isConnected=r,r?(i=this.reconnected)==null||i.call(this):(o=this.disconnected)==null||o.call(this)),e&&(b(this,r),g(this))}setValue(r){if(H(this._$Ct))this._$Ct._$AI(r,this);else{let e=[...this._$Ct._$AH];e[this._$Ci]=r,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}};var D=class extends ${constructor(e){super(e);this.handlePointerDown=e=>{e.button!==0||this.host.disabled||this.spinOnLongPressCallback(e)};this.handlePointerUp=e=>{e==null||e.preventDefault(),e==null||e.stopPropagation(),this.timeout&&this.callbacks.start(),this.stopSpinningAndCleanUp(),this.callbacks.end(),document.removeEventListener("pointerup",this.handlePointerUp)};if(e.type!==y.ELEMENT||!(e.element instanceof HTMLButtonElement))throw new Error("The `longPress` directive must be used on an HTMLButtonElement.")}render(e){return _}update(e,[i]){return this.callbacks===void 0&&this.host===void 0&&(this.host=e.element,this.callbacks=E({},i),this.host.addEventListener("pointerdown",this.handlePointerDown)),V}disconnected(){this.stopSpinningAndCleanUp(),this.host.removeEventListener("pointerdown",this.handlePointerDown),document.removeEventListener("pointerup",this.handlePointerUp)}spinOnLongPressCallback(e){var i;e.preventDefault(),e.stopPropagation(),this.timeout=setTimeout(()=>{this.timeout=void 0,this.interval=setInterval(()=>{this.callbacks.start()},50)},500),document.addEventListener("pointerup",this.handlePointerUp),(i=this.observer)==null||i.disconnect(),this.observer=new MutationObserver(o=>{o.forEach(u=>{u.attributeName==="disabled"&&this.stopSpinningAndCleanUp()})}),this.observer.observe(this.host,{attributes:!0})}stopSpinningAndCleanUp(){var e;clearInterval(this.interval),clearTimeout(this.timeout),(e=this.observer)==null||e.disconnect()}},A=C(D);var O,Q=(O=navigator.userAgentData)==null?void 0:O.brands.some(a=>a.brand.includes("Chromium")),G=Q?!1:navigator.userAgent.includes("Firefox"),t=class extends k{constructor(){super(...arguments);this.formControlController=new N(this);this.hasSlotController=new L(this,"help-text","label","left","right","message","placeholder");this.localize=new F(this);this.hasFocus=!1;this.showValidStyle=!1;this.showInvalidStyle=!1;this.type="text";this.size="lg";this.value="";this.defaultValue="";this.placeholder="";this.label="";this.helpText="";this.clearable=!1;this.disabled=!1;this.visuallyDisabled=!1;this.readonly=!1;this.passwordToggle=!1;this.passwordVisible=!1;this.spinButtons=!1;this.form="";this.name="";this.title="";this.required=!1;this.styleOnValid=!1;this.spellcheck=!0}get valueAsDate(){var e,i;return(i=(e=this.input)==null?void 0:e.valueAsDate)!=null?i:null}set valueAsDate(e){let i=document.createElement("input");i.type="date",i.valueAsDate=e,this.value=i.value}get valueAsNumber(){var e,i;return(i=(e=this.input)==null?void 0:e.valueAsNumber)!=null?i:parseFloat(this.value)}set valueAsNumber(e){let i=document.createElement("input");i.type="number",i.valueAsNumber=e,this.value=i.value}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleChange(){this.value=this.input.value,this.emit("sd-change")}handleClearClick(e){this.value="",this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change"),this.input.focus(),e.stopPropagation()}handleSearchClick(e){this.emit("sd-search"),e.stopPropagation()}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleInput(){if(this.visuallyDisabled){this.input.value=this.value;return}this.value=this.input.value,this.formControlController.updateValidity(),this.emit("sd-input")}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e),this.invalidMessage.textContent=e.target.validationMessage}handleKeyDown(e){let i=e.metaKey||e.ctrlKey||e.shiftKey||e.altKey;e.key==="Enter"&&!i&&setTimeout(()=>{!e.defaultPrevented&&!e.isComposing&&this.formControlController.submit()})}handlePasswordToggle(){this.passwordVisible=!this.passwordVisible}isDecrementDisabled(){if(this.disabled||this.readonly)return!0;if(this.min===void 0||this.min===null)return!1;let e=typeof this.min=="string"?parseFloat(this.min):this.min;return this.valueAsNumber<=e}isIncrementDisabled(){if(this.disabled||this.readonly)return!0;if(this.max===void 0||this.max===null)return!1;let e=typeof this.max=="string"?parseFloat(this.max):this.max;return this.valueAsNumber>=e}handleStep(){this.handleInput(),this.input.focus()}handleStepUp(){this.stepUp(),this.handleStep()}handleStepDown(){this.stepDown(),this.handleStep()}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleStepChange(){this.input.step=String(this.step),this.formControlController.updateValidity()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity()}focus(e){this.input.focus(e)}blur(){this.input.blur()}select(){this.input.select()}setSelectionRange(e,i,o="none"){this.input.setSelectionRange(e,i,o)}setRangeText(e,i,o,u){this.input.setRangeText(e,i,o,u),this.value!==this.input.value&&(this.value=this.input.value)}showPicker(){"showPicker"in HTMLInputElement.prototype&&this.input.showPicker()}stepUp(){this.input.stepUp(),this.value!==this.input.value&&(this.value=this.input.value)}stepDown(){this.input.stepDown(),this.value!==this.input.value&&(this.value=this.input.value)}checkValidity(){var e;return(e=this.input)==null?void 0:e.checkValidity()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(e){this.input.setCustomValidity(e),this.formControlController.updateValidity()}render(){let e={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text"),description:this.hasSlotController.test("description"),left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right"),tooltip:this.hasSlotController.test("tooltip")},i=this.label?!0:!!e.label,o=this.helpText?!0:!!e.helpText,u=this.clearable&&!this.readonly&&(typeof this.value=="number"||this.value.length>0),K=!!e.tooltip,w=this.disabled?"disabled":this.visuallyDisabled?"visuallyDisabled":this.readonly?"readonly":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",P=this.size==="sm"?"text-sm":"text-base",q={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"}[w],m=this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary",p={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],c={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size];return h`<div part="form-control" class="${n(this.disabled&&"pointer-events-none",this.visuallyDisabled&&"cursor-not-allowed")}">${i||K?h`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${n(i?"inline-block":"hidden",P)}" for="input" aria-hidden="${i?"false":"true"}"><slot name="label">${this.label}</slot></label> ${e.tooltip?h`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${n("relative w-full",this.visuallyDisabled&&"cursor-not-allowed")}"><div part="border" class="${n("absolute w-full h-full pointer-events-none border rounded-default",q)}"></div><div part="base" class="${n("px-4 flex flex-row items-center rounded-default transition-all",this.size==="lg"?"py-2":"py-1",!this.disabled&&!this.readonly&&!this.visuallyDisabled?"hover:bg-neutral-200":"",this.readonly?"bg-neutral-100":"bg-white",w==="disabled"||w==="visuallyDisabled"?"text-neutral-500":"text-black")}">${e.left?h`<slot name="left" part="left" class="${n("inline-flex",this.size==="sm"?"mr-1":"mr-2",m,c)}"></slot>`:""} <input part="input" id="input" class="${n("min-w-0 flex-grow focus:outline-none bg-transparent",this.visuallyDisabled||this.disabled?"placeholder-neutral-500":"placeholder-neutral-700",this.size==="sm"?"h-6":"h-8",P,this.visuallyDisabled&&"cursor-not-allowed")}" type="${this.type==="password"&&this.passwordVisible?"text":this.type}" title="${this.title}" name="${d(this.name)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" placeholder="${d(this.placeholder)}" minlength="${d(this.minlength)}" maxlength="${d(this.maxlength)}" min="${d(this.min)}" max="${d(this.max)}" step="${d(this.step)}" .value="${S(this.value)}" autocapitalize="${d(this.type==="password"?"off":this.autocapitalize)}" autocomplete="${d(this.type==="password"?"off":this.autocomplete)}" autocorrect="${d(this.type==="password"?"off":this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${d(this.pattern)}" enterkeyhint="${d(this.enterkeyhint)}" inputmode="${d(this.inputmode)}" aria-describedby="help-text invalid-message" aria-disabled="${this.visuallyDisabled||this.disabled?"true":"false"}" aria-invalid="${this.showInvalidStyle}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @keydown="${this.handleKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${u?h`<button part="clear-button" class="${n("flex justify-center",p)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-icon class="${n("icon-fill-neutral-800",c)}" library="system" name="closing-round"></sd-icon></slot></button>`:""} ${this.passwordToggle&&this.type==="password"?h`<button aria-label="${this.localize.term(this.passwordVisible?"hidePassword":"showPassword")}" part="password-toggle-button" class="${n("flex items-center sd-interactive",p)}" type="button" @click="${this.handlePasswordToggle}">${this.passwordVisible?h`<slot name="show-password-icon"><sd-icon class="${n(m,c)}" library="system" name="eye"></sd-icon></slot>`:h`<slot name="hide-password-icon"><sd-icon class="${n(m,c)}" library="system" name="eye-crossed-out"></sd-icon></slot>`}</button>`:""} ${(this.type==="date"||this.type==="datetime-local")&&!G?h`<sd-icon class="${n(m,p,c)}" library="system" name="calendar"></sd-icon>`:""} ${this.type==="time"?h`<sd-icon class="${n(m,p,c)}" library="system" name="clock"></sd-icon>`:""} ${this.type==="search"?h`<button class="${n("flex items-center sd-interactive",p)}" type="button" @click="${this.handleSearchClick}"><sd-icon class="${n(m,c)}" library="system" name="magnifying-glass" label="${this.localize.term("search")}"></sd-icon></button>`:""} ${this.showInvalidStyle?h`<sd-icon part="invalid-icon" class="${n("text-error",p,c)}" library="system" name="risk"></sd-icon>`:""} ${this.showValidStyle&&this.styleOnValid?h`<sd-icon class="${n("text-success flex-shrink-0",p,c)}" library="system" name="status-check" part="valid-icon"></sd-icon>`:""} ${e.right?h`<slot name="right" part="right" class="${n("inline-flex",m,p,c)}"></slot>`:""} ${this.type==="number"&&this.spinButtons?h`<div part="stepper" class="flex items-center"><button part="decrement-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isDecrementDisabled()}" aria-hidden="true" ${A({start:()=>this.handleStepDown(),end:()=>this.handleChange()})} tabindex="-1"><slot name="decrement-number-stepper"><sd-icon name="system/minus-circle" label="Decrease value" class="${n(m,p,c)}"></sd-icon></slot></button> <button part="increment-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isIncrementDisabled()}" aria-hidden="true" ${A({start:()=>this.handleStepUp(),end:()=>this.handleChange()})} tabindex="-1"><slot name="increment-number-stepper"><sd-icon name="system/plus-circle" label="Decrease value" class="${n(m,p,c)}"></sd-icon></slot></button></div>`:""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${n("text-sm text-neutral-700 mt-2",o?"block":"hidden")}" aria-hidden="${!o}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`}};t.styles=[...k.styles,T`:host{box-sizing:border-box;display:inline-block;position:relative;text-align:left;width:100%}:host([vertical]){display:block}:host([required]) #label:after{content:" *"}:host([visually-disabled]) input{caret-color:transparent}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.stepper-button[disabled] sd-icon{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}`],s([x("#input")],t.prototype,"input",2),s([x("#invalid-message")],t.prototype,"invalidMessage",2),s([f()],t.prototype,"hasFocus",2),s([f()],t.prototype,"showValidStyle",2),s([f()],t.prototype,"showInvalidStyle",2),s([l({type:String,reflect:!0})],t.prototype,"type",2),s([l({type:String,reflect:!0})],t.prototype,"size",2),s([l({type:String,reflect:!0})],t.prototype,"inputmode",2),s([l()],t.prototype,"value",2),s([B()],t.prototype,"defaultValue",2),s([l({type:String,reflect:!0})],t.prototype,"placeholder",2),s([l({type:String,reflect:!0})],t.prototype,"label",2),s([l({type:String,attribute:"help-text",reflect:!0})],t.prototype,"helpText",2),s([l({type:Boolean,reflect:!0})],t.prototype,"clearable",2),s([l({type:Boolean,reflect:!0})],t.prototype,"disabled",2),s([l({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),s([l({type:Boolean,reflect:!0})],t.prototype,"readonly",2),s([l({attribute:"password-toggle",type:Boolean,reflect:!0})],t.prototype,"passwordToggle",2),s([l({attribute:"password-visible",type:Boolean,reflect:!0})],t.prototype,"passwordVisible",2),s([l({attribute:"spin-buttons",type:Boolean,reflect:!0})],t.prototype,"spinButtons",2),s([l({type:Number,reflect:!0})],t.prototype,"minlength",2),s([l({type:Number,reflect:!0})],t.prototype,"maxlength",2),s([l({reflect:!0})],t.prototype,"min",2),s([l({reflect:!0})],t.prototype,"max",2),s([l({type:String,reflect:!0})],t.prototype,"form",2),s([l({type:String,reflect:!0})],t.prototype,"name",2),s([l({type:String,reflect:!0})],t.prototype,"title",2),s([l({type:Boolean,reflect:!0})],t.prototype,"required",2),s([l()],t.prototype,"pattern",2),s([l({reflect:!0})],t.prototype,"step",2),s([l({type:String,reflect:!0})],t.prototype,"autocapitalize",2),s([l({type:String,reflect:!0})],t.prototype,"autocorrect",2),s([l({reflect:!0})],t.prototype,"autocomplete",2),s([l({type:Boolean,reflect:!0})],t.prototype,"autofocus",2),s([l({type:String,reflect:!0})],t.prototype,"enterkeyhint",2),s([l({type:Boolean,reflect:!0,attribute:"style-on-valid"})],t.prototype,"styleOnValid",2),s([l({type:Boolean,converter:{fromAttribute:e=>!(!e||e==="false"),toAttribute:e=>e?"true":"false"}})],t.prototype,"spellcheck",2),s([v("disabled",{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),s([v("step",{waitUntilFirstUpdate:!0})],t.prototype,"handleStepChange",1),s([v("value",{waitUntilFirstUpdate:!0})],t.prototype,"handleValueChange",1),t=s([M("sd-input")],t);export{t as a};
|
|
2
|
+
/*! Bundled license information:
|
|
3
|
+
|
|
4
|
+
lit-html/async-directive.js:
|
|
5
|
+
(**
|
|
6
|
+
* @license
|
|
7
|
+
* Copyright 2017 Google LLC
|
|
8
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
9
|
+
*)
|
|
10
|
+
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunks/chunk.
|
|
1
|
+
import{a}from"../../chunks/chunk.ETFHHZEV.js";import"../../chunks/chunk.5CK64GWQ.js";import"../../chunks/chunk.D7TMPF3D.js";import"../../chunks/chunk.65NSSTJE.js";import"../../chunks/chunk.HE2LNCWW.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.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,221 +3603,6 @@
|
|
|
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
|
-
},
|
|
3821
3606
|
{
|
|
3822
3607
|
"kind": "javascript-module",
|
|
3823
3608
|
"path": "components/combobox/combobox.js",
|
|
@@ -17133,12 +16918,227 @@
|
|
|
17133
16918
|
}
|
|
17134
16919
|
}
|
|
17135
16920
|
]
|
|
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
17136
|
}
|
|
17137
17137
|
],
|
|
17138
17138
|
"package": {
|
|
17139
17139
|
"name": "@solid-design-system/components",
|
|
17140
17140
|
"description": "Solid Design System: Components",
|
|
17141
|
-
"version": "4.6.
|
|
17141
|
+
"version": "4.6.2",
|
|
17142
17142
|
"author": "Union Investment",
|
|
17143
17143
|
"homepage": "https://solid-design-system.fe.union-investment.de/docs/",
|
|
17144
17144
|
"license": "MIT"
|