@timbal-ai/timbal-react 0.7.0 → 0.8.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 (37) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/README.md +11 -0
  3. package/dist/app.cjs +10 -4
  4. package/dist/app.d.cts +2 -2
  5. package/dist/app.d.ts +2 -2
  6. package/dist/app.esm.js +4 -4
  7. package/dist/{chart-artifact-bWUa-iSG.d.cts → chart-artifact-C2m891nx.d.cts} +1 -1
  8. package/dist/{chart-artifact-BFDz8Tf9.d.ts → chart-artifact-CqqhdSR9.d.ts} +1 -1
  9. package/dist/{chat-CWtQWDtJ.d.cts → chat-Bed4FQSl.d.cts} +10 -0
  10. package/dist/{chat-CWtQWDtJ.d.ts → chat-Bed4FQSl.d.ts} +10 -0
  11. package/dist/chat.cjs +5 -1
  12. package/dist/chat.d.cts +1 -1
  13. package/dist/chat.d.ts +1 -1
  14. package/dist/chat.esm.js +3 -3
  15. package/dist/{chunk-7O5VY3TP.esm.js → chunk-4AO3HCAR.esm.js} +4 -4
  16. package/dist/chunk-LSEUKTU5.esm.js +435 -0
  17. package/dist/{chunk-2XZ3S4OP.esm.js → chunk-QKO67F4V.esm.js} +39 -0
  18. package/dist/{chunk-TLUF2RUL.esm.js → chunk-VVTTLIGT.esm.js} +6 -2
  19. package/dist/{chunk-TDIJHV4I.esm.js → chunk-YNDXBN6C.esm.js} +1 -1
  20. package/dist/{chunk-533MK5EA.esm.js → chunk-ZEDE2TWQ.esm.js} +8 -6
  21. package/dist/{chunk-N3PYVTY5.esm.js → chunk-ZG5NBHOS.esm.js} +2 -2
  22. package/dist/index.cjs +509 -4
  23. package/dist/index.d.cts +5 -5
  24. package/dist/index.d.ts +5 -5
  25. package/dist/index.esm.js +70 -6
  26. package/dist/studio.cjs +5 -1
  27. package/dist/studio.d.cts +2 -2
  28. package/dist/studio.d.ts +2 -2
  29. package/dist/studio.esm.js +5 -5
  30. package/dist/styles.css +8 -4
  31. package/dist/ui.cjs +507 -8
  32. package/dist/ui.d.cts +45 -2
  33. package/dist/ui.d.ts +45 -2
  34. package/dist/ui.esm.js +66 -2
  35. package/dist/{welcome-C89Mgdaw.d.cts → welcome-COOb05a5.d.cts} +1 -1
  36. package/dist/{welcome-BBmB3tl7.d.ts → welcome-DE08m9ca.d.ts} +1 -1
  37. package/package.json +1 -1
package/dist/ui.d.ts CHANGED
@@ -2,7 +2,7 @@ export { B as Button } from './button-CIKzUrJI.js';
2
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
3
  import * as React from 'react';
4
4
  import { ElementType, ReactNode, FC } from 'react';
5
- import { Tooltip as Tooltip$1, Avatar as Avatar$1, Dialog as Dialog$1 } from 'radix-ui';
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';
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';
@@ -27,6 +27,49 @@ declare function DialogContent({ className, children, showCloseButton, ...props
27
27
  showCloseButton?: boolean;
28
28
  }): react_jsx_runtime.JSX.Element;
29
29
  declare function DialogTitle({ className, ...props }: React.ComponentProps<typeof Dialog$1.Title>): react_jsx_runtime.JSX.Element;
