@sinco/react 1.0.7-rc.20 → 1.0.7-rc.22
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +53 -0
- package/index.js +393 -1798
- package/package.json +1 -1
- package/src/index.d.ts +0 -1
- package/src/lib/Theme/index.d.ts +26 -0
- package/src/lib/Components/EmptyState.d.ts +0 -15
- package/src/lib/Components/index.d.ts +0 -1
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
package/src/lib/Theme/index.d.ts
CHANGED
@@ -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';
|