@applica-software-guru/react-admin 1.5.277 → 1.5.279
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/components/ra-inputs/LabeledInput.d.ts.map +1 -1
- package/dist/react-admin.cjs.js +2 -2
- package/dist/react-admin.cjs.js.gz +0 -0
- package/dist/react-admin.cjs.js.map +1 -1
- package/dist/react-admin.es.js +7 -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 +2 -2
- 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/src/components/ra-inputs/LabeledInput.tsx +1 -0
- package/vite.config.js +3 -3
package/dist/react-admin.es.js
CHANGED
|
@@ -23894,6 +23894,7 @@ function Wn({
|
|
|
23894
23894
|
// @ts-ignore
|
|
23895
23895
|
width: c != null && c.fullWidth ? "100%" : "auto",
|
|
23896
23896
|
"& .MuiFormHelperText-root": {
|
|
23897
|
+
pb: 0,
|
|
23897
23898
|
// @see: https://github.com/marmelab/react-admin/blob/master/packages/ra-ui-materialui/src/input/SelectArrayInput.tsx#L340
|
|
23898
23899
|
// the 'invalid' prop is not used inside the react-admin component. This is necessary if we want to support
|
|
23899
23900
|
// remove error message colorization when the field is in error state.
|
|
@@ -27219,12 +27220,16 @@ const cie = ce(Wd, { shouldForwardProp: (e) => e !== "open" })(
|
|
|
27219
27220
|
);
|
|
27220
27221
|
return /* @__PURE__ */ m(lk, { ref: n, ...t, color: "secondary", sx: r });
|
|
27221
27222
|
});
|
|
27222
|
-
function die(e) {
|
|
27223
|
+
function die({ onClick: e = void 0 }) {
|
|
27223
27224
|
const { open: t, anchorEl: n, handleClose: r, handleToggle: o } = kf(), [a, s] = Vl(), c = _m();
|
|
27224
27225
|
if (c.length === 0)
|
|
27225
27226
|
return null;
|
|
27226
27227
|
function u(d) {
|
|
27227
|
-
|
|
27228
|
+
if (e) {
|
|
27229
|
+
e(d, r);
|
|
27230
|
+
return;
|
|
27231
|
+
}
|
|
27232
|
+
s(d), r();
|
|
27228
27233
|
}
|
|
27229
27234
|
return /* @__PURE__ */ Q(dt, { children: [
|
|
27230
27235
|
/* @__PURE__ */ m(uie, { value: "locale", onClick: o, sx: { minWidth: "auto" }, children: /* @__PURE__ */ Q(yt, { direction: "row", spacing: 0.5, children: [
|
|
Binary file
|