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-black/40 text-white", e.rounded === "full" ? "rounded-full" : "rounded-md"])
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-black/40 text-white opacity-0 group-hover:opacity-100 transition-opacity", e.rounded === "full" ? "rounded-full" : "rounded-md"])
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",
@@ -41,7 +41,7 @@ const R = ["type", "disabled"], D = /* @__PURE__ */ v({
41
41
  xs: "h-6.5 px-2",
42
42
  sm: "h-8 px-3",
43
43
  md: "h-9 px-4 py-2",
44
- lg: "h-10 px-8",
44
+ lg: "h-10 px-6",
45
45
  xl: "h-12 px-10"
46
46
  }, b = {
47
47
  xs: "h-6.5 w-6.5 min-h-6.5 min-w-6.5",
@@ -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/60"
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, {}, HTMLButtonElement>;
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, createBlock as c, unref as e } from "vue";
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 p = /* @__PURE__ */ n({
4
+ const d = /* @__PURE__ */ n({
5
5
  __name: "ThemeToggle",
6
- setup(l) {
6
+ setup(a) {
7
7
  const { theme: o, toggleTheme: t } = m();
8
- return (a, h) => (i(), c(r, {
9
- icon: e(o) === "light" ? "lucide:sun" : "lucide:moon",
10
- variant: "secondary",
11
- title: e(o) === "light" ? "Switch to dark mode" : "Switch to light mode",
12
- onClick: e(t)
13
- }, null, 8, ["icon", "title", "onClick"]));
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
- p as default
19
+ d as default
18
20
  };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "private": false,
4
4
  "description": "A Vue 3 UI component library built with Tailwind CSS.",
5
5
  "license": "MIT",
6
- "version": "0.2.4",
6
+ "version": "0.2.5",
7
7
  "type": "module",
8
8
  "main": "index.js",
9
9
  "module": "index.js",
package/style.css CHANGED
@@ -318,14 +318,15 @@
318
318
 
319
319
  .dark .modal-body,
320
320
  .dark .sidepanel-body {
321
- --color-white: #171717 !important;
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: #181818 !important;
328
- --color-mixture-1: #1f2020 !important;
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: #131313 !important;
350
- --color-mixture-1: #191818 !important;
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: #fbfbfb !important;
358
+ --color-mixture-1: #FAFAFA !important;
358
359
  --color-mixture-2: #000000 !important;
359
- background-color: #FBFBFB !important;
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