@genesislcap/foundation-notifications 14.160.0 → 14.161.0
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 +22 -20
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
[](https://lerna.js.org/)
|
|
4
4
|
[](https://www.typescriptlang.org/)
|
|
5
5
|
|
|
6
|
-
### [API Docs](./docs/api/index.md)
|
|
7
|
-
|
|
8
6
|
### Usage
|
|
9
7
|
|
|
10
8
|
* The App need to create notification-listener at top of the component tree.
|
|
@@ -22,23 +20,6 @@
|
|
|
22
20
|
* Snack bar
|
|
23
21
|
* Dialog
|
|
24
22
|
|
|
25
|
-
## Set-up
|
|
26
|
-
|
|
27
|
-
### Basic install
|
|
28
|
-
|
|
29
|
-
To enable this module in your application, follow the steps below.
|
|
30
|
-
|
|
31
|
-
1. Add `@genesislcap/foundation-notifications` as a dependency in your **package.json** file. Whenever you change the dependencies of your project, ensure you run the `$ npm run bootstrap` command again. You can find more information in the [package.json basics](https://learn.genesis.global/secure/web/basics/package-json-basics/) page.
|
|
32
|
-
|
|
33
|
-
```javascript
|
|
34
|
-
{
|
|
35
|
-
...
|
|
36
|
-
"dependencies": {
|
|
37
|
-
"@genesislcap/foundation-notifications": "latest"
|
|
38
|
-
},
|
|
39
|
-
...
|
|
40
|
-
}
|
|
41
|
-
```
|
|
42
23
|
### Creating and dispatching Notification Events
|
|
43
24
|
|
|
44
25
|
Creating and dispatching Notification event with payload to show in Toast component
|
|
@@ -130,9 +111,30 @@ showNotificationToast(
|
|
|
130
111
|
'zero',
|
|
131
112
|
);
|
|
132
113
|
```
|
|
114
|
+
|
|
115
|
+
## Installation
|
|
116
|
+
|
|
117
|
+
To enable this module in your application, follow the steps below.
|
|
118
|
+
|
|
119
|
+
1. Add `@genesislcap/foundation-notifications` as a dependency in your `package.json` file. Whenever you change the dependencies of your project, ensure you run the `$ npm run bootstrap` command again. You can find more information in the [package.json basics](https://learn.genesis.global/secure/web/basics/package-json-basics/) page.
|
|
120
|
+
|
|
121
|
+
```json
|
|
122
|
+
{
|
|
123
|
+
...
|
|
124
|
+
"dependencies": {
|
|
125
|
+
...
|
|
126
|
+
"@genesislcap/foundation-notifications": "latest"
|
|
127
|
+
...
|
|
128
|
+
},
|
|
129
|
+
...
|
|
130
|
+
}
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
## [API Docs](./docs/api/index.md)
|
|
134
|
+
|
|
133
135
|
## License
|
|
134
136
|
|
|
135
|
-
Note: this project provides front
|
|
137
|
+
Note: this project provides front-end dependencies and uses licensed components listed in the next section; thus, licenses for those components are required during development. Contact [Genesis Global](https://genesis.global/contact-us/) for more details.
|
|
136
138
|
|
|
137
139
|
### Licensed components
|
|
138
140
|
Genesis low-code platform
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-notifications",
|
|
3
3
|
"description": "Genesis Foundation UI Notifications Utils",
|
|
4
|
-
"version": "14.
|
|
4
|
+
"version": "14.161.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -40,17 +40,17 @@
|
|
|
40
40
|
"test:debug": "genx test --debug"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@genesislcap/foundation-testing": "14.
|
|
44
|
-
"@genesislcap/genx": "14.
|
|
45
|
-
"@genesislcap/rollup-builder": "14.
|
|
46
|
-
"@genesislcap/ts-builder": "14.
|
|
47
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
|
48
|
-
"@genesislcap/vite-builder": "14.
|
|
49
|
-
"@genesislcap/webpack-builder": "14.
|
|
43
|
+
"@genesislcap/foundation-testing": "14.161.0",
|
|
44
|
+
"@genesislcap/genx": "14.161.0",
|
|
45
|
+
"@genesislcap/rollup-builder": "14.161.0",
|
|
46
|
+
"@genesislcap/ts-builder": "14.161.0",
|
|
47
|
+
"@genesislcap/uvu-playwright-builder": "14.161.0",
|
|
48
|
+
"@genesislcap/vite-builder": "14.161.0",
|
|
49
|
+
"@genesislcap/webpack-builder": "14.161.0",
|
|
50
50
|
"rimraf": "^3.0.2"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@genesislcap/foundation-logger": "14.
|
|
53
|
+
"@genesislcap/foundation-logger": "14.161.0",
|
|
54
54
|
"tslib": "^2.3.1"
|
|
55
55
|
},
|
|
56
56
|
"repository": {
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"publishConfig": {
|
|
62
62
|
"access": "public"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "75ef6861f287624c5efcee0f3ca24d1c167102d3"
|
|
65
65
|
}
|