@rotki/ui-library 1.12.2 → 2.0.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 (80) hide show
  1. package/dist/components/accordions/accordion/RuiAccordion.vue.d.ts +9 -15
  2. package/dist/components/alerts/RuiAlert.vue.d.ts +7 -11
  3. package/dist/components/buttons/button/RuiButton.vue.d.ts +6 -4
  4. package/dist/components/buttons/button-group/RuiButtonGroup.vue.d.ts +1 -1
  5. package/dist/components/calendar/RuiCalendar.vue.d.ts +30 -0
  6. package/dist/components/calendar/RuiCalendarGrid.vue.d.ts +13 -0
  7. package/dist/components/calendar/RuiCalendarHeader.vue.d.ts +16 -0
  8. package/dist/components/calendar/RuiCalendarMenu.vue.d.ts +17 -0
  9. package/dist/components/calendar/state.d.ts +17 -0
  10. package/dist/components/cards/RuiCard.vue.d.ts +17 -16
  11. package/dist/components/cards/RuiCardHeader.vue.d.ts +9 -12
  12. package/dist/components/chips/RuiChip.vue.d.ts +7 -11
  13. package/dist/components/forms/auto-complete/RuiAutoComplete.vue.d.ts +32 -23
  14. package/dist/components/forms/checkbox/RuiCheckbox.vue.d.ts +5 -12
  15. package/dist/components/forms/radio-button/radio/RuiRadio.vue.d.ts +5 -5
  16. package/dist/components/forms/radio-button/radio-group/RuiRadioGroup.vue.d.ts +4 -4
  17. package/dist/components/forms/revealable-text-field/RuiRevealableTextField.vue.d.ts +9 -14
  18. package/dist/components/forms/select/RuiMenuSelect.vue.d.ts +24 -17
  19. package/dist/components/forms/switch/RuiSwitch.vue.d.ts +5 -10
  20. package/dist/components/forms/text-area/RuiTextArea.vue.d.ts +9 -18
  21. package/dist/components/forms/text-field/RuiTextField.vue.d.ts +14 -21
  22. package/dist/components/icons/RuiIcon.vue.d.ts +1 -1
  23. package/dist/components/index.d.ts +3 -1
  24. package/dist/components/index.es.js +4214 -3527
  25. package/dist/components/loaders/RuiSkeletonBase.vue.d.ts +1 -1
  26. package/dist/components/logos/RuiLogo.vue.d.ts +1 -1
  27. package/dist/components/overlays/badge/RuiBadge.vue.d.ts +11 -14
  28. package/dist/components/overlays/bottom-sheet/RuiBottomSheet.vue.d.ts +5 -8
  29. package/dist/components/overlays/dialog/RuiDialog.vue.d.ts +15 -21
  30. package/dist/components/overlays/menu/RuiMenu.vue.d.ts +25 -32
  31. package/dist/components/overlays/navigation-drawer/RuiNavigationDrawer.vue.d.ts +15 -21
  32. package/dist/components/overlays/notification/RuiNotification.vue.d.ts +5 -10
  33. package/dist/components/overlays/tooltip/RuiTooltip.vue.d.ts +13 -20
  34. package/dist/components/progress/RuiProgress.vue.d.ts +1 -1
  35. package/dist/components/steppers/RuiFooterStepper.vue.d.ts +1 -1
  36. package/dist/components/steppers/RuiStepper.vue.d.ts +9 -16
  37. package/dist/components/steppers/RuiStepperCustomIcon.vue.d.ts +1 -1
  38. package/dist/components/steppers/RuiStepperIcon.vue.d.ts +1 -1
  39. package/dist/components/tables/RuiDataTable.vue.d.ts +2 -32
  40. package/dist/components/tables/RuiExpandButton.vue.d.ts +5 -10
  41. package/dist/components/tables/RuiTableHead.vue.d.ts +14 -8
  42. package/dist/components/tables/RuiTablePagination.vue.d.ts +1 -1
  43. package/dist/components/tabs/tab/RuiTab.vue.d.ts +9 -19
  44. package/dist/components/tabs/tab-item/RuiTabItem.vue.d.ts +8 -12
  45. package/dist/components/tabs/tab-items/RuiTabItems.vue.d.ts +2 -2
  46. package/dist/components/tabs/tabs/RuiTabs.vue.d.ts +1 -1
  47. package/dist/components/time-picker/RuiTimePicker.vue.d.ts +18 -0
  48. package/dist/composables/dropdown-menu.d.ts +2 -2
  49. package/dist/composables/{index-DKotjeCA.js → index-DOuH9rdn.js} +12 -12
  50. package/dist/composables/index.es.js +1 -1
  51. package/dist/consts/time-accuracy-BnKA5GyT.js +8 -0
  52. package/dist/consts/time-accuracy.d.ts +6 -0
  53. package/dist/icons/icons_1.d.ts +500 -500
  54. package/dist/icons/icons_1.es.js +1884 -1884
  55. package/dist/icons/icons_2.d.ts +500 -500
  56. package/dist/icons/icons_2.es.js +1868 -1868
  57. package/dist/icons/icons_3.d.ts +500 -500
  58. package/dist/icons/icons_3.es.js +1862 -1862
  59. package/dist/icons/icons_4.d.ts +137 -500
  60. package/dist/icons/icons_4.es.js +497 -1949
  61. package/dist/icons/index.d.ts +1 -7
  62. package/dist/icons/index.es.js +1644 -4665
  63. package/dist/index.es.js +1703 -4722
  64. package/dist/style.css +1 -1
  65. package/dist/utils/{index-Bi6PqW7j.js → index-CxHG7aHQ.js} +1 -1
  66. package/dist/{vendor-ClNuDbHx.js → vendor-BeEprDAU.js} +1288 -1288
  67. package/dist/web-types.json +416 -101
  68. package/package.json +48 -47
  69. package/dist/icons/icons_10.d.ts +0 -153
  70. package/dist/icons/icons_10.es.js +0 -611
  71. package/dist/icons/icons_5.d.ts +0 -501
  72. package/dist/icons/icons_5.es.js +0 -2003
  73. package/dist/icons/icons_6.d.ts +0 -501
  74. package/dist/icons/icons_6.es.js +0 -2003
  75. package/dist/icons/icons_7.d.ts +0 -501
  76. package/dist/icons/icons_7.es.js +0 -2003
  77. package/dist/icons/icons_8.d.ts +0 -501
  78. package/dist/icons/icons_8.es.js +0 -2003
  79. package/dist/icons/icons_9.d.ts +0 -501
  80. package/dist/icons/icons_9.es.js +0 -2003
