@rotki/ui-library 1.4.0 → 1.6.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 (63) hide show
  1. package/dist/components/accordions/accordion/RuiAccordion.vue.d.ts +4 -33
  2. package/dist/components/accordions/accordions/RuiAccordions.vue.d.ts +4 -27
  3. package/dist/components/alerts/RuiAlert.vue.d.ts +5 -38
  4. package/dist/components/cards/RuiCard.vue.d.ts +2 -33
  5. package/dist/components/cards/RuiCardHeader.vue.d.ts +2 -23
  6. package/dist/components/chips/RuiChip.vue.d.ts +5 -44
  7. package/dist/components/color-picker/RuiColorBoard.vue.d.ts +6 -15
  8. package/dist/components/color-picker/RuiColorDisplay.vue.d.ts +3 -12
  9. package/dist/components/color-picker/RuiColorHue.vue.d.ts +4 -13
  10. package/dist/components/color-picker/RuiColorInput.vue.d.ts +4 -13
  11. package/dist/components/color-picker/RuiColorPicker.vue.d.ts +4 -25
  12. package/dist/components/divider/RuiDivider.vue.d.ts +2 -23
  13. package/dist/components/forms/auto-complete/RuiAutoComplete.vue.d.ts +4 -1
  14. package/dist/components/forms/checkbox/RuiCheckbox.vue.d.ts +5 -44
  15. package/dist/components/forms/radio-button/radio/RuiRadio.vue.d.ts +3 -1
  16. package/dist/components/forms/radio-button/radio-group/RuiRadioGroup.vue.d.ts +3 -1
  17. package/dist/components/forms/revealable-text-field/RuiRevealableTextField.vue.d.ts +4 -55
  18. package/dist/components/forms/select/RuiMenuSelect.vue.d.ts +3 -1
  19. package/dist/components/forms/select/RuiSimpleSelect.vue.d.ts +4 -29
  20. package/dist/components/forms/slider/RuiSlider.vue.d.ts +5 -60
  21. package/dist/components/forms/switch/RuiSwitch.vue.d.ts +4 -41
  22. package/dist/components/forms/text-area/RuiTextArea.vue.d.ts +6 -64
  23. package/dist/components/forms/text-field/RuiTextField.vue.d.ts +9 -59
  24. package/dist/components/helpers/RuiFormTextDetail.vue.d.ts +4 -29
  25. package/dist/components/icons/RuiIcon.vue.d.ts +2 -25
  26. package/dist/components/index.es.js +5946 -42
  27. package/dist/components/loaders/RuiSkeletonBase.vue.d.ts +2 -23
  28. package/dist/components/loaders/RuiSkeletonLoader.vue.d.ts +2 -25
  29. package/dist/components/logos/RuiLogo.vue.d.ts +3 -32
  30. package/dist/components/overlays/badge/RuiBadge.vue.d.ts +2 -43
  31. package/dist/components/overlays/bottom-sheet/RuiBottomSheet.vue.d.ts +2 -25
  32. package/dist/components/overlays/dialog/RuiDialog.vue.d.ts +5 -36
  33. package/dist/components/overlays/menu/RuiMenu.vue.d.ts +4 -53
  34. package/dist/components/overlays/navigation-drawer/RuiNavigationDrawer.vue.d.ts +5 -40
  35. package/dist/components/overlays/notification/RuiNotification.vue.d.ts +4 -27
  36. package/dist/components/overlays/tooltip/RuiTooltip.vue.d.ts +3 -38
  37. package/dist/components/progress/RuiProgress.vue.d.ts +2 -37
  38. package/dist/components/steppers/RuiFooterStepper.vue.d.ts +4 -31
  39. package/dist/components/steppers/RuiStepper.vue.d.ts +2 -35
  40. package/dist/components/steppers/RuiStepperCustomIcon.vue.d.ts +4 -25
  41. package/dist/components/steppers/RuiStepperIcon.vue.d.ts +4 -25
  42. package/dist/components/tables/RuiExpandButton.vue.d.ts +2 -23
  43. package/dist/components/tables/RuiTablePagination.vue.d.ts +4 -29
  44. package/dist/components/tabs/tab/RuiTab.vue.d.ts +6 -49
  45. package/dist/components/tabs/tab-item/RuiTabItem.vue.d.ts +2 -29
  46. package/dist/components/tabs/tab-items/RuiTabItems.vue.d.ts +3 -1
  47. package/dist/components/tabs/tabs/RuiTabs.vue.d.ts +6 -35
  48. package/dist/composables/icons.d.ts +10 -4
  49. package/dist/composables/index--ZwAZVMb.js +482 -0
  50. package/dist/composables/index.es.js +4 -5
  51. package/dist/index.d.ts +1 -0
  52. package/dist/index.es.js +2917 -2916
  53. package/dist/style.css +1 -1
  54. package/dist/theme/index.es.js +1 -1
  55. package/dist/types/index-DSBIGM2a.js +39 -0
  56. package/dist/utils/index-Cps3W0wA.js +108 -0
  57. package/dist/vendor-BRFX1hnB.js +1626 -0
  58. package/dist/web-types.json +534 -593
  59. package/package.json +26 -26
  60. package/dist/RuiNavigationDrawer-Boq-RcMw.js +0 -7959
  61. package/dist/breakpoint-sPlgsoXp.js +0 -37
  62. package/dist/index-DIN-6VhY.js +0 -154
  63. /package/dist/{colors-D563Ic3q.js → consts/colors-D563Ic3q.js} +0 -0
