@arcblock/ux 1.16.22 → 1.16.23

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.
@@ -137,7 +137,7 @@ function Blocklet(_ref2) {
137
137
 
138
138
  const actualSize = size === 'auto' ? isDownSm ? 'xs' : isDownMd ? 'sm' : 'md' : size; // eslint-disable-next-line no-nested-ternary
139
139
 
140
- const didAvatarSize = size === 'auto' ? isUPLg ? 100 : 48 : size === 'md' ? 100 : 48;
140
+ const didAvatarSize = size === 'auto' ? isUPLg ? 80 : 40 : size === 'md' ? 80 : 40;
141
141
  const container = (0, _react.useRef)(null);
142
142
  return /*#__PURE__*/_react.default.createElement(Div, Object.assign({}, rest, {
143
143
  scaleClickZone: scaleClickZone,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcblock/ux",
3
- "version": "1.16.22",
3
+ "version": "1.16.23",
4
4
  "description": "Common used react components for arcblock products",
5
5
  "keywords": [
6
6
  "react",
@@ -53,10 +53,10 @@
53
53
  "react": ">=16.12.0",
54
54
  "react-ga": "^2.7.0"
55
55
  },
56
- "gitHead": "7dac54939fb9d42177bdea4d908f83a563ccf014",
56
+ "gitHead": "25ba7a8a7ce1ae41a112c73a4e3e884e0be505bb",
57
57
  "dependencies": {
58
- "@arcblock/icons": "^1.16.22",
59
- "@arcblock/react-hooks": "^1.16.22",
58
+ "@arcblock/icons": "^1.16.23",
59
+ "@arcblock/react-hooks": "^1.16.23",
60
60
  "@babel/plugin-syntax-dynamic-import": "^7.8.3",
61
61
  "@material-ui/core": "^4.12.3",
62
62
  "@material-ui/icons": "4.11.2",
@@ -246,7 +246,7 @@ export default function Blocklet({
246
246
  // eslint-disable-next-line no-nested-ternary
247
247
  const actualSize = size === 'auto' ? (isDownSm ? 'xs' : isDownMd ? 'sm' : 'md') : size;
248
248
  // eslint-disable-next-line no-nested-ternary
249
- const didAvatarSize = size === 'auto' ? (isUPLg ? 100 : 48) : size === 'md' ? 100 : 48;
249
+ const didAvatarSize = size === 'auto' ? (isUPLg ? 80 : 40) : size === 'md' ? 80 : 40;
250
250
  const container = useRef(null);
251
251
 
252
252
  return (