@vizejs/fresco 0.100.0 → 0.103.0

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,8 +1,42 @@
1
1
  import * as _$_vue_runtime_core0 from "@vue/runtime-core";
2
- import { PropType, VNode } from "@vue/runtime-core";
3
-
2
+ import { PropType, Ref, RendererElement, RendererNode, VNode } from "@vue/runtime-core";
3
+ //#region src/renderer.d.ts
4
+ /**
5
+ * Fresco node types
6
+ */
7
+ interface FrescoNode extends RendererNode {
8
+ id: number;
9
+ type: "box" | "text" | "input" | "root";
10
+ props: Record<string, unknown>;
11
+ children: FrescoNode[];
12
+ parent: FrescoNode | null;
13
+ text?: string;
14
+ }
15
+ /**
16
+ * Fresco element (extends node)
17
+ */
18
+ interface FrescoElement extends FrescoNode, RendererElement {}
19
+ /**
20
+ * Create the Fresco renderer
21
+ */
22
+ declare function createRenderer$1(): _$_vue_runtime_core0.Renderer<FrescoElement>;
23
+ //#endregion
24
+ //#region src/accessibility.d.ts
25
+ type AriaRole = "button" | "checkbox" | "combobox" | "list" | "listbox" | "listitem" | "menu" | "menuitem" | "option" | "progressbar" | "radio" | "radiogroup" | "tab" | "tablist" | "table" | "textbox" | "timer" | "toolbar";
26
+ type AriaState = Partial<Record<"busy" | "checked" | "disabled" | "expanded" | "multiline" | "multiselectable" | "readonly" | "required" | "selected", boolean>>;
27
+ //#endregion
4
28
  //#region src/components/Box.d.ts
