@cryptofi/core-ui 0.34.0 → 0.36.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.
@@ -1,188 +1,188 @@
1
1
  /// <reference types="react" />
2
- import { ButtonGroupProps, ButtonProps, CardProps, CheckboxProps, FlexProps, InputProps as InputProps$1, ModalProps, SelectProps, TagProps, UseToastOptions, ChakraComponent } from '@chakra-ui/react';
3
2
  import * as _chakra_ui_system_dist_system_types from '@chakra-ui/system/dist/system.types';
4
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
4
  import * as react from 'react';
6
5
  import { SVGProps, Dispatch, SetStateAction } from 'react';
6
+ import { IconProps, ButtonGroupProps, ButtonProps, CardProps, CheckboxProps, FlexProps, InputProps as InputProps$1, ModalProps, SelectProps, TagProps, ChakraComponent, UseToastOptions } from '@chakra-ui/react';
7
7
  import { CurveType } from 'recharts/types/shape/Curve';
8
8
  import { CurrencyInputProps } from 'react-currency-input-field';
9
9
  import { FieldValues, UseFormRegister, Control } from 'react-hook-form';
10
10
 
11
- declare const SvgIconAlert: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
11
+ declare const SvgIconAlert: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
12
12
  //# sourceMappingURL=IconAlert.d.ts.map
13
13
 
14
- declare const SvgIconArrowDown: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
14
+ declare const SvgIconArrowDown: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
15
15
  //# sourceMappingURL=IconArrowDown.d.ts.map
16
16
 
17
- declare const SvgIconArrowUp: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
17
+ declare const SvgIconArrowUp: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
18
18
  //# sourceMappingURL=IconArrowUp.d.ts.map
19
19
 
20
- declare const SvgIconBank: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
20
+ declare const SvgIconBank: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
21
21
  //# sourceMappingURL=IconBank.d.ts.map
22
22
 
23
- declare const SvgIconBarChart: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
23
+ declare const SvgIconBarChart: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
24
24
  //# sourceMappingURL=IconBarChart.d.ts.map
25
25
 
26
- declare const SvgIconCalendar: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
26
+ declare const SvgIconCalendar: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
27
27
  //# sourceMappingURL=IconCalendar.d.ts.map
28
28
 
29
- declare const SvgIconCaretDown: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
29
+ declare const SvgIconCaretDown: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
30
30
  //# sourceMappingURL=IconCaretDown.d.ts.map
31
31
 
32
- declare const SvgIconCaretLeft: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
32
+ declare const SvgIconCaretLeft: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
33
33
  //# sourceMappingURL=IconCaretLeft.d.ts.map
34
34
 
35
- declare const SvgIconCaretRight: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
35
+ declare const SvgIconCaretRight: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
36
36
  //# sourceMappingURL=IconCaretRight.d.ts.map
37
37
 
38
- declare const SvgIconCaretUp: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
38
+ declare const SvgIconCaretUp: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
39
39
  //# sourceMappingURL=IconCaretUp.d.ts.map
40
40
 
41
- declare const SvgIconCent: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
41
+ declare const SvgIconCent: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
42
42
  //# sourceMappingURL=IconCent.d.ts.map
43
43
 
44
- declare const SvgIconCheck: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
44
+ declare const SvgIconCheck: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
45
45
  //# sourceMappingURL=IconCheck.d.ts.map
46
46
 
47
- declare const SvgIconChecking: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
47
+ declare const SvgIconChecking: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
48
48
  //# sourceMappingURL=IconChecking.d.ts.map
49
49
 
50
- declare const SvgIconClose: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
50
+ declare const SvgIconClose: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
51
51
  //# sourceMappingURL=IconClose.d.ts.map
52
52
 
53
- declare const SvgIconConnect: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
53
+ declare const SvgIconConnect: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
54
54
  //# sourceMappingURL=IconConnect.d.ts.map
55
55
 
56
- declare const SvgIconCopy: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
56
+ declare const SvgIconCopy: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
57
57
  //# sourceMappingURL=IconCopy.d.ts.map
58
58
 
59
- declare const SvgIconDollar: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
59
+ declare const SvgIconDollar: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
60
60
  //# sourceMappingURL=IconDollar.d.ts.map
61
61
 
62
- declare const SvgIconDownload: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
62
+ declare const SvgIconDownload: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
63
63
  //# sourceMappingURL=IconDownload.d.ts.map
64
64
 
