@luminescent/ui-qwik 4.0.2 → 4.1.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 +8 -8
- package/lib/index.qwik.mjs +8 -8
- package/package.json +2 -2
package/lib/index.qwik.cjs
CHANGED
|
@@ -606,7 +606,7 @@ const ColorPicker = qwik.component$(({ id, value = "#000000", colors = [
|
|
|
606
606
|
await setColor(color);
|
|
607
607
|
},
|
|
608
608
|
children: /* @__PURE__ */ jsxRuntime.jsx(Shuffle, {
|
|
609
|
-
class: "p-0.5 pl-0.5 text-
|
|
609
|
+
class: "p-0.5 pl-0.5 text-lum-text"
|
|
610
610
|
})
|
|
611
611
|
})
|
|
612
612
|
]
|
|
@@ -663,7 +663,7 @@ const SelectMenu = qwik.component$((props) => {
|
|
|
663
663
|
children: [
|
|
664
664
|
/* @__PURE__ */ jsxRuntime.jsx("label", {
|
|
665
665
|
for: props.id,
|
|
666
|
-
class: "pb-1 text-
|
|
666
|
+
class: "pb-1 text-lum-text select-none",
|
|
667
667
|
children: /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {})
|
|
668
668
|
}),
|
|
669
669
|
/* @__PURE__ */ jsxRuntime.jsxs(SelectMenuRaw, {
|
|
@@ -741,7 +741,7 @@ const SelectMenuRaw = qwik.component$(({ id, values, class: Class, customDropdow
|
|
|
741
741
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
742
742
|
id: `lui-${id}-opts`,
|
|
743
743
|
class: {
|
|
744
|
-
"lum-bg-
|
|
744
|
+
"lum-bg-lum-input-bg lum-scroll flex max-h-72 flex-col gap-1 overflow-auto rounded-lum border p-1 select-none motion-safe:transition-all": true
|
|
745
745
|
},
|
|
746
746
|
children: [
|
|
747
747
|
values?.map(({ name, value }, i) => {
|
|
@@ -797,7 +797,7 @@ const Menu = qwik.component$(({ size, ...props }) => {
|
|
|
797
797
|
]
|
|
798
798
|
});
|
|
799
799
|
});
|
|
800
|
-
const Nav = qwik.component$(({ fixed, floating, nohamburger, colorClass = "lum-bg-
|
|
800
|
+
const Nav = qwik.component$(({ fixed, floating, nohamburger, colorClass = "lum-bg-lum-card-bg", ...props }) => {
|
|
801
801
|
const menu = qwik.useSignal(false);
|
|
802
802
|
return /* @__PURE__ */ jsxRuntime.jsxs("nav", {
|
|
803
803
|
...props,
|
|
@@ -923,7 +923,7 @@ const NumberInput = qwik.component$((props) => {
|
|
|
923
923
|
children: [
|
|
924
924
|
/* @__PURE__ */ jsxRuntime.jsx("label", {
|
|
925
925
|
for: props.id,
|
|
926
|
-
class: "pb-1 text-
|
|
926
|
+
class: "pb-1 text-lum-text select-none",
|
|
927
927
|
children: /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {})
|
|
928
928
|
}),
|
|
929
929
|
/* @__PURE__ */ jsxRuntime.jsx(NumberInputRaw, {
|
|
@@ -946,7 +946,7 @@ const NumberInputRaw = qwik.component$(({ input, onDecrement$, onIncrement$, val
|
|
|
946
946
|
`);
|
|
947
947
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
948
948
|
class: {
|
|
949
|
-
"flex touch-manipulation gap-1 text-
|
|
949
|
+
"flex touch-manipulation gap-1 text-lum-text": true
|
|
950
950
|
},
|
|
951
951
|
children: [
|
|
952
952
|
/* @__PURE__ */ jsxRuntime.jsx("button", {
|
|
@@ -1020,7 +1020,7 @@ const Toggle = qwik.component$(({ checkbox, round, label, ...props }) => {
|
|
|
1020
1020
|
"rounded-full after:rounded-full": round,
|
|
1021
1021
|
"w-12 peer-checked:after:translate-x-full": !checkbox,
|
|
1022
1022
|
"w-7 after:opacity-0 peer-checked:after:opacity-100": checkbox,
|
|
1023
|
-
"lum-toggle-bg-
|
|
1023
|
+
"lum-toggle-bg-lum-input-bg peer-checked:lum-toggle-bg-lum-accent": true,
|
|
1024
1024
|
[props.class ?? ""]: !!props.class
|
|
1025
1025
|
}
|
|
1026
1026
|
})
|
|
@@ -1028,7 +1028,7 @@ const Toggle = qwik.component$(({ checkbox, round, label, ...props }) => {
|
|
|
1028
1028
|
}),
|
|
1029
1029
|
label && /* @__PURE__ */ jsxRuntime.jsx("label", {
|
|
1030
1030
|
for: props.id,
|
|
1031
|
-
class: "flex gap-2 text-
|
|
1031
|
+
class: "flex gap-2 text-lum-text select-none",
|
|
1032
1032
|
children: label
|
|
1033
1033
|
})
|
|
1034
1034
|
]
|
package/lib/index.qwik.mjs
CHANGED
|
@@ -604,7 +604,7 @@ const ColorPicker = component$(({ id, value = "#000000", colors = [
|
|
|
604
604
|
await setColor(color);
|
|
605
605
|
},
|
|
606
606
|
children: /* @__PURE__ */ jsx(Shuffle, {
|
|
607
|
-
class: "p-0.5 pl-0.5 text-
|
|
607
|
+
class: "p-0.5 pl-0.5 text-lum-text"
|
|
608
608
|
})
|
|
609
609
|
})
|
|
610
610
|
]
|
|
@@ -661,7 +661,7 @@ const SelectMenu = component$((props) => {
|
|
|
661
661
|
children: [
|
|
662
662
|
/* @__PURE__ */ jsx("label", {
|
|
663
663
|
for: props.id,
|
|
664
|
-
class: "pb-1 text-
|
|
664
|
+
class: "pb-1 text-lum-text select-none",
|
|
665
665
|
children: /* @__PURE__ */ jsx(Slot, {})
|
|
666
666
|
}),
|
|
667
667
|
/* @__PURE__ */ jsxs(SelectMenuRaw, {
|
|
@@ -739,7 +739,7 @@ const SelectMenuRaw = component$(({ id, values, class: Class, customDropdown, ho
|
|
|
739
739
|
children: /* @__PURE__ */ jsxs("div", {
|
|
740
740
|
id: `lui-${id}-opts`,
|
|
741
741
|
class: {
|
|
742
|
-
"lum-bg-
|
|
742
|
+
"lum-bg-lum-input-bg lum-scroll flex max-h-72 flex-col gap-1 overflow-auto rounded-lum border p-1 select-none motion-safe:transition-all": true
|
|
743
743
|
},
|
|
744
744
|
children: [
|
|
745
745
|
values?.map(({ name, value }, i) => {
|
|
@@ -795,7 +795,7 @@ const Menu = component$(({ size, ...props }) => {
|
|
|
795
795
|
]
|
|
796
796
|
});
|
|
797
797
|
});
|
|
798
|
-
const Nav = component$(({ fixed, floating, nohamburger, colorClass = "lum-bg-
|
|
798
|
+
const Nav = component$(({ fixed, floating, nohamburger, colorClass = "lum-bg-lum-card-bg", ...props }) => {
|
|
799
799
|
const menu = useSignal(false);
|
|
800
800
|
return /* @__PURE__ */ jsxs("nav", {
|
|
801
801
|
...props,
|
|
@@ -921,7 +921,7 @@ const NumberInput = component$((props) => {
|
|
|
921
921
|
children: [
|
|
922
922
|
/* @__PURE__ */ jsx("label", {
|
|
923
923
|
for: props.id,
|
|
924
|
-
class: "pb-1 text-
|
|
924
|
+
class: "pb-1 text-lum-text select-none",
|
|
925
925
|
children: /* @__PURE__ */ jsx(Slot, {})
|
|
926
926
|
}),
|
|
927
927
|
/* @__PURE__ */ jsx(NumberInputRaw, {
|
|
@@ -944,7 +944,7 @@ const NumberInputRaw = component$(({ input, onDecrement$, onIncrement$, value =
|
|
|
944
944
|
`);
|
|
945
945
|
return /* @__PURE__ */ jsxs("div", {
|
|
946
946
|
class: {
|
|
947
|
-
"flex touch-manipulation gap-1 text-
|
|
947
|
+
"flex touch-manipulation gap-1 text-lum-text": true
|
|
948
948
|
},
|
|
949
949
|
children: [
|
|
950
950
|
/* @__PURE__ */ jsx("button", {
|
|
@@ -1018,7 +1018,7 @@ const Toggle = component$(({ checkbox, round, label, ...props }) => {
|
|
|
1018
1018
|
"rounded-full after:rounded-full": round,
|
|
1019
1019
|
"w-12 peer-checked:after:translate-x-full": !checkbox,
|
|
1020
1020
|
"w-7 after:opacity-0 peer-checked:after:opacity-100": checkbox,
|
|
1021
|
-
"lum-toggle-bg-
|
|
1021
|
+
"lum-toggle-bg-lum-input-bg peer-checked:lum-toggle-bg-lum-accent": true,
|
|
1022
1022
|
[props.class ?? ""]: !!props.class
|
|
1023
1023
|
}
|
|
1024
1024
|
})
|
|
@@ -1026,7 +1026,7 @@ const Toggle = component$(({ checkbox, round, label, ...props }) => {
|
|
|
1026
1026
|
}),
|
|
1027
1027
|
label && /* @__PURE__ */ jsx("label", {
|
|
1028
1028
|
for: props.id,
|
|
1029
|
-
class: "flex gap-2 text-
|
|
1029
|
+
class: "flex gap-2 text-lum-text select-none",
|
|
1030
1030
|
children: label
|
|
1031
1031
|
})
|
|
1032
1032
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luminescent/ui-qwik",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.1.1",
|
|
4
4
|
"description": "Luminescent UI library",
|
|
5
5
|
"main": "./lib/index.qwik.mjs",
|
|
6
6
|
"qwik": "./lib/index.qwik.mjs",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"vite-tsconfig-paths": "^5.1.4"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
|
-
"@luminescent/ui": "4.
|
|
55
|
+
"@luminescent/ui": "4.1.1"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"build": "qwik build",
|