@luminescent/ui-qwik 6.8.2 → 6.8.3-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 +4 -0
- package/lib/components/docs/Blobs.d.ts +4 -0
- package/lib/components/docs/ColorPicker.d.ts +4 -0
- package/lib/components/docs/Dropdown.d.ts +4 -0
- package/lib/components/docs/IconsLogos.d.ts +4 -0
- package/lib/components/docs/Nav.d.ts +4 -0
- package/lib/components/docs/NumberInput.d.ts +4 -0
- package/lib/components/docs/RangeInput.d.ts +4 -0
- package/lib/components/docs/SelectMenu.d.ts +4 -0
- package/lib/components/docs/Settings.d.ts +2 -0
- package/lib/components/docs/Sidebar.d.ts +4 -0
- package/lib/components/docs/Toggle.d.ts +4 -0
- package/lib/components/docs/lum-btn.d.ts +4 -0
- package/lib/components/docs/lum-card.d.ts +4 -0
- package/lib/components/docs/lum-classes.d.ts +4 -0
- package/lib/components/docs/lum-input.d.ts +4 -0
- package/{lib-types → lib}/components/elements/Anchor.d.ts +2 -2
- package/lib/components/elements/Anchor.qwik.cjs +26 -0
- package/lib/components/elements/Anchor.qwik.mjs +26 -0
- package/{lib-types → lib}/components/elements/Blobs.d.ts +1 -1
- package/lib/components/elements/Blobs.qwik.cjs +191 -0
- package/lib/components/elements/Blobs.qwik.mjs +191 -0
- package/{lib-types → lib}/components/elements/ColorPicker.d.ts +2 -2
- package/lib/components/elements/ColorPicker.qwik.cjs +314 -0
- package/lib/components/elements/ColorPicker.qwik.mjs +314 -0
- package/{lib-types → lib}/components/elements/Dropdown.d.ts +2 -2
- package/lib/components/elements/Dropdown.qwik.cjs +31 -0
- package/lib/components/elements/Dropdown.qwik.mjs +31 -0
- package/{lib-types → lib}/components/elements/Nav.d.ts +2 -2
- package/lib/components/elements/Nav.qwik.cjs +98 -0
- package/lib/components/elements/Nav.qwik.mjs +98 -0
- package/{lib-types → lib}/components/elements/NumberInput.d.ts +3 -3
- package/lib/components/elements/NumberInput.qwik.cjs +87 -0
- package/lib/components/elements/NumberInput.qwik.mjs +87 -0
- package/{lib-types → lib}/components/elements/RangeInput.d.ts +3 -3
- package/lib/components/elements/RangeInput.qwik.cjs +77 -0
- package/lib/components/elements/RangeInput.qwik.mjs +77 -0
- package/{lib-types → lib}/components/elements/SelectMenu.d.ts +3 -3
- package/lib/components/elements/SelectMenu.qwik.cjs +134 -0
- package/lib/components/elements/SelectMenu.qwik.mjs +134 -0
- package/{lib-types → lib}/components/elements/Sidebar.d.ts +2 -2
- package/lib/components/elements/Sidebar.qwik.cjs +37 -0
- package/lib/components/elements/Sidebar.qwik.mjs +37 -0
- package/{lib-types → lib}/components/elements/Toggle.d.ts +2 -2
- package/lib/components/elements/Toggle.qwik.cjs +39 -0
- package/lib/components/elements/Toggle.qwik.mjs +39 -0
- package/lib/components/functions.qwik.cjs +18 -0
- package/lib/components/functions.qwik.mjs +18 -0
- package/{lib-types → lib}/components/logos/Birdflop.d.ts +1 -1
- package/lib/components/logos/Birdflop.qwik.cjs +73 -0
- package/lib/components/logos/Birdflop.qwik.mjs +73 -0
- package/lib/components/logos/Discord.d.ts +2 -0
- package/lib/components/logos/Discord.qwik.cjs +18 -0
- package/lib/components/logos/Discord.qwik.mjs +18 -0
- package/lib/components/logos/Fabric.d.ts +2 -0
- package/lib/components/logos/Fabric.qwik.cjs +32 -0
- package/lib/components/logos/Fabric.qwik.mjs +32 -0
- package/lib/components/logos/Forge.d.ts +2 -0
- package/lib/components/logos/Forge.qwik.cjs +31 -0
- package/lib/components/logos/Forge.qwik.mjs +31 -0
- package/{lib-types → lib}/components/logos/IconProps.d.ts +1 -1
- package/lib/components/logos/Luminescent.d.ts +3 -0
- package/lib/components/logos/Luminescent.qwik.cjs +143 -0
- package/lib/components/logos/Luminescent.qwik.mjs +143 -0
- package/lib/components/logos/Paper.d.ts +2 -0
- package/lib/components/logos/Paper.qwik.cjs +40 -0
- package/lib/components/logos/Paper.qwik.mjs +40 -0
- package/{lib-types/components/logos/Waterfall.d.ts → lib/components/logos/Pterodactyl.d.ts} +1 -1
- package/lib/components/logos/Pterodactyl.qwik.cjs +35 -0
- package/lib/components/logos/Pterodactyl.qwik.mjs +35 -0
- package/lib/components/logos/Purpur.d.ts +2 -0
- package/lib/components/logos/Purpur.qwik.cjs +76 -0
- package/lib/components/logos/Purpur.qwik.mjs +76 -0
- package/{lib-types/components/logos/Purpur.d.ts → lib/components/logos/Velocity.d.ts} +1 -1
- package/lib/components/logos/Velocity.qwik.cjs +27 -0
- package/lib/components/logos/Velocity.qwik.mjs +27 -0
- package/{lib-types/components/logos/Discord.d.ts → lib/components/logos/Waterfall.d.ts} +1 -1
- package/lib/components/logos/Waterfall.qwik.cjs +21 -0
- package/lib/components/logos/Waterfall.qwik.mjs +21 -0
- package/lib/index.qwik.cjs +47 -1730
- package/lib/index.qwik.mjs +21 -1704
- package/lib/svg/ChevronDown.d.ts +2 -0
- package/lib/svg/ChevronDown.qwik.cjs +23 -0
- package/lib/svg/ChevronDown.qwik.mjs +23 -0
- package/lib/svg/Link.d.ts +2 -0
- package/lib/svg/Link.qwik.cjs +34 -0
- package/lib/svg/Link.qwik.mjs +34 -0
- package/lib/svg/Menu.d.ts +2 -0
- package/lib/svg/Menu.qwik.cjs +31 -0
- package/lib/svg/Menu.qwik.mjs +31 -0
- package/lib/svg/Minus.d.ts +2 -0
- package/lib/svg/Minus.qwik.cjs +23 -0
- package/lib/svg/Minus.qwik.mjs +23 -0
- package/lib/svg/Plus.d.ts +2 -0
- package/lib/svg/Plus.qwik.cjs +28 -0
- package/lib/svg/Plus.qwik.mjs +28 -0
- package/{lib-types/svg/Minus.d.ts → lib/svg/Shuffle.d.ts} +1 -1
- package/lib/svg/Shuffle.qwik.cjs +37 -0
- package/lib/svg/Shuffle.qwik.mjs +37 -0
- package/lib/utils/color.qwik.cjs +134 -0
- package/lib/utils/color.qwik.mjs +134 -0
- package/package.json +22 -25
- package/LICENSE +0 -661
- package/lib-types/components/docs/Anchor.d.ts +0 -4
- package/lib-types/components/docs/Blobs.d.ts +0 -4
- package/lib-types/components/docs/ColorPicker.d.ts +0 -4
- package/lib-types/components/docs/Dropdown.d.ts +0 -4
- package/lib-types/components/docs/IconsLogos.d.ts +0 -4
- package/lib-types/components/docs/Nav.d.ts +0 -4
- package/lib-types/components/docs/NumberInput.d.ts +0 -4
- package/lib-types/components/docs/RangeInput.d.ts +0 -4
- package/lib-types/components/docs/SelectMenu.d.ts +0 -4
- package/lib-types/components/docs/Settings.d.ts +0 -2
- package/lib-types/components/docs/Sidebar.d.ts +0 -4
- package/lib-types/components/docs/Toggle.d.ts +0 -4
- package/lib-types/components/docs/lum-btn.d.ts +0 -4
- package/lib-types/components/docs/lum-card.d.ts +0 -4
- package/lib-types/components/docs/lum-classes.d.ts +0 -4
- package/lib-types/components/docs/lum-input.d.ts +0 -4
- package/lib-types/components/logos/Fabric.d.ts +0 -2
- package/lib-types/components/logos/Forge.d.ts +0 -2
- package/lib-types/components/logos/Luminescent.d.ts +0 -3
- package/lib-types/components/logos/Paper.d.ts +0 -2
- package/lib-types/components/logos/Pterodactyl.d.ts +0 -2
- package/lib-types/components/logos/Velocity.d.ts +0 -2
- package/lib-types/entry.dev.d.ts +0 -2
- package/lib-types/entry.ssr.d.ts +0 -14
- package/lib-types/root.d.ts +0 -3
- package/lib-types/svg/ChevronDown.d.ts +0 -2
- package/lib-types/svg/Link.d.ts +0 -2
- package/lib-types/svg/Menu.d.ts +0 -2
- package/lib-types/svg/Plus.d.ts +0 -2
- package/lib-types/svg/Shuffle.d.ts +0 -2
- package/tailwind.config.js +0 -94
- /package/{lib-types → lib}/components/elements.d.ts +0 -0
- /package/{lib-types → lib}/components/functions.d.ts +0 -0
- /package/{lib-types → lib}/components/logos.d.ts +0 -0
- /package/{lib-types → lib}/index.d.ts +0 -0
- /package/{lib-types → lib}/utils/color.d.ts +0 -0
package/lib/index.qwik.mjs
CHANGED
|
@@ -1,1707 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}),
|
|
23
|
-
/* @__PURE__ */ jsx("line", {
|
|
24
|
-
x1: "8",
|
|
25
|
-
x2: "16",
|
|
26
|
-
y1: "12",
|
|
27
|
-
y2: "12"
|
|
28
|
-
})
|
|
29
|
-
]
|
|
30
|
-
});
|
|
31
|
-
});
|
|
32
|
-
const Anchor = component$(({ id, ...props }) => /* @__PURE__ */ jsxs("div", {
|
|
33
|
-
...props,
|
|
34
|
-
class: {
|
|
35
|
-
"group flex items-center gap-2 scroll-mt-32": true,
|
|
36
|
-
...props.class
|
|
37
|
-
},
|
|
38
|
-
children: [
|
|
39
|
-
/* @__PURE__ */ jsx(Slot, {}),
|
|
40
|
-
id && /* @__PURE__ */ jsx("a", {
|
|
41
|
-
href: `#${id}`,
|
|
42
|
-
onClick$: async () => {
|
|
43
|
-
await navigator.clipboard.writeText(window.location.href);
|
|
44
|
-
},
|
|
45
|
-
children: /* @__PURE__ */ jsx(Link, {
|
|
46
|
-
class: "opacity-10 transition-opacity duration-300 group-hover:opacity-100 group-hover:duration-75",
|
|
47
|
-
size: 20
|
|
48
|
-
})
|
|
49
|
-
})
|
|
50
|
-
]
|
|
51
|
-
}));
|
|
52
|
-
const blobColorClasses = {
|
|
53
|
-
slate: [
|
|
54
|
-
"bg-slate-400",
|
|
55
|
-
"bg-slate-500",
|
|
56
|
-
"bg-slate-600"
|
|
57
|
-
],
|
|
58
|
-
gray: [
|
|
59
|
-
"bg-gray-400",
|
|
60
|
-
"bg-gray-500",
|
|
61
|
-
"bg-gray-600"
|
|
62
|
-
],
|
|
63
|
-
darkgray: [
|
|
64
|
-
"bg-gray-500",
|
|
65
|
-
"bg-gray-600",
|
|
66
|
-
"bg-gray-700"
|
|
67
|
-
],
|
|
68
|
-
darkergray: [
|
|
69
|
-
"bg-gray-600",
|
|
70
|
-
"bg-gray-700",
|
|
71
|
-
"bg-gray-800"
|
|
72
|
-
],
|
|
73
|
-
zinc: [
|
|
74
|
-
"bg-zinc-400",
|
|
75
|
-
"bg-zinc-500",
|
|
76
|
-
"bg-zinc-600"
|
|
77
|
-
],
|
|
78
|
-
neutral: [
|
|
79
|
-
"bg-neutral-400",
|
|
80
|
-
"bg-neutral-500",
|
|
81
|
-
"bg-neutral-600"
|
|
82
|
-
],
|
|
83
|
-
stone: [
|
|
84
|
-
"bg-stone-400",
|
|
85
|
-
"bg-stone-500",
|
|
86
|
-
"bg-stone-600"
|
|
87
|
-
],
|
|
88
|
-
red: [
|
|
89
|
-
"bg-red-400",
|
|
90
|
-
"bg-red-500",
|
|
91
|
-
"bg-red-600"
|
|
92
|
-
],
|
|
93
|
-
orange: [
|
|
94
|
-
"bg-orange-400",
|
|
95
|
-
"bg-orange-500",
|
|
96
|
-
"bg-orange-600"
|
|
97
|
-
],
|
|
98
|
-
amber: [
|
|
99
|
-
"bg-amber-400",
|
|
100
|
-
"bg-amber-500",
|
|
101
|
-
"bg-amber-600"
|
|
102
|
-
],
|
|
103
|
-
yellow: [
|
|
104
|
-
"bg-yellow-400",
|
|
105
|
-
"bg-yellow-500",
|
|
106
|
-
"bg-yellow-600"
|
|
107
|
-
],
|
|
108
|
-
lime: [
|
|
109
|
-
"bg-lime-400",
|
|
110
|
-
"bg-lime-500",
|
|
111
|
-
"bg-lime-600"
|
|
112
|
-
],
|
|
113
|
-
green: [
|
|
114
|
-
"bg-green-400",
|
|
115
|
-
"bg-green-500",
|
|
116
|
-
"bg-green-600"
|
|
117
|
-
],
|
|
118
|
-
emerald: [
|
|
119
|
-
"bg-emerald-400",
|
|
120
|
-
"bg-emerald-500",
|
|
121
|
-
"bg-emerald-600"
|
|
122
|
-
],
|
|
123
|
-
teal: [
|
|
124
|
-
"bg-teal-400",
|
|
125
|
-
"bg-teal-500",
|
|
126
|
-
"bg-teal-600"
|
|
127
|
-
],
|
|
128
|
-
cyan: [
|
|
129
|
-
"bg-cyan-400",
|
|
130
|
-
"bg-cyan-500",
|
|
131
|
-
"bg-cyan-600"
|
|
132
|
-
],
|
|
133
|
-
sky: [
|
|
134
|
-
"bg-sky-400",
|
|
135
|
-
"bg-sky-500",
|
|
136
|
-
"bg-sky-600"
|
|
137
|
-
],
|
|
138
|
-
blue: [
|
|
139
|
-
"bg-blue-400",
|
|
140
|
-
"bg-blue-500",
|
|
141
|
-
"bg-blue-600"
|
|
142
|
-
],
|
|
143
|
-
indigo: [
|
|
144
|
-
"bg-indigo-400",
|
|
145
|
-
"bg-indigo-500",
|
|
146
|
-
"bg-indigo-600"
|
|
147
|
-
],
|
|
148
|
-
violet: [
|
|
149
|
-
"bg-violet-400",
|
|
150
|
-
"bg-violet-500",
|
|
151
|
-
"bg-violet-600"
|
|
152
|
-
],
|
|
153
|
-
purple: [
|
|
154
|
-
"bg-purple-400",
|
|
155
|
-
"bg-purple-500",
|
|
156
|
-
"bg-purple-600"
|
|
157
|
-
],
|
|
158
|
-
fuchsia: [
|
|
159
|
-
"bg-fuchsia-400",
|
|
160
|
-
"bg-fuchsia-500",
|
|
161
|
-
"bg-fuchsia-600"
|
|
162
|
-
],
|
|
163
|
-
pink: [
|
|
164
|
-
"bg-pink-400",
|
|
165
|
-
"bg-pink-500",
|
|
166
|
-
"bg-pink-600"
|
|
167
|
-
],
|
|
168
|
-
rose: [
|
|
169
|
-
"bg-rose-400",
|
|
170
|
-
"bg-rose-500",
|
|
171
|
-
"bg-rose-600"
|
|
172
|
-
]
|
|
173
|
-
};
|
|
174
|
-
const blobClasses = [
|
|
175
|
-
"animate-blob",
|
|
176
|
-
"animate-blob1",
|
|
177
|
-
"animate-blob2",
|
|
178
|
-
"animate-blob3",
|
|
179
|
-
"animate-blob4",
|
|
180
|
-
"animate-blob5",
|
|
181
|
-
"animate-blob6"
|
|
182
|
-
];
|
|
183
|
-
const Blobs = component$(({ color = "darkgray", blur = "xl", ...props }) => {
|
|
184
|
-
const blob = Math.round(Math.random() * 6);
|
|
185
|
-
const colorClass = typeof color == "string" ? blobColorClasses[color] : color;
|
|
186
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
187
|
-
class: {
|
|
188
|
-
"animate-in fade-in anim-duration-[2s] absolute inset-0 transition-all motion-reduce:hidden": true,
|
|
189
|
-
...props.class
|
|
190
|
-
},
|
|
191
|
-
style: {
|
|
192
|
-
containerType: "size",
|
|
193
|
-
...props.style
|
|
194
|
-
},
|
|
195
|
-
children: [
|
|
196
|
-
/* @__PURE__ */ jsx("div", {
|
|
197
|
-
class: {
|
|
198
|
-
"absolute top-0 h-[30cqw] w-[30cqw] rounded-full opacity-20 ease-in-out": true,
|
|
199
|
-
"blur-xs": blur === "xs",
|
|
200
|
-
"blur-sm": blur === "sm",
|
|
201
|
-
"blur-md": blur === "md",
|
|
202
|
-
"blur-lg": blur === "lg",
|
|
203
|
-
"blur-xl": blur === "xl",
|
|
204
|
-
[blobClasses[blob]]: true,
|
|
205
|
-
[colorClass[0]]: true
|
|
206
|
-
}
|
|
207
|
-
}),
|
|
208
|
-
/* @__PURE__ */ jsx("div", {
|
|
209
|
-
class: {
|
|
210
|
-
"absolute top-0 h-[30cqw] w-[30cqw] rounded-full opacity-20 ease-in-out": true,
|
|
211
|
-
"blur-xs": blur === "xs",
|
|
212
|
-
"blur-sm": blur === "sm",
|
|
213
|
-
"blur-md": blur === "md",
|
|
214
|
-
"blur-lg": blur === "lg",
|
|
215
|
-
"blur-xl": blur === "xl",
|
|
216
|
-
"anim-delay-[-5s]": true,
|
|
217
|
-
[blobClasses[blob]]: true,
|
|
218
|
-
[colorClass[1]]: true
|
|
219
|
-
}
|
|
220
|
-
}),
|
|
221
|
-
/* @__PURE__ */ jsx("div", {
|
|
222
|
-
class: {
|
|
223
|
-
"absolute top-0 h-[30cqw] w-[30cqw] rounded-full opacity-20 ease-in-out": true,
|
|
224
|
-
"blur-xs": blur === "xs",
|
|
225
|
-
"blur-sm": blur === "sm",
|
|
226
|
-
"blur-md": blur === "md",
|
|
227
|
-
"blur-lg": blur === "lg",
|
|
228
|
-
"blur-xl": blur === "xl",
|
|
229
|
-
"anim-delay-[-10s]": true,
|
|
230
|
-
[blobClasses[blob]]: true,
|
|
231
|
-
[colorClass[2]]: true
|
|
232
|
-
}
|
|
233
|
-
})
|
|
234
|
-
]
|
|
235
|
-
});
|
|
236
|
-
});
|
|
237
|
-
const clamp = (value, min, max) => Math.min(Math.max(value, min), max);
|
|
238
|
-
function getMousePosition(e) {
|
|
239
|
-
if (window.TouchEvent && e instanceof TouchEvent) {
|
|
240
|
-
const touch = e.touches[0];
|
|
241
|
-
return {
|
|
242
|
-
x: touch.clientX,
|
|
243
|
-
y: touch.clientY
|
|
244
|
-
};
|
|
245
|
-
}
|
|
246
|
-
const mouse = e;
|
|
247
|
-
return {
|
|
248
|
-
x: mouse.clientX,
|
|
249
|
-
y: mouse.clientY
|
|
250
|
-
};
|
|
251
|
-
}
|
|
252
|
-
const pad2 = (c) => c.length == 1 ? "0" + c : "" + c;
|
|
253
|
-
function getBrightness(color) {
|
|
254
|
-
const { r, g, b } = color;
|
|
255
|
-
return (r * 299 + g * 587 + b * 114) / 1e3;
|
|
256
|
-
}
|
|
257
|
-
function hexToRgba(hex) {
|
|
258
|
-
const num = parseInt(hex.replace("#", ""), 16);
|
|
259
|
-
if (num <= 16777215) {
|
|
260
|
-
const r2 = (num >> 16 & 255) / 255;
|
|
261
|
-
const g2 = (num >> 8 & 255) / 255;
|
|
262
|
-
const b2 = (num & 255) / 255;
|
|
263
|
-
return {
|
|
264
|
-
r: r2,
|
|
265
|
-
g: g2,
|
|
266
|
-
b: b2
|
|
267
|
-
};
|
|
268
|
-
}
|
|
269
|
-
const r = (num >> 24 & 255) / 255;
|
|
270
|
-
const g = (num >> 16 & 255) / 255;
|
|
271
|
-
const b = (num >> 8 & 255) / 255;
|
|
272
|
-
const a = (num & 255) / 255;
|
|
273
|
-
return {
|
|
274
|
-
r,
|
|
275
|
-
g,
|
|
276
|
-
b,
|
|
277
|
-
a
|
|
278
|
-
};
|
|
279
|
-
}
|
|
280
|
-
function rgbToHex(color) {
|
|
281
|
-
const { r, g, b, a } = color;
|
|
282
|
-
const hex = [
|
|
283
|
-
"#",
|
|
284
|
-
pad2(Math.round(r * 255).toString(16)),
|
|
285
|
-
pad2(Math.round(g * 255).toString(16)),
|
|
286
|
-
pad2(Math.round(b * 255).toString(16)),
|
|
287
|
-
a !== void 0 && a !== 1 ? pad2(Math.round(a * 255).toString(16)) : ""
|
|
288
|
-
];
|
|
289
|
-
return hex.join("").toUpperCase();
|
|
290
|
-
}
|
|
291
|
-
function hsvToRgb(color) {
|
|
292
|
-
let { h } = color;
|
|
293
|
-
const { s, v, a } = color;
|
|
294
|
-
h *= 6;
|
|
295
|
-
const i = Math.floor(h);
|
|
296
|
-
const f = h - i;
|
|
297
|
-
const p = v * (1 - s);
|
|
298
|
-
const q = v * (1 - f * s);
|
|
299
|
-
const t = v * (1 - (1 - f) * s);
|
|
300
|
-
const mod = i % 6;
|
|
301
|
-
const r = [
|
|
302
|
-
v,
|
|
303
|
-
q,
|
|
304
|
-
p,
|
|
305
|
-
p,
|
|
306
|
-
t,
|
|
307
|
-
v
|
|
308
|
-
][mod];
|
|
309
|
-
const g = [
|
|
310
|
-
t,
|
|
311
|
-
v,
|
|
312
|
-
v,
|
|
313
|
-
q,
|
|
314
|
-
p,
|
|
315
|
-
p
|
|
316
|
-
][mod];
|
|
317
|
-
const b = [
|
|
318
|
-
p,
|
|
319
|
-
p,
|
|
320
|
-
t,
|
|
321
|
-
v,
|
|
322
|
-
v,
|
|
323
|
-
q
|
|
324
|
-
][mod];
|
|
325
|
-
return {
|
|
326
|
-
r,
|
|
327
|
-
g,
|
|
328
|
-
b,
|
|
329
|
-
a
|
|
330
|
-
};
|
|
331
|
-
}
|
|
332
|
-
function rgbToHsv(color) {
|
|
333
|
-
const { r, g, b, a } = color;
|
|
334
|
-
const max = Math.max(r, g, b);
|
|
335
|
-
const min = Math.min(r, g, b);
|
|
336
|
-
const d = max - min;
|
|
337
|
-
const s = max === 0 ? 0 : d / max;
|
|
338
|
-
const v = max;
|
|
339
|
-
let h = 0;
|
|
340
|
-
if (max != min) {
|
|
341
|
-
switch (max) {
|
|
342
|
-
case r:
|
|
343
|
-
h = (g - b) / d + (g < b ? 6 : 0);
|
|
344
|
-
break;
|
|
345
|
-
case g:
|
|
346
|
-
h = (b - r) / d + 2;
|
|
347
|
-
break;
|
|
348
|
-
case b:
|
|
349
|
-
h = (r - g) / d + 4;
|
|
350
|
-
break;
|
|
351
|
-
}
|
|
352
|
-
h /= 6;
|
|
353
|
-
}
|
|
354
|
-
return {
|
|
355
|
-
h,
|
|
356
|
-
s,
|
|
357
|
-
v,
|
|
358
|
-
a
|
|
359
|
-
};
|
|
360
|
-
}
|
|
361
|
-
const Shuffle = component$(({ size, ...props }) => {
|
|
362
|
-
return /* @__PURE__ */ jsxs("svg", {
|
|
363
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
364
|
-
width: size,
|
|
365
|
-
height: size,
|
|
366
|
-
viewBox: "0 0 24 24",
|
|
367
|
-
fill: "none",
|
|
368
|
-
stroke: "currentColor",
|
|
369
|
-
"stroke-width": "2",
|
|
370
|
-
"stroke-linecap": "round",
|
|
371
|
-
"stroke-linejoin": "round",
|
|
372
|
-
class: "lucide lucide-shuffle-icon lucide-shuffle",
|
|
373
|
-
...props,
|
|
374
|
-
children: [
|
|
375
|
-
/* @__PURE__ */ jsx("path", {
|
|
376
|
-
d: "m18 14 4 4-4 4"
|
|
377
|
-
}),
|
|
378
|
-
/* @__PURE__ */ jsx("path", {
|
|
379
|
-
d: "m18 2 4 4-4 4"
|
|
380
|
-
}),
|
|
381
|
-
/* @__PURE__ */ jsx("path", {
|
|
382
|
-
d: "M2 18h1.973a4 4 0 0 0 3.3-1.7l5.454-8.6a4 4 0 0 1 3.3-1.7H22"
|
|
383
|
-
}),
|
|
384
|
-
/* @__PURE__ */ jsx("path", {
|
|
385
|
-
d: "M2 6h1.972a4 4 0 0 1 3.6 2.2"
|
|
386
|
-
}),
|
|
387
|
-
/* @__PURE__ */ jsx("path", {
|
|
388
|
-
d: "M22 18h-6.041a4 4 0 0 1-3.3-1.8l-.359-.45"
|
|
389
|
-
})
|
|
390
|
-
]
|
|
391
|
-
});
|
|
392
|
-
});
|
|
393
|
-
const ColorPicker = component$(({ id, value = "#000000", colors = [
|
|
394
|
-
"#FAEDCB",
|
|
395
|
-
"#C9E4DE",
|
|
396
|
-
"#C6DEF1",
|
|
397
|
-
"#DBCDF0",
|
|
398
|
-
"#F2C6DE",
|
|
399
|
-
"#FCD05C",
|
|
400
|
-
"#5FE2C5",
|
|
401
|
-
"#4498DB",
|
|
402
|
-
"#9863E7",
|
|
403
|
-
"#E43A96",
|
|
404
|
-
"#000000",
|
|
405
|
-
"#555555",
|
|
406
|
-
"#AAAAAA",
|
|
407
|
-
"#FFFFFF"
|
|
408
|
-
], onInput$, preview = "left", horizontal, showInput = true, opacity, ...props }) => {
|
|
409
|
-
const height = 150;
|
|
410
|
-
const width = height - 25;
|
|
411
|
-
const maxHue = height - 2;
|
|
412
|
-
const hsvColor = rgbToHsv(hexToRgba(value));
|
|
413
|
-
const store = useStore({
|
|
414
|
-
hue: {
|
|
415
|
-
position: hsvColor.h * maxHue,
|
|
416
|
-
color: rgbToHex(hsvToRgb({
|
|
417
|
-
h: hsvColor.h,
|
|
418
|
-
s: 1,
|
|
419
|
-
v: 1
|
|
420
|
-
}))
|
|
421
|
-
},
|
|
422
|
-
opacity: {
|
|
423
|
-
position: hsvColor.a !== void 0 ? (1 - hsvColor.a) * maxHue : 0
|
|
424
|
-
},
|
|
425
|
-
bPosition: (1 - hsvColor.v) * maxHue,
|
|
426
|
-
sPosition: hsvColor.s * width,
|
|
427
|
-
value
|
|
428
|
-
});
|
|
429
|
-
const setColor = $(async (color) => {
|
|
430
|
-
if (!/^#[0-9a-f]{0,8}$/i.test(color)) return;
|
|
431
|
-
const hsv = rgbToHsv(hexToRgba(color));
|
|
432
|
-
store.hue.position = hsv.h * maxHue;
|
|
433
|
-
store.hue.color = rgbToHex(hsvToRgb({
|
|
434
|
-
h: hsv.h,
|
|
435
|
-
s: 1,
|
|
436
|
-
v: 1,
|
|
437
|
-
a: hsv.a
|
|
438
|
-
}));
|
|
439
|
-
store.sPosition = hsv.s * width;
|
|
440
|
-
store.bPosition = (1 - hsv.v) * maxHue;
|
|
441
|
-
store.value = color;
|
|
442
|
-
await onInput$?.(store.value);
|
|
443
|
-
});
|
|
444
|
-
const hueChange = $(async (e, hOffset) => {
|
|
445
|
-
const { y } = getMousePosition(e);
|
|
446
|
-
store.hue.position = clamp(maxHue - (y - hOffset), 0, maxHue);
|
|
447
|
-
const hsvColor2 = rgbToHsv(hexToRgba(store.value));
|
|
448
|
-
const h = store.hue.position / maxHue;
|
|
449
|
-
hsvColor2.h = h;
|
|
450
|
-
store.hue.color = rgbToHex(hsvToRgb({
|
|
451
|
-
h,
|
|
452
|
-
s: 1,
|
|
453
|
-
v: 1,
|
|
454
|
-
a: hsvColor2.a
|
|
455
|
-
}));
|
|
456
|
-
store.value = rgbToHex(hsvToRgb(hsvColor2));
|
|
457
|
-
await onInput$?.(store.value);
|
|
458
|
-
});
|
|
459
|
-
const hueMouseDown = $(async (e, el) => {
|
|
460
|
-
const hOffset = el.getBoundingClientRect().top;
|
|
461
|
-
await hueChange(e, hOffset);
|
|
462
|
-
const eventListener = (e2) => void hueChange(e2, hOffset);
|
|
463
|
-
window.addEventListener("mousemove", eventListener);
|
|
464
|
-
window.addEventListener("touchmove", eventListener);
|
|
465
|
-
const mouseUpListener = () => {
|
|
466
|
-
window.removeEventListener("mousemove", eventListener);
|
|
467
|
-
window.removeEventListener("touchmove", eventListener);
|
|
468
|
-
window.removeEventListener("mouseup", mouseUpListener);
|
|
469
|
-
window.removeEventListener("touchend", mouseUpListener);
|
|
470
|
-
};
|
|
471
|
-
window.addEventListener("mouseup", mouseUpListener);
|
|
472
|
-
window.addEventListener("touchend", mouseUpListener);
|
|
473
|
-
});
|
|
474
|
-
const sbChange = $(async (e, hOffset) => {
|
|
475
|
-
const { x, y } = getMousePosition(e);
|
|
476
|
-
store.bPosition = clamp(y - hOffset.top, 0, maxHue);
|
|
477
|
-
store.sPosition = clamp(x - hOffset.left, 0, width);
|
|
478
|
-
const s = store.sPosition / width;
|
|
479
|
-
const v = 1 - store.bPosition / maxHue;
|
|
480
|
-
store.value = rgbToHex(hsvToRgb({
|
|
481
|
-
h: store.hue.position / maxHue,
|
|
482
|
-
s,
|
|
483
|
-
v,
|
|
484
|
-
a: store.opacity.position !== void 0 ? 1 - store.opacity.position / maxHue : 1
|
|
485
|
-
}));
|
|
486
|
-
await onInput$?.(store.value);
|
|
487
|
-
});
|
|
488
|
-
const sbMouseDown = $(async (e, el) => {
|
|
489
|
-
const offset = el.getBoundingClientRect();
|
|
490
|
-
await sbChange(e, offset);
|
|
491
|
-
const eventListener = (e2) => void sbChange(e2, offset);
|
|
492
|
-
window.addEventListener("mousemove", eventListener);
|
|
493
|
-
window.addEventListener("touchmove", eventListener);
|
|
494
|
-
const mouseUpListener = () => {
|
|
495
|
-
window.removeEventListener("mousemove", eventListener);
|
|
496
|
-
window.removeEventListener("touchmove", eventListener);
|
|
497
|
-
window.removeEventListener("mouseup", mouseUpListener);
|
|
498
|
-
window.removeEventListener("touchend", mouseUpListener);
|
|
499
|
-
};
|
|
500
|
-
window.addEventListener("mouseup", mouseUpListener);
|
|
501
|
-
window.addEventListener("touchend", mouseUpListener);
|
|
502
|
-
});
|
|
503
|
-
const opacityChange = $(async (e, hOffset) => {
|
|
504
|
-
const { x } = getMousePosition(e);
|
|
505
|
-
store.opacity.position = clamp(x - hOffset.left, 0, maxHue);
|
|
506
|
-
const a = 1 - store.opacity.position / maxHue;
|
|
507
|
-
const hsvColor2 = rgbToHsv(hexToRgba(store.value));
|
|
508
|
-
hsvColor2.a = a;
|
|
509
|
-
store.value = rgbToHex(hsvToRgb(hsvColor2));
|
|
510
|
-
await onInput$?.(store.value);
|
|
511
|
-
});
|
|
512
|
-
const opacityMouseDown = $(async (e, el) => {
|
|
513
|
-
const offset = el.getBoundingClientRect();
|
|
514
|
-
await opacityChange(e, offset);
|
|
515
|
-
const eventListener = (e2) => void opacityChange(e2, offset);
|
|
516
|
-
window.addEventListener("mousemove", eventListener);
|
|
517
|
-
window.addEventListener("touchmove", eventListener);
|
|
518
|
-
const mouseUpListener = () => {
|
|
519
|
-
window.removeEventListener("mousemove", eventListener);
|
|
520
|
-
window.removeEventListener("touchmove", eventListener);
|
|
521
|
-
window.removeEventListener("mouseup", mouseUpListener);
|
|
522
|
-
window.removeEventListener("touchend", mouseUpListener);
|
|
523
|
-
};
|
|
524
|
-
window.addEventListener("mouseup", mouseUpListener);
|
|
525
|
-
window.addEventListener("touchend", mouseUpListener);
|
|
526
|
-
});
|
|
527
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
528
|
-
class: {
|
|
529
|
-
"lum-card touch-none p-4": true,
|
|
530
|
-
"flex-col": !horizontal,
|
|
531
|
-
...props.class
|
|
532
|
-
},
|
|
533
|
-
id,
|
|
534
|
-
onInput$: async (e, el) => {
|
|
535
|
-
if (!el.dataset.value) return;
|
|
536
|
-
await setColor(el.dataset.value);
|
|
537
|
-
},
|
|
538
|
-
children: [
|
|
539
|
-
/* @__PURE__ */ jsxs("div", {
|
|
540
|
-
class: "flex gap-4",
|
|
541
|
-
children: [
|
|
542
|
-
/* @__PURE__ */ jsxs("div", {
|
|
543
|
-
class: "relative h-37.5 w-31.25 rounded-md",
|
|
544
|
-
style: {
|
|
545
|
-
background: `linear-gradient(to right, #FFFFFF, ${store.hue.color})`
|
|
546
|
-
},
|
|
547
|
-
onMouseDown$: sbMouseDown,
|
|
548
|
-
onTouchStart$: sbMouseDown,
|
|
549
|
-
"preventdefault:mousedown": true,
|
|
550
|
-
"preventdefault:touchstart": true,
|
|
551
|
-
children: [
|
|
552
|
-
/* @__PURE__ */ jsx("div", {
|
|
553
|
-
class: "h-37.5 w-31.25 rounded-md border border-gray-700 bg-linear-to-b from-transparent to-black"
|
|
554
|
-
}),
|
|
555
|
-
/* @__PURE__ */ jsx("div", {
|
|
556
|
-
class: {
|
|
557
|
-
"absolute -top-2 -left-2 h-4 w-4 rounded-md border lum-bg drop-shadow-lg": true
|
|
558
|
-
},
|
|
559
|
-
style: {
|
|
560
|
-
"--bg-color": store.value,
|
|
561
|
-
transform: `translate(${store.sPosition}px, ${store.bPosition}px)`
|
|
562
|
-
}
|
|
563
|
-
})
|
|
564
|
-
]
|
|
565
|
-
}),
|
|
566
|
-
/* @__PURE__ */ jsx("div", {
|
|
567
|
-
class: "relative h-37.5 w-2 rounded-md border border-gray-700",
|
|
568
|
-
style: {
|
|
569
|
-
background: "linear-gradient(to bottom, #ff0000, #ff00ff, #0000ff, #00ffff, #00ff00, #ffff00, #ff0000)"
|
|
570
|
-
},
|
|
571
|
-
onMouseDown$: hueMouseDown,
|
|
572
|
-
onTouchStart$: hueMouseDown,
|
|
573
|
-
"preventdefault:mousedown": true,
|
|
574
|
-
"preventdefault:touchstart": true,
|
|
575
|
-
children: /* @__PURE__ */ jsx("div", {
|
|
576
|
-
class: "absolute -bottom-2 -left-1.25 h-4 w-4 rounded-md lum-bg! bg-[#ff0000] ",
|
|
577
|
-
style: {
|
|
578
|
-
transform: `translateY(${-store.hue.position}px)`,
|
|
579
|
-
"--bg-color": store.hue.color
|
|
580
|
-
}
|
|
581
|
-
})
|
|
582
|
-
})
|
|
583
|
-
]
|
|
584
|
-
}),
|
|
585
|
-
opacity && /* @__PURE__ */ jsxs("div", {
|
|
586
|
-
class: "relative h-2 w-full rounded-md",
|
|
587
|
-
onMouseDown$: opacityMouseDown,
|
|
588
|
-
onTouchStart$: opacityMouseDown,
|
|
589
|
-
"preventdefault:mousedown": true,
|
|
590
|
-
"preventdefault:touchstart": true,
|
|
591
|
-
style: {
|
|
592
|
-
backgroundColor: "white",
|
|
593
|
-
backgroundImage: `
|
|
594
|
-
linear-gradient(45deg, #ccc 25%, transparent 25%),
|
|
595
|
-
linear-gradient(135deg, #ccc 25%, transparent 25%),
|
|
596
|
-
linear-gradient(45deg, transparent 75%, #ccc 75%),
|
|
597
|
-
linear-gradient(135deg, transparent 75%, #ccc 75%);
|
|
598
|
-
`,
|
|
599
|
-
backgroundSize: "8px 8px",
|
|
600
|
-
backgroundPosition: "0 0, 4px 0, 4px -4px, 0 4px"
|
|
601
|
-
},
|
|
602
|
-
children: [
|
|
603
|
-
/* @__PURE__ */ jsx("div", {
|
|
604
|
-
class: "alsolute inset-0 h-2 w-full rounded-md border border-gray-700",
|
|
605
|
-
style: {
|
|
606
|
-
background: `linear-gradient(to right, ${store.value}, transparent)`
|
|
607
|
-
}
|
|
608
|
-
}),
|
|
609
|
-
/* @__PURE__ */ jsx("div", {
|
|
610
|
-
class: "absolute -bottom-1.25 -left-1.25 h-4 w-4 rounded-md",
|
|
611
|
-
style: {
|
|
612
|
-
transform: `translateX(${store.opacity.position ?? 1}px)`,
|
|
613
|
-
backgroundColor: store.value,
|
|
614
|
-
backgroundImage: `
|
|
615
|
-
linear-gradient(45deg, #ccc4 25%, transparent 25%),
|
|
616
|
-
linear-gradient(135deg, #ccc4 25%, transparent 25%),
|
|
617
|
-
linear-gradient(45deg, transparent 75%, #ccc4 75%),
|
|
618
|
-
linear-gradient(135deg, transparent 75%, #ccc4 75%);
|
|
619
|
-
`,
|
|
620
|
-
backgroundSize: "8px 8px",
|
|
621
|
-
backgroundPosition: "0 0, 4px 0, 4px -4px, 0 4px"
|
|
622
|
-
}
|
|
623
|
-
})
|
|
624
|
-
]
|
|
625
|
-
}),
|
|
626
|
-
/* @__PURE__ */ jsxs("div", {
|
|
627
|
-
class: "flex w-37.5 flex-wrap justify-between gap-1",
|
|
628
|
-
children: [
|
|
629
|
-
showInput && /* @__PURE__ */ jsxs("div", {
|
|
630
|
-
class: {
|
|
631
|
-
"mb-2 flex w-37.5 border-b border-b-gray-700 pb-3": true,
|
|
632
|
-
"flex-row gap-1": preview == "left",
|
|
633
|
-
"flex-row-reverse gap-1": preview == "right",
|
|
634
|
-
"flex-col": preview == "top",
|
|
635
|
-
"flex-col-reverse": preview == "bottom"
|
|
636
|
-
},
|
|
637
|
-
children: [
|
|
638
|
-
preview != "full" && /* @__PURE__ */ jsx("div", {
|
|
639
|
-
class: {
|
|
640
|
-
"border border-gray-700 rounded-sm": true,
|
|
641
|
-
"aspect-square h-full": preview == "left" || preview == "right",
|
|
642
|
-
"h-3 w-full": preview == "top" || preview == "bottom",
|
|
643
|
-
"rounded-b-none": preview == "top",
|
|
644
|
-
"rounded-t-none": preview == "bottom"
|
|
645
|
-
},
|
|
646
|
-
style: {
|
|
647
|
-
backgroundColor: `${store.value}`
|
|
648
|
-
}
|
|
649
|
-
}),
|
|
650
|
-
/* @__PURE__ */ jsx("input", {
|
|
651
|
-
class: {
|
|
652
|
-
"lum-input w-full p-1 text-xs rounded-sm": true,
|
|
653
|
-
"rounded-t-none border-t-0": preview == "top",
|
|
654
|
-
"rounded-b-none border-b-0": preview == "bottom"
|
|
655
|
-
},
|
|
656
|
-
value: store.value,
|
|
657
|
-
style: preview == "full" ? {
|
|
658
|
-
backgroundColor: `${store.value}`,
|
|
659
|
-
color: getBrightness(hexToRgba(store.value)) > 0.5 ? "black" : "white"
|
|
660
|
-
} : {},
|
|
661
|
-
onInput$: async (e, el) => {
|
|
662
|
-
await setColor(el.value);
|
|
663
|
-
}
|
|
664
|
-
})
|
|
665
|
-
]
|
|
666
|
-
}),
|
|
667
|
-
colors.map((color, i) => {
|
|
668
|
-
return /* @__PURE__ */ jsx("button", {
|
|
669
|
-
type: "button",
|
|
670
|
-
name: color,
|
|
671
|
-
class: {
|
|
672
|
-
"lum-btn rounded-sm h-[1.6rem] w-[1.6rem] p-0 lum-bg hover:brightness-150": true,
|
|
673
|
-
"border-lum-accent": color === store.value
|
|
674
|
-
},
|
|
675
|
-
style: {
|
|
676
|
-
"--bg-color": color
|
|
677
|
-
},
|
|
678
|
-
onClick$: async () => {
|
|
679
|
-
await setColor(color);
|
|
680
|
-
}
|
|
681
|
-
}, i);
|
|
682
|
-
}),
|
|
683
|
-
/* @__PURE__ */ jsx("button", {
|
|
684
|
-
type: "button",
|
|
685
|
-
class: "lum-btn rounded-sm h-[1.6rem] w-[1.6rem] p-0.5",
|
|
686
|
-
name: "Randomize",
|
|
687
|
-
onClick$: async () => {
|
|
688
|
-
const color = `#${Math.floor(Math.random() * 16777215).toString(16)}`;
|
|
689
|
-
await setColor(color);
|
|
690
|
-
},
|
|
691
|
-
children: /* @__PURE__ */ jsx(Shuffle, {
|
|
692
|
-
class: "p-0.5 pl-0.5 text-lum-text"
|
|
693
|
-
})
|
|
694
|
-
})
|
|
695
|
-
]
|
|
696
|
-
})
|
|
697
|
-
]
|
|
698
|
-
});
|
|
699
|
-
});
|
|
700
|
-
const ChevronDown = component$(({ size, ...props }) => {
|
|
701
|
-
return /* @__PURE__ */ jsx("svg", {
|
|
702
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
703
|
-
width: size,
|
|
704
|
-
height: size,
|
|
705
|
-
viewBox: "0 0 24 24",
|
|
706
|
-
fill: "none",
|
|
707
|
-
stroke: "currentColor",
|
|
708
|
-
"stroke-width": "2",
|
|
709
|
-
"stroke-linecap": "round",
|
|
710
|
-
"stroke-linejoin": "round",
|
|
711
|
-
class: "lucide lucide-chevron-down-icon lucide-chevron-down",
|
|
712
|
-
...props,
|
|
713
|
-
children: /* @__PURE__ */ jsx("path", {
|
|
714
|
-
d: "m6 9 6 6 6-6"
|
|
715
|
-
})
|
|
716
|
-
});
|
|
717
|
-
});
|
|
718
|
-
const Dropdown = component$(({ class: Class, hover, opened, ...props }) => {
|
|
719
|
-
return /* @__PURE__ */ jsxs("button", {
|
|
720
|
-
type: "button",
|
|
721
|
-
class: {
|
|
722
|
-
"group lum-btn": true,
|
|
723
|
-
...Class
|
|
724
|
-
},
|
|
725
|
-
...props,
|
|
726
|
-
children: [
|
|
727
|
-
/* @__PURE__ */ jsx("div", {
|
|
728
|
-
class: "flex-1 text-left",
|
|
729
|
-
children: /* @__PURE__ */ jsx(Slot, {})
|
|
730
|
-
}),
|
|
731
|
-
/* @__PURE__ */ jsx(ChevronDown, {
|
|
732
|
-
size: 16,
|
|
733
|
-
class: {
|
|
734
|
-
"ease-out motion-safe:transition-transform": true,
|
|
735
|
-
"rotate-180 transform": opened,
|
|
736
|
-
"duration-300 group-hover:rotate-180 group-hover:transform group-hover:duration-75": hover,
|
|
737
|
-
"focus-within:rotate-180 focus-within:transform focus-within:duration-75": true
|
|
738
|
-
}
|
|
739
|
-
})
|
|
740
|
-
]
|
|
741
|
-
});
|
|
742
|
-
});
|
|
743
|
-
const Menu = component$(({ size, ...props }) => {
|
|
744
|
-
return /* @__PURE__ */ jsxs("svg", {
|
|
745
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
746
|
-
width: size,
|
|
747
|
-
height: size,
|
|
748
|
-
viewBox: "0 0 24 24",
|
|
749
|
-
fill: "none",
|
|
750
|
-
stroke: "currentColor",
|
|
751
|
-
"stroke-width": "2",
|
|
752
|
-
"stroke-linecap": "round",
|
|
753
|
-
"stroke-linejoin": "round",
|
|
754
|
-
class: "lucide lucide-menu-icon lucide-menu",
|
|
755
|
-
...props,
|
|
756
|
-
children: [
|
|
757
|
-
/* @__PURE__ */ jsx("path", {
|
|
758
|
-
d: "M4 12h16"
|
|
759
|
-
}),
|
|
760
|
-
/* @__PURE__ */ jsx("path", {
|
|
761
|
-
d: "M4 18h16"
|
|
762
|
-
}),
|
|
763
|
-
/* @__PURE__ */ jsx("path", {
|
|
764
|
-
d: "M4 6h16"
|
|
765
|
-
})
|
|
766
|
-
]
|
|
767
|
-
});
|
|
768
|
-
});
|
|
769
|
-
const Nav = component$(({ fixed, floating, noblur, nohamburger, nodismiss, colorClass = "lum-bg-lum-card-bg", ...props }) => {
|
|
770
|
-
const menu = useSignal(false);
|
|
771
|
-
useTask$(({ track }) => {
|
|
772
|
-
track(() => menu.value);
|
|
773
|
-
if (menu.value && !nodismiss) {
|
|
774
|
-
const onClick = (e) => {
|
|
775
|
-
let el = e.target;
|
|
776
|
-
while (el) {
|
|
777
|
-
if (el.classList && el.classList.contains("nav-ignore-dismiss")) {
|
|
778
|
-
return;
|
|
779
|
-
}
|
|
780
|
-
el = el.parentElement;
|
|
781
|
-
}
|
|
782
|
-
menu.value = false;
|
|
783
|
-
window.removeEventListener("click", onClick);
|
|
784
|
-
};
|
|
785
|
-
window.addEventListener("click", onClick);
|
|
786
|
-
}
|
|
787
|
-
});
|
|
788
|
-
return /* @__PURE__ */ jsxs("nav", {
|
|
789
|
-
...props,
|
|
790
|
-
class: {
|
|
791
|
-
"top-0 left-0 z-50 flex w-full flex-col": true,
|
|
792
|
-
fixed,
|
|
793
|
-
absolute: !fixed,
|
|
794
|
-
...props.class
|
|
795
|
-
},
|
|
796
|
-
children: [
|
|
797
|
-
!nohamburger && /* @__PURE__ */ jsx("div", {
|
|
798
|
-
class: {
|
|
799
|
-
"absolute top-full lum-card motion-safe:transition-all sm:hidden max-w-7xl gap-2 px-2 py-4": true,
|
|
800
|
-
"w-[calc(100%-(--spacing(8)))] mx-4": floating,
|
|
801
|
-
"w-[calc(100%-(--spacing(4)))] mx-2": !floating,
|
|
802
|
-
"mt-2": menu.value,
|
|
803
|
-
"pointer-events-none opacity-0 -mt-2 scale-95": !menu.value,
|
|
804
|
-
"backdrop-blur-lg": !noblur,
|
|
805
|
-
[colorClass]: true
|
|
806
|
-
},
|
|
807
|
-
children: /* @__PURE__ */ jsx(Slot, {
|
|
808
|
-
name: "mobile"
|
|
809
|
-
})
|
|
810
|
-
}),
|
|
811
|
-
/* @__PURE__ */ jsx("div", {
|
|
812
|
-
class: {
|
|
813
|
-
[colorClass]: !floating,
|
|
814
|
-
"border-x-0! border-t-0!": !floating,
|
|
815
|
-
"backdrop-blur-lg": !noblur && !floating,
|
|
816
|
-
"relative mx-2 mt-2": floating
|
|
817
|
-
},
|
|
818
|
-
children: /* @__PURE__ */ jsxs("div", {
|
|
819
|
-
class: {
|
|
820
|
-
"mx-auto flex w-full max-w-7xl justify-evenly px-2": true,
|
|
821
|
-
[colorClass]: floating,
|
|
822
|
-
"rounded-lum border": floating,
|
|
823
|
-
"backdrop-blur-lg": !noblur && floating
|
|
824
|
-
},
|
|
825
|
-
children: [
|
|
826
|
-
/* @__PURE__ */ jsx("div", {
|
|
827
|
-
class: "flex flex-1 items-center justify-start gap-2 py-2",
|
|
828
|
-
children: /* @__PURE__ */ jsx(Slot, {
|
|
829
|
-
name: "start"
|
|
830
|
-
})
|
|
831
|
-
}),
|
|
832
|
-
/* @__PURE__ */ jsx("div", {
|
|
833
|
-
class: "flex flex-1 items-center justify-center gap-2 py-2",
|
|
834
|
-
children: /* @__PURE__ */ jsx(Slot, {
|
|
835
|
-
name: "center"
|
|
836
|
-
})
|
|
837
|
-
}),
|
|
838
|
-
/* @__PURE__ */ jsxs("div", {
|
|
839
|
-
class: "flex flex-1 items-center justify-end gap-2 py-2",
|
|
840
|
-
children: [
|
|
841
|
-
/* @__PURE__ */ jsx(Slot, {
|
|
842
|
-
name: "end"
|
|
843
|
-
}),
|
|
844
|
-
!nohamburger && /* @__PURE__ */ jsx("button", {
|
|
845
|
-
name: "Navigation Menu",
|
|
846
|
-
title: "Navigation Menu",
|
|
847
|
-
class: "lum-btn lum-bg-transparent p-2 sm:hidden rounded-lum-2",
|
|
848
|
-
onClick$: () => menu.value = !menu.value,
|
|
849
|
-
children: /* @__PURE__ */ jsx(Menu, {
|
|
850
|
-
size: 24
|
|
851
|
-
})
|
|
852
|
-
})
|
|
853
|
-
]
|
|
854
|
-
})
|
|
855
|
-
]
|
|
856
|
-
})
|
|
857
|
-
})
|
|
858
|
-
]
|
|
859
|
-
});
|
|
860
|
-
});
|
|
861
|
-
const Plus = component$(({ size, ...props }) => {
|
|
862
|
-
return /* @__PURE__ */ jsxs("svg", {
|
|
863
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
864
|
-
width: size,
|
|
865
|
-
height: size,
|
|
866
|
-
viewBox: "0 0 24 24",
|
|
867
|
-
fill: "none",
|
|
868
|
-
stroke: "currentColor",
|
|
869
|
-
"stroke-width": "2",
|
|
870
|
-
"stroke-linecap": "round",
|
|
871
|
-
"stroke-linejoin": "round",
|
|
872
|
-
class: "lucide lucide-plus-icon lucide-plus",
|
|
873
|
-
...props,
|
|
874
|
-
children: [
|
|
875
|
-
/* @__PURE__ */ jsx("path", {
|
|
876
|
-
d: "M5 12h14"
|
|
877
|
-
}),
|
|
878
|
-
/* @__PURE__ */ jsx("path", {
|
|
879
|
-
d: "M12 5v14"
|
|
880
|
-
})
|
|
881
|
-
]
|
|
882
|
-
});
|
|
883
|
-
});
|
|
884
|
-
const Minus = component$(({ size, ...props }) => {
|
|
885
|
-
return /* @__PURE__ */ jsx("svg", {
|
|
886
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
887
|
-
width: size,
|
|
888
|
-
height: size,
|
|
889
|
-
viewBox: "0 0 24 24",
|
|
890
|
-
fill: "none",
|
|
891
|
-
stroke: "currentColor",
|
|
892
|
-
"stroke-width": "2",
|
|
893
|
-
"stroke-linecap": "round",
|
|
894
|
-
"stroke-linejoin": "round",
|
|
895
|
-
class: "lucide lucide-minus-icon lucide-minus",
|
|
896
|
-
...props,
|
|
897
|
-
children: /* @__PURE__ */ jsx("path", {
|
|
898
|
-
d: "M5 12h14"
|
|
899
|
-
})
|
|
900
|
-
});
|
|
901
|
-
});
|
|
902
|
-
const NumberInput = component$((props) => {
|
|
903
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
904
|
-
class: "flex flex-col",
|
|
905
|
-
children: [
|
|
906
|
-
/* @__PURE__ */ jsx("label", {
|
|
907
|
-
for: props.id,
|
|
908
|
-
class: "pb-1 text-lum-text select-none",
|
|
909
|
-
children: /* @__PURE__ */ jsx(Slot, {})
|
|
910
|
-
}),
|
|
911
|
-
/* @__PURE__ */ jsx(NumberInputRaw, {
|
|
912
|
-
...props,
|
|
913
|
-
children: void 0
|
|
914
|
-
})
|
|
915
|
-
]
|
|
916
|
-
});
|
|
917
|
-
});
|
|
918
|
-
const NumberInputRaw = component$(({ input, onDecrement$, onIncrement$, value = 0, step = 1, ...props }) => {
|
|
919
|
-
useStyles$(`
|
|
920
|
-
input::-webkit-outer-spin-button,
|
|
921
|
-
input::-webkit-inner-spin-button {
|
|
922
|
-
-webkit-appearance: none;
|
|
923
|
-
margin: 0;
|
|
924
|
-
}
|
|
925
|
-
input[type=number] {
|
|
926
|
-
-moz-appearance: textfield;
|
|
927
|
-
}
|
|
928
|
-
`);
|
|
929
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
930
|
-
class: {
|
|
931
|
-
"flex touch-manipulation gap-1 text-lum-text": true
|
|
932
|
-
},
|
|
933
|
-
children: [
|
|
934
|
-
/* @__PURE__ */ jsx("button", {
|
|
935
|
-
type: "button",
|
|
936
|
-
class: {
|
|
937
|
-
"lum-btn p-2 rounded-r-sm": true
|
|
938
|
-
},
|
|
939
|
-
"data-action": "decrement",
|
|
940
|
-
"aria-label": "Decrement",
|
|
941
|
-
disabled: props.min ? value <= props.min : false,
|
|
942
|
-
onClick$: input ? $(async (event, element) => {
|
|
943
|
-
const siblingInput = element.nextElementSibling;
|
|
944
|
-
siblingInput.stepDown();
|
|
945
|
-
await onDecrement$(event, element, siblingInput);
|
|
946
|
-
}) : onDecrement$,
|
|
947
|
-
children: /* @__PURE__ */ jsx(Minus, {
|
|
948
|
-
size: 20
|
|
949
|
-
})
|
|
950
|
-
}),
|
|
951
|
-
input && /* @__PURE__ */ jsx("input", {
|
|
952
|
-
...props,
|
|
953
|
-
type: "number",
|
|
954
|
-
value,
|
|
955
|
-
step,
|
|
956
|
-
class: {
|
|
957
|
-
"lum-input text-center rounded-sm lum-input-p-1": true,
|
|
958
|
-
...props.class
|
|
959
|
-
}
|
|
960
|
-
}),
|
|
961
|
-
/* @__PURE__ */ jsx("button", {
|
|
962
|
-
type: "button",
|
|
963
|
-
class: {
|
|
964
|
-
"lum-btn p-2 rounded-l-sm": true
|
|
965
|
-
},
|
|
966
|
-
"data-action": "increment",
|
|
967
|
-
"aria-label": "Increment",
|
|
968
|
-
disabled: props.max ? value >= props.max : false,
|
|
969
|
-
onClick$: input ? $(async (event, element) => {
|
|
970
|
-
const siblingInput = element.previousElementSibling;
|
|
971
|
-
siblingInput.stepUp();
|
|
972
|
-
await onIncrement$(event, element, siblingInput);
|
|
973
|
-
}) : onIncrement$,
|
|
974
|
-
children: /* @__PURE__ */ jsx(Plus, {
|
|
975
|
-
size: 20
|
|
976
|
-
})
|
|
977
|
-
})
|
|
978
|
-
]
|
|
979
|
-
});
|
|
980
|
-
});
|
|
981
|
-
const RangeInput = component$((props) => {
|
|
982
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
983
|
-
class: "flex flex-col",
|
|
984
|
-
children: [
|
|
985
|
-
/* @__PURE__ */ jsx("label", {
|
|
986
|
-
for: props.id,
|
|
987
|
-
class: "pb-1 text-lum-text select-none",
|
|
988
|
-
children: /* @__PURE__ */ jsx(Slot, {})
|
|
989
|
-
}),
|
|
990
|
-
/* @__PURE__ */ jsx(RangeInputRaw, {
|
|
991
|
-
...props,
|
|
992
|
-
children: void 0
|
|
993
|
-
})
|
|
994
|
-
]
|
|
995
|
-
});
|
|
996
|
-
});
|
|
997
|
-
const RangeInputRaw = component$(({ value, min = 0, max = 10, onInput$, ...props }) => {
|
|
998
|
-
const valueSignal = useSignal(value ?? min);
|
|
999
|
-
const filledPercentage = useComputed$(() => (valueSignal.value - min) / (max - min) * 100);
|
|
1000
|
-
const tickCount = max - min - 1;
|
|
1001
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
1002
|
-
class: {
|
|
1003
|
-
"group relative flex touch-manipulation gap-1 text-lum-text lum-input p-0": true
|
|
1004
|
-
},
|
|
1005
|
-
children: [
|
|
1006
|
-
/* @__PURE__ */ jsx("div", {
|
|
1007
|
-
class: "absolute w-full flex justify-evenly",
|
|
1008
|
-
children: tickCount > 0 && [
|
|
1009
|
-
...Array(tickCount)
|
|
1010
|
-
].map((_, i) => {
|
|
1011
|
-
return /* @__PURE__ */ jsx("div", {
|
|
1012
|
-
class: "border-l border-l-lum-border/20 h-1 my-0.5"
|
|
1013
|
-
}, i);
|
|
1014
|
-
})
|
|
1015
|
-
}),
|
|
1016
|
-
/* @__PURE__ */ jsx("div", {
|
|
1017
|
-
class: "h-2 lum-bg-lum-accent group-hover:lum-bg-lum-accent rounded-lum",
|
|
1018
|
-
style: {
|
|
1019
|
-
width: `${filledPercentage.value}%`
|
|
1020
|
-
}
|
|
1021
|
-
}),
|
|
1022
|
-
/* @__PURE__ */ jsxs("div", {
|
|
1023
|
-
class: "absolute -top-1 flex flex-col gap-4 items-center",
|
|
1024
|
-
style: {
|
|
1025
|
-
left: `calc(${filledPercentage.value}% - 0.5rem)`
|
|
1026
|
-
},
|
|
1027
|
-
children: [
|
|
1028
|
-
/* @__PURE__ */ jsx("div", {
|
|
1029
|
-
class: "w-4 h-4 lum-bg-lum-accent group-hover:lum-bg-lum-accent rounded-full"
|
|
1030
|
-
}),
|
|
1031
|
-
/* @__PURE__ */ jsx("div", {
|
|
1032
|
-
class: "absolute top-6 lum-bg-lum-card-bg lum-btn-p-2 text-center rounded-lum opacity-0 group-hover:opacity-100 transition-all z-50",
|
|
1033
|
-
children: valueSignal.value
|
|
1034
|
-
})
|
|
1035
|
-
]
|
|
1036
|
-
}),
|
|
1037
|
-
/* @__PURE__ */ jsx("input", {
|
|
1038
|
-
...props,
|
|
1039
|
-
min,
|
|
1040
|
-
max,
|
|
1041
|
-
type: "range",
|
|
1042
|
-
value: valueSignal.value,
|
|
1043
|
-
class: "absolute top-0 h-2 w-full opacity-0 cursor-pointer",
|
|
1044
|
-
onInput$: async (event, element) => {
|
|
1045
|
-
valueSignal.value = parseFloat(element.value);
|
|
1046
|
-
if (onInput$) await onInput$(event, element);
|
|
1047
|
-
}
|
|
1048
|
-
})
|
|
1049
|
-
]
|
|
1050
|
-
});
|
|
1051
|
-
});
|
|
1052
|
-
const SelectMenu = component$((props) => {
|
|
1053
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
1054
|
-
class: "flex flex-col",
|
|
1055
|
-
children: [
|
|
1056
|
-
/* @__PURE__ */ jsx("label", {
|
|
1057
|
-
for: props.id ? `${props.id}-dropdown` : void 0,
|
|
1058
|
-
class: "pb-1 text-lum-text select-none",
|
|
1059
|
-
children: /* @__PURE__ */ jsx(Slot, {})
|
|
1060
|
-
}),
|
|
1061
|
-
/* @__PURE__ */ jsxs(SelectMenuRaw, {
|
|
1062
|
-
...props,
|
|
1063
|
-
children: [
|
|
1064
|
-
/* @__PURE__ */ jsx("div", {
|
|
1065
|
-
"q:slot": "dropdown",
|
|
1066
|
-
children: (props.customDropdown || !props.values?.length) && /* @__PURE__ */ jsx(Slot, {
|
|
1067
|
-
name: "dropdown"
|
|
1068
|
-
})
|
|
1069
|
-
}),
|
|
1070
|
-
/* @__PURE__ */ jsx("div", {
|
|
1071
|
-
"q:slot": "extra-buttons",
|
|
1072
|
-
children: /* @__PURE__ */ jsx(Slot, {
|
|
1073
|
-
name: "extra-buttons"
|
|
1074
|
-
})
|
|
1075
|
-
})
|
|
1076
|
-
]
|
|
1077
|
-
})
|
|
1078
|
-
]
|
|
1079
|
-
});
|
|
1080
|
-
});
|
|
1081
|
-
const SelectMenuRaw = component$(({ values, class: Class, panelClass = "lum-bg-lum-input-bg", btnClass = "lum-bg-transparent", noblur, nocloseonclick, customDropdown, hover, align, ...props }) => {
|
|
1082
|
-
const store = useStore({
|
|
1083
|
-
opened: false,
|
|
1084
|
-
value: props.value
|
|
1085
|
-
});
|
|
1086
|
-
const selectRef = useSignal();
|
|
1087
|
-
const selected = values?.find((v) => v.value === store.value);
|
|
1088
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
1089
|
-
class: {
|
|
1090
|
-
"relative touch-manipulation": true,
|
|
1091
|
-
group: hover
|
|
1092
|
-
},
|
|
1093
|
-
children: [
|
|
1094
|
-
values && /* @__PURE__ */ jsx("select", {
|
|
1095
|
-
...props,
|
|
1096
|
-
ref: selectRef,
|
|
1097
|
-
class: "hidden",
|
|
1098
|
-
children: values.map((value, i) => {
|
|
1099
|
-
return /* @__PURE__ */ jsx("option", {
|
|
1100
|
-
value: value.value,
|
|
1101
|
-
children: `${value.value}`
|
|
1102
|
-
}, i);
|
|
1103
|
-
})
|
|
1104
|
-
}),
|
|
1105
|
-
/* @__PURE__ */ jsxs(Dropdown, {
|
|
1106
|
-
id: props.id ? `${props.id}-dropdown` : void 0,
|
|
1107
|
-
opened: store.opened,
|
|
1108
|
-
class: {
|
|
1109
|
-
"w-full": true,
|
|
1110
|
-
...Class
|
|
1111
|
-
},
|
|
1112
|
-
onClick$: (e, el) => {
|
|
1113
|
-
if (hover) return;
|
|
1114
|
-
store.opened = !store.opened;
|
|
1115
|
-
if (nocloseonclick) return;
|
|
1116
|
-
const listener = (e2) => {
|
|
1117
|
-
if (!store.opened) return document.removeEventListener("click", listener);
|
|
1118
|
-
const path = e2.composedPath();
|
|
1119
|
-
if (path.includes(el)) return;
|
|
1120
|
-
store.opened = false;
|
|
1121
|
-
document.removeEventListener("click", listener);
|
|
1122
|
-
};
|
|
1123
|
-
document.addEventListener("click", listener);
|
|
1124
|
-
},
|
|
1125
|
-
children: [
|
|
1126
|
-
customDropdown && /* @__PURE__ */ jsx(Slot, {
|
|
1127
|
-
name: "dropdown"
|
|
1128
|
-
}),
|
|
1129
|
-
!customDropdown && (selected?.name ?? values?.[0]?.name ?? /* @__PURE__ */ jsx(Slot, {
|
|
1130
|
-
name: "dropdown"
|
|
1131
|
-
}))
|
|
1132
|
-
]
|
|
1133
|
-
}),
|
|
1134
|
-
hover && /* @__PURE__ */ jsx("div", {
|
|
1135
|
-
class: "h-2 absolute w-full"
|
|
1136
|
-
}),
|
|
1137
|
-
/* @__PURE__ */ jsxs("div", {
|
|
1138
|
-
class: {
|
|
1139
|
-
"absolute z-1000 mt-2": true,
|
|
1140
|
-
"backdrop-blur-lg": !noblur,
|
|
1141
|
-
"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,
|
|
1142
|
-
"left-0": align === "left",
|
|
1143
|
-
"right-0": align === "right",
|
|
1144
|
-
"left-1/2 -translate-x-1/2": align === "center",
|
|
1145
|
-
"pointer-events-none scale-95 opacity-0": !store.opened,
|
|
1146
|
-
"duration-300 group-hover:pointer-events-auto group-hover:scale-100 group-hover:opacity-100 group-hover:duration-75": hover,
|
|
1147
|
-
"focus-within:pointer-events-auto focus-within:scale-100 focus-within:opacity-100 focus-within:duration-75": true,
|
|
1148
|
-
[panelClass]: true
|
|
1149
|
-
},
|
|
1150
|
-
children: [
|
|
1151
|
-
values?.map(({ name, value }, i) => {
|
|
1152
|
-
return /* @__PURE__ */ jsx("button", {
|
|
1153
|
-
type: "button",
|
|
1154
|
-
class: {
|
|
1155
|
-
"lum-btn rounded-lum-1": true,
|
|
1156
|
-
[btnClass]: true
|
|
1157
|
-
},
|
|
1158
|
-
onClick$: (e, el) => {
|
|
1159
|
-
el.blur();
|
|
1160
|
-
store.opened = false;
|
|
1161
|
-
const select = selectRef.value;
|
|
1162
|
-
if (select) {
|
|
1163
|
-
select.value = value.toString();
|
|
1164
|
-
select.dispatchEvent(new Event("change"));
|
|
1165
|
-
}
|
|
1166
|
-
store.value = value.toString();
|
|
1167
|
-
},
|
|
1168
|
-
children: name
|
|
1169
|
-
}, i);
|
|
1170
|
-
}),
|
|
1171
|
-
/* @__PURE__ */ jsx(Slot, {
|
|
1172
|
-
name: "extra-buttons"
|
|
1173
|
-
})
|
|
1174
|
-
]
|
|
1175
|
-
})
|
|
1176
|
-
]
|
|
1177
|
-
});
|
|
1178
|
-
});
|
|
1179
|
-
const Sidebar = component$(({ position, ...props }) => {
|
|
1180
|
-
return /* @__PURE__ */ jsx("aside", {
|
|
1181
|
-
...props,
|
|
1182
|
-
class: {
|
|
1183
|
-
"hidden lg:flex sticky lum-card top-0 z-40 px-6 pb-0 rounded-none pt-20 h-dvh": true,
|
|
1184
|
-
"left-0 border-0 border-r": position === "left" || !position,
|
|
1185
|
-
"right-0 border-0 border-l": position === "right",
|
|
1186
|
-
...props.class
|
|
1187
|
-
},
|
|
1188
|
-
children: /* @__PURE__ */ jsxs("nav", {
|
|
1189
|
-
id: "docs-sidebar",
|
|
1190
|
-
class: "min-h-full relative",
|
|
1191
|
-
children: [
|
|
1192
|
-
/* @__PURE__ */ jsx("div", {
|
|
1193
|
-
class: "flex items-center gap-3 pb-3 px-2 border-b border-lum-border/10",
|
|
1194
|
-
children: /* @__PURE__ */ jsx("div", {
|
|
1195
|
-
class: "flex-1",
|
|
1196
|
-
children: /* @__PURE__ */ jsx(Slot, {
|
|
1197
|
-
name: "title"
|
|
1198
|
-
})
|
|
1199
|
-
})
|
|
1200
|
-
}),
|
|
1201
|
-
/* @__PURE__ */ jsx("div", {
|
|
1202
|
-
class: {
|
|
1203
|
-
"flex flex-col gap-3 my-4 mx-4 lg:mx-0": true
|
|
1204
|
-
},
|
|
1205
|
-
children: /* @__PURE__ */ jsx(Slot, {})
|
|
1206
|
-
})
|
|
1207
|
-
]
|
|
1208
|
-
})
|
|
1209
|
-
});
|
|
1210
|
-
});
|
|
1211
|
-
const Toggle = component$(({ checkbox, round, ...props }) => {
|
|
1212
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
1213
|
-
class: "flex touch-manipulation items-center gap-3",
|
|
1214
|
-
children: [
|
|
1215
|
-
/* @__PURE__ */ jsxs("label", {
|
|
1216
|
-
class: "relative inline-flex cursor-pointer items-center",
|
|
1217
|
-
children: [
|
|
1218
|
-
/* @__PURE__ */ jsx("input", {
|
|
1219
|
-
type: "checkbox",
|
|
1220
|
-
...props,
|
|
1221
|
-
class: "peer sr-only"
|
|
1222
|
-
}),
|
|
1223
|
-
/* @__PURE__ */ jsx("div", {
|
|
1224
|
-
class: {
|
|
1225
|
-
"peer h-7 duration-300 ease-out hover:duration-75 peer-focus:border-blue-500": true,
|
|
1226
|
-
"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,
|
|
1227
|
-
"rounded-lum after:rounded-lum-1": !round,
|
|
1228
|
-
"rounded-full after:rounded-full": round,
|
|
1229
|
-
"w-12 peer-checked:after:translate-x-full": !checkbox,
|
|
1230
|
-
"w-7 after:opacity-0 peer-checked:after:opacity-100": checkbox,
|
|
1231
|
-
"lum-toggle-bg-lum-input-bg peer-checked:lum-toggle-bg-lum-accent": true,
|
|
1232
|
-
[props.class ?? ""]: !!props.class
|
|
1233
|
-
}
|
|
1234
|
-
})
|
|
1235
|
-
]
|
|
1236
|
-
}),
|
|
1237
|
-
/* @__PURE__ */ jsx("label", {
|
|
1238
|
-
for: props.id,
|
|
1239
|
-
class: "flex gap-2 text-lum-text select-none empty:hidden",
|
|
1240
|
-
children: /* @__PURE__ */ jsx(Slot, {})
|
|
1241
|
-
})
|
|
1242
|
-
]
|
|
1243
|
-
});
|
|
1244
|
-
});
|
|
1245
|
-
const Hoverable = {
|
|
1246
|
-
onMouseMove$: (e, el) => {
|
|
1247
|
-
const rect = el.getBoundingClientRect();
|
|
1248
|
-
const mouseX = e.clientX - rect.left;
|
|
1249
|
-
const mouseY = e.clientY - rect.top;
|
|
1250
|
-
const rotateX = (mouseY / rect.height - 0.5) * -10;
|
|
1251
|
-
const rotateY = (mouseX / rect.width - 0.5) * 10;
|
|
1252
|
-
el.style.transition = "transform 0.05s ease-out";
|
|
1253
|
-
el.style.transform = `perspective(500px) rotateX(${rotateX}deg) rotateY(${rotateY}deg)`;
|
|
1254
|
-
},
|
|
1255
|
-
onMouseLeave$: (_e, el) => {
|
|
1256
|
-
el.style.transition = "transform 0.3s ease-out";
|
|
1257
|
-
el.style.transform = "perspective(500px) rotateX(0deg) rotateY(0deg)";
|
|
1258
|
-
}
|
|
1259
|
-
};
|
|
1260
|
-
const LogoBirdflop = component$(({ confused, fillGradient, size, ...props }) => {
|
|
1261
|
-
const gradientId = fillGradient?.join("-").replace("#", "");
|
|
1262
|
-
return /* @__PURE__ */ jsxs("svg", {
|
|
1263
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1264
|
-
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
1265
|
-
viewBox: "0 0 1080 1080",
|
|
1266
|
-
width: size,
|
|
1267
|
-
height: size,
|
|
1268
|
-
...props,
|
|
1269
|
-
children: [
|
|
1270
|
-
/* @__PURE__ */ jsxs("defs", {
|
|
1271
|
-
children: [
|
|
1272
|
-
fillGradient && /* @__PURE__ */ jsx("linearGradient", {
|
|
1273
|
-
id: `linear-gradient-${gradientId}`,
|
|
1274
|
-
x1: "0.5",
|
|
1275
|
-
x2: "0.5",
|
|
1276
|
-
y2: "1",
|
|
1277
|
-
gradientUnits: "objectBoundingBox",
|
|
1278
|
-
children: fillGradient.map((color, i) => /* @__PURE__ */ jsx("stop", {
|
|
1279
|
-
offset: i / (fillGradient.length - 1),
|
|
1280
|
-
"stop-color": color
|
|
1281
|
-
}, i))
|
|
1282
|
-
}),
|
|
1283
|
-
/* @__PURE__ */ jsx("clipPath", {
|
|
1284
|
-
id: "clip-bf_3",
|
|
1285
|
-
children: /* @__PURE__ */ jsx("rect", {
|
|
1286
|
-
width: "1080",
|
|
1287
|
-
height: "1080"
|
|
1288
|
-
})
|
|
1289
|
-
})
|
|
1290
|
-
]
|
|
1291
|
-
}),
|
|
1292
|
-
/* @__PURE__ */ jsx("g", {
|
|
1293
|
-
id: "bf_3",
|
|
1294
|
-
"data-name": "bf - 3",
|
|
1295
|
-
"clip-path": "url(#clip-bf_3)",
|
|
1296
|
-
fill: "currentColor",
|
|
1297
|
-
children: /* @__PURE__ */ jsx("path", {
|
|
1298
|
-
id: "Union_26",
|
|
1299
|
-
"data-name": "Union 26",
|
|
1300
|
-
d: "M-1886.608-89.36c-8.311-65.774-27.64-219.008-27.64-221.333a.279.279,0,0,1,.09-.159q-.474-4.88-.477-9.885A101.066,101.066,0,0,1-1813.61-421.844a100.671,100.671,0,0,1,71.913,30.1l.093-.042c-.077-.093-8.783-10.549-22.7-24.758-8.216-8.388-16.645-16.459-25.052-23.993-10.51-9.417-21.018-18.013-31.23-25.552a120.5,120.5,0,0,0-40.468-71.567,119.916,119.916,0,0,0-77.984-28.881c-66.215,0-120.083,53.941-120.083,120.244h-.237v116.01h-.24c-.131,132.971-107.6,240.728-240.16,240.728V-330.289H-2300V-449.818h.362V-931.536h0V-1170c132.71,0,240.293,106.764,240.293,238.464v145.112a358.089,358.089,0,0,1,47.7-13.28,362.475,362.475,0,0,1,72.6-7.329,362.455,362.455,0,0,1,72.6,7.329,358.112,358.112,0,0,1,67.622,21.02,360.042,360.042,0,0,1,61.191,33.26,362.833,362.833,0,0,1,53.315,44.049,363.178,363.178,0,0,1,43.99,53.387,360.83,360.83,0,0,1,33.213,61.276A359.3,359.3,0,0,1-1586.118-519a363.948,363.948,0,0,1,7.317,72.7,363.957,363.957,0,0,1-7.317,72.7,359.333,359.333,0,0,1-20.992,67.714,360.95,360.95,0,0,1-33.213,61.277,363.233,363.233,0,0,1-43.99,53.388,362.833,362.833,0,0,1-53.315,44.049,360.017,360.017,0,0,1-61.191,33.259,358.108,358.108,0,0,1-67.622,21.02c-6.636,1.36-13.421,2.548-20.165,3.532Zm-79.831-365.056a27.049,27.049,0,0,1,27.038-27.059,27.048,27.048,0,0,1,27.037,27.059,27.049,27.049,0,0,1-27.037,27.06A27.05,27.05,0,0,1-1966.439-454.416Z",
|
|
1301
|
-
transform: "translate(2479.9 1169.7)",
|
|
1302
|
-
fill: fillGradient ? `url(#linear-gradient-${gradientId})` : ""
|
|
1303
|
-
})
|
|
1304
|
-
}),
|
|
1305
|
-
confused && /* @__PURE__ */ jsxs("g", {
|
|
1306
|
-
style: "transform: translate(595px, 460px) scale(0.375)",
|
|
1307
|
-
stroke: "#1E2837",
|
|
1308
|
-
fill: "#1E2837",
|
|
1309
|
-
children: [
|
|
1310
|
-
/* @__PURE__ */ jsx("path", {
|
|
1311
|
-
d: "M160 164s1.44-33 33.54-59.46C212.6 88.83 235.49 84.28 256 84c18.73-.23 35.47 2.94 45.48 7.82C318.59 100.2 352 120.6 352 164c0 45.67-29.18 66.37-62.35 89.18S248 298.36 248 324",
|
|
1312
|
-
fill: "none",
|
|
1313
|
-
"stroke-linecap": "round",
|
|
1314
|
-
"stroke-miterlimit": "10",
|
|
1315
|
-
"stroke-width": "80"
|
|
1316
|
-
}),
|
|
1317
|
-
/* @__PURE__ */ jsx("circle", {
|
|
1318
|
-
cx: "248",
|
|
1319
|
-
cy: "399.99",
|
|
1320
|
-
r: "40",
|
|
1321
|
-
style: "transform: translate(0, 30px)"
|
|
1322
|
-
})
|
|
1323
|
-
]
|
|
1324
|
-
})
|
|
1325
|
-
]
|
|
1326
|
-
});
|
|
1327
|
-
});
|
|
1328
|
-
const LogoDiscord = component$(({ size, ...props }) => {
|
|
1329
|
-
return /* @__PURE__ */ jsx("svg", {
|
|
1330
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1331
|
-
viewBox: "0 0 127.14 96.36",
|
|
1332
|
-
fill: "currentColor",
|
|
1333
|
-
width: size,
|
|
1334
|
-
height: size,
|
|
1335
|
-
...props,
|
|
1336
|
-
children: /* @__PURE__ */ jsx("path", {
|
|
1337
|
-
d: "M107.7,8.07A105.15,105.15,0,0,0,81.47,0a72.06,72.06,0,0,0-3.36,6.83A97.68,97.68,0,0,0,49,6.83,72.37,72.37,0,0,0,45.64,0,105.89,105.89,0,0,0,19.39,8.09C2.79,32.65-1.71,56.6.54,80.21h0A105.73,105.73,0,0,0,32.71,96.36,77.7,77.7,0,0,0,39.6,85.25a68.42,68.42,0,0,1-10.85-5.18c.91-.66,1.8-1.34,2.66-2a75.57,75.57,0,0,0,64.32,0c.87.71,1.76,1.39,2.66,2a68.68,68.68,0,0,1-10.87,5.19,77,77,0,0,0,6.89,11.1A105.25,105.25,0,0,0,126.6,80.22h0C129.24,52.84,122.09,29.11,107.7,8.07ZM42.45,65.69C36.18,65.69,31,60,31,53s5-12.74,11.43-12.74S54,46,53.89,53,48.84,65.69,42.45,65.69Zm42.24,0C78.41,65.69,73.25,60,73.25,53s5-12.74,11.44-12.74S96.23,46,96.12,53,91.08,65.69,84.69,65.69Z"
|
|
1338
|
-
})
|
|
1339
|
-
});
|
|
1340
|
-
});
|
|
1341
|
-
const LogoFabric = component$(({ size, ...props }) => {
|
|
1342
|
-
return /* @__PURE__ */ jsxs("svg", {
|
|
1343
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1344
|
-
"xml:space": "preserve",
|
|
1345
|
-
"fill-rule": "evenodd",
|
|
1346
|
-
"stroke-linecap": "round",
|
|
1347
|
-
"stroke-linejoin": "round",
|
|
1348
|
-
"clip-rule": "evenodd",
|
|
1349
|
-
viewBox: "0 0 24 24",
|
|
1350
|
-
width: size,
|
|
1351
|
-
height: size,
|
|
1352
|
-
...props,
|
|
1353
|
-
children: [
|
|
1354
|
-
/* @__PURE__ */ jsx("path", {
|
|
1355
|
-
fill: "none",
|
|
1356
|
-
d: "M0 0h24v24H0z"
|
|
1357
|
-
}),
|
|
1358
|
-
/* @__PURE__ */ jsx("path", {
|
|
1359
|
-
fill: "none",
|
|
1360
|
-
stroke: "currentColor",
|
|
1361
|
-
"stroke-width": "23",
|
|
1362
|
-
d: "m820 761-85.6-87.6c-4.6-4.7-10.4-9.6-25.9 1-19.9 13.6-8.4 21.9-5.2 25.4 8.2 9 84.1 89 97.2 104 2.5 2.8-20.3-22.5-6.5-39.7 5.4-7 18-12 26-3 6.5 7.3 10.7 18-3.4 29.7-24.7 20.4-102 82.4-127 103-12.5 10.3-28.5 2.3-35.8-6-7.5-8.9-30.6-34.6-51.3-58.2-5.5-6.3-4.1-19.6 2.3-25 35-30.3 91.9-73.8 111.9-90.8",
|
|
1363
|
-
transform: "matrix(.08671 0 0 .0867 -49.8 -56)"
|
|
1364
|
-
})
|
|
1365
|
-
]
|
|
1366
|
-
});
|
|
1367
|
-
});
|
|
1368
|
-
const LogoForge = component$(({ size, ...props }) => {
|
|
1369
|
-
return /* @__PURE__ */ jsxs("svg", {
|
|
1370
|
-
"xml:space": "preserve",
|
|
1371
|
-
"fill-rule": "evenodd",
|
|
1372
|
-
"stroke-linecap": "round",
|
|
1373
|
-
"stroke-linejoin": "round",
|
|
1374
|
-
"stroke-miterlimit": "1.5",
|
|
1375
|
-
"clip-rule": "evenodd",
|
|
1376
|
-
viewBox: "0 0 24 24",
|
|
1377
|
-
width: size,
|
|
1378
|
-
height: size,
|
|
1379
|
-
...props,
|
|
1380
|
-
children: [
|
|
1381
|
-
/* @__PURE__ */ jsx("path", {
|
|
1382
|
-
fill: "none",
|
|
1383
|
-
d: "M0 0h24v24H0z"
|
|
1384
|
-
}),
|
|
1385
|
-
/* @__PURE__ */ jsx("path", {
|
|
1386
|
-
fill: "none",
|
|
1387
|
-
stroke: "currentColor",
|
|
1388
|
-
"stroke-width": "2",
|
|
1389
|
-
d: "M2 7.5h8v-2h12v2s-7 3.4-7 6 3.1 3.1 3.1 3.1l.9 3.9H5l1-4.1s3.8.1 4-2.9c.2-2.7-6.5-.7-8-6Z"
|
|
1390
|
-
})
|
|
1391
|
-
]
|
|
1392
|
-
});
|
|
1393
|
-
});
|
|
1394
|
-
const LogoLuminescent = component$(({ size, ...props }) => {
|
|
1395
|
-
return /* @__PURE__ */ jsx("svg", {
|
|
1396
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1397
|
-
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
1398
|
-
zoomAndPan: "magnify",
|
|
1399
|
-
viewBox: "80 80 220 220",
|
|
1400
|
-
preserveAspectRatio: "xMidYMid meet",
|
|
1401
|
-
version: "1.0",
|
|
1402
|
-
fill: "currentColor",
|
|
1403
|
-
width: size,
|
|
1404
|
-
height: size,
|
|
1405
|
-
...props,
|
|
1406
|
-
children: /* @__PURE__ */ jsx("g", {
|
|
1407
|
-
"fill-opacity": "1",
|
|
1408
|
-
children: /* @__PURE__ */ jsx("g", {
|
|
1409
|
-
transform: "translate(86.97656, 254.624983)",
|
|
1410
|
-
children: /* @__PURE__ */ jsx("path", {
|
|
1411
|
-
d: "M 119.476562 -167.570312 C 90.671875 -133.253906 37.820312 -144.527344 30.308594 -109.710938 C 26.550781 -92.175781 39.074219 -75.644531 62.367188 -76.394531 C 67.878906 -77.398438 69.882812 -87.917969 66.628906 -90.671875 C 56.859375 -92.675781 55.855469 -99.691406 57.609375 -107.453125 C 62.117188 -125.988281 93.929688 -123.734375 113.96875 -147.28125 C 103.949219 -115.21875 96.933594 -78.902344 83.910156 -43.582031 C 59.363281 -58.863281 23.796875 -50.847656 21.542969 -27.050781 C 19.285156 -8.765625 32.8125 3.257812 55.355469 2.253906 C 72.386719 1.753906 80.902344 -4.007812 89.921875 -12.023438 C 112.464844 15.277344 138.261719 52.097656 181.347656 37.570312 C 188.609375 30.558594 183.347656 14.777344 177.085938 15.277344 C 147.28125 25.546875 132 1.253906 104.699219 -28.054688 C 119.476562 -56.105469 134.003906 -124.738281 148.53125 -167.320312 C 147.53125 -173.582031 124.488281 -177.339844 119.476562 -167.570312 Z M 46.339844 -28.804688 C 50.347656 -38.324219 68.128906 -36.570312 77.148438 -27.550781 C 72.890625 -20.789062 66.628906 -15.027344 57.359375 -15.027344 C 46.085938 -15.027344 43.332031 -22.792969 46.339844 -28.804688 Z M 46.339844 -28.804688 "
|
|
1412
|
-
})
|
|
1413
|
-
})
|
|
1414
|
-
})
|
|
1415
|
-
});
|
|
1416
|
-
});
|
|
1417
|
-
const LogoLuminescentFull = component$(({ size, ...props }) => {
|
|
1418
|
-
return /* @__PURE__ */ jsxs("svg", {
|
|
1419
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1420
|
-
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
1421
|
-
zoomAndPan: "magnify",
|
|
1422
|
-
viewBox: "30 60 1160 200",
|
|
1423
|
-
preserveAspectRatio: "xMidYMid meet",
|
|
1424
|
-
version: "1.0",
|
|
1425
|
-
fill: "currentColor",
|
|
1426
|
-
height: size,
|
|
1427
|
-
...props,
|
|
1428
|
-
children: [
|
|
1429
|
-
/* @__PURE__ */ jsx("g", {
|
|
1430
|
-
"fill-opacity": "1",
|
|
1431
|
-
children: /* @__PURE__ */ jsx("g", {
|
|
1432
|
-
transform: "translate(12.743357, 223.612604)",
|
|
1433
|
-
children: /* @__PURE__ */ jsx("path", {
|
|
1434
|
-
d: "M 110.792969 -155.390625 C 84.082031 -123.570312 35.074219 -134.023438 28.105469 -101.734375 C 24.621094 -85.476562 36.234375 -70.148438 57.835938 -70.84375 C 62.945312 -71.773438 64.804688 -81.527344 61.785156 -84.082031 C 52.726562 -85.941406 51.796875 -92.445312 53.421875 -99.644531 C 57.605469 -116.832031 87.101562 -114.742188 105.683594 -136.578125 C 96.394531 -106.84375 89.890625 -73.167969 77.8125 -40.414062 C 55.046875 -54.585938 22.066406 -47.152344 19.976562 -25.085938 C 17.886719 -8.128906 30.429688 3.019531 51.332031 2.089844 C 67.128906 1.625 75.023438 -3.714844 83.386719 -11.148438 C 104.289062 14.167969 128.214844 48.3125 168.164062 34.839844 C 174.902344 28.335938 170.023438 13.703125 164.21875 14.167969 C 136.578125 23.691406 122.40625 1.160156 97.089844 -26.015625 C 110.792969 -52.027344 124.265625 -115.671875 137.738281 -155.160156 C 136.808594 -160.964844 115.441406 -164.449219 110.792969 -155.390625 Z M 42.96875 -26.710938 C 46.6875 -35.539062 63.179688 -33.910156 71.539062 -25.550781 C 67.589844 -19.277344 61.785156 -13.9375 53.191406 -13.9375 C 42.738281 -13.9375 40.183594 -21.136719 42.96875 -26.710938 Z M 42.96875 -26.710938 "
|
|
1435
|
-
})
|
|
1436
|
-
})
|
|
1437
|
-
}),
|
|
1438
|
-
/* @__PURE__ */ jsx("g", {
|
|
1439
|
-
"fill-opacity": "1",
|
|
1440
|
-
children: /* @__PURE__ */ jsx("g", {
|
|
1441
|
-
transform: "translate(151.868279, 223.612604)",
|
|
1442
|
-
children: /* @__PURE__ */ jsx("path", {
|
|
1443
|
-
d: "M 72.003906 -95.464844 C 67.589844 -79.902344 62.945312 -62.945312 58.066406 -48.3125 C 51.101562 -28.570312 36.46875 -14.867188 27.410156 -14.867188 C 18.8125 -14.867188 21.136719 -26.945312 24.390625 -40.183594 C 28.570312 -58.765625 34.609375 -79.4375 37.859375 -92.445312 C 37.859375 -98.714844 16.492188 -100.804688 13.703125 -95 C 8.363281 -74.328125 0.230469 -51.566406 -3.949219 -28.335938 C -6.96875 -12.078125 -2.324219 1.859375 16.027344 2.089844 C 31.589844 2.554688 46.222656 -5.109375 59.695312 -27.410156 C 56.210938 -13.472656 61.085938 1.160156 73.863281 1.160156 C 98.019531 1.394531 115.207031 -30.890625 123.105469 -46.6875 C 124.5 -49.472656 116.367188 -54.351562 114.976562 -51.332031 C 106.613281 -31.820312 92.675781 -14.632812 83.851562 -14.867188 C 72.003906 -14.867188 90.121094 -70.609375 96.160156 -92.210938 C 94.535156 -98.949219 74.792969 -100.574219 72.003906 -95.464844 Z M 72.003906 -95.464844 "
|
|
1444
|
-
})
|
|
1445
|
-
})
|
|
1446
|
-
}),
|
|
1447
|
-
/* @__PURE__ */ jsx("g", {
|
|
1448
|
-
"fill-opacity": "1",
|
|
1449
|
-
children: /* @__PURE__ */ jsx("g", {
|
|
1450
|
-
transform: "translate(265.444396, 223.612604)",
|
|
1451
|
-
children: /* @__PURE__ */ jsx("path", {
|
|
1452
|
-
d: "M 123.570312 2.089844 C 146.101562 1.394531 163.054688 -26.246094 172.578125 -46.6875 C 173.972656 -49.472656 165.609375 -54.121094 164.449219 -51.332031 C 156.085938 -31.589844 141.6875 -14.167969 132.859375 -14.167969 C 120.78125 -13.9375 136.34375 -51.796875 140.292969 -68.519531 C 144.707031 -87.566406 139.828125 -98.949219 122.175781 -98.949219 C 107.078125 -99.179688 94.304688 -87.101562 85.476562 -75.722656 C 88.03125 -89.65625 81.527344 -98.949219 69.21875 -98.949219 C 55.28125 -99.179688 40.648438 -85.476562 32.519531 -74.09375 L 37.628906 -92.445312 C 36.46875 -99.179688 17.1875 -101.039062 13.472656 -95.929688 C 4.414062 -61.785156 -2.789062 -36.003906 -10.917969 -5.109375 C -11.847656 3.019531 12.773438 2.789062 14.867188 -2.554688 C 19.046875 -20.671875 22.761719 -36.46875 28.105469 -54.351562 C 36.003906 -68.054688 47.382812 -79.902344 54.585938 -79.902344 C 61.320312 -80.132812 60.855469 -72.46875 59.230469 -66.429688 C 53.191406 -42.042969 48.546875 -23.226562 43.898438 -3.714844 C 44.828125 3.019531 66.894531 2.324219 69.449219 -2.789062 C 72.933594 -16.027344 77.8125 -38.558594 81.992188 -53.65625 C 87.101562 -66.199219 100.804688 -80.132812 108.9375 -80.367188 C 116.367188 -80.367188 114.976562 -72.238281 113.347656 -65.5 C 110.328125 -53.191406 104.753906 -32.984375 103.128906 -23.691406 C 100.109375 -7.898438 105.453125 2.789062 123.570312 2.089844 Z M 123.570312 2.089844 "
|
|
1453
|
-
})
|
|
1454
|
-
})
|
|
1455
|
-
}),
|
|
1456
|
-
/* @__PURE__ */ jsx("g", {
|
|
1457
|
-
"fill-opacity": "1",
|
|
1458
|
-
children: /* @__PURE__ */ jsx("g", {
|
|
1459
|
-
transform: "translate(428.260051, 223.612604)",
|
|
1460
|
-
children: /* @__PURE__ */ jsx("path", {
|
|
1461
|
-
d: "M 32.285156 -112.421875 C 41.578125 -112.421875 48.082031 -118.226562 49.007812 -126.589844 C 50.171875 -134.71875 45.0625 -140.523438 36.699219 -140.523438 C 28.105469 -140.757812 21.601562 -134.949219 20.207031 -126.589844 C 19.046875 -118.460938 24.621094 -112.421875 32.285156 -112.421875 Z M 14.632812 2.089844 C 38.789062 1.625 56.210938 -25.550781 65.964844 -46.453125 C 67.359375 -49.472656 59.230469 -54.351562 57.835938 -51.332031 C 49.9375 -32.285156 34.609375 -14.167969 23.925781 -14.167969 C 19.046875 -13.9375 19.277344 -20.207031 21.136719 -29.5 C 24.621094 -45.292969 29.5 -60.390625 38.558594 -92.675781 C 36.929688 -98.25 17.886719 -101.039062 14.167969 -95.695312 C 6.039062 -67.589844 0.464844 -48.777344 -4.644531 -26.945312 C -8.828125 -9.058594 -4.644531 2.554688 14.632812 2.089844 Z M 14.632812 2.089844 "
|
|
1462
|
-
})
|
|
1463
|
-
})
|
|
1464
|
-
}),
|
|
1465
|
-
/* @__PURE__ */ jsx("g", {
|
|
1466
|
-
"fill-opacity": "1",
|
|
1467
|
-
children: /* @__PURE__ */ jsx("g", {
|
|
1468
|
-
transform: "translate(484.467457, 223.612604)",
|
|
1469
|
-
children: /* @__PURE__ */ jsx("path", {
|
|
1470
|
-
d: "M 72.238281 -98.949219 C 56.90625 -99.179688 41.113281 -84.082031 32.75 -74.328125 C 34.839844 -81.0625 35.769531 -85.011719 37.859375 -92.445312 C 35.539062 -99.644531 17.421875 -100.804688 13.703125 -95.695312 C 4.414062 -61.785156 -3.484375 -35.304688 -10.917969 -4.414062 C -10.453125 3.25 12.542969 2.554688 15.097656 -2.554688 C 19.976562 -23.460938 22.53125 -35.304688 29.035156 -57.140625 C 37.628906 -68.753906 49.9375 -79.667969 58.066406 -79.902344 C 65.964844 -80.132812 64.804688 -72.46875 63.179688 -65.5 C 61.085938 -55.976562 54.585938 -30.660156 53.191406 -22.761719 C 50.402344 -7.664062 55.746094 2.554688 73.398438 2.089844 C 95.929688 1.859375 113.347656 -26.480469 122.640625 -46.6875 C 123.800781 -49.472656 115.671875 -54.121094 114.511719 -51.332031 C 105.917969 -31.355469 92.210938 -14.167969 82.6875 -14.167969 C 76.882812 -14.167969 78.042969 -22.996094 79.902344 -31.589844 C 82.457031 -42.738281 87.335938 -55.746094 89.890625 -66.429688 C 94.304688 -85.246094 89.890625 -98.714844 72.238281 -98.949219 Z M 72.238281 -98.949219 "
|
|
1471
|
-
})
|
|
1472
|
-
})
|
|
1473
|
-
}),
|
|
1474
|
-
/* @__PURE__ */ jsx("g", {
|
|
1475
|
-
"fill-opacity": "1",
|
|
1476
|
-
children: /* @__PURE__ */ jsx("g", {
|
|
1477
|
-
transform: "translate(597.346777, 223.612604)",
|
|
1478
|
-
children: /* @__PURE__ */ jsx("path", {
|
|
1479
|
-
d: "M 58.996094 -98.484375 C 31.820312 -99.414062 7.433594 -80.367188 1.160156 -49.9375 C -4.644531 -23.925781 7.898438 1.160156 43.203125 2.324219 C 65.269531 3.019531 93.140625 -4.644531 111.957031 -46.6875 C 113.117188 -49.472656 104.988281 -54.121094 103.59375 -51.332031 C 90.121094 -20.671875 65.5 -12.542969 49.707031 -14.167969 C 33.449219 -15.792969 24.851562 -25.316406 26.246094 -40.183594 C 53.191406 -33.910156 75.257812 -42.042969 83.851562 -59.460938 C 92.675781 -76.417969 85.011719 -97.554688 58.996094 -98.484375 Z M 55.976562 -81.992188 C 64.804688 -81.761719 65.035156 -73.398438 61.320312 -65.734375 C 56.675781 -55.511719 45.0625 -49.472656 27.871094 -52.027344 C 32.054688 -68.753906 45.0625 -82.6875 55.976562 -81.992188 Z M 55.976562 -81.992188 "
|
|
1480
|
-
})
|
|
1481
|
-
})
|
|
1482
|
-
}),
|
|
1483
|
-
/* @__PURE__ */ jsx("g", {
|
|
1484
|
-
"fill-opacity": "1",
|
|
1485
|
-
children: /* @__PURE__ */ jsx("g", {
|
|
1486
|
-
transform: "translate(699.542059, 223.612604)",
|
|
1487
|
-
children: /* @__PURE__ */ jsx("path", {
|
|
1488
|
-
d: "M 35.074219 2.554688 C 49.007812 2.789062 62.015625 -2.789062 68.753906 -12.542969 C 84.316406 -12.078125 100.574219 -19.277344 113.117188 -46.6875 C 114.277344 -49.242188 106.148438 -54.121094 104.988281 -51.566406 C 95.929688 -30.429688 84.082031 -23.460938 73.628906 -22.996094 C 79.207031 -46.453125 65.734375 -63.179688 61.550781 -92.675781 C 73.398438 -108.238281 51.566406 -116.367188 35.304688 -101.039062 C 20.441406 -87.566406 7.433594 -65.035156 -2.324219 -43.433594 C -3.949219 -40.183594 4.414062 -36.003906 5.808594 -39.023438 C 15.097656 -58.300781 26.710938 -78.972656 38.558594 -90.820312 C 40.183594 -71.539062 50.402344 -52.261719 50.171875 -35.769531 C 43.433594 -35.769531 40.183594 -25.316406 46.222656 -19.742188 C 44.132812 -16.722656 39.71875 -14.167969 35.304688 -14.167969 C 27.640625 -14.167969 22.066406 -20.671875 23.691406 -30.660156 C 20.671875 -33.449219 10.683594 -31.820312 8.828125 -25.550781 C 7.664062 -7.199219 21.367188 2.554688 35.074219 2.554688 Z M 35.074219 2.554688 "
|
|
1489
|
-
})
|
|
1490
|
-
})
|
|
1491
|
-
}),
|
|
1492
|
-
/* @__PURE__ */ jsx("g", {
|
|
1493
|
-
"fill-opacity": "1",
|
|
1494
|
-
children: /* @__PURE__ */ jsx("g", {
|
|
1495
|
-
transform: "translate(802.898632, 223.612604)",
|
|
1496
|
-
children: /* @__PURE__ */ jsx("path", {
|
|
1497
|
-
d: "M 57.835938 -98.714844 C 25.085938 -99.179688 0.929688 -70.378906 -0.695312 -41.578125 C -1.859375 -19.046875 13.472656 0.929688 37.628906 1.859375 C 62.015625 3.019531 88.496094 -5.574219 107.078125 -46.6875 C 108.238281 -49.242188 100.109375 -54.121094 98.949219 -51.332031 C 87.335938 -24.851562 68.054688 -13.703125 49.242188 -14.402344 C 33.910156 -14.867188 24.621094 -25.316406 26.015625 -41.578125 C 28.105469 -64.339844 43.203125 -83.617188 56.210938 -82.226562 C 65.734375 -81.296875 60.855469 -68.753906 55.511719 -62.015625 C 55.511719 -56.90625 72.933594 -55.511719 77.8125 -61.085938 C 90.585938 -74.558594 88.496094 -98.25 57.835938 -98.714844 Z M 57.835938 -98.714844 "
|
|
1498
|
-
})
|
|
1499
|
-
})
|
|
1500
|
-
}),
|
|
1501
|
-
/* @__PURE__ */ jsx("g", {
|
|
1502
|
-
"fill-opacity": "1",
|
|
1503
|
-
children: /* @__PURE__ */ jsx("g", {
|
|
1504
|
-
transform: "translate(900.21642, 223.612604)",
|
|
1505
|
-
children: /* @__PURE__ */ jsx("path", {
|
|
1506
|
-
d: "M 58.996094 -98.484375 C 31.820312 -99.414062 7.433594 -80.367188 1.160156 -49.9375 C -4.644531 -23.925781 7.898438 1.160156 43.203125 2.324219 C 65.269531 3.019531 93.140625 -4.644531 111.957031 -46.6875 C 113.117188 -49.472656 104.988281 -54.121094 103.59375 -51.332031 C 90.121094 -20.671875 65.5 -12.542969 49.707031 -14.167969 C 33.449219 -15.792969 24.851562 -25.316406 26.246094 -40.183594 C 53.191406 -33.910156 75.257812 -42.042969 83.851562 -59.460938 C 92.675781 -76.417969 85.011719 -97.554688 58.996094 -98.484375 Z M 55.976562 -81.992188 C 64.804688 -81.761719 65.035156 -73.398438 61.320312 -65.734375 C 56.675781 -55.511719 45.0625 -49.472656 27.871094 -52.027344 C 32.054688 -68.753906 45.0625 -82.6875 55.976562 -81.992188 Z M 55.976562 -81.992188 "
|
|
1507
|
-
})
|
|
1508
|
-
})
|
|
1509
|
-
}),
|
|
1510
|
-
/* @__PURE__ */ jsx("g", {
|
|
1511
|
-
"fill-opacity": "1",
|
|
1512
|
-
children: /* @__PURE__ */ jsx("g", {
|
|
1513
|
-
transform: "translate(1002.411702, 223.612604)",
|
|
1514
|
-
children: /* @__PURE__ */ jsx("path", {
|
|
1515
|
-
d: "M 72.238281 -98.949219 C 56.90625 -99.179688 41.113281 -84.082031 32.75 -74.328125 C 34.839844 -81.0625 35.769531 -85.011719 37.859375 -92.445312 C 35.539062 -99.644531 17.421875 -100.804688 13.703125 -95.695312 C 4.414062 -61.785156 -3.484375 -35.304688 -10.917969 -4.414062 C -10.453125 3.25 12.542969 2.554688 15.097656 -2.554688 C 19.976562 -23.460938 22.53125 -35.304688 29.035156 -57.140625 C 37.628906 -68.753906 49.9375 -79.667969 58.066406 -79.902344 C 65.964844 -80.132812 64.804688 -72.46875 63.179688 -65.5 C 61.085938 -55.976562 54.585938 -30.660156 53.191406 -22.761719 C 50.402344 -7.664062 55.746094 2.554688 73.398438 2.089844 C 95.929688 1.859375 113.347656 -26.480469 122.640625 -46.6875 C 123.800781 -49.472656 115.671875 -54.121094 114.511719 -51.332031 C 105.917969 -31.355469 92.210938 -14.167969 82.6875 -14.167969 C 76.882812 -14.167969 78.042969 -22.996094 79.902344 -31.589844 C 82.457031 -42.738281 87.335938 -55.746094 89.890625 -66.429688 C 94.304688 -85.246094 89.890625 -98.714844 72.238281 -98.949219 Z M 72.238281 -98.949219 "
|
|
1516
|
-
})
|
|
1517
|
-
})
|
|
1518
|
-
}),
|
|
1519
|
-
/* @__PURE__ */ jsx("g", {
|
|
1520
|
-
"fill-opacity": "1",
|
|
1521
|
-
children: /* @__PURE__ */ jsx("g", {
|
|
1522
|
-
transform: "translate(1115.290992, 223.612604)",
|
|
1523
|
-
children: /* @__PURE__ */ jsx("path", {
|
|
1524
|
-
d: "M 28.570312 2.089844 C 51.796875 1.859375 68.753906 -17.421875 81.296875 -46.453125 C 82.457031 -49.472656 74.558594 -54.121094 73.167969 -51.332031 C 63.410156 -29.265625 46.917969 -13.9375 33.449219 -14.167969 C 22.066406 -14.402344 22.066406 -30.195312 26.945312 -51.566406 C 29.035156 -61.320312 32.519531 -73.628906 36.003906 -85.707031 L 57.835938 -85.707031 C 61.320312 -86.871094 64.105469 -97.785156 59.695312 -101.039062 L 40.183594 -101.039062 C 45.527344 -118.691406 50.867188 -135.183594 55.976562 -149.351562 C 55.746094 -156.085938 34.609375 -158.644531 31.355469 -153.996094 C 26.710938 -142.152344 19.511719 -120.550781 13.472656 -101.039062 L 4.179688 -101.039062 C 0.464844 -99.644531 -2.324219 -88.265625 2.324219 -85.707031 L 9.289062 -85.707031 C -1.394531 -45.0625 -12.078125 2.554688 28.570312 2.089844 Z M 28.570312 2.089844 "
|
|
1525
|
-
})
|
|
1526
|
-
})
|
|
1527
|
-
})
|
|
1528
|
-
]
|
|
1529
|
-
});
|
|
1530
|
-
});
|
|
1531
|
-
const LogoPaper = component$(({ size, ...props }) => {
|
|
1532
|
-
return /* @__PURE__ */ jsxs("svg", {
|
|
1533
|
-
"xml:space": "preserve",
|
|
1534
|
-
"fill-rule": "evenodd",
|
|
1535
|
-
"stroke-linecap": "round",
|
|
1536
|
-
"stroke-linejoin": "round",
|
|
1537
|
-
"stroke-miterlimit": "1.5",
|
|
1538
|
-
"clip-rule": "evenodd",
|
|
1539
|
-
viewBox: "0 0 24 24",
|
|
1540
|
-
width: size,
|
|
1541
|
-
height: size,
|
|
1542
|
-
...props,
|
|
1543
|
-
children: [
|
|
1544
|
-
/* @__PURE__ */ jsx("path", {
|
|
1545
|
-
fill: "none",
|
|
1546
|
-
d: "M0 0h24v24H0z"
|
|
1547
|
-
}),
|
|
1548
|
-
/* @__PURE__ */ jsx("path", {
|
|
1549
|
-
fill: "none",
|
|
1550
|
-
stroke: "currentColor",
|
|
1551
|
-
"stroke-width": "2",
|
|
1552
|
-
d: "m12 18 6 2 3-17L2 14l6 2"
|
|
1553
|
-
}),
|
|
1554
|
-
/* @__PURE__ */ jsx("path", {
|
|
1555
|
-
stroke: "currentColor",
|
|
1556
|
-
"stroke-width": "2",
|
|
1557
|
-
d: "m9 21-1-5 4 2-3 3Z"
|
|
1558
|
-
}),
|
|
1559
|
-
/* @__PURE__ */ jsx("path", {
|
|
1560
|
-
fill: "currentColor",
|
|
1561
|
-
d: "m12 18-4-2 10-9-6 11Z"
|
|
1562
|
-
})
|
|
1563
|
-
]
|
|
1564
|
-
});
|
|
1565
|
-
});
|
|
1566
|
-
const LogoPterodactyl = component$(({ size, ...props }) => {
|
|
1567
|
-
return /* @__PURE__ */ jsx("svg", {
|
|
1568
|
-
version: "1.0",
|
|
1569
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1570
|
-
viewBox: "0 0 180 180",
|
|
1571
|
-
preserveAspectRatio: "xMidYMid meet",
|
|
1572
|
-
width: size,
|
|
1573
|
-
height: size,
|
|
1574
|
-
...props,
|
|
1575
|
-
children: /* @__PURE__ */ jsxs("g", {
|
|
1576
|
-
transform: "translate(0,180) scale(0.100000,-0.100000)",
|
|
1577
|
-
fill: "currentColor",
|
|
1578
|
-
stroke: "none",
|
|
1579
|
-
children: [
|
|
1580
|
-
/* @__PURE__ */ jsx("path", {
|
|
1581
|
-
d: "M965 1489 c-86 -13 -231 -63 -305 -107 -70 -41 -175 -138 -204 -190 l-18 -34 53 32 c127 75 410 193 425 177 3 -3 -3 -18 -13 -34 l-18 -28 40 33 c39 32 136 99 205 140 l35 22 -70 -1 c-38 -1 -97 -5 -130 -10z"
|
|
1582
|
-
}),
|
|
1583
|
-
/* @__PURE__ */ jsx("path", {
|
|
1584
|
-
d: "M1149 1320 c-147 -23 -282 -103 -431 -254 -103 -104 -143 -125 -65 -34 48 56 188 261 182 266 -6 7 -191 -71 -265 -111 -245 -132 -410 -289 -502 -474 -27 -56 -48 -107 -46 -112 1 -5 41 20 88 56 120 93 200 146 200 133 0 -6 -46 -59 -103 -117 -56 -59 -95 -104 -87 -101 8 3 89 36 180 73 150 61 165 66 175 50 64 -109 121 -158 225 -194 103 -36 259 -47 366 -26 13 3 42 -11 80 -39 32 -24 78 -49 101 -55 27 -7 44 -19 48 -31 8 -27 41 -43 71 -36 28 7 32 26 5 26 -24 0 -44 24 -39 47 2 10 18 25 35 34 18 9 30 19 26 23 -13 13 -58 5 -79 -15 -15 -14 -29 -18 -48 -13 -29 7 -79 60 -73 78 2 6 29 20 60 31 31 11 57 23 57 27 0 13 -181 96 -248 114 l-64 18 6 40 c11 71 63 162 132 231 101 101 239 159 582 246 28 7 52 15 52 19 0 7 -209 64 -310 84 -99 19 -241 27 -311 16z m-819 -401 c-13 -22 -37 -35 -48 -24 -7 7 34 45 49 45 6 0 5 -9 -1 -21z"
|
|
1585
|
-
}),
|
|
1586
|
-
/* @__PURE__ */ jsx("path", {
|
|
1587
|
-
d: "M1224 496 c-14 -11 -16 -17 -7 -26 9 -10 17 -8 37 6 14 11 26 22 26 27 0 12 -35 8 -56 -7z"
|
|
1588
|
-
}),
|
|
1589
|
-
/* @__PURE__ */ jsx("path", {
|
|
1590
|
-
d: "M1012 441 c-19 -11 64 -51 106 -51 39 0 40 4 5 35 -29 25 -85 33 -111 16z"
|
|
1591
|
-
})
|
|
1592
|
-
]
|
|
1593
|
-
})
|
|
1594
|
-
});
|
|
1595
|
-
});
|
|
1596
|
-
const LogoPurpur = component$(({ size, ...props }) => {
|
|
1597
|
-
return /* @__PURE__ */ jsxs("svg", {
|
|
1598
|
-
"xml:space": "preserve",
|
|
1599
|
-
"fill-rule": "evenodd",
|
|
1600
|
-
"stroke-linecap": "round",
|
|
1601
|
-
"stroke-linejoin": "round",
|
|
1602
|
-
"stroke-miterlimit": "1.5",
|
|
1603
|
-
"clip-rule": "evenodd",
|
|
1604
|
-
viewBox: "0 0 24 24",
|
|
1605
|
-
width: size,
|
|
1606
|
-
height: size,
|
|
1607
|
-
...props,
|
|
1608
|
-
children: [
|
|
1609
|
-
/* @__PURE__ */ jsx("defs", {
|
|
1610
|
-
children: /* @__PURE__ */ jsx("path", {
|
|
1611
|
-
id: "purpur",
|
|
1612
|
-
fill: "none",
|
|
1613
|
-
stroke: "currentColor",
|
|
1614
|
-
"stroke-width": "1.68",
|
|
1615
|
-
d: "m264 41.95 8-4v8l-8 4v-8Z"
|
|
1616
|
-
})
|
|
1617
|
-
}),
|
|
1618
|
-
/* @__PURE__ */ jsx("path", {
|
|
1619
|
-
fill: "none",
|
|
1620
|
-
d: "M0 0h24v24H0z"
|
|
1621
|
-
}),
|
|
1622
|
-
/* @__PURE__ */ jsx("path", {
|
|
1623
|
-
fill: "none",
|
|
1624
|
-
stroke: "currentColor",
|
|
1625
|
-
"stroke-width": "1.77",
|
|
1626
|
-
d: "m264 29.95-8 4 8 4.42 8-4.42-8-4Z",
|
|
1627
|
-
transform: "matrix(1.125 0 0 1.1372 -285 -31.69)"
|
|
1628
|
-
}),
|
|
1629
|
-
/* @__PURE__ */ jsx("path", {
|
|
1630
|
-
fill: "none",
|
|
1631
|
-
stroke: "currentColor",
|
|
1632
|
-
"stroke-width": "1.77",
|
|
1633
|
-
d: "m272 38.37-8 4.42-8-4.42",
|
|
1634
|
-
transform: "matrix(1.125 0 0 1.1372 -285 -31.69)"
|
|
1635
|
-
}),
|
|
1636
|
-
/* @__PURE__ */ jsx("path", {
|
|
1637
|
-
fill: "none",
|
|
1638
|
-
stroke: "currentColor",
|
|
1639
|
-
"stroke-width": "1.77",
|
|
1640
|
-
d: "m260 31.95 8 4.21V45",
|
|
1641
|
-
transform: "matrix(1.125 0 0 1.1372 -285 -31.69)"
|
|
1642
|
-
}),
|
|
1643
|
-
/* @__PURE__ */ jsx("path", {
|
|
1644
|
-
fill: "none",
|
|
1645
|
-
stroke: "currentColor",
|
|
1646
|
-
"stroke-width": "1.77",
|
|
1647
|
-
d: "M260 45v-8.84l8-4.21",
|
|
1648
|
-
transform: "matrix(1.125 0 0 1.1372 -285 -31.69)"
|
|
1649
|
-
}),
|
|
1650
|
-
/* @__PURE__ */ jsx("path", {
|
|
1651
|
-
fill: "none",
|
|
1652
|
-
stroke: "currentColor",
|
|
1653
|
-
"stroke-width": "1.68",
|
|
1654
|
-
d: "m264 41.95 8-4v8l-8 4v-8Z",
|
|
1655
|
-
transform: "matrix(1.125 0 0 1.2569 -285 -40.78)"
|
|
1656
|
-
}),
|
|
1657
|
-
/* @__PURE__ */ jsx("path", {
|
|
1658
|
-
fill: "none",
|
|
1659
|
-
stroke: "currentColor",
|
|
1660
|
-
"stroke-width": "1.68",
|
|
1661
|
-
d: "m264 41.95 8-4v8l-8 4v-8Z",
|
|
1662
|
-
transform: "matrix(-1.125 0 0 1.2569 309 -40.78)"
|
|
1663
|
-
})
|
|
1664
|
-
]
|
|
1665
|
-
});
|
|
1666
|
-
});
|
|
1667
|
-
const LogoVelocity = component$(({ size, ...props }) => {
|
|
1668
|
-
return /* @__PURE__ */ jsxs("svg", {
|
|
1669
|
-
viewBox: "0 0 500 500",
|
|
1670
|
-
fill: "currentColor",
|
|
1671
|
-
width: size,
|
|
1672
|
-
height: size,
|
|
1673
|
-
...props,
|
|
1674
|
-
children: [
|
|
1675
|
-
/* @__PURE__ */ jsx("path", {
|
|
1676
|
-
d: "M236.25 232.55l-54.08-73.79a11.86 11.86 0 00-11.91-4.62L84 171.57a11.88 11.88 0 00-8 5.88l-42.64 77.07a11.84 11.84 0 00.81 12.75l54.21 74a11.86 11.86 0 0011.91 4.62l86-17.37a11.85 11.85 0 008-5.89l42.78-77.3a11.86 11.86 0 00-.82-12.78zm-59.45 74.21a9.57 9.57 0 01-13.39-2.06l-31-42.24a16 16 0 00-16-6.21l-52.58 10.63a9.58 9.58 0 01-11.29-7.49A9.58 9.58 0 0160 248.1l57-11.52a16 16 0 0010.81-7.92L156.42 177a9.58 9.58 0 0113-3.75 9.58 9.58 0 013.75 13L146.81 234a16 16 0 001.09 17.16l31 42.23a9.58 9.58 0 01-2.1 13.37z"
|
|
1677
|
-
}),
|
|
1678
|
-
/* @__PURE__ */ jsx("circle", {
|
|
1679
|
-
cx: "416.44",
|
|
1680
|
-
cy: "236.11",
|
|
1681
|
-
r: "9.83"
|
|
1682
|
-
}),
|
|
1683
|
-
/* @__PURE__ */ jsx("path", {
|
|
1684
|
-
d: "M458.29 265.6H280.52a9.83 9.83 0 110-19.66h106.22a9.84 9.84 0 000-19.67h-70.2a9.83 9.83 0 110-19.66H422.9a9.84 9.84 0 000-19.67H202.83l33.42 45.61a11.86 11.86 0 01.81 12.75l-42.78 77.3a11.75 11.75 0 01-1.4 2h212.29a9.83 9.83 0 100-19.66h-53.53a9.84 9.84 0 110-19.67h106.65a9.84 9.84 0 100-19.67z"
|
|
1685
|
-
})
|
|
1686
|
-
]
|
|
1687
|
-
});
|
|
1688
|
-
});
|
|
1689
|
-
const LogoWaterfall = component$(({ size, ...props }) => {
|
|
1690
|
-
return /* @__PURE__ */ jsx("svg", {
|
|
1691
|
-
viewBox: "0 0 24 24",
|
|
1692
|
-
fill: "none",
|
|
1693
|
-
stroke: "currentColor",
|
|
1694
|
-
"stroke-width": "2",
|
|
1695
|
-
"stroke-linecap": "round",
|
|
1696
|
-
"stroke-linejoin": "round",
|
|
1697
|
-
width: size,
|
|
1698
|
-
height: size,
|
|
1699
|
-
...props,
|
|
1700
|
-
children: /* @__PURE__ */ jsx("path", {
|
|
1701
|
-
d: "M12 2.69l5.66 5.66a8 8 0 1 1-11.31 0z"
|
|
1702
|
-
})
|
|
1703
|
-
});
|
|
1704
|
-
});
|
|
1
|
+
import { Hoverable } from "./components/functions.qwik.mjs";
|
|
2
|
+
import { Anchor } from "./components/elements/Anchor.qwik.mjs";
|
|
3
|
+
import { Blobs, blobColorClasses } from "./components/elements/Blobs.qwik.mjs";
|
|
4
|
+
import { ColorPicker } from "./components/elements/ColorPicker.qwik.mjs";
|
|
5
|
+
import { Dropdown } from "./components/elements/Dropdown.qwik.mjs";
|
|
6
|
+
import { LogoBirdflop } from "./components/logos/Birdflop.qwik.mjs";
|
|
7
|
+
import { LogoDiscord } from "./components/logos/Discord.qwik.mjs";
|
|
8
|
+
import { LogoFabric } from "./components/logos/Fabric.qwik.mjs";
|
|
9
|
+
import { LogoForge } from "./components/logos/Forge.qwik.mjs";
|
|
10
|
+
import { LogoLuminescent, LogoLuminescentFull } from "./components/logos/Luminescent.qwik.mjs";
|
|
11
|
+
import { LogoPaper } from "./components/logos/Paper.qwik.mjs";
|
|
12
|
+
import { LogoPterodactyl } from "./components/logos/Pterodactyl.qwik.mjs";
|
|
13
|
+
import { LogoPurpur } from "./components/logos/Purpur.qwik.mjs";
|
|
14
|
+
import { LogoVelocity } from "./components/logos/Velocity.qwik.mjs";
|
|
15
|
+
import { LogoWaterfall } from "./components/logos/Waterfall.qwik.mjs";
|
|
16
|
+
import { Nav } from "./components/elements/Nav.qwik.mjs";
|
|
17
|
+
import { NumberInput, NumberInputRaw } from "./components/elements/NumberInput.qwik.mjs";
|
|
18
|
+
import { RangeInput, RangeInputRaw } from "./components/elements/RangeInput.qwik.mjs";
|
|
19
|
+
import { SelectMenu, SelectMenuRaw } from "./components/elements/SelectMenu.qwik.mjs";
|
|
20
|
+
import { Sidebar } from "./components/elements/Sidebar.qwik.mjs";
|
|
21
|
+
import { Toggle } from "./components/elements/Toggle.qwik.mjs";
|
|
1705
22
|
export {
|
|
1706
23
|
Anchor,
|
|
1707
24
|
Blobs,
|