@oicl/openbridge-webcomponents-svelte 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/dist/automation/automation-tank/ObcAutomationTank.svelte +3 -3
- package/dist/automation/automation-tank/ObcAutomationTank.svelte.d.ts +3 -3
- package/dist/components/alert-frame/ObcAlertFrame.svelte +1 -1
- package/dist/components/alert-frame/ObcAlertFrame.svelte.d.ts +1 -1
- package/dist/components/badge/ObcBadge.svelte +2 -2
- package/dist/components/badge/ObcBadge.svelte.d.ts +2 -2
- package/package.json +2 -2
|
@@ -31,9 +31,9 @@ import type {AutomationButtonBadgeControl, AutomationButtonBadgeAlert, Automatio
|
|
|
31
31
|
orientation?: TankOrientation;
|
|
32
32
|
compact?: boolean;
|
|
33
33
|
/** Host positioning model — see `TankPositioning` for details. Defaults to
|
|
34
|
-
`
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
`button` (host fills parent container, 100% × 100%, no anchor offset).
|
|
35
|
+
Set to `point` for the legacy P&ID canvas mode (fixed default dimensions
|
|
36
|
+
+ top-center anchor offset). */
|
|
37
37
|
positioning?: TankPositioning;
|
|
38
38
|
/** Static (display-only) variant. Always rendered at the compact size; the
|
|
39
39
|
inner chart/bar is hidden, the bordered area is filled with
|
|
@@ -19,9 +19,9 @@ export interface Props {
|
|
|
19
19
|
orientation?: TankOrientation;
|
|
20
20
|
compact?: boolean;
|
|
21
21
|
/** Host positioning model — see `TankPositioning` for details. Defaults to
|
|
22
|
-
`
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
`button` (host fills parent container, 100% × 100%, no anchor offset).
|
|
23
|
+
Set to `point` for the legacy P&ID canvas mode (fixed default dimensions
|
|
24
|
+
+ top-center anchor offset). */
|
|
25
25
|
positioning?: TankPositioning;
|
|
26
26
|
/** Static (display-only) variant. Always rendered at the compact size; the
|
|
27
27
|
inner chart/bar is hidden, the bordered area is filled with
|
|
@@ -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"
|