@oicl/openbridge-webcomponents 2.0.0-next.79 → 2.0.0-next.80
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 +18 -2
- package/bundle/openbridge-webcomponents.bundle.js.map +1 -1
- package/custom-elements.json +20 -0
- package/dist/components/alert-frame/alert-frame.css.js +9 -0
- package/dist/components/alert-frame/alert-frame.css.js.map +1 -1
- package/dist/components/alert-frame/alert-frame.d.ts +6 -1
- package/dist/components/alert-frame/alert-frame.d.ts.map +1 -1
- package/dist/components/alert-frame/alert-frame.js +7 -1
- package/dist/components/alert-frame/alert-frame.js.map +1 -1
- 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 +2 -1
- package/dist/navigation-instruments/readout-list-item/readout-list-item.js.map +1 -1
- package/package.json +1 -1
|
@@ -14552,6 +14552,11 @@ const compentStyle$1d = i$7`
|
|
|
14552
14552
|
height: fit-content;
|
|
14553
14553
|
}
|
|
14554
14554
|
|
|
14555
|
+
:host([fullwidth]) {
|
|
14556
|
+
display: block;
|
|
14557
|
+
width: 100%;
|
|
14558
|
+
}
|
|
14559
|
+
|
|
14555
14560
|
.wrapper {
|
|
14556
14561
|
--bg-color: var(--alert-alarm-color);
|
|
14557
14562
|
--thickness: var(--global-size-spacing-border-weight-alertframe);
|
|
@@ -14578,6 +14583,10 @@ const compentStyle$1d = i$7`
|
|
|
14578
14583
|
height: fit-content;
|
|
14579
14584
|
}
|
|
14580
14585
|
|
|
14586
|
+
.wrapper.full-width {
|
|
14587
|
+
width: 100%;
|
|
14588
|
+
}
|
|
14589
|
+
|
|
14581
14590
|
.wrapper {
|
|
14582
14591
|
|
|
14583
14592
|
--blink-width-dynamic: calc(var(--blink-width) * var(--blink-on));
|
|
@@ -15271,6 +15280,7 @@ let ObcAlertFrame = class extends i$4 {
|
|
|
15271
15280
|
this.status = AlertType.Alarm;
|
|
15272
15281
|
this.mode = "acked-active";
|
|
15273
15282
|
this.wrapContent = false;
|
|
15283
|
+
this.fullWidth = false;
|
|
15274
15284
|
this.sharpEdgeTopLeft = false;
|
|
15275
15285
|
this.sharpEdgeTopRight = false;
|
|
15276
15286
|
this.sharpEdgeBottomLeft = false;
|
|
@@ -15285,6 +15295,7 @@ let ObcAlertFrame = class extends i$4 {
|
|
|
15285
15295
|
class=${e$1({
|
|
15286
15296
|
wrapper: true,
|
|
15287
15297
|
"wrap-content": this.wrapContent,
|
|
15298
|
+
"full-width": this.fullWidth,
|
|
15288
15299
|
["thickness-" + this.thickness]: true,
|
|
15289
15300
|
[this.type]: true,
|
|
15290
15301
|
[this.status]: true,
|
|
@@ -15382,6 +15393,9 @@ __decorateClass$zF([
|
|
|
15382
15393
|
__decorateClass$zF([
|
|
15383
15394
|
n$3({ type: Boolean, reflect: true })
|
|
15384
15395
|
], ObcAlertFrame.prototype, "wrapContent", 2);
|
|
15396
|
+
__decorateClass$zF([
|
|
15397
|
+
n$3({ type: Boolean, reflect: true })
|
|
15398
|
+
], ObcAlertFrame.prototype, "fullWidth", 2);
|
|
15385
15399
|
__decorateClass$zF([
|
|
15386
15400
|
n$3({ type: Boolean })
|
|
15387
15401
|
], ObcAlertFrame.prototype, "sharpEdgeTopLeft", 2);
|
|
@@ -15406,7 +15420,7 @@ __decorateClass$zF([
|
|
|
15406
15420
|
ObcAlertFrame = __decorateClass$zF([
|
|
15407
15421
|
customElement("obc-alert-frame")
|
|
15408
15422
|
], ObcAlertFrame);
|
|
15409
|
-
function wrapWithAlertFrame(options, content) {
|
|
15423
|
+
function wrapWithAlertFrame(options, content, fullWidth = false) {
|
|
15410
15424
|
if (typeof options !== "object" || options === null) {
|
|
15411
15425
|
return content;
|
|
15412
15426
|
}
|
|
@@ -15418,6 +15432,7 @@ function wrapWithAlertFrame(options, content) {
|
|
|
15418
15432
|
.showIcon=${options.showIcon ?? false}
|
|
15419
15433
|
.showAlertCategoryIcon=${options.showAlertCategoryIcon ?? true}
|
|
15420
15434
|
.wrapContent=${true}
|
|
15435
|
+
.fullWidth=${fullWidth}
|
|
15421
15436
|
>${content}</obc-alert-frame
|
|
15422
15437
|
>`;
|
|
15423
15438
|
}
|
|
@@ -222816,7 +222831,8 @@ let ObcReadoutListItem = class extends i$4 {
|
|
|
222816
222831
|
`}
|
|
222817
222832
|
</div>
|
|
222818
222833
|
</div>
|
|
222819
|
-
|
|
222834
|
+
`,
|
|
222835
|
+
true
|
|
222820
222836
|
);
|
|
222821
222837
|
}
|
|
222822
222838
|
};
|