@luminescent/ui-qwik 6.4.24 → 6.4.26
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/lib/index.qwik.cjs +7 -2
- package/lib/index.qwik.mjs +7 -2
- package/package.json +2 -2
package/lib/index.qwik.cjs
CHANGED
|
@@ -689,8 +689,13 @@ const Nav = qwik.component$(({ fixed, floating, noblur, nohamburger, nodismiss,
|
|
|
689
689
|
track(() => menu.value);
|
|
690
690
|
if (menu.value && !nodismiss) {
|
|
691
691
|
const onClick = (e) => {
|
|
692
|
-
|
|
693
|
-
|
|
692
|
+
let el = e.target;
|
|
693
|
+
while (el) {
|
|
694
|
+
if (el.classList && el.classList.contains("nav-ignore-dismiss")) {
|
|
695
|
+
return;
|
|
696
|
+
}
|
|
697
|
+
el = el.parentElement;
|
|
698
|
+
}
|
|
694
699
|
menu.value = false;
|
|
695
700
|
window.removeEventListener("click", onClick);
|
|
696
701
|
};
|
package/lib/index.qwik.mjs
CHANGED
|
@@ -687,8 +687,13 @@ const Nav = component$(({ fixed, floating, noblur, nohamburger, nodismiss, color
|
|
|
687
687
|
track(() => menu.value);
|
|
688
688
|
if (menu.value && !nodismiss) {
|
|
689
689
|
const onClick = (e) => {
|
|
690
|
-
|
|
691
|
-
|
|
690
|
+
let el = e.target;
|
|
691
|
+
while (el) {
|
|
692
|
+
if (el.classList && el.classList.contains("nav-ignore-dismiss")) {
|
|
693
|
+
return;
|
|
694
|
+
}
|
|
695
|
+
el = el.parentElement;
|
|
696
|
+
}
|
|
692
697
|
menu.value = false;
|
|
693
698
|
window.removeEventListener("click", onClick);
|
|
694
699
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luminescent/ui-qwik",
|
|
3
|
-
"version": "6.4.
|
|
3
|
+
"version": "6.4.26",
|
|
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.
|
|
53
|
+
"@luminescent/ui": "6.4.26"
|
|
54
54
|
},
|
|
55
55
|
"scripts": {
|
|
56
56
|
"build": "qwik build",
|