@sinco/react 1.0.7-rc.20 → 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.20",
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,2 +1 @@
1
1
  export * from './lib/Theme';
2
- export * from './lib/Components';
@@ -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,15 +0,0 @@
1
- import { ReactNode } from 'react';
2
- export interface EmptyStateProperties {
3
- state?: States;
4
- title?: string;
5
- content?: string;
6
- actions?: ReactNode;
7
- }
8
- export type States = 'create' | 'error' | 'noresult' | 'search';
9
- export declare enum UrlImage {
10
- error = "error",
11
- search = "search",
12
- noresult = "noresult",
13
- create = "create"
14
- }
15
- export declare const EmptyState: ({ state, title, content, actions, }: EmptyStateProperties) => JSX.Element;
@@ -1 +0,0 @@
1
- export * from './EmptyState';