@oicl/openbridge-webcomponents 2.0.0-next.76 → 2.0.0-next.77
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 +16 -3
- package/bundle/openbridge-webcomponents.bundle.js.map +1 -1
- package/dist/automation/analog-valve/analog-valve.d.ts.map +1 -1
- package/dist/automation/analog-valve/analog-valve.js +1 -1
- package/dist/automation/analog-valve/analog-valve.js.map +1 -1
- package/dist/automation/automation-button/abstract-automation-button-motorized.d.ts.map +1 -1
- package/dist/automation/automation-button/abstract-automation-button-motorized.js +1 -1
- package/dist/automation/automation-button/abstract-automation-button-motorized.js.map +1 -1
- package/dist/automation/automation-button/automation-button.d.ts +2 -1
- package/dist/automation/automation-button/automation-button.d.ts.map +1 -1
- package/dist/automation/automation-button/automation-button.js +1 -0
- package/dist/automation/automation-button/automation-button.js.map +1 -1
- package/dist/components/automation-button-readout-stack/automation-button-readout-stack.d.ts +1 -1
- package/dist/components/automation-button-readout-stack/automation-button-readout-stack.d.ts.map +1 -1
- package/dist/components/automation-button-readout-stack/automation-button-readout-stack.js.map +1 -1
- package/dist/navigation-instruments/gauge-radial/gauge-radial.css.js +13 -1
- package/dist/navigation-instruments/gauge-radial/gauge-radial.css.js.map +1 -1
- package/package.json +1 -1
|
@@ -16803,6 +16803,7 @@ var AutomationButtonLabelDirection = /* @__PURE__ */ ((AutomationButtonLabelDire
|
|
|
16803
16803
|
AutomationButtonLabelDirection2["down"] = "down";
|
|
16804
16804
|
AutomationButtonLabelDirection2["left"] = "left";
|
|
16805
16805
|
AutomationButtonLabelDirection2["right"] = "right";
|
|
16806
|
+
AutomationButtonLabelDirection2["none"] = "none";
|
|
16806
16807
|
return AutomationButtonLabelDirection2;
|
|
16807
16808
|
})(AutomationButtonLabelDirection || {});
|
|
16808
16809
|
var AutomationButtonOrientation = /* @__PURE__ */ ((AutomationButtonOrientation2) => {
|
|
@@ -18356,7 +18357,7 @@ let ObcAnalogValve = class extends ObcAbstractAutomationButton {
|
|
|
18356
18357
|
return [
|
|
18357
18358
|
{
|
|
18358
18359
|
type: "value",
|
|
18359
|
-
icon: "arrow",
|
|
18360
|
+
icon: this.labelDirection === AutomationButtonLabelDirection.none ? "none" : "arrow",
|
|
18360
18361
|
value: this.value,
|
|
18361
18362
|
nDigits: 3,
|
|
18362
18363
|
unit: "%",
|
|
@@ -18447,7 +18448,7 @@ class ObcAbstractAutomationButtonMotorized extends ObcAbstractAutomationButton {
|
|
|
18447
18448
|
nDigits: this.speedMaxDigits,
|
|
18448
18449
|
unit: this.speedUnit,
|
|
18449
18450
|
direction: this.labelDirection,
|
|
18450
|
-
icon: "chevron"
|
|
18451
|
+
icon: this.labelDirection === AutomationButtonLabelDirection.none ? "none" : "chevron"
|
|
18451
18452
|
}
|
|
18452
18453
|
];
|
|
18453
18454
|
} else if (!this.on) {
|
|
@@ -212827,12 +212828,21 @@ const componentStyle$9 = i$7`
|
|
|
212827
212828
|
}
|
|
212828
212829
|
|
|
212829
212830
|
/* Host takes each sector's crop aspect (see \`sectorClips\`): 270/90 square, 180
|
|
212830
|
-
wide — so the dial is the same size at any width.
|
|
212831
|
+
wide — so the dial is the same size at any width.
|
|
212832
|
+
|
|
212833
|
+
\`width\`/\`height: auto\` + \`max-width\`/\`max-height: 100%\` makes the host the
|
|
212834
|
+
largest box of the sector's aspect ratio that fits inside *both* the
|
|
212835
|
+
available width and height. Using \`height: auto\` alone only honours the
|
|
212836
|
+
width, so in a short, wide (e.g. flex) container the square would grow as
|
|
212837
|
+
tall as it is wide and overflow — see issue #992. */
|
|
212831
212838
|
|
|
212832
212839
|
:host([sector="270"]),
|
|
212833
212840
|
:host([sector="90-left"]),
|
|
212834
212841
|
:host([sector="90-right"]) {
|
|
212842
|
+
width: auto;
|
|
212835
212843
|
height: auto;
|
|
212844
|
+
max-width: 100%;
|
|
212845
|
+
max-height: 100%;
|
|
212836
212846
|
aspect-ratio: 1;
|
|
212837
212847
|
}
|
|
212838
212848
|
|
|
@@ -212840,7 +212850,10 @@ const componentStyle$9 = i$7`
|
|
|
212840
212850
|
sync with \`sectorClips\` bottom=44 in gauge-radial.ts. */
|
|
212841
212851
|
|
|
212842
212852
|
:host([sector="180"]) {
|
|
212853
|
+
width: auto;
|
|
212843
212854
|
height: auto;
|
|
212855
|
+
max-width: 100%;
|
|
212856
|
+
max-height: 100%;
|
|
212844
212857
|
aspect-ratio: 448 / 251;
|
|
212845
212858
|
}
|
|
212846
212859
|
|