@arcblock/ux 2.9.86 → 2.9.88

Sign up to get free protection for your applications and to get access to all the features.
package/es/Theme/theme.js CHANGED
@@ -80,13 +80,23 @@ export const create = ({
80
80
  },
81
81
  MuiTableCell: {
82
82
  styleOverrides: {
83
- root: {
84
- borderBottomWidth: '0',
85
- paddingTop: '14px',
86
- paddingBottom: '14px',
87
- paddingLeft: 0,
88
- paddingRight: '30px'
89
- },
83
+ root: ({
84
+ ownerState
85
+ }) => ({
86
+ ...(ownerState.size === 'small' ? {
87
+ borderBottomWidth: '0',
88
+ paddingTop: '8px',
89
+ paddingBottom: '8px',
90
+ paddingLeft: 0,
91
+ paddingRight: '20px'
92
+ } : {
93
+ borderBottomWidth: '0',
94
+ paddingTop: '14px',
95
+ paddingBottom: '14px',
96
+ paddingLeft: 0,
97
+ paddingRight: '30px'
98
+ })
99
+ }),
90
100
  head: {
91
101
  textTransform: 'uppercase',
92
102
  color: mode === 'light' ? colors.grey[900] : colors.grey[300]
@@ -94,12 +94,23 @@ const create = exports.create = function create() {
94
94
  },
95
95
  MuiTableCell: {
96
96
  styleOverrides: {
97
- root: {
98
- borderBottomWidth: '0',
99
- paddingTop: '14px',
100
- paddingBottom: '14px',
101
- paddingLeft: 0,
102
- paddingRight: '30px'
97
+ root: _ref2 => {
98
+ let {
99
+ ownerState
100
+ } = _ref2;
101
+ return _objectSpread({}, ownerState.size === 'small' ? {
102
+ borderBottomWidth: '0',
103
+ paddingTop: '8px',
104
+ paddingBottom: '8px',
105
+ paddingLeft: 0,
106
+ paddingRight: '20px'
107
+ } : {
108
+ borderBottomWidth: '0',
109
+ paddingTop: '14px',
110
+ paddingBottom: '14px',
111
+ paddingLeft: 0,
112
+ paddingRight: '30px'
113
+ });
103
114
  },
104
115
  head: {
105
116
  textTransform: 'uppercase',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcblock/ux",
3
- "version": "2.9.86",
3
+ "version": "2.9.88",
4
4
  "description": "Common used react components for arcblock products",
5
5
  "keywords": [
6
6
  "react",
@@ -361,12 +361,12 @@
361
361
  "react": ">=18.2.0",
362
362
  "react-router-dom": ">=6.22.3"
363
363
  },
364
- "gitHead": "608ebcab820c61f400bf2829cf2430191e9b1082",
364
+ "gitHead": "4b25a950bb1e6486a5e955385e727a675b44a3a7",
365
365
  "dependencies": {
366
366
  "@arcblock/did-motif": "^1.1.13",
367
- "@arcblock/icons": "^2.9.86",
368
- "@arcblock/nft-display": "^2.9.86",
369
- "@arcblock/react-hooks": "^2.9.86",
367
+ "@arcblock/icons": "^2.9.88",
368
+ "@arcblock/nft-display": "^2.9.88",
369
+ "@arcblock/react-hooks": "^2.9.88",
370
370
  "@babel/plugin-syntax-dynamic-import": "^7.8.3",
371
371
  "@fontsource/inter": "^5.0.16",
372
372
  "@fontsource/ubuntu-mono": "^5.0.18",
@@ -97,13 +97,23 @@ export const create = ({ mode = 'light', pageWidth = 'md', palette, typography,
97
97
  },
98
98
  MuiTableCell: {
99
99
  styleOverrides: {
100
- root: {
101
- borderBottomWidth: '0',
102
- paddingTop: '14px',
103
- paddingBottom: '14px',
104
- paddingLeft: 0,
105
- paddingRight: '30px',
106
- },
100
+ root: ({ ownerState }) => ({
101
+ ...(ownerState.size === 'small'
102
+ ? {
103
+ borderBottomWidth: '0',
104
+ paddingTop: '8px',
105
+ paddingBottom: '8px',
106
+ paddingLeft: 0,
107
+ paddingRight: '20px',
108
+ }
109
+ : {
110
+ borderBottomWidth: '0',
111
+ paddingTop: '14px',
112
+ paddingBottom: '14px',
113
+ paddingLeft: 0,
114
+ paddingRight: '30px',
115
+ }),
116
+ }),
107
117
  head: {
108
118
  textTransform: 'uppercase',
109
119
  color: mode === 'light' ? colors.grey[900] : colors.grey[300],