@roku-ui/vue 0.8.1 → 0.8.3

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.
@@ -2,27 +2,42 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
2
2
  size?: string | number | undefined;
3
3
  rounded?: string | number | undefined;
4
4
  withBorder?: boolean | undefined;
5
+ loading?: boolean | undefined;
5
6
  is?: string | globalThis.Component | undefined;
7
+ color?: string | undefined;
8
+ traceAnimate?: boolean | undefined;
6
9
  }>, {
7
10
  size: string;
8
11
  rounded: string;
9
12
  withBorder: boolean;
10
13
  is: string;
14
+ loading: boolean;
15
+ color: string;
16
+ traceAnimate: boolean;
11
17
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
12
18
  size?: string | number | undefined;
13
19
  rounded?: string | number | undefined;
14
20
  withBorder?: boolean | undefined;
21
+ loading?: boolean | undefined;
15
22
  is?: string | globalThis.Component | undefined;
23
+ color?: string | undefined;
24
+ traceAnimate?: boolean | undefined;
16
25
  }>, {
17
26
  size: string;
18
27
  rounded: string;
19
28
  withBorder: boolean;
20
29
  is: string;
30
+ loading: boolean;
31
+ color: string;
32
+ traceAnimate: boolean;
21
33
  }>>>, {
22
34
  is: string | globalThis.Component;
23
35
  size: string | number;
36
+ color: string;
24
37
  rounded: string | number;
25
38
  withBorder: boolean;
39
+ loading: boolean;
40
+ traceAnimate: boolean;
26
41
  }, {}>, {
27
42
  default?(_: {}): any;
28
43
  }>;
@@ -0,0 +1,10 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{}>>, {}, {}>, {
2
+ default?(_: {}): any;
3
+ content?(_: {}): any;
4
+ }>;
5
+ export default _default;
6
+ type __VLS_WithTemplateSlots<T, S> = T & {
7
+ new (): {
8
+ $slots: S;
9
+ };
10
+ };
@@ -28,3 +28,4 @@ export { default as TabItem } from './TabItem.vue';
28
28
  export { default as Tabs } from './Tabs.vue';
29
29
  export { default as TextField } from './TextField.vue';
30
30
  export { default as ThemeProvider } from './ThemeProvider.vue';
31
+ export { default as Tooltip } from './Tooltip.vue';
@@ -0,0 +1,38 @@
1
+ import type { RemovableRef } from '@vueuse/core';
2
+ import type { MaybeRef } from 'vue';
3
+ import { type ThemeData } from '..';
4
+ export declare function useRootTheme(): globalThis.Ref<string | undefined>;
5
+ export declare function useCurrentThemeScheme(): globalThis.Ref<string> | null;
6
+ export declare function useCurrentThemeData(): globalThis.Ref<ThemeData>;
7
+ export declare function useCurrentThemeName(): globalThis.Ref<string>;
8
+ export declare function useThemeData(name: string, color: {
9
+ primary: MaybeRef<string>;
10
+ secondary: MaybeRef<string>;
11
+ tertiary: MaybeRef<string>;
12
+ error: MaybeRef<string>;
13
+ surface: MaybeRef<string>;
14
+ }, lightnessMap?: {
15
+ primary?: number[];
16
+ secondary?: number[];
17
+ tertiary?: number[];
18
+ error?: number[];
19
+ surface?: number[];
20
+ }): globalThis.ComputedRef<{
21
+ name: string;
22
+ colors: {
23
+ primary: import("..").ColorsTuple;
24
+ secondary: import("..").ColorsTuple;
25
+ tertiary: import("..").ColorsTuple;
26
+ error: import("..").ColorsTuple;
27
+ surface: import("..").ColorsTuple;
28
+ };
29
+ }>;
30
+ export declare function useThemeStyles(theme: ThemeData): {
31
+ 'background-color': string;
32
+ color: string;
33
+ };
34
+ export declare function useId(props: {
35
+ id?: string;
36
+ }): globalThis.Ref<string>;
37
+ export declare const schemeSymbol: unique symbol;
38
+ export declare function useSchemeString(): RemovableRef<string>;