@pisell/materials 1.0.372 → 1.0.374

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.
@@ -4,7 +4,7 @@ export interface PisellToastProps {
4
4
  /** 提示内容 */
5
5
  content: React.ReactNode;
6
6
  /** 自动关闭的延时,单位秒。设为 0 时不自动关闭 */
7
- duration: number;
7
+ duration?: number;
8
8
  /** 是否展示action */
9
9
  showAction?: boolean;
10
10
  /** action文案 */
@@ -4,7 +4,7 @@ export interface PisellToastProps {
4
4
  /** 提示内容 */
5
5
  content: React.ReactNode;
6
6
  /** 自动关闭的延时,单位秒。设为 0 时不自动关闭 */
7
- duration: number;
7
+ duration?: number;
8
8
  /** 是否展示action */
9
9
  showAction?: boolean;
10
10
  /** action文案 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "1.0.372",
3
+ "version": "1.0.374",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -63,9 +63,9 @@
63
63
  "react-virtualized-auto-sizer": "^1.0.20",
64
64
  "crypto-js": "^4.2.0",
65
65
  "@zxing/library": "0.21.2",
66
- "@pisell/utils": "1.0.32",
66
+ "@pisell/utils": "1.0.33",
67
67
  "@pisell/icon": "0.0.10",
68
- "@pisell/date-picker": "1.0.94"
68
+ "@pisell/date-picker": "1.0.95"
69
69
  },
70
70
  "peerDependencies": {
71
71
  "react": "^18.0.0",