@potenlab/ui 0.1.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 (71) hide show
  1. package/dist/chunk-2W3RBVMM.js +698 -0
  2. package/dist/chunk-2W3RBVMM.js.map +1 -0
  3. package/dist/chunk-3PDPL453.cjs +42 -0
  4. package/dist/chunk-3PDPL453.cjs.map +1 -0
  5. package/dist/chunk-6GVBJTP3.js +3 -0
  6. package/dist/chunk-6GVBJTP3.js.map +1 -0
  7. package/dist/chunk-7XPQQR3Z.cjs +586 -0
  8. package/dist/chunk-7XPQQR3Z.cjs.map +1 -0
  9. package/dist/chunk-CN4BR5A5.cjs +1442 -0
  10. package/dist/chunk-CN4BR5A5.cjs.map +1 -0
  11. package/dist/chunk-DUACVZEX.js +13 -0
  12. package/dist/chunk-DUACVZEX.js.map +1 -0
  13. package/dist/chunk-EKVWVJD4.cjs +4 -0
  14. package/dist/chunk-EKVWVJD4.cjs.map +1 -0
  15. package/dist/chunk-IIMC6ODV.js +554 -0
  16. package/dist/chunk-IIMC6ODV.js.map +1 -0
  17. package/dist/chunk-M67D4PYJ.cjs +4 -0
  18. package/dist/chunk-M67D4PYJ.cjs.map +1 -0
  19. package/dist/chunk-O4BML5KD.cjs +744 -0
  20. package/dist/chunk-O4BML5KD.cjs.map +1 -0
  21. package/dist/chunk-OF2IE7ZP.cjs +26 -0
  22. package/dist/chunk-OF2IE7ZP.cjs.map +1 -0
  23. package/dist/chunk-T2ZO7QTO.js +3 -0
  24. package/dist/chunk-T2ZO7QTO.js.map +1 -0
  25. package/dist/chunk-T3VMPVU4.js +20 -0
  26. package/dist/chunk-T3VMPVU4.js.map +1 -0
  27. package/dist/chunk-VMWIQIIN.js +1343 -0
  28. package/dist/chunk-VMWIQIIN.js.map +1 -0
  29. package/dist/chunk-YDSVKR35.js +23 -0
  30. package/dist/chunk-YDSVKR35.js.map +1 -0
  31. package/dist/chunk-YSNZIYC2.cjs +16 -0
  32. package/dist/chunk-YSNZIYC2.cjs.map +1 -0
  33. package/dist/components/common/index.cjs +54 -0
  34. package/dist/components/common/index.cjs.map +1 -0
  35. package/dist/components/common/index.d.cts +138 -0
  36. package/dist/components/common/index.d.ts +138 -0
  37. package/dist/components/common/index.js +5 -0
  38. package/dist/components/common/index.js.map +1 -0
  39. package/dist/components/layouts/index.cjs +16 -0
  40. package/dist/components/layouts/index.cjs.map +1 -0
  41. package/dist/components/layouts/index.d.cts +15 -0
  42. package/dist/components/layouts/index.d.ts +15 -0
  43. package/dist/components/layouts/index.js +3 -0
  44. package/dist/components/layouts/index.js.map +1 -0
  45. package/dist/components/ui/index.cjs +503 -0
  46. package/dist/components/ui/index.cjs.map +1 -0
  47. package/dist/components/ui/index.d.cts +217 -0
  48. package/dist/components/ui/index.d.ts +217 -0
  49. package/dist/components/ui/index.js +6 -0
  50. package/dist/components/ui/index.js.map +1 -0
  51. package/dist/hooks/index.cjs +13 -0
  52. package/dist/hooks/index.cjs.map +1 -0
  53. package/dist/hooks/index.d.cts +3 -0
  54. package/dist/hooks/index.d.ts +3 -0
  55. package/dist/hooks/index.js +4 -0
  56. package/dist/hooks/index.js.map +1 -0
  57. package/dist/index.cjs +571 -0
  58. package/dist/index.cjs.map +1 -0
  59. package/dist/index.d.cts +29 -0
  60. package/dist/index.d.ts +29 -0
  61. package/dist/index.js +10 -0
  62. package/dist/index.js.map +1 -0
  63. package/dist/lib/index.cjs +17 -0
  64. package/dist/lib/index.cjs.map +1 -0
  65. package/dist/lib/index.d.cts +6 -0
  66. package/dist/lib/index.d.ts +6 -0
  67. package/dist/lib/index.js +4 -0
  68. package/dist/lib/index.js.map +1 -0
  69. package/dist/styles/globals.css +167 -0
  70. package/package.json +137 -0
  71. package/src/styles/globals.css +167 -0
