@arcblock/ux 2.9.43 → 2.9.44
Sign up to get free protection for your applications and to get access to all the features.
package/es/Locale/selector.js
CHANGED
@@ -63,12 +63,11 @@ export default function LocaleSelector(props) {
|
|
63
63
|
return /*#__PURE__*/_jsx(IconifyIcon, {
|
64
64
|
icon: LanguageIcon,
|
65
65
|
fontSize: size,
|
66
|
-
color: theme.palette.text.secondary,
|
67
66
|
style: {
|
68
67
|
transform: 'scale(1.10)'
|
69
68
|
}
|
70
69
|
});
|
71
|
-
}, [Icon,
|
70
|
+
}, [Icon, size]);
|
72
71
|
return /*#__PURE__*/_jsxs(Div, {
|
73
72
|
component: "div",
|
74
73
|
dark: dark,
|
package/lib/Locale/selector.js
CHANGED
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e =
|
|
29
29
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
30
30
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
31
31
|
function LocaleSelector(props) {
|
32
|
-
var _theme$palette
|
32
|
+
var _theme$palette;
|
33
33
|
const {
|
34
34
|
showText,
|
35
35
|
popperProps,
|
@@ -81,12 +81,11 @@ function LocaleSelector(props) {
|
|
81
81
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_react2.Icon, {
|
82
82
|
icon: _language.default,
|
83
83
|
fontSize: size,
|
84
|
-
color: theme.palette.text.secondary,
|
85
84
|
style: {
|
86
85
|
transform: 'scale(1.10)'
|
87
86
|
}
|
88
87
|
});
|
89
|
-
}, [Icon,
|
88
|
+
}, [Icon, size]);
|
90
89
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(Div, _objectSpread(_objectSpread(_objectSpread({
|
91
90
|
component: "div",
|
92
91
|
dark: dark,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@arcblock/ux",
|
3
|
-
"version": "2.9.
|
3
|
+
"version": "2.9.44",
|
4
4
|
"description": "Common used react components for arcblock products",
|
5
5
|
"keywords": [
|
6
6
|
"react",
|
@@ -354,12 +354,12 @@
|
|
354
354
|
"@mui/material": "^5.15.0",
|
355
355
|
"react": ">=18.2.0"
|
356
356
|
},
|
357
|
-
"gitHead": "
|
357
|
+
"gitHead": "07ad8adac9d7bfb9faec224a56f1524bfd5cc5fc",
|
358
358
|
"dependencies": {
|
359
359
|
"@arcblock/did-motif": "^1.1.13",
|
360
|
-
"@arcblock/icons": "^2.9.
|
361
|
-
"@arcblock/nft-display": "^2.9.
|
362
|
-
"@arcblock/react-hooks": "^2.9.
|
360
|
+
"@arcblock/icons": "^2.9.44",
|
361
|
+
"@arcblock/nft-display": "^2.9.44",
|
362
|
+
"@arcblock/react-hooks": "^2.9.44",
|
363
363
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
364
364
|
"@emotion/react": "^11.10.4",
|
365
365
|
"@emotion/styled": "^11.10.4",
|
package/src/Locale/selector.jsx
CHANGED
@@ -58,15 +58,8 @@ export default function LocaleSelector(props) {
|
|
58
58
|
return <Icon />;
|
59
59
|
}
|
60
60
|
|
61
|
-
return (
|
62
|
-
|
63
|
-
icon={LanguageIcon}
|
64
|
-
fontSize={size}
|
65
|
-
color={theme.palette.text.secondary}
|
66
|
-
style={{ transform: 'scale(1.10)' }}
|
67
|
-
/>
|
68
|
-
);
|
69
|
-
}, [Icon, theme?.palette?.text?.secondary, size]);
|
61
|
+
return <IconifyIcon icon={LanguageIcon} fontSize={size} style={{ transform: 'scale(1.10)' }} />;
|
62
|
+
}, [Icon, size]);
|
70
63
|
|
71
64
|
return (
|
72
65
|
<Div component="div" dark={dark} theme={theme} {...rest} {...handleEventProps}>
|