@rotki/ui-library 2.0.3 → 2.2.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 (32) hide show
  1. package/README.md +1 -0
  2. package/dist/__test__/transition-group-stub.d.ts +2 -0
  3. package/dist/components/chips/RuiChip.vue.d.ts +2 -0
  4. package/dist/components/date-time-picker/RuiDateTimePicker.vue.d.ts +79 -0
  5. package/dist/components/date-time-picker/RuiDateTimePickerMenu.vue.d.ts +48 -0
  6. package/dist/components/date-time-picker/timezones.d.ts +1 -0
  7. package/dist/components/date-time-picker/types.d.ts +5 -0
  8. package/dist/components/date-time-picker/use-input-handler.d.ts +9 -0
  9. package/dist/components/date-time-picker/use-keyboard-handler.d.ts +29 -0
  10. package/dist/components/date-time-picker/utils.d.ts +4 -0
  11. package/dist/components/index.es.js +2048 -2043
  12. package/dist/components/time-picker/RuiTimePicker.vue.d.ts +16 -0
  13. package/dist/composables/{index-DOuH9rdn.js → index-iDflJtNX.js} +2 -2
  14. package/dist/composables/index.es.js +1 -1
  15. package/dist/icons/icons_1.d.ts +5 -5
  16. package/dist/icons/icons_1.es.js +972 -972
  17. package/dist/icons/icons_2.d.ts +8 -8
  18. package/dist/icons/icons_2.es.js +1036 -1036
  19. package/dist/icons/icons_3.d.ts +10 -10
  20. package/dist/icons/icons_3.es.js +1037 -1037
  21. package/dist/icons/icons_4.d.ts +10 -0
  22. package/dist/icons/icons_4.es.js +322 -282
  23. package/dist/icons/index.d.ts +1 -1
  24. package/dist/icons/index.es.js +1354 -1344
  25. package/dist/index-CIC9boM_.js +32 -0
  26. package/dist/index.es.js +1565 -1569
  27. package/dist/style.css +1 -1
  28. package/dist/utils/{index-CxHG7aHQ.js → index-CTepEwum.js} +1 -1
  29. package/dist/vendor-D4VGlT8H.js +2051 -0
  30. package/dist/web-types.json +490 -1
  31. package/package.json +31 -35
  32. package/dist/vendor-BeEprDAU.js +0 -1624
@@ -1,4 +1,5 @@
1
1
  import { TimeAccuracy } from '../../consts/time-accuracy';
