@sinco/react 1.0.7-rc.14 → 1.0.7-rc.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.js +35 -17
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -7649,25 +7649,39 @@ const components = {
7649
7649
  }
7650
7650
  },
7651
7651
  MuiButton: {
7652
- defaultProps: {
7653
- size: 'medium'
7654
- },
7655
7652
  styleOverrides: {
7656
- fullWidth: {
7657
- width: '100%'
7653
+ endIcon: {
7654
+ marginLeft: 2
7655
+ },
7656
+ iconSizeSmall: {
7657
+ height: 14,
7658
+ width: 14
7659
+ },
7660
+ iconSizeMedium: {
7661
+ height: 18,
7662
+ width: 18
7663
+ },
7664
+ iconSizeLarge: {
7665
+ height: 22,
7666
+ width: 22
7658
7667
  },
7659
7668
  sizeSmall: {
7660
- padding: '4px 10px'
7669
+ padding: '6px 5px'
7661
7670
  },
7662
7671
  sizeMedium: {
7663
- padding: '7.5px 15px'
7672
+ padding: '8.5px 8px',
7673
+ ".MuiSvgIcon-fontSizeMedium": {
7674
+ height: 18,
7675
+ width: 18
7676
+ }
7664
7677
  },
7665
7678
  sizeLarge: {
7666
- padding: '10.5px 22px',
7667
- fontSize: 14
7668
- },
7669
- root: {
7670
- width: "fit-content"
7679
+ padding: '10.5px 11px',
7680
+ fontSize: 14,
7681
+ ".MuiSvgIcon-fontSizeLarge": {
7682
+ height: 20,
7683
+ width: 20
7684
+ }
7671
7685
  }
7672
7686
  }
7673
7687
  },
@@ -8153,10 +8167,14 @@ const SincoTheme = createTheme(Object.assign({}, themeOptions, {
8153
8167
  fontStyle: "normal",
8154
8168
  borderRadius: "4px",
8155
8169
  fontSize: "10px",
8156
- height: "16px",
8170
+ lineHeight: "10px",
8171
+ height: 16,
8157
8172
  fontWeight: 400,
8158
- lineHeight: 10,
8159
- letterSpacing: 0.15
8173
+ letterSpacing: 0.15,
8174
+ ".MuiSvgIcon-root": {
8175
+ width: 10,
8176
+ height: 10
8177
+ }
8160
8178
  }
8161
8179
  }]
8162
8180
  },
@@ -8166,15 +8184,15 @@ const SincoTheme = createTheme(Object.assign({}, themeOptions, {
8166
8184
  size: "xsmall"
8167
8185
  },
8168
8186
  style: {
8169
- padding: 0,
8170
8187
  fontFamily: "Roboto",
8171
8188
  fontStyle: "normal",
8172
8189
  borderRadius: "4px",
8173
8190
  fontSize: "10px",
8174
8191
  height: "16px",
8175
8192
  fontWeight: 400,
8176
- lineHeight: 10,
8193
+ lineHeight: "10px",
8177
8194
  letterSpacing: 0.15,
8195
+ padding: 2,
8178
8196
  "&.MuiSvgIcon-root": {
8179
8197
  width: 12,
8180
8198
  height: 12
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinco/react",
3
- "version": "1.0.7-rc.14",
3
+ "version": "1.0.7-rc.16",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",