@timbal-ai/timbal-react 0.5.2 → 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 +4 -4
- package/dist/index.esm.js +4 -4
- package/dist/styles.css +1 -4
- 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
|
-
"aui-composer-shell 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 },
|
|
@@ -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-transparent 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
|
] })
|
|
@@ -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)" },
|
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
|
-
"aui-composer-shell 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 },
|
|
@@ -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-transparent pt-2 pb-4 md:pb-6", children: [
|
|
3686
3686
|
/* @__PURE__ */ jsx27(ScrollToBottomSlot, {}),
|
|
3687
3687
|
/* @__PURE__ */ jsx27(ComposerSlot, { placeholder: composerPlaceholder })
|
|
3688
3688
|
] })
|
|
@@ -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)" },
|
package/dist/styles.css
CHANGED
|
@@ -460,11 +460,8 @@
|
|
|
460
460
|
* Component fixes — baked in so consumers don't need overrides *
|
|
461
461
|
* =============================================================== */
|
|
462
462
|
|
|
463
|
-
/*
|
|
464
|
-
not bleed through the composer. */
|
|
463
|
+
/* Sticky footer stacks above scrolling messages; composer shell is opaque. */
|
|
465
464
|
.aui-thread-viewport-footer {
|
|
466
|
-
background-color: var(--background) !important;
|
|
467
|
-
border-radius: 0 !important;
|
|
468
465
|
isolation: isolate;
|
|
469
466
|
z-index: 10;
|
|
470
467
|
}
|