@arcblock/ux 2.9.38 → 2.9.40

Sign up to get free protection for your applications and to get access to all the features.
@@ -211,7 +211,9 @@ function ReDataTable({
211
211
  useEffect(() => setDisabled(disabled), [disabled]);
212
212
  let emptyEl;
213
213
  if (loading) {
214
- emptyEl = /*#__PURE__*/_jsx(CircularProgress, {});
214
+ emptyEl = /*#__PURE__*/_jsx(CircularProgress, {
215
+ color: "primary"
216
+ });
215
217
  } else if ( /*#__PURE__*/isValidElement(emptyNode)) {
216
218
  emptyEl = emptyNode;
217
219
  } else if (locale === 'zh') {
@@ -211,7 +211,9 @@ function ReDataTable(_ref) {
211
211
  (0, _react.useEffect)(() => setDisabled(disabled), [disabled]);
212
212
  let emptyEl;
213
213
  if (loading) {
214
- emptyEl = /*#__PURE__*/(0, _jsxRuntime.jsx)(_CircularProgress.default, {});
214
+ emptyEl = /*#__PURE__*/(0, _jsxRuntime.jsx)(_CircularProgress.default, {
215
+ color: "primary"
216
+ });
215
217
  } else if ( /*#__PURE__*/(0, _react.isValidElement)(emptyNode)) {
216
218
  emptyEl = emptyNode;
217
219
  } else if (locale === 'zh') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcblock/ux",
3
- "version": "2.9.38",
3
+ "version": "2.9.40",
4
4
  "description": "Common used react components for arcblock products",
5
5
  "keywords": [
6
6
  "react",
@@ -350,14 +350,16 @@
350
350
  "moment-timezone": "^0.5.37"
351
351
  },
352
352
  "peerDependencies": {
353
- "react": ">=18.1.0"
353
+ "@mui/icons-material": ">=5.15.0",
354
+ "@mui/material": "^5.15.0",
355
+ "react": ">=18.2.0"
354
356
  },
355
- "gitHead": "c237952e44055ba095d463f295c8bc9b28635cf9",
357
+ "gitHead": "f7f8575697784774a452f9db5e26fe4a38dfea96",
356
358
  "dependencies": {
357
359
  "@arcblock/did-motif": "^1.1.13",
358
- "@arcblock/icons": "^2.9.38",
359
- "@arcblock/nft-display": "^2.9.38",
360
- "@arcblock/react-hooks": "^2.9.38",
360
+ "@arcblock/icons": "^2.9.40",
361
+ "@arcblock/nft-display": "^2.9.40",
362
+ "@arcblock/react-hooks": "^2.9.40",
361
363
  "@babel/plugin-syntax-dynamic-import": "^7.8.3",
362
364
  "@emotion/react": "^11.10.4",
363
365
  "@emotion/styled": "^11.10.4",
@@ -367,8 +369,6 @@
367
369
  "@iconify-icons/material-symbols": "^1.2.58",
368
370
  "@iconify-icons/mdi": "^1.2.48",
369
371
  "@iconify/react": "^4.1.1",
370
- "@mui/icons-material": "^5.14.8",
371
- "@mui/material": "^5.14.8",
372
372
  "@solana/qr-code-styling": "^1.6.0-beta.0",
373
373
  "@testing-library/react": "^14.0.0",
374
374
  "ahooks": "^3.7.8",
@@ -219,7 +219,7 @@ function ReDataTable({
219
219
 
220
220
  let emptyEl;
221
221
  if (loading) {
222
- emptyEl = <CircularProgress />;
222
+ emptyEl = <CircularProgress color="primary" />;
223
223
  } else if (isValidElement(emptyNode)) {
224
224
  emptyEl = emptyNode;
225
225
  } else if (locale === 'zh') {