@luminescent/ui 0.12.1 → 0.12.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/index.qwik.cjs +24 -11
- package/lib/index.qwik.mjs +24 -11
- package/lib-types/components/elements/Dropdown.d.ts +1 -0
- package/package.json +1 -1
package/lib/index.qwik.cjs
CHANGED
|
@@ -867,7 +867,8 @@ const DropdownRaw = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlin
|
|
|
867
867
|
"class",
|
|
868
868
|
"display",
|
|
869
869
|
"color",
|
|
870
|
-
"size"
|
|
870
|
+
"size",
|
|
871
|
+
"hover"
|
|
871
872
|
]);
|
|
872
873
|
const store = qwik.useStore({
|
|
873
874
|
opened: false,
|
|
@@ -896,7 +897,12 @@ const DropdownRaw = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlin
|
|
|
896
897
|
}
|
|
897
898
|
`, "DropdownRaw_component_useStyles_UFDvrln9Bfk"));
|
|
898
899
|
return /* @__PURE__ */ qwik._jsxQ("div", null, {
|
|
899
|
-
class:
|
|
900
|
+
class: qwik._fnSignal((p0) => ({
|
|
901
|
+
"relative touch-manipulation": true,
|
|
902
|
+
"group": p0.hover
|
|
903
|
+
}), [
|
|
904
|
+
props
|
|
905
|
+
], '{"relative touch-manipulation":true,"group":p0.hover}')
|
|
900
906
|
}, [
|
|
901
907
|
props.values && /* @__PURE__ */ qwik._jsxS("select", {
|
|
902
908
|
...props1,
|
|
@@ -941,16 +947,19 @@ const DropdownRaw = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlin
|
|
|
941
947
|
get class() {
|
|
942
948
|
return {
|
|
943
949
|
"motion-safe:transition-all duration-200": true,
|
|
944
|
-
"transform rotate-180": store.opened
|
|
950
|
+
"transform rotate-180": store.opened,
|
|
951
|
+
"group-hover:transform group-hover:rotate-180": props.hover
|
|
945
952
|
};
|
|
946
953
|
},
|
|
947
954
|
[qwik._IMMUTABLE]: {
|
|
948
|
-
class: qwik._fnSignal((p0) => ({
|
|
955
|
+
class: qwik._fnSignal((p0, p1) => ({
|
|
949
956
|
"motion-safe:transition-all duration-200": true,
|
|
950
|
-
"transform rotate-180":
|
|
957
|
+
"transform rotate-180": p1.opened,
|
|
958
|
+
"group-hover:transform group-hover:rotate-180": p0.hover
|
|
951
959
|
}), [
|
|
960
|
+
props,
|
|
952
961
|
store
|
|
953
|
-
], '{"motion-safe:transition-all duration-200":true,"transform rotate-180":p0.
|
|
962
|
+
], '{"motion-safe:transition-all duration-200":true,"transform rotate-180":p1.opened,"group-hover:transform group-hover:rotate-180":p0.hover}'),
|
|
954
963
|
width: qwik._IMMUTABLE
|
|
955
964
|
}
|
|
956
965
|
}, 3, "Zz_5")
|
|
@@ -979,10 +988,14 @@ const DropdownRaw = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlin
|
|
|
979
988
|
}, 1, "Zz_6"),
|
|
980
989
|
/* @__PURE__ */ qwik._jsxQ("div", {
|
|
981
990
|
class: {
|
|
982
|
-
"
|
|
983
|
-
"pointer-events-none opacity-0 scale-95": !store.opened
|
|
991
|
+
"absolute top-full pt-2 left-0": true,
|
|
992
|
+
"pointer-events-none opacity-0 scale-95": !store.opened,
|
|
993
|
+
"group-hover:pointer-events-auto group-hover:opacity-100 group-hover:scale-100": props.hover
|
|
984
994
|
}
|
|
985
|
-
}, {
|
|
995
|
+
}, null, /* @__PURE__ */ qwik._jsxQ("div", null, {
|
|
996
|
+
class: {
|
|
997
|
+
"motion-safe:transition-all p-1 gap-1 bg-gray-800/50 backdrop-blur-xl flex flex-col rounded-lg border border-gray-700 z-[1000] max-h-72 lui-scroll overflow-auto select-none": true
|
|
998
|
+
},
|
|
986
999
|
id: qwik._fnSignal((p0) => `lui-${p0.id}-opts`, [
|
|
987
1000
|
props
|
|
988
1001
|
], "`lui-${p0.id}-opts`")
|
|
@@ -1003,7 +1016,7 @@ const DropdownRaw = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlin
|
|
|
1003
1016
|
select.dispatchEvent(new Event("change"));
|
|
1004
1017
|
}
|
|
1005
1018
|
store2.value = value2.toString();
|
|
1006
|
-
}, "
|
|
1019
|
+
}, "DropdownRaw_component_div_div_div_Button_onClick_hpDCLiNtewg", [
|
|
1007
1020
|
props,
|
|
1008
1021
|
store,
|
|
1009
1022
|
value
|
|
@@ -1021,7 +1034,7 @@ const DropdownRaw = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlin
|
|
|
1021
1034
|
name: qwik._IMMUTABLE
|
|
1022
1035
|
}
|
|
1023
1036
|
}, 3, "Zz_7")
|
|
1024
|
-
], 1, null)
|
|
1037
|
+
], 1, null), 1, null)
|
|
1025
1038
|
], 1, "Zz_8");
|
|
1026
1039
|
}, "DropdownRaw_component_Hj5Qd2ULo0U"));
|
|
1027
1040
|
const LoadingIcon = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
package/lib/index.qwik.mjs
CHANGED
|
@@ -865,7 +865,8 @@ const DropdownRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
|
|
|
865
865
|
"class",
|
|
866
866
|
"display",
|
|
867
867
|
"color",
|
|
868
|
-
"size"
|
|
868
|
+
"size",
|
|
869
|
+
"hover"
|
|
869
870
|
]);
|
|
870
871
|
const store = useStore({
|
|
871
872
|
opened: false,
|
|
@@ -894,7 +895,12 @@ const DropdownRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
|
|
|
894
895
|
}
|
|
895
896
|
`, "DropdownRaw_component_useStyles_UFDvrln9Bfk"));
|
|
896
897
|
return /* @__PURE__ */ _jsxQ("div", null, {
|
|
897
|
-
class:
|
|
898
|
+
class: _fnSignal((p0) => ({
|
|
899
|
+
"relative touch-manipulation": true,
|
|
900
|
+
"group": p0.hover
|
|
901
|
+
}), [
|
|
902
|
+
props
|
|
903
|
+
], '{"relative touch-manipulation":true,"group":p0.hover}')
|
|
898
904
|
}, [
|
|
899
905
|
props.values && /* @__PURE__ */ _jsxS("select", {
|
|
900
906
|
...props1,
|
|
@@ -939,16 +945,19 @@ const DropdownRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
|
|
|
939
945
|
get class() {
|
|
940
946
|
return {
|
|
941
947
|
"motion-safe:transition-all duration-200": true,
|
|
942
|
-
"transform rotate-180": store.opened
|
|
948
|
+
"transform rotate-180": store.opened,
|
|
949
|
+
"group-hover:transform group-hover:rotate-180": props.hover
|
|
943
950
|
};
|
|
944
951
|
},
|
|
945
952
|
[_IMMUTABLE]: {
|
|
946
|
-
class: _fnSignal((p0) => ({
|
|
953
|
+
class: _fnSignal((p0, p1) => ({
|
|
947
954
|
"motion-safe:transition-all duration-200": true,
|
|
948
|
-
"transform rotate-180":
|
|
955
|
+
"transform rotate-180": p1.opened,
|
|
956
|
+
"group-hover:transform group-hover:rotate-180": p0.hover
|
|
949
957
|
}), [
|
|
958
|
+
props,
|
|
950
959
|
store
|
|
951
|
-
], '{"motion-safe:transition-all duration-200":true,"transform rotate-180":p0.
|
|
960
|
+
], '{"motion-safe:transition-all duration-200":true,"transform rotate-180":p1.opened,"group-hover:transform group-hover:rotate-180":p0.hover}'),
|
|
952
961
|
width: _IMMUTABLE
|
|
953
962
|
}
|
|
954
963
|
}, 3, "Zz_5")
|
|
@@ -977,10 +986,14 @@ const DropdownRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
|
|
|
977
986
|
}, 1, "Zz_6"),
|
|
978
987
|
/* @__PURE__ */ _jsxQ("div", {
|
|
979
988
|
class: {
|
|
980
|
-
"
|
|
981
|
-
"pointer-events-none opacity-0 scale-95": !store.opened
|
|
989
|
+
"absolute top-full pt-2 left-0": true,
|
|
990
|
+
"pointer-events-none opacity-0 scale-95": !store.opened,
|
|
991
|
+
"group-hover:pointer-events-auto group-hover:opacity-100 group-hover:scale-100": props.hover
|
|
982
992
|
}
|
|
983
|
-
}, {
|
|
993
|
+
}, null, /* @__PURE__ */ _jsxQ("div", null, {
|
|
994
|
+
class: {
|
|
995
|
+
"motion-safe:transition-all p-1 gap-1 bg-gray-800/50 backdrop-blur-xl flex flex-col rounded-lg border border-gray-700 z-[1000] max-h-72 lui-scroll overflow-auto select-none": true
|
|
996
|
+
},
|
|
984
997
|
id: _fnSignal((p0) => `lui-${p0.id}-opts`, [
|
|
985
998
|
props
|
|
986
999
|
], "`lui-${p0.id}-opts`")
|
|
@@ -1001,7 +1014,7 @@ const DropdownRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
|
|
|
1001
1014
|
select.dispatchEvent(new Event("change"));
|
|
1002
1015
|
}
|
|
1003
1016
|
store2.value = value2.toString();
|
|
1004
|
-
}, "
|
|
1017
|
+
}, "DropdownRaw_component_div_div_div_Button_onClick_hpDCLiNtewg", [
|
|
1005
1018
|
props,
|
|
1006
1019
|
store,
|
|
1007
1020
|
value
|
|
@@ -1019,7 +1032,7 @@ const DropdownRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
|
|
|
1019
1032
|
name: _IMMUTABLE
|
|
1020
1033
|
}
|
|
1021
1034
|
}, 3, "Zz_7")
|
|
1022
|
-
], 1, null)
|
|
1035
|
+
], 1, null), 1, null)
|
|
1023
1036
|
], 1, "Zz_8");
|
|
1024
1037
|
}, "DropdownRaw_component_Hj5Qd2ULo0U"));
|
|
1025
1038
|
const LoadingIcon = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|