@rotki/ui-library 2.7.0 → 2.8.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 (81) hide show
  1. package/dist/components/accordions/accordion/RuiAccordion.vue.d.ts +3 -2
  2. package/dist/components/accordions/accordions/RuiAccordions.vue.d.ts +2 -1
  3. package/dist/components/alerts/RuiAlert.vue.d.ts +4 -3
  4. package/dist/components/buttons/button/RuiButton.vue.d.ts +7 -5
  5. package/dist/components/buttons/button-group/RuiButtonGroup.vue.d.ts +6 -5
  6. package/dist/components/calendar/RuiCalendar.vue.d.ts +4 -2
  7. package/dist/components/calendar/RuiCalendarGrid.vue.d.ts +4 -2
  8. package/dist/components/calendar/RuiCalendarHeader.vue.d.ts +4 -2
  9. package/dist/components/calendar/RuiCalendarMenu.vue.d.ts +4 -2
  10. package/dist/components/cards/RuiCard.vue.d.ts +4 -3
  11. package/dist/components/cards/RuiCardHeader.vue.d.ts +3 -2
  12. package/dist/components/chips/RuiChip.vue.d.ts +4 -3
  13. package/dist/components/color-picker/RuiColorBoard.vue.d.ts +2 -1
  14. package/dist/components/color-picker/RuiColorDisplay.vue.d.ts +2 -1
  15. package/dist/components/color-picker/RuiColorHue.vue.d.ts +4 -3
  16. package/dist/components/color-picker/RuiColorInput.vue.d.ts +4 -3
  17. package/dist/components/color-picker/RuiColorPicker.vue.d.ts +2 -1
  18. package/dist/components/color-picker/utils.d.ts +1 -1
  19. package/dist/components/date-time-picker/RuiDateTimePicker.vue.d.ts +10 -8
  20. package/dist/components/date-time-picker/RuiDateTimePickerMenu.vue.d.ts +5 -3
  21. package/dist/components/divider/RuiDivider.vue.d.ts +2 -1
  22. package/dist/components/forms/auto-complete/RuiAutoComplete.vue.d.ts +29 -28
  23. package/dist/components/forms/checkbox/RuiCheckbox.vue.d.ts +4 -3
  24. package/dist/components/forms/radio-button/radio/RuiRadio.vue.d.ts +7 -6
  25. package/dist/components/forms/radio-button/radio-group/RuiRadioGroup.vue.d.ts +7 -6
  26. package/dist/components/forms/revealable-text-field/RuiRevealableTextField.vue.d.ts +8 -6
  27. package/dist/components/forms/select/RuiMenuSelect.vue.d.ts +747 -10
  28. package/dist/components/forms/select/RuiSimpleSelect.vue.d.ts +3 -2
  29. package/dist/components/forms/slider/RuiSlider.vue.d.ts +3 -2
  30. package/dist/components/forms/switch/RuiSwitch.vue.d.ts +3 -2
  31. package/dist/components/forms/text-area/RuiTextArea.vue.d.ts +8 -6
  32. package/dist/components/forms/text-field/RuiTextField.vue.d.ts +10 -8
  33. package/dist/components/helpers/RuiFormTextDetail.vue.d.ts +2 -1
  34. package/dist/components/icons/RuiIcon.vue.d.ts +2 -1
  35. package/dist/components/index.d.ts +2 -1
  36. package/dist/components/index.es.js +4343 -4260
  37. package/dist/components/loaders/RuiSkeletonBase.vue.d.ts +2 -1
  38. package/dist/components/loaders/RuiSkeletonLoader.vue.d.ts +2 -1
  39. package/dist/components/logos/RuiLogo.vue.d.ts +2 -1
  40. package/dist/components/overlays/badge/RuiBadge.vue.d.ts +5 -4
  41. package/dist/components/overlays/bottom-sheet/RuiBottomSheet.vue.d.ts +3 -2
  42. package/dist/components/overlays/dialog/RuiDialog.vue.d.ts +6 -5
  43. package/dist/components/overlays/menu/RuiMenu.vue.d.ts +6 -3
  44. package/dist/components/overlays/navigation-drawer/RuiNavigationDrawer.vue.d.ts +6 -5
  45. package/dist/components/overlays/notification/RuiNotification.vue.d.ts +4 -3
  46. package/dist/components/overlays/tooltip/RuiTooltip.vue.d.ts +4 -3
  47. package/dist/components/progress/RuiProgress.vue.d.ts +3 -2
  48. package/dist/components/steppers/RuiFooterStepper.vue.d.ts +2 -1
  49. package/dist/components/steppers/RuiStepper.vue.d.ts +4 -3
  50. package/dist/components/steppers/RuiStepperCustomIcon.vue.d.ts +2 -1
  51. package/dist/components/steppers/RuiStepperIcon.vue.d.ts +2 -1
  52. package/dist/components/tables/RuiDataTable.vue.d.ts +13 -12
  53. package/dist/components/tables/RuiExpandButton.vue.d.ts +3 -2
  54. package/dist/components/tables/RuiTableHead.vue.d.ts +7 -6
  55. package/dist/components/tables/RuiTablePagination.vue.d.ts +3 -2
  56. package/dist/components/tabs/tab/RuiTab.vue.d.ts +5 -4
  57. package/dist/components/tabs/tab-item/RuiTabItem.vue.d.ts +4 -3
  58. package/dist/components/tabs/tab-items/RuiTabItems.vue.d.ts +7 -6
  59. package/dist/components/tabs/tabs/RuiTabs.vue.d.ts +3 -2
  60. package/dist/components/time-picker/RuiTimePicker.vue.d.ts +4 -2
  61. package/dist/composables/defaults/table.d.ts +1 -2
  62. package/dist/composables/dropdown-menu.d.ts +3 -2
  63. package/dist/composables/index-CC7A7CEh.js +737 -0
  64. package/dist/composables/index.es.js +1 -1
  65. package/dist/composables/popper.d.ts +2 -2
  66. package/dist/composables/sticky-header.d.ts +1 -1
  67. package/dist/consts/time-accuracy-BnKA5GyT.js +1 -1
  68. package/dist/consts/typography.d.ts +38 -4
  69. package/dist/{index-cTPqOSmm.js → index-D7l4d7N2.js} +4 -4
  70. package/dist/index.es.js +4 -4
  71. package/dist/style.css +1 -1
  72. package/dist/theme/index.es.js +30 -23
  73. package/dist/utils/form-text-detail.d.ts +1 -1
  74. package/dist/utils/index-DJ-ueLCs.js +158 -0
  75. package/dist/vendor-Hqbg5uCG.js +1931 -0
  76. package/dist/web-types.json +59 -39
  77. package/package.json +41 -48
  78. package/README.md +0 -276
  79. package/dist/composables/index-D7DVd8pO.js +0 -717
  80. package/dist/utils/index-D-sENcA8.js +0 -158
  81. package/dist/vendor-X3mXJl51.js +0 -1931
