@94ai/nf-notification 3.2.4 → 3.2.20

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.
@@ -477,7 +477,7 @@ const Notification = function(options) {
477
477
  document.body.appendChild(instance.$el);
478
478
  instance.visible = true;
479
479
  instance.dom = instance.$el;
480
- instance.dom.style.zIndex = PopupManager.nextZIndex();
480
+ instance.dom.style.zIndex = PopupManager.nextZIndex() + 1e3;
481
481
  let verticalOffset = options.offset || 0;
482
482
  instances.filter((item) => item.position === position).forEach((item) => {
483
483
  verticalOffset += item.$el.offsetHeight + 16;
@@ -475,7 +475,7 @@ const Notification = function(options) {
475
475
  document.body.appendChild(instance.$el);
476
476
  instance.visible = true;
477
477
  instance.dom = instance.$el;
478
- instance.dom.style.zIndex = PopupManager.nextZIndex();
478
+ instance.dom.style.zIndex = PopupManager.nextZIndex() + 1e3;
479
479
  let verticalOffset = options.offset || 0;
480
480
  instances.filter((item) => item.position === position).forEach((item) => {
481
481
  verticalOffset += item.$el.offsetHeight + 16;
package/package/main.ts CHANGED
@@ -33,7 +33,7 @@ const Notification = function(options) {
33
33
  document.body.appendChild(instance.$el);
34
34
  instance.visible = true;
35
35
  instance.dom = instance.$el;
36
- instance.dom.style.zIndex = PopupManager.nextZIndex();
36
+ instance.dom.style.zIndex = PopupManager.nextZIndex() + 1000;
37
37
 
38
38
  let verticalOffset = options.offset || 0;
39
39
  instances.filter(item => item.position === position).forEach(item => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@94ai/nf-notification",
3
- "version": "3.2.4",
3
+ "version": "3.2.20",
4
4
  "description": "> TODO: description",
5
5
  "keywords": [],
6
6
  "author": "zhongzhenjie <1476686104@qq.com>",
@@ -14,7 +14,7 @@
14
14
  "url": "http://94ai.gitlab.com/zoujiahe/common-ui.git"
15
15
  },
16
16
  "dependencies": {
17
- "@94ai/nf-theme-chalk": "^3.2.4",
17
+ "@94ai/nf-theme-chalk": "^3.2.20",
18
18
  "vue-demi": "^0.14.5"
19
19
  },
20
20
  "peerDependenciesMeta": {
@@ -30,5 +30,5 @@
30
30
  "types": "lib/index.d.ts",
31
31
  "main": "lib/nf-notification.cjs.js",
32
32
  "module": "lib/nf-notification.esm-bundler.js",
33
- "gitHead": "9518f3ee1354378e844b825d6d850d18ec14f71a"
33
+ "gitHead": "60e08cb237f842c3fc38168cbd911ec3a4c9d440"
34
34
  }