@cloudoperators/juno-messages-provider 0.2.5 → 0.2.7
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/README.md +13 -5
- package/build/index.js +4248 -4780
- package/package.json +13 -13
package/README.md
CHANGED
|
@@ -12,12 +12,12 @@ This lib uses a **context** store based on Zustand to manage the messages. That
|
|
|
12
12
|
|
|
13
13
|
In order to run this library in your application you need to install also following libraries which are not included in the bundle:
|
|
14
14
|
|
|
15
|
-
- @cloudoperators/juno-ui-components
|
|
16
|
-
- react
|
|
17
|
-
- zustand
|
|
15
|
+
- @cloudoperators/juno-ui-components
|
|
16
|
+
- react
|
|
17
|
+
- zustand
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
|
-
|
|
20
|
+
pnpm add zustand, react @cloudoperators/juno-ui-components
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
## Usage
|
|
@@ -25,7 +25,7 @@ yarn add zustand@4.5.2, react@18.2.0 @cloudoperators/juno-ui-components
|
|
|
25
25
|
1. Import this lib
|
|
26
26
|
|
|
27
27
|
```bash
|
|
28
|
-
|
|
28
|
+
pnpm add @cloudoperators//messages-provider
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
2. Add the message **MessagesProvider**. Normally it is set on the top of your application so you can use it from everywhere underneath.
|
|
@@ -219,3 +219,11 @@ Following variants are available:
|
|
|
219
219
|
- success
|
|
220
220
|
|
|
221
221
|
Variant **info** and **success** will be automatically dismissed after 10 seconds by default.
|
|
222
|
+
|
|
223
|
+
## Contributing
|
|
224
|
+
|
|
225
|
+
We welcome contributions from the community. Please follow our [contribution guidelines](https://github.com/cloudoperators/juno/blob/main/CONTRIBUTING.md) to contribute to this project.
|
|
226
|
+
|
|
227
|
+
## License
|
|
228
|
+
|
|
229
|
+
Licensed under the [Apache License](LICENSE).
|