65
- declare const SvgIconEdit: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
65
+ declare const SvgIconEdit: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
66
66
  //# sourceMappingURL=IconEdit.d.ts.map
67
67
 
68
- declare const SvgIconEnter: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
68
+ declare const SvgIconEnter: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
69
69
  //# sourceMappingURL=IconEnter.d.ts.map
70
70
 
71
- declare const SvgIconEnterInverted: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
71
+ declare const SvgIconEnterInverted: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
72
72
  //# sourceMappingURL=IconEnterInverted.d.ts.map
73
73
 
74
- declare const SvgIconExchange: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
74
+ declare const SvgIconExchange: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
75
75
  //# sourceMappingURL=IconExchange.d.ts.map
76
76
 
77
- declare const SvgIconFilter: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
77
+ declare const SvgIconFilter: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
78
78
  //# sourceMappingURL=IconFilter.d.ts.map
79
79
 
80
- declare const SvgIconHelp: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
80
+ declare const SvgIconHelp: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
81
81
  //# sourceMappingURL=IconHelp.d.ts.map
82
82
 
83
- declare const SvgIconHistory: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
83
+ declare const SvgIconHistory: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
84
84
  //# sourceMappingURL=IconHistory.d.ts.map
85
85
 
86
- declare const SvgIconHome: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
86
+ declare const SvgIconHome: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
87
87
  //# sourceMappingURL=IconHome.d.ts.map
88
88
 
89
- declare const SvgIconIndicatorDown: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
89
+ declare const SvgIconIndicatorDown: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
90
90
  //# sourceMappingURL=IconIndicatorDown.d.ts.map
91
91
 
92
- declare const SvgIconIndicatorUp: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
92
+ declare const SvgIconIndicatorUp: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
93
93
  //# sourceMappingURL=IconIndicatorUp.d.ts.map
94
94
 
95
- declare const SvgIconInfo: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
95
+ declare const SvgIconInfo: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
96
96
  //# sourceMappingURL=IconInfo.d.ts.map
97
97
 
98
- declare const SvgIconMail: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
98
+ declare const SvgIconMail: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
99
99
  //# sourceMappingURL=IconMail.d.ts.map
100
100
 
101
- declare const SvgIconMenu: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
101
+ declare const SvgIconMenu: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
102
102
  //# sourceMappingURL=IconMenu.d.ts.map
103
103
 
104
- declare const SvgIconMore: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
104
+ declare const SvgIconMore: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
105
105
  //# sourceMappingURL=IconMore.d.ts.map
106
106
 
107
- declare const SvgIconNotification: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
107
+ declare const SvgIconNotification: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
108
108
  //# sourceMappingURL=IconNotification.d.ts.map
109
109
 
110
- declare const SvgIconOverview: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
110
+ declare const SvgIconOverview: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
111
111
  //# sourceMappingURL=IconOverview.d.ts.map
112
112
 
113
- declare const SvgIconPercent: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
113
+ declare const SvgIconPercent: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
114
114
  //# sourceMappingURL=IconPercent.d.ts.map
115
115
 
116
- declare const SvgIconPieChart: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
116
+ declare const SvgIconPieChart: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
117
117
  //# sourceMappingURL=IconPieChart.d.ts.map
118
118
 
119
- declare const SvgIconPlus: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
119
+ declare const SvgIconPlus: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
120
120
  //# sourceMappingURL=IconPlus.d.ts.map
121
121
 
122
- declare const SvgIconReports: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
122
+ declare const SvgIconReports: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
123
123
  //# sourceMappingURL=IconReports.d.ts.map
124
124
 
125
- declare const SvgIconReservesSuccess: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
125
+ declare const SvgIconReservesSuccess: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
126
126
  //# sourceMappingURL=IconReservesSuccess.d.ts.map
127
127
 
128
- declare const SvgIconReservesWarning: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
128
+ declare const SvgIconReservesWarning: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
129
129
  //# sourceMappingURL=IconReservesWarning.d.ts.map
130
130
 
131
- declare const SvgIconSearch: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
131
+ declare const SvgIconSearch: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
132
132
  //# sourceMappingURL=IconSearch.d.ts.map
133
133
 
134
- declare const SvgIconSettings: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
134
+ declare const SvgIconSettings: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
135
135
  //# sourceMappingURL=IconSettings.d.ts.map
136
136
 
137
- declare const SvgIconSettlement: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
137
+ declare const SvgIconSettlement: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
138
138
  //# sourceMappingURL=IconSettlement.d.ts.map
