dt-shared-front 2.2.59-alpha.2 → 2.2.59-alpha.3

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.
@@ -12,6 +12,9 @@ export declare enum EIconVariant {
12
12
  attention = "attention",
13
13
  revert = "revert",
14
14
  warning = "warning",
15
+ error = "error",
16
+ neutral = "neutral",
17
+ success = "success",
15
18
  initial = "initial",
16
19
  light = "light",
17
20
  inherit = "inherit",
@@ -4,6 +4,7 @@ interface ISpoilerProps {
4
4
  title: string | ReactNode;
5
5
  initialValue?: boolean;
6
6
  className?: string;
7
+ isWbTheme?: boolean;
7
8
  }
8
9
  export declare const Spoiler: (props: PropsWithChildren<ISpoilerProps>) => React.JSX.Element;
9
10
  export {};
@@ -0,0 +1 @@
1
+ export { showToast } from './toast';
@@ -0,0 +1,3 @@
1
+ import type { ArgsProps } from 'antd/lib/notification';
2
+ export declare type IToastParams = ArgsProps;
3
+ export declare const showToast: (params: IToastParams) => void;
package/dist/index.d.ts CHANGED
@@ -53,3 +53,4 @@ export type { PropsWithPopover } from './components/popover';
53
53
  export type { IPopoverRef } from './components/popover/popover';
54
54
  export { adapter, BaseService } from './service';
55
55
  export type { IBaseServiceStreamOptions } from './service';
56
+ export { showToast } from './components/toast';