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

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.
@@ -1,6 +1,6 @@
1
1
 
2
2
  <script lang="ts">
3
- export type {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
3
+ export type {AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
4
4
  export type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
5
5
  export type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
6
6
  export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
@@ -8,7 +8,7 @@ export type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/bui
8
8
  export type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
9
9
  import '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
10
10
  import { setProperties } from "../../util.js";
11
- import type {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
11
+ import type {AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
12
12
  import type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
13
13
  import type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
14
14
  import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
@@ -30,11 +30,11 @@ import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, A
30
30
  alertFrameMode?: ObcAlertFrameMode;
31
31
  showAlertCategoryIcon?: boolean;
32
32
  showAlertIcon?: boolean;
33
- progress?: boolean;
33
+ /** Shows a progress indicator, used to indicate that an user action is in progress */
34
+ progress?: boolean;
34
35
  progressMode?: CircularProgressMode;
35
36
  progressValue?: number;
36
37
  tag?: string | null;
37
- direction?: AutomationButtonDirection;
38
38
  badgeControl?: AutomationButtonBadgeControl;
39
39
  badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
40
40
  badgeInterlock?: AutomationButtonBadgeInterlock;
@@ -1,5 +1,5 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
2
- import type { AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
2
+ import type { AutomationButtonReadoutPosition, AutomationButtonPositioning } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
3
3
  import type { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
4
4
  import type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
5
5
  import type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
@@ -20,11 +20,11 @@ export interface Props {
20
20
  alertFrameMode?: ObcAlertFrameMode;
21
21
  showAlertCategoryIcon?: boolean;
22
22
  showAlertIcon?: boolean;
23
+ /** Shows a progress indicator, used to indicate that an user action is in progress */
23
24
  progress?: boolean;
24
25
  progressMode?: CircularProgressMode;
25
26
  progressValue?: number;
26
27
  tag?: string | null;
27
- direction?: AutomationButtonDirection;
28
28
  badgeControl?: AutomationButtonBadgeControl;
29
29
  badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
30
30
  badgeInterlock?: AutomationButtonBadgeInterlock;
@@ -39,7 +39,6 @@ type $$ComponentProps = Props & Events & Slots;
39
39
  declare const ObcAbstractAutomationButton: import("svelte").Component<$$ComponentProps, {
40
40
  AutomationButtonReadoutPosition: typeof AutomationButtonReadoutPosition;
41
41
  AutomationButtonPositioning: typeof AutomationButtonPositioning;
42
- AutomationButtonDirection: typeof AutomationButtonDirection;
43
42
  AutomationButtonReadoutStackSize: typeof AutomationButtonReadoutStackSize;
44
43
  ObcAlertFrameType: typeof ObcAlertFrameType;
45
44
  ObcAlertFrameThickness: typeof ObcAlertFrameThickness;
@@ -1,10 +1,10 @@
1
1
 
2
2
  <script lang="ts">
3
- export type {AutomationButtonLabelDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
3
+ export type {AutomationButtonLabelDirection, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
4
4
  export type {MotorizedVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-motorized.js';
5
5
  import '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-motorized.js';
6
6
  import { setProperties } from "../../util.js";
7
- import type {AutomationButtonLabelDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
7
+ import type {AutomationButtonLabelDirection, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
8
8
  import type {MotorizedVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-motorized.js';
9
9
  import type { Snippet } from 'svelte';
10
10
 
@@ -17,7 +17,8 @@ import type {MotorizedVariant} from '@oicl/openbridge-webcomponents/dist/automat
17
17
  speedUnit?: string;
18
18
  speedMaxDigits?: number;
19
19
  labelDirection?: AutomationButtonLabelDirection;
20
- variant?: MotorizedVariant
20
+ variant?: MotorizedVariant;
21
+ direction?: AutomationButtonDirection
21
22
  }
22
23
  export interface Events {
23
24
 
@@ -1,5 +1,5 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-motorized.js';
2
- import type { AutomationButtonLabelDirection } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
2
+ import type { AutomationButtonLabelDirection, AutomationButtonDirection } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
3
3
  import type { MotorizedVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-motorized.js';
4
4
  import type { Snippet } from 'svelte';
5
5
  export interface Props {
@@ -12,6 +12,7 @@ export interface Props {
12
12
  speedMaxDigits?: number;
13
13
  labelDirection?: AutomationButtonLabelDirection;
14
14
  variant?: MotorizedVariant;
15
+ direction?: AutomationButtonDirection;
15
16
  }
16
17
  export interface Events {
17
18
  }
@@ -21,6 +22,7 @@ export interface Slots {
21
22
  type $$ComponentProps = Props & Events & Slots;
22
23
  declare const ObcAbstractAutomationButtonMotorized: import("svelte").Component<$$ComponentProps, {
23
24
  AutomationButtonLabelDirection: typeof AutomationButtonLabelDirection;
25
+ AutomationButtonDirection: typeof AutomationButtonDirection;
24
26
  MotorizedVariant: typeof MotorizedVariant;
25
27
  }, "">;
26
28
  type ObcAbstractAutomationButtonMotorized = ReturnType<typeof ObcAbstractAutomationButtonMotorized>;
@@ -1,16 +1,19 @@
1
1
 
2
2
  <script lang="ts">
3
3
  export type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
4
+ export type {AutomationButtonOrientation} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
4
5
  import '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
5
6
  import { setProperties } from "../../util.js";
6
7
  import type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
8
+ import type {AutomationButtonOrientation} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
7
9
  import type { Snippet } from 'svelte';
8
10
 
9
11
  export interface Props {
10
12
  class?: string;
11
13
  style?: string;
12
14
  on?: boolean;
13
- variant?: SquaredVariant
15
+ variant?: SquaredVariant;
16
+ orientation?: AutomationButtonOrientation
14
17
  }
15
18
  export interface Events {
16
19
 
@@ -1,11 +1,13 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
2
2
  import type { SquaredVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
3
+ import type { AutomationButtonOrientation } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
3
4
  import type { Snippet } from 'svelte';
4
5
  export interface Props {
5
6
  class?: string;
6
7
  style?: string;
7
8
  on?: boolean;
8
9
  variant?: SquaredVariant;
10
+ orientation?: AutomationButtonOrientation;
9
11
  }
10
12
  export interface Events {
11
13
  }
@@ -15,6 +17,7 @@ export interface Slots {
15
17
  type $$ComponentProps = Props & Events & Slots;
16
18
  declare const ObcAbstractAutomationButtonSquared: import("svelte").Component<$$ComponentProps, {
17
19
  SquaredVariant: typeof SquaredVariant;
20
+ AutomationButtonOrientation: typeof AutomationButtonOrientation;
18
21
  }, "">;
19
22
  type ObcAbstractAutomationButtonSquared = ReturnType<typeof ObcAbstractAutomationButtonSquared>;
20
23
  export default ObcAbstractAutomationButtonSquared;
@@ -1,13 +1,13 @@
1
1
 
2
2
  <script lang="ts">
3
- export type {AutomationButtonVariant, AutomationButtonState, AutomationButtonReadoutPosition, AutomationButtonDirection, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
3
+ export type {AutomationButtonVariant, AutomationButtonState, AutomationButtonReadoutPosition, AutomationButtonDirection, AutomationButtonPositioning, AutomationButtonOrientation} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
4
4
  export type {AutomationButtonReadoutStack, AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
5
5
  export type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
6
6
  export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
7
7
  export type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
8
8
  import '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
9
9
  import { setProperties } from "../../util.js";
10
- import type {AutomationButtonVariant, AutomationButtonState, AutomationButtonReadoutPosition, AutomationButtonDirection, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
10
+ import type {AutomationButtonVariant, AutomationButtonState, AutomationButtonReadoutPosition, AutomationButtonDirection, AutomationButtonPositioning, AutomationButtonOrientation} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
11
11
  import type {AutomationButtonReadoutStack, AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
12
12
  import type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
13
13
  import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
@@ -37,6 +37,7 @@ import type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/bui
37
37
  progressValue?: number;
38
38
  direction?: AutomationButtonDirection;
39
39
  positioning?: AutomationButtonPositioning;
40
+ orientation?: AutomationButtonOrientation;
40
41
  /** Badge spacer should be set to true if there is a badge on the same side as the label */
41
42
  hasBadgeSpacer?: boolean
42
43
  }
@@ -1,5 +1,5 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
2
- import type { AutomationButtonVariant, AutomationButtonState, AutomationButtonReadoutPosition, AutomationButtonDirection, AutomationButtonPositioning } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
2
+ import type { AutomationButtonVariant, AutomationButtonState, AutomationButtonReadoutPosition, AutomationButtonDirection, AutomationButtonPositioning, AutomationButtonOrientation } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
3
3
  import type { AutomationButtonReadoutStack, AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
4
4
  import type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
5
5
  import type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
@@ -28,6 +28,7 @@ export interface Props {
28
28
  progressValue?: number;
29
29
  direction?: AutomationButtonDirection;
30
30
  positioning?: AutomationButtonPositioning;
31
+ orientation?: AutomationButtonOrientation;
31
32
  /** Badge spacer should be set to true if there is a badge on the same side as the label */
32
33
  hasBadgeSpacer?: boolean;
33
34
  }
@@ -43,6 +44,7 @@ declare const ObcAutomationButton: import("svelte").Component<$$ComponentProps,
43
44
  AutomationButtonReadoutPosition: typeof AutomationButtonReadoutPosition;
44
45
  AutomationButtonDirection: typeof AutomationButtonDirection;
45
46
  AutomationButtonPositioning: typeof AutomationButtonPositioning;
47
+ AutomationButtonOrientation: typeof AutomationButtonOrientation;
46
48
  AutomationButtonReadoutStack: typeof AutomationButtonReadoutStack;
47
49
  AutomationButtonReadoutStackSize: typeof AutomationButtonReadoutStackSize;
48
50
  ObcAlertFrameType: typeof ObcAlertFrameType;
@@ -50,7 +50,7 @@ hasRightIcon?: boolean;
50
50
 
51
51
  Default is false. */
52
52
  allowSeeking?: boolean;
53
- /** The speed of animated seeking (when `allowSeeking` is true).
53
+ /** The speed of the smooth animation that moves the value to the clicked position (used when `allowSeeking` is false).
54
54
 
55
55
  Expressed as the inverse of seconds to go from min to max (e.g., 1/3 means 3 seconds for full range).
56
56
  Default is 1/3. */
@@ -45,7 +45,7 @@ When true, the `icon-right` slot is rendered as a button. */
45
45
 
46
46
  Default is false. */
47
47
  allowSeeking?: boolean;
48
- /** The speed of animated seeking (when `allowSeeking` is true).
48
+ /** The speed of the smooth animation that moves the value to the clicked position (used when `allowSeeking` is false).
49
49
 
50
50
  Expressed as the inverse of seconds to go from min to max (e.g., 1/3 means 3 seconds for full range).
51
51
  Default is 1/3. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oicl/openbridge-webcomponents-svelte",
3
- "version": "2.0.0-next.74",
3
+ "version": "2.0.0-next.76",
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.73"
34
+ "@oicl/openbridge-webcomponents": "^2.0.0-next.75"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "svelte": "^5.0.0"