@sinco/react 1.1.2-rc.50 → 1.1.2-rc.51

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/module.d.ts +39 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinco/react",
3
- "version": "1.1.2-rc.50",
3
+ "version": "1.1.2-rc.51",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",
@@ -0,0 +1,39 @@
1
+ /// <reference types="react" />
2
+ import "@mui/material/Typography";
3
+ import "@mui/material/Radio";
4
+ import "@mui/material/Checkbox";
5
+ import "@mui/material/styles";
6
+ declare module '@mui/material/styles' {
7
+ interface TypographyVariants {
8
+ body3: React.CSSProperties;
9
+ }
10
+ interface TypographyVariantsOptions {
11
+ body3?: React.CSSProperties;
12
+ }
13
+ }
14
+ declare module '@mui/material/Typography' {
15
+ interface TypographyPropsVariantOverrides {
16
+ body3: true;
17
+ }
18
+ }
19
+ declare module "@mui/material/Radio" {
20
+ interface RadioPropsSizeOverrides {
21
+ large: true;
22
+ }
23
+ }
24
+ declare module "@mui/material/Checkbox" {
25
+ interface CheckboxPropsSizeOverrides {
26
+ large: true;
27
+ }
28
+ }
29
+ declare module "@mui/material/styles" {
30
+ interface PaletteColor {
31
+ 50?: string;
32
+ 100?: string;
33
+ 200?: string;
34
+ 300?: string;
35
+ 600?: string;
36
+ 700?: string;
37
+ 800?: string;
38
+ }
39
+ }