@rotki/ui-library 1.12.2 → 1.12.3

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 (43) hide show
  1. package/dist/components/accordions/accordion/RuiAccordion.vue.d.ts +408 -13
  2. package/dist/components/alerts/RuiAlert.vue.d.ts +477 -10
  3. package/dist/components/buttons/button/RuiButton.vue.d.ts +4 -4
  4. package/dist/components/buttons/button-group/RuiButtonGroup.vue.d.ts +1 -1
  5. package/dist/components/cards/RuiCard.vue.d.ts +452 -15
  6. package/dist/components/cards/RuiCardHeader.vue.d.ts +396 -11
  7. package/dist/components/chips/RuiChip.vue.d.ts +483 -10
  8. package/dist/components/forms/auto-complete/RuiAutoComplete.vue.d.ts +21 -23
  9. package/dist/components/forms/checkbox/RuiCheckbox.vue.d.ts +467 -10
  10. package/dist/components/forms/radio-button/radio/RuiRadio.vue.d.ts +5 -5
  11. package/dist/components/forms/radio-button/radio-group/RuiRadioGroup.vue.d.ts +4 -4
  12. package/dist/components/forms/revealable-text-field/RuiRevealableTextField.vue.d.ts +43 -14
  13. package/dist/components/forms/select/RuiMenuSelect.vue.d.ts +17 -17
  14. package/dist/components/forms/switch/RuiSwitch.vue.d.ts +514 -9
  15. package/dist/components/forms/text-area/RuiTextArea.vue.d.ts +839 -16
  16. package/dist/components/forms/text-field/RuiTextField.vue.d.ts +671 -16
  17. package/dist/components/icons/RuiIcon.vue.d.ts +1 -1
  18. package/dist/components/index.es.js +13 -4
  19. package/dist/components/loaders/RuiSkeletonBase.vue.d.ts +1 -1
  20. package/dist/components/logos/RuiLogo.vue.d.ts +1 -1
  21. package/dist/components/overlays/badge/RuiBadge.vue.d.ts +471 -12
  22. package/dist/components/overlays/bottom-sheet/RuiBottomSheet.vue.d.ts +14 -9
  23. package/dist/components/overlays/dialog/RuiDialog.vue.d.ts +474 -21
  24. package/dist/components/overlays/menu/RuiMenu.vue.d.ts +503 -29
  25. package/dist/components/overlays/navigation-drawer/RuiNavigationDrawer.vue.d.ts +464 -23
  26. package/dist/components/overlays/notification/RuiNotification.vue.d.ts +24 -11
  27. package/dist/components/overlays/tooltip/RuiTooltip.vue.d.ts +427 -16
  28. package/dist/components/progress/RuiProgress.vue.d.ts +1 -1
  29. package/dist/components/steppers/RuiFooterStepper.vue.d.ts +1 -1
  30. package/dist/components/steppers/RuiStepper.vue.d.ts +460 -14
  31. package/dist/components/steppers/RuiStepperCustomIcon.vue.d.ts +1 -1
  32. package/dist/components/steppers/RuiStepperIcon.vue.d.ts +1 -1
  33. package/dist/components/tables/RuiDataTable.vue.d.ts +2 -32
  34. package/dist/components/tables/RuiExpandButton.vue.d.ts +377 -9
  35. package/dist/components/tables/RuiTableHead.vue.d.ts +13 -8
  36. package/dist/components/tables/RuiTablePagination.vue.d.ts +1 -1
  37. package/dist/components/tabs/tab/RuiTab.vue.d.ts +7 -17
  38. package/dist/components/tabs/tab-item/RuiTabItem.vue.d.ts +378 -11
  39. package/dist/components/tabs/tab-items/RuiTabItems.vue.d.ts +2 -2
  40. package/dist/components/tabs/tabs/RuiTabs.vue.d.ts +1 -1
  41. package/dist/style.css +1 -1
  42. package/dist/web-types.json +88 -88
  43. package/package.json +30 -30
@@ -1,20 +1,49 @@
1
- import { type TextFieldProps } from '../../../components/forms/text-field/RuiTextField.vue';
1
+ import RuiButton from '../../../components/buttons/button/RuiButton.vue';
2
+ import RuiTextField, { type TextFieldProps } from '../../../components/forms/text-field/RuiTextField.vue';
3
+ import RuiIcon from '../../../components/icons/RuiIcon.vue';
2
4
  export interface Props extends TextFieldProps {
3
5
  }
6
+ declare const modelValue: import("vue").ModelRef<string, string, string, string>;
4
7
  type __VLS_Props = Props;
