@os1-platform/console-ui-react 1.1.0 → 1.1.2
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 +6 -3
- package/readme.md +8 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@os1-platform/console-ui-react",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "React wrapper for console-ui library",
|
|
5
5
|
"main": "dist/commonjs/aaa/index.js",
|
|
6
6
|
"types": "dist/commonjs/types/aaa/index.d.ts",
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@fullhuman/postcss-purgecss": "^5.0.0",
|
|
30
|
-
"@os1-platform/console-ui-js": "1.1.
|
|
30
|
+
"@os1-platform/console-ui-js": "1.1.2",
|
|
31
31
|
"@react-native-community/eslint-config": "^2.0.0",
|
|
32
32
|
"@types/react": "^17.0.37",
|
|
33
|
-
"axios": "^0.
|
|
33
|
+
"axios": "^0.28.0",
|
|
34
34
|
"cssnano": "^5.1.15",
|
|
35
35
|
"react": "^18.2.0",
|
|
36
36
|
"react-router-dom": "^6.10.0"
|
|
@@ -64,5 +64,8 @@
|
|
|
64
64
|
"tabWidth": 2,
|
|
65
65
|
"trailingComma": "es5",
|
|
66
66
|
"useTabs": false
|
|
67
|
+
},
|
|
68
|
+
"resolutions": {
|
|
69
|
+
"axios": "0.28.0"
|
|
67
70
|
}
|
|
68
71
|
}
|
package/readme.md
CHANGED
|
@@ -673,3 +673,11 @@ const broadcast = await cl.broadCastEvents(
|
|
|
673
673
|
|
|
674
674
|
- In Next.js, we need to have some library that supports global CSS.
|
|
675
675
|
- One of these library is `next-global-css`, we require to import `withGlobalCss` from it and wrap our configuration within it. [Link to configure next-global-css](https://www.npmjs.com/package/next-global-css)
|
|
676
|
+
|
|
677
|
+
## FAQ
|
|
678
|
+
- ### Which option should I select from the popup that shows when I open an app for the first time?
|
|
679
|
+
- The user should choose the solution that the app belongs to when there are multiple options. The user will be redirected to selected(current) solution's first app(as per display order), if the browser's URL differs from the one current selected solution.
|
|
680
|
+
- ### Why header and sidebar is not visible?
|
|
681
|
+
- This occurs when developer has not provided appId in his code, as it is mandatory.
|
|
682
|
+
- ### Why in sidebar apps are not visible?
|
|
683
|
+
- Verify the subscription via the console api response. If the api displays a status of 200, examine the response. The app won't be accessible if its display order is equal to or less than 0.
|