@applica-software-guru/react-admin 1.5.344 → 1.5.345
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-buttons/DeleteWithConfirmButton.d.ts.map +1 -1
- package/dist/react-admin.cjs.js +1 -1
- package/dist/react-admin.cjs.js.gz +0 -0
- package/dist/react-admin.cjs.js.map +1 -1
- package/dist/react-admin.es.js +7 -0
- package/dist/react-admin.es.js.gz +0 -0
- package/dist/react-admin.es.js.map +1 -1
- package/dist/react-admin.umd.js +1 -1
- package/dist/react-admin.umd.js.gz +0 -0
- package/dist/react-admin.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ra-buttons/DeleteWithConfirmButton.tsx +7 -0
package/package.json
CHANGED
|
@@ -97,6 +97,13 @@ function DeleteWithConfirmButton<RecordType extends RaRecord = any>(
|
|
|
97
97
|
ml: 2,
|
|
98
98
|
'&:hover': {
|
|
99
99
|
backgroundColor: theme.palette.primary.dark
|
|
100
|
+
},
|
|
101
|
+
'&.Mui-disabled': {
|
|
102
|
+
backgroundColor: theme.palette.action.disabled,
|
|
103
|
+
color: theme.palette.primary.contrastText,
|
|
104
|
+
outline: 'none',
|
|
105
|
+
boxShadow: 'none',
|
|
106
|
+
border: `1px solid ${theme.palette.action.disabled}`
|
|
100
107
|
}
|
|
101
108
|
},
|
|
102
109
|
'& .MuiButtonBase-root': {
|