@oicl/openbridge-webcomponents-full-bundle 2.0.0-next.62 → 2.0.0-next.64
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 +327 -324
- package/bundle/openbridge-webcomponents.bundle.js.map +1 -1
- package/custom-elements.json +14 -14
- package/dist/alert-severity.d.ts.map +1 -1
- package/dist/alert-severity.js +37 -35
- package/dist/alert-severity.js.map +1 -1
- package/dist/ar/building-blocks/poi-header/poi-header.css.js +15 -15
- package/dist/ar/building-blocks/poi-header/poi-header.d.ts +6 -6
- package/dist/ar/building-blocks/poi-header/poi-header.d.ts.map +1 -1
- package/dist/ar/building-blocks/poi-header/poi-header.js +5 -5
- package/dist/ar/building-blocks/poi-header/poi-header.js.map +1 -1
- package/dist/ar/poi-button/poi-button.css.js +31 -30
- package/dist/ar/poi-button/poi-button.css.js.map +1 -1
- package/dist/ar/poi-button/poi-button.d.ts +6 -6
- package/dist/ar/poi-button/poi-button.d.ts.map +1 -1
- package/dist/ar/poi-button/poi-button.js +15 -15
- package/dist/ar/poi-button/poi-button.js.map +1 -1
- package/dist/ar/types.d.ts +5 -5
- package/dist/ar/types.d.ts.map +1 -1
- package/dist/ar/types.js +5 -5
- package/dist/ar/types.js.map +1 -1
- package/dist/automation/automation-badge/automation-badge.d.ts +7 -7
- package/dist/automation/automation-badge/automation-badge.d.ts.map +1 -1
- package/dist/automation/automation-badge/automation-badge.js +29 -29
- package/dist/automation/automation-badge/automation-badge.js.map +1 -1
- package/dist/automation/automation-button/abstract-automation-button.d.ts +5 -5
- package/dist/automation/automation-button/abstract-automation-button.d.ts.map +1 -1
- package/dist/automation/automation-button/abstract-automation-button.js +15 -15
- package/dist/automation/automation-button/abstract-automation-button.js.map +1 -1
- package/dist/automation/automation-tank/automation-tank.d.ts +3 -7
- package/dist/automation/automation-tank/automation-tank.d.ts.map +1 -1
- package/dist/automation/automation-tank/automation-tank.js +11 -11
- package/dist/automation/automation-tank/automation-tank.js.map +1 -1
- package/dist/components/accordion-card/accordion-card.css.js +5 -5
- package/dist/components/alert-button/alert-button.css.js +128 -128
- package/dist/components/alert-frame/alert-frame.css.js +6 -6
- package/dist/components/alert-frame/alert-frame.d.ts +4 -4
- package/dist/components/alert-frame/alert-frame.js.map +1 -1
- package/dist/components/alert-icon/alert-icon.js +4 -4
- package/dist/components/alert-icon/alert-icon.js.map +1 -1
- package/dist/components/badge/badge.css.js +10 -10
- package/dist/components/badge/badge.d.ts +13 -13
- package/dist/components/badge/badge.d.ts.map +1 -1
- package/dist/components/badge/badge.js +10 -10
- package/dist/components/badge/badge.js.map +1 -1
- package/dist/manual-icon/icon-alerts-critical-twotone.d.ts +1 -1
- package/dist/manual-icon/icon-alerts-critical-twotone.js.map +1 -1
- package/dist/manual-icon/icon-alerts-diagnostic-twotone.d.ts +1 -1
- package/dist/manual-icon/icon-alerts-diagnostic-twotone.js.map +1 -1
- package/dist/types.d.ts +5 -5
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +11 -11
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
- package/src/alert-severity.ts +43 -41
- package/src/ar/building-blocks/poi-header/poi-header.css +15 -15
- package/src/ar/building-blocks/poi-header/poi-header.ts +6 -6
- package/src/ar/poi-button/poi-button.css +31 -30
- package/src/ar/poi-button/poi-button.ts +16 -16
- package/src/ar/types.ts +5 -5
- package/src/automation/automation-badge/automation-badge.ts +22 -22
- package/src/automation/automation-button/abstract-automation-button.ts +15 -15
- package/src/automation/automation-tank/automation-tank.stories.ts +6 -6
- package/src/automation/automation-tank/automation-tank.ts +14 -18
- package/src/components/accordion-card/accordion-card.css +5 -5
- package/src/components/alert-button/alert-button.css +14 -14
- package/src/components/alert-button/alert-button.stories.ts +10 -10
- package/src/components/alert-frame/alert-frame.css +6 -6
- package/src/components/alert-frame/alert-frame.stories.ts +10 -10
- package/src/components/alert-frame/alert-frame.ts +4 -4
- package/src/components/alert-icon/alert-icon.stories.ts +10 -10
- package/src/components/alert-icon/alert-icon.ts +4 -4
- package/src/components/alert-list-details/alert-list-details.stories.ts +11 -11
- package/src/components/badge/badge.css +10 -10
- package/src/components/badge/badge.stories.ts +10 -10
- package/src/components/badge/badge.ts +18 -18
- package/src/manual-icon/icon-alerts-critical-twotone.ts +1 -1
- package/src/manual-icon/icon-alerts-diagnostic-twotone.ts +1 -1
- package/src/navigation-instruments/readout/readout.stories.ts +2 -2
- package/src/navigation-instruments/readout-list-item/readout-list-item.stories.ts +4 -4
- package/src/types.ts +10 -10
|
@@ -3,7 +3,7 @@ import {property} from 'lit/decorators.js';
|
|
|
3
3
|
import {customElement} from '../decorator.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
* `<obi-alerts-critical-twotone>` – Two-tone bell icon for the
|
|
6
|
+
* `<obi-alerts-critical-twotone>` – Two-tone bell icon for the level "critical" alert severity.
|
|
7
7
|
*
|
|
8
8
|
* Renders the alert (bell) glyph as a layered two-tone shape so the silhouette and
|
|
9
9
|
* fill can be tinted independently. Used wherever a critical-severity alert needs an
|
|
@@ -3,7 +3,7 @@ import {property} from 'lit/decorators.js';
|
|
|
3
3
|
import {customElement} from '../decorator.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
* `<obi-alerts-diagnostic-twotone>` – Two-tone bell icon for the
|
|
6
|
+
* `<obi-alerts-diagnostic-twotone>` – Two-tone bell icon for the level "diagnostic" alert severity.
|
|
7
7
|
*
|
|
8
8
|
* Renders the alert (bell) glyph as a layered two-tone shape so the silhouette and
|
|
9
9
|
* fill can be tinted independently. Used wherever a diagnostic-severity alert needs an
|
|
@@ -293,13 +293,13 @@ export const Alarm: Story = {
|
|
|
293
293
|
render: (args) => renderComponent(args as ObcReadout),
|
|
294
294
|
};
|
|
295
295
|
|
|
296
|
-
export const
|
|
296
|
+
export const LevelCritical: Story = {
|
|
297
297
|
args: {
|
|
298
298
|
value: 42,
|
|
299
299
|
label: 'RPM',
|
|
300
300
|
unit: 'rpm',
|
|
301
301
|
alert: {
|
|
302
|
-
status: '
|
|
302
|
+
status: 'level-critical',
|
|
303
303
|
mode: 'unacked-active',
|
|
304
304
|
},
|
|
305
305
|
},
|
|
@@ -468,22 +468,22 @@ export const Alarm: Story = {
|
|
|
468
468
|
},
|
|
469
469
|
};
|
|
470
470
|
|
|
471
|
-
export const
|
|
471
|
+
export const LevelCritical: Story = {
|
|
472
472
|
args: {
|
|
473
473
|
value: 123,
|
|
474
474
|
alert: {
|
|
475
|
-
status: AlertType.
|
|
475
|
+
status: AlertType.LevelCritical,
|
|
476
476
|
mode: ObcAlertFrameMode.unackedActive,
|
|
477
477
|
type: ObcAlertFrameType.Regular,
|
|
478
478
|
},
|
|
479
479
|
},
|
|
480
480
|
};
|
|
481
481
|
|
|
482
|
-
export const
|
|
482
|
+
export const LevelLowUnackedRectified: Story = {
|
|
483
483
|
args: {
|
|
484
484
|
value: 123,
|
|
485
485
|
alert: {
|
|
486
|
-
status: AlertType.
|
|
486
|
+
status: AlertType.LevelLow,
|
|
487
487
|
mode: ObcAlertFrameMode.unackedRectified,
|
|
488
488
|
type: ObcAlertFrameType.Regular,
|
|
489
489
|
},
|
package/src/types.ts
CHANGED
|
@@ -9,22 +9,22 @@ export enum AlertType {
|
|
|
9
9
|
Alarm = 'alarm',
|
|
10
10
|
Warning = 'warning',
|
|
11
11
|
Caution = 'caution',
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
LevelCritical = 'level-critical',
|
|
13
|
+
LevelHigh = 'level-high',
|
|
14
|
+
LevelMedium = 'level-medium',
|
|
15
|
+
LevelLow = 'level-low',
|
|
16
|
+
LevelDiagnostic = 'level-diagnostic',
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
export const ALERT_SEVERITY_PRIORITY = [
|
|
20
|
-
AlertType.
|
|
20
|
+
AlertType.LevelCritical,
|
|
21
21
|
AlertType.Alarm,
|
|
22
|
-
AlertType.
|
|
22
|
+
AlertType.LevelHigh,
|
|
23
23
|
AlertType.Warning,
|
|
24
|
-
AlertType.
|
|
24
|
+
AlertType.LevelMedium,
|
|
25
25
|
AlertType.Caution,
|
|
26
|
-
AlertType.
|
|
27
|
-
AlertType.
|
|
26
|
+
AlertType.LevelLow,
|
|
27
|
+
AlertType.LevelDiagnostic,
|
|
28
28
|
];
|
|
29
29
|
|
|
30
30
|
export enum AlertCategory {
|