@sinco/react 1.0.2-rc.2 → 1.0.2-rc.20
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.css +83 -0
- package/index.js +10886 -2615
- package/package.json +1 -1
- package/src/index.d.ts +3 -1
- package/src/lib/Theme/breackpoints.d.ts +2 -0
- package/src/lib/Theme/components.d.ts +3 -2
- package/src/lib/Theme/mixins.d.ts +3 -0
- package/src/lib/Theme/palette.d.ts +2 -1
- package/src/lib/Theme/shadows.d.ts +2 -1
- package/src/lib/Theme/typography.d.ts +2 -1
- package/src/lib/toastNotification/ToastNotification.d.ts +5 -0
- package/src/lib/{Components/ToastNotification → toastNotification}/interfaces.d.ts +7 -1
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
@@ -1,2 +1,4 @@
|
|
1
1
|
export * from './lib/Theme';
|
2
|
-
export
|
2
|
+
export { default as ToastNotification } from './lib/toastNotification/ToastNotification';
|
3
|
+
export * from './lib/toastNotification/ToastNotification';
|
4
|
+
export * from './lib/toastNotification/interfaces';
|
@@ -1,2 +1,3 @@
|
|
1
|
-
import { Components } from
|
2
|
-
|
1
|
+
import { Components } from '@mui/material';
|
2
|
+
declare const components: Components;
|
3
|
+
export default components;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
import { ReactElement } from "react";
|
2
2
|
export interface Option {
|
3
3
|
option: string;
|
4
4
|
}
|
@@ -11,3 +11,9 @@ export interface Toast {
|
|
11
11
|
actions?: React.ReactNode;
|
12
12
|
seeMore?: boolean;
|
13
13
|
}
|
14
|
+
export interface IconMap {
|
15
|
+
[key: string]: ReactElement;
|
16
|
+
}
|
17
|
+
export interface ColorMap {
|
18
|
+
[key: string]: "success" | "error" | "warning" | "secondary";
|
19
|
+
}
|