@applica-software-guru/react-admin 1.4.222 → 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 +68 -65
- package/dist/react-admin.cjs.js.map +1 -1
- package/dist/react-admin.es.js +15100 -14659
- package/dist/react-admin.es.js.map +1 -1
- package/dist/react-admin.umd.js +71 -68
- package/dist/react-admin.umd.js.map +1 -1
- package/package.json +1 -5
- 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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applica-software-guru/react-admin",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.226",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -102,10 +102,6 @@
|
|
|
102
102
|
"vitest": "^0.33.0"
|
|
103
103
|
},
|
|
104
104
|
"peerDependencies": {
|
|
105
|
-
"@mui/base": "5.0.0-beta.19",
|
|
106
|
-
"@mui/icons-material": "^5.0.1",
|
|
107
|
-
"@mui/lab": "5.0.0-alpha.148",
|
|
108
|
-
"@mui/material": "5.15.18",
|
|
109
105
|
"react": "^18.2.0",
|
|
110
106
|
"react-admin": "4.14.5",
|
|
111
107
|
"react-dom": "^18.2.0"
|
|
@@ -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
|
|