@luminescent/ui-qwik 7.0.0-1 → 7.0.0-2
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/components/docs/Anchor.d.ts +1 -2
- package/lib/components/docs/Blobs.d.ts +1 -2
- package/lib/components/docs/ColorPicker.d.ts +1 -2
- package/lib/components/docs/Dropdown.d.ts +1 -2
- package/lib/components/docs/Label.d.ts +1 -2
- package/lib/components/docs/LumBtn.d.ts +3 -0
- package/lib/components/docs/LumCard.d.ts +3 -0
- package/lib/components/docs/LumClasses.d.ts +3 -0
- package/lib/components/docs/LumInput.d.ts +3 -0
- package/lib/components/docs/Nav.d.ts +1 -2
- package/lib/components/docs/NumberInput.d.ts +1 -2
- package/lib/components/docs/RangeInput.d.ts +1 -2
- package/lib/components/docs/SelectMenu.d.ts +1 -2
- package/lib/components/docs/Settings.d.ts +1 -2
- package/lib/components/docs/Sidebar.d.ts +1 -2
- package/lib/components/docs/Toggle.d.ts +1 -2
- package/lib/components/docs/index.d.ts +16 -0
- package/lib/components/elements/Nav.qwik.cjs +20 -18
- package/lib/components/elements/Nav.qwik.mjs +21 -19
- package/lib/q-manifest.json +4 -4
- package/package.json +2 -3
- package/lib/components/docs/lum-btn.d.ts +0 -4
- package/lib/components/docs/lum-card.d.ts +0 -4
- package/lib/components/docs/lum-classes.d.ts +0 -4
- package/lib/components/docs/lum-input.d.ts +0 -4
|
@@ -1,2 +1 @@
|
|
|
1
|
-
declare const
|
|
2
|
-
export default _default;
|
|
1
|
+
export declare const Settings: import("@qwik.dev/core").Component<unknown>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export * from './Anchor';
|
|
2
|
+
export * from './Blobs';
|
|
3
|
+
export * from './ColorPicker';
|
|
4
|
+
export * from './Dropdown';
|
|
5
|
+
export * from './Label';
|
|
6
|
+
export * from './Nav';
|
|
7
|
+
export * from './NumberInput';
|
|
8
|
+
export * from './RangeInput';
|
|
9
|
+
export * from './SelectMenu';
|
|
10
|
+
export * from './Sidebar';
|
|
11
|
+
export * from './Toggle';
|
|
12
|
+
export * from './LumBtn';
|
|
13
|
+
export * from './LumCard';
|
|
14
|
+
export * from './LumClasses';
|
|
15
|
+
export * from './LumInput';
|
|
16
|
+
export * from './Settings';
|
|
@@ -2,6 +2,10 @@ const require_functions = require("../functions.qwik.cjs");
|
|
|
2
2
|
const require_Menu = require("../../svg/Menu.qwik.cjs");
|
|
3
3
|
let _qwik_dev_core = require("@qwik.dev/core");
|
|
4
4
|
//#region src/components/elements/Nav.tsx
|
|
5
|
+
var _hf0 = (p0) => ({
|
|
6
|
+
"lum-btn lum-bg-transparent p-2 sm:hidden rounded-lum-2": true,
|
|
7
|
+
"nav-ignore-dismiss": p0.value
|
|
8
|
+
});
|
|
5
9
|
var Nav = /* @__PURE__ */ (0, _qwik_dev_core.componentQrl)(/* @__PURE__ */ (0, _qwik_dev_core.inlinedQrl)((_rawProps) => {
|
|
6
10
|
const props = (0, _qwik_dev_core._restProps)(_rawProps, [
|
|
7
11
|
"fixed",
|
|
@@ -13,21 +17,6 @@ var Nav = /* @__PURE__ */ (0, _qwik_dev_core.componentQrl)(/* @__PURE__ */ (0, _
|
|
|
13
17
|
"colorClass"
|
|
14
18
|
]);
|
|
15
19
|
const menu = (0, _qwik_dev_core.useSignal)(false);
|
|
16
|
-
(0, _qwik_dev_core.useTaskQrl)(/* @__PURE__ */ (0, _qwik_dev_core.inlinedQrl)(({ track }) => {
|
|
17
|
-
const _rawProps = _qwik_dev_core._captures[0], menu = _qwik_dev_core._captures[1];
|
|
18
|
-
track(() => menu.value);
|
|
19
|
-
if (!menu.value || _rawProps.nodismiss) return;
|
|
20
|
-
const onClick = (e) => {
|
|
21
|
-
let el = e.target;
|
|
22
|
-
while (el) {
|
|
23
|
-
if (el.classList && el.classList.contains("nav-ignore-dismiss")) return;
|
|
24
|
-
el = el.parentElement;
|
|
25
|
-
}
|
|
26
|
-
menu.value = false;
|
|
27
|
-
window.removeEventListener("click", onClick);
|
|
28
|
-
};
|
|
29
|
-
window.addEventListener("click", onClick);
|
|
30
|
-
}, "Nav_component_useTask_ZYe1GvC0CAM", [_rawProps, menu]));
|
|
31
20
|
return /* @__PURE__ */ (0, _qwik_dev_core._jsxSplit)("nav", {
|
|
32
21
|
...(0, _qwik_dev_core._getVarProps)(props),
|
|
33
22
|
...(0, _qwik_dev_core._getConstProps)(props),
|
|
@@ -59,12 +48,25 @@ var Nav = /* @__PURE__ */ (0, _qwik_dev_core.componentQrl)(/* @__PURE__ */ (0, _
|
|
|
59
48
|
/* @__PURE__ */ (0, _qwik_dev_core._jsxSorted)("div", null, { class: "flex flex-1 items-center justify-start gap-2 py-2" }, /* @__PURE__ */ (0, _qwik_dev_core._jsxSorted)(_qwik_dev_core.Slot, null, { name: "start" }, null, 3, "03_2"), 1, null),
|
|
60
49
|
/* @__PURE__ */ (0, _qwik_dev_core._jsxSorted)("div", null, { class: "flex flex-1 items-center justify-center gap-2 py-2" }, /* @__PURE__ */ (0, _qwik_dev_core._jsxSorted)(_qwik_dev_core.Slot, null, { name: "center" }, null, 3, "03_3"), 1, null),
|
|
61
50
|
/* @__PURE__ */ (0, _qwik_dev_core._jsxSorted)("div", null, { class: "flex flex-1 items-center justify-end gap-2 py-2" }, [/* @__PURE__ */ (0, _qwik_dev_core._jsxSorted)(_qwik_dev_core.Slot, null, { name: "end" }, null, 3, "03_4"), !_rawProps.nohamburger && /* @__PURE__ */ (0, _qwik_dev_core._jsxSorted)("button", {
|
|
62
|
-
"q-e:click": /* @__PURE__ */ (0, _qwik_dev_core.inlinedQrl)((_, _1, menu) =>
|
|
63
|
-
|
|
51
|
+
"q-e:click": /* @__PURE__ */ (0, _qwik_dev_core.inlinedQrl)((_, _1, _rawProps, menu) => {
|
|
52
|
+
menu.value = !menu.value;
|
|
53
|
+
if (_rawProps.nodismiss) return;
|
|
54
|
+
function onClick(e) {
|
|
55
|
+
if (menu.value == false) return window.removeEventListener("click", onClick);
|
|
56
|
+
let el = e.target;
|
|
57
|
+
while (el) {
|
|
58
|
+
if (el.classList.contains("nav-ignore-dismiss")) return;
|
|
59
|
+
el = el.parentElement;
|
|
60
|
+
}
|
|
61
|
+
menu.value = false;
|
|
62
|
+
}
|
|
63
|
+
if (menu.value) window.addEventListener("click", onClick);
|
|
64
|
+
}, "Nav_component_nav_div_div_div_button_q_e_click_rIKeLxoPukM"),
|
|
65
|
+
"q:ps": [_rawProps, menu]
|
|
64
66
|
}, {
|
|
65
67
|
name: "Navigation Menu",
|
|
66
68
|
title: "Navigation Menu",
|
|
67
|
-
class:
|
|
69
|
+
class: (0, _qwik_dev_core._fnSignal)(_hf0, [menu])
|
|
68
70
|
}, /* @__PURE__ */ (0, _qwik_dev_core._jsxSorted)(require_Menu.Menu, null, { size: 24 }, null, 3, "03_5"), 4, "03_6")], 1, null)
|
|
69
71
|
], 1, null), 1, null)], 0, "03_7");
|
|
70
72
|
}, "Nav_component_GVA94DyavJM"));
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { getClassObject } from "../functions.qwik.mjs";
|
|
2
2
|
import { Menu } from "../../svg/Menu.qwik.mjs";
|
|
3
|
-
import { Slot,
|
|
3
|
+
import { Slot, _fnSignal, _getConstProps, _getVarProps, _jsxSorted, _jsxSplit, _restProps, componentQrl, inlinedQrl, useSignal } from "@qwik.dev/core";
|
|
4
4
|
//#region src/components/elements/Nav.tsx
|
|
5
|
+
var _hf0 = (p0) => ({
|
|
6
|
+
"lum-btn lum-bg-transparent p-2 sm:hidden rounded-lum-2": true,
|
|
7
|
+
"nav-ignore-dismiss": p0.value
|
|
8
|
+
});
|
|
5
9
|
var Nav = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_rawProps) => {
|
|
6
10
|
const props = _restProps(_rawProps, [
|
|
7
11
|
"fixed",
|
|
@@ -13,21 +17,6 @@ var Nav = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_rawProps) =>
|
|
|
13
17
|
"colorClass"
|
|
14
18
|
]);
|
|
15
19
|
const menu = useSignal(false);
|
|
16
|
-
useTaskQrl(/* @__PURE__ */ inlinedQrl(({ track }) => {
|
|
17
|
-
const _rawProps = _captures[0], menu = _captures[1];
|
|
18
|
-
track(() => menu.value);
|
|
19
|
-
if (!menu.value || _rawProps.nodismiss) return;
|
|
20
|
-
const onClick = (e) => {
|
|
21
|
-
let el = e.target;
|
|
22
|
-
while (el) {
|
|
23
|
-
if (el.classList && el.classList.contains("nav-ignore-dismiss")) return;
|
|
24
|
-
el = el.parentElement;
|
|
25
|
-
}
|
|
26
|
-
menu.value = false;
|
|
27
|
-
window.removeEventListener("click", onClick);
|
|
28
|
-
};
|
|
29
|
-
window.addEventListener("click", onClick);
|
|
30
|
-
}, "Nav_component_useTask_ZYe1GvC0CAM", [_rawProps, menu]));
|
|
31
20
|
return /* @__PURE__ */ _jsxSplit("nav", {
|
|
32
21
|
..._getVarProps(props),
|
|
33
22
|
..._getConstProps(props),
|
|
@@ -59,12 +48,25 @@ var Nav = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_rawProps) =>
|
|
|
59
48
|
/* @__PURE__ */ _jsxSorted("div", null, { class: "flex flex-1 items-center justify-start gap-2 py-2" }, /* @__PURE__ */ _jsxSorted(Slot, null, { name: "start" }, null, 3, "03_2"), 1, null),
|
|
60
49
|
/* @__PURE__ */ _jsxSorted("div", null, { class: "flex flex-1 items-center justify-center gap-2 py-2" }, /* @__PURE__ */ _jsxSorted(Slot, null, { name: "center" }, null, 3, "03_3"), 1, null),
|
|
61
50
|
/* @__PURE__ */ _jsxSorted("div", null, { class: "flex flex-1 items-center justify-end gap-2 py-2" }, [/* @__PURE__ */ _jsxSorted(Slot, null, { name: "end" }, null, 3, "03_4"), !_rawProps.nohamburger && /* @__PURE__ */ _jsxSorted("button", {
|
|
62
|
-
"q-e:click": /* @__PURE__ */ inlinedQrl((_, _1, menu) =>
|
|
63
|
-
|
|
51
|
+
"q-e:click": /* @__PURE__ */ inlinedQrl((_, _1, _rawProps, menu) => {
|
|
52
|
+
menu.value = !menu.value;
|
|
53
|
+
if (_rawProps.nodismiss) return;
|
|
54
|
+
function onClick(e) {
|
|
55
|
+
if (menu.value == false) return window.removeEventListener("click", onClick);
|
|
56
|
+
let el = e.target;
|
|
57
|
+
while (el) {
|
|
58
|
+
if (el.classList.contains("nav-ignore-dismiss")) return;
|
|
59
|
+
el = el.parentElement;
|
|
60
|
+
}
|
|
61
|
+
menu.value = false;
|
|
62
|
+
}
|
|
63
|
+
if (menu.value) window.addEventListener("click", onClick);
|
|
64
|
+
}, "Nav_component_nav_div_div_div_button_q_e_click_rIKeLxoPukM"),
|
|
65
|
+
"q:ps": [_rawProps, menu]
|
|
64
66
|
}, {
|
|
65
67
|
name: "Navigation Menu",
|
|
66
68
|
title: "Navigation Menu",
|
|
67
|
-
class:
|
|
69
|
+
class: _fnSignal(_hf0, [menu])
|
|
68
70
|
}, /* @__PURE__ */ _jsxSorted(Menu, null, { size: 24 }, null, 3, "03_5"), 4, "03_6")], 1, null)
|
|
69
71
|
], 1, null), 1, null)], 0, "03_7");
|
|
70
72
|
}, "Nav_component_GVA94DyavJM"));
|
package/lib/q-manifest.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1",
|
|
3
|
-
"manifestHash": "
|
|
3
|
+
"manifestHash": "i56kl4",
|
|
4
4
|
"options": {
|
|
5
5
|
"target": "lib",
|
|
6
6
|
"buildMode": "development",
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
"interactivity": 0
|
|
70
70
|
},
|
|
71
71
|
"../components/elements/Nav.qwik.cjs": {
|
|
72
|
-
"size":
|
|
73
|
-
"total":
|
|
72
|
+
"size": 4143,
|
|
73
|
+
"total": 6148,
|
|
74
74
|
"imports": [
|
|
75
75
|
"../components/functions.qwik.cjs",
|
|
76
76
|
"../svg/Menu.qwik.cjs"
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
},
|
|
146
146
|
"../index.qwik.cjs": {
|
|
147
147
|
"size": 1633,
|
|
148
|
-
"total":
|
|
148
|
+
"total": 64013,
|
|
149
149
|
"imports": [
|
|
150
150
|
"../components/elements/Anchor.qwik.cjs",
|
|
151
151
|
"../components/elements/Blobs.qwik.cjs",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luminescent/ui-qwik",
|
|
3
|
-
"version": "7.0.0-
|
|
3
|
+
"version": "7.0.0-2",
|
|
4
4
|
"description": "Luminescent UI library - Qwik",
|
|
5
5
|
"main": "./lib/index.qwik.mjs",
|
|
6
6
|
"qwik": "./lib/index.qwik.mjs",
|
|
@@ -42,8 +42,7 @@
|
|
|
42
42
|
"tailwindcss": "4.2.2",
|
|
43
43
|
"typescript": "5.9.3",
|
|
44
44
|
"typescript-eslint": "8.58.0",
|
|
45
|
-
"vite": "8.0.3"
|
|
46
|
-
"vite-tsconfig-paths": "^6.1.1"
|
|
45
|
+
"vite": "8.0.3"
|
|
47
46
|
},
|
|
48
47
|
"peerDependencies": {
|
|
49
48
|
"@luminescent/ui": "6.8.3-1"
|