@altimateai/ui-components 0.0.68 → 0.0.69-beta.1
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/CoachForm.js
CHANGED
|
@@ -37002,14 +37002,14 @@ const V$ = /* @__PURE__ */ oh(Y$), m3 = ({ artifacts: t }) => {
|
|
|
37002
37002
|
handleSavePrompt: r,
|
|
37003
37003
|
showSavePromptButton: i
|
|
37004
37004
|
}) => {
|
|
37005
|
-
const a = t.role === "assistant", { currentSessionId: s, loadingState: o, urls: l } = We();
|
|
37005
|
+
const a = t.role === "assistant", { currentSessionId: s, loadingState: o, urls: l, classNames: u = {} } = We();
|
|
37006
37006
|
return /* @__PURE__ */ E.jsxs(Tt, { gap: "sm", direction: "column", children: [
|
|
37007
37007
|
/* @__PURE__ */ E.jsx(Tt, { gap: "sm", justify: a ? "start" : "end", children: t.attachments && t.attachments.length > 0 && /* @__PURE__ */ E.jsx("div", { id: `message-${t.id}-attachments`, children: /* @__PURE__ */ E.jsx(yH, { attachments: t.attachments }) }) }),
|
|
37008
37008
|
/* @__PURE__ */ E.jsxs(
|
|
37009
37009
|
"div",
|
|
37010
37010
|
{
|
|
37011
37011
|
id: `message-${t.id}`,
|
|
37012
|
-
className: `al-flex al-items-start al-gap-2 ${a ? "" : "al-justify-end"}`,
|
|
37012
|
+
className: `al-flex al-items-start al-gap-2 ${a ? "" : "al-justify-end"} ${u.messageItem}`,
|
|
37013
37013
|
role: "article",
|
|
37014
37014
|
"aria-label": `${a ? "Assistant" : "User"} message`,
|
|
37015
37015
|
children: [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default, { FC, ReactNode } from 'react';
|
|
2
|
-
import { j as ChatbotProps, k as ChatbotProviderProps, m as ChatState, A as Artifact, n as ContextOption, I as InteractionRequest, o as ChatMessage, p as AgentAction, q as ChatResponse, F as Feedback, r as LoadingState, s as ChatSession, i as Citation, t as TodoItem, M as MessageAttachment, D as DetectedEntity, E as EntityType, u as AgentStreamResponse, S as SessionStatusEnum } from '../types-
|
|
3
|
-
export { x as AssistantMeta, w as ChatEvent, v as ChatEventStatus, z as ChatbotUrls, B as Datamate, G as EntityDetectionRequest, H as EntityDetectionResponse, y as FileUploadProps, W as FinalResponseData, N as InteractionChoice, K as InteractionType, J as Mode, V as ProgressUpdate, R as ToolUsageData, U as UploadedFile, X as agentStreamResponseSchema, O as sessionStatusSchema, Q as todoItemSchema } from '../types-
|
|
2
|
+
import { j as ChatbotProps, k as ChatbotProviderProps, m as ChatState, A as Artifact, n as ContextOption, I as InteractionRequest, o as ChatMessage, p as AgentAction, q as ChatResponse, F as Feedback, r as LoadingState, s as ChatSession, i as Citation, t as TodoItem, M as MessageAttachment, D as DetectedEntity, E as EntityType, u as AgentStreamResponse, S as SessionStatusEnum } from '../types-C2UJ4TLI.js';
|
|
3
|
+
export { x as AssistantMeta, w as ChatEvent, v as ChatEventStatus, z as ChatbotUrls, B as Datamate, G as EntityDetectionRequest, H as EntityDetectionResponse, y as FileUploadProps, W as FinalResponseData, N as InteractionChoice, K as InteractionType, J as Mode, V as ProgressUpdate, R as ToolUsageData, U as UploadedFile, X as agentStreamResponseSchema, O as sessionStatusSchema, Q as todoItemSchema } from '../types-C2UJ4TLI.js';
|
|
4
4
|
import * as _reduxjs_toolkit from '@reduxjs/toolkit';
|
|
5
5
|
import { UnknownAction } from '@reduxjs/toolkit';
|
|
6
6
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
package/dist/index.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ import { B as ButtonProps } from './Button-Bsgqi8kG.js';
|
|
|
4
4
|
import { Components } from 'react-markdown';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
6
|
import { PlotParams } from 'react-plotly.js';
|
|
7
|
-
import { T as TaskLabels, a as TeamMateContextProps, b as TeamMateState, c as TeamMateConfig, d as TeamMateActionType, e as TeamMateAvailability } from './types-
|
|
8
|
-
export { i as Citation, f as CoachAiConfirmationResponse, C as CoachAiResponse, g as ContentCategory, L as Learning, P as PersonalizationScope, h as TeamMateComponentProps, l as learningSchema } from './types-
|
|
7
|
+
import { T as TaskLabels, a as TeamMateContextProps, b as TeamMateState, c as TeamMateConfig, d as TeamMateActionType, e as TeamMateAvailability } from './types-C2UJ4TLI.js';
|
|
8
|
+
export { i as Citation, f as CoachAiConfirmationResponse, C as CoachAiResponse, g as ContentCategory, L as Learning, P as PersonalizationScope, h as TeamMateComponentProps, l as learningSchema } from './types-C2UJ4TLI.js';
|
|
9
9
|
import * as _reduxjs_toolkit from '@reduxjs/toolkit';
|
|
10
10
|
import { PayloadAction } from '@reduxjs/toolkit';
|
|
11
11
|
import * as immer from 'immer';
|
package/dist/shadcn/index.d.ts
CHANGED
package/dist/shadcn/index.js
CHANGED
|
@@ -3556,9 +3556,10 @@ ho.displayName = so.displayName;
|
|
|
3556
3556
|
function cg() {
|
|
3557
3557
|
const { toasts: e } = Bi();
|
|
3558
3558
|
return /* @__PURE__ */ u.jsxs(bf, { children: [
|
|
3559
|
-
e.map(function({ id: t, title: n, description: a, action: r,
|
|
3560
|
-
return /* @__PURE__ */ u.jsxs(uo, { ...
|
|
3561
|
-
/* @__PURE__ */ u.
|
|
3559
|
+
e.map(function({ id: t, title: n, description: a, action: r, icon: o, ...i }) {
|
|
3560
|
+
return /* @__PURE__ */ u.jsxs(uo, { ...i, children: [
|
|
3561
|
+
o && /* @__PURE__ */ u.jsx("div", { className: "al-flex-shrink-0", children: o }),
|
|
3562
|
+
/* @__PURE__ */ u.jsxs("div", { className: "al-grid al-gap-1 al-flex-1", children: [
|
|
3562
3563
|
n && /* @__PURE__ */ u.jsx(mo, { children: n }),
|
|
3563
3564
|
a && /* @__PURE__ */ u.jsx(ho, { children: a })
|
|
3564
3565
|
] }),
|
|
@@ -117,6 +117,7 @@ interface ChatbotProps {
|
|
|
117
117
|
classNames?: {
|
|
118
118
|
chatbot?: string;
|
|
119
119
|
chatMessages?: string;
|
|
120
|
+
messageItem?: string;
|
|
120
121
|
};
|
|
121
122
|
initialMessage?: string;
|
|
122
123
|
submitInitialMessageOnMount?: boolean;
|
|
@@ -246,6 +247,7 @@ interface ChatState {
|
|
|
246
247
|
classNames?: {
|
|
247
248
|
chatbot?: string;
|
|
248
249
|
chatMessages?: string;
|
|
250
|
+
messageItem?: string;
|
|
249
251
|
};
|
|
250
252
|
}
|
|
251
253
|
declare const todoItemSchema: z.ZodObject<{
|