29
+ type DimensionValue = number | string;
30
+ type BorderStyleName = "none" | "single" | "double" | "round" | "rounded" | "bold" | "heavy" | "dashed";
5
31
  interface BoxProps {
32
+ /** Display type */
33
+ display?: "flex" | "none";
34
+ /** Positioning mode */
35
+ position?: "absolute" | "relative" | "static";
36
+ top?: DimensionValue;
37
+ right?: DimensionValue;
38
+ bottom?: DimensionValue;
39
+ left?: DimensionValue;
6
40
  /** Flex direction */
7
41
  flexDirection?: "row" | "column" | "row-reverse" | "column-reverse";
8
42
  /** Flex wrap */
@@ -13,22 +47,28 @@ interface BoxProps {
13
47
  alignItems?: "flex-start" | "flex-end" | "center" | "stretch" | "baseline";
14
48
  /** Align self */
15
49
  alignSelf?: "auto" | "flex-start" | "flex-end" | "center" | "stretch" | "baseline";
50
+ /** Align content */
51
+ alignContent?: "flex-start" | "flex-end" | "center" | "stretch" | "space-between" | "space-around" | "space-evenly";
16
52
  /** Flex grow */
17
53
  flexGrow?: number;
18
54
  /** Flex shrink */
19
55
  flexShrink?: number;
56
+ /** Flex basis */
57
+ flexBasis?: DimensionValue;
20
58
  /** Width */
21
- width?: number | string;
59
+ width?: DimensionValue;
22
60
  /** Height */
23
- height?: number | string;
61
+ height?: DimensionValue;
24
62
  /** Min width */
25
- minWidth?: number | string;
63
+ minWidth?: DimensionValue;
26
64
  /** Min height */
27
- minHeight?: number | string;
65
+ minHeight?: DimensionValue;
28
66
  /** Max width */
29
- maxWidth?: number | string;
67
+ maxWidth?: DimensionValue;
30
68
  /** Max height */
31
- maxHeight?: number | string;
69
+ maxHeight?: DimensionValue;
70
+ /** Aspect ratio */
71
+ aspectRatio?: number;
32
72
  /** Padding (all sides) */
33
73
  padding?: number;
34
74
  /** Padding X (left and right) */
@@ -59,27 +99,77 @@ interface BoxProps {
59
99
  marginLeft?: number;
60
100
  /** Gap between children */
61
101
  gap?: number;
62
- /** Border style */
63
- border?: "none" | "single" | "double" | "rounded" | "heavy" | "dashed";
102
+ /** Column gap between children */
103
+ columnGap?: number;
104
+ /** Row gap between children */
105
+ rowGap?: number;
106
+ /** Overflow behavior */
107
+ overflow?: "visible" | "hidden" | "scroll";
108
+ overflowX?: "visible" | "hidden" | "scroll";
109
+ overflowY?: "visible" | "hidden" | "scroll";
110
+ /** Border style (Fresco alias) */
111
+ border?: BorderStyleName;
112
+ /** Border style (Ink alias) */
113
+ borderStyle?: BorderStyleName;
114
+ borderTop?: boolean;
115
+ borderRight?: boolean;
116
+ borderBottom?: boolean;
117
+ borderLeft?: boolean;
118
+ borderColor?: string;
119
+ borderTopColor?: string;
120
+ borderRightColor?: string;
121
+ borderBottomColor?: string;
122
+ borderLeftColor?: string;
123
+ borderDimColor?: boolean;
124
+ borderTopDimColor?: boolean;
125
+ borderRightDimColor?: boolean;
126
+ borderBottomDimColor?: boolean;
127
+ borderLeftDimColor?: boolean;
128
+ borderBackgroundColor?: string;
129
+ borderTopBackgroundColor?: string;
130
+ borderRightBackgroundColor?: string;
131
+ borderBottomBackgroundColor?: string;
132
+ borderLeftBackgroundColor?: string;
64
133
  /** Foreground color */
65
134
  fg?: string;
135
+ /** Foreground color alias */
136
+ color?: string;
66
137
  /** Background color */
67
138
  bg?: string;
139
+ /** Ink-compatible background color */
140
+ backgroundColor?: string;
141
+ /** Accessibility label, accepted for Ink API parity */
142
+ "aria-label"?: string;
143
+ /** Hide from screen readers, accepted for Ink API parity */
144
+ "aria-hidden"?: boolean;
145
+ /** Accessibility role, accepted for Ink API parity */
146
+ "aria-role"?: AriaRole;
147
+ /** Accessibility state, accepted for Ink API parity */
148
+ "aria-state"?: AriaState;
68
149
  }
69
150
  declare const Box: _$_vue_runtime_core0.DefineComponent<_$_vue_runtime_core0.ExtractPropTypes<{
151
+ display: PropType<BoxProps["display"]>;
152
+ position: PropType<BoxProps["position"]>;
153
+ top: PropType<DimensionValue>;
154
+ right: PropType<DimensionValue>;
155
+ bottom: PropType<DimensionValue>;
156
+ left: PropType<DimensionValue>;
70
157
  flexDirection: PropType<BoxProps["flexDirection"]>;
71
158
  flexWrap: PropType<BoxProps["flexWrap"]>;
72
159
  justifyContent: PropType<BoxProps["justifyContent"]>;
73
160
  alignItems: PropType<BoxProps["alignItems"]>;
74
161
  alignSelf: PropType<BoxProps["alignSelf"]>;
162
+ alignContent: PropType<BoxProps["alignContent"]>;
75
163
  flexGrow: NumberConstructor;
76
164
  flexShrink: NumberConstructor;
77
- width: PropType<number | string>;
78
- height: PropType<number | string>;
79
- minWidth: PropType<number | string>;
80
- minHeight: PropType<number | string>;
81
- maxWidth: PropType<number | string>;
82
- maxHeight: PropType<number | string>;
165
+ flexBasis: PropType<DimensionValue>;
166
+ width: PropType<DimensionValue>;
167
+ height: PropType<DimensionValue>;
168
+ minWidth: PropType<DimensionValue>;
169
+ minHeight: PropType<DimensionValue>;
170
+ maxWidth: PropType<DimensionValue>;
171
+ maxHeight: PropType<DimensionValue>;
172
+ aspectRatio: NumberConstructor;
83
173
  padding: NumberConstructor;
84
174
  paddingX: NumberConstructor;
85
175
  paddingY: NumberConstructor;
@@ -95,25 +185,65 @@ declare const Box: _$_vue_runtime_core0.DefineComponent<_$_vue_runtime_core0.Ext
95
185
  marginBottom: NumberConstructor;
96
186
  marginLeft: NumberConstructor;
97
187
  gap: NumberConstructor;
188
+ columnGap: NumberConstructor;
189
+ rowGap: NumberConstructor;
190
+ overflow: PropType<BoxProps["overflow"]>;
191
+ overflowX: PropType<BoxProps["overflowX"]>;
192
+ overflowY: PropType<BoxProps["overflowY"]>;
98
193
  border: PropType<BoxProps["border"]>;
194
+ borderStyle: PropType<BoxProps["borderStyle"]>;
195
+ borderTop: BooleanConstructor;
196
+ borderRight: BooleanConstructor;
197
+ borderBottom: BooleanConstructor;
198
+ borderLeft: BooleanConstructor;
199
+ borderColor: StringConstructor;
200
+ borderTopColor: StringConstructor;
201
+ borderRightColor: StringConstructor;
202
+ borderBottomColor: StringConstructor;
203
+ borderLeftColor: StringConstructor;
204
+ borderDimColor: BooleanConstructor;
205
+ borderTopDimColor: BooleanConstructor;
206
+ borderRightDimColor: BooleanConstructor;
207
+ borderBottomDimColor: BooleanConstructor;
208
+ borderLeftDimColor: BooleanConstructor;
209
+ borderBackgroundColor: StringConstructor;
210
+ borderTopBackgroundColor: StringConstructor;
211
+ borderRightBackgroundColor: StringConstructor;
212
+ borderBottomBackgroundColor: StringConstructor;
213
+ borderLeftBackgroundColor: StringConstructor;
99
214
  fg: StringConstructor;
215
+ color: StringConstructor;
100
216
  bg: StringConstructor;
217
+ backgroundColor: StringConstructor;
218
+ "aria-label": StringConstructor;
219
+ "aria-hidden": BooleanConstructor;
220
+ "aria-role": PropType<BoxProps["aria-role"]>;
221
+ "aria-state": PropType<BoxProps["aria-state"]>;
101
222
  }>, () => _$_vue_runtime_core0.VNode<_$_vue_runtime_core0.RendererNode, _$_vue_runtime_core0.RendererElement, {
102
223
  [key: string]: any;
103
- }>, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, {}, string, _$_vue_runtime_core0.PublicProps, Readonly<_$_vue_runtime_core0.ExtractPropTypes<{
224
+ }> | null, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, {}, string, _$_vue_runtime_core0.PublicProps, Readonly<_$_vue_runtime_core0.ExtractPropTypes<{
225
+ display: PropType<BoxProps["display"]>;
226
+ position: PropType<BoxProps["position"]>;
227
+ top: PropType<DimensionValue>;
228
+ right: PropType<DimensionValue>;
229
+ bottom: PropType<DimensionValue>;
230
+ left: PropType<DimensionValue>;
104
231
  flexDirection: PropType<BoxProps["flexDirection"]>;
105
232
  flexWrap: PropType<BoxProps["flexWrap"]>;
106
233
  justifyContent: PropType<BoxProps["justifyContent"]>;
107
234
  alignItems: PropType<BoxProps["alignItems"]>;
108
235
  alignSelf: PropType<BoxProps["alignSelf"]>;
236
+ alignContent: PropType<BoxProps["alignContent"]>;
109
237
  flexGrow: NumberConstructor;
110
238
  flexShrink: NumberConstructor;
111
- width: PropType<number | string>;
112
- height: PropType<number | string>;
113
- minWidth: PropType<number | string>;
114
- minHeight: PropType<number | string>;
115
- maxWidth: PropType<number | string>;
116
- maxHeight: PropType<number | string>;
239
+ flexBasis: PropType<DimensionValue>;
240
+ width: PropType<DimensionValue>;
241
+ height: PropType<DimensionValue>;
242
+ minWidth: PropType<DimensionValue>;
243
+ minHeight: PropType<DimensionValue>;
244
+ maxWidth: PropType<DimensionValue>;
245
+ maxHeight: PropType<DimensionValue>;
246
+ aspectRatio: NumberConstructor;
117
247
  padding: NumberConstructor;
118
248
  paddingX: NumberConstructor;
119
249
  paddingY: NumberConstructor;
@@ -129,10 +259,60 @@ declare const Box: _$_vue_runtime_core0.DefineComponent<_$_vue_runtime_core0.Ext
129
259
  marginBottom: NumberConstructor;
130
260
  marginLeft: NumberConstructor;
131
261
  gap: NumberConstructor;
262
+ columnGap: NumberConstructor;
263
+ rowGap: NumberConstructor;
264
+ overflow: PropType<BoxProps["overflow"]>;
265
+ overflowX: PropType<BoxProps["overflowX"]>;
266
+ overflowY: PropType<BoxProps["overflowY"]>;
132
267
  border: PropType<BoxProps["border"]>;
268
+ borderStyle: PropType<BoxProps["borderStyle"]>;
269
+ borderTop: BooleanConstructor;
270
+ borderRight: BooleanConstructor;
271
+ borderBottom: BooleanConstructor;
272
+ borderLeft: BooleanConstructor;
273
+ borderColor: StringConstructor;
274
+ borderTopColor: StringConstructor;
275
+ borderRightColor: StringConstructor;
276
+ borderBottomColor: StringConstructor;
277
+ borderLeftColor: StringConstructor;
278
+ borderDimColor: BooleanConstructor;
279
+ borderTopDimColor: BooleanConstructor;
280
+ borderRightDimColor: BooleanConstructor;
281
+ borderBottomDimColor: BooleanConstructor;
282
+ borderLeftDimColor: BooleanConstructor;
283
+ borderBackgroundColor: StringConstructor;
284
+ borderTopBackgroundColor: StringConstructor;
285
+ borderRightBackgroundColor: StringConstructor;
286
+ borderBottomBackgroundColor: StringConstructor;
287
+ borderLeftBackgroundColor: StringConstructor;
133
288
  fg: StringConstructor;
289
+ color: StringConstructor;
134
290
  bg: StringConstructor;
135
- }>> & Readonly<{}>, {}, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, true, {}, any>;
291
+ backgroundColor: StringConstructor;
292
+ "aria-label": StringConstructor;
293
+ "aria-hidden": BooleanConstructor;
294
+ "aria-role": PropType<BoxProps["aria-role"]>;
295
+ "aria-state": PropType<BoxProps["aria-state"]>;
296
+ }>> & Readonly<{}>, {
297
+ borderTop: boolean;
298
+ borderRight: boolean;
299
+ borderBottom: boolean;
300
+ borderLeft: boolean;
301
+ borderDimColor: boolean;
302
+ borderTopDimColor: boolean;
303
+ borderRightDimColor: boolean;
304
+ borderBottomDimColor: boolean;
305
+ borderLeftDimColor: boolean;
306
+ "aria-hidden": boolean;
307
+ }, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, true, {}, any>;
308
+ //#endregion
309
+ //#region src/components/Spacer.d.ts
310
+ /**
311
+ * Spacer Component - flexible empty space along the parent main axis.
312
+ */
313
+ declare const Spacer: _$_vue_runtime_core0.DefineComponent<{}, () => _$_vue_runtime_core0.VNode<_$_vue_runtime_core0.RendererNode, _$_vue_runtime_core0.RendererElement, {
314
+ [key: string]: any;
315
+ }>, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, {}, string, _$_vue_runtime_core0.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, true, {}, any>;
136
316
  //#endregion
137
317
  //#region src/components/Divider.d.ts
138
318
  interface DividerProps {
@@ -236,8 +416,8 @@ declare const Stack: _$_vue_runtime_core0.DefineComponent<_$_vue_runtime_core0.E
236
416
  default: boolean;
237
417
  };
238
418
  }>> & Readonly<{}>, {
239
- gap: number;
240
419
  wrap: boolean;
420
+ gap: number;
241
421
  direction: "horizontal" | "vertical";
242
422
  align: "center" | "stretch" | "start" | "end" | undefined;
243
423
  justify: "center" | "start" | "end" | "between" | "around" | "evenly" | undefined;
@@ -317,8 +497,8 @@ declare const Grid: _$_vue_runtime_core0.DefineComponent<_$_vue_runtime_core0.Ex
317
497
  rowGap: NumberConstructor;
318
498
  columnGap: NumberConstructor;
319
499
  }>> & Readonly<{}>, {
320
- columns: number;
321
500
  gap: number;
501
+ columns: number;
322
502
  }, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, true, {}, any>;
