@oicl/openbridge-webcomponents-svelte 2.0.0-next.106 → 2.0.0-next.108

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.
@@ -23,6 +23,27 @@ import type {AutomationButtonBadgeControl, AutomationButtonBadgeAlert, Automatio
23
23
  export interface Props {
24
24
  class?: string;
25
25
  style?: string;
26
+ /** Target setpoint value. `undefined` = no setpoint marker shown. */
27
+ setpoint?: number | undefined;
28
+ /** Adjustment preview for 2-step interface.
29
+ When defined, two markers are shown: original (dimmed) + new (focus). */
30
+ newSetpoint?: number | undefined;
31
+ /** Manual at-setpoint override (used when `autoAtSetpoint` is false). */
32
+ atSetpoint?: boolean;
33
+ /** User is physically interacting with the control.
34
+ Suppresses at-setpoint calculation and triggers focus visual. */
35
+ touching?: boolean;
36
+ /** When false, uses manual `atSetpoint` boolean instead of auto-calculation. */
37
+ autoAtSetpoint?: boolean;
38
+ /** Tolerance for auto at-setpoint detection. */
39
+ autoAtSetpointDeadband?: number;
40
+ /** Tolerance for zero-snap visual state. */
41
+ setpointAtZeroDeadband?: number;
42
+ /** Override to derive the setpoint color from the instrument's `priority`
43
+ regardless of instrument state. */
44
+ setpointOverride?: boolean;
45
+ /** Enable CSS-animated confirm transition. */
46
+ animateSetpoint?: boolean;
26
47
  medium?: LineMedium;
27
48
  value?: number;
28
49
  max?: number;
@@ -11,6 +11,27 @@ import type { Snippet } from 'svelte';
11
11
  export interface Props {
12
12
  class?: string;
13
13
  style?: string;
14
+ /** Target setpoint value. `undefined` = no setpoint marker shown. */
15
+ setpoint?: number | undefined;
16
+ /** Adjustment preview for 2-step interface.
17
+ When defined, two markers are shown: original (dimmed) + new (focus). */
18
+ newSetpoint?: number | undefined;
19
+ /** Manual at-setpoint override (used when `autoAtSetpoint` is false). */
20
+ atSetpoint?: boolean;
21
+ /** User is physically interacting with the control.
22
+ Suppresses at-setpoint calculation and triggers focus visual. */
23
+ touching?: boolean;
24
+ /** When false, uses manual `atSetpoint` boolean instead of auto-calculation. */
25
+ autoAtSetpoint?: boolean;
26
+ /** Tolerance for auto at-setpoint detection. */
27
+ autoAtSetpointDeadband?: number;
28
+ /** Tolerance for zero-snap visual state. */
29
+ setpointAtZeroDeadband?: number;
30
+ /** Override to derive the setpoint color from the instrument's `priority`
31
+ regardless of instrument state. */
32
+ setpointOverride?: boolean;
33
+ /** Enable CSS-animated confirm transition. */
34
+ animateSetpoint?: boolean;
14
35
  medium?: LineMedium;
15
36
  value?: number;
16
37
  max?: number;
@@ -0,0 +1,41 @@
1
+
2
+ <script lang="ts">
3
+ export type {BusSize, BusVariant} from '@oicl/openbridge-webcomponents/dist/automation/bus/bus.js';
4
+ import '@oicl/openbridge-webcomponents/dist/automation/bus/bus.js';
5
+ import { setProperties } from "../../util.js";
6
+ import type {BusSize, BusVariant} from '@oicl/openbridge-webcomponents/dist/automation/bus/bus.js';
7
+ import type { Snippet } from 'svelte';
8
+
9
+ export interface Props {
10
+ class?: string;
11
+ style?: string;
12
+ /** Centered label text; the bar renders empty when omitted. */
13
+ label?: string;
14
+ /** Bar height and typography preset. */
15
+ size?: BusSize;
16
+ /** Color family of the bar. */
17
+ variant?: BusVariant;
18
+ /** Use the light (tinted) color pairing of the selected variant. */
19
+ tint?: boolean;
20
+ /** Render the bar vertically with the label rotated 90° clockwise. */
21
+ vertical?: boolean
22
+ }
23
+ export interface Events {
24
+
25
+ }
26
+ export interface Slots {
27
+ children?: Snippet
28
+ }
29
+ const { class: className, style, children, ...props} = $props<Props & Events & Slots>();
30
+
31
+ </script>
32
+ <obc-bus
33
+ use:setProperties={props}
34
+ class={className}
35
+ style={style}
36
+ >
37
+
38
+ {#if children}
39
+ {@render children()}
40
+ {/if}
41
+ </obc-bus>
@@ -0,0 +1,29 @@
1
+ import '@oicl/openbridge-webcomponents/dist/automation/bus/bus.js';
2
+ import type { BusSize, BusVariant } from '@oicl/openbridge-webcomponents/dist/automation/bus/bus.js';
3
+ import type { Snippet } from 'svelte';
4
+ export interface Props {
5
+ class?: string;
6
+ style?: string;
7
+ /** Centered label text; the bar renders empty when omitted. */
8
+ label?: string;
9
+ /** Bar height and typography preset. */
10
+ size?: BusSize;
11
+ /** Color family of the bar. */
12
+ variant?: BusVariant;
13
+ /** Use the light (tinted) color pairing of the selected variant. */
14
+ tint?: boolean;
15
+ /** Render the bar vertically with the label rotated 90° clockwise. */
16
+ vertical?: boolean;
17
+ }
18
+ export interface Events {
19
+ }
20
+ export interface Slots {
21
+ children?: Snippet;
22
+ }
23
+ type $$ComponentProps = Props & Events & Slots;
24
+ declare const ObcBus: import("svelte").Component<$$ComponentProps, {
25
+ BusSize: typeof BusSize;
26
+ BusVariant: typeof BusVariant;
27
+ }, "">;
28
+ type ObcBus = ReturnType<typeof ObcBus>;
29
+ export default ObcBus;
@@ -1,11 +1,11 @@
1
1
 
2
2
  <script lang="ts">
3
3
  export type {ObcKeyboardFullType} from '@oicl/openbridge-webcomponents/dist/components/keyboard-full/keyboard-full.js';
4
- export type {ObcTextInputFieldSize} from '@oicl/openbridge-webcomponents/dist/components/text-input-field/text-input-field.js';
4
+ export type {ObcTextInputFieldSize, HTMLInputTypeAttribute} from '@oicl/openbridge-webcomponents/dist/components/text-input-field/text-input-field.js';
5
5
  import '@oicl/openbridge-webcomponents/dist/components/keyboard-full/keyboard-full.js';
6
6
  import { setProperties } from "../../util.js";
7
7
  import type {ObcKeyboardFullType} from '@oicl/openbridge-webcomponents/dist/components/keyboard-full/keyboard-full.js';
8
- import type {ObcTextInputFieldSize} from '@oicl/openbridge-webcomponents/dist/components/text-input-field/text-input-field.js';
8
+ import type {ObcTextInputFieldSize, HTMLInputTypeAttribute} from '@oicl/openbridge-webcomponents/dist/components/text-input-field/text-input-field.js';
9
9
  import type { Snippet } from 'svelte';
10
10
 
11
11
  export interface Props {
@@ -17,7 +17,10 @@ import type {ObcTextInputFieldSize} from '@oicl/openbridge-webcomponents/dist/co
17
17
  value?: string;
18
18
  placeholder?: string;
19
19
  showNumberRow?: boolean;
20
- inputSize?: ObcTextInputFieldSize
20
+ inputSize?: ObcTextInputFieldSize;
21
+ /** Input type forwarded to the embedded input field. Set to `password` to mask
22
+ the entered value (a show/hide toggle is then shown inside the field). */
23
+ inputType?: HTMLInputTypeAttribute
21
24
  }
22
25
  export interface Events {
23
26
  onValueChange?: (event: CustomEvent<{value: string}>) => void;
@@ -1,6 +1,6 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/components/keyboard-full/keyboard-full.js';
2
2
  import type { ObcKeyboardFullType } from '@oicl/openbridge-webcomponents/dist/components/keyboard-full/keyboard-full.js';
3
- import type { ObcTextInputFieldSize } from '@oicl/openbridge-webcomponents/dist/components/text-input-field/text-input-field.js';
3
+ import type { ObcTextInputFieldSize, HTMLInputTypeAttribute } from '@oicl/openbridge-webcomponents/dist/components/text-input-field/text-input-field.js';
4
4
  import type { Snippet } from 'svelte';
5
5
  export interface Props {
6
6
  class?: string;
@@ -12,6 +12,9 @@ export interface Props {
12
12
  placeholder?: string;
13
13
  showNumberRow?: boolean;
14
14
  inputSize?: ObcTextInputFieldSize;
15
+ /** Input type forwarded to the embedded input field. Set to `password` to mask
16
+ the entered value (a show/hide toggle is then shown inside the field). */
17
+ inputType?: HTMLInputTypeAttribute;
15
18
  }
16
19
  export interface Events {
17
20
  onValueChange?: (event: CustomEvent<{
@@ -29,6 +32,7 @@ type $$ComponentProps = Props & Events & Slots;
29
32
  declare const ObcKeyboardFull: import("svelte").Component<$$ComponentProps, {
30
33
  ObcKeyboardFullType: typeof ObcKeyboardFullType;
31
34
  ObcTextInputFieldSize: typeof ObcTextInputFieldSize;
35
+ HTMLInputTypeAttribute: typeof HTMLInputTypeAttribute;
32
36
  }, "">;
33
37
  type ObcKeyboardFull = ReturnType<typeof ObcKeyboardFull>;
34
38
  export default ObcKeyboardFull;
package/dist/index.d.ts CHANGED
@@ -35,6 +35,7 @@ export { default as ObcAutomationInputModal } from './automation/automation-inpu
35
35
  export { default as ObcAutomationReadout } from './automation/automation-readout/ObcAutomationReadout.svelte';
36
36
  export { default as ObcAutomationTank } from './automation/automation-tank/ObcAutomationTank.svelte';
37
37
  export { default as ObcBipolarTransistor } from './automation/bipolar-transistor/ObcBipolarTransistor.svelte';
38
+ export { default as ObcBus } from './automation/bus/ObcBus.svelte';
38
39
  export { default as ObcCapacitor } from './automation/capacitor/ObcCapacitor.svelte';
39
40
  export { default as ObcConverter } from './automation/converter/ObcConverter.svelte';
40
41
  export { default as ObcCornerLine } from './automation/corner-line/ObcCornerLine.svelte';
@@ -2291,6 +2292,8 @@ export { default as ObcPitch } from './navigation-instruments/pitch/ObcPitch.sve
2291
2292
  export { default as ObcPitchIndicator } from './navigation-instruments/pitch-indicator/ObcPitchIndicator.svelte';
2292
2293
  export { default as ObcPitchRoll } from './navigation-instruments/pitch-roll/ObcPitchRoll.svelte';
2293
2294
  export { default as ObcPitchRollHeave } from './navigation-instruments/pitch-roll-heave/ObcPitchRollHeave.svelte';
2295
+ export { default as ObcPitchRollYaw } from './navigation-instruments/pitch-roll-yaw/ObcPitchRollYaw.svelte';
2296
+ export { default as ObcPositionDeviation } from './navigation-instruments/position-deviation/ObcPositionDeviation.svelte';
2294
2297
  export { default as ObcPropulsionAzimuthIndicator } from './navigation-instruments/propulsion-azimuth-indicator/ObcPropulsionAzimuthIndicator.svelte';
2295
2298
  export { default as ObcTunnelThruster } from './navigation-instruments/propulsion-tunnel-thruster/ObcTunnelThruster.svelte';
2296
2299
  export { default as ObcRateOfTurn } from './navigation-instruments/rate-of-turn/ObcRateOfTurn.svelte';
package/dist/index.js CHANGED
@@ -35,6 +35,7 @@ export { default as ObcAutomationInputModal } from './automation/automation-inpu
35
35
  export { default as ObcAutomationReadout } from './automation/automation-readout/ObcAutomationReadout.svelte';
36
36
  export { default as ObcAutomationTank } from './automation/automation-tank/ObcAutomationTank.svelte';
37
37
  export { default as ObcBipolarTransistor } from './automation/bipolar-transistor/ObcBipolarTransistor.svelte';
38
+ export { default as ObcBus } from './automation/bus/ObcBus.svelte';
38
39
  export { default as ObcCapacitor } from './automation/capacitor/ObcCapacitor.svelte';
39
40
  export { default as ObcConverter } from './automation/converter/ObcConverter.svelte';
40
41
  export { default as ObcCornerLine } from './automation/corner-line/ObcCornerLine.svelte';
@@ -2291,6 +2292,8 @@ export { default as ObcPitch } from './navigation-instruments/pitch/ObcPitch.sve
2291
2292
  export { default as ObcPitchIndicator } from './navigation-instruments/pitch-indicator/ObcPitchIndicator.svelte';
2292
2293
  export { default as ObcPitchRoll } from './navigation-instruments/pitch-roll/ObcPitchRoll.svelte';
2293
2294
  export { default as ObcPitchRollHeave } from './navigation-instruments/pitch-roll-heave/ObcPitchRollHeave.svelte';
2295
+ export { default as ObcPitchRollYaw } from './navigation-instruments/pitch-roll-yaw/ObcPitchRollYaw.svelte';
2296
+ export { default as ObcPositionDeviation } from './navigation-instruments/position-deviation/ObcPositionDeviation.svelte';
2294
2297
  export { default as ObcPropulsionAzimuthIndicator } from './navigation-instruments/propulsion-azimuth-indicator/ObcPropulsionAzimuthIndicator.svelte';
2295
2298
  export { default as ObcTunnelThruster } from './navigation-instruments/propulsion-tunnel-thruster/ObcTunnelThruster.svelte';
2296
2299
  export { default as ObcRateOfTurn } from './navigation-instruments/rate-of-turn/ObcRateOfTurn.svelte';
@@ -0,0 +1,58 @@
1
+
2
+ <script lang="ts">
3
+ export type {PitchRollYawType, PitchRollSample} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll-yaw/pitch-roll-yaw.js';
4
+ export type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
5
+ export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
6
+ import '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll-yaw/pitch-roll-yaw.js';
7
+ import { setProperties } from "../../util.js";
8
+ import type {PitchRollYawType, PitchRollSample} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll-yaw/pitch-roll-yaw.js';
9
+ import type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
10
+ import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
11
+ import type { Snippet } from 'svelte';
12
+
13
+ export interface Props {
14
+ class?: string;
15
+ style?: string;
16
+ type?: PitchRollYawType;
17
+ /** Pitch in degrees; positive moves the attitude dot up. */
18
+ pitch?: number;
19
+ /** Roll in degrees; positive moves the attitude dot right. */
20
+ roll?: number;
21
+ /** Yaw deviation in degrees on the ±180° scale (0° = top, positive =
22
+ clockwise). Shown as a dot on the scale in the `level` and
23
+ `historical-motion` variants and as the end of the live yaw bar in the
24
+ `actual-motion` variant. */
25
+ yaw?: number;
26
+ minAvgYaw?: number;
27
+ maxAvgYaw?: number;
28
+ /** Pitch/roll value at the outermost grid circle. Default `20`. */
29
+ range?: number;
30
+ /** Radius of the motion-envelope circle in the same unit as `pitch`/`roll`.
31
+ Hidden when `0`. */
32
+ motionRadius?: number;
33
+ /** Past attitude samples, oldest first; rendered as a fading trail. */
34
+ motionHistory?: PitchRollSample[];
35
+ vesselImage?: VesselImage;
36
+ priority?: Priority;
37
+ /** When `true`, shows 0/90/180/-90 labels outside the scale. */
38
+ showLabels?: boolean
39
+ }
40
+ export interface Events {
41
+
42
+ }
43
+ export interface Slots {
44
+ children?: Snippet
45
+ }
46
+ const { class: className, style, children, ...props} = $props<Props & Events & Slots>();
47
+
48
+ </script>
49
+ <obc-pitch-roll-yaw
50
+ use:setProperties={props}
51
+ class={className}
52
+ style={style}
53
+ >
54
+
55
+ {#if children}
56
+ {@render children()}
57
+ {/if}
58
+ </obc-pitch-roll-yaw>
@@ -0,0 +1,46 @@
1
+ import '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll-yaw/pitch-roll-yaw.js';
2
+ import type { PitchRollYawType, PitchRollSample } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll-yaw/pitch-roll-yaw.js';
3
+ import type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
4
+ import type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
5
+ import type { Snippet } from 'svelte';
6
+ export interface Props {
7
+ class?: string;
8
+ style?: string;
9
+ type?: PitchRollYawType;
10
+ /** Pitch in degrees; positive moves the attitude dot up. */
11
+ pitch?: number;
12
+ /** Roll in degrees; positive moves the attitude dot right. */
13
+ roll?: number;
14
+ /** Yaw deviation in degrees on the ±180° scale (0° = top, positive =
15
+ clockwise). Shown as a dot on the scale in the `level` and
16
+ `historical-motion` variants and as the end of the live yaw bar in the
17
+ `actual-motion` variant. */
18
+ yaw?: number;
19
+ minAvgYaw?: number;
20
+ maxAvgYaw?: number;
21
+ /** Pitch/roll value at the outermost grid circle. Default `20`. */
22
+ range?: number;
23
+ /** Radius of the motion-envelope circle in the same unit as `pitch`/`roll`.
24
+ Hidden when `0`. */
25
+ motionRadius?: number;
26
+ /** Past attitude samples, oldest first; rendered as a fading trail. */
27
+ motionHistory?: PitchRollSample[];
28
+ vesselImage?: VesselImage;
29
+ priority?: Priority;
30
+ /** When `true`, shows 0/90/180/-90 labels outside the scale. */
31
+ showLabels?: boolean;
32
+ }
33
+ export interface Events {
34
+ }
35
+ export interface Slots {
36
+ children?: Snippet;
37
+ }
38
+ type $$ComponentProps = Props & Events & Slots;
39
+ declare const ObcPitchRollYaw: import("svelte").Component<$$ComponentProps, {
40
+ PitchRollYawType: typeof PitchRollYawType;
41
+ PitchRollSample: typeof PitchRollSample;
42
+ VesselImage: typeof VesselImage;
43
+ Priority: typeof Priority;
44
+ }, "">;
45
+ type ObcPitchRollYaw = ReturnType<typeof ObcPitchRollYaw>;
46
+ export default ObcPitchRollYaw;
@@ -0,0 +1,47 @@
1
+
2
+ <script lang="ts">
3
+ export type {PositionDeviationOrientation, PositionDeviationPriority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/position-deviation/position-deviation.js';
4
+ import '@oicl/openbridge-webcomponents/dist/navigation-instruments/position-deviation/position-deviation.js';
5
+ import { setProperties } from "../../util.js";
6
+ import type {PositionDeviationOrientation, PositionDeviationPriority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/position-deviation/position-deviation.js';
7
+ import type { Snippet } from 'svelte';
8
+
9
+ export interface Props {
10
+ class?: string;
11
+ style?: string;
12
+ orientation?: PositionDeviationOrientation;
13
+ priority?: PositionDeviationPriority;
14
+ /** Heading in degrees (0 = north, clockwise). */
15
+ heading?: number;
16
+ /** Distance from the current position to the setpoint, in the same unit as the limits. */
17
+ deviation?: number;
18
+ /** Bearing from the current position towards the setpoint in degrees (0 = north, clockwise). */
19
+ setpointBearing?: number;
20
+ /** Deviation at which the dotted caution ring is drawn; hidden when not a positive finite number. */
21
+ cautionLimit?: number;
22
+ /** Deviation at which the solid alarm ring is drawn; hidden when not a positive finite number. */
23
+ alarmLimit?: number;
24
+ /** When `false`, hides the alarm ring and anchors the scale to the caution ring. */
25
+ hasAlarmLimit?: boolean;
26
+ /** When `true`, shows the N/E/S/W labels on the compass card. */
27
+ showLabels?: boolean
28
+ }
29
+ export interface Events {
30
+
31
+ }
32
+ export interface Slots {
33
+ children?: Snippet
34
+ }
35
+ const { class: className, style, children, ...props} = $props<Props & Events & Slots>();
36
+
37
+ </script>
38
+ <obc-position-deviation
39
+ use:setProperties={props}
40
+ class={className}
41
+ style={style}
42
+ >
43
+
44
+ {#if children}
45
+ {@render children()}
46
+ {/if}
47
+ </obc-position-deviation>
@@ -0,0 +1,35 @@
1
+ import '@oicl/openbridge-webcomponents/dist/navigation-instruments/position-deviation/position-deviation.js';
2
+ import type { PositionDeviationOrientation, PositionDeviationPriority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/position-deviation/position-deviation.js';
3
+ import type { Snippet } from 'svelte';
4
+ export interface Props {
5
+ class?: string;
6
+ style?: string;
7
+ orientation?: PositionDeviationOrientation;
8
+ priority?: PositionDeviationPriority;
9
+ /** Heading in degrees (0 = north, clockwise). */
10
+ heading?: number;
11
+ /** Distance from the current position to the setpoint, in the same unit as the limits. */
12
+ deviation?: number;
13
+ /** Bearing from the current position towards the setpoint in degrees (0 = north, clockwise). */
14
+ setpointBearing?: number;
15
+ /** Deviation at which the dotted caution ring is drawn; hidden when not a positive finite number. */
16
+ cautionLimit?: number;
17
+ /** Deviation at which the solid alarm ring is drawn; hidden when not a positive finite number. */
18
+ alarmLimit?: number;
19
+ /** When `false`, hides the alarm ring and anchors the scale to the caution ring. */
20
+ hasAlarmLimit?: boolean;
21
+ /** When `true`, shows the N/E/S/W labels on the compass card. */
22
+ showLabels?: boolean;
23
+ }
24
+ export interface Events {
25
+ }
26
+ export interface Slots {
27
+ children?: Snippet;
28
+ }
29
+ type $$ComponentProps = Props & Events & Slots;
30
+ declare const ObcPositionDeviation: import("svelte").Component<$$ComponentProps, {
31
+ PositionDeviationOrientation: typeof PositionDeviationOrientation;
32
+ PositionDeviationPriority: typeof PositionDeviationPriority;
33
+ }, "">;
34
+ type ObcPositionDeviation = ReturnType<typeof ObcPositionDeviation>;
35
+ export default ObcPositionDeviation;
@@ -31,8 +31,8 @@ alongMaxSpeedKnots?: number;
31
31
  athwartMaxSpeedKnots?: number;
32
32
  /** Render inactive chevron bands as a tinted track. */
33
33
  tintedArrows?: boolean;
34
- /** Vessel image for the framed and compass styles; the standalone style
35
- follows the design's fixed per-type vessel. */
34
+ /** Vessel image drawn at the center of the instrument. The standalone style
35
+ draws it at twice the size for the chevron types, as in the design. */
36
36
  vesselImage?: VesselImage
37
37
  }
38
38
  export interface Events {
@@ -25,8 +25,8 @@ export interface Props {
25
25
  athwartMaxSpeedKnots?: number;
26
26
  /** Render inactive chevron bands as a tinted track. */
27
27
  tintedArrows?: boolean;
28
- /** Vessel image for the framed and compass styles; the standalone style
29
- follows the design's fixed per-type vessel. */
28
+ /** Vessel image drawn at the center of the instrument. The standalone style
29
+ draws it at twice the size for the chevron types, as in the design. */
30
30
  vesselImage?: VesselImage;
31
31
  }
32
32
  export interface Events {
@@ -26,6 +26,10 @@ priority?: Priority;
26
26
  watchCircleType?: WatchCircleType;
27
27
  northArrow?: boolean;
28
28
  northArrowInside?: boolean | undefined;
29
+ /** Replace the north arrow with the compact heading-up north marker: a small
30
+ triangle on the outer ring with an upright "N" at the outside label
31
+ radius. Rotates with the card via `rotation`. */
32
+ northMarker?: boolean;
29
33
  /** Setpoint angle in degrees (0° = 12 o'clock) */
30
34
  angleSetpoint?: number | undefined;
31
35
  /** New setpoint being adjusted (focus mode) */
@@ -60,6 +64,10 @@ faceDiameter?: number | undefined;
60
64
  center readouts) sits on a clean face. */
61
65
  crosshairCenterCutout?: boolean;
62
66
  showLabels?: boolean;
67
+ /** With `tickmarksInside`, anchor the NSEW label boxes flush against the
68
+ inner ring (px-fixed) instead of the legacy gap that lets them drift
69
+ toward the centre as the instrument shrinks. */
70
+ insideLabelsFlush?: boolean;
63
71
  vessels?: WatchVessel[];
64
72
  windKnots?: number | null;
65
73
  windFromDirectionDeg?: number | null;
@@ -16,6 +16,10 @@ export interface Props {
16
16
  watchCircleType?: WatchCircleType;
17
17
  northArrow?: boolean;
18
18
  northArrowInside?: boolean | undefined;
19
+ /** Replace the north arrow with the compact heading-up north marker: a small
20
+ triangle on the outer ring with an upright "N" at the outside label
21
+ radius. Rotates with the card via `rotation`. */
22
+ northMarker?: boolean;
19
23
  /** Setpoint angle in degrees (0° = 12 o'clock) */
20
24
  angleSetpoint?: number | undefined;
21
25
  /** New setpoint being adjusted (focus mode) */
@@ -50,6 +54,10 @@ fixedHeight). When unset (default), the instrument fills its container. */
50
54
  center readouts) sits on a clean face. */
51
55
  crosshairCenterCutout?: boolean;
52
56
  showLabels?: boolean;
57
+ /** With `tickmarksInside`, anchor the NSEW label boxes flush against the
58
+ inner ring (px-fixed) instead of the legacy gap that lets them drift
59
+ toward the centre as the instrument shrinks. */
60
+ insideLabelsFlush?: boolean;
53
61
  vessels?: WatchVessel[];
54
62
  windKnots?: number | null;
55
63
  windFromDirectionDeg?: number | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oicl/openbridge-webcomponents-svelte",
3
- "version": "2.0.0-next.106",
3
+ "version": "2.0.0-next.108",
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.105"
34
+ "@oicl/openbridge-webcomponents": "^2.0.0-next.107"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "svelte": "^5.0.0"