@openremote/or-map 1.2.0-snapshot.20241002120954 → 1.2.0-snapshot.20241015145246
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.bundle.js +2 -2
- package/dist/umd/index.js +2 -2
- package/dist/umd/index.orbundle.js +3 -3
- package/lib/style.js +1 -1
- package/package.json +8 -8
package/dist/umd/index.bundle.js
CHANGED
|
@@ -220,7 +220,7 @@
|
|
|
220
220
|
padding: 5px 12px;
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
-
@media only screen and (min-width:
|
|
223
|
+
@media only screen and (min-width: 40em){
|
|
224
224
|
#card-container {
|
|
225
225
|
height: 400px; /* fallback for IE */
|
|
226
226
|
height: max-content;
|
|
@@ -664,7 +664,7 @@
|
|
|
664
664
|
${this.icon?rt`<or-icon class="mdc-icon-button__icon" aria-hidden="true" icon="${this.icon}"></or-icon>`:""}
|
|
665
665
|
${this.iconOn?rt`<or-icon class="mdc-icon-button__icon mdc-icon-button__icon--on" aria-hidden="true" icon="${this.iconOn}"></or-icon>`:""}
|
|
666
666
|
</button>
|
|
667
|
-
`;case Fr.BUTTON:case Fr.BUTTON_MOMENTARY:{const t=t=>{this.disabled&&t.stopPropagation(),i&&this.dispatchEvent(new Br(!0,null))},e=t=>{this.disabled&&t.stopPropagation(),i
|
|
667
|
+
`;case Fr.BUTTON:case Fr.BUTTON_MOMENTARY:{const t=t=>{this.disabled&&t.stopPropagation(),i&&this.dispatchEvent(new Br(!0,null))},e=t=>{this.disabled&&t.stopPropagation(),i&&this.dispatchEvent(new Br(!1,!0))},n=t=>{this.disabled&&t.stopPropagation(),i||this.dispatchEvent(new Br(!0,null))},i=this.type===Fr.BUTTON_MOMENTARY,r=!this.action&&!this.label;let 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,"mdc-button--rounded":!r&&!this.action&&this.rounded,"mdc-button--fullwidth":this.fullWidth};return rt`
|
|
668
668
|
<button id="component" class="${ye(o)}"
|
|
669
669
|
?readonly="${this.readonly}"
|
|
670
670
|
?disabled="${this.disabled}"
|
package/dist/umd/index.js
CHANGED
|
@@ -220,7 +220,7 @@
|
|
|
220
220
|
padding: 5px 12px;
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
-
@media only screen and (min-width:
|
|
223
|
+
@media only screen and (min-width: 40em){
|
|
224
224
|
#card-container {
|
|
225
225
|
height: 400px; /* fallback for IE */
|
|
226
226
|
height: max-content;
|
|
@@ -664,7 +664,7 @@
|
|
|
664
664
|
${this.icon?rt`<or-icon class="mdc-icon-button__icon" aria-hidden="true" icon="${this.icon}"></or-icon>`:""}
|
|
665
665
|
${this.iconOn?rt`<or-icon class="mdc-icon-button__icon mdc-icon-button__icon--on" aria-hidden="true" icon="${this.iconOn}"></or-icon>`:""}
|
|
666
666
|
</button>
|
|
667
|
-
`;case Br.BUTTON:case Br.BUTTON_MOMENTARY:{const t=t=>{this.disabled&&t.stopPropagation(),i&&this.dispatchEvent(new Pr(!0,null))},e=t=>{this.disabled&&t.stopPropagation(),i
|
|
667
|
+
`;case Br.BUTTON:case Br.BUTTON_MOMENTARY:{const t=t=>{this.disabled&&t.stopPropagation(),i&&this.dispatchEvent(new Pr(!0,null))},e=t=>{this.disabled&&t.stopPropagation(),i&&this.dispatchEvent(new Pr(!1,!0))},n=t=>{this.disabled&&t.stopPropagation(),i||this.dispatchEvent(new Pr(!0,null))},i=this.type===Br.BUTTON_MOMENTARY,r=!this.action&&!this.label;let 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,"mdc-button--rounded":!r&&!this.action&&this.rounded,"mdc-button--fullwidth":this.fullWidth};return rt`
|
|
668
668
|
<button id="component" class="${xe(o)}"
|
|
669
669
|
?readonly="${this.readonly}"
|
|
670
670
|
?disabled="${this.disabled}"
|