@timbal-ai/timbal-react 0.8.2 → 1.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.
- package/CHANGELOG.md +49 -0
- package/README.md +100 -6
- package/dist/app.cjs +2538 -1262
- package/dist/app.d.cts +11 -6
- package/dist/app.d.ts +11 -6
- package/dist/app.esm.js +43 -6
- package/dist/{button-ClSgD6OF.d.cts → button-BoyX5pM_.d.cts} +1 -1
- package/dist/{button-ClSgD6OF.d.ts → button-BoyX5pM_.d.ts} +1 -1
- package/dist/{chart-artifact-Bl67kre7.d.ts → chart-artifact-BZp7nmaf.d.ts} +430 -14
- package/dist/{chart-artifact-BzcvblDe.d.cts → chart-artifact-CX-rh9nq.d.cts} +430 -14
- package/dist/{chat-Bed4FQSl.d.cts → chat-DCms8pJ_.d.cts} +31 -4
- package/dist/{chat-Bed4FQSl.d.ts → chat-DCms8pJ_.d.ts} +31 -4
- package/dist/chat.cjs +1111 -776
- package/dist/chat.d.cts +1 -1
- package/dist/chat.d.ts +1 -1
- package/dist/chat.esm.js +3 -3
- package/dist/{chunk-QVAUCVQA.esm.js → chunk-4AKJ6FKE.esm.js} +277 -4
- package/dist/chunk-6HWMJNZT.esm.js +3439 -0
- package/dist/{chunk-VWHHKAHN.esm.js → chunk-FRZOEYBO.esm.js} +4 -4
- package/dist/chunk-JEAUF54A.esm.js +52 -0
- package/dist/{chunk-OISVICYF.esm.js → chunk-P3KDAYX6.esm.js} +1 -1
- package/dist/{chunk-6YVKCVEP.esm.js → chunk-TK2AGIME.esm.js} +1106 -298
- package/dist/{chunk-CFU3YDTV.esm.js → chunk-XCM3V6RK.esm.js} +5 -5
- package/dist/{chunk-5ZKLPWVN.esm.js → chunk-YXZ22OJN.esm.js} +849 -667
- package/dist/index.cjs +6070 -1605
- package/dist/index.d.cts +8 -6
- package/dist/index.d.ts +8 -6
- package/dist/index.esm.js +427 -11
- package/dist/pill-segmented-tabs-Ba5q0feL.d.cts +500 -0
- package/dist/pill-segmented-tabs-Ba5q0feL.d.ts +500 -0
- package/dist/studio.cjs +1333 -998
- package/dist/studio.d.cts +2 -2
- package/dist/studio.d.ts +2 -2
- package/dist/studio.esm.js +5 -5
- package/dist/styles.css +220 -0
- package/dist/ui.cjs +3592 -89
- package/dist/ui.d.cts +72 -96
- package/dist/ui.d.ts +72 -96
- package/dist/ui.esm.js +400 -6
- package/dist/{welcome-COOb05a5.d.cts → welcome-CRqOPKMp.d.cts} +1 -1
- package/dist/{welcome-DE08m9ca.d.ts → welcome-DlHUa3OL.d.ts} +1 -1
- package/package.json +9 -3
- package/dist/chunk-P4SN7M67.esm.js +0 -435
package/dist/ui.d.cts
CHANGED
|
@@ -1,106 +1,82 @@
|
|
|
1
|
-
export { B as Button } from './button-
|
|
1
|
+
export { B as Button } from './button-BoyX5pM_.cjs';
|
|
2
|
+
export { A as Accordion, a as AccordionContent, b as AccordionItem, c as AccordionTrigger, d as Alert, e as AlertDescription, f as AlertDialog, g as AlertDialogAction, h as AlertDialogCancel, i as AlertDialogContent, j as AlertDialogDescription, k as AlertDialogFooter, l as AlertDialogHeader, m as AlertDialogOverlay, n as AlertDialogPortal, o as AlertDialogTitle, p as AlertDialogTrigger, q as AlertTitle, r as AspectRatio, s as Avatar, t as AvatarFallback, u as AvatarImage, B as Badge, v as Breadcrumb, w as BreadcrumbEllipsis, x as BreadcrumbItem, y as BreadcrumbLink, z as BreadcrumbList, C as BreadcrumbPage, D as BreadcrumbSeparator, E as CONTROL_SIZE, F as Calendar, G as CalendarDayButton, H as Card, I as CardContent, J as CardDescription, K as CardFooter, L as CardHeader, M as CardTitle, N as Checkbox, O as Collapsible, P as CollapsibleContent, Q as CollapsibleTrigger, R as Combobox, S as ComboboxAnchor, T as ComboboxCommand, U as ComboboxContent, V as ComboboxEmpty, W as ComboboxGroup, X as ComboboxInput, Y as ComboboxItem, Z as ComboboxList, _ as ComboboxSeparator, $ as ComboboxShortcut, a0 as ComboboxTrigger, a1 as Command, a2 as CommandDialog, a3 as CommandEmpty, a4 as CommandGroup, a5 as CommandInput, a6 as CommandItem, a7 as CommandList, a8 as CommandSeparator, a9 as CommandShortcut, aa as ContextMenu, ab as ContextMenuCheckboxItem, ac as ContextMenuContent, ad as ContextMenuGroup, ae as ContextMenuItem, af as ContextMenuLabel, ag as ContextMenuRadioGroup, ah as ContextMenuRadioItem, ai as ContextMenuSeparator, aj as ContextMenuShortcut, ak as ContextMenuSub, al as ContextMenuSubContent, am as ContextMenuSubTrigger, an as ContextMenuTrigger, ao as ControlClassOptions, ap as ControlShape, aq as ControlSize, ar as DatePicker, as as DatePickerButton, at as DatePickerCalendar, au as DatePickerContent, av as DatePickerTrigger, aw as Dialog, ax as DialogClose, ay as DialogContent, az as DialogDescription, aA as DialogFooter, aB as DialogHeader, aC as DialogOverlay, aD as DialogPortal, aE as DialogTitle, aF as DialogTrigger, aG as DropdownMenu, aH as DropdownMenuCheckboxItem, aI as DropdownMenuContent, aJ as DropdownMenuGroup, aK as DropdownMenuItem, aL as DropdownMenuLabel, aM as DropdownMenuRadioGroup, aN as DropdownMenuRadioItem, aO as DropdownMenuSeparator, aP as DropdownMenuShortcut, aQ as DropdownMenuSub, aR as DropdownMenuSubContent, aS as DropdownMenuSubTrigger, aT as DropdownMenuTrigger, aU as Form, aV as FormControl, aW as FormField, aX as FormItem, aY as FormLabel, aZ as FormMessage, a_ as FormSubmit, a$ as HoverCard, b0 as HoverCardContent, b1 as HoverCardTrigger, b2 as Input, b3 as InputGroup, b4 as InputGroupAddon, b5 as InputGroupInput, b6 as InputGroupText, b7 as InputOTP, b8 as InputOTPGroup, b9 as InputOTPHiddenInput, ba as InputOTPSeparator, bb as InputOTPSlot, bc as Kbd, bd as KbdGroup, be as Label, bf as MemoPillSegmentedTabs, bg as Menubar, bh as MenubarCheckboxItem, bi as MenubarContent, bj as MenubarItem, bk as MenubarLabel, bl as MenubarMenu, bm as MenubarRadioGroup, bn as MenubarRadioItem, bo as MenubarSeparator, bp as MenubarShortcut, bq as MenubarSub, br as MenubarSubContent, bs as MenubarSubTrigger, bt as MenubarTrigger, bu as NavigationMenu, bv as NavigationMenuContent, bw as NavigationMenuIndicator, bx as NavigationMenuItem, by as NavigationMenuLink, bz as NavigationMenuList, bA as NavigationMenuTrigger, bB as NavigationMenuViewport, bC as Pagination, bD as PaginationContent, bE as PaginationEllipsis, bF as PaginationItem, bG as PaginationLink, bH as PaginationNext, bI as PaginationPrevious, bJ as PillSegmentedTab, bK as PillSegmentedTabs, bL as PillSegmentedTabsProps, bM as Popover, bN as PopoverAnchor, bO as PopoverContent, bP as PopoverTrigger, bQ as Progress, bR as RadioGroup, bS as RadioGroupItem, bT as ScrollArea, bU as ScrollBar, bV as Select, bW as SelectContent, bX as SelectGroup, bY as SelectItem, bZ as SelectLabel, b_ as SelectScrollDownButton, b$ as SelectScrollUpButton, c0 as SelectSeparator, c1 as SelectTrigger, c2 as SelectValue, c3 as Separator, c4 as Sheet, c5 as SheetClose, c6 as SheetContent, c7 as SheetDescription, c8 as SheetFooter, c9 as SheetHeader, ca as SheetTitle, cb as SheetTrigger, cc as Shimmer, cd as Skeleton, ce as Slider, cf as Spinner, cg as Switch, ch as Table, ci as TableBody, cj as TableCaption, ck as TableCell, cl as TableFooter, cm as TableHead, cn as TableHeader, co as TableRow, cp as TextShimmerProps, cq as Textarea, cr as Toast, cs as ToastAction, ct as ToastClose, cu as ToastDescription, cv as ToastProps, cw as ToastProvider, cx as ToastTitle, cy as ToastViewport, cz as Toaster, cA as Toggle, cB as ToggleGroup, cC as ToggleGroupItem, cD as Toolbar, cE as ToolbarButton, cF as ToolbarLink, cG as ToolbarSeparator, cH as ToolbarToggleGroup, cI as ToolbarToggleItem, cJ as Tooltip, cK as TooltipContent, cL as TooltipProvider, cM as TooltipTrigger, cN as alertVariants, cO as badgeVariants, cP as controlClass, cQ as controlSurfaceClass, cR as formatPickerDate, cS as navigationMenuTriggerStyle, cT as overlayAnimationClass, cU as overlayItemClass, cV as overlayListPanelClass, cW as overlaySurfaceClass, cX as toast, cY as toggleVariants, cZ as useToast } from './pill-segmented-tabs-Ba5q0feL.cjs';
|
|
2
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
4
|
import * as React from 'react';
|
|
4
|
-
import
|
|
5
|
-
import { Tooltip as Tooltip$1, Avatar as Avatar$1, Dialog as Dialog$1, DropdownMenu as DropdownMenu$1, Popover as Popover$1, Select as Select$1 } from 'radix-ui';
|
|
5
|
+
import * as RechartsPrimitive from 'recharts';
|
|
6
6
|
export { a as TimbalV2Button } from './timbal-v2-button-CNfdwGq4.cjs';
|
|
7
7
|
import 'class-variance-authority/types';
|
|
8
8
|
import 'class-variance-authority';
|
|
9
|
+
import 'radix-ui';
|
|
10
|
+
import 'cmdk';
|
|
11
|
+
import 'react-day-picker';
|
|
9
12
|
|
|
10
|
-
declare
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
29
|
-
declare function
|
|
30
|
-
declare function
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
declare function DropdownMenu({ ...props }: React.ComponentProps<typeof DropdownMenu$1.Root>): react_jsx_runtime.JSX.Element;
|
|
35
|
-
declare function DropdownMenuTrigger({ ...props }: React.ComponentProps<typeof DropdownMenu$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
36
|
-
declare function DropdownMenuGroup({ ...props }: React.ComponentProps<typeof DropdownMenu$1.Group>): react_jsx_runtime.JSX.Element;
|
|
37
|
-
declare function DropdownMenuContent({ className, sideOffset, ...props }: React.ComponentProps<typeof DropdownMenu$1.Content>): react_jsx_runtime.JSX.Element;
|
|
38
|
-
declare function DropdownMenuItem({ className, inset, variant, ...props }: React.ComponentProps<typeof DropdownMenu$1.Item> & {
|
|
39
|
-
inset?: boolean;
|
|
40
|
-
variant?: "default" | "destructive";
|
|
41
|
-
}): react_jsx_runtime.JSX.Element;
|
|
42
|
-
declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: React.ComponentProps<typeof DropdownMenu$1.CheckboxItem>): react_jsx_runtime.JSX.Element;
|
|
43
|
-
declare function DropdownMenuRadioGroup({ ...props }: React.ComponentProps<typeof DropdownMenu$1.RadioGroup>): react_jsx_runtime.JSX.Element;
|
|
44
|
-
declare function DropdownMenuRadioItem({ className, children, ...props }: React.ComponentProps<typeof DropdownMenu$1.RadioItem>): react_jsx_runtime.JSX.Element;
|
|
45
|
-
declare function DropdownMenuLabel({ className, inset, ...props }: React.ComponentProps<typeof DropdownMenu$1.Label> & {
|
|
46
|
-
inset?: boolean;
|
|
13
|
+
declare const THEMES: {
|
|
14
|
+
readonly light: "";
|
|
15
|
+
readonly dark: ".dark";
|
|
16
|
+
};
|
|
17
|
+
type ChartConfig = {
|
|
18
|
+
[k in string]: {
|
|
19
|
+
label?: React.ReactNode;
|
|
20
|
+
icon?: React.ComponentType;
|
|
21
|
+
} & ({
|
|
22
|
+
color?: string;
|
|
23
|
+
theme?: never;
|
|
24
|
+
} | {
|
|
25
|
+
color?: never;
|
|
26
|
+
theme: Record<keyof typeof THEMES, string>;
|
|
27
|
+
});
|
|
28
|
+
};
|
|
29
|
+
type ChartContextProps = {
|
|
30
|
+
config: ChartConfig;
|
|
31
|
+
};
|
|
32
|
+
declare function useChart(): ChartContextProps;
|
|
33
|
+
declare function ChartContainer({ id, className, children, config, ...props }: React.ComponentProps<"div"> & {
|
|
34
|
+
config: ChartConfig;
|
|
35
|
+
children: React.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
|
|
47
36
|
}): react_jsx_runtime.JSX.Element;
|
|
48
|
-
declare
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
declare function
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}): react_jsx_runtime.JSX.Element;
|
|
67
|
-
declare function SelectContent({ className, children, position, ...props }: React.ComponentProps<typeof Select$1.Content>): react_jsx_runtime.JSX.Element;
|
|
68
|
-
declare function SelectLabel({ className, ...props }: React.ComponentProps<typeof Select$1.Label>): react_jsx_runtime.JSX.Element;
|
|
69
|
-
declare function SelectItem({ className, children, ...props }: React.ComponentProps<typeof Select$1.Item>): react_jsx_runtime.JSX.Element;
|
|
70
|
-
declare function SelectSeparator({ className, ...props }: React.ComponentProps<typeof Select$1.Separator>): react_jsx_runtime.JSX.Element;
|
|
71
|
-
declare function SelectScrollUpButton({ className, ...props }: React.ComponentProps<typeof Select$1.ScrollUpButton>): react_jsx_runtime.JSX.Element;
|
|
72
|
-
declare function SelectScrollDownButton({ className, ...props }: React.ComponentProps<typeof Select$1.ScrollDownButton>): react_jsx_runtime.JSX.Element;
|
|
73
|
-
|
|
74
|
-
interface TextShimmerProps {
|
|
75
|
-
children: string;
|
|
76
|
-
as?: ElementType;
|
|
37
|
+
declare const ChartStyle: ({ id, config }: {
|
|
38
|
+
id: string;
|
|
39
|
+
config: ChartConfig;
|
|
40
|
+
}) => react_jsx_runtime.JSX.Element | null;
|
|
41
|
+
declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
|
|
42
|
+
type TooltipPayloadItem = {
|
|
43
|
+
type?: string;
|
|
44
|
+
value?: unknown;
|
|
45
|
+
name?: string | number;
|
|
46
|
+
dataKey?: string | number;
|
|
47
|
+
color?: string;
|
|
48
|
+
payload?: Record<string, unknown> & {
|
|
49
|
+
fill?: string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
declare function ChartTooltipContent({ active, payload, className, indicator, hideLabel, hideIndicator, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey, }: {
|
|
53
|
+
active?: boolean;
|
|
54
|
+
payload?: TooltipPayloadItem[];
|
|
77
55
|
className?: string;
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
56
|
+
indicator?: "line" | "dot" | "dashed";
|
|
57
|
+
hideLabel?: boolean;
|
|
58
|
+
hideIndicator?: boolean;
|
|
59
|
+
label?: unknown;
|
|
60
|
+
labelFormatter?: (value: unknown, payload: TooltipPayloadItem[]) => React.ReactNode;
|
|
61
|
+
labelClassName?: string;
|
|
62
|
+
formatter?: (value: unknown, name: string | number | undefined, item: TooltipPayloadItem, index: number, payload: unknown) => React.ReactNode;
|
|
63
|
+
color?: string;
|
|
64
|
+
nameKey?: string;
|
|
65
|
+
labelKey?: string;
|
|
66
|
+
}): react_jsx_runtime.JSX.Element | null;
|
|
67
|
+
declare const ChartLegend: React.MemoExoticComponent<(outsideProps: RechartsPrimitive.LegendProps) => React.ReactPortal | null>;
|
|
68
|
+
type LegendPayloadItem = {
|
|
69
|
+
value?: unknown;
|
|
70
|
+
type?: string;
|
|
71
|
+
color?: string;
|
|
72
|
+
dataKey?: string | number;
|
|
73
|
+
};
|
|
74
|
+
declare function ChartLegendContent({ className, hideIcon, payload, verticalAlign, nameKey, }: {
|
|
92
75
|
className?: string;
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
}
|
|
99
|
-
/**
|
|
100
|
-
* Pill-in-pill segmented control — same visual language as timbal-platform
|
|
101
|
-
* `WorkshopPillSegmentedTabs` (Build/Manage, Home Builder tabs).
|
|
102
|
-
*/
|
|
103
|
-
declare const PillSegmentedTabs: FC<PillSegmentedTabsProps>;
|
|
104
|
-
declare const MemoPillSegmentedTabs: React.NamedExoticComponent<PillSegmentedTabsProps>;
|
|
76
|
+
hideIcon?: boolean;
|
|
77
|
+
payload?: LegendPayloadItem[];
|
|
78
|
+
verticalAlign?: "top" | "bottom";
|
|
79
|
+
nameKey?: string;
|
|
80
|
+
}): react_jsx_runtime.JSX.Element | null;
|
|
105
81
|
|
|
106
|
-
export {
|
|
82
|
+
export { type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, useChart };
|
package/dist/ui.d.ts
CHANGED
|
@@ -1,106 +1,82 @@
|
|
|
1
|
-
export { B as Button } from './button-
|
|
1
|
+
export { B as Button } from './button-BoyX5pM_.js';
|
|
2
|
+
export { A as Accordion, a as AccordionContent, b as AccordionItem, c as AccordionTrigger, d as Alert, e as AlertDescription, f as AlertDialog, g as AlertDialogAction, h as AlertDialogCancel, i as AlertDialogContent, j as AlertDialogDescription, k as AlertDialogFooter, l as AlertDialogHeader, m as AlertDialogOverlay, n as AlertDialogPortal, o as AlertDialogTitle, p as AlertDialogTrigger, q as AlertTitle, r as AspectRatio, s as Avatar, t as AvatarFallback, u as AvatarImage, B as Badge, v as Breadcrumb, w as BreadcrumbEllipsis, x as BreadcrumbItem, y as BreadcrumbLink, z as BreadcrumbList, C as BreadcrumbPage, D as BreadcrumbSeparator, E as CONTROL_SIZE, F as Calendar, G as CalendarDayButton, H as Card, I as CardContent, J as CardDescription, K as CardFooter, L as CardHeader, M as CardTitle, N as Checkbox, O as Collapsible, P as CollapsibleContent, Q as CollapsibleTrigger, R as Combobox, S as ComboboxAnchor, T as ComboboxCommand, U as ComboboxContent, V as ComboboxEmpty, W as ComboboxGroup, X as ComboboxInput, Y as ComboboxItem, Z as ComboboxList, _ as ComboboxSeparator, $ as ComboboxShortcut, a0 as ComboboxTrigger, a1 as Command, a2 as CommandDialog, a3 as CommandEmpty, a4 as CommandGroup, a5 as CommandInput, a6 as CommandItem, a7 as CommandList, a8 as CommandSeparator, a9 as CommandShortcut, aa as ContextMenu, ab as ContextMenuCheckboxItem, ac as ContextMenuContent, ad as ContextMenuGroup, ae as ContextMenuItem, af as ContextMenuLabel, ag as ContextMenuRadioGroup, ah as ContextMenuRadioItem, ai as ContextMenuSeparator, aj as ContextMenuShortcut, ak as ContextMenuSub, al as ContextMenuSubContent, am as ContextMenuSubTrigger, an as ContextMenuTrigger, ao as ControlClassOptions, ap as ControlShape, aq as ControlSize, ar as DatePicker, as as DatePickerButton, at as DatePickerCalendar, au as DatePickerContent, av as DatePickerTrigger, aw as Dialog, ax as DialogClose, ay as DialogContent, az as DialogDescription, aA as DialogFooter, aB as DialogHeader, aC as DialogOverlay, aD as DialogPortal, aE as DialogTitle, aF as DialogTrigger, aG as DropdownMenu, aH as DropdownMenuCheckboxItem, aI as DropdownMenuContent, aJ as DropdownMenuGroup, aK as DropdownMenuItem, aL as DropdownMenuLabel, aM as DropdownMenuRadioGroup, aN as DropdownMenuRadioItem, aO as DropdownMenuSeparator, aP as DropdownMenuShortcut, aQ as DropdownMenuSub, aR as DropdownMenuSubContent, aS as DropdownMenuSubTrigger, aT as DropdownMenuTrigger, aU as Form, aV as FormControl, aW as FormField, aX as FormItem, aY as FormLabel, aZ as FormMessage, a_ as FormSubmit, a$ as HoverCard, b0 as HoverCardContent, b1 as HoverCardTrigger, b2 as Input, b3 as InputGroup, b4 as InputGroupAddon, b5 as InputGroupInput, b6 as InputGroupText, b7 as InputOTP, b8 as InputOTPGroup, b9 as InputOTPHiddenInput, ba as InputOTPSeparator, bb as InputOTPSlot, bc as Kbd, bd as KbdGroup, be as Label, bf as MemoPillSegmentedTabs, bg as Menubar, bh as MenubarCheckboxItem, bi as MenubarContent, bj as MenubarItem, bk as MenubarLabel, bl as MenubarMenu, bm as MenubarRadioGroup, bn as MenubarRadioItem, bo as MenubarSeparator, bp as MenubarShortcut, bq as MenubarSub, br as MenubarSubContent, bs as MenubarSubTrigger, bt as MenubarTrigger, bu as NavigationMenu, bv as NavigationMenuContent, bw as NavigationMenuIndicator, bx as NavigationMenuItem, by as NavigationMenuLink, bz as NavigationMenuList, bA as NavigationMenuTrigger, bB as NavigationMenuViewport, bC as Pagination, bD as PaginationContent, bE as PaginationEllipsis, bF as PaginationItem, bG as PaginationLink, bH as PaginationNext, bI as PaginationPrevious, bJ as PillSegmentedTab, bK as PillSegmentedTabs, bL as PillSegmentedTabsProps, bM as Popover, bN as PopoverAnchor, bO as PopoverContent, bP as PopoverTrigger, bQ as Progress, bR as RadioGroup, bS as RadioGroupItem, bT as ScrollArea, bU as ScrollBar, bV as Select, bW as SelectContent, bX as SelectGroup, bY as SelectItem, bZ as SelectLabel, b_ as SelectScrollDownButton, b$ as SelectScrollUpButton, c0 as SelectSeparator, c1 as SelectTrigger, c2 as SelectValue, c3 as Separator, c4 as Sheet, c5 as SheetClose, c6 as SheetContent, c7 as SheetDescription, c8 as SheetFooter, c9 as SheetHeader, ca as SheetTitle, cb as SheetTrigger, cc as Shimmer, cd as Skeleton, ce as Slider, cf as Spinner, cg as Switch, ch as Table, ci as TableBody, cj as TableCaption, ck as TableCell, cl as TableFooter, cm as TableHead, cn as TableHeader, co as TableRow, cp as TextShimmerProps, cq as Textarea, cr as Toast, cs as ToastAction, ct as ToastClose, cu as ToastDescription, cv as ToastProps, cw as ToastProvider, cx as ToastTitle, cy as ToastViewport, cz as Toaster, cA as Toggle, cB as ToggleGroup, cC as ToggleGroupItem, cD as Toolbar, cE as ToolbarButton, cF as ToolbarLink, cG as ToolbarSeparator, cH as ToolbarToggleGroup, cI as ToolbarToggleItem, cJ as Tooltip, cK as TooltipContent, cL as TooltipProvider, cM as TooltipTrigger, cN as alertVariants, cO as badgeVariants, cP as controlClass, cQ as controlSurfaceClass, cR as formatPickerDate, cS as navigationMenuTriggerStyle, cT as overlayAnimationClass, cU as overlayItemClass, cV as overlayListPanelClass, cW as overlaySurfaceClass, cX as toast, cY as toggleVariants, cZ as useToast } from './pill-segmented-tabs-Ba5q0feL.js';
|
|
2
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
4
|
import * as React from 'react';
|
|
4
|
-
import
|
|
5
|
-
import { Tooltip as Tooltip$1, Avatar as Avatar$1, Dialog as Dialog$1, DropdownMenu as DropdownMenu$1, Popover as Popover$1, Select as Select$1 } from 'radix-ui';
|
|
5
|
+
import * as RechartsPrimitive from 'recharts';
|
|
6
6
|
export { a as TimbalV2Button } from './timbal-v2-button-CNfdwGq4.js';
|
|
7
7
|
import 'class-variance-authority/types';
|
|
8
8
|
import 'class-variance-authority';
|
|
9
|
+
import 'radix-ui';
|
|
10
|
+
import 'cmdk';
|
|
11
|
+
import 'react-day-picker';
|
|
9
12
|
|
|
10
|
-
declare
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
29
|
-
declare function
|
|
30
|
-
declare function
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
declare function DropdownMenu({ ...props }: React.ComponentProps<typeof DropdownMenu$1.Root>): react_jsx_runtime.JSX.Element;
|
|
35
|
-
declare function DropdownMenuTrigger({ ...props }: React.ComponentProps<typeof DropdownMenu$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
36
|
-
declare function DropdownMenuGroup({ ...props }: React.ComponentProps<typeof DropdownMenu$1.Group>): react_jsx_runtime.JSX.Element;
|
|
37
|
-
declare function DropdownMenuContent({ className, sideOffset, ...props }: React.ComponentProps<typeof DropdownMenu$1.Content>): react_jsx_runtime.JSX.Element;
|
|
38
|
-
declare function DropdownMenuItem({ className, inset, variant, ...props }: React.ComponentProps<typeof DropdownMenu$1.Item> & {
|
|
39
|
-
inset?: boolean;
|
|
40
|
-
variant?: "default" | "destructive";
|
|
41
|
-
}): react_jsx_runtime.JSX.Element;
|
|
42
|
-
declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: React.ComponentProps<typeof DropdownMenu$1.CheckboxItem>): react_jsx_runtime.JSX.Element;
|
|
43
|
-
declare function DropdownMenuRadioGroup({ ...props }: React.ComponentProps<typeof DropdownMenu$1.RadioGroup>): react_jsx_runtime.JSX.Element;
|
|
44
|
-
declare function DropdownMenuRadioItem({ className, children, ...props }: React.ComponentProps<typeof DropdownMenu$1.RadioItem>): react_jsx_runtime.JSX.Element;
|
|
45
|
-
declare function DropdownMenuLabel({ className, inset, ...props }: React.ComponentProps<typeof DropdownMenu$1.Label> & {
|
|
46
|
-
inset?: boolean;
|
|
13
|
+
declare const THEMES: {
|
|
14
|
+
readonly light: "";
|
|
15
|
+
readonly dark: ".dark";
|
|
16
|
+
};
|
|
17
|
+
type ChartConfig = {
|
|
18
|
+
[k in string]: {
|
|
19
|
+
label?: React.ReactNode;
|
|
20
|
+
icon?: React.ComponentType;
|
|
21
|
+
} & ({
|
|
22
|
+
color?: string;
|
|
23
|
+
theme?: never;
|
|
24
|
+
} | {
|
|
25
|
+
color?: never;
|
|
26
|
+
theme: Record<keyof typeof THEMES, string>;
|
|
27
|
+
});
|
|
28
|
+
};
|
|
29
|
+
type ChartContextProps = {
|
|
30
|
+
config: ChartConfig;
|
|
31
|
+
};
|
|
32
|
+
declare function useChart(): ChartContextProps;
|
|
33
|
+
declare function ChartContainer({ id, className, children, config, ...props }: React.ComponentProps<"div"> & {
|
|
34
|
+
config: ChartConfig;
|
|
35
|
+
children: React.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
|
|
47
36
|
}): react_jsx_runtime.JSX.Element;
|
|
48
|
-
declare
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
declare function
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}): react_jsx_runtime.JSX.Element;
|
|
67
|
-
declare function SelectContent({ className, children, position, ...props }: React.ComponentProps<typeof Select$1.Content>): react_jsx_runtime.JSX.Element;
|
|
68
|
-
declare function SelectLabel({ className, ...props }: React.ComponentProps<typeof Select$1.Label>): react_jsx_runtime.JSX.Element;
|
|
69
|
-
declare function SelectItem({ className, children, ...props }: React.ComponentProps<typeof Select$1.Item>): react_jsx_runtime.JSX.Element;
|
|
70
|
-
declare function SelectSeparator({ className, ...props }: React.ComponentProps<typeof Select$1.Separator>): react_jsx_runtime.JSX.Element;
|
|
71
|
-
declare function SelectScrollUpButton({ className, ...props }: React.ComponentProps<typeof Select$1.ScrollUpButton>): react_jsx_runtime.JSX.Element;
|
|
72
|
-
declare function SelectScrollDownButton({ className, ...props }: React.ComponentProps<typeof Select$1.ScrollDownButton>): react_jsx_runtime.JSX.Element;
|
|
73
|
-
|
|
74
|
-
interface TextShimmerProps {
|
|
75
|
-
children: string;
|
|
76
|
-
as?: ElementType;
|
|
37
|
+
declare const ChartStyle: ({ id, config }: {
|
|
38
|
+
id: string;
|
|
39
|
+
config: ChartConfig;
|
|
40
|
+
}) => react_jsx_runtime.JSX.Element | null;
|
|
41
|
+
declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
|
|
42
|
+
type TooltipPayloadItem = {
|
|
43
|
+
type?: string;
|
|
44
|
+
value?: unknown;
|
|
45
|
+
name?: string | number;
|
|
46
|
+
dataKey?: string | number;
|
|
47
|
+
color?: string;
|
|
48
|
+
payload?: Record<string, unknown> & {
|
|
49
|
+
fill?: string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
declare function ChartTooltipContent({ active, payload, className, indicator, hideLabel, hideIndicator, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey, }: {
|
|
53
|
+
active?: boolean;
|
|
54
|
+
payload?: TooltipPayloadItem[];
|
|
77
55
|
className?: string;
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
56
|
+
indicator?: "line" | "dot" | "dashed";
|
|
57
|
+
hideLabel?: boolean;
|
|
58
|
+
hideIndicator?: boolean;
|
|
59
|
+
label?: unknown;
|
|
60
|
+
labelFormatter?: (value: unknown, payload: TooltipPayloadItem[]) => React.ReactNode;
|
|
61
|
+
labelClassName?: string;
|
|
62
|
+
formatter?: (value: unknown, name: string | number | undefined, item: TooltipPayloadItem, index: number, payload: unknown) => React.ReactNode;
|
|
63
|
+
color?: string;
|
|
64
|
+
nameKey?: string;
|
|
65
|
+
labelKey?: string;
|
|
66
|
+
}): react_jsx_runtime.JSX.Element | null;
|
|
67
|
+
declare const ChartLegend: React.MemoExoticComponent<(outsideProps: RechartsPrimitive.LegendProps) => React.ReactPortal | null>;
|
|
68
|
+
type LegendPayloadItem = {
|
|
69
|
+
value?: unknown;
|
|
70
|
+
type?: string;
|
|
71
|
+
color?: string;
|
|
72
|
+
dataKey?: string | number;
|
|
73
|
+
};
|
|
74
|
+
declare function ChartLegendContent({ className, hideIcon, payload, verticalAlign, nameKey, }: {
|
|
92
75
|
className?: string;
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
}
|
|
99
|
-
/**
|
|
100
|
-
* Pill-in-pill segmented control — same visual language as timbal-platform
|
|
101
|
-
* `WorkshopPillSegmentedTabs` (Build/Manage, Home Builder tabs).
|
|
102
|
-
*/
|
|
103
|
-
declare const PillSegmentedTabs: FC<PillSegmentedTabsProps>;
|
|
104
|
-
declare const MemoPillSegmentedTabs: React.NamedExoticComponent<PillSegmentedTabsProps>;
|
|
76
|
+
hideIcon?: boolean;
|
|
77
|
+
payload?: LegendPayloadItem[];
|
|
78
|
+
verticalAlign?: "top" | "bottom";
|
|
79
|
+
nameKey?: string;
|
|
80
|
+
}): react_jsx_runtime.JSX.Element | null;
|
|
105
81
|
|
|
106
|
-
export {
|
|
82
|
+
export { type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, useChart };
|