@applica-software-guru/react-admin 1.5.232 → 1.5.234
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/.eslintrc +7 -1
- package/dist/components/@extended/Breadcrumbs.d.ts.map +1 -1
- package/dist/react-admin.cjs.js +16 -16
- package/dist/react-admin.cjs.js.map +1 -1
- package/dist/react-admin.es.js +1128 -1110
- package/dist/react-admin.es.js.map +1 -1
- package/dist/react-admin.umd.js +16 -16
- package/dist/react-admin.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/@extended/Breadcrumbs.tsx +0 -1
- package/src/components/ra-buttons/CreateInDialogButton.tsx +2 -2
- package/vite.config.js +1 -0
package/package.json
CHANGED
|
@@ -66,12 +66,12 @@ function CreateInDialogButton({
|
|
|
66
66
|
const handleOpen = useCallback(() => openDialog(resource, () => setOpen(true)), [openDialog, resource]);
|
|
67
67
|
const handleClose = useCallback(() => closeDialog(resource, () => setOpen(false)), [closeDialog, resource]);
|
|
68
68
|
const isMobile = useMediaQuery((theme: Theme) => theme.breakpoints.down('md'));
|
|
69
|
-
const isSmall = fab
|
|
69
|
+
const isSmall = fab && isMobile;
|
|
70
70
|
return (
|
|
71
71
|
<>
|
|
72
72
|
{isSmall ? (
|
|
73
73
|
<StyledFab
|
|
74
|
-
// @ts-
|
|
74
|
+
// @ts-expect-error WARN: Why state prop not exists on styled fab?
|
|
75
75
|
state={scrollStates[String(scrollToTop)]}
|
|
76
76
|
color="primary"
|
|
77
77
|
className={clsx(CreateButtonClasses.floating, className)}
|
package/vite.config.js
CHANGED