@sinco/react 1.0.14-rc.52 → 1.0.14-rc.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +1 -0
- package/index.js +5226 -6136
- package/package.json +1 -1
- package/src/index.d.ts +1 -1
- package/src/lib/Components/EmptyState.d.ts +7 -8
- package/src/lib/Components/index.d.ts +0 -1
- package/src/lib/Components/PageHeader.d.ts +0 -14
- package/src/lib/Utils/index.d.ts +0 -1
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
@@ -1,15 +1,14 @@
|
|
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 {
|
10
5
|
state?: EmptyStateStates;
|
11
6
|
title?: string;
|
12
7
|
content?: string;
|
8
|
+
imageWidth?: string;
|
9
|
+
imageHeight?: string;
|
13
10
|
actions?: ReactNode;
|
11
|
+
icon?: ReactNode;
|
12
|
+
iconStyle?: React.CSSProperties;
|
14
13
|
}
|
15
|
-
export declare const EmptyStateComponent: ({ state, title, content, actions, }: EmptyStateProperties) => JSX.Element;
|
14
|
+
export declare const EmptyStateComponent: ({ state, title, content, actions, icon, }: EmptyStateProperties) => JSX.Element;
|
@@ -1,14 +0,0 @@
|
|
1
|
-
import React from "react";
|
2
|
-
interface PageheaderProperties {
|
3
|
-
title: string;
|
4
|
-
subtitle?: string;
|
5
|
-
actions?: React.ReactNode;
|
6
|
-
buttonBack?: React.ReactNode;
|
7
|
-
fixed?: boolean;
|
8
|
-
date?: boolean;
|
9
|
-
}
|
10
|
-
export declare const PageHeaderContent: import("@emotion/styled").StyledComponent<import("@mui/material").StackOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
11
|
-
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
12
|
-
}, keyof import("@mui/material/OverridableComponent").CommonProps | keyof import("@mui/material").StackOwnProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
13
|
-
export declare const PageHeaderComponent: ({ title, subtitle, actions, buttonBack, fixed, date, }: PageheaderProperties) => JSX.Element;
|
14
|
-
export {};
|
package/src/lib/Utils/index.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './dynamicColor';
|