@applica-software-guru/react-admin 1.1.93 → 1.1.94

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applica-software-guru/react-admin",
3
- "version": "1.1.93",
3
+ "version": "1.1.94",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -13,8 +13,7 @@ const StyledAutocompleteArrayInput = styled(RaAutocompleteArrayInput, {
13
13
  padding: `0px 9px`
14
14
  },
15
15
  '& label.MuiFormLabel-root[data-shrink="false"]': {
16
- minHeight: '18px',
17
- marginTop: '-4px'
16
+ minHeight: '18px'
18
17
  }
19
18
  }));
20
19
 
@@ -28,5 +27,9 @@ AutocompleteArrayInput.propTypes = {
28
27
  ...RaAutocompleteArrayInput.propTypes,
29
28
  ...LabeledInput.propTypes
30
29
  };
30
+ AutocompleteArrayInput.defaultProps = {
31
+ ...RaAutocompleteArrayInput.defaultProps,
32
+ size: 'small'
33
+ };
31
34
 
32
35
  export default AutocompleteArrayInput;
@@ -10,8 +10,7 @@ const StyledAutocompleteInput = styled(RaAutocompleteInput, {
10
10
  width: label === false ? 0 : 'auto'
11
11
  },
12
12
  '& label.MuiFormLabel-root[data-shrink="false"]': {
13
- minHeight: '18px',
14
- marginTop: '-4px'
13
+ minHeight: '18px'
15
14
  },
16
15
  '& .MuiAutocomplete-inputRoot': {
17
16
  // Serve ad allineare l'altezza di un input di tipo Autocomplete a quella degli altri campi utilizzati.
@@ -37,4 +36,9 @@ AutocompleteInput.propTypes = {
37
36
  ...LabeledInput.propTypes
38
37
  };
39
38
 
39
+ AutocompleteInput.defaultProps = {
40
+ ...RaAutocompleteInput.defaultProps,
41
+ size: 'small'
42
+ };
43
+
40
44
  export default AutocompleteInput;
@@ -51,11 +51,7 @@ const ApplicaStyledList = styled(RaList, {
51
51
  alignSelf: 'center',
52
52
  marginTop: 0
53
53
  },
54
- [theme.breakpoints.down('sm')]: {
55
- // Quando lo schermo è piccolo, il filtro viene visualizzato in una colonna.
56
- // Diamo un margine maggiore in basso per evitare che siano troppo vicini.
57
- marginBottom: theme.spacing(1.5)
58
- }
54
+ marginTop: theme.spacing(1.5)
59
55
  },
60
56
  '& .RaFilterFormInput-hideButton': {
61
57
  marginTop: theme.spacing(1),