@timbal-ai/timbal-react 1.0.0 → 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 +28 -0
- package/README.md +45 -4
- package/dist/app.cjs +1996 -1183
- package/dist/app.d.cts +8 -4
- package/dist/app.d.ts +8 -4
- package/dist/app.esm.js +23 -6
- package/dist/{chart-artifact-CBo9x8Ch.d.ts → chart-artifact-BZp7nmaf.d.ts} +253 -12
- package/dist/{chart-artifact-DOkwSTjQ.d.cts → chart-artifact-CX-rh9nq.d.cts} +253 -12
- 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 +1088 -775
- package/dist/chat.d.cts +1 -1
- package/dist/chat.d.ts +1 -1
- package/dist/chat.esm.js +3 -3
- package/dist/{chunk-FOD67Z6G.esm.js → chunk-4AKJ6FKE.esm.js} +235 -4
- package/dist/{chunk-YEFBANNF.esm.js → chunk-6HWMJNZT.esm.js} +242 -288
- package/dist/{chunk-C6IXFM4T.esm.js → chunk-FRZOEYBO.esm.js} +4 -4
- package/dist/chunk-JEAUF54A.esm.js +52 -0
- package/dist/{chunk-AYHOVAMI.esm.js → chunk-P3KDAYX6.esm.js} +1 -1
- package/dist/{chunk-GLPOVYEA.esm.js → chunk-TK2AGIME.esm.js} +662 -274
- package/dist/{chunk-RZ6QC6RG.esm.js → chunk-XCM3V6RK.esm.js} +2 -2
- package/dist/{chunk-SNLXVG7H.esm.js → chunk-YXZ22OJN.esm.js} +849 -665
- package/dist/index.cjs +2558 -1789
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.esm.js +29 -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 +1310 -997
- 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 +26 -0
- package/dist/ui.cjs +275 -37
- package/dist/ui.d.cts +71 -491
- package/dist/ui.d.ts +71 -491
- package/dist/ui.esm.js +22 -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 +7 -3
package/dist/ui.esm.js
CHANGED
|
@@ -34,7 +34,6 @@ import {
|
|
|
34
34
|
CardFooter,
|
|
35
35
|
CardHeader,
|
|
36
36
|
CardTitle,
|
|
37
|
-
Checkbox,
|
|
38
37
|
Collapsible,
|
|
39
38
|
CollapsibleContent,
|
|
40
39
|
CollapsibleTrigger,
|
|
@@ -172,7 +171,6 @@ import {
|
|
|
172
171
|
SheetHeader,
|
|
173
172
|
SheetTitle,
|
|
174
173
|
SheetTrigger,
|
|
175
|
-
Skeleton,
|
|
176
174
|
Slider,
|
|
177
175
|
Spinner,
|
|
178
176
|
Switch,
|
|
@@ -209,17 +207,27 @@ import {
|
|
|
209
207
|
toast,
|
|
210
208
|
toggleVariants,
|
|
211
209
|
useToast
|
|
212
|
-
} from "./chunk-
|
|
210
|
+
} from "./chunk-6HWMJNZT.esm.js";
|
|
211
|
+
import {
|
|
212
|
+
Checkbox,
|
|
213
|
+
Skeleton
|
|
214
|
+
} from "./chunk-JEAUF54A.esm.js";
|
|
213
215
|
import {
|
|
214
216
|
MemoPillSegmentedTabs,
|
|
215
217
|
PillSegmentedTabs
|
|
216
|
-
} from "./chunk-
|
|
218
|
+
} from "./chunk-P3KDAYX6.esm.js";
|
|
217
219
|
import {
|
|
218
220
|
Avatar,
|
|
219
221
|
AvatarFallback,
|
|
220
222
|
AvatarImage,
|
|
221
223
|
Button,
|
|
222
224
|
CONTROL_SIZE,
|
|
225
|
+
ChartContainer,
|
|
226
|
+
ChartLegend,
|
|
227
|
+
ChartLegendContent,
|
|
228
|
+
ChartStyle,
|
|
229
|
+
ChartTooltip,
|
|
230
|
+
ChartTooltipContent,
|
|
223
231
|
Dialog,
|
|
224
232
|
DialogClose,
|
|
225
233
|
DialogContent,
|
|
@@ -241,8 +249,9 @@ import {
|
|
|
241
249
|
overlayAnimationClass,
|
|
242
250
|
overlayItemClass,
|
|
243
251
|
overlayListPanelClass,
|
|
244
|
-
overlaySurfaceClass
|
|
245
|
-
|
|
252
|
+
overlaySurfaceClass,
|
|
253
|
+
useChart
|
|
254
|
+
} from "./chunk-4AKJ6FKE.esm.js";
|
|
246
255
|
export {
|
|
247
256
|
Accordion,
|
|
248
257
|
AccordionContent,
|
|
@@ -284,6 +293,12 @@ export {
|
|
|
284
293
|
CardFooter,
|
|
285
294
|
CardHeader,
|
|
286
295
|
CardTitle,
|
|
296
|
+
ChartContainer,
|
|
297
|
+
ChartLegend,
|
|
298
|
+
ChartLegendContent,
|
|
299
|
+
ChartStyle,
|
|
300
|
+
ChartTooltip,
|
|
301
|
+
ChartTooltipContent,
|
|
287
302
|
Checkbox,
|
|
288
303
|
Collapsible,
|
|
289
304
|
CollapsibleContent,
|
|
@@ -482,5 +497,6 @@ export {
|
|
|
482
497
|
overlaySurfaceClass,
|
|
483
498
|
toast,
|
|
484
499
|
toggleVariants,
|
|
500
|
+
useChart,
|
|
485
501
|
useToast
|
|
486
502
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { c as TimbalChatProps, v as ThreadWelcomeProps } from './chat-DCms8pJ_.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 {
|
|
2
|
+
import { c as TimbalChatProps, v as ThreadWelcomeProps } from './chat-DCms8pJ_.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": "1.
|
|
3
|
+
"version": "1.1.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",
|
|
@@ -64,7 +64,8 @@
|
|
|
64
64
|
"@assistant-ui/react": ">=0.12",
|
|
65
65
|
"@timbal-ai/timbal-sdk": ">=0.4",
|
|
66
66
|
"react": ">=19",
|
|
67
|
-
"react-dom": ">=19"
|
|
67
|
+
"react-dom": ">=19",
|
|
68
|
+
"react-is": ">=19"
|
|
68
69
|
},
|
|
69
70
|
"dependencies": {
|
|
70
71
|
"@assistant-ui/react-markdown": "^0.12.3",
|
|
@@ -81,6 +82,7 @@
|
|
|
81
82
|
"motion": "^12.23.24",
|
|
82
83
|
"radix-ui": "^1.4.3",
|
|
83
84
|
"react-day-picker": "^10.0.1",
|
|
85
|
+
"recharts": "^3.8.1",
|
|
84
86
|
"rehype-katex": "^7.0.1",
|
|
85
87
|
"remark-gfm": "^4.0.1",
|
|
86
88
|
"remark-math": "^6.0.0",
|
|
@@ -96,10 +98,12 @@
|
|
|
96
98
|
"@timbal-ai/timbal-sdk": "0.4.9",
|
|
97
99
|
"@types/react": "^19.2.4",
|
|
98
100
|
"@types/react-dom": "^19.2.3",
|
|
101
|
+
"@types/react-is": "^19.2.0",
|
|
102
|
+
"dependency-cruiser": "^16.10.4",
|
|
99
103
|
"happy-dom": "^20.8.9",
|
|
100
104
|
"react": "^19.2.0",
|
|
101
105
|
"react-dom": "^19.2.0",
|
|
102
|
-
"
|
|
106
|
+
"react-is": "^19.2.0",
|
|
103
107
|
"tsup": "^8.5.0",
|
|
104
108
|
"typescript": "~5.8.3"
|
|
105
109
|
},
|