@oicl/openbridge-webcomponents 2.0.0-next.54 → 2.0.0-next.56
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 +34 -12
- package/bundle/openbridge-webcomponents.bundle.js.map +1 -1
- package/custom-elements.json +67 -0
- package/dist/automation/automation-tank/automation-tank.d.ts +11 -0
- package/dist/automation/automation-tank/automation-tank.d.ts.map +1 -1
- package/dist/automation/automation-tank/automation-tank.js.map +1 -1
- package/dist/integration-systems/integration-bar/integration-bar.css.js +9 -2
- package/dist/integration-systems/integration-bar/integration-bar.css.js.map +1 -1
- package/dist/navigation-instruments/readout/readout.css.js +5 -1
- package/dist/navigation-instruments/readout/readout.css.js.map +1 -1
- package/dist/navigation-instruments/readout/readout.d.ts.map +1 -1
- package/dist/navigation-instruments/readout/readout.js +1 -0
- package/dist/navigation-instruments/readout/readout.js.map +1 -1
- package/dist/navigation-instruments/readout-list-item/readout-list-item.css.js +2 -5
- package/dist/navigation-instruments/readout-list-item/readout-list-item.css.js.map +1 -1
- package/dist/navigation-instruments/readout-list-item/readout-list-item.d.ts +1 -0
- package/dist/navigation-instruments/readout-list-item/readout-list-item.d.ts.map +1 -1
- package/dist/navigation-instruments/readout-list-item/readout-list-item.js +10 -4
- package/dist/navigation-instruments/readout-list-item/readout-list-item.js.map +1 -1
- package/dist/navigation-instruments/readout-setpoint/readout-setpoint.d.ts +1 -0
- package/dist/navigation-instruments/readout-setpoint/readout-setpoint.d.ts.map +1 -1
- package/dist/navigation-instruments/readout-setpoint/readout-setpoint.js +7 -0
- package/dist/navigation-instruments/readout-setpoint/readout-setpoint.js.map +1 -1
- package/package.json +1 -1
|
@@ -197351,14 +197351,21 @@ const compentStyle$f = i$7`
|
|
|
197351
197351
|
flex: 1 1 auto;
|
|
197352
197352
|
}
|
|
197353
197353
|
|
|
197354
|
-
.integration-buttons-slot::slotted(
|
|
197354
|
+
.integration-buttons-slot::slotted(*) {
|
|
197355
|
+
display: flex;
|
|
197355
197356
|
flex: 1;
|
|
197356
197357
|
}
|
|
197357
197358
|
|
|
197358
|
-
.hug-buttons-slot::slotted(
|
|
197359
|
+
.hug-buttons-slot::slotted(*) {
|
|
197360
|
+
display: flex;
|
|
197359
197361
|
flex: 0 1 auto;
|
|
197360
197362
|
}
|
|
197361
197363
|
|
|
197364
|
+
.hug-buttons-slot,
|
|
197365
|
+
.integration-buttons-slot {
|
|
197366
|
+
display: contents;
|
|
197367
|
+
}
|
|
197368
|
+
|
|
197362
197369
|
.home-button,
|
|
197363
197370
|
.link-button {
|
|
197364
197371
|
width: var(--app-components-integration-system-icon-button-touch-target);
|
|
@@ -201809,10 +201816,14 @@ const componentStyle$h = i$7`
|
|
|
201809
201816
|
margin-left: 0;
|
|
201810
201817
|
}
|
|
201811
201818
|
|
|
201812
|
-
.readout.
|
|
201819
|
+
.readout.vertical.alignment-center {
|
|
201813
201820
|
justify-items: center;
|
|
201814
201821
|
}
|
|
201815
201822
|
|
|
201823
|
+
.readout.vertical.alignment-center > * {
|
|
201824
|
+
justify-self: center !important;
|
|
201825
|
+
}
|
|
201826
|
+
|
|
201816
201827
|
.readout.stack.vertical.alignment-center
|
|
201817
201828
|
.readout-value-wrapper
|
|
201818
201829
|
obc-readout-setpoint::part(variant-value-content) {
|
|
@@ -203419,6 +203430,7 @@ let ObcReadoutSetpoint = class extends i$4 {
|
|
|
203419
203430
|
this.hasDegree = false;
|
|
203420
203431
|
this.showZeroPadding = false;
|
|
203421
203432
|
this.fractionDigits = 0;
|
|
203433
|
+
this.reserveSpaceForIcon = false;
|
|
203422
203434
|
this.hasAssignedValueIcon = false;
|
|
203423
203435
|
}
|
|
203424
203436
|
get resolvedFormat() {
|
|
@@ -203631,6 +203643,9 @@ let ObcReadoutSetpoint = class extends i$4 {
|
|
|
203631
203643
|
`;
|
|
203632
203644
|
}
|
|
203633
203645
|
renderRegularValueInlineIcon(size) {
|
|
203646
|
+
if (!this.reserveSpaceForIcon) {
|
|
203647
|
+
return A;
|
|
203648
|
+
}
|
|
203634
203649
|
const hideStyle = this.hasAssignedValueIcon ? "" : this.direction === "vertical" ? "visibility:hidden;" : "display:none;";
|
|
203635
203650
|
return b`
|
|
203636
203651
|
<div class="icon-container" aria-hidden="true" style=${hideStyle}>
|
|
@@ -203831,6 +203846,9 @@ __decorateClass$L([
|
|
|
203831
203846
|
__decorateClass$L([
|
|
203832
203847
|
n$3({ type: Number })
|
|
203833
203848
|
], ObcReadoutSetpoint.prototype, "fractionDigits", 2);
|
|
203849
|
+
__decorateClass$L([
|
|
203850
|
+
n$3({ type: Boolean, attribute: false })
|
|
203851
|
+
], ObcReadoutSetpoint.prototype, "reserveSpaceForIcon", 2);
|
|
203834
203852
|
__decorateClass$L([
|
|
203835
203853
|
r$3()
|
|
203836
203854
|
], ObcReadoutSetpoint.prototype, "hasAssignedValueIcon", 2);
|
|
@@ -204710,6 +204728,7 @@ let ObcReadout = class extends i$4 {
|
|
|
204710
204728
|
>
|
|
204711
204729
|
<slot name="setpoint">
|
|
204712
204730
|
<obc-readout-setpoint
|
|
204731
|
+
.reserveSpaceForIcon=${this.alignment !== "center"}
|
|
204713
204732
|
data-obc-value-typography=${this.variant === "regular" && this.isVertical && this.resolvedSetpointSegmentSize === ReadoutSetpointSize.medium ? "medium" : A}
|
|
204714
204733
|
?data-obc-tabular-nums=${this.interactionMode === "flip-flop"}
|
|
204715
204734
|
.readoutStyle=${setpointReadoutStyle}
|
|
@@ -217837,17 +217856,14 @@ const componentStyle$4 = i$7`
|
|
|
217837
217856
|
}
|
|
217838
217857
|
|
|
217839
217858
|
:host {
|
|
217840
|
-
display:
|
|
217841
|
-
|
|
217842
|
-
width: max-content;
|
|
217843
|
-
max-width: none;
|
|
217859
|
+
display: block;
|
|
217860
|
+
width: 100%;
|
|
217844
217861
|
}
|
|
217845
217862
|
|
|
217846
217863
|
.root {
|
|
217847
217864
|
display: inline-flex;
|
|
217848
217865
|
align-items: flex-end;
|
|
217849
217866
|
border-radius: var(--global-border-radius-border-radius-base);
|
|
217850
|
-
max-width: none;
|
|
217851
217867
|
width: 100%;
|
|
217852
217868
|
}
|
|
217853
217869
|
|
|
@@ -218163,6 +218179,7 @@ let ObcReadoutListItem = class extends i$4 {
|
|
|
218163
218179
|
this.showZeroPadding = false;
|
|
218164
218180
|
this.minValueLength = 0;
|
|
218165
218181
|
this.hasHintedZeros = false;
|
|
218182
|
+
this.labelOnly = false;
|
|
218166
218183
|
}
|
|
218167
218184
|
get resolvedMainValueSize() {
|
|
218168
218185
|
return this.size === "enhanced" ? ReadoutSetpointSize.large : this.size === "priority" ? ReadoutSetpointSize.medium : ReadoutSetpointSize.regular;
|
|
@@ -218379,11 +218396,13 @@ let ObcReadoutListItem = class extends i$4 {
|
|
|
218379
218396
|
${this.renderLabelContainer()}
|
|
218380
218397
|
</div>
|
|
218381
218398
|
|
|
218382
|
-
|
|
218383
|
-
|
|
218384
|
-
|
|
218399
|
+
${this.labelOnly ? A : b`
|
|
218400
|
+
<div class="value-container" part="value-container">
|
|
218401
|
+
${this.renderValue()} ${this.renderTrailingUnit()}
|
|
218402
|
+
</div>
|
|
218385
218403
|
|
|
218386
|
-
|
|
218404
|
+
${this.renderTrailingSource()}
|
|
218405
|
+
`}
|
|
218387
218406
|
</div>
|
|
218388
218407
|
</div>
|
|
218389
218408
|
`;
|
|
@@ -218450,6 +218469,9 @@ __decorateClass$f([
|
|
|
218450
218469
|
__decorateClass$f([
|
|
218451
218470
|
n$3({ type: Boolean })
|
|
218452
218471
|
], ObcReadoutListItem.prototype, "hasHintedZeros", 2);
|
|
218472
|
+
__decorateClass$f([
|
|
218473
|
+
n$3({ type: Boolean })
|
|
218474
|
+
], ObcReadoutListItem.prototype, "labelOnly", 2);
|
|
218453
218475
|
ObcReadoutListItem = __decorateClass$f([
|
|
218454
218476
|
customElement("obc-readout-list-item")
|
|
218455
218477
|
], ObcReadoutListItem);
|