@cryptofi/core-ui 0.33.0 → 0.35.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,189 @@
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
+ import s from 'slugify';
7
8
  import { CurveType } from 'recharts/types/shape/Curve';
8
9
  import { CurrencyInputProps } from 'react-currency-input-field';
9
10
  import { FieldValues, UseFormRegister, Control } from 'react-hook-form';
10
11
 
11
- declare const SvgIconAlert: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
12
+ declare const SvgIconAlert: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
12
13
  //# sourceMappingURL=IconAlert.d.ts.map
13
14
 
14
- declare const SvgIconArrowDown: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
15
+ declare const SvgIconArrowDown: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
15
16
  //# sourceMappingURL=IconArrowDown.d.ts.map
16
17
 
17
- declare const SvgIconArrowUp: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
18
+ declare const SvgIconArrowUp: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
18
19
  //# sourceMappingURL=IconArrowUp.d.ts.map
19
20
 
20
- declare const SvgIconBank: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
21
+ declare const SvgIconBank: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
21
22
  //# sourceMappingURL=IconBank.d.ts.map
22
23
 
23
- declare const SvgIconBarChart: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
24
+ declare const SvgIconBarChart: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
24
25
  //# sourceMappingURL=IconBarChart.d.ts.map
25
26
 
26
- declare const SvgIconCalendar: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
27
+ declare const SvgIconCalendar: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
27
28
  //# sourceMappingURL=IconCalendar.d.ts.map
28
29
 
29
- declare const SvgIconCaretDown: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
30
+ declare const SvgIconCaretDown: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
30
31
  //# sourceMappingURL=IconCaretDown.d.ts.map
31
32
 
32
- declare const SvgIconCaretLeft: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
33
+ declare const SvgIconCaretLeft: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
33
34
  //# sourceMappingURL=IconCaretLeft.d.ts.map
34
35
 
35
- declare const SvgIconCaretRight: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
36
+ declare const SvgIconCaretRight: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
36
37
  //# sourceMappingURL=IconCaretRight.d.ts.map
37
38
 
38
- declare const SvgIconCaretUp: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
39
+ declare const SvgIconCaretUp: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
39
40
  //# sourceMappingURL=IconCaretUp.d.ts.map
40
41
 
41
- declare const SvgIconCent: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
42
+ declare const SvgIconCent: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
42
43
  //# sourceMappingURL=IconCent.d.ts.map
43
44
 
44
- declare const SvgIconCheck: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
45
+ declare const SvgIconCheck: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
45
46
  //# sourceMappingURL=IconCheck.d.ts.map
46
47
 
47
- declare const SvgIconChecking: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
48
+ declare const SvgIconChecking: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
48
49
  //# sourceMappingURL=IconChecking.d.ts.map
49
50
 
50
- declare const SvgIconClose: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
51
+ declare const SvgIconClose: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
51
52
  //# sourceMappingURL=IconClose.d.ts.map
52
53
 
53
- declare const SvgIconConnect: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
54
+ declare const SvgIconConnect: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
54
55
  //# sourceMappingURL=IconConnect.d.ts.map
55
56
 
56
- declare const SvgIconCopy: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
57
+ declare const SvgIconCopy: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
57
58
  //# sourceMappingURL=IconCopy.d.ts.map
58
59
 
59
- declare const SvgIconDollar: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
60
+ declare const SvgIconDollar: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
60
61
  //# sourceMappingURL=IconDollar.d.ts.map
61
62
 
62
- declare const SvgIconDownload: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
63
+ declare const SvgIconDownload: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
63
64
  //# sourceMappingURL=IconDownload.d.ts.map
64
65
 
65
- declare const SvgIconEdit: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
66
+ declare const SvgIconEdit: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
66
67
  //# sourceMappingURL=IconEdit.d.ts.map
67
68
 
