indicator-ui 1.1.61 → 1.1.63
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/index.cjs +1 -1
- package/dist/index.js +5 -5
- package/dist/indicator-ui.css +1 -1
- package/dist/types/src/hooks/modalsFederation/federation/modalFederationContext/modalFederationContext.d.ts +1 -1
- package/dist/types/src/hooks/modalsFederation/federation/useModalRegister.d.ts +1 -1
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ export type ModalItemData = {
|
|
|
4
4
|
id: ModalId;
|
|
5
5
|
zIndex: number | null;
|
|
6
6
|
parentId: ModalId | null;
|
|
7
|
-
|
|
7
|
+
elementsRefs: Array<React.RefObject<HTMLElement | null>>;
|
|
8
8
|
};
|
|
9
9
|
export type ModalsData = Map<ModalId, ModalItemData>;
|
|
10
10
|
export type ModalFederationContextType = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { RegisterModal } from './modalInstanceContext';
|
|
3
|
-
export declare function useModalRegister(
|
|
3
|
+
export declare function useModalRegister(elementsRefs: Array<React.RefObject<HTMLElement | null>>): {
|
|
4
4
|
releaseZIndex: () => void;
|
|
5
5
|
requestZIndex: () => number;
|
|
6
6
|
registerModalPortal: RegisterModal;
|