@rotki/ui-library 1.12.0 → 1.12.2

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/README.md +1 -1
  2. package/dist/components/accordions/accordion/RuiAccordion.vue.d.ts +1 -1
  3. package/dist/components/alerts/RuiAlert.vue.d.ts +1 -1
  4. package/dist/components/buttons/button/RuiButton.vue.d.ts +1 -3
  5. package/dist/components/buttons/button-group/RuiButtonGroup.vue.d.ts +1 -3
  6. package/dist/components/chips/RuiChip.vue.d.ts +1 -1
  7. package/dist/components/forms/auto-complete/RuiAutoComplete.vue.d.ts +18 -20
  8. package/dist/components/forms/checkbox/RuiCheckbox.vue.d.ts +1 -1
  9. package/dist/components/forms/radio-button/radio/RuiRadio.vue.d.ts +1 -3
  10. package/dist/components/forms/radio-button/radio-group/RuiRadioGroup.vue.d.ts +1 -3
  11. package/dist/components/forms/revealable-text-field/RuiRevealableTextField.vue.d.ts +5 -5
  12. package/dist/components/forms/select/RuiMenuSelect.vue.d.ts +2 -4
  13. package/dist/components/forms/text-area/RuiTextArea.vue.d.ts +4 -4
  14. package/dist/components/forms/text-field/RuiTextField.vue.d.ts +5 -5
  15. package/dist/components/icons/RuiIcon.vue.d.ts +1 -1
  16. package/dist/components/index.d.ts +30 -30
  17. package/dist/components/index.es.js +5454 -5454
  18. package/dist/components/overlays/badge/RuiBadge.vue.d.ts +1 -1
  19. package/dist/components/overlays/dialog/RuiDialog.vue.d.ts +2 -2
  20. package/dist/components/overlays/menu/RuiMenu.vue.d.ts +2 -2
  21. package/dist/components/overlays/navigation-drawer/RuiNavigationDrawer.vue.d.ts +2 -2
  22. package/dist/components/overlays/tooltip/RuiTooltip.vue.d.ts +2 -2
  23. package/dist/components/progress/RuiProgress.vue.d.ts +1 -1
  24. package/dist/components/steppers/RuiStepper.vue.d.ts +1 -1
  25. package/dist/components/tables/RuiDataTable.vue.d.ts +2 -4
  26. package/dist/components/tables/RuiTableHead.vue.d.ts +4 -6
  27. package/dist/components/tabs/tab/RuiTab.vue.d.ts +4 -4
  28. package/dist/components/tabs/tab-items/RuiTabItems.vue.d.ts +1 -3
  29. package/dist/composables/defaults/table.d.ts +1 -1
  30. package/dist/composables/{index-BWYjmHnW.js → index-DKotjeCA.js} +94 -95
  31. package/dist/composables/index.d.ts +1 -1
  32. package/dist/composables/index.es.js +1 -1
  33. package/dist/composables/popper.d.ts +2 -2
  34. package/dist/consts/forms/auto-complete/index.d.ts +1 -1
  35. package/dist/index.d.ts +6 -6
  36. package/dist/index.es.js +52 -52
  37. package/dist/style.css +1 -1
  38. package/dist/types/{index-DSBIGM2a.js → index-CN6Ip1GL.js} +1 -2
  39. package/dist/types/theme.d.ts +1 -1
  40. package/dist/utils/{index-Cps3W0wA.js → index-Bi6PqW7j.js} +38 -38
  41. package/dist/{vendor-BRFX1hnB.js → vendor-ClNuDbHx.js} +1385 -1387
  42. package/dist/web-types.json +4 -4
  43. package/package.json +40 -40
@@ -32,8 +32,8 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
32
32
  rounded: "sm" | "md" | "lg" | "full";
33
33
  icon: RuiIcons | null;
34
34
  modelValue: boolean;
35
- left: boolean;
36
35
  dot: boolean;
36
+ left: boolean;
37
37
  offsetX: string | number;
38
38
  offsetY: string | number;
