@clasing/ui 2.7.4 → 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-aFyTFGVU.js → badge-DBOcqSZb.js} +7 -7
- package/dist/{button-BMh8vaQL.js → button-DSpGxL2e.js} +14 -15
- package/dist/{card-aAzRmGVH.js → card-zTCfwTcL.js} +1 -1
- package/dist/{chip-BmqvnZuy.js → chip-DOCdEBBS.js} +8 -8
- package/dist/{clasing-icon-CJQQN554.js → clasing-icon-zhfWTLFn.js} +1 -1
- package/dist/{command-peXi2dFX.js → command-Cq3FhQXv.js} +2 -2
- package/dist/components/{accordion.es.js → accordion.js} +1 -1
- package/dist/components/{alert-dialog.es.js → alert-dialog.js} +2 -2
- package/dist/components/{alert.es.js → alert.js} +3 -3
- package/dist/components/{avatar.es.js → avatar.js} +1 -1
- package/dist/components/badge.js +4 -0
- package/dist/components/blocks/{interactive-card.es.js → interactive-card.js} +12 -12
- package/dist/components/blocks/{selectable-chips.es.js → selectable-chips.js} +3 -3
- package/dist/components/{breadcrumb.es.js → breadcrumb.js} +1 -1
- package/dist/components/{button-group.es.js → button-group.js} +6 -6
- package/dist/components/button.js +5 -0
- package/dist/components/{calendar.es.js → calendar.js} +2 -2
- package/dist/components/{card.es.js → card.js} +1 -1
- package/dist/components/{chart.es.js → chart.js} +1 -1
- package/dist/components/{checkbox.es.js → checkbox.js} +1 -1
- package/dist/components/chip.js +5 -0
- package/dist/components/clasing-icon.js +4 -0
- package/dist/components/{collapsible.es.js → collapsible.js} +1 -1
- package/dist/components/{command.es.js → command.js} +1 -1
- package/dist/components/{context-menu.es.js → context-menu.js} +8 -8
- package/dist/components/{dialog.es.js → dialog.js} +1 -1
- package/dist/components/divider.js +4 -0
- package/dist/components/{drawer.es.js → drawer.js} +1 -1
- package/dist/components/{dropdown-menu.es.js → dropdown-menu.js} +39 -39
- package/dist/components/{form.es.js → form.js} +2 -2
- package/dist/components/{hover-card.es.js → hover-card.js} +1 -1
- package/dist/components/{input-otp.es.js → input-otp.js} +1 -1
- package/dist/components/input.js +4 -0
- package/dist/components/{kbd.es.js → kbd.js} +1 -1
- package/dist/components/label.js +4 -0
- package/dist/components/{menubar.es.js → menubar.js} +2 -2
- package/dist/components/{multi-select.es.js → multi-select.js} +5 -5
- package/dist/components/{navigation-menu.es.js → navigation-menu.js} +2 -2
- package/dist/components/{phone-input.es.js → phone-input.js} +5 -5
- package/dist/components/{popover.es.js → popover.js} +1 -1
- package/dist/components/{progress.es.js → progress.js} +1 -1
- package/dist/components/{resizable.es.js → resizable.js} +1 -1
- package/dist/components/scroll-area.js +5 -0
- package/dist/components/{select.es.js → select.js} +1 -1
- package/dist/components/{sheet.es.js → sheet.js} +1 -1
- package/dist/components/{skeleton.es.js → skeleton.js} +1 -1
- package/dist/components/{slider.es.js → slider.js} +1 -1
- package/dist/components/{sonner.es.js → sonner.js} +2 -2
- package/dist/components/{switch.es.js → switch.js} +8 -8
- package/dist/components/{table.es.js → table.js} +1 -1
- package/dist/components/{textarea.es.js → textarea.js} +8 -8
- package/dist/components/{toggle-group.es.js → toggle-group.js} +2 -2
- package/dist/components/toggle.js +5 -0
- package/dist/components/{tooltip.es.js → tooltip.js} +1 -1
- package/dist/{dialog-CdmsVmRe.js → dialog-BcR6vjTs.js} +1 -1
- package/dist/{divider-DumyhJI_.js → divider-DnPsAXol.js} +1 -1
- package/dist/index-C_XDkVGm.js +270 -0
- package/dist/{input-9_pd3W-1.js → input-C0PAOim8.js} +4 -4
- package/dist/{label-BteX4MEt.js → label-CnZHCbRc.js} +1 -1
- package/dist/{popover-eQq2Is-I.js → popover-CLQxfbEi.js} +1 -1
- package/dist/{scroll-area-CJy_EOqT.js → scroll-area-DQenuQib.js} +1 -1
- package/dist/{toggle-DuhnqdDT.js → toggle-Bj6sVNqF.js} +5 -5
- package/dist/{tooltip-BYeLeBei.js → tooltip-CC_kyHTm.js} +1 -1
- package/dist/ui.css +17 -9
- package/package.json +53 -106
- package/dist/badge-DK9gdPpu.cjs +0 -91
- package/dist/button-CBGIJZh6.cjs +0 -70
- package/dist/card-DkYKwjsA.cjs +0 -12
- package/dist/chip-BlWb6w16.cjs +0 -17
- package/dist/clasing-icon-CHt2Otn8.cjs +0 -1
- package/dist/command-DNjJookC.cjs +0 -35
- package/dist/components/accordion.cjs.js +0 -20
- package/dist/components/alert-dialog.cjs.js +0 -17
- package/dist/components/alert.cjs.js +0 -6
- package/dist/components/avatar.cjs.js +0 -1
- package/dist/components/badge.cjs.js +0 -1
- package/dist/components/badge.es.js +0 -4
- package/dist/components/blocks/interactive-card.cjs.js +0 -5
- package/dist/components/blocks/selectable-chips.cjs.js +0 -1
- package/dist/components/breadcrumb.cjs.js +0 -1
- package/dist/components/button-group.cjs.js +0 -1
- package/dist/components/button.cjs.js +0 -1
- package/dist/components/button.es.js +0 -5
- package/dist/components/calendar.cjs.js +0 -73
- package/dist/components/card.cjs.js +0 -1
- package/dist/components/chart.cjs.js +0 -32
- package/dist/components/checkbox.cjs.js +0 -15
- package/dist/components/chip.cjs.js +0 -1
- package/dist/components/chip.es.js +0 -5
- package/dist/components/clasing-icon.cjs.js +0 -1
- package/dist/components/clasing-icon.es.js +0 -4
- package/dist/components/collapsible.cjs.js +0 -10
- package/dist/components/command.cjs.js +0 -1
- package/dist/components/context-menu.cjs.js +0 -70
- package/dist/components/dialog.cjs.js +0 -1
- package/dist/components/divider.cjs.js +0 -1
- package/dist/components/divider.es.js +0 -4
- package/dist/components/drawer.cjs.js +0 -42
- package/dist/components/dropdown-menu.cjs.js +0 -70
- package/dist/components/form.cjs.js +0 -1
- package/dist/components/hover-card.cjs.js +0 -13
- package/dist/components/input-otp.cjs.js +0 -19
- package/dist/components/input.cjs.js +0 -1
- package/dist/components/input.es.js +0 -4
- package/dist/components/kbd.cjs.js +0 -9
- package/dist/components/label.cjs.js +0 -1
- package/dist/components/label.es.js +0 -4
- package/dist/components/menubar.cjs.js +0 -74
- package/dist/components/multi-select.cjs.js +0 -22
- package/dist/components/navigation-menu.cjs.js +0 -70
- package/dist/components/phone-input.cjs.js +0 -21
- package/dist/components/popover.cjs.js +0 -1
- package/dist/components/progress.cjs.js +0 -1
- package/dist/components/resizable.cjs.js +0 -22
- package/dist/components/scroll-area.cjs.js +0 -1
- package/dist/components/scroll-area.es.js +0 -5
- package/dist/components/select.cjs.js +0 -56
- package/dist/components/sheet.cjs.js +0 -36
- package/dist/components/skeleton.cjs.js +0 -1
- package/dist/components/slider.cjs.js +0 -23
- package/dist/components/sonner.cjs.js +0 -15
- package/dist/components/switch.cjs.js +0 -19
- package/dist/components/table.cjs.js +0 -20
- package/dist/components/textarea.cjs.js +0 -22
- package/dist/components/toggle-group.cjs.js +0 -12
- package/dist/components/toggle.cjs.js +0 -1
- package/dist/components/toggle.es.js +0 -5
- package/dist/components/tooltip.cjs.js +0 -1
- package/dist/dialog-BUaX7IId.cjs +0 -28
- package/dist/divider-D4EfIlt3.cjs +0 -1
- package/dist/hooks/useOutsideClick.cjs.js +0 -1
- package/dist/index-Bfismeyo.cjs +0 -6
- package/dist/index-BmhzhLcV.cjs +0 -1
- package/dist/index-CnqageB2.js +0 -34
- package/dist/index-CwFDnnd3.js +0 -3197
- package/dist/input-DKYrdSsU.cjs +0 -28
- package/dist/label-O3mSiGyx.cjs +0 -7
- package/dist/popover-A1-x5q-F.cjs +0 -13
- package/dist/scroll-area-DFyIQG6Z.cjs +0 -6
- package/dist/toggle-BdWGPLza.cjs +0 -21
- package/dist/tooltip-BZWEHWmU.cjs +0 -14
- package/dist/utils/types.cjs.js +0 -1
- /package/dist/hooks/{useOutsideClick.es.js → useOutsideClick.js} +0 -0
- /package/dist/utils/{types.es.js → types.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as u, c as b } from "./index-
|
|
1
|
+
import { j as u, c as b } from "./index-C_XDkVGm.js";
|
|
2
2
|
import { Slot as c } from "@radix-ui/react-slot";
|
|
3
|
-
import {
|
|
3
|
+
import { cva as v } from "class-variance-authority";
|
|
4
4
|
const l = v(
|
|
5
5
|
`
|
|
6
6
|
box-border inline-flex w-fit shrink-0 items-center justify-center gap-2
|
|
@@ -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,16 +1,14 @@
|
|
|
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
|
-
import {
|
|
3
|
+
import { cva as k } from "class-variance-authority";
|
|
4
4
|
import w from "react";
|
|
5
|
-
import { C } from "./clasing-icon-
|
|
6
|
-
import { b, T as c, c as g, a as f } from "./tooltip-
|
|
5
|
+
import { C } from "./clasing-icon-zhfWTLFn.js";
|
|
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: [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { j as e, c as l } from "./index-
|
|
2
|
-
import {
|
|
1
|
+
import { j as e, c as l } from "./index-C_XDkVGm.js";
|
|
2
|
+
import { cva as m } from "class-variance-authority";
|
|
3
3
|
import { forwardRef as c } from "react";
|
|
4
4
|
const g = m(
|
|
5
5
|
`
|
|
@@ -58,8 +58,8 @@ const g = m(
|
|
|
58
58
|
className: o,
|
|
59
59
|
variant: t,
|
|
60
60
|
size: i,
|
|
61
|
-
weight:
|
|
62
|
-
children:
|
|
61
|
+
weight: d,
|
|
62
|
+
children: s,
|
|
63
63
|
notification: n,
|
|
64
64
|
onClick: a,
|
|
65
65
|
disabled: r,
|
|
@@ -69,14 +69,14 @@ const g = m(
|
|
|
69
69
|
{
|
|
70
70
|
ref: f,
|
|
71
71
|
className: l(
|
|
72
|
-
g({ variant: t, size: i, weight:
|
|
72
|
+
g({ variant: t, size: i, weight: d, className: o, disabled: r })
|
|
73
73
|
),
|
|
74
74
|
type: "button",
|
|
75
75
|
disabled: r ?? void 0,
|
|
76
76
|
onClick: a,
|
|
77
77
|
...u,
|
|
78
78
|
children: [
|
|
79
|
-
|
|
79
|
+
s,
|
|
80
80
|
n && /* @__PURE__ */ e.jsx(
|
|
81
81
|
"span",
|
|
82
82
|
{
|
|
@@ -92,11 +92,11 @@ const g = m(
|
|
|
92
92
|
{
|
|
93
93
|
ref: f,
|
|
94
94
|
className: l(
|
|
95
|
-
g({ variant: t, size: i, weight:
|
|
95
|
+
g({ variant: t, size: i, weight: d, className: o, disabled: r })
|
|
96
96
|
),
|
|
97
97
|
...u,
|
|
98
98
|
children: [
|
|
99
|
-
|
|
99
|
+
s,
|
|
100
100
|
n && /* @__PURE__ */ e.jsx(
|
|
101
101
|
"span",
|
|
102
102
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as e, c as t } from "./index-
|
|
1
|
+
import { j as e, c as t } from "./index-C_XDkVGm.js";
|
|
2
2
|
import { Command as r } from "cmdk";
|
|
3
|
-
import { D as i, e as c, h as p, c as l, b as u } from "./dialog-
|
|
3
|
+
import { D as i, e as c, h as p, c as l, b as u } from "./dialog-BcR6vjTs.js";
|
|
4
4
|
import { MagnifyingGlassIcon as g } from "@phosphor-icons/react";
|
|
5
5
|
function x({
|
|
6
6
|
className: a,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as e, c as l } from "../index-
|
|
1
|
+
import { j as e, c as l } from "../index-C_XDkVGm.js";
|
|
2
2
|
import * as o from "@radix-ui/react-alert-dialog";
|
|
3
|
-
import { b as r } from "../button-
|
|
3
|
+
import { b as r } from "../button-DSpGxL2e.js";
|
|
4
4
|
function c({
|
|
5
5
|
...t
|
|
6
6
|
}) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { j as r, c as n } from "../index-
|
|
1
|
+
import { j as r, c as n } from "../index-C_XDkVGm.js";
|
|
2
2
|
import { QuestionIcon as d, WarningCircleIcon as g, WarningIcon as u, CheckCircleIcon as f, InfoIcon as m } from "@phosphor-icons/react";
|
|
3
|
-
import {
|
|
3
|
+
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
|
`,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { j as r, c as n } from "../../index-
|
|
2
|
-
import { B as v } from "../../badge-
|
|
3
|
-
import { C as I, e as w, b as y, d as k } from "../../card-
|
|
4
|
-
import { T as z, c as B, a as R } from "../../tooltip-
|
|
1
|
+
import { j as r, c as n } from "../../index-C_XDkVGm.js";
|
|
2
|
+
import { B as v } from "../../badge-DBOcqSZb.js";
|
|
3
|
+
import { C as I, e as w, b as y, d as k } from "../../card-zTCfwTcL.js";
|
|
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";
|
|
6
|
-
import {
|
|
6
|
+
import { cva as F } from "class-variance-authority";
|
|
7
7
|
import { forwardRef as H } from "react";
|
|
8
8
|
const O = F(
|
|
9
9
|
`
|
|
@@ -25,12 +25,12 @@ const O = F(
|
|
|
25
25
|
icon: l,
|
|
26
26
|
tooltipIcon: p,
|
|
27
27
|
tooltipText: o,
|
|
28
|
-
tooltipTitle:
|
|
28
|
+
tooltipTitle: d,
|
|
29
29
|
tooltipSide: h,
|
|
30
30
|
tooltipSideOffset: j,
|
|
31
31
|
tooltipAlign: C,
|
|
32
32
|
children: N,
|
|
33
|
-
...
|
|
33
|
+
...c
|
|
34
34
|
}, b) => /* @__PURE__ */ r.jsxs(
|
|
35
35
|
I,
|
|
36
36
|
{
|
|
@@ -38,12 +38,12 @@ const O = F(
|
|
|
38
38
|
className: n(O({ className: u }), {
|
|
39
39
|
"border-info-foreground bg-info/50": s,
|
|
40
40
|
"border-muted-foreground bg-muted": e,
|
|
41
|
-
"cursor-pointer active:bg-info/30":
|
|
42
|
-
"cursor-pointer active:bg-info/15":
|
|
41
|
+
"cursor-pointer active:bg-info/30": c.onClick && s && !e,
|
|
42
|
+
"cursor-pointer active:bg-info/15": c.onClick && !s && !e
|
|
43
43
|
}),
|
|
44
44
|
role: "button",
|
|
45
45
|
tabIndex: 0,
|
|
46
|
-
...
|
|
46
|
+
...c,
|
|
47
47
|
children: [
|
|
48
48
|
a || l ? /* @__PURE__ */ r.jsxs(w, { className: "flex items-center justify-between gap-2", children: [
|
|
49
49
|
l ? /* @__PURE__ */ r.jsx(
|
|
@@ -78,8 +78,8 @@ const O = F(
|
|
|
78
78
|
side: h,
|
|
79
79
|
sideOffset: j,
|
|
80
80
|
align: C,
|
|
81
|
-
children:
|
|
82
|
-
|
|
81
|
+
children: d || o && /* @__PURE__ */ r.jsxs("div", { className: "flex flex-col gap-1", children: [
|
|
82
|
+
d && /* @__PURE__ */ r.jsx("p", { className: "paragraph-md font-semibold", children: d }),
|
|
83
83
|
o && /* @__PURE__ */ r.jsx("p", { className: "paragraph-md", children: o })
|
|
84
84
|
] })
|
|
85
85
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as s, c as n } from "../../index-
|
|
2
|
-
import { C as R } from "../../chip-
|
|
3
|
-
import { L as k } from "../../label-
|
|
1
|
+
import { j as s, c as n } from "../../index-C_XDkVGm.js";
|
|
2
|
+
import { C as R } from "../../chip-DOCdEBBS.js";
|
|
3
|
+
import { L as k } from "../../label-CnZHCbRc.js";
|
|
4
4
|
import { CheckIcon as I } from "@phosphor-icons/react";
|
|
5
5
|
import * as u from "react";
|
|
6
6
|
const L = u.forwardRef(
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { j as r, c as n } from "../index-
|
|
2
|
-
import { Slot as
|
|
3
|
-
import {
|
|
4
|
-
import { D as l } from "../divider-
|
|
5
|
-
const d =
|
|
1
|
+
import { j as r, c as n } from "../index-C_XDkVGm.js";
|
|
2
|
+
import { Slot as i } from "@radix-ui/react-slot";
|
|
3
|
+
import { cva as a } from "class-variance-authority";
|
|
4
|
+
import { D as l } from "../divider-DnPsAXol.js";
|
|
5
|
+
const d = a(
|
|
6
6
|
"flex w-fit items-stretch has-[>[data-slot=button-group]]:gap-2 [&>*]:focus-visible:relative [&>*]:focus-visible:z-10 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-full [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1",
|
|
7
7
|
{
|
|
8
8
|
variants: {
|
|
@@ -37,7 +37,7 @@ function h({
|
|
|
37
37
|
asChild: t = !1,
|
|
38
38
|
...e
|
|
39
39
|
}) {
|
|
40
|
-
const s = t ?
|
|
40
|
+
const s = t ? i : "div";
|
|
41
41
|
return /* @__PURE__ */ r.jsx(
|
|
42
42
|
s,
|
|
43
43
|
{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { j as n, c as e } from "../index-
|
|
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,4 +1,4 @@
|
|
|
1
|
-
import { C as o, a as d, b as n, c as s, d as C, e as t, f as r, g as p, h as e } from "../command-
|
|
1
|
+
import { C as o, a as d, b as n, c as s, d as C, e as t, f as r, g as p, h as e } from "../command-Cq3FhQXv.js";
|
|
2
2
|
export {
|
|
3
3
|
o as Command,
|
|
4
4
|
d as CommandDialog,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as e, c as s } from "../index-
|
|
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,4 +1,4 @@
|
|
|
1
|
-
import { D as i, a as l, b as g, c as s, d as D, e, f as r, g as t, h as n, i as c } from "../dialog-
|
|
1
|
+
import { D as i, a as l, b as g, c as s, d as D, e, f as r, g as t, h as n, i as c } from "../dialog-BcR6vjTs.js";
|
|
2
2
|
export {
|
|
3
3
|
i as Dialog,
|
|
4
4
|
l as DialogClose,
|