68
- declare const SvgIconEnter: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
69
+ declare const SvgIconEnter: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
69
70
  //# sourceMappingURL=IconEnter.d.ts.map
70
71
 
71
- declare const SvgIconEnterInverted: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
72
+ declare const SvgIconEnterInverted: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
72
73
  //# sourceMappingURL=IconEnterInverted.d.ts.map
73
74
 
74
- declare const SvgIconExchange: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
75
+ declare const SvgIconExchange: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
75
76
  //# sourceMappingURL=IconExchange.d.ts.map
76
77
 
77
- declare const SvgIconFilter: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
78
+ declare const SvgIconFilter: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
78
79
  //# sourceMappingURL=IconFilter.d.ts.map
79
80
 
80
- declare const SvgIconHelp: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
81
+ declare const SvgIconHelp: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
81
82
  //# sourceMappingURL=IconHelp.d.ts.map
82
83
 
83
- declare const SvgIconHistory: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
84
+ declare const SvgIconHistory: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
84
85
  //# sourceMappingURL=IconHistory.d.ts.map
85
86
 
86
- declare const SvgIconHome: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
87
+ declare const SvgIconHome: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
87
88
  //# sourceMappingURL=IconHome.d.ts.map
88
89
 
89
- declare const SvgIconIndicatorDown: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
90
+ declare const SvgIconIndicatorDown: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
90
91
  //# sourceMappingURL=IconIndicatorDown.d.ts.map
91
92
 
92
- declare const SvgIconIndicatorUp: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
93
+ declare const SvgIconIndicatorUp: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
93
94
  //# sourceMappingURL=IconIndicatorUp.d.ts.map
94
95
 
95
- declare const SvgIconInfo: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
96
+ declare const SvgIconInfo: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
96
97
  //# sourceMappingURL=IconInfo.d.ts.map
97
98
 
98
- declare const SvgIconMail: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
99
+ declare const SvgIconMail: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
99
100
  //# sourceMappingURL=IconMail.d.ts.map
100
101
 
101
- declare const SvgIconMenu: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
102
+ declare const SvgIconMenu: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
102
103
  //# sourceMappingURL=IconMenu.d.ts.map
103
104
 
104
- declare const SvgIconMore: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
105
+ declare const SvgIconMore: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
105
106
  //# sourceMappingURL=IconMore.d.ts.map
106
107
 
107
- declare const SvgIconNotification: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
108
+ declare const SvgIconNotification: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
108
109
  //# sourceMappingURL=IconNotification.d.ts.map
109
110
 
110
- declare const SvgIconOverview: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
111
+ declare const SvgIconOverview: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
111
112
  //# sourceMappingURL=IconOverview.d.ts.map
112
113
 
113
- declare const SvgIconPercent: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
114
+ declare const SvgIconPercent: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
114
115
  //# sourceMappingURL=IconPercent.d.ts.map
115
116
 
116
- declare const SvgIconPieChart: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
117
+ declare const SvgIconPieChart: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
117
118
  //# sourceMappingURL=IconPieChart.d.ts.map
118
119
 
119
- declare const SvgIconPlus: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
120
+ declare const SvgIconPlus: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
120
121
  //# sourceMappingURL=IconPlus.d.ts.map
121
122
 
122
- declare const SvgIconReports: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
123
+ declare const SvgIconReports: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
123
124
  //# sourceMappingURL=IconReports.d.ts.map
124
125
 
125
- declare const SvgIconReservesSuccess: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
126
+ declare const SvgIconReservesSuccess: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
126
127
  //# sourceMappingURL=IconReservesSuccess.d.ts.map
127
128
 
128
- declare const SvgIconReservesWarning: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
129
+ declare const SvgIconReservesWarning: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
129
130
  //# sourceMappingURL=IconReservesWarning.d.ts.map
130
131
 
131
- declare const SvgIconSearch: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
132
+ declare const SvgIconSearch: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
132
133
  //# sourceMappingURL=IconSearch.d.ts.map
