@typeolymp/ui-components 1.19.23 → 1.19.25

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.
@@ -7,6 +7,7 @@ export declare type PropsType = {
7
7
  onClick(): void;
8
8
  };
9
9
  isClosable?: boolean;
10
+ afterClose?(): void;
10
11
  };
11
12
  declare const Alert: FC<PropsType>;
12
13
  export default Alert;
@@ -1,6 +1,6 @@
1
1
  import { FC } from "react";
2
2
  import { PropsType as ButtonPropsType } from "../../atoms/Button";
3
3
  import { PropsType as DropdownPropsType } from ".";
4
- export declare type PropsType = Omit<DropdownPropsType, "children"> & Pick<ButtonPropsType, "label" | "color" | "size" | "disabled">;
4
+ export declare type PropsType = Omit<DropdownPropsType, "children" | "trigger"> & Pick<ButtonPropsType, "label" | "color" | "size" | "disabled">;
5
5
  declare const DropdownButton: FC<PropsType>;
6
6
  export default DropdownButton;
@@ -7,9 +7,10 @@ export declare type PropsType = {
7
7
  icon?: IconPropsType["type"];
8
8
  onClick?(): void;
9
9
  }>;
10
+ children: ReactNode;
10
11
  trigger?: ["click" | "hover"];
11
12
  disabled?: boolean;
12
- children: ReactNode;
13
+ yOffset?: number;
13
14
  };
14
15
  declare const Dropdown: FC<PropsType> & {
15
16
  Button: FC<DropdownButtonPropsType>;