@timbal-ai/timbal-react 0.5.1 → 0.5.3
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/index.cjs +5 -5
- package/dist/index.esm.js +5 -5
- package/dist/styles.css +4 -8
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1866,7 +1866,7 @@ var studioTopbarPillHeightClass = "h-[var(--studio-chrome-pill-height)] min-h-[v
|
|
|
1866
1866
|
var studioTopbarIconPillClass = "shrink-0 flex-none size-[var(--studio-chrome-pill-height)] min-h-[var(--studio-chrome-pill-height)] min-w-[var(--studio-chrome-pill-height)]";
|
|
1867
1867
|
var studioPlaygroundGradientClass = "bg-gradient-to-b from-playground-from via-playground-via to-playground-to";
|
|
1868
1868
|
var studioComposeInputShellClass = cn(
|
|
1869
|
-
"flex w-full flex-col rounded-2xl bg-composer-bg shadow-card-elevated outline-none",
|
|
1869
|
+
"aui-composer-shell flex w-full flex-col overflow-hidden rounded-2xl bg-composer-bg shadow-card-elevated outline-none",
|
|
1870
1870
|
"border border-composer-border",
|
|
1871
1871
|
"transition-[box-shadow,border-color]",
|
|
1872
1872
|
"focus-within:border-composer-border-focus focus-within:ring-2 focus-within:ring-foreground/5"
|
|
@@ -3728,7 +3728,7 @@ var Thread = ({
|
|
|
3728
3728
|
import_react26.ThreadPrimitive.Root,
|
|
3729
3729
|
{
|
|
3730
3730
|
className: cn(
|
|
3731
|
-
"aui-root aui-thread-root @container flex h-full flex-col bg-
|
|
3731
|
+
"aui-root aui-thread-root @container flex h-full flex-col bg-transparent",
|
|
3732
3732
|
className
|
|
3733
3733
|
),
|
|
3734
3734
|
style: { ["--thread-max-width"]: maxWidth },
|
|
@@ -4226,7 +4226,7 @@ var TimbalChatShell = ({
|
|
|
4226
4226
|
"header",
|
|
4227
4227
|
{
|
|
4228
4228
|
className: cn(
|
|
4229
|
-
"aui-chat-shell-header relative z-10 flex shrink-0 items-center justify-between px-4 pt-[var(--studio-topbar-gap)] pb-2",
|
|
4229
|
+
"aui-chat-shell-header relative z-10 flex shrink-0 items-center justify-between bg-transparent px-4 pt-[var(--studio-topbar-gap)] pb-2",
|
|
4230
4230
|
headerClassName
|
|
4231
4231
|
),
|
|
4232
4232
|
style: { minHeight: "var(--studio-topbar-height)" },
|
|
@@ -4252,7 +4252,7 @@ var TimbalChatShell = ({
|
|
|
4252
4252
|
workforceId: effectiveId,
|
|
4253
4253
|
baseUrl,
|
|
4254
4254
|
fetch: fetch2,
|
|
4255
|
-
className: "relative z-10 min-h-0 flex-1
|
|
4255
|
+
className: "relative z-10 min-h-0 flex-1",
|
|
4256
4256
|
...chatProps
|
|
4257
4257
|
},
|
|
4258
4258
|
effectiveId
|
|
@@ -5539,7 +5539,7 @@ var TimbalStudioShell = ({
|
|
|
5539
5539
|
key: activeWorkforceId,
|
|
5540
5540
|
welcome,
|
|
5541
5541
|
components: resolvedComponents,
|
|
5542
|
-
className: cn("min-h-0 flex-1
|
|
5542
|
+
className: cn("min-h-0 flex-1", chatProps.className)
|
|
5543
5543
|
}
|
|
5544
5544
|
) : null
|
|
5545
5545
|
}
|
package/dist/index.esm.js
CHANGED
|
@@ -1776,7 +1776,7 @@ var studioTopbarPillHeightClass = "h-[var(--studio-chrome-pill-height)] min-h-[v
|
|
|
1776
1776
|
var studioTopbarIconPillClass = "shrink-0 flex-none size-[var(--studio-chrome-pill-height)] min-h-[var(--studio-chrome-pill-height)] min-w-[var(--studio-chrome-pill-height)]";
|
|
1777
1777
|
var studioPlaygroundGradientClass = "bg-gradient-to-b from-playground-from via-playground-via to-playground-to";
|
|
1778
1778
|
var studioComposeInputShellClass = cn(
|
|
1779
|
-
"flex w-full flex-col rounded-2xl bg-composer-bg shadow-card-elevated outline-none",
|
|
1779
|
+
"aui-composer-shell flex w-full flex-col overflow-hidden rounded-2xl bg-composer-bg shadow-card-elevated outline-none",
|
|
1780
1780
|
"border border-composer-border",
|
|
1781
1781
|
"transition-[box-shadow,border-color]",
|
|
1782
1782
|
"focus-within:border-composer-border-focus focus-within:ring-2 focus-within:ring-foreground/5"
|
|
@@ -3654,7 +3654,7 @@ var Thread = ({
|
|
|
3654
3654
|
ThreadPrimitive.Root,
|
|
3655
3655
|
{
|
|
3656
3656
|
className: cn(
|
|
3657
|
-
"aui-root aui-thread-root @container flex h-full flex-col bg-
|
|
3657
|
+
"aui-root aui-thread-root @container flex h-full flex-col bg-transparent",
|
|
3658
3658
|
className
|
|
3659
3659
|
),
|
|
3660
3660
|
style: { ["--thread-max-width"]: maxWidth },
|
|
@@ -4152,7 +4152,7 @@ var TimbalChatShell = ({
|
|
|
4152
4152
|
"header",
|
|
4153
4153
|
{
|
|
4154
4154
|
className: cn(
|
|
4155
|
-
"aui-chat-shell-header relative z-10 flex shrink-0 items-center justify-between px-4 pt-[var(--studio-topbar-gap)] pb-2",
|
|
4155
|
+
"aui-chat-shell-header relative z-10 flex shrink-0 items-center justify-between bg-transparent px-4 pt-[var(--studio-topbar-gap)] pb-2",
|
|
4156
4156
|
headerClassName
|
|
4157
4157
|
),
|
|
4158
4158
|
style: { minHeight: "var(--studio-topbar-height)" },
|
|
@@ -4178,7 +4178,7 @@ var TimbalChatShell = ({
|
|
|
4178
4178
|
workforceId: effectiveId,
|
|
4179
4179
|
baseUrl,
|
|
4180
4180
|
fetch: fetch2,
|
|
4181
|
-
className: "relative z-10 min-h-0 flex-1
|
|
4181
|
+
className: "relative z-10 min-h-0 flex-1",
|
|
4182
4182
|
...chatProps
|
|
4183
4183
|
},
|
|
4184
4184
|
effectiveId
|
|
@@ -5481,7 +5481,7 @@ var TimbalStudioShell = ({
|
|
|
5481
5481
|
key: activeWorkforceId,
|
|
5482
5482
|
welcome,
|
|
5483
5483
|
components: resolvedComponents,
|
|
5484
|
-
className: cn("min-h-0 flex-1
|
|
5484
|
+
className: cn("min-h-0 flex-1", chatProps.className)
|
|
5485
5485
|
}
|
|
5486
5486
|
) : null
|
|
5487
5487
|
}
|
package/dist/styles.css
CHANGED
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
|
|
70
70
|
/* Composer shell — opaque card with stronger focus border. */
|
|
71
71
|
--composer-bg: oklch(1 0 0);
|
|
72
|
-
--composer-border: oklch(0.91 0.004 260
|
|
73
|
-
--composer-border-focus: oklch(0.62 0.005 260
|
|
72
|
+
--composer-border: oklch(0.91 0.004 260);
|
|
73
|
+
--composer-border-focus: oklch(0.62 0.005 260);
|
|
74
74
|
|
|
75
75
|
/* User message bubble — neutral-200 on light, neutral-700 on dark. */
|
|
76
76
|
--bubble-user: oklch(0.922 0 0);
|
|
@@ -460,18 +460,14 @@
|
|
|
460
460
|
* Component fixes — baked in so consumers don't need overrides *
|
|
461
461
|
* =============================================================== */
|
|
462
462
|
|
|
463
|
-
/*
|
|
464
|
-
thread root already paints bg-background, so the sticky footer must
|
|
465
|
-
stay transparent — otherwise a token mismatch surfaces as a coloured
|
|
466
|
-
strip behind the composer. */
|
|
463
|
+
/* Sticky footer stacks above scrolling messages; composer shell is opaque. */
|
|
467
464
|
.aui-thread-viewport-footer {
|
|
468
|
-
background: transparent !important;
|
|
469
|
-
border-radius: 0 !important;
|
|
470
465
|
isolation: isolate;
|
|
471
466
|
z-index: 10;
|
|
472
467
|
}
|
|
473
468
|
|
|
474
469
|
/* Scrolled assistant action bars must not show through the composer shell. */
|
|
470
|
+
.aui-composer-shell,
|
|
475
471
|
.aui-composer-input,
|
|
476
472
|
.aui-composer-action-wrapper {
|
|
477
473
|
background-color: var(--composer-bg);
|