@altimateai/ui-components 0.0.4-beta.1 → 0.0.4-beta.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.
@@ -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 } from '../types-BKWf381e.js';
3
- export { y as AgentStreamResponse, s as AssistantMeta, t as ChatSession, v as ChatbotUrls, F as Feedback, u as FileUploadProps, x as InteractionChoice, w as InteractionType, r as LoadingState } from '../types-BKWf381e.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 } from '../types-ClqBUI2s.js';
3
+ export { y as AgentStreamResponse, s as AssistantMeta, t as ChatSession, v as ChatbotUrls, F as Feedback, u as FileUploadProps, x as InteractionChoice, w as InteractionType, r as LoadingState } from '../types-ClqBUI2s.js';
4
4
  import { UnknownAction } from '@reduxjs/toolkit';
5
5
  import * as react_jsx_runtime from 'react/jsx-runtime';
6
6
  import 'zod';
package/dist/index.d.ts CHANGED
@@ -4,8 +4,8 @@ import * as React$1 from 'react';
4
4
  import { ButtonHTMLAttributes, ReactNode, HTMLAttributes, FC, MouseEvent } from 'react';
5
5
  import { B as ButtonProps } from './Button-Dln4BC6y.js';
6
6
  import * as react_jsx_runtime from 'react/jsx-runtime';
7
- import { T as TaskLabels, a as TeamMateContextProps, b as TeamMateState, c as TeamMateConfig, d as TeamMateActionType, e as TeamMateAvailability } from './types-BKWf381e.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-BKWf381e.js';
7
+ import { T as TaskLabels, a as TeamMateContextProps, b as TeamMateState, c as TeamMateConfig, d as TeamMateActionType, e as TeamMateAvailability } from './types-ClqBUI2s.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-ClqBUI2s.js';
9
9
  import * as _reduxjs_toolkit from '@reduxjs/toolkit';
10
10
  import { PayloadAction } from '@reduxjs/toolkit';
11
11
  import * as immer from 'immer';
@@ -9,9 +9,9 @@ import {
9
9
  SelectLabel,
10
10
  SelectSeparator,
11
11
  NativeSelect,
12
+ Combobox,
12
13
  } from "../shadcn";
13
14
  import { DatabaseIcon } from "@ac-assets/icons";
14
- import Combobox from "./Combobox";
15
15
  import { useState } from "react";
16
16
 
17
17
  export default {
@@ -70,7 +70,10 @@ interface ChatbotProviderProps extends ChatbotProps {
70
70
  };
71
71
  contextOptions?: ContextOption[];
72
72
  isMarkdownResponse?: boolean;
73
- models?: string[];
73
+ models?: {
74
+ label: string;
75
+ value: string;
76
+ }[];
74
77
  }
75
78
  type InteractionType = "text" | "select" | "multiSelect" | "confirm";
76
79
  interface InteractionChoice {
@@ -130,7 +133,10 @@ interface ChatState {
130
133
  disableContext?: boolean;
131
134
  requestParams?: RequestInit;
132
135
  isMarkdownResponse?: boolean;
133
- models?: string[];
136
+ models?: {
137
+ label: string;
138
+ value: string;
139
+ }[];
134
140
  components?: {
135
141
  feedback?: ReactNode;
136
142
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@altimateai/ui-components",
3
- "version": "0.0.4-beta.1",
3
+ "version": "0.0.4-beta.3",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/AltimateAI/altimate-components.git"