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

Sign up to get free protection for your applications and to get access to all the features.
package/index.js CHANGED
@@ -8149,7 +8149,36 @@ const SincoTheme = createTheme(Object.assign({}, themeOptions, {
8149
8149
  size: "xsmall"
8150
8150
  },
8151
8151
  style: {
8152
- borderRadius: 8
8152
+ fontFamily: "Roboto",
8153
+ fontStyle: "normal",
8154
+ borderRadius: "4px",
8155
+ fontSize: "10px",
8156
+ height: "16px",
8157
+ fontWeight: 400,
8158
+ lineHeight: 10,
8159
+ letterSpacing: 0.15
8160
+ }
8161
+ }]
8162
+ },
8163
+ MuiCheckbox: {
8164
+ variants: [{
8165
+ props: {
8166
+ size: "xsmall"
8167
+ },
8168
+ style: {
8169
+ padding: 0,
8170
+ fontFamily: "Roboto",
8171
+ fontStyle: "normal",
8172
+ borderRadius: "4px",
8173
+ fontSize: "10px",
8174
+ height: "16px",
8175
+ fontWeight: 400,
8176
+ lineHeight: 10,
8177
+ letterSpacing: 0.15,
8178
+ "&.MuiSvgIcon-root": {
8179
+ width: 12,
8180
+ height: 12
8181
+ }
8153
8182
  }
8154
8183
  }]
8155
8184
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinco/react",
3
- "version": "1.0.7-rc.12",
3
+ "version": "1.0.7-rc.14",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",
@@ -25,4 +25,17 @@ declare module "@mui/material/Chip" {
25
25
  xsmall: true;
26
26
  }
27
27
  }
28
+ declare module "@mui/material/Checkbox" {
29
+ interface CheckboxPropsSize {
30
+ xsmall: React.CSSProperties;
31
+ }
32
+ interface CheckboxSizeOptions {
33
+ xsmall?: React.CSSProperties;
34
+ }
35
+ }
36
+ declare module "@mui/material/Checkbox" {
37
+ interface CheckboxPropsSizeOverrides {
38
+ xsmall: true;
39
+ }
40
+ }
28
41
  export declare const SincoTheme: import("@mui/material/styles").Theme;