@luminescent/ui-qwik 1.2.2 → 1.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.qwik.cjs +1934 -0
- package/lib/index.qwik.mjs +79 -349
- package/lib-types/src/components/docs/Anchor.d.ts +2 -0
- package/lib-types/src/components/docs/Blobs.d.ts +2 -0
- package/lib-types/src/components/docs/ColorPicker.d.ts +2 -0
- package/lib-types/src/components/docs/Dropdown.d.ts +2 -0
- package/lib-types/src/components/docs/IconsLogos.d.ts +2 -0
- package/lib-types/src/components/docs/Nav.d.ts +2 -0
- package/lib-types/src/components/docs/NumberInput.d.ts +2 -0
- package/lib-types/src/components/docs/Playground.d.ts +2 -0
- package/lib-types/src/components/docs/Toggle.d.ts +2 -0
- package/lib-types/src/components/docs/lum-btn.d.ts +2 -0
- package/lib-types/src/components/docs/lum-card.d.ts +2 -0
- package/lib-types/src/components/docs/lum-classes.d.ts +2 -0
- package/lib-types/src/components/docs/lum-input.d.ts +2 -0
- package/lib-types/src/components/elements/Anchor.d.ts +5 -0
- package/lib-types/src/components/elements/Blobs.d.ts +37 -0
- package/lib-types/src/components/elements/ColorPicker.d.ts +13 -0
- package/lib-types/src/components/elements/Dropdown.d.ts +16 -0
- package/lib-types/src/components/elements/Header.d.ts +11 -0
- package/lib-types/src/components/elements/Nav.d.ts +11 -0
- package/lib-types/src/components/elements/NumberInput.d.ts +21 -0
- package/lib-types/src/components/elements/Toggle.d.ts +212 -0
- package/lib-types/src/components/elements.d.ts +8 -0
- package/lib-types/src/components/logos/Birdflop.d.ts +7 -0
- package/lib-types/src/components/logos/Discord.d.ts +2 -0
- package/lib-types/src/components/logos/Fabric.d.ts +2 -0
- package/lib-types/src/components/logos/Forge.d.ts +2 -0
- package/lib-types/src/components/logos/IconProps.d.ts +2 -0
- package/lib-types/src/components/logos/Luminescent.d.ts +3 -0
- package/lib-types/src/components/logos/Paper.d.ts +2 -0
- package/lib-types/src/components/logos/Pterodactyl.d.ts +2 -0
- package/lib-types/src/components/logos/Purpur.d.ts +2 -0
- package/lib-types/src/components/logos/Velocity.d.ts +2 -0
- package/lib-types/src/components/logos/Waterfall.d.ts +2 -0
- package/lib-types/src/components/logos.d.ts +10 -0
- package/lib-types/src/entry.dev.d.ts +2 -0
- package/lib-types/src/entry.ssr.d.ts +14 -0
- package/lib-types/src/index.d.ts +2 -0
- package/lib-types/src/root.d.ts +3 -0
- package/lib-types/src/svg/ChevronDown.d.ts +2 -0
- package/lib-types/src/svg/Link.d.ts +2 -0
- package/lib-types/src/svg/Minus.d.ts +2 -0
- package/lib-types/src/svg/Plus.d.ts +2 -0
- package/lib-types/src/svg/Shuffle.d.ts +2 -0
- package/lib-types/src/tailwind.config.d.ts +138 -0
- package/lib-types/src/utils/color.d.ts +36 -0
- package/lib-types/tailwind.config.d.ts +122 -0
- package/package.json +14 -14
package/lib/index.qwik.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { componentQrl, inlinedQrl, _jsxQ, _fnSignal, _restProps,
|
|
1
|
+
import { componentQrl, inlinedQrl, _jsxQ, _fnSignal, _restProps, _jsxS, _IMMUTABLE, useStore, useLexicalScope, _jsxC, Slot, _wrapSignal, _jsxBranch, useSignal, useStylesQrl } from "@builder.io/qwik";
|
|
2
2
|
import { Fragment } from "@builder.io/qwik/jsx-runtime";
|
|
3
3
|
const Anchor = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => /* @__PURE__ */ _jsxQ("span", null, {
|
|
4
4
|
id: _fnSignal((p0) => p0.id, [
|
|
5
5
|
props
|
|
6
|
-
]),
|
|
6
|
+
], "p0.id"),
|
|
7
7
|
class: "block h-32 -mt-32 pointer-events-none"
|
|
8
8
|
}, null, 3, "mN_0"), "Anchor_component_dUkqs0yGHwc"));
|
|
9
9
|
const blobColorClasses = {
|
|
@@ -146,14 +146,14 @@ const Blobs = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
|
|
|
146
146
|
const colorClass = typeof (props.color ?? "darkgray") == "string" ? blobColorClasses[props.color ?? "darkgray"] : props.color ?? "darkgray";
|
|
147
147
|
return /* @__PURE__ */ _jsxQ("div", {
|
|
148
148
|
class: {
|
|
149
|
-
"motion-reduce:hidden absolute inset-0 transition-all animate-in fade-in anim-duration-[2s]
|
|
149
|
+
"motion-reduce:hidden absolute inset-0 transition-all animate-in fade-in anim-duration-[2s]": true,
|
|
150
150
|
...props1.class
|
|
151
|
-
}
|
|
152
|
-
}, {
|
|
151
|
+
},
|
|
153
152
|
style: {
|
|
154
|
-
containerType: "size"
|
|
153
|
+
containerType: "size",
|
|
154
|
+
...props1.style
|
|
155
155
|
}
|
|
156
|
-
}, [
|
|
156
|
+
}, null, [
|
|
157
157
|
/* @__PURE__ */ _jsxQ("div", {
|
|
158
158
|
class: {
|
|
159
159
|
"absolute top-0 w-[30cqw] h-[30cqw] rounded-full opacity-20 ease-in-out": true,
|
|
@@ -191,205 +191,6 @@ const Blobs = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
|
|
|
191
191
|
}, null, null, 3, null)
|
|
192
192
|
], 1, "Mx_0");
|
|
193
193
|
}, "Blobs_component_xCrUzl14bRQ"));
|
|
194
|
-
const cardColorClasses = {
|
|
195
|
-
slate: {
|
|
196
|
-
bg_blobs: "bg-slate-400/10 border-slate-400/20",
|
|
197
|
-
bg: "bg-slate-400/60 border-slate-400",
|
|
198
|
-
hover: "hover:bg-slate-400/20",
|
|
199
|
-
click: "active:bg-slate-300/20"
|
|
200
|
-
},
|
|
201
|
-
gray: {
|
|
202
|
-
bg_blobs: "bg-gray-400/10 border-gray-400/20",
|
|
203
|
-
bg: "bg-gray-400/60 border-gray-400",
|
|
204
|
-
hover: "hover:bg-gray-400/20",
|
|
205
|
-
click: "active:bg-gray-300/20"
|
|
206
|
-
},
|
|
207
|
-
darkgray: {
|
|
208
|
-
bg_blobs: "bg-gray-800/10 border-gray-800/40",
|
|
209
|
-
bg: "bg-gray-800/60 border-gray-800",
|
|
210
|
-
hover: "hover:bg-gray-800/40",
|
|
211
|
-
click: "active:bg-gray-700/40"
|
|
212
|
-
},
|
|
213
|
-
darkergray: {
|
|
214
|
-
bg_blobs: "bg-gray-900/10 border-gray-900/50",
|
|
215
|
-
bg: "bg-gray-900/60 border-gray-900",
|
|
216
|
-
hover: "hover:bg-gray-900/50",
|
|
217
|
-
click: "active:bg-gray-800/50"
|
|
218
|
-
},
|
|
219
|
-
zinc: {
|
|
220
|
-
bg_blobs: "bg-zinc-400/10 border-zinc-400/20",
|
|
221
|
-
bg: "bg-zinc-400/60 border-zinc-400",
|
|
222
|
-
hover: "hover:bg-zinc-400/20",
|
|
223
|
-
click: "active:bg-zinc-300/20"
|
|
224
|
-
},
|
|
225
|
-
neutral: {
|
|
226
|
-
bg_blobs: "bg-neutral-400/10 border-neutral-400/20",
|
|
227
|
-
bg: "bg-neutral-400/60 border-neutral-400",
|
|
228
|
-
hover: "hover:bg-neutral-400/20",
|
|
229
|
-
click: "active:bg-neutral-300/20"
|
|
230
|
-
},
|
|
231
|
-
stone: {
|
|
232
|
-
bg_blobs: "bg-stone-400/10 border-stone-400/20",
|
|
233
|
-
bg: "bg-stone-400/60 border-stone-400",
|
|
234
|
-
hover: "hover:bg-stone-400/20",
|
|
235
|
-
click: "active:bg-stone-300/20"
|
|
236
|
-
},
|
|
237
|
-
red: {
|
|
238
|
-
bg_blobs: "bg-red-400/10 border-red-400/20",
|
|
239
|
-
bg: "bg-red-400/60 border-red-400",
|
|
240
|
-
hover: "hover:bg-red-400/20",
|
|
241
|
-
click: "active:bg-red-300/20"
|
|
242
|
-
},
|
|
243
|
-
orange: {
|
|
244
|
-
bg_blobs: "bg-orange-400/10 border-orange-400/20",
|
|
245
|
-
bg: "bg-orange-400/60 border-orange-400",
|
|
246
|
-
hover: "hover:bg-orange-400/20",
|
|
247
|
-
click: "active:bg-orange-300/20"
|
|
248
|
-
},
|
|
249
|
-
amber: {
|
|
250
|
-
bg_blobs: "bg-amber-400/10 border-amber-400/20",
|
|
251
|
-
bg: "bg-amber-400/60 border-amber-400",
|
|
252
|
-
hover: "hover:bg-amber-400/20",
|
|
253
|
-
click: "active:bg-amber-300/20"
|
|
254
|
-
},
|
|
255
|
-
yellow: {
|
|
256
|
-
bg_blobs: "bg-yellow-400/10 border-yellow-400/20",
|
|
257
|
-
bg: "bg-yellow-400/60 border-yellow-400",
|
|
258
|
-
hover: "hover:bg-yellow-400/20",
|
|
259
|
-
click: "active:bg-yellow-300/20"
|
|
260
|
-
},
|
|
261
|
-
lime: {
|
|
262
|
-
bg_blobs: "bg-lime-400/10 border-lime-400/20",
|
|
263
|
-
bg: "bg-lime-400/60 border-lime-400",
|
|
264
|
-
hover: "hover:bg-lime-400/20",
|
|
265
|
-
click: "active:bg-lime-300/20"
|
|
266
|
-
},
|
|
267
|
-
green: {
|
|
268
|
-
bg_blobs: "bg-green-400/10 border-green-400/20",
|
|
269
|
-
bg: "bg-green-400/60 border-green-400",
|
|
270
|
-
hover: "hover:bg-green-400/20",
|
|
271
|
-
click: "active:bg-green-300/20"
|
|
272
|
-
},
|
|
273
|
-
emerald: {
|
|
274
|
-
bg_blobs: "bg-emerald-400/10 border-emerald-400/20",
|
|
275
|
-
bg: "bg-emerald-400/60 border-emerald-400",
|
|
276
|
-
hover: "hover:bg-emerald-400/20",
|
|
277
|
-
click: "active:bg-emerald-300/20"
|
|
278
|
-
},
|
|
279
|
-
teal: {
|
|
280
|
-
bg_blobs: "bg-teal-400/10 border-teal-400/20",
|
|
281
|
-
bg: "bg-teal-400/60 border-teal-400",
|
|
282
|
-
hover: "hover:bg-teal-400/20",
|
|
283
|
-
click: "active:bg-teal-300/20"
|
|
284
|
-
},
|
|
285
|
-
cyan: {
|
|
286
|
-
bg_blobs: "bg-cyan-400/10 border-cyan-400/20",
|
|
287
|
-
bg: "bg-cyan-400/60 border-cyan-400",
|
|
288
|
-
hover: "hover:bg-cyan-400/20",
|
|
289
|
-
click: "active:bg-cyan-300/20"
|
|
290
|
-
},
|
|
291
|
-
sky: {
|
|
292
|
-
bg_blobs: "bg-sky-400/10 border-sky-400/20",
|
|
293
|
-
bg: "bg-sky-400/60 border-sky-400",
|
|
294
|
-
hover: "hover:bg-sky-400/20",
|
|
295
|
-
click: "active:bg-sky-300/20"
|
|
296
|
-
},
|
|
297
|
-
blue: {
|
|
298
|
-
bg_blobs: "bg-blue-400/10 border-blue-400/20",
|
|
299
|
-
bg: "bg-blue-400/60 border-blue-400",
|
|
300
|
-
hover: "hover:bg-blue-400/20",
|
|
301
|
-
click: "active:bg-blue-300/20"
|
|
302
|
-
},
|
|
303
|
-
indigo: {
|
|
304
|
-
bg_blobs: "bg-indigo-400/10 border-indigo-400/20",
|
|
305
|
-
bg: "bg-indigo-400/60 border-indigo-400",
|
|
306
|
-
hover: "hover:bg-indigo-400/20",
|
|
307
|
-
click: "active:bg-indigo-300/20"
|
|
308
|
-
},
|
|
309
|
-
violet: {
|
|
310
|
-
bg_blobs: "bg-violet-400/10 border-violet-400/20",
|
|
311
|
-
bg: "bg-violet-400/60 border-violet-400",
|
|
312
|
-
hover: "hover:bg-violet-400/20",
|
|
313
|
-
click: "active:bg-violet-300/20"
|
|
314
|
-
},
|
|
315
|
-
purple: {
|
|
316
|
-
bg_blobs: "bg-purple-400/10 border-purple-400/20",
|
|
317
|
-
bg: "bg-purple-400/60 border-purple-400",
|
|
318
|
-
hover: "hover:bg-purple-400/20",
|
|
319
|
-
click: "active:bg-purple-300/20"
|
|
320
|
-
},
|
|
321
|
-
fuchsia: {
|
|
322
|
-
bg_blobs: "bg-fuchsia-400/10 border-fuchsia-400/20",
|
|
323
|
-
bg: "bg-fuchsia-400/60 border-fuchsia-400",
|
|
324
|
-
hover: "hover:bg-fuchsia-400/20",
|
|
325
|
-
click: "active:bg-fuchsia-300/20"
|
|
326
|
-
},
|
|
327
|
-
pink: {
|
|
328
|
-
bg_blobs: "bg-pink-400/10 border-pink-400/20",
|
|
329
|
-
bg: "bg-pink-400/60 border-pink-400",
|
|
330
|
-
hover: "hover:bg-pink-400/20",
|
|
331
|
-
click: "active:bg-pink-300/20"
|
|
332
|
-
},
|
|
333
|
-
rose: {
|
|
334
|
-
bg_blobs: "bg-rose-400/10 border-rose-400/20",
|
|
335
|
-
bg: "bg-rose-400/60 border-rose-400",
|
|
336
|
-
hover: "hover:bg-rose-400/20",
|
|
337
|
-
click: "active:bg-rose-300/20"
|
|
338
|
-
}
|
|
339
|
-
};
|
|
340
|
-
const Card = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
341
|
-
_jsxBranch();
|
|
342
|
-
const props1 = _restProps(props, [
|
|
343
|
-
"color",
|
|
344
|
-
"hover",
|
|
345
|
-
"row",
|
|
346
|
-
"blobs"
|
|
347
|
-
]);
|
|
348
|
-
return /* @__PURE__ */ _jsxS("div", {
|
|
349
|
-
...props1,
|
|
350
|
-
class: {
|
|
351
|
-
"flex lum-bg-gray-900 lum-pad-equal-4xl rounded-lg": true,
|
|
352
|
-
"flex-col": !props.row,
|
|
353
|
-
[cardColorClasses[props.color ?? "darkgray"].bg]: !props.blobs,
|
|
354
|
-
[cardColorClasses[props.color ?? "darkgray"].bg_blobs]: props.blobs,
|
|
355
|
-
[cardColorClasses[props.color ?? "darkgray"].hover + " hover:shadow-lg"]: props.hover,
|
|
356
|
-
[cardColorClasses[props.color ?? "darkgray"].click + " active:scale-[99%] cursor-pointer select-none touch-manipulation"]: props.hover == "clickable",
|
|
357
|
-
...props1.class
|
|
358
|
-
},
|
|
359
|
-
children: [
|
|
360
|
-
props.hover == "blur" && /* @__PURE__ */ _jsxQ("div", null, {
|
|
361
|
-
class: {
|
|
362
|
-
"transition-all absolute flex inset-0 w-full h-full z-10 backdrop-blur-xl rounded-lg opacity-0 hover:opacity-100": true
|
|
363
|
-
}
|
|
364
|
-
}, /* @__PURE__ */ _jsxC(Slot, {
|
|
365
|
-
name: "blur",
|
|
366
|
-
[_IMMUTABLE]: {
|
|
367
|
-
name: _IMMUTABLE
|
|
368
|
-
}
|
|
369
|
-
}, 3, "r7_0"), 1, "r7_1"),
|
|
370
|
-
/* @__PURE__ */ _jsxC(Slot, null, 3, "r7_2"),
|
|
371
|
-
props1.href && /* @__PURE__ */ _jsxQ("a", {
|
|
372
|
-
href: _wrapSignal(props1, "href")
|
|
373
|
-
}, {
|
|
374
|
-
class: "absolute inset-0"
|
|
375
|
-
}, null, 3, "r7_3"),
|
|
376
|
-
props.blobs && /* @__PURE__ */ _jsxC(Blobs, {
|
|
377
|
-
get color() {
|
|
378
|
-
return props.blobs == true ? props.color ?? "darkgray" : props.blobs;
|
|
379
|
-
},
|
|
380
|
-
class: {
|
|
381
|
-
"overflow-clip rounded-lg": true
|
|
382
|
-
},
|
|
383
|
-
[_IMMUTABLE]: {
|
|
384
|
-
color: _fnSignal((p0) => p0.blobs == true ? p0.color ?? "darkgray" : p0.blobs, [
|
|
385
|
-
props
|
|
386
|
-
]),
|
|
387
|
-
class: _IMMUTABLE
|
|
388
|
-
}
|
|
389
|
-
}, 3, "r7_4")
|
|
390
|
-
]
|
|
391
|
-
}, null, 0, "r7_5");
|
|
392
|
-
}, "Card_component_vthoMhQFGts"));
|
|
393
194
|
const clamp = (value, min, max) => Math.min(Math.max(value, min), max);
|
|
394
195
|
function getMousePosition(e) {
|
|
395
196
|
if (window.TouchEvent && e instanceof TouchEvent) {
|
|
@@ -530,7 +331,7 @@ const Shuffle = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props)
|
|
|
530
331
|
viewBox: _IMMUTABLE,
|
|
531
332
|
height: _fnSignal((p0) => p0.width, [
|
|
532
333
|
props
|
|
533
|
-
])
|
|
334
|
+
], "p0.width")
|
|
534
335
|
}, 0, "z5_0");
|
|
535
336
|
}, "Shuffle_component_17D0HKe0U1U"));
|
|
536
337
|
const ColorPicker = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
@@ -656,7 +457,7 @@ const ColorPicker = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
|
|
|
656
457
|
]);
|
|
657
458
|
return /* @__PURE__ */ _jsxQ("div", {
|
|
658
459
|
class: {
|
|
659
|
-
"motion-safe:transition-all p-4 bg-gray-
|
|
460
|
+
"motion-safe:transition-all p-4 lum-bg-gray-900 flex gap-4 rounded-lg touch-none": true,
|
|
660
461
|
"flex": true,
|
|
661
462
|
"flex-col": !props.horizontal,
|
|
662
463
|
...props1.class
|
|
@@ -664,7 +465,7 @@ const ColorPicker = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
|
|
|
664
465
|
}, {
|
|
665
466
|
id: _fnSignal((p0) => p0.id, [
|
|
666
467
|
props
|
|
667
|
-
]),
|
|
468
|
+
], "p0.id"),
|
|
668
469
|
onInput$: /* @__PURE__ */ inlinedQrl((e, el) => {
|
|
669
470
|
const [setColor2] = useLexicalScope();
|
|
670
471
|
if (!el.dataset.value) return;
|
|
@@ -682,7 +483,7 @@ const ColorPicker = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
|
|
|
682
483
|
background: `linear-gradient(to right, #FFFFFF, ${p0.hue.color})`
|
|
683
484
|
}), [
|
|
684
485
|
store
|
|
685
|
-
]),
|
|
486
|
+
], "{background:`linear-gradient(to right, #FFFFFF, ${p0.hue.color})`}"),
|
|
686
487
|
"preventdefault:mousedown": true,
|
|
687
488
|
"preventdefault:touchstart": true,
|
|
688
489
|
onMouseDown$: sbMouseDown,
|
|
@@ -703,7 +504,7 @@ const ColorPicker = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
|
|
|
703
504
|
transform: `translate(${p0.sPosition}px, ${p0.bPosition}px)`
|
|
704
505
|
}), [
|
|
705
506
|
store
|
|
706
|
-
])
|
|
507
|
+
], "{background:p0.value,transform:`translate(${p0.sPosition}px, ${p0.bPosition}px)`}")
|
|
707
508
|
}, null, 3, null)
|
|
708
509
|
], 1, null),
|
|
709
510
|
/* @__PURE__ */ _jsxQ("div", null, {
|
|
@@ -722,7 +523,7 @@ const ColorPicker = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
|
|
|
722
523
|
background: p0.hue.color
|
|
723
524
|
}), [
|
|
724
525
|
store
|
|
725
|
-
])
|
|
526
|
+
], "{transform:`translateY(${-p0.hue.position}px)`,background:p0.hue.color}")
|
|
726
527
|
}, null, 3, null), 3, null)
|
|
727
528
|
], 1, null),
|
|
728
529
|
/* @__PURE__ */ _jsxQ("div", null, {
|
|
@@ -750,7 +551,7 @@ const ColorPicker = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
|
|
|
750
551
|
backgroundColor: `${p0.value}`
|
|
751
552
|
}), [
|
|
752
553
|
store
|
|
753
|
-
])
|
|
554
|
+
], "{backgroundColor:`${p0.value}`}")
|
|
754
555
|
}, null, 3, "Xr_0"),
|
|
755
556
|
/* @__PURE__ */ _jsxQ("input", {
|
|
756
557
|
class: {
|
|
@@ -765,7 +566,7 @@ const ColorPicker = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
|
|
|
765
566
|
}, {
|
|
766
567
|
value: _fnSignal((p0) => p0.value, [
|
|
767
568
|
store
|
|
768
|
-
]),
|
|
569
|
+
], "p0.value"),
|
|
769
570
|
onInput$: /* @__PURE__ */ inlinedQrl((e, el) => {
|
|
770
571
|
const [setColor2] = useLexicalScope();
|
|
771
572
|
setColor2(el.value);
|
|
@@ -804,12 +605,12 @@ const ColorPicker = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
|
|
|
804
605
|
])
|
|
805
606
|
}, {
|
|
806
607
|
class: {
|
|
807
|
-
"w-[1.6rem] h-[1.6rem] rounded-md hover:scale-110 motion-safe:transition-all -outline-offset-1 outline outline-1 outline-white/30": true
|
|
608
|
+
"w-[1.6rem] h-[1.6rem] rounded-md hover:scale-110 motion-safe:transition-all duration-300 hover:duration-100 ease-in-out -outline-offset-1 outline outline-1 outline-white/30": true
|
|
808
609
|
}
|
|
809
610
|
}, null, 2, i);
|
|
810
611
|
}),
|
|
811
612
|
/* @__PURE__ */ _jsxQ("button", null, {
|
|
812
|
-
class: "w-[1.6rem] h-[1.6rem] border border-gray-700 rounded-md hover:scale-110 motion-safe:transition-all",
|
|
613
|
+
class: "w-[1.6rem] h-[1.6rem] border border-gray-700 rounded-md hover:scale-110 motion-safe:transition-all duration-300 hover:duration-100 ease-in-out",
|
|
813
614
|
onClick$: /* @__PURE__ */ inlinedQrl(() => {
|
|
814
615
|
const [setColor2] = useLexicalScope();
|
|
815
616
|
const color = `#${Math.floor(Math.random() * 16777215).toString(16)}`;
|
|
@@ -847,7 +648,7 @@ const ChevronDown = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
|
|
|
847
648
|
viewBox: _IMMUTABLE,
|
|
848
649
|
height: _fnSignal((p0) => p0.width, [
|
|
849
650
|
props
|
|
850
|
-
])
|
|
651
|
+
], "p0.width")
|
|
851
652
|
}, 0, "EL_0");
|
|
852
653
|
}, "ChevronDown_component_t7XDRYS4gVA"));
|
|
853
654
|
const Dropdown = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
@@ -857,7 +658,7 @@ const Dropdown = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props)
|
|
|
857
658
|
/* @__PURE__ */ _jsxQ("label", null, {
|
|
858
659
|
for: _fnSignal((p0) => p0.id, [
|
|
859
660
|
props
|
|
860
|
-
]),
|
|
661
|
+
], "p0.id"),
|
|
861
662
|
class: "text-gray-300 pb-1 select-none"
|
|
862
663
|
}, /* @__PURE__ */ _jsxC(Slot, null, 3, "Q4_0"), 1, null),
|
|
863
664
|
/* @__PURE__ */ _jsxC(DropdownRaw, {
|
|
@@ -877,35 +678,13 @@ const DropdownRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
|
|
|
877
678
|
opened: false,
|
|
878
679
|
value: props1.value
|
|
879
680
|
});
|
|
880
|
-
useStylesQrl(/* @__PURE__ */ inlinedQrl(`
|
|
881
|
-
.lui-scroll {
|
|
882
|
-
scroll-behavior: smooth;
|
|
883
|
-
}
|
|
884
|
-
.lui-scroll::-webkit-scrollbar {
|
|
885
|
-
appearance: none;
|
|
886
|
-
-webkit-appearance: none;
|
|
887
|
-
width: 8px;
|
|
888
|
-
height: 8px;
|
|
889
|
-
}
|
|
890
|
-
.lui-scroll::-webkit-scrollbar-track {
|
|
891
|
-
background-color: transparent;
|
|
892
|
-
}
|
|
893
|
-
.lui-scroll::-webkit-scrollbar-thumb {
|
|
894
|
-
background-color: #ffffff20;
|
|
895
|
-
border: 1px solid #ffffff20;
|
|
896
|
-
border-radius: 3px;
|
|
897
|
-
}
|
|
898
|
-
.lui-scroll::-webkit-scrollbar-corner {
|
|
899
|
-
background-color: transparent;
|
|
900
|
-
}
|
|
901
|
-
`, "DropdownRaw_component_useStyles_z0gYS0qqgxg"));
|
|
902
681
|
return /* @__PURE__ */ _jsxQ("div", null, {
|
|
903
682
|
class: _fnSignal((p0) => ({
|
|
904
683
|
"relative touch-manipulation": true,
|
|
905
684
|
"group": p0.hover
|
|
906
685
|
}), [
|
|
907
686
|
props
|
|
908
|
-
])
|
|
687
|
+
], '{"relative touch-manipulation":true,"group":p0.hover}')
|
|
909
688
|
}, [
|
|
910
689
|
props.values && /* @__PURE__ */ _jsxS("select", {
|
|
911
690
|
...props1,
|
|
@@ -923,7 +702,7 @@ const DropdownRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
|
|
|
923
702
|
}, {
|
|
924
703
|
id: _fnSignal((p0) => p0.id, [
|
|
925
704
|
props
|
|
926
|
-
]),
|
|
705
|
+
], "p0.id"),
|
|
927
706
|
class: _IMMUTABLE
|
|
928
707
|
}, 0, "Q4_3"),
|
|
929
708
|
/* @__PURE__ */ _jsxQ("button", null, {
|
|
@@ -932,7 +711,7 @@ const DropdownRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
|
|
|
932
711
|
...p0.class
|
|
933
712
|
}), [
|
|
934
713
|
props
|
|
935
|
-
]),
|
|
714
|
+
], '{"lum-btn lum-pad-md text-base lum-bg-gray-800 hover:lum-bg-gray-700 rounded-md":true,...p0.class}'),
|
|
936
715
|
onClick$: /* @__PURE__ */ inlinedQrl(() => {
|
|
937
716
|
const [store2] = useLexicalScope();
|
|
938
717
|
store2.opened = !store2.opened;
|
|
@@ -942,47 +721,37 @@ const DropdownRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
|
|
|
942
721
|
}, [
|
|
943
722
|
_fnSignal((p0) => p0.display, [
|
|
944
723
|
props
|
|
945
|
-
]),
|
|
724
|
+
], "p0.display"),
|
|
946
725
|
!props.display && props.values && /* @__PURE__ */ _jsxQ("span", null, {
|
|
947
726
|
id: _fnSignal((p0) => `lui-${p0.id}-name`, [
|
|
948
727
|
props
|
|
949
|
-
]),
|
|
728
|
+
], "`lui-${p0.id}-name`"),
|
|
950
729
|
class: "flex-1 text-left"
|
|
951
730
|
}, props.values.find((value) => value.value.toString() === store.value)?.name ?? props.values[0].name, 1, "Q4_4"),
|
|
952
731
|
/* @__PURE__ */ _jsxC(ChevronDown, {
|
|
953
732
|
width: 16,
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
"group-hover:transform group-hover:rotate-180": props.hover
|
|
959
|
-
};
|
|
733
|
+
class: {
|
|
734
|
+
"motion-safe:transition-all ease-in-out": true,
|
|
735
|
+
"transform rotate-180": store.opened,
|
|
736
|
+
"group-hover:transform group-hover:rotate-180 duration-300 group-hover:duration-100": props.hover
|
|
960
737
|
},
|
|
961
738
|
[_IMMUTABLE]: {
|
|
962
|
-
width: _IMMUTABLE
|
|
963
|
-
class: _fnSignal((p0, p1) => ({
|
|
964
|
-
"motion-safe:transition-all duration-200": true,
|
|
965
|
-
"transform rotate-180": p1.opened,
|
|
966
|
-
"group-hover:transform group-hover:rotate-180": p0.hover
|
|
967
|
-
}), [
|
|
968
|
-
props,
|
|
969
|
-
store
|
|
970
|
-
])
|
|
739
|
+
width: _IMMUTABLE
|
|
971
740
|
}
|
|
972
741
|
}, 3, "Q4_5")
|
|
973
742
|
], 1, null),
|
|
974
743
|
/* @__PURE__ */ _jsxQ("div", {
|
|
975
744
|
class: {
|
|
976
|
-
"transition-all absolute top-full pt-2 left-0 z-[1000] ": true,
|
|
745
|
+
"transition-all ease-in-out absolute top-full pt-2 left-0 z-[1000] ": true,
|
|
977
746
|
"opacity-0 scale-95 pointer-events-none": !store.opened,
|
|
978
|
-
"group-hover:pointer-events-auto group-hover:opacity-100 group-hover:scale-100": props.hover
|
|
747
|
+
"group-hover:pointer-events-auto group-hover:opacity-100 group-hover:scale-100 duration-300 group-hover:duration-100": props.hover
|
|
979
748
|
}
|
|
980
749
|
}, null, /* @__PURE__ */ _jsxQ("div", null, {
|
|
981
750
|
id: _fnSignal((p0) => `lui-${p0.id}-opts`, [
|
|
982
751
|
props
|
|
983
|
-
]),
|
|
752
|
+
], "`lui-${p0.id}-opts`"),
|
|
984
753
|
class: {
|
|
985
|
-
"motion-safe:transition-all p-1 gap-1 bg-gray-800
|
|
754
|
+
"motion-safe:transition-all p-1 gap-1 lum-bg-gray-800 backdrop-blur-xl flex flex-col border max-h-72 lum-scroll overflow-auto select-none rounded-md": true
|
|
986
755
|
}
|
|
987
756
|
}, [
|
|
988
757
|
props.values?.map(({ name, value }, i) => {
|
|
@@ -1037,7 +806,7 @@ const Link = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
|
|
|
1037
806
|
viewBox: _IMMUTABLE,
|
|
1038
807
|
height: _fnSignal((p0) => p0.width, [
|
|
1039
808
|
props
|
|
1040
|
-
])
|
|
809
|
+
], "p0.width")
|
|
1041
810
|
}, 0, "zW_0");
|
|
1042
811
|
}, "Link_component_fiB6yg0RKjk"));
|
|
1043
812
|
const Header = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
@@ -1045,7 +814,6 @@ const Header = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =
|
|
|
1045
814
|
const props1 = _restProps(props, [
|
|
1046
815
|
"id",
|
|
1047
816
|
"anchor",
|
|
1048
|
-
"loading",
|
|
1049
817
|
"subheader"
|
|
1050
818
|
]);
|
|
1051
819
|
let Component = /* @__PURE__ */ _jsxC(Fragment, {
|
|
@@ -1063,18 +831,18 @@ const Header = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =
|
|
|
1063
831
|
[_IMMUTABLE]: {
|
|
1064
832
|
id: _fnSignal((p0) => p0.id, [
|
|
1065
833
|
props
|
|
1066
|
-
])
|
|
834
|
+
], "p0.id")
|
|
1067
835
|
}
|
|
1068
836
|
}, 3, "hw_1"),
|
|
1069
837
|
props.anchor && props.id && /* @__PURE__ */ _jsxQ("a", null, {
|
|
1070
838
|
href: _fnSignal((p0) => `#${p0.id}`, [
|
|
1071
839
|
props
|
|
1072
|
-
]),
|
|
840
|
+
], "`#${p0.id}`"),
|
|
1073
841
|
onClick$: /* @__PURE__ */ inlinedQrl(() => {
|
|
1074
842
|
navigator.clipboard.writeText(window.location.href);
|
|
1075
843
|
}, "Header_component_Component_Fragment_h2_a_onClick_tdwReSG5ZBA")
|
|
1076
844
|
}, /* @__PURE__ */ _jsxC(Link, {
|
|
1077
|
-
class: "transition-all opacity-10 group-hover:opacity-100
|
|
845
|
+
class: "transition-all opacity-10 group-hover:opacity-100 duration-300 group-hover:duration-100",
|
|
1078
846
|
width: 24,
|
|
1079
847
|
[_IMMUTABLE]: {
|
|
1080
848
|
class: _IMMUTABLE,
|
|
@@ -1091,58 +859,15 @@ const Header = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =
|
|
|
1091
859
|
class: "flex items-center text-gray-400 text-sm"
|
|
1092
860
|
}, _fnSignal((p0) => p0.subheader, [
|
|
1093
861
|
props
|
|
1094
|
-
]), 3, null)
|
|
862
|
+
], "p0.subheader"), 3, null)
|
|
1095
863
|
], 1, "hw_5");
|
|
1096
|
-
if (props.loading !== void 0) Component = /* @__PURE__ */ _jsxQ("div", null, {
|
|
1097
|
-
class: "flex"
|
|
1098
|
-
}, [
|
|
1099
|
-
Component,
|
|
1100
|
-
/* @__PURE__ */ _jsxQ("div", null, {
|
|
1101
|
-
class: _fnSignal((p0) => ({
|
|
1102
|
-
"motion-safe:transition-all duration-200": true,
|
|
1103
|
-
"opacity-0": !p0.loading,
|
|
1104
|
-
"opacity-100": p0.loading
|
|
1105
|
-
}), [
|
|
1106
|
-
props
|
|
1107
|
-
])
|
|
1108
|
-
}, /* @__PURE__ */ _jsxQ("div", null, {
|
|
1109
|
-
class: "lum-loading w-6 h-6"
|
|
1110
|
-
}, null, 3, null), 3, null)
|
|
1111
|
-
], 1, "hw_6");
|
|
1112
864
|
return Component;
|
|
1113
865
|
}, "Header_component_JY2gvGRuOjU"));
|
|
1114
|
-
const navColorClasses = {
|
|
1115
|
-
slate: "bg-slate-700/50 border-slate-600/50",
|
|
1116
|
-
gray: "bg-gray-700/50 border-gray-600/50",
|
|
1117
|
-
darkgray: "bg-gray-800/50 border-gray-700/50",
|
|
1118
|
-
darkergray: "bg-gray-900/50 border-gray-800/50",
|
|
1119
|
-
zinc: "bg-zinc-700/50 border-zinc-600/50",
|
|
1120
|
-
neutral: "bg-neutral-700/50 border-neutral-600/50",
|
|
1121
|
-
stone: "bg-stone-700/50 border-stone-600/50",
|
|
1122
|
-
red: "bg-red-700/50 border-red-600/50",
|
|
1123
|
-
orange: "bg-orange-700/50 border-orange-600/50",
|
|
1124
|
-
amber: "bg-amber-700/50 border-amber-600/50",
|
|
1125
|
-
yellow: "bg-yellow-700/50 border-yellow-600/50",
|
|
1126
|
-
lime: "bg-lime-700/50 border-lime-600/50",
|
|
1127
|
-
green: "bg-green-700/50 border-green-600/50",
|
|
1128
|
-
emerald: "bg-emerald-700/50 border-emerald-600/50",
|
|
1129
|
-
teal: "bg-teal-700/50 border-teal-600/50",
|
|
1130
|
-
cyan: "bg-cyan-700/50 border-cyan-600/50",
|
|
1131
|
-
sky: "bg-sky-700/50 border-sky-600/50",
|
|
1132
|
-
blue: "bg-blue-700/50 border-blue-600/50",
|
|
1133
|
-
indigo: "bg-indigo-700/50 border-indigo-600/50",
|
|
1134
|
-
violet: "bg-violet-700/50 border-violet-600/50",
|
|
1135
|
-
purple: "bg-purple-700/50 border-purple-600/50",
|
|
1136
|
-
fuchsia: "bg-fuchsia-700/50 border-fuchsia-600/50",
|
|
1137
|
-
pink: "bg-pink-700/50 border-pink-600/50",
|
|
1138
|
-
rose: "bg-rose-700/50 border-rose-600/50",
|
|
1139
|
-
transparent: "bg-transparent border-transparent"
|
|
1140
|
-
};
|
|
1141
866
|
const Nav = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
1142
867
|
const props1 = _restProps(props, [
|
|
1143
868
|
"fixed",
|
|
1144
869
|
"floating",
|
|
1145
|
-
"
|
|
870
|
+
"colorClass"
|
|
1146
871
|
]);
|
|
1147
872
|
const menu = useSignal(false);
|
|
1148
873
|
return /* @__PURE__ */ _jsxS("nav", {
|
|
@@ -1159,15 +884,17 @@ const Nav = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
|
1159
884
|
"sm:hidden motion-safe:transition-all flex flex-col px-2 items-center absolute w-full top-full": true,
|
|
1160
885
|
"mt-2": menu.value,
|
|
1161
886
|
"opacity-0 pointer-events-none": !menu.value,
|
|
1162
|
-
"before:backdrop-blur-lg": props.
|
|
887
|
+
"before:backdrop-blur-lg": !(props.colorClass ?? "lum-bg-gray-900").includes("transparent"),
|
|
1163
888
|
'before:absolute before:content-[""] before:w-full before:h-full before:drop-shadow-xl before:-z-10 before:rounded-lg': true
|
|
1164
889
|
}
|
|
1165
|
-
}, null, /* @__PURE__ */ _jsxQ("div", {
|
|
1166
|
-
class: {
|
|
1167
|
-
[
|
|
890
|
+
}, null, /* @__PURE__ */ _jsxQ("div", null, {
|
|
891
|
+
class: _fnSignal((p0) => ({
|
|
892
|
+
[p0.colorClass ?? "lum-bg-gray-900"]: true,
|
|
1168
893
|
"flex flex-col gap-2 motion-safe:transition-all max-w-7xl w-full px-2 py-4 border rounded-lg": true
|
|
1169
|
-
}
|
|
1170
|
-
|
|
894
|
+
}), [
|
|
895
|
+
props
|
|
896
|
+
], '{[p0.colorClass??"lum-bg-gray-900"]:true,"flex flex-col gap-2 motion-safe:transition-all max-w-7xl w-full px-2 py-4 border rounded-lg":true}')
|
|
897
|
+
}, /* @__PURE__ */ _jsxC(Slot, {
|
|
1171
898
|
name: "mobile",
|
|
1172
899
|
[_IMMUTABLE]: {
|
|
1173
900
|
name: _IMMUTABLE
|
|
@@ -1175,18 +902,18 @@ const Nav = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
|
1175
902
|
}, 3, "03_0"), 1, null), 1, null),
|
|
1176
903
|
/* @__PURE__ */ _jsxQ("div", {
|
|
1177
904
|
class: {
|
|
1178
|
-
[
|
|
1179
|
-
"border-
|
|
1180
|
-
"before:backdrop-blur-lg": props.
|
|
905
|
+
[props.colorClass ?? "lum-bg-gray-900"]: !props.floating,
|
|
906
|
+
"border-t-0 border-x-0": !props.floating,
|
|
907
|
+
"before:backdrop-blur-lg": !(props.colorClass ?? "lum-bg-gray-900").includes("transparent") && !props.floating,
|
|
1181
908
|
'before:absolute before:content-[""] before:w-full before:h-full before:drop-shadow-xl before:-z-10': !props.floating,
|
|
1182
909
|
"relative mt-2 mx-2": props.floating
|
|
1183
910
|
}
|
|
1184
911
|
}, null, /* @__PURE__ */ _jsxQ("div", {
|
|
1185
912
|
class: {
|
|
1186
913
|
"flex justify-evenly w-full mx-auto px-2 max-w-7xl": true,
|
|
1187
|
-
[
|
|
914
|
+
[props.colorClass ?? "lum-bg-gray-900"]: props.floating,
|
|
1188
915
|
"border rounded-lg": props.floating,
|
|
1189
|
-
"before:backdrop-blur-lg": props.
|
|
916
|
+
"before:backdrop-blur-lg": !(props.colorClass ?? "lum-bg-gray-900").includes("transparent") && props.floating,
|
|
1190
917
|
'before:absolute before:content-[""] before:w-full before:max-w-7xl before:h-full before:rounded-lg before:drop-shadow-xl before:-z-10': props.floating
|
|
1191
918
|
}
|
|
1192
919
|
}, null, [
|
|
@@ -1216,7 +943,13 @@ const Nav = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
|
1216
943
|
}
|
|
1217
944
|
}, 3, "03_3"),
|
|
1218
945
|
/* @__PURE__ */ _jsxQ("button", null, {
|
|
1219
|
-
class: "lum-btn lum-pad-equal-md lum-bg-transparent sm:hidden"
|
|
946
|
+
class: "lum-btn lum-pad-equal-md lum-bg-transparent sm:hidden",
|
|
947
|
+
onClick$: /* @__PURE__ */ inlinedQrl(() => {
|
|
948
|
+
const [menu2] = useLexicalScope();
|
|
949
|
+
return menu2.value = !menu2.value;
|
|
950
|
+
}, "Nav_component_nav_div_div_div_button_onClick_WiYpOE6A0Vc", [
|
|
951
|
+
menu
|
|
952
|
+
])
|
|
1220
953
|
}, /* @__PURE__ */ _jsxQ("svg", null, {
|
|
1221
954
|
class: "w-6 h-6",
|
|
1222
955
|
fill: "none",
|
|
@@ -1255,7 +988,7 @@ const Plus = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
|
|
|
1255
988
|
viewBox: _IMMUTABLE,
|
|
1256
989
|
height: _fnSignal((p0) => p0.width, [
|
|
1257
990
|
props
|
|
1258
|
-
])
|
|
991
|
+
], "p0.width")
|
|
1259
992
|
}, 0, "1y_0");
|
|
1260
993
|
}, "Plus_component_MKiwkkJ7or4"));
|
|
1261
994
|
const Minus = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
@@ -1279,7 +1012,7 @@ const Minus = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
|
|
|
1279
1012
|
viewBox: _IMMUTABLE,
|
|
1280
1013
|
height: _fnSignal((p0) => p0.width, [
|
|
1281
1014
|
props
|
|
1282
|
-
])
|
|
1015
|
+
], "p0.width")
|
|
1283
1016
|
}, 0, "tk_0");
|
|
1284
1017
|
}, "Minus_component_eaRlUyV3g0s"));
|
|
1285
1018
|
const NumberInput = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
@@ -1289,7 +1022,7 @@ const NumberInput = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
|
|
|
1289
1022
|
/* @__PURE__ */ _jsxQ("label", null, {
|
|
1290
1023
|
for: _fnSignal((p0) => p0.id, [
|
|
1291
1024
|
props
|
|
1292
|
-
]),
|
|
1025
|
+
], "p0.id"),
|
|
1293
1026
|
class: "text-gray-300 pb-1 select-none"
|
|
1294
1027
|
}, /* @__PURE__ */ _jsxC(Slot, null, 3, "kR_0"), 1, null),
|
|
1295
1028
|
/* @__PURE__ */ _jsxC(NumberInputRaw, {
|
|
@@ -1322,7 +1055,7 @@ const NumberInputRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((
|
|
|
1322
1055
|
"gap-2": !p0.input
|
|
1323
1056
|
}), [
|
|
1324
1057
|
props
|
|
1325
|
-
])
|
|
1058
|
+
], '{"flex text-gray-50 touch-manipulation":true,"gap-2":!p0.input}')
|
|
1326
1059
|
}, [
|
|
1327
1060
|
/* @__PURE__ */ _jsxQ("button", {
|
|
1328
1061
|
disabled: props1.min ? (props.value ?? 0) <= props1.min : false,
|
|
@@ -1366,10 +1099,10 @@ const NumberInputRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((
|
|
|
1366
1099
|
type: _IMMUTABLE,
|
|
1367
1100
|
value: _fnSignal((p0) => p0.value ?? 0, [
|
|
1368
1101
|
props
|
|
1369
|
-
]),
|
|
1102
|
+
], "p0.value??0"),
|
|
1370
1103
|
step: _fnSignal((p0) => p0.step ?? 1, [
|
|
1371
1104
|
props
|
|
1372
|
-
])
|
|
1105
|
+
], "p0.step??1")
|
|
1373
1106
|
}, 0, "kR_4"),
|
|
1374
1107
|
/* @__PURE__ */ _jsxQ("button", {
|
|
1375
1108
|
disabled: props1.max ? (props.value ?? 0) >= props1.max : false,
|
|
@@ -1608,7 +1341,7 @@ const Toggle = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =
|
|
|
1608
1341
|
"justify-center": p0.center
|
|
1609
1342
|
}), [
|
|
1610
1343
|
props
|
|
1611
|
-
])
|
|
1344
|
+
], '{"flex gap-3 items-center touch-manipulation":true,"justify-center":p0.center}')
|
|
1612
1345
|
}, [
|
|
1613
1346
|
/* @__PURE__ */ _jsxQ("label", null, {
|
|
1614
1347
|
class: "inline-flex relative items-center cursor-pointer"
|
|
@@ -1625,8 +1358,8 @@ const Toggle = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =
|
|
|
1625
1358
|
}, 0, null),
|
|
1626
1359
|
/* @__PURE__ */ _jsxQ("div", {
|
|
1627
1360
|
class: {
|
|
1628
|
-
"motion-safe:transition ease-in-out h-7 peer border hover:shadow-lg": true,
|
|
1629
|
-
"after:content-[''] after:absolute after:top-[4px] after:left-[4px] after:border after:h-5 after:w-5 after:motion-safe:transition-all after:ease-in-out": true,
|
|
1361
|
+
"motion-safe:transition duration-300 hover:duration-100 ease-in-out h-7 peer border hover:shadow-lg": true,
|
|
1362
|
+
"after:content-[''] after:absolute after:top-[4px] after:left-[4px] after:border after:h-5 after:w-5 after:motion-safe:transition-all after:duration-300 after:hover:duration-100 after:ease-in-out": true,
|
|
1630
1363
|
"rounded-md after:rounded-[0.2rem]": !props.round,
|
|
1631
1364
|
"rounded-full after:rounded-full": props.round,
|
|
1632
1365
|
"w-12 peer-checked:after:translate-x-full": !props.checkbox,
|
|
@@ -1644,7 +1377,7 @@ const Toggle = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =
|
|
|
1644
1377
|
class: "text-gray-300 flex gap-2 select-none"
|
|
1645
1378
|
}, _fnSignal((p0) => p0.label, [
|
|
1646
1379
|
props
|
|
1647
|
-
]), 3, "R0_0")
|
|
1380
|
+
], "p0.label"), 3, "R0_0")
|
|
1648
1381
|
], 1, "R0_1");
|
|
1649
1382
|
}, "Toggle_component_AHnKi33alRM"));
|
|
1650
1383
|
const LogoBirdflop = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
@@ -1692,7 +1425,7 @@ const LogoBirdflop = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pr
|
|
|
1692
1425
|
transform: "translate(2479.9 1169.7)",
|
|
1693
1426
|
fill: _fnSignal((p0) => p0.fillGradient ? "url(#linear-gradient)" : "", [
|
|
1694
1427
|
props
|
|
1695
|
-
])
|
|
1428
|
+
], 'p0.fillGradient?"url(#linear-gradient)":""')
|
|
1696
1429
|
}, null, 3, null), 3, null),
|
|
1697
1430
|
props.confused && /* @__PURE__ */ _jsxQ("g", null, {
|
|
1698
1431
|
style: "transform: translate(595px, 460px) scale(0.375)",
|
|
@@ -1738,7 +1471,7 @@ const LogoDiscord = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
|
|
|
1738
1471
|
fill: _IMMUTABLE,
|
|
1739
1472
|
height: _fnSignal((p0) => p0.width, [
|
|
1740
1473
|
props
|
|
1741
|
-
])
|
|
1474
|
+
], "p0.width")
|
|
1742
1475
|
}, 0, "uo_0");
|
|
1743
1476
|
}, "LogoDiscord_component_jDPP8Q3cU0M"));
|
|
1744
1477
|
const LogoFabric = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
@@ -1777,7 +1510,7 @@ const LogoFabric = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((prop
|
|
|
1777
1510
|
viewBox: _IMMUTABLE,
|
|
1778
1511
|
height: _fnSignal((p0) => p0.width, [
|
|
1779
1512
|
props
|
|
1780
|
-
])
|
|
1513
|
+
], "p0.width")
|
|
1781
1514
|
}, 0, "hI_0");
|
|
1782
1515
|
}, "LogoFabric_component_iP0a9wJyPAg"));
|
|
1783
1516
|
const LogoForge = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
@@ -1815,7 +1548,7 @@ const LogoForge = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props
|
|
|
1815
1548
|
viewBox: _IMMUTABLE,
|
|
1816
1549
|
height: _fnSignal((p0) => p0.width, [
|
|
1817
1550
|
props
|
|
1818
|
-
])
|
|
1551
|
+
], "p0.width")
|
|
1819
1552
|
}, 0, "zC_0");
|
|
1820
1553
|
}, "LogoForge_component_W5Al1sALh8A"));
|
|
1821
1554
|
const LogoLuminescent = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
@@ -1848,7 +1581,7 @@ const LogoLuminescent = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl(
|
|
|
1848
1581
|
fill: _IMMUTABLE,
|
|
1849
1582
|
height: _fnSignal((p0) => p0.width, [
|
|
1850
1583
|
props
|
|
1851
|
-
])
|
|
1584
|
+
], "p0.width")
|
|
1852
1585
|
}, 0, "we_0");
|
|
1853
1586
|
}, "LogoLuminescent_component_XLiMRdgGu0c"));
|
|
1854
1587
|
const LogoLuminescentFull = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
@@ -1994,7 +1727,7 @@ const LogoPaper = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props
|
|
|
1994
1727
|
viewBox: _IMMUTABLE,
|
|
1995
1728
|
height: _fnSignal((p0) => p0.width, [
|
|
1996
1729
|
props
|
|
1997
|
-
])
|
|
1730
|
+
], "p0.width")
|
|
1998
1731
|
}, 0, "gL_0");
|
|
1999
1732
|
}, "LogoPaper_component_aG0HRBVBRDI"));
|
|
2000
1733
|
const LogoPterodactyl = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
@@ -2032,7 +1765,7 @@ const LogoPterodactyl = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl(
|
|
|
2032
1765
|
preserveAspectRatio: _IMMUTABLE,
|
|
2033
1766
|
height: _fnSignal((p0) => p0.width, [
|
|
2034
1767
|
props
|
|
2035
|
-
])
|
|
1768
|
+
], "p0.width")
|
|
2036
1769
|
}, 0, "D4_0");
|
|
2037
1770
|
}, "LogoPterodactyl_component_10hbViSPESg"));
|
|
2038
1771
|
const LogoPurpur = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
@@ -2113,7 +1846,7 @@ const LogoPurpur = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((prop
|
|
|
2113
1846
|
viewBox: _IMMUTABLE,
|
|
2114
1847
|
height: _fnSignal((p0) => p0.width, [
|
|
2115
1848
|
props
|
|
2116
|
-
])
|
|
1849
|
+
], "p0.width")
|
|
2117
1850
|
}, 0, "tL_0");
|
|
2118
1851
|
}, "LogoPurpur_component_c9OHr4CkPBo"));
|
|
2119
1852
|
const LogoVelocity = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
@@ -2142,7 +1875,7 @@ const LogoVelocity = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pr
|
|
|
2142
1875
|
fill: _IMMUTABLE,
|
|
2143
1876
|
height: _fnSignal((p0) => p0.width, [
|
|
2144
1877
|
props
|
|
2145
|
-
])
|
|
1878
|
+
], "p0.width")
|
|
2146
1879
|
}, 0, "XA_0");
|
|
2147
1880
|
}, "LogoVelocity_component_ZPc1n5yvS0Y"));
|
|
2148
1881
|
const LogoWaterfall = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
@@ -2169,13 +1902,12 @@ const LogoWaterfall = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((p
|
|
|
2169
1902
|
"stroke-linejoin": _IMMUTABLE,
|
|
2170
1903
|
height: _fnSignal((p0) => p0.width, [
|
|
2171
1904
|
props
|
|
2172
|
-
])
|
|
1905
|
+
], "p0.width")
|
|
2173
1906
|
}, 0, "to_0");
|
|
2174
1907
|
}, "LogoWaterfall_component_5eX8hGbmtoU"));
|
|
2175
1908
|
export {
|
|
2176
1909
|
Anchor,
|
|
2177
1910
|
Blobs,
|
|
2178
|
-
Card,
|
|
2179
1911
|
ColorPicker,
|
|
2180
1912
|
Dropdown,
|
|
2181
1913
|
DropdownRaw,
|
|
@@ -2197,8 +1929,6 @@ export {
|
|
|
2197
1929
|
Toggle,
|
|
2198
1930
|
blobClasses as _auto_blobClasses,
|
|
2199
1931
|
blobColorClasses,
|
|
2200
|
-
cardColorClasses,
|
|
2201
|
-
navColorClasses,
|
|
2202
1932
|
toggleOffColorClasses,
|
|
2203
1933
|
toggleOnColorClasses
|
|
2204
1934
|
};
|