@rotki/ui-library 1.2.5 → 1.2.6
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-D0k1GeK3.js → RuiNavigationDrawer-BOo7P6GM.js} +3 -3
- package/dist/components/forms/radio-button/radio/RuiRadio.vue.d.ts +6 -5
- package/dist/components/forms/radio-button/radio-group/RuiRadioGroup.vue.d.ts +5 -4
- package/dist/components/index.es.js +1 -1
- package/dist/index.es.js +2 -2
- package/dist/web-types.json +6 -6
- package/package.json +1 -1
|
@@ -3999,7 +3999,7 @@ const yp = {
|
|
|
3999
3999
|
inheritAttrs: !1,
|
|
4000
4000
|
__name: "RuiRadioGroup",
|
|
4001
4001
|
props: {
|
|
4002
|
-
modelValue: { default: "" },
|
|
4002
|
+
modelValue: { type: [String, Number, Boolean], default: "" },
|
|
4003
4003
|
inline: { type: Boolean, default: !1 },
|
|
4004
4004
|
label: { default: "" },
|
|
4005
4005
|
hint: { default: "" },
|
|
@@ -4051,8 +4051,8 @@ const yp = {
|
|
|
4051
4051
|
inheritAttrs: !1,
|
|
4052
4052
|
__name: "RuiRadio",
|
|
4053
4053
|
props: {
|
|
4054
|
-
value: {},
|
|
4055
|
-
modelValue: { default: "" },
|
|
4054
|
+
value: { type: [String, Number, Boolean] },
|
|
4055
|
+
modelValue: { type: [String, Number, Boolean], default: "" },
|
|
4056
4056
|
disabled: { type: Boolean, default: !1 },
|
|
4057
4057
|
color: { default: void 0 },
|
|
4058
4058
|
size: { default: void 0 },
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { ContextColorsType } from '../../../../consts/colors';
|
|
2
|
+
type ModelValue = string | number | boolean;
|
|
2
3
|
export interface RadioProps {
|
|
3
|
-
value:
|
|
4
|
-
modelValue?:
|
|
4
|
+
value: ModelValue;
|
|
5
|
+
modelValue?: ModelValue;
|
|
5
6
|
disabled?: boolean;
|
|
6
7
|
color?: ContextColorsType;
|
|
7
8
|
size?: 'sm' | 'lg';
|
|
@@ -25,7 +26,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
|
|
|
25
26
|
successMessages: () => never[];
|
|
26
27
|
hideDetails: boolean;
|
|
27
28
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
|
-
"update:modelValue": (modelValue:
|
|
29
|
+
"update:modelValue": (modelValue: ModelValue) => void;
|
|
29
30
|
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<RadioProps>, {
|
|
30
31
|
modelValue: string;
|
|
31
32
|
disabled: boolean;
|
|
@@ -37,13 +38,13 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
|
|
|
37
38
|
successMessages: () => never[];
|
|
38
39
|
hideDetails: boolean;
|
|
39
40
|
}>>> & {
|
|
40
|
-
"onUpdate:modelValue"?: ((modelValue:
|
|
41
|
+
"onUpdate:modelValue"?: ((modelValue: ModelValue) => any) | undefined;
|
|
41
42
|
}, {
|
|
42
43
|
size: "sm" | "lg";
|
|
43
44
|
color: ContextColorsType;
|
|
44
45
|
label: string;
|
|
45
46
|
disabled: boolean;
|
|
46
|
-
modelValue:
|
|
47
|
+
modelValue: ModelValue;
|
|
47
48
|
errorMessages: string | string[];
|
|
48
49
|
successMessages: string | string[];
|
|
49
50
|
hint: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ContextColorsType } from '../../../../consts/colors';
|
|
2
|
+
type ModelValue = string | number | boolean;
|
|
2
3
|
export interface Props {
|
|
3
|
-
modelValue?:
|
|
4
|
+
modelValue?: ModelValue;
|
|
4
5
|
inline?: boolean;
|
|
5
6
|
label?: string;
|
|
6
7
|
hint?: string;
|
|
@@ -23,7 +24,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
23
24
|
color: undefined;
|
|
24
25
|
size: undefined;
|
|
25
26
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
26
|
-
"update:modelValue": (value:
|
|
27
|
+
"update:modelValue": (value: ModelValue) => void;
|
|
27
28
|
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
28
29
|
modelValue: string;
|
|
29
30
|
inline: boolean;
|
|
@@ -36,13 +37,13 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
36
37
|
color: undefined;
|
|
37
38
|
size: undefined;
|
|
38
39
|
}>>> & {
|
|
39
|
-
"onUpdate:modelValue"?: ((value:
|
|
40
|
+
"onUpdate:modelValue"?: ((value: ModelValue) => any) | undefined;
|
|
40
41
|
}, {
|
|
41
42
|
size: "sm" | "lg";
|
|
42
43
|
color: ContextColorsType;
|
|
43
44
|
label: string;
|
|
44
45
|
disabled: boolean;
|
|
45
|
-
modelValue:
|
|
46
|
+
modelValue: ModelValue;
|
|
46
47
|
inline: boolean;
|
|
47
48
|
errorMessages: string | string[];
|
|
48
49
|
successMessages: 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-BOo7P6GM.js";
|
|
2
2
|
export {
|
|
3
3
|
u as RuiAccordion,
|
|
4
4
|
s as RuiAccordions,
|
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-BOo7P6GM.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-BOo7P6GM.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";
|
package/dist/web-types.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "http://json.schemastore.org/web-types",
|
|
3
3
|
"framework": "vue",
|
|
4
4
|
"name": "@rotki/ui-library",
|
|
5
|
-
"version": "1.2.
|
|
5
|
+
"version": "1.2.6",
|
|
6
6
|
"js-types-syntax": "typescript",
|
|
7
7
|
"description-markup": "markdown",
|
|
8
8
|
"contributions": {
|
|
@@ -5600,7 +5600,7 @@
|
|
|
5600
5600
|
"default": "''",
|
|
5601
5601
|
"value": {
|
|
5602
5602
|
"kind": "expression",
|
|
5603
|
-
"type": "
|
|
5603
|
+
"type": "ModelValue | undefined"
|
|
5604
5604
|
}
|
|
5605
5605
|
},
|
|
5606
5606
|
{
|
|
@@ -5659,7 +5659,7 @@
|
|
|
5659
5659
|
"required": true,
|
|
5660
5660
|
"value": {
|
|
5661
5661
|
"kind": "expression",
|
|
5662
|
-
"type": "
|
|
5662
|
+
"type": "ModelValue"
|
|
5663
5663
|
}
|
|
5664
5664
|
}
|
|
5665
5665
|
],
|
|
@@ -5675,7 +5675,7 @@
|
|
|
5675
5675
|
"arguments": [
|
|
5676
5676
|
{
|
|
5677
5677
|
"name": "argument",
|
|
5678
|
-
"type": "[modelValue:
|
|
5678
|
+
"type": "[modelValue: ModelValue]"
|
|
5679
5679
|
}
|
|
5680
5680
|
]
|
|
5681
5681
|
}
|
|
@@ -5730,7 +5730,7 @@
|
|
|
5730
5730
|
"default": "''",
|
|
5731
5731
|
"value": {
|
|
5732
5732
|
"kind": "expression",
|
|
5733
|
-
"type": "
|
|
5733
|
+
"type": "ModelValue | undefined"
|
|
5734
5734
|
}
|
|
5735
5735
|
},
|
|
5736
5736
|
{
|
|
@@ -5802,7 +5802,7 @@
|
|
|
5802
5802
|
"arguments": [
|
|
5803
5803
|
{
|
|
5804
5804
|
"name": "argument",
|
|
5805
|
-
"type": "[value:
|
|
5805
|
+
"type": "[value: ModelValue]"
|
|
5806
5806
|
}
|
|
5807
5807
|
]
|
|
5808
5808
|
}
|