@luminescent/ui-qwik 6.4.24 → 6.4.25

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.
@@ -690,7 +690,7 @@ const Nav = qwik.component$(({ fixed, floating, noblur, nohamburger, nodismiss,
690
690
  if (menu.value && !nodismiss) {
691
691
  const onClick = (e) => {
692
692
  const target = e.target;
693
- if (target?.hasAttribute("noNavDismiss")) return;
693
+ if (target?.classList.contains("no-nav-dismiss")) return;
694
694
  menu.value = false;
695
695
  window.removeEventListener("click", onClick);
696
696
  };
@@ -688,7 +688,7 @@ const Nav = component$(({ fixed, floating, noblur, nohamburger, nodismiss, color
688
688
  if (menu.value && !nodismiss) {
689
689
  const onClick = (e) => {
690
690
  const target = e.target;
691
- if (target?.hasAttribute("noNavDismiss")) return;
691
+ if (target?.classList.contains("no-nav-dismiss")) return;
692
692
  menu.value = false;
693
693
  window.removeEventListener("click", onClick);
694
694
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luminescent/ui-qwik",
3
- "version": "6.4.24",
3
+ "version": "6.4.25",
4
4
  "description": "Luminescent UI library - Qwik",
5
5
  "main": "./lib/index.qwik.mjs",
6
6
  "qwik": "./lib/index.qwik.mjs",
@@ -50,7 +50,7 @@
50
50
  "vite-tsconfig-paths": "^6.0.3"
51
51
  },
52
52
  "peerDependencies": {
53
- "@luminescent/ui": "6.4.24"
53
+ "@luminescent/ui": "6.4.25"
54
54
  },
55
55
  "scripts": {
56
56
  "build": "qwik build",