@arcblock/ux 2.9.46 → 2.9.47

Sign up to get free protection for your applications and to get access to all the features.
package/es/Theme/theme.js CHANGED
@@ -1,16 +1,14 @@
1
1
  // https://app.zeplin.io/styleguide/5d1436f1e97c2156f49c0725/colors
2
2
  import { createTheme as _createTheme, responsiveFontSizes } from '@mui/material/styles';
3
3
  // 为了避免加载全量的字体导致打包后体积太大,目前只选择了 latin 语系的字体
4
+ import '@fontsource/inter/latin-300.css';
4
5
  import '@fontsource/inter/latin-400.css';
5
6
  import '@fontsource/inter/latin-500.css';
6
- import '@fontsource/inter/latin-600.css';
7
7
  import '@fontsource/inter/latin-700.css';
8
- import '@fontsource/inter/latin-900.css';
8
+ import '@fontsource/inter/latin-ext-300.css';
9
9
  import '@fontsource/inter/latin-ext-400.css';
10
10
  import '@fontsource/inter/latin-ext-500.css';
11
- import '@fontsource/inter/latin-ext-600.css';
12
11
  import '@fontsource/inter/latin-ext-700.css';
13
- import '@fontsource/inter/latin-ext-900.css';
14
12
  import colors from '../Colors';
15
13
  const muiDarkTheme = _createTheme({
16
14
  palette: {
@@ -60,11 +58,6 @@ export const create = ({
60
58
  gray: mode === 'light' ? colors.grey[500] : colors.grey[300]
61
59
  },
62
60
  fontFamily: ['Inter', 'Avenir', '-apple-system', 'BlinkMacSystemFont', '"Segoe UI"', 'Roboto', '"Helvetica Neue"', 'Arial', 'sans-serif', '"Apple Color Emoji"', '"Segoe UI Emoji"', '"Segoe UI Symbol"'].join(','),
63
- // 按最新设计规范, 只使用 400/700
64
- fontWeightLight: 400,
65
- fontWeightRegular: 400,
66
- fontWeightMedium: 700,
67
- fontWeightBold: 700,
68
61
  // button 默认使用粗体
69
62
  button: {
70
63
  fontWeight: 700
@@ -5,16 +5,14 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.createTheme = exports.create = void 0;
7
7
  var _styles = require("@mui/material/styles");
8
+ require("@fontsource/inter/latin-300.css");
8
9
  require("@fontsource/inter/latin-400.css");
9
10
  require("@fontsource/inter/latin-500.css");
10
- require("@fontsource/inter/latin-600.css");
11
11
  require("@fontsource/inter/latin-700.css");
12
- require("@fontsource/inter/latin-900.css");
12
+ require("@fontsource/inter/latin-ext-300.css");
13
13
  require("@fontsource/inter/latin-ext-400.css");
14
14
  require("@fontsource/inter/latin-ext-500.css");
15
- require("@fontsource/inter/latin-ext-600.css");
16
15
  require("@fontsource/inter/latin-ext-700.css");
17
- require("@fontsource/inter/latin-ext-900.css");
18
16
  var _Colors = _interopRequireDefault(require("../Colors"));
19
17
  const _excluded = ["mode", "pageWidth", "palette", "typography", "overrides"]; // https://app.zeplin.io/styleguide/5d1436f1e97c2156f49c0725/colors
20
18
  // 为了避免加载全量的字体导致打包后体积太大,目前只选择了 latin 语系的字体
@@ -74,11 +72,6 @@ const create = exports.create = function create() {
74
72
  gray: mode === 'light' ? _Colors.default.grey[500] : _Colors.default.grey[300]
75
73
  },
76
74
  fontFamily: ['Inter', 'Avenir', '-apple-system', 'BlinkMacSystemFont', '"Segoe UI"', 'Roboto', '"Helvetica Neue"', 'Arial', 'sans-serif', '"Apple Color Emoji"', '"Segoe UI Emoji"', '"Segoe UI Symbol"'].join(','),
77
- // 按最新设计规范, 只使用 400/700
78
- fontWeightLight: 400,
79
- fontWeightRegular: 400,
80
- fontWeightMedium: 700,
81
- fontWeightBold: 700,
82
75
  // button 默认使用粗体
83
76
  button: {
84
77
  fontWeight: 700
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcblock/ux",
3
- "version": "2.9.46",
3
+ "version": "2.9.47",
4
4
  "description": "Common used react components for arcblock products",
5
5
  "keywords": [
6
6
  "react",
@@ -358,12 +358,12 @@
358
358
  "@mui/material": "^5.15.0",
359
359
  "react": ">=18.2.0"
360
360
  },
361
- "gitHead": "a82d6d3ccae838268f9e64b5bc60e6734ecffd89",
361
+ "gitHead": "c37f23c144ed8efbd9f23fe3000dac5dc1669e70",
362
362
  "dependencies": {
363
363
  "@arcblock/did-motif": "^1.1.13",
364
- "@arcblock/icons": "^2.9.46",
365
- "@arcblock/nft-display": "^2.9.46",
366
- "@arcblock/react-hooks": "^2.9.46",
364
+ "@arcblock/icons": "^2.9.47",
365
+ "@arcblock/nft-display": "^2.9.47",
366
+ "@arcblock/react-hooks": "^2.9.47",
367
367
  "@babel/plugin-syntax-dynamic-import": "^7.8.3",
368
368
  "@emotion/react": "^11.10.4",
369
369
  "@emotion/styled": "^11.10.4",
@@ -1,16 +1,14 @@
1
1
  // https://app.zeplin.io/styleguide/5d1436f1e97c2156f49c0725/colors
2
2
  import { createTheme as _createTheme, responsiveFontSizes } from '@mui/material/styles';
3
3
  // 为了避免加载全量的字体导致打包后体积太大,目前只选择了 latin 语系的字体
4
+ import '@fontsource/inter/latin-300.css';
4
5
  import '@fontsource/inter/latin-400.css';
5
6
  import '@fontsource/inter/latin-500.css';
6
- import '@fontsource/inter/latin-600.css';
7
7
  import '@fontsource/inter/latin-700.css';
8
- import '@fontsource/inter/latin-900.css';
8
+ import '@fontsource/inter/latin-ext-300.css';
9
9
  import '@fontsource/inter/latin-ext-400.css';
10
10
  import '@fontsource/inter/latin-ext-500.css';
11
- import '@fontsource/inter/latin-ext-600.css';
12
11
  import '@fontsource/inter/latin-ext-700.css';
13
- import '@fontsource/inter/latin-ext-900.css';
14
12
 
15
13
  import colors from '../Colors';
16
14
 
@@ -75,11 +73,6 @@ export const create = ({ mode = 'light', pageWidth = 'md', palette, typography,
75
73
  '"Segoe UI Emoji"',
76
74
  '"Segoe UI Symbol"',
77
75
  ].join(','),
78
- // 按最新设计规范, 只使用 400/700
79
- fontWeightLight: 400,
80
- fontWeightRegular: 400,
81
- fontWeightMedium: 700,
82
- fontWeightBold: 700,
83
76
  // button 默认使用粗体
84
77
  button: {
85
78
  fontWeight: 700,