@rotki/ui-library 2.6.3 → 2.7.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.
Files changed (63) hide show
  1. package/dist/components/accordions/accordion/RuiAccordion.vue.d.ts +2 -2
  2. package/dist/components/alerts/RuiAlert.vue.d.ts +3 -3
  3. package/dist/components/buttons/button/RuiButton.vue.d.ts +2 -2
  4. package/dist/components/buttons/button-group/RuiButtonGroup.vue.d.ts +2 -2
  5. package/dist/components/cards/RuiCard.vue.d.ts +6 -6
  6. package/dist/components/date-time-picker/use-input-handler.d.ts +2 -2
  7. package/dist/components/date-time-picker/use-keyboard-handler.d.ts +2 -2
  8. package/dist/components/forms/auto-complete/RuiAutoComplete.vue.d.ts +18 -18
  9. package/dist/components/forms/checkbox/RuiCheckbox.vue.d.ts +2 -2
  10. package/dist/components/forms/radio-button/radio/RuiRadio.vue.d.ts +2 -2
  11. package/dist/components/forms/radio-button/radio-group/RuiRadioGroup.vue.d.ts +2 -2
  12. package/dist/components/forms/revealable-text-field/RuiRevealableTextField.vue.d.ts +4 -4
  13. package/dist/components/forms/select/RuiMenuSelect.vue.d.ts +2 -2
  14. package/dist/components/forms/text-area/RuiTextArea.vue.d.ts +3 -3
  15. package/dist/components/forms/text-field/RuiTextField.vue.d.ts +3 -3
  16. package/dist/components/index.es.js +2781 -2829
  17. package/dist/components/overlays/badge/RuiBadge.vue.d.ts +3 -3
  18. package/dist/components/overlays/bottom-sheet/RuiBottomSheet.vue.d.ts +2 -2
  19. package/dist/components/overlays/dialog/RuiDialog.vue.d.ts +2 -2
  20. package/dist/components/overlays/menu/RuiMenu.vue.d.ts +3 -3
  21. package/dist/components/overlays/navigation-drawer/RuiNavigationDrawer.vue.d.ts +2 -2
  22. package/dist/components/overlays/notification/RuiNotification.vue.d.ts +2 -2
  23. package/dist/components/overlays/tooltip/RuiTooltip.vue.d.ts +3 -3
  24. package/dist/components/tables/RuiDataTable.vue.d.ts +2 -2
  25. package/dist/components/tables/RuiExpandButton.vue.d.ts +2 -2
  26. package/dist/components/tables/RuiTableHead.vue.d.ts +2 -2
  27. package/dist/components/tabs/tab/RuiTab.vue.d.ts +1 -1
  28. package/dist/components/tabs/tab-item/RuiTabItem.vue.d.ts +3 -3
  29. package/dist/components/tabs/tab-items/RuiTabItems.vue.d.ts +2 -2
  30. package/dist/composables/icons.d.ts +1 -1
  31. package/dist/composables/index-D7DVd8pO.js +717 -0
  32. package/dist/composables/index.es.js +2 -1
  33. package/dist/composables/popper.d.ts +11 -11
  34. package/dist/composables/timeout-manager.d.ts +5 -0
  35. package/dist/consts/colors-D563Ic3q.js +1 -0
  36. package/dist/consts/forms/auto-complete/index-l0sNRNKZ.js +1 -0
  37. package/dist/consts/time-accuracy-BnKA5GyT.js +1 -0
  38. package/dist/i18n/keys-CNGXWOJX.js +1 -0
  39. package/dist/icons/icons_1.d.ts +12 -12
  40. package/dist/icons/icons_1.es.js +955 -954
  41. package/dist/icons/icons_2.d.ts +23 -23
  42. package/dist/icons/icons_2.es.js +1088 -1087
  43. package/dist/icons/icons_3.d.ts +29 -29
  44. package/dist/icons/icons_3.es.js +1100 -1099
  45. package/dist/icons/icons_4.d.ts +35 -0
  46. package/dist/icons/icons_4.es.js +447 -306
  47. package/dist/icons/index.d.ts +1 -1
  48. package/dist/icons/index.es.js +1577 -1541
  49. package/dist/index-cTPqOSmm.js +54 -0
  50. package/dist/index.d.ts +1 -1
  51. package/dist/index.es.js +1603 -1567
  52. package/dist/style.css +1 -1
  53. package/dist/theme/index.es.js +1 -0
  54. package/dist/types/index-CN6Ip1GL.js +1 -0
  55. package/dist/types/theme.d.ts +1 -1
  56. package/dist/utils/index-D-sENcA8.js +158 -0
  57. package/dist/vendor-X3mXJl51.js +1931 -0
  58. package/dist/web-types.json +16 -16
  59. package/package.json +38 -37
  60. package/dist/composables/index-DRJor0yQ.js +0 -727
  61. package/dist/index-BpodgU9n.js +0 -54
  62. package/dist/utils/index-lIBwzXNM.js +0 -157
  63. package/dist/vendor-Dt9dVBgA.js +0 -1896
