@cryptofi/core-ui 2.3.0 → 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.
@@ -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
 
@@ -657,8 +660,9 @@ declare const CfSelect: (props: CfSelectProps) => react_jsx_runtime.JSX.Element;
657
660
  interface Props extends FlexProps {
658
661
  boxSize?: string | number;
659
662
  color?: 'neutral' | 'brand';
663
+ 'aria-label'?: string;
660
664
  }
661
- declare const CfSpinner: ({ boxSize, color, ...rest }: Props) => react_jsx_runtime.JSX.Element;
665
+ declare const CfSpinner: ({ boxSize, color, "aria-label": ariaLabel, ...rest }: Props) => react_jsx_runtime.JSX.Element;
662
666
  //# sourceMappingURL=Spinner.d.ts.map
663
667
 
664
668
  type SVGIcon = ChakraComponent<'svg', object>;
@@ -731,5 +735,5 @@ declare function useDebounceValue<T>(initialValue: T | (() => T), delay: number,
731
735
  declare function useUnmount(func: () => void): void;
732
736
  //# sourceMappingURL=useUnmount.d.ts.map
733
737
 
734
- 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 };
735
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.0",
3
+ "version": "2.3.3",
4
4
  "author": {
5
5
  "name": "CryptoFi"
6
6
  },
@@ -12,24 +12,24 @@
12
12
  "scripts": {
13
13
  "build": "rm -rf ./dist && rollup -c",
14
14
  "build:storybook": "storybook build --docs -o dist",
15
- "dev": "yarn storybook dev --docs",
15
+ "dev": "pnpm storybook dev --docs",
16
16
  "format": "prettier --config ./.prettierrc -w '**/*.{tsx,ts,js,cjs,json,yml}' && git update-index --again",
17
17
  "icons:attrs": "node scripts/replaceIconAttrs.cjs",
18
18
  "icons:clean": "npx rimraf './src/icons/**/Icon!(*.stories).tsx' ./src/icons/index.ts",
19
- "icons:gen": "yarn icons:clean && yarn icons:prefix && yarn icons:svgr && yarn icons:attrs",
19
+ "icons:gen": "pnpm icons:clean && pnpm icons:prefix && pnpm icons:svgr && pnpm icons:attrs",
20
20
  "icons:prefix": "node scripts/prefixIcons.cjs",
21
21
  "icons:svgr": "npx @svgr/cli --out-dir ./src/icons -- ./svg-icons",
22
22
  "lint": "eslint -c eslint.config.js",
23
- "lint:fix": "yarn lint --fix",
24
- "posttest": "npx http-server coverage/lcov-report",
25
- "pretest": "yarn lint:fix",
26
- "publish:local": "yarn build && npx yalc publish --push",
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
27
  "publish:notifier": "dotenv cross-var node scripts/npmPublishNotifier.cjs %SLACK_WEBHOOK_URL%",
28
- "publish:npm": "yarn build && npm publish --access public && yarn publish:notifier",
28
+ "publish:npm": "pnpm build && npm publish --access public && pnpm publish:notifier",
29
29
  "storybook": "storybook dev -p 6006",
30
30
  "test": "jest --colors --passWithNoTests",
31
31
  "test:one": "node scripts/testOne.cjs",
32
- "test:watch": "yarn test --collectCoverage=false --watch",
32
+ "test:watch": "pnpm test --collectCoverage=false --watch",
33
33
  "validate:types": "npx tsc --noEmit"
34
34
  },
