@luminescent/ui-qwik 6.8.3-2 → 6.8.3-qwikv2
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/elements/Anchor.qwik.cjs +21 -24
- package/lib/components/elements/Anchor.qwik.mjs +21 -24
- package/lib/components/elements/Blobs.qwik.cjs +180 -186
- package/lib/components/elements/Blobs.qwik.mjs +180 -187
- package/lib/components/elements/ColorPicker.qwik.cjs +270 -301
- package/lib/components/elements/ColorPicker.qwik.mjs +270 -301
- package/lib/components/elements/Dropdown.qwik.cjs +26 -29
- package/lib/components/elements/Dropdown.qwik.mjs +26 -29
- package/lib/components/elements/Nav.qwik.cjs +78 -96
- package/lib/components/elements/Nav.qwik.mjs +78 -96
- package/lib/components/elements/NumberInput.qwik.cjs +61 -74
- package/lib/components/elements/NumberInput.qwik.mjs +60 -74
- package/lib/components/elements/RangeInput.qwik.cjs +55 -73
- package/lib/components/elements/RangeInput.qwik.mjs +56 -75
- package/lib/components/elements/SelectMenu.qwik.cjs +105 -130
- package/lib/components/elements/SelectMenu.qwik.mjs +105 -131
- package/lib/components/elements/Sidebar.qwik.cjs +28 -35
- package/lib/components/elements/Sidebar.qwik.mjs +28 -35
- package/lib/components/elements/Toggle.qwik.cjs +29 -37
- package/lib/components/elements/Toggle.qwik.mjs +30 -38
- package/lib/components/functions.qwik.cjs +15 -16
- package/lib/components/functions.qwik.mjs +16 -17
- package/lib/components/logos/Birdflop.d.ts +3 -0
- package/lib/components/logos/Birdflop.qwik.cjs +64 -71
- package/lib/components/logos/Birdflop.qwik.mjs +65 -71
- package/lib/components/logos/Fabric.d.ts +3 -0
- package/lib/components/logos/Fabric.qwik.cjs +28 -30
- package/lib/components/logos/Fabric.qwik.mjs +29 -30
- package/lib/components/logos/Forge.d.ts +3 -0
- package/lib/components/logos/Forge.qwik.cjs +27 -29
- package/lib/components/logos/Forge.qwik.mjs +28 -29
- package/lib/components/logos/Luminescent.d.ts +6 -0
- package/lib/components/logos/Luminescent.qwik.cjs +119 -139
- package/lib/components/logos/Luminescent.qwik.mjs +118 -139
- package/lib/components/logos/Paper.d.ts +3 -0
- package/lib/components/logos/Paper.qwik.cjs +39 -38
- package/lib/components/logos/Paper.qwik.mjs +40 -38
- package/lib/components/logos/Purpur.d.ts +3 -0
- package/lib/components/logos/Purpur.qwik.cjs +73 -74
- package/lib/components/logos/Purpur.qwik.mjs +74 -74
- package/lib/components/logos/Waterfall.d.ts +3 -0
- package/lib/components/logos/Waterfall.qwik.cjs +18 -19
- package/lib/components/logos/Waterfall.qwik.mjs +18 -18
- package/lib/components/logos.d.ts +0 -3
- package/lib/index.qwik.cjs +41 -48
- package/lib/index.qwik.mjs +8 -38
- package/lib/svg/ChevronDown.qwik.cjs +18 -21
- package/lib/svg/ChevronDown.qwik.mjs +18 -20
- package/lib/svg/Link.qwik.cjs +27 -32
- package/lib/svg/Link.qwik.mjs +28 -32
- package/lib/svg/Menu.qwik.cjs +22 -29
- package/lib/svg/Menu.qwik.mjs +23 -29
- package/lib/svg/Minus.qwik.cjs +18 -21
- package/lib/svg/Minus.qwik.mjs +18 -20
- package/lib/svg/Plus.qwik.cjs +18 -26
- package/lib/svg/Plus.qwik.mjs +19 -26
- package/lib/svg/Shuffle.qwik.cjs +24 -35
- package/lib/svg/Shuffle.qwik.mjs +25 -35
- package/lib/utils/color.qwik.cjs +101 -115
- package/lib/utils/color.qwik.mjs +102 -122
- package/package.json +24 -24
- package/lib/components/logos/Discord.d.ts +0 -2
- package/lib/components/logos/Discord.qwik.cjs +0 -18
- package/lib/components/logos/Discord.qwik.mjs +0 -18
- package/lib/components/logos/Pterodactyl.d.ts +0 -2
- package/lib/components/logos/Pterodactyl.qwik.cjs +0 -35
- package/lib/components/logos/Pterodactyl.qwik.mjs +0 -35
- package/lib/components/logos/Velocity.d.ts +0 -2
- package/lib/components/logos/Velocity.qwik.cjs +0 -27
- package/lib/components/logos/Velocity.qwik.mjs +0 -27
|
@@ -1,26 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
size: 20
|
|
22
|
-
})
|
|
23
|
-
})
|
|
24
|
-
]
|
|
1
|
+
const require_Link = require("../../svg/Link.qwik.cjs");
|
|
2
|
+
let _qwik_dev_core_jsx_runtime = require("@qwik.dev/core/jsx-runtime");
|
|
3
|
+
let _qwik_dev_core = require("@qwik.dev/core");
|
|
4
|
+
//#region src/components/elements/Anchor.tsx
|
|
5
|
+
var Anchor = (0, _qwik_dev_core.component$)(({ id, ...props }) => /* @__PURE__ */ (0, _qwik_dev_core_jsx_runtime.jsxs)("div", {
|
|
6
|
+
...props,
|
|
7
|
+
class: {
|
|
8
|
+
"group flex items-center gap-2 scroll-mt-32": true,
|
|
9
|
+
...props.class
|
|
10
|
+
},
|
|
11
|
+
children: [/* @__PURE__ */ (0, _qwik_dev_core_jsx_runtime.jsx)(_qwik_dev_core.Slot, {}), id && /* @__PURE__ */ (0, _qwik_dev_core_jsx_runtime.jsx)("a", {
|
|
12
|
+
href: `#${id}`,
|
|
13
|
+
onClick$: async () => {
|
|
14
|
+
await navigator.clipboard.writeText(window.location.href);
|
|
15
|
+
},
|
|
16
|
+
children: /* @__PURE__ */ (0, _qwik_dev_core_jsx_runtime.jsx)(require_Link.Link, {
|
|
17
|
+
class: "opacity-10 transition-opacity duration-300 group-hover:opacity-100 group-hover:duration-75",
|
|
18
|
+
size: 20
|
|
19
|
+
})
|
|
20
|
+
})]
|
|
25
21
|
}));
|
|
22
|
+
//#endregion
|
|
26
23
|
exports.Anchor = Anchor;
|
|
@@ -1,26 +1,23 @@
|
|
|
1
|
-
import { jsxs, jsx } from "@qwik.dev/core/jsx-runtime";
|
|
2
|
-
import { component$, Slot } from "@qwik.dev/core";
|
|
3
1
|
import { Link } from "../../svg/Link.qwik.mjs";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
2
|
+
import { jsx, jsxs } from "@qwik.dev/core/jsx-runtime";
|
|
3
|
+
import { Slot, component$ } from "@qwik.dev/core";
|
|
4
|
+
//#region src/components/elements/Anchor.tsx
|
|
5
|
+
var Anchor = component$(({ id, ...props }) => /* @__PURE__ */ jsxs("div", {
|
|
6
|
+
...props,
|
|
7
|
+
class: {
|
|
8
|
+
"group flex items-center gap-2 scroll-mt-32": true,
|
|
9
|
+
...props.class
|
|
10
|
+
},
|
|
11
|
+
children: [/* @__PURE__ */ jsx(Slot, {}), id && /* @__PURE__ */ jsx("a", {
|
|
12
|
+
href: `#${id}`,
|
|
13
|
+
onClick$: async () => {
|
|
14
|
+
await navigator.clipboard.writeText(window.location.href);
|
|
15
|
+
},
|
|
16
|
+
children: /* @__PURE__ */ jsx(Link, {
|
|
17
|
+
class: "opacity-10 transition-opacity duration-300 group-hover:opacity-100 group-hover:duration-75",
|
|
18
|
+
size: 20
|
|
19
|
+
})
|
|
20
|
+
})]
|
|
23
21
|
}));
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
};
|
|
22
|
+
//#endregion
|
|
23
|
+
export { Anchor };
|
|
@@ -1,191 +1,185 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
]
|
|
1
|
+
let _qwik_dev_core_jsx_runtime = require("@qwik.dev/core/jsx-runtime");
|
|
2
|
+
let _qwik_dev_core = require("@qwik.dev/core");
|
|
3
|
+
//#region src/components/elements/Blobs.tsx
|
|
4
|
+
var blobColorClasses = {
|
|
5
|
+
slate: [
|
|
6
|
+
"bg-slate-400",
|
|
7
|
+
"bg-slate-500",
|
|
8
|
+
"bg-slate-600"
|
|
9
|
+
],
|
|
10
|
+
gray: [
|
|
11
|
+
"bg-gray-400",
|
|
12
|
+
"bg-gray-500",
|
|
13
|
+
"bg-gray-600"
|
|
14
|
+
],
|
|
15
|
+
darkgray: [
|
|
16
|
+
"bg-gray-500",
|
|
17
|
+
"bg-gray-600",
|
|
18
|
+
"bg-gray-700"
|
|
19
|
+
],
|
|
20
|
+
darkergray: [
|
|
21
|
+
"bg-gray-600",
|
|
22
|
+
"bg-gray-700",
|
|
23
|
+
"bg-gray-800"
|
|
24
|
+
],
|
|
25
|
+
zinc: [
|
|
26
|
+
"bg-zinc-400",
|
|
27
|
+
"bg-zinc-500",
|
|
28
|
+
"bg-zinc-600"
|
|
29
|
+
],
|
|
30
|
+
neutral: [
|
|
31
|
+
"bg-neutral-400",
|
|
32
|
+
"bg-neutral-500",
|
|
33
|
+
"bg-neutral-600"
|
|
34
|
+
],
|
|
35
|
+
stone: [
|
|
36
|
+
"bg-stone-400",
|
|
37
|
+
"bg-stone-500",
|
|
38
|
+
"bg-stone-600"
|
|
39
|
+
],
|
|
40
|
+
red: [
|
|
41
|
+
"bg-red-400",
|
|
42
|
+
"bg-red-500",
|
|
43
|
+
"bg-red-600"
|
|
44
|
+
],
|
|
45
|
+
orange: [
|
|
46
|
+
"bg-orange-400",
|
|
47
|
+
"bg-orange-500",
|
|
48
|
+
"bg-orange-600"
|
|
49
|
+
],
|
|
50
|
+
amber: [
|
|
51
|
+
"bg-amber-400",
|
|
52
|
+
"bg-amber-500",
|
|
53
|
+
"bg-amber-600"
|
|
54
|
+
],
|
|
55
|
+
yellow: [
|
|
56
|
+
"bg-yellow-400",
|
|
57
|
+
"bg-yellow-500",
|
|
58
|
+
"bg-yellow-600"
|
|
59
|
+
],
|
|
60
|
+
lime: [
|
|
61
|
+
"bg-lime-400",
|
|
62
|
+
"bg-lime-500",
|
|
63
|
+
"bg-lime-600"
|
|
64
|
+
],
|
|
65
|
+
green: [
|
|
66
|
+
"bg-green-400",
|
|
67
|
+
"bg-green-500",
|
|
68
|
+
"bg-green-600"
|
|
69
|
+
],
|
|
70
|
+
emerald: [
|
|
71
|
+
"bg-emerald-400",
|
|
72
|
+
"bg-emerald-500",
|
|
73
|
+
"bg-emerald-600"
|
|
74
|
+
],
|
|
75
|
+
teal: [
|
|
76
|
+
"bg-teal-400",
|
|
77
|
+
"bg-teal-500",
|
|
78
|
+
"bg-teal-600"
|
|
79
|
+
],
|
|
80
|
+
cyan: [
|
|
81
|
+
"bg-cyan-400",
|
|
82
|
+
"bg-cyan-500",
|
|
83
|
+
"bg-cyan-600"
|
|
84
|
+
],
|
|
85
|
+
sky: [
|
|
86
|
+
"bg-sky-400",
|
|
87
|
+
"bg-sky-500",
|
|
88
|
+
"bg-sky-600"
|
|
89
|
+
],
|
|
90
|
+
blue: [
|
|
91
|
+
"bg-blue-400",
|
|
92
|
+
"bg-blue-500",
|
|
93
|
+
"bg-blue-600"
|
|
94
|
+
],
|
|
95
|
+
indigo: [
|
|
96
|
+
"bg-indigo-400",
|
|
97
|
+
"bg-indigo-500",
|
|
98
|
+
"bg-indigo-600"
|
|
99
|
+
],
|
|
100
|
+
violet: [
|
|
101
|
+
"bg-violet-400",
|
|
102
|
+
"bg-violet-500",
|
|
103
|
+
"bg-violet-600"
|
|
104
|
+
],
|
|
105
|
+
purple: [
|
|
106
|
+
"bg-purple-400",
|
|
107
|
+
"bg-purple-500",
|
|
108
|
+
"bg-purple-600"
|
|
109
|
+
],
|
|
110
|
+
fuchsia: [
|
|
111
|
+
"bg-fuchsia-400",
|
|
112
|
+
"bg-fuchsia-500",
|
|
113
|
+
"bg-fuchsia-600"
|
|
114
|
+
],
|
|
115
|
+
pink: [
|
|
116
|
+
"bg-pink-400",
|
|
117
|
+
"bg-pink-500",
|
|
118
|
+
"bg-pink-600"
|
|
119
|
+
],
|
|
120
|
+
rose: [
|
|
121
|
+
"bg-rose-400",
|
|
122
|
+
"bg-rose-500",
|
|
123
|
+
"bg-rose-600"
|
|
124
|
+
]
|
|
126
125
|
};
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
126
|
+
var blobClasses = [
|
|
127
|
+
"animate-blob",
|
|
128
|
+
"animate-blob1",
|
|
129
|
+
"animate-blob2",
|
|
130
|
+
"animate-blob3",
|
|
131
|
+
"animate-blob4",
|
|
132
|
+
"animate-blob5",
|
|
133
|
+
"animate-blob6"
|
|
135
134
|
];
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
[blobClasses[blob]]: true,
|
|
184
|
-
[colorClass[2]]: true
|
|
185
|
-
}
|
|
186
|
-
})
|
|
187
|
-
]
|
|
188
|
-
});
|
|
135
|
+
var Blobs = (0, _qwik_dev_core.component$)(({ color = "darkgray", blur = "xl", ...props }) => {
|
|
136
|
+
const blob = Math.round(Math.random() * 6);
|
|
137
|
+
const colorClass = typeof color == "string" ? blobColorClasses[color] : color;
|
|
138
|
+
return /* @__PURE__ */ (0, _qwik_dev_core_jsx_runtime.jsxs)("div", {
|
|
139
|
+
class: {
|
|
140
|
+
"animate-in fade-in anim-duration-[2s] absolute inset-0 transition-all motion-reduce:hidden": true,
|
|
141
|
+
...props.class
|
|
142
|
+
},
|
|
143
|
+
style: {
|
|
144
|
+
containerType: "size",
|
|
145
|
+
...props.style
|
|
146
|
+
},
|
|
147
|
+
children: [
|
|
148
|
+
/* @__PURE__ */ (0, _qwik_dev_core_jsx_runtime.jsx)("div", { class: {
|
|
149
|
+
"absolute top-0 h-[30cqw] w-[30cqw] rounded-full opacity-20 ease-in-out": true,
|
|
150
|
+
"blur-xs": blur === "xs",
|
|
151
|
+
"blur-sm": blur === "sm",
|
|
152
|
+
"blur-md": blur === "md",
|
|
153
|
+
"blur-lg": blur === "lg",
|
|
154
|
+
"blur-xl": blur === "xl",
|
|
155
|
+
[blobClasses[blob]]: true,
|
|
156
|
+
[colorClass[0]]: true
|
|
157
|
+
} }),
|
|
158
|
+
/* @__PURE__ */ (0, _qwik_dev_core_jsx_runtime.jsx)("div", { class: {
|
|
159
|
+
"absolute top-0 h-[30cqw] w-[30cqw] rounded-full opacity-20 ease-in-out": true,
|
|
160
|
+
"blur-xs": blur === "xs",
|
|
161
|
+
"blur-sm": blur === "sm",
|
|
162
|
+
"blur-md": blur === "md",
|
|
163
|
+
"blur-lg": blur === "lg",
|
|
164
|
+
"blur-xl": blur === "xl",
|
|
165
|
+
"anim-delay-[-5s]": true,
|
|
166
|
+
[blobClasses[blob]]: true,
|
|
167
|
+
[colorClass[1]]: true
|
|
168
|
+
} }),
|
|
169
|
+
/* @__PURE__ */ (0, _qwik_dev_core_jsx_runtime.jsx)("div", { class: {
|
|
170
|
+
"absolute top-0 h-[30cqw] w-[30cqw] rounded-full opacity-20 ease-in-out": true,
|
|
171
|
+
"blur-xs": blur === "xs",
|
|
172
|
+
"blur-sm": blur === "sm",
|
|
173
|
+
"blur-md": blur === "md",
|
|
174
|
+
"blur-lg": blur === "lg",
|
|
175
|
+
"blur-xl": blur === "xl",
|
|
176
|
+
"anim-delay-[-10s]": true,
|
|
177
|
+
[blobClasses[blob]]: true,
|
|
178
|
+
[colorClass[2]]: true
|
|
179
|
+
} })
|
|
180
|
+
]
|
|
181
|
+
});
|
|
189
182
|
});
|
|
183
|
+
//#endregion
|
|
190
184
|
exports.Blobs = Blobs;
|
|
191
185
|
exports.blobColorClasses = blobColorClasses;
|