@cargosense/cargo-design-system 1.0.9 → 1.0.10
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/dist/assets/index.cjs.js +1 -1
- package/dist/assets/index.cjs.js.map +1 -1
- package/dist/assets/index.es.js +1 -1
- package/dist/assets/index.es.js.map +1 -1
- package/dist/molecules/index.cjs.js +4 -4
- package/dist/molecules/index.cjs.js.map +1 -1
- package/dist/molecules/index.es.js +17 -18
- package/dist/molecules/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/assets/index.cjs.js
CHANGED
|
@@ -593,7 +593,7 @@
|
|
|
593
593
|
</label>
|
|
594
594
|
|
|
595
595
|
|
|
596
|
-
`}_onChange(A){if(!this.disabled)return this.checked=A.target.checked,this._internals.setValidity({valid:!0}),this._internals.setFormValue(this.checked),this.dispatchEvent(new CustomEvent("change",{detail:{checked:this.checked,value:this.value},bubbles:!0,composed:!0})),this.checked}setChecked(A){if(typeof A!="boolean")throw new TypeError("The checked parameter must be a boolean");this.checked=A,this._internals.setValidity({valid:A}),this._internals.setFormValue(A),this.dispatchEvent(new CustomEvent("change",{detail:{checked:A,value:this.value},bubbles:!0,composed:!0}))}firstUpdated(){this.disabled?this.shadowRoot.querySelector("cd-icon").color="#A9B2BC":this.shadowRoot.querySelector("#check").addEventListener("keydown",A=>{
|
|
596
|
+
`}_onChange(A){if(!this.disabled)return this.checked=A.target.checked,this._internals.setValidity({valid:!0}),this._internals.setFormValue(this.checked),this.dispatchEvent(new CustomEvent("change",{detail:{checked:this.checked,value:this.value},bubbles:!0,composed:!0})),this.checked}setChecked(A){if(typeof A!="boolean")throw new TypeError("The checked parameter must be a boolean");this.checked=A,this._internals.setValidity({valid:A}),this._internals.setFormValue(A),this.dispatchEvent(new CustomEvent("change",{detail:{checked:A,value:this.value},bubbles:!0,composed:!0}))}firstUpdated(){this.disabled?this.shadowRoot.querySelector("cd-icon").color="#A9B2BC":this.shadowRoot.querySelector("#check").addEventListener("keydown",A=>{(A.key==="Enter"||A.key===" ")&&(this.checked=!this.checked,this._internals.setValidity({valid:!this.checked}),this._internals.setFormValue(!this.checked),this.dispatchEvent(new CustomEvent("change",{detail:{checked:!this.checked,value:this.value},bubbles:!0,composed:!0})),this.requestUpdate())})}}function Ig(){typeof window<"u"&&!customElements.get("cd-checkbox")&&customElements.define("cd-checkbox",hA)}class UA extends o{static styles=M`
|
|
597
597
|
@font-face {
|
|
598
598
|
font-family: 'Geist';
|
|
599
599
|
src: url(${i(Y)}) format('woff');
|