maru_design2 2.7.0 → 2.7.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.7.1](https://github.com/42maru-ai/maru-design2/compare/v2.7.0...v2.7.1) (2024-06-05)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * :bug: Toast - UPDATE toast pop type ([e720a2f](https://github.com/42maru-ai/maru-design2/commit/e720a2f2ebdc0f63ab0a1476b6cb20ffb66554fc))
9
+ * :bug: Toast - UPDATE toast props ([d0fcb71](https://github.com/42maru-ai/maru-design2/commit/d0fcb71e38781a348ac2a626b1ebbf9962d78f5e))
10
+ * :bug: Toast - UPDATE toast props ([eea7287](https://github.com/42maru-ai/maru-design2/commit/eea7287ef9b0b23eb58214d4c0ac3f0f98b94f02))
11
+
3
12
  ## [2.7.0](https://github.com/42maru-ai/maru-design2/compare/v2.6.0...v2.7.0) (2024-06-04)
4
13
 
5
14
 
@@ -1,6 +1,5 @@
1
1
  import { TToastVariant } from '../../../enums/variant';
2
2
  export interface IToast {
3
- id: string;
4
3
  variant: TToastVariant;
5
4
  content: string;
6
5
  details?: string[];
@@ -4,7 +4,7 @@ interface ToastContextProps {
4
4
  toasts: {
5
5
  [id: string]: IToast;
6
6
  };
7
- pop: (toast: Omit<IToast, 'id'>) => void;
7
+ pop: (toast: IToast) => void;
8
8
  drop: (id: string) => void;
9
9
  }
10
10
  declare const ToastContext: React.Context<ToastContextProps | undefined>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "maru_design2",
3
- "version": "2.7.0",
3
+ "version": "2.7.1",
4
4
  "main": "./dist/index.js",
5
5
  "author": "zena-42maru",
6
6
  "license": "MIT",