@altimateai/ui-components 0.0.1-beta.3 → 0.0.1-beta.5
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/Accordion.js +43 -114
- package/dist/Badge.js +1 -1
- package/dist/CoachForm.js +7125 -7242
- package/dist/DbtDocsRenderer.js +833 -2651
- package/dist/Tooltip.js +115 -0
- package/dist/chatbot/index.d.ts +7 -3
- package/dist/chatbot/index.js +100 -96
- package/dist/chatbotV2/index.d.ts +10 -2
- package/dist/flowchart-elk-definition-170a3958.js +1 -1
- package/dist/index.d.ts +28 -30
- package/dist/index.js +1 -1
- package/dist/index2.js +1 -5
- package/dist/lineage/index.d.ts +9 -3
- package/dist/lineage/index.js +2284 -2710
- package/dist/main.js +49 -184
- package/dist/mindmap-definition-44684416.js +1 -1
- package/dist/redux-toolkit.modern.js +1 -1
- package/dist/shadcn/index.d.ts +3 -4
- package/dist/shadcn/index.js +352 -382
- package/dist/storybook/Accordion.stories.tsx +5 -14
- package/dist/storybook/Alert.stories.tsx +3 -7
- package/dist/storybook/AlertDialog.stories.tsx +7 -12
- package/dist/storybook/Button.stories.tsx +7 -27
- package/dist/storybook/Card.stories.tsx +1 -8
- package/dist/storybook/Checkbox.stories.tsx +7 -16
- package/dist/storybook/Form.stories.tsx +3 -9
- package/dist/storybook/HoverCard.stories.tsx +7 -13
- package/dist/storybook/Label.stories.tsx +1 -1
- package/dist/storybook/Pagination.stories.tsx +1 -4
- package/dist/storybook/Popover.stories.tsx +1 -3
- package/dist/storybook/Progress.stories.tsx +2 -2
- package/dist/storybook/RadioGroup.stories.tsx +4 -7
- package/dist/storybook/ScrollArea.stories.tsx +11 -30
- package/dist/storybook/Select.stories.tsx +1 -1
- package/dist/storybook/Sheet.stories.tsx +1 -7
- package/dist/storybook/Sidebar.stories.tsx +4 -4
- package/dist/storybook/Slider.stories.tsx +2 -4
- package/dist/storybook/Switch.stories.tsx +4 -13
- package/dist/storybook/Textarea.stories.tsx +1 -1
- package/dist/storybook/Toast.stories.tsx +7 -11
- package/dist/storybook/Tooltip.stories.tsx +2 -7
- package/dist/{types-PVxbm0tZ.d.ts → types-FVWfXDNw.d.ts} +10 -5
- package/dist/v4.js +524 -514
- package/package.json +2 -2
- package/dist/Stack.js +0 -132
- /package/dist/{Stack.css → v4.css} +0 -0
|
@@ -16,7 +16,7 @@ export default {
|
|
|
16
16
|
title: "Shadcn/Components/Toast",
|
|
17
17
|
component: Toast,
|
|
18
18
|
decorators: [
|
|
19
|
-
|
|
19
|
+
Story => (
|
|
20
20
|
<ToastProvider>
|
|
21
21
|
<Story />
|
|
22
22
|
<Toaster />
|
|
@@ -26,7 +26,7 @@ export default {
|
|
|
26
26
|
],
|
|
27
27
|
} as Meta;
|
|
28
28
|
|
|
29
|
-
const Template: StoryFn =
|
|
29
|
+
const Template: StoryFn = args => (
|
|
30
30
|
<Toast {...args}>
|
|
31
31
|
<ToastTitle>Toast Title</ToastTitle>
|
|
32
32
|
<ToastDescription>Toast description goes here.</ToastDescription>
|
|
@@ -59,9 +59,9 @@ export const WithLongContent: StoryFn = () => (
|
|
|
59
59
|
<Toast>
|
|
60
60
|
<ToastTitle>Long Content Example</ToastTitle>
|
|
61
61
|
<ToastDescription>
|
|
62
|
-
This is a toast with a very long description that might wrap to multiple
|
|
63
|
-
|
|
64
|
-
|
|
62
|
+
This is a toast with a very long description that might wrap to multiple lines. It
|
|
63
|
+
demonstrates how the toast component handles longer content while maintaining its layout and
|
|
64
|
+
readability.
|
|
65
65
|
</ToastDescription>
|
|
66
66
|
<ToastClose />
|
|
67
67
|
</Toast>
|
|
@@ -73,9 +73,7 @@ export const Success: StoryFn = () => (
|
|
|
73
73
|
<div className="al-h-6 al-w-6 al-text-green-500">✓</div>
|
|
74
74
|
<ToastTitle>Successfully saved!</ToastTitle>
|
|
75
75
|
</div>
|
|
76
|
-
<ToastDescription>
|
|
77
|
-
Your changes have been saved successfully.
|
|
78
|
-
</ToastDescription>
|
|
76
|
+
<ToastDescription>Your changes have been saved successfully.</ToastDescription>
|
|
79
77
|
<ToastClose />
|
|
80
78
|
</Toast>
|
|
81
79
|
);
|
|
@@ -86,9 +84,7 @@ export const Error: StoryFn = () => (
|
|
|
86
84
|
<div className="al-h-6 al-w-6 al-text-red-500">✕</div>
|
|
87
85
|
<ToastTitle>Error occurred</ToastTitle>
|
|
88
86
|
</div>
|
|
89
|
-
<ToastDescription>
|
|
90
|
-
There was a problem with your request. Please try again.
|
|
91
|
-
</ToastDescription>
|
|
87
|
+
<ToastDescription>There was a problem with your request. Please try again.</ToastDescription>
|
|
92
88
|
<ToastAction altText="Try again" onClick={() => {}}>
|
|
93
89
|
Try again
|
|
94
90
|
</ToastAction>
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
-
import {
|
|
3
|
-
Tooltip,
|
|
4
|
-
TooltipContent,
|
|
5
|
-
TooltipProvider,
|
|
6
|
-
TooltipTrigger,
|
|
7
|
-
} from "../shadcn";
|
|
2
|
+
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "../shadcn";
|
|
8
3
|
|
|
9
4
|
const meta: Meta<typeof Tooltip> = {
|
|
10
5
|
title: "Shadcn/Components/Tooltip",
|
|
11
6
|
component: Tooltip,
|
|
12
7
|
decorators: [
|
|
13
|
-
|
|
8
|
+
Story => (
|
|
14
9
|
<TooltipProvider>
|
|
15
10
|
<Story />
|
|
16
11
|
</TooltipProvider>
|
|
@@ -30,7 +30,8 @@ declare enum TaskLabels {
|
|
|
30
30
|
SqlBot = "SqlExpert",
|
|
31
31
|
OpportunitiesBot = "OpportunitiesBot",
|
|
32
32
|
ProjectGovernor = "ProjectGovernor",
|
|
33
|
-
TeradataToSnowflakeMigrator = "TeradataToSnowflakeMigrator"
|
|
33
|
+
TeradataToSnowflakeMigrator = "TeradataToSnowflakeMigrator",
|
|
34
|
+
AlertManager = "AlertManager"
|
|
34
35
|
}
|
|
35
36
|
declare enum PersonalizationScope {
|
|
36
37
|
USER_SPECIFIC = "UserSpecific",
|
|
@@ -79,7 +80,11 @@ declare enum TeamMateAvailability {
|
|
|
79
80
|
EXTENSION = "VSCode Extension",
|
|
80
81
|
SAAS = "SaaS"
|
|
81
82
|
}
|
|
82
|
-
interface
|
|
83
|
+
interface TeamMateComponentProps<T = void> {
|
|
84
|
+
onClose?: (data?: T) => void;
|
|
85
|
+
frontendUrl?: string;
|
|
86
|
+
}
|
|
87
|
+
interface TeamMateConfig<T = unknown> {
|
|
83
88
|
name: string;
|
|
84
89
|
avatar: string;
|
|
85
90
|
description: string;
|
|
@@ -87,8 +92,8 @@ interface TeamMateConfig {
|
|
|
87
92
|
key: TaskLabels;
|
|
88
93
|
seeInAction?: boolean;
|
|
89
94
|
comingSoon?: boolean | (() => boolean);
|
|
90
|
-
displayComponent?: ComponentType<
|
|
91
|
-
formComponent?: ComponentType<
|
|
95
|
+
displayComponent?: ComponentType<TeamMateComponentProps<T>>;
|
|
96
|
+
formComponent?: ComponentType<TeamMateComponentProps<T>>;
|
|
92
97
|
}
|
|
93
98
|
declare enum TeamMateActionType {
|
|
94
99
|
SEE_IN_ACTION = "SEE_IN_ACTION",
|
|
@@ -96,4 +101,4 @@ declare enum TeamMateActionType {
|
|
|
96
101
|
VIEW_DETAILS = "VIEW_DETAILS"
|
|
97
102
|
}
|
|
98
103
|
|
|
99
|
-
export { type CoachAiResponse as C, type Learning as L, PersonalizationScope as P, TaskLabels as T, type TeamMateContextProps as a, type TeamMateState as b, type TeamMateConfig as c, TeamMateActionType as d, TeamMateAvailability as e, type CoachAiConfirmationResponse as f, ContentCategory as g, learningSchema as l };
|
|
104
|
+
export { type CoachAiResponse as C, type Learning as L, PersonalizationScope as P, TaskLabels as T, type TeamMateContextProps as a, type TeamMateState as b, type TeamMateConfig as c, TeamMateActionType as d, TeamMateAvailability as e, type CoachAiConfirmationResponse as f, ContentCategory as g, type TeamMateComponentProps as h, learningSchema as l };
|