2
+ export type TimePickerSelection = 'hour' | 'minute' | 'second' | 'millisecond';
2
3
  export interface RuiTimePickerProps {
3
4
  accuracy?: TimeAccuracy;
4
5
  borderless?: boolean;
@@ -6,11 +7,26 @@ export interface RuiTimePickerProps {
6
7
  type __VLS_Props = RuiTimePickerProps;
7
8
  type __VLS_PublicProps = __VLS_Props & {
8
9
  modelValue: Date | undefined;
10
+ 'hour'?: number | undefined;
11
+ 'minute'?: number | undefined;
12
+ 'second'?: number | undefined;
13
+ 'millisecond'?: number | undefined;
14
+ 'selection'?: TimePickerSelection;
9
15
  };
10
16
  declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
17
  "update:modelValue": (value: Date | undefined) => any;
18
+ "update:hour": (value: number | undefined) => any;
19
+ "update:minute": (value: number | undefined) => any;
20
+ "update:second": (value: number | undefined) => any;
21
+ "update:millisecond": (value: number | undefined) => any;
22
+ "update:selection": (value: TimePickerSelection) => any;
12
23
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
24
  "onUpdate:modelValue"?: ((value: Date | undefined) => any) | undefined;
25
+ "onUpdate:hour"?: ((value: number | undefined) => any) | undefined;
26
+ "onUpdate:minute"?: ((value: number | undefined) => any) | undefined;
27
+ "onUpdate:second"?: ((value: number | undefined) => any) | undefined;
28
+ "onUpdate:millisecond"?: ((value: number | undefined) => any) | undefined;
29
+ "onUpdate:selection"?: ((value: TimePickerSelection) => any) | undefined;
14
30
  }>, {
15
31
  borderless: boolean;
16
32
  accuracy: TimeAccuracy;
@@ -1,11 +1,11 @@
1
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-BeEprDAU.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 be, g as Le } from "../vendor-D4VGlT8H.js";
3
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";
4
4
  import { get as e, set as l } from "@vueuse/shared";
5
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_1.es.js";
6
6
  import { LuEllipsis as Ve, LuInfo as We, LuEye as Fe, LuEyeOff as Ne } from "../icons/icons_2.es.js";
7
7
  import { LuTriangleAlert as Xe, LuX as Ke } from "../icons/icons_4.es.js";
8
- import { e as Ge } from "../utils/index-CxHG7aHQ.js";
8
+ import { e as Ge } from "../utils/index-CTepEwum.js";
9
9
  import { d as oe, T as O } from "../types/index-CN6Ip1GL.js";
10
10
  function ft() {
11
11
  const { width: r } = se(), f = {
@@ -1,4 +1,4 @@
1
- import { i as o, u as a, b as u } from "./index-DOuH9rdn.js";
1
+ import { i as o, u as a, b as u } from "./index-iDflJtNX.js";
2
2
  export {
3
3
  o as useBreakpoint,
4
4
  a as useIcons,
@@ -22,6 +22,7 @@ export declare const LuDiscord: GeneratedIcon;
22
22
  export declare const LuDonateFill: GeneratedIcon;
23
23
  export declare const LuDropletFill: GeneratedIcon;
24
24
  export declare const LuDropletHalfFill: GeneratedIcon;
25
+ export declare const LuDropletTrendingDown: GeneratedIcon;
25
26
  export declare const LuEvmAccounts: GeneratedIcon;
26
27
  export declare const LuExport: GeneratedIcon;
27
28
  export declare const LuEyeSemiOff: GeneratedIcon;
@@ -325,6 +326,7 @@ export declare const LuCarFront: GeneratedIcon;
325
326
  export declare const LuCarTaxiFront: GeneratedIcon;
326
327
  export declare const LuCar: GeneratedIcon;
327
328
  export declare const LuCaravan: GeneratedIcon;
329
+ export declare const LuCardSim: GeneratedIcon;
328
330
  export declare const LuCarrot: GeneratedIcon;
329
331
  export declare const LuCaseLower: GeneratedIcon;
330
332
  export declare const LuCaseSensitive: GeneratedIcon;
@@ -358,6 +360,7 @@ export declare const LuChartPie: GeneratedIcon;
358
360
  export declare const LuChartScatter: GeneratedIcon;
359
361
  export declare const LuChartSpline: GeneratedIcon;
360
362
  export declare const LuCheckCheck: GeneratedIcon;
363
+ export declare const LuCheckLine: GeneratedIcon;
361
364
  export declare const LuCheck: GeneratedIcon;
362
365
  export declare const LuChefHat: GeneratedIcon;
363
366
  export declare const LuCherry: GeneratedIcon;
@@ -414,6 +417,7 @@ export declare const LuCirclePause: GeneratedIcon;
414
417
  export declare const LuCirclePercent: GeneratedIcon;
415
418
  export declare const LuCirclePlay: GeneratedIcon;
416
419
  export declare const LuCirclePlus: GeneratedIcon;
420
+ export declare const LuCirclePoundSterling: GeneratedIcon;
417
421
  export declare const LuCirclePower: GeneratedIcon;
418
422
  export declare const LuCircleSlash2: GeneratedIcon;
419
423
  export declare const LuCircleSlash: GeneratedIcon;
@@ -456,6 +460,7 @@ export declare const LuClockFading: GeneratedIcon;
456
460
  export declare const LuClockPlus: GeneratedIcon;
457
461
  export declare const LuClock: GeneratedIcon;
458
462
  export declare const LuCloudAlert: GeneratedIcon;
463
+ export declare const LuCloudCheck: GeneratedIcon;
459
464
  export declare const LuCloudCog: GeneratedIcon;
460
465
  export declare const LuCloudDownload: GeneratedIcon;
461
466
  export declare const LuCloudDrizzle: GeneratedIcon;
@@ -494,8 +499,3 @@ export declare const LuComputer: GeneratedIcon;
494
499
  export declare const LuConciergeBell: GeneratedIcon;
495
500
  export declare const LuCone: GeneratedIcon;
496
501
  export declare const LuConstruction: GeneratedIcon;
497
- export declare const LuContactRound: GeneratedIcon;
498
- export declare const LuContact: GeneratedIcon;
499
- export declare const LuContainer: GeneratedIcon;
500
- export declare const LuContrast: GeneratedIcon;
501
- export declare const LuCookie: GeneratedIcon;