39
39
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
@@ -39,12 +39,12 @@ declare const __VLS_component: import("vue").DefineComponent<DialogProps, {}, {}
39
39
  "onClick:outside"?: (() => any) | undefined;
40
40
  "onClick:esc"?: (() => any) | undefined;
41
41
  }>, {
42
- width: string | number;
43
42
  modelValue: boolean;
43
+ width: string | number;
44
+ contentClass: any;
44
45
  zIndex: string | number;
45
46
  persistent: boolean;
46
47
  bottomSheet: boolean;
47
- contentClass: any;
48
48
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
49
49
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
50
50
  export default _default;
@@ -58,11 +58,11 @@ declare const __VLS_component: import("vue").DefineComponent<MenuProps, {}, {},
58
58
  errorMessages: string | string[];
59
59
  successMessages: string | string[];
60
60
  hint: string;
61
- openOnHover: boolean;
62
- fullWidth: boolean;
63
61
  openDelay: number;
64
62
  closeDelay: number;
65
63
  popper: PopperOptions;
64
+ openOnHover: boolean;
65
+ fullWidth: boolean;
66
66
  wrapperClass: string | object | string[];
67
67
  menuClass: string | object | string[];
68
68
  closeOnContentClick: boolean;
@@ -38,11 +38,11 @@ declare const __VLS_component: import("vue").DefineComponent<NavigationDrawerPro
38
38
  "onUpdate:model-value"?: ((value: boolean) => any) | undefined;
39
39
  onClosed?: (() => any) | undefined;
40
40
  }>, {
41
- width: string | number;
42
41
  modelValue: boolean;
42
+ width: string | number;
43
+ contentClass: string | object | string[];
43
44
  overlay: boolean;
44
45
  position: "left" | "right";
45
- contentClass: string | object | string[];
46
46
  temporary: boolean;
47
47
  stateless: boolean;
48
48
  miniVariant: boolean;
@@ -31,11 +31,11 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {
31
31
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
32
32
  text: string | null;
33
33
  disabled: boolean;
34
+ hideArrow: boolean;
34
35
  openDelay: number;
35
36
  closeDelay: number;
36
- popper: PopperOptions;
37
- hideArrow: boolean;
38
37
  persistOnTooltipHover: boolean;
38
+ popper: PopperOptions;
39
39
  tooltipClass: string;
40
40
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
41
41
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -26,9 +26,9 @@ export interface Props {
26
26
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
27
27
  size: number | string;
28
28
  value: number;
29
- color: ContextColorsType | "inherit";
30
29
  bufferValue: number;
31
30
  variant: "determinate" | "indeterminate" | "buffer";
31
+ color: ContextColorsType | "inherit";
32
32
  circular: boolean;
33
33
  showLabel: boolean;
34
34
  thickness: number | string;
@@ -25,8 +25,8 @@ declare function __VLS_template(): {
25
25
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
26
26
  declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
27
27
  step: number;
28
- iconTop: boolean;
29
28
  custom: boolean;
29
+ iconTop: boolean;
30
30
  titleClass: string;
31
31
  subtitleClass: string;
32
32
  orientation: StepperOrientation;
@@ -1,5 +1,5 @@
1
- import { type TablePaginationData } from '../../components/tables/RuiTablePagination.vue';
2
1
  import { type GroupData, type GroupKeys, type TableColumn, type TableRowKeyData, type TableSortData } from '../../components/tables/RuiTableHead.vue';
2
+ import { type TablePaginationData } from '../../components/tables/RuiTablePagination.vue';
3
3
  export interface TableOptions<T> {
4
4
  pagination?: TablePaginationData;
5
5
  sort?: TableSortData<T>;
@@ -225,9 +225,7 @@ declare const _default: <T extends object, IdType extends keyof T = keyof T>(__V
225
225
  (e: "update:collapsed", value?: T[]): void;
226
226
  (e: "copy:group", value: GroupData<T>): void;
227
227
  };
228
- }>) => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
229
- [key: string]: any;
230
- }> & {
228
+ }>) => import("vue").VNode & {
231
229
  __ctx?: Awaited<typeof __VLS_setup>;
232
230
  };
233
231
  export default _default;
@@ -55,14 +55,14 @@ export interface Props<T> {
55
55
  disableCheckAll?: boolean;
56
56
  noData?: boolean;
57
57
  colspan?: number;
58
- columns: TableColumn<T>[];
58
+ columns?: TableColumn<T>[];
59
59
  capitalizeHeaders?: boolean;
60
60
  isAllSelected?: boolean;
61
61
  indeterminate?: boolean;
62
62
  dense?: boolean;
63
- sortedMap: Partial<Record<TableRowKey<T>, SortColumn<T>>>;
63
+ sortedMap?: Partial<Record<TableRowKey<T>, SortColumn<T>>>;
64
64
  sortData?: TableSortData<T>;
65
- columnAttr: keyof TableColumn<T>;
65
+ columnAttr?: keyof TableColumn<T>;
66
66
  dataId?: string;
67
67
  }
68
68
  declare const _default: <T extends object, K extends keyof T = keyof T>(__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<{
@@ -89,9 +89,7 @@ declare const _default: <T extends object, K extends keyof T = keyof T>(__VLS_pr
89
89
  direction?: "asc" | "desc";
90
90
  }): void;
91
91
  };
92
- }>) => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
93
- [key: string]: any;
94
- }> & {
92
+ }>) => import("vue").VNode & {
95
93
  __ctx?: Awaited<typeof __VLS_setup>;
96
94
  };
