@oicl/openbridge-webcomponents-svelte 2.0.0-next.35 → 2.0.0-next.36
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.
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
export type {ReadoutSourceType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout-source.js';
|
|
4
4
|
export type {ReadoutVariant, ReadoutAlertState, ReadoutInputInteraction, ReadoutDirection, ReadoutStackVerticalAlignment} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
|
|
5
5
|
export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
6
|
+
export type {ReadoutInputSize, ReadoutInputFormat} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-input/readout-input.js';
|
|
6
7
|
export type {ReadoutAdviceFormat, ReadoutAdviceState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-advice/readout-advice.js';
|
|
7
|
-
export type {ReadoutInputFormat} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-input/readout-input.js';
|
|
8
8
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
|
|
9
9
|
import { setProperties } from "../../util.js";
|
|
10
10
|
import type {ReadoutSourceType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout-source.js';
|
|
11
11
|
import type {ReadoutVariant, ReadoutAlertState, ReadoutInputInteraction, ReadoutDirection, ReadoutStackVerticalAlignment} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
|
|
12
12
|
import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
13
|
+
import type {ReadoutInputSize, ReadoutInputFormat} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-input/readout-input.js';
|
|
13
14
|
import type {ReadoutAdviceFormat, ReadoutAdviceState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-advice/readout-advice.js';
|
|
14
|
-
import type {ReadoutInputFormat} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-input/readout-input.js';
|
|
15
15
|
import type { Snippet } from 'svelte';
|
|
16
16
|
|
|
17
17
|
export interface Props {
|
|
@@ -22,6 +22,18 @@ import type {ReadoutInputFormat} from '@oicl/openbridge-webcomponents/dist/navig
|
|
|
22
22
|
alertState?: ReadoutAlertState;
|
|
23
23
|
inputInteraction?: ReadoutInputInteraction;
|
|
24
24
|
direction?: ReadoutDirection;
|
|
25
|
+
/** Override the size of the input segment (when `hasInput` is true).
|
|
26
|
+
|
|
27
|
+
- In `alwaysVisible` and `popUp` interaction modes: any size value applies.
|
|
28
|
+
- In `flipFlop` mode: the override is honored only when strictly smaller
|
|
29
|
+
than the variant's base size (medium for `regular`, large for
|
|
30
|
+
`enhanced`/`stack`). Larger overrides are ignored, falling back to the
|
|
31
|
+
default secondary size to preserve the flip-flop visual effect and
|
|
32
|
+
prevent input/value overlap.
|
|
33
|
+
|
|
34
|
+
When unset, the input size is derived from `variant` (and adjusted for
|
|
35
|
+
multi-line formats). */
|
|
36
|
+
inputSize?: ReadoutInputSize | undefined;
|
|
25
37
|
alignment?: ReadoutStackVerticalAlignment;
|
|
26
38
|
hug?: boolean;
|
|
27
39
|
hasAdvice?: boolean;
|
|
@@ -2,8 +2,8 @@ import '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/reado
|
|
|
2
2
|
import type { ReadoutSourceType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout-source.js';
|
|
3
3
|
import type { ReadoutVariant, ReadoutAlertState, ReadoutInputInteraction, ReadoutDirection, ReadoutStackVerticalAlignment } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
|
|
4
4
|
import type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
5
|
+
import type { ReadoutInputSize, ReadoutInputFormat } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-input/readout-input.js';
|
|
5
6
|
import type { ReadoutAdviceFormat, ReadoutAdviceState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-advice/readout-advice.js';
|
|
6
|
-
import type { ReadoutInputFormat } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-input/readout-input.js';
|
|
7
7
|
import type { Snippet } from 'svelte';
|
|
8
8
|
export interface Props {
|
|
9
9
|
class?: string;
|
|
@@ -13,6 +13,18 @@ export interface Props {
|
|
|
13
13
|
alertState?: ReadoutAlertState;
|
|
14
14
|
inputInteraction?: ReadoutInputInteraction;
|
|
15
15
|
direction?: ReadoutDirection;
|
|
16
|
+
/** Override the size of the input segment (when `hasInput` is true).
|
|
17
|
+
|
|
18
|
+
- In `alwaysVisible` and `popUp` interaction modes: any size value applies.
|
|
19
|
+
- In `flipFlop` mode: the override is honored only when strictly smaller
|
|
20
|
+
than the variant's base size (medium for `regular`, large for
|
|
21
|
+
`enhanced`/`stack`). Larger overrides are ignored, falling back to the
|
|
22
|
+
default secondary size to preserve the flip-flop visual effect and
|
|
23
|
+
prevent input/value overlap.
|
|
24
|
+
|
|
25
|
+
When unset, the input size is derived from `variant` (and adjusted for
|
|
26
|
+
multi-line formats). */
|
|
27
|
+
inputSize?: ReadoutInputSize | undefined;
|
|
16
28
|
alignment?: ReadoutStackVerticalAlignment;
|
|
17
29
|
hug?: boolean;
|
|
18
30
|
hasAdvice?: boolean;
|
|
@@ -91,9 +103,10 @@ declare const ObcReadout: import("svelte").Component<$$ComponentProps, {
|
|
|
91
103
|
ReadoutDirection: typeof ReadoutDirection;
|
|
92
104
|
ReadoutStackVerticalAlignment: typeof ReadoutStackVerticalAlignment;
|
|
93
105
|
Priority: typeof Priority;
|
|
106
|
+
ReadoutInputSize: typeof ReadoutInputSize;
|
|
107
|
+
ReadoutInputFormat: typeof ReadoutInputFormat;
|
|
94
108
|
ReadoutAdviceFormat: typeof ReadoutAdviceFormat;
|
|
95
109
|
ReadoutAdviceState: typeof ReadoutAdviceState;
|
|
96
|
-
ReadoutInputFormat: typeof ReadoutInputFormat;
|
|
97
110
|
}, "">;
|
|
98
111
|
type ObcReadout = ReturnType<typeof ObcReadout>;
|
|
99
112
|
export default ObcReadout;
|
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.36",
|
|
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.35"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"svelte": "^5.0.0"
|