@campxdev/shared 1.6.10 → 1.6.12

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/exports.ts CHANGED
@@ -13,6 +13,7 @@ export { default as ConfirmContextProvider } from './src/components/PopupConfirm
13
13
  export { default as DialogProvider } from './src/components/DrawerWrapper/DrawerWrapper'
14
14
  export { default as Providers } from './src/contexts/Providers'
15
15
  export { default as PublicProviders } from './src/contexts/PublicProviders'
16
+ export { default as QueryClientProvider } from './src/contexts/QueryClientProvider'
16
17
 
17
18
  export * from './src/shared-state'
18
19
  export * from './src/assets/images'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@campxdev/shared",
3
- "version": "1.6.10",
3
+ "version": "1.6.12",
4
4
  "main": "./exports.ts",
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
@@ -34,7 +34,7 @@ const AppsMenu = () => {
34
34
 
35
35
  <Menu
36
36
  transitionDuration={150}
37
- elevation={3}
37
+ elevation={2}
38
38
  id="basic-menu"
39
39
  anchorEl={anchorEl}
40
40
  open={open}
@@ -28,6 +28,7 @@ import AsyncSearchSelect from './Input/AsyncSearchSelect'
28
28
  import FilterButton from './FilterComponents/FilterButton'
29
29
  import Helmet from './Layout/Helmet'
30
30
  import NavigationTabs from './Tabs/NavigationTabs'
31
+ import GlobalNetworkLoadingIndicator from './ErrorBoundary/GlobalNetworkLoadingIndicator'
31
32
  import { CustomDialog } from './ModalButtons/DialogButton'
32
33
  import { CustomDrawer } from './ModalButtons/DrawerButton'
33
34
  export { default as Image } from './Image'
@@ -88,6 +89,7 @@ export {
88
89
  NavigationTabs,
89
90
  CustomDialog,
90
91
  CustomDrawer,
92
+ GlobalNetworkLoadingIndicator,
91
93
  }
92
94
 
93
95
  export * from './UploadButton/types'
@@ -1,12 +1,12 @@
1
1
  import Cookies from 'js-cookie'
2
- import { useConfirm } from '../components'
3
2
  import axios, { axiosErrorToast } from '../config/axios'
4
3
  import { isDevelopment } from '../constants'
5
4
 
6
5
  export default function logout() {
7
6
  if (isDevelopment) {
8
7
  Cookies.remove('campx_session_key')
9
- window.location.href = window.location.origin + '/campx_dev'
8
+ Cookies.remove('campx_tenant')
9
+ window.location.href = window.location.origin
10
10
  return
11
11
  }
12
12