@luminescent/ui-qwik 7.0.0-2 → 7.0.0-4
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/assets/CggnzkAK-bundle-graph.json +1 -0
- package/lib/assets/CyrvYwp8-bundle-graph.json +1 -0
- package/lib/components/docs/index.d.ts +0 -1
- package/lib/components/elements/Anchor.qwik.cjs +5 -5
- package/lib/components/elements/Anchor.qwik.mjs +5 -5
- package/lib/components/elements/ColorPicker.qwik.cjs +24 -24
- package/lib/components/elements/ColorPicker.qwik.mjs +24 -24
- package/lib/components/elements/Dropdown.qwik.cjs +3 -3
- package/lib/components/elements/Dropdown.qwik.mjs +3 -3
- package/lib/components/elements/Label.d.ts +1 -0
- package/lib/components/elements/Label.qwik.cjs +7 -3
- package/lib/components/elements/Label.qwik.mjs +8 -4
- package/lib/components/elements/Nav.d.ts +1 -0
- package/lib/components/elements/Nav.qwik.cjs +29 -25
- package/lib/components/elements/Nav.qwik.mjs +29 -25
- package/lib/components/elements/NumberInput.d.ts +1 -0
- package/lib/components/elements/NumberInput.qwik.cjs +28 -20
- package/lib/components/elements/NumberInput.qwik.mjs +29 -21
- package/lib/components/elements/RangeInput.d.ts +1 -0
- package/lib/components/elements/RangeInput.qwik.cjs +13 -12
- package/lib/components/elements/RangeInput.qwik.mjs +13 -12
- package/lib/components/elements/SelectMenu.d.ts +1 -0
- package/lib/components/elements/SelectMenu.qwik.cjs +18 -14
- package/lib/components/elements/SelectMenu.qwik.mjs +18 -14
- package/lib/components/elements/Sidebar.qwik.cjs +4 -4
- package/lib/components/elements/Sidebar.qwik.mjs +4 -4
- package/lib/components/elements/Toggle.d.ts +1 -0
- package/lib/components/elements/Toggle.qwik.cjs +6 -5
- package/lib/components/elements/Toggle.qwik.mjs +6 -5
- package/lib/components/elements.d.ts +0 -1
- package/lib/index.qwik.cjs +0 -3
- package/lib/index.qwik.mjs +1 -2
- package/lib/q-manifest.json +39 -51
- package/lib/svg/ChevronDown.qwik.cjs +3 -3
- package/lib/svg/ChevronDown.qwik.mjs +3 -3
- package/lib/svg/Link.qwik.cjs +5 -5
- package/lib/svg/Link.qwik.mjs +5 -5
- package/lib/svg/Menu.qwik.cjs +5 -5
- package/lib/svg/Menu.qwik.mjs +5 -5
- package/lib/svg/Minus.qwik.cjs +3 -3
- package/lib/svg/Minus.qwik.mjs +3 -3
- package/lib/svg/Plus.qwik.cjs +3 -3
- package/lib/svg/Plus.qwik.mjs +3 -3
- package/lib/svg/Shuffle.qwik.cjs +7 -7
- package/lib/svg/Shuffle.qwik.mjs +7 -7
- package/package.json +15 -17
- package/lib/assets/BBIagblG-bundle-graph.json +0 -1
- package/lib/assets/ChtqwOpy-bundle-graph.json +0 -1
- package/lib/components/docs/Blobs.d.ts +0 -3
- package/lib/components/elements/Blobs.d.ts +0 -36
- package/lib/components/elements/Blobs.qwik.cjs +0 -190
- package/lib/components/elements/Blobs.qwik.mjs +0 -189
|
@@ -7,7 +7,7 @@ var _hf0 = (p0) => ({
|
|
|
7
7
|
group: p0.hover
|
|
8
8
|
});
|
|
9
9
|
var _hf1 = (p0) => p0.id ? `${p0.id}-dropdown` : void 0;
|
|
10
|
-
var SelectMenu =
|
|
10
|
+
var SelectMenu = /*#__PURE__*/ (0, _qwik_dev_core.componentQrl)(/*#__PURE__*/ (0, _qwik_dev_core.inlinedQrl)((_rawProps) => {
|
|
11
11
|
const props = (0, _qwik_dev_core._restProps)(_rawProps, [
|
|
12
12
|
"values",
|
|
13
13
|
"class",
|
|
@@ -17,7 +17,8 @@ var SelectMenu = /* @__PURE__ */ (0, _qwik_dev_core.componentQrl)(/* @__PURE__ *
|
|
|
17
17
|
"nocloseonclick",
|
|
18
18
|
"customDropdown",
|
|
19
19
|
"hover",
|
|
20
|
-
"align"
|
|
20
|
+
"align",
|
|
21
|
+
"outerProps"
|
|
21
22
|
]);
|
|
22
23
|
const store = (0, _qwik_dev_core.useStore)({
|
|
23
24
|
opened: false,
|
|
@@ -25,8 +26,11 @@ var SelectMenu = /* @__PURE__ */ (0, _qwik_dev_core.componentQrl)(/* @__PURE__ *
|
|
|
25
26
|
});
|
|
26
27
|
const selectRef = (0, _qwik_dev_core.useSignal)();
|
|
27
28
|
const selected = _rawProps.values?.find((v) => v.value === store.value);
|
|
28
|
-
return
|
|
29
|
-
_rawProps.
|
|
29
|
+
return /*#__PURE__*/ (0, _qwik_dev_core._jsxSplit)("div", {
|
|
30
|
+
..._rawProps.outerProps,
|
|
31
|
+
class: (0, _qwik_dev_core._fnSignal)(_hf0, [_rawProps])
|
|
32
|
+
}, null, [
|
|
33
|
+
_rawProps.values && /*#__PURE__*/ (0, _qwik_dev_core._jsxSplit)("select", {
|
|
30
34
|
"q-e:change": props.onChange$,
|
|
31
35
|
...(0, _qwik_dev_core._getVarProps)(props),
|
|
32
36
|
ref: selectRef
|
|
@@ -34,14 +38,14 @@ var SelectMenu = /* @__PURE__ */ (0, _qwik_dev_core.componentQrl)(/* @__PURE__ *
|
|
|
34
38
|
...(0, _qwik_dev_core._getConstProps)(props),
|
|
35
39
|
class: "hidden"
|
|
36
40
|
}, _rawProps.values.map((value, i) => {
|
|
37
|
-
return
|
|
41
|
+
return /*#__PURE__*/ (0, _qwik_dev_core._jsxSorted)("option", { value: (0, _qwik_dev_core._wrapProp)(value) }, null, `${value.value}`, 1, i);
|
|
38
42
|
}), 0, "WO_0"),
|
|
39
|
-
|
|
43
|
+
/*#__PURE__*/ (0, _qwik_dev_core._jsxSorted)(require_Dropdown.Dropdown, {
|
|
40
44
|
class: {
|
|
41
45
|
"w-full": true,
|
|
42
46
|
...require_functions.getClassObject(_rawProps.class)
|
|
43
47
|
},
|
|
44
|
-
onClick$:
|
|
48
|
+
onClick$: /*#__PURE__*/ (0, _qwik_dev_core.inlinedQrl)((e, el) => {
|
|
45
49
|
const _rawProps = _qwik_dev_core._captures[0], store = _qwik_dev_core._captures[1];
|
|
46
50
|
if (_rawProps.hover) return;
|
|
47
51
|
store.opened = !store.opened;
|
|
@@ -57,9 +61,9 @@ var SelectMenu = /* @__PURE__ */ (0, _qwik_dev_core.componentQrl)(/* @__PURE__ *
|
|
|
57
61
|
}, {
|
|
58
62
|
id: (0, _qwik_dev_core._fnSignal)(_hf1, [props]),
|
|
59
63
|
opened: (0, _qwik_dev_core._wrapProp)(store, "opened")
|
|
60
|
-
}, [_rawProps.customDropdown &&
|
|
61
|
-
_rawProps.hover &&
|
|
62
|
-
|
|
64
|
+
}, [_rawProps.customDropdown && /*#__PURE__*/ (0, _qwik_dev_core._jsxSorted)(_qwik_dev_core.Slot, null, { name: "dropdown" }, null, 3, "WO_1"), !_rawProps.customDropdown && (selected?.name ?? _rawProps.values?.[0]?.name ?? /*#__PURE__*/ (0, _qwik_dev_core._jsxSorted)(_qwik_dev_core.Slot, null, { name: "dropdown" }, null, 3, "WO_2"))], 0, "WO_3"),
|
|
65
|
+
_rawProps.hover && /*#__PURE__*/ (0, _qwik_dev_core._jsxSorted)("div", null, { class: "h-2 absolute w-full" }, null, 3, "WO_4"),
|
|
66
|
+
/*#__PURE__*/ (0, _qwik_dev_core._jsxSorted)("div", { class: {
|
|
63
67
|
"absolute z-1000 mt-2": true,
|
|
64
68
|
"backdrop-blur-lg": !_rawProps.noblur,
|
|
65
69
|
"lum-scroll flex max-h-72 flex-col gap-1 overflow-auto rounded-lum border p-1 select-none motion-safe:transition-all ease-out": true,
|
|
@@ -71,12 +75,12 @@ var SelectMenu = /* @__PURE__ */ (0, _qwik_dev_core.componentQrl)(/* @__PURE__ *
|
|
|
71
75
|
"focus-within:pointer-events-auto focus-within:scale-100 focus-within:opacity-100 focus-within:duration-75": true,
|
|
72
76
|
...require_functions.getClassObject(_rawProps.panelClass ?? "lum-bg-lum-input-bg")
|
|
73
77
|
} }, null, [_rawProps.values?.map(({ name, value }, i) => {
|
|
74
|
-
return
|
|
78
|
+
return /*#__PURE__*/ (0, _qwik_dev_core._jsxSorted)("button", {
|
|
75
79
|
class: {
|
|
76
80
|
"lum-btn rounded-lum-1": true,
|
|
77
81
|
...require_functions.getClassObject(_rawProps.btnClass ?? "lum-bg-transparent")
|
|
78
82
|
},
|
|
79
|
-
"q-e:click":
|
|
83
|
+
"q-e:click": /*#__PURE__*/ (0, _qwik_dev_core.inlinedQrl)((e, el, selectRef, store, value) => {
|
|
80
84
|
el.blur();
|
|
81
85
|
store.opened = false;
|
|
82
86
|
const select = selectRef.value;
|
|
@@ -92,8 +96,8 @@ var SelectMenu = /* @__PURE__ */ (0, _qwik_dev_core.componentQrl)(/* @__PURE__ *
|
|
|
92
96
|
value
|
|
93
97
|
]
|
|
94
98
|
}, { type: "button" }, name, 4, i);
|
|
95
|
-
}),
|
|
96
|
-
],
|
|
99
|
+
}), /*#__PURE__*/ (0, _qwik_dev_core._jsxSorted)(_qwik_dev_core.Slot, null, { name: "extra-buttons" }, null, 3, "WO_5")], 1, null)
|
|
100
|
+
], 0, "WO_6");
|
|
97
101
|
}, "SelectMenu_component_ofsf7iGvkLg"));
|
|
98
102
|
//#endregion
|
|
99
103
|
exports.SelectMenu = SelectMenu;
|
|
@@ -7,7 +7,7 @@ var _hf0 = (p0) => ({
|
|
|
7
7
|
group: p0.hover
|
|
8
8
|
});
|
|
9
9
|
var _hf1 = (p0) => p0.id ? `${p0.id}-dropdown` : void 0;
|
|
10
|
-
var SelectMenu =
|
|
10
|
+
var SelectMenu = /*#__PURE__*/ componentQrl(/*#__PURE__*/ inlinedQrl((_rawProps) => {
|
|
11
11
|
const props = _restProps(_rawProps, [
|
|
12
12
|
"values",
|
|
13
13
|
"class",
|
|
@@ -17,7 +17,8 @@ var SelectMenu = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_rawPr
|
|
|
17
17
|
"nocloseonclick",
|
|
18
18
|
"customDropdown",
|
|
19
19
|
"hover",
|
|
20
|
-
"align"
|
|
20
|
+
"align",
|
|
21
|
+
"outerProps"
|
|
21
22
|
]);
|
|
22
23
|
const store = useStore({
|
|
23
24
|
opened: false,
|
|
@@ -25,8 +26,11 @@ var SelectMenu = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_rawPr
|
|
|
25
26
|
});
|
|
26
27
|
const selectRef = useSignal();
|
|
27
28
|
const selected = _rawProps.values?.find((v) => v.value === store.value);
|
|
28
|
-
return
|
|
29
|
-
_rawProps.
|
|
29
|
+
return /*#__PURE__*/ _jsxSplit("div", {
|
|
30
|
+
..._rawProps.outerProps,
|
|
31
|
+
class: _fnSignal(_hf0, [_rawProps])
|
|
32
|
+
}, null, [
|
|
33
|
+
_rawProps.values && /*#__PURE__*/ _jsxSplit("select", {
|
|
30
34
|
"q-e:change": props.onChange$,
|
|
31
35
|
..._getVarProps(props),
|
|
32
36
|
ref: selectRef
|
|
@@ -34,14 +38,14 @@ var SelectMenu = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_rawPr
|
|
|
34
38
|
..._getConstProps(props),
|
|
35
39
|
class: "hidden"
|
|
36
40
|
}, _rawProps.values.map((value, i) => {
|
|
37
|
-
return
|
|
41
|
+
return /*#__PURE__*/ _jsxSorted("option", { value: _wrapProp(value) }, null, `${value.value}`, 1, i);
|
|
38
42
|
}), 0, "WO_0"),
|
|
39
|
-
|
|
43
|
+
/*#__PURE__*/ _jsxSorted(Dropdown, {
|
|
40
44
|
class: {
|
|
41
45
|
"w-full": true,
|
|
42
46
|
...getClassObject(_rawProps.class)
|
|
43
47
|
},
|
|
44
|
-
onClick$:
|
|
48
|
+
onClick$: /*#__PURE__*/ inlinedQrl((e, el) => {
|
|
45
49
|
const _rawProps = _captures[0], store = _captures[1];
|
|
46
50
|
if (_rawProps.hover) return;
|
|
47
51
|
store.opened = !store.opened;
|
|
@@ -57,9 +61,9 @@ var SelectMenu = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_rawPr
|
|
|
57
61
|
}, {
|
|
58
62
|
id: _fnSignal(_hf1, [props]),
|
|
59
63
|
opened: _wrapProp(store, "opened")
|
|
60
|
-
}, [_rawProps.customDropdown &&
|
|
61
|
-
_rawProps.hover &&
|
|
62
|
-
|
|
64
|
+
}, [_rawProps.customDropdown && /*#__PURE__*/ _jsxSorted(Slot, null, { name: "dropdown" }, null, 3, "WO_1"), !_rawProps.customDropdown && (selected?.name ?? _rawProps.values?.[0]?.name ?? /*#__PURE__*/ _jsxSorted(Slot, null, { name: "dropdown" }, null, 3, "WO_2"))], 0, "WO_3"),
|
|
65
|
+
_rawProps.hover && /*#__PURE__*/ _jsxSorted("div", null, { class: "h-2 absolute w-full" }, null, 3, "WO_4"),
|
|
66
|
+
/*#__PURE__*/ _jsxSorted("div", { class: {
|
|
63
67
|
"absolute z-1000 mt-2": true,
|
|
64
68
|
"backdrop-blur-lg": !_rawProps.noblur,
|
|
65
69
|
"lum-scroll flex max-h-72 flex-col gap-1 overflow-auto rounded-lum border p-1 select-none motion-safe:transition-all ease-out": true,
|
|
@@ -71,12 +75,12 @@ var SelectMenu = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_rawPr
|
|
|
71
75
|
"focus-within:pointer-events-auto focus-within:scale-100 focus-within:opacity-100 focus-within:duration-75": true,
|
|
72
76
|
...getClassObject(_rawProps.panelClass ?? "lum-bg-lum-input-bg")
|
|
73
77
|
} }, null, [_rawProps.values?.map(({ name, value }, i) => {
|
|
74
|
-
return
|
|
78
|
+
return /*#__PURE__*/ _jsxSorted("button", {
|
|
75
79
|
class: {
|
|
76
80
|
"lum-btn rounded-lum-1": true,
|
|
77
81
|
...getClassObject(_rawProps.btnClass ?? "lum-bg-transparent")
|
|
78
82
|
},
|
|
79
|
-
"q-e:click":
|
|
83
|
+
"q-e:click": /*#__PURE__*/ inlinedQrl((e, el, selectRef, store, value) => {
|
|
80
84
|
el.blur();
|
|
81
85
|
store.opened = false;
|
|
82
86
|
const select = selectRef.value;
|
|
@@ -92,8 +96,8 @@ var SelectMenu = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_rawPr
|
|
|
92
96
|
value
|
|
93
97
|
]
|
|
94
98
|
}, { type: "button" }, name, 4, i);
|
|
95
|
-
}),
|
|
96
|
-
],
|
|
99
|
+
}), /*#__PURE__*/ _jsxSorted(Slot, null, { name: "extra-buttons" }, null, 3, "WO_5")], 1, null)
|
|
100
|
+
], 0, "WO_6");
|
|
97
101
|
}, "SelectMenu_component_ofsf7iGvkLg"));
|
|
98
102
|
//#endregion
|
|
99
103
|
export { SelectMenu };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const require_functions = require("../functions.qwik.cjs");
|
|
2
2
|
let _qwik_dev_core = require("@qwik.dev/core");
|
|
3
3
|
//#region src/components/elements/Sidebar.tsx
|
|
4
|
-
var Sidebar =
|
|
4
|
+
var Sidebar = /*#__PURE__*/ (0, _qwik_dev_core.componentQrl)(/*#__PURE__*/ (0, _qwik_dev_core.inlinedQrl)((_rawProps) => {
|
|
5
5
|
const props = (0, _qwik_dev_core._restProps)(_rawProps, ["position", "class"]);
|
|
6
|
-
return
|
|
6
|
+
return /*#__PURE__*/ (0, _qwik_dev_core._jsxSplit)("aside", {
|
|
7
7
|
...(0, _qwik_dev_core._getVarProps)(props),
|
|
8
8
|
...(0, _qwik_dev_core._getConstProps)(props),
|
|
9
9
|
class: {
|
|
@@ -12,10 +12,10 @@ var Sidebar = /* @__PURE__ */ (0, _qwik_dev_core.componentQrl)(/* @__PURE__ */ (
|
|
|
12
12
|
"right-0 border-0 border-l": _rawProps.position === "right",
|
|
13
13
|
...require_functions.getClassObject(_rawProps.class)
|
|
14
14
|
}
|
|
15
|
-
}, null,
|
|
15
|
+
}, null, /*#__PURE__*/ (0, _qwik_dev_core._jsxSorted)("nav", null, {
|
|
16
16
|
id: "docs-sidebar",
|
|
17
17
|
class: "min-h-full relative"
|
|
18
|
-
}, [
|
|
18
|
+
}, [/*#__PURE__*/ (0, _qwik_dev_core._jsxSorted)("div", null, { class: "flex items-center gap-3 pb-3 px-2 border-b border-lum-border/10" }, /*#__PURE__*/ (0, _qwik_dev_core._jsxSorted)("div", null, { class: "flex-1" }, /*#__PURE__*/ (0, _qwik_dev_core._jsxSorted)(_qwik_dev_core.Slot, null, { name: "title" }, null, 3, "Nu_0"), 1, null), 1, null), /*#__PURE__*/ (0, _qwik_dev_core._jsxSorted)("div", null, { class: { "flex flex-col gap-3 my-4 mx-4 lg:mx-0": true } }, /*#__PURE__*/ (0, _qwik_dev_core._jsxSorted)(_qwik_dev_core.Slot, null, null, null, 3, "Nu_1"), 1, null)], 1, null), 0, "Nu_2");
|
|
19
19
|
}, "Sidebar_component_moIMGaONnvw"));
|
|
20
20
|
//#endregion
|
|
21
21
|
exports.Sidebar = Sidebar;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { getClassObject } from "../functions.qwik.mjs";
|
|
2
2
|
import { Slot, _getConstProps, _getVarProps, _jsxSorted, _jsxSplit, _restProps, componentQrl, inlinedQrl } from "@qwik.dev/core";
|
|
3
3
|
//#region src/components/elements/Sidebar.tsx
|
|
4
|
-
var Sidebar =
|
|
4
|
+
var Sidebar = /*#__PURE__*/ componentQrl(/*#__PURE__*/ inlinedQrl((_rawProps) => {
|
|
5
5
|
const props = _restProps(_rawProps, ["position", "class"]);
|
|
6
|
-
return
|
|
6
|
+
return /*#__PURE__*/ _jsxSplit("aside", {
|
|
7
7
|
..._getVarProps(props),
|
|
8
8
|
..._getConstProps(props),
|
|
9
9
|
class: {
|
|
@@ -12,10 +12,10 @@ var Sidebar = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_rawProps
|
|
|
12
12
|
"right-0 border-0 border-l": _rawProps.position === "right",
|
|
13
13
|
...getClassObject(_rawProps.class)
|
|
14
14
|
}
|
|
15
|
-
}, null,
|
|
15
|
+
}, null, /*#__PURE__*/ _jsxSorted("nav", null, {
|
|
16
16
|
id: "docs-sidebar",
|
|
17
17
|
class: "min-h-full relative"
|
|
18
|
-
}, [
|
|
18
|
+
}, [/*#__PURE__*/ _jsxSorted("div", null, { class: "flex items-center gap-3 pb-3 px-2 border-b border-lum-border/10" }, /*#__PURE__*/ _jsxSorted("div", null, { class: "flex-1" }, /*#__PURE__*/ _jsxSorted(Slot, null, { name: "title" }, null, 3, "Nu_0"), 1, null), 1, null), /*#__PURE__*/ _jsxSorted("div", null, { class: { "flex flex-col gap-3 my-4 mx-4 lg:mx-0": true } }, /*#__PURE__*/ _jsxSorted(Slot, null, null, null, 3, "Nu_1"), 1, null)], 1, null), 0, "Nu_2");
|
|
19
19
|
}, "Sidebar_component_moIMGaONnvw"));
|
|
20
20
|
//#endregion
|
|
21
21
|
export { Sidebar };
|
|
@@ -4,6 +4,7 @@ interface ToggleProps extends Omit<PropsOf<'input'> & {
|
|
|
4
4
|
}, 'bind:checked' | 'type' | 'children'> {
|
|
5
5
|
checkbox?: boolean;
|
|
6
6
|
round?: boolean;
|
|
7
|
+
outerProps?: PropsOf<'div'>;
|
|
7
8
|
}
|
|
8
9
|
export declare const Toggle: import("@qwik.dev/core").Component<ToggleProps>;
|
|
9
10
|
export {};
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
const require_functions = require("../functions.qwik.cjs");
|
|
2
2
|
let _qwik_dev_core = require("@qwik.dev/core");
|
|
3
3
|
//#region src/components/elements/Toggle.tsx
|
|
4
|
-
var Toggle =
|
|
4
|
+
var Toggle = /*#__PURE__*/ (0, _qwik_dev_core.componentQrl)(/*#__PURE__*/ (0, _qwik_dev_core.inlinedQrl)((_rawProps) => {
|
|
5
5
|
const props = (0, _qwik_dev_core._restProps)(_rawProps, [
|
|
6
6
|
"class",
|
|
7
7
|
"checkbox",
|
|
8
|
-
"round"
|
|
8
|
+
"round",
|
|
9
|
+
"outerProps"
|
|
9
10
|
]);
|
|
10
|
-
return
|
|
11
|
+
return /*#__PURE__*/ (0, _qwik_dev_core._jsxSplit)("div", { ..._rawProps.outerProps }, { class: "flex touch-manipulation items-center gap-3" }, [/*#__PURE__*/ (0, _qwik_dev_core._jsxSorted)("label", null, { class: "relative inline-flex cursor-pointer items-center" }, [/*#__PURE__*/ (0, _qwik_dev_core._jsxSplit)("input", {
|
|
11
12
|
type: "checkbox",
|
|
12
13
|
...(0, _qwik_dev_core._getVarProps)(props)
|
|
13
14
|
}, {
|
|
14
15
|
...(0, _qwik_dev_core._getConstProps)(props),
|
|
15
16
|
class: "peer sr-only"
|
|
16
|
-
}, null, 0, null),
|
|
17
|
+
}, null, 0, null), /*#__PURE__*/ (0, _qwik_dev_core._jsxSorted)("div", { class: {
|
|
17
18
|
"peer h-7 duration-300 ease-out hover:duration-75 peer-focus:border-blue-500": true,
|
|
18
19
|
"after:absolute after:top-1 after:left-1 after:h-5 after:w-5 after:border after:duration-300 after:ease-out after:content-[''] after:hover:duration-75 after:motion-safe:transition-transform": true,
|
|
19
20
|
"rounded-lum after:rounded-lum-1": !_rawProps.round,
|
|
@@ -22,7 +23,7 @@ var Toggle = /* @__PURE__ */ (0, _qwik_dev_core.componentQrl)(/* @__PURE__ */ (0
|
|
|
22
23
|
"w-7 after:opacity-0 peer-checked:after:opacity-100": _rawProps.checkbox,
|
|
23
24
|
"lum-toggle-bg-lum-input-bg peer-checked:lum-toggle-bg-lum-accent": true,
|
|
24
25
|
...require_functions.getClassObject(_rawProps.class)
|
|
25
|
-
} }, null, null, 3, null)], 1, null),
|
|
26
|
+
} }, null, null, 3, null)], 1, null), /*#__PURE__*/ (0, _qwik_dev_core._jsxSorted)("label", { for: (0, _qwik_dev_core._wrapProp)(props, "id") }, { class: "flex gap-2 text-lum-text select-none empty:hidden" }, /*#__PURE__*/ (0, _qwik_dev_core._jsxSorted)(_qwik_dev_core.Slot, null, null, null, 3, "R0_0"), 1, null)], 0, "R0_1");
|
|
26
27
|
}, "Toggle_component_AHnKi33alRM"));
|
|
27
28
|
//#endregion
|
|
28
29
|
exports.Toggle = Toggle;
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import { getClassObject } from "../functions.qwik.mjs";
|
|
2
2
|
import { Slot, _getConstProps, _getVarProps, _jsxSorted, _jsxSplit, _restProps, _wrapProp, componentQrl, inlinedQrl } from "@qwik.dev/core";
|
|
3
3
|
//#region src/components/elements/Toggle.tsx
|
|
4
|
-
var Toggle =
|
|
4
|
+
var Toggle = /*#__PURE__*/ componentQrl(/*#__PURE__*/ inlinedQrl((_rawProps) => {
|
|
5
5
|
const props = _restProps(_rawProps, [
|
|
6
6
|
"class",
|
|
7
7
|
"checkbox",
|
|
8
|
-
"round"
|
|
8
|
+
"round",
|
|
9
|
+
"outerProps"
|
|
9
10
|
]);
|
|
10
|
-
return
|
|
11
|
+
return /*#__PURE__*/ _jsxSplit("div", { ..._rawProps.outerProps }, { class: "flex touch-manipulation items-center gap-3" }, [/*#__PURE__*/ _jsxSorted("label", null, { class: "relative inline-flex cursor-pointer items-center" }, [/*#__PURE__*/ _jsxSplit("input", {
|
|
11
12
|
type: "checkbox",
|
|
12
13
|
..._getVarProps(props)
|
|
13
14
|
}, {
|
|
14
15
|
..._getConstProps(props),
|
|
15
16
|
class: "peer sr-only"
|
|
16
|
-
}, null, 0, null),
|
|
17
|
+
}, null, 0, null), /*#__PURE__*/ _jsxSorted("div", { class: {
|
|
17
18
|
"peer h-7 duration-300 ease-out hover:duration-75 peer-focus:border-blue-500": true,
|
|
18
19
|
"after:absolute after:top-1 after:left-1 after:h-5 after:w-5 after:border after:duration-300 after:ease-out after:content-[''] after:hover:duration-75 after:motion-safe:transition-transform": true,
|
|
19
20
|
"rounded-lum after:rounded-lum-1": !_rawProps.round,
|
|
@@ -22,7 +23,7 @@ var Toggle = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_rawProps)
|
|
|
22
23
|
"w-7 after:opacity-0 peer-checked:after:opacity-100": _rawProps.checkbox,
|
|
23
24
|
"lum-toggle-bg-lum-input-bg peer-checked:lum-toggle-bg-lum-accent": true,
|
|
24
25
|
...getClassObject(_rawProps.class)
|
|
25
|
-
} }, null, null, 3, null)], 1, null),
|
|
26
|
+
} }, null, null, 3, null)], 1, null), /*#__PURE__*/ _jsxSorted("label", { for: _wrapProp(props, "id") }, { class: "flex gap-2 text-lum-text select-none empty:hidden" }, /*#__PURE__*/ _jsxSorted(Slot, null, null, null, 3, "R0_0"), 1, null)], 0, "R0_1");
|
|
26
27
|
}, "Toggle_component_AHnKi33alRM"));
|
|
27
28
|
//#endregion
|
|
28
29
|
export { Toggle };
|
package/lib/index.qwik.cjs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_functions = require("./components/functions.qwik.cjs");
|
|
3
3
|
const require_Anchor = require("./components/elements/Anchor.qwik.cjs");
|
|
4
|
-
const require_Blobs = require("./components/elements/Blobs.qwik.cjs");
|
|
5
4
|
const require_ColorPicker = require("./components/elements/ColorPicker.qwik.cjs");
|
|
6
5
|
const require_Dropdown = require("./components/elements/Dropdown.qwik.cjs");
|
|
7
6
|
const require_Label = require("./components/elements/Label.qwik.cjs");
|
|
@@ -12,7 +11,6 @@ const require_SelectMenu = require("./components/elements/SelectMenu.qwik.cjs");
|
|
|
12
11
|
const require_Sidebar = require("./components/elements/Sidebar.qwik.cjs");
|
|
13
12
|
const require_Toggle = require("./components/elements/Toggle.qwik.cjs");
|
|
14
13
|
exports.Anchor = require_Anchor.Anchor;
|
|
15
|
-
exports.Blobs = require_Blobs.Blobs;
|
|
16
14
|
exports.ColorPicker = require_ColorPicker.ColorPicker;
|
|
17
15
|
exports.Dropdown = require_Dropdown.Dropdown;
|
|
18
16
|
exports.Hoverable = require_functions.Hoverable;
|
|
@@ -23,5 +21,4 @@ exports.RangeInput = require_RangeInput.RangeInput;
|
|
|
23
21
|
exports.SelectMenu = require_SelectMenu.SelectMenu;
|
|
24
22
|
exports.Sidebar = require_Sidebar.Sidebar;
|
|
25
23
|
exports.Toggle = require_Toggle.Toggle;
|
|
26
|
-
exports.blobColorClasses = require_Blobs.blobColorClasses;
|
|
27
24
|
exports.getClassObject = require_functions.getClassObject;
|
package/lib/index.qwik.mjs
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Hoverable, getClassObject } from "./components/functions.qwik.mjs";
|
|
2
2
|
import { Anchor } from "./components/elements/Anchor.qwik.mjs";
|
|
3
|
-
import { Blobs, blobColorClasses } from "./components/elements/Blobs.qwik.mjs";
|
|
4
3
|
import { ColorPicker } from "./components/elements/ColorPicker.qwik.mjs";
|
|
5
4
|
import { Dropdown } from "./components/elements/Dropdown.qwik.mjs";
|
|
6
5
|
import { Label } from "./components/elements/Label.qwik.mjs";
|
|
@@ -10,4 +9,4 @@ import { RangeInput } from "./components/elements/RangeInput.qwik.mjs";
|
|
|
10
9
|
import { SelectMenu } from "./components/elements/SelectMenu.qwik.mjs";
|
|
11
10
|
import { Sidebar } from "./components/elements/Sidebar.qwik.mjs";
|
|
12
11
|
import { Toggle } from "./components/elements/Toggle.qwik.mjs";
|
|
13
|
-
export { Anchor,
|
|
12
|
+
export { Anchor, ColorPicker, Dropdown, Hoverable, Label, Nav, NumberInput, RangeInput, SelectMenu, Sidebar, Toggle, getClassObject };
|
package/lib/q-manifest.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1",
|
|
3
|
-
"manifestHash": "
|
|
3
|
+
"manifestHash": "labqx9",
|
|
4
4
|
"options": {
|
|
5
5
|
"target": "lib",
|
|
6
6
|
"buildMode": "development",
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
"type": "inline"
|
|
9
9
|
}
|
|
10
10
|
},
|
|
11
|
-
"bundleGraphAsset": "assets/
|
|
11
|
+
"bundleGraphAsset": "assets/CyrvYwp8-bundle-graph.json",
|
|
12
12
|
"injections": [],
|
|
13
13
|
"mapping": {},
|
|
14
14
|
"bundles": {
|
|
15
15
|
"../components/elements/Anchor.qwik.cjs": {
|
|
16
|
-
"size":
|
|
17
|
-
"total":
|
|
16
|
+
"size": 1398,
|
|
17
|
+
"total": 3465,
|
|
18
18
|
"imports": [
|
|
19
19
|
"../components/functions.qwik.cjs",
|
|
20
20
|
"../svg/Link.qwik.cjs"
|
|
@@ -24,20 +24,9 @@
|
|
|
24
24
|
],
|
|
25
25
|
"interactivity": 0
|
|
26
26
|
},
|
|
27
|
-
"../components/elements/Blobs.qwik.cjs": {
|
|
28
|
-
"size": 4434,
|
|
29
|
-
"total": 5284,
|
|
30
|
-
"imports": [
|
|
31
|
-
"../components/functions.qwik.cjs"
|
|
32
|
-
],
|
|
33
|
-
"origins": [
|
|
34
|
-
"src/components/elements/Blobs.tsx"
|
|
35
|
-
],
|
|
36
|
-
"interactivity": 0
|
|
37
|
-
},
|
|
38
27
|
"../components/elements/ColorPicker.qwik.cjs": {
|
|
39
|
-
"size":
|
|
40
|
-
"total":
|
|
28
|
+
"size": 14101,
|
|
29
|
+
"total": 18650,
|
|
41
30
|
"imports": [
|
|
42
31
|
"../components/functions.qwik.cjs",
|
|
43
32
|
"../svg/Shuffle.qwik.cjs",
|
|
@@ -49,8 +38,8 @@
|
|
|
49
38
|
"interactivity": 0
|
|
50
39
|
},
|
|
51
40
|
"../components/elements/Dropdown.qwik.cjs": {
|
|
52
|
-
"size":
|
|
53
|
-
"total":
|
|
41
|
+
"size": 1420,
|
|
42
|
+
"total": 3270,
|
|
54
43
|
"imports": [
|
|
55
44
|
"../components/functions.qwik.cjs",
|
|
56
45
|
"../svg/ChevronDown.qwik.cjs"
|
|
@@ -61,16 +50,16 @@
|
|
|
61
50
|
"interactivity": 0
|
|
62
51
|
},
|
|
63
52
|
"../components/elements/Label.qwik.cjs": {
|
|
64
|
-
"size":
|
|
65
|
-
"total":
|
|
53
|
+
"size": 974,
|
|
54
|
+
"total": 974,
|
|
66
55
|
"origins": [
|
|
67
56
|
"src/components/elements/Label.tsx"
|
|
68
57
|
],
|
|
69
58
|
"interactivity": 0
|
|
70
59
|
},
|
|
71
60
|
"../components/elements/Nav.qwik.cjs": {
|
|
72
|
-
"size":
|
|
73
|
-
"total":
|
|
61
|
+
"size": 4089,
|
|
62
|
+
"total": 6082,
|
|
74
63
|
"imports": [
|
|
75
64
|
"../components/functions.qwik.cjs",
|
|
76
65
|
"../svg/Menu.qwik.cjs"
|
|
@@ -81,8 +70,8 @@
|
|
|
81
70
|
"interactivity": 0
|
|
82
71
|
},
|
|
83
72
|
"../components/elements/NumberInput.qwik.cjs": {
|
|
84
|
-
"size":
|
|
85
|
-
"total":
|
|
73
|
+
"size": 3598,
|
|
74
|
+
"total": 6441,
|
|
86
75
|
"imports": [
|
|
87
76
|
"../components/functions.qwik.cjs",
|
|
88
77
|
"../svg/Minus.qwik.cjs",
|
|
@@ -94,16 +83,16 @@
|
|
|
94
83
|
"interactivity": 0
|
|
95
84
|
},
|
|
96
85
|
"../components/elements/RangeInput.qwik.cjs": {
|
|
97
|
-
"size":
|
|
98
|
-
"total":
|
|
86
|
+
"size": 3277,
|
|
87
|
+
"total": 3277,
|
|
99
88
|
"origins": [
|
|
100
89
|
"src/components/elements/RangeInput.tsx"
|
|
101
90
|
],
|
|
102
91
|
"interactivity": 0
|
|
103
92
|
},
|
|
104
93
|
"../components/elements/SelectMenu.qwik.cjs": {
|
|
105
|
-
"size":
|
|
106
|
-
"total":
|
|
94
|
+
"size": 4761,
|
|
95
|
+
"total": 8881,
|
|
107
96
|
"imports": [
|
|
108
97
|
"../components/elements/Dropdown.qwik.cjs",
|
|
109
98
|
"../components/functions.qwik.cjs"
|
|
@@ -114,8 +103,8 @@
|
|
|
114
103
|
"interactivity": 0
|
|
115
104
|
},
|
|
116
105
|
"../components/elements/Sidebar.qwik.cjs": {
|
|
117
|
-
"size":
|
|
118
|
-
"total":
|
|
106
|
+
"size": 1623,
|
|
107
|
+
"total": 2473,
|
|
119
108
|
"imports": [
|
|
120
109
|
"../components/functions.qwik.cjs"
|
|
121
110
|
],
|
|
@@ -125,8 +114,8 @@
|
|
|
125
114
|
"interactivity": 0
|
|
126
115
|
},
|
|
127
116
|
"../components/elements/Toggle.qwik.cjs": {
|
|
128
|
-
"size":
|
|
129
|
-
"total":
|
|
117
|
+
"size": 2015,
|
|
118
|
+
"total": 2865,
|
|
130
119
|
"imports": [
|
|
131
120
|
"../components/functions.qwik.cjs"
|
|
132
121
|
],
|
|
@@ -144,11 +133,10 @@
|
|
|
144
133
|
"interactivity": 0
|
|
145
134
|
},
|
|
146
135
|
"../index.qwik.cjs": {
|
|
147
|
-
"size":
|
|
148
|
-
"total":
|
|
136
|
+
"size": 1466,
|
|
137
|
+
"total": 58694,
|
|
149
138
|
"imports": [
|
|
150
139
|
"../components/elements/Anchor.qwik.cjs",
|
|
151
|
-
"../components/elements/Blobs.qwik.cjs",
|
|
152
140
|
"../components/elements/ColorPicker.qwik.cjs",
|
|
153
141
|
"../components/elements/Dropdown.qwik.cjs",
|
|
154
142
|
"../components/elements/Label.qwik.cjs",
|
|
@@ -166,48 +154,48 @@
|
|
|
166
154
|
"interactivity": 0
|
|
167
155
|
},
|
|
168
156
|
"../svg/ChevronDown.qwik.cjs": {
|
|
169
|
-
"size":
|
|
170
|
-
"total":
|
|
157
|
+
"size": 1000,
|
|
158
|
+
"total": 1000,
|
|
171
159
|
"origins": [
|
|
172
160
|
"src/svg/ChevronDown.tsx"
|
|
173
161
|
],
|
|
174
162
|
"interactivity": 0
|
|
175
163
|
},
|
|
176
164
|
"../svg/Link.qwik.cjs": {
|
|
177
|
-
"size":
|
|
178
|
-
"total":
|
|
165
|
+
"size": 1217,
|
|
166
|
+
"total": 1217,
|
|
179
167
|
"origins": [
|
|
180
168
|
"src/svg/Link.tsx"
|
|
181
169
|
],
|
|
182
170
|
"interactivity": 0
|
|
183
171
|
},
|
|
184
172
|
"../svg/Menu.qwik.cjs": {
|
|
185
|
-
"size":
|
|
186
|
-
"total":
|
|
173
|
+
"size": 1143,
|
|
174
|
+
"total": 1143,
|
|
187
175
|
"origins": [
|
|
188
176
|
"src/svg/Menu.tsx"
|
|
189
177
|
],
|
|
190
178
|
"interactivity": 0
|
|
191
179
|
},
|
|
192
180
|
"../svg/Minus.qwik.cjs": {
|
|
193
|
-
"size":
|
|
194
|
-
"total":
|
|
181
|
+
"size": 952,
|
|
182
|
+
"total": 952,
|
|
195
183
|
"origins": [
|
|
196
184
|
"src/svg/Minus.tsx"
|
|
197
185
|
],
|
|
198
186
|
"interactivity": 0
|
|
199
187
|
},
|
|
200
188
|
"../svg/Plus.qwik.cjs": {
|
|
201
|
-
"size":
|
|
202
|
-
"total":
|
|
189
|
+
"size": 1041,
|
|
190
|
+
"total": 1041,
|
|
203
191
|
"origins": [
|
|
204
192
|
"src/svg/Plus.tsx"
|
|
205
193
|
],
|
|
206
194
|
"interactivity": 0
|
|
207
195
|
},
|
|
208
196
|
"../svg/Shuffle.qwik.cjs": {
|
|
209
|
-
"size":
|
|
210
|
-
"total":
|
|
197
|
+
"size": 1473,
|
|
198
|
+
"total": 1473,
|
|
211
199
|
"origins": [
|
|
212
200
|
"src/svg/Shuffle.tsx"
|
|
213
201
|
],
|
|
@@ -223,9 +211,9 @@
|
|
|
223
211
|
}
|
|
224
212
|
},
|
|
225
213
|
"assets": {
|
|
226
|
-
"assets/
|
|
214
|
+
"assets/CyrvYwp8-bundle-graph.json": {
|
|
227
215
|
"name": "bundle-graph.json",
|
|
228
|
-
"size":
|
|
216
|
+
"size": 43
|
|
229
217
|
}
|
|
230
218
|
},
|
|
231
219
|
"symbols": {},
|
|
@@ -234,6 +222,6 @@
|
|
|
234
222
|
"rollup": "4.23.0",
|
|
235
223
|
"env": "node",
|
|
236
224
|
"os": "linux",
|
|
237
|
-
"node": "
|
|
225
|
+
"node": "25.9.0"
|
|
238
226
|
}
|
|
239
227
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
let _qwik_dev_core = require("@qwik.dev/core");
|
|
2
2
|
//#region src/svg/ChevronDown.tsx
|
|
3
|
-
var ChevronDown =
|
|
3
|
+
var ChevronDown = /*#__PURE__*/ (0, _qwik_dev_core.componentQrl)(/*#__PURE__*/ (0, _qwik_dev_core.inlinedQrl)((_rawProps) => {
|
|
4
4
|
const props = (0, _qwik_dev_core._restProps)(_rawProps, ["size"]);
|
|
5
|
-
return
|
|
5
|
+
return /*#__PURE__*/ (0, _qwik_dev_core._jsxSplit)("svg", {
|
|
6
6
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7
7
|
width: (0, _qwik_dev_core._wrapProp)(_rawProps, "size"),
|
|
8
8
|
height: (0, _qwik_dev_core._wrapProp)(_rawProps, "size"),
|
|
@@ -14,7 +14,7 @@ var ChevronDown = /* @__PURE__ */ (0, _qwik_dev_core.componentQrl)(/* @__PURE__
|
|
|
14
14
|
"stroke-linejoin": "round",
|
|
15
15
|
class: "lucide lucide-chevron-down-icon lucide-chevron-down",
|
|
16
16
|
...(0, _qwik_dev_core._getVarProps)(props)
|
|
17
|
-
}, (0, _qwik_dev_core._getConstProps)(props),
|
|
17
|
+
}, (0, _qwik_dev_core._getConstProps)(props), /*#__PURE__*/ (0, _qwik_dev_core._jsxSorted)("path", null, { d: "m6 9 6 6 6-6" }, null, 3, null), 0, "EL_0");
|
|
18
18
|
}, "ChevronDown_component_t7XDRYS4gVA"));
|
|
19
19
|
//#endregion
|
|
20
20
|
exports.ChevronDown = ChevronDown;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { _getConstProps, _getVarProps, _jsxSorted, _jsxSplit, _restProps, _wrapProp, componentQrl, inlinedQrl } from "@qwik.dev/core";
|
|
2
2
|
//#region src/svg/ChevronDown.tsx
|
|
3
|
-
var ChevronDown =
|
|
3
|
+
var ChevronDown = /*#__PURE__*/ componentQrl(/*#__PURE__*/ inlinedQrl((_rawProps) => {
|
|
4
4
|
const props = _restProps(_rawProps, ["size"]);
|
|
5
|
-
return
|
|
5
|
+
return /*#__PURE__*/ _jsxSplit("svg", {
|
|
6
6
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7
7
|
width: _wrapProp(_rawProps, "size"),
|
|
8
8
|
height: _wrapProp(_rawProps, "size"),
|
|
@@ -14,7 +14,7 @@ var ChevronDown = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_rawP
|
|
|
14
14
|
"stroke-linejoin": "round",
|
|
15
15
|
class: "lucide lucide-chevron-down-icon lucide-chevron-down",
|
|
16
16
|
..._getVarProps(props)
|
|
17
|
-
}, _getConstProps(props),
|
|
17
|
+
}, _getConstProps(props), /*#__PURE__*/ _jsxSorted("path", null, { d: "m6 9 6 6 6-6" }, null, 3, null), 0, "EL_0");
|
|
18
18
|
}, "ChevronDown_component_t7XDRYS4gVA"));
|
|
19
19
|
//#endregion
|
|
20
20
|
export { ChevronDown };
|