@sinco/react 1.0.7-rc.2 → 1.0.7-rc.21

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinco/react",
3
- "version": "1.0.7-rc.2",
3
+ "version": "1.0.7-rc.21",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",
package/src/index.d.ts CHANGED
@@ -1,3 +1 @@
1
1
  export * from './lib/Theme';
2
- export * from './lib/Hooks';
3
- export * from './lib/Utils';
@@ -12,4 +12,30 @@ declare module "@mui/material/Typography" {
12
12
  body3: true;
13
13
  }
14
14
  }
15
+ declare module "@mui/material/Chip" {
16
+ interface ChipPropsSize {
17
+ xsmall: React.CSSProperties;
18
+ }
19
+ interface ChipSizeOptions {
20
+ xsmall?: React.CSSProperties;
21
+ }
22
+ }
23
+ declare module "@mui/material/Chip" {
24
+ interface ChipPropsSizeOverrides {
25
+ xsmall: true;
26
+ }
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
+ }
15
41
  export declare const SincoTheme: import("@mui/material/styles").Theme;
@@ -1 +0,0 @@
1
- export * from './useDynamicColor';
@@ -1,4 +0,0 @@
1
- declare function useDynamicColor(url: string): {
2
- loading: boolean;
3
- };
4
- export default useDynamicColor;
@@ -1,7 +0,0 @@
1
- import { PaletteColor, TypeBackground } from "@mui/material";
2
- declare const dynamicColor: (src: string) => Promise<{
3
- primaryColor: PaletteColor;
4
- secondaryColor: PaletteColor;
5
- backgroundColor: TypeBackground;
6
- }>;
7
- export default dynamicColor;
@@ -1 +0,0 @@
1
- export * from './dynamicColor';