@oicl/openbridge-webcomponents-svelte 2.0.0-next.63 → 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.
|
@@ -27,7 +27,7 @@ thickness?: ObcAlertFrameThickness;
|
|
|
27
27
|
- `alarm`: Highest severity (default).
|
|
28
28
|
- `warning`: Medium severity.
|
|
29
29
|
- `caution`: Lower severity.
|
|
30
|
-
- `
|
|
30
|
+
- `level-critical`, `level-high`, `level-medium`, `level-low`, `level-diagnostic`: level severity levels, styled to match their legacy equivalents. */
|
|
31
31
|
status?: AlertType;
|
|
32
32
|
/** Acknowledgement lifecycle state, controlling the frame's blinking/animation.
|
|
33
33
|
- `acked-active`: Active and acknowledged (default); no blinking.
|
|
@@ -21,7 +21,7 @@ Default: `small-side-flip` */
|
|
|
21
21
|
- `alarm`: Highest severity (default).
|
|
22
22
|
- `warning`: Medium severity.
|
|
23
23
|
- `caution`: Lower severity.
|
|
24
|
-
- `
|
|
24
|
+
- `level-critical`, `level-high`, `level-medium`, `level-low`, `level-diagnostic`: level severity levels, styled to match their legacy equivalents. */
|
|
25
25
|
status?: AlertType;
|
|
26
26
|
/** Acknowledgement lifecycle state, controlling the frame's blinking/animation.
|
|
27
27
|
- `acked-active`: Active and acknowledged (default); no blinking.
|
|
@@ -19,7 +19,7 @@ Set to `false` for symbolic or icon-only badges. */
|
|
|
19
19
|
showNumber?: boolean;
|
|
20
20
|
/** Visual style/type of the badge.
|
|
21
21
|
|
|
22
|
-
Possible values: `regular`, `alarm`, `warning`, `caution`, `
|
|
22
|
+
Possible values: `regular`, `alarm`, `warning`, `caution`, `level-critical`, `level-high`, `level-medium`, `level-low`, `level-diagnostic`, `running`, `notification`, `enhance`, `automation`, `outline`, `empty`.
|
|
23
23
|
|
|
24
24
|
Defaults to `regular`. */
|
|
25
25
|
type?: string;
|
|
@@ -34,7 +34,7 @@ size?: string;
|
|
|
34
34
|
variant?: BadgeVariant;
|
|
35
35
|
/** Whether to show an icon in the badge.
|
|
36
36
|
|
|
37
|
-
For built-in types (`alarm`, `warning`, `caution`, the `
|
|
37
|
+
For built-in types (`alarm`, `warning`, `caution`, the `level-*` severities, and `running`), a contextual icon is shown automatically.
|
|
38
38
|
For other types, provide a custom icon in the `badge-icon` slot. */
|
|
39
39
|
showIcon?: boolean
|
|
40
40
|
}
|
|
@@ -14,7 +14,7 @@ Set to `false` for symbolic or icon-only badges. */
|
|
|
14
14
|
showNumber?: boolean;
|
|
15
15
|
/** Visual style/type of the badge.
|
|
16
16
|
|
|
17
|
-
Possible values: `regular`, `alarm`, `warning`, `caution`, `
|
|
17
|
+
Possible values: `regular`, `alarm`, `warning`, `caution`, `level-critical`, `level-high`, `level-medium`, `level-low`, `level-diagnostic`, `running`, `notification`, `enhance`, `automation`, `outline`, `empty`.
|
|
18
18
|
|
|
19
19
|
Defaults to `regular`. */
|
|
20
20
|
type?: string;
|
|
@@ -29,7 +29,7 @@ Possible values: `regular` (default), `large`. */
|
|
|
29
29
|
variant?: BadgeVariant;
|
|
30
30
|
/** Whether to show an icon in the badge.
|
|
31
31
|
|
|
32
|
-
For built-in types (`alarm`, `warning`, `caution`, the `
|
|
32
|
+
For built-in types (`alarm`, `warning`, `caution`, the `level-*` severities, and `running`), a contextual icon is shown automatically.
|
|
33
33
|
For other types, provide a custom icon in the `badge-icon` slot. */
|
|
34
34
|
showIcon?: boolean;
|
|
35
35
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oicl/openbridge-webcomponents-svelte",
|
|
3
|
-
"version": "2.0.0-next.
|
|
3
|
+
"version": "2.0.0-next.64",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"dev": "vite dev",
|
|
6
6
|
"build": "vite build && npm run prepack",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@oicl/openbridge-webcomponents": "^2.0.0-next.
|
|
34
|
+
"@oicl/openbridge-webcomponents": "^2.0.0-next.63"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"svelte": "^5.0.0"
|