@lovince/ui-vue 0.1.1 → 0.2.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.
- package/README.md +246 -28
- package/dist/components/{combobox.d.ts → choice/combobox.d.ts} +10 -27
- package/dist/components/{command.d.ts → choice/command.d.ts} +7 -19
- package/dist/components/{emoji-picker.d.ts → choice/emoji-picker.d.ts} +9 -9
- package/dist/components/{radio-group.d.ts → choice/radio-group.d.ts} +3 -3
- package/dist/components/choice/rating.d.ts +143 -0
- package/dist/components/choice/segmented-control.d.ts +26 -0
- package/dist/components/{select.d.ts → choice/select.d.ts} +11 -20
- package/dist/components/{toggle-group.d.ts → choice/toggle-group.d.ts} +3 -9
- package/dist/components/{toggles.d.ts → choice/toggles.d.ts} +4 -4
- package/dist/components/{accordion.d.ts → disclosure/accordion.d.ts} +5 -13
- package/dist/components/{disclosure.d.ts → disclosure/disclosure.d.ts} +3 -10
- package/dist/components/{tabs.d.ts → disclosure/tabs.d.ts} +4 -6
- package/dist/components/display/avatar-group.d.ts +61 -0
- package/dist/components/{avatar.d.ts → display/avatar.d.ts} +3 -6
- package/dist/components/display/feedback.d.ts +623 -0
- package/dist/components/display/image.d.ts +95 -0
- package/dist/components/display/meter.d.ts +165 -0
- package/dist/components/{progress.d.ts → display/progress.d.ts} +2 -6
- package/dist/components/display/stat.d.ts +102 -0
- package/dist/components/display/table.d.ts +130 -0
- package/dist/components/display/timeline.d.ts +181 -0
- package/dist/components/forms/color-picker.d.ts +187 -0
- package/dist/components/forms/date-picker.d.ts +257 -0
- package/dist/components/forms/editable.d.ts +243 -0
- package/dist/components/forms/file-upload.d.ts +203 -0
- package/dist/components/forms/forms.d.ts +290 -0
- package/dist/components/forms/phone-input.d.ts +189 -0
- package/dist/components/forms/signature-pad.d.ts +122 -0
- package/dist/components/forms/tags-input.d.ts +209 -0
- package/dist/components/forms/text-inputs.d.ts +270 -0
- package/dist/components/forms/time-field.d.ts +165 -0
- package/dist/components/{calendar.d.ts → inputs/calendar.d.ts} +8 -19
- package/dist/components/{number-field.d.ts → inputs/number-field.d.ts} +4 -15
- package/dist/components/{pin-input.d.ts → inputs/pin-input.d.ts} +2 -12
- package/dist/components/{slider.d.ts → inputs/slider.d.ts} +4 -14
- package/dist/components/{carousel.d.ts → layout/carousel.d.ts} +50 -20
- package/dist/components/layout/marquee.d.ts +104 -0
- package/dist/components/layout/primitives.d.ts +242 -0
- package/dist/components/layout/scroll-area.d.ts +160 -0
- package/dist/components/{sortable.d.ts → layout/sortable.d.ts} +3 -12
- package/dist/components/{splitter.d.ts → layout/splitter.d.ts} +3 -11
- package/dist/components/{tree.d.ts → layout/tree.d.ts} +3 -9
- package/dist/components/layout/virtual-list.d.ts +68 -0
- package/dist/components/navigation/breadcrumb.d.ts +114 -0
- package/dist/components/navigation/pagination.d.ts +221 -0
- package/dist/components/navigation/sidebar.d.ts +258 -0
- package/dist/components/{dialog.d.ts → navigation/stepper.d.ts} +142 -114
- package/dist/components/navigation/table-of-contents.d.ts +60 -0
- package/dist/components/navigation/toolbar.d.ts +179 -0
- package/dist/components/{menu.d.ts → overlays/dialog.d.ts} +222 -224
- package/dist/components/overlays/menu.d.ts +901 -0
- package/dist/components/overlays/menubar.d.ts +106 -0
- package/dist/components/{navigation-menu.d.ts → overlays/navigation-menu.d.ts} +6 -19
- package/dist/components/{popover.d.ts → overlays/popover.d.ts} +6 -9
- package/dist/components/overlays/sheet.d.ts +77 -0
- package/dist/components/{toast.d.ts → overlays/toast.d.ts} +6 -14
- package/dist/components/{tooltip.d.ts → overlays/tooltip.d.ts} +8 -8
- package/dist/components/primitives/button.d.ts +102 -0
- package/dist/components/primitives/icon.d.ts +79 -0
- package/dist/components/primitives/primitives.d.ts +300 -0
- package/dist/composables/data-table.d.ts +0 -2
- package/dist/composables/observers.d.ts +0 -9
- package/dist/composables/presence.d.ts +0 -5
- package/dist/icon.d.ts +2 -0
- package/dist/icon.js +76 -0
- package/dist/index.d.ts +61 -28
- package/dist/index.js +4935 -990
- package/dist/shared/dismiss.d.ts +0 -8
- package/dist/shared/element.d.ts +0 -2
- package/dist/shared/floating-props.d.ts +0 -1
- package/dist/shared/list.d.ts +0 -7
- package/dist/shared/machine.d.ts +0 -18
- package/dist/shared/parts.d.ts +1 -2
- package/dist/shared/portal.d.ts +1 -10
- package/dist/shared/primitive.d.ts +2 -10
- package/dist/shared/roving.d.ts +14 -0
- package/package.json +16 -3
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
export type Space = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 10 | 12 | 16 | 20 | 24;
|
|
3
|
+
type Align = 'start' | 'center' | 'end' | 'stretch' | 'baseline';
|
|
4
|
+
type Justify = 'start' | 'center' | 'end' | 'between';
|
|
5
|
+
export declare const LvStack: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
|
+
direction: {
|
|
7
|
+
type: PropType<"row" | "column">;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
gap: {
|
|
11
|
+
type: PropType<Space>;
|
|
12
|
+
default: Space;
|
|
13
|
+
};
|
|
14
|
+
align: {
|
|
15
|
+
type: PropType<Align>;
|
|
16
|
+
default: undefined;
|
|
17
|
+
};
|
|
18
|
+
justify: {
|
|
19
|
+
type: PropType<Justify>;
|
|
20
|
+
default: undefined;
|
|
21
|
+
};
|
|
22
|
+
wrap: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
as: {
|
|
27
|
+
readonly type: PropType<string | import('vue').Component>;
|
|
28
|
+
readonly default: "div";
|
|
29
|
+
};
|
|
30
|
+
asChild: {
|
|
31
|
+
readonly type: BooleanConstructor;
|
|
32
|
+
readonly default: false;
|
|
33
|
+
};
|
|
34
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
35
|
+
[key: string]: any;
|
|
36
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
37
|
+
direction: {
|
|
38
|
+
type: PropType<"row" | "column">;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
gap: {
|
|
42
|
+
type: PropType<Space>;
|
|
43
|
+
default: Space;
|
|
44
|
+
};
|
|
45
|
+
align: {
|
|
46
|
+
type: PropType<Align>;
|
|
47
|
+
default: undefined;
|
|
48
|
+
};
|
|
49
|
+
justify: {
|
|
50
|
+
type: PropType<Justify>;
|
|
51
|
+
default: undefined;
|
|
52
|
+
};
|
|
53
|
+
wrap: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
57
|
+
as: {
|
|
58
|
+
readonly type: PropType<string | import('vue').Component>;
|
|
59
|
+
readonly default: "div";
|
|
60
|
+
};
|
|
61
|
+
asChild: {
|
|
62
|
+
readonly type: BooleanConstructor;
|
|
63
|
+
readonly default: false;
|
|
64
|
+
};
|
|
65
|
+
}>> & Readonly<{}>, {
|
|
66
|
+
as: string | import('vue').Component;
|
|
67
|
+
asChild: boolean;
|
|
68
|
+
direction: "column" | "row";
|
|
69
|
+
align: Align;
|
|
70
|
+
wrap: boolean;
|
|
71
|
+
justify: Justify;
|
|
72
|
+
gap: Space;
|
|
73
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
74
|
+
export declare const LvGrid: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
75
|
+
columns: {
|
|
76
|
+
type: NumberConstructor;
|
|
77
|
+
default: undefined;
|
|
78
|
+
};
|
|
79
|
+
minItemWidth: {
|
|
80
|
+
type: StringConstructor;
|
|
81
|
+
default: undefined;
|
|
82
|
+
};
|
|
83
|
+
gap: {
|
|
84
|
+
type: PropType<Space>;
|
|
85
|
+
default: Space;
|
|
86
|
+
};
|
|
87
|
+
as: {
|
|
88
|
+
readonly type: PropType<string | import('vue').Component>;
|
|
89
|
+
readonly default: "div";
|
|
90
|
+
};
|
|
91
|
+
asChild: {
|
|
92
|
+
readonly type: BooleanConstructor;
|
|
93
|
+
readonly default: false;
|
|
94
|
+
};
|
|
95
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
96
|
+
[key: string]: any;
|
|
97
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
98
|
+
columns: {
|
|
99
|
+
type: NumberConstructor;
|
|
100
|
+
default: undefined;
|
|
101
|
+
};
|
|
102
|
+
minItemWidth: {
|
|
103
|
+
type: StringConstructor;
|
|
104
|
+
default: undefined;
|
|
105
|
+
};
|
|
106
|
+
gap: {
|
|
107
|
+
type: PropType<Space>;
|
|
108
|
+
default: Space;
|
|
109
|
+
};
|
|
110
|
+
as: {
|
|
111
|
+
readonly type: PropType<string | import('vue').Component>;
|
|
112
|
+
readonly default: "div";
|
|
113
|
+
};
|
|
114
|
+
asChild: {
|
|
115
|
+
readonly type: BooleanConstructor;
|
|
116
|
+
readonly default: false;
|
|
117
|
+
};
|
|
118
|
+
}>> & Readonly<{}>, {
|
|
119
|
+
as: string | import('vue').Component;
|
|
120
|
+
asChild: boolean;
|
|
121
|
+
columns: number;
|
|
122
|
+
gap: Space;
|
|
123
|
+
minItemWidth: string;
|
|
124
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
125
|
+
export declare const LvContainer: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
126
|
+
size: {
|
|
127
|
+
type: PropType<"prose" | "page" | "full">;
|
|
128
|
+
default: string;
|
|
129
|
+
};
|
|
130
|
+
gutter: {
|
|
131
|
+
type: PropType<Space>;
|
|
132
|
+
default: Space;
|
|
133
|
+
};
|
|
134
|
+
as: {
|
|
135
|
+
readonly type: PropType<string | import('vue').Component>;
|
|
136
|
+
readonly default: "div";
|
|
137
|
+
};
|
|
138
|
+
asChild: {
|
|
139
|
+
readonly type: BooleanConstructor;
|
|
140
|
+
readonly default: false;
|
|
141
|
+
};
|
|
142
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
143
|
+
[key: string]: any;
|
|
144
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
145
|
+
size: {
|
|
146
|
+
type: PropType<"prose" | "page" | "full">;
|
|
147
|
+
default: string;
|
|
148
|
+
};
|
|
149
|
+
gutter: {
|
|
150
|
+
type: PropType<Space>;
|
|
151
|
+
default: Space;
|
|
152
|
+
};
|
|
153
|
+
as: {
|
|
154
|
+
readonly type: PropType<string | import('vue').Component>;
|
|
155
|
+
readonly default: "div";
|
|
156
|
+
};
|
|
157
|
+
asChild: {
|
|
158
|
+
readonly type: BooleanConstructor;
|
|
159
|
+
readonly default: false;
|
|
160
|
+
};
|
|
161
|
+
}>> & Readonly<{}>, {
|
|
162
|
+
size: "page" | "full" | "prose";
|
|
163
|
+
as: string | import('vue').Component;
|
|
164
|
+
asChild: boolean;
|
|
165
|
+
gutter: Space;
|
|
166
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
167
|
+
export declare const LvMasonry: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
168
|
+
columns: {
|
|
169
|
+
type: NumberConstructor;
|
|
170
|
+
default: number;
|
|
171
|
+
};
|
|
172
|
+
minItemWidth: {
|
|
173
|
+
type: StringConstructor;
|
|
174
|
+
default: undefined;
|
|
175
|
+
};
|
|
176
|
+
gap: {
|
|
177
|
+
type: PropType<Space>;
|
|
178
|
+
default: Space;
|
|
179
|
+
};
|
|
180
|
+
as: {
|
|
181
|
+
readonly type: PropType<string | import('vue').Component>;
|
|
182
|
+
readonly default: "div";
|
|
183
|
+
};
|
|
184
|
+
asChild: {
|
|
185
|
+
readonly type: BooleanConstructor;
|
|
186
|
+
readonly default: false;
|
|
187
|
+
};
|
|
188
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
189
|
+
[key: string]: any;
|
|
190
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
191
|
+
columns: {
|
|
192
|
+
type: NumberConstructor;
|
|
193
|
+
default: number;
|
|
194
|
+
};
|
|
195
|
+
minItemWidth: {
|
|
196
|
+
type: StringConstructor;
|
|
197
|
+
default: undefined;
|
|
198
|
+
};
|
|
199
|
+
gap: {
|
|
200
|
+
type: PropType<Space>;
|
|
201
|
+
default: Space;
|
|
202
|
+
};
|
|
203
|
+
as: {
|
|
204
|
+
readonly type: PropType<string | import('vue').Component>;
|
|
205
|
+
readonly default: "div";
|
|
206
|
+
};
|
|
207
|
+
asChild: {
|
|
208
|
+
readonly type: BooleanConstructor;
|
|
209
|
+
readonly default: false;
|
|
210
|
+
};
|
|
211
|
+
}>> & Readonly<{}>, {
|
|
212
|
+
as: string | import('vue').Component;
|
|
213
|
+
asChild: boolean;
|
|
214
|
+
columns: number;
|
|
215
|
+
gap: Space;
|
|
216
|
+
minItemWidth: string;
|
|
217
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
218
|
+
export declare const LvMasonryItem: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
219
|
+
readonly as: {
|
|
220
|
+
readonly type: PropType<string | import('vue').Component>;
|
|
221
|
+
readonly default: "div";
|
|
222
|
+
};
|
|
223
|
+
readonly asChild: {
|
|
224
|
+
readonly type: BooleanConstructor;
|
|
225
|
+
readonly default: false;
|
|
226
|
+
};
|
|
227
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
228
|
+
[key: string]: any;
|
|
229
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
230
|
+
readonly as: {
|
|
231
|
+
readonly type: PropType<string | import('vue').Component>;
|
|
232
|
+
readonly default: "div";
|
|
233
|
+
};
|
|
234
|
+
readonly asChild: {
|
|
235
|
+
readonly type: BooleanConstructor;
|
|
236
|
+
readonly default: false;
|
|
237
|
+
};
|
|
238
|
+
}>> & Readonly<{}>, {
|
|
239
|
+
readonly as: string | import('vue').Component;
|
|
240
|
+
readonly asChild: boolean;
|
|
241
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
242
|
+
export {};
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { ScrollAreaOrientation } from '@lovince/ui-headless';
|
|
3
|
+
export declare const LvScrollAreaRoot: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
disabled: {
|
|
5
|
+
type: BooleanConstructor;
|
|
6
|
+
default: boolean;
|
|
7
|
+
};
|
|
8
|
+
minThumbSize: {
|
|
9
|
+
type: NumberConstructor;
|
|
10
|
+
default: number;
|
|
11
|
+
validator: (value: number) => boolean;
|
|
12
|
+
};
|
|
13
|
+
keyboardStep: {
|
|
14
|
+
type: NumberConstructor;
|
|
15
|
+
default: number;
|
|
16
|
+
validator: (value: number) => boolean;
|
|
17
|
+
};
|
|
18
|
+
label: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
as: {
|
|
23
|
+
readonly type: PropType<string | import('vue').Component>;
|
|
24
|
+
readonly default: "div";
|
|
25
|
+
};
|
|
26
|
+
asChild: {
|
|
27
|
+
readonly type: BooleanConstructor;
|
|
28
|
+
readonly default: false;
|
|
29
|
+
};
|
|
30
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
33
|
+
disabled: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
minThumbSize: {
|
|
38
|
+
type: NumberConstructor;
|
|
39
|
+
default: number;
|
|
40
|
+
validator: (value: number) => boolean;
|
|
41
|
+
};
|
|
42
|
+
keyboardStep: {
|
|
43
|
+
type: NumberConstructor;
|
|
44
|
+
default: number;
|
|
45
|
+
validator: (value: number) => boolean;
|
|
46
|
+
};
|
|
47
|
+
label: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
|
+
as: {
|
|
52
|
+
readonly type: PropType<string | import('vue').Component>;
|
|
53
|
+
readonly default: "div";
|
|
54
|
+
};
|
|
55
|
+
asChild: {
|
|
56
|
+
readonly type: BooleanConstructor;
|
|
57
|
+
readonly default: false;
|
|
58
|
+
};
|
|
59
|
+
}>> & Readonly<{}>, {
|
|
60
|
+
as: string | import('vue').Component;
|
|
61
|
+
asChild: boolean;
|
|
62
|
+
label: string;
|
|
63
|
+
disabled: boolean;
|
|
64
|
+
keyboardStep: number;
|
|
65
|
+
minThumbSize: number;
|
|
66
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
67
|
+
export declare const LvScrollAreaViewport: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
68
|
+
as: {
|
|
69
|
+
default: string;
|
|
70
|
+
type: PropType<string | import('vue').Component>;
|
|
71
|
+
};
|
|
72
|
+
asChild: {
|
|
73
|
+
readonly type: BooleanConstructor;
|
|
74
|
+
readonly default: false;
|
|
75
|
+
};
|
|
76
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
77
|
+
[key: string]: any;
|
|
78
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
79
|
+
as: {
|
|
80
|
+
default: string;
|
|
81
|
+
type: PropType<string | import('vue').Component>;
|
|
82
|
+
};
|
|
83
|
+
asChild: {
|
|
84
|
+
readonly type: BooleanConstructor;
|
|
85
|
+
readonly default: false;
|
|
86
|
+
};
|
|
87
|
+
}>> & Readonly<{}>, {
|
|
88
|
+
as: string | import('vue').Component;
|
|
89
|
+
asChild: boolean;
|
|
90
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
91
|
+
export declare const LvScrollAreaScrollbar: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
92
|
+
as: {
|
|
93
|
+
default: string;
|
|
94
|
+
type: PropType<string | import('vue').Component>;
|
|
95
|
+
};
|
|
96
|
+
orientation: {
|
|
97
|
+
type: PropType<ScrollAreaOrientation>;
|
|
98
|
+
default: string;
|
|
99
|
+
validator: (value: string) => value is "horizontal" | "vertical";
|
|
100
|
+
};
|
|
101
|
+
asChild: {
|
|
102
|
+
readonly type: BooleanConstructor;
|
|
103
|
+
readonly default: false;
|
|
104
|
+
};
|
|
105
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
106
|
+
[key: string]: any;
|
|
107
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
108
|
+
as: {
|
|
109
|
+
default: string;
|
|
110
|
+
type: PropType<string | import('vue').Component>;
|
|
111
|
+
};
|
|
112
|
+
orientation: {
|
|
113
|
+
type: PropType<ScrollAreaOrientation>;
|
|
114
|
+
default: string;
|
|
115
|
+
validator: (value: string) => value is "horizontal" | "vertical";
|
|
116
|
+
};
|
|
117
|
+
asChild: {
|
|
118
|
+
readonly type: BooleanConstructor;
|
|
119
|
+
readonly default: false;
|
|
120
|
+
};
|
|
121
|
+
}>> & Readonly<{}>, {
|
|
122
|
+
as: string | import('vue').Component;
|
|
123
|
+
asChild: boolean;
|
|
124
|
+
orientation: ScrollAreaOrientation;
|
|
125
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
126
|
+
export declare const LvScrollAreaThumb: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
127
|
+
as: {
|
|
128
|
+
default: string;
|
|
129
|
+
type: PropType<string | import('vue').Component>;
|
|
130
|
+
};
|
|
131
|
+
orientation: {
|
|
132
|
+
type: PropType<ScrollAreaOrientation>;
|
|
133
|
+
default: string;
|
|
134
|
+
validator: (value: string) => value is "horizontal" | "vertical";
|
|
135
|
+
};
|
|
136
|
+
asChild: {
|
|
137
|
+
readonly type: BooleanConstructor;
|
|
138
|
+
readonly default: false;
|
|
139
|
+
};
|
|
140
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
141
|
+
[key: string]: any;
|
|
142
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
143
|
+
as: {
|
|
144
|
+
default: string;
|
|
145
|
+
type: PropType<string | import('vue').Component>;
|
|
146
|
+
};
|
|
147
|
+
orientation: {
|
|
148
|
+
type: PropType<ScrollAreaOrientation>;
|
|
149
|
+
default: string;
|
|
150
|
+
validator: (value: string) => value is "horizontal" | "vertical";
|
|
151
|
+
};
|
|
152
|
+
asChild: {
|
|
153
|
+
readonly type: BooleanConstructor;
|
|
154
|
+
readonly default: false;
|
|
155
|
+
};
|
|
156
|
+
}>> & Readonly<{}>, {
|
|
157
|
+
as: string | import('vue').Component;
|
|
158
|
+
asChild: boolean;
|
|
159
|
+
orientation: ScrollAreaOrientation;
|
|
160
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { Orientation } from '@lovince/ui-headless';
|
|
3
|
-
|
|
4
|
-
* A list people put in order: dragged by a handle, or from the keyboard —
|
|
5
|
-
* Space picks an item up, the arrows move it, Space drops it and Escape puts
|
|
6
|
-
* it back. Every step is announced, so the order is never changed unseen.
|
|
7
|
-
*/
|
|
8
|
-
export declare const SortableRoot: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
export declare const LvSortableRoot: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
9
4
|
as: {
|
|
10
5
|
default: string;
|
|
11
6
|
type: PropType<string | import('vue').Component>;
|
|
12
7
|
};
|
|
13
|
-
/** The values in their order. */
|
|
14
8
|
modelValue: {
|
|
15
9
|
type: PropType<string[]>;
|
|
16
10
|
default: undefined;
|
|
@@ -40,7 +34,6 @@ export declare const SortableRoot: import('vue').DefineComponent<import('vue').E
|
|
|
40
34
|
default: string;
|
|
41
35
|
type: PropType<string | import('vue').Component>;
|
|
42
36
|
};
|
|
43
|
-
/** The values in their order. */
|
|
44
37
|
modelValue: {
|
|
45
38
|
type: PropType<string[]>;
|
|
46
39
|
default: undefined;
|
|
@@ -71,7 +64,7 @@ export declare const SortableRoot: import('vue').DefineComponent<import('vue').E
|
|
|
71
64
|
modelValue: string[];
|
|
72
65
|
defaultValue: string[];
|
|
73
66
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
74
|
-
export declare const
|
|
67
|
+
export declare const LvSortableItem: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
75
68
|
as: {
|
|
76
69
|
default: string;
|
|
77
70
|
type: PropType<string | import('vue').Component>;
|
|
@@ -80,7 +73,6 @@ export declare const SortableItem: import('vue').DefineComponent<import('vue').E
|
|
|
80
73
|
type: StringConstructor;
|
|
81
74
|
required: true;
|
|
82
75
|
};
|
|
83
|
-
/** How the item is named in announcements; defaults to its text. */
|
|
84
76
|
textValue: {
|
|
85
77
|
type: StringConstructor;
|
|
86
78
|
default: undefined;
|
|
@@ -100,7 +92,6 @@ export declare const SortableItem: import('vue').DefineComponent<import('vue').E
|
|
|
100
92
|
type: StringConstructor;
|
|
101
93
|
required: true;
|
|
102
94
|
};
|
|
103
|
-
/** How the item is named in announcements; defaults to its text. */
|
|
104
95
|
textValue: {
|
|
105
96
|
type: StringConstructor;
|
|
106
97
|
default: undefined;
|
|
@@ -114,7 +105,7 @@ export declare const SortableItem: import('vue').DefineComponent<import('vue').E
|
|
|
114
105
|
asChild: boolean;
|
|
115
106
|
textValue: string;
|
|
116
107
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
117
|
-
export declare const
|
|
108
|
+
export declare const LvSortableHandle: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
118
109
|
readonly as: {
|
|
119
110
|
readonly default: "button";
|
|
120
111
|
readonly type: PropType<string | import('vue').Component>;
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { Direction, Orientation } from '@lovince/ui-headless';
|
|
3
|
-
|
|
4
|
-
* Panels with draggable dividers between them — the WAI-ARIA window splitter.
|
|
5
|
-
* Sizes are percentages of the group, one per panel, and always add up to 100.
|
|
6
|
-
*/
|
|
7
|
-
export declare const SplitterGroup: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
export declare const LvSplitterGroup: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
8
4
|
modelValue: {
|
|
9
5
|
type: PropType<number[]>;
|
|
10
6
|
default: undefined;
|
|
@@ -21,7 +17,6 @@ export declare const SplitterGroup: import('vue').DefineComponent<import('vue').
|
|
|
21
17
|
type: BooleanConstructor;
|
|
22
18
|
default: boolean;
|
|
23
19
|
};
|
|
24
|
-
/** Percent moved per arrow key press. */
|
|
25
20
|
keyboardStep: {
|
|
26
21
|
type: NumberConstructor;
|
|
27
22
|
default: number;
|
|
@@ -55,7 +50,6 @@ export declare const SplitterGroup: import('vue').DefineComponent<import('vue').
|
|
|
55
50
|
type: BooleanConstructor;
|
|
56
51
|
default: boolean;
|
|
57
52
|
};
|
|
58
|
-
/** Percent moved per arrow key press. */
|
|
59
53
|
keyboardStep: {
|
|
60
54
|
type: NumberConstructor;
|
|
61
55
|
default: number;
|
|
@@ -79,8 +73,7 @@ export declare const SplitterGroup: import('vue').DefineComponent<import('vue').
|
|
|
79
73
|
keyboardStep: number;
|
|
80
74
|
modelValue: number[];
|
|
81
75
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
82
|
-
export declare const
|
|
83
|
-
/** Starting size in percent; panels without one share what is left. */
|
|
76
|
+
export declare const LvSplitterPanel: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
84
77
|
defaultSize: {
|
|
85
78
|
type: NumberConstructor;
|
|
86
79
|
default: undefined;
|
|
@@ -104,7 +97,6 @@ export declare const SplitterPanel: import('vue').DefineComponent<import('vue').
|
|
|
104
97
|
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
105
98
|
[key: string]: any;
|
|
106
99
|
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
107
|
-
/** Starting size in percent; panels without one share what is left. */
|
|
108
100
|
defaultSize: {
|
|
109
101
|
type: NumberConstructor;
|
|
110
102
|
default: undefined;
|
|
@@ -132,7 +124,7 @@ export declare const SplitterPanel: import('vue').DefineComponent<import('vue').
|
|
|
132
124
|
minSize: number;
|
|
133
125
|
maxSize: number;
|
|
134
126
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
135
|
-
export declare const
|
|
127
|
+
export declare const LvSplitterHandle: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
136
128
|
as: {
|
|
137
129
|
default: string;
|
|
138
130
|
type: PropType<string | import('vue').Component>;
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
|
|
3
|
-
* A hierarchy to browse and pick from — the WAI-ARIA tree view. Arrow keys
|
|
4
|
-
* move through the visible items; Right opens a branch or enters it, Left
|
|
5
|
-
* closes it or climbs to its parent.
|
|
6
|
-
*/
|
|
7
|
-
export declare const TreeRoot: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
export declare const LvTreeRoot: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
8
3
|
as: {
|
|
9
4
|
default: string;
|
|
10
5
|
type: PropType<string | import('vue').Component>;
|
|
@@ -79,7 +74,7 @@ export declare const TreeRoot: import('vue').DefineComponent<import('vue').Extra
|
|
|
79
74
|
defaultValue: string | string[];
|
|
80
75
|
defaultExpanded: string[];
|
|
81
76
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
82
|
-
export declare const
|
|
77
|
+
export declare const LvTreeItem: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
83
78
|
as: {
|
|
84
79
|
default: string;
|
|
85
80
|
type: PropType<string | import('vue').Component>;
|
|
@@ -120,8 +115,7 @@ export declare const TreeItem: import('vue').DefineComponent<import('vue').Extra
|
|
|
120
115
|
asChild: boolean;
|
|
121
116
|
disabled: boolean;
|
|
122
117
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
123
|
-
|
|
124
|
-
export declare const TreeGroup: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
118
|
+
export declare const LvTreeGroup: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
125
119
|
as: {
|
|
126
120
|
default: string;
|
|
127
121
|
type: PropType<string | import('vue').Component>;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
export declare const LvVirtualList: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
items: {
|
|
4
|
+
type: PropType<readonly unknown[]>;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
itemSize: {
|
|
8
|
+
type: NumberConstructor;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
overscan: {
|
|
12
|
+
type: NumberConstructor;
|
|
13
|
+
default: number;
|
|
14
|
+
};
|
|
15
|
+
label: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: undefined;
|
|
18
|
+
};
|
|
19
|
+
getKey: {
|
|
20
|
+
type: PropType<(item: unknown, index: number) => string | number>;
|
|
21
|
+
default: (_: unknown, index: number) => number;
|
|
22
|
+
};
|
|
23
|
+
as: {
|
|
24
|
+
readonly type: PropType<string | import('vue').Component>;
|
|
25
|
+
readonly default: "div";
|
|
26
|
+
};
|
|
27
|
+
asChild: {
|
|
28
|
+
readonly type: BooleanConstructor;
|
|
29
|
+
readonly default: false;
|
|
30
|
+
};
|
|
31
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
32
|
+
[key: string]: any;
|
|
33
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
34
|
+
items: {
|
|
35
|
+
type: PropType<readonly unknown[]>;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
itemSize: {
|
|
39
|
+
type: NumberConstructor;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
overscan: {
|
|
43
|
+
type: NumberConstructor;
|
|
44
|
+
default: number;
|
|
45
|
+
};
|
|
46
|
+
label: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: undefined;
|
|
49
|
+
};
|
|
50
|
+
getKey: {
|
|
51
|
+
type: PropType<(item: unknown, index: number) => string | number>;
|
|
52
|
+
default: (_: unknown, index: number) => number;
|
|
53
|
+
};
|
|
54
|
+
as: {
|
|
55
|
+
readonly type: PropType<string | import('vue').Component>;
|
|
56
|
+
readonly default: "div";
|
|
57
|
+
};
|
|
58
|
+
asChild: {
|
|
59
|
+
readonly type: BooleanConstructor;
|
|
60
|
+
readonly default: false;
|
|
61
|
+
};
|
|
62
|
+
}>> & Readonly<{}>, {
|
|
63
|
+
as: string | import('vue').Component;
|
|
64
|
+
asChild: boolean;
|
|
65
|
+
label: string;
|
|
66
|
+
overscan: number;
|
|
67
|
+
getKey: (item: unknown, index: number) => string | number;
|
|
68
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|