@luminescent/ui-qwik 1.1.1 → 1.1.3
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.mjs +44 -44
- package/lib-types/ui/src/components/btn.d.ts +3 -0
- package/lib-types/ui/src/components/card.d.ts +3 -0
- package/lib-types/ui/src/components/input.d.ts +3 -0
- package/lib-types/ui/src/index.d.ts +5 -0
- package/lib-types/{components → ui-qwik/src/components}/elements/Blobs.d.ts +1 -2
- package/package.json +11 -11
- package/src/tailwind.config.js +11 -11
- package/lib-types/components/elements/LoadingIcon.d.ts +0 -10
- package/lib-types/components/elements.d.ts +0 -10
- package/lib-types/src/components/docs/Anchor.d.ts +0 -2
- package/lib-types/src/components/docs/Blobs.d.ts +0 -2
- package/lib-types/src/components/docs/ColorPicker.d.ts +0 -2
- package/lib-types/src/components/docs/Dropdown.d.ts +0 -2
- package/lib-types/src/components/docs/IconsLogos.d.ts +0 -2
- package/lib-types/src/components/docs/Nav.d.ts +0 -2
- package/lib-types/src/components/docs/NumberInput.d.ts +0 -2
- package/lib-types/src/components/docs/Playground.d.ts +0 -2
- package/lib-types/src/components/docs/Toggle.d.ts +0 -2
- package/lib-types/src/components/docs/lum-btn.d.ts +0 -2
- package/lib-types/src/components/docs/lum-card.d.ts +0 -2
- package/lib-types/src/components/docs/lum-classes.d.ts +0 -2
- package/lib-types/src/components/docs/lum-input.d.ts +0 -2
- package/lib-types/src/components/elements/Anchor.d.ts +0 -5
- package/lib-types/src/components/elements/Blobs.d.ts +0 -35
- package/lib-types/src/components/elements/Card.d.ts +0 -159
- package/lib-types/src/components/elements/ColorPicker.d.ts +0 -13
- package/lib-types/src/components/elements/Dropdown.d.ts +0 -16
- package/lib-types/src/components/elements/Header.d.ts +0 -12
- package/lib-types/src/components/elements/Nav.d.ts +0 -38
- package/lib-types/src/components/elements/NumberInput.d.ts +0 -21
- package/lib-types/src/components/elements/Toggle.d.ts +0 -212
- package/lib-types/src/components/logos/Birdflop.d.ts +0 -7
- package/lib-types/src/components/logos/Discord.d.ts +0 -2
- package/lib-types/src/components/logos/Fabric.d.ts +0 -2
- package/lib-types/src/components/logos/Forge.d.ts +0 -2
- package/lib-types/src/components/logos/IconProps.d.ts +0 -3
- package/lib-types/src/components/logos/Luminescent.d.ts +0 -3
- package/lib-types/src/components/logos/Paper.d.ts +0 -2
- package/lib-types/src/components/logos/Pterodactyl.d.ts +0 -2
- package/lib-types/src/components/logos/Purpur.d.ts +0 -2
- package/lib-types/src/components/logos/Velocity.d.ts +0 -2
- package/lib-types/src/components/logos/Waterfall.d.ts +0 -2
- package/lib-types/src/components/logos.d.ts +0 -10
- package/lib-types/src/entry.dev.d.ts +0 -2
- package/lib-types/src/entry.ssr.d.ts +0 -14
- package/lib-types/src/index.d.ts +0 -2
- package/lib-types/src/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/Minus.d.ts +0 -2
- package/lib-types/svg/Plus.d.ts +0 -2
- package/lib-types/svg/Shuffle.d.ts +0 -2
- package/lib-types/utils/color.d.ts +0 -36
- /package/lib-types/{components → ui-qwik/src/components}/docs/Anchor.d.ts +0 -0
- /package/lib-types/{components → ui-qwik/src/components}/docs/Blobs.d.ts +0 -0
- /package/lib-types/{components → ui-qwik/src/components}/docs/ColorPicker.d.ts +0 -0
- /package/lib-types/{components → ui-qwik/src/components}/docs/Dropdown.d.ts +0 -0
- /package/lib-types/{components → ui-qwik/src/components}/docs/IconsLogos.d.ts +0 -0
- /package/lib-types/{components → ui-qwik/src/components}/docs/Nav.d.ts +0 -0
- /package/lib-types/{components → ui-qwik/src/components}/docs/NumberInput.d.ts +0 -0
- /package/lib-types/{components → ui-qwik/src/components}/docs/Playground.d.ts +0 -0
- /package/lib-types/{components → ui-qwik/src/components}/docs/Toggle.d.ts +0 -0
- /package/lib-types/{components → ui-qwik/src/components}/docs/lum-btn.d.ts +0 -0
- /package/lib-types/{components → ui-qwik/src/components}/docs/lum-card.d.ts +0 -0
- /package/lib-types/{components → ui-qwik/src/components}/docs/lum-classes.d.ts +0 -0
- /package/lib-types/{components → ui-qwik/src/components}/docs/lum-input.d.ts +0 -0
- /package/lib-types/{components → ui-qwik/src/components}/elements/Anchor.d.ts +0 -0
- /package/lib-types/{components → ui-qwik/src/components}/elements/Card.d.ts +0 -0
- /package/lib-types/{components → ui-qwik/src/components}/elements/ColorPicker.d.ts +0 -0
- /package/lib-types/{components → ui-qwik/src/components}/elements/Dropdown.d.ts +0 -0
- /package/lib-types/{components → ui-qwik/src/components}/elements/Header.d.ts +0 -0
- /package/lib-types/{components → ui-qwik/src/components}/elements/Nav.d.ts +0 -0
- /package/lib-types/{components → ui-qwik/src/components}/elements/NumberInput.d.ts +0 -0
- /package/lib-types/{components → ui-qwik/src/components}/elements/Toggle.d.ts +0 -0
- /package/lib-types/{src → ui-qwik/src}/components/elements.d.ts +0 -0
- /package/lib-types/{components → ui-qwik/src/components}/logos/Birdflop.d.ts +0 -0
- /package/lib-types/{components → ui-qwik/src/components}/logos/Discord.d.ts +0 -0
- /package/lib-types/{components → ui-qwik/src/components}/logos/Fabric.d.ts +0 -0
- /package/lib-types/{components → ui-qwik/src/components}/logos/Forge.d.ts +0 -0
- /package/lib-types/{components → ui-qwik/src/components}/logos/IconProps.d.ts +0 -0
- /package/lib-types/{components → ui-qwik/src/components}/logos/Luminescent.d.ts +0 -0
- /package/lib-types/{components → ui-qwik/src/components}/logos/Paper.d.ts +0 -0
- /package/lib-types/{components → ui-qwik/src/components}/logos/Pterodactyl.d.ts +0 -0
- /package/lib-types/{components → ui-qwik/src/components}/logos/Purpur.d.ts +0 -0
- /package/lib-types/{components → ui-qwik/src/components}/logos/Velocity.d.ts +0 -0
- /package/lib-types/{components → ui-qwik/src/components}/logos/Waterfall.d.ts +0 -0
- /package/lib-types/{components → ui-qwik/src/components}/logos.d.ts +0 -0
- /package/lib-types/{entry.dev.d.ts → ui-qwik/src/entry.dev.d.ts} +0 -0
- /package/lib-types/{entry.ssr.d.ts → ui-qwik/src/entry.ssr.d.ts} +0 -0
- /package/lib-types/{index.d.ts → ui-qwik/src/index.d.ts} +0 -0
- /package/lib-types/{root.d.ts → ui-qwik/src/root.d.ts} +0 -0
- /package/lib-types/{src → ui-qwik/src}/svg/ChevronDown.d.ts +0 -0
- /package/lib-types/{src → ui-qwik/src}/svg/Link.d.ts +0 -0
- /package/lib-types/{src → ui-qwik/src}/svg/Minus.d.ts +0 -0
- /package/lib-types/{src → ui-qwik/src}/svg/Plus.d.ts +0 -0
- /package/lib-types/{src → ui-qwik/src}/svg/Shuffle.d.ts +0 -0
- /package/lib-types/{src → ui-qwik/src}/tailwind.config.d.ts +0 -0
- /package/lib-types/{src → ui-qwik/src}/utils/color.d.ts +0 -0
- /package/lib-types/{tailwind.config.d.ts → ui-qwik/tailwind.config.d.ts} +0 -0
package/lib/index.qwik.mjs
CHANGED
|
@@ -3,7 +3,7 @@ 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
|
+
]),
|
|
7
7
|
class: "block h-32 -mt-32 pointer-events-none"
|
|
8
8
|
}, null, 3, "mN_0"), "Anchor_component_dUkqs0yGHwc"));
|
|
9
9
|
const blobColorClasses = {
|
|
@@ -348,7 +348,7 @@ const Card = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
|
|
|
348
348
|
return /* @__PURE__ */ _jsxS("div", {
|
|
349
349
|
...props1,
|
|
350
350
|
class: {
|
|
351
|
-
"flex lum-bg-gray-900 lum-pad-4xl
|
|
351
|
+
"flex lum-bg-gray-900 lum-pad-equal-4xl rounded-lg": true,
|
|
352
352
|
"flex-col": !props.row,
|
|
353
353
|
[cardColorClasses[props.color ?? "darkgray"].bg]: !props.blobs,
|
|
354
354
|
[cardColorClasses[props.color ?? "darkgray"].bg_blobs]: props.blobs,
|
|
@@ -383,7 +383,7 @@ const Card = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
|
|
|
383
383
|
[_IMMUTABLE]: {
|
|
384
384
|
color: _fnSignal((p0) => p0.blobs == true ? p0.color ?? "darkgray" : p0.blobs, [
|
|
385
385
|
props
|
|
386
|
-
]
|
|
386
|
+
]),
|
|
387
387
|
class: _IMMUTABLE
|
|
388
388
|
}
|
|
389
389
|
}, 3, "r7_4")
|
|
@@ -530,7 +530,7 @@ const Shuffle = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props)
|
|
|
530
530
|
viewBox: _IMMUTABLE,
|
|
531
531
|
height: _fnSignal((p0) => p0.width, [
|
|
532
532
|
props
|
|
533
|
-
]
|
|
533
|
+
])
|
|
534
534
|
}, 0, "z5_0");
|
|
535
535
|
}, "Shuffle_component_17D0HKe0U1U"));
|
|
536
536
|
const ColorPicker = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
@@ -664,7 +664,7 @@ const ColorPicker = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
|
|
|
664
664
|
}, {
|
|
665
665
|
id: _fnSignal((p0) => p0.id, [
|
|
666
666
|
props
|
|
667
|
-
]
|
|
667
|
+
]),
|
|
668
668
|
onInput$: /* @__PURE__ */ inlinedQrl((e, el) => {
|
|
669
669
|
const [setColor2] = useLexicalScope();
|
|
670
670
|
if (!el.dataset.value) return;
|
|
@@ -682,7 +682,7 @@ const ColorPicker = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
|
|
|
682
682
|
background: `linear-gradient(to right, #FFFFFF, ${p0.hue.color})`
|
|
683
683
|
}), [
|
|
684
684
|
store
|
|
685
|
-
]
|
|
685
|
+
]),
|
|
686
686
|
"preventdefault:mousedown": true,
|
|
687
687
|
"preventdefault:touchstart": true,
|
|
688
688
|
onMouseDown$: sbMouseDown,
|
|
@@ -703,7 +703,7 @@ const ColorPicker = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
|
|
|
703
703
|
transform: `translate(${p0.sPosition}px, ${p0.bPosition}px)`
|
|
704
704
|
}), [
|
|
705
705
|
store
|
|
706
|
-
]
|
|
706
|
+
])
|
|
707
707
|
}, null, 3, null)
|
|
708
708
|
], 1, null),
|
|
709
709
|
/* @__PURE__ */ _jsxQ("div", null, {
|
|
@@ -722,7 +722,7 @@ const ColorPicker = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
|
|
|
722
722
|
background: p0.hue.color
|
|
723
723
|
}), [
|
|
724
724
|
store
|
|
725
|
-
]
|
|
725
|
+
])
|
|
726
726
|
}, null, 3, null), 3, null)
|
|
727
727
|
], 1, null),
|
|
728
728
|
/* @__PURE__ */ _jsxQ("div", null, {
|
|
@@ -750,7 +750,7 @@ const ColorPicker = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
|
|
|
750
750
|
backgroundColor: `${p0.value}`
|
|
751
751
|
}), [
|
|
752
752
|
store
|
|
753
|
-
]
|
|
753
|
+
])
|
|
754
754
|
}, null, 3, "Xr_0"),
|
|
755
755
|
/* @__PURE__ */ _jsxQ("input", {
|
|
756
756
|
class: {
|
|
@@ -765,7 +765,7 @@ const ColorPicker = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
|
|
|
765
765
|
}, {
|
|
766
766
|
value: _fnSignal((p0) => p0.value, [
|
|
767
767
|
store
|
|
768
|
-
]
|
|
768
|
+
]),
|
|
769
769
|
onInput$: /* @__PURE__ */ inlinedQrl((e, el) => {
|
|
770
770
|
const [setColor2] = useLexicalScope();
|
|
771
771
|
setColor2(el.value);
|
|
@@ -847,7 +847,7 @@ const ChevronDown = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
|
|
|
847
847
|
viewBox: _IMMUTABLE,
|
|
848
848
|
height: _fnSignal((p0) => p0.width, [
|
|
849
849
|
props
|
|
850
|
-
]
|
|
850
|
+
])
|
|
851
851
|
}, 0, "EL_0");
|
|
852
852
|
}, "ChevronDown_component_t7XDRYS4gVA"));
|
|
853
853
|
const Dropdown = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
@@ -857,7 +857,7 @@ const Dropdown = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props)
|
|
|
857
857
|
/* @__PURE__ */ _jsxQ("label", null, {
|
|
858
858
|
for: _fnSignal((p0) => p0.id, [
|
|
859
859
|
props
|
|
860
|
-
]
|
|
860
|
+
]),
|
|
861
861
|
class: "text-gray-300 pb-1 select-none"
|
|
862
862
|
}, /* @__PURE__ */ _jsxC(Slot, null, 3, "Q4_0"), 1, null),
|
|
863
863
|
/* @__PURE__ */ _jsxC(DropdownRaw, {
|
|
@@ -905,7 +905,7 @@ const DropdownRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
|
|
|
905
905
|
"group": p0.hover
|
|
906
906
|
}), [
|
|
907
907
|
props
|
|
908
|
-
]
|
|
908
|
+
])
|
|
909
909
|
}, [
|
|
910
910
|
props.values && /* @__PURE__ */ _jsxS("select", {
|
|
911
911
|
...props1,
|
|
@@ -923,7 +923,7 @@ const DropdownRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
|
|
|
923
923
|
}, {
|
|
924
924
|
id: _fnSignal((p0) => p0.id, [
|
|
925
925
|
props
|
|
926
|
-
]
|
|
926
|
+
]),
|
|
927
927
|
class: _IMMUTABLE
|
|
928
928
|
}, 0, "Q4_3"),
|
|
929
929
|
/* @__PURE__ */ _jsxQ("button", null, {
|
|
@@ -932,7 +932,7 @@ const DropdownRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
|
|
|
932
932
|
...p0.class
|
|
933
933
|
}), [
|
|
934
934
|
props
|
|
935
|
-
]
|
|
935
|
+
]),
|
|
936
936
|
onClick$: /* @__PURE__ */ inlinedQrl(() => {
|
|
937
937
|
const [store2] = useLexicalScope();
|
|
938
938
|
store2.opened = !store2.opened;
|
|
@@ -942,11 +942,11 @@ const DropdownRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
|
|
|
942
942
|
}, [
|
|
943
943
|
_fnSignal((p0) => p0.display, [
|
|
944
944
|
props
|
|
945
|
-
]
|
|
945
|
+
]),
|
|
946
946
|
!props.display && props.values && /* @__PURE__ */ _jsxQ("span", null, {
|
|
947
947
|
id: _fnSignal((p0) => `lui-${p0.id}-name`, [
|
|
948
948
|
props
|
|
949
|
-
]
|
|
949
|
+
]),
|
|
950
950
|
class: "flex-1 text-left"
|
|
951
951
|
}, props.values.find((value) => value.value.toString() === store.value)?.name ?? props.values[0].name, 1, "Q4_4"),
|
|
952
952
|
/* @__PURE__ */ _jsxC(ChevronDown, {
|
|
@@ -967,7 +967,7 @@ const DropdownRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
|
|
|
967
967
|
}), [
|
|
968
968
|
props,
|
|
969
969
|
store
|
|
970
|
-
]
|
|
970
|
+
])
|
|
971
971
|
}
|
|
972
972
|
}, 3, "Q4_5")
|
|
973
973
|
], 1, null),
|
|
@@ -980,7 +980,7 @@ const DropdownRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
|
|
|
980
980
|
}, null, /* @__PURE__ */ _jsxQ("div", null, {
|
|
981
981
|
id: _fnSignal((p0) => `lui-${p0.id}-opts`, [
|
|
982
982
|
props
|
|
983
|
-
]
|
|
983
|
+
]),
|
|
984
984
|
class: {
|
|
985
985
|
"motion-safe:transition-all p-1 gap-1 bg-gray-800/50 backdrop-blur-xl flex flex-col border border-gray-700 max-h-72 lui-scroll overflow-auto select-none": true
|
|
986
986
|
}
|
|
@@ -1003,7 +1003,7 @@ const DropdownRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
|
|
|
1003
1003
|
])
|
|
1004
1004
|
}, {
|
|
1005
1005
|
class: {
|
|
1006
|
-
"lum-btn lum-pad-md text-base lum-
|
|
1006
|
+
"lum-btn lum-pad-md text-base lum-bg-transparent": true
|
|
1007
1007
|
}
|
|
1008
1008
|
}, name, 0, i);
|
|
1009
1009
|
}),
|
|
@@ -1037,7 +1037,7 @@ const Link = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
|
|
|
1037
1037
|
viewBox: _IMMUTABLE,
|
|
1038
1038
|
height: _fnSignal((p0) => p0.width, [
|
|
1039
1039
|
props
|
|
1040
|
-
]
|
|
1040
|
+
])
|
|
1041
1041
|
}, 0, "zW_0");
|
|
1042
1042
|
}, "Link_component_fiB6yg0RKjk"));
|
|
1043
1043
|
const Header = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
@@ -1063,13 +1063,13 @@ const Header = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =
|
|
|
1063
1063
|
[_IMMUTABLE]: {
|
|
1064
1064
|
id: _fnSignal((p0) => p0.id, [
|
|
1065
1065
|
props
|
|
1066
|
-
]
|
|
1066
|
+
])
|
|
1067
1067
|
}
|
|
1068
1068
|
}, 3, "hw_1"),
|
|
1069
1069
|
props.anchor && props.id && /* @__PURE__ */ _jsxQ("a", null, {
|
|
1070
1070
|
href: _fnSignal((p0) => `#${p0.id}`, [
|
|
1071
1071
|
props
|
|
1072
|
-
]
|
|
1072
|
+
]),
|
|
1073
1073
|
onClick$: /* @__PURE__ */ inlinedQrl(() => {
|
|
1074
1074
|
navigator.clipboard.writeText(window.location.href);
|
|
1075
1075
|
}, "Header_component_Component_Fragment_h2_a_onClick_tdwReSG5ZBA")
|
|
@@ -1091,7 +1091,7 @@ const Header = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =
|
|
|
1091
1091
|
class: "flex items-center text-gray-400 text-sm"
|
|
1092
1092
|
}, _fnSignal((p0) => p0.subheader, [
|
|
1093
1093
|
props
|
|
1094
|
-
]
|
|
1094
|
+
]), 3, null)
|
|
1095
1095
|
], 1, "hw_5");
|
|
1096
1096
|
if (props.loading !== void 0) Component = /* @__PURE__ */ _jsxQ("div", null, {
|
|
1097
1097
|
class: "flex"
|
|
@@ -1104,7 +1104,7 @@ const Header = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =
|
|
|
1104
1104
|
"opacity-100": p0.loading
|
|
1105
1105
|
}), [
|
|
1106
1106
|
props
|
|
1107
|
-
]
|
|
1107
|
+
])
|
|
1108
1108
|
}, /* @__PURE__ */ _jsxQ("div", null, {
|
|
1109
1109
|
class: "lum-loading w-6 h-6"
|
|
1110
1110
|
}, null, 3, null), 3, null)
|
|
@@ -1216,7 +1216,7 @@ const Nav = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
|
1216
1216
|
}
|
|
1217
1217
|
}, 3, "03_3"),
|
|
1218
1218
|
/* @__PURE__ */ _jsxQ("button", null, {
|
|
1219
|
-
class: "lum-btn lum-pad-md text-base lum-pad-equal lum-
|
|
1219
|
+
class: "lum-btn lum-pad-md text-base lum-pad-equal lum-bg-transparent rounded-md"
|
|
1220
1220
|
}, /* @__PURE__ */ _jsxQ("svg", null, {
|
|
1221
1221
|
class: "w-6 h-6",
|
|
1222
1222
|
fill: "none",
|
|
@@ -1255,7 +1255,7 @@ const Plus = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
|
|
|
1255
1255
|
viewBox: _IMMUTABLE,
|
|
1256
1256
|
height: _fnSignal((p0) => p0.width, [
|
|
1257
1257
|
props
|
|
1258
|
-
]
|
|
1258
|
+
])
|
|
1259
1259
|
}, 0, "1y_0");
|
|
1260
1260
|
}, "Plus_component_MKiwkkJ7or4"));
|
|
1261
1261
|
const Minus = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
@@ -1279,7 +1279,7 @@ const Minus = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
|
|
|
1279
1279
|
viewBox: _IMMUTABLE,
|
|
1280
1280
|
height: _fnSignal((p0) => p0.width, [
|
|
1281
1281
|
props
|
|
1282
|
-
]
|
|
1282
|
+
])
|
|
1283
1283
|
}, 0, "tk_0");
|
|
1284
1284
|
}, "Minus_component_eaRlUyV3g0s"));
|
|
1285
1285
|
const NumberInput = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
@@ -1289,7 +1289,7 @@ const NumberInput = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
|
|
|
1289
1289
|
/* @__PURE__ */ _jsxQ("label", null, {
|
|
1290
1290
|
for: _fnSignal((p0) => p0.id, [
|
|
1291
1291
|
props
|
|
1292
|
-
]
|
|
1292
|
+
]),
|
|
1293
1293
|
class: "text-gray-300 pb-1 select-none"
|
|
1294
1294
|
}, /* @__PURE__ */ _jsxC(Slot, null, 3, "kR_0"), 1, null),
|
|
1295
1295
|
/* @__PURE__ */ _jsxC(NumberInputRaw, {
|
|
@@ -1322,7 +1322,7 @@ const NumberInputRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((
|
|
|
1322
1322
|
"gap-2": !p0.input
|
|
1323
1323
|
}), [
|
|
1324
1324
|
props
|
|
1325
|
-
]
|
|
1325
|
+
])
|
|
1326
1326
|
}, [
|
|
1327
1327
|
/* @__PURE__ */ _jsxQ("button", {
|
|
1328
1328
|
disabled: props1.min ? (props.value ?? 0) <= props1.min : false,
|
|
@@ -1366,10 +1366,10 @@ const NumberInputRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((
|
|
|
1366
1366
|
type: _IMMUTABLE,
|
|
1367
1367
|
value: _fnSignal((p0) => p0.value ?? 0, [
|
|
1368
1368
|
props
|
|
1369
|
-
]
|
|
1369
|
+
]),
|
|
1370
1370
|
step: _fnSignal((p0) => p0.step ?? 1, [
|
|
1371
1371
|
props
|
|
1372
|
-
]
|
|
1372
|
+
])
|
|
1373
1373
|
}, 0, "kR_4"),
|
|
1374
1374
|
/* @__PURE__ */ _jsxQ("button", {
|
|
1375
1375
|
disabled: props1.max ? (props.value ?? 0) >= props1.max : false,
|
|
@@ -1608,7 +1608,7 @@ const Toggle = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =
|
|
|
1608
1608
|
"justify-center": p0.center
|
|
1609
1609
|
}), [
|
|
1610
1610
|
props
|
|
1611
|
-
]
|
|
1611
|
+
])
|
|
1612
1612
|
}, [
|
|
1613
1613
|
/* @__PURE__ */ _jsxQ("label", null, {
|
|
1614
1614
|
class: "inline-flex relative items-center cursor-pointer"
|
|
@@ -1644,7 +1644,7 @@ const Toggle = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =
|
|
|
1644
1644
|
class: "text-gray-300 flex gap-2 select-none"
|
|
1645
1645
|
}, _fnSignal((p0) => p0.label, [
|
|
1646
1646
|
props
|
|
1647
|
-
]
|
|
1647
|
+
]), 3, "R0_0")
|
|
1648
1648
|
], 1, "R0_1");
|
|
1649
1649
|
}, "Toggle_component_AHnKi33alRM"));
|
|
1650
1650
|
const LogoBirdflop = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
@@ -1692,7 +1692,7 @@ const LogoBirdflop = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pr
|
|
|
1692
1692
|
transform: "translate(2479.9 1169.7)",
|
|
1693
1693
|
fill: _fnSignal((p0) => p0.fillGradient ? "url(#linear-gradient)" : "", [
|
|
1694
1694
|
props
|
|
1695
|
-
]
|
|
1695
|
+
])
|
|
1696
1696
|
}, null, 3, null), 3, null),
|
|
1697
1697
|
props.confused && /* @__PURE__ */ _jsxQ("g", null, {
|
|
1698
1698
|
style: "transform: translate(595px, 460px) scale(0.375)",
|
|
@@ -1738,7 +1738,7 @@ const LogoDiscord = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
|
|
|
1738
1738
|
fill: _IMMUTABLE,
|
|
1739
1739
|
height: _fnSignal((p0) => p0.width, [
|
|
1740
1740
|
props
|
|
1741
|
-
]
|
|
1741
|
+
])
|
|
1742
1742
|
}, 0, "uo_0");
|
|
1743
1743
|
}, "LogoDiscord_component_jDPP8Q3cU0M"));
|
|
1744
1744
|
const LogoFabric = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
@@ -1777,7 +1777,7 @@ const LogoFabric = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((prop
|
|
|
1777
1777
|
viewBox: _IMMUTABLE,
|
|
1778
1778
|
height: _fnSignal((p0) => p0.width, [
|
|
1779
1779
|
props
|
|
1780
|
-
]
|
|
1780
|
+
])
|
|
1781
1781
|
}, 0, "hI_0");
|
|
1782
1782
|
}, "LogoFabric_component_iP0a9wJyPAg"));
|
|
1783
1783
|
const LogoForge = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
@@ -1815,7 +1815,7 @@ const LogoForge = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props
|
|
|
1815
1815
|
viewBox: _IMMUTABLE,
|
|
1816
1816
|
height: _fnSignal((p0) => p0.width, [
|
|
1817
1817
|
props
|
|
1818
|
-
]
|
|
1818
|
+
])
|
|
1819
1819
|
}, 0, "zC_0");
|
|
1820
1820
|
}, "LogoForge_component_W5Al1sALh8A"));
|
|
1821
1821
|
const LogoLuminescent = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
@@ -1848,7 +1848,7 @@ const LogoLuminescent = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl(
|
|
|
1848
1848
|
fill: _IMMUTABLE,
|
|
1849
1849
|
height: _fnSignal((p0) => p0.width, [
|
|
1850
1850
|
props
|
|
1851
|
-
]
|
|
1851
|
+
])
|
|
1852
1852
|
}, 0, "we_0");
|
|
1853
1853
|
}, "LogoLuminescent_component_XLiMRdgGu0c"));
|
|
1854
1854
|
const LogoLuminescentFull = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
@@ -1994,7 +1994,7 @@ const LogoPaper = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props
|
|
|
1994
1994
|
viewBox: _IMMUTABLE,
|
|
1995
1995
|
height: _fnSignal((p0) => p0.width, [
|
|
1996
1996
|
props
|
|
1997
|
-
]
|
|
1997
|
+
])
|
|
1998
1998
|
}, 0, "gL_0");
|
|
1999
1999
|
}, "LogoPaper_component_aG0HRBVBRDI"));
|
|
2000
2000
|
const LogoPterodactyl = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
@@ -2032,7 +2032,7 @@ const LogoPterodactyl = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl(
|
|
|
2032
2032
|
preserveAspectRatio: _IMMUTABLE,
|
|
2033
2033
|
height: _fnSignal((p0) => p0.width, [
|
|
2034
2034
|
props
|
|
2035
|
-
]
|
|
2035
|
+
])
|
|
2036
2036
|
}, 0, "D4_0");
|
|
2037
2037
|
}, "LogoPterodactyl_component_10hbViSPESg"));
|
|
2038
2038
|
const LogoPurpur = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
@@ -2113,7 +2113,7 @@ const LogoPurpur = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((prop
|
|
|
2113
2113
|
viewBox: _IMMUTABLE,
|
|
2114
2114
|
height: _fnSignal((p0) => p0.width, [
|
|
2115
2115
|
props
|
|
2116
|
-
]
|
|
2116
|
+
])
|
|
2117
2117
|
}, 0, "tL_0");
|
|
2118
2118
|
}, "LogoPurpur_component_c9OHr4CkPBo"));
|
|
2119
2119
|
const LogoVelocity = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
@@ -2142,7 +2142,7 @@ const LogoVelocity = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pr
|
|
|
2142
2142
|
fill: _IMMUTABLE,
|
|
2143
2143
|
height: _fnSignal((p0) => p0.width, [
|
|
2144
2144
|
props
|
|
2145
|
-
]
|
|
2145
|
+
])
|
|
2146
2146
|
}, 0, "XA_0");
|
|
2147
2147
|
}, "LogoVelocity_component_ZPc1n5yvS0Y"));
|
|
2148
2148
|
const LogoWaterfall = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
@@ -2169,7 +2169,7 @@ const LogoWaterfall = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((p
|
|
|
2169
2169
|
"stroke-linejoin": _IMMUTABLE,
|
|
2170
2170
|
height: _fnSignal((p0) => p0.width, [
|
|
2171
2171
|
props
|
|
2172
|
-
]
|
|
2172
|
+
])
|
|
2173
2173
|
}, 0, "to_0");
|
|
2174
2174
|
}, "LogoWaterfall_component_5eX8hGbmtoU"));
|
|
2175
2175
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
interface BlobProps {
|
|
1
|
+
export interface BlobProps {
|
|
2
2
|
class?: {
|
|
3
3
|
[key: string]: boolean;
|
|
4
4
|
};
|
|
@@ -32,4 +32,3 @@ export declare const blobColorClasses: {
|
|
|
32
32
|
rose: string[];
|
|
33
33
|
};
|
|
34
34
|
export declare const Blobs: import("@builder.io/qwik").Component<BlobProps>;
|
|
35
|
-
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luminescent/ui-qwik",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "Luminescent UI library",
|
|
5
5
|
"main": "./lib/index.qwik.mjs",
|
|
6
6
|
"qwik": "./lib/index.qwik.mjs",
|
|
@@ -40,24 +40,24 @@
|
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@anuragroy/tailwindcss-animate": "^1.0.6",
|
|
43
|
-
"@builder.io/qwik": "1.
|
|
44
|
-
"@builder.io/qwik-city": "^1.
|
|
43
|
+
"@builder.io/qwik": "1.7.1",
|
|
44
|
+
"@builder.io/qwik-city": "^1.7.1",
|
|
45
45
|
"@types/eslint": "^8.56.10",
|
|
46
|
-
"@types/node": "^20.14.
|
|
47
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
48
|
-
"@typescript-eslint/parser": "^7.
|
|
46
|
+
"@types/node": "^20.14.10",
|
|
47
|
+
"@typescript-eslint/eslint-plugin": "^7.16.1",
|
|
48
|
+
"@typescript-eslint/parser": "^7.16.1",
|
|
49
49
|
"autoprefixer": "^10.4.19",
|
|
50
50
|
"chart.js": "^4.4.3",
|
|
51
51
|
"eslint": "^8.57.0",
|
|
52
52
|
"eslint-plugin-qwik": "latest",
|
|
53
|
-
"postcss": "^8.4.
|
|
54
|
-
"tailwindcss": "3.4.
|
|
55
|
-
"typescript": "5.5.
|
|
53
|
+
"postcss": "^8.4.39",
|
|
54
|
+
"tailwindcss": "3.4.6",
|
|
55
|
+
"typescript": "5.5.3",
|
|
56
56
|
"undici": "*",
|
|
57
|
-
"vite": "^5.3.
|
|
57
|
+
"vite": "^5.3.4",
|
|
58
58
|
"vite-tsconfig-paths": "^4.3.2"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
|
-
"@luminescent/ui": "^1.
|
|
61
|
+
"@luminescent/ui": "^1.1.1"
|
|
62
62
|
}
|
|
63
63
|
}
|
package/src/tailwind.config.js
CHANGED
|
@@ -45,17 +45,17 @@ function getBlobKeyFrame() {
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
const luminescent = {
|
|
48
|
-
50
|
|
49
|
-
100:
|
|
50
|
-
200:
|
|
51
|
-
300:
|
|
52
|
-
400:
|
|
53
|
-
500:
|
|
54
|
-
600:
|
|
55
|
-
700:
|
|
56
|
-
800:
|
|
57
|
-
900:
|
|
58
|
-
950:
|
|
48
|
+
50: 'hsl(286deg, 65%, 97%)',
|
|
49
|
+
100: 'hsl(286deg, 60%, 95%)',
|
|
50
|
+
200: 'hsl(286deg, 55%, 90%)',
|
|
51
|
+
300: 'hsl(286deg, 50%, 82%)',
|
|
52
|
+
400: 'hsl(286deg, 45%, 75%)',
|
|
53
|
+
500: 'hsl(286deg, 40%, 60%)',
|
|
54
|
+
600: 'hsl(286deg, 35%, 51%)',
|
|
55
|
+
700: 'hsl(286deg, 30%, 42%)',
|
|
56
|
+
800: 'hsl(286deg, 25%, 35%)',
|
|
57
|
+
900: 'hsl(286deg, 20%, 30%)',
|
|
58
|
+
950: 'hsl(286deg, 15%, 17%)',
|
|
59
59
|
};
|
|
60
60
|
|
|
61
61
|
module.exports = {
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { PropsOf } from '@builder.io/qwik';
|
|
2
|
-
interface loadingIconProps extends Omit<PropsOf<'div'>, 'class'> {
|
|
3
|
-
class?: {
|
|
4
|
-
[key: string]: boolean;
|
|
5
|
-
};
|
|
6
|
-
width: number;
|
|
7
|
-
speed?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare const LoadingIcon: import("@builder.io/qwik").Component<loadingIconProps>;
|
|
10
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export * from './elements/Anchor';
|
|
2
|
-
export * from './elements/Blobs';
|
|
3
|
-
export * from './elements/Card';
|
|
4
|
-
export * from './elements/ColorPicker';
|
|
5
|
-
export * from './elements/Dropdown';
|
|
6
|
-
export * from './elements/Header';
|
|
7
|
-
export * from './elements/LoadingIcon';
|
|
8
|
-
export * from './elements/Nav';
|
|
9
|
-
export * from './elements/NumberInput';
|
|
10
|
-
export * from './elements/Toggle';
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
interface BlobProps {
|
|
2
|
-
class?: {
|
|
3
|
-
[key: string]: boolean;
|
|
4
|
-
};
|
|
5
|
-
color?: keyof typeof blobColorClasses | [string, string, string];
|
|
6
|
-
blur?: 'sm' | 'md' | 'lg' | 'xl';
|
|
7
|
-
}
|
|
8
|
-
export declare const blobColorClasses: {
|
|
9
|
-
slate: string[];
|
|
10
|
-
gray: string[];
|
|
11
|
-
darkgray: string[];
|
|
12
|
-
darkergray: string[];
|
|
13
|
-
zinc: string[];
|
|
14
|
-
neutral: string[];
|
|
15
|
-
stone: string[];
|
|
16
|
-
red: string[];
|
|
17
|
-
orange: string[];
|
|
18
|
-
amber: string[];
|
|
19
|
-
yellow: string[];
|
|
20
|
-
lime: string[];
|
|
21
|
-
green: string[];
|
|
22
|
-
emerald: string[];
|
|
23
|
-
teal: string[];
|
|
24
|
-
cyan: string[];
|
|
25
|
-
sky: string[];
|
|
26
|
-
blue: string[];
|
|
27
|
-
indigo: string[];
|
|
28
|
-
violet: string[];
|
|
29
|
-
purple: string[];
|
|
30
|
-
fuchsia: string[];
|
|
31
|
-
pink: string[];
|
|
32
|
-
rose: string[];
|
|
33
|
-
};
|
|
34
|
-
export declare const Blobs: import("@builder.io/qwik").Component<BlobProps>;
|
|
35
|
-
export {};
|