@sinco/react 1.0.15-rc.65 → 1.0.15-rc.66

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 ADDED
@@ -0,0 +1,3 @@
1
+ .color-error {
2
+ background-color: #feebee;
3
+ }
package/index.js CHANGED
@@ -14390,9 +14390,6 @@ const ToastNotificationComponent = toast => {
14390
14390
  display: "flex",
14391
14391
  alignItems: "center",
14392
14392
  sx: {
14393
- "&.color-error": {
14394
- backgroundColor: "#FEEBEE"
14395
- },
14396
14393
  "&.color-info": {
14397
14394
  backgroundColor: "#E1F5FE"
14398
14395
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinco/react",
3
- "version": "1.0.15-rc.65",
3
+ "version": "1.0.15-rc.66",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",
@@ -1,4 +1,5 @@
1
1
  import React from "react";
2
+ import "../styles/toast.css";
2
3
  export type toastType = "success" | "error" | "warning" | "info";
3
4
  export interface ToastBaseProperties {
4
5
  type?: toastType;