323
503
  //#endregion
324
504
  //#region src/components/Card.d.ts
@@ -385,60 +565,158 @@ declare const Card: _$_vue_runtime_core0.DefineComponent<_$_vue_runtime_core0.Ex
385
565
  }, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, true, {}, any>;
386
566
  //#endregion
387
567
  //#region src/components/Text.d.ts
388
- /**
389
- * Text Component - Text display
390
- */
568
+ type TextWrap = boolean | "wrap" | "hard" | "truncate" | "truncate-start" | "truncate-middle" | "truncate-end" | "end" | "middle";
391
569
  interface TextProps {
392
570
  /** Text content (alternative to slot) */
393
571
  content?: string;
394
- /** Enable text wrapping */
395
- wrap?: boolean;
396
- /** Foreground color */
572
+ /** Ink-compatible text wrapping/truncation mode */
573
+ wrap?: TextWrap;
574
+ /** Foreground color (Fresco alias) */
397
575
  fg?: string;
398
- /** Background color */
576
+ /** Foreground color (Ink alias) */
577
+ color?: string;
578
+ /** Background color (Fresco alias) */
399
579
  bg?: string;
580
+ /** Background color (Ink alias) */
581
+ backgroundColor?: string;
400
582
  /** Bold text */
401
583
  bold?: boolean;
402
- /** Dim text */
584
+ /** Dim text (Fresco alias) */
403
585
  dim?: boolean;
586
+ /** Dim text (Ink alias) */
587
+ dimColor?: boolean;
404
588
  /** Italic text */
405
589
  italic?: boolean;
406
590
  /** Underlined text */
407
591
  underline?: boolean;
408
592
  /** Strikethrough text */
409
593
  strikethrough?: boolean;
594
+ /** Inverse background/foreground colors */
595
+ inverse?: boolean;
596
+ /** Accessibility label, accepted for Ink API parity */
597
+ "aria-label"?: string;
598
+ /** Hide from screen readers, accepted for Ink API parity */
599
+ "aria-hidden"?: boolean;
410
600
  }
