@applica-software-guru/react-admin 1.3.153 → 1.3.155
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/hooks/usePopoverState.d.ts +2 -2
- package/dist/hooks/usePopoverState.d.ts.map +1 -1
- package/dist/react-admin.cjs.js +2 -2
- package/dist/react-admin.cjs.js.map +1 -1
- package/dist/react-admin.es.js +4 -4
- package/dist/react-admin.es.js.map +1 -1
- package/dist/react-admin.umd.js +2 -2
- package/dist/react-admin.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Layout/Provider.tsx +3 -3
- package/src/hooks/usePopoverState.tsx +2 -2
package/dist/react-admin.es.js
CHANGED
|
@@ -8038,7 +8038,7 @@ function n8(e) {
|
|
|
8038
8038
|
}, [e, t]), t;
|
|
8039
8039
|
}
|
|
8040
8040
|
function pp() {
|
|
8041
|
-
const [e, t] = Xe(null), n = !!e, r = Me((l) => t(l == null ? void 0 : l.currentTarget), [t]), o = Me(() => t(null), [t]), a = Me(
|
|
8041
|
+
const [e, t] = Xe(null), n = !!e, r = Me((l) => t((l == null ? void 0 : l.currentTarget) ?? null), [t]), o = Me(() => t(null), [t]), a = Me(
|
|
8042
8042
|
(l) => {
|
|
8043
8043
|
n ? o() : r(l);
|
|
8044
8044
|
},
|
|
@@ -18961,7 +18961,7 @@ function MW(e, t) {
|
|
|
18961
18961
|
}
|
|
18962
18962
|
case "updateNotifications": {
|
|
18963
18963
|
const a = ce.chain(n.notifications).clone().extend(o).value();
|
|
18964
|
-
return ce.extend(n,
|
|
18964
|
+
return ce.extend(n, a);
|
|
18965
18965
|
}
|
|
18966
18966
|
case "updateTheme": {
|
|
18967
18967
|
const a = ce.chain(n.theme).clone().extend(o).value();
|
|
@@ -19059,8 +19059,8 @@ function kW(e) {
|
|
|
19059
19059
|
}
|
|
19060
19060
|
function FW(e) {
|
|
19061
19061
|
return gr((t, n) => {
|
|
19062
|
-
const { logoIcon: r, logoMain: o, enableNotification: a } = t;
|
|
19063
|
-
return /* @__PURE__ */ p(kW, { logoIcon: r, logoMain: o, enableNotification: a, children: /* @__PURE__ */ p(e, { ref: n, ...t }) });
|
|
19062
|
+
const { logoIcon: r, logoMain: o, enableNotification: a, notification: l } = t;
|
|
19063
|
+
return /* @__PURE__ */ p(kW, { logoIcon: r, logoMain: o, enableNotification: a, notification: l, children: /* @__PURE__ */ p(e, { ref: n, ...t }) });
|
|
19064
19064
|
});
|
|
19065
19065
|
}
|
|
19066
19066
|
function ZQ() {
|