@roku-ui/vue 0.7.0 → 0.7.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/AspectRatio.vue.d.ts +44 -0
- package/dist/components/Avatar.vue.d.ts +41 -0
- package/dist/components/Btn.vue.d.ts +77 -0
- 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 +61 -0
- 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 +49 -0
- package/dist/components/Modal.vue.d.ts +32 -0
- package/dist/components/Notification.vue.d.ts +66 -0
- package/dist/components/NotificationSystem.vue.d.ts +2 -0
- package/dist/components/Overlay.vue.d.ts +52 -0
- package/dist/components/Paper.vue.d.ts +51 -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/SchemeSwitch.vue.d.ts +2 -0
- package/dist/components/Select.vue.d.ts +60 -0
- package/dist/components/Slider.vue.d.ts +88 -0
- package/dist/components/Switch.vue.d.ts +85 -0
- package/dist/components/TabItem.vue.d.ts +38 -0
- package/dist/components/Tabs.vue.d.ts +29 -0
- package/dist/components/TextField.vue.d.ts +66 -0
- package/dist/components/ThemeProvider.vue.d.ts +23 -0
- package/dist/components/index.d.ts +30 -0
- package/dist/composables/index.d.ts +64 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +3217 -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 +1 -0
- package/dist/utils/classGenerator.d.ts +6 -0
- package/dist/utils/index.d.ts +23 -0
- package/dist/utils/notifications.d.ts +12 -0
- package/dist/utils/symbols.d.ts +2 -0
- package/dist/utils/theme.d.ts +35 -0
- package/package.json +13 -12
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { ThemeData } from '..';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
theme: ThemeData;
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
theme: ThemeData;
|
|
6
|
+
}>>>, {}, {}>, {
|
|
7
|
+
default?(_: {}): any;
|
|
8
|
+
}>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
12
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
|
+
} : {
|
|
15
|
+
type: import('vue').PropType<T[K]>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
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 TabItem } from './TabItem.vue';
|
|
28
|
+
export { default as Tabs } from './Tabs.vue';
|
|
29
|
+
export { default as TextField } from './TextField.vue';
|
|
30
|
+
export { default as ThemeProvider } from './ThemeProvider.vue';
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { type ThemeData } from '..';
|
|
2
|
+
export declare function useRootTheme(): globalThis.Ref<string | undefined>;
|
|
3
|
+
export declare function useCurrentThemeScheme(): globalThis.Ref<string> | null;
|
|
4
|
+
export declare function useCurrentTheme(): globalThis.Ref<ThemeData>;
|
|
5
|
+
export declare function useThemeStyles(theme: ThemeData, root?: boolean): {
|
|
6
|
+
colorScheme?: undefined;
|
|
7
|
+
'--r-color-surface-on'?: undefined;
|
|
8
|
+
'--r-color-surface-oninverted'?: undefined;
|
|
9
|
+
'--r-color-surface-onlow'?: undefined;
|
|
10
|
+
'--r-color-surface-onlowinverted'?: undefined;
|
|
11
|
+
'--r-color-surface-lowest'?: undefined;
|
|
12
|
+
'--r-color-surface-low'?: undefined;
|
|
13
|
+
'--r-color-surface-base'?: undefined;
|
|
14
|
+
'--r-color-surface-high'?: undefined;
|
|
15
|
+
'--r-color-surface-highest'?: undefined;
|
|
16
|
+
'--r-color-surface-border'?: undefined;
|
|
17
|
+
'--r-color-primary-container'?: undefined;
|
|
18
|
+
'--r-color-secondary-container'?: undefined;
|
|
19
|
+
'--r-color-tertiary-container'?: undefined;
|
|
20
|
+
'--r-color-error-container'?: undefined;
|
|
21
|
+
'--r-color-primary-containerd'?: undefined;
|
|
22
|
+
'--r-color-secondary-containerd'?: undefined;
|
|
23
|
+
'--r-color-tertiary-containerd'?: undefined;
|
|
24
|
+
'--r-color-error-containerd'?: undefined;
|
|
25
|
+
'--r-color-primary-containerl'?: undefined;
|
|
26
|
+
'--r-color-secondary-containerl'?: undefined;
|
|
27
|
+
'--r-color-tertiary-containerl'?: undefined;
|
|
28
|
+
'--r-color-error-containerl'?: undefined;
|
|
29
|
+
'font-family': string;
|
|
30
|
+
'background-color': string;
|
|
31
|
+
color: string;
|
|
32
|
+
} | {
|
|
33
|
+
colorScheme: string;
|
|
34
|
+
'--r-color-surface-on': string;
|
|
35
|
+
'--r-color-surface-oninverted': string;
|
|
36
|
+
'--r-color-surface-onlow': string;
|
|
37
|
+
'--r-color-surface-onlowinverted': string;
|
|
38
|
+
'--r-color-surface-lowest': string;
|
|
39
|
+
'--r-color-surface-low': string;
|
|
40
|
+
'--r-color-surface-base': string;
|
|
41
|
+
'--r-color-surface-high': string;
|
|
42
|
+
'--r-color-surface-highest': string;
|
|
43
|
+
'--r-color-surface-border': string;
|
|
44
|
+
'--r-color-primary-container': string;
|
|
45
|
+
'--r-color-secondary-container': string;
|
|
46
|
+
'--r-color-tertiary-container': string;
|
|
47
|
+
'--r-color-error-container': string;
|
|
48
|
+
'--r-color-primary-containerd': string;
|
|
49
|
+
'--r-color-secondary-containerd': string;
|
|
50
|
+
'--r-color-tertiary-containerd': string;
|
|
51
|
+
'--r-color-error-containerd': string;
|
|
52
|
+
'--r-color-primary-containerl': string;
|
|
53
|
+
'--r-color-secondary-containerl': string;
|
|
54
|
+
'--r-color-tertiary-containerl': string;
|
|
55
|
+
'--r-color-error-containerl': string;
|
|
56
|
+
'font-family': string;
|
|
57
|
+
'background-color': string;
|
|
58
|
+
color: string;
|
|
59
|
+
};
|
|
60
|
+
export declare function useId(props: {
|
|
61
|
+
id?: string;
|
|
62
|
+
}): globalThis.Ref<string>;
|
|
63
|
+
export declare const schemeSymbol: unique symbol;
|
|
64
|
+
export declare function useScheme(): globalThis.Ref<string | undefined>;
|
package/dist/index.d.ts
ADDED