@timbal-ai/timbal-react 1.0.0 → 1.2.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 +35 -0
- package/README.md +55 -8
- package/dist/app.cjs +2369 -1189
- package/dist/app.d.cts +8 -4
- package/dist/app.d.ts +8 -4
- package/dist/app.esm.js +32 -7
- package/dist/{chart-artifact-DOkwSTjQ.d.cts → chart-artifact-E58ve76I.d.cts} +279 -12
- package/dist/{chart-artifact-CBo9x8Ch.d.ts → chart-artifact-_PEJgCpQ.d.ts} +279 -12
- package/dist/{chat-Bed4FQSl.d.cts → chat-ClmzWzCX.d.cts} +33 -4
- package/dist/{chat-Bed4FQSl.d.ts → chat-ClmzWzCX.d.ts} +33 -4
- package/dist/chat.cjs +1446 -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-YEFBANNF.esm.js → chunk-4VULP3CJ.esm.js} +242 -288
- package/dist/{chunk-RZ6QC6RG.esm.js → chunk-AGJKK6R7.esm.js} +2 -2
- package/dist/{chunk-FOD67Z6G.esm.js → chunk-BMXFXLVV.esm.js} +341 -12
- package/dist/chunk-FEYZUVBM.esm.js +52 -0
- package/dist/{chunk-C6IXFM4T.esm.js → chunk-MTYXREHK.esm.js} +4 -4
- package/dist/{chunk-AYHOVAMI.esm.js → chunk-NAMKO2MU.esm.js} +1 -1
- package/dist/{chunk-SNLXVG7H.esm.js → chunk-UY7AKWJL.esm.js} +1108 -656
- package/dist/{chunk-GLPOVYEA.esm.js → chunk-XDIY2WSL.esm.js} +669 -279
- package/dist/index.cjs +2967 -1824
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.esm.js +41 -11
- package/dist/pill-segmented-tabs-BsIOW1Lo.d.cts +528 -0
- package/dist/pill-segmented-tabs-BsIOW1Lo.d.ts +528 -0
- package/dist/studio.cjs +1685 -1015
- 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 +24 -0
- package/dist/ui.cjs +387 -49
- package/dist/ui.d.cts +71 -491
- package/dist/ui.d.ts +71 -491
- package/dist/ui.esm.js +26 -6
- package/dist/{welcome-COOb05a5.d.cts → welcome-BFGRoNfK.d.cts} +1 -1
- package/dist/{welcome-DE08m9ca.d.ts → welcome-DXqsGTwH.d.ts} +1 -1
- package/package.json +7 -3
- package/vite/local-dev.d.ts +5 -1
- package/vite/local-dev.mjs +17 -13
package/dist/studio.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { M as ModeToggle, a as ModeToggleProps, b as ModeToggleTheme, S as STUDIO_NAV_MODE, c as StudioModeSwitch, d as StudioModeSwitchProps, e as StudioNavMode, f as StudioSidebar, g as StudioSidebarProps, h as StudioWelcome, i as StudioWelcomeProps, T as TimbalChatShell, j as TimbalChatShellProps, k as TimbalMark, l as TimbalMarkProps, m as TimbalStudioShell, n as TimbalStudioShellProps } from './welcome-
|
|
1
|
+
export { M as ModeToggle, a as ModeToggleProps, b as ModeToggleTheme, S as STUDIO_NAV_MODE, c as StudioModeSwitch, d as StudioModeSwitchProps, e as StudioNavMode, f as StudioSidebar, g as StudioSidebarProps, h as StudioWelcome, i as StudioWelcomeProps, T as TimbalChatShell, j as TimbalChatShellProps, k as TimbalMark, l as TimbalMarkProps, m as TimbalStudioShell, n as TimbalStudioShellProps } from './welcome-BFGRoNfK.cjs';
|
|
2
2
|
import { FC } from 'react';
|
|
3
|
-
import './chat-
|
|
3
|
+
import './chat-ClmzWzCX.cjs';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import '@assistant-ui/react';
|
|
6
6
|
import '@timbal-ai/timbal-sdk';
|
package/dist/studio.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { M as ModeToggle, a as ModeToggleProps, b as ModeToggleTheme, S as STUDIO_NAV_MODE, c as StudioModeSwitch, d as StudioModeSwitchProps, e as StudioNavMode, f as StudioSidebar, g as StudioSidebarProps, h as StudioWelcome, i as StudioWelcomeProps, T as TimbalChatShell, j as TimbalChatShellProps, k as TimbalMark, l as TimbalMarkProps, m as TimbalStudioShell, n as TimbalStudioShellProps } from './welcome-
|
|
1
|
+
export { M as ModeToggle, a as ModeToggleProps, b as ModeToggleTheme, S as STUDIO_NAV_MODE, c as StudioModeSwitch, d as StudioModeSwitchProps, e as StudioNavMode, f as StudioSidebar, g as StudioSidebarProps, h as StudioWelcome, i as StudioWelcomeProps, T as TimbalChatShell, j as TimbalChatShellProps, k as TimbalMark, l as TimbalMarkProps, m as TimbalStudioShell, n as TimbalStudioShellProps } from './welcome-DXqsGTwH.js';
|
|
2
2
|
import { FC } from 'react';
|
|
3
|
-
import './chat-
|
|
3
|
+
import './chat-ClmzWzCX.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import '@assistant-ui/react';
|
|
6
6
|
import '@timbal-ai/timbal-sdk';
|
package/dist/studio.esm.js
CHANGED
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
TimbalChatShell,
|
|
9
9
|
TimbalMark,
|
|
10
10
|
TimbalStudioShell
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-MTYXREHK.esm.js";
|
|
12
12
|
import "./chunk-QIABF4KB.esm.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-AGJKK6R7.esm.js";
|
|
14
|
+
import "./chunk-UY7AKWJL.esm.js";
|
|
15
|
+
import "./chunk-NAMKO2MU.esm.js";
|
|
16
|
+
import "./chunk-BMXFXLVV.esm.js";
|
|
17
17
|
export {
|
|
18
18
|
ModeToggle,
|
|
19
19
|
STUDIO_NAV_MODE,
|
package/dist/styles.css
CHANGED
|
@@ -106,6 +106,15 @@
|
|
|
106
106
|
--ghost-fill-hover: oklch(0.965 0.002 260 / 0.7);
|
|
107
107
|
--ghost-fill-active: oklch(0.91 0.004 260 / 0.7);
|
|
108
108
|
|
|
109
|
+
/* Chart series palette — cohesive blue / indigo / cyan family.
|
|
110
|
+
Override any of these in your host app's :root to rebrand every chart. */
|
|
111
|
+
--chart-1: oklch(0.50 0.19 264);
|
|
112
|
+
--chart-2: oklch(0.58 0.14 230);
|
|
113
|
+
--chart-3: oklch(0.62 0.12 215);
|
|
114
|
+
--chart-4: oklch(0.54 0.17 278);
|
|
115
|
+
--chart-5: oklch(0.66 0.11 248);
|
|
116
|
+
--chart-6: oklch(0.44 0.11 252);
|
|
117
|
+
|
|
109
118
|
/* Code block surface (markdown). */
|
|
110
119
|
--code-block-bg: oklch(0.98 0 0);
|
|
111
120
|
--code-header-bg: oklch(0.965 0 0);
|
|
@@ -235,6 +244,14 @@
|
|
|
235
244
|
--ghost-fill-hover: oklch(1 0 0 / 0.10);
|
|
236
245
|
--ghost-fill-active: oklch(1 0 0 / 0.15);
|
|
237
246
|
|
|
247
|
+
/* Chart series palette (dark) — brighter blues for contrast on dark surfaces. */
|
|
248
|
+
--chart-1: oklch(0.68 0.17 264);
|
|
249
|
+
--chart-2: oklch(0.72 0.13 230);
|
|
250
|
+
--chart-3: oklch(0.76 0.11 215);
|
|
251
|
+
--chart-4: oklch(0.70 0.15 278);
|
|
252
|
+
--chart-5: oklch(0.78 0.10 248);
|
|
253
|
+
--chart-6: oklch(0.62 0.10 252);
|
|
254
|
+
|
|
238
255
|
--code-block-bg: oklch(0.19 0 0);
|
|
239
256
|
--code-header-bg: oklch(0.22 0 0 / 0.8);
|
|
240
257
|
|
|
@@ -306,6 +323,13 @@
|
|
|
306
323
|
--color-bubble-user: var(--bubble-user);
|
|
307
324
|
--color-bubble-user-foreground: var(--bubble-user-foreground);
|
|
308
325
|
|
|
326
|
+
--color-chart-1: var(--chart-1);
|
|
327
|
+
--color-chart-2: var(--chart-2);
|
|
328
|
+
--color-chart-3: var(--chart-3);
|
|
329
|
+
--color-chart-4: var(--chart-4);
|
|
330
|
+
--color-chart-5: var(--chart-5);
|
|
331
|
+
--color-chart-6: var(--chart-6);
|
|
332
|
+
|
|
309
333
|
--color-primary-fill-from: var(--primary-fill-from);
|
|
310
334
|
--color-primary-fill-to: var(--primary-fill-to);
|
|
311
335
|
--color-primary-fill-hover-from: var(--primary-fill-hover-from);
|