@oicl/openbridge-webcomponents 2.0.0-next.91 → 2.0.0-next.93
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/bundle/openbridge-webcomponents.bundle.js +7 -7
- package/bundle/openbridge-webcomponents.bundle.js.map +1 -1
- package/custom-elements.json +19 -0
- package/dist/automation/automation-button/automation-button.css.js +0 -5
- package/dist/automation/automation-button/automation-button.css.js.map +1 -1
- package/dist/automation/automation-tank/automation-tank.d.ts +2 -0
- package/dist/automation/automation-tank/automation-tank.d.ts.map +1 -1
- package/dist/automation/automation-tank/automation-tank.js +7 -2
- package/dist/automation/automation-tank/automation-tank.js.map +1 -1
- package/package.json +1 -1
|
@@ -13986,11 +13986,6 @@ const compentStyle$1e = i$7`* {
|
|
|
13986
13986
|
background: var(--automation-button-static-background-color);
|
|
13987
13987
|
}
|
|
13988
13988
|
|
|
13989
|
-
.activated .icon-holder {
|
|
13990
|
-
border-color: var(--normal-activated-border-color);
|
|
13991
|
-
background: var(--normal-activated-background-color);
|
|
13992
|
-
}
|
|
13993
|
-
|
|
13994
13989
|
.alert-frame {
|
|
13995
13990
|
position: absolute;
|
|
13996
13991
|
top: 0;
|
|
@@ -37501,6 +37496,7 @@ let ObcAutomationTank = class extends i$4 {
|
|
|
37501
37496
|
this.compact = false;
|
|
37502
37497
|
this.positioning = "button";
|
|
37503
37498
|
this.static = false;
|
|
37499
|
+
this.activated = false;
|
|
37504
37500
|
this.tag = "";
|
|
37505
37501
|
this.chartMode = "bar";
|
|
37506
37502
|
this.chartData = [];
|
|
@@ -38027,9 +38023,10 @@ let ObcAutomationTank = class extends i$4 {
|
|
|
38027
38023
|
const halo = b`
|
|
38028
38024
|
<div class="halo">${haloContents}${alertFrameOverlay}</div>
|
|
38029
38025
|
`;
|
|
38026
|
+
const rootClasses = e$1({ root: true, activated: this.activated });
|
|
38030
38027
|
return b`
|
|
38031
38028
|
${this.static ? b`<div
|
|
38032
|
-
class
|
|
38029
|
+
class=${rootClasses}
|
|
38033
38030
|
role="img"
|
|
38034
38031
|
aria-label=${this.tag || "Tank"}
|
|
38035
38032
|
aria-live="polite"
|
|
@@ -38037,7 +38034,7 @@ let ObcAutomationTank = class extends i$4 {
|
|
|
38037
38034
|
>
|
|
38038
38035
|
${halo}
|
|
38039
38036
|
</div>` : b`<button
|
|
38040
|
-
class
|
|
38037
|
+
class=${rootClasses}
|
|
38041
38038
|
type="button"
|
|
38042
38039
|
aria-label=${this.tag || "Tank"}
|
|
38043
38040
|
aria-live="polite"
|
|
@@ -38076,6 +38073,9 @@ __decorateClass$z8([
|
|
|
38076
38073
|
__decorateClass$z8([
|
|
38077
38074
|
n$3({ type: Boolean, reflect: true })
|
|
38078
38075
|
], ObcAutomationTank.prototype, "static", 2);
|
|
38076
|
+
__decorateClass$z8([
|
|
38077
|
+
n$3({ type: Boolean })
|
|
38078
|
+
], ObcAutomationTank.prototype, "activated", 2);
|
|
38079
38079
|
__decorateClass$z8([
|
|
38080
38080
|
n$3({ type: String })
|
|
38081
38081
|
], ObcAutomationTank.prototype, "tag", 2);
|