30
+ declare function DialogDescription({ className, ...props }: React.ComponentProps<typeof Dialog$1.Description>): react_jsx_runtime.JSX.Element;
31
+ declare function DialogHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
32
+ declare function DialogFooter({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
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;
47
+ }): react_jsx_runtime.JSX.Element;
48
+ declare function DropdownMenuSeparator({ className, ...props }: React.ComponentProps<typeof DropdownMenu$1.Separator>): react_jsx_runtime.JSX.Element;
49
+ declare function DropdownMenuShortcut({ className, ...props }: React.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
50
+ declare function DropdownMenuSub({ ...props }: React.ComponentProps<typeof DropdownMenu$1.Sub>): react_jsx_runtime.JSX.Element;
51
+ declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: React.ComponentProps<typeof DropdownMenu$1.SubTrigger> & {
52
+ inset?: boolean;
53
+ }): react_jsx_runtime.JSX.Element;
54
+ declare function DropdownMenuSubContent({ className, ...props }: React.ComponentProps<typeof DropdownMenu$1.SubContent>): react_jsx_runtime.JSX.Element;
55
+
56
+ declare function Popover({ ...props }: React.ComponentProps<typeof Popover$1.Root>): react_jsx_runtime.JSX.Element;
57
+ declare function PopoverTrigger({ ...props }: React.ComponentProps<typeof Popover$1.Trigger>): react_jsx_runtime.JSX.Element;
58
+ declare function PopoverAnchor({ ...props }: React.ComponentProps<typeof Popover$1.Anchor>): react_jsx_runtime.JSX.Element;
59
+ declare function PopoverContent({ className, align, sideOffset, ...props }: React.ComponentProps<typeof Popover$1.Content>): react_jsx_runtime.JSX.Element;
60
+
61
+ declare function Select({ ...props }: React.ComponentProps<typeof Select$1.Root>): react_jsx_runtime.JSX.Element;
62
+ declare function SelectGroup({ ...props }: React.ComponentProps<typeof Select$1.Group>): react_jsx_runtime.JSX.Element;
63
+ declare function SelectValue({ ...props }: React.ComponentProps<typeof Select$1.Value>): react_jsx_runtime.JSX.Element;
64
+ declare function SelectTrigger({ className, size, children, ...props }: React.ComponentProps<typeof Select$1.Trigger> & {
65
+ size?: "sm" | "default";
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;
30
73
 
31
74
  interface TextShimmerProps {
32
75
  children: string;
@@ -60,4 +103,4 @@ interface PillSegmentedTabsProps {
60
103
  declare const PillSegmentedTabs: FC<PillSegmentedTabsProps>;
61
104
  declare const MemoPillSegmentedTabs: React.NamedExoticComponent<PillSegmentedTabsProps>;
62
105
 
63
- export { Avatar, AvatarFallback, AvatarImage, Dialog, DialogClose, DialogContent, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, MemoPillSegmentedTabs, type PillSegmentedTab, PillSegmentedTabs, type PillSegmentedTabsProps, Shimmer, type TextShimmerProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
106
+ export { Avatar, AvatarFallback, AvatarImage, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, MemoPillSegmentedTabs, type PillSegmentedTab, PillSegmentedTabs, type PillSegmentedTabsProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Shimmer, type TextShimmerProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
package/dist/ui.esm.js CHANGED
@@ -1,7 +1,37 @@
1
+ import {
2
+ DropdownMenu,
3
+ DropdownMenuCheckboxItem,
4
+ DropdownMenuContent,
5
+ DropdownMenuGroup,
6
+ DropdownMenuItem,
7
+ DropdownMenuLabel,
8
+ DropdownMenuRadioGroup,
9
+ DropdownMenuRadioItem,
10
+ DropdownMenuSeparator,
11
+ DropdownMenuShortcut,
12
+ DropdownMenuSub,
13
+ DropdownMenuSubContent,
14
+ DropdownMenuSubTrigger,
15
+ DropdownMenuTrigger,
16
+ Popover,
17
+ PopoverAnchor,
18
+ PopoverContent,
19
+ PopoverTrigger,
20
+ Select,
21
+ SelectContent,
22
+ SelectGroup,
23
+ SelectItem,
24
+ SelectLabel,
25
+ SelectScrollDownButton,
26
+ SelectScrollUpButton,
27
+ SelectSeparator,
28
+ SelectTrigger,
29
+ SelectValue
30
+ } from "./chunk-LSEUKTU5.esm.js";
1
31
  import {
2
32
  MemoPillSegmentedTabs,
3
33
  PillSegmentedTabs
4
- } from "./chunk-TDIJHV4I.esm.js";
34
+ } from "./chunk-YNDXBN6C.esm.js";
5
35
  import {
6
36
  Avatar,
7
37
  AvatarFallback,
@@ -10,6 +40,9 @@ import {
10
40
  Dialog,
11
41
  DialogClose,
12
42
  DialogContent,
43
+ DialogDescription,
44
+ DialogFooter,
45
+ DialogHeader,
13
46
  DialogOverlay,
14
47
  DialogPortal,
15
48
  DialogTitle,
@@ -20,7 +53,7 @@ import {
20
53
  TooltipContent,
21
54
  TooltipProvider,
22
55
  TooltipTrigger
23
- } from "./chunk-2XZ3S4OP.esm.js";
56
+ } from "./chunk-QKO67F4V.esm.js";
24
57
  export {
25
58
  Avatar,
26
59
  AvatarFallback,
@@ -29,12 +62,43 @@ export {
29
62
  Dialog,
30
63
  DialogClose,
31
64
  DialogContent,
65
+ DialogDescription,
66
+ DialogFooter,
67
+ DialogHeader,
32
68
  DialogOverlay,
33
69
  DialogPortal,
34
70
  DialogTitle,
35
71
  DialogTrigger,
72
+ DropdownMenu,
73
+ DropdownMenuCheckboxItem,
74
+ DropdownMenuContent,
75
+ DropdownMenuGroup,
76
+ DropdownMenuItem,
77
+ DropdownMenuLabel,
78
+ DropdownMenuRadioGroup,
79
+ DropdownMenuRadioItem,
80
+ DropdownMenuSeparator,
81
+ DropdownMenuShortcut,
82
+ DropdownMenuSub,
83
+ DropdownMenuSubContent,
84
+ DropdownMenuSubTrigger,
85
+ DropdownMenuTrigger,
36
86
  MemoPillSegmentedTabs,
37
87
  PillSegmentedTabs,
88
+ Popover,
89
+ PopoverAnchor,
90
+ PopoverContent,
91
+ PopoverTrigger,
92
+ Select,
93
+ SelectContent,
94
+ SelectGroup,
95
+ SelectItem,
96
+ SelectLabel,
97
+ SelectScrollDownButton,
98
+ SelectScrollUpButton,
99
+ SelectSeparator,
100
+ SelectTrigger,
101
+ SelectValue,
38
102
  Shimmer,
39
103
  TimbalV2Button,
40
104
  Tooltip,
@@ -1,5 +1,5 @@
1
1
  import { FC, ReactNode } from 'react';
2
- import { b as TimbalChatProps, u as ThreadWelcomeProps } from './chat-CWtQWDtJ.cjs';
2
+ import { b as TimbalChatProps, u as ThreadWelcomeProps } from './chat-Bed4FQSl.cjs';
3
3
  import { WorkforceItem } from '@timbal-ai/timbal-sdk';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { FC, ReactNode } from 'react';
2
- import { b as TimbalChatProps, u as ThreadWelcomeProps } from './chat-CWtQWDtJ.js';
2
+ import { b as TimbalChatProps, u as ThreadWelcomeProps } from './chat-Bed4FQSl.js';
3
3
  import { WorkforceItem } from '@timbal-ai/timbal-sdk';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@timbal-ai/timbal-react",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "description": "React components and runtime for building Timbal chat and studio apps",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",