139
139
 
140
- declare const SvgIconSignIn: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
140
+ declare const SvgIconSignIn: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
141
141
  //# sourceMappingURL=IconSignIn.d.ts.map
142
142
 
143
- declare const SvgIconSignOut: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
143
+ declare const SvgIconSignOut: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
144
144
  //# sourceMappingURL=IconSignOut.d.ts.map
145
145
 
146
- declare const SvgIconSort: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
146
+ declare const SvgIconSort: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
147
147
  //# sourceMappingURL=IconSort.d.ts.map
148
148
 
149
- declare const SvgIconSpinner: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
149
+ declare const SvgIconSpinner: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
150
150
  //# sourceMappingURL=IconSpinner.d.ts.map
151
151
 
152
- declare const SvgIconSupport: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
152
+ declare const SvgIconSupport: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
153
153
  //# sourceMappingURL=IconSupport.d.ts.map
154
154
 
155
- declare const SvgIconTrash: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
155
+ declare const SvgIconTrash: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
156
156
  //# sourceMappingURL=IconTrash.d.ts.map
157
157
 
158
- declare const SvgIconUpload: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
158
+ declare const SvgIconUpload: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
159
159
  //# sourceMappingURL=IconUpload.d.ts.map
160
160
 
161
- declare const SvgIconUser: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
161
+ declare const SvgIconUser: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
162
162
  //# sourceMappingURL=IconUser.d.ts.map
163
163
 
164
- declare const SvgIconRefresh: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
164
+ declare const SvgIconRefresh: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
165
165
  //# sourceMappingURL=IconRefresh.d.ts.map
166
166
 
167
- declare const SvgIconAvax: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
167
+ declare const SvgIconAvax: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
168
168
  //# sourceMappingURL=IconAvax.d.ts.map
169
169
 
170
- declare const SvgIconBch: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
170
+ declare const SvgIconBch: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
171
171
  //# sourceMappingURL=IconBch.d.ts.map
172
172
 
173
- declare const SvgIconBtc: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
173
+ declare const SvgIconBtc: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
174
174
  //# sourceMappingURL=IconBtc.d.ts.map
175
175
 
176
- declare const SvgIconEth: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
176
+ declare const SvgIconEth: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
177
177
  //# sourceMappingURL=IconEth.d.ts.map
178
178
 
179
- declare const SvgIconLink: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
179
+ declare const SvgIconLink: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
180
180
  //# sourceMappingURL=IconLink.d.ts.map
181
181
 
182
- declare const SvgIconLtc: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
182
+ declare const SvgIconLtc: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
183
183
  //# sourceMappingURL=IconLtc.d.ts.map
184
184
 
185
- declare const SvgIconXlm: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
185
+ declare const SvgIconXlm: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
186
186
  //# sourceMappingURL=IconXlm.d.ts.map
187
187
 
188
188
  /**
@@ -333,14 +333,14 @@ interface CfCheckboxProps extends CheckboxProps {
333
333
  }
334
334
  declare const CfCheckbox: (props: CfCheckboxProps) => react_jsx_runtime.JSX.Element;
335
335
 
336
- interface Props$2 extends FlexProps {
336
+ interface Props$3 extends FlexProps {
337
337
  onSubmit?: (event: React.FormEvent) => void;
338
338
  }
339
339
  /**
340
340
  *
341
341
  * @description A form component with flex layout, for use with or without React Hook Form.
342
342
  */
343
- declare const CfForm: ({ children, onSubmit, ...rest }: Props$2) => react_jsx_runtime.JSX.Element;
343
+ declare const CfForm: ({ children, onSubmit, ...rest }: Props$3) => react_jsx_runtime.JSX.Element;
344
344
  //# sourceMappingURL=Form.d.ts.map
345
345
 
346
346
  type InputProps = Omit<CurrencyInputProps, 'size'> & InputProps$1;
@@ -358,7 +358,7 @@ interface CfInputProps<T extends FieldValues> extends InputProps {
358
358
  }
359
359
  declare const CfInput: <T extends FieldValues>(props: CfInputProps<T>) => react_jsx_runtime.JSX.Element;
360
360
 
