mblabs-roccato-frontend-commons 0.2.12 → 0.2.13

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/index.d.ts CHANGED
@@ -2008,6 +2008,19 @@ export declare const useToast: () => {
2008
2008
  error: (message: string, options?: ExternalToast) => void;
2009
2009
  warning: (message: string, options?: ExternalToast) => void;
2010
2010
  info: (message: string, options?: ExternalToast) => void;
2011
+ loading: (message: string, options?: ExternalToast) => string | number;
2012
+ promise: (promise: Promise<unknown>, options?: {
2013
+ success: string;
2014
+ error: string;
2015
+ loading: string;
2016
+ }) => (string & {
2017
+ unwrap: () => Promise<unknown>;
2018
+ }) | (number & {
2019
+ unwrap: () => Promise<unknown>;
2020
+ }) | {
2021
+ unwrap: () => Promise<unknown>;
2022
+ };
2023
+ dismiss: (id?: string | number) => void;
2011
2024
  };
2012
2025
 
2013
2026
  declare interface UseToggleReturn {