@roku-ui/vue 0.1.2 → 0.3.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 +36 -0
- package/dist/components/Btn.vue.d.ts +6 -1
- package/dist/components/ChatContainer.vue.d.ts +9 -0
- 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/Overlay.vue.d.ts +52 -0
- package/dist/components/Paper.vue.d.ts +1 -1
- package/dist/components/Progress.vue.d.ts +2 -2
- package/dist/components/Slider.vue.d.ts +29 -23
- package/dist/components/Switch.vue.d.ts +19 -19
- package/dist/components/TextField.vue.d.ts +1 -1
- package/dist/components/index.d.ts +28 -18
- package/dist/composables/index.d.ts +3 -2
- package/dist/index.js +1977 -1476
- package/dist/index.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +13 -12
|
@@ -1,32 +1,31 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
2
|
modelValue: globalThis.PropType<any>;
|
|
3
|
-
size: {
|
|
4
|
-
type: globalThis.PropType<"sm" | "md" | "lg">;
|
|
5
|
-
default: string;
|
|
6
|
-
};
|
|
7
3
|
animate: {
|
|
8
4
|
type: globalThis.PropType<boolean>;
|
|
9
5
|
default: boolean;
|
|
10
6
|
};
|
|
7
|
+
size: {
|
|
8
|
+
type: globalThis.PropType<"sm" | "md" | "lg">;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
11
|
color: {
|
|
12
12
|
type: globalThis.PropType<"primary" | "secondary" | "tertiary" | "error">;
|
|
13
13
|
default: string;
|
|
14
14
|
};
|
|
15
15
|
width: {
|
|
16
16
|
type: globalThis.PropType<number>;
|
|
17
|
-
default: number;
|
|
18
|
-
};
|
|
19
|
-
options: {
|
|
20
|
-
type: globalThis.PropType<any[]>;
|
|
21
17
|
};
|
|
22
|
-
|
|
18
|
+
max: {
|
|
23
19
|
type: globalThis.PropType<number>;
|
|
24
20
|
default: number;
|
|
25
21
|
};
|
|
26
|
-
|
|
22
|
+
min: {
|
|
27
23
|
type: globalThis.PropType<number>;
|
|
28
24
|
default: number;
|
|
29
25
|
};
|
|
26
|
+
options: {
|
|
27
|
+
type: globalThis.PropType<any[]>;
|
|
28
|
+
};
|
|
30
29
|
step: {
|
|
31
30
|
type: globalThis.PropType<number>;
|
|
32
31
|
default: number;
|
|
@@ -34,35 +33,38 @@ 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
|
-
size: {
|
|
40
|
-
type: globalThis.PropType<"sm" | "md" | "lg">;
|
|
41
|
-
default: string;
|
|
42
|
-
};
|
|
43
42
|
animate: {
|
|
44
43
|
type: globalThis.PropType<boolean>;
|
|
45
44
|
default: boolean;
|
|
46
45
|
};
|
|
46
|
+
size: {
|
|
47
|
+
type: globalThis.PropType<"sm" | "md" | "lg">;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
47
50
|
color: {
|
|
48
51
|
type: globalThis.PropType<"primary" | "secondary" | "tertiary" | "error">;
|
|
49
52
|
default: string;
|
|
50
53
|
};
|
|
51
54
|
width: {
|
|
52
55
|
type: globalThis.PropType<number>;
|
|
53
|
-
default: number;
|
|
54
|
-
};
|
|
55
|
-
options: {
|
|
56
|
-
type: globalThis.PropType<any[]>;
|
|
57
56
|
};
|
|
58
|
-
|
|
57
|
+
max: {
|
|
59
58
|
type: globalThis.PropType<number>;
|
|
60
59
|
default: number;
|
|
61
60
|
};
|
|
62
|
-
|
|
61
|
+
min: {
|
|
63
62
|
type: globalThis.PropType<number>;
|
|
64
63
|
default: number;
|
|
65
64
|
};
|
|
65
|
+
options: {
|
|
66
|
+
type: globalThis.PropType<any[]>;
|
|
67
|
+
};
|
|
66
68
|
step: {
|
|
67
69
|
type: globalThis.PropType<number>;
|
|
68
70
|
default: 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,23 +7,27 @@ 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;
|
|
17
17
|
};
|
|
18
|
-
disabled: {
|
|
19
|
-
type: globalThis.PropType<boolean>;
|
|
20
|
-
};
|
|
21
18
|
rounded: {
|
|
22
19
|
type: globalThis.PropType<string | number>;
|
|
23
20
|
default: string;
|
|
24
21
|
};
|
|
25
|
-
|
|
26
|
-
type: globalThis.PropType<
|
|
22
|
+
disabled: {
|
|
23
|
+
type: globalThis.PropType<boolean>;
|
|
27
24
|
};
|
|
28
25
|
id: {
|
|
29
26
|
type: globalThis.PropType<string>;
|
|
30
27
|
};
|
|
28
|
+
options: {
|
|
29
|
+
type: globalThis.PropType<string[]>;
|
|
30
|
+
};
|
|
31
31
|
offIcon: {
|
|
32
32
|
type: globalThis.PropType<string>;
|
|
33
33
|
};
|
|
@@ -36,10 +36,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
36
36
|
};
|
|
37
37
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
38
38
|
modelValue: globalThis.PropType<boolean>;
|
|
39
|
-
size: {
|
|
40
|
-
type: globalThis.PropType<"sm" | "md" | "lg">;
|
|
41
|
-
default: string;
|
|
42
|
-
};
|
|
43
39
|
label: {
|
|
44
40
|
type: globalThis.PropType<string>;
|
|
45
41
|
};
|
|
@@ -47,23 +43,27 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
47
43
|
type: globalThis.PropType<boolean>;
|
|
48
44
|
default: boolean;
|
|
49
45
|
};
|
|
46
|
+
size: {
|
|
47
|
+
type: globalThis.PropType<"sm" | "md" | "lg">;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
50
|
color: {
|
|
51
51
|
type: globalThis.PropType<"primary" | "secondary" | "tertiary" | "error">;
|
|
52
52
|
default: string;
|
|
53
53
|
};
|
|
54
|
-
disabled: {
|
|
55
|
-
type: globalThis.PropType<boolean>;
|
|
56
|
-
};
|
|
57
54
|
rounded: {
|
|
58
55
|
type: globalThis.PropType<string | number>;
|
|
59
56
|
default: string;
|
|
60
57
|
};
|
|
61
|
-
|
|
62
|
-
type: globalThis.PropType<
|
|
58
|
+
disabled: {
|
|
59
|
+
type: globalThis.PropType<boolean>;
|
|
63
60
|
};
|
|
64
61
|
id: {
|
|
65
62
|
type: globalThis.PropType<string>;
|
|
66
63
|
};
|
|
64
|
+
options: {
|
|
65
|
+
type: globalThis.PropType<string[]>;
|
|
66
|
+
};
|
|
67
67
|
offIcon: {
|
|
68
68
|
type: globalThis.PropType<string>;
|
|
69
69
|
};
|
|
@@ -71,8 +71,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
71
71
|
type: globalThis.PropType<string>;
|
|
72
72
|
};
|
|
73
73
|
}>>, {
|
|
74
|
-
size: 'sm' | 'md' | 'lg';
|
|
75
74
|
animate: boolean;
|
|
75
|
+
size: 'sm' | 'md' | 'lg';
|
|
76
76
|
color: 'primary' | 'secondary' | 'tertiary' | 'error';
|
|
77
77
|
rounded: 'none' | 'sm' | 'md' | 'lg' | 'full' | string | number;
|
|
78
78
|
}, {}>;
|
|
@@ -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,18 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
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 Select } from './Select.vue';
|
|
24
|
+
export { default as Slider } from './Slider.vue';
|
|
25
|
+
export { default as Switch } from './Switch.vue';
|
|
26
|
+
export { default as TextField } from './TextField.vue';
|
|
27
|
+
export { default as ThemeProvider } from './ThemeProvider.vue';
|
|
28
|
+
export { default as ThemeSwitch } from './ThemeSwitch.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>;
|