@@ -22,23 +22,7 @@ declare function __VLS_template(): {
22
22
  attrs: Partial<{}>;
23
23
  };
24
24
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
25
- declare const __VLS_component: import("vue").DefineComponent<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
26
- step: undefined;
27
- iconTop: boolean;
28
- custom: boolean;
29
- titleClass: string;
30
- subtitleClass: string;
31
- orientation: "horizontal";
32
- keepActiveVisible: boolean;
33
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
34
- step: undefined;
35
- iconTop: boolean;
36
- custom: boolean;
37
- titleClass: string;
38
- subtitleClass: string;
39
- orientation: "horizontal";
40
- keepActiveVisible: boolean;
41
- }>>> & Readonly<{}>, {
25
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
42
26
  step: number;
43
27
  iconTop: boolean;
44
28
  custom: boolean;
@@ -46,28 +30,11 @@ declare const __VLS_component: import("vue").DefineComponent<globalThis.ExtractP
46
30
  subtitleClass: string;
47
31
  orientation: StepperOrientation;
48
32
  keepActiveVisible: boolean;
49
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
33
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
50
34
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
51
35
  export default _default;
52
- type __VLS_WithDefaults<P, D> = {
53
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
54
- default: D[K];
55
- }> : P[K];
56
- };
57
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
58
- type __VLS_TypePropsToOption<T> = {
59
- [K in keyof T]-?: {} extends Pick<T, K> ? {
60
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
61
- } : {
62
- type: import('vue').PropType<T[K]>;
63
- required: true;
64
- };
65
- };
66
36
  type __VLS_WithTemplateSlots<T, S> = T & {
67
37
  new (): {
68
38
  $slots: S;
69
39
  };
70
40
  };
71
- type __VLS_PrettifyLocal<T> = {
72
- [K in keyof T]: T[K];
73
- } & {};
@@ -1,32 +1,11 @@
1
1
  import { StepperState } from '../../types/stepper';
2
- declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
2
+ declare const _default: import("vue").DefineComponent<{
3
3
  state?: StepperState;
4
4
  index: number;
5
- }>, {
6
- state: "inactive";
7
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
5
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
8
6
  state?: StepperState;
9
7
  index: number;
10
- }>, {
11
- state: "inactive";
12
- }>>> & Readonly<{}>, {
8
+ }> & Readonly<{}>, {
13
9
  state: StepperState;
14
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
10
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
11
  export default _default;
16
- type __VLS_WithDefaults<P, D> = {
17
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
18
- default: D[K];
19
- }> : P[K];
20
- };
21
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
22
- type __VLS_TypePropsToOption<T> = {
23
- [K in keyof T]-?: {} extends Pick<T, K> ? {
24
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
25
- } : {
26
- type: import('vue').PropType<T[K]>;
27
- required: true;
28
- };
29
- };
30
- type __VLS_PrettifyLocal<T> = {
31
- [K in keyof T]: T[K];
32
- } & {};
@@ -1,32 +1,11 @@
1
1
  import { StepperState } from '../../types/stepper';
2
- declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
2
+ declare const _default: import("vue").DefineComponent<{
3
3
  state?: StepperState;
4
4
  index: number;
5
- }>, {
6
- state: "inactive";
7
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
5
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
8
6
  state?: StepperState;
9
7
  index: number;
10
- }>, {
11
- state: "inactive";
12
- }>>> & Readonly<{}>, {
8
+ }> & Readonly<{}>, {
13
9
  state: StepperState;
14
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
10
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
11
  export default _default;
16
- type __VLS_WithDefaults<P, D> = {
17
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
18
- default: D[K];
19
- }> : P[K];
20
- };
21
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
22
- type __VLS_TypePropsToOption<T> = {
23
- [K in keyof T]-?: {} extends Pick<T, K> ? {
24
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
25
- } : {
26
- type: import('vue').PropType<T[K]>;
27
- required: true;
28
- };
29
- };
30
- type __VLS_PrettifyLocal<T> = {
31
- [K in keyof T]: T[K];
32
- } & {};
@@ -11,34 +11,13 @@ declare function __VLS_template(): {
11
11
  attrs: Partial<{}>;
12
12
  };
