@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.
- package/dist/components/ra-inputs/LabeledInput.d.ts +39 -31
- package/dist/components/ra-inputs/LabeledInput.d.ts.map +1 -1
- package/dist/components/ra-lists/List.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 +39 -22
- package/dist/react-admin.es.js.map +1 -1
- package/dist/react-admin.umd.js +39 -39
- package/dist/react-admin.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ra-inputs/{LabeledInput.jsx → LabeledInput.tsx} +25 -2
- package/src/components/ra-lists/List.tsx +37 -22
package/dist/react-admin.es.js
CHANGED
|
@@ -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
|
-
|
|
24675
|
-
|
|
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
|
-
|
|
24698
|
-
|
|
24699
|
-
|
|
24700
|
-
|
|
24701
|
-
|
|
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": {
|