@appquality/unguess-design-system 2.12.84 → 2.12.85
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,3 +1,15 @@
|
|
|
1
|
+
# v2.12.85 (Wed May 03 2023)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- fix(toast): add props with children [#233](https://github.com/AppQuality/unguess-design-system/pull/233) ([@cannarocks](https://github.com/cannarocks))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Luca Cannarozzo ([@cannarocks](https://github.com/cannarocks))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v2.12.84 (Tue May 02 2023)
|
|
2
14
|
|
|
3
15
|
#### 🐛 Bug Fix
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { NotificationArgs, ToastProviderArgs } from "./_types";
|
|
2
|
+
import { PropsWithChildren } from "react";
|
|
2
3
|
/**
|
|
3
4
|
* A Notification is a passive status update that keeps users informed of system progress.
|
|
4
5
|
* <hr>
|
|
@@ -6,7 +7,7 @@ import { NotificationArgs, ToastProviderArgs } from "./_types";
|
|
|
6
7
|
- For a passive status update about user or system activity
|
|
7
8
|
*/
|
|
8
9
|
declare const Notification: ({ closeText, message, onClose, type, isPrimary, isRegular, ...props }: NotificationArgs) => JSX.Element;
|
|
9
|
-
declare const ToastProvider: (props: ToastProviderArgs) => JSX.Element;
|
|
10
|
+
declare const ToastProvider: (props: PropsWithChildren<ToastProviderArgs>) => JSX.Element;
|
|
10
11
|
declare const useToast: () => {
|
|
11
12
|
addToast: (content: import("@zendeskgarden/react-notifications").ToastContent, options?: Partial<import("@zendeskgarden/react-notifications").IToastOptions> | undefined) => string;
|
|
12
13
|
removeToast: (id: string) => void;
|