411
601
  declare const Text: _$_vue_runtime_core0.DefineComponent<_$_vue_runtime_core0.ExtractPropTypes<{
412
602
  content: StringConstructor;
413
- wrap: BooleanConstructor;
603
+ wrap: PropType<TextProps["wrap"]>;
414
604
  fg: StringConstructor;
605
+ color: StringConstructor;
415
606
  bg: StringConstructor;
607
+ backgroundColor: StringConstructor;
416
608
  bold: BooleanConstructor;
417
609
  dim: BooleanConstructor;
610
+ dimColor: BooleanConstructor;
418
611
  italic: BooleanConstructor;
419
612
  underline: BooleanConstructor;
420
613
  strikethrough: BooleanConstructor;
614
+ inverse: BooleanConstructor;
615
+ "aria-label": StringConstructor;
616
+ "aria-hidden": BooleanConstructor;
421
617
  }>, () => _$_vue_runtime_core0.VNode<_$_vue_runtime_core0.RendererNode, _$_vue_runtime_core0.RendererElement, {
422
618
  [key: string]: any;
423
- }>, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, {}, string, _$_vue_runtime_core0.PublicProps, Readonly<_$_vue_runtime_core0.ExtractPropTypes<{
619
+ }> | null, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, {}, string, _$_vue_runtime_core0.PublicProps, Readonly<_$_vue_runtime_core0.ExtractPropTypes<{
424
620
  content: StringConstructor;
425
- wrap: BooleanConstructor;
621
+ wrap: PropType<TextProps["wrap"]>;
426
622
  fg: StringConstructor;
623
+ color: StringConstructor;
427
624
  bg: StringConstructor;
625
+ backgroundColor: StringConstructor;
428
626
  bold: BooleanConstructor;
429
627
  dim: BooleanConstructor;
628
+ dimColor: BooleanConstructor;
430
629
  italic: BooleanConstructor;
431
630
  underline: BooleanConstructor;
432
631
  strikethrough: BooleanConstructor;
632
+ inverse: BooleanConstructor;
633
+ "aria-label": StringConstructor;
634
+ "aria-hidden": BooleanConstructor;
433
635
  }>> & Readonly<{}>, {
434
- wrap: boolean;
435
636
  bold: boolean;
637
+ "aria-hidden": boolean;
436
638
  dim: boolean;
639
+ dimColor: boolean;
437
640
  italic: boolean;
438
641
  underline: boolean;
439
642
  strikethrough: boolean;
643
+ inverse: boolean;
440
644
  }, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, true, {}, any>;
