@clasing/ui 2.9.1 → 2.9.3

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.
Files changed (39) hide show
  1. package/dist/{button-DSpGxL2e.js → button-CKrOlPSD.js} +17 -19
  2. package/dist/collapsible-DezttNhr.js +48 -0
  3. package/dist/components/alert-dialog.js +1 -1
  4. package/dist/components/breadcrumb.js +17 -4
  5. package/dist/components/button-group.js +29 -5
  6. package/dist/components/button.js +1 -1
  7. package/dist/components/calendar.js +1 -1
  8. package/dist/components/collapsible.js +4 -46
  9. package/dist/components/dropdown-menu.js +16 -311
  10. package/dist/components/field.d.ts +26 -0
  11. package/dist/components/field.js +66 -0
  12. package/dist/components/input.js +1 -1
  13. package/dist/components/pagination.d.ts +38 -0
  14. package/dist/components/pagination.js +107 -0
  15. package/dist/components/phone-input.js +1 -1
  16. package/dist/components/radio-group.d.ts +5 -0
  17. package/dist/components/radio-group.js +45 -0
  18. package/dist/components/select.js +10 -2
  19. package/dist/components/sheet.js +9 -164
  20. package/dist/components/sidebar.d.ts +83 -0
  21. package/dist/components/sidebar.js +820 -0
  22. package/dist/components/skeleton.js +2 -12
  23. package/dist/components/tabs.d.ts +13 -0
  24. package/dist/components/tabs.js +81 -0
  25. package/dist/components/tree.d.ts +37 -0
  26. package/dist/components/tree.js +312 -0
  27. package/dist/dropdown-menu-VOZwAyVb.js +313 -0
  28. package/dist/entries/field.d.ts +1 -0
  29. package/dist/entries/pagination.d.ts +1 -0
  30. package/dist/entries/radio-group.d.ts +1 -0
  31. package/dist/entries/sidebar.d.ts +2 -0
  32. package/dist/entries/tabs.d.ts +1 -0
  33. package/dist/entries/tree.d.ts +1 -0
  34. package/dist/hooks/useIsMobile.d.ts +2 -0
  35. package/dist/{input-D9gqZjs0.js → input-BlcRuIEB.js} +1 -1
  36. package/dist/sheet-CwXaadwy.js +166 -0
  37. package/dist/skeleton-DcjuJ5_d.js +14 -0
  38. package/dist/ui.css +25 -54
  39. package/package.json +31 -4
