@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.
- package/dist/{Button-CVsSwe4f.d.ts → Button-Bsgqi8kG.d.ts} +9 -2
- package/dist/CoachForm.js +1448 -1431
- package/dist/Stack.js +4144 -4145
- package/dist/ToggleGroup.js +16 -12
- package/dist/chatbotV2/index.d.ts +4 -3
- package/dist/index.d.ts +6 -5
- package/dist/lineage/index.js +60 -59
- package/dist/main.js +9 -2
- package/dist/redux-toolkit.modern.js +710 -720
- package/dist/shadcn/index.d.ts +29 -13
- package/dist/shadcn/index.js +9 -6
- package/dist/storybook/Button.stories.tsx +1 -0
- package/dist/{types-N2nctlGV.d.ts → types-CLHfiTKz.d.ts} +24 -15
- package/package.json +1 -1
package/dist/ToggleGroup.js
CHANGED
|
@@ -7660,23 +7660,25 @@ function tv({
|
|
|
7660
7660
|
className: e,
|
|
7661
7661
|
variant: n = "outline",
|
|
7662
7662
|
size: t = "icon",
|
|
7663
|
-
|
|
7663
|
+
title: r = "Previous slide",
|
|
7664
|
+
...o
|
|
7664
7665
|
}) {
|
|
7665
|
-
const { orientation:
|
|
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
|
-
|
|
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: !
|
|
7678
|
-
onClick:
|
|
7679
|
-
...
|
|
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
|
-
|
|
7693
|
+
title: r = "Next slide",
|
|
7694
|
+
...o
|
|
7692
7695
|
}) {
|
|
7693
|
-
const { orientation:
|
|
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
|
-
|
|
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: !
|
|
7706
|
-
onClick:
|
|
7707
|
-
...
|
|
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-
|
|
3
|
-
export {
|
|
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: "
|
|
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-
|
|
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-
|
|
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-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
|
-
|
|
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 {
|