@roku-ui/vue 0.8.5 → 0.10.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/dist/components/AspectRatio.vue.d.ts +134 -9
- package/dist/components/Avatar.vue.d.ts +11 -11
- package/dist/components/Btn.vue.d.ts +11 -11
- package/dist/components/BtnGroup.vue.d.ts +39 -30
- package/dist/components/ChatMessage.vue.d.ts +11 -11
- package/dist/components/ChatSystem.vue.d.ts +11 -11
- package/dist/components/ColorInput.vue.d.ts +20 -11
- package/dist/components/ColorSwatch.vue.d.ts +11 -11
- package/dist/components/Drawer.vue.d.ts +38 -29
- package/dist/components/Dropzone.vue.d.ts +11 -11
- package/dist/components/FullscreenOverlay.vue.d.ts +36 -27
- package/dist/components/Image.vue.d.ts +11 -11
- package/dist/components/Indicator.vue.d.ts +12 -11
- package/dist/components/Modal.vue.d.ts +35 -21
- package/dist/components/Notification.vue.d.ts +11 -11
- package/dist/components/Overlay.vue.d.ts +11 -11
- package/dist/components/Paper.vue.d.ts +11 -11
- package/dist/components/PinInput.vue.d.ts +11 -11
- package/dist/components/Progress.vue.d.ts +11 -11
- package/dist/components/RokuProvider.vue.d.ts +11 -11
- package/dist/components/ScrollArea.vue.d.ts +47 -0
- package/dist/components/Select.vue.d.ts +9 -7
- package/dist/components/Slider.vue.d.ts +53 -79
- package/dist/components/Switch.vue.d.ts +48 -79
- package/dist/components/TabItem.vue.d.ts +11 -11
- package/dist/components/Tabs.vue.d.ts +33 -19
- package/dist/components/TextField.vue.d.ts +45 -66
- package/dist/components/ThemeProvider.vue.d.ts +8 -8
- package/dist/components/Tooltip.vue.d.ts +11 -11
- package/dist/components/index.d.ts +1 -0
- package/dist/composables/index.d.ts +5 -5
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2271 -1523
- package/dist/index.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/dist/test/App.vue.d.ts +2 -0
- package/dist/test/demo/WaterfallDemo.vue.d.ts +2 -0
- package/package.json +20 -19
- package/dist/components/Chip.vue.d.ts +0 -63
|
@@ -1,82 +1,39 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
type: globalThis.PropType<number>;
|
|
38
|
-
default: number;
|
|
39
|
-
};
|
|
40
|
-
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
41
|
-
modelValue: import('vue').PropType<any>;
|
|
42
|
-
width: {
|
|
43
|
-
type: globalThis.PropType<number>;
|
|
44
|
-
};
|
|
45
|
-
animate: {
|
|
46
|
-
type: globalThis.PropType<boolean>;
|
|
47
|
-
default: boolean;
|
|
48
|
-
};
|
|
49
|
-
size: {
|
|
50
|
-
type: globalThis.PropType<"sm" | "md" | "lg">;
|
|
51
|
-
default: string;
|
|
52
|
-
};
|
|
53
|
-
color: {
|
|
54
|
-
type: globalThis.PropType<"primary" | "secondary" | "tertiary" | "error">;
|
|
55
|
-
default: string;
|
|
56
|
-
};
|
|
57
|
-
max: {
|
|
58
|
-
type: globalThis.PropType<number>;
|
|
59
|
-
default: number;
|
|
60
|
-
};
|
|
61
|
-
min: {
|
|
62
|
-
type: globalThis.PropType<number>;
|
|
63
|
-
default: number;
|
|
64
|
-
};
|
|
65
|
-
options: {
|
|
66
|
-
type: globalThis.PropType<any[]>;
|
|
67
|
-
};
|
|
68
|
-
step: {
|
|
69
|
-
type: globalThis.PropType<number>;
|
|
70
|
-
default: number;
|
|
71
|
-
};
|
|
72
|
-
tickNum: {
|
|
73
|
-
type: globalThis.PropType<number>;
|
|
74
|
-
};
|
|
75
|
-
minWidth: {
|
|
76
|
-
type: globalThis.PropType<number>;
|
|
77
|
-
default: number;
|
|
78
|
-
};
|
|
79
|
-
}>>, {
|
|
1
|
+
declare let __VLS_typeProps: {
|
|
2
|
+
size?: 'sm' | 'md' | 'lg';
|
|
3
|
+
animate?: boolean;
|
|
4
|
+
width?: number;
|
|
5
|
+
options?: any[];
|
|
6
|
+
min?: number;
|
|
7
|
+
max?: number;
|
|
8
|
+
step?: number;
|
|
9
|
+
tickNum?: number;
|
|
10
|
+
color?: 'primary' | 'secondary' | 'tertiary' | 'error';
|
|
11
|
+
minWidth?: number;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_PublicProps = {
|
|
14
|
+
modelValue?: any;
|
|
15
|
+
} & typeof __VLS_typeProps;
|
|
16
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
17
|
+
size: string;
|
|
18
|
+
animate: boolean;
|
|
19
|
+
min: number;
|
|
20
|
+
max: number;
|
|
21
|
+
step: number;
|
|
22
|
+
color: string;
|
|
23
|
+
minWidth: number;
|
|
24
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
25
|
+
"update:modelValue": (modelValue: any) => void;
|
|
26
|
+
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
27
|
+
size: string;
|
|
28
|
+
animate: boolean;
|
|
29
|
+
min: number;
|
|
30
|
+
max: number;
|
|
31
|
+
step: number;
|
|
32
|
+
color: string;
|
|
33
|
+
minWidth: number;
|
|
34
|
+
}>>> & {
|
|
35
|
+
"onUpdate:modelValue"?: ((modelValue: any) => any) | undefined;
|
|
36
|
+
}, {
|
|
80
37
|
animate: boolean;
|
|
81
38
|
size: "sm" | "md" | "lg";
|
|
82
39
|
color: "primary" | "secondary" | "tertiary" | "error";
|
|
@@ -86,3 +43,20 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
86
43
|
minWidth: number;
|
|
87
44
|
}, {}>;
|
|
88
45
|
export default _default;
|
|
46
|
+
type __VLS_WithDefaults<P, D> = {
|
|
47
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
48
|
+
default: D[K];
|
|
49
|
+
}> : P[K];
|
|
50
|
+
};
|
|
51
|
+
type __VLS_Prettify<T> = {
|
|
52
|
+
[K in keyof T]: T[K];
|
|
53
|
+
} & {};
|
|
54
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
55
|
+
type __VLS_TypePropsToOption<T> = {
|
|
56
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
57
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
58
|
+
} : {
|
|
59
|
+
type: import('vue').PropType<T[K]>;
|
|
60
|
+
required: true;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
@@ -1,85 +1,54 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
type: globalThis.PropType<string[]>;
|
|
33
|
-
};
|
|
34
|
-
offIcon: {
|
|
35
|
-
type: globalThis.PropType<string>;
|
|
36
|
-
};
|
|
37
|
-
onIcon: {
|
|
38
|
-
type: globalThis.PropType<string>;
|
|
39
|
-
};
|
|
40
|
-
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
41
|
-
modelValue: import('vue').PropType<boolean>;
|
|
42
|
-
label: {
|
|
43
|
-
type: globalThis.PropType<string>;
|
|
44
|
-
};
|
|
45
|
-
animate: {
|
|
46
|
-
type: globalThis.PropType<boolean>;
|
|
47
|
-
default: boolean;
|
|
48
|
-
};
|
|
49
|
-
size: {
|
|
50
|
-
type: globalThis.PropType<"sm" | "md" | "lg">;
|
|
51
|
-
default: string;
|
|
52
|
-
};
|
|
53
|
-
color: {
|
|
54
|
-
type: globalThis.PropType<"primary" | "secondary" | "tertiary" | "error">;
|
|
55
|
-
default: string;
|
|
56
|
-
};
|
|
57
|
-
rounded: {
|
|
58
|
-
type: globalThis.PropType<string | number>;
|
|
59
|
-
default: string;
|
|
60
|
-
};
|
|
61
|
-
disabled: {
|
|
62
|
-
type: globalThis.PropType<boolean>;
|
|
63
|
-
};
|
|
64
|
-
id: {
|
|
65
|
-
type: globalThis.PropType<string>;
|
|
66
|
-
};
|
|
67
|
-
value: {
|
|
68
|
-
type: globalThis.PropType<boolean>;
|
|
69
|
-
};
|
|
70
|
-
options: {
|
|
71
|
-
type: globalThis.PropType<string[]>;
|
|
72
|
-
};
|
|
73
|
-
offIcon: {
|
|
74
|
-
type: globalThis.PropType<string>;
|
|
75
|
-
};
|
|
76
|
-
onIcon: {
|
|
77
|
-
type: globalThis.PropType<string>;
|
|
78
|
-
};
|
|
79
|
-
}>>, {
|
|
1
|
+
declare let __VLS_typeProps: {
|
|
2
|
+
size?: 'sm' | 'md' | 'lg';
|
|
3
|
+
animate?: boolean;
|
|
4
|
+
options?: string[];
|
|
5
|
+
label?: string;
|
|
6
|
+
id?: string;
|
|
7
|
+
rounded?: 'none' | 'sm' | 'md' | 'lg' | 'full' | string | number;
|
|
8
|
+
color?: 'primary' | 'secondary' | 'tertiary' | 'error';
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
offIcon?: string;
|
|
11
|
+
onIcon?: string;
|
|
12
|
+
value?: boolean;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_PublicProps = {
|
|
15
|
+
modelValue?: boolean;
|
|
16
|
+
} & typeof __VLS_typeProps;
|
|
17
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
18
|
+
size: string;
|
|
19
|
+
rounded: string;
|
|
20
|
+
animate: boolean;
|
|
21
|
+
color: string;
|
|
22
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
23
|
+
"update:modelValue": (modelValue: boolean) => void;
|
|
24
|
+
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
25
|
+
size: string;
|
|
26
|
+
rounded: string;
|
|
27
|
+
animate: boolean;
|
|
28
|
+
color: string;
|
|
29
|
+
}>>> & {
|
|
30
|
+
"onUpdate:modelValue"?: ((modelValue: boolean) => any) | undefined;
|
|
31
|
+
}, {
|
|
80
32
|
animate: boolean;
|
|
81
33
|
size: "sm" | "md" | "lg";
|
|
82
34
|
color: "primary" | "secondary" | "tertiary" | "error";
|
|
83
35
|
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
84
36
|
}, {}>;
|
|
85
37
|
export default _default;
|
|
38
|
+
type __VLS_WithDefaults<P, D> = {
|
|
39
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
40
|
+
default: D[K];
|
|
41
|
+
}> : P[K];
|
|
42
|
+
};
|
|
43
|
+
type __VLS_Prettify<T> = {
|
|
44
|
+
[K in keyof T]: T[K];
|
|
45
|
+
} & {};
|
|
46
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
47
|
+
type __VLS_TypePropsToOption<T> = {
|
|
48
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
49
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
50
|
+
} : {
|
|
51
|
+
type: import('vue').PropType<T[K]>;
|
|
52
|
+
required: true;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
2
|
default?(_: {}): any;
|
|
3
3
|
};
|
|
4
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
4
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
5
5
|
value: string | number | symbol;
|
|
6
6
|
color?: string;
|
|
7
7
|
}>, {
|
|
8
8
|
color: string;
|
|
9
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<
|
|
9
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
10
10
|
value: string | number | symbol;
|
|
11
11
|
color?: string;
|
|
12
12
|
}>, {
|
|
@@ -16,15 +16,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
|
16
16
|
}, {}>;
|
|
17
17
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
18
18
|
export default _default;
|
|
19
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
20
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
21
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
22
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
23
|
-
} : {
|
|
24
|
-
type: import('vue').PropType<T[K]>;
|
|
25
|
-
required: true;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
19
|
type __VLS_WithDefaults<P, D> = {
|
|
29
20
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
30
21
|
default: D[K];
|
|
@@ -38,3 +29,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
38
29
|
$slots: S;
|
|
39
30
|
};
|
|
40
31
|
};
|
|
32
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
33
|
+
type __VLS_TypePropsToOption<T> = {
|
|
34
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
35
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
36
|
+
} : {
|
|
37
|
+
type: import('vue').PropType<T[K]>;
|
|
38
|
+
required: true;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
@@ -1,31 +1,45 @@
|
|
|
1
|
+
declare let __VLS_typeProps: {
|
|
2
|
+
defaultValue?: string | number | symbol;
|
|
3
|
+
direction?: 'horizontal' | 'vertical';
|
|
4
|
+
};
|
|
5
|
+
type __VLS_PublicProps = {
|
|
6
|
+
modelValue?: string | number | symbol;
|
|
7
|
+
} & typeof __VLS_typeProps;
|
|
1
8
|
declare function __VLS_template(): {
|
|
2
9
|
default?(_: {}): any;
|
|
3
10
|
};
|
|
4
|
-
declare const __VLS_component: import('vue').DefineComponent<{
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
14
|
-
modelValue: import('vue').PropType<string | number | symbol>;
|
|
15
|
-
direction: {
|
|
16
|
-
type: globalThis.PropType<"horizontal" | "vertical">;
|
|
17
|
-
default: string;
|
|
18
|
-
};
|
|
19
|
-
defaultValue: {
|
|
20
|
-
type: globalThis.PropType<string | number | symbol>;
|
|
21
|
-
};
|
|
22
|
-
}>>, {
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
12
|
+
direction: string;
|
|
13
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
|
+
"update:modelValue": (modelValue: string | number | symbol) => void;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
16
|
+
direction: string;
|
|
17
|
+
}>>> & {
|
|
18
|
+
"onUpdate:modelValue"?: ((modelValue: string | number | symbol) => any) | undefined;
|
|
19
|
+
}, {
|
|
23
20
|
direction: "horizontal" | "vertical";
|
|
24
21
|
}, {}>;
|
|
25
22
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
26
23
|
export default _default;
|
|
24
|
+
type __VLS_WithDefaults<P, D> = {
|
|
25
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
26
|
+
default: D[K];
|
|
27
|
+
}> : P[K];
|
|
28
|
+
};
|
|
29
|
+
type __VLS_Prettify<T> = {
|
|
30
|
+
[K in keyof T]: T[K];
|
|
31
|
+
} & {};
|
|
27
32
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
28
33
|
new (): {
|
|
29
34
|
$slots: S;
|
|
30
35
|
};
|
|
31
36
|
};
|
|
37
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
38
|
+
type __VLS_TypePropsToOption<T> = {
|
|
39
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
40
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
41
|
+
} : {
|
|
42
|
+
type: import('vue').PropType<T[K]>;
|
|
43
|
+
required: true;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
@@ -1,81 +1,60 @@
|
|
|
1
|
+
declare let __VLS_typeProps: {
|
|
2
|
+
onChange?: (value: string) => void;
|
|
3
|
+
color?: 'primary' | 'secondary' | 'tertiary' | 'error';
|
|
4
|
+
error?: boolean;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
rounded?: 'none' | 'sm' | 'md' | 'lg' | 'full' | string | number;
|
|
7
|
+
size?: 'sm' | 'md' | 'lg';
|
|
8
|
+
password?: boolean;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
label?: string;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_PublicProps = {
|
|
13
|
+
modelValue?: string | number;
|
|
14
|
+
} & typeof __VLS_typeProps;
|
|
1
15
|
declare function __VLS_template(): {
|
|
2
16
|
label?(_: {}): any;
|
|
3
17
|
};
|
|
4
|
-
declare const __VLS_component: import('vue').DefineComponent<{
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
};
|
|
19
|
-
color: {
|
|
20
|
-
type: globalThis.PropType<"primary" | "secondary" | "tertiary" | "error">;
|
|
21
|
-
default: string;
|
|
22
|
-
};
|
|
23
|
-
rounded: {
|
|
24
|
-
type: globalThis.PropType<string | number>;
|
|
25
|
-
default: string;
|
|
26
|
-
};
|
|
27
|
-
disabled: {
|
|
28
|
-
type: globalThis.PropType<boolean>;
|
|
29
|
-
};
|
|
30
|
-
password: {
|
|
31
|
-
type: globalThis.PropType<boolean>;
|
|
32
|
-
};
|
|
33
|
-
placeholder: {
|
|
34
|
-
type: globalThis.PropType<string>;
|
|
35
|
-
};
|
|
18
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
19
|
+
color: string;
|
|
20
|
+
rounded: string;
|
|
21
|
+
size: string;
|
|
22
|
+
}>, {
|
|
23
|
+
el: globalThis.Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
24
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
25
|
+
"update:modelValue": (modelValue: string | number) => void;
|
|
26
|
+
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
27
|
+
color: string;
|
|
28
|
+
rounded: string;
|
|
29
|
+
size: string;
|
|
30
|
+
}>>> & {
|
|
31
|
+
"onUpdate:modelValue"?: ((modelValue: string | number) => any) | undefined;
|
|
36
32
|
}, {
|
|
37
|
-
el: globalThis.Ref<HTMLInputElement | null>;
|
|
38
|
-
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
39
|
-
modelValue: import('vue').PropType<string | number>;
|
|
40
|
-
label: {
|
|
41
|
-
type: globalThis.PropType<string>;
|
|
42
|
-
};
|
|
43
|
-
onChange: {
|
|
44
|
-
type: globalThis.PropType<(value: string) => void>;
|
|
45
|
-
};
|
|
46
|
-
size: {
|
|
47
|
-
type: globalThis.PropType<"sm" | "md" | "lg">;
|
|
48
|
-
default: string;
|
|
49
|
-
};
|
|
50
|
-
error: {
|
|
51
|
-
type: globalThis.PropType<boolean>;
|
|
52
|
-
};
|
|
53
|
-
color: {
|
|
54
|
-
type: globalThis.PropType<"primary" | "secondary" | "tertiary" | "error">;
|
|
55
|
-
default: string;
|
|
56
|
-
};
|
|
57
|
-
rounded: {
|
|
58
|
-
type: globalThis.PropType<string | number>;
|
|
59
|
-
default: string;
|
|
60
|
-
};
|
|
61
|
-
disabled: {
|
|
62
|
-
type: globalThis.PropType<boolean>;
|
|
63
|
-
};
|
|
64
|
-
password: {
|
|
65
|
-
type: globalThis.PropType<boolean>;
|
|
66
|
-
};
|
|
67
|
-
placeholder: {
|
|
68
|
-
type: globalThis.PropType<string>;
|
|
69
|
-
};
|
|
70
|
-
}>>, {
|
|
71
33
|
size: "sm" | "md" | "lg";
|
|
72
34
|
color: "primary" | "secondary" | "tertiary" | "error";
|
|
73
35
|
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
74
36
|
}, {}>;
|
|
75
37
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
76
38
|
export default _default;
|
|
39
|
+
type __VLS_WithDefaults<P, D> = {
|
|
40
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
41
|
+
default: D[K];
|
|
42
|
+
}> : P[K];
|
|
43
|
+
};
|
|
44
|
+
type __VLS_Prettify<T> = {
|
|
45
|
+
[K in keyof T]: T[K];
|
|
46
|
+
} & {};
|
|
77
47
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
78
48
|
new (): {
|
|
79
49
|
$slots: S;
|
|
80
50
|
};
|
|
81
51
|
};
|
|
52
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
53
|
+
type __VLS_TypePropsToOption<T> = {
|
|
54
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
55
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
56
|
+
} : {
|
|
57
|
+
type: import('vue').PropType<T[K]>;
|
|
58
|
+
required: true;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
@@ -3,17 +3,22 @@ import { ThemeData } from '..';
|
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
4
|
default?(_: {}): any;
|
|
5
5
|
};
|
|
6
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
|
7
7
|
theme?: ThemeData;
|
|
8
8
|
scheme?: string;
|
|
9
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<
|
|
9
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
10
10
|
theme?: ThemeData;
|
|
11
11
|
scheme?: string;
|
|
12
12
|
}>>>, {}, {}>;
|
|
13
13
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
14
14
|
export default _default;
|
|
15
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
15
20
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
-
type
|
|
21
|
+
type __VLS_TypePropsToOption<T> = {
|
|
17
22
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
23
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
24
|
} : {
|
|
@@ -21,8 +26,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
21
26
|
required: true;
|
|
22
27
|
};
|
|
23
28
|
};
|
|
24
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
25
|
-
new (): {
|
|
26
|
-
$slots: S;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
@@ -2,11 +2,11 @@ declare function __VLS_template(): {
|
|
|
2
2
|
default?(_: {}): any;
|
|
3
3
|
content?(_: {}): any;
|
|
4
4
|
};
|
|
5
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
5
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
6
6
|
timeout?: number;
|
|
7
7
|
}>, {
|
|
8
8
|
timeout: number;
|
|
9
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<
|
|
9
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
10
10
|
timeout?: number;
|
|
11
11
|
}>, {
|
|
12
12
|
timeout: number;
|
|
@@ -15,15 +15,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
|
15
15
|
}, {}>;
|
|
16
16
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
17
17
|
export default _default;
|
|
18
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
20
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
21
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
22
|
-
} : {
|
|
23
|
-
type: import('vue').PropType<T[K]>;
|
|
24
|
-
required: true;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
18
|
type __VLS_WithDefaults<P, D> = {
|
|
28
19
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
29
20
|
default: D[K];
|
|
@@ -37,3 +28,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
37
28
|
$slots: S;
|
|
38
29
|
};
|
|
39
30
|
};
|
|
31
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
32
|
+
type __VLS_TypePropsToOption<T> = {
|
|
33
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
34
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
35
|
+
} : {
|
|
36
|
+
type: import('vue').PropType<T[K]>;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
@@ -22,6 +22,7 @@ export { default as PinInput } from './PinInput.vue';
|
|
|
22
22
|
export { default as Progress } from './Progress.vue';
|
|
23
23
|
export { default as RokuProvider } from './RokuProvider.vue';
|
|
24
24
|
export { default as SchemeSwitch } from './SchemeSwitch.vue';
|
|
25
|
+
export { default as ScrollArea } from './ScrollArea.vue';
|
|
25
26
|
export { default as Select } from './Select.vue';
|
|
26
27
|
export { default as Slider } from './Slider.vue';
|
|
27
28
|
export { default as Switch } from './Switch.vue';
|
|
@@ -2,10 +2,10 @@ import { RemovableRef } from '@vueuse/core';
|
|
|
2
2
|
import { MaybeRef } from 'vue';
|
|
3
3
|
import { ThemeData } from '..';
|
|
4
4
|
|
|
5
|
-
export declare function useRootTheme(): globalThis.Ref<string | undefined>;
|
|
6
|
-
export declare function useCurrentThemeScheme(): globalThis.Ref<string> | null;
|
|
7
|
-
export declare function useCurrentThemeData(): globalThis.Ref<ThemeData>;
|
|
8
|
-
export declare function useCurrentThemeName(): globalThis.Ref<string>;
|
|
5
|
+
export declare function useRootTheme(): globalThis.Ref<string | undefined, string | undefined>;
|
|
6
|
+
export declare function useCurrentThemeScheme(): globalThis.Ref<string, string> | null;
|
|
7
|
+
export declare function useCurrentThemeData(): globalThis.Ref<ThemeData, ThemeData>;
|
|
8
|
+
export declare function useCurrentThemeName(): globalThis.Ref<string, string>;
|
|
9
9
|
export declare function useThemeData(name: string, color: {
|
|
10
10
|
primary: MaybeRef<string>;
|
|
11
11
|
secondary: MaybeRef<string>;
|
|
@@ -34,6 +34,6 @@ export declare function useThemeStyles(theme: ThemeData): {
|
|
|
34
34
|
};
|
|
35
35
|
export declare function useId(props: {
|
|
36
36
|
id?: string;
|
|
37
|
-
}): globalThis.Ref<string>;
|
|
37
|
+
}): globalThis.Ref<string, string>;
|
|
38
38
|
export declare const schemeSymbol: unique symbol;
|
|
39
39
|
export declare function useSchemeString(): RemovableRef<string>;
|
package/dist/index.d.ts
CHANGED