@sinco/react 1.0.15-rc.11 → 1.0.15-rc.13
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +3954 -4429
- package/package.json +1 -1
- package/src/index.d.ts +1 -1
- package/src/lib/Components/Drawer.d.ts +2 -3
- package/src/lib/Components/EmptyState.d.ts +6 -8
- package/src/lib/Utils/index.d.ts +1 -0
- package/src/lib/Utils/svgTransform.d.ts +0 -0
- package/index.d.ts +0 -1
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import
|
1
|
+
import { ReactNode } from 'react';
|
2
2
|
export type handleDrawerPosition = 'left' | 'right';
|
3
3
|
export interface DrawerComponentProperties {
|
4
4
|
title: string;
|
@@ -9,6 +9,5 @@ export interface DrawerComponentProperties {
|
|
9
9
|
width: string;
|
10
10
|
open: boolean;
|
11
11
|
onClose: () => void;
|
12
|
-
sx?: React.CSSProperties;
|
13
12
|
}
|
14
|
-
export declare const DrawerComponent: ({ title, children, renderActions, showActions, position, width, open, onClose,
|
13
|
+
export declare const DrawerComponent: ({ title, children, renderActions, showActions, position, width, open, onClose, }: DrawerComponentProperties) => JSX.Element;
|
@@ -1,15 +1,13 @@
|
|
1
|
-
import { ReactNode } from 'react';
|
1
|
+
import React, { ReactNode } from 'react';
|
2
2
|
export type EmptyStateStates = 'create' | 'error' | 'noResult' | 'search';
|
3
|
-
export declare
|
4
|
-
error = "error",
|
5
|
-
search = "search",
|
6
|
-
noResult = "noResult",
|
7
|
-
create = "create"
|
8
|
-
}
|
3
|
+
export declare const EmptyStateImageUrls: Record<EmptyStateStates, string>;
|
9
4
|
export interface EmptyStateProperties {
|
5
|
+
icon?: ReactNode;
|
10
6
|
state?: EmptyStateStates;
|
11
7
|
title?: string;
|
12
8
|
content?: string;
|
13
9
|
actions?: ReactNode;
|
10
|
+
iconStyle?: React.CSSProperties;
|
11
|
+
containerHeight?: string;
|
14
12
|
}
|
15
|
-
export declare const EmptyStateComponent: ({ state, title, content, actions, }: EmptyStateProperties) => JSX.Element;
|
13
|
+
export declare const EmptyStateComponent: ({ state, title, content, actions, containerHeight, iconStyle, icon, }: EmptyStateProperties) => JSX.Element;
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './dynamicColor';
|
File without changes
|
package/index.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './src/lib/Utils/dynamicColor';
|