@roku-ui/vue 0.1.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/README.md +33 -0
- package/dist/components/Avatar.vue.d.ts +40 -0
- package/dist/components/Btn.vue.d.ts +71 -0
- package/dist/components/Chip.vue.d.ts +60 -0
- package/dist/components/Indicator.vue.d.ts +49 -0
- package/dist/components/Modal.vue.d.ts +47 -0
- package/dist/components/Notification.vue.d.ts +49 -0
- package/dist/components/NotificationSystem.vue.d.ts +2 -0
- package/dist/components/PinInput.vue.d.ts +35 -0
- package/dist/components/Progress.vue.d.ts +59 -0
- package/dist/components/RokuProvider.vue.d.ts +42 -0
- package/dist/components/Select.vue.d.ts +54 -0
- package/dist/components/Slider.vue.d.ts +47 -0
- package/dist/components/Switch.vue.d.ts +58 -0
- package/dist/components/TextField.vue.d.ts +62 -0
- package/dist/components/index.d.ts +15 -0
- package/dist/composables/index.d.ts +2 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +2230 -0
- package/dist/index.umd.cjs +1 -0
- package/dist/style.css +1 -0
- package/dist/test/index.test.d.ts +1 -0
- package/dist/test.d.ts +0 -0
- package/dist/utils/classGenerator.d.ts +6 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/notifications.d.ts +12 -0
- package/dist/utils/theme.d.ts +33 -0
- package/dist/vite.svg +1 -0
- package/package.json +59 -0
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
modelValue?: string | number | undefined;
|
|
3
|
+
onChange?: ((value: string) => void) | undefined;
|
|
4
|
+
color?: "primary" | "secondary" | "tertiary" | "error" | undefined;
|
|
5
|
+
error?: boolean | undefined;
|
|
6
|
+
disabled?: boolean | undefined;
|
|
7
|
+
rounded?: string | number | undefined;
|
|
8
|
+
password?: boolean | undefined;
|
|
9
|
+
placeholder?: string | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
color: string;
|
|
12
|
+
rounded: string;
|
|
13
|
+
}>, {
|
|
14
|
+
el: globalThis.Ref<HTMLInputElement | null>;
|
|
15
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
input: (...args: any[]) => void;
|
|
17
|
+
"update:modelValue": (...args: any[]) => void;
|
|
18
|
+
pointerup: (...args: any[]) => void;
|
|
19
|
+
click: (...args: any[]) => void;
|
|
20
|
+
pointerdown: (...args: any[]) => void;
|
|
21
|
+
change: (...args: any[]) => void;
|
|
22
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
23
|
+
modelValue?: string | number | undefined;
|
|
24
|
+
onChange?: ((value: string) => void) | undefined;
|
|
25
|
+
color?: "primary" | "secondary" | "tertiary" | "error" | undefined;
|
|
26
|
+
error?: boolean | undefined;
|
|
27
|
+
disabled?: boolean | undefined;
|
|
28
|
+
rounded?: string | number | undefined;
|
|
29
|
+
password?: boolean | undefined;
|
|
30
|
+
placeholder?: string | undefined;
|
|
31
|
+
}>, {
|
|
32
|
+
color: string;
|
|
33
|
+
rounded: string;
|
|
34
|
+
}>>> & {
|
|
35
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
36
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
37
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
38
|
+
onPointerdown?: ((...args: any[]) => any) | undefined;
|
|
39
|
+
onPointerup?: ((...args: any[]) => any) | undefined;
|
|
40
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
41
|
+
}, {
|
|
42
|
+
color: 'primary' | 'secondary' | 'tertiary' | 'error';
|
|
43
|
+
rounded: 'none' | 'sm' | 'md' | 'lg' | 'full' | string | number;
|
|
44
|
+
}, {}>;
|
|
45
|
+
export default _default;
|
|
46
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
47
|
+
type __VLS_TypePropsToRuntimeProps<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
|
+
};
|
|
55
|
+
type __VLS_WithDefaults<P, D> = {
|
|
56
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
57
|
+
default: D[K];
|
|
58
|
+
}> : P[K];
|
|
59
|
+
};
|
|
60
|
+
type __VLS_Prettify<T> = {
|
|
61
|
+
[K in keyof T]: T[K];
|
|
62
|
+
} & {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import Btn from './Btn.vue';
|
|
2
|
+
import Slider from './Slider.vue';
|
|
3
|
+
import Switch from './Switch.vue';
|
|
4
|
+
import RokuProvider from './RokuProvider.vue';
|
|
5
|
+
import Select from './Select.vue';
|
|
6
|
+
import TextField from './TextField.vue';
|
|
7
|
+
import Notification from './Notification.vue';
|
|
8
|
+
import Modal from './Modal.vue';
|
|
9
|
+
import NotificationSystem from './NotificationSystem.vue';
|
|
10
|
+
import PinInput from './PinInput.vue';
|
|
11
|
+
import Progress from './Progress.vue';
|
|
12
|
+
import Indicator from './Indicator.vue';
|
|
13
|
+
import Chip from './Chip.vue';
|
|
14
|
+
import Avatar from './Avatar.vue';
|
|
15
|
+
export { Avatar, Chip, Indicator, PinInput, Progress, NotificationSystem, Modal, Btn, RokuProvider, Slider, Switch, Select, TextField, Notification };
|
package/dist/index.d.ts
ADDED