@oicl/openbridge-webcomponents-svelte 2.0.0-next.171 → 2.0.0-next.173

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.
Files changed (39) hide show
  1. package/dist/automation/automation-button/ObcAbstractAutomationButtonMotorized.svelte +4 -1
  2. package/dist/automation/automation-button/ObcAbstractAutomationButtonMotorized.svelte.d.ts +4 -1
  3. package/dist/automation/automation-button/ObcAbstractAutomationButtonSquared.svelte +4 -1
  4. package/dist/automation/automation-button/ObcAbstractAutomationButtonSquared.svelte.d.ts +4 -1
  5. package/dist/automation/bipolar-transistor/ObcBipolarTransistor.svelte +4 -1
  6. package/dist/automation/bipolar-transistor/ObcBipolarTransistor.svelte.d.ts +4 -1
  7. package/dist/automation/capacitor/ObcCapacitor.svelte +4 -1
  8. package/dist/automation/capacitor/ObcCapacitor.svelte.d.ts +4 -1
  9. package/dist/automation/converter/ObcConverter.svelte +4 -1
  10. package/dist/automation/converter/ObcConverter.svelte.d.ts +4 -1
  11. package/dist/automation/damper/ObcDamper.svelte +4 -1
  12. package/dist/automation/damper/ObcDamper.svelte.d.ts +4 -1
  13. package/dist/automation/diodes/ObcDiodes.svelte +4 -1
  14. package/dist/automation/diodes/ObcDiodes.svelte.d.ts +4 -1
  15. package/dist/automation/fan/ObcFan.svelte +4 -1
  16. package/dist/automation/fan/ObcFan.svelte.d.ts +4 -1
  17. package/dist/automation/filter/ObcFilter.svelte +4 -1
  18. package/dist/automation/filter/ObcFilter.svelte.d.ts +4 -1
  19. package/dist/automation/ground/ObcGround.svelte +4 -1
  20. package/dist/automation/ground/ObcGround.svelte.d.ts +4 -1
  21. package/dist/automation/logic/ObcLogic.svelte +4 -1
  22. package/dist/automation/logic/ObcLogic.svelte.d.ts +4 -1
  23. package/dist/automation/mosfet/ObcMosfet.svelte +4 -1
  24. package/dist/automation/mosfet/ObcMosfet.svelte.d.ts +4 -1
  25. package/dist/automation/motor/ObcMotor.svelte +4 -1
  26. package/dist/automation/motor/ObcMotor.svelte.d.ts +4 -1
  27. package/dist/automation/pump/ObcPump.svelte +4 -1
  28. package/dist/automation/pump/ObcPump.svelte.d.ts +4 -1
  29. package/dist/automation/resistor/ObcResistor.svelte +4 -1
  30. package/dist/automation/resistor/ObcResistor.svelte.d.ts +4 -1
  31. package/dist/automation/router/ObcRouter.svelte +4 -1
  32. package/dist/automation/router/ObcRouter.svelte.d.ts +4 -1
  33. package/dist/automation/source/ObcSource.svelte +4 -1
  34. package/dist/automation/source/ObcSource.svelte.d.ts +4 -1
  35. package/dist/automation/switch/ObcSwitch.svelte +4 -1
  36. package/dist/automation/switch/ObcSwitch.svelte.d.ts +4 -1
  37. package/dist/automation/transformer/ObcTransformer.svelte +4 -1
  38. package/dist/automation/transformer/ObcTransformer.svelte.d.ts +4 -1
  39. package/package.json +2 -2
@@ -56,7 +56,10 @@ import type {MotorizedVariant} from '@oicl/openbridge-webcomponents/dist/automat
56
56
  badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
57
57
  badgeInterlock?: AutomationButtonBadgeInterlock;
58
58
  badgeAlert?: AutomationButtonBadgeAlert;
