@rotki/ui-library 1.2.6 → 1.2.8
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/{RuiNavigationDrawer-BOo7P6GM.js → RuiNavigationDrawer-BILenGNB.js} +2316 -2314
- package/dist/components/forms/radio-button/radio/RuiRadio.vue.d.ts +20 -61
- package/dist/components/forms/radio-button/radio-group/RuiRadioGroup.vue.d.ts +17 -54
- package/dist/components/forms/revealable-text-field/RuiRevealableTextField.vue.d.ts +0 -1
- package/dist/components/forms/text-field/RuiTextField.vue.d.ts +6 -6
- package/dist/components/index.es.js +1 -1
- package/dist/components/overlays/menu/RuiMenu.vue.d.ts +1 -1
- package/dist/index.es.js +2 -2
- package/dist/style.css +1 -1
- package/dist/web-types.json +62 -75
- package/package.json +36 -36
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import type { ContextColorsType } from '../../../../consts/colors';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
value: ModelValue;
|
|
5
|
-
modelValue?: ModelValue;
|
|
2
|
+
export interface RadioProps<TValue> {
|
|
3
|
+
value: TValue;
|
|
6
4
|
disabled?: boolean;
|
|
7
5
|
color?: ContextColorsType;
|
|
8
6
|
size?: 'sm' | 'lg';
|
|
@@ -12,65 +10,26 @@ export interface RadioProps {
|
|
|
12
10
|
successMessages?: string | string[];
|
|
13
11
|
hideDetails?: boolean;
|
|
14
12
|
}
|
|
15
|
-
declare
|
|
16
|
-
|
|
13
|
+
declare const _default: <TValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
14
|
+
props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
|
|
15
|
+
"onUpdate:modelValue"?: ((modelValue: TValue) => any) | undefined;
|
|
16
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<globalThis.ExtractPropTypes<{}>> & {
|
|
17
|
+
"onUpdate:modelValue"?: ((modelValue: TValue) => any) | undefined;
|
|
18
|
+
}, never>, "onUpdate:modelValue"> & ({
|
|
19
|
+
modelValue?: TValue;
|
|
20
|
+
} & RadioProps<TValue>)> & import("vue").PublicProps;
|
|
21
|
+
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
22
|
+
attrs: any;
|
|
23
|
+
slots: ReturnType<() => {
|
|
24
|
+
default?(_: {}): any;
|
|
25
|
+
}>;
|
|
26
|
+
emit: (evt: "update:modelValue", modelValue: TValue) => void;
|
|
27
|
+
}>) => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
}> & {
|
|
30
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
17
31
|
};
|
|
18
|
-
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<RadioProps>, {
|
|
19
|
-
modelValue: string;
|
|
20
|
-
disabled: boolean;
|
|
21
|
-
color: undefined;
|
|
22
|
-
size: undefined;
|
|
23
|
-
label: string;
|
|
24
|
-
hint: string;
|
|
25
|
-
errorMessages: () => never[];
|
|
26
|
-
successMessages: () => never[];
|
|
27
|
-
hideDetails: boolean;
|
|
28
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
29
|
-
"update:modelValue": (modelValue: ModelValue) => void;
|
|
30
|
-
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<RadioProps>, {
|
|
31
|
-
modelValue: string;
|
|
32
|
-
disabled: boolean;
|
|
33
|
-
color: undefined;
|
|
34
|
-
size: undefined;
|
|
35
|
-
label: string;
|
|
36
|
-
hint: string;
|
|
37
|
-
errorMessages: () => never[];
|
|
38
|
-
successMessages: () => never[];
|
|
39
|
-
hideDetails: boolean;
|
|
40
|
-
}>>> & {
|
|
41
|
-
"onUpdate:modelValue"?: ((modelValue: ModelValue) => any) | undefined;
|
|
42
|
-
}, {
|
|
43
|
-
size: "sm" | "lg";
|
|
44
|
-
color: ContextColorsType;
|
|
45
|
-
label: string;
|
|
46
|
-
disabled: boolean;
|
|
47
|
-
modelValue: ModelValue;
|
|
48
|
-
errorMessages: string | string[];
|
|
49
|
-
successMessages: string | string[];
|
|
50
|
-
hint: string;
|
|
51
|
-
hideDetails: boolean;
|
|
52
|
-
}, {}>;
|
|
53
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
54
32
|
export default _default;
|
|
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
33
|
type __VLS_Prettify<T> = {
|
|
61
34
|
[K in keyof T]: T[K];
|
|
62
35
|
} & {};
|
|
63
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
64
|
-
new (): {
|
|
65
|
-
$slots: S;
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
69
|
-
type __VLS_TypePropsToOption<T> = {
|
|
70
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
71
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
72
|
-
} : {
|
|
73
|
-
type: import('vue').PropType<T[K]>;
|
|
74
|
-
required: true;
|
|
75
|
-
};
|
|
76
|
-
};
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import type { ContextColorsType } from '../../../../consts/colors';
|
|
2
|
-
type ModelValue = string | number | boolean;
|
|
3
2
|
export interface Props {
|
|
4
|
-
modelValue?: ModelValue;
|
|
5
3
|
inline?: boolean;
|
|
6
4
|
label?: string;
|
|
7
5
|
hint?: string;
|
|
@@ -12,59 +10,24 @@ export interface Props {
|
|
|
12
10
|
color?: ContextColorsType;
|
|
13
11
|
size?: 'sm' | 'lg';
|
|
14
12
|
}
|
|
15
|
-
declare const _default:
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
label: string;
|
|
32
|
-
hint: string;
|
|
33
|
-
errorMessages: () => never[];
|
|
34
|
-
successMessages: () => never[];
|
|
35
|
-
hideDetails: boolean;
|
|
36
|
-
disabled: boolean;
|
|
37
|
-
color: undefined;
|
|
38
|
-
size: undefined;
|
|
39
|
-
}>>> & {
|
|
40
|
-
"onUpdate:modelValue"?: ((value: ModelValue) => any) | undefined;
|
|
41
|
-
}, {
|
|
42
|
-
size: "sm" | "lg";
|
|
43
|
-
color: ContextColorsType;
|
|
44
|
-
label: string;
|
|
45
|
-
disabled: boolean;
|
|
46
|
-
modelValue: ModelValue;
|
|
47
|
-
inline: boolean;
|
|
48
|
-
errorMessages: string | string[];
|
|
49
|
-
successMessages: string | string[];
|
|
50
|
-
hint: string;
|
|
51
|
-
hideDetails: boolean;
|
|
52
|
-
}, {}>;
|
|
53
|
-
export default _default;
|
|
54
|
-
type __VLS_WithDefaults<P, D> = {
|
|
55
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
56
|
-
default: D[K];
|
|
57
|
-
}> : P[K];
|
|
13
|
+
declare const _default: <TValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
14
|
+
props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
|
|
15
|
+
"onUpdate:modelValue"?: ((modelValue: TValue) => any) | undefined;
|
|
16
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<globalThis.ExtractPropTypes<{}>> & {
|
|
17
|
+
"onUpdate:modelValue"?: ((modelValue: TValue) => any) | undefined;
|
|
18
|
+
}, never>, "onUpdate:modelValue"> & ({
|
|
19
|
+
modelValue?: TValue;
|
|
20
|
+
} & Props)> & import("vue").PublicProps;
|
|
21
|
+
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
22
|
+
attrs: any;
|
|
23
|
+
slots: ReturnType<() => {}>;
|
|
24
|
+
emit: (evt: "update:modelValue", modelValue: TValue) => void;
|
|
25
|
+
}>) => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
26
|
+
[key: string]: any;
|
|
27
|
+
}> & {
|
|
28
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
58
29
|
};
|
|
30
|
+
export default _default;
|
|
59
31
|
type __VLS_Prettify<T> = {
|
|
60
32
|
[K in keyof T]: T[K];
|
|
61
33
|
} & {};
|
|
62
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
63
|
-
type __VLS_TypePropsToOption<T> = {
|
|
64
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
65
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
66
|
-
} : {
|
|
67
|
-
type: import('vue').PropType<T[K]>;
|
|
68
|
-
required: true;
|
|
69
|
-
};
|
|
70
|
-
};
|
|
@@ -47,7 +47,6 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
|
|
|
47
47
|
label: string;
|
|
48
48
|
variant: "default" | "filled" | "outlined";
|
|
49
49
|
disabled: boolean;
|
|
50
|
-
modelValue: string;
|
|
51
50
|
textColor: import("../../..").ContextColorsType;
|
|
52
51
|
dense: boolean;
|
|
53
52
|
errorMessages: string | string[];
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { ContextColorsType } from '../../../consts/colors';
|
|
2
2
|
import type { RuiIcons } from '../../../icons';
|
|
3
3
|
export interface TextFieldProps {
|
|
4
|
-
modelValue?: string;
|
|
5
4
|
label?: string;
|
|
6
5
|
placeholder?: string;
|
|
7
6
|
disabled?: boolean;
|
|
@@ -19,12 +18,15 @@ export interface TextFieldProps {
|
|
|
19
18
|
readonly?: boolean;
|
|
20
19
|
clearable?: boolean;
|
|
21
20
|
}
|
|
21
|
+
declare let __VLS_typeProps: TextFieldProps;
|
|
22
|
+
type __VLS_PublicProps = {
|
|
23
|
+
modelValue: string;
|
|
24
|
+
} & typeof __VLS_typeProps;
|
|
22
25
|
declare function __VLS_template(): {
|
|
23
26
|
prepend?(_: {}): any;
|
|
24
27
|
append?(_: {}): any;
|
|
25
28
|
};
|
|
26
|
-
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<
|
|
27
|
-
modelValue: string;
|
|
29
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
28
30
|
label: string;
|
|
29
31
|
placeholder: string;
|
|
30
32
|
disabled: boolean;
|
|
@@ -47,8 +49,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
|
|
|
47
49
|
blur: (event: Event) => void;
|
|
48
50
|
remove: (value: unknown) => void;
|
|
49
51
|
clear: () => void;
|
|
50
|
-
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<
|
|
51
|
-
modelValue: string;
|
|
52
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
52
53
|
label: string;
|
|
53
54
|
placeholder: string;
|
|
54
55
|
disabled: boolean;
|
|
@@ -77,7 +78,6 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
|
|
|
77
78
|
label: string;
|
|
78
79
|
variant: "default" | "filled" | "outlined";
|
|
79
80
|
disabled: boolean;
|
|
80
|
-
modelValue: string;
|
|
81
81
|
textColor: ContextColorsType;
|
|
82
82
|
dense: boolean;
|
|
83
83
|
errorMessages: string | string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { I as u, H as s, R as e, a as R, b as o, J as t, c as r, d as l, u as d, v as n, e as p, f as c, K as T, r as b, t as S, D as g, g as m, h as x, _ as C, q as A, F as h, L as B, M as D, i as k, j as v, k as w, l as F, s as I, B as f, G, m as L, n as M, x as P, z as E, y as H, A as N, E as j, w as q, C as y, o as z, p as J } from "../RuiNavigationDrawer-
|
|
1
|
+
import { I as u, H as s, R as e, a as R, b as o, J as t, c as r, d as l, u as d, v as n, e as p, f as c, K as T, r as b, t as S, D as g, g as m, h as x, _ as C, q as A, F as h, L as B, M as D, i as k, j as v, k as w, l as F, s as I, B as f, G, m as L, n as M, x as P, z as E, y as H, A as N, E as j, w as q, C as y, o as z, p as J } from "../RuiNavigationDrawer-BILenGNB.js";
|
|
2
2
|
export {
|
|
3
3
|
u as RuiAccordion,
|
|
4
4
|
s as RuiAccordions,
|
|
@@ -36,7 +36,7 @@ declare function __VLS_template(): {
|
|
|
36
36
|
hasSuccess: boolean;
|
|
37
37
|
}): any;
|
|
38
38
|
default?(_: {
|
|
39
|
-
width:
|
|
39
|
+
width: any;
|
|
40
40
|
}): any;
|
|
41
41
|
};
|
|
42
42
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<MenuProps>, {
|
package/dist/index.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { u as a, a as r } from "./index-DIN-6VhY.js";
|
|
2
2
|
import { T as C } from "./index-DIN-6VhY.js";
|
|
3
|
-
import { N as F, T as L } from "./RuiNavigationDrawer-
|
|
4
|
-
import { I as S, H as g, R as m, a as k, b as B, J as w, c as f, d as P, u as y, v as D, e as M, f as b, K as A, r as T, t as x, D as H, g as U, h as E, _ as v, q as G, F as I, L as W, M as V, i as O, j as N, k as z, l as K, s as q, B as Q, G as j, m as Z, n as X, x as J, z as Y, y as _, A as $, E as ii, w as li, C as ei, o as Ri, p as ni, S as oi } from "./RuiNavigationDrawer-
|
|
3
|
+
import { N as F, T as L } from "./RuiNavigationDrawer-BILenGNB.js";
|
|
4
|
+
import { I as S, H as g, R as m, a as k, b as B, J as w, c as f, d as P, u as y, v as D, e as M, f as b, K as A, r as T, t as x, D as H, g as U, h as E, _ as v, q as G, F as I, L as W, M as V, i as O, j as N, k as z, l as K, s as q, B as Q, G as j, m as Z, n as X, x as J, z as Y, y as _, A as $, E as ii, w as li, C as ei, o as Ri, p as ni, S as oi } from "./RuiNavigationDrawer-BILenGNB.js";
|
|
5
5
|
import { u as ri } from "./breakpoint-sPlgsoXp.js";
|
|
6
6
|
import { RuiIcons as Li, isRuiIcon as ti } from "./icons/index.es.js";
|
|
7
7
|
import { c as di } from "./colors-D563Ic3q.js";
|