@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/dist/components/ra-inputs/AutocompleteArrayInput.d.ts.map +1 -1
- package/dist/components/ra-inputs/AutocompleteInput.d.ts.map +1 -1
- package/dist/components/ra-inputs/SelectArrayInput.d.ts.map +1 -1
- package/dist/components/ra-lists/List.d.ts.map +1 -1
- package/dist/react-admin.cjs.js +43 -43
- package/dist/react-admin.cjs.js.map +1 -1
- package/dist/react-admin.es.js +1318 -1305
- package/dist/react-admin.es.js.map +1 -1
- package/dist/react-admin.umd.js +2 -2
- package/dist/react-admin.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ra-inputs/AutocompleteArrayInput.tsx +6 -0
- package/src/components/ra-inputs/AutocompleteInput.tsx +0 -3
- package/src/components/ra-inputs/SelectArrayInput.tsx +10 -3
- package/src/components/ra-lists/List.tsx +3 -0
- package/src/themes/overrides/InputLabel.jsx +1 -1
- package/src/themes/overrides/OutlinedInput.jsx +1 -1
package/package.json
CHANGED
|
@@ -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
|
-
'& .
|
|
10
|
-
marginTop: '-
|
|
11
|
-
|
|
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
|
|