@cryptofi/core-ui 2.3.0 → 2.3.2

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.
@@ -657,8 +657,9 @@ declare const CfSelect: (props: CfSelectProps) => react_jsx_runtime.JSX.Element;
657
657
  interface Props extends FlexProps {
658
658
  boxSize?: string | number;
659
659
  color?: 'neutral' | 'brand';
660
+ 'aria-label'?: string;
660
661
  }
661
- declare const CfSpinner: ({ boxSize, color, ...rest }: Props) => react_jsx_runtime.JSX.Element;
662
+ declare const CfSpinner: ({ boxSize, color, "aria-label": ariaLabel, ...rest }: Props) => react_jsx_runtime.JSX.Element;
662
663
  //# sourceMappingURL=Spinner.d.ts.map
663
664
 
664
665
  type SVGIcon = ChakraComponent<'svg', object>;
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.2",
4
4
  "author": {
5
5
  "name": "CryptoFi"
6
6
  },
@@ -9,29 +9,6 @@
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": "yarn 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": "yarn icons:clean && yarn icons:prefix && yarn icons:svgr && yarn 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": "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",
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",
29
- "storybook": "storybook dev -p 6006",
30
- "test": "jest --colors --passWithNoTests",
31
- "test:one": "node scripts/testOne.cjs",
32
- "test:watch": "yarn test --collectCoverage=false --watch",
33
- "validate:types": "npx tsc --noEmit"
34
- },
35
12
  "exports": {
36
13
  ".": {
37
14
  "import": {
@@ -45,10 +22,6 @@
45
22
  "files": [
46
23
  "dist"
47
24
  ],
48
- "resolutions": {
49
- "react": "^18.0.0",
50
- "react-dom": "^18.0.0"
51
- },
52
25
  "peerDependencies": {
53
26
  "@chakra-ui/react": "^2.10.3",
54
27
  "@emotion/react": "^11.14.0",
@@ -67,7 +40,7 @@
67
40
  "dayjs": "^1.11.18",
68
41
  "lodash": "^4.17.21",
69
42
  "nanoid": "^3.3.11",
70
- "react-currency-input-field": "^3.10.0",
43
+ "react-currency-input-field": "^4.0.3",
71
44
  "react-hook-form": "^7.62.0",
72
45
  "react-paginate": "^8.3.0",
73
46
  "recharts": "^2.15.3",
@@ -79,9 +52,9 @@
79
52
  "@chakra-ui/storybook-addon": "^5.2.5",
80
53
  "@emotion/react": "^11.14.0",
81
54
  "@emotion/styled": "^11.14.1",
82
- "@eslint/js": "^9.35.0",
55
+ "@eslint/js": "^9.36.0",
83
56
  "@rollup/plugin-commonjs": "^28.0.6",
84
- "@rollup/plugin-node-resolve": "^16.0.1",
57
+ "@rollup/plugin-node-resolve": "^16.0.2",
85
58
  "@rollup/plugin-terser": "^0.4.4",
86
59
  "@storybook/addon-essentials": "^8.6.14",
87
60
  "@storybook/addon-interactions": "^8.6.14",
@@ -105,18 +78,20 @@
105
78
  "@types/big.js": "^6.2.2",
106
79
  "@types/eslint__js": "^9.14.0",
107
80
  "@types/jest": "^30.0.0",
81
+ "@types/lodash": "^4.17.20",
82
+ "@types/node": "^24.5.2",
108
83
  "@types/prop-types": "^15",
109
84
  "@types/react": "^19.x.x",
110
85
  "@types/react-dom": "^19.x.x",
111
86
  "@types/rollup-plugin-peer-deps-external": "^2",
112
87
  "@types/stringify-object": "^4.0.4",
113
- "@typescript-eslint/eslint-plugin": "^8.43.0",
114
- "@typescript-eslint/parser": "^8.43.0",
88
+ "@typescript-eslint/eslint-plugin": "^8.44.0",
89
+ "@typescript-eslint/parser": "^8.44.0",
115
90
  "chalk": "^4.1.2",
116
91
  "core-js": "^3.45.1",
117
92
  "cross-var": "^1.1.0",
118
93
  "dotenv-cli": "^10.0.0",
119
- "eslint": "^9.35.0",
94
+ "eslint": "^9.36.0",
120
95
  "eslint-config-prettier": "^10.1.8",
121
96
  "eslint-plugin-check-file": "^3.3.0",
122
97
  "eslint-plugin-import": "^2.32.0",
@@ -129,14 +104,14 @@
129
104
  "framer-motion": "^10.16.4",
130
105
  "globals": "^16.4.0",
131
106
  "identity-obj-proxy": "^3.0.0",
132
- "jest": "^30.1.3",
107
+ "jest": "^30.2.0",
133
108
  "pnpapi": "^0.0.0",
134
109
  "prettier": "^3.6.2",
135
110
  "prop-types": "^15.8.1",
136
111
  "react": "^18.x.x",
137
112
  "react-dom": "^18.x.x",
138
113
  "react-imask": "^7.6.1",
139
- "rollup": "^4.50.2",
114
+ "rollup": "^4.52.3",
140
115
  "rollup-plugin-delete": "^3.0.1",
141
116
  "rollup-plugin-dts": "^6.2.3",
142
117
  "rollup-plugin-filesize": "^10.0.0",
@@ -145,10 +120,32 @@
145
120
  "rollup-plugin-visualizer": "^6.0.3",
146
121
  "storybook": "^8.6.14",
147
122
  "stringify-object": "^6.0.0",
148
- "ts-jest": "^29.4.1",
123
+ "ts-jest": "^29.4.4",
149
124
  "typescript": "^5.9.2",
150
125
  "typescript-eslint": "^8.43.0",
151
- "vite": "^7.1.5"
126
+ "vite": "^7.1.7"
152
127
  },
153
- "packageManager": "yarn@4.9.1"
154
- }
128
+ "scripts": {
129
+ "build": "rm -rf ./dist && rollup -c",
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
+ }