@rotki/ui-library 2.4.4 → 2.5.1

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.
@@ -1,11 +1,11 @@
1
1
  import { useWindowSize as se, breakpointsTailwind as re, useBreakpoints as ie, createSharedComposable as ce, useColorMode as ae, unrefElement as Z, useResizeObserver as te, useVirtualList as le, useArrayMap as ue, watchOnce as fe, useEventListener as F, 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 Le, g as be } from "../vendor-CYFK77Oj.js";
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 Le, g as be } from "../vendor-DQixCxRS.js";
3
3
  import { computed as R, inject as J, ref as y, watch as V, onMounted as ne, watchEffect as ve, nextTick as ee } from "vue";
4
4
  import { get as e, set as f } from "@vueuse/shared";
5
5
  import { LuChevronsUpDown as Ce, LuArrowUp as Te, LuArrowDown as xe, LuArrowLeft as Se, LuArrowRight as Ee, LuChevronUp as Ie, LuChevronDown as ke, LuChevronLeft as Pe, LuChevronRight as Oe, LuChevronsLeft as $e, LuChevronsRight as Be, LuCircleAlert as De, LuCheck as Ae, LuCircleX as Re, LuCircleCheck as Me, LuCheckboxBlank as _e, LuCheckboxFill as ze, LuCheckboxIndeterminateFill as He, LuCheckboxBlankCircle as je, LuCheckboxBlankCircleFill as qe, LuRadioButtonFill as Ue, LuClock as Ne } from "../icons/icons_1.es.js";
6
6
  import { LuEllipsis as Ve, LuInfo as We, LuEye as Ke, LuEyeOff as Xe } from "../icons/icons_2.es.js";
7
7
  import { LuTriangleAlert as Fe, LuX as Ge } from "../icons/icons_4.es.js";
8
- import { c as Je } from "../utils/index-Zd3DrIW8.js";
8
+ import { c as Je } from "../utils/index-Cb8kepjw.js";
9
9
  import { d as oe, T as O } from "../types/index-CN6Ip1GL.js";
10
10
  function pt() {
11
11
  const { width: o } = se(), l = {
@@ -1,4 +1,4 @@
1
- import { j as o, u as a, b as u } from "./index-DkSOnEOp.js";
1
+ import { j as o, u as a, b as u } from "./index-CroB5xEQ.js";
2
2
  export {
3
3
  o as useBreakpoint,
4
4
  a as useIcons,
@@ -1,19 +1,20 @@
1
- import { h as b, i as s, R as u, b as m, T as f, I as c } from "./composables/index-DkSOnEOp.js";
1
+ import { h as b, i as s, R as m, b as u, T as f, I as p } from "./composables/index-CroB5xEQ.js";
2
2
  import "./types/index-CN6Ip1GL.js";
3
3
  import r from "dayjs";
4
- import { u as p, h as n, i as g } from "./vendor-CYFK77Oj.js";
4
+ import { u as c, h as n, i as g } from "./vendor-DQixCxRS.js";
5
5
  import "./components/index.es.js";
6
6
  import "./consts/colors-D563Ic3q.js";
7
7
  import "./i18n/keys-CNGXWOJX.js";
8
8
  import "./icons/index.es.js";
9
+ import "./utils/index-Cb8kepjw.js";
9
10
  import "./icons/icons_1.es.js";
10
11
  import "./icons/icons_2.es.js";
11
12
  import "./icons/icons_3.es.js";
12
13
  import "./icons/icons_4.es.js";
13
- function P(t) {
14
+ function z(t) {
14
15
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
15
16
  }
16
- function z(t = {}) {
17
+ function C(t = {}) {
17
18
  var l, a;
18
19
  const { theme: o } = t, e = Object.freeze({
19
20
  icons: s({
@@ -24,11 +25,11 @@ function z(t = {}) {
24
25
  return {
25
26
  defaults: e,
26
27
  install: (i) => {
27
- m().init({ ...o }), i.provide(f, e.table), i.provide(c, e.icons), r.extend(p), r.extend(n), r.extend(g);
28
+ u().init({ ...o }), i.provide(f, e.table), i.provide(p, e.icons), r.extend(c), r.extend(n), r.extend(g);
28
29
  }
29
30
  };
30
31
  }
31
- function C(t) {
32
+ function F(t) {
32
33
  if (!t || typeof t != "object")
33
34
  throw new Error("i18nInstance must be an object");
34
35
  if (!t.global || typeof t.global != "object")
@@ -39,7 +40,7 @@ function C(t) {
39
40
  throw new Error("i18nInstance.global.te must be a function");
40
41
  return {
41
42
  install: (o) => {
42
- o.provide(u, {
43
+ o.provide(m, {
43
44
  t: t.global.t.bind(t.global),
44
45
  te: t.global.te.bind(t.global)
45
46
  });
@@ -47,7 +48,7 @@ function C(t) {
47
48
  };
48
49
  }
49
50
  export {
50
- C as a,
51
- z as c,
52
- P as g
51
+ F as a,
52
+ C as c,
53
+ z as g
53
54
  };
package/dist/index.d.ts CHANGED
@@ -10,6 +10,7 @@ export { translationKeys } from './i18n/keys';
10
10
  export * from './icons';
11
11
  export { type InitThemeOptions, type ThemeConfig, type ThemeContent, type ThemeData, ThemeMode, } from './types/theme';
12
12
  export { StepperState };
13
+ export { createBlockie } from './utils/blockie';
13
14
  export interface RuiOptions {
14
15
  theme?: InitThemeOptions;
15
16
  defaults?: {