441
645
  //#endregion
646
+ //#region src/components/Newline.d.ts
647
+ /**
648
+ * Newline Component - inserts one or more newline characters inside Text.
649
+ */
650
+ interface NewlineProps {
651
+ /** Number of newlines to insert */
652
+ count?: number;
653
+ }
654
+ declare const Newline: _$_vue_runtime_core0.DefineComponent<_$_vue_runtime_core0.ExtractPropTypes<{
655
+ count: {
656
+ type: NumberConstructor;
657
+ default: number;
658
+ };
659
+ }>, () => _$_vue_runtime_core0.VNode<_$_vue_runtime_core0.RendererNode, _$_vue_runtime_core0.RendererElement, {
660
+ [key: string]: any;
661
+ }>, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, {}, string, _$_vue_runtime_core0.PublicProps, Readonly<_$_vue_runtime_core0.ExtractPropTypes<{
662
+ count: {
663
+ type: NumberConstructor;
664
+ default: number;
665
+ };
666
+ }>> & Readonly<{}>, {
667
+ count: number;
668
+ }, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, true, {}, any>;
669
+ //#endregion
670
+ //#region src/components/Static.d.ts
671
+ interface StaticProps<T = unknown> {
672
+ /** Items to render */
673
+ items: T[];
674
+ /** Optional container style */
675
+ style?: Record<string, unknown>;
676
+ /** Render item callback */
677
+ children?: (item: T, index: number) => unknown;
678
+ }
679
+ declare const Static: _$_vue_runtime_core0.DefineComponent<_$_vue_runtime_core0.ExtractPropTypes<{
680
+ items: {
681
+ type: PropType<unknown[]>;
682
+ default: () => never[];
683
+ };
684
+ style: PropType<Record<string, unknown>>;
685
+ }>, () => _$_vue_runtime_core0.VNode<_$_vue_runtime_core0.RendererNode, _$_vue_runtime_core0.RendererElement, {
686
+ [key: string]: any;
687
+ }>, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, {}, string, _$_vue_runtime_core0.PublicProps, Readonly<_$_vue_runtime_core0.ExtractPropTypes<{
688
+ items: {
689
+ type: PropType<unknown[]>;
690
+ default: () => never[];
691
+ };
692
+ style: PropType<Record<string, unknown>>;
693
+ }>> & Readonly<{}>, {
694
+ items: unknown[];
695
+ }, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, true, {}, any>;
696
+ //#endregion
697
+ //#region src/components/Transform.d.ts
698
+ interface TransformProps {
699
+ /** Screen-reader-specific label, accepted for Ink API parity */
700
+ accessibilityLabel?: string;
701
+ /** Transform each rendered line */
702
+ transform: (children: string, index: number) => string;
703
+ }
704
+ declare const Transform: _$_vue_runtime_core0.DefineComponent<_$_vue_runtime_core0.ExtractPropTypes<{
705
+ accessibilityLabel: StringConstructor;
706
+ transform: {
707
+ type: PropType<TransformProps["transform"]>;
708
+ required: true;
709
+ };
710
+ }>, () => _$_vue_runtime_core0.VNode<_$_vue_runtime_core0.RendererNode, _$_vue_runtime_core0.RendererElement, {
711
+ [key: string]: any;
712
+ }>, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, {}, string, _$_vue_runtime_core0.PublicProps, Readonly<_$_vue_runtime_core0.ExtractPropTypes<{
713
+ accessibilityLabel: StringConstructor;
714
+ transform: {
715
+ type: PropType<TransformProps["transform"]>;
716
+ required: true;
717
+ };
718
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, true, {}, any>;
719
+ //#endregion
442
720
  //#region src/components/Code.d.ts
443
721
  interface CodeProps {
444
722
  /** Code content */
@@ -531,8 +809,8 @@ declare const Code: _$_vue_runtime_core0.DefineComponent<_$_vue_runtime_core0.Ex
531
809
  default: string;
532
810
  };
533
811
  }>> & Readonly<{}>, {
534
- border: "none" | "single" | "double" | "rounded" | undefined;
535
812
  fg: string;
813
+ border: "none" | "single" | "double" | "rounded" | undefined;
536
814
  lineNumbers: boolean;
537
815
  startLine: number;
538
816
  highlightLines: number[];
@@ -610,6 +888,8 @@ interface TextInputProps {
610
888
  placeholder?: string;
611
889
  /** Whether input is focused */
612
890
  focus?: boolean;
891
+ /** Whether input is focused (Ink-style alias used by native nodes) */
892
+ focused?: boolean;
613
893
  /** Password mode (mask input) */
614
894
  mask?: boolean;
615
895
  /** Mask character */
@@ -626,6 +906,12 @@ interface TextInputProps {
626
906
  onSubmit?: (value: string) => void;
627
907
  /** Called when escape is pressed */
628
908
  onCancel?: () => void;
909
+ /** Called when IME composition starts */
910
+ onCompositionStart?: () => void;
911
+ /** Called when IME composition updates */
912
+ onCompositionUpdate?: (text: string, cursor: number) => void;
913
+ /** Called when IME composition ends */
914
+ onCompositionEnd?: (text: string) => void;
629
915
  }
630
916
  declare const TextInput: _$_vue_runtime_core0.DefineComponent<_$_vue_runtime_core0.ExtractPropTypes<{
631
917
  modelValue: {
@@ -640,6 +926,10 @@ declare const TextInput: _$_vue_runtime_core0.DefineComponent<_$_vue_runtime_cor
640
926
  type: BooleanConstructor;
641
927
  default: boolean;
642
928
  };
929
+ focused: {
930
+ type: BooleanConstructor;
931
+ default: undefined;
932
+ };
643
933
  mask: {
644
934
  type: BooleanConstructor;
645
935
  default: boolean;
@@ -653,7 +943,7 @@ declare const TextInput: _$_vue_runtime_core0.DefineComponent<_$_vue_runtime_cor
653
943
  bg: StringConstructor;
654
944
  }>, () => _$_vue_runtime_core0.VNode<_$_vue_runtime_core0.RendererNode, _$_vue_runtime_core0.RendererElement, {
655
945
  [key: string]: any;
656
- }>, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, ("cancel" | "submit" | "update:modelValue")[], "cancel" | "submit" | "update:modelValue", _$_vue_runtime_core0.PublicProps, Readonly<_$_vue_runtime_core0.ExtractPropTypes<{
946
+ }>, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, ("cancel" | "compositionend" | "compositionstart" | "compositionupdate" | "submit" | "update:modelValue")[], "cancel" | "compositionend" | "compositionstart" | "compositionupdate" | "submit" | "update:modelValue", _$_vue_runtime_core0.PublicProps, Readonly<_$_vue_runtime_core0.ExtractPropTypes<{
657
947
  modelValue: {
658
948
  type: StringConstructor;
659
949
  default: string;
@@ -666,6 +956,10 @@ declare const TextInput: _$_vue_runtime_core0.DefineComponent<_$_vue_runtime_cor
666
956
  type: BooleanConstructor;
667
957
  default: boolean;
668
958
  };
959
+ focused: {
960
+ type: BooleanConstructor;
961
+ default: undefined;
962
+ };
669
963
  mask: {
670
964
  type: BooleanConstructor;
671
965
  default: boolean;
@@ -679,12 +973,16 @@ declare const TextInput: _$_vue_runtime_core0.DefineComponent<_$_vue_runtime_cor
679
973
  bg: StringConstructor;
680
974
  }>> & Readonly<{
681
975
  onCancel?: ((...args: any[]) => any) | undefined;
976
+ onCompositionend?: ((...args: any[]) => any) | undefined;
977
+ onCompositionstart?: ((...args: any[]) => any) | undefined;
978
+ onCompositionupdate?: ((...args: any[]) => any) | undefined;
682
979
  onSubmit?: ((...args: any[]) => any) | undefined;
683
980
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
684
981
  }>, {
685
982
  focus: boolean;
686
983
  modelValue: string;
687
984
  placeholder: string;
985
+ focused: boolean;
688
986
  mask: boolean;
689
987
  maskChar: string;
690
988
  }, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, true, {}, any>;
@@ -808,12 +1106,12 @@ declare const TextArea: _$_vue_runtime_core0.DefineComponent<_$_vue_runtime_core
808
1106
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
809
1107
  }>, {
810
1108
  border: "none" | "single" | "double" | "rounded" | undefined;
1109
+ disabled: boolean;
1110
+ modelValue: string;
811
1111
  lineNumbers: boolean;
812
1112
  lineNumberFg: string;
813
- modelValue: string;
814
1113
  focused: boolean;
815
1114
  rows: number;
816
- disabled: boolean;
817
1115
  placeholderFg: string;
818
1116
  cursorLine: number;
819
1117
  cursorColumn: number;
@@ -911,11 +1209,11 @@ declare const Select: _$_vue_runtime_core0.DefineComponent<_$_vue_runtime_core0.
911
1209
  onSelect?: ((...args: any[]) => any) | undefined;
912
1210
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
913
1211
  }>, {
1212
+ selectedFg: string;
914
1213
  placeholder: string;
915
1214
  focused: boolean;
916
1215
  indicator: string;
917
1216
  indicatorEmpty: string;
918
- selectedFg: string;
919
1217
  }, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, true, {}, any>;
920
1218
  //#endregion
921
1219
  //#region src/components/Checkbox.d.ts
@@ -1000,10 +1298,10 @@ declare const Checkbox: _$_vue_runtime_core0.DefineComponent<_$_vue_runtime_core
1000
1298
  onChange?: ((...args: any[]) => any) | undefined;
1001
1299
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1002
1300
  }>, {
1301
+ checked: string;
1302
+ disabled: boolean;
1003
1303
  modelValue: boolean;
1004
1304
  focused: boolean;
1005
- disabled: boolean;
1006
- checked: string;
1007
1305
  unchecked: string;
1008
1306
  checkedFg: string;
1009
1307
  }, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, true, {}, any>;
@@ -1086,9 +1384,9 @@ declare const RadioGroup: _$_vue_runtime_core0.DefineComponent<_$_vue_runtime_co
1086
1384
  onChange?: ((...args: any[]) => any) | undefined;
1087
1385
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1088
1386
  }>, {
1089
- direction: "horizontal" | "vertical";
1090
1387
  selectedFg: string;
1091
1388
  selected: string;
1389
+ direction: "horizontal" | "vertical";
1092
1390
  unselected: string;
1093
1391
  }, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, true, {}, any>;
1094
1392
  //#endregion
@@ -1143,7 +1441,7 @@ declare const Confirm: _$_vue_runtime_core0.DefineComponent<_$_vue_runtime_core0
1143
1441
  };
