@applica-software-guru/react-admin 1.5.277 → 1.5.278
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/Layout/Header/Buttons/LocaleButton.d.ts +1 -1
- package/dist/components/Layout/Header/Buttons/LocaleButton.d.ts.map +1 -1
- package/dist/react-admin.cjs.js +1 -1
- package/dist/react-admin.cjs.js.gz +0 -0
- package/dist/react-admin.cjs.js.map +1 -1
- package/dist/react-admin.es.js +6 -2
- package/dist/react-admin.es.js.gz +0 -0
- package/dist/react-admin.es.js.map +1 -1
- package/dist/react-admin.umd.js +1 -1
- package/dist/react-admin.umd.js.gz +0 -0
- package/dist/react-admin.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Layout/Header/Buttons/LocaleButton.tsx +3 -5
package/dist/react-admin.es.js
CHANGED
|
@@ -27219,12 +27219,16 @@ const cie = ce(Wd, { shouldForwardProp: (e) => e !== "open" })(
|
|
|
27219
27219
|
);
|
|
27220
27220
|
return /* @__PURE__ */ m(lk, { ref: n, ...t, color: "secondary", sx: r });
|
|
27221
27221
|
});
|
|
27222
|
-
function die(e) {
|
|
27222
|
+
function die({ onClick: e = void 0 }) {
|
|
27223
27223
|
const { open: t, anchorEl: n, handleClose: r, handleToggle: o } = kf(), [a, s] = Vl(), c = _m();
|
|
27224
27224
|
if (c.length === 0)
|
|
27225
27225
|
return null;
|
|
27226
27226
|
function u(d) {
|
|
27227
|
-
|
|
27227
|
+
if (e) {
|
|
27228
|
+
e(d, r);
|
|
27229
|
+
return;
|
|
27230
|
+
}
|
|
27231
|
+
s(d), r();
|
|
27228
27232
|
}
|
|
27229
27233
|
return /* @__PURE__ */ Q(dt, { children: [
|
|
27230
27234
|
/* @__PURE__ */ m(uie, { value: "locale", onClick: o, sx: { minWidth: "auto" }, children: /* @__PURE__ */ Q(yt, { direction: "row", spacing: 0.5, children: [
|
|
Binary file
|