13
13
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
- declare const __VLS_component: import("vue").DefineComponent<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
15
- icon: string;
16
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
17
- icon: string;
18
- }>>> & Readonly<{}>, {
14
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
19
15
  icon: RuiIcons;
20
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
17
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
22
18
  export default _default;
23
- type __VLS_WithDefaults<P, D> = {
24
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
25
- default: D[K];
26
- }> : P[K];
27
- };
28
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
29
- type __VLS_TypePropsToOption<T> = {
30
- [K in keyof T]-?: {} extends Pick<T, K> ? {
31
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
32
- } : {
33
- type: import('vue').PropType<T[K]>;
34
- required: true;
35
- };
36
- };
37
19
  type __VLS_WithTemplateSlots<T, S> = T & {
38
20
  new (): {
39
21
  $slots: S;
40
22
  };
41
23
  };
42
- type __VLS_PrettifyLocal<T> = {
43
- [K in keyof T]: T[K];
44
- } & {};
@@ -10,38 +10,13 @@ export interface Props {
10
10
  disablePerPage?: boolean;
11
11
  loading?: boolean;
12
12
  }
13
- declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
14
- dense: boolean;
15
- loading: boolean;
16
- disablePerPage: boolean;
17
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
- "update:model-value": (value: TablePaginationData) => void;
19
- }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
20
- dense: boolean;
21
- loading: boolean;
22
- disablePerPage: boolean;
23
- }>>> & Readonly<{
13
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
14
+ "update:model-value": (value: TablePaginationData) => any;
15
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
24
16
  "onUpdate:model-value"?: ((value: TablePaginationData) => any) | undefined;
25
17
  }>, {
26
18
  loading: boolean;
27
19
  dense: boolean;
28
20
  disablePerPage: boolean;
29
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
21
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
30
22
  export default _default;
31
- type __VLS_WithDefaults<P, D> = {
32
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
33
- default: D[K];
34
- }> : P[K];
35
- };
36
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
37
- type __VLS_TypePropsToOption<T> = {
38
- [K in keyof T]-?: {} extends Pick<T, K> ? {
39
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
40
- } : {
41
- type: import('vue').PropType<T[K]>;
42
- required: true;
43
- };
44
- };
45
- type __VLS_PrettifyLocal<T> = {
46
- [K in keyof T]: T[K];
47
- } & {};
@@ -14,6 +14,7 @@ export interface Props {
14
14
  exactPath?: boolean;
15
15
  vertical?: boolean;
16
16
  align?: 'start' | 'center' | 'end';
17
+ indicatorPosition?: 'start' | 'end';
17
18
  }
18
19
  declare function __VLS_template(): {
19
20
  slots: Readonly<{
@@ -29,37 +30,9 @@ declare function __VLS_template(): {
29
30
  attrs: Partial<{}>;
30
31
  };
31
32
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
32
- declare const __VLS_component: import("vue").DefineComponent<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
33
- color: undefined;
34
- disabled: boolean;
35
- grow: boolean;
36
- value: string;
37
- active: boolean;
38
- activeClass: string;
39
- link: boolean;
40
- to: string;
41
- target: string;
42
- exact: boolean;
43
- exactPath: boolean;
44
- vertical: boolean;
45
- align: string;
46
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
47
- click: (value: string | number) => void;
48
- }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
49
- color: undefined;
50
- disabled: boolean;
51
- grow: boolean;
52
- value: string;
53
- active: boolean;
54
- activeClass: string;
55
- link: boolean;
56
- to: string;
57
- target: string;
58
- exact: boolean;
59
- exactPath: boolean;
60
- vertical: boolean;
61
- align: string;
62
- }>>> & Readonly<{
33
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
34
+ click: (value: string | number) => any;
35
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
63
36
  onClick?: ((value: string | number) => any) | undefined;
64
37
  }>, {
65
38
  active: boolean;
@@ -75,28 +48,12 @@ declare const __VLS_component: import("vue").DefineComponent<globalThis.ExtractP
75
48
  grow: boolean;
76
49
  activeClass: string;
77
50
  exactPath: boolean;
78
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
51
+ indicatorPosition: "start" | "end";
52
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
79
53
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
80
54
  export default _default;
81
- type __VLS_WithDefaults<P, D> = {
82
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
83
- default: D[K];
84
- }> : P[K];
85
- };
86
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
87
- type __VLS_TypePropsToOption<T> = {
88
- [K in keyof T]-?: {} extends Pick<T, K> ? {
89
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
90
- } : {
91
- type: import('vue').PropType<T[K]>;
92
- required: true;
93
- };
94
- };
95
55
  type __VLS_WithTemplateSlots<T, S> = T & {
96
56
  new (): {
97
57
  $slots: S;
98
58
  };
99
59
  };
