@os1-platform/console-ui-react 0.1.11 → 0.1.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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/readme.md +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@os1-platform/console-ui-react",
3
- "version": "0.1.11",
3
+ "version": "0.1.12",
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,7 +27,7 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@fullhuman/postcss-purgecss": "^5.0.0",
30
- "@os1-platform/console-ui-js": "^0.1.13",
30
+ "@os1-platform/console-ui-js": "file:../../console-ui-js/os1-platform-console-ui-js-0.1.13.tgz",
31
31
  "@react-native-community/eslint-config": "^2.0.0",
32
32
  "@types/react": "^17.0.37",
33
33
  "axios": "^0.21.4",
package/readme.md CHANGED
@@ -76,7 +76,7 @@
76
76
  <OS1Toast elementId={"toastElement"} toastConfig={toastConfig} />
77
77
  ```
78
78
 
79
- NOTE: Each toast element that is to be rendered on the page should be given a unique elementId. Here, consoleInstance has the value of Context of ConsoleUiContext.
79
+ NOTE: Each toast element that is to be rendered on the page should be given a unique elementId.
80
80
 
81
81
  6. Use the Modal function to render a modal component in your webpage.
82
82
  For example:
@@ -102,7 +102,7 @@
102
102
  />;
103
103
  ```
104
104
 
105
- Note:- Listen to event when button is clicked, `event.details` will contain the modal element Id. Here, consoleInstance has the value of Context of ConsoleUiContext.
105
+ Note:- Listen to event when button is clicked, `event.details` will contain the modal element Id.
106
106
 
107
107
  7. Use state variable of `ConsoleUIContext` context to listen to events emitted by injectable controls. This instance is usually passed as a prop to apps.
108
108
  For example: