@luminescent/ui-qwik 1.2.8 → 1.3.1
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 +26 -27
- package/lib/index.qwik.mjs +26 -27
- package/lib-types/components/elements/Nav.d.ts +1 -0
- package/package.json +2 -2
package/lib/index.qwik.cjs
CHANGED
|
@@ -607,12 +607,12 @@ const ColorPicker = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlin
|
|
|
607
607
|
])
|
|
608
608
|
}, {
|
|
609
609
|
class: {
|
|
610
|
-
"w-[1.6rem] h-[1.6rem] rounded-md hover:scale-110 motion-safe:transition-all duration-300 hover:duration-
|
|
610
|
+
"w-[1.6rem] h-[1.6rem] rounded-md hover:scale-110 motion-safe:transition-all duration-300 hover:duration-75 ease-out -outline-offset-1 outline outline-1 outline-white/30": true
|
|
611
611
|
}
|
|
612
612
|
}, null, 2, i);
|
|
613
613
|
}),
|
|
614
614
|
/* @__PURE__ */ qwik._jsxQ("button", null, {
|
|
615
|
-
class: "w-[1.6rem] h-[1.6rem] border border-gray-700 rounded-md hover:scale-110 motion-safe:transition-all duration-300 hover:duration-
|
|
615
|
+
class: "w-[1.6rem] h-[1.6rem] border border-gray-700 rounded-md hover:scale-110 motion-safe:transition-all duration-300 hover:duration-75 ease-out",
|
|
616
616
|
onClick$: /* @__PURE__ */ qwik.inlinedQrl(() => {
|
|
617
617
|
const [setColor2] = qwik.useLexicalScope();
|
|
618
618
|
const color = `#${Math.floor(Math.random() * 16777215).toString(16)}`;
|
|
@@ -733,9 +733,9 @@ const DropdownRaw = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlin
|
|
|
733
733
|
/* @__PURE__ */ qwik._jsxC(ChevronDown, {
|
|
734
734
|
width: 16,
|
|
735
735
|
class: {
|
|
736
|
-
"motion-safe:transition-all ease-
|
|
736
|
+
"motion-safe:transition-all ease-out": true,
|
|
737
737
|
"transform rotate-180": store.opened,
|
|
738
|
-
"group-hover:transform group-hover:rotate-180 duration-300 group-hover:duration-
|
|
738
|
+
"group-hover:transform group-hover:rotate-180 duration-300 group-hover:duration-75": props.hover
|
|
739
739
|
},
|
|
740
740
|
[qwik._IMMUTABLE]: {
|
|
741
741
|
width: qwik._IMMUTABLE
|
|
@@ -744,9 +744,9 @@ const DropdownRaw = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlin
|
|
|
744
744
|
], 1, null),
|
|
745
745
|
/* @__PURE__ */ qwik._jsxQ("div", {
|
|
746
746
|
class: {
|
|
747
|
-
"transition-all ease-
|
|
747
|
+
"transition-all ease-out absolute top-full pt-2 left-0 z-[1000] ": true,
|
|
748
748
|
"opacity-0 scale-95 pointer-events-none": !store.opened,
|
|
749
|
-
"group-hover:pointer-events-auto group-hover:opacity-100 group-hover:scale-100 duration-300 group-hover:duration-
|
|
749
|
+
"group-hover:pointer-events-auto group-hover:opacity-100 group-hover:scale-100 duration-300 group-hover:duration-75": props.hover
|
|
750
750
|
}
|
|
751
751
|
}, null, /* @__PURE__ */ qwik._jsxQ("div", null, {
|
|
752
752
|
id: qwik._fnSignal((p0) => `lui-${p0.id}-opts`, [
|
|
@@ -844,7 +844,7 @@ const Header = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl
|
|
|
844
844
|
navigator.clipboard.writeText(window.location.href);
|
|
845
845
|
}, "Header_component_Component_Fragment_h2_a_onClick_tdwReSG5ZBA")
|
|
846
846
|
}, /* @__PURE__ */ qwik._jsxC(Link, {
|
|
847
|
-
class: "transition-all opacity-10 group-hover:opacity-100 duration-300 group-hover:duration-
|
|
847
|
+
class: "transition-all opacity-10 group-hover:opacity-100 duration-300 group-hover:duration-75",
|
|
848
848
|
width: 24,
|
|
849
849
|
[qwik._IMMUTABLE]: {
|
|
850
850
|
class: qwik._IMMUTABLE,
|
|
@@ -866,9 +866,11 @@ const Header = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl
|
|
|
866
866
|
return Component;
|
|
867
867
|
}, "Header_component_JY2gvGRuOjU"));
|
|
868
868
|
const Nav = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
869
|
+
qwik._jsxBranch();
|
|
869
870
|
const props1 = qwik._restProps(props, [
|
|
870
871
|
"fixed",
|
|
871
872
|
"floating",
|
|
873
|
+
"nohamburger",
|
|
872
874
|
"colorClass"
|
|
873
875
|
]);
|
|
874
876
|
const menu = qwik.useSignal(false);
|
|
@@ -881,7 +883,7 @@ const Nav = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((p
|
|
|
881
883
|
...props1.class
|
|
882
884
|
},
|
|
883
885
|
children: [
|
|
884
|
-
/* @__PURE__ */ qwik._jsxQ("div", {
|
|
886
|
+
!props.nohamburger && /* @__PURE__ */ qwik._jsxQ("div", {
|
|
885
887
|
class: {
|
|
886
888
|
"sm:hidden motion-safe:transition-all flex flex-col px-2 items-center absolute w-full top-full": true,
|
|
887
889
|
"mt-2": menu.value,
|
|
@@ -901,11 +903,11 @@ const Nav = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((p
|
|
|
901
903
|
[qwik._IMMUTABLE]: {
|
|
902
904
|
name: qwik._IMMUTABLE
|
|
903
905
|
}
|
|
904
|
-
}, 3, "03_0"), 1, null), 1,
|
|
906
|
+
}, 3, "03_0"), 1, null), 1, "03_1"),
|
|
905
907
|
/* @__PURE__ */ qwik._jsxQ("div", {
|
|
906
908
|
class: {
|
|
907
909
|
[props.colorClass ?? "lum-bg-gray-900"]: !props.floating,
|
|
908
|
-
"border-t-0 border-x-0": !props.floating,
|
|
910
|
+
"!border-t-0 !border-x-0": !props.floating,
|
|
909
911
|
"before:backdrop-blur-lg": !(props.colorClass ?? "lum-bg-gray-900").includes("transparent") && !props.floating,
|
|
910
912
|
'before:absolute before:content-[""] before:w-full before:h-full before:drop-shadow-xl before:-z-10': !props.floating,
|
|
911
913
|
"relative mt-2 mx-2": props.floating
|
|
@@ -926,7 +928,7 @@ const Nav = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((p
|
|
|
926
928
|
[qwik._IMMUTABLE]: {
|
|
927
929
|
name: qwik._IMMUTABLE
|
|
928
930
|
}
|
|
929
|
-
}, 3, "
|
|
931
|
+
}, 3, "03_2"), 1, null),
|
|
930
932
|
/* @__PURE__ */ qwik._jsxQ("div", null, {
|
|
931
933
|
class: "flex items-center flex-1 gap-2 py-2 justify-center"
|
|
932
934
|
}, /* @__PURE__ */ qwik._jsxC(qwik.Slot, {
|
|
@@ -934,7 +936,7 @@ const Nav = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((p
|
|
|
934
936
|
[qwik._IMMUTABLE]: {
|
|
935
937
|
name: qwik._IMMUTABLE
|
|
936
938
|
}
|
|
937
|
-
}, 3, "
|
|
939
|
+
}, 3, "03_3"), 1, null),
|
|
938
940
|
/* @__PURE__ */ qwik._jsxQ("div", null, {
|
|
939
941
|
class: "flex items-center flex-1 gap-2 py-2 justify-end"
|
|
940
942
|
}, [
|
|
@@ -943,8 +945,8 @@ const Nav = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((p
|
|
|
943
945
|
[qwik._IMMUTABLE]: {
|
|
944
946
|
name: qwik._IMMUTABLE
|
|
945
947
|
}
|
|
946
|
-
}, 3, "
|
|
947
|
-
/* @__PURE__ */ qwik._jsxQ("button", null, {
|
|
948
|
+
}, 3, "03_4"),
|
|
949
|
+
!props.nohamburger && /* @__PURE__ */ qwik._jsxQ("button", null, {
|
|
948
950
|
class: "lum-btn lum-pad-equal-md lum-bg-transparent sm:hidden",
|
|
949
951
|
onClick$: /* @__PURE__ */ qwik.inlinedQrl(() => {
|
|
950
952
|
const [menu2] = qwik.useLexicalScope();
|
|
@@ -963,11 +965,11 @@ const Nav = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((p
|
|
|
963
965
|
"stroke-linejoin": "round",
|
|
964
966
|
"stroke-width": "2",
|
|
965
967
|
d: "M4 6h16M4 12h16M4 18h16"
|
|
966
|
-
}, null, 3, null), 3, null), 3,
|
|
968
|
+
}, null, 3, null), 3, null), 3, "03_5")
|
|
967
969
|
], 1, null)
|
|
968
970
|
], 1, null), 1, null)
|
|
969
971
|
]
|
|
970
|
-
}, null, 0, "
|
|
972
|
+
}, null, 0, "03_6");
|
|
971
973
|
}, "Nav_component_GVA94DyavJM"));
|
|
972
974
|
const Plus = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
973
975
|
return /* @__PURE__ */ qwik._jsxS("svg", {
|
|
@@ -1052,12 +1054,9 @@ const NumberInputRaw = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.in
|
|
|
1052
1054
|
}
|
|
1053
1055
|
`, "NumberInputRaw_component_useStyles_PL07GuY3qew"));
|
|
1054
1056
|
return /* @__PURE__ */ qwik._jsxQ("div", null, {
|
|
1055
|
-
class:
|
|
1056
|
-
"flex text-gray-50 touch-manipulation": true
|
|
1057
|
-
|
|
1058
|
-
}), [
|
|
1059
|
-
props
|
|
1060
|
-
], '{"flex text-gray-50 touch-manipulation":true,"gap-2":!p0.input}')
|
|
1057
|
+
class: {
|
|
1058
|
+
"flex gap-2 text-gray-50 touch-manipulation": true
|
|
1059
|
+
}
|
|
1061
1060
|
}, [
|
|
1062
1061
|
/* @__PURE__ */ qwik._jsxQ("button", {
|
|
1063
1062
|
disabled: props1.min ? (props.value ?? 0) <= props1.min : false,
|
|
@@ -1071,7 +1070,7 @@ const NumberInputRaw = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.in
|
|
|
1071
1070
|
]) : props.onDecrement$
|
|
1072
1071
|
}, {
|
|
1073
1072
|
class: {
|
|
1074
|
-
"lum-btn lum-pad-sm text-sm lum-bg-gray-800 hover:lum-bg-gray-700 rounded-md": true
|
|
1073
|
+
"lum-btn lum-pad-equal-sm text-sm lum-bg-gray-800 hover:lum-bg-gray-700 rounded-md": true
|
|
1075
1074
|
},
|
|
1076
1075
|
"data-action": "decrement",
|
|
1077
1076
|
"aria-label": "Decrement"
|
|
@@ -1093,7 +1092,7 @@ const NumberInputRaw = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.in
|
|
|
1093
1092
|
return props.step ?? 1;
|
|
1094
1093
|
},
|
|
1095
1094
|
class: {
|
|
1096
|
-
"lum-input
|
|
1095
|
+
"lum-input text-sm lum-bg-gray-800 hover:lum-bg-gray-700 rounded-md": true,
|
|
1097
1096
|
"text-center": true,
|
|
1098
1097
|
...props1.class
|
|
1099
1098
|
}
|
|
@@ -1118,7 +1117,7 @@ const NumberInputRaw = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.in
|
|
|
1118
1117
|
]) : props.onIncrement$
|
|
1119
1118
|
}, {
|
|
1120
1119
|
class: {
|
|
1121
|
-
"lum-btn lum-pad-sm text-sm lum-bg-gray-800 hover:lum-bg-gray-700 rounded-md": true
|
|
1120
|
+
"lum-btn lum-pad-equal-sm text-sm lum-bg-gray-800 hover:lum-bg-gray-700 rounded-md": true
|
|
1122
1121
|
},
|
|
1123
1122
|
"data-action": "increment",
|
|
1124
1123
|
"aria-label": "Increment"
|
|
@@ -1360,8 +1359,8 @@ const Toggle = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl
|
|
|
1360
1359
|
}, 0, null),
|
|
1361
1360
|
/* @__PURE__ */ qwik._jsxQ("div", {
|
|
1362
1361
|
class: {
|
|
1363
|
-
"motion-safe:transition duration-300 hover:duration-
|
|
1364
|
-
"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-
|
|
1362
|
+
"motion-safe:transition duration-300 hover:duration-75 ease-out h-7 peer border hover:shadow-lg": true,
|
|
1363
|
+
"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-75 after:ease-out": true,
|
|
1365
1364
|
"rounded-md after:rounded-[0.2rem]": !props.round,
|
|
1366
1365
|
"rounded-full after:rounded-full": props.round,
|
|
1367
1366
|
"w-12 peer-checked:after:translate-x-full": !props.checkbox,
|
package/lib/index.qwik.mjs
CHANGED
|
@@ -605,12 +605,12 @@ const ColorPicker = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
|
|
|
605
605
|
])
|
|
606
606
|
}, {
|
|
607
607
|
class: {
|
|
608
|
-
"w-[1.6rem] h-[1.6rem] rounded-md hover:scale-110 motion-safe:transition-all duration-300 hover:duration-
|
|
608
|
+
"w-[1.6rem] h-[1.6rem] rounded-md hover:scale-110 motion-safe:transition-all duration-300 hover:duration-75 ease-out -outline-offset-1 outline outline-1 outline-white/30": true
|
|
609
609
|
}
|
|
610
610
|
}, null, 2, i);
|
|
611
611
|
}),
|
|
612
612
|
/* @__PURE__ */ _jsxQ("button", null, {
|
|
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-
|
|
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-75 ease-out",
|
|
614
614
|
onClick$: /* @__PURE__ */ inlinedQrl(() => {
|
|
615
615
|
const [setColor2] = useLexicalScope();
|
|
616
616
|
const color = `#${Math.floor(Math.random() * 16777215).toString(16)}`;
|
|
@@ -731,9 +731,9 @@ const DropdownRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
|
|
|
731
731
|
/* @__PURE__ */ _jsxC(ChevronDown, {
|
|
732
732
|
width: 16,
|
|
733
733
|
class: {
|
|
734
|
-
"motion-safe:transition-all ease-
|
|
734
|
+
"motion-safe:transition-all ease-out": true,
|
|
735
735
|
"transform rotate-180": store.opened,
|
|
736
|
-
"group-hover:transform group-hover:rotate-180 duration-300 group-hover:duration-
|
|
736
|
+
"group-hover:transform group-hover:rotate-180 duration-300 group-hover:duration-75": props.hover
|
|
737
737
|
},
|
|
738
738
|
[_IMMUTABLE]: {
|
|
739
739
|
width: _IMMUTABLE
|
|
@@ -742,9 +742,9 @@ const DropdownRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
|
|
|
742
742
|
], 1, null),
|
|
743
743
|
/* @__PURE__ */ _jsxQ("div", {
|
|
744
744
|
class: {
|
|
745
|
-
"transition-all ease-
|
|
745
|
+
"transition-all ease-out absolute top-full pt-2 left-0 z-[1000] ": true,
|
|
746
746
|
"opacity-0 scale-95 pointer-events-none": !store.opened,
|
|
747
|
-
"group-hover:pointer-events-auto group-hover:opacity-100 group-hover:scale-100 duration-300 group-hover:duration-
|
|
747
|
+
"group-hover:pointer-events-auto group-hover:opacity-100 group-hover:scale-100 duration-300 group-hover:duration-75": props.hover
|
|
748
748
|
}
|
|
749
749
|
}, null, /* @__PURE__ */ _jsxQ("div", null, {
|
|
750
750
|
id: _fnSignal((p0) => `lui-${p0.id}-opts`, [
|
|
@@ -842,7 +842,7 @@ const Header = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =
|
|
|
842
842
|
navigator.clipboard.writeText(window.location.href);
|
|
843
843
|
}, "Header_component_Component_Fragment_h2_a_onClick_tdwReSG5ZBA")
|
|
844
844
|
}, /* @__PURE__ */ _jsxC(Link, {
|
|
845
|
-
class: "transition-all opacity-10 group-hover:opacity-100 duration-300 group-hover:duration-
|
|
845
|
+
class: "transition-all opacity-10 group-hover:opacity-100 duration-300 group-hover:duration-75",
|
|
846
846
|
width: 24,
|
|
847
847
|
[_IMMUTABLE]: {
|
|
848
848
|
class: _IMMUTABLE,
|
|
@@ -864,9 +864,11 @@ const Header = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =
|
|
|
864
864
|
return Component;
|
|
865
865
|
}, "Header_component_JY2gvGRuOjU"));
|
|
866
866
|
const Nav = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
867
|
+
_jsxBranch();
|
|
867
868
|
const props1 = _restProps(props, [
|
|
868
869
|
"fixed",
|
|
869
870
|
"floating",
|
|
871
|
+
"nohamburger",
|
|
870
872
|
"colorClass"
|
|
871
873
|
]);
|
|
872
874
|
const menu = useSignal(false);
|
|
@@ -879,7 +881,7 @@ const Nav = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
|
879
881
|
...props1.class
|
|
880
882
|
},
|
|
881
883
|
children: [
|
|
882
|
-
/* @__PURE__ */ _jsxQ("div", {
|
|
884
|
+
!props.nohamburger && /* @__PURE__ */ _jsxQ("div", {
|
|
883
885
|
class: {
|
|
884
886
|
"sm:hidden motion-safe:transition-all flex flex-col px-2 items-center absolute w-full top-full": true,
|
|
885
887
|
"mt-2": menu.value,
|
|
@@ -899,11 +901,11 @@ const Nav = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
|
899
901
|
[_IMMUTABLE]: {
|
|
900
902
|
name: _IMMUTABLE
|
|
901
903
|
}
|
|
902
|
-
}, 3, "03_0"), 1, null), 1,
|
|
904
|
+
}, 3, "03_0"), 1, null), 1, "03_1"),
|
|
903
905
|
/* @__PURE__ */ _jsxQ("div", {
|
|
904
906
|
class: {
|
|
905
907
|
[props.colorClass ?? "lum-bg-gray-900"]: !props.floating,
|
|
906
|
-
"border-t-0 border-x-0": !props.floating,
|
|
908
|
+
"!border-t-0 !border-x-0": !props.floating,
|
|
907
909
|
"before:backdrop-blur-lg": !(props.colorClass ?? "lum-bg-gray-900").includes("transparent") && !props.floating,
|
|
908
910
|
'before:absolute before:content-[""] before:w-full before:h-full before:drop-shadow-xl before:-z-10': !props.floating,
|
|
909
911
|
"relative mt-2 mx-2": props.floating
|
|
@@ -924,7 +926,7 @@ const Nav = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
|
924
926
|
[_IMMUTABLE]: {
|
|
925
927
|
name: _IMMUTABLE
|
|
926
928
|
}
|
|
927
|
-
}, 3, "
|
|
929
|
+
}, 3, "03_2"), 1, null),
|
|
928
930
|
/* @__PURE__ */ _jsxQ("div", null, {
|
|
929
931
|
class: "flex items-center flex-1 gap-2 py-2 justify-center"
|
|
930
932
|
}, /* @__PURE__ */ _jsxC(Slot, {
|
|
@@ -932,7 +934,7 @@ const Nav = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
|
932
934
|
[_IMMUTABLE]: {
|
|
933
935
|
name: _IMMUTABLE
|
|
934
936
|
}
|
|
935
|
-
}, 3, "
|
|
937
|
+
}, 3, "03_3"), 1, null),
|
|
936
938
|
/* @__PURE__ */ _jsxQ("div", null, {
|
|
937
939
|
class: "flex items-center flex-1 gap-2 py-2 justify-end"
|
|
938
940
|
}, [
|
|
@@ -941,8 +943,8 @@ const Nav = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
|
941
943
|
[_IMMUTABLE]: {
|
|
942
944
|
name: _IMMUTABLE
|
|
943
945
|
}
|
|
944
|
-
}, 3, "
|
|
945
|
-
/* @__PURE__ */ _jsxQ("button", null, {
|
|
946
|
+
}, 3, "03_4"),
|
|
947
|
+
!props.nohamburger && /* @__PURE__ */ _jsxQ("button", null, {
|
|
946
948
|
class: "lum-btn lum-pad-equal-md lum-bg-transparent sm:hidden",
|
|
947
949
|
onClick$: /* @__PURE__ */ inlinedQrl(() => {
|
|
948
950
|
const [menu2] = useLexicalScope();
|
|
@@ -961,11 +963,11 @@ const Nav = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
|
961
963
|
"stroke-linejoin": "round",
|
|
962
964
|
"stroke-width": "2",
|
|
963
965
|
d: "M4 6h16M4 12h16M4 18h16"
|
|
964
|
-
}, null, 3, null), 3, null), 3,
|
|
966
|
+
}, null, 3, null), 3, null), 3, "03_5")
|
|
965
967
|
], 1, null)
|
|
966
968
|
], 1, null), 1, null)
|
|
967
969
|
]
|
|
968
|
-
}, null, 0, "
|
|
970
|
+
}, null, 0, "03_6");
|
|
969
971
|
}, "Nav_component_GVA94DyavJM"));
|
|
970
972
|
const Plus = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
971
973
|
return /* @__PURE__ */ _jsxS("svg", {
|
|
@@ -1050,12 +1052,9 @@ const NumberInputRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((
|
|
|
1050
1052
|
}
|
|
1051
1053
|
`, "NumberInputRaw_component_useStyles_PL07GuY3qew"));
|
|
1052
1054
|
return /* @__PURE__ */ _jsxQ("div", null, {
|
|
1053
|
-
class:
|
|
1054
|
-
"flex text-gray-50 touch-manipulation": true
|
|
1055
|
-
|
|
1056
|
-
}), [
|
|
1057
|
-
props
|
|
1058
|
-
], '{"flex text-gray-50 touch-manipulation":true,"gap-2":!p0.input}')
|
|
1055
|
+
class: {
|
|
1056
|
+
"flex gap-2 text-gray-50 touch-manipulation": true
|
|
1057
|
+
}
|
|
1059
1058
|
}, [
|
|
1060
1059
|
/* @__PURE__ */ _jsxQ("button", {
|
|
1061
1060
|
disabled: props1.min ? (props.value ?? 0) <= props1.min : false,
|
|
@@ -1069,7 +1068,7 @@ const NumberInputRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((
|
|
|
1069
1068
|
]) : props.onDecrement$
|
|
1070
1069
|
}, {
|
|
1071
1070
|
class: {
|
|
1072
|
-
"lum-btn lum-pad-sm text-sm lum-bg-gray-800 hover:lum-bg-gray-700 rounded-md": true
|
|
1071
|
+
"lum-btn lum-pad-equal-sm text-sm lum-bg-gray-800 hover:lum-bg-gray-700 rounded-md": true
|
|
1073
1072
|
},
|
|
1074
1073
|
"data-action": "decrement",
|
|
1075
1074
|
"aria-label": "Decrement"
|
|
@@ -1091,7 +1090,7 @@ const NumberInputRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((
|
|
|
1091
1090
|
return props.step ?? 1;
|
|
1092
1091
|
},
|
|
1093
1092
|
class: {
|
|
1094
|
-
"lum-input
|
|
1093
|
+
"lum-input text-sm lum-bg-gray-800 hover:lum-bg-gray-700 rounded-md": true,
|
|
1095
1094
|
"text-center": true,
|
|
1096
1095
|
...props1.class
|
|
1097
1096
|
}
|
|
@@ -1116,7 +1115,7 @@ const NumberInputRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((
|
|
|
1116
1115
|
]) : props.onIncrement$
|
|
1117
1116
|
}, {
|
|
1118
1117
|
class: {
|
|
1119
|
-
"lum-btn lum-pad-sm text-sm lum-bg-gray-800 hover:lum-bg-gray-700 rounded-md": true
|
|
1118
|
+
"lum-btn lum-pad-equal-sm text-sm lum-bg-gray-800 hover:lum-bg-gray-700 rounded-md": true
|
|
1120
1119
|
},
|
|
1121
1120
|
"data-action": "increment",
|
|
1122
1121
|
"aria-label": "Increment"
|
|
@@ -1358,8 +1357,8 @@ const Toggle = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =
|
|
|
1358
1357
|
}, 0, null),
|
|
1359
1358
|
/* @__PURE__ */ _jsxQ("div", {
|
|
1360
1359
|
class: {
|
|
1361
|
-
"motion-safe:transition duration-300 hover:duration-
|
|
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-
|
|
1360
|
+
"motion-safe:transition duration-300 hover:duration-75 ease-out h-7 peer border hover:shadow-lg": true,
|
|
1361
|
+
"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-75 after:ease-out": true,
|
|
1363
1362
|
"rounded-md after:rounded-[0.2rem]": !props.round,
|
|
1364
1363
|
"rounded-full after:rounded-full": props.round,
|
|
1365
1364
|
"w-12 peer-checked:after:translate-x-full": !props.checkbox,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luminescent/ui-qwik",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "Luminescent UI library",
|
|
5
5
|
"main": "./lib/index.qwik.mjs",
|
|
6
6
|
"qwik": "./lib/index.qwik.mjs",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@builder.io/qwik": "1.8.0",
|
|
44
44
|
"@builder.io/qwik-city": "^1.8.0",
|
|
45
45
|
"@types/eslint": "^8.56.11",
|
|
46
|
-
"@types/node": "^22.
|
|
46
|
+
"@types/node": "^22.5.0",
|
|
47
47
|
"@typescript-eslint/eslint-plugin": "^8.2.0",
|
|
48
48
|
"@typescript-eslint/parser": "^8.2.0",
|
|
49
49
|
"autoprefixer": "^10.4.20",
|