@oicl/openbridge-webcomponents-svelte 2.0.0-next.105 → 2.0.0-next.106
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,18 +1,22 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
|
-
export type {
|
|
3
|
+
export type {PitchRollType, PitchRollPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll/pitch-roll.js';
|
|
4
|
+
export type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
4
5
|
export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
5
|
-
export type {PitchRollPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll/pitch-roll.js';
|
|
6
6
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll/pitch-roll.js';
|
|
7
7
|
import { setProperties } from "../../util.js";
|
|
8
|
-
import type {
|
|
8
|
+
import type {PitchRollType, PitchRollPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll/pitch-roll.js';
|
|
9
|
+
import type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
9
10
|
import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
10
|
-
import type {PitchRollPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll/pitch-roll.js';
|
|
11
11
|
import type { Snippet } from 'svelte';
|
|
12
12
|
|
|
13
13
|
export interface Props {
|
|
14
14
|
class?: string;
|
|
15
15
|
style?: string;
|
|
16
|
+
/** `dual-scale` (default) shows pitch and roll arcs on both opposing sides;
|
|
17
|
+
`single-scale` shows one pitch arc on the right and one roll arc at the
|
|
18
|
+
bottom, completed by a thin ring. */
|
|
19
|
+
type?: PitchRollType;
|
|
16
20
|
pitch?: number;
|
|
17
21
|
roll?: number;
|
|
18
22
|
minAvgPitch?: number;
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll/pitch-roll.js';
|
|
2
|
+
import type { PitchRollType, PitchRollPriorityElement } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll/pitch-roll.js';
|
|
2
3
|
import type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
3
4
|
import type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
4
|
-
import type { PitchRollPriorityElement } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll/pitch-roll.js';
|
|
5
5
|
import type { Snippet } from 'svelte';
|
|
6
6
|
export interface Props {
|
|
7
7
|
class?: string;
|
|
8
8
|
style?: string;
|
|
9
|
+
/** `dual-scale` (default) shows pitch and roll arcs on both opposing sides;
|
|
10
|
+
`single-scale` shows one pitch arc on the right and one roll arc at the
|
|
11
|
+
bottom, completed by a thin ring. */
|
|
12
|
+
type?: PitchRollType;
|
|
9
13
|
pitch?: number;
|
|
10
14
|
roll?: number;
|
|
11
15
|
minAvgPitch?: number;
|
|
@@ -51,9 +55,10 @@ export interface Slots {
|
|
|
51
55
|
}
|
|
52
56
|
type $$ComponentProps = Props & Events & Slots;
|
|
53
57
|
declare const ObcPitchRoll: import("svelte").Component<$$ComponentProps, {
|
|
58
|
+
PitchRollType: typeof PitchRollType;
|
|
59
|
+
PitchRollPriorityElement: typeof PitchRollPriorityElement;
|
|
54
60
|
VesselImage: typeof VesselImage;
|
|
55
61
|
Priority: typeof Priority;
|
|
56
|
-
PitchRollPriorityElement: typeof PitchRollPriorityElement;
|
|
57
62
|
}, "">;
|
|
58
63
|
type ObcPitchRoll = ReturnType<typeof ObcPitchRoll>;
|
|
59
64
|
export default ObcPitchRoll;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oicl/openbridge-webcomponents-svelte",
|
|
3
|
-
"version": "2.0.0-next.
|
|
3
|
+
"version": "2.0.0-next.106",
|
|
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.
|
|
34
|
+
"@oicl/openbridge-webcomponents": "^2.0.0-next.105"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"svelte": "^5.0.0"
|