133
134
 
134
- declare const SvgIconSettings: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
135
+ declare const SvgIconSettings: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
135
136
  //# sourceMappingURL=IconSettings.d.ts.map
136
137
 
137
- declare const SvgIconSettlement: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
138
+ declare const SvgIconSettlement: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
138
139
  //# sourceMappingURL=IconSettlement.d.ts.map
139
140
 
140
- declare const SvgIconSignIn: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
141
+ declare const SvgIconSignIn: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
141
142
  //# sourceMappingURL=IconSignIn.d.ts.map
142
143
 
143
- declare const SvgIconSignOut: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
144
+ declare const SvgIconSignOut: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
144
145
  //# sourceMappingURL=IconSignOut.d.ts.map
145
146
 
146
- declare const SvgIconSort: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
147
+ declare const SvgIconSort: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
147
148
  //# sourceMappingURL=IconSort.d.ts.map
148
149
 
149
- declare const SvgIconSpinner: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
150
+ declare const SvgIconSpinner: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
150
151
  //# sourceMappingURL=IconSpinner.d.ts.map
151
152
 
152
- declare const SvgIconSupport: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
153
+ declare const SvgIconSupport: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
153
154
  //# sourceMappingURL=IconSupport.d.ts.map
154
155
 
155
- declare const SvgIconTrash: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
156
+ declare const SvgIconTrash: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
156
157
  //# sourceMappingURL=IconTrash.d.ts.map
157
158
 
158
- declare const SvgIconUpload: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
159
+ declare const SvgIconUpload: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
159
160
  //# sourceMappingURL=IconUpload.d.ts.map
160
161
 
161
- declare const SvgIconUser: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
162
+ declare const SvgIconUser: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
162
163
  //# sourceMappingURL=IconUser.d.ts.map
163
164
 
164
- declare const SvgIconRefresh: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
165
+ declare const SvgIconRefresh: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
165
166
  //# sourceMappingURL=IconRefresh.d.ts.map
166
167
 
167
- declare const SvgIconAvax: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
168
+ declare const SvgIconAvax: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
168
169
  //# sourceMappingURL=IconAvax.d.ts.map
169
170
 
170
- declare const SvgIconBch: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
171
+ declare const SvgIconBch: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
171
172
  //# sourceMappingURL=IconBch.d.ts.map
172
173
 
173
- declare const SvgIconBtc: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
174
+ declare const SvgIconBtc: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
174
175
  //# sourceMappingURL=IconBtc.d.ts.map
175
176
 
176
- declare const SvgIconEth: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
177
+ declare const SvgIconEth: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
177
178
  //# sourceMappingURL=IconEth.d.ts.map
178
179
 
179
- declare const SvgIconLink: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
180
+ declare const SvgIconLink: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
180
181
  //# sourceMappingURL=IconLink.d.ts.map
181
182
 
182
- declare const SvgIconLtc: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
183
+ declare const SvgIconLtc: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
183
184
  //# sourceMappingURL=IconLtc.d.ts.map
184
185
 
185
- declare const SvgIconXlm: _chakra_ui_system_dist_system_types.ChakraComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
186
+ declare const SvgIconXlm: _chakra_ui_system_dist_system_types.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
186
187
  //# sourceMappingURL=IconXlm.d.ts.map
187
188
 
