@alquimia-ai/ui 2.0.0 → 2.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{alert-dialog-CP71C4vl.d.mts → alert-dialog-HrXEPlTh.d.mts} +1 -1
- package/dist/{alert-dialog-CP71C4vl.d.ts → alert-dialog-HrXEPlTh.d.ts} +1 -1
- package/dist/components/atoms/index.d.mts +48 -3
- package/dist/components/atoms/index.d.ts +48 -3
- package/dist/components/atoms/index.js +239 -0
- package/dist/components/atoms/index.js.map +1 -1
- package/dist/components/atoms/index.mjs +207 -1
- package/dist/components/atoms/index.mjs.map +1 -1
- package/dist/components/genui/index.d.mts +79 -0
- package/dist/components/genui/index.d.ts +79 -0
- package/dist/components/genui/index.js +4693 -0
- package/dist/components/genui/index.js.map +1 -0
- package/dist/components/genui/index.mjs +4622 -0
- package/dist/components/genui/index.mjs.map +1 -0
- package/dist/components/hooks/index.d.mts +1 -1
- package/dist/components/hooks/index.d.ts +1 -1
- package/dist/components/molecules/documents/index.js +283 -58
- package/dist/components/molecules/documents/index.js.map +1 -1
- package/dist/components/molecules/documents/index.mjs +281 -58
- package/dist/components/molecules/documents/index.mjs.map +1 -1
- package/dist/components/molecules/index.d.mts +2 -2
- package/dist/components/molecules/index.d.ts +2 -2
- package/dist/components/molecules/index.js +335 -156
- package/dist/components/molecules/index.js.map +1 -1
- package/dist/components/molecules/index.mjs +331 -152
- package/dist/components/molecules/index.mjs.map +1 -1
- package/dist/components/molecules/viewers/index.js +182 -3
- package/dist/components/molecules/viewers/index.js.map +1 -1
- package/dist/components/molecules/viewers/index.mjs +182 -3
- package/dist/components/molecules/viewers/index.mjs.map +1 -1
- package/dist/components/organisms/index.d.mts +15 -2
- package/dist/components/organisms/index.d.ts +15 -2
- package/dist/components/organisms/index.js +434 -247
- package/dist/components/organisms/index.js.map +1 -1
- package/dist/components/organisms/index.mjs +431 -244
- package/dist/components/organisms/index.mjs.map +1 -1
- package/dist/components/templates/index.js +210 -31
- package/dist/components/templates/index.js.map +1 -1
- package/dist/components/templates/index.mjs +210 -31
- package/dist/components/templates/index.mjs.map +1 -1
- package/dist/index.d.mts +7 -3
- package/dist/index.d.ts +7 -3
- package/dist/index.js +554 -307
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +524 -310
- package/dist/index.mjs.map +1 -1
- package/dist/{toast-2xT7L1tJ.d.mts → toast-DEc6eGUE.d.mts} +1 -1
- package/dist/{toast-2xT7L1tJ.d.ts → toast-DEc6eGUE.d.ts} +1 -1
- package/package.json +22 -3
|
@@ -31,4 +31,4 @@ declare const AlertDialogDescription: React.ForwardRefExoticComponent<Omit<Alert
|
|
|
31
31
|
declare const AlertDialogAction: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
32
32
|
declare const AlertDialogCancel: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
33
33
|
|
|
34
|
-
export { AlertDialog as A, Button as B,
|
|
34
|
+
export { AlertDialog as A, Button as B, AlertDialogAction as a, AlertDialogCancel as b, AlertDialogContent as c, AlertDialogDescription as d, AlertDialogFooter as e, AlertDialogHeader as f, AlertDialogOverlay as g, AlertDialogPortal as h, AlertDialogTitle as i, AlertDialogTrigger as j, type ButtonProps as k, buttonVariants as l };
|
|
@@ -31,4 +31,4 @@ declare const AlertDialogDescription: React.ForwardRefExoticComponent<Omit<Alert
|
|
|
31
31
|
declare const AlertDialogAction: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
32
32
|
declare const AlertDialogCancel: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
33
33
|
|
|
34
|
-
export { AlertDialog as A, Button as B,
|
|
34
|
+
export { AlertDialog as A, Button as B, AlertDialogAction as a, AlertDialogCancel as b, AlertDialogContent as c, AlertDialogDescription as d, AlertDialogFooter as e, AlertDialogHeader as f, AlertDialogOverlay as g, AlertDialogPortal as h, AlertDialogTitle as i, AlertDialogTrigger as j, type ButtonProps as k, buttonVariants as l };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as AlertDialog,
|
|
1
|
+
export { A as AlertDialog, a as AlertDialogAction, b as AlertDialogCancel, c as AlertDialogContent, d as AlertDialogDescription, e as AlertDialogFooter, f as AlertDialogHeader, g as AlertDialogOverlay, h as AlertDialogPortal, i as AlertDialogTitle, j as AlertDialogTrigger, B as Button, k as ButtonProps, l as buttonVariants } from '../../alert-dialog-HrXEPlTh.mjs';
|
|
2
2
|
import * as React$1 from 'react';
|
|
3
3
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
4
4
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
@@ -18,8 +18,12 @@ import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
|
18
18
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
19
19
|
import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
|
|
20
20
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
21
|
-
export {
|
|
21
|
+
export { T as Toast, a as ToastAction, b as ToastActionElement, c as ToastClose, d as ToastDescription, e as ToastProps, f as ToastProvider, g as ToastTitle, h as ToastViewport } from '../../toast-DEc6eGUE.mjs';
|
|
22
22
|
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
23
|
+
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
24
|
+
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
25
|
+
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
26
|
+
import { DayPicker } from 'react-day-picker';
|
|
23
27
|
import '@radix-ui/react-alert-dialog';
|
|
24
28
|
import '@radix-ui/react-toast';
|
|
25
29
|
|
|
@@ -278,4 +282,45 @@ interface ThinkIndicatorProps extends React$1.HTMLAttributes<HTMLDivElement>, Va
|
|
|
278
282
|
}
|
|
279
283
|
declare const ThinkIndicator: React$1.ForwardRefExoticComponent<ThinkIndicatorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
280
284
|
|
|
281
|
-
|
|
285
|
+
declare const Accordion: React$1.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React$1.RefAttributes<HTMLDivElement>>;
|
|
286
|
+
declare const AccordionItem: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
287
|
+
declare const AccordionTrigger: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
288
|
+
declare const AccordionContent: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
289
|
+
|
|
290
|
+
declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
291
|
+
declare const RadioGroupItem: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
292
|
+
|
|
293
|
+
declare const Progress: React$1.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
294
|
+
|
|
295
|
+
type CalendarProps = React$1.ComponentProps<typeof DayPicker>;
|
|
296
|
+
declare function Calendar({ className, classNames, showOutsideDays, ...props }: CalendarProps): react_jsx_runtime.JSX.Element;
|
|
297
|
+
declare namespace Calendar {
|
|
298
|
+
var displayName: string;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
/** Semantic chart token palette (defined in the theme CSS as --chart-1..5). */
|
|
302
|
+
declare const CHART_PALETTE: string[];
|
|
303
|
+
interface ChartProps {
|
|
304
|
+
className?: string;
|
|
305
|
+
/** Height in px for the responsive container. */
|
|
306
|
+
height?: number;
|
|
307
|
+
/** A single recharts chart element (BarChart/LineChart/…). */
|
|
308
|
+
children: React$1.ReactElement;
|
|
309
|
+
}
|
|
310
|
+
/**
|
|
311
|
+
* Generic responsive chart container with standardized sizing. The concrete
|
|
312
|
+
* chart type (bars/lines/…) and series come from the caller; this atom owns
|
|
313
|
+
* only the responsive box and theming primitives (see `themedChartAxes`).
|
|
314
|
+
*/
|
|
315
|
+
declare function Chart({ className, height, children }: ChartProps): react_jsx_runtime.JSX.Element;
|
|
316
|
+
declare namespace Chart {
|
|
317
|
+
var displayName: string;
|
|
318
|
+
}
|
|
319
|
+
/**
|
|
320
|
+
* Token-themed axes + grid + tooltip + legend, returned as a fragment so recharts
|
|
321
|
+
* flattens them as direct chart children. Not a component (recharts inspects child
|
|
322
|
+
* types and would not render a wrapper component's output as axes).
|
|
323
|
+
*/
|
|
324
|
+
declare function themedChartAxes(x: string): React$1.ReactElement;
|
|
325
|
+
|
|
326
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, CHART_PALETTE, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Chart, type ChartProps, Checkbox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, Input, type InputProps, Label, Loader, Popover, PopoverContent, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, RichText, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Skeleton, Slider, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, ThinkIndicator, type ThinkIndicatorProps, Toaster, Toggle, Typography, type TypographyProps, badgeVariants, themedChartAxes, thinkIndicatorVariants, toggleVariants };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as AlertDialog,
|
|
1
|
+
export { A as AlertDialog, a as AlertDialogAction, b as AlertDialogCancel, c as AlertDialogContent, d as AlertDialogDescription, e as AlertDialogFooter, f as AlertDialogHeader, g as AlertDialogOverlay, h as AlertDialogPortal, i as AlertDialogTitle, j as AlertDialogTrigger, B as Button, k as ButtonProps, l as buttonVariants } from '../../alert-dialog-HrXEPlTh.js';
|
|
2
2
|
import * as React$1 from 'react';
|
|
3
3
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
4
4
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
@@ -18,8 +18,12 @@ import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
|
18
18
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
19
19
|
import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
|
|
20
20
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
21
|
-
export {
|
|
21
|
+
export { T as Toast, a as ToastAction, b as ToastActionElement, c as ToastClose, d as ToastDescription, e as ToastProps, f as ToastProvider, g as ToastTitle, h as ToastViewport } from '../../toast-DEc6eGUE.js';
|
|
22
22
|
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
23
|
+
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
24
|
+
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
25
|
+
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
26
|
+
import { DayPicker } from 'react-day-picker';
|
|
23
27
|
import '@radix-ui/react-alert-dialog';
|
|
24
28
|
import '@radix-ui/react-toast';
|
|
25
29
|
|
|
@@ -278,4 +282,45 @@ interface ThinkIndicatorProps extends React$1.HTMLAttributes<HTMLDivElement>, Va
|
|
|
278
282
|
}
|
|
279
283
|
declare const ThinkIndicator: React$1.ForwardRefExoticComponent<ThinkIndicatorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
280
284
|
|
|
281
|
-
|
|
285
|
+
declare const Accordion: React$1.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React$1.RefAttributes<HTMLDivElement>>;
|
|
286
|
+
declare const AccordionItem: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
287
|
+
declare const AccordionTrigger: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
288
|
+
declare const AccordionContent: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
289
|
+
|
|
290
|
+
declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
291
|
+
declare const RadioGroupItem: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
292
|
+
|
|
293
|
+
declare const Progress: React$1.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
294
|
+
|
|
295
|
+
type CalendarProps = React$1.ComponentProps<typeof DayPicker>;
|
|
296
|
+
declare function Calendar({ className, classNames, showOutsideDays, ...props }: CalendarProps): react_jsx_runtime.JSX.Element;
|
|
297
|
+
declare namespace Calendar {
|
|
298
|
+
var displayName: string;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
/** Semantic chart token palette (defined in the theme CSS as --chart-1..5). */
|
|
302
|
+
declare const CHART_PALETTE: string[];
|
|
303
|
+
interface ChartProps {
|
|
304
|
+
className?: string;
|
|
305
|
+
/** Height in px for the responsive container. */
|
|
306
|
+
height?: number;
|
|
307
|
+
/** A single recharts chart element (BarChart/LineChart/…). */
|
|
308
|
+
children: React$1.ReactElement;
|
|
309
|
+
}
|
|
310
|
+
/**
|
|
311
|
+
* Generic responsive chart container with standardized sizing. The concrete
|
|
312
|
+
* chart type (bars/lines/…) and series come from the caller; this atom owns
|
|
313
|
+
* only the responsive box and theming primitives (see `themedChartAxes`).
|
|
314
|
+
*/
|
|
315
|
+
declare function Chart({ className, height, children }: ChartProps): react_jsx_runtime.JSX.Element;
|
|
316
|
+
declare namespace Chart {
|
|
317
|
+
var displayName: string;
|
|
318
|
+
}
|
|
319
|
+
/**
|
|
320
|
+
* Token-themed axes + grid + tooltip + legend, returned as a fragment so recharts
|
|
321
|
+
* flattens them as direct chart children. Not a component (recharts inspects child
|
|
322
|
+
* types and would not render a wrapper component's output as axes).
|
|
323
|
+
*/
|
|
324
|
+
declare function themedChartAxes(x: string): React$1.ReactElement;
|
|
325
|
+
|
|
326
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, CHART_PALETTE, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Chart, type ChartProps, Checkbox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, Input, type InputProps, Label, Loader, Popover, PopoverContent, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, RichText, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Skeleton, Slider, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, ThinkIndicator, type ThinkIndicatorProps, Toaster, Toggle, Typography, type TypographyProps, badgeVariants, themedChartAxes, thinkIndicatorVariants, toggleVariants };
|
|
@@ -219,6 +219,18 @@ var __toCommonJS = function(mod) {
|
|
|
219
219
|
// src/components/atoms/index.ts
|
|
220
220
|
var atoms_exports = {};
|
|
221
221
|
__export(atoms_exports, {
|
|
222
|
+
Accordion: function() {
|
|
223
|
+
return Accordion;
|
|
224
|
+
},
|
|
225
|
+
AccordionContent: function() {
|
|
226
|
+
return AccordionContent;
|
|
227
|
+
},
|
|
228
|
+
AccordionItem: function() {
|
|
229
|
+
return AccordionItem;
|
|
230
|
+
},
|
|
231
|
+
AccordionTrigger: function() {
|
|
232
|
+
return AccordionTrigger;
|
|
233
|
+
},
|
|
222
234
|
Alert: function() {
|
|
223
235
|
return Alert;
|
|
224
236
|
},
|
|
@@ -300,6 +312,12 @@ __export(atoms_exports, {
|
|
|
300
312
|
Button: function() {
|
|
301
313
|
return Button;
|
|
302
314
|
},
|
|
315
|
+
CHART_PALETTE: function() {
|
|
316
|
+
return CHART_PALETTE;
|
|
317
|
+
},
|
|
318
|
+
Calendar: function() {
|
|
319
|
+
return Calendar;
|
|
320
|
+
},
|
|
303
321
|
Card: function() {
|
|
304
322
|
return Card;
|
|
305
323
|
},
|
|
@@ -318,6 +336,9 @@ __export(atoms_exports, {
|
|
|
318
336
|
CardTitle: function() {
|
|
319
337
|
return CardTitle;
|
|
320
338
|
},
|
|
339
|
+
Chart: function() {
|
|
340
|
+
return Chart;
|
|
341
|
+
},
|
|
321
342
|
Checkbox: function() {
|
|
322
343
|
return Checkbox;
|
|
323
344
|
},
|
|
@@ -426,6 +447,15 @@ __export(atoms_exports, {
|
|
|
426
447
|
PopoverTrigger: function() {
|
|
427
448
|
return PopoverTrigger;
|
|
428
449
|
},
|
|
450
|
+
Progress: function() {
|
|
451
|
+
return Progress;
|
|
452
|
+
},
|
|
453
|
+
RadioGroup: function() {
|
|
454
|
+
return RadioGroup;
|
|
455
|
+
},
|
|
456
|
+
RadioGroupItem: function() {
|
|
457
|
+
return RadioGroupItem;
|
|
458
|
+
},
|
|
429
459
|
RichText: function() {
|
|
430
460
|
return RichText;
|
|
431
461
|
},
|
|
@@ -555,6 +585,9 @@ __export(atoms_exports, {
|
|
|
555
585
|
buttonVariants: function() {
|
|
556
586
|
return buttonVariants;
|
|
557
587
|
},
|
|
588
|
+
themedChartAxes: function() {
|
|
589
|
+
return themedChartAxes;
|
|
590
|
+
},
|
|
558
591
|
thinkIndicatorVariants: function() {
|
|
559
592
|
return thinkIndicatorVariants;
|
|
560
593
|
},
|
|
@@ -2151,4 +2184,210 @@ var ThinkIndicator = React25.forwardRef(function(_param, ref) {
|
|
|
2151
2184
|
}));
|
|
2152
2185
|
});
|
|
2153
2186
|
ThinkIndicator.displayName = "ThinkIndicator";
|
|
2187
|
+
// src/components/atoms/ui/accordion.tsx
|
|
2188
|
+
var React26 = __toESM(require("react"));
|
|
2189
|
+
var AccordionPrimitive = __toESM(require("@radix-ui/react-accordion"));
|
|
2190
|
+
var import_lucide_react8 = require("lucide-react");
|
|
2191
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
2192
|
+
var Accordion = AccordionPrimitive.Root;
|
|
2193
|
+
var AccordionItem = React26.forwardRef(function(_param, ref) {
|
|
2194
|
+
var className = _param.className, props = _object_without_properties(_param, [
|
|
2195
|
+
"className"
|
|
2196
|
+
]);
|
|
2197
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(AccordionPrimitive.Item, _object_spread({
|
|
2198
|
+
ref: ref,
|
|
2199
|
+
className: cn("border-b", className)
|
|
2200
|
+
}, props));
|
|
2201
|
+
});
|
|
2202
|
+
AccordionItem.displayName = "AccordionItem";
|
|
2203
|
+
var AccordionTrigger = React26.forwardRef(function(_param, ref) {
|
|
2204
|
+
var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
|
|
2205
|
+
"className",
|
|
2206
|
+
"children"
|
|
2207
|
+
]);
|
|
2208
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(AccordionPrimitive.Header, {
|
|
2209
|
+
className: "flex",
|
|
2210
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(AccordionPrimitive.Trigger, _object_spread_props(_object_spread({
|
|
2211
|
+
ref: ref,
|
|
2212
|
+
className: cn("flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180", className)
|
|
2213
|
+
}, props), {
|
|
2214
|
+
children: [
|
|
2215
|
+
children,
|
|
2216
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_lucide_react8.ChevronDown, {
|
|
2217
|
+
className: "h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"
|
|
2218
|
+
})
|
|
2219
|
+
]
|
|
2220
|
+
}))
|
|
2221
|
+
});
|
|
2222
|
+
});
|
|
2223
|
+
AccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;
|
|
2224
|
+
var AccordionContent = React26.forwardRef(function(_param, ref) {
|
|
2225
|
+
var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
|
|
2226
|
+
"className",
|
|
2227
|
+
"children"
|
|
2228
|
+
]);
|
|
2229
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(AccordionPrimitive.Content, _object_spread_props(_object_spread({
|
|
2230
|
+
ref: ref,
|
|
2231
|
+
className: "overflow-hidden text-sm text-muted-foreground data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down"
|
|
2232
|
+
}, props), {
|
|
2233
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", {
|
|
2234
|
+
className: cn("pb-4 pt-0", className),
|
|
2235
|
+
children: children
|
|
2236
|
+
})
|
|
2237
|
+
}));
|
|
2238
|
+
});
|
|
2239
|
+
AccordionContent.displayName = AccordionPrimitive.Content.displayName;
|
|
2240
|
+
// src/components/atoms/ui/radio-group.tsx
|
|
2241
|
+
var React27 = __toESM(require("react"));
|
|
2242
|
+
var RadioGroupPrimitive = __toESM(require("@radix-ui/react-radio-group"));
|
|
2243
|
+
var import_lucide_react9 = require("lucide-react");
|
|
2244
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
2245
|
+
var RadioGroup = React27.forwardRef(function(_param, ref) {
|
|
2246
|
+
var className = _param.className, props = _object_without_properties(_param, [
|
|
2247
|
+
"className"
|
|
2248
|
+
]);
|
|
2249
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(RadioGroupPrimitive.Root, _object_spread({
|
|
2250
|
+
ref: ref,
|
|
2251
|
+
className: cn("grid gap-2", className)
|
|
2252
|
+
}, props));
|
|
2253
|
+
});
|
|
2254
|
+
RadioGroup.displayName = RadioGroupPrimitive.Root.displayName;
|
|
2255
|
+
var RadioGroupItem = React27.forwardRef(function(_param, ref) {
|
|
2256
|
+
var className = _param.className, props = _object_without_properties(_param, [
|
|
2257
|
+
"className"
|
|
2258
|
+
]);
|
|
2259
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(RadioGroupPrimitive.Item, _object_spread_props(_object_spread({
|
|
2260
|
+
ref: ref,
|
|
2261
|
+
className: cn("aspect-square h-4 w-4 rounded-full border border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50", className)
|
|
2262
|
+
}, props), {
|
|
2263
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(RadioGroupPrimitive.Indicator, {
|
|
2264
|
+
className: "flex items-center justify-center",
|
|
2265
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_lucide_react9.Circle, {
|
|
2266
|
+
className: "h-2.5 w-2.5 fill-current text-current"
|
|
2267
|
+
})
|
|
2268
|
+
})
|
|
2269
|
+
}));
|
|
2270
|
+
});
|
|
2271
|
+
RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;
|
|
2272
|
+
// src/components/atoms/ui/progress.tsx
|
|
2273
|
+
var React28 = __toESM(require("react"));
|
|
2274
|
+
var ProgressPrimitive = __toESM(require("@radix-ui/react-progress"));
|
|
2275
|
+
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
2276
|
+
var Progress = React28.forwardRef(function(_param, ref) {
|
|
2277
|
+
var className = _param.className, value = _param.value, props = _object_without_properties(_param, [
|
|
2278
|
+
"className",
|
|
2279
|
+
"value"
|
|
2280
|
+
]);
|
|
2281
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ProgressPrimitive.Root, _object_spread_props(_object_spread({
|
|
2282
|
+
ref: ref,
|
|
2283
|
+
className: cn("relative h-2 w-full overflow-hidden rounded-full bg-muted", className)
|
|
2284
|
+
}, props), {
|
|
2285
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ProgressPrimitive.Indicator, {
|
|
2286
|
+
className: "h-full w-full flex-1 bg-primary transition-all",
|
|
2287
|
+
style: {
|
|
2288
|
+
transform: "translateX(-".concat(100 - (value || 0), "%)")
|
|
2289
|
+
}
|
|
2290
|
+
})
|
|
2291
|
+
}));
|
|
2292
|
+
});
|
|
2293
|
+
Progress.displayName = ProgressPrimitive.Root.displayName;
|
|
2294
|
+
// src/components/atoms/ui/calendar.tsx
|
|
2295
|
+
var import_lucide_react10 = require("lucide-react");
|
|
2296
|
+
var import_react_day_picker = require("react-day-picker");
|
|
2297
|
+
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
2298
|
+
function Calendar(_param) {
|
|
2299
|
+
var className = _param.className, classNames = _param.classNames, _param_showOutsideDays = _param.showOutsideDays, showOutsideDays = _param_showOutsideDays === void 0 ? true : _param_showOutsideDays, props = _object_without_properties(_param, [
|
|
2300
|
+
"className",
|
|
2301
|
+
"classNames",
|
|
2302
|
+
"showOutsideDays"
|
|
2303
|
+
]);
|
|
2304
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_react_day_picker.DayPicker, _object_spread({
|
|
2305
|
+
showOutsideDays: showOutsideDays,
|
|
2306
|
+
className: cn("p-3", className),
|
|
2307
|
+
classNames: _object_spread({
|
|
2308
|
+
months: "flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",
|
|
2309
|
+
month: "space-y-4",
|
|
2310
|
+
caption: "flex justify-center pt-1 relative items-center",
|
|
2311
|
+
caption_label: "text-sm font-medium",
|
|
2312
|
+
nav: "space-x-1 flex items-center",
|
|
2313
|
+
nav_button: cn(buttonVariants({
|
|
2314
|
+
variant: "outline"
|
|
2315
|
+
}), "h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"),
|
|
2316
|
+
nav_button_previous: "absolute left-1",
|
|
2317
|
+
nav_button_next: "absolute right-1",
|
|
2318
|
+
table: "w-full border-collapse space-y-1",
|
|
2319
|
+
head_row: "flex",
|
|
2320
|
+
head_cell: "text-muted-foreground rounded-md w-9 font-normal text-[0.8rem]",
|
|
2321
|
+
row: "flex w-full mt-2",
|
|
2322
|
+
cell: "h-9 w-9 text-center text-sm p-0 relative [&:has([aria-selected])]:bg-accent first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md focus-within:relative focus-within:z-20",
|
|
2323
|
+
day: cn(buttonVariants({
|
|
2324
|
+
variant: "ghost"
|
|
2325
|
+
}), "h-9 w-9 p-0 font-normal aria-selected:opacity-100"),
|
|
2326
|
+
day_range_end: "day-range-end",
|
|
2327
|
+
day_selected: "bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",
|
|
2328
|
+
day_today: "bg-accent text-accent-foreground",
|
|
2329
|
+
day_outside: "day-outside text-muted-foreground opacity-50",
|
|
2330
|
+
day_disabled: "text-muted-foreground opacity-50",
|
|
2331
|
+
day_range_middle: "aria-selected:bg-accent aria-selected:text-accent-foreground",
|
|
2332
|
+
day_hidden: "invisible"
|
|
2333
|
+
}, classNames),
|
|
2334
|
+
components: {
|
|
2335
|
+
IconLeft: function() {
|
|
2336
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_lucide_react10.ChevronLeft, {
|
|
2337
|
+
className: "h-4 w-4"
|
|
2338
|
+
});
|
|
2339
|
+
},
|
|
2340
|
+
IconRight: function() {
|
|
2341
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_lucide_react10.ChevronRight, {
|
|
2342
|
+
className: "h-4 w-4"
|
|
2343
|
+
});
|
|
2344
|
+
}
|
|
2345
|
+
}
|
|
2346
|
+
}, props));
|
|
2347
|
+
}
|
|
2348
|
+
Calendar.displayName = "Calendar";
|
|
2349
|
+
// src/components/atoms/ui/chart.tsx
|
|
2350
|
+
var import_recharts = require("recharts");
|
|
2351
|
+
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
2352
|
+
var CHART_PALETTE = [
|
|
2353
|
+
"hsl(var(--chart-1))",
|
|
2354
|
+
"hsl(var(--chart-2))",
|
|
2355
|
+
"hsl(var(--chart-3))",
|
|
2356
|
+
"hsl(var(--chart-4))",
|
|
2357
|
+
"hsl(var(--chart-5))"
|
|
2358
|
+
];
|
|
2359
|
+
function Chart(param) {
|
|
2360
|
+
var className = param.className, _param_height = param.height, height = _param_height === void 0 ? 300 : _param_height, children = param.children;
|
|
2361
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", {
|
|
2362
|
+
className: cn("w-full", className),
|
|
2363
|
+
style: {
|
|
2364
|
+
height: height
|
|
2365
|
+
},
|
|
2366
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_recharts.ResponsiveContainer, {
|
|
2367
|
+
width: "100%",
|
|
2368
|
+
height: "100%",
|
|
2369
|
+
children: children
|
|
2370
|
+
})
|
|
2371
|
+
});
|
|
2372
|
+
}
|
|
2373
|
+
Chart.displayName = "Chart";
|
|
2374
|
+
function themedChartAxes(x) {
|
|
2375
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(import_jsx_runtime35.Fragment, {
|
|
2376
|
+
children: [
|
|
2377
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_recharts.CartesianGrid, {
|
|
2378
|
+
strokeDasharray: "3 3",
|
|
2379
|
+
className: "stroke-border"
|
|
2380
|
+
}),
|
|
2381
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_recharts.XAxis, {
|
|
2382
|
+
dataKey: x,
|
|
2383
|
+
className: "text-xs"
|
|
2384
|
+
}),
|
|
2385
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_recharts.YAxis, {
|
|
2386
|
+
className: "text-xs"
|
|
2387
|
+
}),
|
|
2388
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_recharts.Tooltip, {}),
|
|
2389
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_recharts.Legend, {})
|
|
2390
|
+
]
|
|
2391
|
+
});
|
|
2392
|
+
}
|
|
2154
2393
|
//# sourceMappingURL=index.js.map
|