@cryptofi/core-ui 2.3.2 → 2.3.3
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.
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/types/index.d.ts +7 -4
- package/package.json +41 -34
package/dist/types/index.d.ts
CHANGED
|
@@ -183,6 +183,9 @@ declare const SvgIconUpload: _chakra_ui_react.ChakraComponent<(props: IconProps
|
|
|
183
183
|
declare const SvgIconUser: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
184
184
|
//# sourceMappingURL=IconUser.d.ts.map
|
|
185
185
|
|
|
186
|
+
declare const SvgIconUserPlus: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
187
|
+
//# sourceMappingURL=IconUserPlus.d.ts.map
|
|
188
|
+
|
|
186
189
|
declare const SvgIconDiamonds: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
187
190
|
//# sourceMappingURL=IconDiamonds.d.ts.map
|
|
188
191
|
|
|
@@ -222,12 +225,12 @@ declare const SvgIconDot: _chakra_ui_react.ChakraComponent<(props: IconProps & S
|
|
|
222
225
|
declare const SvgIconEth: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
223
226
|
//# sourceMappingURL=IconEth.d.ts.map
|
|
224
227
|
|
|
225
|
-
declare const SvgIconHbar: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
226
|
-
//# sourceMappingURL=IconHbar.d.ts.map
|
|
227
|
-
|
|
228
228
|
declare const SvgIconFil: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
229
229
|
//# sourceMappingURL=IconFil.d.ts.map
|
|
230
230
|
|
|
231
|
+
declare const SvgIconHbar: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
232
|
+
//# sourceMappingURL=IconHbar.d.ts.map
|
|
233
|
+
|
|
231
234
|
declare const SvgIconLink: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
232
235
|
//# sourceMappingURL=IconLink.d.ts.map
|
|
233
236
|
|
|
@@ -732,5 +735,5 @@ declare function useDebounceValue<T>(initialValue: T | (() => T), delay: number,
|
|
|
732
735
|
declare function useUnmount(func: () => void): void;
|
|
733
736
|
//# sourceMappingURL=useUnmount.d.ts.map
|
|
734
737
|
|
|
735
|
-
export { CfAreaChart, CfBreakpointDebugger, CfButtonGroup, CfButtonGroupButton, CfCard, CfCarousel, CfCheckbox, DevConsole as CfDevConsole, Actions as CfDevConsoleActions, Button as CfDevConsoleButton, DataGrid as CfDevConsoleDataGrid, FloatingButton as CfDevConsoleFloatingButton, Links as CfDevConsoleLinks, SystemStatus as CfDevConsoleSystemStatus, CfForm, CfInput, CfInputArray, CfLineChart, CfModal, CfNavLink, CfOpenSearchPagination, CfPagination, PrettyWrap as CfPrettyWrap, CfSelect, CfSpinner, CfStatCard, CfTag, CfToast, CfTooltip, SvgIconAave as IconAave, SvgIconAlert as IconAlert, SvgIconAlgo as IconAlgo, SvgIconArrowDown as IconArrowDown, SvgIconArrowUp as IconArrowUp, SvgIconAvax as IconAvax, SvgIconBank as IconBank, SvgIconBarChart as IconBarChart, SvgIconBch as IconBch, SvgIconBookCheck as IconBookCheck, 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, SvgIconCircleCheck as IconCircleCheck, SvgIconClose as IconClose, SvgIconConnect as IconConnect, SvgIconCopy as IconCopy, SvgIconDai as IconDai, SvgIconDiamonds as IconDiamonds, SvgIconDoge as IconDoge, SvgIconDollar as IconDollar, SvgIconDollarBill as IconDollarBill, SvgIconDot as IconDot, SvgIconDownload as IconDownload, SvgIconEdit as IconEdit, SvgIconEnter as IconEnter, SvgIconEnterInverted as IconEnterInverted, SvgIconEth as IconEth, SvgIconExchange as IconExchange, SvgIconExternalLink as IconExternalLink, SvgIconFaq as IconFaq, SvgIconFil as IconFil, SvgIconFilter as IconFilter, SvgIconGlossary as IconGlossary, SvgIconHbar as IconHbar, SvgIconHelp as IconHelp, SvgIconHistory as IconHistory, SvgIconHome as IconHome, SvgIconIndicatorDown as IconIndicatorDown, SvgIconIndicatorUp as IconIndicatorUp, SvgIconInfo as IconInfo, SvgIconLearn as IconLearn, SvgIconLink as IconLink, SvgIconLock as IconLock, SvgIconLtc as IconLtc, SvgIconMail as IconMail, SvgIconMatic as IconMatic, SvgIconMenu as IconMenu, SvgIconMinus as IconMinus, SvgIconMkr as IconMkr, SvgIconMore as IconMore, SvgIconNear as IconNear, 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, SvgIconShib as IconShib, SvgIconSignIn as IconSignIn, SvgIconSignOut as IconSignOut, SvgIconSol as IconSol, SvgIconSort as IconSort, SvgIconSpinner as IconSpinner, SvgIconSunset as IconSunset, SvgIconSupport as IconSupport, SvgIconTrash as IconTrash, SvgIconUpload as IconUpload, SvgIconUsdc as IconUsdc, SvgIconUsdt as IconUsdt, SvgIconUser as IconUser, SvgIconXlm as IconXlm, SvgIconXrp as IconXrp, aggregateAmounts, exportedTheme as coreTheme, dateFormats, dateToTimestamp, formatPercentage, formatPhoneNumber, formatUsd, generatePalette, getDelta, isIframe, layoutMinWidth, sampleFromEnd, splitOnCapitals, uiColors, usdToNumber, useBreakpoint as useCfBreakpoint, useDebounceCallback, useDebounceValue, useUnmount, utcDateToLocal };
|
|
738
|
+
export { CfAreaChart, CfBreakpointDebugger, CfButtonGroup, CfButtonGroupButton, CfCard, CfCarousel, CfCheckbox, DevConsole as CfDevConsole, Actions as CfDevConsoleActions, Button as CfDevConsoleButton, DataGrid as CfDevConsoleDataGrid, FloatingButton as CfDevConsoleFloatingButton, Links as CfDevConsoleLinks, SystemStatus as CfDevConsoleSystemStatus, CfForm, CfInput, CfInputArray, CfLineChart, CfModal, CfNavLink, CfOpenSearchPagination, CfPagination, PrettyWrap as CfPrettyWrap, CfSelect, CfSpinner, CfStatCard, CfTag, CfToast, CfTooltip, SvgIconAave as IconAave, SvgIconAlert as IconAlert, SvgIconAlgo as IconAlgo, SvgIconArrowDown as IconArrowDown, SvgIconArrowUp as IconArrowUp, SvgIconAvax as IconAvax, SvgIconBank as IconBank, SvgIconBarChart as IconBarChart, SvgIconBch as IconBch, SvgIconBookCheck as IconBookCheck, 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, SvgIconCircleCheck as IconCircleCheck, SvgIconClose as IconClose, SvgIconConnect as IconConnect, SvgIconCopy as IconCopy, SvgIconDai as IconDai, SvgIconDiamonds as IconDiamonds, SvgIconDoge as IconDoge, SvgIconDollar as IconDollar, SvgIconDollarBill as IconDollarBill, SvgIconDot as IconDot, SvgIconDownload as IconDownload, SvgIconEdit as IconEdit, SvgIconEnter as IconEnter, SvgIconEnterInverted as IconEnterInverted, SvgIconEth as IconEth, SvgIconExchange as IconExchange, SvgIconExternalLink as IconExternalLink, SvgIconFaq as IconFaq, SvgIconFil as IconFil, SvgIconFilter as IconFilter, SvgIconGlossary as IconGlossary, SvgIconHbar as IconHbar, SvgIconHelp as IconHelp, SvgIconHistory as IconHistory, SvgIconHome as IconHome, SvgIconIndicatorDown as IconIndicatorDown, SvgIconIndicatorUp as IconIndicatorUp, SvgIconInfo as IconInfo, SvgIconLearn as IconLearn, SvgIconLink as IconLink, SvgIconLock as IconLock, SvgIconLtc as IconLtc, SvgIconMail as IconMail, SvgIconMatic as IconMatic, SvgIconMenu as IconMenu, SvgIconMinus as IconMinus, SvgIconMkr as IconMkr, SvgIconMore as IconMore, SvgIconNear as IconNear, 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, SvgIconShib as IconShib, SvgIconSignIn as IconSignIn, SvgIconSignOut as IconSignOut, SvgIconSol as IconSol, SvgIconSort as IconSort, SvgIconSpinner as IconSpinner, SvgIconSunset as IconSunset, SvgIconSupport as IconSupport, SvgIconTrash as IconTrash, SvgIconUpload as IconUpload, SvgIconUsdc as IconUsdc, SvgIconUsdt as IconUsdt, SvgIconUser as IconUser, SvgIconUserPlus as IconUserPlus, SvgIconXlm as IconXlm, SvgIconXrp as IconXrp, aggregateAmounts, exportedTheme as coreTheme, dateFormats, dateToTimestamp, formatPercentage, formatPhoneNumber, formatUsd, generatePalette, getDelta, isIframe, layoutMinWidth, sampleFromEnd, splitOnCapitals, uiColors, usdToNumber, useBreakpoint as useCfBreakpoint, useDebounceCallback, useDebounceValue, useUnmount, utcDateToLocal };
|
|
736
739
|
export type { CfCheckboxProps, CfSelectOption, PageClickEvent };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cryptofi/core-ui",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.3",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "CryptoFi"
|
|
6
6
|
},
|
|
@@ -9,6 +9,29 @@
|
|
|
9
9
|
},
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"type": "module",
|
|
12
|
+
"scripts": {
|
|
13
|
+
"build": "rm -rf ./dist && rollup -c",
|
|
14
|
+
"build:storybook": "storybook build --docs -o dist",
|
|
15
|
+
"dev": "pnpm storybook dev --docs",
|
|
16
|
+
"format": "prettier --config ./.prettierrc -w '**/*.{tsx,ts,js,cjs,json,yml}' && git update-index --again",
|
|
17
|
+
"icons:attrs": "node scripts/replaceIconAttrs.cjs",
|
|
18
|
+
"icons:clean": "npx rimraf './src/icons/**/Icon!(*.stories).tsx' ./src/icons/index.ts",
|
|
19
|
+
"icons:gen": "pnpm icons:clean && pnpm icons:prefix && pnpm icons:svgr && pnpm icons:attrs",
|
|
20
|
+
"icons:prefix": "node scripts/prefixIcons.cjs",
|
|
21
|
+
"icons:svgr": "npx @svgr/cli --out-dir ./src/icons -- ./svg-icons",
|
|
22
|
+
"lint": "eslint -c eslint.config.js",
|
|
23
|
+
"lint:fix": "pnpm lint --fix",
|
|
24
|
+
"serve:coverage": "npx http-server coverage/lcov-report",
|
|
25
|
+
"pretest": "pnpm lint:fix",
|
|
26
|
+
"publish:local": "pnpm build && npx yalc publish --push",
|
|
27
|
+
"publish:notifier": "dotenv cross-var node scripts/npmPublishNotifier.cjs %SLACK_WEBHOOK_URL%",
|
|
28
|
+
"publish:npm": "pnpm build && npm publish --access public && pnpm publish:notifier",
|
|
29
|
+
"storybook": "storybook dev -p 6006",
|
|
30
|
+
"test": "jest --colors --passWithNoTests",
|
|
31
|
+
"test:one": "node scripts/testOne.cjs",
|
|
32
|
+
"test:watch": "pnpm test --collectCoverage=false --watch",
|
|
33
|
+
"validate:types": "npx tsc --noEmit"
|
|
34
|
+
},
|
|
12
35
|
"exports": {
|
|
13
36
|
".": {
|
|
14
37
|
"import": {
|
|
@@ -22,6 +45,12 @@
|
|
|
22
45
|
"files": [
|
|
23
46
|
"dist"
|
|
24
47
|
],
|
|
48
|
+
"pnpm": {
|
|
49
|
+
"overrides": {
|
|
50
|
+
"react": "^18.0.0",
|
|
51
|
+
"react-dom": "^18.0.0"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
25
54
|
"peerDependencies": {
|
|
26
55
|
"@chakra-ui/react": "^2.10.3",
|
|
27
56
|
"@emotion/react": "^11.14.0",
|
|
@@ -41,7 +70,7 @@
|
|
|
41
70
|
"lodash": "^4.17.21",
|
|
42
71
|
"nanoid": "^3.3.11",
|
|
43
72
|
"react-currency-input-field": "^4.0.3",
|
|
44
|
-
"react-hook-form": "^7.
|
|
73
|
+
"react-hook-form": "^7.64.0",
|
|
45
74
|
"react-paginate": "^8.3.0",
|
|
46
75
|
"recharts": "^2.15.3",
|
|
47
76
|
"yup": "^1.7.0"
|
|
@@ -52,7 +81,7 @@
|
|
|
52
81
|
"@chakra-ui/storybook-addon": "^5.2.5",
|
|
53
82
|
"@emotion/react": "^11.14.0",
|
|
54
83
|
"@emotion/styled": "^11.14.1",
|
|
55
|
-
"@eslint/js": "^9.
|
|
84
|
+
"@eslint/js": "^9.37.0",
|
|
56
85
|
"@rollup/plugin-commonjs": "^28.0.6",
|
|
57
86
|
"@rollup/plugin-node-resolve": "^16.0.2",
|
|
58
87
|
"@rollup/plugin-terser": "^0.4.4",
|
|
@@ -79,19 +108,19 @@
|
|
|
79
108
|
"@types/eslint__js": "^9.14.0",
|
|
80
109
|
"@types/jest": "^30.0.0",
|
|
81
110
|
"@types/lodash": "^4.17.20",
|
|
82
|
-
"@types/node": "^24.
|
|
111
|
+
"@types/node": "^24.7.0",
|
|
83
112
|
"@types/prop-types": "^15",
|
|
84
113
|
"@types/react": "^19.x.x",
|
|
85
114
|
"@types/react-dom": "^19.x.x",
|
|
86
115
|
"@types/rollup-plugin-peer-deps-external": "^2",
|
|
87
116
|
"@types/stringify-object": "^4.0.4",
|
|
88
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
89
|
-
"@typescript-eslint/parser": "^8.
|
|
117
|
+
"@typescript-eslint/eslint-plugin": "^8.46.0",
|
|
118
|
+
"@typescript-eslint/parser": "^8.46.0",
|
|
90
119
|
"chalk": "^4.1.2",
|
|
91
120
|
"core-js": "^3.45.1",
|
|
92
121
|
"cross-var": "^1.1.0",
|
|
93
122
|
"dotenv-cli": "^10.0.0",
|
|
94
|
-
"eslint": "^9.
|
|
123
|
+
"eslint": "^9.37.0",
|
|
95
124
|
"eslint-config-prettier": "^10.1.8",
|
|
96
125
|
"eslint-plugin-check-file": "^3.3.0",
|
|
97
126
|
"eslint-plugin-import": "^2.32.0",
|
|
@@ -117,35 +146,13 @@
|
|
|
117
146
|
"rollup-plugin-filesize": "^10.0.0",
|
|
118
147
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
119
148
|
"rollup-plugin-typescript2": "^0.36.0",
|
|
120
|
-
"rollup-plugin-visualizer": "^6.0.
|
|
149
|
+
"rollup-plugin-visualizer": "^6.0.4",
|
|
121
150
|
"storybook": "^8.6.14",
|
|
122
151
|
"stringify-object": "^6.0.0",
|
|
123
152
|
"ts-jest": "^29.4.4",
|
|
124
|
-
"typescript": "^5.9.
|
|
153
|
+
"typescript": "^5.9.3",
|
|
125
154
|
"typescript-eslint": "^8.43.0",
|
|
126
|
-
"vite": "^7.1.
|
|
155
|
+
"vite": "^7.1.9"
|
|
127
156
|
},
|
|
128
|
-
"
|
|
129
|
-
|
|
130
|
-
"build:storybook": "storybook build --docs -o dist",
|
|
131
|
-
"dev": "pnpm storybook dev --docs",
|
|
132
|
-
"format": "prettier --config ./.prettierrc -w '**/*.{tsx,ts,js,cjs,json,yml}' && git update-index --again",
|
|
133
|
-
"icons:attrs": "node scripts/replaceIconAttrs.cjs",
|
|
134
|
-
"icons:clean": "npx rimraf './src/icons/**/Icon!(*.stories).tsx' ./src/icons/index.ts",
|
|
135
|
-
"icons:gen": "pnpm icons:clean && pnpm icons:prefix && pnpm icons:svgr && pnpm icons:attrs",
|
|
136
|
-
"icons:prefix": "node scripts/prefixIcons.cjs",
|
|
137
|
-
"icons:svgr": "npx @svgr/cli --out-dir ./src/icons -- ./svg-icons",
|
|
138
|
-
"lint": "eslint -c eslint.config.js",
|
|
139
|
-
"lint:fix": "pnpm lint --fix",
|
|
140
|
-
"serve:coverage": "npx http-server coverage/lcov-report",
|
|
141
|
-
"pretest": "pnpm lint:fix",
|
|
142
|
-
"publish:local": "pnpm build && npx yalc publish --push",
|
|
143
|
-
"publish:notifier": "dotenv cross-var node scripts/npmPublishNotifier.cjs %SLACK_WEBHOOK_URL%",
|
|
144
|
-
"publish:npm": "pnpm build && npm publish --access public && pnpm publish:notifier",
|
|
145
|
-
"storybook": "storybook dev -p 6006",
|
|
146
|
-
"test": "jest --colors --passWithNoTests",
|
|
147
|
-
"test:one": "node scripts/testOne.cjs",
|
|
148
|
-
"test:watch": "pnpm test --collectCoverage=false --watch",
|
|
149
|
-
"validate:types": "npx tsc --noEmit"
|
|
150
|
-
}
|
|
151
|
-
}
|
|
157
|
+
"packageManager": "pnpm@10.17.1"
|
|
158
|
+
}
|