97
95
  export default _default;
@@ -1,5 +1,5 @@
1
- import type { RouteLocationRaw } from 'vue-router';
2
1
  import type { ContextColorsType } from '../../../consts/colors';
2
+ import type { RouteLocationRaw } from 'vue-router';
3
3
  export interface Props {
4
4
  color?: ContextColorsType;
5
5
  disabled?: boolean;
@@ -36,17 +36,17 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
36
36
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
37
37
  onClick?: ((value: string | number) => any) | undefined;
38
38
  }>, {
39
+ link: boolean;
39
40
  active: boolean;
40
41
  vertical: boolean;
41
- link: boolean;
42
42
  value: number | string;
43
43
  color: ContextColorsType;
44
44
  disabled: boolean;
45
45
  target: string;
46
- exact: boolean;
47
- to: RouteLocationRaw;
48
46
  align: "start" | "center" | "end";
49
47
  grow: boolean;
48
+ exact: boolean;
49
+ to: RouteLocationRaw;
50
50
  activeClass: string;
51
51
  exactPath: boolean;
52
52
  indicatorPosition: "start" | "end";
@@ -11,9 +11,7 @@ declare const _default: <T extends string | number>(__VLS_props: NonNullable<Awa
11
11
  attrs: any;
12
12
  slots: {};
13
13
  emit: (evt: "update:modelValue", value: T | undefined) => void;
14
- }>) => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
15
- [key: string]: any;
16
- }> & {
14
+ }>) => import("vue").VNode & {
17
15
  __ctx?: Awaited<typeof __VLS_setup>;
18
16
  };
19
17
  export default _default;
@@ -1,5 +1,5 @@
1
- import type { InjectionKey, Ref } from 'vue';
2
1
  import type { MaybeRef } from '@vueuse/shared';
