@oicl/openbridge-webcomponents-svelte 2.0.0-next.25 → 2.0.0-next.27

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.
@@ -18,7 +18,6 @@ import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, A
18
18
  class?: string;
19
19
  style?: string;
20
20
  showReadoutStack?: boolean;
21
- hasIdTag?: boolean;
22
21
  readoutPosition?: AutomationButtonReadoutPosition;
23
22
  readoutSize?: AutomationButtonReadoutStackSize;
24
23
  positioning?: AutomationButtonPositioning;
@@ -31,7 +30,7 @@ import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, A
31
30
  progress?: boolean;
32
31
  progressMode?: CircularProgressMode;
33
32
  progressValue?: number;
34
- tag?: string;
33
+ tag?: string | null;
35
34
  direction?: AutomationButtonDirection;
36
35
  badgeControl?: AutomationButtonBadgeControl;
37
36
  badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
@@ -9,7 +9,6 @@ export interface Props {
9
9
  class?: string;
10
10
  style?: string;
11
11
  showReadoutStack?: boolean;
12
- hasIdTag?: boolean;
13
12
  readoutPosition?: AutomationButtonReadoutPosition;
14
13
  readoutSize?: AutomationButtonReadoutStackSize;
15
14
  positioning?: AutomationButtonPositioning;
@@ -22,7 +21,7 @@ export interface Props {
22
21
  progress?: boolean;
23
22
  progressMode?: CircularProgressMode;
24
23
  progressValue?: number;
25
- tag?: string;
24
+ tag?: string | null;
26
25
  direction?: AutomationButtonDirection;
27
26
  badgeControl?: AutomationButtonBadgeControl;
28
27
  badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
@@ -1,13 +1,13 @@
1
1
 
2
2
  <script lang="ts">
3
3
  export type {AutomationButtonVariant, AutomationButtonState, AutomationButtonReadoutPosition, AutomationButtonDirection, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
4
- export type {AutomationButtonReadoutStack, AutomationButtonReadoutStackTag, AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
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, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
6
6
  export type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
7
7
  import '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
8
8
  import { setProperties } from "../../util.js";
9
9
  import type {AutomationButtonVariant, AutomationButtonState, AutomationButtonReadoutPosition, AutomationButtonDirection, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
10
- import type {AutomationButtonReadoutStack, AutomationButtonReadoutStackTag, AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
10
+ import type {AutomationButtonReadoutStack, AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
11
11
  import type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
12
12
  import type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
13
13
  import type { Snippet } from 'svelte';
@@ -20,8 +20,7 @@ import type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/bui
20
20
  static?: boolean;
21
21
  showReadoutStack?: boolean;
22
22
  readouts?: AutomationButtonReadoutStack[];
23
- tag?: AutomationButtonReadoutStackTag | null;
24
- hasIdTag?: boolean;
23
+ tag?: string | null;
25
24
  readoutPosition?: AutomationButtonReadoutPosition;
26
25
  readoutSize?: AutomationButtonReadoutStackSize;
27
26
  alert?: boolean;
@@ -1,6 +1,6 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
2
2
  import type { AutomationButtonVariant, AutomationButtonState, AutomationButtonReadoutPosition, AutomationButtonDirection, AutomationButtonPositioning } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
3
- import type { AutomationButtonReadoutStack, AutomationButtonReadoutStackTag, AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
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, ObcAlertFrameStatus } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
5
5
  import type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
6
6
  import type { Snippet } from 'svelte';
@@ -12,8 +12,7 @@ export interface Props {
12
12
  static?: boolean;
13
13
  showReadoutStack?: boolean;
14
14
  readouts?: AutomationButtonReadoutStack[];
15
- tag?: AutomationButtonReadoutStackTag | null;
16
- hasIdTag?: boolean;
15
+ tag?: string | null;
17
16
  readoutPosition?: AutomationButtonReadoutPosition;
18
17
  readoutSize?: AutomationButtonReadoutStackSize;
19
18
  alert?: boolean;
@@ -43,7 +42,6 @@ declare const ObcAutomationButton: import("svelte").Component<$$ComponentProps,
43
42
  AutomationButtonDirection: typeof AutomationButtonDirection;
44
43
  AutomationButtonPositioning: typeof AutomationButtonPositioning;
45
44
  AutomationButtonReadoutStack: typeof AutomationButtonReadoutStack;
46
- AutomationButtonReadoutStackTag: typeof AutomationButtonReadoutStackTag;
47
45
  AutomationButtonReadoutStackSize: typeof AutomationButtonReadoutStackSize;
48
46
  ObcAlertFrameType: typeof ObcAlertFrameType;
49
47
  ObcAlertFrameThickness: typeof ObcAlertFrameThickness;
@@ -1,19 +1,18 @@
1
1
 
2
2
  <script lang="ts">
3
- export type {AutomationButtonReadoutStack, AutomationButtonReadoutStackTag, AutomationButtonReadoutStackSize, IdTagOrientation} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
3
+ export type {AutomationButtonReadoutStack, AutomationButtonReadoutStackSize, IdTagOrientation} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
4
4
  import '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
5
5
  import { setProperties } from "../../util.js";
6
- import type {AutomationButtonReadoutStack, AutomationButtonReadoutStackTag, AutomationButtonReadoutStackSize, IdTagOrientation} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
6
+ import type {AutomationButtonReadoutStack, AutomationButtonReadoutStackSize, IdTagOrientation} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
7
7
  import type { Snippet } from 'svelte';
8
8
 
9
9
  export interface Props {
10
10
  class?: string;
11
11
  style?: string;
12
12
  readouts?: AutomationButtonReadoutStack[];
13
- tag?: AutomationButtonReadoutStackTag | null;
13
+ tag?: string | null;
14
14
  size?: AutomationButtonReadoutStackSize;
15
- idTagOrientation?: IdTagOrientation;
16
- hasIdTag?: boolean
15
+ idTagOrientation?: IdTagOrientation
17
16
  }
18
17
  export interface Events {
19
18
 
@@ -1,14 +1,13 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
2
- import type { AutomationButtonReadoutStack, AutomationButtonReadoutStackTag, AutomationButtonReadoutStackSize, IdTagOrientation } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
2
+ import type { AutomationButtonReadoutStack, AutomationButtonReadoutStackSize, IdTagOrientation } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
3
3
  import type { Snippet } from 'svelte';
4
4
  export interface Props {
5
5
  class?: string;
6
6
  style?: string;
7
7
  readouts?: AutomationButtonReadoutStack[];
8
- tag?: AutomationButtonReadoutStackTag | null;
8
+ tag?: string | null;
9
9
  size?: AutomationButtonReadoutStackSize;
10
10
  idTagOrientation?: IdTagOrientation;
11
- hasIdTag?: boolean;
12
11
  }
13
12
  export interface Events {
14
13
  }
@@ -18,7 +17,6 @@ export interface Slots {
18
17
  type $$ComponentProps = Props & Events & Slots;
19
18
  declare const ObcAutomationButtonReadoutStack: import("svelte").Component<$$ComponentProps, {
20
19
  AutomationButtonReadoutStack: typeof AutomationButtonReadoutStack;
21
- AutomationButtonReadoutStackTag: typeof AutomationButtonReadoutStackTag;
22
20
  AutomationButtonReadoutStackSize: typeof AutomationButtonReadoutStackSize;
23
21
  IdTagOrientation: typeof IdTagOrientation;
24
22
  }, "">;
@@ -1,10 +1,10 @@
1
1
 
2
2
  <script lang="ts">
3
- export type {WindHistogramData} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.js';
3
+ export type {WindHistogramData, WindVariant} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.js';
4
4
  export type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
5
5
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.js';
6
6
  import { setProperties } from "../../util.js";
7
- import type {WindHistogramData} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.js';
7
+ import type {WindHistogramData, WindVariant} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.js';
8
8
  import type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
9
9
  import type { Snippet } from 'svelte';
10
10
 
@@ -15,7 +15,10 @@ import type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-i
15
15
  currentWindSpeedBeaufort?: number;
16
16
  windHistogramData?: WindHistogramData[];
17
17
  vesselImage?: VesselImage;
18
- vesselHeadingDeg?: number
18
+ vesselHeadingDeg?: number;
19
+ variant?: WindVariant;
20
+ smallVariantMaxPx?: number;
21
+ mediumVariantMaxPx?: number
19
22
  }
20
23
  export interface Events {
21
24
 
@@ -1,5 +1,5 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.js';
2
- import type { WindHistogramData } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.js';
2
+ import type { WindHistogramData, WindVariant } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.js';
3
3
  import type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
4
4
  import type { Snippet } from 'svelte';
5
5
  export interface Props {
@@ -10,6 +10,9 @@ export interface Props {
10
10
  windHistogramData?: WindHistogramData[];
11
11
  vesselImage?: VesselImage;
12
12
  vesselHeadingDeg?: number;
13
+ variant?: WindVariant;
14
+ smallVariantMaxPx?: number;
15
+ mediumVariantMaxPx?: number;
13
16
  }
14
17
  export interface Events {
15
18
  }
@@ -19,6 +22,7 @@ export interface Slots {
19
22
  type $$ComponentProps = Props & Events & Slots;
20
23
  declare const ObcWind: import("svelte").Component<$$ComponentProps, {
21
24
  WindHistogramData: typeof WindHistogramData;
25
+ WindVariant: typeof WindVariant;
22
26
  VesselImage: typeof VesselImage;
23
27
  }, "">;
24
28
  type ObcWind = ReturnType<typeof ObcWind>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oicl/openbridge-webcomponents-svelte",
3
- "version": "2.0.0-next.25",
3
+ "version": "2.0.0-next.27",
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.24"
34
+ "@oicl/openbridge-webcomponents": "^2.0.0-next.26"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "svelte": "^5.0.0"