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

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.92",
3
+ "version": "1.1.93",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -10,8 +10,11 @@ const StyledAutocompleteArrayInput = styled(RaAutocompleteArrayInput, {
10
10
  width: label === false ? 0 : 'auto'
11
11
  },
12
12
  '& .MuiAutocomplete-inputRoot': {
13
- // Serve ad allineare l'altezza di un input di tipo Autocomplete a quella degli altri campi utilizzati.
14
13
  padding: `0px 9px`
14
+ },
15
+ '& label.MuiFormLabel-root[data-shrink="false"]': {
16
+ minHeight: '18px',
17
+ marginTop: '-4px'
15
18
  }
16
19
  }));
17
20
 
@@ -9,6 +9,10 @@ const StyledAutocompleteInput = styled(RaAutocompleteInput, {
9
9
  '& legend': {
10
10
  width: label === false ? 0 : 'auto'
11
11
  },
12
+ '& label.MuiFormLabel-root[data-shrink="false"]': {
13
+ minHeight: '18px',
14
+ marginTop: '-4px'
15
+ },
12
16
  '& .MuiAutocomplete-inputRoot': {
13
17
  // Serve ad allineare l'altezza di un input di tipo Autocomplete a quella degli altri campi utilizzati.
14
18
  padding: `0px 9px`
@@ -12,6 +12,9 @@ const ApplicaStyledSelectArrayInput = styled(RaSelectArrayInput, {
12
12
  '& .RaSelectArrayInput-chips > .RaSelectArrayInput-chip': {
13
13
  marginTop: '-2px',
14
14
  marginBottom: '-2px'
15
+ },
16
+ '& label.MuiFormLabel-root[data-shrink="false"]': {
17
+ marginTop: '2px'
15
18
  }
16
19
  }));
17
20
 
@@ -9,6 +9,9 @@ const ApplicaStyledSelectInput = styled(RaSelectInput, {
9
9
  })(({ label }) => ({
10
10
  '& legend': {
11
11
  width: label === false ? 0 : 'auto'
12
+ },
13
+ '& label.MuiFormLabel-root[data-shrink="false"]': {
14
+ marginTop: '2px'
12
15
  }
13
16
  }));
14
17
  export type SelectInputProps = LabeledInputProps & RaSelectInputProps;