fina-react-ds 1.0.37 → 1.0.39

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 (37) hide show
  1. package/dist/components/calendar.js +11 -12
  2. package/dist/components/data-loader.js +1 -1
  3. package/dist/components/date-picker.js +28 -28
  4. package/dist/components/file-uploader.js +46 -47
  5. package/dist/components/form-file-uploader.d.ts +2 -1
  6. package/dist/components/form-file-uploader.js +18 -16
  7. package/dist/components/form-image-uploader.d.ts +2 -1
  8. package/dist/components/form-image-uploader.js +23 -14
  9. package/dist/components/form-input.d.ts +2 -1
  10. package/dist/components/form-input.js +22 -20
  11. package/dist/components/form-select.d.ts +2 -1
  12. package/dist/components/form-select.js +31 -29
  13. package/dist/components/form-textarea.d.ts +2 -1
  14. package/dist/components/form-textarea.js +22 -20
  15. package/dist/components/form.js +14 -14
  16. package/dist/components/html-input.d.ts +1 -0
  17. package/dist/components/image-uploader.js +53 -54
  18. package/dist/components/index.d.ts +45 -0
  19. package/dist/components/index.js +200 -0
  20. package/dist/components/select.js +39 -39
  21. package/dist/components/sidebar.js +49 -49
  22. package/dist/hooks/index.d.ts +1 -0
  23. package/dist/hooks/index.js +4 -0
  24. package/dist/lib/index.d.ts +6 -0
  25. package/dist/lib/index.js +27 -0
  26. package/package.json +49 -36
  27. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -12
  28. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -21
  29. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildMatchFn.js +0 -36
  30. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -18
  31. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatDistance.js +0 -72
  32. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatLong.js +0 -33
  33. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatRelative.js +0 -13
  34. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/localize.js +0 -123
  35. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/match.js +0 -112
  36. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr.js +0 -21
  37. package/dist/themes/base.css +0 -3396