59
- on?: boolean;
59
+ /** Whether the device is running. Selects the running icon and the speed readout instead of the `Off` state. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
60
+ turnedOn?: boolean;
61
+ /** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
62
+ on?: boolean | undefined;
60
63
  speedInPercent?: number;
61
64
  speed?: number | undefined;
62
65
  speedUnit?: string;
@@ -45,7 +45,10 @@ export interface Props {
45
45
  badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
46
46
  badgeInterlock?: AutomationButtonBadgeInterlock;
47
47
  badgeAlert?: AutomationButtonBadgeAlert;
48
- on?: boolean;
48
+ /** Whether the device is running. Selects the running icon and the speed readout instead of the `Off` state. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
49
+ turnedOn?: boolean;
50
+ /** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
51
+ on?: boolean | undefined;
49
52
  speedInPercent?: number;
50
53
  speed?: number | undefined;
51
54
  speedUnit?: string;
@@ -56,7 +56,10 @@ import type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automatio
56
56
  badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
57
57
  badgeInterlock?: AutomationButtonBadgeInterlock;
58
58
  badgeAlert?: AutomationButtonBadgeAlert;
59
- on?: boolean;
59
+ /** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
60
+ turnedOn?: boolean;
61
+ /** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
62
+ on?: boolean | undefined;
60
63
  variant?: SquaredVariant;
61
64
  orientation?: AutomationButtonOrientation
62
65
  }
@@ -45,7 +45,10 @@ export interface Props {
45
45
  badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
46
46
  badgeInterlock?: AutomationButtonBadgeInterlock;
47
47
  badgeAlert?: AutomationButtonBadgeAlert;
48
- on?: boolean;
48
+ /** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
49
+ turnedOn?: boolean;
50
+ /** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
51
+ on?: boolean | undefined;
49
52
  variant?: SquaredVariant;
50
53
  orientation?: AutomationButtonOrientation;
51
54
  }
@@ -23,7 +23,10 @@ import type {BipolarTransistorAlternativeIcon} from '@oicl/openbridge-webcompone
23
23
  export interface Props {
24
24
  class?: string;
25
25
  style?: string;
26
- on?: boolean;
26
+ /** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
27
+ turnedOn?: boolean;
28
+ /** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
29
+ on?: boolean | undefined;
27
30
  variant?: SquaredVariant;
28
31
  orientation?: AutomationButtonOrientation;
29
32
  showReadoutStack?: boolean;
@@ -11,7 +11,10 @@ import type { Snippet } from 'svelte';
11
11
  export interface Props {
12
12
  class?: string;
13
13
  style?: string;
14
- on?: boolean;
14
+ /** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
15
+ turnedOn?: boolean;
16
+ /** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
17
+ on?: boolean | undefined;
15
18
  variant?: SquaredVariant;
16
19
  orientation?: AutomationButtonOrientation;
17
20
  showReadoutStack?: boolean;
@@ -23,7 +23,10 @@ import type {CapacitorAlternativeIcon} from '@oicl/openbridge-webcomponents/dist
23
23
  export interface Props {
24
24
  class?: string;
25
25
  style?: string;
26
- on?: boolean;
26
+ /** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
27
+ turnedOn?: boolean;
28
+ /** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
29
+ on?: boolean | undefined;
27
30
  variant?: SquaredVariant;
28
31
  orientation?: AutomationButtonOrientation;
29
32
  showReadoutStack?: boolean;
@@ -11,7 +11,10 @@ import type { Snippet } from 'svelte';
11
11
  export interface Props {
12
12
  class?: string;
13
13
  style?: string;
14
- on?: boolean;
14
+ /** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
15
+ turnedOn?: boolean;
16
+ /** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
17
+ on?: boolean | undefined;
15
18
  variant?: SquaredVariant;
16
19
  orientation?: AutomationButtonOrientation;
17
20
  showReadoutStack?: boolean;
@@ -23,7 +23,10 @@ import type {ConverterAlternativeIcon} from '@oicl/openbridge-webcomponents/dist
23
23
  export interface Props {
24
24
  class?: string;
25
25
  style?: string;
26
- on?: boolean;
26
+ /** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
27
+ turnedOn?: boolean;
28
+ /** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
29
+ on?: boolean | undefined;
27
30
  variant?: SquaredVariant;
28
31
  orientation?: AutomationButtonOrientation;
29
32
  showReadoutStack?: boolean;
@@ -11,7 +11,10 @@ import type { Snippet } from 'svelte';
11
11
  export interface Props {
12
12
  class?: string;
13
13
  style?: string;
14
- on?: boolean;
14
+ /** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
15
+ turnedOn?: boolean;
16
+ /** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
17
+ on?: boolean | undefined;
15
18
  variant?: SquaredVariant;
16
19
  orientation?: AutomationButtonOrientation;
17
20
  showReadoutStack?: boolean;
@@ -21,7 +21,10 @@ import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, A
21
21
  export interface Props {
22
22
  class?: string;
23
23
  style?: string;
24
- on?: boolean;
24
+ /** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
25
+ turnedOn?: boolean;
26
+ /** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
27
+ on?: boolean | undefined;
25
28
  variant?: SquaredVariant;
26
29
  orientation?: AutomationButtonOrientation;
27
30
  showReadoutStack?: boolean;
@@ -10,7 +10,10 @@ import type { Snippet } from 'svelte';
10
10
  export interface Props {
11
11
  class?: string;
12
12
  style?: string;
13
- on?: boolean;
13
+ /** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
14
+ turnedOn?: boolean;
15
+ /** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
16
+ on?: boolean | undefined;
14
17
  variant?: SquaredVariant;
15
18
  orientation?: AutomationButtonOrientation;
16
19
  showReadoutStack?: boolean;
@@ -23,7 +23,10 @@ import type {DiodesAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/au
23
23
  export interface Props {
24
24
  class?: string;
25
25
  style?: string;
26
- on?: boolean;
26
+ /** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
27
+ turnedOn?: boolean;
28
+ /** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
29
+ on?: boolean | undefined;
27
30
  variant?: SquaredVariant;
28
31
  orientation?: AutomationButtonOrientation;
29
32
  showReadoutStack?: boolean;
@@ -11,7 +11,10 @@ import type { Snippet } from 'svelte';
11
11
  export interface Props {
12
12
  class?: string;
13
13
  style?: string;
14
- on?: boolean;
14
+ /** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
15
+ turnedOn?: boolean;
16
+ /** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
17
+ on?: boolean | undefined;
15
18
  variant?: SquaredVariant;
16
19
  orientation?: AutomationButtonOrientation;
17
20
  showReadoutStack?: boolean;
@@ -21,7 +21,10 @@ import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, A
21
21
  export interface Props {
22
22
  class?: string;
23
23
  style?: string;
24
- on?: boolean;
24
+ /** Whether the device is running. Selects the running icon and the speed readout instead of the `Off` state. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
25
+ turnedOn?: boolean;
26
+ /** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
27
+ on?: boolean | undefined;
25
28
  speedInPercent?: number;
26
29
  speed?: number | undefined;
27
30
  speedUnit?: string;
@@ -10,7 +10,10 @@ import type { Snippet } from 'svelte';
10
10
  export interface Props {
11
11
  class?: string;
12
12
  style?: string;
13
- on?: boolean;
13
+ /** Whether the device is running. Selects the running icon and the speed readout instead of the `Off` state. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
14
+ turnedOn?: boolean;
15
+ /** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
16
+ on?: boolean | undefined;
14
17
  speedInPercent?: number;
15
18
  speed?: number | undefined;
16
19
  speedUnit?: string;
@@ -23,7 +23,10 @@ import type {FilterAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/au
23
23
  export interface Props {
24
24
  class?: string;
25
25
  style?: string;
26
- on?: boolean;
26
+ /** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
27
+ turnedOn?: boolean;
28
+ /** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
29
+ on?: boolean | undefined;
27
30
  variant?: SquaredVariant;
28
31
  orientation?: AutomationButtonOrientation;
29
32
  showReadoutStack?: boolean;
@@ -11,7 +11,10 @@ import type { Snippet } from 'svelte';
11
11
  export interface Props {
12
12
  class?: string;
13
13
  style?: string;
14
- on?: boolean;
14
+ /** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
15
+ turnedOn?: boolean;
16
+ /** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
17
+ on?: boolean | undefined;
15
18
  variant?: SquaredVariant;
16
19
  orientation?: AutomationButtonOrientation;
17
20
  showReadoutStack?: boolean;
@@ -23,7 +23,10 @@ import type {GroundAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/au
23
23
  export interface Props {
24
24
  class?: string;
25
25
  style?: string;
26
- on?: boolean;
26
+ /** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
27
+ turnedOn?: boolean;
28
+ /** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
29
+ on?: boolean | undefined;
27
30
  variant?: SquaredVariant;
28
31
  orientation?: AutomationButtonOrientation;
29
32
  showReadoutStack?: boolean;
@@ -11,7 +11,10 @@ import type { Snippet } from 'svelte';
11
11
  export interface Props {
12
12
  class?: string;
13
13
  style?: string;
14
- on?: boolean;
14
+ /** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
15
+ turnedOn?: boolean;
16
+ /** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
17
+ on?: boolean | undefined;
15
18
  variant?: SquaredVariant;
16
19
  orientation?: AutomationButtonOrientation;
17
20
  showReadoutStack?: boolean;
@@ -23,7 +23,10 @@ import type {LogicAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/aut
23
23
  export interface Props {
24
24
  class?: string;
25
25
  style?: string;
26
- on?: boolean;
26
+ /** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
27
+ turnedOn?: boolean;
28
+ /** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
29
+ on?: boolean | undefined;
27
30
  variant?: SquaredVariant;
28
31
  orientation?: AutomationButtonOrientation;
29
32
  showReadoutStack?: boolean;
@@ -11,7 +11,10 @@ import type { Snippet } from 'svelte';
11
11
  export interface Props {
12
12
  class?: string;
13
13
  style?: string;
14
- on?: boolean;
14
+ /** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
15
+ turnedOn?: boolean;
16
+ /** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
17
+ on?: boolean | undefined;
15
18
  variant?: SquaredVariant;
16
19
  orientation?: AutomationButtonOrientation;
17
20
  showReadoutStack?: boolean;
@@ -23,7 +23,10 @@ import type {MosfetAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/au
23
23
  export interface Props {
24
24
  class?: string;
25
25
  style?: string;
26
- on?: boolean;
26
+ /** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
27
+ turnedOn?: boolean;
28
+ /** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
29
+ on?: boolean | undefined;
27
30
  variant?: SquaredVariant;
28
31
  orientation?: AutomationButtonOrientation;
29
32
  showReadoutStack?: boolean;
@@ -11,7 +11,10 @@ import type { Snippet } from 'svelte';
11
11
  export interface Props {
12
12
  class?: string;
13
13
  style?: string;
14
- on?: boolean;
14
+ /** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
15
+ turnedOn?: boolean;
16
+ /** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
17
+ on?: boolean | undefined;
15
18
  variant?: SquaredVariant;
16
19
  orientation?: AutomationButtonOrientation;
17
20
  showReadoutStack?: boolean;
@@ -21,7 +21,10 @@ import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, A
21
21
  export interface Props {
22
22
  class?: string;
23
23
  style?: string;
24
- on?: boolean;
24
+ /** Whether the device is running. Selects the running icon and the speed readout instead of the `Off` state. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
25
+ turnedOn?: boolean;
26
+ /** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
27
+ on?: boolean | undefined;
25
28
  speedInPercent?: number;
26
29
  speed?: number | undefined;
27
30
  speedUnit?: string;
@@ -10,7 +10,10 @@ import type { Snippet } from 'svelte';
10
10
  export interface Props {
11
11
  class?: string;
12
12
  style?: string;
13
- on?: boolean;
13
+ /** Whether the device is running. Selects the running icon and the speed readout instead of the `Off` state. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
14
+ turnedOn?: boolean;
15
+ /** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
16
+ on?: boolean | undefined;
14
17
  speedInPercent?: number;
15
18
  speed?: number | undefined;
16
19
  speedUnit?: string;
@@ -21,7 +21,10 @@ import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, A
21
21
  export interface Props {
22
22
  class?: string;
23
23
  style?: string;
24
- on?: boolean;
24
+ /** Whether the device is running. Selects the running icon and the speed readout instead of the `Off` state. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
25
+ turnedOn?: boolean;
26
+ /** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
27
+ on?: boolean | undefined;
25
28
  speedInPercent?: number;
26
29
  speed?: number | undefined;
27
30
  speedUnit?: string;
@@ -10,7 +10,10 @@ import type { Snippet } from 'svelte';
10
10
  export interface Props {
11
11
  class?: string;
12
12
  style?: string;
13
- on?: boolean;
13
+ /** Whether the device is running. Selects the running icon and the speed readout instead of the `Off` state. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
14
+ turnedOn?: boolean;
15
+ /** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
16
+ on?: boolean | undefined;
14
17
  speedInPercent?: number;
15
18
  speed?: number | undefined;
16
19
  speedUnit?: string;
@@ -23,7 +23,10 @@ import type {ResistorAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/
23
23
  export interface Props {
24
24
  class?: string;
25
25
  style?: string;
26
- on?: boolean;
26
+ /** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
27
+ turnedOn?: boolean;
28
+ /** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
29
+ on?: boolean | undefined;
27
30
  variant?: SquaredVariant;
28
31
  orientation?: AutomationButtonOrientation;
29
32
  showReadoutStack?: boolean;
@@ -11,7 +11,10 @@ import type { Snippet } from 'svelte';
11
11
  export interface Props {
12
12
  class?: string;
13
13
  style?: string;
14
- on?: boolean;
14
+ /** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
15
+ turnedOn?: boolean;
16
+ /** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
17
+ on?: boolean | undefined;
15
18
  variant?: SquaredVariant;
16
19
  orientation?: AutomationButtonOrientation;
17
20
  showReadoutStack?: boolean;
@@ -23,7 +23,10 @@ import type {RouterAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/au
23
23
  export interface Props {
24
24
  class?: string;
25
25
  style?: string;
26
- on?: boolean;
26
+ /** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
27
+ turnedOn?: boolean;
28
+ /** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
29
+ on?: boolean | undefined;
27
30
  variant?: SquaredVariant;
28
31
  orientation?: AutomationButtonOrientation;
29
32
  showReadoutStack?: boolean;
@@ -11,7 +11,10 @@ import type { Snippet } from 'svelte';
11
11
  export interface Props {
12
12
  class?: string;
13
13
  style?: string;
14
- on?: boolean;
14
+ /** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
15
+ turnedOn?: boolean;
16
+ /** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
17
+ on?: boolean | undefined;
15
18
  variant?: SquaredVariant;
16
19
  orientation?: AutomationButtonOrientation;
17
20
  showReadoutStack?: boolean;
@@ -23,7 +23,10 @@ import type {SourceAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/au
23
23
  export interface Props {
24
24
  class?: string;
25
25
  style?: string;
26
- on?: boolean;
26
+ /** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
27
+ turnedOn?: boolean;
28
+ /** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
29
+ on?: boolean | undefined;
27
30
  variant?: SquaredVariant;
28
31
  orientation?: AutomationButtonOrientation;
29
32
  showReadoutStack?: boolean;
@@ -11,7 +11,10 @@ import type { Snippet } from 'svelte';
11
11
  export interface Props {
12
12
  class?: string;
13
13
  style?: string;
14
- on?: boolean;
14
+ /** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
15
+ turnedOn?: boolean;
16
+ /** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
17
+ on?: boolean | undefined;
15
18
  variant?: SquaredVariant;
16
19
  orientation?: AutomationButtonOrientation;
17
20
  showReadoutStack?: boolean;
@@ -23,7 +23,10 @@ import type {SwitchAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/au
23
23
  export interface Props {
24
24
  class?: string;
25
25
  style?: string;
26
- on?: boolean;
26
+ /** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
27
+ turnedOn?: boolean;
28
+ /** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
29
+ on?: boolean | undefined;
27
30
  variant?: SquaredVariant;
28
31
  orientation?: AutomationButtonOrientation;
29
32
  showReadoutStack?: boolean;
@@ -11,7 +11,10 @@ import type { Snippet } from 'svelte';
11
11
  export interface Props {
12
12
  class?: string;
13
13
  style?: string;
14
- on?: boolean;
14
+ /** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
15
+ turnedOn?: boolean;
16
+ /** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
17
+ on?: boolean | undefined;
15
18
  variant?: SquaredVariant;
16
19
  orientation?: AutomationButtonOrientation;
17
20
  showReadoutStack?: boolean;
@@ -23,7 +23,10 @@ import type {TransformerAlternativeIcon} from '@oicl/openbridge-webcomponents/di
23
23
  export interface Props {
24
24
  class?: string;
25
25
  style?: string;
26
- on?: boolean;
26
+ /** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
27
+ turnedOn?: boolean;
28
+ /** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
29
+ on?: boolean | undefined;
27
30
  variant?: SquaredVariant;
28
31
  orientation?: AutomationButtonOrientation;
29
32
  showReadoutStack?: boolean;
@@ -11,7 +11,10 @@ import type { Snippet } from 'svelte';
11
11
  export interface Props {
12
12
  class?: string;
13
13
  style?: string;
14
- on?: boolean;
14
+ /** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
15
+ turnedOn?: boolean;
16
+ /** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
17
+ on?: boolean | undefined;
15
18
  variant?: SquaredVariant;
16
19
  orientation?: AutomationButtonOrientation;
17
20
  showReadoutStack?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oicl/openbridge-webcomponents-svelte",
3
- "version": "2.0.0-next.171",
3
+ "version": "2.0.0-next.173",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run prepack",
@@ -34,7 +34,7 @@
34
34
  }
35
35
  },
36
36
  "dependencies": {
37
- "@oicl/openbridge-webcomponents": "^2.0.0-next.171"
37
+ "@oicl/openbridge-webcomponents": "^2.0.0-next.173"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "svelte": "^5.0.0"