@applica-software-guru/react-admin 1.4.225 → 1.4.226

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.4.225",
3
+ "version": "1.4.226",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -12,6 +12,12 @@ const StyledAutocompleteArrayInput = styled(RaAutocompleteArrayInput, {
12
12
  },
13
13
  '& .MuiAutocomplete-inputRoot': {
14
14
  padding: `0px 9px`
15
+ },
16
+ '& .MuiOutlinedInput-root.MuiInputBase-sizeSmall:has(.MuiChip-root)': {
17
+ paddingBottom: '4px'
18
+ },
19
+ '& .MuiAutocomplete-tag': {
20
+ margin: '0px 4px 4px 0px'
15
21
  }
16
22
  }));
17
23
 
@@ -13,9 +13,6 @@ const StyledAutocompleteInput = styled(RaAutocompleteInput, {
13
13
  '& .MuiAutocomplete-inputRoot': {
14
14
  padding: `0px 9px`
15
15
  },
16
- '& .MuiOutlinedInput-root.MuiInputBase-sizeSmall': {
17
- paddingTop: '4px'
18
- }
19
16
  }));
20
17
 
21
18
  export function AutocompleteInput({ size = 'small', ...props }: AutocompleteInputProps): JSX.Element {
@@ -6,9 +6,16 @@ const StyledSelectArrayInput = styled(RaSelectArrayInput, { slot: 'Root' })(({ l
6
6
  '& legend': {
7
7
  width: label === false ? 0 : 'auto'
8
8
  },
9
- '& .RaSelectArrayInput-chips > .RaSelectArrayInput-chip': {
10
- marginTop: '-2px',
11
- marginBottom: '-2px'
9
+ '& .MuiFormLabel-root.MuiInputLabel-root': {
10
+ marginTop: '-3px'
11
+ },
12
+ '& .MuiInputLabel-root.MuiInputLabel-shrink': {
13
+ marginTop: 0
14
+ },
15
+ '& .MuiOutlinedInput-input:has(.MuiChip-root)': {
16
+ paddingTop: '4px',
17
+ paddingBottom: '6px',
18
+ paddingLeft: '6px'
12
19
  }
13
20
  }));
14
21
 
@@ -127,6 +127,9 @@ const StyledList = styled(RaList, { slot: 'root' })(({ theme }) => ({
127
127
  },
128
128
  '& .RaFilterForm-filterFormInput': {
129
129
  margin: 0,
130
+ '& .MuiInputLabel-root': {
131
+ paddingTop: 0
132
+ },
130
133
  '& .MuiFormControl-root': {
131
134
  marginTop: 0
132
135
  },
@@ -10,7 +10,7 @@ export default function InputLabel(theme) {
10
10
  outlined: {
11
11
  lineHeight: '0.8em',
12
12
  '&.MuiInputLabel-sizeSmall': {
13
- lineHeight: '1em'
13
+ lineHeight: '1.3em'
14
14
  },
15
15
  '&.MuiInputLabel-shrink': {
16
16
  background: theme.palette.background.paper,
@@ -37,7 +37,7 @@ export default function OutlinedInput(theme) {
37
37
  }
38
38
  },
39
39
  inputSizeSmall: {
40
- padding: '7.5px 8px 7.5px 12px'
40
+ padding: '9px 8px 9px 12px'
41
41
  },
42
42
  inputMultiline: {
43
43
  padding: 0