@cloudtower/eagle 0.25.13 → 0.25.14-alpha.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.
@@ -17,9 +17,30 @@ export declare const UIKitStore: import("redux").Store<import("redux").EmptyObje
17
17
  chart: ChartState;
18
18
  modal: ModalState;
19
19
  }, Actions>;
20
- export declare function pushModal<K extends keyof IModalProps>(modal: ModalType<IModalProps[K]>): void;
21
- export declare function popModal(): void;
22
- export declare function closeModal(id: number): void;
20
+ /**
21
+ * @deprecated
22
+ */
23
+ export declare function pushModal<K extends keyof IModalProps>(modal: ModalType<IModalProps[K]>, store?: import("redux").Store<import("redux").EmptyObject & {
24
+ chart: ChartState;
25
+ modal: ModalState;
26
+ }, Actions>): void;
27
+ export declare const usePushModal: () => <K extends string | number>(modal: ModalType<IModalProps[K]>) => void;
28
+ /**
29
+ * @deprecated
30
+ */
31
+ export declare function popModal(store?: import("redux").Store<import("redux").EmptyObject & {
32
+ chart: ChartState;
33
+ modal: ModalState;
34
+ }, Actions>): void;
35
+ export declare const usePopMoal: () => () => void;
36
+ /**
37
+ * @deprecated
38
+ */
39
+ export declare function closeModal(id: number, store?: import("redux").Store<import("redux").EmptyObject & {
40
+ chart: ChartState;
41
+ modal: ModalState;
42
+ }, Actions>): void;
43
+ export declare const useCloseModal: () => (id: number) => void;
23
44
  export type GetModalProps<K extends keyof IModalProps> = IModalProps[K] & CloseCb;
24
45
  export * from "./chart";
25
46
  export * from "./modal";