361
- type Props$1<T extends FieldValues> = {
361
+ type Props$2<T extends FieldValues> = {
362
362
  name: string;
363
363
  control: Control;
364
364
  register: UseFormRegister<T>;
@@ -366,7 +366,7 @@ type Props$1<T extends FieldValues> = {
366
366
  onArrayAppend?: (appendValues: FieldValues) => void;
367
367
  onArrayRemove?: (remove: number) => void;
368
368
  };
369
- declare const CfInputArray: <T extends FieldValues>({ name, control, register, defaultValues, onArrayAppend, onArrayRemove, }: Props$1<T>) => react_jsx_runtime.JSX.Element;
369
+ declare const CfInputArray: <T extends FieldValues>({ name, control, register, defaultValues, onArrayAppend, onArrayRemove, }: Props$2<T>) => react_jsx_runtime.JSX.Element;
370
370
  //# sourceMappingURL=InputArray.d.ts.map
371
371
 
372
372
  declare const CfLineChart: ({ data, dataKey, width, height, lineType, showTooltip, isAnimated, formatter, sampleRate, style, }: {
@@ -383,13 +383,14 @@ declare const CfLineChart: ({ data, dataKey, width, height, lineType, showToolti
383
383
  }) => react_jsx_runtime.JSX.Element;
384
384
  //# sourceMappingURL=LineChart.d.ts.map
385
385
 
386
- interface Props extends ModalProps {
386
+ interface Props$1 extends ModalProps {
387
387
  headerContent?: React.ReactNode;
388
388
  footerContent?: React.ReactNode;
389
389
  bodyMinHeight?: string | number;
390
390
  bodyBackground?: string;
391
+ isDisabledCloseButton?: boolean;
391
392
  }
392
- declare const CfModal: ({ isOpen, onClose, headerContent, footerContent, children, isCentered, size, bodyMinHeight, bodyBackground, ...rest }: Props) => react_jsx_runtime.JSX.Element;
393
+ declare const CfModal: ({ isOpen, onClose, headerContent, footerContent, children, isCentered, size, bodyMinHeight, bodyBackground, isDisabledCloseButton, ...rest }: Props$1) => react_jsx_runtime.JSX.Element;
393
394
  //# sourceMappingURL=Modal.d.ts.map
394
395
 
395
396
  interface LastEvaluatedKeyParams {
@@ -421,6 +422,14 @@ interface CfSelectOption {
421
422
  }
422
423
  declare const CfSelect: <T extends FieldValues>(props: CfSelectProps<T>) => react_jsx_runtime.JSX.Element;
423
424
 
425
+ interface Props extends FlexProps {
426
+ boxSize?: string | number;
427
+ color?: 'neutral' | 'brand';
428
+ }
429
+ declare const CfSpinner: ({ boxSize, color, ...rest }: Props) => react_jsx_runtime.JSX.Element;
430
+ //# sourceMappingURL=Spinner.d.ts.map
431
+
432
+ type SVGIcon = ChakraComponent<'svg', object>;
424
433
  interface CfTagProps extends TagProps {
425
434
  label: string;
426
435
  onClose?: () => void;
@@ -444,7 +453,6 @@ declare const useBreakpoint: () => {
444
453
  };
445
454
  //# sourceMappingURL=useBreakpoint.d.ts.map
446
455
 
447
- type SVGIcon = ChakraComponent<'svg', object>;
448
456
  declare const layoutMinWidth = "22rem";
449
457
 
450
- export { CfAreaChart, CfBreakpointDebugger, CfButtonGroup, CfButtonGroupButton, CfCard, CfCheckbox, type CfCheckboxProps, CfForm, CfInput, CfInputArray, type CfInputProps, CfLineChart, CfModal, CfPagination, CfSelect, type CfSelectOption, type CfSelectProps, CfTag, type CfTagProps, CfToast, SvgIconAlert as IconAlert, SvgIconArrowDown as IconArrowDown, SvgIconArrowUp as IconArrowUp, SvgIconAvax as IconAvax, SvgIconBank as IconBank, SvgIconBarChart as IconBarChart, SvgIconBch as IconBch, SvgIconBtc as IconBtc, SvgIconCalendar as IconCalendar, SvgIconCaretDown as IconCaretDown, SvgIconCaretLeft as IconCaretLeft, SvgIconCaretRight as IconCaretRight, SvgIconCaretUp as IconCaretUp, SvgIconCent as IconCent, SvgIconCheck as IconCheck, SvgIconChecking as IconChecking, SvgIconClose as IconClose, SvgIconConnect as IconConnect, SvgIconCopy as IconCopy, SvgIconDollar as IconDollar, SvgIconDownload as IconDownload, SvgIconEdit as IconEdit, SvgIconEnter as IconEnter, SvgIconEnterInverted as IconEnterInverted, SvgIconEth as IconEth, SvgIconExchange as IconExchange, SvgIconFilter as IconFilter, SvgIconHelp as IconHelp, SvgIconHistory as IconHistory, SvgIconHome as IconHome, SvgIconIndicatorDown as IconIndicatorDown, SvgIconIndicatorUp as IconIndicatorUp, SvgIconInfo as IconInfo, SvgIconLink as IconLink, SvgIconLtc as IconLtc, SvgIconMail as IconMail, SvgIconMenu as IconMenu, SvgIconMore as IconMore, SvgIconNotification as IconNotification, SvgIconOverview as IconOverview, SvgIconPercent as IconPercent, SvgIconPieChart as IconPieChart, SvgIconPlus as IconPlus, SvgIconRefresh as IconRefresh, SvgIconReports as IconReports, SvgIconReservesSuccess as IconReservesSuccess, SvgIconReservesWarning as IconReservesWarning, SvgIconSearch as IconSearch, SvgIconSettings as IconSettings, SvgIconSettlement as IconSettlement, SvgIconSignIn as IconSignIn, SvgIconSignOut as IconSignOut, SvgIconSort as IconSort, SvgIconSpinner as IconSpinner, SvgIconSupport as IconSupport, SvgIconTrash as IconTrash, SvgIconUpload as IconUpload, SvgIconUser as IconUser, SvgIconXlm as IconXlm, type SVGIcon, aggregateAmounts, exportedTheme as coreTheme, dateToTimestamp, formatPercentage, formatUsd, getDelta, layoutMinWidth, pullFromEnd, uiColors, usdToNumber, useBreakpoint as useCfBreakpoint };
458
+ export { CfAreaChart, CfBreakpointDebugger, CfButtonGroup, CfButtonGroupButton, CfCard, CfCheckbox, type CfCheckboxProps, CfForm, CfInput, CfInputArray, type CfInputProps, CfLineChart, CfModal, CfPagination, CfSelect, type CfSelectOption, type CfSelectProps, CfSpinner, CfTag, type CfTagProps, CfToast, SvgIconAlert as IconAlert, SvgIconArrowDown as IconArrowDown, SvgIconArrowUp as IconArrowUp, SvgIconAvax as IconAvax, SvgIconBank as IconBank, SvgIconBarChart as IconBarChart, SvgIconBch as IconBch, SvgIconBtc as IconBtc, SvgIconCalendar as IconCalendar, SvgIconCaretDown as IconCaretDown, SvgIconCaretLeft as IconCaretLeft, SvgIconCaretRight as IconCaretRight, SvgIconCaretUp as IconCaretUp, SvgIconCent as IconCent, SvgIconCheck as IconCheck, SvgIconChecking as IconChecking, SvgIconClose as IconClose, SvgIconConnect as IconConnect, SvgIconCopy as IconCopy, SvgIconDollar as IconDollar, SvgIconDownload as IconDownload, SvgIconEdit as IconEdit, SvgIconEnter as IconEnter, SvgIconEnterInverted as IconEnterInverted, SvgIconEth as IconEth, SvgIconExchange as IconExchange, SvgIconFilter as IconFilter, SvgIconHelp as IconHelp, SvgIconHistory as IconHistory, SvgIconHome as IconHome, SvgIconIndicatorDown as IconIndicatorDown, SvgIconIndicatorUp as IconIndicatorUp, SvgIconInfo as IconInfo, SvgIconLink as IconLink, SvgIconLtc as IconLtc, SvgIconMail as IconMail, SvgIconMenu as IconMenu, SvgIconMore as IconMore, SvgIconNotification as IconNotification, SvgIconOverview as IconOverview, SvgIconPercent as IconPercent, SvgIconPieChart as IconPieChart, SvgIconPlus as IconPlus, SvgIconRefresh as IconRefresh, SvgIconReports as IconReports, SvgIconReservesSuccess as IconReservesSuccess, SvgIconReservesWarning as IconReservesWarning, SvgIconSearch as IconSearch, SvgIconSettings as IconSettings, SvgIconSettlement as IconSettlement, SvgIconSignIn as IconSignIn, SvgIconSignOut as IconSignOut, SvgIconSort as IconSort, SvgIconSpinner as IconSpinner, SvgIconSupport as IconSupport, SvgIconTrash as IconTrash, SvgIconUpload as IconUpload, SvgIconUser as IconUser, SvgIconXlm as IconXlm, aggregateAmounts, exportedTheme as coreTheme, dateToTimestamp, formatPercentage, formatUsd, getDelta, layoutMinWidth, pullFromEnd, uiColors, usdToNumber, useBreakpoint as useCfBreakpoint };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cryptofi/core-ui",
3
- "version": "0.34.0",
3
+ "version": "0.36.0",
4
4
  "author": {
5
5
  "name": "CryptoFi"
6
6
  },
@@ -37,7 +37,7 @@
37
37
  ],
38
38
  "peerDependencies": {
39
39
  "@chakra-ui/react": "^2.4.9",
40
- "@emotion/react": "^11.11.1",
40
+ "@emotion/react": "^11.11.4",
41
41
  "@emotion/styled": "^11.11.0",
42
42
  "framer-motion": "^10.16.4",
43
43
  "react": "^18.2.0",
@@ -46,20 +46,20 @@
46
46
  "dependencies": {
47
47
  "@chakra-ui/anatomy": "^2.2.2",
48
48
  "@hookform/resolvers": "^3.3.4",
49
+ "big.js": "^6.2.1",
49
50
  "colord": "^2.9.3",
50
51
  "currency.js": "^2.0.4",
51
52
  "dayjs": "^1.11.10",
52
- "decimal.js": "^10.4.3",
53
53
  "react-currency-input-field": "^3.8.0",
54
- "react-hook-form": "^7.49.3",
55
- "recharts": "^2.12.0",
54
+ "react-hook-form": "^7.51.0",
55
+ "recharts": "^2.12.2",
56
56
  "yup": "^1.3.3"
57
57
  },
58
58
  "devDependencies": {
59
- "@babel/core": "^7.17.5",
59
+ "@babel/core": "^7.24.0",
60
60
  "@chakra-ui/react": "^2.4.9",
61
61
  "@chakra-ui/storybook-addon": "^5.0.1",
62
- "@emotion/react": "^11.11.1",
62
+ "@emotion/react": "^11.11.4",
63
63
  "@emotion/styled": "^11.11.0",
64
64
  "@rollup/plugin-commonjs": "^25.0.7",
65
65
  "@rollup/plugin-node-resolve": "^15.2.3",
@@ -83,14 +83,15 @@
83
83
  "@svgr/plugin-svgo": "^8.1.0",
84
84
  "@testing-library/jest-dom": "^6.4.2",
85
85
  "@testing-library/react": "^14.2.1",
86
+ "@types/big.js": "^6.2.2",
86
87
  "@types/jest": "^29.2.6",
87
88
  "@types/prop-types": "^15",
88
- "@types/react": "^18.2.58",
89
+ "@types/react": "^18.2.64",
89
90
  "@types/react-dom": "^18.2.19",
90
91
  "@types/rollup-plugin-peer-deps-external": "^2",
91
92
  "@types/stringify-object": "^4.0.4",
92
- "@typescript-eslint/eslint-plugin": "^7.0.2",
93
- "@typescript-eslint/parser": "^7.0.2",
93
+ "@typescript-eslint/eslint-plugin": "^7.1.0",
94
+ "@typescript-eslint/parser": "^7.1.1",
94
95
  "chalk": "4.1.2",
95
96
  "core-js": "^3.36.0",
96
97
  "cross-var": "^1.1.0",
@@ -102,7 +103,7 @@
102
103
  "eslint-plugin-import": "^2.29.0",
103
104
  "eslint-plugin-jsx-a11y": "^6.5.1",
104
105
  "eslint-plugin-prettier": "5.1.3",
105
- "eslint-plugin-react": "^7.28.0",
106
+ "eslint-plugin-react": "^7.34.0",
106
107
  "eslint-plugin-react-hooks": "^4.3.0",
107
108
  "eslint-plugin-simple-import-sort": "^12.0.0",
108
109
  "eslint-plugin-storybook": "^0.8.0",
@@ -115,7 +116,7 @@
115
116
  "prop-types": "^15.8.1",
116
117
  "react": "^18.2.0",
117
118
  "react-dom": "^18.2.0",
118
- "rollup": "^4.3.1",
119
+ "rollup": "^4.12.1",
119
120
  "rollup-plugin-delete": "^2.0.0",
120
121
  "rollup-plugin-dts": "^6.1.0",
121
122
  "rollup-plugin-filesize": "^10.0.0",