andoncloud-sdk 1.3.0 → 1.3.3

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": "andoncloud-sdk",
3
- "version": "1.3.0",
3
+ "version": "1.3.3",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "source": "src/index.js",
@@ -43,10 +43,11 @@
43
43
  "@mui/icons-material": "^5.6.0",
44
44
  "@mui/lab": "^5.0.0-alpha.76",
45
45
  "@mui/material": "^5.6.0",
46
- "@mui/styles": "^5.6.0",
47
46
  "@testing-library/dom": "^8.13.0",
48
47
  "@testing-library/jest-dom": "^5.16.4",
49
48
  "@testing-library/react": "^13.0.0",
49
+ "@types/react": "^18.0.0",
50
+ "@types/react-dom": "^18.0.0",
50
51
  "babel-preset-react-app": "^10.0.1",
51
52
  "cross-env": "^7.0.3",
52
53
  "microbundle-crl": "^0.13.11",
@@ -63,7 +64,6 @@
63
64
  "@mui/icons-material": "^5.0.0",
64
65
  "@mui/lab": "^5.0.0-alpha",
65
66
  "@mui/material": "^5.0.0",
66
- "@mui/styles": "^5.0.0",
67
67
  "mobx": "^6.0.0",
68
68
  "prop-types": "^15.0.0",
69
69
  "react": "^18.0.0",
package/src/index.d.ts CHANGED
@@ -24,6 +24,7 @@ declare module "andoncloud-sdk" {
24
24
  }
25
25
 
26
26
  interface AppProps {
27
+ children: React.ReactNode;
27
28
  baseUrl: string;
28
29
  authProps: AuthProps;
29
30
  muiTheme?: Record<string, unknown>;
@@ -58,6 +59,7 @@ declare module "andoncloud-sdk" {
58
59
  }
59
60
 
60
61
  interface ContainerProps {
62
+ children: React.ReactNode;
61
63
  headerProps: HeaderProps;
62
64
  styles?: React.CSSProperties;
63
65
  }
@@ -99,7 +101,7 @@ declare module "andoncloud-sdk" {
99
101
  };
100
102
  }
101
103
 
102
- export const getLoginStatus: () => LoginStatus;
104
+ export const useLoginStatus: () => LoginStatus;
103
105
 
104
106
  export const logout: () => void;
105
107