@roku-ui/vue 0.2.0 → 0.4.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 +44 -0
- package/dist/components/Btn.vue.d.ts +9 -4
- package/dist/components/{Dragzone.vue.d.ts → ChatContainer.vue.d.ts} +1 -5
- package/dist/components/ChatMessage.vue.d.ts +51 -0
- package/dist/components/ChatSystem.vue.d.ts +45 -0
- package/dist/components/Chip.vue.d.ts +12 -12
- package/dist/components/ColorInput.vue.d.ts +6 -0
- package/dist/components/ColorSwatch.vue.d.ts +36 -0
- package/dist/components/Drawer.vue.d.ts +41 -0
- package/dist/components/Dropzone.vue.d.ts +45 -0
- package/dist/components/FullscreenOverlay.vue.d.ts +38 -0
- package/dist/components/Image.vue.d.ts +49 -0
- package/dist/components/Indicator.vue.d.ts +3 -3
- package/dist/components/Modal.vue.d.ts +3 -0
- package/dist/components/Notification.vue.d.ts +20 -3
- package/dist/components/Overlay.vue.d.ts +52 -0
- package/dist/components/Progress.vue.d.ts +9 -9
- package/dist/components/Select.vue.d.ts +9 -9
- package/dist/components/Slider.vue.d.ts +29 -23
- package/dist/components/Switch.vue.d.ts +21 -15
- package/dist/components/TextField.vue.d.ts +1 -1
- package/dist/components/index.d.ts +28 -19
- package/dist/composables/index.d.ts +3 -2
- package/dist/index.js +1969 -1533
- package/dist/index.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +13 -12
- /package/dist/components/{ThemeSwitch.vue.d.ts → SchemeSwitch.vue.d.ts} +0 -0
|
@@ -8,6 +8,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8
8
|
type: globalThis.PropType<"sm" | "md" | "lg">;
|
|
9
9
|
default: string;
|
|
10
10
|
};
|
|
11
|
+
placeholder: {
|
|
12
|
+
type: globalThis.PropType<string>;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
11
15
|
options: {
|
|
12
16
|
type: globalThis.PropType<Option[]>;
|
|
13
17
|
default: () => never[];
|
|
@@ -16,10 +20,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
16
20
|
type: globalThis.PropType<string>;
|
|
17
21
|
default: string;
|
|
18
22
|
};
|
|
19
|
-
placeholder: {
|
|
20
|
-
type: globalThis.PropType<string>;
|
|
21
|
-
default: string;
|
|
22
|
-
};
|
|
23
23
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
24
|
change: (...args: any[]) => void;
|
|
25
25
|
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
@@ -28,6 +28,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
28
28
|
type: globalThis.PropType<"sm" | "md" | "lg">;
|
|
29
29
|
default: string;
|
|
30
30
|
};
|
|
31
|
+
placeholder: {
|
|
32
|
+
type: globalThis.PropType<string>;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
31
35
|
options: {
|
|
32
36
|
type: globalThis.PropType<Option[]>;
|
|
33
37
|
default: () => never[];
|
|
@@ -36,16 +40,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
36
40
|
type: globalThis.PropType<string>;
|
|
37
41
|
default: string;
|
|
38
42
|
};
|
|
39
|
-
placeholder: {
|
|
40
|
-
type: globalThis.PropType<string>;
|
|
41
|
-
default: string;
|
|
42
|
-
};
|
|
43
43
|
}>> & {
|
|
44
44
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
45
45
|
}, {
|
|
46
46
|
size: 'sm' | 'md' | 'lg';
|
|
47
|
+
placeholder: string;
|
|
47
48
|
options: Option[];
|
|
48
49
|
noneText: string;
|
|
49
|
-
placeholder: string;
|
|
50
50
|
}, {}>;
|
|
51
51
|
export default _default;
|
|
@@ -1,31 +1,30 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
2
|
modelValue: globalThis.PropType<any>;
|
|
3
|
-
|
|
4
|
-
type: globalThis.PropType<
|
|
5
|
-
default: string;
|
|
3
|
+
width: {
|
|
4
|
+
type: globalThis.PropType<number>;
|
|
6
5
|
};
|
|
7
6
|
animate: {
|
|
8
7
|
type: globalThis.PropType<boolean>;
|
|
9
8
|
default: boolean;
|
|
10
9
|
};
|
|
10
|
+
size: {
|
|
11
|
+
type: globalThis.PropType<"sm" | "md" | "lg">;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
11
14
|
color: {
|
|
12
15
|
type: globalThis.PropType<"primary" | "secondary" | "tertiary" | "error">;
|
|
13
16
|
default: string;
|
|
14
17
|
};
|
|
15
|
-
|
|
18
|
+
max: {
|
|
16
19
|
type: globalThis.PropType<number>;
|
|
17
20
|
default: number;
|
|
18
21
|
};
|
|
19
|
-
options: {
|
|
20
|
-
type: globalThis.PropType<any[]>;
|
|
21
|
-
};
|
|
22
22
|
min: {
|
|
23
23
|
type: globalThis.PropType<number>;
|
|
24
24
|
default: number;
|
|
25
25
|
};
|
|
26
|
-
|
|
27
|
-
type: globalThis.PropType<
|
|
28
|
-
default: number;
|
|
26
|
+
options: {
|
|
27
|
+
type: globalThis.PropType<any[]>;
|
|
29
28
|
};
|
|
30
29
|
step: {
|
|
31
30
|
type: globalThis.PropType<number>;
|
|
@@ -34,34 +33,37 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
34
33
|
tickNum: {
|
|
35
34
|
type: globalThis.PropType<number>;
|
|
36
35
|
};
|
|
36
|
+
minWidth: {
|
|
37
|
+
type: globalThis.PropType<number>;
|
|
38
|
+
default: number;
|
|
39
|
+
};
|
|
37
40
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
38
41
|
modelValue: globalThis.PropType<any>;
|
|
39
|
-
|
|
40
|
-
type: globalThis.PropType<
|
|
41
|
-
default: string;
|
|
42
|
+
width: {
|
|
43
|
+
type: globalThis.PropType<number>;
|
|
42
44
|
};
|
|
43
45
|
animate: {
|
|
44
46
|
type: globalThis.PropType<boolean>;
|
|
45
47
|
default: boolean;
|
|
46
48
|
};
|
|
49
|
+
size: {
|
|
50
|
+
type: globalThis.PropType<"sm" | "md" | "lg">;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
47
53
|
color: {
|
|
48
54
|
type: globalThis.PropType<"primary" | "secondary" | "tertiary" | "error">;
|
|
49
55
|
default: string;
|
|
50
56
|
};
|
|
51
|
-
|
|
57
|
+
max: {
|
|
52
58
|
type: globalThis.PropType<number>;
|
|
53
59
|
default: number;
|
|
54
60
|
};
|
|
55
|
-
options: {
|
|
56
|
-
type: globalThis.PropType<any[]>;
|
|
57
|
-
};
|
|
58
61
|
min: {
|
|
59
62
|
type: globalThis.PropType<number>;
|
|
60
63
|
default: number;
|
|
61
64
|
};
|
|
62
|
-
|
|
63
|
-
type: globalThis.PropType<
|
|
64
|
-
default: number;
|
|
65
|
+
options: {
|
|
66
|
+
type: globalThis.PropType<any[]>;
|
|
65
67
|
};
|
|
66
68
|
step: {
|
|
67
69
|
type: globalThis.PropType<number>;
|
|
@@ -70,13 +72,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
70
72
|
tickNum: {
|
|
71
73
|
type: globalThis.PropType<number>;
|
|
72
74
|
};
|
|
75
|
+
minWidth: {
|
|
76
|
+
type: globalThis.PropType<number>;
|
|
77
|
+
default: number;
|
|
78
|
+
};
|
|
73
79
|
}>>, {
|
|
74
|
-
size: 'sm' | 'md' | 'lg';
|
|
75
80
|
animate: boolean;
|
|
81
|
+
size: 'sm' | 'md' | 'lg';
|
|
76
82
|
color: 'primary' | 'secondary' | 'tertiary' | 'error';
|
|
77
|
-
width: number;
|
|
78
|
-
min: number;
|
|
79
83
|
max: number;
|
|
84
|
+
min: number;
|
|
80
85
|
step: number;
|
|
86
|
+
minWidth: number;
|
|
81
87
|
}, {}>;
|
|
82
88
|
export default _default;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
2
|
modelValue: globalThis.PropType<boolean>;
|
|
3
|
-
size: {
|
|
4
|
-
type: globalThis.PropType<"sm" | "md" | "lg">;
|
|
5
|
-
default: string;
|
|
6
|
-
};
|
|
7
3
|
label: {
|
|
8
4
|
type: globalThis.PropType<string>;
|
|
9
5
|
};
|
|
@@ -11,6 +7,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
11
7
|
type: globalThis.PropType<boolean>;
|
|
12
8
|
default: boolean;
|
|
13
9
|
};
|
|
10
|
+
size: {
|
|
11
|
+
type: globalThis.PropType<"sm" | "md" | "lg">;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
14
|
color: {
|
|
15
15
|
type: globalThis.PropType<"primary" | "secondary" | "tertiary" | "error">;
|
|
16
16
|
default: string;
|
|
@@ -22,12 +22,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
22
22
|
disabled: {
|
|
23
23
|
type: globalThis.PropType<boolean>;
|
|
24
24
|
};
|
|
25
|
-
options: {
|
|
26
|
-
type: globalThis.PropType<string[]>;
|
|
27
|
-
};
|
|
28
25
|
id: {
|
|
29
26
|
type: globalThis.PropType<string>;
|
|
30
27
|
};
|
|
28
|
+
value: {
|
|
29
|
+
type: globalThis.PropType<boolean>;
|
|
30
|
+
};
|
|
31
|
+
options: {
|
|
32
|
+
type: globalThis.PropType<string[]>;
|
|
33
|
+
};
|
|
31
34
|
offIcon: {
|
|
32
35
|
type: globalThis.PropType<string>;
|
|
33
36
|
};
|
|
@@ -36,10 +39,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
36
39
|
};
|
|
37
40
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
38
41
|
modelValue: globalThis.PropType<boolean>;
|
|
39
|
-
size: {
|
|
40
|
-
type: globalThis.PropType<"sm" | "md" | "lg">;
|
|
41
|
-
default: string;
|
|
42
|
-
};
|
|
43
42
|
label: {
|
|
44
43
|
type: globalThis.PropType<string>;
|
|
45
44
|
};
|
|
@@ -47,6 +46,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
47
46
|
type: globalThis.PropType<boolean>;
|
|
48
47
|
default: boolean;
|
|
49
48
|
};
|
|
49
|
+
size: {
|
|
50
|
+
type: globalThis.PropType<"sm" | "md" | "lg">;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
50
53
|
color: {
|
|
51
54
|
type: globalThis.PropType<"primary" | "secondary" | "tertiary" | "error">;
|
|
52
55
|
default: string;
|
|
@@ -58,12 +61,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
58
61
|
disabled: {
|
|
59
62
|
type: globalThis.PropType<boolean>;
|
|
60
63
|
};
|
|
61
|
-
options: {
|
|
62
|
-
type: globalThis.PropType<string[]>;
|
|
63
|
-
};
|
|
64
64
|
id: {
|
|
65
65
|
type: globalThis.PropType<string>;
|
|
66
66
|
};
|
|
67
|
+
value: {
|
|
68
|
+
type: globalThis.PropType<boolean>;
|
|
69
|
+
};
|
|
70
|
+
options: {
|
|
71
|
+
type: globalThis.PropType<string[]>;
|
|
72
|
+
};
|
|
67
73
|
offIcon: {
|
|
68
74
|
type: globalThis.PropType<string>;
|
|
69
75
|
};
|
|
@@ -71,8 +77,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
71
77
|
type: globalThis.PropType<string>;
|
|
72
78
|
};
|
|
73
79
|
}>>, {
|
|
74
|
-
size: 'sm' | 'md' | 'lg';
|
|
75
80
|
animate: boolean;
|
|
81
|
+
size: 'sm' | 'md' | 'lg';
|
|
76
82
|
color: 'primary' | 'secondary' | 'tertiary' | 'error';
|
|
77
83
|
rounded: 'none' | 'sm' | 'md' | 'lg' | 'full' | string | number;
|
|
78
84
|
}, {}>;
|
|
@@ -18,9 +18,9 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
18
18
|
input: (...args: any[]) => void;
|
|
19
19
|
pointerup: (...args: any[]) => void;
|
|
20
20
|
click: (...args: any[]) => void;
|
|
21
|
-
pointerdown: (...args: any[]) => void;
|
|
22
21
|
change: (...args: any[]) => void;
|
|
23
22
|
"update:modelValue": (...args: any[]) => void;
|
|
23
|
+
pointerdown: (...args: any[]) => void;
|
|
24
24
|
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
25
25
|
modelValue?: string | number | undefined;
|
|
26
26
|
onChange?: ((value: string) => void) | undefined;
|
|
@@ -1,19 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
export {
|
|
1
|
+
export { default as AspectRatio } from './AspectRatio.vue';
|
|
2
|
+
export { default as Avatar } from './Avatar.vue';
|
|
3
|
+
export { default as Btn } from './Btn.vue';
|
|
4
|
+
export { default as ChatContainer } from './ChatContainer.vue';
|
|
5
|
+
export { default as ChatMessage } from './ChatMessage.vue';
|
|
6
|
+
export { default as ChatSystem } from './ChatSystem.vue';
|
|
7
|
+
export { default as Chip } from './Chip.vue';
|
|
8
|
+
export { default as ColorInput } from './ColorInput.vue';
|
|
9
|
+
export { default as ColorSwatch } from './ColorSwatch.vue';
|
|
10
|
+
export { default as Drawer } from './Drawer.vue';
|
|
11
|
+
export { default as Dropzone } from './Dropzone.vue';
|
|
12
|
+
export { default as FullscreenOverlay } from './FullscreenOverlay.vue';
|
|
13
|
+
export { default as Image } from './Image.vue';
|
|
14
|
+
export { default as Indicator } from './Indicator.vue';
|
|
15
|
+
export { default as Modal } from './Modal.vue';
|
|
16
|
+
export { default as Notification } from './Notification.vue';
|
|
17
|
+
export { default as NotificationSystem } from './NotificationSystem.vue';
|
|
18
|
+
export { default as Overlay } from './Overlay.vue';
|
|
19
|
+
export { default as Paper } from './Paper.vue';
|
|
20
|
+
export { default as PinInput } from './PinInput.vue';
|
|
21
|
+
export { default as Progress } from './Progress.vue';
|
|
22
|
+
export { default as RokuProvider } from './RokuProvider.vue';
|
|
23
|
+
export { default as SchemeSwitch } from './SchemeSwitch.vue';
|
|
24
|
+
export { default as Select } from './Select.vue';
|
|
25
|
+
export { default as Slider } from './Slider.vue';
|
|
26
|
+
export { default as Switch } from './Switch.vue';
|
|
27
|
+
export { default as TextField } from './TextField.vue';
|
|
28
|
+
export { default as ThemeProvider } from './ThemeProvider.vue';
|
|
@@ -26,7 +26,6 @@ export declare function useThemeStyles(theme: ThemeData, root?: boolean): {
|
|
|
26
26
|
'--r-color-secondary-containerl'?: undefined;
|
|
27
27
|
'--r-color-tertiary-containerl'?: undefined;
|
|
28
28
|
'--r-color-error-containerl'?: undefined;
|
|
29
|
-
'color-scheme': string;
|
|
30
29
|
'font-family': string;
|
|
31
30
|
'background-color': string;
|
|
32
31
|
color: string;
|
|
@@ -54,8 +53,10 @@ export declare function useThemeStyles(theme: ThemeData, root?: boolean): {
|
|
|
54
53
|
'--r-color-secondary-containerl': string;
|
|
55
54
|
'--r-color-tertiary-containerl': string;
|
|
56
55
|
'--r-color-error-containerl': string;
|
|
57
|
-
'color-scheme': string;
|
|
58
56
|
'font-family': string;
|
|
59
57
|
'background-color': string;
|
|
60
58
|
color: string;
|
|
61
59
|
};
|
|
60
|
+
export declare function useId(props: {
|
|
61
|
+
id?: string;
|
|
62
|
+
}): globalThis.Ref<string>;
|