@@ -1,33 +1,35 @@
1
- var F = Object.defineProperty;
2
- var t = (o, e) => F(o, "name", { value: e, configurable: !0 });
3
- import { jsx as r, jsxs as c } from "react/jsx-runtime";
4
- import { useFormContext as f } from "react-hook-form";
5
- import { FormField as d, FormItem as p, FormLabel as u, FormControl as x, FormMessage as h } from "./form.js";
6
- import { Textarea as j } from "./textarea.js";
7
- function I({
1
+ var c = Object.defineProperty;
2
+ var m = (o, e) => c(o, "name", { value: e, configurable: !0 });
3
+ import { jsx as r, jsxs as f } from "react/jsx-runtime";
4
+ import { useFormContext as d } from "react-hook-form";
5
+ import { FormField as p, FormItem as u, FormLabel as x, FormControl as h, FormDescription as j, FormMessage as v } from "./form.js";
6
+ import { Textarea as C } from "./textarea.js";
7
+ function L({
8
8
  name: o,
9
9
  label: e,
10
- required: m = !1,
11
- ...n
10
+ description: t,
11
+ required: n = !1,
12
+ ...l
12
13
  }) {
13
- const { control: l } = f();
14
+ const { control: i } = d();
14
15
  return /* @__PURE__ */ r(
15
- d,
16
+ p,
16
17
  {
17
- control: l,
18
+ control: i,
18
19
  name: o,
19
- render: /* @__PURE__ */ t(({ field: i }) => {
20
- const { value: s, ...a } = i;
21
- return /* @__PURE__ */ c(p, { children: [
22
- /* @__PURE__ */ r(u, { required: m, children: e }),
23
- /* @__PURE__ */ r(x, { children: /* @__PURE__ */ r(j, { value: s ?? "", ...a, ...n }) }),
24
- /* @__PURE__ */ r(h, {})
20
+ render: /* @__PURE__ */ m(({ field: s }) => {
21
+ const { value: a, ...F } = s;
22
+ return /* @__PURE__ */ f(u, { children: [
23
+ /* @__PURE__ */ r(x, { required: n, children: e }),
24
+ /* @__PURE__ */ r(h, { children: /* @__PURE__ */ r(C, { value: a ?? "", ...F, ...l }) }),
25
+ t && /* @__PURE__ */ r(j, { children: t }),
26
+ /* @__PURE__ */ r(v, {})
25
27
  ] });
26
28
  }, "render")
27
29
  }
28
30
  );
29
31
  }
30
- t(I, "FormTextarea");
32
+ m(L, "FormTextarea");
31
33
  export {
32
- I as FormTextarea
34
+ L as FormTextarea
33
35
  };
@@ -11,7 +11,7 @@ const M = x, l = i.createContext(
11
11
  ), N = /* @__PURE__ */ n(({
12
12
  ...t
13
13
  }) => /* @__PURE__ */ s(l.Provider, { value: { name: t.name }, children: /* @__PURE__ */ s(g, { ...t }) }), "FormField"), c = /* @__PURE__ */ n(() => {
14
- const t = i.useContext(l), e = i.useContext(f), { getFieldState: o } = I(), r = p({ name: t.name }), m = o(t.name, r);
14
+ const t = i.useContext(l), e = i.useContext(f), { getFieldState: r } = I(), o = p({ name: t.name }), m = r(t.name, o);
15
15
  if (!t)
16
16
  throw new Error("useFormField should be used within <FormField>");
17
17
  const { id: a } = e;
@@ -27,8 +27,8 @@ const M = x, l = i.createContext(
27
27
  {}
28
28
  );
29
29
  function w({ className: t, ...e }) {
30
- const o = i.useId();
31
- return /* @__PURE__ */ s(f.Provider, { value: { id: o }, children: /* @__PURE__ */ s(
30
+ const r = i.useId();
31
+ return /* @__PURE__ */ s(f.Provider, { value: { id: r }, children: /* @__PURE__ */ s(
32
32
  "div",
33
33
  {
34
34
  "data-slot": "form-item",
@@ -41,30 +41,30 @@ n(w, "FormItem");
41
41
  function P({
42
42
  className: t,
43
43
  required: e = !1,
44
- ...o
44
+ ...r
45
45
  }) {
46
- const { error: r, formItemId: m } = c();
46
+ const { error: o, formItemId: m } = c();
47
47
  return /* @__PURE__ */ s(
48
48
  C,
49
49
  {
50
50
  "data-slot": "form-label",
51
- "data-error": !!r,
51
+ "data-error": !!o,
52
52
  className: d("data-[error=true]:text-destructive", t),
53
53
  htmlFor: m,
54
54
  required: e,
55
- ...o
55
+ ...r
56
56
  }
57
57
  );
58
58
  }
59
59
  n(P, "FormLabel");
60
60
  function y({ ...t }) {
61
- const { error: e, formItemId: o, formDescriptionId: r, formMessageId: m } = c();
61
+ const { error: e, formItemId: r, formDescriptionId: o, formMessageId: m } = c();
62
62
  return /* @__PURE__ */ s(
63
63
  F.Root,
64
64
  {
65
65
  "data-slot": "form-control",
66
- id: o,
67
- "aria-describedby": e ? `${r} ${m}` : `${r}`,
66
+ id: r,
67
+ "aria-describedby": e ? `${o} ${m}` : `${o}`,
68
68
  "aria-invalid": !!e,
69
69
  ...t
70
70
  }
@@ -72,12 +72,12 @@ function y({ ...t }) {
72
72
  }
73
73
  n(y, "FormControl");
74
74
  function L({ className: t, ...e }) {
75
- const { formDescriptionId: o } = c();
75
+ const { formDescriptionId: r } = c();
76
76
  return /* @__PURE__ */ s(
77
77
  "p",
78
78
  {
79
79
  "data-slot": "form-description",
80
- id: o,
80
+ id: r,
81
81
  className: d("text-muted text-sm", t),
82
82
  ...e
83
83
  }
@@ -85,12 +85,12 @@ function L({ className: t, ...e }) {
85
85
  }
86
86
  n(L, "FormDescription");
87
87
  function R({ className: t, ...e }) {
88
- const { error: o, formMessageId: r } = c(), m = o ? String((o == null ? void 0 : o.message) ?? "") : e.children;
88
+ const { error: r, formMessageId: o } = c(), m = r ? String(r?.message ?? "") : e.children;
89
89
  return m ? /* @__PURE__ */ s(
90
90
  "p",
91
91
  {
92
92
  "data-slot": "form-message",
93
- id: r,
93
+ id: o,
94
94
  className: d("text-destructive text-sm", t),
95
95
  ...e,
96
96
  children: m
@@ -0,0 +1 @@
1
+ export declare function HtmlInput(): import("react/jsx-runtime").JSX.Element;
@@ -1,15 +1,15 @@
1
1
  var k = Object.defineProperty;
2
- var l = (r, n) => k(r, "name", { value: n, configurable: !0 });
3
- import { jsxs as s, jsx as i, Fragment as x } from "react/jsx-runtime";
4
- import { useState as F, useImperativeHandle as D, useCallback as b } from "react";
5
- import { FileIcon as I, UploadIcon as w } from "lucide-react";
6
- import { useDropzone as P } from "react-dropzone";
7
- import { cn as o } from "../lib/utils.js";
8
- import { Button as S } from "./button.js";
9
- function q({
10
- onChange: r,
11
- "aria-invalid": n,
12
- ref: v,
2
+ var s = (i, o) => k(i, "name", { value: o, configurable: !0 });
3
+ import { jsxs as r, jsx as e, Fragment as x } from "react/jsx-runtime";
4
+ import { useState as F, useImperativeHandle as C, useCallback as g } from "react";
5
+ import { FileIcon as D, UploadIcon as I } from "lucide-react";
6
+ import { useDropzone as w } from "react-dropzone";
7
+ import { cn as c } from "../lib/utils.js";
8
+ import { Button as P } from "./button.js";
9
+ function O({
10
+ onChange: i,
11
+ "aria-invalid": o,
12
+ ref: b,
13
13
  actualImageUrl: a = ""
14
14
  }) {
15
15
  const d = {
@@ -17,30 +17,30 @@ function q({
17
17
  "image/png": ["*"],
18
18
  "image/gif": ["*"]
19
19
  }, [m, u] = F([]);
20
- D(v, () => ({
21
- focus: /* @__PURE__ */ l(() => {
22
- e != null && e.current && e.current.focus();
20
+ C(b, () => ({
21
+ focus: /* @__PURE__ */ s(() => {
22
+ t?.current && t.current.focus();
23
23
  }, "focus")
24
24
  }));
25
- const g = b(
26
- (t) => {
27
- u(t), r == null || r(t.length > 0 ? t[0] : null);
25
+ const v = g(
26
+ (n) => {
27
+ u(n), i?.(n.length > 0 ? n[0] : null);
28
28
  },
29
- [r]
30
- ), h = /* @__PURE__ */ l(() => {
31
- e != null && e.current && e.current.focus();
32
- }, "handleFileDialogCancel"), { getRootProps: N, getInputProps: y, acceptedFiles: p, open: j, rootRef: e } = P({
29
+ [i]
30
+ ), h = /* @__PURE__ */ s(() => {
31
+ t?.current && t.current.focus();
32
+ }, "handleFileDialogCancel"), { getRootProps: N, getInputProps: y, acceptedFiles: f, open: j, rootRef: t } = w({
33
33
  maxFiles: 1,
34
34
  noClick: !0,
35
- onDrop: g,
35
+ onDrop: v,
36
36
  onFileDialogCancel: h,
37
37
  accept: d
38
- }), z = b((t) => {
39
- let c = 0, f = "ko";
40
- return c = t.size / 1e3, c > 1e3 && (c /= 1e3, f = "mo"), c.toFixed(2) + " " + f;
38
+ }), z = g((n) => {
39
+ let l = 0, p = "ko";
40
+ return l = n.size / 1e3, l > 1e3 && (l /= 1e3, p = "mo"), l.toFixed(2) + " " + p;
41
41
  }, []);
42
- return /* @__PURE__ */ s("div", { className: "flex space-x-2 items-center h-50", children: [
43
- a && /* @__PURE__ */ i("div", { className: "flex-1 h-full", children: /* @__PURE__ */ i(
42
+ return /* @__PURE__ */ r("div", { className: "flex space-x-2 items-center h-50", children: [
43
+ a && /* @__PURE__ */ e("div", { className: "flex-1 h-full", children: /* @__PURE__ */ e(
44
44
  "img",
45
45
  {
46
46
  src: a,
@@ -48,60 +48,59 @@ function q({
48
48
  className: "w-full h-full object-cover object-center rounded-md"
49
49
  }
50
50
  ) }),
51
- /* @__PURE__ */ s(
51
+ /* @__PURE__ */ r(
52
52
  "div",
53
53
  {
54
54
  ...N(),
55
- className: o(
55
+ className: c(
56
56
  "bg-input border border-input-border flex flex-col h-50 flex-2 rounded-md px-3 py-1 text-base shadow-xs items-center justify-center md:text-sm outline-none",
57
57
  "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
58
58
  "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive"
59
59
  ),
60
- "aria-invalid": n,
60
+ "aria-invalid": o,
61
61
  children: [
62
- m.length > 0 && /* @__PURE__ */ s(x, { children: [
63
- /* @__PURE__ */ i(
62
+ m.length > 0 && /* @__PURE__ */ r(x, { children: [
63
+ /* @__PURE__ */ e(
64
64
  "div",
65
65
  {
66
- className: o(
66
+ className: c(
67
67
  "bg-primary text-primary-foreground flex items-center justify-center rounded-full size-10 mb-4"
68
68
  ),
69
- children: /* @__PURE__ */ i(I, { className: "size-4" })
69
+ children: /* @__PURE__ */ e(D, { className: "size-4" })
70
70
  }
71
71
  ),
72
- /* @__PURE__ */ s("div", { className: "mb-4 text-center", children: [
73
- p[0].name,
74
- /* @__PURE__ */ i("br", {}),
75
- z(p[0])
72
+ /* @__PURE__ */ r("div", { className: "mb-4 text-center", children: [
73
+ f[0].name,
74
+ /* @__PURE__ */ e("br", {}),
75
+ z(f[0])
76
76
  ] }),
77
- /* @__PURE__ */ i(
78
- S,
77
+ /* @__PURE__ */ e(
78
+ P,
79
79
  {
80
80
  type: "button",
81
81
  color: "destructive",
82
82
  variant: "ghost",
83
- onClick: /* @__PURE__ */ l(() => {
84
- var t;
85
- u([]), r == null || r(null), (t = e == null ? void 0 : e.current) == null || t.focus();
83
+ onClick: /* @__PURE__ */ s(() => {
84
+ u([]), i?.(null), t?.current?.focus();
86
85
  }, "onClick"),
87
86
  children: "Supprimer"
88
87
  }
89
88
  )
90
89
  ] }),
91
- m.length === 0 && /* @__PURE__ */ s(x, { children: [
92
- /* @__PURE__ */ i(
90
+ m.length === 0 && /* @__PURE__ */ r(x, { children: [
91
+ /* @__PURE__ */ e(
93
92
  "div",
94
93
  {
95
- className: o(
94
+ className: c(
96
95
  "bg-primary text-primary-foreground flex items-center justify-center rounded-full size-10 mb-4"
97
96
  ),
98
- children: /* @__PURE__ */ i(w, { className: "size-4" })
97
+ children: /* @__PURE__ */ e(I, { className: "size-4" })
99
98
  }
100
99
  ),
101
- /* @__PURE__ */ s("div", { className: "mb-4", children: [
100
+ /* @__PURE__ */ r("div", { className: "mb-4", children: [
102
101
  "Glisser-déposer ou",
103
102
  " ",
104
- /* @__PURE__ */ i(
103
+ /* @__PURE__ */ e(
105
104
  "span",
106
105
  {
107
106
  className: "font-bold underline cursor-pointer",
@@ -112,20 +111,20 @@ function q({
112
111
  " ",
113
112
  "à uploader"
114
113
  ] }),
115
- /* @__PURE__ */ s("div", { className: "text-center text-sm md:text-xs", children: [
114
+ /* @__PURE__ */ r("div", { className: "text-center text-sm md:text-xs", children: [
116
115
  "Formats acceptés : ",
117
116
  Object.keys(d).join(", "),
118
- /* @__PURE__ */ i("br", {}),
117
+ /* @__PURE__ */ e("br", {}),
119
118
  "Taille max : 5Mo"
120
119
  ] })
121
120
  ] }),
122
- /* @__PURE__ */ i("input", { ...y() })
121
+ /* @__PURE__ */ e("input", { ...y() })
123
122
  ]
124
123
  }
125
124
  )
126
125
  ] });
127
126
  }
128
- l(q, "ImageUploader");
127
+ s(O, "ImageUploader");
129
128
  export {
130
- q as ImageUploader
129
+ O as ImageUploader
131
130
  };
@@ -0,0 +1,45 @@
1
+ export { AlertDialog, AlertDialogPortal, AlertDialogOverlay, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogAction, AlertDialogCancel, } from "./alert-dialog";
2
+ export { Alert, AlertTitle, AlertDescription } from "./alert";
3
+ export { Badge } from "./badge";
4
+ export { Button, buttonVariants } from "./button";
5
+ export { Avatar, AvatarImage, AvatarFallback } from "./avatar";
6
+ export { Calendar } from "./calendar";
7
+ export { Card, CardHeader, CardAction, CardTitle, CardDescription, CardContent, CardFooter, } from "./card";
8
+ export { Checkbox } from "./checkbox";
9
+ export { DatePicker } from "./date-picker";
10
+ export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, } from "./dialog";
11
+ export { DataLoader } from "./data-loader";
12
+ export { DropdownMenu, DropdownMenuPortal, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuGroup, DropdownMenuLabel, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubTrigger, DropdownMenuSubContent, } from "./dropdown-menu";
13
+ export { FileUploader } from "./file-uploader";
14
+ export { ImageUploader } from "./image-uploader";
15
+ export { HoverCard, HoverCardTrigger, HoverCardContent, } from "./hover-card";
16
+ export { Input } from "./input";
17
+ export { Label } from "./label";
18
+ export { ModeToggle } from "./mode-toggle";
19
+ export { Pagination, PaginationContent, PaginationLink, PaginationItem, PaginationPrevious, PaginationNext, PaginationEllipsis, } from "./pagination";
20
+ export { PasswordRulesChecker } from "./password-rules-checker";
21
+ export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor, } from "./popover";
22
+ export { Select } from "./select";
23
+ export { Separator } from "./separator";
24
+ export { Sheet, SheetTrigger, SheetClose, SheetContent, SheetHeader, SheetBody, SheetFooter, SheetTitle, SheetDescription, } from "./sheet";
25
+ export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar, } from "./sidebar";
26
+ export { SimplePagination } from "./simple-pagination";
27
+ export { SimpleTooltip } from "./simple-tooltip";
28
+ export { Skeleton } from "./skeleton";
29
+ export { Switch } from "./switch";
30
+ export { Toaster } from "./sonner";
31
+ export { Table, TableHeader, TableBody, TableFooter, TableHead, TableRow, TableCell, TableCaption, } from "./table";
32
+ export { Tabs, TabsList, TabsTrigger, TabsContent } from "./tabs";
33
+ export { Textarea } from "./textarea";
34
+ export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider, } from "./tooltip";
35
+ export { FormDate } from "./form-date";
36
+ export { FormColorPicker } from "./form-color-picker";
37
+ export { FormFileUploader } from "./form-file-uploader";
38
+ export { FormInput } from "./form-input";
39
+ export { FormSelect } from "./form-select";
40
+ export { FormSwitch } from "./form-switch";
41
+ export { FormTextarea } from "./form-textarea";
42
+ export { FormImageUploader } from "./form-image-uploader";
43
+ export { useFormField, Form, FormItem, FormLabel, FormControl, FormDescription, FormMessage, FormField, } from "./form";
44
+ export { ThemeProvider, useTheme } from "../providers/theme-provider";
45
+ export { LoaderProvider, useLoader } from "../providers/loader-provider";
@@ -0,0 +1,200 @@
1
+ import { AlertDialog as r, AlertDialogAction as t, AlertDialogCancel as a, AlertDialogContent as i, AlertDialogDescription as n, AlertDialogFooter as p, AlertDialogHeader as l, AlertDialogOverlay as d, AlertDialogPortal as m, AlertDialogTitle as g, AlertDialogTrigger as S } from "./alert-dialog.js";
2
+ import { Alert as u, AlertDescription as x, AlertTitle as f } from "./alert.js";
3
+ import { Badge as T } from "./badge.js";
4
+ import { Button as s, buttonVariants as F } from "./button.js";
5
+ import { Avatar as c, AvatarFallback as P, AvatarImage as A } from "./avatar.js";
6
+ import { Calendar as h } from "./calendar.js";
7
+ import { Card as I, CardAction as H, CardContent as k, CardDescription as L, CardFooter as B, CardHeader as G, CardTitle as R } from "./card.js";
8
+ import { Checkbox as U } from "./checkbox.js";
9
+ import { DatePicker as E } from "./date-picker.js";
10
+ import { Dialog as V, DialogClose as j, DialogContent as q, DialogDescription as z, DialogFooter as J, DialogHeader as K, DialogOverlay as Q, DialogPortal as W, DialogTitle as X, DialogTrigger as Y } from "./dialog.js";
11
+ import { DataLoader as _ } from "./data-loader.js";
12
+ import { DropdownMenu as ee, DropdownMenuCheckboxItem as oe, DropdownMenuContent as re, DropdownMenuGroup as te, DropdownMenuItem as ae, DropdownMenuLabel as ie, DropdownMenuPortal as ne, DropdownMenuRadioGroup as pe, DropdownMenuRadioItem as le, DropdownMenuSeparator as de, DropdownMenuShortcut as me, DropdownMenuSub as ge, DropdownMenuSubContent as Se, DropdownMenuSubTrigger as be, DropdownMenuTrigger as ue } from "./dropdown-menu.js";
13
+ import { FileUploader as fe } from "./file-uploader.js";
14
+ import { ImageUploader as Te } from "./image-uploader.js";
15
+ import { HoverCard as se, HoverCardContent as Fe, HoverCardTrigger as Me } from "./hover-card.js";
16
+ import { Input as Pe } from "./input.js";
17
+ import { Label as we } from "./label.js";
18
+ import { ModeToggle as ve } from "./mode-toggle.js";
19
+ import { Pagination as He, PaginationContent as ke, PaginationEllipsis as Le, PaginationItem as Be, PaginationLink as Ge, PaginationNext as Re, PaginationPrevious as ye } from "./pagination.js";
20
+ import { PasswordRulesChecker as Oe } from "./password-rules-checker.js";
21
+ import { Popover as Ne, PopoverAnchor as Ve, PopoverContent as je, PopoverTrigger as qe } from "./popover.js";
22
+ import { Select as Je } from "./select.js";
23
+ import { Separator as Qe } from "./separator.js";
24
+ import { Sheet as Xe, SheetBody as Ye, SheetClose as Ze, SheetContent as _e, SheetDescription as $e, SheetFooter as eo, SheetHeader as oo, SheetTitle as ro, SheetTrigger as to } from "./sheet.js";
25
+ import { Sidebar as io, SidebarContent as no, SidebarFooter as po, SidebarGroup as lo, SidebarGroupAction as mo, SidebarGroupContent as go, SidebarGroupLabel as So, SidebarHeader as bo, SidebarInput as uo, SidebarInset as xo, SidebarMenu as fo, SidebarMenuAction as Do, SidebarMenuBadge as To, SidebarMenuButton as Co, SidebarMenuItem as so, SidebarMenuSkeleton as Fo, SidebarMenuSub as Mo, SidebarMenuSubButton as co, SidebarMenuSubItem as Po, SidebarProvider as Ao, SidebarRail as wo, SidebarSeparator as ho, SidebarTrigger as vo, useSidebar as Io } from "./sidebar.js";
26
+ import { SimplePagination as ko } from "./simple-pagination.js";
27
+ import { SimpleTooltip as Bo } from "./simple-tooltip.js";
28
+ import { Skeleton as Ro } from "./skeleton.js";
29
+ import { Switch as Uo } from "./switch.js";
30
+ import { Toaster as Eo } from "./sonner.js";
31
+ import { Table as Vo, TableBody as jo, TableCaption as qo, TableCell as zo, TableFooter as Jo, TableHead as Ko, TableHeader as Qo, TableRow as Wo } from "./table.js";
32
+ import { Tabs as Yo, TabsContent as Zo, TabsList as _o, TabsTrigger as $o } from "./tabs.js";
33
+ import { Textarea as or } from "./textarea.js";
34
+ import { Tooltip as tr, TooltipContent as ar, TooltipProvider as ir, TooltipTrigger as nr } from "./tooltip.js";
35
+ import { FormDate as lr } from "./form-date.js";
36
+ import { FormColorPicker as mr } from "./form-color-picker.js";
37
+ import { FormFileUploader as Sr } from "./form-file-uploader.js";
38
+ import { FormInput as ur } from "./form-input.js";
39
+ import { FormSelect as fr } from "./form-select.js";
40
+ import { FormSwitch as Tr } from "./form-switch.js";
41
+ import { FormTextarea as sr } from "./form-textarea.js";
42
+ import { FormImageUploader as Mr } from "./form-image-uploader.js";
43
+ import { Form as Pr, FormControl as Ar, FormDescription as wr, FormField as hr, FormItem as vr, FormLabel as Ir, FormMessage as Hr, useFormField as kr } from "./form.js";
44
+ import { ThemeProvider as Br, useTheme as Gr } from "../providers/theme-provider.js";
45
+ import { LoaderProvider as yr, useLoader as Ur } from "../providers/loader-provider.js";
46
+ export {
47
+ u as Alert,
48
+ x as AlertDescription,
49
+ r as AlertDialog,
50
+ t as AlertDialogAction,
51
+ a as AlertDialogCancel,
52
+ i as AlertDialogContent,
53
+ n as AlertDialogDescription,
54
+ p as AlertDialogFooter,
55
+ l as AlertDialogHeader,
56
+ d as AlertDialogOverlay,
57
+ m as AlertDialogPortal,
58
+ g as AlertDialogTitle,
59
+ S as AlertDialogTrigger,
60
+ f as AlertTitle,
61
+ c as Avatar,
62
+ P as AvatarFallback,
63
+ A as AvatarImage,
64
+ T as Badge,
65
+ s as Button,
66
+ h as Calendar,
67
+ I as Card,
68
+ H as CardAction,
69
+ k as CardContent,
70
+ L as CardDescription,
71
+ B as CardFooter,
72
+ G as CardHeader,
73
+ R as CardTitle,
74
+ U as Checkbox,
75
+ _ as DataLoader,
76
+ E as DatePicker,
77
+ V as Dialog,
78
+ j as DialogClose,
79
+ q as DialogContent,
80
+ z as DialogDescription,
81
+ J as DialogFooter,
82
+ K as DialogHeader,
83
+ Q as DialogOverlay,
84
+ W as DialogPortal,
85
+ X as DialogTitle,
86
+ Y as DialogTrigger,
87
+ ee as DropdownMenu,
88
+ oe as DropdownMenuCheckboxItem,
89
+ re as DropdownMenuContent,
90
+ te as DropdownMenuGroup,
91
+ ae as DropdownMenuItem,
92
+ ie as DropdownMenuLabel,
93
+ ne as DropdownMenuPortal,
94
+ pe as DropdownMenuRadioGroup,
95
+ le as DropdownMenuRadioItem,
96
+ de as DropdownMenuSeparator,
97
+ me as DropdownMenuShortcut,
98
+ ge as DropdownMenuSub,
99
+ Se as DropdownMenuSubContent,
100
+ be as DropdownMenuSubTrigger,
101
+ ue as DropdownMenuTrigger,
102
+ fe as FileUploader,
103
+ Pr as Form,
104
+ mr as FormColorPicker,
105
+ Ar as FormControl,
106
+ lr as FormDate,
107
+ wr as FormDescription,
108
+ hr as FormField,
109
+ Sr as FormFileUploader,
110
+ Mr as FormImageUploader,
111
+ ur as FormInput,
112
+ vr as FormItem,
113
+ Ir as FormLabel,
114
+ Hr as FormMessage,
115
+ fr as FormSelect,
116
+ Tr as FormSwitch,
117
+ sr as FormTextarea,
118
+ se as HoverCard,
119
+ Fe as HoverCardContent,
120
+ Me as HoverCardTrigger,
121
+ Te as ImageUploader,
122
+ Pe as Input,
123
+ we as Label,
124
+ yr as LoaderProvider,
125
+ ve as ModeToggle,
126
+ He as Pagination,
127
+ ke as PaginationContent,
128
+ Le as PaginationEllipsis,
129
+ Be as PaginationItem,
130
+ Ge as PaginationLink,
131
+ Re as PaginationNext,
132
+ ye as PaginationPrevious,
133
+ Oe as PasswordRulesChecker,
134
+ Ne as Popover,
135
+ Ve as PopoverAnchor,
136
+ je as PopoverContent,
137
+ qe as PopoverTrigger,
138
+ Je as Select,
139
+ Qe as Separator,
140
+ Xe as Sheet,
141
+ Ye as SheetBody,
142
+ Ze as SheetClose,
143
+ _e as SheetContent,
144
+ $e as SheetDescription,
145
+ eo as SheetFooter,
146
+ oo as SheetHeader,
147
+ ro as SheetTitle,
148
+ to as SheetTrigger,
149
+ io as Sidebar,
150
+ no as SidebarContent,
151
+ po as SidebarFooter,
152
+ lo as SidebarGroup,
153
+ mo as SidebarGroupAction,
154
+ go as SidebarGroupContent,
155
+ So as SidebarGroupLabel,
156
+ bo as SidebarHeader,
157
+ uo as SidebarInput,
158
+ xo as SidebarInset,
159
+ fo as SidebarMenu,
160
+ Do as SidebarMenuAction,
161
+ To as SidebarMenuBadge,
162
+ Co as SidebarMenuButton,
163
+ so as SidebarMenuItem,
164
+ Fo as SidebarMenuSkeleton,
165
+ Mo as SidebarMenuSub,
166
+ co as SidebarMenuSubButton,
167
+ Po as SidebarMenuSubItem,
168
+ Ao as SidebarProvider,
169
+ wo as SidebarRail,
170
+ ho as SidebarSeparator,
171
+ vo as SidebarTrigger,
172
+ ko as SimplePagination,
173
+ Bo as SimpleTooltip,
174
+ Ro as Skeleton,
175
+ Uo as Switch,
176
+ Vo as Table,
177
+ jo as TableBody,
178
+ qo as TableCaption,
179
+ zo as TableCell,
180
+ Jo as TableFooter,
181
+ Ko as TableHead,
182
+ Qo as TableHeader,
183
+ Wo as TableRow,
184
+ Yo as Tabs,
185
+ Zo as TabsContent,
186
+ _o as TabsList,
187
+ $o as TabsTrigger,
188
+ or as Textarea,
189
+ Br as ThemeProvider,
190
+ Eo as Toaster,
191
+ tr as Tooltip,
192
+ ar as TooltipContent,
193
+ ir as TooltipProvider,
194
+ nr as TooltipTrigger,
195
+ F as buttonVariants,
196
+ kr as useFormField,
197
+ Ur as useLoader,
198
+ Io as useSidebar,
199
+ Gr as useTheme
200
+ };