vlite3 0.2.4 → 0.2.5
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.
|
@@ -59,7 +59,7 @@ const E = { class: "inline-block" }, $ = ["onClick"], I = /* @__PURE__ */ x({
|
|
|
59
59
|
}, [
|
|
60
60
|
e.loading || k ? (n(), o("div", {
|
|
61
61
|
key: 0,
|
|
62
|
-
class: l(["absolute inset-0 flex items-center justify-center bg-
|
|
62
|
+
class: l(["absolute inset-0 flex items-center justify-center bg-[#00000051] text-white", e.rounded === "full" ? "rounded-full" : "rounded-md"])
|
|
63
63
|
}, [
|
|
64
64
|
d(u, {
|
|
65
65
|
icon: "lucide:loader-2",
|
|
@@ -67,7 +67,7 @@ const E = { class: "inline-block" }, $ = ["onClick"], I = /* @__PURE__ */ x({
|
|
|
67
67
|
})
|
|
68
68
|
], 2)) : e.editable && !e.disabled ? (n(), o("div", {
|
|
69
69
|
key: 1,
|
|
70
|
-
class: l(["absolute inset-0 flex items-center justify-center bg-
|
|
70
|
+
class: l(["absolute inset-0 flex items-center justify-center bg-[#00000051] text-white opacity-0 group-hover:opacity-100 transition-opacity", e.rounded === "full" ? "rounded-full" : "rounded-md"])
|
|
71
71
|
}, [
|
|
72
72
|
d(u, {
|
|
73
73
|
icon: "lucide:camera",
|
package/components/Button.vue.js
CHANGED
package/components/Modal.vue.js
CHANGED
|
@@ -3,7 +3,7 @@ import V from "./Button.vue.js";
|
|
|
3
3
|
import { useKeyStroke as j } from "../composables/useKeyStroke.js";
|
|
4
4
|
const D = {
|
|
5
5
|
key: 0,
|
|
6
|
-
class: "flex-none flex flex-col space-y-1.5 pb-0 border-b border-border/
|
|
6
|
+
class: "flex-none flex flex-col space-y-1.5 pb-0 border-b border-border/90"
|
|
7
7
|
}, K = { class: "text-lg font-semibold leading-none tracking-tight" }, M = {
|
|
8
8
|
key: 0,
|
|
9
9
|
class: "text-sm text-muted-foreground mb-2"
|
|
@@ -77,7 +77,7 @@ const D = {
|
|
|
77
77
|
}, [
|
|
78
78
|
e.title ? (s(), a("div", D, [
|
|
79
79
|
r("div", {
|
|
80
|
-
class: d(["flex items-center justify-between py-1 px-4 rounded-t-md", e.headerClass])
|
|
80
|
+
class: d(["flex items-center justify-between py-1.5 px-4 rounded-t-md", e.headerClass])
|
|
81
81
|
}, [
|
|
82
82
|
r("h3", K, p(e.title), 1),
|
|
83
83
|
v(V, {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {},
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLSpanElement>;
|
|
2
2
|
export default _default;
|
|
@@ -1,18 +1,20 @@
|
|
|
1
|
-
import { defineComponent as n, openBlock as i,
|
|
1
|
+
import { defineComponent as n, openBlock as c, createElementBlock as i, createVNode as l, unref as e } from "vue";
|
|
2
2
|
import { useTheme as m } from "../composables/useTheme.js";
|
|
3
3
|
import r from "./Button.vue.js";
|
|
4
|
-
const
|
|
4
|
+
const d = /* @__PURE__ */ n({
|
|
5
5
|
__name: "ThemeToggle",
|
|
6
|
-
setup(
|
|
6
|
+
setup(a) {
|
|
7
7
|
const { theme: o, toggleTheme: t } = m();
|
|
8
|
-
return (
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
return (s, u) => (c(), i("span", null, [
|
|
9
|
+
l(r, {
|
|
10
|
+
icon: e(o) === "light" ? "lucide:sun" : "lucide:moon",
|
|
11
|
+
variant: "secondary",
|
|
12
|
+
title: e(o) === "light" ? "Switch to dark mode" : "Switch to light mode",
|
|
13
|
+
onClick: e(t)
|
|
14
|
+
}, null, 8, ["icon", "title", "onClick"])
|
|
15
|
+
]));
|
|
14
16
|
}
|
|
15
17
|
});
|
|
16
18
|
export {
|
|
17
|
-
|
|
19
|
+
d as default
|
|
18
20
|
};
|
package/package.json
CHANGED
package/style.css
CHANGED
|
@@ -318,14 +318,15 @@
|
|
|
318
318
|
|
|
319
319
|
.dark .modal-body,
|
|
320
320
|
.dark .sidepanel-body {
|
|
321
|
-
--color-white: #
|
|
321
|
+
--color-white: #141414 !important;
|
|
322
322
|
--color-mixture-1: #151515 !important;
|
|
323
323
|
--color-mixture-2: #ffffff !important;
|
|
324
|
+
--color-input: color-mix(in oklab, var(--color-mixture-1) 92%, var(--color-mixture-2));
|
|
324
325
|
}
|
|
325
326
|
|
|
326
327
|
.dark .tooltip-container {
|
|
327
|
-
--color-white: #
|
|
328
|
-
--color-mixture-1: #
|
|
328
|
+
--color-white: #131313 !important;
|
|
329
|
+
--color-mixture-1: #161616 !important;
|
|
329
330
|
--color-mixture-2: #ffffff !important;
|
|
330
331
|
}
|
|
331
332
|
|
|
@@ -346,17 +347,17 @@
|
|
|
346
347
|
}
|
|
347
348
|
|
|
348
349
|
.dark .bg-card {
|
|
349
|
-
--color-body: #
|
|
350
|
-
--color-mixture-1: #
|
|
350
|
+
--color-body: #111 !important;
|
|
351
|
+
--color-mixture-1: #111 !important;
|
|
351
352
|
--color-mixture-2: #ffffff !important;
|
|
352
353
|
background-color: var(--color-body) !important;
|
|
353
354
|
}
|
|
354
355
|
|
|
355
356
|
.bg-card {
|
|
356
357
|
--color-body: #FAFAFA !important;
|
|
357
|
-
--color-mixture-1: #
|
|
358
|
+
--color-mixture-1: #FAFAFA !important;
|
|
358
359
|
--color-mixture-2: #000000 !important;
|
|
359
|
-
background-color: #
|
|
360
|
+
background-color: #FAFAFA !important;
|
|
360
361
|
border-color: color-mix(in oklab, var(--color-mixture-1) 95%, var(--color-mixture-2));
|
|
361
362
|
}
|
|
362
363
|
|