@avalabs/k2-alpine 0.0.0-main-ae56d75 → 0.0.0-main-ea9fac8

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.
@@ -2,6 +2,7 @@ import { PropsWithChildren } from 'react';
2
2
  import { CoreTheme } from '../../theme';
3
3
  type ThemeProviderProps = {
4
4
  theme: CoreTheme;
5
+ toastVariant?: 'web' | 'extension';
5
6
  };
6
7
  export declare const ThemeProvider: import('react').NamedExoticComponent<PropsWithChildren<ThemeProviderProps>>;
7
8
  export {};
@@ -1,4 +1,4 @@
1
- export type ToastType = 'info' | 'success' | 'critical' | 'error' | 'suspicious' | 'scam' | 'custom' | 'basic';
1
+ export type ToastType = 'info' | 'success' | 'critical' | 'error' | 'suspicious' | 'scam' | 'custom' | 'basic' | 'pending';
2
2
  export type ToastPosition = {
3
3
  vertical: 'top' | 'bottom';
4
4
  horizontal: 'left' | 'center' | 'right';
@@ -20,9 +20,14 @@ export declare const toast: {
20
20
  error: (title: string, options?: ToastOptions) => string | number;
21
21
  suspicious: (title: string, options?: ToastOptions) => string | number;
22
22
  scam: (title: string, options?: ToastOptions) => string | number;
23
+ pending: (title: string, options?: ToastOptions) => string | number;
23
24
  custom: (title: string, options?: ToastOptions) => string | number;
24
25
  show: (title: string, options?: ToastOptions) => string | number;
25
26
  dismiss: (id: string) => void;
26
27
  dismissAll: () => void;
27
28
  };
28
- export declare const Toaster: () => import("react/jsx-runtime").JSX.Element;
29
+ type ToasterGlobalProps = {
30
+ variant?: 'web' | 'extension';
31
+ };
32
+ export declare const Toaster: ({ variant }: ToasterGlobalProps) => import("react/jsx-runtime").JSX.Element;
33
+ export {};