@applica-software-guru/react-admin 1.0.76 → 1.0.77

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.
@@ -14811,10 +14811,13 @@ const dt = ({ label: e, children: t, display: n, helperText: r, sx: i, addLabel:
14811
14811
  {
14812
14812
  spacing: 1,
14813
14813
  sx: {
14814
+ // @ts-ignore
14815
+ width: A != null && A.fullWidth ? "100%" : "auto",
14814
14816
  "& .MuiFormHelperText-root": {
14815
14817
  // @see: https://github.com/marmelab/react-admin/blob/master/packages/ra-ui-materialui/src/input/SelectArrayInput.tsx#L340
14816
14818
  // the 'invalid' prop is not used inside the react-admin component. This is necessary if we want to support
14817
14819
  // remove error message colorization when the field is in error state.
14820
+ /** @ts-ignore */
14818
14821
  color: m ? d.palette.error.main : d.palette.text.secondary,
14819
14822
  "& span": {
14820
14823
  display: "none"
@@ -14828,6 +14831,7 @@ const dt = ({ label: e, children: t, display: n, helperText: r, sx: i, addLabel:
14828
14831
  {
14829
14832
  error: m === !0,
14830
14833
  sx: {
14834
+ // @ts-ignore
14831
14835
  borderBottom: l ? `1px solid ${d.palette.divider}` : "none",
14832
14836
  pb: l ? 1 : 0,
14833
14837
  mt: l ? 1 : 0
@@ -14836,6 +14840,7 @@ const dt = ({ label: e, children: t, display: n, helperText: r, sx: i, addLabel:
14836
14840
  }
14837
14841
  ),
14838
14842
  be.isValidElement(t) ? be.cloneElement(t, {
14843
+ // @ts-ignore
14839
14844
  ...t.props,
14840
14845
  ...A,
14841
14846
  label: n === "legend" ? e : !1
@@ -24670,35 +24675,47 @@ const bU = _i(o0, {
24670
24675
  },
24671
24676
  "& .MuiButton-root": {
24672
24677
  margin: e.spacing(2)
24673
- },
24674
- "& .RaFilterForm-filterFormInput > .ra-input": {
24675
- alignSelf: "center"
24678
+ }
24679
+ },
24680
+ "& .RaList-actions": {
24681
+ padding: e.spacing(2),
24682
+ paddingTop: 0,
24683
+ "& .RaFilterForm-filterFormInput": {
24684
+ "& .ra-input": {
24685
+ alignSelf: "center"
24686
+ },
24687
+ [e.breakpoints.down("sm")]: {
24688
+ // Quando lo schermo è piccolo, il filtro viene visualizzato in una colonna.
24689
+ // Diamo un margine maggiore in basso per evitare che siano troppo vicini.
24690
+ marginTop: e.spacing(1),
24691
+ marginBottom: e.spacing(1)
24692
+ }
24676
24693
  },
24677
24694
  "& .RaFilterFormInput-hideButton": {
24678
24695
  marginTop: e.spacing(1),
24679
24696
  marginBottom: e.spacing(0.5),
24680
24697
  marginRight: e.spacing(1)
24698
+ },
24699
+ "& > .MuiToolbar-root": {
24700
+ flex: "unset",
24701
+ padding: 0
24681
24702
  }
24682
- }
24683
- },
24684
- "& .RaList-actions": {
24685
- padding: e.spacing(2),
24686
- paddingTop: 0
24687
- },
24688
- "& .RaList-content": {
24689
- // Resolve an issue related to the visualization of the bulk actions toolbar.
24690
- // Padding and margin create a non empty space that allows the toolbar to be displayed when
24691
- // the selection is empty.
24692
- "& .RaBulkActionsToolbar-collapsed": {
24693
- height: 0,
24694
- paddingTop: 0,
24695
- paddingBottom: 0
24696
24703
  },
24697
- // Resolve a defect related to the usage of AntDesin icons with Mantis and React-Admin.
24698
- // These two lines are not needed if you are not using AntDesign icons.
24699
- "& .icon span": {
24700
- top: -1,
24701
- left: -1
24704
+ "& .RaList-content": {
24705
+ // Resolve an issue related to the visualization of the bulk actions toolbar.
24706
+ // Padding and margin create a non empty space that allows the toolbar to be displayed when
24707
+ // the selection is empty.
24708
+ "& .RaBulkActionsToolbar-collapsed": {
24709
+ height: 0,
24710
+ paddingTop: 0,
24711
+ paddingBottom: 0
24712
+ },
24713
+ // Resolve a defect related to the usage of AntDesin icons with Mantis and React-Admin.
24714
+ // These two lines are not needed if you are not using AntDesign icons.
24715
+ "& .icon span": {
24716
+ top: -1,
24717
+ left: -1
24718
+ }
24702
24719
  }
24703
24720
  },
24704
24721
  "& .RaEmpty-toolbar": {