5
- type __VLS_PublicProps = {
8
+ declare const hidden: globalThis.Ref<boolean, boolean>;
9
+ type __VLS_PublicProps = __VLS_Props & {
6
10
  modelValue: string;
7
- } & __VLS_Props;
8
- declare function __VLS_template(): {
9
- attrs: Partial<{}>;
10
- slots: {
11
- prepend?(_: {}): any;
12
- append?(_: {}): any;
13
- };
14
- refs: {};
15
- rootEl: any;
16
11
  };
17
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
13
+ declare var __VLS_5: {}, __VLS_17: {};
14
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
15
+ prepend?: (props: typeof __VLS_5) => any;
16
+ } & {
17
+ append?: (props: typeof __VLS_17) => any;
18
+ }>;
19
+ declare const __VLS_self: import("vue").DefineComponent<__VLS_PublicProps, {
20
+ RuiButton: typeof RuiButton;
21
+ RuiTextField: typeof RuiTextField;
22
+ RuiIcon: typeof RuiIcon;
23
+ modelValue: typeof modelValue;
24
+ hidden: typeof hidden;
25
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
26
+ "update:modelValue": (value: string) => any;
27
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
28
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
29
+ }>, {
30
+ readonly: boolean;
31
+ variant: "default" | "filled" | "outlined";
32
+ color: import("../../..").ContextColorsType;
33
+ label: string;
34
+ disabled: boolean;
35
+ errorMessages: string | string[];
36
+ successMessages: string | string[];
37
+ hint: string;
38
+ hideDetails: boolean;
39
+ placeholder: string;
40
+ dense: boolean;
41
+ textColor: import("../../..").ContextColorsType;
42
+ as: string | object;
43
+ prependIcon: import("../../..").RuiIcons;
44
+ appendIcon: import("../../..").RuiIcons;
45
+ clearable: boolean;
46
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
47
  declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
48
  "update:modelValue": (value: string) => any;
20
49
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
@@ -37,9 +66,9 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
37
66
  appendIcon: import("../../..").RuiIcons;
38
67
  clearable: boolean;
39
68
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
40
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
69
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
41
70
  export default _default;
42
- type __VLS_WithTemplateSlots<T, S> = T & {
71
+ type __VLS_WithSlots<T, S> = T & {
43
72
  new (): {
44
73
  $slots: S;
45
74
  };
@@ -29,13 +29,13 @@ export interface Props<TValue, TItem> {
29
29
  declare const _default: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
30
30
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
31
31
  readonly "onUpdate:modelValue"?: ((value: TValue | undefined) => any) | undefined;
32
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & Partial<{}> & ({
32
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & (Props<TValue, TItem> & {
33
33
  modelValue: TValue | undefined;
34
- } & Props<TValue, TItem>)> & import("vue").PublicProps;
34
+ }) & Partial<{}>> & import("vue").PublicProps;
35
35
  expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
36
36
  attrs: any;
37
37
  slots: {
38
- activator?(_: {
38
+ activator?: ((props: {
39
39
  disabled: boolean;
40
40
  value: TItem | undefined;
41
41
  variant: "default" | "outlined" | "filled";
@@ -52,32 +52,32 @@ declare const _default: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typeof
52
52
  open: boolean;
53
53
  hasError: boolean;
54
54
  hasSuccess: boolean;
55
- }): any;
56
- "activator.label"?(_: {
55
+ }) => any) | undefined;
56
+ 'activator.label'?: ((props: {
57
57
  value: TItem | undefined;
58
- }): any;
59
- "selection.prepend"?(_: {
58
+ }) => any) | undefined;
59
+ 'selection.prepend'?: ((props: {
60
60
  item: NonNullable<TItem>;
61
- }): any;
62
- selection?(_: {
61
+ }) => any) | undefined;
62
+ selection?: ((props: {
63
63
  item: NonNullable<TItem>;
64
- }): any;
65
- "item.prepend"?(_: {
64
+ }) => any) | undefined;
65
+ 'item.prepend'?: ((props: {
66
66
  disabled: boolean;
67
67
  item: TItem;
68
68
  active: boolean;
69
- }): any;
70
- item?(_: {
69
+ }) => any) | undefined;
70
+ item?: ((props: {
71
71
  disabled: boolean;
72
72
  item: TItem;
73
73
  active: boolean;
74
- }): any;
75
- "item.append"?(_: {
74
+ }) => any) | undefined;
75
+ 'item.append'?: ((props: {
76
76
  disabled: boolean;
77
77
  item: TItem;
78
78
  active: boolean;
79
- }): any;
80
- "no-data"?(_: {}): any;
79
+ }) => any) | undefined;
80
+ 'no-data'?: ((props: {}) => any) | undefined;
81
81
  };
82
82
  emit: (evt: "update:modelValue", value: TValue | undefined) => void;
83
83
  }>) => import("vue").VNode & {