1144
1442
  }>, () => _$_vue_runtime_core0.VNode<_$_vue_runtime_core0.RendererNode, _$_vue_runtime_core0.RendererElement, {
1145
1443
  [key: string]: any;
1146
- }>, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, ("select" | "cancel" | "confirm")[], "select" | "cancel" | "confirm", _$_vue_runtime_core0.PublicProps, Readonly<_$_vue_runtime_core0.ExtractPropTypes<{
1444
+ }>, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, ("confirm" | "cancel" | "select")[], "confirm" | "cancel" | "select", _$_vue_runtime_core0.PublicProps, Readonly<_$_vue_runtime_core0.ExtractPropTypes<{
1147
1445
  message: {
1148
1446
  type: StringConstructor;
1149
1447
  required: true;
@@ -1173,16 +1471,16 @@ declare const Confirm: _$_vue_runtime_core0.DefineComponent<_$_vue_runtime_core0
1173
1471
  default: string;
1174
1472
  };
1175
1473
  }>> & Readonly<{
1176
- onSelect?: ((...args: any[]) => any) | undefined;
1177
- onCancel?: ((...args: any[]) => any) | undefined;
1178
1474
  onConfirm?: ((...args: any[]) => any) | undefined;
1475
+ onCancel?: ((...args: any[]) => any) | undefined;
1476
+ onSelect?: ((...args: any[]) => any) | undefined;
1179
1477
  }>, {
1180
- selectedFg: string;
1181
1478
  confirmText: string;
1182
1479
  cancelText: string;
1183
1480
  defaultConfirm: boolean;
1184
1481
  confirmFg: string;
1185
1482
  cancelFg: string;
1483
+ selectedFg: string;
1186
1484
  }, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, true, {}, any>;
