@clasing/ui 2.7.5 → 2.8.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.
- package/dist/{badge-DnN1HZI0.js → badge-DBOcqSZb.js} +5 -5
- package/dist/{button-C8ApjC1N.js → button-DSpGxL2e.js} +11 -12
- package/dist/components/alert-dialog.js +1 -1
- package/dist/components/alert.js +1 -1
- package/dist/components/badge.js +1 -1
- package/dist/components/blocks/interactive-card.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calendar.js +1 -1
- package/dist/components/context-menu.js +7 -7
- package/dist/components/dropdown-menu.js +38 -38
- package/dist/components/input.js +1 -1
- package/dist/components/menubar.js +1 -1
- package/dist/components/multi-select.js +1 -1
- package/dist/components/phone-input.js +1 -1
- package/dist/{input-EFdg0T-Q.js → input-C0PAOim8.js} +1 -1
- package/dist/ui.css +15 -7
- package/package.json +1 -1
|
@@ -28,7 +28,7 @@ const l = v(
|
|
|
28
28
|
focus-visible:ring-destructive/20
|
|
29
29
|
dark:bg-destructive
|
|
30
30
|
dark:focus-visible:ring-destructive
|
|
31
|
-
[a&]:hover:bg-destructive/
|
|
31
|
+
[a&]:hover:bg-destructive/80
|
|
32
32
|
`,
|
|
33
33
|
outline: `
|
|
34
34
|
text-foreground
|
|
@@ -36,7 +36,7 @@ const l = v(
|
|
|
36
36
|
`,
|
|
37
37
|
error: `
|
|
38
38
|
bg-destructive text-destructive-foreground
|
|
39
|
-
[a&]:hover:bg-destructive/
|
|
39
|
+
[a&]:hover:bg-destructive/80
|
|
40
40
|
`,
|
|
41
41
|
warning: `
|
|
42
42
|
bg-warning text-warning-foreground
|
|
@@ -93,17 +93,17 @@ const l = v(
|
|
|
93
93
|
failed: `
|
|
94
94
|
border border-destructive-foreground bg-background
|
|
95
95
|
text-destructive-foreground
|
|
96
|
-
[a&]:hover:bg-background/
|
|
96
|
+
[a&]:hover:bg-background/80
|
|
97
97
|
`,
|
|
98
98
|
expired: `
|
|
99
99
|
border border-destructive-foreground bg-background
|
|
100
100
|
text-destructive-foreground
|
|
101
|
-
[a&]:hover:bg-background/
|
|
101
|
+
[a&]:hover:bg-background/80
|
|
102
102
|
`,
|
|
103
103
|
cancelled: `
|
|
104
104
|
border border-destructive-foreground bg-background
|
|
105
105
|
text-destructive-foreground
|
|
106
|
-
[a&]:hover:bg-background/
|
|
106
|
+
[a&]:hover:bg-background/80
|
|
107
107
|
`
|
|
108
108
|
},
|
|
109
109
|
size: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as a, j as e } from "./index-C_XDkVGm.js";
|
|
2
2
|
import { Slot as _ } from "@radix-ui/react-slot";
|
|
3
3
|
import { cva as k } from "class-variance-authority";
|
|
4
4
|
import w from "react";
|
|
@@ -6,11 +6,9 @@ import { C } from "./clasing-icon-zhfWTLFn.js";
|
|
|
6
6
|
import { b, T as c, c as g, a as f } from "./tooltip-CC_kyHTm.js";
|
|
7
7
|
const T = k(
|
|
8
8
|
`
|
|
9
|
-
relative z-0 flex items-center justify-center rounded-full
|
|
10
|
-
transition-[color,background-color,box-shadow]
|
|
9
|
+
relative z-0 flex items-center justify-center rounded-full focusable-item
|
|
11
10
|
before:absolute before:inset-0 before:z-[-1] before:rounded-full
|
|
12
11
|
before:transition-transform before:duration-150 before:ease-in-out
|
|
13
|
-
focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-1
|
|
14
12
|
not-disabled:active:before:scale-96
|
|
15
13
|
[&_svg]:shrink-0
|
|
16
14
|
`,
|
|
@@ -102,6 +100,7 @@ const T = k(
|
|
|
102
100
|
true: `
|
|
103
101
|
disabled:cursor-not-allowed disabled:text-muted-foreground!
|
|
104
102
|
disabled:before:bg-muted!
|
|
103
|
+
disabled:dark:opacity-60!
|
|
105
104
|
`
|
|
106
105
|
}
|
|
107
106
|
},
|
|
@@ -184,7 +183,7 @@ const T = k(
|
|
|
184
183
|
weight: p,
|
|
185
184
|
children: n,
|
|
186
185
|
isLoading: r,
|
|
187
|
-
disabled:
|
|
186
|
+
disabled: o,
|
|
188
187
|
tooltip: t,
|
|
189
188
|
tooltipPlacement: l = "top",
|
|
190
189
|
asChild: d,
|
|
@@ -197,13 +196,13 @@ const T = k(
|
|
|
197
196
|
md: "w-8 px-0",
|
|
198
197
|
sm: "w-7 px-0",
|
|
199
198
|
xs: "w-6 px-0"
|
|
200
|
-
}[i || "xl"] : "", N =
|
|
199
|
+
}[i || "xl"] : "", N = a(
|
|
201
200
|
T({
|
|
202
201
|
variant: x,
|
|
203
202
|
weight: p,
|
|
204
203
|
size: i,
|
|
205
204
|
isLoading: r,
|
|
206
|
-
disabled:
|
|
205
|
+
disabled: o
|
|
207
206
|
}),
|
|
208
207
|
m,
|
|
209
208
|
j
|
|
@@ -212,7 +211,7 @@ const T = k(
|
|
|
212
211
|
C,
|
|
213
212
|
{
|
|
214
213
|
variant: "default",
|
|
215
|
-
className:
|
|
214
|
+
className: a(
|
|
216
215
|
"pointer-events-none absolute top-1/2 left-1/2 -translate-1/2",
|
|
217
216
|
{
|
|
218
217
|
"visible animate-[spin_2s_linear_infinite] opacity-100": r
|
|
@@ -223,7 +222,7 @@ const T = k(
|
|
|
223
222
|
/* @__PURE__ */ e.jsx(
|
|
224
223
|
"span",
|
|
225
224
|
{
|
|
226
|
-
className:
|
|
225
|
+
className: a(
|
|
227
226
|
"flex items-center justify-center gap-2",
|
|
228
227
|
r ? "invisible opacity-0" : "visible opacity-100"
|
|
229
228
|
),
|
|
@@ -234,13 +233,13 @@ const T = k(
|
|
|
234
233
|
h,
|
|
235
234
|
{
|
|
236
235
|
ref: y,
|
|
237
|
-
className:
|
|
238
|
-
disabled: !!r || !!
|
|
236
|
+
className: a(N),
|
|
237
|
+
disabled: !!r || !!o,
|
|
239
238
|
...v,
|
|
240
239
|
children: z
|
|
241
240
|
}
|
|
242
241
|
);
|
|
243
|
-
return t && (
|
|
242
|
+
return t && (o || r) ? /* @__PURE__ */ e.jsx(b, { children: /* @__PURE__ */ e.jsxs(c, { children: [
|
|
244
243
|
/* @__PURE__ */ e.jsx(g, { asChild: !0, children: u ? /* @__PURE__ */ e.jsx("div", { className: "inline-block", "aria-disabled": "true", children: s }) : s }),
|
|
245
244
|
/* @__PURE__ */ e.jsx(f, { side: l, children: t })
|
|
246
245
|
] }) }) : t ? /* @__PURE__ */ e.jsx(b, { children: /* @__PURE__ */ e.jsxs(c, { children: [
|
package/dist/components/alert.js
CHANGED
|
@@ -4,7 +4,7 @@ import { cva as p } from "class-variance-authority";
|
|
|
4
4
|
const x = p(
|
|
5
5
|
`
|
|
6
6
|
relative grid w-full grid-cols-[0_1fr] items-start gap-y-2 rounded-2xl
|
|
7
|
-
border
|
|
7
|
+
border p-6 paragraph-sm text-foreground
|
|
8
8
|
has-[>svg]:grid-cols-[calc(var(--spacing)*5)_1fr] has-[>svg]:gap-x-3
|
|
9
9
|
[&>svg]:size-5 [&>svg]:translate-y-0.5 [&>svg]:text-current
|
|
10
10
|
`,
|
package/dist/components/badge.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { j as r, c as n } from "../../index-C_XDkVGm.js";
|
|
2
|
-
import { B as v } from "../../badge-
|
|
2
|
+
import { B as v } from "../../badge-DBOcqSZb.js";
|
|
3
3
|
import { C as I, e as w, b as y, d as k } from "../../card-zTCfwTcL.js";
|
|
4
4
|
import { T as z, c as B, a as R } from "../../tooltip-CC_kyHTm.js";
|
|
5
5
|
import { InfoIcon as E } from "@phosphor-icons/react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as n, c as e } from "../index-C_XDkVGm.js";
|
|
2
2
|
import * as i from "react";
|
|
3
3
|
import { getDefaultClassNames as p, DayPicker as x } from "react-day-picker";
|
|
4
|
-
import { b as m, B as h } from "../button-
|
|
4
|
+
import { b as m, B as h } from "../button-DSpGxL2e.js";
|
|
5
5
|
import { CaretLeftIcon as w, CaretRightIcon as _, CaretDownIcon as y } from "@phosphor-icons/react";
|
|
6
6
|
function C({
|
|
7
7
|
className: c,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as e, c as s } from "../index-C_XDkVGm.js";
|
|
2
2
|
import * as a from "@radix-ui/react-context-menu";
|
|
3
|
-
import { CheckIcon as i, CircleIcon as d, CaretRightIcon as
|
|
3
|
+
import { CheckIcon as i, CircleIcon as d, CaretRightIcon as u } from "@phosphor-icons/react";
|
|
4
4
|
function m({
|
|
5
5
|
...t
|
|
6
6
|
}) {
|
|
@@ -63,7 +63,7 @@ function b({
|
|
|
63
63
|
...r,
|
|
64
64
|
children: [
|
|
65
65
|
o,
|
|
66
|
-
/* @__PURE__ */ e.jsx(
|
|
66
|
+
/* @__PURE__ */ e.jsx(u, { className: "ml-auto" })
|
|
67
67
|
]
|
|
68
68
|
}
|
|
69
69
|
);
|
|
@@ -146,13 +146,13 @@ function C({
|
|
|
146
146
|
focus:bg-accent focus:text-accent-foreground
|
|
147
147
|
data-disabled:pointer-events-none data-disabled:opacity-50
|
|
148
148
|
data-inset:pl-8
|
|
149
|
-
data-[variant=destructive]:text-destructive
|
|
150
|
-
data-[variant=destructive]:focus:bg-destructive
|
|
151
|
-
data-[variant=destructive]:focus:text-destructive
|
|
152
|
-
dark:data-[variant=destructive]:focus:bg-destructive/
|
|
149
|
+
data-[variant=destructive]:text-destructive-foreground
|
|
150
|
+
data-[variant=destructive]:focus:bg-destructive
|
|
151
|
+
data-[variant=destructive]:focus:text-destructive-foreground
|
|
152
|
+
dark:data-[variant=destructive]:focus:bg-destructive/80
|
|
153
153
|
[&_svg]:pointer-events-none [&_svg]:shrink-0
|
|
154
154
|
[&_svg:not([class*='size-'])]:size-4
|
|
155
|
-
data-[variant=destructive]:*:[svg]:text-destructive!
|
|
155
|
+
data-[variant=destructive]:*:[svg]:text-destructive-foreground!
|
|
156
156
|
`,
|
|
157
157
|
t
|
|
158
158
|
),
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { j as t, c as r } from "../index-C_XDkVGm.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as n from "@radix-ui/react-dropdown-menu";
|
|
3
3
|
import { CheckIcon as d, CircleIcon as i, CaretRightIcon as u } from "@phosphor-icons/react";
|
|
4
4
|
function p({
|
|
5
5
|
...e
|
|
6
6
|
}) {
|
|
7
|
-
return /* @__PURE__ */ t.jsx(
|
|
7
|
+
return /* @__PURE__ */ t.jsx(n.Root, { "data-slot": "dropdown-menu", ...e });
|
|
8
8
|
}
|
|
9
9
|
function m({
|
|
10
10
|
...e
|
|
11
11
|
}) {
|
|
12
|
-
return /* @__PURE__ */ t.jsx(
|
|
12
|
+
return /* @__PURE__ */ t.jsx(n.Portal, { "data-slot": "dropdown-menu-portal", ...e });
|
|
13
13
|
}
|
|
14
14
|
function f({
|
|
15
15
|
...e
|
|
16
16
|
}) {
|
|
17
17
|
return /* @__PURE__ */ t.jsx(
|
|
18
|
-
|
|
18
|
+
n.Trigger,
|
|
19
19
|
{
|
|
20
20
|
"data-slot": "dropdown-menu-trigger",
|
|
21
21
|
...e
|
|
@@ -24,15 +24,15 @@ function f({
|
|
|
24
24
|
}
|
|
25
25
|
function g({
|
|
26
26
|
className: e,
|
|
27
|
-
sideOffset:
|
|
27
|
+
sideOffset: o = 4,
|
|
28
28
|
collisionPadding: a = 24,
|
|
29
29
|
...s
|
|
30
30
|
}) {
|
|
31
|
-
return /* @__PURE__ */ t.jsx(
|
|
32
|
-
|
|
31
|
+
return /* @__PURE__ */ t.jsx(n.Portal, { children: /* @__PURE__ */ t.jsx(
|
|
32
|
+
n.Content,
|
|
33
33
|
{
|
|
34
34
|
"data-slot": "dropdown-menu-content",
|
|
35
|
-
sideOffset:
|
|
35
|
+
sideOffset: o,
|
|
36
36
|
className: r(
|
|
37
37
|
`
|
|
38
38
|
z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-32
|
|
@@ -58,19 +58,19 @@ function g({
|
|
|
58
58
|
function x({
|
|
59
59
|
...e
|
|
60
60
|
}) {
|
|
61
|
-
return /* @__PURE__ */ t.jsx(
|
|
61
|
+
return /* @__PURE__ */ t.jsx(n.Group, { "data-slot": "dropdown-menu-group", ...e });
|
|
62
62
|
}
|
|
63
63
|
function v({
|
|
64
64
|
className: e,
|
|
65
|
-
inset:
|
|
65
|
+
inset: o,
|
|
66
66
|
variant: a = "default",
|
|
67
67
|
...s
|
|
68
68
|
}) {
|
|
69
69
|
return /* @__PURE__ */ t.jsx(
|
|
70
|
-
|
|
70
|
+
n.Item,
|
|
71
71
|
{
|
|
72
72
|
"data-slot": "dropdown-menu-item",
|
|
73
|
-
"data-inset":
|
|
73
|
+
"data-inset": o,
|
|
74
74
|
"data-variant": a,
|
|
75
75
|
className: r(
|
|
76
76
|
`
|
|
@@ -82,10 +82,10 @@ function v({
|
|
|
82
82
|
data-[variant=destructive]:text-destructive-foreground
|
|
83
83
|
data-[variant=destructive]:focus:bg-destructive
|
|
84
84
|
data-[variant=destructive]:focus:text-destructive-foreground
|
|
85
|
-
dark:data-[variant=destructive]:focus:bg-destructive
|
|
85
|
+
dark:data-[variant=destructive]:focus:bg-destructive/80
|
|
86
86
|
[&_svg]:pointer-events-none [&_svg]:shrink-0
|
|
87
87
|
[&_svg:not([class*='size-'])]:size-4
|
|
88
|
-
data-[variant=destructive]:*:[svg]:text-destructive!
|
|
88
|
+
data-[variant=destructive]:*:[svg]:text-destructive-foreground!
|
|
89
89
|
`,
|
|
90
90
|
e
|
|
91
91
|
),
|
|
@@ -95,12 +95,12 @@ function v({
|
|
|
95
95
|
}
|
|
96
96
|
function b({
|
|
97
97
|
className: e,
|
|
98
|
-
children:
|
|
98
|
+
children: o,
|
|
99
99
|
checked: a,
|
|
100
100
|
...s
|
|
101
101
|
}) {
|
|
102
102
|
return /* @__PURE__ */ t.jsxs(
|
|
103
|
-
|
|
103
|
+
n.CheckboxItem,
|
|
104
104
|
{
|
|
105
105
|
"data-slot": "dropdown-menu-checkbox-item",
|
|
106
106
|
className: r(
|
|
@@ -124,10 +124,10 @@ function b({
|
|
|
124
124
|
pointer-events-none absolute left-2 flex size-3.5 items-center\r
|
|
125
125
|
justify-center\r
|
|
126
126
|
`,
|
|
127
|
-
children: /* @__PURE__ */ t.jsx(
|
|
127
|
+
children: /* @__PURE__ */ t.jsx(n.ItemIndicator, { children: /* @__PURE__ */ t.jsx(d, { className: "size-4" }) })
|
|
128
128
|
}
|
|
129
129
|
),
|
|
130
|
-
|
|
130
|
+
o
|
|
131
131
|
]
|
|
132
132
|
}
|
|
133
133
|
);
|
|
@@ -136,7 +136,7 @@ function w({
|
|
|
136
136
|
...e
|
|
137
137
|
}) {
|
|
138
138
|
return /* @__PURE__ */ t.jsx(
|
|
139
|
-
|
|
139
|
+
n.RadioGroup,
|
|
140
140
|
{
|
|
141
141
|
"data-slot": "dropdown-menu-radio-group",
|
|
142
142
|
...e
|
|
@@ -145,11 +145,11 @@ function w({
|
|
|
145
145
|
}
|
|
146
146
|
function h({
|
|
147
147
|
className: e,
|
|
148
|
-
children:
|
|
148
|
+
children: o,
|
|
149
149
|
...a
|
|
150
150
|
}) {
|
|
151
151
|
return /* @__PURE__ */ t.jsxs(
|
|
152
|
-
|
|
152
|
+
n.RadioItem,
|
|
153
153
|
{
|
|
154
154
|
"data-slot": "dropdown-menu-radio-item",
|
|
155
155
|
className: r(
|
|
@@ -172,24 +172,24 @@ function h({
|
|
|
172
172
|
pointer-events-none absolute left-2 flex size-3.5 items-center\r
|
|
173
173
|
justify-center\r
|
|
174
174
|
`,
|
|
175
|
-
children: /* @__PURE__ */ t.jsx(
|
|
175
|
+
children: /* @__PURE__ */ t.jsx(n.ItemIndicator, { children: /* @__PURE__ */ t.jsx(i, { weight: "fill", className: "size-2 fill-current" }) })
|
|
176
176
|
}
|
|
177
177
|
),
|
|
178
|
-
|
|
178
|
+
o
|
|
179
179
|
]
|
|
180
180
|
}
|
|
181
181
|
);
|
|
182
182
|
}
|
|
183
183
|
function j({
|
|
184
184
|
className: e,
|
|
185
|
-
inset:
|
|
185
|
+
inset: o,
|
|
186
186
|
...a
|
|
187
187
|
}) {
|
|
188
188
|
return /* @__PURE__ */ t.jsx(
|
|
189
|
-
|
|
189
|
+
n.Label,
|
|
190
190
|
{
|
|
191
191
|
"data-slot": "dropdown-menu-label",
|
|
192
|
-
"data-inset":
|
|
192
|
+
"data-inset": o,
|
|
193
193
|
className: r(
|
|
194
194
|
`
|
|
195
195
|
px-2 py-1.5 paragraph-sm font-semibold
|
|
@@ -203,20 +203,20 @@ function j({
|
|
|
203
203
|
}
|
|
204
204
|
function z({
|
|
205
205
|
className: e,
|
|
206
|
-
...
|
|
206
|
+
...o
|
|
207
207
|
}) {
|
|
208
208
|
return /* @__PURE__ */ t.jsx(
|
|
209
|
-
|
|
209
|
+
n.Separator,
|
|
210
210
|
{
|
|
211
211
|
"data-slot": "dropdown-menu-separator",
|
|
212
212
|
className: r("-mx-1 my-1 h-px bg-border", e),
|
|
213
|
-
...
|
|
213
|
+
...o
|
|
214
214
|
}
|
|
215
215
|
);
|
|
216
216
|
}
|
|
217
217
|
function D({
|
|
218
218
|
className: e,
|
|
219
|
-
...
|
|
219
|
+
...o
|
|
220
220
|
}) {
|
|
221
221
|
return /* @__PURE__ */ t.jsx(
|
|
222
222
|
"span",
|
|
@@ -226,26 +226,26 @@ function D({
|
|
|
226
226
|
"ml-auto paragraph-xs tracking-widest text-muted-foreground",
|
|
227
227
|
e
|
|
228
228
|
),
|
|
229
|
-
...
|
|
229
|
+
...o
|
|
230
230
|
}
|
|
231
231
|
);
|
|
232
232
|
}
|
|
233
233
|
function M({
|
|
234
234
|
...e
|
|
235
235
|
}) {
|
|
236
|
-
return /* @__PURE__ */ t.jsx(
|
|
236
|
+
return /* @__PURE__ */ t.jsx(n.Sub, { "data-slot": "dropdown-menu-sub", ...e });
|
|
237
237
|
}
|
|
238
238
|
function N({
|
|
239
239
|
className: e,
|
|
240
|
-
inset:
|
|
240
|
+
inset: o,
|
|
241
241
|
children: a,
|
|
242
242
|
...s
|
|
243
243
|
}) {
|
|
244
244
|
return /* @__PURE__ */ t.jsxs(
|
|
245
|
-
|
|
245
|
+
n.SubTrigger,
|
|
246
246
|
{
|
|
247
247
|
"data-slot": "dropdown-menu-sub-trigger",
|
|
248
|
-
"data-inset":
|
|
248
|
+
"data-inset": o,
|
|
249
249
|
className: r(
|
|
250
250
|
`
|
|
251
251
|
relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5
|
|
@@ -268,10 +268,10 @@ function N({
|
|
|
268
268
|
}
|
|
269
269
|
function y({
|
|
270
270
|
className: e,
|
|
271
|
-
...
|
|
271
|
+
...o
|
|
272
272
|
}) {
|
|
273
273
|
return /* @__PURE__ */ t.jsx(
|
|
274
|
-
|
|
274
|
+
n.SubContent,
|
|
275
275
|
{
|
|
276
276
|
"data-slot": "dropdown-menu-sub-content",
|
|
277
277
|
className: r(
|
|
@@ -290,7 +290,7 @@ function y({
|
|
|
290
290
|
`,
|
|
291
291
|
e
|
|
292
292
|
),
|
|
293
|
-
...
|
|
293
|
+
...o
|
|
294
294
|
}
|
|
295
295
|
);
|
|
296
296
|
}
|
package/dist/components/input.js
CHANGED
|
@@ -116,7 +116,7 @@ function j({
|
|
|
116
116
|
data-[variant=destructive]:text-destructive-foreground
|
|
117
117
|
data-[variant=destructive]:focus:bg-destructive
|
|
118
118
|
data-[variant=destructive]:focus:text-destructive-foreground
|
|
119
|
-
dark:data-[variant=destructive]:focus:bg-destructive
|
|
119
|
+
dark:data-[variant=destructive]:focus:bg-destructive/80
|
|
120
120
|
[&_svg]:pointer-events-none [&_svg]:shrink-0
|
|
121
121
|
[&_svg:not([class*='size-'])]:size-4
|
|
122
122
|
data-[variant=destructive]:*:[svg]:text-destructive-foreground!
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { j as e, c as I } from "../index-C_XDkVGm.js";
|
|
2
|
-
import { B as z } from "../badge-
|
|
2
|
+
import { B as z } from "../badge-DBOcqSZb.js";
|
|
3
3
|
import { C as E, f as P, d as O, b as _, c as A, e as F, g as L } from "../command-Cq3FhQXv.js";
|
|
4
4
|
import { P as T, b as W, c as G } from "../popover-CLQxfbEi.js";
|
|
5
5
|
import { CheckIcon as B, CaretUpDownIcon as D, XIcon as U } from "@phosphor-icons/react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as e, c as p } from "../index-C_XDkVGm.js";
|
|
2
2
|
import { C as k, d as A, f as F, b as L, c as D, e as N } from "../command-Cq3FhQXv.js";
|
|
3
|
-
import { I as M } from "../input-
|
|
3
|
+
import { I as M } from "../input-C0PAOim8.js";
|
|
4
4
|
import { P as q, c as H, b as G } from "../popover-CLQxfbEi.js";
|
|
5
5
|
import { S as W } from "../scroll-area-DQenuQib.js";
|
|
6
6
|
import { CaretDownIcon as $, CheckIcon as B } from "@phosphor-icons/react";
|
|
@@ -2,7 +2,7 @@ import { j as r, c as o } from "./index-C_XDkVGm.js";
|
|
|
2
2
|
import { EyeSlashIcon as f, EyeIcon as g } from "@phosphor-icons/react";
|
|
3
3
|
import { cva as b } from "class-variance-authority";
|
|
4
4
|
import * as m from "react";
|
|
5
|
-
import { B as x } from "./button-
|
|
5
|
+
import { B as x } from "./button-DSpGxL2e.js";
|
|
6
6
|
const d = b(
|
|
7
7
|
`
|
|
8
8
|
flex w-full min-w-0 rounded-md border border-input bg-transparent
|
package/dist/ui.css
CHANGED
|
@@ -302,7 +302,7 @@
|
|
|
302
302
|
--primary-foreground: var(--color-neutral-100);
|
|
303
303
|
--secondary: var(--color-neutral-200);
|
|
304
304
|
--secondary-foreground: var(--foreground);
|
|
305
|
-
--muted: var(--color-neutral-
|
|
305
|
+
--muted: var(--color-neutral-100);
|
|
306
306
|
--muted-foreground: var(--color-neutral-500);
|
|
307
307
|
--accent: var(--color-neutral-200);
|
|
308
308
|
--accent-foreground: var(--color-neutral-900);
|
|
@@ -316,7 +316,7 @@
|
|
|
316
316
|
--info-foreground: var(--color-blue-700);
|
|
317
317
|
--border: var(--color-neutral-200);
|
|
318
318
|
--input: var(--color-neutral-300);
|
|
319
|
-
--ring: var(--color-
|
|
319
|
+
--ring: var(--color-ring-default);
|
|
320
320
|
--sidebar: var(--background);
|
|
321
321
|
--sidebar-foreground: var(--foreground);
|
|
322
322
|
--sidebar-primary: var(--primary);
|
|
@@ -331,9 +331,9 @@
|
|
|
331
331
|
.dark {
|
|
332
332
|
--background: var(--color-neutral-900);
|
|
333
333
|
--foreground: var(--color-neutral-100);
|
|
334
|
-
--card: var(--color-neutral-
|
|
334
|
+
--card: var(--color-neutral-900);
|
|
335
335
|
--card-foreground: var(--foreground);
|
|
336
|
-
--popover: var(--color-neutral-
|
|
336
|
+
--popover: var(--color-neutral-900);
|
|
337
337
|
--popover-foreground: var(--foreground);
|
|
338
338
|
--primary: var(--color-neutral-100);
|
|
339
339
|
--primary-foreground: var(--color-neutral-900);
|
|
@@ -341,7 +341,7 @@
|
|
|
341
341
|
--secondary-foreground: var(--color-neutral-100);
|
|
342
342
|
--muted: var(--color-neutral-800);
|
|
343
343
|
--muted-foreground: var(--color-neutral-400);
|
|
344
|
-
--accent: var(--color-neutral-
|
|
344
|
+
--accent: var(--color-neutral-700);
|
|
345
345
|
--accent-foreground: var(--color-neutral-100);
|
|
346
346
|
--destructive: var(--color-red-900);
|
|
347
347
|
--destructive-foreground: var(--color-red-200);
|
|
@@ -353,7 +353,7 @@
|
|
|
353
353
|
--info-foreground: var(--color-blue-200);
|
|
354
354
|
--border: var(--color-neutral-700);
|
|
355
355
|
--input: var(--color-neutral-700);
|
|
356
|
-
--ring: var(--color-
|
|
356
|
+
--ring: var(--color-ring-default);
|
|
357
357
|
--sidebar: var(--color-neutral-900);
|
|
358
358
|
--sidebar-foreground: var(--foreground);
|
|
359
359
|
--sidebar-primary: var(--primary);
|
|
@@ -361,7 +361,7 @@
|
|
|
361
361
|
--sidebar-accent: var(--accent);
|
|
362
362
|
--sidebar-accent-foreground: var(--accent-foreground);
|
|
363
363
|
--sidebar-border: var(--border);
|
|
364
|
-
--surface: var(--color-neutral-
|
|
364
|
+
--surface: var(--color-neutral-900);
|
|
365
365
|
--surface-foreground: var(--foreground);
|
|
366
366
|
}
|
|
367
367
|
/*
|
|
@@ -711,3 +711,11 @@ input[type='color']::-webkit-color-swatch {
|
|
|
711
711
|
::-webkit-scrollbar-thumb:hover {
|
|
712
712
|
background-color: var(--color-neutral-200);
|
|
713
713
|
}
|
|
714
|
+
|
|
715
|
+
@utility active-card {
|
|
716
|
+
@apply border-info-foreground! bg-info lg:hover:bg-info/50 dark:bg-info/50 dark:hover:bg-info/20;
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
@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;
|
|
721
|
+
}
|