@timbal-ai/timbal-react 0.5.1 → 0.5.2
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 +4 -4
- package/dist/index.esm.js +4 -4
- package/dist/styles.css +6 -7
- 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 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"
|
|
@@ -3756,7 +3756,7 @@ var Thread = ({
|
|
|
3756
3756
|
}
|
|
3757
3757
|
}
|
|
3758
3758
|
),
|
|
3759
|
-
/* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_react26.ThreadPrimitive.ViewportFooter, { className: "aui-thread-viewport-footer sticky bottom-0 z-10 mx-auto mt-auto flex w-full max-w-(--thread-max-width) isolate flex-col gap-4 bg-
|
|
3759
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_react26.ThreadPrimitive.ViewportFooter, { className: "aui-thread-viewport-footer sticky bottom-0 z-10 mx-auto mt-auto flex w-full max-w-(--thread-max-width) isolate flex-col gap-4 bg-background pt-2 pb-4 md:pb-6", children: [
|
|
3760
3760
|
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(ScrollToBottomSlot, {}),
|
|
3761
3761
|
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(ComposerSlot, { placeholder: composerPlaceholder })
|
|
3762
3762
|
] })
|
|
@@ -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 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"
|
|
@@ -3682,7 +3682,7 @@ var Thread = ({
|
|
|
3682
3682
|
}
|
|
3683
3683
|
}
|
|
3684
3684
|
),
|
|
3685
|
-
/* @__PURE__ */ jsxs15(ThreadPrimitive.ViewportFooter, { className: "aui-thread-viewport-footer sticky bottom-0 z-10 mx-auto mt-auto flex w-full max-w-(--thread-max-width) isolate flex-col gap-4 bg-
|
|
3685
|
+
/* @__PURE__ */ jsxs15(ThreadPrimitive.ViewportFooter, { className: "aui-thread-viewport-footer sticky bottom-0 z-10 mx-auto mt-auto flex w-full max-w-(--thread-max-width) isolate flex-col gap-4 bg-background pt-2 pb-4 md:pb-6", children: [
|
|
3686
3686
|
/* @__PURE__ */ jsx27(ScrollToBottomSlot, {}),
|
|
3687
3687
|
/* @__PURE__ */ jsx27(ComposerSlot, { placeholder: composerPlaceholder })
|
|
3688
3688
|
] })
|
|
@@ -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,17 @@
|
|
|
460
460
|
* Component fixes — baked in so consumers don't need overrides *
|
|
461
461
|
* =============================================================== */
|
|
462
462
|
|
|
463
|
-
/*
|
|
464
|
-
|
|
465
|
-
stay transparent — otherwise a token mismatch surfaces as a coloured
|
|
466
|
-
strip behind the composer. */
|
|
463
|
+
/* Opaque sticky footer so scrolled messages and the playground gradient do
|
|
464
|
+
not bleed through the composer. */
|
|
467
465
|
.aui-thread-viewport-footer {
|
|
468
|
-
background:
|
|
466
|
+
background-color: var(--background) !important;
|
|
469
467
|
border-radius: 0 !important;
|
|
470
468
|
isolation: isolate;
|
|
471
469
|
z-index: 10;
|
|
472
470
|
}
|
|
473
471
|
|
|
474
472
|
/* Scrolled assistant action bars must not show through the composer shell. */
|
|
473
|
+
.aui-composer-shell,
|
|
475
474
|
.aui-composer-input,
|
|
476
475
|
.aui-composer-action-wrapper {
|
|
477
476
|
background-color: var(--composer-bg);
|