@roku-ui/vue 0.8.3 → 0.8.5
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 +17 -15
- package/dist/components/Avatar.vue.d.ts +11 -10
- package/dist/components/Btn.vue.d.ts +33 -31
- package/dist/components/BtnGroup.vue.d.ts +37 -0
- package/dist/components/ChatContainer.vue.d.ts +4 -2
- package/dist/components/ChatMessage.vue.d.ts +19 -17
- package/dist/components/ChatSystem.vue.d.ts +16 -14
- package/dist/components/Chip.vue.d.ts +14 -12
- package/dist/components/ColorInput.vue.d.ts +4 -4
- package/dist/components/ColorSwatch.vue.d.ts +6 -6
- package/dist/components/Drawer.vue.d.ts +10 -8
- package/dist/components/Dropzone.vue.d.ts +12 -10
- package/dist/components/FullscreenOverlay.vue.d.ts +10 -8
- package/dist/components/Image.vue.d.ts +19 -18
- package/dist/components/Indicator.vue.d.ts +18 -16
- package/dist/components/Modal.vue.d.ts +10 -8
- package/dist/components/Notification.vue.d.ts +27 -25
- package/dist/components/NotificationSystem.vue.d.ts +1 -1
- package/dist/components/Overlay.vue.d.ts +17 -15
- package/dist/components/Paper.vue.d.ts +24 -22
- package/dist/components/PinInput.vue.d.ts +10 -10
- package/dist/components/Progress.vue.d.ts +18 -18
- package/dist/components/RokuProvider.vue.d.ts +26 -23
- package/dist/components/SchemeSwitch.vue.d.ts +1 -1
- package/dist/components/Select.vue.d.ts +41 -64
- package/dist/components/Slider.vue.d.ts +6 -6
- package/dist/components/Switch.vue.d.ts +7 -7
- package/dist/components/TabItem.vue.d.ts +9 -7
- package/dist/components/Tabs.vue.d.ts +9 -7
- package/dist/components/TextField.vue.d.ts +10 -8
- package/dist/components/ThemeProvider.vue.d.ts +12 -9
- package/dist/components/Tooltip.vue.d.ts +31 -2
- package/dist/components/index.d.ts +1 -0
- package/dist/composables/index.d.ts +9 -8
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1296 -1127
- package/dist/index.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/dist/utils/index.d.ts +2 -1
- package/dist/utils/theme.d.ts +2 -1
- package/package.json +24 -24
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
label?(_: {}): any;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
5
|
+
modelValue: import('vue').PropType<string | number>;
|
|
3
6
|
label: {
|
|
4
7
|
type: globalThis.PropType<string>;
|
|
5
8
|
};
|
|
@@ -32,8 +35,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
32
35
|
};
|
|
33
36
|
}, {
|
|
34
37
|
el: globalThis.Ref<HTMLInputElement | null>;
|
|
35
|
-
}, unknown, {}, {}, import(
|
|
36
|
-
modelValue:
|
|
38
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
39
|
+
modelValue: import('vue').PropType<string | number>;
|
|
37
40
|
label: {
|
|
38
41
|
type: globalThis.PropType<string>;
|
|
39
42
|
};
|
|
@@ -67,10 +70,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
67
70
|
}>>, {
|
|
68
71
|
size: "sm" | "md" | "lg";
|
|
69
72
|
color: "primary" | "secondary" | "tertiary" | "error";
|
|
70
|
-
rounded: string | number;
|
|
71
|
-
}, {}
|
|
72
|
-
|
|
73
|
-
}>;
|
|
73
|
+
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
74
|
+
}, {}>;
|
|
75
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
74
76
|
export default _default;
|
|
75
77
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
76
78
|
new (): {
|
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
scheme?: string | undefined;
|
|
5
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
-
theme?: ThemeData | undefined;
|
|
7
|
-
scheme?: string | undefined;
|
|
8
|
-
}>>>, {}, {}>, {
|
|
1
|
+
import { ThemeData } from '..';
|
|
2
|
+
|
|
3
|
+
declare function __VLS_template(): {
|
|
9
4
|
default?(_: {}): any;
|
|
10
|
-
}
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
+
theme?: ThemeData;
|
|
8
|
+
scheme?: string;
|
|
9
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
+
theme?: ThemeData;
|
|
11
|
+
scheme?: string;
|
|
12
|
+
}>>>, {}, {}>;
|
|
13
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
11
14
|
export default _default;
|
|
12
15
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
13
16
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,8 +1,37 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
2
|
default?(_: {}): any;
|
|
3
3
|
content?(_: {}): any;
|
|
4
|
-
}
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
+
timeout?: number;
|
|
7
|
+
}>, {
|
|
8
|
+
timeout: number;
|
|
9
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
+
timeout?: number;
|
|
11
|
+
}>, {
|
|
12
|
+
timeout: number;
|
|
13
|
+
}>>>, {
|
|
14
|
+
timeout: number;
|
|
15
|
+
}, {}>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
5
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
|
+
type __VLS_WithDefaults<P, D> = {
|
|
28
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
29
|
+
default: D[K];
|
|
30
|
+
}> : P[K];
|
|
31
|
+
};
|
|
32
|
+
type __VLS_Prettify<T> = {
|
|
33
|
+
[K in keyof T]: T[K];
|
|
34
|
+
} & {};
|
|
6
35
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
7
36
|
new (): {
|
|
8
37
|
$slots: S;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { default as AspectRatio } from './AspectRatio.vue';
|
|
2
2
|
export { default as Avatar } from './Avatar.vue';
|
|
3
3
|
export { default as Btn } from './Btn.vue';
|
|
4
|
+
export { default as BtnGroup } from './BtnGroup.vue';
|
|
4
5
|
export { default as ChatContainer } from './ChatContainer.vue';
|
|
5
6
|
export { default as ChatMessage } from './ChatMessage.vue';
|
|
6
7
|
export { default as ChatSystem } from './ChatSystem.vue';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
1
|
+
import { RemovableRef } from '@vueuse/core';
|
|
2
|
+
import { MaybeRef } from 'vue';
|
|
3
|
+
import { ThemeData } from '..';
|
|
4
|
+
|
|
4
5
|
export declare function useRootTheme(): globalThis.Ref<string | undefined>;
|
|
5
6
|
export declare function useCurrentThemeScheme(): globalThis.Ref<string> | null;
|
|
6
7
|
export declare function useCurrentThemeData(): globalThis.Ref<ThemeData>;
|
|
@@ -20,11 +21,11 @@ export declare function useThemeData(name: string, color: {
|
|
|
20
21
|
}): globalThis.ComputedRef<{
|
|
21
22
|
name: string;
|
|
22
23
|
colors: {
|
|
23
|
-
primary: import(
|
|
24
|
-
secondary: import(
|
|
25
|
-
tertiary: import(
|
|
26
|
-
error: import(
|
|
27
|
-
surface: import(
|
|
24
|
+
primary: import('..').ColorsTuple;
|
|
25
|
+
secondary: import('..').ColorsTuple;
|
|
26
|
+
tertiary: import('..').ColorsTuple;
|
|
27
|
+
error: import('..').ColorsTuple;
|
|
28
|
+
surface: import('..').ColorsTuple;
|
|
28
29
|
};
|
|
29
30
|
}>;
|
|
30
31
|
export declare function useThemeStyles(theme: ThemeData): {
|
package/dist/index.d.ts
CHANGED