1187
1485
  //#endregion
1188
1486
  //#region src/components/Form.d.ts
@@ -1264,9 +1562,9 @@ declare const Form: _$_vue_runtime_core0.DefineComponent<_$_vue_runtime_core0.Ex
1264
1562
  };
1265
1563
  }>> & Readonly<{}>, {
1266
1564
  gap: number;
1267
- labelPosition: "left" | "top";
1268
1565
  fields: FormField[];
1269
1566
  labelWidth: number;
1567
+ labelPosition: "top" | "left";
1270
1568
  requiredIndicator: string;
1271
1569
  hintFg: string;
1272
1570
  }, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, true, {}, any>;
@@ -1443,8 +1741,8 @@ declare const ProgressBar: _$_vue_runtime_core0.DefineComponent<_$_vue_runtime_c
1443
1741
  };
1444
1742
  }>> & Readonly<{}>, {
1445
1743
  width: number;
1744
+ labelPosition: "right" | "left" | "inside";
1446
1745
  showLabel: boolean;
1447
- labelPosition: "left" | "right" | "inside";
1448
1746
  filledChar: string;
1449
1747
  emptyChar: string;
1450
1748
  leftBorder: string;
@@ -1733,11 +2031,11 @@ declare const Tooltip: _$_vue_runtime_core0.DefineComponent<_$_vue_runtime_core0
1733
2031
  default: string;
1734
2032
  };
1735
2033
  }>> & Readonly<{}>, {
1736
- border: "none" | "single" | "rounded" | undefined;
1737
2034
  fg: string;
1738
- bg: string;
1739
- visible: boolean;
1740
2035
  position: TooltipPosition;
2036
+ visible: boolean;
2037
+ border: "none" | "single" | "rounded" | undefined;
2038
+ bg: string;
1741
2039
  }, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, true, {}, any>;
1742
2040
  //#endregion
1743
2041
  //#region src/components/List.d.ts
@@ -1822,10 +2120,10 @@ declare const List: _$_vue_runtime_core0.DefineComponent<_$_vue_runtime_core0.Ex
1822
2120
  onSelect?: ((...args: any[]) => any) | undefined;
1823
2121
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1824
2122
  }>, {
2123
+ selectedFg: string;
1825
2124
  focused: boolean;
1826
2125
  indicator: string;
1827
2126
  indicatorEmpty: string;
1828
- selectedFg: string;
1829
2127
  }, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, true, {}, any>;
1830
2128
  //#endregion
1831
2129
  //#region src/components/Table.d.ts
@@ -2210,8 +2508,8 @@ declare const Tabs: _$_vue_runtime_core0.DefineComponent<_$_vue_runtime_core0.Ex
2210
2508
  onChange?: ((...args: any[]) => any) | undefined;
2211
2509
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
2212
2510
  }>, {
2213
- underline: boolean;
2214
2511
  position: "top" | "bottom";
2512
+ underline: boolean;
2215
2513
  separator: string;
2216
2514
  activeFg: string;
2217
2515
  }, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, true, {}, any>;
@@ -2484,11 +2782,11 @@ declare const Modal: _$_vue_runtime_core0.DefineComponent<_$_vue_runtime_core0.E
2484
2782
  }>> & Readonly<{
2485
2783
  onClose?: ((...args: any[]) => any) | undefined;
2486
2784
  }>, {
2785
+ visible: boolean;
2786
+ border: "single" | "double" | "rounded" | "heavy" | undefined;
2487
2787
  width: string | number;
2488
2788
  height: string | number;
2489
- border: "single" | "double" | "rounded" | "heavy" | undefined;
2490
2789
  titleFg: string;
2491
- visible: boolean;
2492
2790
  }, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, true, {}, any>;
