@sinco/react 1.0.10-rc.12 → 1.0.10-rc.13

Sign up to get free protection for your applications and to get access to all the features.
package/index.js CHANGED
@@ -10819,7 +10819,7 @@ const typography = {
10819
10819
  },
10820
10820
  body3: {
10821
10821
  fontFamily: "Roboto",
10822
- fontWeight: 310,
10822
+ fontWeight: 300,
10823
10823
  fontSize: 12,
10824
10824
  letterSpacing: 0.17,
10825
10825
  lineHeight: 1.2,
@@ -10930,11 +10930,7 @@ const themeOptions = {
10930
10930
  breakpoints
10931
10931
  };
10932
10932
 
10933
- const SincoTheme = createTheme(Object.assign({}, themeOptions, {
10934
- typography: {
10935
- body3: {}
10936
- }
10937
- }));
10933
+ const SincoTheme = createTheme(Object.assign({}, themeOptions));
10938
10934
 
10939
10935
  var wellKnownSymbol$d = wellKnownSymbol$f;
10940
10936
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinco/react",
3
- "version": "1.0.10-rc.12",
3
+ "version": "1.0.10-rc.13",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",
@@ -1,7 +1,15 @@
1
1
  /// <reference types="react" />
2
2
  declare module "@mui/material/styles" {
3
+ interface TypographyVariants {
4
+ body3: React.CSSProperties;
5
+ }
3
6
  interface TypographyVariantsOptions {
4
7
  body3?: React.CSSProperties;
5
8
  }
6
9
  }
10
+ declare module "@mui/material/Typography" {
11
+ interface TypographyPropsVariantOverrides {
12
+ body3: true;
13
+ }
14
+ }
7
15
  export declare const SincoTheme: import("@mui/material/styles").Theme;