ados-rcm 1.1.95 → 1.1.97

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.es.js CHANGED
@@ -7367,7 +7367,7 @@ const V5 = ["Primary", "Secondary", "Raw"], Bf = (o) => {
7367
7367
  }, []), j = T(() => {
7368
7368
  if (!H) {
7369
7369
  const [, Ce] = r.state.useIsOpen;
7370
- Ce == null || Ce(!1), y == null || y();
7370
+ console.log("onTransitionEnd, close", r.state.useIsOpen), Ce == null || Ce(!1), y == null || y();
7371
7371
  }
7372
7372
  }, [H, y, r]), oe = T(async () => {
7373
7373
  if (!H || n === "cancel" || n === "none" || k || C || w)
@@ -7543,8 +7543,13 @@ const V5 = ["Primary", "Secondary", "Raw"], Bf = (o) => {
7543
7543
  }), []), u = L(() => ({}), []);
7544
7544
  return L(() => (u.state = a, u.action = s, u), [u, a, s]);
7545
7545
  }, o3 = (o) => {
7546
- const { dlgCore: r, children: n } = o, [a, s] = r.state.useIsOpen;
7547
- return we(() => () => s == null ? void 0 : s(!1), [s]), /* @__PURE__ */ c.jsx(Cf, { children: a && n });
7546
+ const { dlgCore: r, children: n } = o, [a, s] = L(() => r.state.useIsOpen, [r.state.useIsOpen]);
7547
+ return we(
7548
+ () => () => {
7549
+ console.log("ADialogFrame unmount"), s == null || s(!1);
7550
+ },
7551
+ [s]
7552
+ ), /* @__PURE__ */ c.jsx(Cf, { children: a && n });
7548
7553
  }, Z5 = (o) => (r) => {
7549
7554
  const { dlgCore: n } = r;
7550
7555
  return /* @__PURE__ */ c.jsx(o3, { dlgCore: n, children: ln.cloneElement(/* @__PURE__ */ c.jsx(o, { ...r }), { dlgCore: n }) });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ados-rcm",
3
- "version": "1.1.95",
3
+ "version": "1.1.97",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "type": "module",