188
189
  /**
@@ -293,6 +294,17 @@ declare const usdToNumber: ({ usd, precision, autoPrecision, }: {
293
294
  }) => number;
294
295
  //# sourceMappingURL=usdToNumber.d.ts.map
295
296
 
297
+ type Options = Parameters<typeof s>[1];
298
+ type Narrowed = Extract<Options, {
299
+ replacement?: string | undefined;
300
+ }>;
301
+ /**
302
+ * @description Slugifies a string, with the same API as `slugify` from NPM, but defaults lower to true.
303
+ * @link https://www.npmjs.com/package/slugify
304
+ */
305
+ declare const slugify: (str: string | undefined, options?: Narrowed) => string;
306
+ //# sourceMappingURL=slugify.d.ts.map
307
+
296
308
  declare const CfAreaChart: ({ data, dataKey, width, height, areaType, showTooltip, isAnimated, formatter, sampleRate, style, }: {
297
309
  data: any[] | undefined;
298
310
  dataKey: string;
@@ -333,14 +345,14 @@ interface CfCheckboxProps extends CheckboxProps {
333
345
  }
334
346
  declare const CfCheckbox: (props: CfCheckboxProps) => react_jsx_runtime.JSX.Element;
335
347
 
336
- interface Props$2 extends FlexProps {
348
+ interface Props$3 extends FlexProps {
337
349
  onSubmit?: (event: React.FormEvent) => void;
338
350
  }
339
351
  /**
340
352
  *
341
353
  * @description A form component with flex layout, for use with or without React Hook Form.
342
354
  */
343
- declare const CfForm: ({ children, onSubmit, ...rest }: Props$2) => react_jsx_runtime.JSX.Element;
355
+ declare const CfForm: ({ children, onSubmit, ...rest }: Props$3) => react_jsx_runtime.JSX.Element;
344
356
  //# sourceMappingURL=Form.d.ts.map
345
357
 
346
358
  type InputProps = Omit<CurrencyInputProps, 'size'> & InputProps$1;
@@ -358,7 +370,7 @@ interface CfInputProps<T extends FieldValues> extends InputProps {
358
370
  }
359
371
  declare const CfInput: <T extends FieldValues>(props: CfInputProps<T>) => react_jsx_runtime.JSX.Element;
360
372
 
361
- type Props$1<T extends FieldValues> = {
373
+ type Props$2<T extends FieldValues> = {
362
374
  name: string;
363
375
  control: Control;
364
376
  register: UseFormRegister<T>;
@@ -366,7 +378,7 @@ type Props$1<T extends FieldValues> = {
366
378
  onArrayAppend?: (appendValues: FieldValues) => void;
367
379
  onArrayRemove?: (remove: number) => void;
368
380
  };
369
- declare const CfInputArray: <T extends FieldValues>({ name, control, register, defaultValues, onArrayAppend, onArrayRemove, }: Props$1<T>) => react_jsx_runtime.JSX.Element;
381
+ declare const CfInputArray: <T extends FieldValues>({ name, control, register, defaultValues, onArrayAppend, onArrayRemove, }: Props$2<T>) => react_jsx_runtime.JSX.Element;
370
382
  //# sourceMappingURL=InputArray.d.ts.map
371
383
 
372
384
  declare const CfLineChart: ({ data, dataKey, width, height, lineType, showTooltip, isAnimated, formatter, sampleRate, style, }: {
@@ -383,13 +395,14 @@ declare const CfLineChart: ({ data, dataKey, width, height, lineType, showToolti
383
395
  }) => react_jsx_runtime.JSX.Element;
384
396
  //# sourceMappingURL=LineChart.d.ts.map
385
397
 
386
- interface Props extends ModalProps {
398
+ interface Props$1 extends ModalProps {
387
399
  headerContent?: React.ReactNode;
388
400
  footerContent?: React.ReactNode;
389
401
  bodyMinHeight?: string | number;
390
402
  bodyBackground?: string;
403
+ isDisabledCloseButton?: boolean;
391
404
  }
392
- declare const CfModal: ({ isOpen, onClose, headerContent, footerContent, children, isCentered, size, bodyMinHeight, bodyBackground, ...rest }: Props) => react_jsx_runtime.JSX.Element;
405
+ declare const CfModal: ({ isOpen, onClose, headerContent, footerContent, children, isCentered, size, bodyMinHeight, bodyBackground, isDisabledCloseButton, ...rest }: Props$1) => react_jsx_runtime.JSX.Element;
393
406
  //# sourceMappingURL=Modal.d.ts.map
394
407
 
395
408
  interface LastEvaluatedKeyParams {
@@ -421,6 +434,14 @@ interface CfSelectOption {
421
434
  }
422
435
  declare const CfSelect: <T extends FieldValues>(props: CfSelectProps<T>) => react_jsx_runtime.JSX.Element;
423
436
 
437
+ interface Props extends FlexProps {
438
+ boxSize?: string | number;
439
+ color?: 'neutral' | 'brand';
440
+ }
441
+ declare const CfSpinner: ({ boxSize, color, ...rest }: Props) => react_jsx_runtime.JSX.Element;
442
+ //# sourceMappingURL=Spinner.d.ts.map
443
+
444
+ type SVGIcon = ChakraComponent<'svg', object>;
424
445
  interface CfTagProps extends TagProps {
425
446
  label: string;
426
447
  onClose?: () => void;
@@ -444,7 +465,6 @@ declare const useBreakpoint: () => {
444
465
  };
445
466
  //# sourceMappingURL=useBreakpoint.d.ts.map
446
467
 
447
- type SVGIcon = ChakraComponent<'svg', object>;
448
468
  declare const layoutMinWidth = "22rem";
449
469
 
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 };
470
+ 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, slugify, uiColors, usdToNumber, useBreakpoint as useCfBreakpoint };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cryptofi/core-ui",
3
- "version": "0.33.0",
3
+ "version": "0.35.0",
4
4
  "author": {
5
5
  "name": "CryptoFi"
6
6
  },
@@ -46,17 +46,18 @@
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
54
  "react-hook-form": "^7.49.3",
55
- "recharts": "^2.12.0",
55
+ "recharts": "^2.12.2",
56
+ "slugify": "^1.6.6",
56
57
  "yup": "^1.3.3"
57
58
  },
58
59
  "devDependencies": {
59
- "@babel/core": "^7.17.5",
60
+ "@babel/core": "^7.24.0",
60
61
  "@chakra-ui/react": "^2.4.9",
61
62
  "@chakra-ui/storybook-addon": "^5.0.1",
62
63
  "@emotion/react": "^11.11.1",
@@ -83,14 +84,15 @@
83
84
  "@svgr/plugin-svgo": "^8.1.0",
84
85
  "@testing-library/jest-dom": "^6.4.2",
85
86
  "@testing-library/react": "^14.2.1",
87
+ "@types/big.js": "^6.2.2",
86
88
  "@types/jest": "^29.2.6",
87
89
  "@types/prop-types": "^15",
88
90
  "@types/react": "^18.2.58",
89
91
  "@types/react-dom": "^18.2.19",
90
92
  "@types/rollup-plugin-peer-deps-external": "^2",
91
93
  "@types/stringify-object": "^4.0.4",
92
- "@typescript-eslint/eslint-plugin": "^7.0.2",
93
- "@typescript-eslint/parser": "^7.0.2",
94
+ "@typescript-eslint/eslint-plugin": "^7.1.0",
95
+ "@typescript-eslint/parser": "^7.1.0",
94
96
  "chalk": "4.1.2",
95
97
  "core-js": "^3.36.0",
96
98
  "cross-var": "^1.1.0",
@@ -102,7 +104,7 @@
102
104
  "eslint-plugin-import": "^2.29.0",
103
105
  "eslint-plugin-jsx-a11y": "^6.5.1",
104
106
  "eslint-plugin-prettier": "5.1.3",
105
- "eslint-plugin-react": "^7.28.0",
107
+ "eslint-plugin-react": "^7.34.0",
106
108
  "eslint-plugin-react-hooks": "^4.3.0",
107
109
  "eslint-plugin-simple-import-sort": "^12.0.0",
108
110
  "eslint-plugin-storybook": "^0.8.0",