@altimateai/ui-components 0.0.69-beta.3 → 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/CoachForm.js CHANGED
@@ -37009,7 +37009,7 @@ const V$ = /* @__PURE__ */ oh(Y$), m3 = ({ artifacts: t }) => {
37009
37009
  "div",
37010
37010
  {
37011
37011
  id: `message-${t.id}`,
37012
- className: `al-flex al-items-start al-gap-2 ${a ? "" : "al-justify-end"} ${u.messageItem}`,
37012
+ className: `al-flex al-items-start al-gap-2 ${a ? "" : "al-justify-end"} ${u.messageItem ?? ""}`,
37013
37013
  role: "article",
37014
37014
  "aria-label": `${a ? "Assistant" : "User"} message`,
37015
37015
  children: [
@@ -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
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@altimateai/ui-components",
3
- "version": "0.0.69-beta.3",
3
+ "version": "0.0.69",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/AltimateAI/altimate-components.git"