@sinco/react 1.0.2-rc.22 → 1.0.2-rc.24

Sign up to get free protection for your applications and to get access to all the features.
package/index.css CHANGED
@@ -1,4 +1,3 @@
1
- @import './toastNotification.css'
2
1
  :root {
3
2
  --color-info: #e1f5fe;
4
3
  --color-info-icon: #0097b9;
package/index.js CHANGED
@@ -12969,7 +12969,7 @@ const ToastNotification = toast => {
12969
12969
  success: 'success',
12970
12970
  error: 'error',
12971
12971
  warning: 'warning',
12972
- info: 'secondary'
12972
+ info: 'info'
12973
12973
  };
12974
12974
  const colors = colorMap[toast.type || 'info'];
12975
12975
  const close = () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinco/react",
3
- "version": "1.0.2-rc.22",
3
+ "version": "1.0.2-rc.24",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",
package/src/index.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  export * from './lib/Theme';
2
- import '../src/lib/styles/main.css';
3
2
  export { default as ToastNotification } from './lib/toastNotification/ToastNotification';
4
3
  export * from './lib/toastNotification/ToastNotification';
5
4
  export * from './lib/toastNotification/interfaces';
@@ -15,5 +15,5 @@ export interface IconMap {
15
15
  [key: string]: ReactElement;
16
16
  }
17
17
  export interface ColorMap {
18
- [key: string]: "success" | "error" | "warning" | "secondary";
18
+ [key: string]: "success" | "error" | "warning" | "info";
19
19
  }