@oicl/openbridge-webcomponents-svelte 0.0.20260326144656 → 0.0.20260327190859

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.
@@ -26,7 +26,10 @@ Useful for visually separating items in a list. */
26
26
  hasBottomDivider?: boolean;
27
27
  /** If true, displays a leading icon before the label.
28
28
  Provide icon content via the `icon` slot. */
29
- hasIcon?: boolean
29
+ hasIcon?: boolean;
30
+ /** If true, the toggle is controlled externally.
31
+ Use to control the toggle state from outside the component. */
32
+ externalControl?: boolean
30
33
  }
31
34
  export interface Events {
32
35
  onInput?: (event: CustomEvent<unknown>) => void
@@ -21,6 +21,9 @@ Useful for visually separating items in a list. */
21
21
  /** If true, displays a leading icon before the label.
22
22
  Provide icon content via the `icon` slot. */
23
23
  hasIcon?: boolean;
24
+ /** If true, the toggle is controlled externally.
25
+ Use to control the toggle state from outside the component. */
26
+ externalControl?: boolean;
24
27
  }
25
28
  export interface Events {
26
29
  onInput?: (event: CustomEvent<unknown>) => void;
@@ -1,9 +1,11 @@
1
1
 
2
2
  <script lang="ts">
3
3
  export type {VelocityProjectionDatapoint} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/velocity-projection-plot/velocity-projection-plot.js';
4
+ export type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
4
5
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/velocity-projection-plot/velocity-projection-plot.js';
5
6
  import { setProperties } from "../../util.js";
6
7
  import type {VelocityProjectionDatapoint} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/velocity-projection-plot/velocity-projection-plot.js';
8
+ import type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
7
9
  import type { Snippet } from 'svelte';
8
10
 
9
11
  export interface Props {
@@ -13,7 +15,8 @@
13
15
  instantWindDirectionDeg?: number | null;
14
16
  instantWindSpeedNumber?: number | null;
15
17
  instantCurrentDirectionDeg?: number | null;
16
- instantCurrentSpeedNumber?: number | null
18
+ instantCurrentSpeedNumber?: number | null;
19
+ vesselImage?: VesselImage
17
20
  }
18
21
  export interface Events {
19
22
 
@@ -1,5 +1,6 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/velocity-projection-plot/velocity-projection-plot.js';
2
2
  import type { VelocityProjectionDatapoint } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/velocity-projection-plot/velocity-projection-plot.js';
3
+ import type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
3
4
  import type { Snippet } from 'svelte';
4
5
  export interface Props {
5
6
  class?: string;
@@ -9,6 +10,7 @@ export interface Props {
9
10
  instantWindSpeedNumber?: number | null;
10
11
  instantCurrentDirectionDeg?: number | null;
11
12
  instantCurrentSpeedNumber?: number | null;
13
+ vesselImage?: VesselImage;
12
14
  }
13
15
  export interface Events {
14
16
  }
@@ -18,6 +20,7 @@ export interface Slots {
18
20
  type $$ComponentProps = Props & Events & Slots;
19
21
  declare const ObcVelocityProjectionPlot: import("svelte").Component<$$ComponentProps, {
20
22
  VelocityProjectionDatapoint: typeof VelocityProjectionDatapoint;
23
+ VesselImage: typeof VesselImage;
21
24
  }, "">;
22
25
  type ObcVelocityProjectionPlot = ReturnType<typeof ObcVelocityProjectionPlot>;
23
26
  export default ObcVelocityProjectionPlot;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oicl/openbridge-webcomponents-svelte",
3
- "version": "0.0.20260326144656",
3
+ "version": "0.0.20260327190859",
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": "^0.0.20260326144656"
34
+ "@oicl/openbridge-webcomponents": "^0.0.20260327190859"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "svelte": "^5.0.0"