@altimateai/ui-components 0.0.39 → 0.0.41

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.
@@ -1,6 +1,6 @@
1
1
  import React__default, { FC } 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, u as AgentStreamResponse } from '../types-COyBAkqH.js';
3
- export { v as AssistantMeta, x as ChatbotUrls, D as Datamate, w as FileUploadProps, H as FinalResponseData, z as InteractionChoice, y as InteractionType, M as Mode, G as ProgressUpdate, E as ToolUsageData, J as agentStreamResponseSchema, B as todoItemSchema } from '../types-COyBAkqH.js';
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, u as AgentStreamResponse } from '../types-B5SwoCQb.js';
3
+ export { v as AssistantMeta, x as ChatbotUrls, D as Datamate, w as FileUploadProps, H as FinalResponseData, z as InteractionChoice, y as InteractionType, M as Mode, G as ProgressUpdate, E as ToolUsageData, J as agentStreamResponseSchema, B as todoItemSchema } from '../types-B5SwoCQb.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';
@@ -69,6 +69,7 @@ interface QuestionFormProps {
69
69
  components?: {
70
70
  questionFormLeftActions?: React.ReactNode;
71
71
  };
72
+ initialMessage?: string;
72
73
  }
73
74
  declare const QuestionForm: React.FC<QuestionFormProps>;
74
75
 
package/dist/index.d.ts CHANGED
@@ -3,8 +3,8 @@ import { HTMLAttributes, ButtonHTMLAttributes, ReactNode, FC, MouseEvent } from
3
3
  import { B as ButtonProps } from './Button-CVsSwe4f.js';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
5
  import { PlotParams } from 'react-plotly.js';
6
- import { T as TaskLabels, a as TeamMateContextProps, b as TeamMateState, c as TeamMateConfig, d as TeamMateActionType, e as TeamMateAvailability } from './types-COyBAkqH.js';
7
- 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-COyBAkqH.js';
6
+ import { T as TaskLabels, a as TeamMateContextProps, b as TeamMateState, c as TeamMateConfig, d as TeamMateActionType, e as TeamMateAvailability } from './types-B5SwoCQb.js';
7
+ 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-B5SwoCQb.js';
8
8
  import * as _reduxjs_toolkit from '@reduxjs/toolkit';
9
9
  import { PayloadAction } from '@reduxjs/toolkit';
10
10
  import * as immer from 'immer';
@@ -1,5 +1,5 @@
1
1
  import { Meta, StoryFn } from "@storybook/react";
2
- import { DebouncedInput, DebouncedInputProps } from "./DebouncedInput";
2
+ import { DebouncedInput, DebouncedInputProps } from "../shadcn";
3
3
  import { useState } from "react";
4
4
  import { IconSearch, IconUser, IconMail } from "@tabler/icons-react";
5
5
 
@@ -80,6 +80,7 @@ interface ChatbotProps {
80
80
  chatbot?: string;
81
81
  chatMessages?: string;
82
82
  };
83
+ initialMessage?: string;
83
84
  }
84
85
  interface ChatbotProviderProps extends ChatbotProps {
85
86
  taskLabel?: keyof typeof TaskLabels;
@@ -101,6 +102,7 @@ interface ChatbotProviderProps extends ChatbotProps {
101
102
  placeholder?: string;
102
103
  sessions?: Record<string, ChatSession>;
103
104
  currentSessionId?: string;
105
+ selectedDatamateId?: string;
104
106
  }
105
107
  type InteractionType = "text" | "select" | "multiSelect" | "confirm";
106
108
  interface InteractionChoice {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@altimateai/ui-components",
3
- "version": "0.0.39",
3
+ "version": "0.0.41",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/AltimateAI/altimate-components.git"