fina-react-ds 0.0.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.
Files changed (106) hide show
  1. package/README.md +17 -0
  2. package/dist/_virtual/index.js +5 -0
  3. package/dist/_virtual/index2.js +4 -0
  4. package/dist/_virtual/use-sync-external-store-shim.development.js +4 -0
  5. package/dist/_virtual/use-sync-external-store-shim.production.js +4 -0
  6. package/dist/components/alert-dialog.d.ts +16 -0
  7. package/dist/components/alert.d.ts +8 -0
  8. package/dist/components/alert.js +70 -0
  9. package/dist/components/avatar.d.ts +5 -0
  10. package/dist/components/avatar.js +58 -0
  11. package/dist/components/badge.d.ts +8 -0
  12. package/dist/components/badge.js +43 -0
  13. package/dist/components/button.d.ts +10 -0
  14. package/dist/components/button.js +152 -0
  15. package/dist/components/card.d.ts +8 -0
  16. package/dist/components/card.js +99 -0
  17. package/dist/components/checkbox.d.ts +4 -0
  18. package/dist/components/checkbox.js +34 -0
  19. package/dist/components/dialog.d.ts +15 -0
  20. package/dist/components/dialog.js +148 -0
  21. package/dist/components/dropdown-menu.d.ts +25 -0
  22. package/dist/components/dropdown-menu.js +248 -0
  23. package/dist/components/input.d.ts +3 -0
  24. package/dist/components/input.js +24 -0
  25. package/dist/components/label.d.ts +6 -0
  26. package/dist/components/label.js +32 -0
  27. package/dist/components/pagination.d.ts +13 -0
  28. package/dist/components/pagination.js +128 -0
  29. package/dist/components/popover.d.ts +7 -0
  30. package/dist/components/popover.js +50 -0
  31. package/dist/components/select.d.ts +11 -0
  32. package/dist/components/select.js +48 -0
  33. package/dist/components/separator.d.ts +4 -0
  34. package/dist/components/simple-pagination.d.ts +6 -0
  35. package/dist/components/simple-pagination.js +34 -0
  36. package/dist/components/tabs.d.ts +7 -0
  37. package/dist/components/tabs.js +73 -0
  38. package/dist/hooks/use-mobile.d.ts +1 -0
  39. package/dist/index.js +80 -0
  40. package/dist/lib/utils.d.ts +2 -0
  41. package/dist/lib/utils.js +11 -0
  42. package/dist/lib.d.ts +16 -0
  43. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +534 -0
  44. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +430 -0
  45. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +215 -0
  46. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +159 -0
  47. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +149 -0
  48. package/dist/node_modules/@radix-ui/primitive/dist/index.js +12 -0
  49. package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +24 -0
  50. package/dist/node_modules/@radix-ui/react-avatar/dist/index.js +80 -0
  51. package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +258 -0
  52. package/dist/node_modules/@radix-ui/react-collection/dist/index.js +51 -0
  53. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +34 -0
  54. package/dist/node_modules/@radix-ui/react-context/dist/index.js +76 -0
  55. package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +265 -0
  56. package/dist/node_modules/@radix-ui/react-direction/dist/index.js +12 -0
  57. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +133 -0
  58. package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +230 -0
  59. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +21 -0
  60. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +149 -0
  61. package/dist/node_modules/@radix-ui/react-id/dist/index.js +16 -0
  62. package/dist/node_modules/@radix-ui/react-label/dist/index.js +22 -0
  63. package/dist/node_modules/@radix-ui/react-menu/dist/index.js +663 -0
  64. package/dist/node_modules/@radix-ui/react-popover/dist/index.js +247 -0
  65. package/dist/node_modules/@radix-ui/react-popper/dist/index.js +224 -0
  66. package/dist/node_modules/@radix-ui/react-portal/dist/index.js +16 -0
  67. package/dist/node_modules/@radix-ui/react-presence/dist/index.js +77 -0
  68. package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +39 -0
  69. package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js +189 -0
  70. package/dist/node_modules/@radix-ui/react-slot/dist/index.js +60 -0
  71. package/dist/node_modules/@radix-ui/react-tabs/dist/index.js +168 -0
  72. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +16 -0
  73. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +59 -0
  74. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +17 -0
  75. package/dist/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js +19 -0
  76. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +6 -0
  77. package/dist/node_modules/@radix-ui/react-use-previous/dist/index.js +11 -0
  78. package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +30 -0
  79. package/dist/node_modules/aria-hidden/dist/es2015/index.js +54 -0
  80. package/dist/node_modules/get-nonce/dist/es2015/index.js +9 -0
  81. package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +11 -0
  82. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +116 -0
  83. package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +33 -0
  84. package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +18 -0
  85. package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +70 -0
  86. package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +5 -0
  87. package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +7 -0
  88. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +73 -0
  89. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +7 -0
  90. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +27 -0
  91. package/dist/node_modules/react-style-singleton/dist/es2015/component.js +13 -0
  92. package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +17 -0
  93. package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +35 -0
  94. package/dist/node_modules/tslib/tslib.es6.js +31 -0
  95. package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +9 -0
  96. package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +29 -0
  97. package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +28 -0
  98. package/dist/node_modules/use-sidecar/dist/es2015/exports.js +21 -0
  99. package/dist/node_modules/use-sidecar/dist/es2015/medium.js +72 -0
  100. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +73 -0
  101. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +62 -0
  102. package/dist/node_modules/use-sync-external-store/shim/index.js +13 -0
  103. package/dist/themes/base.css +1982 -0
  104. package/dist/themes/pro.css +188 -0
  105. package/dist/themes/puulse-colors.css +388 -0
  106. package/package.json +114 -0
