@lovince/ui-vue 0.1.0 → 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 +4936 -991
- 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 -17
- 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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { Direction, Orientation } from '@lovince/ui-headless';
|
|
3
|
-
export declare const
|
|
3
|
+
export declare const LvRadioGroupRoot: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
4
|
modelValue: {
|
|
5
5
|
type: StringConstructor;
|
|
6
6
|
default: undefined;
|
|
@@ -100,7 +100,7 @@ export declare const RadioGroupRoot: import('vue').DefineComponent<import('vue')
|
|
|
100
100
|
modelValue: string;
|
|
101
101
|
defaultValue: string;
|
|
102
102
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
103
|
-
export declare const
|
|
103
|
+
export declare const LvRadioGroupItem: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
104
104
|
value: {
|
|
105
105
|
type: StringConstructor;
|
|
106
106
|
required: true;
|
|
@@ -141,7 +141,7 @@ export declare const RadioGroupItem: import('vue').DefineComponent<import('vue')
|
|
|
141
141
|
asChild: boolean;
|
|
142
142
|
disabled: boolean;
|
|
143
143
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
144
|
-
export declare const
|
|
144
|
+
export declare const LvRadioGroupIndicator: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
145
145
|
as: {
|
|
146
146
|
default: string;
|
|
147
147
|
type: PropType<string | import('vue').Component>;
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { Direction } from '@lovince/ui-headless';
|
|
3
|
+
export declare const LvRatingRoot: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
modelValue: {
|
|
5
|
+
type: NumberConstructor;
|
|
6
|
+
default: undefined;
|
|
7
|
+
};
|
|
8
|
+
defaultValue: {
|
|
9
|
+
type: NumberConstructor;
|
|
10
|
+
default: number;
|
|
11
|
+
};
|
|
12
|
+
max: {
|
|
13
|
+
type: NumberConstructor;
|
|
14
|
+
default: number;
|
|
15
|
+
};
|
|
16
|
+
label: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
allowClear: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
disabled: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
readonly: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
dir: {
|
|
33
|
+
type: PropType<Direction>;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
as: {
|
|
37
|
+
readonly type: PropType<string | import('vue').Component>;
|
|
38
|
+
readonly default: "div";
|
|
39
|
+
};
|
|
40
|
+
asChild: {
|
|
41
|
+
readonly type: BooleanConstructor;
|
|
42
|
+
readonly default: false;
|
|
43
|
+
};
|
|
44
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
45
|
+
[key: string]: any;
|
|
46
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
47
|
+
'update:modelValue': (value: number) => boolean;
|
|
48
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
49
|
+
modelValue: {
|
|
50
|
+
type: NumberConstructor;
|
|
51
|
+
default: undefined;
|
|
52
|
+
};
|
|
53
|
+
defaultValue: {
|
|
54
|
+
type: NumberConstructor;
|
|
55
|
+
default: number;
|
|
56
|
+
};
|
|
57
|
+
max: {
|
|
58
|
+
type: NumberConstructor;
|
|
59
|
+
default: number;
|
|
60
|
+
};
|
|
61
|
+
label: {
|
|
62
|
+
type: StringConstructor;
|
|
63
|
+
default: string;
|
|
64
|
+
};
|
|
65
|
+
allowClear: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
69
|
+
disabled: {
|
|
70
|
+
type: BooleanConstructor;
|
|
71
|
+
default: boolean;
|
|
72
|
+
};
|
|
73
|
+
readonly: {
|
|
74
|
+
type: BooleanConstructor;
|
|
75
|
+
default: boolean;
|
|
76
|
+
};
|
|
77
|
+
dir: {
|
|
78
|
+
type: PropType<Direction>;
|
|
79
|
+
default: string;
|
|
80
|
+
};
|
|
81
|
+
as: {
|
|
82
|
+
readonly type: PropType<string | import('vue').Component>;
|
|
83
|
+
readonly default: "div";
|
|
84
|
+
};
|
|
85
|
+
asChild: {
|
|
86
|
+
readonly type: BooleanConstructor;
|
|
87
|
+
readonly default: false;
|
|
88
|
+
};
|
|
89
|
+
}>> & Readonly<{
|
|
90
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
91
|
+
}>, {
|
|
92
|
+
as: string | import('vue').Component;
|
|
93
|
+
asChild: boolean;
|
|
94
|
+
label: string;
|
|
95
|
+
disabled: boolean;
|
|
96
|
+
dir: Direction;
|
|
97
|
+
max: number;
|
|
98
|
+
readonly: boolean;
|
|
99
|
+
allowClear: boolean;
|
|
100
|
+
modelValue: number;
|
|
101
|
+
defaultValue: number;
|
|
102
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
103
|
+
export declare const LvRatingItem: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
104
|
+
as: {
|
|
105
|
+
default: string;
|
|
106
|
+
type: PropType<string | import('vue').Component>;
|
|
107
|
+
};
|
|
108
|
+
value: {
|
|
109
|
+
type: NumberConstructor;
|
|
110
|
+
required: true;
|
|
111
|
+
};
|
|
112
|
+
label: {
|
|
113
|
+
type: StringConstructor;
|
|
114
|
+
default: undefined;
|
|
115
|
+
};
|
|
116
|
+
asChild: {
|
|
117
|
+
readonly type: BooleanConstructor;
|
|
118
|
+
readonly default: false;
|
|
119
|
+
};
|
|
120
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
121
|
+
[key: string]: any;
|
|
122
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
123
|
+
as: {
|
|
124
|
+
default: string;
|
|
125
|
+
type: PropType<string | import('vue').Component>;
|
|
126
|
+
};
|
|
127
|
+
value: {
|
|
128
|
+
type: NumberConstructor;
|
|
129
|
+
required: true;
|
|
130
|
+
};
|
|
131
|
+
label: {
|
|
132
|
+
type: StringConstructor;
|
|
133
|
+
default: undefined;
|
|
134
|
+
};
|
|
135
|
+
asChild: {
|
|
136
|
+
readonly type: BooleanConstructor;
|
|
137
|
+
readonly default: false;
|
|
138
|
+
};
|
|
139
|
+
}>> & Readonly<{}>, {
|
|
140
|
+
as: string | import('vue').Component;
|
|
141
|
+
asChild: boolean;
|
|
142
|
+
label: string;
|
|
143
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const LvSegmentedControlRoot: import('vue').DefineComponent<{}, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
2
|
+
[key: string]: any;
|
|
3
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
export declare const LvSegmentedControlItem: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5
|
+
value: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
9
|
+
disabled: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
14
|
+
[key: string]: any;
|
|
15
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
16
|
+
value: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
disabled: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
}>> & Readonly<{}>, {
|
|
25
|
+
disabled: boolean;
|
|
26
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { PropType, VNode } from 'vue';
|
|
2
|
-
|
|
3
|
-
* One choice from a list — or several with `multiple`, where picking toggles
|
|
4
|
-
* an option, the list stays open and `v-model` is an array.
|
|
5
|
-
*/
|
|
6
|
-
export declare const SelectRoot: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
export declare const LvSelectRoot: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
7
3
|
modelValue: {
|
|
8
4
|
type: PropType<string | string[]>;
|
|
9
5
|
default: undefined;
|
|
@@ -32,7 +28,6 @@ export declare const SelectRoot: import('vue').DefineComponent<import('vue').Ext
|
|
|
32
28
|
type: BooleanConstructor;
|
|
33
29
|
default: boolean;
|
|
34
30
|
};
|
|
35
|
-
/** Adds a hidden input so the value submits with a native form. */
|
|
36
31
|
name: {
|
|
37
32
|
type: StringConstructor;
|
|
38
33
|
default: undefined;
|
|
@@ -71,7 +66,6 @@ export declare const SelectRoot: import('vue').DefineComponent<import('vue').Ext
|
|
|
71
66
|
type: BooleanConstructor;
|
|
72
67
|
default: boolean;
|
|
73
68
|
};
|
|
74
|
-
/** Adds a hidden input so the value submits with a native form. */
|
|
75
69
|
name: {
|
|
76
70
|
type: StringConstructor;
|
|
77
71
|
default: undefined;
|
|
@@ -89,7 +83,7 @@ export declare const SelectRoot: import('vue').DefineComponent<import('vue').Ext
|
|
|
89
83
|
modelValue: string | string[];
|
|
90
84
|
defaultValue: string | string[];
|
|
91
85
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
92
|
-
export declare const
|
|
86
|
+
export declare const LvSelectTrigger: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
93
87
|
readonly as: {
|
|
94
88
|
readonly default: "button";
|
|
95
89
|
readonly type: PropType<string | import('vue').Component>;
|
|
@@ -113,8 +107,7 @@ export declare const SelectTrigger: import('vue').DefineComponent<import('vue').
|
|
|
113
107
|
readonly as: string | import('vue').Component;
|
|
114
108
|
readonly asChild: boolean;
|
|
115
109
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
116
|
-
|
|
117
|
-
export declare const SelectValue: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
110
|
+
export declare const LvSelectValue: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
118
111
|
as: {
|
|
119
112
|
default: string;
|
|
120
113
|
type: PropType<string | import('vue').Component>;
|
|
@@ -147,7 +140,7 @@ export declare const SelectValue: import('vue').DefineComponent<import('vue').Ex
|
|
|
147
140
|
asChild: boolean;
|
|
148
141
|
placeholder: string;
|
|
149
142
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
150
|
-
export declare const
|
|
143
|
+
export declare const LvSelectPortal: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
151
144
|
to: {
|
|
152
145
|
type: PropType<string | HTMLElement>;
|
|
153
146
|
default: string;
|
|
@@ -171,7 +164,7 @@ export declare const SelectPortal: import('vue').DefineComponent<import('vue').E
|
|
|
171
164
|
to: string | HTMLElement;
|
|
172
165
|
disabled: boolean;
|
|
173
166
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
174
|
-
export declare const
|
|
167
|
+
export declare const LvSelectContent: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
175
168
|
align: {
|
|
176
169
|
default: string;
|
|
177
170
|
type: PropType<import('@lovince/ui-headless').Align>;
|
|
@@ -244,7 +237,7 @@ export declare const SelectContent: import('vue').DefineComponent<import('vue').
|
|
|
244
237
|
collisionPadding: number;
|
|
245
238
|
avoidCollisions: boolean;
|
|
246
239
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
247
|
-
export declare const
|
|
240
|
+
export declare const LvSelectItem: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
248
241
|
value: {
|
|
249
242
|
type: StringConstructor;
|
|
250
243
|
required: true;
|
|
@@ -253,7 +246,6 @@ export declare const SelectItem: import('vue').DefineComponent<import('vue').Ext
|
|
|
253
246
|
type: BooleanConstructor;
|
|
254
247
|
default: boolean;
|
|
255
248
|
};
|
|
256
|
-
/** Label shown in the trigger and used for typeahead; defaults to the item's text. */
|
|
257
249
|
textValue: {
|
|
258
250
|
type: StringConstructor;
|
|
259
251
|
default: undefined;
|
|
@@ -277,7 +269,6 @@ export declare const SelectItem: import('vue').DefineComponent<import('vue').Ext
|
|
|
277
269
|
type: BooleanConstructor;
|
|
278
270
|
default: boolean;
|
|
279
271
|
};
|
|
280
|
-
/** Label shown in the trigger and used for typeahead; defaults to the item's text. */
|
|
281
272
|
textValue: {
|
|
282
273
|
type: StringConstructor;
|
|
283
274
|
default: undefined;
|
|
@@ -296,7 +287,7 @@ export declare const SelectItem: import('vue').DefineComponent<import('vue').Ext
|
|
|
296
287
|
disabled: boolean;
|
|
297
288
|
textValue: string;
|
|
298
289
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
299
|
-
export declare const
|
|
290
|
+
export declare const LvSelectItemText: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
300
291
|
as: {
|
|
301
292
|
default: string;
|
|
302
293
|
type: PropType<string | import('vue').Component>;
|
|
@@ -320,7 +311,7 @@ export declare const SelectItemText: import('vue').DefineComponent<import('vue')
|
|
|
320
311
|
as: string | import('vue').Component;
|
|
321
312
|
asChild: boolean;
|
|
322
313
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
323
|
-
export declare const
|
|
314
|
+
export declare const LvSelectItemIndicator: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
324
315
|
as: {
|
|
325
316
|
default: string;
|
|
326
317
|
type: PropType<string | import('vue').Component>;
|
|
@@ -344,7 +335,7 @@ export declare const SelectItemIndicator: import('vue').DefineComponent<import('
|
|
|
344
335
|
as: string | import('vue').Component;
|
|
345
336
|
asChild: boolean;
|
|
346
337
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
347
|
-
export declare const
|
|
338
|
+
export declare const LvSelectGroup: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
348
339
|
readonly as: {
|
|
349
340
|
readonly type: PropType<string | import('vue').Component>;
|
|
350
341
|
readonly default: "div";
|
|
@@ -368,7 +359,7 @@ export declare const SelectGroup: import('vue').DefineComponent<import('vue').Ex
|
|
|
368
359
|
readonly as: string | import('vue').Component;
|
|
369
360
|
readonly asChild: boolean;
|
|
370
361
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
371
|
-
export declare const
|
|
362
|
+
export declare const LvSelectLabel: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
372
363
|
readonly as: {
|
|
373
364
|
readonly type: PropType<string | import('vue').Component>;
|
|
374
365
|
readonly default: "div";
|
|
@@ -392,7 +383,7 @@ export declare const SelectLabel: import('vue').DefineComponent<import('vue').Ex
|
|
|
392
383
|
readonly as: string | import('vue').Component;
|
|
393
384
|
readonly asChild: boolean;
|
|
394
385
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
395
|
-
export declare const
|
|
386
|
+
export declare const LvSelectSeparator: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
396
387
|
readonly as: {
|
|
397
388
|
readonly type: PropType<string | import('vue').Component>;
|
|
398
389
|
readonly default: "div";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { Direction, Orientation, ToggleGroupType } from '@lovince/ui-headless';
|
|
3
3
|
export type { ToggleGroupType };
|
|
4
|
-
export declare const
|
|
4
|
+
export declare const LvToggleRoot: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5
5
|
pressed: {
|
|
6
6
|
type: BooleanConstructor;
|
|
7
7
|
default: undefined;
|
|
@@ -56,11 +56,7 @@ export declare const ToggleRoot: import('vue').DefineComponent<import('vue').Ext
|
|
|
56
56
|
pressed: boolean;
|
|
57
57
|
defaultPressed: boolean;
|
|
58
58
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
59
|
-
|
|
60
|
-
* A set of toggles with one tab stop. `single` presses at most one (`v-model`
|
|
61
|
-
* is a string); `multiple` any number (`v-model` is an array).
|
|
62
|
-
*/
|
|
63
|
-
export declare const ToggleGroupRoot: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
59
|
+
export declare const LvToggleGroupRoot: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
64
60
|
type: {
|
|
65
61
|
type: PropType<ToggleGroupType>;
|
|
66
62
|
default: string;
|
|
@@ -73,7 +69,6 @@ export declare const ToggleGroupRoot: import('vue').DefineComponent<import('vue'
|
|
|
73
69
|
type: PropType<string | string[]>;
|
|
74
70
|
default: undefined;
|
|
75
71
|
};
|
|
76
|
-
/** Single mode: whether the pressed item can be released, leaving none. A view switch should not allow it. */
|
|
77
72
|
allowEmpty: {
|
|
78
73
|
type: BooleanConstructor;
|
|
79
74
|
default: boolean;
|
|
@@ -119,7 +114,6 @@ export declare const ToggleGroupRoot: import('vue').DefineComponent<import('vue'
|
|
|
119
114
|
type: PropType<string | string[]>;
|
|
120
115
|
default: undefined;
|
|
121
116
|
};
|
|
122
|
-
/** Single mode: whether the pressed item can be released, leaving none. A view switch should not allow it. */
|
|
123
117
|
allowEmpty: {
|
|
124
118
|
type: BooleanConstructor;
|
|
125
119
|
default: boolean;
|
|
@@ -162,7 +156,7 @@ export declare const ToggleGroupRoot: import('vue').DefineComponent<import('vue'
|
|
|
162
156
|
modelValue: string | string[];
|
|
163
157
|
defaultValue: string | string[];
|
|
164
158
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
165
|
-
export declare const
|
|
159
|
+
export declare const LvToggleGroupItem: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
166
160
|
value: {
|
|
167
161
|
type: StringConstructor;
|
|
168
162
|
required: true;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { CheckedState } from '@lovince/ui-headless';
|
|
3
|
-
export declare const
|
|
3
|
+
export declare const LvCheckboxRoot: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
4
|
modelValue: {
|
|
5
5
|
type: PropType<CheckedState>;
|
|
6
6
|
default: undefined;
|
|
@@ -91,7 +91,7 @@ export declare const CheckboxRoot: import('vue').DefineComponent<import('vue').E
|
|
|
91
91
|
modelValue: CheckedState;
|
|
92
92
|
defaultValue: CheckedState;
|
|
93
93
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
94
|
-
export declare const
|
|
94
|
+
export declare const LvCheckboxIndicator: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
95
95
|
as: {
|
|
96
96
|
default: string;
|
|
97
97
|
type: PropType<string | import('vue').Component>;
|
|
@@ -115,7 +115,7 @@ export declare const CheckboxIndicator: import('vue').DefineComponent<import('vu
|
|
|
115
115
|
as: string | import('vue').Component;
|
|
116
116
|
asChild: boolean;
|
|
117
117
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
118
|
-
export declare const
|
|
118
|
+
export declare const LvSwitchRoot: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
119
119
|
modelValue: {
|
|
120
120
|
type: BooleanConstructor;
|
|
121
121
|
default: undefined;
|
|
@@ -206,7 +206,7 @@ export declare const SwitchRoot: import('vue').DefineComponent<import('vue').Ext
|
|
|
206
206
|
modelValue: boolean;
|
|
207
207
|
defaultValue: boolean;
|
|
208
208
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
209
|
-
export declare const
|
|
209
|
+
export declare const LvSwitchThumb: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
210
210
|
as: {
|
|
211
211
|
default: string;
|
|
212
212
|
type: PropType<string | import('vue').Component>;
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { AccordionType } from '@lovince/ui-headless';
|
|
3
3
|
export type { AccordionType };
|
|
4
|
-
|
|
5
|
-
* Stacked disclosures. `single` keeps at most one open (`v-model` is a string);
|
|
6
|
-
* `multiple` lets any number open (`v-model` is an array).
|
|
7
|
-
*/
|
|
8
|
-
export declare const AccordionRoot: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
export declare const LvAccordionRoot: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
9
5
|
type: {
|
|
10
6
|
type: PropType<AccordionType>;
|
|
11
7
|
default: string;
|
|
@@ -18,7 +14,6 @@ export declare const AccordionRoot: import('vue').DefineComponent<import('vue').
|
|
|
18
14
|
type: PropType<string | string[]>;
|
|
19
15
|
default: undefined;
|
|
20
16
|
};
|
|
21
|
-
/** Single mode only: let the open item close, leaving none open. */
|
|
22
17
|
collapsible: {
|
|
23
18
|
type: BooleanConstructor;
|
|
24
19
|
default: boolean;
|
|
@@ -52,7 +47,6 @@ export declare const AccordionRoot: import('vue').DefineComponent<import('vue').
|
|
|
52
47
|
type: PropType<string | string[]>;
|
|
53
48
|
default: undefined;
|
|
54
49
|
};
|
|
55
|
-
/** Single mode only: let the open item close, leaving none open. */
|
|
56
50
|
collapsible: {
|
|
57
51
|
type: BooleanConstructor;
|
|
58
52
|
default: boolean;
|
|
@@ -80,8 +74,7 @@ export declare const AccordionRoot: import('vue').DefineComponent<import('vue').
|
|
|
80
74
|
modelValue: string | string[];
|
|
81
75
|
defaultValue: string | string[];
|
|
82
76
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
83
|
-
|
|
84
|
-
export declare const AccordionItem: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
77
|
+
export declare const LvAccordionItem: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
85
78
|
value: {
|
|
86
79
|
type: StringConstructor;
|
|
87
80
|
required: true;
|
|
@@ -122,7 +115,7 @@ export declare const AccordionItem: import('vue').DefineComponent<import('vue').
|
|
|
122
115
|
asChild: boolean;
|
|
123
116
|
disabled: boolean;
|
|
124
117
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
125
|
-
export declare const
|
|
118
|
+
export declare const LvAccordionHeader: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
126
119
|
as: {
|
|
127
120
|
default: string;
|
|
128
121
|
type: PropType<string | import('vue').Component>;
|
|
@@ -146,8 +139,7 @@ export declare const AccordionHeader: import('vue').DefineComponent<import('vue'
|
|
|
146
139
|
as: string | import('vue').Component;
|
|
147
140
|
asChild: boolean;
|
|
148
141
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
149
|
-
|
|
150
|
-
export declare const AccordionTrigger: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
142
|
+
export declare const LvAccordionTrigger: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
151
143
|
as: {
|
|
152
144
|
default: string;
|
|
153
145
|
type: PropType<string | import('vue').Component>;
|
|
@@ -171,7 +163,7 @@ export declare const AccordionTrigger: import('vue').DefineComponent<import('vue
|
|
|
171
163
|
as: string | import('vue').Component;
|
|
172
164
|
asChild: boolean;
|
|
173
165
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
174
|
-
export declare const
|
|
166
|
+
export declare const LvAccordionContent: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
175
167
|
readonly as: {
|
|
176
168
|
readonly type: PropType<string | import('vue').Component>;
|
|
177
169
|
readonly default: "div";
|
|
@@ -5,12 +5,10 @@ export type DisclosureContext = {
|
|
|
5
5
|
readonly ids: () => MachineContext['ids'];
|
|
6
6
|
readonly setIds: (ids: Partial<MachineContext['ids']>) => void;
|
|
7
7
|
readonly refresh: () => void;
|
|
8
|
-
/** Kept for parts built on a disclosure, such as an accordion item's region label. */
|
|
9
8
|
readonly triggerId: ComputedRef<string>;
|
|
10
9
|
};
|
|
11
|
-
/** For parts built on a disclosure, such as an accordion item. */
|
|
12
10
|
export declare const injectDisclosure: () => DisclosureContext | null;
|
|
13
|
-
export declare const
|
|
11
|
+
export declare const LvDisclosureRoot: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
14
12
|
open: {
|
|
15
13
|
type: BooleanConstructor;
|
|
16
14
|
default: undefined;
|
|
@@ -65,7 +63,7 @@ export declare const DisclosureRoot: import('vue').DefineComponent<import('vue')
|
|
|
65
63
|
open: boolean;
|
|
66
64
|
defaultOpen: boolean;
|
|
67
65
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
68
|
-
export declare const
|
|
66
|
+
export declare const LvDisclosureTrigger: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
69
67
|
readonly as: {
|
|
70
68
|
readonly default: "button";
|
|
71
69
|
readonly type: import('vue').PropType<string | import('vue').Component>;
|
|
@@ -89,12 +87,7 @@ export declare const DisclosureTrigger: import('vue').DefineComponent<import('vu
|
|
|
89
87
|
readonly as: string | import('vue').Component;
|
|
90
88
|
readonly asChild: boolean;
|
|
91
89
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
92
|
-
|
|
93
|
-
* Stays in the DOM while closed (`hidden`) and visible through its closing
|
|
94
|
-
* animation. Its natural size arrives as `--lovince-collapsible-height` /
|
|
95
|
-
* `-width`, measured by the DOM layer, so CSS can animate `height`.
|
|
96
|
-
*/
|
|
97
|
-
export declare const DisclosureContent: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
90
|
+
export declare const LvDisclosureContent: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
98
91
|
readonly as: {
|
|
99
92
|
readonly type: import('vue').PropType<string | import('vue').Component>;
|
|
100
93
|
readonly default: "div";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { ActivationMode, Direction, Orientation } from '@lovince/ui-headless';
|
|
3
|
-
export declare const
|
|
3
|
+
export declare const LvTabsRoot: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
4
|
modelValue: {
|
|
5
5
|
type: StringConstructor;
|
|
6
6
|
default: undefined;
|
|
@@ -17,7 +17,6 @@ export declare const TabsRoot: import('vue').DefineComponent<import('vue').Extra
|
|
|
17
17
|
type: PropType<Direction>;
|
|
18
18
|
default: string;
|
|
19
19
|
};
|
|
20
|
-
/** Automatic selects on arrow-key focus; manual waits for Enter or Space. */
|
|
21
20
|
activationMode: {
|
|
22
21
|
type: PropType<ActivationMode>;
|
|
23
22
|
default: string;
|
|
@@ -55,7 +54,6 @@ export declare const TabsRoot: import('vue').DefineComponent<import('vue').Extra
|
|
|
55
54
|
type: PropType<Direction>;
|
|
56
55
|
default: string;
|
|
57
56
|
};
|
|
58
|
-
/** Automatic selects on arrow-key focus; manual waits for Enter or Space. */
|
|
59
57
|
activationMode: {
|
|
60
58
|
type: PropType<ActivationMode>;
|
|
61
59
|
default: string;
|
|
@@ -84,7 +82,7 @@ export declare const TabsRoot: import('vue').DefineComponent<import('vue').Extra
|
|
|
84
82
|
modelValue: string;
|
|
85
83
|
defaultValue: string;
|
|
86
84
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
87
|
-
export declare const
|
|
85
|
+
export declare const LvTabsList: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
88
86
|
readonly as: {
|
|
89
87
|
readonly type: PropType<string | import('vue').Component>;
|
|
90
88
|
readonly default: "div";
|
|
@@ -108,7 +106,7 @@ export declare const TabsList: import('vue').DefineComponent<import('vue').Extra
|
|
|
108
106
|
readonly as: string | import('vue').Component;
|
|
109
107
|
readonly asChild: boolean;
|
|
110
108
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
111
|
-
export declare const
|
|
109
|
+
export declare const LvTabsTrigger: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
112
110
|
value: {
|
|
113
111
|
type: StringConstructor;
|
|
114
112
|
required: true;
|
|
@@ -149,7 +147,7 @@ export declare const TabsTrigger: import('vue').DefineComponent<import('vue').Ex
|
|
|
149
147
|
asChild: boolean;
|
|
150
148
|
disabled: boolean;
|
|
151
149
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
152
|
-
export declare const
|
|
150
|
+
export declare const LvTabsContent: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
153
151
|
value: {
|
|
154
152
|
type: StringConstructor;
|
|
155
153
|
required: true;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { VNode } from 'vue';
|
|
2
|
+
export declare const LvAvatarGroup: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
max: {
|
|
4
|
+
type: NumberConstructor;
|
|
5
|
+
default: undefined;
|
|
6
|
+
};
|
|
7
|
+
total: {
|
|
8
|
+
type: NumberConstructor;
|
|
9
|
+
default: undefined;
|
|
10
|
+
};
|
|
11
|
+
label: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: undefined;
|
|
14
|
+
};
|
|
15
|
+
getOverflowLabel: {
|
|
16
|
+
type: FunctionConstructor;
|
|
17
|
+
default: (hidden: number) => string;
|
|
18
|
+
};
|
|
19
|
+
as: {
|
|
20
|
+
readonly type: import('vue').PropType<string | import('vue').Component>;
|
|
21
|
+
readonly default: "div";
|
|
22
|
+
};
|
|
23
|
+
asChild: {
|
|
24
|
+
readonly type: BooleanConstructor;
|
|
25
|
+
readonly default: false;
|
|
26
|
+
};
|
|
27
|
+
}>, () => VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
30
|
+
max: {
|
|
31
|
+
type: NumberConstructor;
|
|
32
|
+
default: undefined;
|
|
33
|
+
};
|
|
34
|
+
total: {
|
|
35
|
+
type: NumberConstructor;
|
|
36
|
+
default: undefined;
|
|
37
|
+
};
|
|
38
|
+
label: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: undefined;
|
|
41
|
+
};
|
|
42
|
+
getOverflowLabel: {
|
|
43
|
+
type: FunctionConstructor;
|
|
44
|
+
default: (hidden: number) => string;
|
|
45
|
+
};
|
|
46
|
+
as: {
|
|
47
|
+
readonly type: import('vue').PropType<string | import('vue').Component>;
|
|
48
|
+
readonly default: "div";
|
|
49
|
+
};
|
|
50
|
+
asChild: {
|
|
51
|
+
readonly type: BooleanConstructor;
|
|
52
|
+
readonly default: false;
|
|
53
|
+
};
|
|
54
|
+
}>> & Readonly<{}>, {
|
|
55
|
+
as: string | import('vue').Component;
|
|
56
|
+
asChild: boolean;
|
|
57
|
+
label: string;
|
|
58
|
+
max: number;
|
|
59
|
+
total: number;
|
|
60
|
+
getOverflowLabel: Function;
|
|
61
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ImageStatus } from '@lovince/ui-headless';
|
|
2
2
|
export type { ImageStatus };
|
|
3
|
-
export declare const
|
|
3
|
+
export declare const LvAvatarRoot: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
4
|
as: {
|
|
5
5
|
default: string;
|
|
6
6
|
type: import('vue').PropType<string | import('vue').Component>;
|
|
@@ -24,8 +24,7 @@ export declare const AvatarRoot: import('vue').DefineComponent<import('vue').Ext
|
|
|
24
24
|
as: string | import('vue').Component;
|
|
25
25
|
asChild: boolean;
|
|
26
26
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
27
|
-
|
|
28
|
-
export declare const AvatarImage: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
27
|
+
export declare const LvAvatarImage: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
29
28
|
src: {
|
|
30
29
|
type: StringConstructor;
|
|
31
30
|
default: undefined;
|
|
@@ -53,12 +52,11 @@ export declare const AvatarImage: import('vue').DefineComponent<import('vue').Ex
|
|
|
53
52
|
src: string;
|
|
54
53
|
alt: string;
|
|
55
54
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
56
|
-
export declare const
|
|
55
|
+
export declare const LvAvatarFallback: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
57
56
|
as: {
|
|
58
57
|
default: string;
|
|
59
58
|
type: import('vue').PropType<string | import('vue').Component>;
|
|
60
59
|
};
|
|
61
|
-
/** Wait before showing, so a fast image does not flash initials first. */
|
|
62
60
|
delayMs: {
|
|
63
61
|
type: NumberConstructor;
|
|
64
62
|
default: number;
|
|
@@ -74,7 +72,6 @@ export declare const AvatarFallback: import('vue').DefineComponent<import('vue')
|
|
|
74
72
|
default: string;
|
|
75
73
|
type: import('vue').PropType<string | import('vue').Component>;
|
|
76
74
|
};
|
|
77
|
-
/** Wait before showing, so a fast image does not flash initials first. */
|
|
78
75
|
delayMs: {
|
|
79
76
|
type: NumberConstructor;
|
|
80
77
|
default: number;
|