@rotki/ui-library 0.15.0 → 1.0.0-beta.1
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/README.md +3 -3
- package/dist/RuiNavigationDrawer-By3iqC3V.js +7822 -0
- package/dist/__test__/options.d.ts +5 -0
- package/dist/{breakpoint-CRvqq4aP.js → breakpoint-OTAceaTK.js} +1 -1
- package/dist/components/accordions/accordion/RuiAccordion.vue.d.ts +58 -0
- package/dist/components/accordions/accordions/RuiAccordions.vue.d.ts +36 -0
- package/dist/components/alerts/RuiAlert.vue.d.ts +69 -0
- package/dist/components/buttons/button/RuiButton.vue.d.ts +94 -0
- package/dist/components/buttons/button-group/RuiButtonGroup.vue.d.ts +70 -0
- package/dist/components/cards/RuiCard.vue.d.ts +61 -0
- package/dist/components/cards/RuiCardHeader.vue.d.ts +37 -0
- package/dist/components/chips/RuiChip.vue.d.ts +80 -0
- package/dist/components/color-picker/RuiColorBoard.vue.d.ts +26 -0
- package/dist/components/color-picker/RuiColorDisplay.vue.d.ts +15 -0
- package/dist/components/color-picker/RuiColorHue.vue.d.ts +18 -0
- package/dist/components/color-picker/RuiColorInput.vue.d.ts +19 -0
- package/dist/components/color-picker/RuiColorPicker.vue.d.ts +32 -0
- package/dist/components/color-picker/utils.d.ts +44 -0
- package/dist/components/divider/RuiDivider.vue.d.ts +28 -0
- package/dist/components/forms/checkbox/RuiCheckbox.vue.d.ts +78 -0
- package/dist/components/forms/radio-button/radio/RuiRadio.vue.d.ts +73 -0
- package/dist/components/forms/radio-button/radio-group/RuiRadioGroup.vue.d.ts +69 -0
- package/dist/components/forms/revealable-text-field/RuiRevealableTextField.vue.d.ts +84 -0
- package/dist/components/forms/select/RuiMenuSelect.vue.d.ts +160 -49
- package/dist/components/forms/select/RuiSimpleSelect.vue.d.ts +42 -0
- package/dist/components/forms/slider/RuiSlider.vue.d.ts +101 -0
- package/dist/components/forms/switch/RuiSwitch.vue.d.ts +72 -0
- package/dist/components/forms/text-area/RuiTextArea.vue.d.ts +124 -0
- package/dist/components/forms/text-field/RuiTextField.vue.d.ts +114 -0
- package/dist/components/helpers/RuiFormTextDetail.vue.d.ts +39 -0
- package/dist/components/icons/RuiIcon.vue.d.ts +35 -0
- package/dist/components/index.d.ts +43 -39
- package/dist/components/index.es.js +35 -31
- package/dist/components/loaders/RuiSkeletonBase.vue.d.ts +28 -0
- package/dist/components/loaders/RuiSkeletonLoader.vue.d.ts +32 -0
- package/dist/components/logos/RuiLogo.vue.d.ts +52 -0
- package/dist/components/overlays/badge/RuiBadge.vue.d.ts +79 -0
- package/dist/components/overlays/bottom-sheet/RuiBottomSheet.vue.d.ts +39 -0
- package/dist/components/overlays/dialog/RuiDialog.vue.d.ts +68 -0
- package/dist/components/overlays/menu/RuiMenu.vue.d.ts +116 -0
- package/dist/components/overlays/navigation-drawer/RuiNavigationDrawer.vue.d.ts +81 -0
- package/dist/components/overlays/notification/RuiNotification.vue.d.ts +45 -0
- package/dist/components/overlays/tooltip/RuiTooltip.vue.d.ts +63 -0
- package/dist/components/progress/RuiProgress.vue.d.ts +71 -0
- package/dist/components/steppers/RuiFooterStepper.vue.d.ts +45 -0
- package/dist/components/steppers/RuiStepper.vue.d.ts +64 -0
- package/dist/components/steppers/RuiStepperCustomIcon.vue.d.ts +32 -0
- package/dist/components/steppers/RuiStepperIcon.vue.d.ts +32 -0
- package/dist/components/tables/RuiDataTable.vue.d.ts +512 -0
- package/dist/components/tables/RuiExpandButton.vue.d.ts +37 -0
- package/dist/components/tables/RuiTableHead.vue.d.ts +194 -0
- package/dist/components/tables/RuiTablePagination.vue.d.ts +47 -0
- package/dist/components/tabs/tab/RuiTab.vue.d.ts +90 -0
- package/dist/components/tabs/tab-item/RuiTabItem.vue.d.ts +48 -0
- package/dist/components/tabs/tab-items/RuiTabItems.vue.d.ts +28 -0
- package/dist/components/tabs/tabs/RuiTabs.vue.d.ts +53 -0
- package/dist/composables/dropdown-menu.d.ts +18 -6
- package/dist/composables/index.es.js +2 -2
- package/dist/composables/popper.d.ts +2 -0
- package/dist/composables/theme.d.ts +1 -1
- package/dist/consts/typography.d.ts +1 -2
- package/dist/icons/icons_1.d.ts +44 -44
- package/dist/icons/icons_1.es.js +987 -987
- package/dist/icons/icons_2.d.ts +60 -60
- package/dist/icons/icons_2.es.js +1121 -1121
- package/dist/icons/icons_3.d.ts +76 -76
- package/dist/icons/icons_3.es.js +1149 -1149
- package/dist/icons/icons_4.d.ts +96 -96
- package/dist/icons/icons_4.es.js +1193 -1193
- package/dist/icons/icons_5.d.ts +132 -132
- package/dist/icons/icons_5.es.js +1267 -1267
- package/dist/icons/icons_6.d.ts +156 -0
- package/dist/icons/icons_6.es.js +1099 -475
- package/dist/icons/index.d.ts +1 -1
- package/dist/icons/index.es.js +2840 -2684
- package/dist/index-NNlkUY_M.js +161 -0
- package/dist/index.es.js +2921 -2761
- package/dist/style.css +1 -1
- package/dist/utils/helpers.d.ts +9 -0
- package/package.json +45 -48
- package/dist/Accordion-BFcz_iFc.js +0 -8386
- package/dist/components/accordions/accordion/Accordion.vue.d.ts +0 -71
- package/dist/components/accordions/accordions/Accordions.vue.d.ts +0 -31
- package/dist/components/alerts/Alert.vue.d.ts +0 -93
- package/dist/components/buttons/button/Button.vue.d.ts +0 -51
- package/dist/components/buttons/button-group/ButtonGroup.vue.d.ts +0 -36
- package/dist/components/cards/Card.vue.d.ts +0 -80
- package/dist/components/cards/CardHeader.vue.d.ts +0 -26
- package/dist/components/chips/Chip.vue.d.ts +0 -123
- package/dist/components/divider/Divider.vue.d.ts +0 -17
- package/dist/components/forms/auto-complete/AutoComplete.vue.d.ts +0 -71
- package/dist/components/forms/auto-complete/AutoCompleteSelection.vue.d.ts +0 -30
- package/dist/components/forms/checkbox/Checkbox.vue.d.ts +0 -121
- package/dist/components/forms/radio-button/radio/Radio.vue.d.ts +0 -118
- package/dist/components/forms/radio-button/radio-group/RadioGroup.vue.d.ts +0 -112
- package/dist/components/forms/revealable-text-field/RevealableTextField.vue.d.ts +0 -169
- package/dist/components/forms/select/SimpleSelect.vue.d.ts +0 -59
- package/dist/components/forms/slider/Slider.vue.d.ts +0 -192
- package/dist/components/forms/switch/Switch.vue.d.ts +0 -109
- package/dist/components/forms/text-area/TextArea.vue.d.ts +0 -233
- package/dist/components/forms/text-field/TextField.vue.d.ts +0 -199
- package/dist/components/helpers/FormTextDetail.vue.d.ts +0 -32
- package/dist/components/icons/Icon.vue.d.ts +0 -38
- package/dist/components/loaders/Skeleton.vue.d.ts +0 -27
- package/dist/components/loaders/SkeletonBase.vue.d.ts +0 -17
- package/dist/components/logos/Logo.vue.d.ts +0 -65
- package/dist/components/overlays/badge/Badge.vue.d.ts +0 -128
- package/dist/components/overlays/dialog/Dialog.vue.d.ts +0 -60
- package/dist/components/overlays/menu/Menu.vue.d.ts +0 -191
- package/dist/components/overlays/tooltip/Tooltip.vue.d.ts +0 -88
- package/dist/components/progress/Progress.vue.d.ts +0 -102
- package/dist/components/steppers/FooterStepper.vue.d.ts +0 -50
- package/dist/components/steppers/Stepper.vue.d.ts +0 -97
- package/dist/components/steppers/StepperCustomIcon.vue.d.ts +0 -23
- package/dist/components/steppers/StepperIcon.vue.d.ts +0 -23
- package/dist/components/tables/DataTable.vue.d.ts +0 -279
- package/dist/components/tables/ExpandButton.vue.d.ts +0 -34
- package/dist/components/tables/TableHead.vue.d.ts +0 -127
- package/dist/components/tables/TablePagination.vue.d.ts +0 -56
- package/dist/components/tabs/tab/Tab.vue.d.ts +0 -141
- package/dist/components/tabs/tab-item/TabItem.vue.d.ts +0 -54
- package/dist/components/tabs/tab-items/TabItems.vue.d.ts +0 -17
- package/dist/components/tabs/tabs/Tabs.vue.d.ts +0 -72
- package/dist/index-x2urm9HD.js +0 -176
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import type { ContextColorsType } from '../../consts/colors';
|
|
2
|
+
export interface Props {
|
|
3
|
+
/**
|
|
4
|
+
* in percentage value, required when variant === determinate or buffer
|
|
5
|
+
* @example - 0 <= value <= 100
|
|
6
|
+
*/
|
|
7
|
+
value?: number;
|
|
8
|
+
/**
|
|
9
|
+
* in percentage value, required when variant === buffer
|
|
10
|
+
* @example - 0 <= value <= 100
|
|
11
|
+
*/
|
|
12
|
+
bufferValue?: number;
|
|
13
|
+
variant?: 'determinate' | 'indeterminate' | 'buffer';
|
|
14
|
+
color?: ContextColorsType | 'inherit';
|
|
15
|
+
circular?: boolean;
|
|
16
|
+
showLabel?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Sets the stroke thickness in pixels
|
|
19
|
+
*/
|
|
20
|
+
thickness?: number | string;
|
|
21
|
+
/**
|
|
22
|
+
* only used for circular progress
|
|
23
|
+
*/
|
|
24
|
+
size?: number | string;
|
|
25
|
+
}
|
|
26
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
27
|
+
value: number;
|
|
28
|
+
bufferValue: number;
|
|
29
|
+
variant: string;
|
|
30
|
+
color: string;
|
|
31
|
+
circular: boolean;
|
|
32
|
+
showLabel: boolean;
|
|
33
|
+
thickness: number;
|
|
34
|
+
size: number;
|
|
35
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
36
|
+
value: number;
|
|
37
|
+
bufferValue: number;
|
|
38
|
+
variant: string;
|
|
39
|
+
color: string;
|
|
40
|
+
circular: boolean;
|
|
41
|
+
showLabel: boolean;
|
|
42
|
+
thickness: number;
|
|
43
|
+
size: number;
|
|
44
|
+
}>>>, {
|
|
45
|
+
size: string | number;
|
|
46
|
+
value: number;
|
|
47
|
+
color: "primary" | "secondary" | "error" | "warning" | "info" | "success" | "inherit";
|
|
48
|
+
bufferValue: number;
|
|
49
|
+
variant: "determinate" | "indeterminate" | "buffer";
|
|
50
|
+
circular: boolean;
|
|
51
|
+
showLabel: boolean;
|
|
52
|
+
thickness: string | number;
|
|
53
|
+
}, {}>;
|
|
54
|
+
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
|
+
type __VLS_Prettify<T> = {
|
|
61
|
+
[K in keyof T]: T[K];
|
|
62
|
+
} & {};
|
|
63
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
64
|
+
type __VLS_TypePropsToOption<T> = {
|
|
65
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
66
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
67
|
+
} : {
|
|
68
|
+
type: import('vue').PropType<T[K]>;
|
|
69
|
+
required: true;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export interface Props {
|
|
2
|
+
pages: number;
|
|
3
|
+
modelValue?: number;
|
|
4
|
+
variant?: 'numeric' | 'bullet' | 'progress' | 'pill';
|
|
5
|
+
arrowButtons?: boolean;
|
|
6
|
+
hideButtons?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
9
|
+
modelValue: number;
|
|
10
|
+
variant: string;
|
|
11
|
+
arrowButtons: boolean;
|
|
12
|
+
hideButtons: boolean;
|
|
13
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
"update:modelValue": (modelValue: number) => void;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
16
|
+
modelValue: number;
|
|
17
|
+
variant: string;
|
|
18
|
+
arrowButtons: boolean;
|
|
19
|
+
hideButtons: boolean;
|
|
20
|
+
}>>> & {
|
|
21
|
+
"onUpdate:modelValue"?: ((modelValue: number) => any) | undefined;
|
|
22
|
+
}, {
|
|
23
|
+
variant: "progress" | "numeric" | "bullet" | "pill";
|
|
24
|
+
modelValue: number;
|
|
25
|
+
arrowButtons: boolean;
|
|
26
|
+
hideButtons: boolean;
|
|
27
|
+
}, {}>;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_WithDefaults<P, D> = {
|
|
30
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
31
|
+
default: D[K];
|
|
32
|
+
}> : P[K];
|
|
33
|
+
};
|
|
34
|
+
type __VLS_Prettify<T> = {
|
|
35
|
+
[K in keyof T]: T[K];
|
|
36
|
+
} & {};
|
|
37
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
38
|
+
type __VLS_TypePropsToOption<T> = {
|
|
39
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
40
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
41
|
+
} : {
|
|
42
|
+
type: import('vue').PropType<T[K]>;
|
|
43
|
+
required: true;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { StepperOrientation, StepperState, type StepperStep } from '../../types/stepper';
|
|
2
|
+
export interface Props {
|
|
3
|
+
step?: number;
|
|
4
|
+
steps: StepperStep[];
|
|
5
|
+
iconTop?: boolean;
|
|
6
|
+
custom?: boolean;
|
|
7
|
+
titleClass?: string;
|
|
8
|
+
subtitleClass?: string;
|
|
9
|
+
orientation?: StepperOrientation;
|
|
10
|
+
keepActiveVisible?: boolean;
|
|
11
|
+
}
|
|
12
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
13
|
+
step: undefined;
|
|
14
|
+
iconTop: boolean;
|
|
15
|
+
custom: boolean;
|
|
16
|
+
titleClass: string;
|
|
17
|
+
subtitleClass: string;
|
|
18
|
+
orientation: "horizontal";
|
|
19
|
+
keepActiveVisible: boolean;
|
|
20
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
21
|
+
step: undefined;
|
|
22
|
+
iconTop: boolean;
|
|
23
|
+
custom: boolean;
|
|
24
|
+
titleClass: string;
|
|
25
|
+
subtitleClass: string;
|
|
26
|
+
orientation: "horizontal";
|
|
27
|
+
keepActiveVisible: boolean;
|
|
28
|
+
}>>>, {
|
|
29
|
+
step: number;
|
|
30
|
+
iconTop: boolean;
|
|
31
|
+
custom: boolean;
|
|
32
|
+
titleClass: string;
|
|
33
|
+
subtitleClass: string;
|
|
34
|
+
orientation: StepperOrientation;
|
|
35
|
+
keepActiveVisible: boolean;
|
|
36
|
+
}, {}>, {
|
|
37
|
+
icon?(_: {
|
|
38
|
+
state: StepperState | undefined;
|
|
39
|
+
index: number;
|
|
40
|
+
}): any;
|
|
41
|
+
}>;
|
|
42
|
+
export default _default;
|
|
43
|
+
type __VLS_WithDefaults<P, D> = {
|
|
44
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
45
|
+
default: D[K];
|
|
46
|
+
}> : P[K];
|
|
47
|
+
};
|
|
48
|
+
type __VLS_Prettify<T> = {
|
|
49
|
+
[K in keyof T]: T[K];
|
|
50
|
+
} & {};
|
|
51
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
52
|
+
new (): {
|
|
53
|
+
$slots: S;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
57
|
+
type __VLS_TypePropsToOption<T> = {
|
|
58
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
59
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
60
|
+
} : {
|
|
61
|
+
type: import('vue').PropType<T[K]>;
|
|
62
|
+
required: true;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { StepperState } from '../../types/stepper';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
3
|
+
state?: StepperState | undefined;
|
|
4
|
+
index: number;
|
|
5
|
+
}>, {
|
|
6
|
+
state: "inactive";
|
|
7
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
8
|
+
state?: StepperState | undefined;
|
|
9
|
+
index: number;
|
|
10
|
+
}>, {
|
|
11
|
+
state: "inactive";
|
|
12
|
+
}>>>, {
|
|
13
|
+
state: StepperState;
|
|
14
|
+
}, {}>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithDefaults<P, D> = {
|
|
17
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
18
|
+
default: D[K];
|
|
19
|
+
}> : P[K];
|
|
20
|
+
};
|
|
21
|
+
type __VLS_Prettify<T> = {
|
|
22
|
+
[K in keyof T]: T[K];
|
|
23
|
+
} & {};
|
|
24
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
25
|
+
type __VLS_TypePropsToOption<T> = {
|
|
26
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
27
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
28
|
+
} : {
|
|
29
|
+
type: import('vue').PropType<T[K]>;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { StepperState } from '../../types/stepper';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
3
|
+
state?: StepperState | undefined;
|
|
4
|
+
index: number;
|
|
5
|
+
}>, {
|
|
6
|
+
state: "inactive";
|
|
7
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
8
|
+
state?: StepperState | undefined;
|
|
9
|
+
index: number;
|
|
10
|
+
}>, {
|
|
11
|
+
state: "inactive";
|
|
12
|
+
}>>>, {
|
|
13
|
+
state: StepperState;
|
|
14
|
+
}, {}>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithDefaults<P, D> = {
|
|
17
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
18
|
+
default: D[K];
|
|
19
|
+
}> : P[K];
|
|
20
|
+
};
|
|
21
|
+
type __VLS_Prettify<T> = {
|
|
22
|
+
[K in keyof T]: T[K];
|
|
23
|
+
} & {};
|
|
24
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
25
|
+
type __VLS_TypePropsToOption<T> = {
|
|
26
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
27
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
28
|
+
} : {
|
|
29
|
+
type: import('vue').PropType<T[K]>;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
};
|