@rotki/ui-library 2.1.0 → 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 (31) hide show
  1. package/README.md +1 -0
  2. package/dist/__test__/transition-group-stub.d.ts +2 -0
  3. package/dist/components/date-time-picker/RuiDateTimePicker.vue.d.ts +79 -0
  4. package/dist/components/date-time-picker/RuiDateTimePickerMenu.vue.d.ts +48 -0
  5. package/dist/components/date-time-picker/timezones.d.ts +1 -0
  6. package/dist/components/date-time-picker/types.d.ts +5 -0
  7. package/dist/components/date-time-picker/use-input-handler.d.ts +9 -0
  8. package/dist/components/date-time-picker/use-keyboard-handler.d.ts +29 -0
  9. package/dist/components/date-time-picker/utils.d.ts +4 -0
  10. package/dist/components/index.es.js +2131 -2127
  11. package/dist/components/time-picker/RuiTimePicker.vue.d.ts +16 -0
  12. package/dist/composables/{index-DOuH9rdn.js → index-iDflJtNX.js} +2 -2
  13. package/dist/composables/index.es.js +1 -1
  14. package/dist/icons/icons_1.d.ts +4 -4
  15. package/dist/icons/icons_1.es.js +388 -388
  16. package/dist/icons/icons_2.d.ts +7 -7
  17. package/dist/icons/icons_2.es.js +1024 -1024
  18. package/dist/icons/icons_3.d.ts +9 -9
  19. package/dist/icons/icons_3.es.js +1035 -1035
  20. package/dist/icons/icons_4.d.ts +9 -0
  21. package/dist/icons/icons_4.es.js +320 -284
  22. package/dist/icons/index.d.ts +1 -1
  23. package/dist/icons/index.es.js +1348 -1339
  24. package/dist/index-CIC9boM_.js +32 -0
  25. package/dist/index.es.js +1694 -1699
  26. package/dist/style.css +1 -1
  27. package/dist/utils/{index-CxHG7aHQ.js → index-CTepEwum.js} +1 -1
  28. package/dist/vendor-D4VGlT8H.js +2051 -0
  29. package/dist/web-types.json +480 -1
  30. package/package.json +31 -35
  31. 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,
@@ -326,6 +326,7 @@ export declare const LuCarFront: GeneratedIcon;
326
326
  export declare const LuCarTaxiFront: GeneratedIcon;
327
327
  export declare const LuCar: GeneratedIcon;
328
328
  export declare const LuCaravan: GeneratedIcon;
329
+ export declare const LuCardSim: GeneratedIcon;
329
330
  export declare const LuCarrot: GeneratedIcon;
330
331
  export declare const LuCaseLower: GeneratedIcon;
331
332
  export declare const LuCaseSensitive: GeneratedIcon;
@@ -359,6 +360,7 @@ export declare const LuChartPie: GeneratedIcon;
359
360
  export declare const LuChartScatter: GeneratedIcon;
360
361
  export declare const LuChartSpline: GeneratedIcon;
361
362
  export declare const LuCheckCheck: GeneratedIcon;
363
+ export declare const LuCheckLine: GeneratedIcon;
362
364
  export declare const LuCheck: GeneratedIcon;
363
365
  export declare const LuChefHat: GeneratedIcon;
364
366
  export declare const LuCherry: GeneratedIcon;
@@ -415,6 +417,7 @@ export declare const LuCirclePause: GeneratedIcon;
415
417
  export declare const LuCirclePercent: GeneratedIcon;
416
418
  export declare const LuCirclePlay: GeneratedIcon;
417
419
  export declare const LuCirclePlus: GeneratedIcon;
420
+ export declare const LuCirclePoundSterling: GeneratedIcon;
418
421
  export declare const LuCirclePower: GeneratedIcon;
419
422
  export declare const LuCircleSlash2: GeneratedIcon;
420
423
  export declare const LuCircleSlash: GeneratedIcon;
@@ -457,6 +460,7 @@ export declare const LuClockFading: GeneratedIcon;
457
460
  export declare const LuClockPlus: GeneratedIcon;
458
461
  export declare const LuClock: GeneratedIcon;
459
462
  export declare const LuCloudAlert: GeneratedIcon;
463
+ export declare const LuCloudCheck: GeneratedIcon;
460
464
  export declare const LuCloudCog: GeneratedIcon;
461
465
  export declare const LuCloudDownload: GeneratedIcon;
462
466
  export declare const LuCloudDrizzle: GeneratedIcon;
@@ -495,7 +499,3 @@ export declare const LuComputer: GeneratedIcon;
495
499
  export declare const LuConciergeBell: GeneratedIcon;
496
500
  export declare const LuCone: GeneratedIcon;
497
501
  export declare const LuConstruction: GeneratedIcon;
498
- export declare const LuContactRound: GeneratedIcon;
499
- export declare const LuContact: GeneratedIcon;
500
- export declare const LuContainer: GeneratedIcon;
501
- export declare const LuContrast: GeneratedIcon;