@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.
@@ -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 "../card/Card";
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<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@altimateai/ui-components",
3
- "version": "0.0.69-beta1",
3
+ "version": "0.0.69",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/AltimateAI/altimate-components.git"