@avalabs/k2-alpine 1.246.0 → 1.251.0
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/Icons/CrossChain.d.ts +2 -0
- package/dist/components/Icons/Earn.d.ts +2 -0
- package/dist/components/Icons/index.d.ts +6 -0
- package/dist/components/ThemeProvider/ThemeProvider.d.ts +1 -0
- package/dist/components/Toast/Toast.d.ts +7 -2
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1917 -1810
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -88,6 +88,9 @@ export declare const ContactsIcon: import('react').ComponentType<IconBaseProps &
|
|
|
88
88
|
export declare const DiscoverIcon: import('react').ComponentType<IconBaseProps & {
|
|
89
89
|
sx?: SxProps;
|
|
90
90
|
} & import('../..').WithSxProps>;
|
|
91
|
+
export declare const EarnIcon: import('react').ComponentType<IconBaseProps & {
|
|
92
|
+
sx?: SxProps;
|
|
93
|
+
} & import('../..').WithSxProps>;
|
|
91
94
|
export declare const ExplorerIcon: import('react').ComponentType<IconBaseProps & {
|
|
92
95
|
sx?: SxProps;
|
|
93
96
|
} & import('../..').WithSxProps>;
|
|
@@ -166,6 +169,9 @@ export declare const CloudDownloadIcon: import('react').ComponentType<IconBasePr
|
|
|
166
169
|
export declare const CoinbaseIcon: import('react').ComponentType<IconBaseProps & {
|
|
167
170
|
sx?: SxProps;
|
|
168
171
|
} & import('../..').WithSxProps>;
|
|
172
|
+
export declare const CrossChainIcon: import('react').ComponentType<IconBaseProps & {
|
|
173
|
+
sx?: SxProps;
|
|
174
|
+
} & import('../..').WithSxProps>;
|
|
169
175
|
export declare const DeployedCodeIcon: import('react').ComponentType<IconBaseProps & {
|
|
170
176
|
sx?: SxProps;
|
|
171
177
|
} & import('../..').WithSxProps>;
|
|
@@ -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
|
-
|
|
29
|
+
type ToasterGlobalProps = {
|
|
30
|
+
variant?: 'web' | 'extension';
|
|
31
|
+
};
|
|
32
|
+
export declare const Toaster: ({ variant }: ToasterGlobalProps) => import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
export {};
|