35
35
  "exports": {
@@ -45,9 +45,11 @@
45
45
  "files": [
46
46
  "dist"
47
47
  ],
48
- "resolutions": {
49
- "react": "^18.0.0",
50
- "react-dom": "^18.0.0"
48
+ "pnpm": {
49
+ "overrides": {
50
+ "react": "^18.0.0",
51
+ "react-dom": "^18.0.0"
52
+ }
51
53
  },
52
54
  "peerDependencies": {
53
55
  "@chakra-ui/react": "^2.10.3",
@@ -67,8 +69,8 @@
67
69
  "dayjs": "^1.11.18",
68
70
  "lodash": "^4.17.21",
69
71
  "nanoid": "^3.3.11",
70
- "react-currency-input-field": "^3.10.0",
71
- "react-hook-form": "^7.62.0",
72
+ "react-currency-input-field": "^4.0.3",
73
+ "react-hook-form": "^7.64.0",
72
74
  "react-paginate": "^8.3.0",
73
75
  "recharts": "^2.15.3",
74
76
  "yup": "^1.7.0"
@@ -79,9 +81,9 @@
79
81
  "@chakra-ui/storybook-addon": "^5.2.5",
80
82
  "@emotion/react": "^11.14.0",
81
83
  "@emotion/styled": "^11.14.1",
82
- "@eslint/js": "^9.35.0",
84
+ "@eslint/js": "^9.37.0",
83
85
  "@rollup/plugin-commonjs": "^28.0.6",
84
- "@rollup/plugin-node-resolve": "^16.0.1",
86
+ "@rollup/plugin-node-resolve": "^16.0.2",
85
87
  "@rollup/plugin-terser": "^0.4.4",
86
88
  "@storybook/addon-essentials": "^8.6.14",
87
89
  "@storybook/addon-interactions": "^8.6.14",
@@ -105,18 +107,20 @@
105
107
  "@types/big.js": "^6.2.2",
106
108
  "@types/eslint__js": "^9.14.0",
107
109
  "@types/jest": "^30.0.0",
110
+ "@types/lodash": "^4.17.20",
111
+ "@types/node": "^24.7.0",
108
112
  "@types/prop-types": "^15",
109
113
  "@types/react": "^19.x.x",
110
114
  "@types/react-dom": "^19.x.x",
111
115
  "@types/rollup-plugin-peer-deps-external": "^2",
112
116
  "@types/stringify-object": "^4.0.4",
113
- "@typescript-eslint/eslint-plugin": "^8.43.0",
114
- "@typescript-eslint/parser": "^8.43.0",
117
+ "@typescript-eslint/eslint-plugin": "^8.46.0",
118
+ "@typescript-eslint/parser": "^8.46.0",
115
119
  "chalk": "^4.1.2",
116
120
  "core-js": "^3.45.1",
117
121
  "cross-var": "^1.1.0",
118
122
  "dotenv-cli": "^10.0.0",
119
- "eslint": "^9.35.0",
123
+ "eslint": "^9.37.0",
120
124
  "eslint-config-prettier": "^10.1.8",
121
125
  "eslint-plugin-check-file": "^3.3.0",
122
126
  "eslint-plugin-import": "^2.32.0",
@@ -129,26 +133,26 @@
129
133
  "framer-motion": "^10.16.4",
130
134
  "globals": "^16.4.0",
131
135
  "identity-obj-proxy": "^3.0.0",
132
- "jest": "^30.1.3",
136
+ "jest": "^30.2.0",
133
137
  "pnpapi": "^0.0.0",
134
138
  "prettier": "^3.6.2",
135
139
  "prop-types": "^15.8.1",
136
140
  "react": "^18.x.x",
137
141
  "react-dom": "^18.x.x",
138
142
  "react-imask": "^7.6.1",
139
- "rollup": "^4.50.2",
143
+ "rollup": "^4.52.3",
140
144
  "rollup-plugin-delete": "^3.0.1",
141
145
  "rollup-plugin-dts": "^6.2.3",
142
146
  "rollup-plugin-filesize": "^10.0.0",
143
147
  "rollup-plugin-peer-deps-external": "^2.2.4",
144
148
  "rollup-plugin-typescript2": "^0.36.0",
145
- "rollup-plugin-visualizer": "^6.0.3",
149
+ "rollup-plugin-visualizer": "^6.0.4",
146
150
  "storybook": "^8.6.14",
147
151
  "stringify-object": "^6.0.0",
148
- "ts-jest": "^29.4.1",
149
- "typescript": "^5.9.2",
152
+ "ts-jest": "^29.4.4",
153
+ "typescript": "^5.9.3",
150
154
  "typescript-eslint": "^8.43.0",
151
- "vite": "^7.1.5"
155
+ "vite": "^7.1.9"
152
156
  },
153
- "packageManager": "yarn@4.9.1"
157
+ "packageManager": "pnpm@10.17.1"
154
158
  }