@@ -13,13 +13,13 @@ export interface Props {
13
13
  rounded?: 'sm' | 'md' | 'lg' | 'full';
14
14
  color?: 'default' | ContextColorsType;
15
15
  }
16
- declare var __VLS_1: {}, __VLS_7: {}, __VLS_9: {};
16
+ declare var __VLS_1: {}, __VLS_8: {}, __VLS_10: {};
17
17
  type __VLS_Slots = {} & {
18
18
  default?: (props: typeof __VLS_1) => any;
19
19
  } & {
20
- badge?: (props: typeof __VLS_7) => any;
20
+ badge?: (props: typeof __VLS_8) => any;
21
21
  } & {
22
- icon?: (props: typeof __VLS_9) => any;
22
+ icon?: (props: typeof __VLS_10) => any;
23
23
  };
24
24
  declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
25
25
  size: "sm" | "md" | "lg";
@@ -4,9 +4,9 @@ export interface BottomSheetProps {
4
4
  width?: string | number;
5
5
  maxWidth?: string | number;
6
6
  }
7
- declare var __VLS_6: string, __VLS_7: any;
7
+ declare var __VLS_8: string, __VLS_9: any;
8
8
  type __VLS_Slots = {} & {
9
- [K in NonNullable<typeof __VLS_6>]?: (props: typeof __VLS_7) => any;
9
+ [K in NonNullable<typeof __VLS_8>]?: (props: typeof __VLS_9) => any;
10
10
  };
11
11
  declare const __VLS_component: import("vue").DefineComponent<BottomSheetProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BottomSheetProps> & Readonly<{}>, {
12
12
  modelValue: boolean;
@@ -13,14 +13,14 @@ declare var __VLS_1: {
13
13
  onClick: () => void;
14
14
  };
15
15
  isOpen: boolean;
16
- }, __VLS_15: {
16
+ }, __VLS_18: {
17
17
  isOpen: true;
18
18
  close: typeof close;
19
19
  };
20
20
  type __VLS_Slots = {} & {
21
21
  activator?: (props: typeof __VLS_1) => any;
22
22
  } & {
23
- default?: (props: typeof __VLS_15) => any;
23
+ default?: (props: typeof __VLS_18) => any;
24
24
  };
25
25
  declare const __VLS_component: import("vue").DefineComponent<DialogProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
26
26
  "update:model-value": (value: boolean) => any;
@@ -24,13 +24,13 @@ declare var __VLS_1: {
24
24
  disabled: boolean;
25
25
  hasError: boolean;
26
26
  hasSuccess: boolean;
27
- }, __VLS_17: {
27
+ }, __VLS_18: {
28
28
  width: number;
29
29
  };
30
30
  type __VLS_Slots = {} & {
31
31
  activator?: (props: typeof __VLS_1) => any;
32
32
  } & {
33
- default?: (props: typeof __VLS_17) => any;
33
+ default?: (props: typeof __VLS_18) => any;
34
34
  };
35
35
  declare const __VLS_component: import("vue").DefineComponent<MenuProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
36
36
  "update:model-value": (value: boolean) => any;
