@altimateai/ui-components 0.0.67 → 0.0.68-beta.2

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.
@@ -7660,23 +7660,25 @@ function tv({
7660
7660
  className: e,
7661
7661
  variant: n = "outline",
7662
7662
  size: t = "icon",
7663
- ...r
7663
+ title: r = "Previous slide",
7664
+ ...o
7664
7665
  }) {
7665
- const { orientation: o, scrollPrev: a, canScrollPrev: s } = kn();
7666
+ const { orientation: a, scrollPrev: s, canScrollPrev: l } = kn();
7666
7667
  return /* @__PURE__ */ u.jsxs(
7667
7668
  xt,
7668
7669
  {
7669
7670
  "data-slot": "carousel-previous",
7670
7671
  variant: n,
7671
7672
  size: t,
7673
+ title: r,
7672
7674
  className: G(
7673
7675
  "al-absolute al-size-8 !al-rounded-full",
7674
- o === "horizontal" ? "al-top-1/2 al--left-12 al--translate-y-1/2" : "al--top-12 al-left-1/2 al--translate-x-1/2 al-rotate-90",
7676
+ a === "horizontal" ? "al-top-1/2 al--left-12 al--translate-y-1/2" : "al--top-12 al-left-1/2 al--translate-x-1/2 al-rotate-90",
7675
7677
  e
7676
7678
  ),
7677
- disabled: !s,
7678
- onClick: a,
7679
- ...r,
7679
+ disabled: !l,
7680
+ onClick: s,
7681
+ ...o,
7680
7682
  children: [
7681
7683
  /* @__PURE__ */ u.jsx(Dc, {}),
7682
7684
  /* @__PURE__ */ u.jsx("span", { className: "al-sr-only", children: "Previous slide" })
@@ -7688,23 +7690,25 @@ function nv({
7688
7690
  className: e,
7689
7691
  variant: n = "outline",
7690
7692
  size: t = "icon",
7691
- ...r
7693
+ title: r = "Next slide",
7694
+ ...o
7692
7695
  }) {
7693
- const { orientation: o, scrollNext: a, canScrollNext: s } = kn();
7696
+ const { orientation: a, scrollNext: s, canScrollNext: l } = kn();
7694
7697
  return /* @__PURE__ */ u.jsxs(
7695
7698
  xt,
7696
7699
  {
7697
7700
  "data-slot": "carousel-next",
7698
7701
  variant: n,
7699
7702
  size: t,
7703
+ title: r,
7700
7704
  className: G(
7701
7705
  "al-absolute al-size-8 !al-rounded-full",
7702
- o === "horizontal" ? "al-top-1/2 al--right-12 al--translate-y-1/2" : "al--bottom-12 al-left-1/2 al--translate-x-1/2 al-rotate-90",
7706
+ a === "horizontal" ? "al-top-1/2 al--right-12 al--translate-y-1/2" : "al--bottom-12 al-left-1/2 al--translate-x-1/2 al-rotate-90",
7703
7707
  e
7704
7708
  ),
7705
- disabled: !s,
7706
- onClick: a,
7707
- ...r,
7709
+ disabled: !l,
7710
+ onClick: s,
7711
+ ...o,
7708
7712
  children: [
7709
7713
  /* @__PURE__ */ u.jsx(jc, {}),
7710
7714
  /* @__PURE__ */ u.jsx("span", { className: "al-sr-only", children: "Next slide" })
@@ -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-N2nctlGV.js';
3
- export { v as AssistantMeta, x as ChatbotUrls, y as Datamate, z as EntityDetectionRequest, B as EntityDetectionResponse, w as FileUploadProps, R as FinalResponseData, J as InteractionChoice, H as InteractionType, G as Mode, Q as ProgressUpdate, O as ToolUsageData, U as UploadedFile, V as agentStreamResponseSchema, K as sessionStatusSchema, N as todoItemSchema } from '../types-N2nctlGV.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, M as MessageAttachment, D as DetectedEntity, E as EntityType, u as AgentStreamResponse, S as SessionStatusEnum } from '../types-CLHfiTKz.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-CLHfiTKz.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';
@@ -14,6 +14,7 @@ interface ChatContextType extends ChatState {
14
14
  interface ChatProviderRef {
15
15
  resetSession: () => void;
16
16
  setUserInput: (text: string) => void;
17
+ resetStatus: () => void;
17
18
  }
18
19
  declare const useChatContext: () => ChatContextType;
19
20
  declare const ChatProvider: React__default.ForwardRefExoticComponent<ChatbotProviderProps & React__default.RefAttributes<ChatProviderRef>>;
@@ -189,7 +190,7 @@ declare const clearActions: _reduxjs_toolkit.ActionCreatorWithoutPayload<"chat/c
189
190
  declare const setTodos: _reduxjs_toolkit.ActionCreatorWithPayload<{
190
191
  id: string;
191
192
  content: string;
192
- status: "completed" | "pending" | "in_progress";
193
+ status: "pending" | "completed" | "in_progress";
193
194
  priority: "high" | "low" | "medium";
194
195
  }[], "chat/setTodos">;
195
196
  declare const clearTodos: _reduxjs_toolkit.ActionCreatorWithoutPayload<"chat/clearTodos">;
package/dist/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  import * as React$1 from 'react';
2
2
  import { HTMLAttributes, ButtonHTMLAttributes, ReactNode, FC, MouseEvent } from 'react';
3
- import { B as ButtonProps } from './Button-CVsSwe4f.js';
3
+ 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-N2nctlGV.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-N2nctlGV.js';
7
+ import { T as TaskLabels, a as TeamMateContextProps, b as TeamMateState, c as TeamMateConfig, d as TeamMateActionType, e as TeamMateAvailability } from './types-CLHfiTKz.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-CLHfiTKz.js';
9
9
  import * as _reduxjs_toolkit from '@reduxjs/toolkit';
10
10
  import { PayloadAction } from '@reduxjs/toolkit';
11
11
  import * as immer from 'immer';
@@ -27,13 +27,14 @@ declare const Spinner: React$1.ForwardRefExoticComponent<SpinnerProps & React$1.
27
27
 
28
28
  interface Props$7 extends ButtonHTMLAttributes<HTMLButtonElement> {
29
29
  variant?: ButtonProps["variant"];
30
+ title: string;
30
31
  }
31
32
  declare const IconButton: (props: Props$7) => JSX.Element;
32
33
 
33
- interface Props$6 extends ButtonProps {
34
+ type Props$6 = ButtonProps & {
34
35
  loading: boolean;
35
36
  loadingText?: string | null;
36
- }
37
+ };
37
38
  declare const LoadingButton: ({ loading, loadingText, ...rest }: Props$6) => JSX.Element;
38
39
 
39
40
  interface Props$5 {