@openremote/or-json-forms 1.3.0-snapshot.20250124120257 → 1.3.0-snapshot.20250128141336
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/umd/index.js +1 -1
- package/dist/umd/index.orbundle.js +2 -2
- package/package.json +4 -4
package/dist/umd/index.js
CHANGED
|
@@ -374,7 +374,7 @@
|
|
|
374
374
|
${this.icon?H`<or-icon class="mdc-icon-button__icon" aria-hidden="true" icon="${this.icon}"></or-icon>`:""}
|
|
375
375
|
${this.iconOn?H`<or-icon class="mdc-icon-button__icon mdc-icon-button__icon--on" aria-hidden="true" icon="${this.iconOn}"></or-icon>`:""}
|
|
376
376
|
</button>
|
|
377
|
-
`;case Ua.BUTTON:case Ua.BUTTON_MOMENTARY:{const e=e=>{this.disabled&&e.stopPropagation(),i&&this.dispatchEvent(new za(!0,null))},t=e=>{this.disabled&&e.stopPropagation(),i&&this.dispatchEvent(new za(!1,!0))},n=e=>{this.disabled&&e.stopPropagation(),i||this.dispatchEvent(new za(!0,null))},i=this.type===Ua.BUTTON_MOMENTARY,r=!this.action&&!this.label;
|
|
377
|
+
`;case Ua.BUTTON:case Ua.BUTTON_MOMENTARY:{const e=e=>{this.disabled&&e.stopPropagation(),i&&this.dispatchEvent(new za(!0,null))},t=e=>{this.disabled&&e.stopPropagation(),i&&this.dispatchEvent(new za(!1,!0))},n=e=>{this.disabled&&e.stopPropagation(),i||this.dispatchEvent(new za(!0,null))},i=this.type===Ua.BUTTON_MOMENTARY,r=!this.action&&!this.label;!r||this.iconTrailing||this.icon||(this.icon="circle");const o={"mdc-icon-button":r,"mdc-fab":!r&&this.action,"mdc-fab--extended":!r&&this.action&&!!this.label,"mdc-fab--mini":!r&&this.action&&(this.compact||this.comfortable),"mdc-button":!r&&!this.action,"mdc-button--raised":!r&&!this.action&&this.raised,"mdc-button--unelevated":!r&&!this.action&&this.unElevated,"mdc-button--outlined":!r&&!this.action&&(this.outlined||i),"mdc-button--rounded":!r&&!this.action&&this.rounded,"mdc-button--fullwidth":this.fullWidth};return H`
|
|
378
378
|
<button id="component" class="${wi(o)}"
|
|
379
379
|
?readonly="${this.readonly}"
|
|
380
380
|
?disabled="${this.disabled}"
|