@@ -42,11 +42,11 @@ declare const __VLS_component: import("vue").DefineComponent<MenuProps, {}, {},
42
42
  errorMessages: string | string[];
43
43
  successMessages: string | string[];
44
44
  hint: string;
45
+ popper: PopperOptions;
45
46
  openOnHover: boolean;
46
47
  fullWidth: boolean;
47
48
  openDelay: number;
48
49
  closeDelay: number;
49
- popper: PopperOptions;
50
50
  wrapperClass: string | object | string[];
51
51
  menuClass: string | object | string[];
52
52
  closeOnContentClick: boolean;
@@ -14,7 +14,7 @@ declare var __VLS_1: {
14
14
  attrs: {
15
15
  onClick: () => void;
16
16
  };
17
- }, __VLS_11: {
17
+ }, __VLS_13: {
18
18
  attrs: {
19
19
  onClick: () => void;
20
20
  };
@@ -23,7 +23,7 @@ declare var __VLS_1: {
23
23
  type __VLS_Slots = {} & {
24
24
  activator?: (props: typeof __VLS_1) => any;
25
25
  } & {
26
- default?: (props: typeof __VLS_11) => any;
26
+ default?: (props: typeof __VLS_13) => any;
27
27
  };
28
28
  declare const __VLS_component: import("vue").DefineComponent<NavigationDrawerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
29
29
  "update:model-value": (value: boolean) => any;
@@ -4,9 +4,9 @@ export interface NotificationProps {
4
4
  width?: number | string;
5
5
  theme?: 'light' | 'dark';
6
6
  }
7
- declare var __VLS_9: {};
7
+ declare var __VLS_11: {};
8
8
  type __VLS_Slots = {} & {
9
- default?: (props: typeof __VLS_9) => any;
9
+ default?: (props: typeof __VLS_11) => any;
10
10
  };
11
11
  declare const __VLS_component: import("vue").DefineComponent<NotificationProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
12
12
  "update:model-value": (value: boolean) => any;
@@ -12,11 +12,11 @@ export interface Props {
12
12
  declare var __VLS_1: {
13
13
  open: boolean;
14
14
  close: (immediate?: boolean) => void;
15
- }, __VLS_16: {};
15
+ }, __VLS_17: {};
16
16
  type __VLS_Slots = {} & {
17
17
  activator?: (props: typeof __VLS_1) => any;
18
18
  } & {
19
- default?: (props: typeof __VLS_16) => any;
19
+ default?: (props: typeof __VLS_17) => any;
20
20
  };
21
21
  declare const __VLS_component: import("vue").DefineComponent<Props, {
22
22
  onOpen: (immediate?: boolean) => void;
@@ -24,9 +24,9 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {
24
24
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
25
25
  text: string | null;
26
26
  disabled: boolean;
27
+ popper: PopperOptions;
27
28
  openDelay: number;
28
29
  closeDelay: number;
29
- popper: PopperOptions;
30
30
  hideArrow: boolean;
31
31
  persistOnTooltipHover: boolean;
32
32
  tooltipClass: string;
@@ -151,7 +151,7 @@ declare const _default: <T extends object, IdType extends keyof T = keyof T>(__V
151
151
  readonly "onUpdate:group"?: ((value?: GroupKeys<T>) => any) | undefined;
152
152
  readonly "onUpdate:collapsed"?: ((value?: T[] | undefined) => any) | undefined;
153
153
  readonly "onCopy:group"?: ((value: GroupData<T>) => any) | undefined;
154
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:model-value" | "onUpdate:expanded" | "onUpdate:pagination" | "onUpdate:sort" | "onUpdate:options" | "onUpdate:group" | "onUpdate:collapsed" | "onCopy:group"> & Props<T, IdType> & Partial<{}>> & import("vue").PublicProps;
154
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:model-value" | "onUpdate:expanded" | "onUpdate:pagination" | "onUpdate:sort" | "onUpdate:options" | "onUpdate:group" | "onUpdate:collapsed" | "onCopy:group"> & Props<T, IdType> & {}> & import("vue").PublicProps;
155
155
  expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
156
156
  attrs: any;
157
157
  slots: Partial<Record<`header.${string}`, (props: {
@@ -200,5 +200,5 @@ declare const _default: <T extends object, IdType extends keyof T = keyof T>(__V
200
200
  };
201
201
  export default _default;
202
202
  type __VLS_PrettifyLocal<T> = {
203
- [K in keyof T]: T[K];
203
+ [K in keyof T as K]: T[K];
204
204
  } & {};
@@ -3,9 +3,9 @@ export interface Props {
3
3
  expanded: boolean;
4
4
  icon?: RuiIcons;
5
5
  }
6
- declare var __VLS_5: {};
6
+ declare var __VLS_6: {};
7
7
  type __VLS_Slots = {} & {
8
- default?: (props: typeof __VLS_5) => any;
8
+ default?: (props: typeof __VLS_6) => any;
9
9
  };
10
10
  declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
11
11
  icon: RuiIcons;
@@ -72,7 +72,7 @@ declare const _default: <T extends object, K extends keyof T = keyof T>(__VLS_pr
72
72
  direction?: "asc" | "desc";
73
73
  }) => any) | undefined;
74
74
  readonly "onSelect:all"?: ((value: boolean) => any) | undefined;
75
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onSort" | "onSelect:all"> & Props<T> & Partial<{}>> & import("vue").PublicProps;
75
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onSort" | "onSelect:all"> & Props<T> & {}> & import("vue").PublicProps;
76
76
  expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
77
77
  attrs: any;
78
78
  slots: {
@@ -100,5 +100,5 @@ declare const _default: <T extends object, K extends keyof T = keyof T>(__VLS_pr
100
100
  };
101
101
  export default _default;
102
102
  type __VLS_PrettifyLocal<T> = {
103
- [K in keyof T]: T[K];
103
+ [K in keyof T as K]: T[K];
104
104
  } & {};
@@ -1,5 +1,5 @@
1
- import type { ContextColorsType } from '../../../consts/colors';
2
1
  import type { RouteLocationRaw } from 'vue-router';
2
+ import type { ContextColorsType } from '../../../consts/colors';
3
3
  export interface Props {
4
4
  color?: ContextColorsType;
5
5
  disabled?: boolean;
@@ -4,11 +4,11 @@ export interface Props {
4
4
  eager?: boolean;
5
5
  reverse?: boolean;
6
6
  }
7
- declare var __VLS_5: {}, __VLS_7: {};
7
+ declare var __VLS_6: {}, __VLS_8: {};
8
8
  type __VLS_Slots = {} & {
9
- default?: (props: typeof __VLS_5) => any;
9
+ default?: (props: typeof __VLS_6) => any;
10
10
  } & {
11
- default?: (props: typeof __VLS_7) => any;
11
+ default?: (props: typeof __VLS_8) => any;
12
12
  };
13
13
  declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
14
14
  reverse: boolean;
@@ -6,7 +6,7 @@ declare const _default: <T extends string | number>(__VLS_props: NonNullable<Awa
6
6
  readonly "onUpdate:modelValue"?: ((value: T | undefined) => any) | undefined;
7
7
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & {
8
8
  modelValue?: Props<T>["modelValue"];
9
- } & Partial<{}>> & import("vue").PublicProps;
9
+ } & {}> & import("vue").PublicProps;
10
10
  expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
11
11
  attrs: any;
12
12
  slots: {};
@@ -16,5 +16,5 @@ declare const _default: <T extends string | number>(__VLS_props: NonNullable<Awa
16
16
  };
17
17
  export default _default;
18
18
  type __VLS_PrettifyLocal<T> = {
19
- [K in keyof T]: T[K];
19
+ [K in keyof T as K]: T[K];
20
20
  } & {};
@@ -1,5 +1,5 @@
1
- import type { GeneratedIcon } from '../types/icons';
2
1
  import type { InjectionKey } from 'vue';
2
+ import type { GeneratedIcon } from '../types/icons';
3
3
  export interface IconsOptions {
4
4
  registeredIcons: GeneratedIcon[];
5
5
  }