2
+ import type { InjectionKey, Ref } from 'vue';
3
3
  export interface TableOptions {
4
4
  itemsPerPage: Ref<number>;
5
5
  globalItemsPerPage: MaybeRef<boolean>;
@@ -1,42 +1,72 @@
1
- import { LuChevronsUpDown as se, LuArrowUp as re, LuArrowDown as ie, LuArrowLeft as ce, LuArrowRight as ae, LuChevronUp as le, LuChevronDown as ue, LuChevronLeft as fe, LuChevronRight as de, LuChevronsLeft as pe, LuChevronsRight as me, LuCircleAlert as he, LuCheck as ge, LuCircleX as ye, LuCircleCheck as we, LuCheckboxBlank as be, LuCheckboxFill as Le, LuCheckboxIndeterminateFill as ve, LuCheckboxBlankCircle as Ce, LuCheckboxBlankCircleFill as xe, LuRadioButtonFill as Te } from "../icons/icons_7.es.js";
2
- import { LuEllipsis as Se, LuInfo as ke, LuEye as Ee, LuEyeOff as Pe } from "../icons/icons_8.es.js";
3
- import { LuTriangleAlert as Ie, LuX as Oe } from "../icons/icons_10.es.js";
4
- import { inject as ee, ref as h, computed as M, watch as W, onMounted as te, watchEffect as $e, nextTick as Y } from "vue";
5
- import { e as Be } from "../utils/index-Cps3W0wA.js";
6
- import { createSharedComposable as De, useColorMode as Ae, useWindowSize as Me, breakpointsTailwind as Re, useBreakpoints as ze, unrefElement as Z, useResizeObserver as ne, useVirtualList as He, useArrayMap as _e, watchOnce as qe, useEventListener as K, useMutationObserver as je } from "@vueuse/core";
7
- import { d as oe, T as O } from "../types/index-DSBIGM2a.js";
1
+ import { useWindowSize as se, breakpointsTailwind as re, useBreakpoints as ie, createSharedComposable as ce, useColorMode as ae, unrefElement as Y, useResizeObserver as ee, useVirtualList as le, useArrayMap as ue, watchOnce as fe, useEventListener as K, useMutationObserver as de } from "@vueuse/core";
2
+ import { c as G, p as pe, d as me, a as he, o as ge, f as ye, b as we, e as be, g as Le } from "../vendor-ClNuDbHx.js";
3
+ import { computed as M, inject as te, ref as h, watch as W, onMounted as ne, watchEffect as ve, nextTick as Z } from "vue";
8
4
  import { get as e, set as l } from "@vueuse/shared";
9
- import { c as G, p as Ue, d as Ve, a as We, o as Fe, f as Ne, b as Xe, e as Ke, g as Ge } from "../vendor-BRFX1hnB.js";
5
+ import { LuChevronsUpDown as Ce, LuArrowUp as xe, LuArrowDown as Te, LuArrowLeft as Se, LuArrowRight as ke, LuChevronUp as Ee, LuChevronDown as Pe, LuChevronLeft as Ie, LuChevronRight as Oe, LuChevronsLeft as $e, LuChevronsRight as Be, LuCircleAlert as De, LuCheck as Ae, LuCircleX as Me, LuCircleCheck as Re, LuCheckboxBlank as ze, LuCheckboxFill as He, LuCheckboxIndeterminateFill as _e, LuCheckboxBlankCircle as qe, LuCheckboxBlankCircleFill as je, LuRadioButtonFill as Ue } from "../icons/icons_7.es.js";
6
+ import { LuEllipsis as Ve, LuInfo as We, LuEye as Fe, LuEyeOff as Ne } from "../icons/icons_8.es.js";
7
+ import { LuTriangleAlert as Xe, LuX as Ke } from "../icons/icons_10.es.js";
8
+ import { e as Ge } from "../utils/index-Bi6PqW7j.js";
9
+ import { d as oe, T as O } from "../types/index-CN6Ip1GL.js";
10
+ function ft() {
11
+ const { width: r } = se(), f = {
12
+ xs: 0,
13
+ ...re
14
+ }, p = ie(f), y = Object.keys, c = y(f), g = c.map(
15
+ (n, a) => [
16
+ n,
17
+ a < c.length - 1 ? p.between(n, c[a + 1]) : p[n]
18
+ ]
19
+ ), i = g.map(([n, a]) => [
20
+ G(`is_${n}`),
21
+ a
22
+ ]), v = c.map((n) => [
23
+ G(`is_${n}_and_up`),
24
+ p.greaterOrEqual(n)
25
+ ]), w = c.map((n) => [
26
+ G(`is_${n}_and_down`),
27
+ p.smaller(n)
28
+ ]), d = M(() => {
29
+ var n;
30
+ return ((n = g.find((a) => e(a[1]))) == null ? void 0 : n[0]) || "";
31
+ });
32
+ return {
33
+ ...Object.fromEntries(i),
34
+ ...Object.fromEntries(v),
35
+ ...Object.fromEntries(w),
36
+ name: d,
37
+ width: r
38
+ };
39
+ }
10
40
  const Je = [
11
- se,
41
+ Ce,
42
+ Ve,
43
+ Xe,
44
+ Ke,
45
+ We,
46
+ xe,
47
+ Te,
12
48
  Se,
13
- Ie,
14
- Oe,
15
49
  ke,
16
- re,
17
- ie,
18
- ce,
19
- ae,
20
- le,
21
- ue,
22
- fe,
23
- de,
24
- pe,
25
- me,
26
- he,
27
50
  Ee,
28
51
  Pe,
29
- ge,
30
- ye,
31
- we,
32
- be,
33
- Le,
34
- ve,
35
- Ce,
36
- xe,
37
- Te
52
+ Ie,
53
+ Oe,
54
+ $e,
55
+ Be,
56
+ De,
57
+ Fe,
58
+ Ne,
59
+ Ae,
60
+ Me,
61
+ Re,
62
+ ze,
63
+ He,
64
+ _e,
65
+ qe,
66
+ je,
67
+ Ue
38
68
  ], Qe = Symbol.for("rui:icons");
39
- function ft(r) {
69
+ function dt(r) {
40
70
  const f = (r == null ? void 0 : r.registeredIcons) || [];
41
71
  return {
42
72
  registeredIcons: {
@@ -49,12 +79,12 @@ function ft(r) {
49
79
  }
50
80
  };
51
81
  }
52
- function dt() {
53
- const r = ee(Qe);
54
- return Be(r, "Could not find icons injection"), r;
82
+ function pt() {
83
+ const r = te(Qe);
84
+ return Ge(r, "Could not find icons injection"), r;
55
85
  }
56
- const V = h({ ...oe }), pt = De(() => {
57
- const { state: r, store: f } = Ae(), p = M(() => e(f) === O.auto), y = M(() => e(r) === O.light), c = M(() => e(r) === O.dark), g = M(() => e(y) ? e(V).light : e(V).dark), i = (n) => {
86
+ const V = h({ ...oe }), mt = ce(() => {
87
+ const { state: r, store: f } = ae(), p = M(() => e(f) === O.auto), y = M(() => e(r) === O.light), c = M(() => e(r) === O.dark), g = M(() => e(y) ? e(V).light : e(V).dark), i = (n) => {
58
88
  l(f, n || O.auto);
59
89
  }, v = () => {
60
90
  e(p) ? i(O.light) : e(y) ? i(O.dark) : e(c) && i(O.auto);
@@ -87,38 +117,7 @@ const V = h({ ...oe }), pt = De(() => {
87
117
  theme: g,
88
118
  toggleThemeMode: v
89
119
  };
90
- });
91
- function mt() {
92
- const { width: r } = Me(), f = {
93
- xs: 0,
94
- ...Re
95
- }, p = ze(f), y = Object.keys, c = y(f), g = c.map(
96
- (n, a) => [
97
- n,
98
- a < c.length - 1 ? p.between(n, c[a + 1]) : p[n]
99
- ]
100
- ), i = g.map(([n, a]) => [
101
- G(`is_${n}`),
102
- a
103
- ]), v = c.map((n) => [
104
- G(`is_${n}_and_up`),
105
- p.greaterOrEqual(n)
106
- ]), w = c.map((n) => [
107
- G(`is_${n}_and_down`),
108
- p.smaller(n)
109
- ]), d = M(() => {
110
- var n;
111
- return ((n = g.find((a) => e(a[1]))) == null ? void 0 : n[0]) || "";
112
- });
113
- return {
114
- ...Object.fromEntries(i),
115
- ...Object.fromEntries(v),
116
- ...Object.fromEntries(w),
117
- name: d,
118
- width: r
119
- };
120
- }
121
- const $ = {
120
+ }), $ = {
122
121
  adaptive: !0,
123
122
  gpuAcceleration: !0,
124
123
  locked: !1,
@@ -129,15 +128,15 @@ const $ = {
129
128
  resize: !0,
130
129
  scroll: !0,
131
130
  strategy: "absolute"
132
- }, Ye = Ue({
131
+ }, Ye = pe({
133
132
  defaultModifiers: [
134
- ...Ve,
135
- We,
136
- Fe,
137
- Ne,
138
- Xe,
139
- Ke,
140
- Ge
133
+ ...me,
134
+ he,
135
+ ge,
136
+ ye,
137
+ we,
138
+ be,
139
+ Le
141
140
  ]
142
141
  });
143
142
  function ht(r, f = h(!1), p = h(0), y = h(0), c) {
@@ -164,11 +163,11 @@ function ht(r, f = h(!1), p = h(0), y = h(0), c) {
164
163
  }, T = () => {
165
164
  l(x, !0);
166
165
  };
167
- return te(() => {
168
- $e((m) => {
166
+ return ne(() => {
167
+ ve((m) => {
169
168
  if (!e(i) || !e(g) && !e(c))
170
169
  return;
171
- const L = Z(i), B = e(c) || Z(g);
170
+ const L = Y(i), B = e(c) || Y(g);
172
171
  if (!(L instanceof HTMLElement) || !B)
173
172
  return;
174
173
  const {
@@ -226,7 +225,7 @@ function ht(r, f = h(!1), p = h(0), y = h(0), c) {
226
225
  });
227
226
  l(v, X), m(X.destroy);
228
227
  });
229
- }), ne([g, i], async () => {
228
+ }), ee([g, i], async () => {
230
229
  const m = e(v);
231
230
  e(w) && m && await m.update();
232
231
  }), {
@@ -281,13 +280,13 @@ function gt({
281
280
  }), { getIdentifier: P, getText: C } = Ze({
282
281
  keyAttr: i,
283
282
  textAttr: x
284
- }), { containerProps: T, list: m, scrollTo: L, wrapperProps: B } = He(
283
+ }), { containerProps: T, list: m, scrollTo: L, wrapperProps: B } = le(
285
284
  u,
286
285
  {
287
286
  itemHeight: g,
288
287
  overscan: d
289
288
  }
290
- ), R = _e(m, ({ data: t, index: s }) => ({ _index: s, item: t })), E = h(!1), z = M(() => {
289
+ ), R = ue(m, ({ data: t, index: s }) => ({ _index: s, item: t })), E = h(!1), z = M(() => {
291
290
  const t = e(o);
292
291
  return !i || !t ? t : Array.isArray(t) ? t.map((s) => s[i]) : t[i];
293
292
  }), b = h(e(p) ? 0 : -1), F = M(() => {
@@ -316,7 +315,7 @@ function gt({
316
315
  }
317
316
  async function _(t = !1) {
318
317
  const s = e(b);
319
- s > -1 && await Y(() => {
318
+ s > -1 && await Z(() => {
320
319
  var S, q;
321
320
  if ((S = e(v)) == null ? void 0 : S.parentElement) {
322
321
  const k = e(v).getElementsByClassName("highlighted")[0];
@@ -330,14 +329,14 @@ function gt({
330
329
  });
331
330
  }
332
331
  async function N(t) {
333
- await Y(() => {
332
+ await Z(() => {
334
333
  if (t) {
335
334
  const s = e(o);
336
335
  if (Array.isArray(s) && s.length > 0 || s) {
337
336
  const I = e(u).findIndex(H);
338
337
  I > -1 && l(b, I);
339
338
  }
340
- qe(m, async () => {
339
+ fe(m, async () => {
341
340
  await _();
342
341
  });
343
342
  }
@@ -393,7 +392,7 @@ function yt(r) {
393
392
  };
394
393
  }
395
394
  function wt() {
396
- const r = ee(et);
395
+ const r = te(et);
397
396
  if (!r)
398
397
  throw new Error("Could not find rui table options injection");
399
398
  return r;
@@ -415,13 +414,13 @@ function bt(r = h(!1), f) {
415
414
  i.th
416
415
  ), u = n == null ? void 0 : n.querySelectorAll(i.th);
417
416
  u == null || u.forEach((P, C) => {
418
- ne(P, (T) => {
417
+ ee(P, (T) => {
419
418
  const m = T[0].target.getBoundingClientRect(), L = o == null ? void 0 : o.item(C);
420
419
  L && (L.style.width = `${m.width}px`);
421
420
  });
422
421
  });
423
422
  };
424
- je(n, (o) => {
423
+ de(n, (o) => {
425
424
  for (const u of o)
426
425
  (u.type === "childList" || u.type === "attributes") && x();
427
426
  }, {
@@ -453,7 +452,7 @@ function bt(r = h(!1), f) {
453
452
  } else
454
453
  l(c, !1), o.style.left = `${g}px`, o.style.top = "0";
455
454
  };
456
- return te(() => {
455
+ return ne(() => {
457
456
  w(), K(y, "scroll", w), K(document.body, "scroll", w), K(window, "resize", w), v();
458
457
  }), {
459
458
  stick: c,
@@ -469,9 +468,9 @@ export {
469
468
  gt as c,
470
469
  wt as d,
471
470
  bt as e,
472
- ft as f,
473
- yt as g,
474
- pt as h,
475
- mt as i,
476
- dt as u
471
+ yt as f,
472
+ dt as g,
473
+ mt as h,
474
+ ft as i,
475
+ pt as u
477
476
  };
@@ -1,3 +1,3 @@
1
+ export { useBreakpoint } from '../composables/breakpoint';
1
2
  export { useIcons } from '../composables/icons';
2
3
  export { useRotkiTheme } from '../composables/theme';
3
- export { useBreakpoint } from '../composables/breakpoint';
@@ -1,4 +1,4 @@
1
- import { i as o, u as a, h as u } from "./index-BWYjmHnW.js";
1
+ import { i as o, u as a, h as u } from "./index-DKotjeCA.js";
2
2
  export {
3
3
  o as useBreakpoint,
4
4
  a as useIcons,
@@ -1,7 +1,7 @@
1
- import { type Ref } from 'vue';
1
+ import type { Instance, Placement, PositioningStrategy } from '@popperjs/core';
2
2
  import { type VirtualElement } from '@popperjs/core/lib/popper-lite';
3
3
  import { type MaybeElement } from '@vueuse/core';
4
- import type { Instance, Placement, PositioningStrategy } from '@popperjs/core';
4
+ import { type Ref } from 'vue';
5
5
  export interface PopperOptions {
6
6
  locked?: boolean;
7
7
  overflowPadding?: number;
@@ -1,4 +1,4 @@
1
1
  declare const defaultTextProp = "text";
2
2
  declare const defaultKeyProp = "id";
3
3
  declare const defaultDisabledProp = "disabled";
4
- export { defaultKeyProp, defaultDisabledProp, defaultTextProp, };
4
+ export { defaultDisabledProp, defaultKeyProp, defaultTextProp, };
package/dist/index.d.ts CHANGED
@@ -1,13 +1,13 @@
1
- import { StepperState } from './types/stepper';
2
- import { type TableOptions } from './composables/defaults/table';
3
- import type { App } from 'vue';
4
1
  import type { InitThemeOptions } from './types/theme';
2
+ import type { App } from 'vue';
3
+ import { type TableOptions } from './composables/defaults/table';
4
+ import { StepperState } from './types/stepper';
5
5
  import '@/style.scss';
6
+ export * from './components';
7
+ export * from './composables';
8
+ export { contextColors, type ContextColorsType } from './consts/colors';
6
9
  export * from './icons';
7
10
  export { type InitThemeOptions, type ThemeConfig, type ThemeContent, type ThemeData, ThemeMode, } from './types/theme';
8
- export { type ContextColorsType, contextColors } from './consts/colors';
9
- export * from './composables';
10
- export * from './components';
11
11
  export { StepperState };
12
12
  export interface RuiOptions {
13
13
  theme?: InitThemeOptions;