@applica-software-guru/react-admin 1.4.217 → 1.4.219
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/AuthWrapper.d.ts +4 -4
- package/dist/components/AuthWrapper.d.ts.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/react-admin.cjs.js +25 -25
- package/dist/react-admin.cjs.js.map +1 -1
- package/dist/react-admin.es.js +115 -110
- package/dist/react-admin.es.js.map +1 -1
- package/dist/react-admin.umd.js +25 -25
- package/dist/react-admin.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/AuthWrapper.tsx +2 -2
- package/src/components/index.jsx +1 -0
- package/src/index.jsx +2 -0
package/package.json
CHANGED
|
@@ -16,7 +16,7 @@ export type AuthWrapperProps = {
|
|
|
16
16
|
logo?: React.ReactNode;
|
|
17
17
|
};
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
export function AuthWrapper({ version, name, copy, children, logo, background = AuthBackground }: AuthWrapperProps) {
|
|
20
20
|
return (
|
|
21
21
|
<Box sx={{ minHeight: '100vh' }}>
|
|
22
22
|
{React.isValidElement(background) ? background : React.createElement(background as any)}
|
|
@@ -51,7 +51,7 @@ const AuthWrapper = ({ version, name, copy, children, logo, background = AuthBac
|
|
|
51
51
|
</Grid>
|
|
52
52
|
</Box>
|
|
53
53
|
);
|
|
54
|
-
}
|
|
54
|
+
}
|
|
55
55
|
AuthWrapper.propTypes = {
|
|
56
56
|
children: PropTypes.node,
|
|
57
57
|
version: PropTypes.string,
|
package/src/components/index.jsx
CHANGED
|
@@ -13,6 +13,7 @@ import ScrollX from './ScrollX';
|
|
|
13
13
|
import SmallIcon from './SmallIcon';
|
|
14
14
|
export { MainIcon, ActionsMenu, Loadable, Loader, Layout, Logo, MainCard, ScrollTop, ScrollX, MenuPopover, Notification, SmallIcon };
|
|
15
15
|
export * from './Layout';
|
|
16
|
+
export * from './AuthWrapper';
|
|
16
17
|
export { OnboardingModes, OnboardingProvider, OnboardingTip, useRestartOnboarding } from './Onboarding';
|
|
17
18
|
|
|
18
19
|
export * from './@extended';
|
package/src/index.jsx
CHANGED
|
@@ -59,6 +59,7 @@ export {
|
|
|
59
59
|
useChoices,
|
|
60
60
|
useChoicesContext,
|
|
61
61
|
useCreateContext,
|
|
62
|
+
useCreate,
|
|
62
63
|
useCreateController,
|
|
63
64
|
useDataProvider,
|
|
64
65
|
useEditContext,
|
|
@@ -87,6 +88,7 @@ export {
|
|
|
87
88
|
useTranslateLabel,
|
|
88
89
|
useUnselect,
|
|
89
90
|
useUnselectAll,
|
|
91
|
+
useUpdate,
|
|
90
92
|
useUpdateMany,
|
|
91
93
|
withLifecycleCallbacks
|
|
92
94
|
} from 'react-admin';
|