@cloudtower/eagle 0.25.14-alpha.2 → 0.25.14-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.
- package/dist/components/KitStoreProvider/index.d.ts +4 -1
- package/dist/components.css +479 -479
- package/dist/esm/index.js +33 -33
- package/dist/esm/stats1.html +1 -1
- package/dist/store/index.d.ts +0 -3
- package/dist/style.css +138 -138
- package/dist/umd/index.js +33 -33
- package/dist/umd/stats1.html +1 -1
- package/package.json +5 -5
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { PropsWithChildren } from "react";
|
|
2
|
-
import type { Actions, KitRootState } from "../../store";
|
|
2
|
+
import type { Actions, IModalProps, KitRootState, ModalType } from "../../store";
|
|
3
3
|
interface IProps {
|
|
4
4
|
}
|
|
5
5
|
declare const KitStoreProvider: (props: PropsWithChildren<IProps>) => JSX.Element;
|
|
6
6
|
export default KitStoreProvider;
|
|
7
7
|
export declare const useKitDispatch: () => import("redux").Dispatch<Actions>;
|
|
8
8
|
export declare const useKitSelector: <Selected extends unknown>(selector: (state: KitRootState) => Selected, equalityFn?: ((previous: Selected, next: Selected) => boolean) | undefined) => Selected;
|
|
9
|
+
export declare const usePopMoal: () => () => void;
|
|
10
|
+
export declare const useCloseModal: () => (id: number) => void;
|
|
11
|
+
export declare const usePushModal: () => <K extends string | number>(modal: ModalType<IModalProps[K]>) => void;
|