@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.
- package/dist/components/KitStoreProvider/ReduxContextProvider.d.ts +9 -0
- package/dist/components/KitStoreProvider/index.d.ts +1 -1
- package/dist/components/Radio/__test__/h5_css.test.d.ts +1 -0
- package/dist/components.css +370 -371
- package/dist/esm/index.js +42 -20
- package/dist/esm/stats1.html +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/store/index.d.ts +24 -3
- package/dist/style.css +325 -326
- package/dist/umd/index.js +40 -17
- package/dist/umd/stats1.html +1 -1
- package/package.json +5 -5
package/dist/store/index.d.ts
CHANGED
|
@@ -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
|
-
|
|
21
|
-
|
|
22
|
-
|
|
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";
|