@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applica-software-guru/react-admin",
3
- "version": "1.4.217",
3
+ "version": "1.4.219",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -16,7 +16,7 @@ export type AuthWrapperProps = {
16
16
  logo?: React.ReactNode;
17
17
  };
18
18
 
19
- const AuthWrapper = ({ version, name, copy, children, logo, background = AuthBackground }: AuthWrapperProps) => {
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,
@@ -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';