@altimateai/ui-components 0.0.1-beta.10 → 0.0.1-beta.11

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
@@ -48,8 +48,8 @@ import './CoachForm.css';const B6 = "_loadingBtn_gadec_1", N6 = {
48
48
  ), ki = y6(function({
49
49
  children: e,
50
50
  wrap: n = !1,
51
- justify: r = "start",
52
- align: i = "start",
51
+ justify: r,
52
+ align: i,
53
53
  flex: s,
54
54
  gap: a = "md",
55
55
  className: o,
@@ -40359,21 +40359,22 @@ ${i}
40359
40359
  ]
40360
40360
  }
40361
40361
  ) });
40362
- }, WX = ({ urls: t }) => {
40363
- const e = async (n) => {
40364
- console.log(n);
40362
+ }, WX = ({ urls: t, requestParams: e }) => {
40363
+ const n = async (r) => {
40364
+ console.log(r);
40365
40365
  };
40366
40366
  return /* @__PURE__ */ z.jsx("div", { className: "al-w-full al-flex-shrink-0", children: /* @__PURE__ */ z.jsx("div", { className: "al-h-full al-w-full", children: /* @__PURE__ */ z.jsx(
40367
40367
  s_,
40368
40368
  {
40369
- initialValidation: e,
40369
+ initialValidation: n,
40370
40370
  taskLabel: Pr.AlertManager,
40371
40371
  urls: t,
40372
40372
  helloMessage: /* @__PURE__ */ z.jsx("div", { children: "Hello" }),
40373
40373
  fileUploadProps: {
40374
40374
  allowedFiles: ".sql",
40375
40375
  contextFieldKey: "query"
40376
- }
40376
+ },
40377
+ requestParams: e
40377
40378
  }
40378
40379
  ) }) });
40379
40380
  }, HX = [
@@ -1,6 +1,6 @@
1
1
  import React__default, { FC } from 'react';
2
- import { j as ChatbotProps, k as ChatbotProviderProps, A as Artifact, I as InteractionRequest, m as ChatMessage, n as AgentAction } from '../types-6QSONCz1.js';
3
- export { x as AgentStreamResponse, p as AssistantMeta, v as ChatResponse, q as ChatSession, w as ChatState, s as ChatbotUrls, F as Feedback, r as FileUploadProps, u as InteractionChoice, t as InteractionType, o as LoadingState } from '../types-6QSONCz1.js';
2
+ import { j as ChatbotProps, k as ChatbotProviderProps, A as Artifact, I as InteractionRequest, m as ChatMessage, n as AgentAction } from '../types-S_ndM2U1.js';
3
+ export { x as AgentStreamResponse, p as AssistantMeta, v as ChatResponse, q as ChatSession, w as ChatState, s as ChatbotUrls, F as Feedback, r as FileUploadProps, u as InteractionChoice, t as InteractionType, o as LoadingState } from '../types-S_ndM2U1.js';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
5
  import '@reduxjs/toolkit';
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-BKBSxoPA.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-6QSONCz1.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-6QSONCz1.js';
7
+ import { T as TaskLabels, a as TeamMateContextProps, b as TeamMateState, c as TeamMateConfig, d as TeamMateActionType, e as TeamMateAvailability } from './types-S_ndM2U1.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-S_ndM2U1.js';
9
9
  import * as _reduxjs_toolkit from '@reduxjs/toolkit';
10
10
  import { PayloadAction } from '@reduxjs/toolkit';
11
11
  import * as immer from 'immer';
@@ -223,6 +223,7 @@ interface TeamMateComponentProps<T = void> {
223
223
  onClose?: (data?: T) => void;
224
224
  frontendUrl?: string;
225
225
  urls?: ChatbotUrls;
226
+ requestParams?: RequestInit;
226
227
  }
227
228
  interface TeamMateConfig<T = unknown> {
228
229
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@altimateai/ui-components",
3
- "version": "0.0.1-beta.10",
3
+ "version": "0.0.1-beta.11",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/AltimateAI/altimate-components.git"