@@ -0,0 +1,148 @@
1
+ var d = Object.defineProperty;
2
+ var o = (t, a) => d(t, "name", { value: a, configurable: !0 });
3
+ import { jsx as e, jsxs as l } from "react/jsx-runtime";
4
+ import { Root as c, Close as i, Content as g, Description as u, Overlay as f, Portal as m, Title as p, Trigger as x } from "../node_modules/@radix-ui/react-dialog/dist/index.js";
5
+ import { XIcon as v } from "lucide-react";
6
+ import { cn as n } from "../lib/utils.js";
7
+ function C({
8
+ ...t
9
+ }) {
10
+ return /* @__PURE__ */ e(c, { "data-slot": "dialog", ...t });
11
+ }
12
+ o(C, "Dialog");
13
+ function T({
14
+ ...t
15
+ }) {
16
+ return /* @__PURE__ */ e(x, { "data-slot": "dialog-trigger", ...t });
17
+ }
18
+ o(T, "DialogTrigger");
19
+ function D({
20
+ ...t
21
+ }) {
22
+ return /* @__PURE__ */ e(m, { "data-slot": "dialog-portal", ...t });
23
+ }
24
+ o(D, "DialogPortal");
25
+ function j({
26
+ ...t
27
+ }) {
28
+ return /* @__PURE__ */ e(i, { "data-slot": "dialog-close", ...t });
29
+ }
30
+ o(j, "DialogClose");
31
+ function h({
32
+ className: t,
33
+ ...a
34
+ }) {
35
+ return /* @__PURE__ */ e(
36
+ f,
37
+ {
38
+ "data-slot": "dialog-overlay",
39
+ className: n(
40
+ "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
41
+ t
42
+ ),
43
+ ...a
44
+ }
45
+ );
46
+ }
47
+ o(h, "DialogOverlay");
48
+ function k({
49
+ className: t,
50
+ children: a,
51
+ showCloseButton: s = !0,
52
+ ...r
53
+ }) {
54
+ return /* @__PURE__ */ l(D, { "data-slot": "dialog-portal", children: [
55
+ /* @__PURE__ */ e(h, {}),
56
+ /* @__PURE__ */ l(
57
+ g,
58
+ {
59
+ "data-slot": "dialog-content",
60
+ className: n(
61
+ "bg-card data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",
62
+ t
63
+ ),
64
+ ...r,
65
+ children: [
66
+ a,
67
+ s && /* @__PURE__ */ l(
68
+ i,
69
+ {
70
+ "data-slot": "dialog-close",
71
+ className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
72
+ children: [
73
+ /* @__PURE__ */ e(v, {}),
74
+ /* @__PURE__ */ e("span", { className: "sr-only", children: "Close" })
75
+ ]
76
+ }
77
+ )
78
+ ]
79
+ }
80
+ )
81
+ ] });
82
+ }
83
+ o(k, "DialogContent");
84
+ function _({ className: t, ...a }) {
85
+ return /* @__PURE__ */ e(
86
+ "div",
87
+ {
88
+ "data-slot": "dialog-header",
89
+ className: n("flex flex-col gap-2 text-center sm:text-left", t),
90
+ ...a
91
+ }
92
+ );
93
+ }
94
+ o(_, "DialogHeader");
95
+ function O({ className: t, ...a }) {
96
+ return /* @__PURE__ */ e(
97
+ "div",
98
+ {
99
+ "data-slot": "dialog-footer",
100
+ className: n(
101
+ "flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",
102
+ t
103
+ ),
104
+ ...a
105
+ }
106
+ );
107
+ }
108
+ o(O, "DialogFooter");
109
+ function P({
110
+ className: t,
111
+ ...a
112
+ }) {
113
+ return /* @__PURE__ */ e(
114
+ p,
115
+ {
116
+ "data-slot": "dialog-title",
117
+ className: n("text-lg leading-none font-semibold", t),
118
+ ...a
119
+ }
120
+ );
121
+ }
122
+ o(P, "DialogTitle");
123
+ function F({
124
+ className: t,
125
+ ...a
126
+ }) {
127
+ return /* @__PURE__ */ e(
128
+ u,
129
+ {
130
+ "data-slot": "dialog-description",
131
+ className: n("text-muted-foreground text-sm", t),
132
+ ...a
133
+ }
134
+ );
135
+ }
136
+ o(F, "DialogDescription");
137
+ export {
138
+ C as Dialog,
139
+ j as DialogClose,
140
+ k as DialogContent,
141
+ F as DialogDescription,
142
+ O as DialogFooter,
143
+ _ as DialogHeader,
144
+ h as DialogOverlay,
145
+ D as DialogPortal,
146
+ P as DialogTitle,
147
+ T as DialogTrigger
148
+ };
@@ -0,0 +1,25 @@
1
+ import * as React from "react";
2
+ import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
3
+ declare function DropdownMenu({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ declare function DropdownMenuPortal({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
5
+ declare function DropdownMenuTrigger({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
6
+ declare function DropdownMenuContent({ className, sideOffset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
7
+ declare function DropdownMenuGroup({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Group>): import("react/jsx-runtime").JSX.Element;
8
+ declare function DropdownMenuItem({ className, inset, variant, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
9
+ inset?: boolean;
10
+ variant?: "default" | "destructive";
11
+ }): import("react/jsx-runtime").JSX.Element;
12
+ declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): import("react/jsx-runtime").JSX.Element;
13
+ declare function DropdownMenuRadioGroup({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): import("react/jsx-runtime").JSX.Element;
14
+ declare function DropdownMenuRadioItem({ className, children, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>): import("react/jsx-runtime").JSX.Element;
15
+ declare function DropdownMenuLabel({ className, inset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
16
+ inset?: boolean;
17
+ }): import("react/jsx-runtime").JSX.Element;
18
+ declare function DropdownMenuSeparator({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Separator>): import("react/jsx-runtime").JSX.Element;
19
+ declare function DropdownMenuShortcut({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
20
+ declare function DropdownMenuSub({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Sub>): import("react/jsx-runtime").JSX.Element;
21
+ declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
22
+ inset?: boolean;
23
+ }): import("react/jsx-runtime").JSX.Element;
24
+ declare function DropdownMenuSubContent({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): import("react/jsx-runtime").JSX.Element;
25
+ export { DropdownMenu, DropdownMenuPortal, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuGroup, DropdownMenuLabel, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubTrigger, DropdownMenuSubContent, };
@@ -0,0 +1,248 @@
1
+ var c = Object.defineProperty;
2
+ var n = (e, o) => c(e, "name", { value: o, configurable: !0 });
3
+ import { jsx as t, jsxs as s } from "react/jsx-runtime";
4
+ import { Root as l, Portal as i, Trigger as m, Content as p, Group as f, Label as g, Item as v, CheckboxItem as b, ItemIndicator as u, RadioGroup as x, RadioItem as w, Separator as h, Sub as z, SubTrigger as I, SubContent as D } from "../node_modules/@radix-ui/react-dropdown-menu/dist/index.js";
5
+ import { CheckIcon as M, CircleIcon as N, ChevronRightIcon as S } from "lucide-react";
6
+ import { cn as r } from "../lib/utils.js";
7
+ function G({
8
+ ...e
9
+ }) {
10
+ return /* @__PURE__ */ t(l, { "data-slot": "dropdown-menu", ...e });
11
+ }
12
+ n(G, "DropdownMenu");
13
+ function T({
14
+ ...e
15
+ }) {
16
+ return /* @__PURE__ */ t(i, { "data-slot": "dropdown-menu-portal", ...e });
17
+ }
18
+ n(T, "DropdownMenuPortal");
19
+ function j({
20
+ ...e
21
+ }) {
22
+ return /* @__PURE__ */ t(
23
+ m,
24
+ {
25
+ "data-slot": "dropdown-menu-trigger",
26
+ ...e
27
+ }
28
+ );
29
+ }
30
+ n(j, "DropdownMenuTrigger");
31
+ function L({
32
+ className: e,
33
+ sideOffset: o = 4,
34
+ ...a
35
+ }) {
36
+ return /* @__PURE__ */ t(i, { children: /* @__PURE__ */ t(
37
+ p,
38
+ {
39
+ "data-slot": "dropdown-menu-content",
40
+ sideOffset: o,
41
+ className: r(
42
+ "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",
43
+ e
44
+ ),
45
+ ...a
46
+ }
47
+ ) });
48
+ }
49
+ n(L, "DropdownMenuContent");
50
+ function P({
51
+ ...e
52
+ }) {
53
+ return /* @__PURE__ */ t(f, { "data-slot": "dropdown-menu-group", ...e });
54
+ }
55
+ n(P, "DropdownMenuGroup");
56
+ function q({
57
+ className: e,
58
+ inset: o,
59
+ variant: a = "default",
60
+ ...d
61
+ }) {
62
+ return /* @__PURE__ */ t(
63
+ v,
64
+ {
65
+ "data-slot": "dropdown-menu-item",
66
+ "data-inset": o,
67
+ "data-variant": a,
68
+ className: r(
69
+ "focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
70
+ e
71
+ ),
72
+ ...d
73
+ }
74
+ );
75
+ }
76
+ n(q, "DropdownMenuItem");
77
+ function A({
78
+ className: e,
79
+ children: o,
80
+ checked: a,
81
+ ...d
82
+ }) {
83
+ return /* @__PURE__ */ s(
84
+ b,
85
+ {
86
+ "data-slot": "dropdown-menu-checkbox-item",
87
+ className: r(
88
+ "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
89
+ e
90
+ ),
91
+ checked: a,
92
+ ...d,
93
+ children: [
94
+ /* @__PURE__ */ t("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ t(u, { children: /* @__PURE__ */ t(M, { className: "size-4" }) }) }),
95
+ o
96
+ ]
97
+ }
98
+ );
99
+ }
100
+ n(A, "DropdownMenuCheckboxItem");
101
+ function B({
102
+ ...e
103
+ }) {
104
+ return /* @__PURE__ */ t(
105
+ x,
106
+ {
107
+ "data-slot": "dropdown-menu-radio-group",
108
+ ...e
109
+ }
110
+ );
111
+ }
112
+ n(B, "DropdownMenuRadioGroup");
113
+ function E({
114
+ className: e,
115
+ children: o,
116
+ ...a
117
+ }) {
118
+ return /* @__PURE__ */ s(
119
+ w,
120
+ {
121
+ "data-slot": "dropdown-menu-radio-item",
122
+ className: r(
123
+ "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
124
+ e
125
+ ),
126
+ ...a,
127
+ children: [
128
+ /* @__PURE__ */ t("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ t(u, { children: /* @__PURE__ */ t(N, { className: "size-2 fill-current" }) }) }),
129
+ o
130
+ ]
131
+ }
132
+ );
133
+ }
134
+ n(E, "DropdownMenuRadioItem");
135
+ function F({
136
+ className: e,
137
+ inset: o,
138
+ ...a
139
+ }) {
140
+ return /* @__PURE__ */ t(
141
+ g,
142
+ {
143
+ "data-slot": "dropdown-menu-label",
144
+ "data-inset": o,
145
+ className: r(
146
+ "px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",
147
+ e
148
+ ),
149
+ ...a
150
+ }
151
+ );
152
+ }
153
+ n(F, "DropdownMenuLabel");
154
+ function H({
155
+ className: e,
156
+ ...o
157
+ }) {
158
+ return /* @__PURE__ */ t(
159
+ h,
160
+ {
161
+ "data-slot": "dropdown-menu-separator",
162
+ className: r("bg-border -mx-1 my-1 h-px", e),
163
+ ...o
164
+ }
165
+ );
166
+ }
167
+ n(H, "DropdownMenuSeparator");
168
+ function J({
169
+ className: e,
170
+ ...o
171
+ }) {
172
+ return /* @__PURE__ */ t(
173
+ "span",
174
+ {
175
+ "data-slot": "dropdown-menu-shortcut",
176
+ className: r(
177
+ "text-muted-foreground ml-auto text-xs tracking-widest",
178
+ e
179
+ ),
180
+ ...o
181
+ }
182
+ );
183
+ }
184
+ n(J, "DropdownMenuShortcut");
185
+ function K({
186
+ ...e
187
+ }) {
188
+ return /* @__PURE__ */ t(z, { "data-slot": "dropdown-menu-sub", ...e });
189
+ }
190
+ n(K, "DropdownMenuSub");
191
+ function O({
192
+ className: e,
193
+ inset: o,
194
+ children: a,
195
+ ...d
196
+ }) {
197
+ return /* @__PURE__ */ s(
198
+ I,
199
+ {
200
+ "data-slot": "dropdown-menu-sub-trigger",
201
+ "data-inset": o,
202
+ className: r(
203
+ "focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8",
204
+ e
205
+ ),
206
+ ...d,
207
+ children: [
208
+ a,
209
+ /* @__PURE__ */ t(S, { className: "ml-auto size-4" })
210
+ ]
211
+ }
212
+ );
213
+ }
214
+ n(O, "DropdownMenuSubTrigger");
215
+ function Q({
216
+ className: e,
217
+ ...o
218
+ }) {
219
+ return /* @__PURE__ */ t(
220
+ D,
221
+ {
222
+ "data-slot": "dropdown-menu-sub-content",
223
+ className: r(
224
+ "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",
225
+ e
226
+ ),
227
+ ...o
228
+ }
229
+ );
230
+ }
231
+ n(Q, "DropdownMenuSubContent");
232
+ export {
233
+ G as DropdownMenu,
234
+ A as DropdownMenuCheckboxItem,
235
+ L as DropdownMenuContent,
236
+ P as DropdownMenuGroup,
237
+ q as DropdownMenuItem,
238
+ F as DropdownMenuLabel,
239
+ T as DropdownMenuPortal,
240
+ B as DropdownMenuRadioGroup,
241
+ E as DropdownMenuRadioItem,
242
+ H as DropdownMenuSeparator,
243
+ J as DropdownMenuShortcut,
244
+ K as DropdownMenuSub,
245
+ Q as DropdownMenuSubContent,
246
+ O as DropdownMenuSubTrigger,
247
+ j as DropdownMenuTrigger
248
+ };
@@ -0,0 +1,3 @@
1
+ import * as React from "react";
2
+ declare function Input({ className, type, ...props }: React.ComponentProps<"input">): import("react/jsx-runtime").JSX.Element;
3
+ export { Input };
@@ -0,0 +1,24 @@
1
+ var o = Object.defineProperty;
2
+ var r = (e, i) => o(e, "name", { value: i, configurable: !0 });
3
+ import { jsx as n } from "react/jsx-runtime";
4
+ import { cn as l } from "../lib/utils.js";
5
+ function u({ className: e, type: i, ...t }) {
6
+ return /* @__PURE__ */ n(
7
+ "input",
8
+ {
9
+ type: i,
10
+ "data-slot": "input",
11
+ className: l(
12
+ "file:text-foreground placeholder:text-placeholder selection:bg-primary selection:text-primary-foreground bg-input border-input-border flex h-9 w-full min-w-0 rounded-md border px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
13
+ "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
14
+ "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
15
+ e
16
+ ),
17
+ ...t
18
+ }
19
+ );
20
+ }
21
+ r(u, "Input");
22
+ export {
23
+ u as Input
24
+ };
@@ -0,0 +1,6 @@
1
+ import * as React from "react";
2
+ import * as LabelPrimitive from "@radix-ui/react-label";
3
+ declare function Label({ className, required, children, ...props }: React.ComponentProps<typeof LabelPrimitive.Root> & {
4
+ required?: boolean;
5
+ }): import("react/jsx-runtime").JSX.Element;
6
+ export { Label };
@@ -0,0 +1,32 @@
1
+ var s = Object.defineProperty;
2
+ var o = (e, t) => s(e, "name", { value: t, configurable: !0 });
3
+ import { jsxs as n, jsx as l } from "react/jsx-runtime";
4
+ import { Root as d } from "../node_modules/@radix-ui/react-label/dist/index.js";
5
+ import { cn as i } from "../lib/utils.js";
6
+ function f({
7
+ className: e,
8
+ required: t = !1,
9
+ children: a,
10
+ ...r
11
+ }) {
12
+ return /* @__PURE__ */ n(
13
+ d,
14
+ {
15
+ "data-slot": "label",
16
+ className: i(
17
+ "flex items-center text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",
18
+ e
19
+ ),
20
+ ...r,
21
+ children: [
22
+ a,
23
+ " ",
24
+ t && /* @__PURE__ */ l("span", { className: "text-destructive", children: "*" })
25
+ ]
26
+ }
27
+ );
28
+ }
29
+ o(f, "Label");
30
+ export {
31
+ f as Label
32
+ };
@@ -0,0 +1,13 @@
1
+ import * as React from "react";
2
+ import { Button } from "../components/button";
3
+ declare function Pagination({ className, ...props }: React.ComponentProps<"nav">): import("react/jsx-runtime").JSX.Element;
4
+ declare function PaginationContent({ className, ...props }: React.ComponentProps<"ul">): import("react/jsx-runtime").JSX.Element;
5
+ declare function PaginationItem({ ...props }: React.ComponentProps<"li">): import("react/jsx-runtime").JSX.Element;
6
+ type PaginationLinkProps = {
7
+ isActive?: boolean;
8
+ } & Pick<React.ComponentProps<typeof Button>, "size"> & React.ComponentProps<"a">;
9
+ declare function PaginationLink({ className, isActive, size, ...props }: PaginationLinkProps): import("react/jsx-runtime").JSX.Element;
10
+ declare function PaginationPrevious({ className, ...props }: React.ComponentProps<typeof PaginationLink>): import("react/jsx-runtime").JSX.Element;
11
+ declare function PaginationNext({ className, ...props }: React.ComponentProps<typeof PaginationLink>): import("react/jsx-runtime").JSX.Element;
12
+ declare function PaginationEllipsis({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
13
+ export { Pagination, PaginationContent, PaginationLink, PaginationItem, PaginationPrevious, PaginationNext, PaginationEllipsis, };
@@ -0,0 +1,128 @@
1
+ var c = Object.defineProperty;
2
+ var i = (a, n) => c(a, "name", { value: n, configurable: !0 });
3
+ import { jsx as t, jsxs as o } from "react/jsx-runtime";
4
+ import { ChevronLeftIcon as p, ChevronRightIcon as m, MoreHorizontalIcon as u } from "lucide-react";
5
+ import { cn as e } from "../lib/utils.js";
6
+ import { buttonVariants as d } from "./button.js";
7
+ function P({ className: a, ...n }) {
8
+ return /* @__PURE__ */ t(
9
+ "nav",
10
+ {
11
+ role: "navigation",
12
+ "aria-label": "pagination",
13
+ "data-slot": "pagination",
14
+ className: e("mx-auto flex w-full justify-center", a),
15
+ ...n
16
+ }
17
+ );
18
+ }
19
+ i(P, "Pagination");
20
+ function v({
21
+ className: a,
22
+ ...n
23
+ }) {
24
+ return /* @__PURE__ */ t(
25
+ "ul",
26
+ {
27
+ "data-slot": "pagination-content",
28
+ className: e("flex flex-row items-center gap-1", a),
29
+ ...n
30
+ }
31
+ );
32
+ }
33
+ i(v, "PaginationContent");
34
+ function b({ ...a }) {
35
+ return /* @__PURE__ */ t("li", { "data-slot": "pagination-item", ...a });
36
+ }
37
+ i(b, "PaginationItem");
38
+ function r({
39
+ className: a,
40
+ isActive: n,
41
+ size: s = "icon",
42
+ ...l
43
+ }) {
44
+ return /* @__PURE__ */ t(
45
+ "a",
46
+ {
47
+ "aria-current": n ? "page" : void 0,
48
+ "data-slot": "pagination-link",
49
+ "data-active": n,
50
+ className: e(
51
+ d({
52
+ variant: n ? "contained" : "ghost",
53
+ color: "dark",
54
+ size: s
55
+ }),
56
+ a
57
+ ),
58
+ ...l
59
+ }
60
+ );
61
+ }
62
+ i(r, "PaginationLink");
63
+ function k({
64
+ className: a,
65
+ ...n
66
+ }) {
67
+ return /* @__PURE__ */ o(
68
+ r,
69
+ {
70
+ "aria-label": "Go to previous page",
71
+ size: "default",
72
+ className: e("gap-1 px-2.5 sm:pl-2.5", a),
73
+ ...n,
74
+ children: [
75
+ /* @__PURE__ */ t(p, {}),
76
+ /* @__PURE__ */ t("span", { className: "hidden sm:block", children: "Précédent" })
77
+ ]
78
+ }
79
+ );
80
+ }
81
+ i(k, "PaginationPrevious");
82
+ function z({
83
+ className: a,
84
+ ...n
85
+ }) {
86
+ return /* @__PURE__ */ o(
87
+ r,
88
+ {
89
+ "aria-label": "Go to next page",
90
+ size: "default",
91
+ className: e("gap-1 px-2.5 sm:pr-2.5", a),
92
+ ...n,
93
+ children: [
94
+ /* @__PURE__ */ t("span", { className: "hidden sm:block", children: "Suivant" }),
95
+ /* @__PURE__ */ t(m, {})
96
+ ]
97
+ }
98
+ );
99
+ }
100
+ i(z, "PaginationNext");
101
+ function j({
102
+ className: a,
103
+ ...n
104
+ }) {
105
+ return /* @__PURE__ */ o(
106
+ "span",
107
+ {
108
+ "aria-hidden": !0,
109
+ "data-slot": "pagination-ellipsis",
110
+ className: e("flex size-9 items-center justify-center", a),
111
+ ...n,
112
+ children: [
113
+ /* @__PURE__ */ t(u, { className: "size-4" }),
114
+ /* @__PURE__ */ t("span", { className: "sr-only", children: "More pages" })
115
+ ]
116
+ }
117
+ );
118
+ }
119
+ i(j, "PaginationEllipsis");
120
+ export {
121
+ P as Pagination,
122
+ v as PaginationContent,
123
+ j as PaginationEllipsis,
124
+ b as PaginationItem,
125
+ r as PaginationLink,
126
+ z as PaginationNext,
127
+ k as PaginationPrevious
128
+ };
@@ -0,0 +1,7 @@
1
+ import * as React from "react";
2
+ import * as PopoverPrimitive from "@radix-ui/react-popover";
3
+ declare function Popover({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ declare function PopoverTrigger({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
5
+ declare function PopoverContent({ className, align, sideOffset, ...props }: React.ComponentProps<typeof PopoverPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
6
+ declare function PopoverAnchor({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Anchor>): import("react/jsx-runtime").JSX.Element;
7
+ export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor };