@clasing/ui 2.8.0 → 2.9.0

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.
@@ -1,6 +1,6 @@
1
1
  import { j as e, c as r } from "../index-C_XDkVGm.js";
2
2
  import * as s from "@radix-ui/react-select";
3
- import { CheckIcon as d, CaretDownIcon as i, CaretUpIcon as c } from "@phosphor-icons/react";
3
+ import { CheckIcon as i, CaretDownIcon as d, CaretUpIcon as c } from "@phosphor-icons/react";
4
4
  function f({
5
5
  ...t
6
6
  }) {
@@ -19,8 +19,8 @@ function h({
19
19
  function b({
20
20
  className: t,
21
21
  size: a = "md",
22
- children: o,
23
- variant: l = "default",
22
+ children: l,
23
+ variant: o = "default",
24
24
  ...n
25
25
  }) {
26
26
  return /* @__PURE__ */ e.jsxs(
@@ -28,14 +28,12 @@ function b({
28
28
  {
29
29
  "data-slot": "select-trigger",
30
30
  "data-size": a,
31
- "data-variant": l,
31
+ "data-variant": o,
32
32
  className: r(
33
33
  `
34
34
  flex w-fit items-center justify-between gap-2 rounded-md border
35
35
  border-input bg-transparent whitespace-nowrap text-foreground
36
- transition-[color,box-shadow] outline-none
37
- focus-visible:border-ring focus-visible:ring-[3px]
38
- focus-visible:ring-ring
36
+ focusable-item
39
37
  disabled:cursor-not-allowed disabled:opacity-50
40
38
  aria-invalid:border-destructive-foreground
41
39
  aria-invalid:ring-destructive-foreground/20
@@ -51,7 +49,7 @@ function b({
51
49
  [&_svg:not([class*='size-'])]:size-4
52
50
  `,
53
51
  // Variante de filtro: cuando hay valor seleccionado, texto y borde en color ring
54
- l === "filter" && `
52
+ o === "filter" && `
55
53
  not-data-placeholder:border-ring not-data-placeholder:text-ring
56
54
  dark:not-data-placeholder:text-blue-300
57
55
  `,
@@ -66,8 +64,8 @@ function b({
66
64
  ),
67
65
  ...n,
68
66
  children: [
69
- o,
70
- /* @__PURE__ */ e.jsx(s.Icon, { asChild: !0, children: /* @__PURE__ */ e.jsx(i, { className: "size-4 opacity-50" }) })
67
+ l,
68
+ /* @__PURE__ */ e.jsx(s.Icon, { asChild: !0, children: /* @__PURE__ */ e.jsx(d, { className: "size-4 opacity-50" }) })
71
69
  ]
72
70
  }
73
71
  );
@@ -75,8 +73,8 @@ function b({
75
73
  function v({
76
74
  className: t,
77
75
  children: a,
78
- position: o = "popper",
79
- collisionPadding: l = 24,
76
+ position: l = "popper",
77
+ collisionPadding: o = 24,
80
78
  ...n
81
79
  }) {
82
80
  return /* @__PURE__ */ e.jsx(s.Portal, { children: /* @__PURE__ */ e.jsxs(
@@ -98,7 +96,7 @@ function v({
98
96
  data-[state=open]:animate-in data-[state=open]:fade-in-0
99
97
  data-[state=open]:zoom-in-95
100
98
  `,
101
- o === "popper" && `
99
+ l === "popper" && `
102
100
  data-[side=bottom]:translate-y-1
103
101
  data-[side=left]:-translate-x-1
104
102
  data-[side=right]:translate-x-1
@@ -106,8 +104,8 @@ function v({
106
104
  `,
107
105
  t
108
106
  ),
109
- collisionPadding: l,
110
- position: o,
107
+ collisionPadding: o,
108
+ position: l,
111
109
  ...n,
112
110
  children: [
113
111
  /* @__PURE__ */ e.jsx(u, {}),
@@ -116,7 +114,7 @@ function v({
116
114
  {
117
115
  className: r(
118
116
  "p-1",
119
- o === "popper" && `
117
+ l === "popper" && `
120
118
  h-(--radix-select-trigger-height) w-full
121
119
  min-w-(--radix-select-trigger-width) scroll-my-1
122
120
  `
@@ -148,7 +146,7 @@ function j({
148
146
  function y({
149
147
  className: t,
150
148
  children: a,
151
- ...o
149
+ ...l
152
150
  }) {
153
151
  return /* @__PURE__ */ e.jsxs(
154
152
  s.Item,
@@ -167,9 +165,9 @@ function y({
167
165
  `,
168
166
  t
169
167
  ),
170
- ...o,
168
+ ...l,
171
169
  children: [
172
- /* @__PURE__ */ e.jsx("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ e.jsx(s.ItemIndicator, { children: /* @__PURE__ */ e.jsx(d, { className: "size-4" }) }) }),
170
+ /* @__PURE__ */ e.jsx("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ e.jsx(s.ItemIndicator, { children: /* @__PURE__ */ e.jsx(i, { className: "size-4" }) }) }),
173
171
  /* @__PURE__ */ e.jsx(s.ItemText, { children: a })
174
172
  ]
175
173
  }
@@ -218,7 +216,7 @@ function p({
218
216
  t
219
217
  ),
220
218
  ...a,
221
- children: /* @__PURE__ */ e.jsx(i, { className: "size-4" })
219
+ children: /* @__PURE__ */ e.jsx(d, { className: "size-4" })
222
220
  }
223
221
  );
224
222
  }
@@ -30,27 +30,24 @@ const u = v(
30
30
  }
31
31
  }
32
32
  );
33
- function b({
33
+ function m({
34
34
  className: n,
35
- size: l,
36
- resize: o,
37
- icon: i,
35
+ size: d,
36
+ resize: l,
37
+ icon: a,
38
38
  maxLength: e,
39
39
  showCharacterCount: c = !1,
40
- ...a
40
+ ...t
41
41
  }) {
42
- const t = a.value ? String(a.value).length : 0, d = c || e;
43
- return !i && !d ? /* @__PURE__ */ r.jsx(
42
+ const i = t.value ? String(t.value).length : 0, o = c || e;
43
+ return !a && !o ? /* @__PURE__ */ r.jsx(
44
44
  "textarea",
45
45
  {
46
46
  "data-slot": "textarea",
47
47
  maxLength: e,
48
48
  className: s(
49
- u({ size: l, resize: o }),
50
- `
51
- focus-visible:border-ring focus-visible:ring-[3px]
52
- focus-visible:ring-ring
53
- `,
49
+ u({ size: d, resize: l }),
50
+ "focusable-item",
54
51
  `
55
52
  aria-invalid:border-destructive-foreground
56
53
  aria-invalid:ring-destructive-foreground/20
@@ -58,7 +55,7 @@ function b({
58
55
  `,
59
56
  n
60
57
  ),
61
- ...a
58
+ ...t
62
59
  }
63
60
  ) : /* @__PURE__ */ r.jsxs("div", { className: "space-y-2", children: [
64
61
  /* @__PURE__ */ r.jsxs("div", { className: "relative w-full", children: [
@@ -68,35 +65,32 @@ function b({
68
65
  "data-slot": "textarea",
69
66
  maxLength: e,
70
67
  className: s(
71
- u({ size: l, resize: o }),
72
- `
73
- focus-visible:border-ring focus-visible:ring-[3px]
74
- focus-visible:ring-ring
75
- `,
68
+ u({ size: d, resize: l }),
69
+ "focusable-item",
76
70
  `
77
71
  aria-invalid:border-destructive-foreground
78
72
  aria-invalid:ring-destructive-foreground/20
79
73
  dark:aria-invalid:ring-destructive-foreground/40
80
74
  `,
81
- i ? "pr-10" : "",
75
+ a ? "pr-10" : "",
82
76
  n
83
77
  ),
84
- ...a
78
+ ...t
85
79
  }
86
80
  ),
87
- i && i
81
+ a && a
88
82
  ] }),
89
- d && /* @__PURE__ */ r.jsx("div", { className: "flex justify-end", children: /* @__PURE__ */ r.jsx(
83
+ o && /* @__PURE__ */ r.jsx("div", { className: "flex justify-end", children: /* @__PURE__ */ r.jsx(
90
84
  "span",
91
85
  {
92
86
  className: s("paragraph-xs text-muted-foreground", {
93
- "text-destructive": e && t > e
87
+ "text-destructive": e && i > e
94
88
  }),
95
- children: e ? `${t}/${e}` : t
89
+ children: e ? `${i}/${e}` : i
96
90
  }
97
91
  ) })
98
92
  ] });
99
93
  }
100
94
  export {
101
- b as Textarea
95
+ m as Textarea
102
96
  };
@@ -1,7 +1,7 @@
1
1
  import { j as i, c as s } from "../index-C_XDkVGm.js";
2
2
  import * as d from "@radix-ui/react-toggle-group";
3
3
  import * as l from "react";
4
- import { t as m } from "../toggle-Bj6sVNqF.js";
4
+ import { t as m } from "../toggle-Df9QfXij.js";
5
5
  const u = l.createContext({
6
6
  size: "md",
7
7
  variant: "default"
@@ -1,4 +1,4 @@
1
- import { T as o, t } from "../toggle-Bj6sVNqF.js";
1
+ import { T as o, t } from "../toggle-Df9QfXij.js";
2
2
  export {
3
3
  o as Toggle,
4
4
  t as toggleVariants
@@ -1,12 +1,12 @@
1
- import { j as r, c as o } from "./index-C_XDkVGm.js";
2
- import { EyeSlashIcon as f, EyeIcon as g } from "@phosphor-icons/react";
3
- import { cva as b } from "class-variance-authority";
4
- import * as m from "react";
5
- import { B as x } from "./button-DSpGxL2e.js";
6
- const d = b(
1
+ import { j as r, c as n } from "./index-C_XDkVGm.js";
2
+ import { EyeSlashIcon as f, EyeIcon as m } from "@phosphor-icons/react";
3
+ import { cva as x } from "class-variance-authority";
4
+ import * as g from "react";
5
+ import { B as b } from "./button-DSpGxL2e.js";
6
+ const o = x(
7
7
  `
8
8
  flex w-full min-w-0 rounded-md border border-input bg-transparent
9
- transition-[color,box-shadow] outline-none
9
+ focusable-item
10
10
  selection:bg-primary selection:text-primary-foreground
11
11
  file:inline-flex file:h-7 file:border-0 file:bg-transparent
12
12
  file:paragraph-sm file:font-medium file:text-foreground
@@ -29,90 +29,82 @@ const d = b(
29
29
  }
30
30
  );
31
31
  function y({
32
- className: l,
32
+ className: d,
33
33
  type: e,
34
- size: a,
35
- icon: s,
36
- iconPosition: t = "left",
37
- ...n
34
+ size: t,
35
+ icon: a,
36
+ iconPosition: s = "left",
37
+ ...i
38
38
  }) {
39
- const [i, u] = m.useState(!1), p = () => {
40
- u(!i);
39
+ const [l, u] = g.useState(!1), p = () => {
40
+ u(!l);
41
41
  };
42
- return !s && e !== "password" ? /* @__PURE__ */ r.jsx(
42
+ return !a && e !== "password" ? /* @__PURE__ */ r.jsx(
43
43
  "input",
44
44
  {
45
45
  type: e,
46
46
  "data-slot": "input",
47
- className: o(
48
- d({ size: a }),
49
- `
50
- focus-visible:border-ring focus-visible:ring-[3px]
51
- focus-visible:ring-ring
52
- `,
47
+ className: n(
48
+ o({ size: t }),
53
49
  `
54
50
  aria-invalid:border-destructive-foreground
55
51
  aria-invalid:ring-destructive-foreground/20
56
52
  dark:aria-invalid:ring-destructive-foreground/40
57
53
  `,
58
- l
54
+ d
59
55
  ),
60
- ...n
56
+ ...i
61
57
  }
62
58
  ) : /* @__PURE__ */ r.jsxs("div", { className: "relative w-full", children: [
63
- s && t === "left" && /* @__PURE__ */ r.jsx(
59
+ a && s === "left" && /* @__PURE__ */ r.jsx(
64
60
  "span",
65
61
  {
66
62
  className: `\r
67
63
  absolute top-1/2 left-3 -translate-y-1/2 text-muted-foreground\r
68
64
  `,
69
- children: s
65
+ children: a
70
66
  }
71
67
  ),
72
68
  /* @__PURE__ */ r.jsx(
73
69
  "input",
74
70
  {
75
- type: e === "password" ? i ? "text" : "password" : e,
71
+ type: e === "password" ? l ? "text" : "password" : e,
76
72
  "data-slot": "input",
77
- className: o(
78
- d({ size: a }),
79
- `
80
- focus-visible:border-ring focus-visible:ring-[3px]
81
- focus-visible:ring-ring/50
82
- `,
73
+ className: n(
74
+ o({ size: t }),
83
75
  `
84
76
  aria-invalid:border-destructive-foreground
85
77
  aria-invalid:ring-destructive-foreground/20
86
78
  dark:aria-invalid:ring-destructive-foreground/40
87
79
  `,
88
- s && t === "left" ? "pl-10" : "",
89
- s && t === "right" || e === "password" ? "pr-10" : "",
90
- l
80
+ a && s === "left" ? "pl-10" : "",
81
+ a && s === "right" || e === "password" ? "pr-10" : "",
82
+ d
91
83
  ),
92
- ...n
84
+ ...i
93
85
  }
94
86
  ),
95
87
  e === "password" && /* @__PURE__ */ r.jsx(
96
- x,
88
+ b,
97
89
  {
98
90
  variant: "secondary",
99
91
  type: "button",
100
92
  iconOnly: !0,
101
- size: a === "xs" || a === "sm" ? "xs" : "md",
93
+ size: t === "xs" || t === "sm" ? "xs" : "md",
102
94
  tabIndex: -1,
103
- "aria-label": i ? "Hide password" : "Show password",
95
+ "aria-label": l ? "Hide password" : "Show password",
104
96
  className: "absolute top-1/2 right-3 -translate-y-1/2",
105
97
  onClick: p,
106
- children: i ? /* @__PURE__ */ r.jsx(f, {}) : /* @__PURE__ */ r.jsx(g, {})
98
+ children: l ? /* @__PURE__ */ r.jsx(f, {}) : /* @__PURE__ */ r.jsx(m, {})
107
99
  }
108
100
  ),
109
- s && t === "right" && e !== "password" && /* @__PURE__ */ r.jsx(
101
+ a && s === "right" && e !== "password" && /* @__PURE__ */ r.jsx(
110
102
  "span",
111
103
  {
112
104
  className: `\r
113
105
  absolute top-1/2 right-3 -translate-y-1/2 text-muted-foreground\r
114
106
  `,
115
- children: s
107
+ children: a
116
108
  }
117
109
  )
118
110
  ] });
@@ -1,43 +1,41 @@
1
1
  import { j as r, c as s } from "./index-C_XDkVGm.js";
2
- import * as o from "@radix-ui/react-scroll-area";
2
+ import * as e from "@radix-ui/react-scroll-area";
3
3
  function c({
4
- className: e,
4
+ className: o,
5
5
  children: l,
6
6
  ...a
7
7
  }) {
8
8
  return /* @__PURE__ */ r.jsxs(
9
- o.Root,
9
+ e.Root,
10
10
  {
11
11
  "data-slot": "scroll-area",
12
- className: s("relative", e),
12
+ className: s("relative", o),
13
13
  ...a,
14
14
  children: [
15
15
  /* @__PURE__ */ r.jsx(
16
- o.Viewport,
16
+ e.Viewport,
17
17
  {
18
18
  "data-slot": "scroll-area-viewport",
19
19
  className: `\r
20
- size-full rounded-[inherit] text-foreground\r
20
+ size-full rounded-[inherit] text-foreground focusable-item\r
21
21
  transition-[color,box-shadow] outline-none\r
22
- focus-visible:ring-[3px] focus-visible:ring-ring/50\r
23
- focus-visible:outline-1\r
24
22
  `,
25
23
  children: l
26
24
  }
27
25
  ),
28
26
  /* @__PURE__ */ r.jsx(t, {}),
29
- /* @__PURE__ */ r.jsx(o.Corner, {})
27
+ /* @__PURE__ */ r.jsx(e.Corner, {})
30
28
  ]
31
29
  }
32
30
  );
33
31
  }
34
32
  function t({
35
- className: e,
33
+ className: o,
36
34
  orientation: l = "vertical",
37
35
  ...a
38
36
  }) {
39
37
  return /* @__PURE__ */ r.jsx(
40
- o.ScrollAreaScrollbar,
38
+ e.ScrollAreaScrollbar,
41
39
  {
42
40
  "data-slot": "scroll-area-scrollbar",
43
41
  orientation: l,
@@ -45,11 +43,11 @@ function t({
45
43
  "flex touch-none p-px transition-colors select-none",
46
44
  l === "vertical" && "h-full w-2.5 border-l border-l-transparent",
47
45
  l === "horizontal" && "h-2.5 flex-col border-t border-t-transparent",
48
- e
46
+ o
49
47
  ),
50
48
  ...a,
51
49
  children: /* @__PURE__ */ r.jsx(
52
- o.ScrollAreaThumb,
50
+ e.ScrollAreaThumb,
53
51
  {
54
52
  "data-slot": "scroll-area-thumb",
55
53
  className: "relative flex-1 rounded-full bg-border"
@@ -1,14 +1,12 @@
1
- import { j as a, c as i } from "./index-C_XDkVGm.js";
2
- import * as o from "@radix-ui/react-toggle";
1
+ import { j as n, c as o } from "./index-C_XDkVGm.js";
2
+ import * as i from "@radix-ui/react-toggle";
3
3
  import { cva as s } from "class-variance-authority";
4
4
  const d = s(
5
5
  `
6
6
  inline-flex items-center justify-center gap-2 rounded-md paragraph-sm
7
- font-semibold whitespace-nowrap text-foreground
7
+ font-semibold whitespace-nowrap text-foreground focusable-item
8
8
  transition-[color,box-shadow] outline-none
9
9
  hover:bg-muted hover:text-muted-foreground
10
- focus-visible:border-ring focus-visible:ring-[3px]
11
- focus-visible:ring-ring/50
12
10
  disabled:pointer-events-none disabled:opacity-50
13
11
  aria-invalid:border-destructive-foreground
14
12
  aria-invalid:ring-destructive-foreground/20
@@ -45,15 +43,15 @@ const d = s(
45
43
  function c({
46
44
  className: e,
47
45
  variant: t,
48
- size: r,
49
- ...n
46
+ size: a,
47
+ ...r
50
48
  }) {
51
- return /* @__PURE__ */ a.jsx(
52
- o.Root,
49
+ return /* @__PURE__ */ n.jsx(
50
+ i.Root,
53
51
  {
54
52
  "data-slot": "toggle",
55
- className: i(d({ variant: t, size: r, className: e })),
56
- ...n
53
+ className: o(d({ variant: t, size: a, className: e })),
54
+ ...r
57
55
  }
58
56
  );
59
57
  }
package/dist/ui.css CHANGED
@@ -61,15 +61,17 @@
61
61
  --color-black: #0d0d0d;
62
62
  --color-white: #ffffff;
63
63
 
64
- --color-neutral-900: #0d0d0d; /* Tu nuevo fondo base */
65
- --color-neutral-800: #1a1a1a; /* Superficies elevadas */
66
- --color-neutral-700: #262626; /* Bordes suaves */
67
- --color-neutral-600: #404040;
68
- --color-neutral-500: #737373; /* Texto desactivado */
69
- --color-neutral-400: #a3a3a3; /* Texto secundario */
64
+ --color-neutral-950: #0d0d0d;
65
+ --color-neutral-900: #171717;
66
+ --color-neutral-800: #262626;
67
+ --color-neutral-700: #404040;
68
+ --color-neutral-600: #525252;
69
+ --color-neutral-500: #737373;
70
+ --color-neutral-400: #a3a3a3;
70
71
  --color-neutral-300: #d4d4d4;
71
72
  --color-neutral-200: #e5e5e5;
72
- --color-neutral-100: #f5f5f5; /* Blanco humo */
73
+ --color-neutral-100: #f5f5f5;
74
+ --color-neutral-050: #fafafa;
73
75
 
74
76
  --color-yellow-900: #332400;
75
77
  --color-yellow-800: #624600;
@@ -161,9 +163,6 @@
161
163
 
162
164
  --color-ring-default: var(--color-blue-600);
163
165
 
164
- --color-accent: var(--color-neutral-000);
165
- --color-accent-foreground: var(--color-neutral-1000);
166
-
167
166
  --breakpoint-3xl: 1600px;
168
167
  --breakpoint-4xl: 2000px;
169
168
  --font-sans: var(--font-sans);
@@ -172,6 +171,7 @@
172
171
  --radius-md: calc(var(--radius) - 2px);
173
172
  --radius-lg: var(--radius);
174
173
  --radius-xl: calc(var(--radius) + 4px);
174
+
175
175
  --color-background: var(--background);
176
176
  --color-foreground: var(--foreground);
177
177
  --color-card: var(--card);
@@ -293,19 +293,19 @@
293
293
  :root {
294
294
  --radius: 1rem;
295
295
  --background: var(--color-white);
296
- --foreground: var(--color-neutral-900);
297
- --card: var(--background);
296
+ --foreground: var(--color-neutral-950);
297
+ --card: var(--color-neutral-050);
298
298
  --card-foreground: var(--foreground);
299
- --popover: var(--background);
299
+ --popover: var(--color-white);
300
300
  --popover-foreground: var(--foreground);
301
- --primary: var(--color-neutral-900);
301
+ --primary: var(--color-neutral-950);
302
302
  --primary-foreground: var(--color-neutral-100);
303
- --secondary: var(--color-neutral-200);
303
+ --secondary: var(--color-neutral-100);
304
304
  --secondary-foreground: var(--foreground);
305
305
  --muted: var(--color-neutral-100);
306
306
  --muted-foreground: var(--color-neutral-500);
307
307
  --accent: var(--color-neutral-200);
308
- --accent-foreground: var(--color-neutral-900);
308
+ --accent-foreground: var(--color-neutral-800);
309
309
  --destructive: var(--color-red-050);
310
310
  --destructive-foreground: var(--color-red-600);
311
311
  --success: var(--color-green-050);
@@ -315,34 +315,41 @@
315
315
  --info: var(--color-blue-050);
316
316
  --info-foreground: var(--color-blue-700);
317
317
  --border: var(--color-neutral-200);
318
- --input: var(--color-neutral-300);
319
- --ring: var(--color-ring-default);
320
- --sidebar: var(--background);
318
+ --input: var(--color-neutral-200);
319
+ --ring: var(--color-blue-600);
320
+ --chart-1: var(--color-blue-500);
321
+ --chart-2: var(--color-turquoise-500);
322
+ --chart-3: var(--color-violet-500);
323
+ --chart-4: var(--color-orange-500);
324
+ --chart-5: var(--color-pink-500);
325
+ --sidebar: var(--color-white);
321
326
  --sidebar-foreground: var(--foreground);
322
327
  --sidebar-primary: var(--primary);
323
328
  --sidebar-primary-foreground: var(--primary-foreground);
324
329
  --sidebar-accent: var(--accent);
325
330
  --sidebar-accent-foreground: var(--accent-foreground);
326
331
  --sidebar-border: var(--border);
327
- --surface: var(--background);
332
+ --surface: var(--color-neutral-100);
328
333
  --surface-foreground: var(--foreground);
334
+ --code: var(--color-neutral-100);
335
+ --code-foreground: var(--color-neutral-950);
329
336
  }
330
337
 
331
338
  .dark {
332
- --background: var(--color-neutral-900);
339
+ --background: var(--color-neutral-950);
333
340
  --foreground: var(--color-neutral-100);
334
341
  --card: var(--color-neutral-900);
335
342
  --card-foreground: var(--foreground);
336
343
  --popover: var(--color-neutral-900);
337
344
  --popover-foreground: var(--foreground);
338
345
  --primary: var(--color-neutral-100);
339
- --primary-foreground: var(--color-neutral-900);
340
- --secondary: var(--color-neutral-800);
346
+ --primary-foreground: var(--color-neutral-950);
347
+ --secondary: var(--color-neutral-900);
341
348
  --secondary-foreground: var(--color-neutral-100);
342
- --muted: var(--color-neutral-800);
349
+ --muted: var(--color-neutral-900);
343
350
  --muted-foreground: var(--color-neutral-400);
344
351
  --accent: var(--color-neutral-700);
345
- --accent-foreground: var(--color-neutral-100);
352
+ --accent-foreground: var(--color-neutral-200);
346
353
  --destructive: var(--color-red-900);
347
354
  --destructive-foreground: var(--color-red-200);
348
355
  --success: var(--color-green-900);
@@ -350,11 +357,16 @@
350
357
  --warning: var(--color-yellow-900);
351
358
  --warning-foreground: var(--color-yellow-200);
352
359
  --info: var(--color-blue-900);
353
- --info-foreground: var(--color-blue-200);
354
- --border: var(--color-neutral-700);
355
- --input: var(--color-neutral-700);
356
- --ring: var(--color-ring-default);
357
- --sidebar: var(--color-neutral-900);
360
+ --info-foreground: var(--color-blue-300);
361
+ --border: var(--color-neutral-800);
362
+ --input: var(--color-neutral-800);
363
+ --ring: var(--color-blue-500);
364
+ --chart-1: var(--color-blue-400);
365
+ --chart-2: var(--color-turquoise-400);
366
+ --chart-3: var(--color-violet-400);
367
+ --chart-4: var(--color-orange-400);
368
+ --chart-5: var(--color-pink-400);
369
+ --sidebar: var(--color-neutral-950);
358
370
  --sidebar-foreground: var(--foreground);
359
371
  --sidebar-primary: var(--primary);
360
372
  --sidebar-primary-foreground: var(--primary-foreground);
@@ -363,6 +375,8 @@
363
375
  --sidebar-border: var(--border);
364
376
  --surface: var(--color-neutral-900);
365
377
  --surface-foreground: var(--foreground);
378
+ --code: var(--color-neutral-900);
379
+ --code-foreground: var(--color-neutral-100);
366
380
  }
367
381
  /*
368
382
  The default border color has changed to `currentcolor` in Tailwind CSS v4,
@@ -713,9 +727,9 @@ input[type='color']::-webkit-color-swatch {
713
727
  }
714
728
 
715
729
  @utility active-card {
716
- @apply border-info-foreground! bg-info lg:hover:bg-info/50 dark:bg-info/50 dark:hover:bg-info/20;
730
+ @apply border-accent-foreground! bg-accent! hover:bg-accent/80!;
717
731
  }
718
732
 
719
733
  @utility focusable-item {
720
- @apply transition-[color,background-color,box-shadow] focus-visible:ring-[3px] focus-visible:ring-ring-default focus-visible:ring-offset-1 focus-visible:outline-hidden;
734
+ @apply transition-[color,background-color,box-shadow] focus-visible:ring-[2px] focus-visible:ring-ring-default focus-visible:ring-offset-1 focus-visible:outline-hidden;
721
735
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clasing/ui",
3
- "version": "2.8.0",
3
+ "version": "2.9.0",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"