@@ -0,0 +1,744 @@
1
+ 'use strict';
2
+
3
+ var chunkYSNZIYC2_cjs = require('./chunk-YSNZIYC2.cjs');
4
+ var classVarianceAuthority = require('class-variance-authority');
5
+ var radixUi = require('radix-ui');
6
+ var jsxRuntime = require('react/jsx-runtime');
7
+ var lucideReact = require('lucide-react');
8
+
9
+ var buttonVariants = classVarianceAuthority.cva(
10
+ "inline-flex cursor-pointer items-center justify-center gap-2 whitespace-nowrap font-medium transition-[background-color,color,transform] duration-150 ease-out focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
11
+ {
12
+ variants: {
13
+ variant: {
14
+ primary: "bg-primary hover:bg-primary-hover active:bg-primary-active active:scale-[0.98] text-white font-pretendard text-[18px] font-semibold",
15
+ secondary: "bg-sidebar-selected text-black font-pretendard text-[18px] font-semibold",
16
+ pagination: "bg-primary-light text-primary hover:bg-[#A0C4C3] hover:text-primary-hover",
17
+ ghost: "bg-transparent text-delete-text hover:underline hover:text-primary-hover p-0 h-auto text-[14px]",
18
+ outline: "border border-border bg-transparent text-black hover:bg-sidebar-selected"
19
+ },
20
+ size: {
21
+ default: "h-10 px-4 rounded-lg",
22
+ secondary: "h-12 px-4 rounded-md",
23
+ pagination: "h-10 w-10 rounded-md",
24
+ ghost: "h-auto p-0",
25
+ icon: "size-9"
26
+ }
27
+ },
28
+ defaultVariants: { variant: "primary", size: "default" }
29
+ }
30
+ );
31
+ function Button({ className, variant = "primary", size = "default", asChild = false, ...props }) {
32
+ const Comp = asChild ? radixUi.Slot.Root : "button";
33
+ return /* @__PURE__ */ jsxRuntime.jsx(
34
+ Comp,
35
+ {
36
+ "data-slot": "button",
37
+ "data-variant": variant,
38
+ "data-size": size,
39
+ className: chunkYSNZIYC2_cjs.cn(buttonVariants({ variant, size, className })),
40
+ ...props
41
+ }
42
+ );
43
+ }
44
+ var badgeVariants = classVarianceAuthority.cva(
45
+ "inline-flex w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-full border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3",
46
+ {
47
+ variants: {
48
+ variant: {
49
+ default: "bg-primary text-primary-foreground [a&]:hover:bg-primary/90",
50
+ secondary: "bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",
51
+ destructive: "bg-destructive text-white focus-visible:ring-destructive/20 dark:bg-destructive/60 dark:focus-visible:ring-destructive/40 [a&]:hover:bg-destructive/90",
52
+ outline: "border-border text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground",
53
+ ghost: "[a&]:hover:bg-accent [a&]:hover:text-accent-foreground",
54
+ link: "text-primary underline-offset-4 [a&]:hover:underline",
55
+ green: "bg-badge-green-bg text-badge-green-text font-pretendard text-[18px] font-bold px-3 py-1 rounded-full"
56
+ }
57
+ },
58
+ defaultVariants: {
59
+ variant: "default"
60
+ }
61
+ }
62
+ );
63
+ function Badge({
64
+ className,
65
+ variant = "default",
66
+ asChild = false,
67
+ ...props
68
+ }) {
69
+ const Comp = asChild ? radixUi.Slot.Root : "span";
70
+ return /* @__PURE__ */ jsxRuntime.jsx(
71
+ Comp,
72
+ {
73
+ "data-slot": "badge",
74
+ "data-variant": variant,
75
+ className: chunkYSNZIYC2_cjs.cn(badgeVariants({ variant }), className),
76
+ ...props
77
+ }
78
+ );
79
+ }
80
+ function DropdownMenu({
81
+ ...props
82
+ }) {
83
+ return /* @__PURE__ */ jsxRuntime.jsx(radixUi.DropdownMenu.Root, { "data-slot": "dropdown-menu", ...props });
84
+ }
85
+ function DropdownMenuPortal({
86
+ ...props
87
+ }) {
88
+ return /* @__PURE__ */ jsxRuntime.jsx(radixUi.DropdownMenu.Portal, { "data-slot": "dropdown-menu-portal", ...props });
89
+ }
90
+ function DropdownMenuTrigger({
91
+ ...props
92
+ }) {
93
+ return /* @__PURE__ */ jsxRuntime.jsx(
94
+ radixUi.DropdownMenu.Trigger,
95
+ {
96
+ "data-slot": "dropdown-menu-trigger",
97
+ ...props
98
+ }
99
+ );
100
+ }
101
+ function DropdownMenuContent({
102
+ className,
103
+ sideOffset = 4,
104
+ ...props
105
+ }) {
106
+ return /* @__PURE__ */ jsxRuntime.jsx(radixUi.DropdownMenu.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(
107
+ radixUi.DropdownMenu.Content,
108
+ {
109
+ "data-slot": "dropdown-menu-content",
110
+ sideOffset,
111
+ className: chunkYSNZIYC2_cjs.cn(
112
+ "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 bg-popover p-1 text-popover-foreground shadow-md 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 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
113
+ className
114
+ ),
115
+ ...props
116
+ }
117
+ ) });
118
+ }
119
+ function DropdownMenuGroup({
120
+ ...props
121
+ }) {
122
+ return /* @__PURE__ */ jsxRuntime.jsx(radixUi.DropdownMenu.Group, { "data-slot": "dropdown-menu-group", ...props });
123
+ }
124
+ function DropdownMenuItem({
125
+ className,
126
+ inset,
127
+ variant = "default",
128
+ ...props
129
+ }) {
130
+ return /* @__PURE__ */ jsxRuntime.jsx(
131
+ radixUi.DropdownMenu.Item,
132
+ {
133
+ "data-slot": "dropdown-menu-item",
134
+ "data-inset": inset,
135
+ "data-variant": variant,
136
+ className: chunkYSNZIYC2_cjs.cn(
137
+ "relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground data-[variant=destructive]:*:[svg]:text-destructive!",
138
+ className
139
+ ),
140
+ ...props
141
+ }
142
+ );
143
+ }
144
+ function DropdownMenuCheckboxItem({
145
+ className,
146
+ children,
147
+ checked,
148
+ ...props
149
+ }) {
150
+ return /* @__PURE__ */ jsxRuntime.jsxs(
151
+ radixUi.DropdownMenu.CheckboxItem,
152
+ {
153
+ "data-slot": "dropdown-menu-checkbox-item",
154
+ className: chunkYSNZIYC2_cjs.cn(
155
+ "relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
156
+ className
157
+ ),
158
+ checked,
159
+ ...props,
160
+ children: [
161
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(radixUi.DropdownMenu.ItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.CheckIcon, { className: "size-4" }) }) }),
162
+ children
163
+ ]
164
+ }
165
+ );
166
+ }
167
+ function DropdownMenuRadioGroup({
168
+ ...props
169
+ }) {
170
+ return /* @__PURE__ */ jsxRuntime.jsx(
171
+ radixUi.DropdownMenu.RadioGroup,
172
+ {
173
+ "data-slot": "dropdown-menu-radio-group",
174
+ ...props
175
+ }
176
+ );
177
+ }
178
+ function DropdownMenuRadioItem({
179
+ className,
180
+ children,
181
+ ...props
182
+ }) {
183
+ return /* @__PURE__ */ jsxRuntime.jsxs(
184
+ radixUi.DropdownMenu.RadioItem,
185
+ {
186
+ "data-slot": "dropdown-menu-radio-item",
187
+ className: chunkYSNZIYC2_cjs.cn(
188
+ "relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
189
+ className
190
+ ),
191
+ ...props,
192
+ children: [
193
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(radixUi.DropdownMenu.ItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.CircleIcon, { className: "size-2 fill-current" }) }) }),
194
+ children
195
+ ]
196
+ }
197
+ );
198
+ }
199
+ function DropdownMenuLabel({
200
+ className,
201
+ inset,
202
+ ...props
203
+ }) {
204
+ return /* @__PURE__ */ jsxRuntime.jsx(
205
+ radixUi.DropdownMenu.Label,
206
+ {
207
+ "data-slot": "dropdown-menu-label",
208
+ "data-inset": inset,
209
+ className: chunkYSNZIYC2_cjs.cn(
210
+ "px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",
211
+ className
212
+ ),
213
+ ...props
214
+ }
215
+ );
216
+ }
217
+ function DropdownMenuSeparator({
218
+ className,
219
+ ...props
220
+ }) {
221
+ return /* @__PURE__ */ jsxRuntime.jsx(
222
+ radixUi.DropdownMenu.Separator,
223
+ {
224
+ "data-slot": "dropdown-menu-separator",
225
+ className: chunkYSNZIYC2_cjs.cn("-mx-1 my-1 h-px bg-border", className),
226
+ ...props
227
+ }
228
+ );
229
+ }
230
+ function DropdownMenuShortcut({
231
+ className,
232
+ ...props
233
+ }) {
234
+ return /* @__PURE__ */ jsxRuntime.jsx(
235
+ "span",
236
+ {
237
+ "data-slot": "dropdown-menu-shortcut",
238
+ className: chunkYSNZIYC2_cjs.cn(
239
+ "ml-auto text-xs tracking-widest text-muted-foreground",
240
+ className
241
+ ),
242
+ ...props
243
+ }
244
+ );
245
+ }
246
+ function DropdownMenuSub({
247
+ ...props
248
+ }) {
249
+ return /* @__PURE__ */ jsxRuntime.jsx(radixUi.DropdownMenu.Sub, { "data-slot": "dropdown-menu-sub", ...props });
250
+ }
251
+ function DropdownMenuSubTrigger({
252
+ className,
253
+ inset,
254
+ children,
255
+ ...props
256
+ }) {
257
+ return /* @__PURE__ */ jsxRuntime.jsxs(
258
+ radixUi.DropdownMenu.SubTrigger,
259
+ {
260
+ "data-slot": "dropdown-menu-sub-trigger",
261
+ "data-inset": inset,
262
+ className: chunkYSNZIYC2_cjs.cn(
263
+ "flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[inset]:pl-8 data-[state=open]:bg-accent data-[state=open]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground",
264
+ className
265
+ ),
266
+ ...props,
267
+ children: [
268
+ children,
269
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronRightIcon, { className: "ml-auto size-4" })
270
+ ]
271
+ }
272
+ );
273
+ }
274
+ function DropdownMenuSubContent({
275
+ className,
276
+ ...props
277
+ }) {
278
+ return /* @__PURE__ */ jsxRuntime.jsx(
279
+ radixUi.DropdownMenu.SubContent,
280
+ {
281
+ "data-slot": "dropdown-menu-sub-content",
282
+ className: chunkYSNZIYC2_cjs.cn(
283
+ "z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg 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 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
284
+ className
285
+ ),
286
+ ...props
287
+ }
288
+ );
289
+ }
290
+ function Input({ className, type, ...props }) {
291
+ return /* @__PURE__ */ jsxRuntime.jsx(
292
+ "input",
293
+ {
294
+ type,
295
+ "data-slot": "input",
296
+ className: chunkYSNZIYC2_cjs.cn(
297
+ "w-full min-w-0 border border-border rounded-md font-pretendard text-[18px] text-black placeholder:text-placeholder bg-white px-4",
298
+ "hover:border-[#CBD5E0]",
299
+ "focus:border-primary focus:outline-none focus:ring-2 focus:ring-primary/20 focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 transition-[border-color,box-shadow] duration-150 ease-out",
300
+ "disabled:bg-table-header disabled:text-placeholder disabled:cursor-not-allowed",
301
+ "file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground",
302
+ "aria-invalid:border-destructive aria-invalid:ring-destructive/20",
303
+ className
304
+ ),
305
+ ...props
306
+ }
307
+ );
308
+ }
309
+ function Label({
310
+ className,
311
+ ...props
312
+ }) {
313
+ return /* @__PURE__ */ jsxRuntime.jsx(
314
+ radixUi.Label.Root,
315
+ {
316
+ "data-slot": "label",
317
+ className: chunkYSNZIYC2_cjs.cn(
318
+ "font-pretendard text-[20px] font-semibold text-[#101010] mb-2 flex items-center gap-2 leading-none select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",
319
+ className
320
+ ),
321
+ ...props
322
+ }
323
+ );
324
+ }
325
+ function Select({
326
+ ...props
327
+ }) {
328
+ return /* @__PURE__ */ jsxRuntime.jsx(radixUi.Select.Root, { "data-slot": "select", ...props });
329
+ }
330
+ function SelectGroup({
331
+ ...props
332
+ }) {
333
+ return /* @__PURE__ */ jsxRuntime.jsx(radixUi.Select.Group, { "data-slot": "select-group", ...props });
334
+ }
335
+ function SelectValue({
336
+ ...props
337
+ }) {
338
+ return /* @__PURE__ */ jsxRuntime.jsx(radixUi.Select.Value, { "data-slot": "select-value", ...props });
339
+ }
340
+ function SelectTrigger({
341
+ className,
342
+ children,
343
+ ...props
344
+ }) {
345
+ return /* @__PURE__ */ jsxRuntime.jsxs(
346
+ radixUi.Select.Trigger,
347
+ {
348
+ "data-slot": "select-trigger",
349
+ className: chunkYSNZIYC2_cjs.cn(
350
+ "flex w-full items-center justify-between rounded-md border border-border bg-white h-[52px] px-4 pr-12 font-pretendard text-[18px] text-[#2D3748] whitespace-nowrap transition-[color,box-shadow,border-color] outline-none hover:border-[#CBD5E0] focus:border-primary focus:ring-2 focus:ring-primary/20 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[placeholder]:text-placeholder *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2",
351
+ className
352
+ ),
353
+ ...props,
354
+ children: [
355
+ children,
356
+ /* @__PURE__ */ jsxRuntime.jsx(radixUi.Select.Icon, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronDownIcon, { className: "size-4 text-[#A0AEC0] transition-[transform,color] duration-300 ease-in-out [[data-state=open]>&]:rotate-180 [[data-state=open]>&]:text-[#509594] [.focus>&]:text-[#509594] [:focus>&]:text-[#509594]" }) })
357
+ ]
358
+ }
359
+ );
360
+ }
361
+ function SelectContent({
362
+ className,
363
+ children,
364
+ position = "popper",
365
+ ...props
366
+ }) {
367
+ return /* @__PURE__ */ jsxRuntime.jsx(radixUi.Select.Portal, { children: /* @__PURE__ */ jsxRuntime.jsxs(
368
+ radixUi.Select.Content,
369
+ {
370
+ "data-slot": "select-content",
371
+ className: chunkYSNZIYC2_cjs.cn(
372
+ "relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border border-border bg-white text-popover-foreground shadow-md 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 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
373
+ position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
374
+ className
375
+ ),
376
+ position,
377
+ ...props,
378
+ children: [
379
+ /* @__PURE__ */ jsxRuntime.jsx(SelectScrollUpButton, {}),
380
+ /* @__PURE__ */ jsxRuntime.jsx(
381
+ radixUi.Select.Viewport,
382
+ {
383
+ className: chunkYSNZIYC2_cjs.cn(
384
+ "p-1",
385
+ position === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"
386
+ ),
387
+ children
388
+ }
389
+ ),
390
+ /* @__PURE__ */ jsxRuntime.jsx(SelectScrollDownButton, {})
391
+ ]
392
+ }
393
+ ) });
394
+ }
395
+ function SelectLabel({
396
+ className,
397
+ ...props
398
+ }) {
399
+ return /* @__PURE__ */ jsxRuntime.jsx(
400
+ radixUi.Select.Label,
401
+ {
402
+ "data-slot": "select-label",
403
+ className: chunkYSNZIYC2_cjs.cn("px-2 py-1.5 text-xs text-muted-foreground", className),
404
+ ...props
405
+ }
406
+ );
407
+ }
408
+ function SelectItem({
409
+ className,
410
+ children,
411
+ ...props
412
+ }) {
413
+ return /* @__PURE__ */ jsxRuntime.jsxs(
414
+ radixUi.Select.Item,
415
+ {
416
+ "data-slot": "select-item",
417
+ className: chunkYSNZIYC2_cjs.cn(
418
+ "relative flex w-full cursor-default items-center gap-2 rounded-sm px-4 py-2 pr-8 text-[18px] outline-hidden select-none hover:bg-sidebar-selected focus:bg-sidebar-selected data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",
419
+ className
420
+ ),
421
+ ...props,
422
+ children: [
423
+ /* @__PURE__ */ jsxRuntime.jsx(
424
+ "span",
425
+ {
426
+ "data-slot": "select-item-indicator",
427
+ className: "absolute right-2 flex size-3.5 items-center justify-center",
428
+ children: /* @__PURE__ */ jsxRuntime.jsx(radixUi.Select.ItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.CheckIcon, { className: "size-4" }) })
429
+ }
430
+ ),
431
+ /* @__PURE__ */ jsxRuntime.jsx(radixUi.Select.ItemText, { children })
432
+ ]
433
+ }
434
+ );
435
+ }
436
+ function SelectSeparator({
437
+ className,
438
+ ...props
439
+ }) {
440
+ return /* @__PURE__ */ jsxRuntime.jsx(
441
+ radixUi.Select.Separator,
442
+ {
443
+ "data-slot": "select-separator",
444
+ className: chunkYSNZIYC2_cjs.cn("pointer-events-none -mx-1 my-1 h-px bg-border", className),
445
+ ...props
446
+ }
447
+ );
448
+ }
449
+ function SelectScrollUpButton({
450
+ className,
451
+ ...props
452
+ }) {
453
+ return /* @__PURE__ */ jsxRuntime.jsx(
454
+ radixUi.Select.ScrollUpButton,
455
+ {
456
+ "data-slot": "select-scroll-up-button",
457
+ className: chunkYSNZIYC2_cjs.cn(
458
+ "flex cursor-default items-center justify-center py-1",
459
+ className
460
+ ),
461
+ ...props,
462
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronUpIcon, { className: "size-4" })
463
+ }
464
+ );
465
+ }
466
+ function SelectScrollDownButton({
467
+ className,
468
+ ...props
469
+ }) {
470
+ return /* @__PURE__ */ jsxRuntime.jsx(
471
+ radixUi.Select.ScrollDownButton,
472
+ {
473
+ "data-slot": "select-scroll-down-button",
474
+ className: chunkYSNZIYC2_cjs.cn(
475
+ "flex cursor-default items-center justify-center py-1",
476
+ className
477
+ ),
478
+ ...props,
479
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronDownIcon, { className: "size-4" })
480
+ }
481
+ );
482
+ }
483
+ function Separator({
484
+ className,
485
+ orientation = "horizontal",
486
+ decorative = true,
487
+ ...props
488
+ }) {
489
+ return /* @__PURE__ */ jsxRuntime.jsx(
490
+ radixUi.Separator.Root,
491
+ {
492
+ "data-slot": "separator",
493
+ decorative,
494
+ orientation,
495
+ className: chunkYSNZIYC2_cjs.cn(
496
+ "shrink-0 bg-divider data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",
497
+ className
498
+ ),
499
+ ...props
500
+ }
501
+ );
502
+ }
503
+ function Switch({
504
+ className,
505
+ ...props
506
+ }) {
507
+ return /* @__PURE__ */ jsxRuntime.jsx(
508
+ radixUi.Switch.Root,
509
+ {
510
+ "data-slot": "switch",
511
+ className: chunkYSNZIYC2_cjs.cn(
512
+ "peer inline-flex shrink-0 items-center rounded-full w-[44px] h-[24px] cursor-pointer transition-colors duration-200 ease-in-out outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=unchecked]:bg-toggle-off data-[state=checked]:bg-toggle-on data-[state=unchecked]:hover:bg-[#B0BEC5] data-[state=checked]:hover:bg-[#2563EB]",
513
+ className
514
+ ),
515
+ ...props,
516
+ children: /* @__PURE__ */ jsxRuntime.jsx(
517
+ radixUi.Switch.Thumb,
518
+ {
519
+ "data-slot": "switch-thumb",
520
+ className: chunkYSNZIYC2_cjs.cn(
521
+ "pointer-events-none block size-5 rounded-full bg-white ring-0 transition-transform duration-200 ease-in-out data-[state=unchecked]:translate-x-[2px] data-[state=checked]:translate-x-[22px]"
522
+ )
523
+ }
524
+ )
525
+ }
526
+ );
527
+ }
528
+ function Table({ className, ...props }) {
529
+ return /* @__PURE__ */ jsxRuntime.jsx(
530
+ "div",
531
+ {
532
+ "data-slot": "table-container",
533
+ className: "relative w-full overflow-x-auto border border-border bg-white",
534
+ children: /* @__PURE__ */ jsxRuntime.jsx(
535
+ "table",
536
+ {
537
+ "data-slot": "table",
538
+ className: chunkYSNZIYC2_cjs.cn("w-full caption-bottom text-sm", className),
539
+ ...props
540
+ }
541
+ )
542
+ }
543
+ );
544
+ }
545
+ function TableHeader({ className, ...props }) {
546
+ return /* @__PURE__ */ jsxRuntime.jsx(
547
+ "thead",
548
+ {
549
+ "data-slot": "table-header",
550
+ className: chunkYSNZIYC2_cjs.cn("[&_tr]:border-b bg-table-header", className),
551
+ ...props
552
+ }
553
+ );
554
+ }
555
+ function TableBody({ className, ...props }) {
556
+ return /* @__PURE__ */ jsxRuntime.jsx(
557
+ "tbody",
558
+ {
559
+ "data-slot": "table-body",
560
+ className: chunkYSNZIYC2_cjs.cn("[&_tr:last-child]:border-0", className),
561
+ ...props
562
+ }
563
+ );
564
+ }
565
+ function TableFooter({ className, ...props }) {
566
+ return /* @__PURE__ */ jsxRuntime.jsx(
567
+ "tfoot",
568
+ {
569
+ "data-slot": "table-footer",
570
+ className: chunkYSNZIYC2_cjs.cn(
571
+ "border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",
572
+ className
573
+ ),
574
+ ...props
575
+ }
576
+ );
577
+ }
578
+ function TableRow({ className, ...props }) {
579
+ return /* @__PURE__ */ jsxRuntime.jsx(
580
+ "tr",
581
+ {
582
+ "data-slot": "table-row",
583
+ className: chunkYSNZIYC2_cjs.cn(
584
+ "h-[60px] border-b border-border hover:bg-table-header cursor-pointer transition-colors duration-150 data-[state=selected]:bg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2",
585
+ className
586
+ ),
587
+ ...props
588
+ }
589
+ );
590
+ }
591
+ function TableHead({ className, ...props }) {
592
+ return /* @__PURE__ */ jsxRuntime.jsx(
593
+ "th",
594
+ {
595
+ "data-slot": "table-head",
596
+ className: chunkYSNZIYC2_cjs.cn(
597
+ "h-14 px-4 text-left align-middle font-semibold whitespace-nowrap text-[14px] text-table-cell [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
598
+ className
599
+ ),
600
+ ...props
601
+ }
602
+ );
603
+ }
604
+ function TableCell({ className, ...props }) {
605
+ return /* @__PURE__ */ jsxRuntime.jsx(
606
+ "td",
607
+ {
608
+ "data-slot": "table-cell",
609
+ className: chunkYSNZIYC2_cjs.cn(
610
+ "px-4 text-[14px] text-table-cell align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
611
+ className
612
+ ),
613
+ ...props
614
+ }
615
+ );
616
+ }
617
+ function TableCaption({
618
+ className,
619
+ ...props
620
+ }) {
621
+ return /* @__PURE__ */ jsxRuntime.jsx(
622
+ "caption",
623
+ {
624
+ "data-slot": "table-caption",
625
+ className: chunkYSNZIYC2_cjs.cn("mt-4 text-sm text-muted-foreground", className),
626
+ ...props
627
+ }
628
+ );
629
+ }
630
+ function Tabs({
631
+ className,
632
+ orientation = "horizontal",
633
+ ...props
634
+ }) {
635
+ return /* @__PURE__ */ jsxRuntime.jsx(
636
+ radixUi.Tabs.Root,
637
+ {
638
+ "data-slot": "tabs",
639
+ "data-orientation": orientation,
640
+ orientation,
641
+ className: chunkYSNZIYC2_cjs.cn(
642
+ "group/tabs flex gap-2 data-[orientation=horizontal]:flex-col",
643
+ className
644
+ ),
645
+ ...props
646
+ }
647
+ );
648
+ }
649
+ function TabsList({
650
+ className,
651
+ ...props
652
+ }) {
653
+ return /* @__PURE__ */ jsxRuntime.jsx(
654
+ radixUi.Tabs.List,
655
+ {
656
+ "data-slot": "tabs-list",
657
+ className: chunkYSNZIYC2_cjs.cn(
658
+ "inline-flex w-fit items-center gap-2 bg-transparent p-0",
659
+ className
660
+ ),
661
+ ...props
662
+ }
663
+ );
664
+ }
665
+ function TabsTrigger({
666
+ className,
667
+ ...props
668
+ }) {
669
+ return /* @__PURE__ */ jsxRuntime.jsx(
670
+ radixUi.Tabs.Trigger,
671
+ {
672
+ "data-slot": "tabs-trigger",
673
+ className: chunkYSNZIYC2_cjs.cn(
674
+ "inline-flex items-center justify-center font-pretendard h-[52px] px-4 rounded-md transition-[background-color,color] duration-200 ease-in-out",
675
+ "bg-inactive-tab text-inactive-tab-text font-medium hover:bg-border",
676
+ "data-[state=active]:bg-primary data-[state=active]:text-white data-[state=active]:font-semibold",
677
+ "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
678
+ className
679
+ ),
680
+ ...props
681
+ }
682
+ );
683
+ }
684
+ function TabsContent({
685
+ className,
686
+ ...props
687
+ }) {
688
+ return /* @__PURE__ */ jsxRuntime.jsx(
689
+ radixUi.Tabs.Content,
690
+ {
691
+ "data-slot": "tabs-content",
692
+ className: chunkYSNZIYC2_cjs.cn("flex-1 outline-none", className),
693
+ ...props
694
+ }
695
+ );
696
+ }
697
+
698
+ exports.Badge = Badge;
699
+ exports.Button = Button;
700
+ exports.DropdownMenu = DropdownMenu;
701
+ exports.DropdownMenuCheckboxItem = DropdownMenuCheckboxItem;
702
+ exports.DropdownMenuContent = DropdownMenuContent;
703
+ exports.DropdownMenuGroup = DropdownMenuGroup;
704
+ exports.DropdownMenuItem = DropdownMenuItem;
705
+ exports.DropdownMenuLabel = DropdownMenuLabel;
706
+ exports.DropdownMenuPortal = DropdownMenuPortal;
707
+ exports.DropdownMenuRadioGroup = DropdownMenuRadioGroup;
708
+ exports.DropdownMenuRadioItem = DropdownMenuRadioItem;
709
+ exports.DropdownMenuSeparator = DropdownMenuSeparator;
710
+ exports.DropdownMenuShortcut = DropdownMenuShortcut;
711
+ exports.DropdownMenuSub = DropdownMenuSub;
712
+ exports.DropdownMenuSubContent = DropdownMenuSubContent;
713
+ exports.DropdownMenuSubTrigger = DropdownMenuSubTrigger;
714
+ exports.DropdownMenuTrigger = DropdownMenuTrigger;
715
+ exports.Input = Input;
716
+ exports.Label = Label;
717
+ exports.Select = Select;
718
+ exports.SelectContent = SelectContent;
719
+ exports.SelectGroup = SelectGroup;
720
+ exports.SelectItem = SelectItem;
721
+ exports.SelectLabel = SelectLabel;
722
+ exports.SelectScrollDownButton = SelectScrollDownButton;
723
+ exports.SelectScrollUpButton = SelectScrollUpButton;
724
+ exports.SelectSeparator = SelectSeparator;
725
+ exports.SelectTrigger = SelectTrigger;
726
+ exports.SelectValue = SelectValue;
727
+ exports.Separator = Separator;
728
+ exports.Switch = Switch;
729
+ exports.Table = Table;
730
+ exports.TableBody = TableBody;
731
+ exports.TableCaption = TableCaption;
732
+ exports.TableCell = TableCell;
733
+ exports.TableFooter = TableFooter;
734
+ exports.TableHead = TableHead;
735
+ exports.TableHeader = TableHeader;
736
+ exports.TableRow = TableRow;
737
+ exports.Tabs = Tabs;
738
+ exports.TabsContent = TabsContent;
739
+ exports.TabsList = TabsList;
740
+ exports.TabsTrigger = TabsTrigger;
741
+ exports.badgeVariants = badgeVariants;
742
+ exports.buttonVariants = buttonVariants;
743
+ //# sourceMappingURL=chunk-O4BML5KD.cjs.map
744
+ //# sourceMappingURL=chunk-O4BML5KD.cjs.map