@@ -5,13 +5,14 @@ export interface Props {
5
5
  name?: string;
6
6
  variant?: 'default' | 'outlined';
7
7
  }
8
- declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
8
+ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
9
9
  "update:model-value": (value?: string | number | undefined) => any;
10
10
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
11
11
  "onUpdate:model-value"?: ((value?: string | number | undefined) => any) | undefined;
12
12
  }>, {
13
13
  name: string;
14
- variant: "default" | "outlined";
15
14
  disabled: boolean;
15
+ variant: "default" | "outlined";
16
16
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ declare const _default: typeof __VLS_export;
17
18
  export default _default;
@@ -19,15 +19,15 @@ export interface Props {
19
19
  sliderClass?: string;
20
20
  tickClass?: string;
21
21
  }
22
- declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
22
+ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
23
23
  "update:model-value": (value: number) => any;
24
24
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
25
25
  "onUpdate:model-value"?: ((value: number) => any) | undefined;
26
26
  }>, {
27
- vertical: boolean;
28
27
  color: ContextColorsType;
29
28
  label: string;
30
29
  disabled: boolean;
30
+ vertical: boolean;
31
31
  modelValue: number;
32
32
  errorMessages: string | string[];
33
33
  successMessages: string | string[];
@@ -43,4 +43,5 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
43
43
  sliderClass: string;
44
44
  tickClass: string;
45
45
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
46
+ declare const _default: typeof __VLS_export;
46
47
  export default _default;
@@ -14,7 +14,7 @@ declare var __VLS_1: {};
14
14
  type __VLS_Slots = {} & {
15
15
  default?: (props: typeof __VLS_1) => any;
16
16
  };
17
- declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
17
+ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
18
18
  "update:modelValue": (modelValue: boolean) => any;
19
19
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
20
20
  "onUpdate:modelValue"?: ((modelValue: boolean) => any) | undefined;
@@ -29,7 +29,8 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
29
29
  hint: string;
30
30
  hideDetails: boolean;
31
31
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
32
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
32
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
33
+ declare const _default: typeof __VLS_export;
33
34
  export default _default;
34
35
  type __VLS_WithSlots<T, S> = T & {
35
36
  new (): {
@@ -23,16 +23,17 @@ export interface Props {
23
23
  autoGrow?: boolean;
24
24
  }
25
25
  type __VLS_Props = Props;
26
- type __VLS_PublicProps = __VLS_Props & {
26
+ type __VLS_ModelProps = {
27
27
  modelValue: string;
28
28
  };
29
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
29
30
  declare var __VLS_1: {}, __VLS_18: {};
30
31
  type __VLS_Slots = {} & {
31
32
  prepend?: (props: typeof __VLS_1) => any;
32
33
  } & {
33
34
  append?: (props: typeof __VLS_18) => any;
34
35
  };
35
- declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
36
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
36
37
  "update:modelValue": (value: string) => any;
37
38
  } & {
38
39
  "click:clear": () => any;
@@ -40,17 +41,17 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
40
41
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
41
42
  "onClick:clear"?: (() => any) | undefined;
42
43
  }>, {
43
- readonly: boolean;
44
- variant: "default" | "filled" | "outlined";
45
44
  color: ContextColorsType;
46
45
  label: string;
47
46
  disabled: boolean;
47
+ dense: boolean;
48
+ readonly: boolean;
49
+ variant: "default" | "filled" | "outlined";
48
50
  placeholder: string;
49
51
  errorMessages: string | string[];
50
52
  successMessages: string | string[];
51
53
  hint: string;
52
54
  hideDetails: boolean;
53
- dense: boolean;
54
55
  textColor: ContextColorsType;
55
56
  prependIcon: RuiIcons;
56
57
  appendIcon: RuiIcons;
@@ -61,7 +62,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
61
62
  rowHeight: number | string;
62
63
  autoGrow: boolean;
63
64
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
64
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
65
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
66
+ declare const _default: typeof __VLS_export;
65
67
  export default _default;
66
68
  type __VLS_WithSlots<T, S> = T & {
67
69
  new (): {
@@ -18,16 +18,17 @@ export interface TextFieldProps {
18
18
  clearable?: boolean;
19
19
  }
20
20
  type __VLS_Props = TextFieldProps;
21
- type __VLS_PublicProps = __VLS_Props & {
21
+ type __VLS_ModelProps = {
22
22
  modelValue: string;
23
23
  };
24
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
24
25
  declare var __VLS_1: {}, __VLS_18: {};
25
26
  type __VLS_Slots = {} & {
26
27
  prepend?: (props: typeof __VLS_1) => any;
27
28
  } & {
28
29
  append?: (props: typeof __VLS_18) => any;
29
30
  };
30
- declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {
31
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
31
32
  setSelectionRange: (start: number, end: number) => void;
32
33
  focus: () => void | undefined;
33
34
  element: globalThis.Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
@@ -36,32 +37,33 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
36
37
  } & {
37
38
  clear: () => any;
38
39
  blur: (event: Event) => any;
39
- "focus-input": (event: Event) => any;
40
40
  remove: (value: unknown) => any;
41
+ "focus-input": (event: Event) => any;
41
42
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
42
43
  onClear?: (() => any) | undefined;
43
44
  onBlur?: ((event: Event) => any) | undefined;
45
+ onRemove?: ((value: unknown) => any) | undefined;
44
46
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
45
47
  "onFocus-input"?: ((event: Event) => any) | undefined;
46
- onRemove?: ((value: unknown) => any) | undefined;
47
48
  }>, {
48
- readonly: boolean;
49
- variant: "default" | "filled" | "outlined";
50
49
  color: ContextColorsType;
51
50
  label: string;
52
51
  disabled: boolean;
52
+ dense: boolean;
53
+ readonly: boolean;
54
+ variant: "default" | "filled" | "outlined";
53
55
  placeholder: string;
54
56
  errorMessages: string | string[];
55
57
  successMessages: string | string[];
56
58
  hint: string;
57
59
  hideDetails: boolean;
58
- dense: boolean;
59
60
  textColor: ContextColorsType;
60
61
  prependIcon: RuiIcons;
61
62
  appendIcon: RuiIcons;
62
63
  clearable: boolean;
63
64
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
64
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
65
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
66
+ declare const _default: typeof __VLS_export;
65
67
  export default _default;
66
68
  type __VLS_WithSlots<T, S> = T & {
67
69
  new (): {
@@ -3,9 +3,10 @@ type __VLS_Props = {
3
3
  successMessages?: string | string[];
4
4
  hint?: string;
5
5
  };
6
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
7
7
  errorMessages: string | string[];
8
8
  successMessages: string | string[];
9
9
  hint: string;
10
10
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
+ declare const _default: typeof __VLS_export;
11
12
  export default _default;
@@ -5,8 +5,9 @@ export interface Props {
5
5
  size?: number | string;
6
6
  color?: ContextColorsType;
7
7
  }
8
- declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
8
+ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
9
9
  size: number | string;
10
10
  color: ContextColorsType;
11
11
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const _default: typeof __VLS_export;
12
13
  export default _default;
@@ -43,4 +43,5 @@ import RuiTabItems, { type Props as TabItemsProps } from '../components/tabs/tab
43
43
  import RuiTab, { type Props as TabProps } from '../components/tabs/tab/RuiTab.vue';
44
44
  import RuiTabs, { type Props as TabsProps } from '../components/tabs/tabs/RuiTabs.vue';
45
45
  import RuiTimePicker, { type RuiTimePickerProps } from '../components/time-picker/RuiTimePicker.vue';
46
- export { AccordionProps, AccordionsProps, AlertProps, AutoCompleteProps, BadgeProps, BottomSheetProps, ButtonGroupProps, ButtonProps, CalendarProps, CardHeaderProps, CardProps, CheckboxProps, ChipProps, ColorPickerProps, DataTableColumn, DataTableGroupKeys, DataTableOptions, DataTableProps, DataTableSortColumn, DataTableSortData, DialogProps, DividerProps, ExpandButtonProps, FooterStepperProps, IconProps, LogoProps, MenuProps, MenuSelectProps, NavigationDrawerProps, NotificationProps, ProgressProps, RadioGroupProps, RadioProps, RevealableTextFieldProps, RuiAccordion, RuiAccordions, RuiAlert, RuiAutoComplete, RuiBadge, RuiBottomSheet, RuiButton, RuiButtonGroup, RuiCalendar, RuiCard, RuiCardHeader, RuiCheckbox, RuiChip, RuiColorPicker, RuiDataTable, RuiDateTimePicker, RuiDateTimePickerProps, RuiDialog, RuiDivider, RuiFooterStepper, RuiIcon, RuiLogo, RuiMenu, RuiMenuSelect, RuiNavigationDrawer, RuiNotification, RuiProgress, RuiRadio, RuiRadioGroup, RuiRevealableTextField, RuiSimpleSelect, RuiSkeletonLoader, RuiSlider, RuiStepper, RuiSwitch, RuiTab, RuiTabItem, RuiTabItems, RuiTablePagination, RuiTableRowExpander, RuiTabs, RuiTextArea, RuiTextField, RuiTimePicker, RuiTimePickerProps, RuiTooltip, SimpleSelectProps, SkeletonLoaderProps, SliderProps, StepperProps, SwitchProps, TabItemProps, TabItemsProps, TablePaginationData, TablePaginationProps, TabProps, TabsProps, TextAreaProps, TextFieldProps, TooltipProps, };
46
+ export type { AccordionProps, AccordionsProps, AlertProps, AutoCompleteProps, BadgeProps, BottomSheetProps, ButtonGroupProps, ButtonProps, CalendarProps, CardHeaderProps, CardProps, CheckboxProps, ChipProps, ColorPickerProps, DataTableColumn, DataTableGroupKeys, DataTableOptions, DataTableProps, DataTableSortColumn, DataTableSortData, DialogProps, DividerProps, ExpandButtonProps, FooterStepperProps, IconProps, LogoProps, MenuProps, MenuSelectProps, NavigationDrawerProps, NotificationProps, ProgressProps, RadioGroupProps, RadioProps, RevealableTextFieldProps, RuiDateTimePickerProps, RuiTimePickerProps, SimpleSelectProps, SkeletonLoaderProps, SliderProps, StepperProps, SwitchProps, TabItemProps, TabItemsProps, TablePaginationData, TablePaginationProps, TabProps, TabsProps, TextAreaProps, TextFieldProps, TooltipProps, };
47
+ export { RuiAccordion, RuiAccordions, RuiAlert, RuiAutoComplete, RuiBadge, RuiBottomSheet, RuiButton, RuiButtonGroup, RuiCalendar, RuiCard, RuiCardHeader, RuiCheckbox, RuiChip, RuiColorPicker, RuiDataTable, RuiDateTimePicker, RuiDialog, RuiDivider, RuiFooterStepper, RuiIcon, RuiLogo, RuiMenu, RuiMenuSelect, RuiNavigationDrawer, RuiNotification, RuiProgress, RuiRadio, RuiRadioGroup, RuiRevealableTextField, RuiSimpleSelect, RuiSkeletonLoader, RuiSlider, RuiStepper, RuiSwitch, RuiTab, RuiTabItem, RuiTabItems, RuiTablePagination, RuiTableRowExpander, RuiTabs, RuiTextArea, RuiTextField, RuiTimePicker, RuiTooltip, };