@sinco/react 1.0.14-rc.63 → 1.0.14-rc.65
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +1238 -605
- package/package.json +1 -1
- package/src/lib/Components/EmptyState.d.ts +8 -6
- package/src/lib/Theme/components.d.ts +0 -10
- package/src/lib/Theme/index.d.ts +1 -0
- package/src/lib/Theme/palette.d.ts +1 -0
- package/src/lib/Theme/theme.d.ts +1 -0
package/package.json
CHANGED
@@ -1,13 +1,15 @@
|
|
1
|
-
import
|
1
|
+
import { ReactNode } from 'react';
|
2
2
|
export type EmptyStateStates = 'create' | 'error' | 'noResult' | 'search';
|
3
|
-
export declare
|
3
|
+
export declare enum EmptyStateImageUrls {
|
4
|
+
error = "error",
|
5
|
+
search = "search",
|
6
|
+
noResult = "noResult",
|
7
|
+
create = "create"
|
8
|
+
}
|
4
9
|
export interface EmptyStateProperties {
|
5
|
-
icon?: ReactNode;
|
6
10
|
state?: EmptyStateStates;
|
7
11
|
title?: string;
|
8
12
|
content?: string;
|
9
13
|
actions?: ReactNode;
|
10
|
-
iconStyle?: React.CSSProperties;
|
11
|
-
containerHeight?: string;
|
12
14
|
}
|
13
|
-
export declare const EmptyStateComponent: ({ state, title, content, actions,
|
15
|
+
export declare const EmptyStateComponent: ({ state, title, content, actions, }: EmptyStateProperties) => JSX.Element;
|
@@ -1,12 +1,2 @@
|
|
1
1
|
import { Components } from '@mui/material';
|
2
|
-
declare module '@mui/material/Chip' {
|
3
|
-
interface ChipPropsSizeOverrides {
|
4
|
-
xsmall: true;
|
5
|
-
}
|
6
|
-
}
|
7
|
-
declare module "@mui/material/Checkbox" {
|
8
|
-
interface CheckboxPropsSizeOverrides {
|
9
|
-
xsmall: true;
|
10
|
-
}
|
11
|
-
}
|
12
2
|
export declare const components: Components;
|
package/src/lib/Theme/index.d.ts
CHANGED
package/src/lib/Theme/theme.d.ts
CHANGED