@athenaintel/react 0.8.0 → 0.9.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/dist/index.cjs +6 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +10 -0
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/styles.css +10 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -226,20 +226,30 @@ export declare interface AthenaTheme {
|
|
|
226
226
|
ring?: string;
|
|
227
227
|
/** Base border radius for all rounded corners. e.g. '0.5rem', '0.75rem', '0' */
|
|
228
228
|
radius?: string;
|
|
229
|
+
/** Font family for all text. e.g. "'Inter', sans-serif", "system-ui" */
|
|
230
|
+
fontFamily?: string;
|
|
229
231
|
/** Sidebar background color. Falls back to muted with transparency. */
|
|
230
232
|
sidebarBackground?: string;
|
|
231
233
|
/** Sidebar border color. Falls back to border. */
|
|
232
234
|
sidebarBorder?: string;
|
|
235
|
+
/** Sidebar width. e.g. '280px', '20rem'. */
|
|
236
|
+
sidebarWidth?: string;
|
|
233
237
|
/** User message bubble background. Falls back to muted. */
|
|
234
238
|
userBubble?: string;
|
|
235
239
|
/** User message bubble text color. Falls back to foreground. */
|
|
236
240
|
userBubbleForeground?: string;
|
|
241
|
+
/** User message bubble border radius. e.g. '1rem', '0.5rem'. */
|
|
242
|
+
userBubbleRadius?: string;
|
|
237
243
|
/** Assistant message text color. Falls back to foreground. */
|
|
238
244
|
assistantForeground?: string;
|
|
245
|
+
/** Assistant message bubble background. Transparent by default. */
|
|
246
|
+
assistantBubble?: string;
|
|
239
247
|
/** Composer border color. Falls back to input. */
|
|
240
248
|
composerBorder?: string;
|
|
241
249
|
/** Composer border radius. Falls back to radius-based default. */
|
|
242
250
|
composerRadius?: string;
|
|
251
|
+
/** Max width of the chat thread area. e.g. '44rem', '56rem'. */
|
|
252
|
+
threadMaxWidth?: string;
|
|
243
253
|
}
|
|
244
254
|
|
|
245
255
|
export declare const BrowseToolUI: ToolCallMessagePartComponent;
|
package/dist/index.js
CHANGED
|
@@ -24357,14 +24357,19 @@ const THEME_TO_CSS = {
|
|
|
24357
24357
|
input: "--input",
|
|
24358
24358
|
ring: "--ring",
|
|
24359
24359
|
radius: "--radius",
|
|
24360
|
+
fontFamily: "--font-family",
|
|
24360
24361
|
// Extended SDK-specific variables
|
|
24361
24362
|
sidebarBackground: "--sidebar-background",
|
|
24362
24363
|
sidebarBorder: "--sidebar-border",
|
|
24364
|
+
sidebarWidth: "--sidebar-width",
|
|
24363
24365
|
userBubble: "--user-bubble",
|
|
24364
24366
|
userBubbleForeground: "--user-bubble-foreground",
|
|
24367
|
+
userBubbleRadius: "--user-bubble-radius",
|
|
24365
24368
|
assistantForeground: "--assistant-foreground",
|
|
24369
|
+
assistantBubble: "--assistant-bubble",
|
|
24366
24370
|
composerBorder: "--composer-border",
|
|
24367
|
-
composerRadius: "--composer-radius"
|
|
24371
|
+
composerRadius: "--composer-radius",
|
|
24372
|
+
threadMaxWidth: "--thread-max-width"
|
|
24368
24373
|
};
|
|
24369
24374
|
function themeToStyleVars(theme) {
|
|
24370
24375
|
const vars = {};
|