@@ -1,9 +1,9 @@
1
- import { c as a, j as e } from "./index-C_XDkVGm.js";
1
+ import { c as o, 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";
5
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";
6
+ import { b, T as f, c, a as g } from "./tooltip-CC_kyHTm.js";
7
7
  const T = k(
8
8
  `
9
9
  relative z-0 flex items-center justify-center rounded-full focusable-item
@@ -53,10 +53,8 @@ const T = k(
53
53
  ],
54
54
  link: [
55
55
  `
56
- text-blue-500
57
- hover:bg-blue-050
58
- dark:text-blue-300
59
- dark:hover:bg-blue-900/30
56
+ text-info-foreground
57
+ hover:bg-info
60
58
  `
61
59
  ]
62
60
  },
@@ -183,7 +181,7 @@ const T = k(
183
181
  weight: p,
184
182
  children: n,
185
183
  isLoading: r,
186
- disabled: o,
184
+ disabled: a,
187
185
  tooltip: t,
188
186
  tooltipPlacement: l = "top",
189
187
  asChild: d,
@@ -196,13 +194,13 @@ const T = k(
196
194
  md: "w-8 px-0",
197
195
  sm: "w-7 px-0",
198
196
  xs: "w-6 px-0"
199
- }[i || "xl"] : "", N = a(
197
+ }[i || "xl"] : "", N = o(
200
198
  T({
201
199
  variant: x,
202
200
  weight: p,
203
201
  size: i,
204
202
  isLoading: r,
205
- disabled: o
203
+ disabled: a
206
204
  }),
207
205
  m,
208
206
  j
@@ -211,7 +209,7 @@ const T = k(
211
209
  C,
212
210
  {
213
211
  variant: "default",
214
- className: a(
212
+ className: o(
215
213
  "pointer-events-none absolute top-1/2 left-1/2 -translate-1/2",
216
214
  {
217
215
  "visible animate-[spin_2s_linear_infinite] opacity-100": r
@@ -222,7 +220,7 @@ const T = k(
222
220
  /* @__PURE__ */ e.jsx(
223
221
  "span",
224
222
  {
225
- className: a(
223
+ className: o(
226
224
  "flex items-center justify-center gap-2",
227
225
  r ? "invisible opacity-0" : "visible opacity-100"
228
226
  ),
@@ -233,18 +231,18 @@ const T = k(
233
231
  h,
234
232
  {
235
233
  ref: y,
236
- className: a(N),
237
- disabled: !!r || !!o,
234
+ className: o(N),
235
+ disabled: !!r || !!a,
238
236
  ...v,
239
237
  children: z
240
238
  }
241
239
  );
242
- return t && (o || r) ? /* @__PURE__ */ e.jsx(b, { children: /* @__PURE__ */ e.jsxs(c, { children: [
243
- /* @__PURE__ */ e.jsx(g, { asChild: !0, children: u ? /* @__PURE__ */ e.jsx("div", { className: "inline-block", "aria-disabled": "true", children: s }) : s }),
244
- /* @__PURE__ */ e.jsx(f, { side: l, children: t })
245
- ] }) }) : t ? /* @__PURE__ */ e.jsx(b, { children: /* @__PURE__ */ e.jsxs(c, { children: [
246
- /* @__PURE__ */ e.jsx(g, { asChild: !0, children: s }),
247
- /* @__PURE__ */ e.jsx(f, { side: l, children: t })
240
+ return t && (a || r) ? /* @__PURE__ */ e.jsx(b, { children: /* @__PURE__ */ e.jsxs(f, { children: [
241
+ /* @__PURE__ */ e.jsx(c, { asChild: !0, children: u ? /* @__PURE__ */ e.jsx("div", { className: "inline-block", "aria-disabled": "true", children: s }) : s }),
242
+ /* @__PURE__ */ e.jsx(g, { side: l, children: t })
243
+ ] }) }) : t ? /* @__PURE__ */ e.jsx(b, { children: /* @__PURE__ */ e.jsxs(f, { children: [
244
+ /* @__PURE__ */ e.jsx(c, { asChild: !0, children: s }),
245
+ /* @__PURE__ */ e.jsx(g, { side: l, children: t })
248
246
  ] }) }) : s;
249
247
  }
250
248
  );
@@ -0,0 +1,48 @@
1
+ import { j as a, c as s } from "./index-C_XDkVGm.js";
2
+ import * as e from "@radix-ui/react-collapsible";
3
+ function l({
4
+ ...t
5
+ }) {
6
+ return /* @__PURE__ */ a.jsx(e.Root, { "data-slot": "collapsible", ...t });
7
+ }
8
+ function n({
9
+ ...t
10
+ }) {
11
+ return /* @__PURE__ */ a.jsx(
12
+ e.CollapsibleTrigger,
13
+ {
14
+ "data-slot": "collapsible-trigger",
15
+ ...t
16
+ }
17
+ );
18
+ }
19
+ function d({
20
+ className: t,
21
+ ...o
22
+ }) {
23
+ return /* @__PURE__ */ a.jsx(
24
+ e.CollapsibleContent,
25
+ {
26
+ "data-slot": "collapsible-content",
27
+ className: s(
28
+ `
29
+ data-[side=bottom]:slide-in-from-top-2
30
+ data-[side=left]:slide-in-from-right-2
31
+ data-[side=right]:slide-in-from-left-2
32
+ data-[side=top]:slide-in-from-bottom-2
33
+ data-[state=closed]:animate-out data-[state=closed]:fade-out-0
34
+ data-[state=closed]:slide-out-to-top-2
35
+ data-[state=open]:animate-in data-[state=open]:fade-in-0
36
+ data-[state=open]:slide-in-from-top-2
37
+ `,
38
+ t
39
+ ),
40
+ ...o
41
+ }
42
+ );
43
+ }
44
+ export {
45
+ l as C,
46
+ d as a,
47
+ n as b
48
+ };
@@ -1,6 +1,6 @@
1
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-DSpGxL2e.js";
3
+ import { b as r } from "../button-CKrOlPSD.js";
4
4
  function c({
5
5
  ...t
6
6
  }) {
@@ -10,7 +10,11 @@ function b({ className: r, ...e }) {
10
10
  {
11
11
  "data-slot": "breadcrumb-list",
12
12
  className: t(
13
- "text-muted-foreground paragraph-sm flex flex-wrap items-center gap-1.5 wrap-break-word sm:gap-2.5",
13
+ `
14
+ flex flex-wrap items-center gap-1.5 paragraph-sm wrap-break-word
15
+ text-muted-foreground
16
+ sm:gap-2.5
17
+ `,
14
18
  r
15
19
  ),
16
20
  ...e
@@ -37,7 +41,13 @@ function x({
37
41
  n,
38
42
  {
39
43
  "data-slot": "breadcrumb-link",
40
- className: t("hover:text-foreground transition-colors", e),
44
+ className: t(
45
+ `
46
+ transition-colors
47
+ hover:text-foreground
48
+ `,
49
+ e
50
+ ),
41
51
  ...s
42
52
  }
43
53
  );
@@ -50,7 +60,7 @@ function f({ className: r, ...e }) {
50
60
  role: "link",
51
61
  "aria-disabled": "true",
52
62
  "aria-current": "page",
53
- className: t("text-foreground font-semibold", r),
63
+ className: t("font-semibold text-foreground", r),
54
64
  ...e
55
65
  }
56
66
  );
@@ -83,7 +93,10 @@ function j({
83
93
  role: "presentation",
84
94
  "aria-hidden": "true",
85
95
  className: t(
86
- "flex size-9 items-center justify-center [&>svg]:size-3.5",
96
+ `
97
+ flex size-9 items-center justify-center
98
+ [&>svg]:size-3.5
99
+ `,
87
100
  r
88
101
  ),
89
102
  ...e,
@@ -3,12 +3,28 @@ import { Slot as i } from "@radix-ui/react-slot";
3
3
  import { cva as a } from "class-variance-authority";
4
4
  import { D as l } from "../divider-DnPsAXol.js";
5
5
  const d = a(
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",
6
+ `
7
+ flex w-fit items-stretch
8
+ *:focus-visible:relative *:focus-visible:z-10
9
+ has-[>[data-slot=button-group]]:gap-2
10
+ has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-full
11
+ [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit
12
+ [&>input]:flex-1
13
+ `,
7
14
  {
8
15
  variants: {
9
16
  orientation: {
10
- horizontal: "[&>*:not(:first-child)]:rounded-l-none! [&>*:not(:first-child)]:border-l-0 [&>*:not(:last-child)]:rounded-r-none!",
11
- vertical: "flex-col [&>*:not(:first-child)]:rounded-t-none! [&>*:not(:first-child)]:border-t-0 [&>*:not(:last-child)]:rounded-b-none!"
17
+ horizontal: `
18
+ [&>*:not(:first-child)]:rounded-l-none!
19
+ [&>*:not(:first-child)]:border-l-0
20
+ [&>*:not(:last-child)]:rounded-r-none!
21
+ `,
22
+ vertical: `
23
+ flex-col
24
+ [&>*:not(:first-child)]:rounded-t-none!
25
+ [&>*:not(:first-child)]:border-t-0
26
+ [&>*:not(:last-child)]:rounded-b-none!
27
+ `
12
28
  }
13
29
  },
14
30
  defaultVariants: {
@@ -42,7 +58,12 @@ function h({
42
58
  s,
43
59
  {
44
60
  className: n(
45
- "bg-muted flex items-center gap-2 rounded-full border px-4 text-sm font-medium shadow-xs [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4",
61
+ `
62
+ flex items-center gap-2 rounded-full border bg-muted px-4 text-sm
63
+ font-medium shadow-xs
64
+ [&_svg]:pointer-events-none
65
+ [&_svg:not([class*='size-'])]:size-4
66
+ `,
46
67
  o
47
68
  ),
48
69
  ...e
@@ -60,7 +81,10 @@ function v({
60
81
  "data-slot": "button-group-separator",
61
82
  orientation: t,
62
83
  className: n(
63
- "bg-input relative m-0! self-stretch data-[orientation=vertical]:h-auto",
84
+ `
85
+ relative m-0! self-stretch bg-input
86
+ data-[orientation=vertical]:h-auto
87
+ `,
64
88
  o
65
89
  ),
66
90
  ...e
@@ -1,4 +1,4 @@
1
- import { B as s, b as a } from "../button-DSpGxL2e.js";
1
+ import { B as s, b as a } from "../button-CKrOlPSD.js";
2
2
  export {
3
3
  s as Button,
4
4
  a as buttonStyles
@@ -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 m, DayPicker as x } from "react-day-picker";
4
- import { b as f, B as h } from "../button-DSpGxL2e.js";
4
+ import { b as f, B as h } from "../button-CKrOlPSD.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,48 +1,6 @@
1
- import { j as a, c as i } from "../index-C_XDkVGm.js";
2
- import * as e from "@radix-ui/react-collapsible";
3
- function s({
4
- ...t
5
- }) {
6
- return /* @__PURE__ */ a.jsx(e.Root, { "data-slot": "collapsible", ...t });
7
- }
8
- function n({
9
- ...t
10
- }) {
11
- return /* @__PURE__ */ a.jsx(
12
- e.CollapsibleTrigger,
13
- {
14
- "data-slot": "collapsible-trigger",
15
- ...t
16
- }
17
- );
18
- }
19
- function d({
20
- className: t,
21
- ...o
22
- }) {
23
- return /* @__PURE__ */ a.jsx(
24
- e.CollapsibleContent,
25
- {
26
- "data-slot": "collapsible-content",
27
- className: i(
28
- `
29
- data-[side=bottom]:slide-in-from-top-2
30
- data-[side=left]:slide-in-from-right-2
31
- data-[side=right]:slide-in-from-left-2
32
- data-[side=top]:slide-in-from-bottom-2
33
- data-[state=closed]:animate-out data-[state=closed]:fade-out-0
34
- data-[state=closed]:slide-out-to-top-2
35
- data-[state=open]:animate-in data-[state=open]:fade-in-0
36
- data-[state=open]:slide-in-from-top-2
37
- `,
38
- t
39
- ),
40
- ...o
41
- }
42
- );
43
- }
1
+ import { C as e, a as o, b as s } from "../collapsible-DezttNhr.js";
44
2
  export {
45
- s as Collapsible,
46
- d as CollapsibleContent,
47
- n as CollapsibleTrigger
3
+ e as Collapsible,
4
+ o as CollapsibleContent,
5
+ s as CollapsibleTrigger
48
6
  };
@@ -1,313 +1,18 @@
1
- import { j as t, c as r } from "../index-C_XDkVGm.js";
2
- import * as n from "@radix-ui/react-dropdown-menu";
3
- import { CheckIcon as d, CircleIcon as i, CaretRightIcon as u } from "@phosphor-icons/react";
4
- function p({
5
- ...e
6
- }) {
7
- return /* @__PURE__ */ t.jsx(n.Root, { "data-slot": "dropdown-menu", ...e });
8
- }
9
- function m({
10
- ...e
11
- }) {
12
- return /* @__PURE__ */ t.jsx(n.Portal, { "data-slot": "dropdown-menu-portal", ...e });
13
- }
14
- function f({
15
- ...e
16
- }) {
17
- return /* @__PURE__ */ t.jsx(
18
- n.Trigger,
19
- {
20
- "data-slot": "dropdown-menu-trigger",
21
- ...e
22
- }
23
- );
24
- }
25
- function g({
26
- className: e,
27
- sideOffset: o = 4,
28
- collisionPadding: a = 24,
29
- ...s
30
- }) {
31
- return /* @__PURE__ */ t.jsx(n.Portal, { children: /* @__PURE__ */ t.jsx(
32
- n.Content,
33
- {
34
- "data-slot": "dropdown-menu-content",
35
- sideOffset: o,
36
- className: r(
37
- `
38
- z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-32
39
- origin-(--radix-dropdown-menu-content-transform-origin)
40
- overflow-x-hidden overflow-y-auto rounded-md border bg-popover p-1
41
- text-popover-foreground shadow-md
42
- data-[side=bottom]:slide-in-from-top-2
43
- data-[side=left]:slide-in-from-right-2
44
- data-[side=right]:slide-in-from-left-2
45
- data-[side=top]:slide-in-from-bottom-2
46
- data-[state=closed]:animate-out data-[state=closed]:fade-out-0
47
- data-[state=closed]:zoom-out-95
48
- data-[state=open]:animate-in data-[state=open]:fade-in-0
49
- data-[state=open]:zoom-in-95
50
- `,
51
- e
52
- ),
53
- collisionPadding: a,
54
- ...s
55
- }
56
- ) });
57
- }
58
- function x({
59
- ...e
60
- }) {
61
- return /* @__PURE__ */ t.jsx(n.Group, { "data-slot": "dropdown-menu-group", ...e });
62
- }
63
- function v({
64
- className: e,
65
- inset: o,
66
- variant: a = "default",
67
- ...s
68
- }) {
69
- return /* @__PURE__ */ t.jsx(
70
- n.Item,
71
- {
72
- "data-slot": "dropdown-menu-item",
73
- "data-inset": o,
74
- "data-variant": a,
75
- className: r(
76
- `
77
- relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5
78
- paragraph-sm outline-hidden select-none
79
- focus:bg-accent focus:text-accent-foreground
80
- data-disabled:pointer-events-none data-disabled:opacity-50
81
- data-inset:pl-8
82
- data-[variant=destructive]:text-destructive-foreground
83
- data-[variant=destructive]:focus:bg-destructive
84
- data-[variant=destructive]:focus:text-destructive-foreground
85
- dark:data-[variant=destructive]:focus:bg-destructive/80
86
- [&_svg]:pointer-events-none [&_svg]:shrink-0
87
- [&_svg:not([class*='size-'])]:size-4
88
- data-[variant=destructive]:*:[svg]:text-destructive-foreground!
89
- `,
90
- e
91
- ),
92
- ...s
93
- }
94
- );
95
- }
96
- function b({
97
- className: e,
98
- children: o,
99
- checked: a,
100
- ...s
101
- }) {
102
- return /* @__PURE__ */ t.jsxs(
103
- n.CheckboxItem,
104
- {
105
- "data-slot": "dropdown-menu-checkbox-item",
106
- className: r(
107
- `
108
- relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2
109
- pl-8 paragraph-sm outline-hidden select-none
110
- focus:bg-accent focus:text-accent-foreground
111
- data-disabled:pointer-events-none data-disabled:opacity-50
112
- [&_svg]:pointer-events-none [&_svg]:shrink-0
113
- [&_svg:not([class*='size-'])]:size-4
114
- `,
115
- e
116
- ),
117
- checked: a,
118
- ...s,
119
- children: [
120
- /* @__PURE__ */ t.jsx(
121
- "span",
122
- {
123
- className: `\r
124
- pointer-events-none absolute left-2 flex size-3.5 items-center\r
125
- justify-center\r
126
- `,
127
- children: /* @__PURE__ */ t.jsx(n.ItemIndicator, { children: /* @__PURE__ */ t.jsx(d, { className: "size-4" }) })
128
- }
129
- ),
130
- o
131
- ]
132
- }
133
- );
134
- }
135
- function w({
136
- ...e
137
- }) {
138
- return /* @__PURE__ */ t.jsx(
139
- n.RadioGroup,
140
- {
141
- "data-slot": "dropdown-menu-radio-group",
142
- ...e
143
- }
144
- );
145
- }
146
- function h({
147
- className: e,
148
- children: o,
149
- ...a
150
- }) {
151
- return /* @__PURE__ */ t.jsxs(
152
- n.RadioItem,
153
- {
154
- "data-slot": "dropdown-menu-radio-item",
155
- className: r(
156
- `
157
- relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2
158
- pl-8 paragraph-sm outline-hidden select-none
159
- focus:bg-accent focus:text-accent-foreground
160
- data-disabled:pointer-events-none data-disabled:opacity-50
161
- [&_svg]:pointer-events-none [&_svg]:shrink-0
162
- [&_svg:not([class*='size-'])]:size-4
163
- `,
164
- e
165
- ),
166
- ...a,
167
- children: [
168
- /* @__PURE__ */ t.jsx(
169
- "span",
170
- {
171
- className: `\r
172
- pointer-events-none absolute left-2 flex size-3.5 items-center\r
173
- justify-center\r
174
- `,
175
- children: /* @__PURE__ */ t.jsx(n.ItemIndicator, { children: /* @__PURE__ */ t.jsx(i, { weight: "fill", className: "size-2 fill-current" }) })
176
- }
177
- ),
178
- o
179
- ]
180
- }
181
- );
182
- }
183
- function j({
184
- className: e,
185
- inset: o,
186
- ...a
187
- }) {
188
- return /* @__PURE__ */ t.jsx(
189
- n.Label,
190
- {
191
- "data-slot": "dropdown-menu-label",
192
- "data-inset": o,
193
- className: r(
194
- `
195
- px-2 py-1.5 paragraph-sm font-semibold
196
- data-inset:pl-8
197
- `,
198
- e
199
- ),
200
- ...a
201
- }
202
- );
203
- }
204
- function z({
205
- className: e,
206
- ...o
207
- }) {
208
- return /* @__PURE__ */ t.jsx(
209
- n.Separator,
210
- {
211
- "data-slot": "dropdown-menu-separator",
212
- className: r("-mx-1 my-1 h-px bg-border", e),
213
- ...o
214
- }
215
- );
216
- }
217
- function D({
218
- className: e,
219
- ...o
220
- }) {
221
- return /* @__PURE__ */ t.jsx(
222
- "span",
223
- {
224
- "data-slot": "dropdown-menu-shortcut",
225
- className: r(
226
- "ml-auto paragraph-xs tracking-widest text-muted-foreground",
227
- e
228
- ),
229
- ...o
230
- }
231
- );
232
- }
233
- function M({
234
- ...e
235
- }) {
236
- return /* @__PURE__ */ t.jsx(n.Sub, { "data-slot": "dropdown-menu-sub", ...e });
237
- }
238
- function N({
239
- className: e,
240
- inset: o,
241
- children: a,
242
- ...s
243
- }) {
244
- return /* @__PURE__ */ t.jsxs(
245
- n.SubTrigger,
246
- {
247
- "data-slot": "dropdown-menu-sub-trigger",
248
- "data-inset": o,
249
- className: r(
250
- `
251
- relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5
252
- paragraph-sm outline-hidden select-none
253
- focus:bg-accent focus:text-accent-foreground
254
- data-disabled:pointer-events-none data-disabled:opacity-50
255
- data-inset:pl-8
256
- [&_svg]:pointer-events-none [&_svg]:shrink-0
257
- [&_svg:not([class*='size-'])]:size-4
258
- `,
259
- e
260
- ),
261
- ...s,
262
- children: [
263
- a,
264
- /* @__PURE__ */ t.jsx(u, { className: "ml-auto size-4" })
265
- ]
266
- }
267
- );
268
- }
269
- function y({
270
- className: e,
271
- ...o
272
- }) {
273
- return /* @__PURE__ */ t.jsx(
274
- n.SubContent,
275
- {
276
- "data-slot": "dropdown-menu-sub-content",
277
- className: r(
278
- `
279
- z-50 min-w-32 origin-(--radix-dropdown-menu-content-transform-origin)
280
- overflow-hidden rounded-md border bg-popover p-1
281
- text-popover-foreground shadow-lg
282
- data-[side=bottom]:slide-in-from-top-2
283
- data-[side=left]:slide-in-from-right-2
284
- data-[side=right]:slide-in-from-left-2
285
- data-[side=top]:slide-in-from-bottom-2
286
- data-[state=closed]:animate-out data-[state=closed]:fade-out-0
287
- data-[state=closed]:zoom-out-95
288
- data-[state=open]:animate-in data-[state=open]:fade-in-0
289
- data-[state=open]:zoom-in-95
290
- `,
291
- e
292
- ),
293
- ...o
294
- }
295
- );
296
- }
1
+ import { D as e, a as r, b as a, c as u, d as p, e as d, f as D, g as s, h as w, i as M, j as t, k as b, l as g, m as i, n as m } from "../dropdown-menu-VOZwAyVb.js";
297
2
  export {
298
- p as DropdownMenu,
299
- b as DropdownMenuCheckboxItem,
300
- g as DropdownMenuContent,
301
- x as DropdownMenuGroup,
302
- v as DropdownMenuItem,
303
- j as DropdownMenuLabel,
304
- m as DropdownMenuPortal,
305
- w as DropdownMenuRadioGroup,
306
- h as DropdownMenuRadioItem,
307
- z as DropdownMenuSeparator,
308
- D as DropdownMenuShortcut,
309
- M as DropdownMenuSub,
310
- y as DropdownMenuSubContent,
311
- N as DropdownMenuSubTrigger,
312
- f as DropdownMenuTrigger
3
+ e as DropdownMenu,
4
+ r as DropdownMenuCheckboxItem,
5
+ a as DropdownMenuContent,
6
+ u as DropdownMenuGroup,
7
+ p as DropdownMenuItem,
8
+ d as DropdownMenuLabel,
9
+ D as DropdownMenuPortal,
10
+ s as DropdownMenuRadioGroup,
11
+ w as DropdownMenuRadioItem,
12
+ M as DropdownMenuSeparator,
13
+ t as DropdownMenuShortcut,
14
+ b as DropdownMenuSub,
15
+ g as DropdownMenuSubContent,
16
+ i as DropdownMenuSubTrigger,
17
+ m as DropdownMenuTrigger
313
18
  };
@@ -0,0 +1,26 @@
1
+ import * as React from 'react';
2
+ import { Label } from '@/components/label';
3
+ declare const FieldGroup: {
4
+ ({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
5
+ displayName: string;
6
+ };
7
+ declare const Field: {
8
+ ({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
9
+ displayName: string;
10
+ };
11
+ interface FieldLabelProps extends React.ComponentPropsWithoutRef<typeof Label> {
12
+ }
13
+ declare const FieldLabel: React.ForwardRefExoticComponent<FieldLabelProps & React.RefAttributes<HTMLLabelElement>>;
14
+ declare const FieldDescription: {
15
+ ({ className, ...props }: React.ComponentProps<"p">): import("react/jsx-runtime").JSX.Element;
16
+ displayName: string;
17
+ };
18
+ declare const fieldMessageVariants: {
19
+ readonly error: "text-destructive-foreground";
20
+ readonly success: "text-success-foreground";
21
+ };
22
+ interface FieldMessageProps extends React.ComponentProps<'p'> {
23
+ variant?: keyof typeof fieldMessageVariants;
24
+ }
25
+ declare const FieldMessage: React.ForwardRefExoticComponent<Omit<FieldMessageProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
26
+ export { Field, FieldDescription, FieldGroup, FieldLabel, FieldMessage };