@rotki/ui-library 1.0.0 → 1.1.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,4 +1,4 @@
1
- import { I as u, H as s, R as e, a as R, b as o, J as t, c as r, d as l, u as d, v as n, e as p, f as c, K as T, r as b, t as S, D as g, g as m, h as x, _ as C, q as A, F as h, L as B, M as D, i as k, j as v, k as w, l as F, s as I, B as f, G, m as L, n as M, x as P, z as E, y as H, A as N, E as j, w as q, C as y, o as z, p as J } from "../RuiNavigationDrawer-D_PHxQsg.js";
1
+ import { I as u, H as s, R as e, a as R, b as o, J as t, c as r, d as l, u as d, v as n, e as p, f as c, K as T, r as b, t as S, D as g, g as m, h as x, _ as C, q as A, F as h, L as B, M as D, i as k, j as v, k as w, l as F, s as I, B as f, G, m as L, n as M, x as P, z as E, y as H, A as N, E as j, w as q, C as y, o as z, p as J } from "../RuiNavigationDrawer-CduEnjlC.js";
2
2
  export {
3
3
  u as RuiAccordion,
4
4
  s as RuiAccordions,
@@ -5,6 +5,7 @@ export interface Props {
5
5
  hideArrow?: boolean;
6
6
  openDelay?: number;
7
7
  closeDelay?: number;
8
+ persistOnTooltipHover?: boolean;
8
9
  popper?: PopperOptions;
9
10
  tooltipClass?: string;
10
11
  }
@@ -14,14 +15,19 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
14
15
  hideArrow: boolean;
15
16
  openDelay: number;
16
17
  closeDelay: number;
18
+ persistOnTooltipHover: boolean;
17
19
  popper: () => {};
18
20
  tooltipClass: string;
19
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
21
+ }>, {
22
+ onOpen: (immediate?: boolean) => void;
23
+ onClose: (immediate?: boolean) => void;
24
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
20
25
  text: null;
21
26
  disabled: boolean;
22
27
  hideArrow: boolean;
23
28
  openDelay: number;
24
29
  closeDelay: number;
30
+ persistOnTooltipHover: boolean;
25
31
  popper: () => {};
26
32
  tooltipClass: string;
27
33
  }>>>, {
@@ -31,10 +37,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
31
37
  closeDelay: number;
32
38
  popper: PopperOptions;
33
39
  hideArrow: boolean;
40
+ persistOnTooltipHover: boolean;
34
41
  tooltipClass: string;
35
42
  }, {}>, {
36
43
  activator?(_: {
37
44
  open: boolean;
45
+ close: (immediate?: boolean) => void;
38
46
  }): any;
39
47
  default?(_: {}): any;
40
48
  }>;
@@ -19,9 +19,9 @@ export declare const createPopper: <TModifier extends Partial<import("@popperjs/
19
19
  export declare function usePopper(options: Ref<PopperOptions>, disabled?: Ref<boolean>, openDelay?: Ref<number>, closeDelay?: Ref<number>, virtualReference?: Ref<Element | VirtualElement>): {
20
20
  instance: Ref<Instance | null>;
21
21
  leavePending: Ref<boolean>;
22
- onClose: () => void;
22
+ onClose: (immediate?: boolean) => void;
23
23
  onLeavePending: () => void;
24
- onOpen: () => void;
24
+ onOpen: (immediate?: boolean) => void;
25
25
  onPopperLeave: () => void;
26
26
  open: Ref<boolean>;
27
27
  popper: Ref<MaybeElement>;
package/dist/index.es.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { u as a, a as r } from "./index-NNlkUY_M.js";
2
2
  import { T as C } from "./index-NNlkUY_M.js";
3
- import { N as F, T as L } from "./RuiNavigationDrawer-D_PHxQsg.js";
4
- import { I as S, H as g, R as m, a as k, b as B, J as w, c as f, d as P, u as y, v as D, e as M, f as b, K as A, r as T, t as x, D as H, g as U, h as E, _ as v, q as G, F as I, L as W, M as V, i as O, j as N, k as z, l as K, s as q, B as Q, G as j, m as Z, n as X, x as J, z as Y, y as _, A as $, E as ii, w as li, C as ei, o as Ri, p as ni, S as oi } from "./RuiNavigationDrawer-D_PHxQsg.js";
3
+ import { N as F, T as L } from "./RuiNavigationDrawer-CduEnjlC.js";
4
+ import { I as S, H as g, R as m, a as k, b as B, J as w, c as f, d as P, u as y, v as D, e as M, f as b, K as A, r as T, t as x, D as H, g as U, h as E, _ as v, q as G, F as I, L as W, M as V, i as O, j as N, k as z, l as K, s as q, B as Q, G as j, m as Z, n as X, x as J, z as Y, y as _, A as $, E as ii, w as li, C as ei, o as Ri, p as ni, S as oi } from "./RuiNavigationDrawer-CduEnjlC.js";
5
5
  import { u as ri } from "./breakpoint-OTAceaTK.js";
6
6
  import { RuiIcons as Li, isRuiIcon as ti } from "./icons/index.es.js";
7
7
  import { c as di } from "./colors-D563Ic3q.js";
@@ -2,7 +2,7 @@
2
2
  "$schema": "http://json.schemastore.org/web-types",
3
3
  "framework": "vue",
4
4
  "name": "@rotki/ui-library",
5
- "version": "1.0.0",
5
+ "version": "1.1.1",
6
6
  "js-types-syntax": "typescript",
7
7
  "description-markup": "markdown",
8
8
  "contributions": {
@@ -5160,6 +5160,16 @@
5160
5160
  "type": "boolean | undefined"
5161
5161
  }
5162
5162
  },
5163
+ {
5164
+ "name": "persist-on-tooltip-hover",
5165
+ "description": "",
5166
+ "required": false,
5167
+ "default": "false",
5168
+ "value": {
5169
+ "kind": "expression",
5170
+ "type": "boolean | undefined"
5171
+ }
5172
+ },
5163
5173
  {
5164
5174
  "name": "tooltip-class",
5165
5175
  "description": "",
@@ -5178,6 +5188,10 @@
5178
5188
  {
5179
5189
  "name": "open",
5180
5190
  "type": "boolean"
5191
+ },
5192
+ {
5193
+ "name": "close",
5194
+ "type": "(immediate?: boolean) => void"
5181
5195
  }
5182
5196
  ]
5183
5197
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rotki/ui-library",
3
- "version": "1.0.0",
3
+ "version": "1.1.1",
4
4
  "description": "A vue design system and component library for rotki",
5
5
  "type": "module",
6
6
  "keywords": [