@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.
@@ -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
- e != null && e.onClick && e.onClick(d, r), d !== d && (s(d), r());
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