@roku-ui/vue 0.1.1 → 0.1.2
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/Avatar.vue.d.ts +4 -3
- package/dist/components/Btn.vue.d.ts +4 -6
- package/dist/components/Chip.vue.d.ts +3 -3
- package/dist/components/Paper.vue.d.ts +51 -0
- package/dist/components/RokuProvider.vue.d.ts +3 -3
- package/dist/components/index.d.ts +2 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +788 -783
- package/dist/index.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/dist/test.d.ts +1 -0
- package/package.json +2 -2
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import type { Component } from 'vue';
|
|
1
2
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
-
is?: string | undefined;
|
|
3
|
+
is?: string | Component | undefined;
|
|
3
4
|
src?: string | undefined;
|
|
4
5
|
size?: string | number | undefined;
|
|
5
6
|
style?: any;
|
|
@@ -8,7 +9,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
8
9
|
size: string;
|
|
9
10
|
is: string;
|
|
10
11
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
11
|
-
is?: string | undefined;
|
|
12
|
+
is?: string | Component | undefined;
|
|
12
13
|
src?: string | undefined;
|
|
13
14
|
size?: string | number | undefined;
|
|
14
15
|
style?: any;
|
|
@@ -17,7 +18,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
17
18
|
size: string;
|
|
18
19
|
is: string;
|
|
19
20
|
}>>>, {
|
|
20
|
-
is: string;
|
|
21
|
+
is: string | Component;
|
|
21
22
|
size: 'sm' | 'md' | 'lg' | string | number;
|
|
22
23
|
}, {}>;
|
|
23
24
|
export default _default;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
2
|
type?: "button" | "submit" | "reset" | undefined;
|
|
3
3
|
size?: "sm" | "md" | "lg" | undefined;
|
|
4
|
-
is?: string | undefined;
|
|
4
|
+
is?: string | globalThis.Component | undefined;
|
|
5
5
|
icon?: boolean | undefined;
|
|
6
6
|
pressEffect?: "translate" | "scale" | undefined;
|
|
7
7
|
variant?: "default" | "filled" | "light" | "outline" | "subtle" | "transparent" | "ghost" | "constrast" | undefined;
|
|
8
8
|
color?: "primary" | "secondary" | "tertiary" | "error" | undefined;
|
|
9
|
-
disabled?: boolean | undefined;
|
|
10
9
|
animate?: boolean | undefined;
|
|
11
10
|
rounded?: "sm" | "md" | "lg" | "none" | "full" | undefined;
|
|
12
11
|
}>, {
|
|
@@ -19,12 +18,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
19
18
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
20
19
|
type?: "button" | "submit" | "reset" | undefined;
|
|
21
20
|
size?: "sm" | "md" | "lg" | undefined;
|
|
22
|
-
is?: string | undefined;
|
|
21
|
+
is?: string | globalThis.Component | undefined;
|
|
23
22
|
icon?: boolean | undefined;
|
|
24
23
|
pressEffect?: "translate" | "scale" | undefined;
|
|
25
24
|
variant?: "default" | "filled" | "light" | "outline" | "subtle" | "transparent" | "ghost" | "constrast" | undefined;
|
|
26
25
|
color?: "primary" | "secondary" | "tertiary" | "error" | undefined;
|
|
27
|
-
disabled?: boolean | undefined;
|
|
28
26
|
animate?: boolean | undefined;
|
|
29
27
|
rounded?: "sm" | "md" | "lg" | "none" | "full" | undefined;
|
|
30
28
|
}>, {
|
|
@@ -35,9 +33,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
35
33
|
icon: boolean;
|
|
36
34
|
pressEffect: string;
|
|
37
35
|
}>>>, {
|
|
38
|
-
is: string;
|
|
39
|
-
size: "sm" | "md" | "lg";
|
|
40
36
|
type: "button" | "submit" | "reset";
|
|
37
|
+
size: "sm" | "md" | "lg";
|
|
38
|
+
is: string | globalThis.Component;
|
|
41
39
|
icon: boolean;
|
|
42
40
|
pressEffect: "translate" | "scale";
|
|
43
41
|
rounded: "sm" | "md" | "lg" | "none" | "full";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
2
|
modelValue: globalThis.PropType<boolean>;
|
|
3
3
|
is: {
|
|
4
|
-
type: globalThis.PropType<string>;
|
|
4
|
+
type: globalThis.PropType<string | globalThis.Component>;
|
|
5
5
|
default: string;
|
|
6
6
|
};
|
|
7
7
|
src: {
|
|
@@ -24,7 +24,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
24
24
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
25
25
|
modelValue: globalThis.PropType<boolean>;
|
|
26
26
|
is: {
|
|
27
|
-
type: globalThis.PropType<string>;
|
|
27
|
+
type: globalThis.PropType<string | globalThis.Component>;
|
|
28
28
|
default: string;
|
|
29
29
|
};
|
|
30
30
|
src: {
|
|
@@ -45,7 +45,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
45
45
|
default: string;
|
|
46
46
|
};
|
|
47
47
|
}>>, {
|
|
48
|
-
is: string;
|
|
48
|
+
is: string | globalThis.Component;
|
|
49
49
|
size: string | number;
|
|
50
50
|
rounded: string | number;
|
|
51
51
|
}, {}>, {
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
size?: string | number | undefined;
|
|
3
|
+
rounded?: string | number | undefined;
|
|
4
|
+
withBorder?: boolean | undefined;
|
|
5
|
+
is?: string | globalThis.Component | undefined;
|
|
6
|
+
}>, {
|
|
7
|
+
size: string;
|
|
8
|
+
rounded: string;
|
|
9
|
+
withBorder: boolean;
|
|
10
|
+
is: string;
|
|
11
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
12
|
+
size?: string | number | undefined;
|
|
13
|
+
rounded?: string | number | undefined;
|
|
14
|
+
withBorder?: boolean | undefined;
|
|
15
|
+
is?: string | globalThis.Component | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
size: string;
|
|
18
|
+
rounded: string;
|
|
19
|
+
withBorder: boolean;
|
|
20
|
+
is: string;
|
|
21
|
+
}>>>, {
|
|
22
|
+
size: string | number;
|
|
23
|
+
rounded: string | number;
|
|
24
|
+
withBorder: boolean;
|
|
25
|
+
is: string | globalThis.Component;
|
|
26
|
+
}, {}>, {
|
|
27
|
+
default?(_: {}): any;
|
|
28
|
+
}>;
|
|
29
|
+
export default _default;
|
|
30
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
31
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
32
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
33
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
34
|
+
} : {
|
|
35
|
+
type: import('vue').PropType<T[K]>;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
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
|
+
} & {};
|
|
47
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
48
|
+
new (): {
|
|
49
|
+
$slots: S;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import type { ThemeData } from '../utils';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
-
is?: string | undefined;
|
|
3
|
+
is?: string | globalThis.Component | undefined;
|
|
4
4
|
theme?: ThemeData | undefined;
|
|
5
5
|
}>, {
|
|
6
6
|
is: string;
|
|
7
7
|
theme(): ThemeData;
|
|
8
8
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
-
is?: string | undefined;
|
|
9
|
+
is?: string | globalThis.Component | undefined;
|
|
10
10
|
theme?: ThemeData | undefined;
|
|
11
11
|
}>, {
|
|
12
12
|
is: string;
|
|
13
13
|
theme(): ThemeData;
|
|
14
14
|
}>>>, {
|
|
15
|
-
is: string;
|
|
15
|
+
is: string | globalThis.Component;
|
|
16
16
|
theme: ThemeData;
|
|
17
17
|
}, {}>, {
|
|
18
18
|
default?(_: {}): any;
|
|
@@ -14,4 +14,5 @@ import Chip from './Chip.vue';
|
|
|
14
14
|
import Avatar from './Avatar.vue';
|
|
15
15
|
import ThemeSwitch from './ThemeSwitch.vue';
|
|
16
16
|
import ThemeProvider from './ThemeProvider.vue';
|
|
17
|
-
|
|
17
|
+
import Paper from './Paper.vue';
|
|
18
|
+
export { Paper, ThemeProvider, ThemeSwitch, Avatar, Chip, Indicator, PinInput, Progress, NotificationSystem, Modal, Btn, RokuProvider, Slider, Switch, Select, TextField, Notification };
|
package/dist/index.d.ts
CHANGED