indicator-ui 1.1.79 → 1.1.80
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.js
CHANGED
|
@@ -21180,8 +21180,8 @@ function Sse(r) {
|
|
|
21180
21180
|
close: L,
|
|
21181
21181
|
toggle: V,
|
|
21182
21182
|
applyPosition: M,
|
|
21183
|
-
isOpenRef: d,
|
|
21184
21183
|
isOpen: f,
|
|
21184
|
+
isOpenRef: d,
|
|
21185
21185
|
register: v
|
|
21186
21186
|
};
|
|
21187
21187
|
}
|
|
@@ -21320,31 +21320,34 @@ function Eq(r) {
|
|
|
21320
21320
|
return pe(() => (document.addEventListener("focusin", c), () => document.removeEventListener("focusin", c)), []), { onOpen: u, onClose: d };
|
|
21321
21321
|
}
|
|
21322
21322
|
function xse(r) {
|
|
21323
|
-
const { panelRef: e, backdropRef: t, closeOnEscKeyDown: n = !0, closeOnClickOutside: i = !0, enter: o, leave: s } = r, c = U(!1), {
|
|
21324
|
-
|
|
21325
|
-
|
|
21326
|
-
|
|
21327
|
-
|
|
21328
|
-
|
|
21323
|
+
const { panelRef: e, backdropRef: t, closeOnEscKeyDown: n = !0, closeOnClickOutside: i = !0, enter: o, leave: s } = r, c = U(!1), [u, d] = Re(!1), f = T((L) => {
|
|
21324
|
+
c.current = L, d(L);
|
|
21325
|
+
}, [d]), {
|
|
21326
|
+
requestZIndex: h,
|
|
21327
|
+
releaseZIndex: p,
|
|
21328
|
+
getChildrenModalsElementsRefs: _,
|
|
21329
|
+
registerModalPortal: g
|
|
21330
|
+
} = h8([e, t]), y = G(() => _(), [_]), [v, C] = yt(void 0), { onLeave: S, onEnter: x } = wq({ leave: s, enter: o, panelRef: e, backdropRef: t }), { applyPosition: E } = bq({ backdropRef: t, options: { zIndex: v() } }), { onOpen: b, onClose: D } = Eq({
|
|
21329
21331
|
panelRef: e,
|
|
21330
21332
|
isOpenRef: c,
|
|
21331
|
-
childrenModalsElementsRefs:
|
|
21332
|
-
}),
|
|
21333
|
-
const
|
|
21334
|
-
|
|
21335
|
-
}),
|
|
21336
|
-
return kq({ closeModal:
|
|
21337
|
-
closeModal:
|
|
21333
|
+
childrenModalsElementsRefs: y
|
|
21334
|
+
}), M = Ke(async () => {
|
|
21335
|
+
const L = h();
|
|
21336
|
+
C(L), E({ zIndex: L }), f(!0), await x(), b();
|
|
21337
|
+
}), A = Ke(async () => (f(!1), D(), p(), S())), F = Ke(async () => c.current ? A() : M());
|
|
21338
|
+
return kq({ closeModal: A, closeOnEscKeyDown: n, backdropRef: t }), vq({
|
|
21339
|
+
closeModal: A,
|
|
21338
21340
|
panelRef: e,
|
|
21339
21341
|
isOpenRef: c,
|
|
21340
21342
|
closeOnClickOutside: i,
|
|
21341
|
-
childrenModalsElementsRefs:
|
|
21343
|
+
childrenModalsElementsRefs: y
|
|
21342
21344
|
}), {
|
|
21343
|
-
open:
|
|
21344
|
-
close:
|
|
21345
|
-
toggle:
|
|
21345
|
+
open: M,
|
|
21346
|
+
close: A,
|
|
21347
|
+
toggle: F,
|
|
21346
21348
|
isOpenRef: c,
|
|
21347
|
-
|
|
21349
|
+
isOpen: u,
|
|
21350
|
+
register: g
|
|
21348
21351
|
};
|
|
21349
21352
|
}
|
|
21350
21353
|
function Sq(r) {
|
package/dist/types/src/hooks/modalsFederation/anchoredModal/hooks/useAnchoredModalController.d.ts
CHANGED
|
@@ -19,8 +19,8 @@ export declare function useAnchoredModalController(props: PropsType): {
|
|
|
19
19
|
} & {
|
|
20
20
|
zIndex?: number;
|
|
21
21
|
}) => void;
|
|
22
|
-
isOpenRef: React.RefObject<boolean>;
|
|
23
22
|
isOpen: boolean;
|
|
23
|
+
isOpenRef: React.RefObject<boolean>;
|
|
24
24
|
register: import('../../federation/modalInstanceContext').RegisterModal;
|
|
25
25
|
};
|
|
26
26
|
export {};
|
package/dist/types/src/hooks/modalsFederation/dialogModal/hooks/useDialogModalController.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export declare function useDialogModalController(props: PropsType): {
|
|
|
11
11
|
close: () => Promise<unknown>;
|
|
12
12
|
toggle: () => Promise<unknown>;
|
|
13
13
|
isOpenRef: React.RefObject<boolean>;
|
|
14
|
+
isOpen: boolean;
|
|
14
15
|
register: import('../../federation/modalInstanceContext').RegisterModal;
|
|
15
16
|
};
|
|
16
17
|
export {};
|