2493
2791
  //#endregion
2494
2792
  //#region src/components/StatusBar.d.ts
@@ -2616,9 +2914,9 @@ declare const Header: _$_vue_runtime_core0.DefineComponent<_$_vue_runtime_core0.
2616
2914
  default: boolean;
2617
2915
  };
2618
2916
  }>> & Readonly<{}>, {
2917
+ borderBottom: boolean;
2619
2918
  titleFg: string;
2620
2919
  subtitleFg: string;
2621
- borderBottom: boolean;
2622
2920
  }, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, true, {}, any>;
2623
2921
  //#endregion
2624
2922
  //#region src/components/KeyHint.d.ts
@@ -2764,11 +3062,11 @@ declare const Avatar: _$_vue_runtime_core0.DefineComponent<_$_vue_runtime_core0.
2764
3062
  type: PropType<AvatarProps["status"]>;
2765
3063
  };
2766
3064
  }>> & Readonly<{}>, {
2767
- border: boolean;
2768
3065
  fg: string;
3066
+ border: boolean;
2769
3067
  bg: string;
2770
3068
  size: "sm" | "md" | "lg";
2771
3069
  }, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, true, {}, any>;
2772
3070
  //#endregion
2773
- export { FormProps as $, TableColumn as A, Box as At, TimerProps as B, Menu as C, GridProps as Ct, TreeNode as D, VStack as Dt, Tree as E, StackProps as Et, Tooltip as F, AlertProps as G, BadgeProps as H, TooltipPosition as I, ProgressBarProps as J, AlertType as K, TooltipProps as L, List as M, ListItem as N, TreeProps as O, Divider as Ot, ListProps as P, FormField as Q, Timer as R, TabsProps as S, Grid as St, MenuProps as T, Stack as Tt, BadgeVariant as U, Badge as V, Alert as W, SpinnerProps as X, Spinner as Y, Form as Z, Breadcrumb as _, CodeProps as _t, KeyHintProps as a, Checkbox as at, Tab as b, Card as bt, StatusBar as c, SelectOption as ct, Modal as d, TextAreaProps as dt, Confirm as et, ModalProps as f, TextInput as ft, StepperProps as g, Code as gt, Stepper as h, LinkProps as ht, KeyHint as i, RadioOption as it, TableProps as j, BoxProps as jt, Table as k, DividerProps as kt, StatusBarItem as l, SelectProps as lt, StepStatus as m, Link as mt, AvatarProps as n, RadioGroup as nt, Header as o, CheckboxProps as ot, Step as p, TextInputProps as pt, ProgressBar as q, KeyBinding as r, RadioGroupProps as rt, HeaderProps as s, Select as st, Avatar as t, ConfirmProps as tt, StatusBarProps as u, TextArea as ut, BreadcrumbItem as v, Text as vt, MenuItem as w, HStack as wt, Tabs as x, CardProps as xt, BreadcrumbProps as y, TextProps as yt, TimerMode as z };
2774
- //# sourceMappingURL=index-D0wpImTF.d.mts.map
3071
+ export { FormProps as $, TableColumn as A, HStack as At, TimerProps as B, Menu as C, NewlineProps as Ct, TreeNode as D, CardProps as Dt, Tree as E, Card as Et, Tooltip as F, DividerProps as Ft, AlertProps as G, BadgeProps as H, TooltipPosition as I, Spacer as It, ProgressBarProps as J, AlertType as K, TooltipProps as L, Box as Lt, List as M, StackProps as Mt, ListItem as N, VStack as Nt, TreeProps as O, Grid as Ot, ListProps as P, Divider as Pt, FormField as Q, Timer as R, BoxProps as Rt, TabsProps as S, Newline as St, MenuProps as T, TextProps as Tt, BadgeVariant as U, Badge as V, Alert as W, SpinnerProps as X, Spinner as Y, Form as Z, Breadcrumb as _, CodeProps as _t, KeyHintProps as a, Checkbox as at, Tab as b, Static as bt, StatusBar as c, SelectOption as ct, Modal as d, TextAreaProps as dt, Confirm as et, ModalProps as f, TextInput as ft, StepperProps as g, Code as gt, Stepper as h, LinkProps as ht, KeyHint as i, RadioOption as it, TableProps as j, Stack as jt, Table as k, GridProps as kt, StatusBarItem as l, SelectProps as lt, StepStatus as m, Link as mt, AvatarProps as n, RadioGroup as nt, Header as o, CheckboxProps as ot, Step as p, TextInputProps as pt, ProgressBar as q, KeyBinding as r, RadioGroupProps as rt, HeaderProps as s, Select as st, Avatar as t, ConfirmProps as tt, StatusBarProps as u, TextArea as ut, BreadcrumbItem as v, Transform as vt, MenuItem as w, Text as wt, Tabs as x, StaticProps as xt, BreadcrumbProps as y, TransformProps as yt, TimerMode as z, createRenderer$1 as zt };
3072
+ //# sourceMappingURL=index-BPjzljOc.d.mts.map