100
- type __VLS_PrettifyLocal<T> = {
101
- [K in keyof T]: T[K];
102
- } & {};
@@ -13,43 +13,16 @@ declare function __VLS_template(): {
13
13
  attrs: Partial<{}>;
14
14
  };
15
15
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
- declare const __VLS_component: import("vue").DefineComponent<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
17
- value: undefined;
18
- eager: boolean;
19
- active: boolean;
20
- reverse: boolean;
21
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
22
- value: undefined;
23
- eager: boolean;
24
- active: boolean;
25
- reverse: boolean;
26
- }>>> & Readonly<{}>, {
16
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
27
17
  reverse: boolean;
28
18
  active: boolean;
29
19
  value: number | string;
30
20
  eager: boolean;
31
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
21
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
32
22
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
33
23
  export default _default;
34
- type __VLS_WithDefaults<P, D> = {
35
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
36
- default: D[K];
37
- }> : P[K];
38
- };
39
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
40
- type __VLS_TypePropsToOption<T> = {
41
- [K in keyof T]-?: {} extends Pick<T, K> ? {
42
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
43
- } : {
44
- type: import('vue').PropType<T[K]>;
45
- required: true;
46
- };
47
- };
48
24
  type __VLS_WithTemplateSlots<T, S> = T & {
49
25
  new (): {
50
26
  $slots: S;
51
27
  };
52
28
  };
53
- type __VLS_PrettifyLocal<T> = {
54
- [K in keyof T]: T[K];
55
- } & {};
@@ -10,7 +10,9 @@ declare const _default: <T extends string | number>(__VLS_props: NonNullable<Awa
10
10
  expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
11
11
  attrs: any;
12
12
  slots: {};
13
- emit: (evt: "update:modelValue", modelValue: T | undefined) => void;
13
+ emit: {
14
+ 'update:modelValue': [modelValue: Props<T>["modelValue"]];
15
+ };
14
16
  }>) => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
15
17
  [key: string]: any;
16
18
  }> & {
@@ -6,24 +6,11 @@ export interface Props {
6
6
  grow?: boolean;
7
7
  modelValue?: number | string;
8
8
  align?: 'start' | 'center' | 'end';
9
+ indicatorPosition?: 'start' | 'end';
9
10
  }
10
- declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
11
- color: undefined;
12
- vertical: boolean;
13
- disabled: boolean;
14
- grow: boolean;
15
- modelValue: undefined;
16
- align: string;
17
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
- "update:modelValue": (modelValue: string | number) => void;
19
- }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
20
- color: undefined;
21
- vertical: boolean;
22
- disabled: boolean;
23
- grow: boolean;
24
- modelValue: undefined;
25
- align: string;
26
- }>>> & Readonly<{
11
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
12
+ "update:modelValue": (modelValue: string | number) => any;
13
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
27
14
  "onUpdate:modelValue"?: ((modelValue: string | number) => any) | undefined;
28
15
  }>, {
29
16
  vertical: boolean;
@@ -32,22 +19,6 @@ declare const _default: import("vue").DefineComponent<globalThis.ExtractPropType
32
19
  modelValue: number | string;
33
20
  align: "start" | "center" | "end";
34
21
  grow: boolean;
35
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
22
+ indicatorPosition: "start" | "end";
23
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
36
24
  export default _default;
37
- type __VLS_WithDefaults<P, D> = {
38
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
39
- default: D[K];
40
- }> : P[K];
41
- };
42
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
43
- type __VLS_TypePropsToOption<T> = {
44
- [K in keyof T]-?: {} extends Pick<T, K> ? {
45
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
46
- } : {
47
- type: import('vue').PropType<T[K]>;
48
- required: true;
49
- };
50
- };
51
- type __VLS_PrettifyLocal<T> = {
52
- [K in keyof T]: T[K];
53
- } & {};
@@ -1,5 +1,11 @@
1
1
  import type { GeneratedIcon } from '../types/icons';
2
- export declare const useIcons: () => {
3
- registeredIcons: globalThis.Ref<Record<string, string>, Record<string, string>>;
4
- registerIcons: (iconsToAdd: GeneratedIcon[]) => void;
5
- };
2
+ import type { InjectionKey } from 'vue';
3
+ export interface IconsOptions {
4
+ registeredIcons: GeneratedIcon[];
5
+ }
6
+ export interface UseIconsReturn {
7
+ registeredIcons: Readonly<Record<string, string>>;
8
+ }
9
+ export declare const IconsSymbol: InjectionKey<UseIconsReturn>;
10
+ export declare function createIconDefaults(options?: Partial<IconsOptions>): UseIconsReturn;
11
+ export declare function useIcons(): UseIconsReturn;