@roku-ui/vue 0.26.0 → 0.28.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/dist/components/Avatar.vue.d.ts +2 -2
- package/dist/components/Btn.vue.d.ts +2 -2
- package/dist/components/Calendar.vue.d.ts +1 -1
- package/dist/components/CalendarInput.vue.d.ts +1 -1
- package/dist/components/ChatMessage.vue.d.ts +1 -1
- package/dist/components/ChatSystem.vue.d.ts +1 -1
- package/dist/components/Checkbox.vue.d.ts +1 -1
- package/dist/components/Chip.vue.d.ts +2 -2
- package/dist/components/ColorInput.vue.d.ts +1 -1
- package/dist/components/ColorSwatch.vue.d.ts +1 -1
- package/dist/components/Notification.vue.d.ts +1 -1
- package/dist/components/Paper.vue.d.ts +1 -1
- package/dist/components/PinInput.vue.d.ts +3 -3
- package/dist/components/Progress.vue.d.ts +10 -4
- package/dist/components/RokuProvider.vue.d.ts +2 -7
- package/dist/components/ScrollArea.vue.d.ts +1 -1
- package/dist/components/SelectArea.vue.d.ts +6 -1
- package/dist/components/Slider.vue.d.ts +2 -2
- package/dist/components/Step.vue.d.ts +48 -0
- package/dist/components/Switch.vue.d.ts +1 -1
- package/dist/components/Tag.vue.d.ts +3 -1
- package/dist/components/TextField.vue.d.ts +1 -1
- package/dist/components/ThemeProvider.vue.d.ts +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/composables/index.d.ts +8 -30
- package/dist/index.css +1 -1
- package/dist/index.js +7665 -5464
- package/dist/index.umd.cjs +4 -1
- package/dist/shared/button-styles.d.ts +4 -0
- package/dist/shared/color-system.d.ts +87 -0
- package/dist/shared/constants.d.ts +21 -0
- package/dist/shared/container-styles.d.ts +26 -0
- package/dist/shared/index.d.ts +6 -112
- package/dist/shared/tag-styles.d.ts +4 -0
- package/dist/shared/theme.d.ts +118 -0
- package/dist/test/demo/ComponentDefaultsDemo.vue.d.ts +2 -0
- package/dist/test/demo/ModernColorDemo.vue.d.ts +2 -0
- package/dist/test/demo/PartialColorsDemo.vue.d.ts +2 -0
- package/dist/test/demo/ProgressDemo.vue.d.ts +2 -0
- package/dist/test/demo/StepDemo.vue.d.ts +2 -0
- package/dist/test/demo/ThemeManagerDemo.vue.d.ts +2 -0
- package/dist/utils/index.d.ts +92 -5
- package/package.json +19 -20
- package/dist/utils/theme.d.ts +0 -22
|
@@ -23,10 +23,10 @@ declare function __VLS_template(): {
|
|
|
23
23
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
24
24
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
25
25
|
color: Color;
|
|
26
|
-
rounded: Rounded;
|
|
27
|
-
is: string | Component;
|
|
28
26
|
size: "sm" | "md" | "lg" | string | number;
|
|
29
27
|
variant: ContainerVariant;
|
|
28
|
+
rounded: Rounded;
|
|
29
|
+
is: string | Component;
|
|
30
30
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
31
31
|
img: unknown;
|
|
32
32
|
}, any>;
|
|
@@ -30,10 +30,10 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
|
30
30
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
31
31
|
type: "button" | "submit" | "reset";
|
|
32
32
|
icon: boolean;
|
|
33
|
-
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
34
|
-
is: string | Component;
|
|
35
33
|
size: "sm" | "md" | "lg";
|
|
34
|
+
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
36
35
|
pressEffect: "translate" | "scale";
|
|
36
|
+
is: string | Component;
|
|
37
37
|
disabled: boolean;
|
|
38
38
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
39
39
|
btn: unknown;
|
|
@@ -31,9 +31,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
31
31
|
animate: boolean;
|
|
32
32
|
mode: CalendarMode;
|
|
33
33
|
color: Color;
|
|
34
|
-
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
35
34
|
size: "sm" | "md" | "lg";
|
|
36
35
|
variant: "default" | "filled" | "light";
|
|
36
|
+
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
37
37
|
firstDayOfWeek: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
38
38
|
locale: string;
|
|
39
39
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
@@ -49,8 +49,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
49
49
|
}>, {
|
|
50
50
|
mode: CalendarMode;
|
|
51
51
|
color: Color;
|
|
52
|
-
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
53
52
|
size: "sm" | "md" | "lg";
|
|
53
|
+
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
54
54
|
firstDayOfWeek: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
55
55
|
locale: string;
|
|
56
56
|
dateFormat: string;
|
|
@@ -19,8 +19,8 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
|
19
19
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
20
20
|
color: string;
|
|
21
21
|
position: "left" | "right";
|
|
22
|
-
withBorder: boolean;
|
|
23
22
|
variant: ContainerVariant;
|
|
23
|
+
withBorder: boolean;
|
|
24
24
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
25
25
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
26
26
|
export default _default;
|
|
@@ -16,8 +16,8 @@ declare function __VLS_template(): {
|
|
|
16
16
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
17
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
18
18
|
color: Color;
|
|
19
|
-
withBorder: boolean;
|
|
20
19
|
variant: ContainerVariant;
|
|
20
|
+
withBorder: boolean;
|
|
21
21
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
22
22
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
23
|
export default _default;
|
|
@@ -24,8 +24,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
24
24
|
}>, {
|
|
25
25
|
animate: boolean;
|
|
26
26
|
color: Color;
|
|
27
|
-
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
28
27
|
size: "sm" | "md" | "lg";
|
|
28
|
+
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
29
29
|
indeterminate: boolean;
|
|
30
30
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
31
31
|
wrapperRef: HTMLDivElement;
|
|
@@ -20,10 +20,10 @@ declare function __VLS_template(): {
|
|
|
20
20
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
21
21
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
22
22
|
color: Color;
|
|
23
|
-
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
24
|
-
is: string | any;
|
|
25
23
|
size: "sm" | "md" | "lg" | string | number;
|
|
26
24
|
variant: ContainerVariant;
|
|
25
|
+
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
26
|
+
is: string | any;
|
|
27
27
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
28
28
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
29
29
|
export default _default;
|
|
@@ -35,8 +35,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
35
35
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
36
36
|
}>, {
|
|
37
37
|
color: "primary" | "secondary" | "tertiary" | "error";
|
|
38
|
-
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
39
38
|
size: "sm" | "md" | "lg";
|
|
39
|
+
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
40
40
|
format: "hex" | "rgb" | "hsl";
|
|
41
41
|
showSwatch: boolean;
|
|
42
42
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
@@ -5,7 +5,7 @@ type __VLS_Props = {
|
|
|
5
5
|
withBorder?: boolean;
|
|
6
6
|
};
|
|
7
7
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
8
|
-
withBorder: boolean;
|
|
9
8
|
is: string | Component;
|
|
9
|
+
withBorder: boolean;
|
|
10
10
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
11
|
export default _default;
|
|
@@ -33,8 +33,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
33
33
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
34
34
|
}>, {
|
|
35
35
|
color: string;
|
|
36
|
-
rounded: "sm" | "md" | "lg" | "none" | string | number;
|
|
37
36
|
size: Size;
|
|
37
|
+
rounded: "sm" | "md" | "lg" | "none" | string | number;
|
|
38
38
|
block: boolean;
|
|
39
39
|
total: number;
|
|
40
40
|
showLeftIndicator: boolean;
|
|
@@ -22,9 +22,9 @@ declare function __VLS_template(): {
|
|
|
22
22
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
23
23
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
24
24
|
color: Color;
|
|
25
|
-
withBorder: boolean;
|
|
26
25
|
rounded: Rounded;
|
|
27
26
|
is: string | Component;
|
|
27
|
+
withBorder: boolean;
|
|
28
28
|
loading: boolean;
|
|
29
29
|
traceAnimate: boolean;
|
|
30
30
|
noPadding: boolean;
|
|
@@ -67,8 +67,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
67
67
|
"update:modelValue": (value: string | number) => any;
|
|
68
68
|
}, string, {
|
|
69
69
|
color: "primary" | "secondary" | "tertiary" | "error";
|
|
70
|
-
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
71
70
|
size: "sm" | "md" | "lg";
|
|
71
|
+
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
72
72
|
visibleStart: number;
|
|
73
73
|
visibleEnd: number;
|
|
74
74
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
@@ -93,8 +93,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
93
93
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
94
94
|
} & Readonly<{
|
|
95
95
|
color: "primary" | "secondary" | "tertiary" | "error";
|
|
96
|
-
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
97
96
|
size: "sm" | "md" | "lg";
|
|
97
|
+
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
98
98
|
visibleStart: number;
|
|
99
99
|
visibleEnd: number;
|
|
100
100
|
}> & Omit<Readonly<{
|
|
@@ -115,7 +115,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
115
115
|
visibleEnd?: number;
|
|
116
116
|
}> & Readonly<{
|
|
117
117
|
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
118
|
-
}>, "el" | ("color" | "
|
|
118
|
+
}>, "el" | ("color" | "size" | "rounded" | "visibleStart" | "visibleEnd")> & import('vue').ShallowUnwrapRef<{
|
|
119
119
|
el: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
120
120
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
121
121
|
$slots: {
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { Color } from '../types';
|
|
2
|
+
interface ProgressSection {
|
|
3
|
+
value: number | string;
|
|
4
|
+
color?: Color;
|
|
5
|
+
}
|
|
2
6
|
type __VLS_Props = {
|
|
3
7
|
value?: number | string;
|
|
4
8
|
max?: number | string;
|
|
@@ -7,14 +11,16 @@ type __VLS_Props = {
|
|
|
7
11
|
color?: Color;
|
|
8
12
|
rounded?: 'none' | 'sm' | 'md' | 'lg' | 'full' | string | number;
|
|
9
13
|
loading?: boolean;
|
|
14
|
+
sections?: ProgressSection[];
|
|
10
15
|
};
|
|
11
16
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
12
17
|
color: Color;
|
|
13
|
-
|
|
14
|
-
|
|
18
|
+
min: number | string;
|
|
19
|
+
max: number | string;
|
|
15
20
|
size: "sm" | "md" | "lg";
|
|
21
|
+
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
22
|
+
value: number | string;
|
|
16
23
|
loading: boolean;
|
|
17
|
-
|
|
18
|
-
min: number | string;
|
|
24
|
+
sections: ProgressSection[];
|
|
19
25
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
20
26
|
export default _default;
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import { Component } from 'vue';
|
|
2
|
-
import {
|
|
3
|
-
import { ThemeData } from '../utils';
|
|
2
|
+
import { ThemeData } from '../shared';
|
|
4
3
|
type __VLS_Props = {
|
|
5
4
|
is?: string | Component;
|
|
6
|
-
|
|
7
|
-
themes?: Record<string, ThemeData>;
|
|
8
|
-
themeObj?: Partial<Theme>;
|
|
5
|
+
themeObj?: Partial<ThemeData>;
|
|
9
6
|
};
|
|
10
7
|
declare function __VLS_template(): {
|
|
11
8
|
attrs: Partial<{}>;
|
|
@@ -20,8 +17,6 @@ declare function __VLS_template(): {
|
|
|
20
17
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
21
18
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
22
19
|
is: string | Component;
|
|
23
|
-
theme: string;
|
|
24
|
-
themes: Record<string, ThemeData>;
|
|
25
20
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
26
21
|
wrapperRef: unknown;
|
|
27
22
|
}, any>;
|
|
@@ -21,10 +21,10 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
|
21
21
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
22
22
|
$el: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
23
23
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
24
|
+
capture: boolean;
|
|
24
25
|
barWidth: number;
|
|
25
26
|
threshold: number;
|
|
26
27
|
stopPropagation: boolean;
|
|
27
|
-
capture: boolean;
|
|
28
28
|
minBarHeight: number;
|
|
29
29
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
30
30
|
scrollBarIndicatorRef: HTMLDivElement;
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
-
import { Area } from '../types';
|
|
2
1
|
type __VLS_Props = {
|
|
3
2
|
target?: HTMLElement | null;
|
|
4
3
|
};
|
|
4
|
+
export interface Area {
|
|
5
|
+
left: number;
|
|
6
|
+
top: number;
|
|
7
|
+
right: number;
|
|
8
|
+
bottom: number;
|
|
9
|
+
}
|
|
5
10
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
11
|
selectStart: (args_0: {
|
|
7
12
|
target: EventTarget | null;
|
|
@@ -24,9 +24,9 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
24
24
|
reverse: boolean;
|
|
25
25
|
animate: boolean;
|
|
26
26
|
color: string;
|
|
27
|
-
size: "sm" | "md" | "lg";
|
|
28
|
-
max: number;
|
|
29
27
|
min: number;
|
|
28
|
+
max: number;
|
|
29
|
+
size: "sm" | "md" | "lg";
|
|
30
30
|
step: number;
|
|
31
31
|
minWidth: number;
|
|
32
32
|
alignTicksToStep: boolean;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { Color } from '../types';
|
|
2
|
+
export interface StepItem {
|
|
3
|
+
title: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
icon?: string;
|
|
6
|
+
status?: 'wait' | 'process' | 'finish' | 'error';
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
type __VLS_Props = {
|
|
10
|
+
modelValue?: number;
|
|
11
|
+
items: StepItem[];
|
|
12
|
+
direction?: 'horizontal' | 'vertical';
|
|
13
|
+
size?: 'sm' | 'md' | 'lg';
|
|
14
|
+
color?: Color;
|
|
15
|
+
type?: 'default' | 'navigation' | 'dot' | 'simple';
|
|
16
|
+
clickable?: boolean;
|
|
17
|
+
linear?: boolean;
|
|
18
|
+
showDescription?: boolean;
|
|
19
|
+
alternativeLabel?: boolean;
|
|
20
|
+
responsive?: boolean;
|
|
21
|
+
progressDot?: boolean;
|
|
22
|
+
labelPlacement?: 'horizontal' | 'vertical';
|
|
23
|
+
};
|
|
24
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
25
|
+
"update:modelValue": (value: number) => any;
|
|
26
|
+
click: (index: number) => any;
|
|
27
|
+
change: (current: number, previous: number) => any;
|
|
28
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
29
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
30
|
+
onClick?: ((index: number) => any) | undefined;
|
|
31
|
+
onChange?: ((current: number, previous: number) => any) | undefined;
|
|
32
|
+
}>, {
|
|
33
|
+
type: "default" | "navigation" | "dot" | "simple";
|
|
34
|
+
color: Color;
|
|
35
|
+
direction: "horizontal" | "vertical";
|
|
36
|
+
size: "sm" | "md" | "lg";
|
|
37
|
+
modelValue: number;
|
|
38
|
+
clickable: boolean;
|
|
39
|
+
linear: boolean;
|
|
40
|
+
showDescription: boolean;
|
|
41
|
+
alternativeLabel: boolean;
|
|
42
|
+
responsive: boolean;
|
|
43
|
+
progressDot: boolean;
|
|
44
|
+
labelPlacement: "horizontal" | "vertical";
|
|
45
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
46
|
+
stepRef: HTMLDivElement;
|
|
47
|
+
}, HTMLDivElement>;
|
|
48
|
+
export default _default;
|
|
@@ -27,8 +27,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
27
27
|
}>, {
|
|
28
28
|
animate: boolean;
|
|
29
29
|
color: Color;
|
|
30
|
-
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
31
30
|
size: "sm" | "md" | "lg";
|
|
31
|
+
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
32
32
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
33
33
|
wrapperRef: HTMLDivElement;
|
|
34
34
|
wrapper: HTMLDivElement;
|
|
@@ -21,8 +21,10 @@ declare function __VLS_template(): {
|
|
|
21
21
|
};
|
|
22
22
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
23
23
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
24
|
-
|
|
24
|
+
color: string;
|
|
25
|
+
size: "sm" | "md" | "lg";
|
|
25
26
|
variant: BtnVariant;
|
|
27
|
+
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
26
28
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
27
29
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
28
30
|
export default _default;
|
|
@@ -37,8 +37,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
37
37
|
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
38
38
|
}>, {
|
|
39
39
|
color: "primary" | "secondary" | "tertiary" | "error";
|
|
40
|
-
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
41
40
|
size: "sm" | "md" | "lg";
|
|
41
|
+
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
42
42
|
visibleStart: number;
|
|
43
43
|
visibleEnd: number;
|
|
44
44
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
@@ -36,6 +36,7 @@ export { default as ScrollArea } from './ScrollArea.vue';
|
|
|
36
36
|
export { default as Select } from './Select.vue';
|
|
37
37
|
export { default as SelectArea } from './SelectArea.vue';
|
|
38
38
|
export { default as Slider } from './Slider.vue';
|
|
39
|
+
export { default as Step } from './Step.vue';
|
|
39
40
|
export { default as Switch } from './Switch.vue';
|
|
40
41
|
export { default as TabItem } from './TabItem.vue';
|
|
41
42
|
export { default as Tabs } from './Tabs.vue';
|
|
@@ -1,42 +1,20 @@
|
|
|
1
1
|
import { RemovableRef } from '@vueuse/core';
|
|
2
|
-
|
|
3
|
-
import { ThemeData } from '..';
|
|
2
|
+
export { generateEditorFriendlyColors, generateOKLCHString } from '../utils';
|
|
4
3
|
export * from './dom';
|
|
5
4
|
export declare const COLOR_LIGHTNESS_MAP: number[];
|
|
6
5
|
export declare const SURFACE_LIGHTNESS_MAP: number[];
|
|
7
|
-
export declare function
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
secondary: MaybeRef<string>;
|
|
14
|
-
tertiary: MaybeRef<string>;
|
|
15
|
-
error: MaybeRef<string>;
|
|
16
|
-
surface: MaybeRef<string>;
|
|
17
|
-
}, lightnessMap?: {
|
|
18
|
-
primary?: number[];
|
|
19
|
-
secondary?: number[];
|
|
20
|
-
tertiary?: number[];
|
|
21
|
-
error?: number[];
|
|
22
|
-
surface?: number[];
|
|
23
|
-
}): import('vue').ComputedRef<{
|
|
24
|
-
name: string;
|
|
25
|
-
colors: {
|
|
26
|
-
primary: import('..').ColorsTuple;
|
|
27
|
-
secondary: import('..').ColorsTuple;
|
|
28
|
-
tertiary: import('..').ColorsTuple;
|
|
29
|
-
error: import('..').ColorsTuple;
|
|
30
|
-
surface: import('..').ColorsTuple;
|
|
31
|
-
};
|
|
32
|
-
}>;
|
|
33
|
-
export declare function useThemeStyles(theme: ThemeData): {
|
|
6
|
+
export declare function useThemeStyles(theme: import('../shared').ThemeData): {
|
|
7
|
+
backgroundColor: string;
|
|
8
|
+
color: string;
|
|
9
|
+
'--un-default-border-color': string;
|
|
10
|
+
};
|
|
11
|
+
export declare function useEditorFriendlyThemeStyles(theme: import('../shared').ThemeData): {
|
|
34
12
|
backgroundColor: string;
|
|
35
13
|
color: string;
|
|
36
14
|
'--un-default-border-color': string;
|
|
37
15
|
};
|
|
38
16
|
export declare function useId(props: {
|
|
39
17
|
id?: string;
|
|
40
|
-
}): Ref<string, string>;
|
|
18
|
+
}): import('vue').Ref<string, string>;
|
|
41
19
|
export declare const schemeSymbol: unique symbol;
|
|
42
20
|
export declare function useSchemeString(): RemovableRef<string>;
|