@oicl/openbridge-webcomponents-svelte 2.0.0-next.72 → 2.0.0-next.74

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.
@@ -13,6 +13,9 @@ import type {MotorizedVariant} from '@oicl/openbridge-webcomponents/dist/automat
13
13
  style?: string;
14
14
  on?: boolean;
15
15
  speedInPercent?: number;
16
+ speed?: number | undefined;
17
+ speedUnit?: string;
18
+ speedMaxDigits?: number;
16
19
  labelDirection?: AutomationButtonLabelDirection;
17
20
  variant?: MotorizedVariant
18
21
  }
@@ -7,6 +7,9 @@ export interface Props {
7
7
  style?: string;
8
8
  on?: boolean;
9
9
  speedInPercent?: number;
10
+ speed?: number | undefined;
11
+ speedUnit?: string;
12
+ speedMaxDigits?: number;
10
13
  labelDirection?: AutomationButtonLabelDirection;
11
14
  variant?: MotorizedVariant;
12
15
  }
@@ -21,6 +21,14 @@ type?: ObcToggleButtonVerticalOptionType;
21
21
 
22
22
  Defaults to false. */
23
23
  hugWidth?: boolean;
24
+ /** If true, a `value` that does not match any enabled option leaves the group with no option selected
25
+ instead of defaulting to the first enabled option.
26
+
27
+ This also applies when the currently selected option becomes disabled: the group clears its selection
28
+ rather than falling back to another option.
29
+
30
+ Defaults to false (the first enabled option is selected when the value does not match). */
31
+ allowEmptySelection?: boolean;
24
32
  /** Disables the entire group and all contained options.
25
33
 
26
34
  When set to true, all options become non-interactive, regardless of their individual disabled state.
@@ -16,6 +16,14 @@ One of: "flat", "regular", "normal". */
16
16
 
17
17
  Defaults to false. */
18
18
  hugWidth?: boolean;
19
+ /** If true, a `value` that does not match any enabled option leaves the group with no option selected
20
+ instead of defaulting to the first enabled option.
21
+
22
+ This also applies when the currently selected option becomes disabled: the group clears its selection
23
+ rather than falling back to another option.
24
+
25
+ Defaults to false (the first enabled option is selected when the value does not match). */
26
+ allowEmptySelection?: boolean;
19
27
  /** Disables the entire group and all contained options.
20
28
 
21
29
  When set to true, all options become non-interactive, regardless of their individual disabled state.
@@ -9,8 +9,9 @@
9
9
  export interface Props {
10
10
  class?: string;
11
11
  style?: string;
12
- /** Hide the alarm list, ensuring it doesn't take space (display: none). */
13
- hideAlarmList?: boolean
12
+ hasActions?: boolean;
13
+ hasAlertList?: boolean;
14
+ hasContent?: boolean
14
15
  }
15
16
  export interface Events {
16
17
 
@@ -3,8 +3,9 @@ import type { Snippet } from 'svelte';
3
3
  export interface Props {
4
4
  class?: string;
5
5
  style?: string;
6
- /** Hide the alarm list, ensuring it doesn't take space (display: none). */
7
- hideAlarmList?: boolean;
6
+ hasActions?: boolean;
7
+ hasAlertList?: boolean;
8
+ hasContent?: boolean;
8
9
  }
9
10
  export interface Events {
10
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oicl/openbridge-webcomponents-svelte",
3
- "version": "2.0.0-next.72",
3
+ "version": "2.0.0-next.74",
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.71"
34
+ "@oicl/openbridge-webcomponents": "^2.0.0-next.73"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "svelte": "^5.0.0"