@app-studio/web 0.8.95 → 0.8.96
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/dist/components/Toast/Toast.d.ts +2 -1
- package/dist/web.cjs.development.js +1 -0
- package/dist/web.cjs.development.js.map +1 -1
- package/dist/web.cjs.production.min.js +1 -1
- package/dist/web.cjs.production.min.js.map +1 -1
- package/dist/web.esm.js +1 -1
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.development.js +1 -0
- package/dist/web.umd.development.js.map +1 -1
- package/dist/web.umd.production.min.js +1 -1
- package/dist/web.umd.production.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ToastProps, ToastContainerProps } from './Toast/Toast.props';
|
|
3
|
+
import { showToast } from './Toast/Toast.store';
|
|
3
4
|
declare const Toast: React.FC<ToastProps> & {
|
|
4
5
|
Container: (props: ToastContainerProps) => React.JSX.Element;
|
|
5
6
|
show: (variant: import("./Toast/Toast.type").ToastVariant, title: string, description?: string | undefined, options?: import("./Toast/Toast.type").ToastOptions | undefined) => any;
|
|
@@ -19,4 +20,4 @@ export declare const useToast: () => {
|
|
|
19
20
|
remove: (id: string) => void;
|
|
20
21
|
removeAll: () => void;
|
|
21
22
|
};
|
|
22
|
-
export { Toast };
|
|
23
|
+
export { Toast, showToast };
|
|
@@ -18737,6 +18737,7 @@ exports.hideMessage = hideMessage;
|
|
|
18737
18737
|
exports.hideModal = hideModal;
|
|
18738
18738
|
exports.showMessage = showMessage;
|
|
18739
18739
|
exports.showModal = showModal;
|
|
18740
|
+
exports.showToast = showToast;
|
|
18740
18741
|
exports.useMessageStore = useMessageStore;
|
|
18741
18742
|
exports.useModalStore = useModalStore;
|
|
18742
18743
|
exports.useToast = useToast$1;
|