@altimateai/ui-components 0.0.69-beta1 → 0.0.69
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-Bsgqi8kG.d.ts → Button-42Dj_nRE.d.ts} +12 -5
- package/dist/CoachForm.js +4 -4
- package/dist/IconEye.js +11 -0
- package/dist/Stack.js +362 -364
- package/dist/Switch.js +1 -1
- package/dist/ToggleGroup.js +70 -80
- package/dist/chatbotV2/index.d.ts +2 -2
- package/dist/dayjs.min.js +1 -1
- package/dist/index.d.ts +9 -9
- package/dist/lineage/index.js +795 -801
- package/dist/redux-toolkit.modern.js +12 -2
- package/dist/shadcn/index.d.ts +23 -28
- package/dist/shadcn/index.js +1118 -1110
- package/dist/storybook/Carousel.stories.tsx +1 -1
- package/dist/storybook/Input.stories.tsx +14 -17
- package/dist/{types-CPALoG7v.d.ts → types-C2UJ4TLI.d.ts} +2 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Meta, StoryObj } from "@storybook/react";
|
|
2
2
|
import { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious } from "../shadcn";
|
|
3
|
-
import { Card, CardContent } from "../
|
|
3
|
+
import { Card, CardContent } from "../shadcn";
|
|
4
4
|
|
|
5
5
|
const meta: Meta<typeof Carousel> = {
|
|
6
6
|
title: "Shadcn/Components/Carousel",
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { Meta, StoryFn } from "@storybook/react";
|
|
2
|
-
import { Input } from "../shadcn";
|
|
3
|
-
import { InputHTMLAttributes } from "react";
|
|
2
|
+
import { Input, InputPassword } from "../shadcn";
|
|
3
|
+
import { InputHTMLAttributes, ComponentProps } from "react";
|
|
4
4
|
import {
|
|
5
5
|
IconUser,
|
|
6
6
|
IconMail,
|
|
7
7
|
IconSearch,
|
|
8
|
-
IconLock,
|
|
9
8
|
IconPhone,
|
|
10
9
|
IconMapPin,
|
|
11
10
|
IconCreditCard,
|
|
@@ -59,12 +58,6 @@ WithLabel.args = {
|
|
|
59
58
|
"aria-label": "Email",
|
|
60
59
|
};
|
|
61
60
|
|
|
62
|
-
export const Password = Template.bind({});
|
|
63
|
-
Password.args = {
|
|
64
|
-
type: "password",
|
|
65
|
-
placeholder: "Enter password",
|
|
66
|
-
};
|
|
67
|
-
|
|
68
61
|
export const WithError = Template.bind({});
|
|
69
62
|
WithError.args = {
|
|
70
63
|
placeholder: "Error state",
|
|
@@ -94,14 +87,6 @@ EmailWithIcon.args = {
|
|
|
94
87
|
iconPosition: "left",
|
|
95
88
|
};
|
|
96
89
|
|
|
97
|
-
export const PasswordWithIcon = Template.bind({});
|
|
98
|
-
PasswordWithIcon.args = {
|
|
99
|
-
type: "password",
|
|
100
|
-
placeholder: "Enter password",
|
|
101
|
-
icon: IconLock,
|
|
102
|
-
iconPosition: "left",
|
|
103
|
-
};
|
|
104
|
-
|
|
105
90
|
export const UserInput = Template.bind({});
|
|
106
91
|
UserInput.args = {
|
|
107
92
|
placeholder: "Enter username",
|
|
@@ -138,3 +123,15 @@ DisabledWithIcon.args = {
|
|
|
138
123
|
iconPosition: "left",
|
|
139
124
|
disabled: true,
|
|
140
125
|
};
|
|
126
|
+
|
|
127
|
+
// InputPassword Stories
|
|
128
|
+
const PasswordTemplate: StoryFn<ComponentProps<typeof InputPassword>> = args => (
|
|
129
|
+
<div className="al-p-4 al-max-w-md">
|
|
130
|
+
<InputPassword {...args} />
|
|
131
|
+
</div>
|
|
132
|
+
);
|
|
133
|
+
|
|
134
|
+
export const Password = PasswordTemplate.bind({});
|
|
135
|
+
Password.args = {
|
|
136
|
+
placeholder: "Enter password",
|
|
137
|
+
};
|
|
@@ -117,6 +117,7 @@ interface ChatbotProps {
|
|
|
117
117
|
classNames?: {
|
|
118
118
|
chatbot?: string;
|
|
119
119
|
chatMessages?: string;
|
|
120
|
+
messageItem?: string;
|
|
120
121
|
};
|
|
121
122
|
initialMessage?: string;
|
|
122
123
|
submitInitialMessageOnMount?: boolean;
|
|
@@ -246,6 +247,7 @@ interface ChatState {
|
|
|
246
247
|
classNames?: {
|
|
247
248
|
chatbot?: string;
|
|
248
249
|
chatMessages?: string;
|
|
250
|
+
messageItem?: string;
|
|
249
251
|
};
|
|
250
252
|
}
|
|
251
253
|
declare const todoItemSchema: z.ZodObject<{
|