@@ -10,15 +10,10 @@ export interface Props {
10
10
  successMessages?: string | string[];
11
11
  hideDetails?: boolean;
12
12
  }
13
- declare function __VLS_template(): {
14
- attrs: Partial<{}>;
15
- slots: {
16
- default?(_: {}): any;
17
- };
18
- refs: {};
19
- rootEl: any;
13
+ declare var __VLS_1: {};
14
+ type __VLS_Slots = {} & {
15
+ default?: (props: typeof __VLS_1) => any;
20
16
  };
21
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
17
  declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
23
18
  "update:modelValue": (modelValue: boolean) => any;
24
19
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
@@ -34,9 +29,9 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
34
29
  hint: string;
35
30
  hideDetails: boolean;
36
31
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
37
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
32
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
38
33
  export default _default;
39
- type __VLS_WithTemplateSlots<T, S> = T & {
34
+ type __VLS_WithSlots<T, S> = T & {
40
35
  new (): {
41
36
  $slots: S;
42
37
  };
@@ -23,24 +23,15 @@ export interface Props {
23
23
  autoGrow?: boolean;
24
24
  }
25
25
  type __VLS_Props = Props;
26
- type __VLS_PublicProps = {
26
+ type __VLS_PublicProps = __VLS_Props & {
27
27
  modelValue: string;
28
- } & __VLS_Props;
29
- declare function __VLS_template(): {
30
- attrs: Partial<{}>;
31
- slots: {
32
- prepend?(_: {}): any;
33
- append?(_: {}): any;
34
- };
35
- refs: {
36
- prepend: HTMLDivElement;
37
- textareaSizer: HTMLTextAreaElement;
38
- textarea: HTMLTextAreaElement;
39
- append: HTMLDivElement;
40
- };
41
- rootEl: any;
42
28
  };
43
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
29
+ declare var __VLS_1: {}, __VLS_16: {};
30
+ type __VLS_Slots = {} & {
31
+ prepend?: (props: typeof __VLS_1) => any;
32
+ } & {
33
+ append?: (props: typeof __VLS_16) => any;
34
+ };
44
35
  declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
45
36
  "update:modelValue": (value: string) => any;
46
37
  } & {
@@ -70,9 +61,9 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
70
61
  rowHeight: number | string;
71
62
  autoGrow: boolean;
72
63
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
73
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
64
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
74
65
  export default _default;
75
- type __VLS_WithTemplateSlots<T, S> = T & {
66
+ type __VLS_WithSlots<T, S> = T & {
76
67
  new (): {
77
68
  $slots: S;
78
69
  };
@@ -9,7 +9,6 @@ export interface TextFieldProps {
9
9
  textColor?: ContextColorsType;
10
10
  dense?: boolean;
11
11
  hint?: string;
12
- as?: string | object;
13
12
  errorMessages?: string | string[];
14
13
  successMessages?: string | string[];
15
14
  hideDetails?: boolean;
@@ -19,25 +18,20 @@ export interface TextFieldProps {
19
18
  clearable?: boolean;
20
19
  }
21
20
  type __VLS_Props = TextFieldProps;
22
- type __VLS_PublicProps = {
21
+ type __VLS_PublicProps = __VLS_Props & {
23
22
  modelValue: string;
24
- } & __VLS_Props;
25
- declare function __VLS_template(): {
26
- attrs: Partial<{}>;
27
- slots: {
28
- prepend?(_: {}): any;
29
- append?(_: {}): any;
30
- };
31
- refs: {
32
- prepend: HTMLDivElement;
33
- innerWrapper: HTMLDivElement;
34
- inputRef: unknown;
35
- append: HTMLDivElement;
36
- };
37
- rootEl: any;
38
23
  };
39
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
40
- declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
24
+ declare var __VLS_1: {}, __VLS_16: {};
25
+ type __VLS_Slots = {} & {
26
+ prepend?: (props: typeof __VLS_1) => any;
27
+ } & {
28
+ append?: (props: typeof __VLS_16) => any;
29
+ };
30
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {
31
+ setSelectionRange: (start: number, end: number) => void;
32
+ focus: () => void | undefined;
33
+ element: Readonly<import("vue").ShallowRef<HTMLInputElement | null>>;
34
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
41
35
  "update:modelValue": (value: string) => any;
42
36
  } & {
43
37
  clear: () => any;
@@ -63,14 +57,13 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
63
57
  placeholder: string;
64
58
  dense: boolean;
65
59
  textColor: ContextColorsType;
66
- as: string | object;
67
60
  prependIcon: RuiIcons;
68
61
  appendIcon: RuiIcons;
69
62
  clearable: boolean;
70
63
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
71
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
64
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
72
65
  export default _default;
73
- type __VLS_WithTemplateSlots<T, S> = T & {
66
+ type __VLS_WithSlots<T, S> = T & {
74
67
  new (): {
75
68
  $slots: S;
76
69
  };
@@ -8,5 +8,5 @@ export interface Props {
8
8
  declare const _default: 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
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, SVGSVGElement>;
11
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
12
  export default _default;
@@ -4,6 +4,7 @@ import RuiAccordions, { type Props as AccordionsProps } from '../components/acco
4
4
  import RuiAlert, { type Props as AlertProps } from '../components/alerts/RuiAlert.vue';
5
5
  import RuiButtonGroup, { type Props as ButtonGroupProps } from '../components/buttons/button-group/RuiButtonGroup.vue';
6
6
  import RuiButton, { type Props as ButtonProps } from '../components/buttons/button/RuiButton.vue';
7
+ import RuiCalendar, { type CalendarProps } from '../components/calendar/RuiCalendar.vue';
7
8
  import RuiCard, { type Props as CardProps } from '../components/cards/RuiCard.vue';
8
9
  import RuiCardHeader, { type Props as CardHeaderProps } from '../components/cards/RuiCardHeader.vue';
9
10
  import RuiChip, { type Props as ChipProps } from '../components/chips/RuiChip.vue';
@@ -40,4 +41,5 @@ import RuiTabItem, { type Props as TabItemProps } from '../components/tabs/tab-i
40
41
  import RuiTabItems, { type Props as TabItemsProps } from '../components/tabs/tab-items/RuiTabItems.vue';
41
42
  import RuiTab, { type Props as TabProps } from '../components/tabs/tab/RuiTab.vue';
42
43
  import RuiTabs, { type Props as TabsProps } from '../components/tabs/tabs/RuiTabs.vue';
43
- export { AccordionProps, AccordionsProps, AlertProps, AutoCompleteProps, BadgeProps, BottomSheetProps, ButtonGroupProps, ButtonProps, 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, RuiCard, RuiCardHeader, RuiCheckbox, RuiChip, RuiColorPicker, RuiDataTable, 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, RuiTooltip, SimpleSelectProps, SkeletonLoaderProps, SliderProps, StepperProps, SwitchProps, TabItemProps, TabItemsProps, TablePaginationData, TablePaginationProps, TabProps, TabsProps, TextAreaProps, TextFieldProps, TooltipProps, };
44
+ import RuiTimePicker, { type RuiTimePickerProps } from '../components/time-picker/RuiTimePicker.vue';
45
+ 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, 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, };